From 87b32644b2a184c69116a2f2e2025f014542897a Mon Sep 17 00:00:00 2001 From: awssdkgo Date: Wed, 24 Jun 2020 18:09:44 +0000 Subject: [PATCH] Release v1.32.9 (2020-06-24) === ### Service Client Updates * `service/amplify`: Updates service API and documentation * `service/autoscaling`: Updates service documentation * Documentation updates for Amazon EC2 Auto Scaling. * `service/backup`: Updates service API and documentation * `service/codecommit`: Updates service API, documentation, and paginators * This release introduces support for reactions to CodeCommit comments. Users will be able to select from a pre-defined list of emojis to express their reaction to any comments. * `service/elasticmapreduce`: Updates service API and documentation * Amazon EMR customers can now set allocation strategies for On-Demand and Spot instances in their EMR clusters with instance fleets. These allocation strategies use real-time capacity insights to provision clusters faster and make the most efficient use of available spare capacity to allocate Spot instances to reduce interruptions. * `service/fsx`: Updates service API and documentation * `service/honeycode`: Adds new service * `service/iam`: Updates service documentation * Documentation updates for iam * `service/organizations`: Updates service API and documentation * This release adds support for a new backup policy type for AWS Organizations. --- CHANGELOG.md | 19 + aws/endpoints/defaults.go | 19 + aws/version.go | 2 +- models/apis/amplify/2017-07-25/api-2.json | 43 +- models/apis/amplify/2017-07-25/docs-2.json | 890 +++++----- .../apis/autoscaling/2011-01-01/docs-2.json | 68 +- models/apis/backup/2018-11-15/api-2.json | 46 +- models/apis/backup/2018-11-15/docs-2.json | 44 +- models/apis/codecommit/2015-04-13/api-2.json | 144 +- models/apis/codecommit/2015-04-13/docs-2.json | 129 +- .../codecommit/2015-04-13/paginators-1.json | 5 + .../elasticmapreduce/2009-03-31/api-2.json | 22 +- .../elasticmapreduce/2009-03-31/docs-2.json | 24 +- models/apis/fsx/2018-03-01/api-2.json | 51 +- models/apis/fsx/2018-03-01/docs-2.json | 71 +- models/apis/honeycode/2020-03-01/api-2.json | 321 ++++ models/apis/honeycode/2020-03-01/docs-2.json | 228 +++ .../apis/honeycode/2020-03-01/examples-1.json | 5 + .../honeycode/2020-03-01/paginators-1.json | 4 + models/apis/iam/2010-05-08/docs-2.json | 18 +- .../apis/organizations/2016-11-28/api-2.json | 39 +- .../apis/organizations/2016-11-28/docs-2.json | 38 +- models/endpoints/endpoints.json | 18 + service/amplify/api.go | 1488 +++++++++-------- service/amplify/doc.go | 12 +- service/amplify/errors.go | 17 +- service/autoscaling/api.go | 184 +- service/backup/api.go | 184 +- service/codecommit/api.go | 848 +++++++++- .../codecommit/codecommitiface/interface.go | 11 + service/codecommit/doc.go | 6 + service/codecommit/errors.go | 33 +- service/emr/api.go | 105 +- service/fsx/api.go | 392 ++++- service/fsx/examples_test.go | 2 + service/honeycode/api.go | 1316 +++++++++++++++ service/honeycode/doc.go | 31 + service/honeycode/errors.go | 80 + service/honeycode/honeycodeiface/interface.go | 72 + service/honeycode/service.go | 104 ++ service/iam/api.go | 236 ++- service/iam/errors.go | 3 +- service/organizations/api.go | 1248 +++++++------- service/organizations/errors.go | 40 +- 44 files changed, 6427 insertions(+), 2233 deletions(-) create mode 100644 models/apis/honeycode/2020-03-01/api-2.json create mode 100644 models/apis/honeycode/2020-03-01/docs-2.json create mode 100644 models/apis/honeycode/2020-03-01/examples-1.json create mode 100644 models/apis/honeycode/2020-03-01/paginators-1.json create mode 100644 service/honeycode/api.go create mode 100644 service/honeycode/doc.go create mode 100644 service/honeycode/errors.go create mode 100644 service/honeycode/honeycodeiface/interface.go create mode 100644 service/honeycode/service.go diff --git a/CHANGELOG.md b/CHANGELOG.md index b84cc469cd2..bcff7cc8bdd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,22 @@ +Release v1.32.9 (2020-06-24) +=== + +### Service Client Updates +* `service/amplify`: Updates service API and documentation +* `service/autoscaling`: Updates service documentation + * Documentation updates for Amazon EC2 Auto Scaling. +* `service/backup`: Updates service API and documentation +* `service/codecommit`: Updates service API, documentation, and paginators + * This release introduces support for reactions to CodeCommit comments. Users will be able to select from a pre-defined list of emojis to express their reaction to any comments. +* `service/elasticmapreduce`: Updates service API and documentation + * Amazon EMR customers can now set allocation strategies for On-Demand and Spot instances in their EMR clusters with instance fleets. These allocation strategies use real-time capacity insights to provision clusters faster and make the most efficient use of available spare capacity to allocate Spot instances to reduce interruptions. +* `service/fsx`: Updates service API and documentation +* `service/honeycode`: Adds new service +* `service/iam`: Updates service documentation + * Documentation updates for iam +* `service/organizations`: Updates service API and documentation + * This release adds support for a new backup policy type for AWS Organizations. + Release v1.32.8 (2020-06-23) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 4936931462c..e5797f6e525 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -6673,6 +6673,25 @@ var awscnPartition = partition{ }, }, }, + "organizations": service{ + PartitionEndpoint: "aws-cn-global", + IsRegionalized: boxedFalse, + + Endpoints: endpoints{ + "aws-cn-global": endpoint{ + Hostname: "organizations.cn-northwest-1.amazonaws.com.cn", + CredentialScope: credentialScope{ + Region: "cn-northwest-1", + }, + }, + "fips-aws-cn-global": endpoint{ + Hostname: "organizations.cn-northwest-1.amazonaws.com.cn", + CredentialScope: credentialScope{ + Region: "cn-northwest-1", + }, + }, + }, + }, "polly": service{ Endpoints: endpoints{ diff --git a/aws/version.go b/aws/version.go index 2e36c2f1a0a..7f8949c7e50 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.32.8" +const SDKVersion = "1.32.9" diff --git a/models/apis/amplify/2017-07-25/api-2.json b/models/apis/amplify/2017-07-25/api-2.json index e4378c08477..fa9e3b4d8dc 100644 --- a/models/apis/amplify/2017-07-25/api-2.json +++ b/models/apis/amplify/2017-07-25/api-2.json @@ -589,7 +589,8 @@ "AccessToken":{ "type":"string", "max":255, - "min":1 + "min":1, + "sensitive":true }, "ActiveJobId":{ "type":"string", @@ -625,6 +626,7 @@ "environmentVariables":{"shape":"EnvironmentVariables"}, "defaultDomain":{"shape":"DefaultDomain"}, "enableBranchAutoBuild":{"shape":"EnableBranchAutoBuild"}, + "enableBranchAutoDeletion":{"shape":"EnableBranchAutoDeletion"}, "enableBasicAuth":{"shape":"EnableBasicAuth"}, "basicAuthCredentials":{"shape":"BasicAuthCredentials"}, "customRules":{"shape":"CustomRules"}, @@ -711,6 +713,20 @@ "type":"list", "member":{"shape":"AutoBranchCreationPattern"} }, + "AutoSubDomainCreationPattern":{ + "type":"string", + "max":2048, + "min":1 + }, + "AutoSubDomainCreationPatterns":{ + "type":"list", + "member":{"shape":"AutoSubDomainCreationPattern"} + }, + "AutoSubDomainIAMRole":{ + "type":"string", + "max":1000, + "pattern":"^$|^arn:aws:iam::\\d{12}:role.+" + }, "BackendEnvironment":{ "type":"structure", "required":[ @@ -747,7 +763,8 @@ }, "BasicAuthCredentials":{ "type":"string", - "max":2000 + "max":2000, + "sensitive":true }, "Branch":{ "type":"structure", @@ -851,6 +868,7 @@ "accessToken":{"shape":"AccessToken"}, "environmentVariables":{"shape":"EnvironmentVariables"}, "enableBranchAutoBuild":{"shape":"EnableBranchAutoBuild"}, + "enableBranchAutoDeletion":{"shape":"EnableBranchAutoDeletion"}, "enableBasicAuth":{"shape":"EnableBasicAuth"}, "basicAuthCredentials":{"shape":"BasicAuthCredentials"}, "customRules":{"shape":"CustomRules"}, @@ -976,7 +994,9 @@ }, "domainName":{"shape":"DomainName"}, "enableAutoSubDomain":{"shape":"EnableAutoSubDomain"}, - "subDomainSettings":{"shape":"SubDomainSettings"} + "subDomainSettings":{"shape":"SubDomainSettings"}, + "autoSubDomainCreationPatterns":{"shape":"AutoSubDomainCreationPatterns"}, + "autoSubDomainIAMRole":{"shape":"AutoSubDomainIAMRole"} } }, "CreateDomainAssociationResult":{ @@ -1226,6 +1246,8 @@ "domainAssociationArn":{"shape":"DomainAssociationArn"}, "domainName":{"shape":"DomainName"}, "enableAutoSubDomain":{"shape":"EnableAutoSubDomain"}, + "autoSubDomainCreationPatterns":{"shape":"AutoSubDomainCreationPatterns"}, + "autoSubDomainIAMRole":{"shape":"AutoSubDomainIAMRole"}, "domainStatus":{"shape":"DomainStatus"}, "statusReason":{"shape":"StatusReason"}, "certificateVerificationDNSRecord":{"shape":"CertificateVerificationDNSRecord"}, @@ -1267,6 +1289,7 @@ "EnableAutoSubDomain":{"type":"boolean"}, "EnableBasicAuth":{"type":"boolean"}, "EnableBranchAutoBuild":{"type":"boolean"}, + "EnableBranchAutoDeletion":{"type":"boolean"}, "EnableNotification":{"type":"boolean"}, "EnablePullRequestPreview":{"type":"boolean"}, "EndTime":{"type":"timestamp"}, @@ -1667,7 +1690,11 @@ "location":"uri", "locationName":"appId" }, - "environmentName":{"shape":"EnvironmentName"}, + "environmentName":{ + "shape":"EnvironmentName", + "location":"querystring", + "locationName":"environmentName" + }, "nextToken":{ "shape":"NextToken", "location":"querystring", @@ -1861,7 +1888,8 @@ }, "OauthToken":{ "type":"string", - "max":100 + "max":100, + "sensitive":true }, "Platform":{ "type":"string", @@ -2219,6 +2247,7 @@ "iamServiceRoleArn":{"shape":"ServiceRoleArn"}, "environmentVariables":{"shape":"EnvironmentVariables"}, "enableBranchAutoBuild":{"shape":"EnableAutoBuild"}, + "enableBranchAutoDeletion":{"shape":"EnableBranchAutoDeletion"}, "enableBasicAuth":{"shape":"EnableBasicAuth"}, "basicAuthCredentials":{"shape":"BasicAuthCredentials"}, "customRules":{"shape":"CustomRules"}, @@ -2297,7 +2326,9 @@ "locationName":"domainName" }, "enableAutoSubDomain":{"shape":"EnableAutoSubDomain"}, - "subDomainSettings":{"shape":"SubDomainSettings"} + "subDomainSettings":{"shape":"SubDomainSettings"}, + "autoSubDomainCreationPatterns":{"shape":"AutoSubDomainCreationPatterns"}, + "autoSubDomainIAMRole":{"shape":"AutoSubDomainIAMRole"} } }, "UpdateDomainAssociationResult":{ diff --git a/models/apis/amplify/2017-07-25/docs-2.json b/models/apis/amplify/2017-07-25/docs-2.json index 37f409601d6..7c3ce62e798 100644 --- a/models/apis/amplify/2017-07-25/docs-2.json +++ b/models/apis/amplify/2017-07-25/docs-2.json @@ -1,117 +1,117 @@ { "version": "2.0", - "service": "

Amplify is a fully managed continuous deployment and hosting service for modern web apps.

", + "service": "

Welcome to the AWS Amplify API documentation. This reference provides descriptions of the actions and data types for the Amplify API.

Amplify enables developers to develop and deploy cloud-powered mobile and web apps. The Amplify Console provides a continuous delivery and hosting service for web applications. For more information, see the Amplify Console User Guide. The Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation for client app development. For more information, see the Amplify Framework.

", "operations": { - "CreateApp": "

Creates a new Amplify App.

", - "CreateBackendEnvironment": "

Creates a new backend environment for an Amplify App.

", - "CreateBranch": "

Creates a new Branch for an Amplify App.

", - "CreateDeployment": "

Create a deployment for manual deploy apps. (Apps are not connected to repository)

", - "CreateDomainAssociation": "

Create a new DomainAssociation on an App

", - "CreateWebhook": "

Create a new webhook on an App.

", - "DeleteApp": "

Delete an existing Amplify App by appId.

", - "DeleteBackendEnvironment": "

Delete backend environment for an Amplify App.

", - "DeleteBranch": "

Deletes a branch for an Amplify App.

", - "DeleteDomainAssociation": "

Deletes a DomainAssociation.

", - "DeleteJob": "

Delete a job, for an Amplify branch, part of Amplify App.

", + "CreateApp": "

Creates a new Amplify app.

", + "CreateBackendEnvironment": "

Creates a new backend environment for an Amplify app.

", + "CreateBranch": "

Creates a new branch for an Amplify app.

", + "CreateDeployment": "

Creates a deployment for a manually deployed Amplify app. Manually deployed apps are not connected to a repository.

", + "CreateDomainAssociation": "

Creates a new domain association for an Amplify app. This action associates a custom domain with the Amplify app

", + "CreateWebhook": "

Creates a new webhook on an Amplify app.

", + "DeleteApp": "

Deletes an existing Amplify app specified by an app ID.

", + "DeleteBackendEnvironment": "

Deletes a backend environment for an Amplify app.

", + "DeleteBranch": "

Deletes a branch for an Amplify app.

", + "DeleteDomainAssociation": "

Deletes a domain association for an Amplify app.

", + "DeleteJob": "

Deletes a job for a branch of an Amplify app.

", "DeleteWebhook": "

Deletes a webhook.

", - "GenerateAccessLogs": "

Retrieve website access logs for a specific time range via a pre-signed URL.

", - "GetApp": "

Retrieves an existing Amplify App by appId.

", - "GetArtifactUrl": "

Retrieves artifact info that corresponds to a artifactId.

", - "GetBackendEnvironment": "

Retrieves a backend environment for an Amplify App.

", - "GetBranch": "

Retrieves a branch for an Amplify App.

", - "GetDomainAssociation": "

Retrieves domain info that corresponds to an appId and domainName.

", - "GetJob": "

Get a job for a branch, part of an Amplify App.

", - "GetWebhook": "

Retrieves webhook info that corresponds to a webhookId.

", - "ListApps": "

Lists existing Amplify Apps.

", - "ListArtifacts": "

List artifacts with an app, a branch, a job and an artifact type.

", - "ListBackendEnvironments": "

Lists backend environments for an Amplify App.

", - "ListBranches": "

Lists branches for an Amplify App.

", - "ListDomainAssociations": "

List domains with an app

", - "ListJobs": "

List Jobs for a branch, part of an Amplify App.

", - "ListTagsForResource": "

List tags for resource.

", - "ListWebhooks": "

List webhooks with an app.

", - "StartDeployment": "

Start a deployment for manual deploy apps. (Apps are not connected to repository)

", - "StartJob": "

Starts a new job for a branch, part of an Amplify App.

", - "StopJob": "

Stop a job that is in progress, for an Amplify branch, part of Amplify App.

", - "TagResource": "

Tag resource with tag key and value.

", - "UntagResource": "

Untag resource with resourceArn.

", - "UpdateApp": "

Updates an existing Amplify App.

", - "UpdateBranch": "

Updates a branch for an Amplify App.

", - "UpdateDomainAssociation": "

Create a new DomainAssociation on an App

", - "UpdateWebhook": "

Update a webhook.

" + "GenerateAccessLogs": "

Returns the website access logs for a specific time range using a presigned URL.

", + "GetApp": "

Returns an existing Amplify app by appID.

", + "GetArtifactUrl": "

Returns the artifact info that corresponds to an artifact id.

", + "GetBackendEnvironment": "

Returns a backend environment for an Amplify app.

", + "GetBranch": "

Returns a branch for an Amplify app.

", + "GetDomainAssociation": "

Returns the domain information for an Amplify app.

", + "GetJob": "

Returns a job for a branch of an Amplify app.

", + "GetWebhook": "

Returns the webhook information that corresponds to a specified webhook ID.

", + "ListApps": "

Returns a list of the existing Amplify apps.

", + "ListArtifacts": "

Returns a list of artifacts for a specified app, branch, and job.

", + "ListBackendEnvironments": "

Lists the backend environments for an Amplify app.

", + "ListBranches": "

Lists the branches of an Amplify app.

", + "ListDomainAssociations": "

Returns the domain associations for an Amplify app.

", + "ListJobs": "

Lists the jobs for a branch of an Amplify app.

", + "ListTagsForResource": "

Returns a list of tags for a specified Amazon Resource Name (ARN).

", + "ListWebhooks": "

Returns a list of webhooks for an Amplify app.

", + "StartDeployment": "

Starts a deployment for a manually deployed app. Manually deployed apps are not connected to a repository.

", + "StartJob": "

Starts a new job for a branch of an Amplify app.

", + "StopJob": "

Stops a job that is in progress for a branch of an Amplify app.

", + "TagResource": "

Tags the resource with a tag key and value.

", + "UntagResource": "

Untags a resource with a specified Amazon Resource Name (ARN).

", + "UpdateApp": "

Updates an existing Amplify app.

", + "UpdateBranch": "

Updates a branch for an Amplify app.

", + "UpdateDomainAssociation": "

Creates a new domain association for an Amplify app.

", + "UpdateWebhook": "

Updates a webhook.

" }, "shapes": { "AccessToken": { "base": null, "refs": { - "CreateAppRequest$accessToken": "

Personal Access token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key. Token is not stored.

", - "UpdateAppRequest$accessToken": "

Personal Access token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key. Token is not stored.

" + "CreateAppRequest$accessToken": "

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 token is not stored.

", + "UpdateAppRequest$accessToken": "

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.

" } }, "ActiveJobId": { "base": null, "refs": { - "Branch$activeJobId": "

Id of the active job for a branch, part of an Amplify App.

" + "Branch$activeJobId": "

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

" } }, "App": { - "base": "

Amplify App represents different branches of a repository for building, deploying, and hosting.

", + "base": "

Represents the different branches of a repository for building, deploying, and hosting an Amplify app.

", "refs": { "Apps$member": null, "CreateAppResult$app": null, "DeleteAppResult$app": null, "GetAppResult$app": null, - "UpdateAppResult$app": "

App structure for the updated App.

" + "UpdateAppResult$app": "

Represents the updated Amplify app.

" } }, "AppArn": { "base": null, "refs": { - "App$appArn": "

ARN for the Amplify App.

" + "App$appArn": "

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

" } }, "AppId": { "base": null, "refs": { - "App$appId": "

Unique Id for the Amplify App.

", - "CreateBackendEnvironmentRequest$appId": "

Unique Id for an Amplify App.

", - "CreateBranchRequest$appId": "

Unique Id for an Amplify App.

", - "CreateDeploymentRequest$appId": "

Unique Id for an Amplify App.

", - "CreateDomainAssociationRequest$appId": "

Unique Id for an Amplify App.

", - "CreateWebhookRequest$appId": "

Unique Id for an Amplify App.

", - "DeleteAppRequest$appId": "

Unique Id for an Amplify App.

", - "DeleteBackendEnvironmentRequest$appId": "

Unique Id of an Amplify App.

", - "DeleteBranchRequest$appId": "

Unique Id for an Amplify App.

", - "DeleteDomainAssociationRequest$appId": "

Unique Id for an Amplify App.

", - "DeleteJobRequest$appId": "

Unique Id for an Amplify App.

", - "GenerateAccessLogsRequest$appId": "

Unique Id for an Amplify App.

", - "GetAppRequest$appId": "

Unique Id for an Amplify App.

", - "GetBackendEnvironmentRequest$appId": "

Unique Id for an Amplify App.

", - "GetBranchRequest$appId": "

Unique Id for an Amplify App.

", - "GetDomainAssociationRequest$appId": "

Unique Id for an Amplify App.

", - "GetJobRequest$appId": "

Unique Id for an Amplify App.

", - "ListArtifactsRequest$appId": "

Unique Id for an Amplify App.

", - "ListBackendEnvironmentsRequest$appId": "

Unique Id for an amplify App.

", - "ListBranchesRequest$appId": "

Unique Id for an Amplify App.

", - "ListDomainAssociationsRequest$appId": "

Unique Id for an Amplify App.

", - "ListJobsRequest$appId": "

Unique Id for an Amplify App.

", - "ListWebhooksRequest$appId": "

Unique Id for an Amplify App.

", - "StartDeploymentRequest$appId": "

Unique Id for an Amplify App.

", - "StartJobRequest$appId": "

Unique Id for an Amplify App.

", - "StopJobRequest$appId": "

Unique Id for an Amplify App.

", - "UpdateAppRequest$appId": "

Unique Id for an Amplify App.

", - "UpdateBranchRequest$appId": "

Unique Id for an Amplify App.

", - "UpdateDomainAssociationRequest$appId": "

Unique Id for an Amplify App.

" + "App$appId": "

The unique ID of the Amplify app.

", + "CreateBackendEnvironmentRequest$appId": "

The unique ID for an Amplify app.

", + "CreateBranchRequest$appId": "

The unique ID for an Amplify app.

", + "CreateDeploymentRequest$appId": "

The unique ID for an Amplify app.

", + "CreateDomainAssociationRequest$appId": "

The unique ID for an Amplify app.

", + "CreateWebhookRequest$appId": "

The unique ID for an Amplify app.

", + "DeleteAppRequest$appId": "

The unique ID for an Amplify app.

", + "DeleteBackendEnvironmentRequest$appId": "

The unique ID of an Amplify app.

", + "DeleteBranchRequest$appId": "

The unique ID for an Amplify app.

", + "DeleteDomainAssociationRequest$appId": "

The unique id for an Amplify app.

", + "DeleteJobRequest$appId": "

The unique ID for an Amplify app.

", + "GenerateAccessLogsRequest$appId": "

The unique ID for an Amplify app.

", + "GetAppRequest$appId": "

The unique ID for an Amplify app.

", + "GetBackendEnvironmentRequest$appId": "

The unique id for an Amplify app.

", + "GetBranchRequest$appId": "

The unique ID for an Amplify app.

", + "GetDomainAssociationRequest$appId": "

The unique id for an Amplify app.

", + "GetJobRequest$appId": "

The unique ID for an Amplify app.

", + "ListArtifactsRequest$appId": "

The unique ID for an Amplify app.

", + "ListBackendEnvironmentsRequest$appId": "

The unique ID for an Amplify app.

", + "ListBranchesRequest$appId": "

The unique ID for an Amplify app.

", + "ListDomainAssociationsRequest$appId": "

The unique ID for an Amplify app.

", + "ListJobsRequest$appId": "

The unique ID for an Amplify app.

", + "ListWebhooksRequest$appId": "

The unique ID for an Amplify app.

", + "StartDeploymentRequest$appId": "

The unique ID for an Amplify app.

", + "StartJobRequest$appId": "

The unique ID for an Amplify app.

", + "StopJobRequest$appId": "

The unique ID for an Amplify app.

", + "UpdateAppRequest$appId": "

The unique ID for an Amplify app.

", + "UpdateBranchRequest$appId": "

The unique ID for an Amplify app.

", + "UpdateDomainAssociationRequest$appId": "

The unique ID for an Amplify app.

" } }, "Apps": { "base": null, "refs": { - "ListAppsResult$apps": "

List of Amplify Apps.

" + "ListAppsResult$apps": "

A list of Amplify apps.

" } }, "Artifact": { - "base": "

Structure for artifact.

", + "base": "

Describes an artifact.

", "refs": { "Artifacts$member": null } @@ -119,33 +119,33 @@ "ArtifactFileName": { "base": null, "refs": { - "Artifact$artifactFileName": "

File name for the artifact.

" + "Artifact$artifactFileName": "

The file name for the artifact.

" } }, "ArtifactId": { "base": null, "refs": { - "Artifact$artifactId": "

Unique Id for a artifact.

", - "GetArtifactUrlRequest$artifactId": "

Unique Id for a artifact.

", - "GetArtifactUrlResult$artifactId": "

Unique Id for a artifact.

" + "Artifact$artifactId": "

The unique ID for the artifact.

", + "GetArtifactUrlRequest$artifactId": "

The unique ID for an artifact.

", + "GetArtifactUrlResult$artifactId": "

The unique ID for an artifact.

" } }, "ArtifactUrl": { "base": null, "refs": { - "GetArtifactUrlResult$artifactUrl": "

Presigned url for the artifact.

" + "GetArtifactUrlResult$artifactUrl": "

The presigned URL for the artifact.

" } }, "Artifacts": { "base": null, "refs": { - "ListArtifactsResult$artifacts": "

List of artifacts.

" + "ListArtifactsResult$artifacts": "

A list of artifacts.

" } }, "ArtifactsUrl": { "base": null, "refs": { - "Step$artifactsUrl": "

URL to the artifact for the execution step.

" + "Step$artifactsUrl": "

The URL to the artifact for the execution step.

" } }, "AssociatedResource": { @@ -157,15 +157,15 @@ "AssociatedResources": { "base": null, "refs": { - "Branch$associatedResources": "

List of custom resources that are linked to this branch.

" + "Branch$associatedResources": "

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

" } }, "AutoBranchCreationConfig": { - "base": "

Structure with auto branch creation config.

", + "base": "

Describes the automated branch creation configuration.

", "refs": { - "App$autoBranchCreationConfig": "

Automated branch creation config for the Amplify App.

", - "CreateAppRequest$autoBranchCreationConfig": "

Automated branch creation config for the Amplify App.

", - "UpdateAppRequest$autoBranchCreationConfig": "

Automated branch creation branchConfig for the Amplify App.

" + "App$autoBranchCreationConfig": "

Describes the automated branch creation configuration for the Amplify app.

", + "CreateAppRequest$autoBranchCreationConfig": "

The automated branch creation configuration for the Amplify app.

", + "UpdateAppRequest$autoBranchCreationConfig": "

The automated branch creation configuration for the Amplify app.

" } }, "AutoBranchCreationPattern": { @@ -177,115 +177,137 @@ "AutoBranchCreationPatterns": { "base": null, "refs": { - "App$autoBranchCreationPatterns": "

Automated branch creation glob patterns for the Amplify App.

", - "CreateAppRequest$autoBranchCreationPatterns": "

Automated branch creation glob patterns for the Amplify App.

", - "UpdateAppRequest$autoBranchCreationPatterns": "

Automated branch creation glob patterns for the Amplify App.

" + "App$autoBranchCreationPatterns": "

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

", + "CreateAppRequest$autoBranchCreationPatterns": "

The automated branch creation glob patterns for the Amplify app.

", + "UpdateAppRequest$autoBranchCreationPatterns": "

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

" + } + }, + "AutoSubDomainCreationPattern": { + "base": null, + "refs": { + "AutoSubDomainCreationPatterns$member": null + } + }, + "AutoSubDomainCreationPatterns": { + "base": null, + "refs": { + "CreateDomainAssociationRequest$autoSubDomainCreationPatterns": "

Sets the branch patterns for automatic subdomain creation.

", + "DomainAssociation$autoSubDomainCreationPatterns": "

Sets branch patterns for automatic subdomain creation.

", + "UpdateDomainAssociationRequest$autoSubDomainCreationPatterns": "

Sets the branch patterns for automatic subdomain creation.

" + } + }, + "AutoSubDomainIAMRole": { + "base": null, + "refs": { + "CreateDomainAssociationRequest$autoSubDomainIAMRole": "

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

", + "DomainAssociation$autoSubDomainIAMRole": "

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

", + "UpdateDomainAssociationRequest$autoSubDomainIAMRole": "

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

" } }, "BackendEnvironment": { - "base": "

Backend environment for an Amplify App.

", + "base": "

Describes the backend environment for an Amplify app.

", "refs": { "BackendEnvironments$member": null, - "CreateBackendEnvironmentResult$backendEnvironment": "

Backend environment structure for an amplify App.

", - "DeleteBackendEnvironmentResult$backendEnvironment": "

Backend environment structure for an Amplify App.

", - "GetBackendEnvironmentResult$backendEnvironment": "

Backend environment structure for an an Amplify App.

" + "CreateBackendEnvironmentResult$backendEnvironment": "

Describes the backend environment for an Amplify app.

", + "DeleteBackendEnvironmentResult$backendEnvironment": "

Describes the backend environment for an Amplify app.

", + "GetBackendEnvironmentResult$backendEnvironment": "

Describes the backend environment for an Amplify app.

" } }, "BackendEnvironmentArn": { "base": null, "refs": { - "BackendEnvironment$backendEnvironmentArn": "

Arn for a backend environment, part of an Amplify App.

", - "Branch$backendEnvironmentArn": "

ARN for a Backend Environment, part of an Amplify App.

", - "CreateBranchRequest$backendEnvironmentArn": "

ARN for a Backend Environment, part of an Amplify App.

", - "UpdateBranchRequest$backendEnvironmentArn": "

ARN for a Backend Environment, part of an Amplify App.

" + "BackendEnvironment$backendEnvironmentArn": "

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

", + "Branch$backendEnvironmentArn": "

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

", + "CreateBranchRequest$backendEnvironmentArn": "

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

", + "UpdateBranchRequest$backendEnvironmentArn": "

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

" } }, "BackendEnvironments": { "base": null, "refs": { - "ListBackendEnvironmentsResult$backendEnvironments": "

List of backend environments for an Amplify App.

" + "ListBackendEnvironmentsResult$backendEnvironments": "

The list of backend environments for an Amplify app.

" } }, "BadRequestException": { - "base": "

Exception thrown when a request contains unexpected data.

", + "base": "

A request contains unexpected data.

", "refs": { } }, "BasicAuthCredentials": { "base": null, "refs": { - "App$basicAuthCredentials": "

Basic Authorization credentials for branches for the Amplify App.

", - "AutoBranchCreationConfig$basicAuthCredentials": "

Basic Authorization credentials for the auto created branch.

", - "Branch$basicAuthCredentials": "

Basic Authorization credentials for a branch, part of an Amplify App.

", - "CreateAppRequest$basicAuthCredentials": "

Credentials for Basic Authorization for an Amplify App.

", - "CreateBranchRequest$basicAuthCredentials": "

Basic Authorization credentials for the branch.

", - "UpdateAppRequest$basicAuthCredentials": "

Basic Authorization credentials for an Amplify App.

", - "UpdateBranchRequest$basicAuthCredentials": "

Basic Authorization credentials for the branch.

" + "App$basicAuthCredentials": "

The basic authorization credentials for branches for the Amplify app.

", + "AutoBranchCreationConfig$basicAuthCredentials": "

The basic authorization credentials for the autocreated branch.

", + "Branch$basicAuthCredentials": "

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

", + "CreateAppRequest$basicAuthCredentials": "

The credentials for basic authorization for an Amplify app.

", + "CreateBranchRequest$basicAuthCredentials": "

The basic authorization credentials for the branch.

", + "UpdateAppRequest$basicAuthCredentials": "

The basic authorization credentials for an Amplify app.

", + "UpdateBranchRequest$basicAuthCredentials": "

The basic authorization credentials for the branch.

" } }, "Branch": { - "base": "

Branch for an Amplify App, which maps to a 3rd party repository branch.

", + "base": "

The branch for an Amplify app, which maps to a third-party repository branch.

", "refs": { "Branches$member": null, - "CreateBranchResult$branch": "

Branch structure for an Amplify App.

", - "DeleteBranchResult$branch": "

Branch structure for an Amplify App.

", + "CreateBranchResult$branch": "

Describes the branch for an Amplify app, which maps to a third-party repository branch.

", + "DeleteBranchResult$branch": "

The branch for an Amplify app, which maps to a third-party repository branch.

", "GetBranchResult$branch": null, - "UpdateBranchResult$branch": "

Branch structure for an Amplify App.

" + "UpdateBranchResult$branch": "

The branch for an Amplify app, which maps to a third-party repository branch.

" } }, "BranchArn": { "base": null, "refs": { - "Branch$branchArn": "

ARN for a branch, part of an Amplify App.

" + "Branch$branchArn": "

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

" } }, "BranchName": { "base": null, "refs": { - "Branch$branchName": "

Name for a branch, part of an Amplify App.

", + "Branch$branchName": "

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

", "Branch$destinationBranch": "

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

", "Branch$sourceBranch": "

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

", - "CreateBranchRequest$branchName": "

Name for the branch.

", - "CreateDeploymentRequest$branchName": "

Name for the branch, for the Job.

", - "CreateWebhookRequest$branchName": "

Name for a branch, part of an Amplify App.

", - "DeleteBranchRequest$branchName": "

Name for the branch.

", - "DeleteJobRequest$branchName": "

Name for the branch, for the Job.

", - "GetBranchRequest$branchName": "

Name for the branch.

", - "GetJobRequest$branchName": "

Name for the branch, for the Job.

", - "ListArtifactsRequest$branchName": "

Name for a branch, part of an Amplify App.

", - "ListJobsRequest$branchName": "

Name for a branch.

", - "ProductionBranch$branchName": "

Branch Name for Production Branch.

", - "StartDeploymentRequest$branchName": "

Name for the branch, for the Job.

", - "StartJobRequest$branchName": "

Name for the branch, for the Job.

", - "StopJobRequest$branchName": "

Name for the branch, for the Job.

", - "SubDomainSetting$branchName": "

Branch name setting for the Subdomain.

", - "UpdateBranchRequest$branchName": "

Name for the branch.

", - "UpdateWebhookRequest$branchName": "

Name for a branch, part of an Amplify App.

", - "Webhook$branchName": "

Name for a branch, part of an Amplify App.

" + "CreateBranchRequest$branchName": "

The name for the branch.

", + "CreateDeploymentRequest$branchName": "

The name for the branch, for the job.

", + "CreateWebhookRequest$branchName": "

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

", + "DeleteBranchRequest$branchName": "

The name for the branch.

", + "DeleteJobRequest$branchName": "

The name for the branch, for the job.

", + "GetBranchRequest$branchName": "

The name for the branch.

", + "GetJobRequest$branchName": "

The branch name for the job.

", + "ListArtifactsRequest$branchName": "

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

", + "ListJobsRequest$branchName": "

The name for a branch.

", + "ProductionBranch$branchName": "

The branch name for the production branch.

", + "StartDeploymentRequest$branchName": "

The name for the branch, for the job.

", + "StartJobRequest$branchName": "

The branch name for the job.

", + "StopJobRequest$branchName": "

The name for the branch, for the job.

", + "SubDomainSetting$branchName": "

The branch name setting for the subdomain.

", + "UpdateBranchRequest$branchName": "

The name for the branch.

", + "UpdateWebhookRequest$branchName": "

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

", + "Webhook$branchName": "

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

" } }, "Branches": { "base": null, "refs": { - "ListBranchesResult$branches": "

List of branches for an Amplify App.

" + "ListBranchesResult$branches": "

A list of branches for an Amplify app.

" } }, "BuildSpec": { - "base": "

BuildSpec file for Amplify app build.

", + "base": "

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

", "refs": { - "App$buildSpec": "

BuildSpec content for Amplify App.

", - "AutoBranchCreationConfig$buildSpec": "

BuildSpec for the auto created branch.

", - "Branch$buildSpec": "

BuildSpec content for branch for Amplify App.

", - "CreateAppRequest$buildSpec": "

BuildSpec for an Amplify App

", - "CreateBranchRequest$buildSpec": "

BuildSpec for the branch.

", - "UpdateAppRequest$buildSpec": "

BuildSpec for an Amplify App.

", - "UpdateBranchRequest$buildSpec": "

BuildSpec for the branch.

" + "App$buildSpec": "

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

", + "AutoBranchCreationConfig$buildSpec": "

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

", + "Branch$buildSpec": "

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

", + "CreateAppRequest$buildSpec": "

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

", + "CreateBranchRequest$buildSpec": "

The build specification (build spec) for the branch.

", + "UpdateAppRequest$buildSpec": "

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

", + "UpdateBranchRequest$buildSpec": "

The build specification (build spec) for the branch.

" } }, "CertificateVerificationDNSRecord": { "base": null, "refs": { - "DomainAssociation$certificateVerificationDNSRecord": "

DNS Record for certificate verification.

" + "DomainAssociation$certificateVerificationDNSRecord": "

The DNS record for certificate verification.

" } }, "Code": { @@ -297,38 +319,38 @@ "CommitId": { "base": null, "refs": { - "JobSummary$commitId": "

Commit Id from 3rd party repository provider for the Job.

", - "StartJobRequest$commitId": "

Commit Id from 3rd party repository provider for the Job.

" + "JobSummary$commitId": "

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

", + "StartJobRequest$commitId": "

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

" } }, "CommitMessage": { "base": null, "refs": { - "JobSummary$commitMessage": "

Commit message from 3rd party repository provider for the Job.

", - "StartJobRequest$commitMessage": "

Commit message from 3rd party repository provider for the Job.

" + "JobSummary$commitMessage": "

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

", + "StartJobRequest$commitMessage": "

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

" } }, "CommitTime": { "base": null, "refs": { - "JobSummary$commitTime": "

Commit date / time for the Job.

", - "StartJobRequest$commitTime": "

Commit date / time for the Job.

" + "JobSummary$commitTime": "

The commit date and time for the job.

", + "StartJobRequest$commitTime": "

The commit date and time for the job.

" } }, "Condition": { "base": null, "refs": { - "CustomRule$condition": "

The condition for a URL rewrite or redirect rule, e.g. country code.

" + "CustomRule$condition": "

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

" } }, "Context": { "base": null, "refs": { - "Step$context": "

The context for current step, will include build image if step is build.

" + "Step$context": "

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

" } }, "CreateAppRequest": { - "base": "

Request structure used to create Apps in Amplify.

", + "base": "

The request structure used to create apps in Amplify.

", "refs": { } }, @@ -338,61 +360,61 @@ } }, "CreateBackendEnvironmentRequest": { - "base": "

Request structure for a backend environment create request.

", + "base": "

The request structure for the backend environment create request.

", "refs": { } }, "CreateBackendEnvironmentResult": { - "base": "

Result structure for create backend environment.

", + "base": "

The result structure for the create backend environment request.

", "refs": { } }, "CreateBranchRequest": { - "base": "

Request structure for a branch create request.

", + "base": "

The request structure for the create branch request.

", "refs": { } }, "CreateBranchResult": { - "base": "

Result structure for create branch request.

", + "base": "

The result structure for create branch request.

", "refs": { } }, "CreateDeploymentRequest": { - "base": "

Request structure for create a new deployment.

", + "base": "

The request structure for the create a new deployment request.

", "refs": { } }, "CreateDeploymentResult": { - "base": "

Result structure for create a new deployment.

", + "base": "

The result structure for the create a new deployment request.

", "refs": { } }, "CreateDomainAssociationRequest": { - "base": "

Request structure for create Domain Association request.

", + "base": "

The request structure for the create domain association request.

", "refs": { } }, "CreateDomainAssociationResult": { - "base": "

Result structure for the create Domain Association request.

", + "base": "

The result structure for the create domain association request.

", "refs": { } }, "CreateTime": { "base": null, "refs": { - "App$createTime": "

Create date / time for the Amplify App.

", - "BackendEnvironment$createTime": "

Creation date and time for a backend environment, part of an Amplify App.

", - "Branch$createTime": "

Creation date and time for a branch, part of an Amplify App.

", - "Webhook$createTime": "

Create date / time for a webhook.

" + "App$createTime": "

Creates a date and time for the Amplify app.

", + "BackendEnvironment$createTime": "

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

", + "Branch$createTime": "

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

", + "Webhook$createTime": "

The create date and time for a webhook.

" } }, "CreateWebhookRequest": { - "base": "

Request structure for create webhook request.

", + "base": "

The request structure for the create webhook request.

", "refs": { } }, "CreateWebhookResult": { - "base": "

Result structure for the create webhook request.

", + "base": "

The result structure for the create webhook request.

", "refs": { } }, @@ -405,11 +427,11 @@ "CustomDomains": { "base": null, "refs": { - "Branch$customDomains": "

Custom domains for a branch, part of an Amplify App.

" + "Branch$customDomains": "

The custom domains for a branch of an Amplify app.

" } }, "CustomRule": { - "base": "

Custom rewrite / redirect rule.

", + "base": "

Describes a custom rewrite or redirect rule.

", "refs": { "CustomRules$member": null } @@ -417,55 +439,55 @@ "CustomRules": { "base": null, "refs": { - "App$customRules": "

Custom redirect / rewrite rules for the Amplify App.

", - "CreateAppRequest$customRules": "

Custom rewrite / redirect rules for an Amplify App.

", - "UpdateAppRequest$customRules": "

Custom redirect / rewrite rules for an Amplify App.

" + "App$customRules": "

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

", + "CreateAppRequest$customRules": "

The custom rewrite and redirect rules for an Amplify app.

", + "UpdateAppRequest$customRules": "

The custom redirect and rewrite rules for an Amplify app.

" } }, "DNSRecord": { "base": null, "refs": { - "SubDomain$dnsRecord": "

DNS record for the Subdomain.

" + "SubDomain$dnsRecord": "

The DNS record for the subdomain.

" } }, "DefaultDomain": { "base": null, "refs": { - "App$defaultDomain": "

Default domain for the Amplify App.

" + "App$defaultDomain": "

The default domain for the Amplify app.

" } }, "DeleteAppRequest": { - "base": "

Request structure for an Amplify App delete request.

", + "base": "

Describes the request structure for the delete app request.

", "refs": { } }, "DeleteAppResult": { - "base": "

Result structure for an Amplify App delete request.

", + "base": "

The result structure for the delete app request.

", "refs": { } }, "DeleteBackendEnvironmentRequest": { - "base": "

Request structure for delete backend environment request.

", + "base": "

The request structure for the delete backend environment request.

", "refs": { } }, "DeleteBackendEnvironmentResult": { - "base": "

Result structure of a delete backend environment result.

", + "base": "

The result structure of the delete backend environment result.

", "refs": { } }, "DeleteBranchRequest": { - "base": "

Request structure for delete branch request.

", + "base": "

The request structure for the delete branch request.

", "refs": { } }, "DeleteBranchResult": { - "base": "

Result structure for delete branch request.

", + "base": "

The result structure for the delete branch request.

", "refs": { } }, "DeleteDomainAssociationRequest": { - "base": "

Request structure for the delete Domain Association request.

", + "base": "

The request structure for the delete domain association request.

", "refs": { } }, @@ -475,153 +497,161 @@ } }, "DeleteJobRequest": { - "base": "

Request structure for delete job request.

", + "base": "

The request structure for the delete job request.

", "refs": { } }, "DeleteJobResult": { - "base": "

Result structure for the delete job request.

", + "base": "

The result structure for the delete job request.

", "refs": { } }, "DeleteWebhookRequest": { - "base": "

Request structure for the delete webhook request.

", + "base": "

The request structure for the delete webhook request.

", "refs": { } }, "DeleteWebhookResult": { - "base": "

Result structure for the delete webhook request.

", + "base": "

The result structure for the delete webhook request.

", "refs": { } }, "DependentServiceFailureException": { - "base": "

Exception thrown when an operation fails due to a dependent service throwing an exception.

", + "base": "

An operation failed because a dependent service threw an exception.

", "refs": { } }, "DeploymentArtifacts": { "base": null, "refs": { - "BackendEnvironment$deploymentArtifacts": "

Name of deployment artifacts.

", - "CreateBackendEnvironmentRequest$deploymentArtifacts": "

Name of deployment artifacts.

" + "BackendEnvironment$deploymentArtifacts": "

The name of deployment artifacts.

", + "CreateBackendEnvironmentRequest$deploymentArtifacts": "

The name of deployment artifacts.

" } }, "Description": { "base": null, "refs": { - "App$description": "

Description for the Amplify App.

", - "Branch$description": "

Description for a branch, part of an Amplify App.

", - "CreateAppRequest$description": "

Description for an Amplify App

", - "CreateBranchRequest$description": "

Description for the branch.

", - "CreateWebhookRequest$description": "

Description for a webhook.

", - "UpdateAppRequest$description": "

Description for an Amplify App.

", - "UpdateBranchRequest$description": "

Description for the branch.

", - "UpdateWebhookRequest$description": "

Description for a webhook.

", - "Webhook$description": "

Description for a webhook.

" + "App$description": "

The description for the Amplify app.

", + "Branch$description": "

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

", + "CreateAppRequest$description": "

The description for an Amplify app.

", + "CreateBranchRequest$description": "

The description for the branch.

", + "CreateWebhookRequest$description": "

The description for a webhook.

", + "UpdateAppRequest$description": "

The description for an Amplify app.

", + "UpdateBranchRequest$description": "

The description for the branch.

", + "UpdateWebhookRequest$description": "

The description for a webhook.

", + "Webhook$description": "

The description for a webhook.

" } }, "DisplayName": { "base": null, "refs": { - "Branch$displayName": "

Display name for a branch, will use as the default domain prefix.

", - "CreateBranchRequest$displayName": "

Display name for a branch, will use as the default domain prefix.

", - "UpdateBranchRequest$displayName": "

Display name for a branch, will use as the default domain prefix.

" + "Branch$displayName": "

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

", + "CreateBranchRequest$displayName": "

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

", + "UpdateBranchRequest$displayName": "

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

" } }, "DomainAssociation": { - "base": "

Structure for Domain Association, which associates a custom domain with an Amplify App.

", + "base": "

Describes a domain association that associates a custom domain with an Amplify app.

", "refs": { - "CreateDomainAssociationResult$domainAssociation": "

Domain Association structure.

", + "CreateDomainAssociationResult$domainAssociation": "

Describes the structure of a domain association, which associates a custom domain with an Amplify app.

", "DeleteDomainAssociationResult$domainAssociation": null, "DomainAssociations$member": null, - "GetDomainAssociationResult$domainAssociation": "

Domain Association structure.

", - "UpdateDomainAssociationResult$domainAssociation": "

Domain Association structure.

" + "GetDomainAssociationResult$domainAssociation": "

Describes the structure of a domain association, which associates a custom domain with an Amplify app.

", + "UpdateDomainAssociationResult$domainAssociation": "

Describes a domain association, which associates a custom domain with an Amplify app.

" } }, "DomainAssociationArn": { "base": null, "refs": { - "DomainAssociation$domainAssociationArn": "

ARN for the Domain Association.

" + "DomainAssociation$domainAssociationArn": "

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

" } }, "DomainAssociations": { "base": null, "refs": { - "ListDomainAssociationsResult$domainAssociations": "

List of Domain Associations.

" + "ListDomainAssociationsResult$domainAssociations": "

A list of domain associations.

" } }, "DomainName": { "base": null, "refs": { - "CreateDomainAssociationRequest$domainName": "

Domain name for the Domain Association.

", - "DeleteDomainAssociationRequest$domainName": "

Name of the domain.

", - "DomainAssociation$domainName": "

Name of the domain.

", - "GenerateAccessLogsRequest$domainName": "

Name of the domain.

", - "GetDomainAssociationRequest$domainName": "

Name of the domain.

", - "UpdateDomainAssociationRequest$domainName": "

Name of the domain.

" + "CreateDomainAssociationRequest$domainName": "

The domain name for the domain association.

", + "DeleteDomainAssociationRequest$domainName": "

The name of the domain.

", + "DomainAssociation$domainName": "

The name of the domain.

", + "GenerateAccessLogsRequest$domainName": "

The name of the domain.

", + "GetDomainAssociationRequest$domainName": "

The name of the domain.

", + "UpdateDomainAssociationRequest$domainName": "

The name of the domain.

" } }, "DomainPrefix": { "base": null, "refs": { - "SubDomainSetting$prefix": "

Prefix setting for the Subdomain.

" + "SubDomainSetting$prefix": "

The prefix setting for the subdomain.

" } }, "DomainStatus": { "base": null, "refs": { - "DomainAssociation$domainStatus": "

Status fo the Domain Association.

" + "DomainAssociation$domainStatus": "

The current status of the domain association.

" } }, "EnableAutoBranchCreation": { "base": null, "refs": { - "App$enableAutoBranchCreation": "

Enables automated branch creation for the Amplify App.

", - "CreateAppRequest$enableAutoBranchCreation": "

Enables automated branch creation for the Amplify App.

", - "UpdateAppRequest$enableAutoBranchCreation": "

Enables automated branch creation for the Amplify App.

" + "App$enableAutoBranchCreation": "

Enables automated branch creation for the Amplify app.

", + "CreateAppRequest$enableAutoBranchCreation": "

Enables automated branch creation for the Amplify app.

", + "UpdateAppRequest$enableAutoBranchCreation": "

Enables automated branch creation for the Amplify app.

" } }, "EnableAutoBuild": { "base": null, "refs": { - "AutoBranchCreationConfig$enableAutoBuild": "

Enables auto building for the auto created branch.

", - "Branch$enableAutoBuild": "

Enables auto-building on push for a branch, part of an Amplify App.

", + "AutoBranchCreationConfig$enableAutoBuild": "

Enables auto building for the autocreated branch.

", + "Branch$enableAutoBuild": "

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

", "CreateBranchRequest$enableAutoBuild": "

Enables auto building for the branch.

", - "UpdateAppRequest$enableBranchAutoBuild": "

Enables branch auto-building for an Amplify App.

", + "UpdateAppRequest$enableBranchAutoBuild": "

Enables branch auto-building for an Amplify app.

", "UpdateBranchRequest$enableAutoBuild": "

Enables auto building for the branch.

" } }, "EnableAutoSubDomain": { "base": null, "refs": { - "CreateDomainAssociationRequest$enableAutoSubDomain": "

Enables automated creation of Subdomains for branches. (Currently not supported)

", - "DomainAssociation$enableAutoSubDomain": "

Enables automated creation of Subdomains for branches. (Currently not supported)

", - "UpdateDomainAssociationRequest$enableAutoSubDomain": "

Enables automated creation of Subdomains for branches. (Currently not supported)

" + "CreateDomainAssociationRequest$enableAutoSubDomain": "

Enables the automated creation of subdomains for branches.

", + "DomainAssociation$enableAutoSubDomain": "

Enables the automated creation of subdomains for branches.

", + "UpdateDomainAssociationRequest$enableAutoSubDomain": "

Enables the automated creation of subdomains for branches.

" } }, "EnableBasicAuth": { "base": null, "refs": { - "App$enableBasicAuth": "

Enables Basic Authorization for branches for the Amplify App.

", - "AutoBranchCreationConfig$enableBasicAuth": "

Enables Basic Auth for the auto created branch.

", - "Branch$enableBasicAuth": "

Enables Basic Authorization for a branch, part of an Amplify App.

", - "CreateAppRequest$enableBasicAuth": "

Enable Basic Authorization for an Amplify App, this will apply to all branches part of this App.

", - "CreateBranchRequest$enableBasicAuth": "

Enables Basic Auth for the branch.

", - "UpdateAppRequest$enableBasicAuth": "

Enables Basic Authorization for an Amplify App.

", - "UpdateBranchRequest$enableBasicAuth": "

Enables Basic Auth for the branch.

" + "App$enableBasicAuth": "

Enables basic authorization for the Amplify app's branches.

", + "AutoBranchCreationConfig$enableBasicAuth": "

Enables basic authorization for the autocreated branch.

", + "Branch$enableBasicAuth": "

Enables basic authorization for a branch of an Amplify app.

", + "CreateAppRequest$enableBasicAuth": "

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

", + "CreateBranchRequest$enableBasicAuth": "

Enables basic authorization for the branch.

", + "UpdateAppRequest$enableBasicAuth": "

Enables basic authorization for an Amplify app.

", + "UpdateBranchRequest$enableBasicAuth": "

Enables basic authorization for the branch.

" } }, "EnableBranchAutoBuild": { "base": null, "refs": { - "App$enableBranchAutoBuild": "

Enables auto-building of branches for the Amplify App.

", - "CreateAppRequest$enableBranchAutoBuild": "

Enable the auto building of branches for an Amplify App.

" + "App$enableBranchAutoBuild": "

Enables the auto-building of branches for the Amplify app.

", + "CreateAppRequest$enableBranchAutoBuild": "

Enables the auto building of branches for an Amplify app.

" + } + }, + "EnableBranchAutoDeletion": { + "base": null, + "refs": { + "App$enableBranchAutoDeletion": "

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

", + "CreateAppRequest$enableBranchAutoDeletion": "

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

", + "UpdateAppRequest$enableBranchAutoDeletion": "

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

" } }, "EnableNotification": { "base": null, "refs": { - "Branch$enableNotification": "

Enables notifications for a branch, part of an Amplify App.

", + "Branch$enableNotification": "

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

", "CreateBranchRequest$enableNotification": "

Enables notifications for the branch.

", "UpdateBranchRequest$enableNotification": "

Enables notifications for the branch.

" } @@ -629,18 +659,18 @@ "EnablePullRequestPreview": { "base": null, "refs": { - "AutoBranchCreationConfig$enablePullRequestPreview": "

Enables Pull Request Preview for auto created branch.

", - "Branch$enablePullRequestPreview": "

Enables Pull Request Preview for this branch.

", - "CreateBranchRequest$enablePullRequestPreview": "

Enables Pull Request Preview for this branch.

", - "UpdateBranchRequest$enablePullRequestPreview": "

Enables Pull Request Preview for this branch.

" + "AutoBranchCreationConfig$enablePullRequestPreview": "

Enables pull request preview for the autocreated branch.

", + "Branch$enablePullRequestPreview": "

Enables pull request preview for the branch.

", + "CreateBranchRequest$enablePullRequestPreview": "

Enables pull request preview for this branch.

", + "UpdateBranchRequest$enablePullRequestPreview": "

Enables pull request preview for this branch.

" } }, "EndTime": { "base": null, "refs": { - "GenerateAccessLogsRequest$endTime": "

The time at which the logs should end, inclusive.

", - "JobSummary$endTime": "

End date / time for the Job.

", - "Step$endTime": "

End date/ time of the execution step.

" + "GenerateAccessLogsRequest$endTime": "

The time at which the logs should end. The time range specified is inclusive of the end time.

", + "JobSummary$endTime": "

The end date and time for the job.

", + "Step$endTime": "

The end date and time of the execution step.

" } }, "EnvKey": { @@ -658,23 +688,23 @@ "EnvironmentName": { "base": null, "refs": { - "BackendEnvironment$environmentName": "

Name for a backend environment, part of an Amplify App.

", - "CreateBackendEnvironmentRequest$environmentName": "

Name for the backend environment.

", - "DeleteBackendEnvironmentRequest$environmentName": "

Name of a backend environment of an Amplify App.

", - "GetBackendEnvironmentRequest$environmentName": "

Name for the backend environment.

", - "ListBackendEnvironmentsRequest$environmentName": "

Name of the backend environment

" + "BackendEnvironment$environmentName": "

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

", + "CreateBackendEnvironmentRequest$environmentName": "

The name for the backend environment.

", + "DeleteBackendEnvironmentRequest$environmentName": "

The name of a backend environment of an Amplify app.

", + "GetBackendEnvironmentRequest$environmentName": "

The name for the backend environment.

", + "ListBackendEnvironmentsRequest$environmentName": "

The name of the backend environment

" } }, "EnvironmentVariables": { "base": null, "refs": { - "App$environmentVariables": "

Environment Variables for the Amplify App.

", - "AutoBranchCreationConfig$environmentVariables": "

Environment Variables for the auto created branch.

", - "Branch$environmentVariables": "

Environment Variables specific to a branch, part of an Amplify App.

", - "CreateAppRequest$environmentVariables": "

Environment variables map for an Amplify App.

", - "CreateBranchRequest$environmentVariables": "

Environment Variables for the branch.

", - "UpdateAppRequest$environmentVariables": "

Environment Variables for an Amplify App.

", - "UpdateBranchRequest$environmentVariables": "

Environment Variables for the branch.

" + "App$environmentVariables": "

The environment variables for the Amplify app.

", + "AutoBranchCreationConfig$environmentVariables": "

The environment variables for the autocreated branch.

", + "Branch$environmentVariables": "

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

", + "CreateAppRequest$environmentVariables": "

The environment variables map for an Amplify app.

", + "CreateBranchRequest$environmentVariables": "

The environment variables for the branch.

", + "UpdateAppRequest$environmentVariables": "

The environment variables for an Amplify app.

", + "UpdateBranchRequest$environmentVariables": "

The environment variables for the branch.

" } }, "ErrorMessage": { @@ -692,7 +722,7 @@ "FileMap": { "base": null, "refs": { - "CreateDeploymentRequest$fileMap": "

Optional file map that contains file name as the key and file content md5 hash as the value. If this argument is provided, the service will generate different upload url per file. Otherwise, the service will only generate a single upload url for the zipped files.

" + "CreateDeploymentRequest$fileMap": "

An optional file map that contains the file name as the key and the file content md5 hash as the value. If this argument is provided, the service will generate a unique upload URL per file. Otherwise, the service will only generate a single upload URL for the zipped files.

" } }, "FileName": { @@ -705,30 +735,30 @@ "FileUploadUrls": { "base": null, "refs": { - "CreateDeploymentResult$fileUploadUrls": "

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

" + "CreateDeploymentResult$fileUploadUrls": "

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

" } }, "Framework": { "base": null, "refs": { - "AutoBranchCreationConfig$framework": "

Framework for the auto created branch.

", - "Branch$framework": "

Framework for a branch, part of an Amplify App.

", - "CreateBranchRequest$framework": "

Framework for the branch.

", - "UpdateBranchRequest$framework": "

Framework for the branch.

" + "AutoBranchCreationConfig$framework": "

The framework for the autocreated branch.

", + "Branch$framework": "

The framework for a branch of an Amplify app.

", + "CreateBranchRequest$framework": "

The framework for the branch.

", + "UpdateBranchRequest$framework": "

The framework for the branch.

" } }, "GenerateAccessLogsRequest": { - "base": "

Request structure for the generate access logs request.

", + "base": "

The request structure for the generate access logs request.

", "refs": { } }, "GenerateAccessLogsResult": { - "base": "

Result structure for the generate access logs request.

", + "base": "

The result structure for the generate access logs request.

", "refs": { } }, "GetAppRequest": { - "base": "

Request structure for get App request.

", + "base": "

The request structure for the get app request.

", "refs": { } }, @@ -738,27 +768,27 @@ } }, "GetArtifactUrlRequest": { - "base": "

Request structure for the get artifact request.

", + "base": "

Returns the request structure for the get artifact request.

", "refs": { } }, "GetArtifactUrlResult": { - "base": "

Result structure for the get artifact request.

", + "base": "

Returns the result structure for the get artifact request.

", "refs": { } }, "GetBackendEnvironmentRequest": { - "base": "

Request structure for get backend environment request.

", + "base": "

The request structure for the get backend environment request.

", "refs": { } }, "GetBackendEnvironmentResult": { - "base": "

Result structure for get backend environment result.

", + "base": "

The result structure for the get backend environment result.

", "refs": { } }, "GetBranchRequest": { - "base": "

Request structure for get branch request.

", + "base": "

The request structure for the get branch request.

", "refs": { } }, @@ -768,17 +798,17 @@ } }, "GetDomainAssociationRequest": { - "base": "

Request structure for the get Domain Association request.

", + "base": "

The request structure for the get domain association request.

", "refs": { } }, "GetDomainAssociationResult": { - "base": "

Result structure for the get Domain Association request.

", + "base": "

The result structure for the get domain association request.

", "refs": { } }, "GetJobRequest": { - "base": "

Request structure for get job request.

", + "base": "

The request structure for the get job request.

", "refs": { } }, @@ -788,22 +818,22 @@ } }, "GetWebhookRequest": { - "base": "

Request structure for the get webhook request.

", + "base": "

The request structure for the get webhook request.

", "refs": { } }, "GetWebhookResult": { - "base": "

Result structure for the get webhook request.

", + "base": "

The result structure for the get webhook request.

", "refs": { } }, "InternalFailureException": { - "base": "

Exception thrown when the service fails to perform an operation due to an internal issue.

", + "base": "

The service failed to perform an operation due to an internal issue.

", "refs": { } }, "Job": { - "base": "

Structure for an execution job for an Amplify App.

", + "base": "

Describes an execution job for an Amplify app.

", "refs": { "GetJobResult$job": null } @@ -811,155 +841,155 @@ "JobArn": { "base": null, "refs": { - "JobSummary$jobArn": "

Arn for the Job.

" + "JobSummary$jobArn": "

The Amazon Resource Name (ARN) for the job.

" } }, "JobId": { "base": null, "refs": { - "CreateDeploymentResult$jobId": "

The jobId for this deployment, will supply to start deployment api.

", - "DeleteJobRequest$jobId": "

Unique Id for the Job.

", - "GetJobRequest$jobId": "

Unique Id for the Job.

", - "JobSummary$jobId": "

Unique Id for the Job.

", - "ListArtifactsRequest$jobId": "

Unique Id for an Job.

", - "StartDeploymentRequest$jobId": "

The job id for this deployment, generated by create deployment request.

", - "StartJobRequest$jobId": "

Unique Id for an existing job. Required for \"RETRY\" JobType.

", - "StopJobRequest$jobId": "

Unique Id for the Job.

" + "CreateDeploymentResult$jobId": "

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

", + "DeleteJobRequest$jobId": "

The unique ID for the job.

", + "GetJobRequest$jobId": "

The unique ID for the job.

", + "JobSummary$jobId": "

The unique ID for the job.

", + "ListArtifactsRequest$jobId": "

The unique ID for a job.

", + "StartDeploymentRequest$jobId": "

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

", + "StartJobRequest$jobId": "

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

", + "StopJobRequest$jobId": "

The unique id for the job.

" } }, "JobReason": { "base": null, "refs": { - "StartJobRequest$jobReason": "

Descriptive reason for starting this job.

" + "StartJobRequest$jobReason": "

A descriptive reason for starting this job.

" } }, "JobStatus": { "base": null, "refs": { - "JobSummary$status": "

Status for the Job.

", - "Step$status": "

Status of the execution step.

" + "JobSummary$status": "

The current status for the job.

", + "Step$status": "

The status of the execution step.

" } }, "JobSummaries": { "base": null, "refs": { - "ListJobsResult$jobSummaries": "

Result structure for list job result request.

" + "ListJobsResult$jobSummaries": "

The result structure for the list job result request.

" } }, "JobSummary": { - "base": "

Structure for the summary of a Job.

", + "base": "

Describes the summary for an execution job for an Amplify app.

", "refs": { "DeleteJobResult$jobSummary": null, - "Job$summary": "

Summary for an execution job for an Amplify App.

", + "Job$summary": "

Describes the summary for an execution job for an Amplify app.

", "JobSummaries$member": null, - "StartDeploymentResult$jobSummary": "

Summary for the Job.

", - "StartJobResult$jobSummary": "

Summary for the Job.

", - "StopJobResult$jobSummary": "

Summary for the Job.

" + "StartDeploymentResult$jobSummary": "

The summary for the job.

", + "StartJobResult$jobSummary": "

The summary for the job.

", + "StopJobResult$jobSummary": "

The summary for the job.

" } }, "JobType": { "base": null, "refs": { - "JobSummary$jobType": "

Type for the Job. \\n \"RELEASE\": Manually released from source by using StartJob API. \"RETRY\": Manually retried by using StartJob API. \"WEB_HOOK\": Automatically triggered by WebHooks.

", - "StartJobRequest$jobType": "

Type for the Job. Available JobTypes are: \\n \"RELEASE\": Start a new job with the latest change from the specified branch. Only available for apps that have connected to a repository. \"RETRY\": Retry an existing job. JobId is required for this type of job.

" + "JobSummary$jobType": "

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

", + "StartJobRequest$jobType": "

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.

" } }, "LastDeployTime": { "base": null, "refs": { - "ProductionBranch$lastDeployTime": "

Last Deploy Time of Production Branch.

" + "ProductionBranch$lastDeployTime": "

The last deploy time of the production branch.

" } }, "LimitExceededException": { - "base": "

Exception thrown when a resource could not be created because of service limits.

", + "base": "

A resource could not be created because service quotas were exceeded.

", "refs": { } }, "ListAppsRequest": { - "base": "

Request structure for an Amplify App list request.

", + "base": "

The request structure for the list apps request.

", "refs": { } }, "ListAppsResult": { - "base": "

Result structure for an Amplify App list request.

", + "base": "

The result structure for an Amplify app list request.

", "refs": { } }, "ListArtifactsRequest": { - "base": "

Request structure for the list artifacts request.

", + "base": "

Describes the request structure for the list artifacts request.

", "refs": { } }, "ListArtifactsResult": { - "base": "

Result structure for the list artifacts request.

", + "base": "

The result structure for the list artifacts request.

", "refs": { } }, "ListBackendEnvironmentsRequest": { - "base": "

Request structure for list backend environments request.

", + "base": "

The request structure for the list backend environments request.

", "refs": { } }, "ListBackendEnvironmentsResult": { - "base": "

Result structure for list backend environments result.

", + "base": "

The result structure for the list backend environments result.

", "refs": { } }, "ListBranchesRequest": { - "base": "

Request structure for list branches request.

", + "base": "

The request structure for the list branches request.

", "refs": { } }, "ListBranchesResult": { - "base": "

Result structure for list branches request.

", + "base": "

The result structure for the list branches request.

", "refs": { } }, "ListDomainAssociationsRequest": { - "base": "

Request structure for the list Domain Associations request.

", + "base": "

The request structure for the list domain associations request.

", "refs": { } }, "ListDomainAssociationsResult": { - "base": "

Result structure for the list Domain Association request.

", + "base": "

The result structure for the list domain association request.

", "refs": { } }, "ListJobsRequest": { - "base": "

Request structure for list job request.

", + "base": "

The request structure for the list jobs request.

", "refs": { } }, "ListJobsResult": { - "base": "

Maximum number of records to list in a single response.

", + "base": "

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

", "refs": { } }, "ListTagsForResourceRequest": { - "base": "

Request structure used to list tags for resource.

", + "base": "

The request structure to use to list tags for a resource.

", "refs": { } }, "ListTagsForResourceResponse": { - "base": "

Response for list tags.

", + "base": "

The response for the list tags for resource request.

", "refs": { } }, "ListWebhooksRequest": { - "base": "

Request structure for the list webhooks request.

", + "base": "

The request structure for the list webhooks request.

", "refs": { } }, "ListWebhooksResult": { - "base": "

Result structure for the list webhooks request.

", + "base": "

The result structure for the list webhooks request.

", "refs": { } }, "LogUrl": { "base": null, "refs": { - "GenerateAccessLogsResult$logUrl": "

Pre-signed URL for the requested access logs.

", - "Step$logUrl": "

URL to the logs for the execution step.

" + "GenerateAccessLogsResult$logUrl": "

The pre-signed URL for the requested access logs.

", + "Step$logUrl": "

The URL to the logs for the execution step.

" } }, "MD5Hash": { @@ -971,110 +1001,110 @@ "MaxResults": { "base": null, "refs": { - "ListAppsRequest$maxResults": "

Maximum number of records to list in a single response.

", - "ListArtifactsRequest$maxResults": "

Maximum number of records to list in a single response.

", - "ListBackendEnvironmentsRequest$maxResults": "

Maximum number of records to list in a single response.

", - "ListBranchesRequest$maxResults": "

Maximum number of records to list in a single response.

", - "ListDomainAssociationsRequest$maxResults": "

Maximum number of records to list in a single response.

", - "ListJobsRequest$maxResults": "

Maximum number of records to list in a single response.

", - "ListWebhooksRequest$maxResults": "

Maximum number of records to list in a single response.

" + "ListAppsRequest$maxResults": "

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

", + "ListArtifactsRequest$maxResults": "

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

", + "ListBackendEnvironmentsRequest$maxResults": "

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

", + "ListBranchesRequest$maxResults": "

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

", + "ListDomainAssociationsRequest$maxResults": "

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

", + "ListJobsRequest$maxResults": "

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

", + "ListWebhooksRequest$maxResults": "

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

" } }, "Name": { "base": null, "refs": { - "App$name": "

Name for the Amplify App.

", - "CreateAppRequest$name": "

Name for the Amplify App

", - "UpdateAppRequest$name": "

Name for an Amplify App.

" + "App$name": "

The name for the Amplify app.

", + "CreateAppRequest$name": "

The name for the Amplify app.

", + "UpdateAppRequest$name": "

The name for an Amplify app.

" } }, "NextToken": { "base": null, "refs": { - "ListAppsRequest$nextToken": "

Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.

", - "ListAppsResult$nextToken": "

Pagination token. Set to null to start listing Apps from start. If non-null pagination token is returned in a result, then pass its value in here to list more projects.

", - "ListArtifactsRequest$nextToken": "

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

", - "ListArtifactsResult$nextToken": "

Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.

", - "ListBackendEnvironmentsRequest$nextToken": "

Pagination token. Set to null to start listing backen environments from start. If a non-null pagination token is returned in a result, then pass its value in here to list more backend environments.

", - "ListBackendEnvironmentsResult$nextToken": "

Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.

", - "ListBranchesRequest$nextToken": "

Pagination token. Set to null to start listing branches from start. If a non-null pagination token is returned in a result, then pass its value in here to list more branches.

", - "ListBranchesResult$nextToken": "

Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.

", - "ListDomainAssociationsRequest$nextToken": "

Pagination token. Set to null to start listing Apps from start. If non-null pagination token is returned in a result, then pass its value in here to list more projects.

", - "ListDomainAssociationsResult$nextToken": "

Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.

", - "ListJobsRequest$nextToken": "

Pagination token. Set to null to start listing steps from start. If a non-null pagination token is returned in a result, then pass its value in here to list more steps.

", - "ListJobsResult$nextToken": "

Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.

", - "ListWebhooksRequest$nextToken": "

Pagination token. Set to null to start listing webhooks from start. If non-null pagination token is returned in a result, then pass its value in here to list more webhooks.

", - "ListWebhooksResult$nextToken": "

Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.

" + "ListAppsRequest$nextToken": "

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

", + "ListAppsResult$nextToken": "

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

", + "ListArtifactsRequest$nextToken": "

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.

", + "ListArtifactsResult$nextToken": "

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

", + "ListBackendEnvironmentsRequest$nextToken": "

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.

", + "ListBackendEnvironmentsResult$nextToken": "

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

", + "ListBranchesRequest$nextToken": "

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 branches.

", + "ListBranchesResult$nextToken": "

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

", + "ListDomainAssociationsRequest$nextToken": "

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.

", + "ListDomainAssociationsResult$nextToken": "

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

", + "ListJobsRequest$nextToken": "

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.

", + "ListJobsResult$nextToken": "

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

", + "ListWebhooksRequest$nextToken": "

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

", + "ListWebhooksResult$nextToken": "

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

" } }, "NotFoundException": { - "base": "

Exception thrown when an entity has not been found during an operation.

", + "base": "

An entity was not found during an operation.

", "refs": { } }, "OauthToken": { "base": null, "refs": { - "CreateAppRequest$oauthToken": "

OAuth token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key. OAuth token is not stored.

", - "UpdateAppRequest$oauthToken": "

OAuth token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key. OAuth token is not stored.

" + "CreateAppRequest$oauthToken": "

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.

", + "UpdateAppRequest$oauthToken": "

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.

" } }, "Platform": { "base": null, "refs": { - "App$platform": "

Platform for the Amplify App.

", - "CreateAppRequest$platform": "

Platform / framework for an Amplify App

", - "UpdateAppRequest$platform": "

Platform for an Amplify App.

" + "App$platform": "

The platform for the Amplify app.

", + "CreateAppRequest$platform": "

The platform or framework for an Amplify app.

", + "UpdateAppRequest$platform": "

The platform for an Amplify app.

" } }, "ProductionBranch": { - "base": "

Structure with Production Branch information.

", + "base": "

Describes the information about a production branch for an Amplify app.

", "refs": { - "App$productionBranch": "

Structure with Production Branch information.

" + "App$productionBranch": "

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

" } }, "PullRequestEnvironmentName": { "base": null, "refs": { - "AutoBranchCreationConfig$pullRequestEnvironmentName": "

The Amplify Environment name for the pull request.

", - "Branch$pullRequestEnvironmentName": "

The Amplify Environment name for the pull request.

", - "CreateBranchRequest$pullRequestEnvironmentName": "

The Amplify Environment name for the pull request.

", - "UpdateBranchRequest$pullRequestEnvironmentName": "

The Amplify Environment name for the pull request.

" + "AutoBranchCreationConfig$pullRequestEnvironmentName": "

The Amplify environment name for the pull request.

", + "Branch$pullRequestEnvironmentName": "

The Amplify environment name for the pull request.

", + "CreateBranchRequest$pullRequestEnvironmentName": "

The Amplify environment name for the pull request.

", + "UpdateBranchRequest$pullRequestEnvironmentName": "

The Amplify environment name for the pull request.

" } }, "Repository": { "base": null, "refs": { - "App$repository": "

Repository for the Amplify App.

", - "CreateAppRequest$repository": "

Repository for an Amplify App

", - "UpdateAppRequest$repository": "

Repository for an Amplify App

" + "App$repository": "

The repository for the Amplify app.

", + "CreateAppRequest$repository": "

The repository for an Amplify app.

", + "UpdateAppRequest$repository": "

The name of the repository for an Amplify app

" } }, "ResourceArn": { "base": null, "refs": { - "ListTagsForResourceRequest$resourceArn": "

Resource arn used to list tags.

", - "TagResourceRequest$resourceArn": "

Resource arn used to tag resource.

", - "UntagResourceRequest$resourceArn": "

Resource arn used to untag resource.

" + "ListTagsForResourceRequest$resourceArn": "

The Amazon Resource Name (ARN) to use to list tags.

", + "TagResourceRequest$resourceArn": "

The Amazon Resource Name (ARN) to use to tag a resource.

", + "UntagResourceRequest$resourceArn": "

The Amazon Resource Name (ARN) to use to untag a resource.

" } }, "ResourceNotFoundException": { - "base": "

Exception thrown when an operation fails due to non-existent resource.

", + "base": "

An operation failed due to a non-existent resource.

", "refs": { } }, "Screenshots": { "base": null, "refs": { - "Step$screenshots": "

List of screenshot URLs for the execution step, if relevant.

" + "Step$screenshots": "

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

" } }, "ServiceRoleArn": { "base": null, "refs": { - "App$iamServiceRoleArn": "

IAM service role ARN for the Amplify App.

", - "CreateAppRequest$iamServiceRoleArn": "

AWS IAM service role for an Amplify App

", - "UpdateAppRequest$iamServiceRoleArn": "

IAM service role for an Amplify App.

" + "App$iamServiceRoleArn": "

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

", + "CreateAppRequest$iamServiceRoleArn": "

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

", + "UpdateAppRequest$iamServiceRoleArn": "

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

" } }, "Source": { @@ -1086,69 +1116,69 @@ "SourceUrl": { "base": null, "refs": { - "StartDeploymentRequest$sourceUrl": "

The sourceUrl for this deployment, used when calling start deployment without create deployment. SourceUrl can be any HTTP GET url that is public accessible and downloads a single zip.

" + "StartDeploymentRequest$sourceUrl": "

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.

" } }, "StackName": { "base": null, "refs": { - "BackendEnvironment$stackName": "

CloudFormation stack name of backend environment.

", - "CreateBackendEnvironmentRequest$stackName": "

CloudFormation stack name of backend environment.

" + "BackendEnvironment$stackName": "

The AWS CloudFormation stack name of a backend environment.

", + "CreateBackendEnvironmentRequest$stackName": "

The AWS CloudFormation stack name of a backend environment.

" } }, "Stage": { "base": null, "refs": { - "AutoBranchCreationConfig$stage": "

Stage for the auto created branch.

", - "Branch$stage": "

Stage for a branch, part of an Amplify App.

", - "CreateBranchRequest$stage": "

Stage for the branch.

", - "UpdateBranchRequest$stage": "

Stage for the branch.

" + "AutoBranchCreationConfig$stage": "

Describes the current stage for the autocreated branch.

", + "Branch$stage": "

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

", + "CreateBranchRequest$stage": "

Describes the current stage for the branch.

", + "UpdateBranchRequest$stage": "

Describes the current stage for the branch.

" } }, "StartDeploymentRequest": { - "base": "

Request structure for start a deployment.

", + "base": "

The request structure for the start a deployment request.

", "refs": { } }, "StartDeploymentResult": { - "base": "

Result structure for start a deployment.

", + "base": "

The result structure for the start a deployment request.

", "refs": { } }, "StartJobRequest": { - "base": "

Request structure for Start job request.

", + "base": "

The request structure for the start job request.

", "refs": { } }, "StartJobResult": { - "base": "

Result structure for run job request.

", + "base": "

The result structure for the run job request.

", "refs": { } }, "StartTime": { "base": null, "refs": { - "GenerateAccessLogsRequest$startTime": "

The time at which the logs should start, inclusive.

", - "JobSummary$startTime": "

Start date / time for the Job.

", - "Step$startTime": "

Start date/ time of the execution step.

" + "GenerateAccessLogsRequest$startTime": "

The time at which the logs should start. The time range specified is inclusive of the start time.

", + "JobSummary$startTime": "

The start date and time for the job.

", + "Step$startTime": "

The start date and time of the execution step.

" } }, "Status": { "base": null, "refs": { "CustomRule$status": "

The status code for a URL rewrite or redirect rule.

", - "ProductionBranch$status": "

Status of Production Branch.

" + "ProductionBranch$status": "

The status of the production branch.

" } }, "StatusReason": { "base": null, "refs": { - "DomainAssociation$statusReason": "

Reason for the current status of the Domain Association.

", - "Step$statusReason": "

The reason for current step status.

" + "DomainAssociation$statusReason": "

The reason for the current status of the domain association.

", + "Step$statusReason": "

The reason for the current step status.

" } }, "Step": { - "base": "

Structure for an execution step for an execution job, for an Amplify App.

", + "base": "

Describes an execution step, for an execution job, for an Amplify app.

", "refs": { "Steps$member": null } @@ -1156,57 +1186,57 @@ "StepName": { "base": null, "refs": { - "Step$stepName": "

Name of the execution step.

" + "Step$stepName": "

The name of the execution step.

" } }, "Steps": { "base": null, "refs": { - "Job$steps": "

Execution steps for an execution job, for an Amplify App.

" + "Job$steps": "

The execution steps for an execution job, for an Amplify app.

" } }, "StopJobRequest": { - "base": "

Request structure for stop job request.

", + "base": "

The request structure for the stop job request.

", "refs": { } }, "StopJobResult": { - "base": "

Result structure for the stop job request.

", + "base": "

The result structure for the stop job request.

", "refs": { } }, "SubDomain": { - "base": "

Subdomain for the Domain Association.

", + "base": "

The subdomain for the domain association.

", "refs": { "SubDomains$member": null } }, "SubDomainSetting": { - "base": "

Setting for the Subdomain.

", + "base": "

Describes the settings for the subdomain.

", "refs": { - "SubDomain$subDomainSetting": "

Setting structure for the Subdomain.

", + "SubDomain$subDomainSetting": "

Describes the settings for the subdomain.

", "SubDomainSettings$member": null } }, "SubDomainSettings": { "base": null, "refs": { - "CreateDomainAssociationRequest$subDomainSettings": "

Setting structure for the Subdomain.

", - "UpdateDomainAssociationRequest$subDomainSettings": "

Setting structure for the Subdomain.

" + "CreateDomainAssociationRequest$subDomainSettings": "

The setting for the subdomain.

", + "UpdateDomainAssociationRequest$subDomainSettings": "

Describes the settings for the subdomain.

" } }, "SubDomains": { "base": null, "refs": { - "DomainAssociation$subDomains": "

Subdomains for the Domain Association.

" + "DomainAssociation$subDomains": "

The subdomains for the domain association.

" } }, "TTL": { - "base": "

The content TTL for the website in seconds.

", + "base": "

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

", "refs": { - "Branch$ttl": "

The content TTL for the website in seconds.

", - "CreateBranchRequest$ttl": "

The content TTL for the website in seconds.

", - "UpdateBranchRequest$ttl": "

The content TTL for the website in seconds.

" + "Branch$ttl": "

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

", + "CreateBranchRequest$ttl": "

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

", + "UpdateBranchRequest$ttl": "

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

" } }, "TagKey": { @@ -1219,27 +1249,27 @@ "TagKeyList": { "base": null, "refs": { - "UntagResourceRequest$tagKeys": "

Tag keys used to untag resource.

" + "UntagResourceRequest$tagKeys": "

The tag keys to use to untag a resource.

" } }, "TagMap": { "base": null, "refs": { - "App$tags": "

Tag for Amplify App.

", - "Branch$tags": "

Tag for branch for Amplify App.

", - "CreateAppRequest$tags": "

Tag for an Amplify App

", - "CreateBranchRequest$tags": "

Tag for the branch.

", - "ListTagsForResourceResponse$tags": "

Tags result for response.

", - "TagResourceRequest$tags": "

Tags used to tag resource.

" + "App$tags": "

The tag for the Amplify app.

", + "Branch$tags": "

The tag for the branch of an Amplify app.

", + "CreateAppRequest$tags": "

The tag for an Amplify app.

", + "CreateBranchRequest$tags": "

The tag for the branch.

", + "ListTagsForResourceResponse$tags": "

A list of tags for the specified The Amazon Resource Name (ARN).

", + "TagResourceRequest$tags": "

The tags used to tag the resource.

" } }, "TagResourceRequest": { - "base": "

Request structure used to tag resource.

", + "base": "

The request structure to tag a resource with a tag key and value.

", "refs": { } }, "TagResourceResponse": { - "base": "

Response for tag resource.

", + "base": "

The response for the tag resource request.

", "refs": { } }, @@ -1258,13 +1288,13 @@ "TestArtifactsUrl": { "base": null, "refs": { - "Step$testArtifactsUrl": "

URL to the test artifact for the execution step.

" + "Step$testArtifactsUrl": "

The URL to the test artifact for the execution step.

" } }, "TestConfigUrl": { "base": null, "refs": { - "Step$testConfigUrl": "

URL to the test config for the execution step.

" + "Step$testConfigUrl": "

The URL to the test configuration for the execution step.

" } }, "ThumbnailName": { @@ -1276,129 +1306,129 @@ "ThumbnailUrl": { "base": null, "refs": { - "Branch$thumbnailUrl": "

Thumbnail URL for the branch.

", - "ProductionBranch$thumbnailUrl": "

Thumbnail URL for Production Branch.

", + "Branch$thumbnailUrl": "

The thumbnail URL for the branch of an Amplify app.

", + "ProductionBranch$thumbnailUrl": "

The thumbnail URL for the production branch.

", "Screenshots$value": null } }, "TotalNumberOfJobs": { "base": null, "refs": { - "Branch$totalNumberOfJobs": "

Total number of Jobs part of an Amplify App.

" + "Branch$totalNumberOfJobs": "

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

" } }, "UnauthorizedException": { - "base": "

Exception thrown when an operation fails due to a lack of access.

", + "base": "

An operation failed due to a lack of access.

", "refs": { } }, "UntagResourceRequest": { - "base": "

Request structure used to untag resource.

", + "base": "

The request structure for the untag resource request.

", "refs": { } }, "UntagResourceResponse": { - "base": "

Response for untag resource.

", + "base": "

The response for the untag resource request.

", "refs": { } }, "UpdateAppRequest": { - "base": "

Request structure for update App request.

", + "base": "

The request structure for the update app request.

", "refs": { } }, "UpdateAppResult": { - "base": "

Result structure for an Amplify App update request.

", + "base": "

The result structure for an Amplify app update request.

", "refs": { } }, "UpdateBranchRequest": { - "base": "

Request structure for update branch request.

", + "base": "

The request structure for the update branch request.

", "refs": { } }, "UpdateBranchResult": { - "base": "

Result structure for update branch request.

", + "base": "

The result structure for the update branch request.

", "refs": { } }, "UpdateDomainAssociationRequest": { - "base": "

Request structure for update Domain Association request.

", + "base": "

The request structure for the update domain association request.

", "refs": { } }, "UpdateDomainAssociationResult": { - "base": "

Result structure for the update Domain Association request.

", + "base": "

The result structure for the update domain association request.

", "refs": { } }, "UpdateTime": { "base": null, "refs": { - "App$updateTime": "

Update date / time for the Amplify App.

", - "BackendEnvironment$updateTime": "

Last updated date and time for a backend environment, part of an Amplify App.

", - "Branch$updateTime": "

Last updated date and time for a branch, part of an Amplify App.

", - "Webhook$updateTime": "

Update date / time for a webhook.

" + "App$updateTime": "

Updates the date and time for the Amplify app.

", + "BackendEnvironment$updateTime": "

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

", + "Branch$updateTime": "

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

", + "Webhook$updateTime": "

Updates the date and time for a webhook.

" } }, "UpdateWebhookRequest": { - "base": "

Request structure for update webhook request.

", + "base": "

The request structure for the update webhook request.

", "refs": { } }, "UpdateWebhookResult": { - "base": "

Result structure for the update webhook request.

", + "base": "

The result structure for the update webhook request.

", "refs": { } }, "UploadUrl": { "base": null, "refs": { - "CreateDeploymentResult$zipUploadUrl": "

When the fileMap argument is NOT provided. This zipUploadUrl will be returned.

", + "CreateDeploymentResult$zipUploadUrl": "

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

", "FileUploadUrls$value": null } }, "Verified": { "base": null, "refs": { - "SubDomain$verified": "

Verified status of the Subdomain

" + "SubDomain$verified": "

The verified status of the subdomain

" } }, "Webhook": { - "base": "

Structure for webhook, which associates a webhook with an Amplify App.

", + "base": "

Describes a webhook that connects repository events to an Amplify app.

", "refs": { - "CreateWebhookResult$webhook": "

Webhook structure.

", - "DeleteWebhookResult$webhook": "

Webhook structure.

", - "GetWebhookResult$webhook": "

Webhook structure.

", - "UpdateWebhookResult$webhook": "

Webhook structure.

", + "CreateWebhookResult$webhook": "

Describes a webhook that connects repository events to an Amplify app.

", + "DeleteWebhookResult$webhook": "

Describes a webhook that connects repository events to an Amplify app.

", + "GetWebhookResult$webhook": "

Describes the structure of a webhook.

", + "UpdateWebhookResult$webhook": "

Describes a webhook that connects repository events to an Amplify app.

", "Webhooks$member": null } }, "WebhookArn": { "base": null, "refs": { - "Webhook$webhookArn": "

ARN for the webhook.

" + "Webhook$webhookArn": "

The Amazon Resource Name (ARN) for the webhook.

" } }, "WebhookId": { "base": null, "refs": { - "DeleteWebhookRequest$webhookId": "

Unique Id for a webhook.

", - "GetWebhookRequest$webhookId": "

Unique Id for a webhook.

", - "UpdateWebhookRequest$webhookId": "

Unique Id for a webhook.

", - "Webhook$webhookId": "

Id of the webhook.

" + "DeleteWebhookRequest$webhookId": "

The unique ID for a webhook.

", + "GetWebhookRequest$webhookId": "

The unique ID for a webhook.

", + "UpdateWebhookRequest$webhookId": "

The unique ID for a webhook.

", + "Webhook$webhookId": "

The ID of the webhook.

" } }, "WebhookUrl": { "base": null, "refs": { - "Webhook$webhookUrl": "

Url of the webhook.

" + "Webhook$webhookUrl": "

The URL of the webhook.

" } }, "Webhooks": { "base": null, "refs": { - "ListWebhooksResult$webhooks": "

List of webhooks.

" + "ListWebhooksResult$webhooks": "

A list of webhooks.

" } } } diff --git a/models/apis/autoscaling/2011-01-01/docs-2.json b/models/apis/autoscaling/2011-01-01/docs-2.json index 2f5615796f7..94e6083ca02 100644 --- a/models/apis/autoscaling/2011-01-01/docs-2.json +++ b/models/apis/autoscaling/2011-01-01/docs-2.json @@ -9,7 +9,7 @@ "BatchPutScheduledUpdateGroupAction": "

Creates or updates one or more scheduled scaling actions for an Auto Scaling group. If you leave a parameter unspecified when updating a scheduled scaling action, the corresponding value remains unchanged.

", "CancelInstanceRefresh": "

Cancels an instance refresh operation in progress. Cancellation does not roll back any replacements that have already been completed, but it prevents new replacements from being started.

For more information, see Replacing Auto Scaling Instances Based on an Instance Refresh.

", "CompleteLifecycleAction": "

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

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

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

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

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

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

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

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

", - "CreateAutoScalingGroup": "

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 Amazon EC2 Auto Scaling User Guide. For more information, see Auto Scaling Groups in the Amazon EC2 Auto Scaling User Guide.

", + "CreateAutoScalingGroup": "

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 Amazon EC2 Auto Scaling User Guide. For more information, see Auto Scaling Groups in the Amazon EC2 Auto Scaling User Guide.

", "CreateLaunchConfiguration": "

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.

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

", "CreateOrUpdateTags": "

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.

", "DeleteAutoScalingGroup": "

Deletes the specified Auto Scaling group.

If the group has instances or scaling activities in progress, you must specify the option to force the deletion in order for it to succeed.

If the group has policies, deleting the group deletes the policies, the underlying alarm actions, and any alarm that no longer has an associated action.

To remove instances from the Auto Scaling group before deleting it, call the DetachInstances API with the list of instances and the option to decrement the desired capacity. This ensures that Amazon EC2 Auto Scaling does not launch replacement instances.

To terminate all instances before deleting the Auto Scaling group, call the UpdateAutoScalingGroup API and set the minimum size and desired capacity of the Auto Scaling group to zero.

", @@ -24,7 +24,7 @@ "DescribeAutoScalingGroups": "

Describes one or more Auto Scaling groups.

", "DescribeAutoScalingInstances": "

Describes one or more Auto Scaling instances.

", "DescribeAutoScalingNotificationTypes": "

Describes the notification types that are supported by Amazon EC2 Auto Scaling.

", - "DescribeInstanceRefreshes": "

Describes one or more instance refreshes.

You can determine the status of a request by looking at the Status parameter. The following are the possible statuses:

", + "DescribeInstanceRefreshes": "

Describes one or more instance refreshes.

You can determine the status of a request by looking at the Status parameter. The following are the possible statuses:

For more information, see Replacing Auto Scaling Instances Based on an Instance Refresh.

", "DescribeLaunchConfigurations": "

Describes one or more launch configurations.

", "DescribeLifecycleHookTypes": "

Describes the available types of lifecycle hooks.

The following hook types are supported:

", "DescribeLifecycleHooks": "

Describes the lifecycle hooks for the specified Auto Scaling group.

", @@ -55,7 +55,7 @@ "SetDesiredCapacity": "

Sets the size of the specified Auto Scaling group.

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 Amazon EC2 Auto Scaling User Guide.

", "SetInstanceHealth": "

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.

", "SetInstanceProtection": "

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.

", - "StartInstanceRefresh": "

Starts a new instance refresh operation, which triggers a rolling replacement of all previously launched instances in the Auto Scaling group with a new group of instances.

If successful, this call creates a new instance refresh request with a unique ID that you can use to track its progress. To query its status, call the DescribeInstanceRefreshes API. To describe the instance refreshes that have already run, call the DescribeInstanceRefreshes API. To cancel an active instance refresh operation, use the CancelInstanceRefresh API.

For more information, see Replacing Auto Scaling Instances Based on an Instance Refresh.

", + "StartInstanceRefresh": "

Starts a new instance refresh operation, which triggers a rolling replacement of all previously launched instances in the Auto Scaling group with a new group of instances.

If successful, this call creates a new instance refresh request with a unique ID that you can use to track its progress. To query its status, call the DescribeInstanceRefreshes API. To describe the instance refreshes that have already run, call the DescribeInstanceRefreshes API. To cancel an instance refresh operation in progress, use the CancelInstanceRefresh API.

For more information, see Replacing Auto Scaling Instances Based on an Instance Refresh.

", "SuspendProcesses": "

Suspends the specified automatic 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.

To resume processes that have been suspended, call the ResumeProcesses API.

", "TerminateInstanceInAutoScalingGroup": "

Terminates the specified instance and optionally adjusts the desired group size.

This call simply makes a termination request. The instance is not terminated immediately. When an instance is terminated, the instance status changes to terminated. You can't connect to or start an instance after you've terminated it.

If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches instances to replace the ones that are terminated.

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.

", "UpdateAutoScalingGroup": "

Updates the configuration for the specified Auto Scaling group.

To update an Auto Scaling group, specify the name of the group and the parameter that you want to change. Any parameters that you don't specify are not changed by this update request. The new settings take effect on any scaling activities after this call returns.

If you associate a new launch configuration or template with an Auto Scaling group, all new instances will get the updated configuration. Existing instances continue to run with the configuration that they were originally launched with. When you update a group to specify a mixed instances policy instead of a launch configuration or template, existing instances may be replaced to match the new purchasing options that you specified in the policy. For example, if the group currently has 100% On-Demand capacity and the policy specifies 50% Spot capacity, this means that half of your instances will be gradually terminated and relaunched as Spot Instances. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the old ones, so that updating your group does not compromise the performance or availability of your application.

Note the following about changing DesiredCapacity, MaxSize, or MinSize:

To see which parameters have been set, call the DescribeAutoScalingGroups API. To view the scaling policies for an Auto Scaling group, call the DescribePolicies API. If the group has scaling policies, you can update them by calling the PutScalingPolicy API.

" @@ -303,13 +303,13 @@ "BlockDeviceEbsIops": { "base": null, "refs": { - "Ebs$Iops": "

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.

Conditional: This parameter is required when the volume type is io1. (Not used with standard, gp2, st1, or sc1 volumes.)

" + "Ebs$Iops": "

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.)

" } }, "BlockDeviceEbsVolumeSize": { "base": null, "refs": { - "Ebs$VolumeSize": "

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.

At least one of VolumeSize or SnapshotId is required.

" + "Ebs$VolumeSize": "

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.

At least one of VolumeSize or SnapshotId is required.

" } }, "BlockDeviceEbsVolumeType": { @@ -361,11 +361,11 @@ "Cooldown": { "base": null, "refs": { - "AutoScalingGroup$DefaultCooldown": "

The amount of time, in seconds, after a scaling activity completes before another scaling activity can start.

", - "CreateAutoScalingGroupType$DefaultCooldown": "

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

For more information, see Scaling Cooldowns in the Amazon EC2 Auto Scaling User Guide.

", - "PutScalingPolicyType$Cooldown": "

The amount of time, in seconds, after a scaling activity completes before any further dynamic scaling activities can start. If this parameter is not specified, the default cooldown period for the group applies.

Valid only if the policy type is SimpleScaling. For more information, see Scaling Cooldowns in the Amazon EC2 Auto Scaling User Guide.

", - "ScalingPolicy$Cooldown": "

The amount of time, in seconds, after a scaling activity completes before any further dynamic scaling activities can start.

", - "UpdateAutoScalingGroupType$DefaultCooldown": "

The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. The default value is 300. This cooldown period is not used when a scaling-specific cooldown is specified.

Cooldown periods are not supported for target tracking scaling policies, step scaling policies, or scheduled scaling. For more information, see Scaling Cooldowns in the Amazon EC2 Auto Scaling User Guide.

" + "AutoScalingGroup$DefaultCooldown": "

The duration of the default cooldown period, in seconds.

", + "CreateAutoScalingGroupType$DefaultCooldown": "

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.

", + "PutScalingPolicyType$Cooldown": "

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.

", + "ScalingPolicy$Cooldown": "

The duration of the policy's cooldown period, in seconds.

", + "UpdateAutoScalingGroupType$DefaultCooldown": "

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.

" } }, "CreateAutoScalingGroupType": { @@ -613,7 +613,7 @@ "EstimatedInstanceWarmup": { "base": null, "refs": { - "PutScalingPolicyType$EstimatedInstanceWarmup": "

The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. The default is to use the value specified for the default cooldown period for the group.

Valid only if the policy type is StepScaling or TargetTrackingScaling.

", + "PutScalingPolicyType$EstimatedInstanceWarmup": "

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.

", "ScalingPolicy$EstimatedInstanceWarmup": "

The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics.

" } }, @@ -673,8 +673,8 @@ "base": null, "refs": { "AutoScalingGroup$HealthCheckGracePeriod": "

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.

", - "CreateAutoScalingGroupType$HealthCheckGracePeriod": "

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: This parameter is required if you are adding an ELB health check.

", - "UpdateAutoScalingGroupType$HealthCheckGracePeriod": "

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: This parameter is required if you are adding an ELB health check.

" + "CreateAutoScalingGroupType$HealthCheckGracePeriod": "

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.

", + "UpdateAutoScalingGroupType$HealthCheckGracePeriod": "

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.

" } }, "HeartbeatTimeout": { @@ -688,7 +688,7 @@ "HonorCooldown": { "base": null, "refs": { - "ExecutePolicyType$HonorCooldown": "

Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before executing the policy.

This parameter is not supported if the policy type is StepScaling or TargetTrackingScaling.

For more information, see Scaling Cooldowns in the Amazon EC2 Auto Scaling User Guide.

", + "ExecutePolicyType$HonorCooldown": "

Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before executing the policy.

This parameter is not supported if the policy type is StepScaling or TargetTrackingScaling.

For more information, see Scaling Cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

", "SetDesiredCapacityType$HonorCooldown": "

Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity. By default, Amazon EC2 Auto Scaling does not honor the cooldown period during manual scaling activities.

" } }, @@ -752,7 +752,7 @@ "InstanceRefreshes": { "base": null, "refs": { - "DescribeInstanceRefreshesAnswer$InstanceRefreshes": "

The instance refreshes for the specified group.

For more information, see Replacing Auto Scaling Instances Based on an Instance Refresh.

" + "DescribeInstanceRefreshesAnswer$InstanceRefreshes": "

The instance refreshes for the specified group.

" } }, "Instances": { @@ -821,7 +821,7 @@ "LaunchTemplate": { "base": "

Describes a launch template and overrides.

The overrides are used to override the instance type specified by the launch template with multiple instance types that can be used to launch On-Demand Instances and Spot Instances.

When you update the launch template or overrides, existing Amazon EC2 instances continue to run. When scale out occurs, Amazon EC2 Auto Scaling launches instances to match the new settings. When scale in occurs, Amazon EC2 Auto Scaling terminates instances according to the group's termination policies.

", "refs": { - "MixedInstancesPolicy$LaunchTemplate": "

The launch template and instance types (overrides).

This parameter must be specified when creating a mixed instances policy.

" + "MixedInstancesPolicy$LaunchTemplate": "

The launch template and instance types (overrides).

Required when creating a mixed instances policy.

" } }, "LaunchTemplateName": { @@ -904,7 +904,7 @@ "refs": { "LifecycleHook$LifecycleTransition": "

The state of the EC2 instance to which to attach the lifecycle hook. The following are possible values:

", "LifecycleHookSpecification$LifecycleTransition": "

The state of the EC2 instance to which you want to attach the lifecycle hook. The valid values are:

", - "PutLifecycleHookType$LifecycleTransition": "

The instance state to which you want to attach the lifecycle hook. The valid values are:

Conditional: This parameter is required for new lifecycle hooks, but optional when updating existing hooks.

" + "PutLifecycleHookType$LifecycleTransition": "

The instance state to which you want to attach the lifecycle hook. The valid values are:

Required for new lifecycle hooks, but optional when updating existing hooks.

" } }, "LimitExceededFault": { @@ -1044,8 +1044,8 @@ "MetricScale": { "base": null, "refs": { - "ExecutePolicyType$MetricValue": "

The metric value to compare to BreachThreshold. This enables you to execute a policy of type StepScaling and determine which step adjustment to use. For example, if the breach threshold is 50 and you want to use a step adjustment with a lower bound of 0 and an upper bound of 10, you can set the metric value to 59.

If you specify a metric value that doesn't correspond to a step adjustment for the policy, the call returns an error.

Conditional: This parameter is required if the policy type is StepScaling and not supported otherwise.

", - "ExecutePolicyType$BreachThreshold": "

The breach threshold for the alarm.

Conditional: This parameter is required if the policy type is StepScaling and not supported otherwise.

", + "ExecutePolicyType$MetricValue": "

The metric value to compare to BreachThreshold. This enables you to execute a policy of type StepScaling and determine which step adjustment to use. For example, if the breach threshold is 50 and you want to use a step adjustment with a lower bound of 0 and an upper bound of 10, you can set the metric value to 59.

If you specify a metric value that doesn't correspond to a step adjustment for the policy, the call returns an error.

Required if the policy type is StepScaling and not supported otherwise.

", + "ExecutePolicyType$BreachThreshold": "

The breach threshold for the alarm.

Required if the policy type is StepScaling and not supported otherwise.

", "StepAdjustment$MetricIntervalLowerBound": "

The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.

", "StepAdjustment$MetricIntervalUpperBound": "

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 must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity.

The upper bound must be greater than the lower bound.

", "TargetTrackingConfiguration$TargetValue": "

The target value for the metric.

" @@ -1079,8 +1079,8 @@ "MinAdjustmentMagnitude": { "base": null, "refs": { - "PutScalingPolicyType$MinAdjustmentMagnitude": "

The minimum value to scale by when scaling by percentages. For example, suppose that you create a step scaling policy to scale out an Auto Scaling group by 25 percent and you specify a MinAdjustmentMagnitude of 2. If the group has 4 instances and the scaling policy is performed, 25 percent of 4 is 1. However, because you specified a MinAdjustmentMagnitude of 2, Amazon EC2 Auto Scaling scales out the group by 2 instances.

Valid only if the policy type is StepScaling or SimpleScaling and the adjustment type is PercentChangeInCapacity. For more information, see Scaling Adjustment Types in the Amazon EC2 Auto Scaling User Guide.

", - "ScalingPolicy$MinAdjustmentMagnitude": "

The minimum number of instances to scale. If the value of AdjustmentType is PercentChangeInCapacity, the scaling policy changes the DesiredCapacity of the Auto Scaling group by at least this many instances. Otherwise, the error is ValidationError.

" + "PutScalingPolicyType$MinAdjustmentMagnitude": "

The minimum value to scale by when the adjustment type is PercentChangeInCapacity. For example, suppose that you create a step scaling policy to scale out an Auto Scaling group by 25 percent and you specify a MinAdjustmentMagnitude of 2. If the group has 4 instances and the scaling policy is performed, 25 percent of 4 is 1. However, because you specified a 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 Guide.

Some Auto Scaling groups use instance weights. In this case, set the MinAdjustmentMagnitude to a value that is at least as large as your largest instance weight.

", + "ScalingPolicy$MinAdjustmentMagnitude": "

The minimum value to scale by when the adjustment type is PercentChangeInCapacity.

" } }, "MinAdjustmentStep": { @@ -1097,7 +1097,7 @@ } }, "MixedInstancesPolicy": { - "base": "

Describes a mixed instances policy for an Auto Scaling group. With mixed instances, your Auto Scaling group can provision a combination of On-Demand Instances and Spot Instances across multiple instance types. For more information, see Auto Scaling Groups with Multiple Instance Types and Purchase Options in the Amazon EC2 Auto Scaling User 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 template. For more information, see CreateAutoScalingGroup and UpdateAutoScalingGroup.

", + "base": "

Describes a mixed instances policy for an Auto Scaling group. With mixed instances, your Auto Scaling group can provision a combination of On-Demand Instances and Spot Instances across multiple instance types. For more information, see Auto Scaling Groups with Multiple Instance Types and Purchase Options in the Amazon EC2 Auto Scaling User 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.

", "refs": { "AutoScalingGroup$MixedInstancesPolicy": "

The mixed instances policy for the group.

", "CreateAutoScalingGroupType$MixedInstancesPolicy": "

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.

", @@ -1178,7 +1178,7 @@ "PolicyIncrement": { "base": null, "refs": { - "PutScalingPolicyType$ScalingAdjustment": "

The amount by which a simple scaling policy scales the Auto Scaling group in response to an alarm breach. The adjustment is based on the value that you specified in the AdjustmentType parameter (either an absolute number or a percentage). A positive value adds to the current capacity and a negative value subtracts from the current capacity. For exact capacity, you must specify a positive value.

Conditional: If you specify SimpleScaling for the policy type, you must specify this parameter. (Not used with any other policy type.)

", + "PutScalingPolicyType$ScalingAdjustment": "

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.)

", "ScalingPolicy$ScalingAdjustment": "

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.

", "StepAdjustment$ScalingAdjustment": "

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.

" } @@ -1281,19 +1281,19 @@ "RefreshInstanceWarmup": { "base": null, "refs": { - "RefreshPreferences$InstanceWarmup": "

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 specified for the health check grace period for the group.

Note: While warming up, a newly launched instance is not counted toward the aggregated metrics of the Auto Scaling group.

" + "RefreshPreferences$InstanceWarmup": "

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.

" } }, "RefreshPreferences": { "base": "

Describes information used to start an instance refresh.

", "refs": { - "StartInstanceRefreshType$Preferences": "

Set of preferences associated with the instance refresh request.

" + "StartInstanceRefreshType$Preferences": "

Set of preferences associated with the instance refresh request.

If not provided, the default values are used. For MinHealthyPercentage, the default value is 90. For InstanceWarmup, the default is to use the value specified for the health check grace period for the Auto Scaling group.

For more information, see RefreshPreferences in the Amazon EC2 Auto Scaling API Reference.

" } }, "RefreshStrategy": { "base": null, "refs": { - "StartInstanceRefreshType$Strategy": "

The strategy to use for the instance refresh. The only valid value is Rolling.

A rolling update is an update that is applied to all instances in an Auto Scaling group until all instances have been updated. A rolling update can fail due to failed health checks or if instances are on standby or are protected from scale-in. If the rolling update process fails, any instances that were already replaced are not rolled back to their previous configuration.

" + "StartInstanceRefreshType$Strategy": "

The strategy to use for the instance refresh. The only valid value is Rolling.

A rolling update is an update that is applied to all instances in an Auto Scaling group until all instances have been updated. A rolling update can fail due to failed health checks or if instances are on standby or are protected from scale in. If the rolling update process fails, any instances that were already replaced are not rolled back to their previous configuration.

" } }, "ResourceContentionFault": { @@ -1356,7 +1356,7 @@ "PolicyARNType$PolicyARN": "

The Amazon Resource Name (ARN) of the policy.

", "PolicyNames$member": null, "PutLifecycleHookType$AutoScalingGroupName": "

The name of the Auto Scaling group.

", - "PutLifecycleHookType$RoleARN": "

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.

Conditional: This parameter is required for new lifecycle hooks, but optional when updating existing hooks.

", + "PutLifecycleHookType$RoleARN": "

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.

Required for new lifecycle hooks, but optional when updating existing hooks.

", "PutNotificationConfigurationType$AutoScalingGroupName": "

The name of the Auto Scaling group.

", "PutNotificationConfigurationType$TopicARN": "

The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic.

", "PutScalingPolicyType$AutoScalingGroupName": "

The name of the Auto Scaling group.

", @@ -1522,7 +1522,7 @@ "StepAdjustments": { "base": null, "refs": { - "PutScalingPolicyType$StepAdjustments": "

A set of adjustments that enable you to scale based on the size of the alarm breach.

Conditional: If you specify StepScaling for the policy type, you must specify this parameter. (Not used with any other policy type.)

", + "PutScalingPolicyType$StepAdjustments": "

A set of adjustments that enable you to scale based on the size of the alarm breach.

Required if the policy type is StepScaling. (Not used with any other policy type.)

", "ScalingPolicy$StepAdjustments": "

A set of adjustments that enable you to scale based on the size of the alarm breach.

" } }, @@ -1596,7 +1596,7 @@ "TargetTrackingConfiguration": { "base": "

Represents a target tracking scaling policy configuration to use with Amazon EC2 Auto Scaling.

", "refs": { - "PutScalingPolicyType$TargetTrackingConfiguration": "

A target tracking scaling policy. Includes support for predefined or customized metrics.

For more information, see TargetTrackingConfiguration in the Amazon EC2 Auto Scaling API Reference.

Conditional: If you specify TargetTrackingScaling for the policy type, you must specify this parameter. (Not used with any other policy type.)

", + "PutScalingPolicyType$TargetTrackingConfiguration": "

A target tracking scaling policy. Includes support for predefined or customized metrics.

The following predefined metrics are available:

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.

", "ScalingPolicy$TargetTrackingConfiguration": "

A target tracking scaling policy.

" } }, @@ -1762,7 +1762,7 @@ "CreateLaunchConfigurationType$KernelId": "

The ID of the kernel associated with the AMI.

", "CreateLaunchConfigurationType$RamdiskId": "

The ID of the RAM disk to select.

", "DescribeInstanceRefreshesType$AutoScalingGroupName": "

The name of the Auto Scaling group.

", - "Ebs$SnapshotId": "

The snapshot ID of the volume to use.

Conditional: This parameter is optional if you specify a volume size. If you specify both SnapshotId and VolumeSize, VolumeSize must be equal or greater than the size of the snapshot.

", + "Ebs$SnapshotId": "

The snapshot ID of the volume to use.

SnapshotId is optional if you specify a volume size. If you specify both SnapshotId and VolumeSize, the volume size must be equal or greater than the size of the snapshot.

", "EnableMetricsCollectionQuery$Granularity": "

The granularity to associate with the metrics to collect. The only valid value is 1Minute.

", "EnabledMetric$Metric": "

One of the following metrics:

", "EnabledMetric$Granularity": "

The granularity of the metric. The only valid value is 1Minute.

", @@ -1797,7 +1797,7 @@ "ProcessNames$member": null, "ProcessType$ProcessName": "

One of the following processes:

", "PutScalingPolicyType$PolicyName": "

The name of the policy.

", - "PutScalingPolicyType$AdjustmentType": "

Specifies whether the ScalingAdjustment parameter is an absolute number or a percentage of the current capacity. The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.

Valid only if the policy type is StepScaling or SimpleScaling. For more information, see Scaling Adjustment Types in the Amazon EC2 Auto Scaling User Guide.

", + "PutScalingPolicyType$AdjustmentType": "

Specifies how the scaling adjustment is interpreted (either 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.

", "PutScheduledUpdateGroupActionType$ScheduledActionName": "

The name of this scaling action.

", "PutScheduledUpdateGroupActionType$Recurrence": "

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.

", "ResourceContentionFault$message": "

", @@ -1805,7 +1805,7 @@ "ScalingActivityInProgressFault$message": "

", "ScalingPolicy$AutoScalingGroupName": "

The name of the Auto Scaling group.

", "ScalingPolicy$PolicyName": "

The name of the scaling policy.

", - "ScalingPolicy$AdjustmentType": "

The adjustment type, which specifies how ScalingAdjustment is interpreted. The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.

", + "ScalingPolicy$AdjustmentType": "

Specifies how the scaling adjustment is interpreted (either an absolute number or a percentage). The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.

", "ScheduledUpdateGroupAction$AutoScalingGroupName": "

The name of the Auto Scaling group.

", "ScheduledUpdateGroupAction$ScheduledActionName": "

The name of the scheduled action.

", "ScheduledUpdateGroupAction$Recurrence": "

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.

", @@ -1850,8 +1850,8 @@ "FailedScheduledUpdateGroupActionRequest$ErrorCode": "

The error code.

", "LaunchConfiguration$PlacementTenancy": "

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.

", "PolicyTypes$member": null, - "PutScalingPolicyType$PolicyType": "

The policy type. The valid values are SimpleScaling, StepScaling, and TargetTrackingScaling. If the policy type is null, the value is treated as SimpleScaling.

", - "ScalingPolicy$PolicyType": "

The policy type. The valid values are SimpleScaling, StepScaling, and TargetTrackingScaling.

" + "PutScalingPolicyType$PolicyType": "

One of the following policy types:

", + "ScalingPolicy$PolicyType": "

One of the following policy types:

For more information, see Target Tracking Scaling Policies and Step and Simple Scaling Policies in the Amazon EC2 Auto Scaling User Guide.

" } }, "XmlStringUserData": { diff --git a/models/apis/backup/2018-11-15/api-2.json b/models/apis/backup/2018-11-15/api-2.json index 2055fe20987..b11f313b62d 100644 --- a/models/apis/backup/2018-11-15/api-2.json +++ b/models/apis/backup/2018-11-15/api-2.json @@ -410,7 +410,6 @@ "output":{"shape":"ListBackupJobsOutput"}, "errors":[ {"shape":"InvalidParameterValueException"}, - {"shape":"InvalidRequestException"}, {"shape":"ServiceUnavailableException"} ], "idempotent":true @@ -759,6 +758,10 @@ }, "shapes":{ "ARN":{"type":"string"}, + "AccountId":{ + "type":"string", + "pattern":"^[0-9]{12}$" + }, "AlreadyExistsException":{ "type":"structure", "members":{ @@ -774,6 +777,7 @@ "BackupJob":{ "type":"structure", "members":{ + "AccountId":{"shape":"AccountId"}, "BackupJobId":{"shape":"string"}, "BackupVaultName":{"shape":"BackupVaultName"}, "BackupVaultArn":{"shape":"ARN"}, @@ -1029,6 +1033,7 @@ "CopyJob":{ "type":"structure", "members":{ + "AccountId":{"shape":"AccountId"}, "CopyJobId":{"shape":"string"}, "SourceBackupVaultArn":{"shape":"ARN"}, "SourceRecoveryPointArn":{"shape":"ARN"}, @@ -1239,6 +1244,7 @@ "DescribeBackupJobOutput":{ "type":"structure", "members":{ + "AccountId":{"shape":"AccountId"}, "BackupJobId":{"shape":"string"}, "BackupVaultName":{"shape":"BackupVaultName"}, "BackupVaultArn":{"shape":"ARN"}, @@ -1382,6 +1388,7 @@ "DescribeRestoreJobOutput":{ "type":"structure", "members":{ + "AccountId":{"shape":"AccountId"}, "RestoreJobId":{"shape":"string"}, "RecoveryPointArn":{"shape":"ARN"}, "CreationDate":{"shape":"timestamp"}, @@ -1392,7 +1399,8 @@ "BackupSizeInBytes":{"shape":"Long"}, "IamRoleArn":{"shape":"IAMRoleArn"}, "ExpectedCompletionTimeMinutes":{"shape":"Long"}, - "CreatedResourceArn":{"shape":"ARN"} + "CreatedResourceArn":{"shape":"ARN"}, + "ResourceType":{"shape":"ResourceType"} } }, "ExportBackupPlanTemplateInput":{ @@ -1654,6 +1662,11 @@ "shape":"ResourceType", "location":"querystring", "locationName":"resourceType" + }, + "ByAccountId":{ + "shape":"AccountId", + "location":"querystring", + "locationName":"accountId" } } }, @@ -1833,6 +1846,11 @@ "shape":"string", "location":"querystring", "locationName":"destinationVaultArn" + }, + "ByAccountId":{ + "shape":"AccountId", + "location":"querystring", + "locationName":"accountId" } } }, @@ -1962,6 +1980,26 @@ "shape":"MaxResults", "location":"querystring", "locationName":"maxResults" + }, + "ByAccountId":{ + "shape":"AccountId", + "location":"querystring", + "locationName":"accountId" + }, + "ByCreatedBefore":{ + "shape":"timestamp", + "location":"querystring", + "locationName":"createdBefore" + }, + "ByCreatedAfter":{ + "shape":"timestamp", + "location":"querystring", + "locationName":"createdAfter" + }, + "ByStatus":{ + "shape":"RestoreJobStatus", + "location":"querystring", + "locationName":"status" } } }, @@ -2168,6 +2206,7 @@ "RestoreJobsListMember":{ "type":"structure", "members":{ + "AccountId":{"shape":"AccountId"}, "RestoreJobId":{"shape":"string"}, "RecoveryPointArn":{"shape":"ARN"}, "CreationDate":{"shape":"timestamp"}, @@ -2178,7 +2217,8 @@ "BackupSizeInBytes":{"shape":"Long"}, "IamRoleArn":{"shape":"IAMRoleArn"}, "ExpectedCompletionTimeMinutes":{"shape":"Long"}, - "CreatedResourceArn":{"shape":"ARN"} + "CreatedResourceArn":{"shape":"ARN"}, + "ResourceType":{"shape":"ResourceType"} } }, "ServiceUnavailableException":{ diff --git a/models/apis/backup/2018-11-15/docs-2.json b/models/apis/backup/2018-11-15/docs-2.json index c0053735b6c..0c51fa9099a 100644 --- a/models/apis/backup/2018-11-15/docs-2.json +++ b/models/apis/backup/2018-11-15/docs-2.json @@ -16,7 +16,7 @@ "DescribeCopyJob": "

Returns metadata associated with creating a copy of a resource.

", "DescribeProtectedResource": "

Returns information about a saved resource, including the last time it was backed up, its Amazon Resource Name (ARN), and the AWS service type of the saved resource.

", "DescribeRecoveryPoint": "

Returns metadata associated with a recovery point, including ID, status, encryption, and lifecycle.

", - "DescribeRegionSettings": "

Returns the current service opt-in settings for the region. If the service has a value set to true, AWS Backup will attempt to protect that service's resources in this region, when included in an on-demand backup or scheduled backup plan. If the value is set to false for a service, AWS Backup will not attempt to protect that service's resources in this region.

", + "DescribeRegionSettings": "

Returns the current service opt-in settings for the Region. If the service has a value set to true, AWS Backup attempts to protect that service's resources in this Region, when included in an on-demand backup or scheduled backup plan. If the value is set to false for a service, AWS Backup does not attempt to protect that service's resources in this Region.

", "DescribeRestoreJob": "

Returns metadata associated with a restore job that is specified by a job ID.

", "ExportBackupPlanTemplate": "

Returns the backup plan that is specified by the plan ID as a backup template.

", "GetBackupPlan": "

Returns the body of a backup plan in JSON format, in addition to plan metadata.

", @@ -49,7 +49,7 @@ "UntagResource": "

Removes a set of key-value pairs from a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN)

", "UpdateBackupPlan": "

Replaces the body of a saved backup plan identified by its backupPlanId with the input document in JSON format. The new version is uniquely identified by a VersionId.

", "UpdateRecoveryPointLifecycle": "

Sets the transition lifecycle of a recovery point.

The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. AWS Backup transitions and expires backups automatically according to the lifecycle that you define.

Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.

", - "UpdateRegionSettings": "

Updates the current service opt-in settings for the region. If the service has a value set to true, AWS Backup will attempt to protect that service's resources in this region, when included in an on-demand backup or scheduled backup plan. If the value is set to false for a service, AWS Backup will not attempt to protect that service's resources in this region.

" + "UpdateRegionSettings": "

Updates the current service opt-in settings for the Region. If the service has a value set to true, AWS Backup attempts to protect that service's resources in this Region, when included in an on-demand backup or scheduled backup plan. If the value is set to false for a service, AWS Backup does not attempt to protect that service's resources in this Region.

" }, "shapes": { "ARN": { @@ -123,6 +123,19 @@ "UpdateRecoveryPointLifecycleOutput$RecoveryPointArn": "

An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

" } }, + "AccountId": { + "base": null, + "refs": { + "BackupJob$AccountId": "

The account ID that owns the backup job.

", + "CopyJob$AccountId": "

The account ID that owns the copy job.

", + "DescribeBackupJobOutput$AccountId": "

Returns the account ID that owns the backup job.

", + "DescribeRestoreJobOutput$AccountId": "

Returns the account ID that owns the restore job.

", + "ListBackupJobsInput$ByAccountId": "

The account ID to list the jobs from. Returns only backup jobs associated with the specified account ID.

", + "ListCopyJobsInput$ByAccountId": "

The account ID to list the jobs from. Returns only copy jobs associated with the specified account ID.

", + "ListRestoreJobsInput$ByAccountId": "

The account ID to list the jobs from. Returns only restore jobs associated with the specified account ID.

", + "RestoreJobsListMember$AccountId": "

The account ID that owns the restore job.

" + } + }, "AlreadyExistsException": { "base": "

The required resource already exists.

", "refs": { @@ -167,7 +180,7 @@ "base": null, "refs": { "BackupPlan$BackupPlanName": "

The display name of a backup plan.

", - "BackupPlanInput$BackupPlanName": "

The display name of a backup plan.

", + "BackupPlanInput$BackupPlanName": "

The optional display name of a backup plan.

", "BackupPlansListMember$BackupPlanName": "

The display name of a saved backup plan.

" } }, @@ -946,14 +959,16 @@ "DescribeBackupJobOutput$ResourceType": "

The type of AWS resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.

", "DescribeProtectedResourceOutput$ResourceType": "

The type of AWS resource saved as a recovery point; for example, an EBS volume or an Amazon RDS database.

", "DescribeRecoveryPointOutput$ResourceType": "

The type of AWS resource to save as a recovery point; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.

", - "ListBackupJobsInput$ByResourceType": "

Returns only backup jobs for the specified resources:

", - "ListCopyJobsInput$ByResourceType": "

Returns only backup jobs for the specified resources:

", + "DescribeRestoreJobOutput$ResourceType": "

Returns metadata associated with a restore job listed by resource type.

", + "ListBackupJobsInput$ByResourceType": "

Returns only backup jobs for the specified resources:

", + "ListCopyJobsInput$ByResourceType": "

Returns only backup jobs for the specified resources:

", "ListRecoveryPointsByBackupVaultInput$ByResourceType": "

Returns only recovery points that match the specified resource type.

", "ProtectedResource$ResourceType": "

The type of AWS resource; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.

", "RecoveryPointByBackupVault$ResourceType": "

The type of AWS resource saved as a recovery point; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.

", "ResourceTypeOptInPreference$key": null, "ResourceTypes$member": null, - "StartRestoreJobInput$ResourceType": "

Starts a job to restore a recovery point for one of the following resources:

" + "RestoreJobsListMember$ResourceType": "

The resource type of the listed restore jobs; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.

", + "StartRestoreJobInput$ResourceType": "

Starts a job to restore a recovery point for one of the following resources:

" } }, "ResourceTypeOptInPreference": { @@ -966,7 +981,7 @@ "ResourceTypes": { "base": null, "refs": { - "GetSupportedResourceTypesOutput$ResourceTypes": "

Contains a string with the supported AWS resource types:

" + "GetSupportedResourceTypesOutput$ResourceTypes": "

Contains a string with the supported AWS resource types:

" } }, "RestoreJobId": { @@ -980,6 +995,7 @@ "base": null, "refs": { "DescribeRestoreJobOutput$Status": "

Status code specifying the state of the job that is initiated by AWS Backup to restore a recovery point.

", + "ListRestoreJobsInput$ByStatus": "

Returns only restore jobs associated with the specified job status.

", "RestoreJobsListMember$Status": "

A status code specifying the state of the job initiated by AWS Backup to restore a recovery point.

" } }, @@ -1182,7 +1198,7 @@ "DescribeBackupVaultOutput$CreatorRequestId": "

A unique string that identifies the request and allows failed requests to be retried without the risk of executing the operation twice.

", "DescribeCopyJobInput$CopyJobId": "

Uniquely identifies a copy job.

", "DescribeRestoreJobOutput$RestoreJobId": "

Uniquely identifies the job that restores a recovery point.

", - "DescribeRestoreJobOutput$StatusMessage": "

A detailed message explaining the status of a job to restore a recovery point.

", + "DescribeRestoreJobOutput$StatusMessage": "

A message showing the status of a job to restore a recovery point.

", "DescribeRestoreJobOutput$PercentDone": "

Contains an estimated percentage that is complete of a job at the time the job status was queried.

", "ExportBackupPlanTemplateInput$BackupPlanId": "

Uniquely identifies a backup plan.

", "ExportBackupPlanTemplateOutput$BackupPlanTemplateJson": "

The body of a backup plan template in JSON format.

This is a signed JSON document that cannot be modified before being passed to GetBackupPlanFromJSON.

", @@ -1282,14 +1298,14 @@ "BackupVaultListMember$CreationDate": "

The date and time a resource backup is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", "CalculatedLifecycle$MoveToColdStorageAt": "

A timestamp that specifies when to transition a recovery point to cold storage.

", "CalculatedLifecycle$DeleteAt": "

A timestamp that specifies when to delete a recovery point.

", - "CopyJob$CreationDate": "

The date and time a copy job is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", - "CopyJob$CompletionDate": "

The date and time a copy job is completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", + "CopyJob$CreationDate": "

The date and time a copy job is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", + "CopyJob$CompletionDate": "

The date and time a copy job is completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", "CreateBackupPlanOutput$CreationDate": "

The date and time that a backup plan is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", "CreateBackupSelectionOutput$CreationDate": "

The date and time a backup selection is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", "CreateBackupVaultOutput$CreationDate": "

The date and time a backup vault is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", - "DeleteBackupPlanOutput$DeletionDate": "

The date and time a backup plan is deleted, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", + "DeleteBackupPlanOutput$DeletionDate": "

The date and time a backup plan is deleted, in Unix format and Coordinated Universal Time (UTC). The value of DeletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", "DescribeBackupJobOutput$CreationDate": "

The date and time that a backup job is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", - "DescribeBackupJobOutput$CompletionDate": "

The date and time that a job to create a backup job is completed, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", + "DescribeBackupJobOutput$CompletionDate": "

The date and time that a job to create a backup job is completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", "DescribeBackupJobOutput$ExpectedCompletionDate": "

The date and time that a job to back up resources is expected to be completed, in Unix format and Coordinated Universal Time (UTC). The value of ExpectedCompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", "DescribeBackupJobOutput$StartBy": "

Specifies the time in Unix format and Coordinated Universal Time (UTC) when a backup job must be started before it is canceled. The value is calculated by adding the start window to the scheduled time. So if the scheduled time were 6:00 PM and the start window is 2 hours, the StartBy time would be 8:00 PM on the date specified. The value of StartBy is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", "DescribeBackupVaultOutput$CreationDate": "

The date and time that a backup vault is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", @@ -1300,7 +1316,7 @@ "DescribeRestoreJobOutput$CreationDate": "

The date and time that a restore job is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", "DescribeRestoreJobOutput$CompletionDate": "

The date and time that a job to restore a recovery point is completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", "GetBackupPlanOutput$CreationDate": "

The date and time that a backup plan is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", - "GetBackupPlanOutput$DeletionDate": "

The date and time that a backup plan is deleted, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", + "GetBackupPlanOutput$DeletionDate": "

The date and time that a backup plan is deleted, in Unix format and Coordinated Universal Time (UTC). The value of DeletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", "GetBackupPlanOutput$LastExecutionDate": "

The last time a job to back up resources was executed with this backup plan. A date and time, in Unix format and Coordinated Universal Time (UTC). The value of LastExecutionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", "GetBackupSelectionOutput$CreationDate": "

The date and time a backup selection is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", "ListBackupJobsInput$ByCreatedBefore": "

Returns only backup jobs that were created before the specified date.

", @@ -1309,6 +1325,8 @@ "ListCopyJobsInput$ByCreatedAfter": "

Returns only copy jobs that were created after the specified date.

", "ListRecoveryPointsByBackupVaultInput$ByCreatedBefore": "

Returns only recovery points that were created before the specified timestamp.

", "ListRecoveryPointsByBackupVaultInput$ByCreatedAfter": "

Returns only recovery points that were created after the specified timestamp.

", + "ListRestoreJobsInput$ByCreatedBefore": "

Returns only restore jobs that were created before the specified date.

", + "ListRestoreJobsInput$ByCreatedAfter": "

Returns only restore jobs that were created after the specified date.

", "ProtectedResource$LastBackupTime": "

The date and time a resource was last backed up, in Unix format and Coordinated Universal Time (UTC). The value of LastBackupTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", "RecoveryPointByBackupVault$CreationDate": "

The date and time a recovery point is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", "RecoveryPointByBackupVault$CompletionDate": "

The date and time a job to restore a recovery point is completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", diff --git a/models/apis/codecommit/2015-04-13/api-2.json b/models/apis/codecommit/2015-04-13/api-2.json index 64c3aa20d82..03c31dd7818 100644 --- a/models/apis/codecommit/2015-04-13/api-2.json +++ b/models/apis/codecommit/2015-04-13/api-2.json @@ -669,8 +669,31 @@ "output":{"shape":"GetCommentOutput"}, "errors":[ {"shape":"CommentDoesNotExistException"}, + {"shape":"CommentDeletedException"}, {"shape":"CommentIdRequiredException"}, {"shape":"InvalidCommentIdException"}, + {"shape":"EncryptionIntegrityChecksFailedException"}, + {"shape":"EncryptionKeyAccessDeniedException"}, + {"shape":"EncryptionKeyDisabledException"}, + {"shape":"EncryptionKeyNotFoundException"}, + {"shape":"EncryptionKeyUnavailableException"} + ] + }, + "GetCommentReactions":{ + "name":"GetCommentReactions", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetCommentReactionsInput"}, + "output":{"shape":"GetCommentReactionsOutput"}, + "errors":[ + {"shape":"CommentDoesNotExistException"}, + {"shape":"CommentIdRequiredException"}, + {"shape":"InvalidCommentIdException"}, + {"shape":"InvalidReactionUserArnException"}, + {"shape":"InvalidMaxResultsException"}, + {"shape":"InvalidContinuationTokenException"}, {"shape":"CommentDeletedException"} ] }, @@ -1441,15 +1464,16 @@ {"shape":"InvalidFilePositionException"}, {"shape":"CommitIdRequiredException"}, {"shape":"InvalidCommitIdException"}, + {"shape":"BeforeCommitIdAndAfterCommitIdAreSameException"}, {"shape":"EncryptionIntegrityChecksFailedException"}, {"shape":"EncryptionKeyAccessDeniedException"}, {"shape":"EncryptionKeyDisabledException"}, {"shape":"EncryptionKeyNotFoundException"}, {"shape":"EncryptionKeyUnavailableException"}, - {"shape":"BeforeCommitIdAndAfterCommitIdAreSameException"}, {"shape":"CommitDoesNotExistException"}, {"shape":"InvalidPathException"}, - {"shape":"PathDoesNotExistException"} + {"shape":"PathDoesNotExistException"}, + {"shape":"PathRequiredException"} ], "idempotent":true }, @@ -1480,6 +1504,7 @@ {"shape":"InvalidFilePositionException"}, {"shape":"CommitIdRequiredException"}, {"shape":"InvalidCommitIdException"}, + {"shape":"BeforeCommitIdAndAfterCommitIdAreSameException"}, {"shape":"EncryptionIntegrityChecksFailedException"}, {"shape":"EncryptionKeyAccessDeniedException"}, {"shape":"EncryptionKeyDisabledException"}, @@ -1488,8 +1513,7 @@ {"shape":"CommitDoesNotExistException"}, {"shape":"InvalidPathException"}, {"shape":"PathDoesNotExistException"}, - {"shape":"PathRequiredException"}, - {"shape":"BeforeCommitIdAndAfterCommitIdAreSameException"} + {"shape":"PathRequiredException"} ], "idempotent":true }, @@ -1513,6 +1537,23 @@ ], "idempotent":true }, + "PutCommentReaction":{ + "name":"PutCommentReaction", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"PutCommentReactionInput"}, + "errors":[ + {"shape":"CommentDoesNotExistException"}, + {"shape":"CommentIdRequiredException"}, + {"shape":"InvalidCommentIdException"}, + {"shape":"InvalidReactionValueException"}, + {"shape":"ReactionValueRequiredException"}, + {"shape":"ReactionLimitExceededException"}, + {"shape":"CommentDeletedException"} + ] + }, "PutFile":{ "name":"PutFile", "http":{ @@ -2313,6 +2354,10 @@ }, "exception":true }, + "CallerReactions":{ + "type":"list", + "member":{"shape":"ReactionValue"} + }, "CannotDeleteApprovalRuleFromTemplateException":{ "type":"structure", "members":{ @@ -2353,7 +2398,9 @@ "lastModifiedDate":{"shape":"LastModifiedDate"}, "authorArn":{"shape":"Arn"}, "deleted":{"shape":"IsCommentDeleted"}, - "clientRequestToken":{"shape":"ClientRequestToken"} + "clientRequestToken":{"shape":"ClientRequestToken"}, + "callerReactions":{"shape":"CallerReactions"}, + "reactionCounts":{"shape":"ReactionCountsMap"} } }, "CommentContentRequiredException":{ @@ -2555,6 +2602,7 @@ "member":{"shape":"Conflict"} }, "Content":{"type":"string"}, + "Count":{"type":"integer"}, "CreateApprovalRuleTemplateInput":{ "type":"structure", "required":[ @@ -3178,6 +3226,24 @@ "comment":{"shape":"Comment"} } }, + "GetCommentReactionsInput":{ + "type":"structure", + "required":["commentId"], + "members":{ + "commentId":{"shape":"CommentId"}, + "reactionUserArn":{"shape":"Arn"}, + "nextToken":{"shape":"NextToken"}, + "maxResults":{"shape":"MaxResults"} + } + }, + "GetCommentReactionsOutput":{ + "type":"structure", + "required":["reactionsForComment"], + "members":{ + "reactionsForComment":{"shape":"ReactionsForCommentList"}, + "nextToken":{"shape":"NextToken"} + } + }, "GetCommentsForComparedCommitInput":{ "type":"structure", "required":[ @@ -3713,6 +3779,18 @@ }, "exception":true }, + "InvalidReactionUserArnException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "InvalidReactionValueException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, "InvalidReferenceNameException":{ "type":"structure", "members":{ @@ -4641,6 +4719,17 @@ "type":"list", "member":{"shape":"PullRequestTarget"} }, + "PutCommentReactionInput":{ + "type":"structure", + "required":[ + "commentId", + "reactionValue" + ], + "members":{ + "commentId":{"shape":"CommentId"}, + "reactionValue":{"shape":"ReactionValue"} + } + }, "PutFileEntries":{ "type":"list", "member":{"shape":"PutFileEntry"} @@ -4711,6 +4800,51 @@ "configurationId":{"shape":"RepositoryTriggersConfigurationId"} } }, + "ReactionCountsMap":{ + "type":"map", + "key":{"shape":"ReactionValue"}, + "value":{"shape":"Count"} + }, + "ReactionEmoji":{"type":"string"}, + "ReactionForComment":{ + "type":"structure", + "members":{ + "reaction":{"shape":"ReactionValueFormats"}, + "reactionUsers":{"shape":"ReactionUsersList"}, + "reactionsFromDeletedUsersCount":{"shape":"Count"} + } + }, + "ReactionLimitExceededException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "ReactionShortCode":{"type":"string"}, + "ReactionUnicode":{"type":"string"}, + "ReactionUsersList":{ + "type":"list", + "member":{"shape":"Arn"} + }, + "ReactionValue":{"type":"string"}, + "ReactionValueFormats":{ + "type":"structure", + "members":{ + "emoji":{"shape":"ReactionEmoji"}, + "shortCode":{"shape":"ReactionShortCode"}, + "unicode":{"shape":"ReactionUnicode"} + } + }, + "ReactionValueRequiredException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "ReactionsForCommentList":{ + "type":"list", + "member":{"shape":"ReactionForComment"} + }, "ReferenceDoesNotExistException":{ "type":"structure", "members":{ diff --git a/models/apis/codecommit/2015-04-13/docs-2.json b/models/apis/codecommit/2015-04-13/docs-2.json index 04af554911e..ce946945822 100644 --- a/models/apis/codecommit/2015-04-13/docs-2.json +++ b/models/apis/codecommit/2015-04-13/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "AWS CodeCommit

This is the AWS CodeCommit API Reference. This reference provides descriptions of the operations and data types for AWS CodeCommit API along with usage examples.

You can use the AWS CodeCommit API to work with the following objects:

Repositories, by calling the following:

Branches, by calling the following:

Files, by calling the following:

Commits, by calling the following:

Merges, by calling the following:

Pull requests, by calling the following:

Approval rule templates, by calling the following:

Comments in a repository, by calling the following:

Tags used to tag resources in AWS CodeCommit (not Git tags), by calling the following:

Triggers, by calling the following:

For information about how to use AWS CodeCommit, see the AWS CodeCommit User Guide.

", + "service": "AWS CodeCommit

This is the AWS CodeCommit API Reference. This reference provides descriptions of the operations and data types for AWS CodeCommit API along with usage examples.

You can use the AWS CodeCommit API to work with the following objects:

Repositories, by calling the following:

Branches, by calling the following:

Files, by calling the following:

Commits, by calling the following:

Merges, by calling the following:

Pull requests, by calling the following:

Approval rule templates, by calling the following:

Comments in a repository, by calling the following:

Tags used to tag resources in AWS CodeCommit (not Git tags), by calling the following:

Triggers, by calling the following:

For information about how to use AWS CodeCommit, see the AWS CodeCommit User Guide.

", "operations": { "AssociateApprovalRuleTemplateWithRepository": "

Creates an association between an approval rule template and a specified repository. Then, the next time a pull request is created in the repository where the destination reference (if specified) matches the destination reference (branch) for the pull request, an approval rule that matches the template conditions is automatically created for that pull request. If no destination references are specified in the template, an approval rule that matches the template contents is created for all pull requests in that repository.

", "BatchAssociateApprovalRuleTemplateWithRepositories": "

Creates an association between an approval rule template and one or more specified repositories.

", @@ -28,9 +28,10 @@ "GetApprovalRuleTemplate": "

Returns information about a specified approval rule template.

", "GetBlob": "

Returns the base-64 encoded content of an individual blob in a repository.

", "GetBranch": "

Returns information about a repository branch, including its name and the last commit ID.

", - "GetComment": "

Returns the content of a comment made on a change, file, or commit in a repository.

", - "GetCommentsForComparedCommit": "

Returns information about comments made on the comparison between two commits.

", - "GetCommentsForPullRequest": "

Returns comments made on a pull request.

", + "GetComment": "

Returns the content of a comment made on a change, file, or commit in a repository.

Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.

", + "GetCommentReactions": "

Returns information about reactions to a specified comment ID. Reactions from users who have been deleted will not be included in the count.

", + "GetCommentsForComparedCommit": "

Returns information about comments made on the comparison between two commits.

Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.

", + "GetCommentsForPullRequest": "

Returns comments made on a pull request.

Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.

", "GetCommit": "

Returns information about a commit, including commit message and committer information.

", "GetDifferences": "

Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or other fully qualified reference). Results can be limited to a specified path.

", "GetFile": "

Returns the base-64 encoded contents of a specified file and its metadata.

", @@ -60,6 +61,7 @@ "PostCommentForComparedCommit": "

Posts a comment on the comparison between two commits.

", "PostCommentForPullRequest": "

Posts a comment on a pull request.

", "PostCommentReply": "

Posts a comment in reply to an existing comment on a comparison between commits or a pull request.

", + "PutCommentReaction": "

Adds or updates a reaction to a specified comment for the user whose identity is used to make the request. You can only add or update a reaction for yourself. You cannot add, modify, or delete a reaction for another user.

", "PutFile": "

Adds or updates a file in a branch in an AWS CodeCommit repository, and generates a commit for the addition in the specified branch.

", "PutRepositoryTriggers": "

Replaces all triggers for a repository. Used to create or delete triggers.

", "TagResource": "

Adds or updates tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide.

", @@ -121,8 +123,8 @@ "refs": { "ApprovalRule$approvalRuleContent": "

The content of the approval rule.

", "ApprovalRuleEventMetadata$approvalRuleContent": "

The content of the approval rule.

", - "CreatePullRequestApprovalRuleInput$approvalRuleContent": "

The content of the approval rule, including the number of approvals needed and the structure of an approval pool defined for approvals, if any. For more information about approval pools, see the AWS CodeCommit User Guide.

When you create the content of the approval rule, you can specify approvers in an approval pool in one of two ways:

For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers in the IAM User Guide.

", - "UpdatePullRequestApprovalRuleContentInput$newRuleContent": "

The updated content for the approval rule.

When you update the content of the approval rule, you can specify approvers in an approval pool in one of two ways:

For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers in the IAM User Guide.

" + "CreatePullRequestApprovalRuleInput$approvalRuleContent": "

The content of the approval rule, including the number of approvals needed and the structure of an approval pool defined for approvals, if any. For more information about approval pools, see the AWS CodeCommit User Guide.

When you create the content of the approval rule, you can specify approvers in an approval pool in one of two ways:

For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers in the IAM User Guide.

", + "UpdatePullRequestApprovalRuleContentInput$newRuleContent": "

The updated content for the approval rule.

When you update the content of the approval rule, you can specify approvers in an approval pool in one of two ways:

For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers in the IAM User Guide.

" } }, "ApprovalRuleContentRequiredException": { @@ -191,7 +193,7 @@ "base": null, "refs": { "ApprovalRuleTemplate$approvalRuleTemplateContent": "

The content of the approval rule template.

", - "CreateApprovalRuleTemplateInput$approvalRuleTemplateContent": "

The content of the approval rule that is created on pull requests in associated repositories. If you specify one or more destination references (branches), approval rules are created in an associated repository only if their destination references (branches) match those specified in the template.

When you create the content of the approval rule template, you can specify approvers in an approval pool in one of two ways:

For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers in the IAM User Guide.

", + "CreateApprovalRuleTemplateInput$approvalRuleTemplateContent": "

The content of the approval rule that is created on pull requests in associated repositories. If you specify one or more destination references (branches), approval rules are created in an associated repository only if their destination references (branches) match those specified in the template.

When you create the content of the approval rule template, you can specify approvers in an approval pool in one of two ways:

For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers in the IAM User Guide.

", "UpdateApprovalRuleTemplateContentInput$newRuleContent": "

The content that replaces the existing content of the rule. Content statements must be complete. You cannot provide only the changes.

" } }, @@ -314,11 +316,13 @@ "ApprovalRuleTemplate$lastModifiedUser": "

The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule template.

", "Comment$authorArn": "

The Amazon Resource Name (ARN) of the person who posted the comment.

", "DescribePullRequestEventsInput$actorArn": "

The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with more commits or changing the status of a pull request.

", + "GetCommentReactionsInput$reactionUserArn": "

Optional. The Amazon Resource Name (ARN) of the user or identity for which you want to get reaction information.

", "GetPullRequestOverrideStateOutput$overrider": "

The Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.

", "ListPullRequestsInput$authorArn": "

Optional. The Amazon Resource Name (ARN) of the user who created the pull request. If used, this filters the results to pull requests created by that user.

", "MergeMetadata$mergedBy": "

The Amazon Resource Name (ARN) of the user who merged the branches.

", "PullRequest$authorArn": "

The Amazon Resource Name (ARN) of the user who created the pull request.

", "PullRequestEvent$actorArn": "

The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with more commits or changing the status of a pull request.

", + "ReactionUsersList$member": null, "RepositoryMetadata$Arn": "

The Amazon Resource Name (ARN) of the repository.

", "RepositoryTrigger$destinationArn": "

The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS).

" } @@ -484,7 +488,7 @@ } }, "BranchNameExistsException": { - "base": "

The specified branch name already exists.

", + "base": "

Cannot create the branch with the specified name because the commit conflicts with an existing branch with the same name. Branch names must be unique.

", "refs": { } }, @@ -505,6 +509,12 @@ "refs": { } }, + "CallerReactions": { + "base": null, + "refs": { + "Comment$callerReactions": "

The emoji reactions to a comment, if any, submitted by the user whose credentials are associated with the call to the API.

" + } + }, "CannotDeleteApprovalRuleFromTemplateException": { "base": "

The approval rule cannot be deleted from the pull request because it was created by an approval rule template and applied to the pull request automatically.

", "refs": { @@ -598,7 +608,9 @@ "Comment$inReplyTo": "

The ID of the comment for which this comment is a reply, if any.

", "DeleteCommentContentInput$commentId": "

The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

", "GetCommentInput$commentId": "

The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

", + "GetCommentReactionsInput$commentId": "

The ID of the comment for which you want to get reactions information.

", "PostCommentReplyInput$inReplyTo": "

The system-generated ID of the comment to which you want to reply. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

", + "PutCommentReactionInput$commentId": "

The ID of the comment to which you want to add or update a reaction.

", "UpdateCommentInput$commentId": "

The system-generated ID of the comment you want to update. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

" } }, @@ -841,6 +853,13 @@ "UpdateCommentInput$content": "

The updated content to replace the existing content of the comment.

" } }, + "Count": { + "base": null, + "refs": { + "ReactionCountsMap$value": null, + "ReactionForComment$reactionsFromDeletedUsersCount": "

A numerical count of users who reacted with the specified emoji whose identities have been subsequently deleted from IAM. While these IAM users or roles no longer exist, the reactions might still appear in total reaction counts.

" + } + }, "CreateApprovalRuleTemplateInput": { "base": null, "refs": { @@ -1317,6 +1336,16 @@ "refs": { } }, + "GetCommentReactionsInput": { + "base": null, + "refs": { + } + }, + "GetCommentReactionsOutput": { + "base": null, + "refs": { + } + }, "GetCommentsForComparedCommitInput": { "base": null, "refs": { @@ -1653,6 +1682,16 @@ "refs": { } }, + "InvalidReactionUserArnException": { + "base": "

The Amazon Resource Name (ARN) of the user or identity is not valid.

", + "refs": { + } + }, + "InvalidReactionValueException": { + "base": "

The value of the reaction is not valid. For more information, see the AWS CodeCommit User Guide.

", + "refs": { + } + }, "InvalidReferenceNameException": { "base": "

The specified reference name format is not valid. Reference names must conform to the Git references format (for example, refs/heads/master). For more information, see Git Internals - Git References or consult your Git documentation.

", "refs": { @@ -1955,6 +1994,7 @@ "BatchDescribeMergeConflictsInput$maxConflictFiles": "

The maximum number of files to include in the output.

", "DescribeMergeConflictsInput$maxMergeHunks": "

The maximum number of merge hunks to include in the output.

", "DescribePullRequestEventsInput$maxResults": "

A non-zero, non-negative integer used to limit the number of returned results. The default is 100 events, which is also the maximum number of events that can be returned in a result.

", + "GetCommentReactionsInput$maxResults": "

A non-zero, non-negative integer used to limit the number of returned results. The default is the same as the allowed maximum, 1,000.

", "GetCommentsForComparedCommitInput$maxResults": "

A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments, but you can configure up to 500.

", "GetCommentsForPullRequestInput$maxResults": "

A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments. You can return up to 500 comments with a single request.

", "GetMergeConflictsInput$maxConflictFiles": "

The maximum number of files to include in the output.

", @@ -2189,6 +2229,8 @@ "DescribeMergeConflictsOutput$nextToken": "

An enumeration token that can be used in a request to return the next batch of the results.

", "DescribePullRequestEventsInput$nextToken": "

An enumeration token that, when provided in a request, returns the next batch of the results.

", "DescribePullRequestEventsOutput$nextToken": "

An enumeration token that can be used in a request to return the next batch of the results.

", + "GetCommentReactionsInput$nextToken": "

An enumeration token that, when provided in a request, returns the next batch of the results.

", + "GetCommentReactionsOutput$nextToken": "

An enumeration token that can be used in a request to return the next batch of the results.

", "GetCommentsForComparedCommitInput$nextToken": "

An enumeration token that when provided in a request, returns the next batch of the results.

", "GetCommentsForComparedCommitOutput$nextToken": "

An enumeration token that can be used in a request to return the next batch of the results.

", "GetCommentsForPullRequestInput$nextToken": "

An enumeration token that, when provided in a request, returns the next batch of the results.

", @@ -2602,6 +2644,11 @@ "PullRequest$pullRequestTargets": "

The targets of the pull request, including the source branch and destination branch for the pull request.

" } }, + "PutCommentReactionInput": { + "base": null, + "refs": { + } + }, "PutFileEntries": { "base": null, "refs": { @@ -2639,6 +2686,72 @@ "refs": { } }, + "ReactionCountsMap": { + "base": null, + "refs": { + "Comment$reactionCounts": "

A string to integer map that represents the number of individual users who have responded to a comment with the specified reactions.

" + } + }, + "ReactionEmoji": { + "base": null, + "refs": { + "ReactionValueFormats$emoji": "

The Emoji Version 1.0 graphic of the reaction. These graphics are interpreted slightly differently on different operating systems.

" + } + }, + "ReactionForComment": { + "base": "

Information about the reaction values provided by users on a comment.

", + "refs": { + "ReactionsForCommentList$member": null + } + }, + "ReactionLimitExceededException": { + "base": "

The number of reactions has been exceeded. Reactions are limited to one reaction per user for each individual comment ID.

", + "refs": { + } + }, + "ReactionShortCode": { + "base": null, + "refs": { + "ReactionValueFormats$shortCode": "

The emoji short code for the reaction. Short codes are interpreted slightly differently on different operating systems.

" + } + }, + "ReactionUnicode": { + "base": null, + "refs": { + "ReactionValueFormats$unicode": "

The Unicode codepoint for the reaction.

" + } + }, + "ReactionUsersList": { + "base": null, + "refs": { + "ReactionForComment$reactionUsers": "

The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.

" + } + }, + "ReactionValue": { + "base": null, + "refs": { + "CallerReactions$member": null, + "PutCommentReactionInput$reactionValue": "

The emoji reaction you want to add or update. To remove a reaction, provide a value of blank or null. You can also provide the value of none. For information about emoji reaction values supported in AWS CodeCommit, see the AWS CodeCommit User Guide.

", + "ReactionCountsMap$key": null + } + }, + "ReactionValueFormats": { + "base": "

Information about the values for reactions to a comment. AWS CodeCommit supports a limited set of reactions.

", + "refs": { + "ReactionForComment$reaction": "

The reaction for a specified comment.

" + } + }, + "ReactionValueRequiredException": { + "base": "

A reaction value is required.

", + "refs": { + } + }, + "ReactionsForCommentList": { + "base": null, + "refs": { + "GetCommentReactionsOutput$reactionsForComment": "

An array of reactions to the specified comment.

" + } + }, "ReferenceDoesNotExistException": { "base": "

The specified reference does not exist. You must provide a full commit ID.

", "refs": { diff --git a/models/apis/codecommit/2015-04-13/paginators-1.json b/models/apis/codecommit/2015-04-13/paginators-1.json index 5fcda36b895..ab4bae4cd48 100644 --- a/models/apis/codecommit/2015-04-13/paginators-1.json +++ b/models/apis/codecommit/2015-04-13/paginators-1.json @@ -10,6 +10,11 @@ "limit_key": "maxResults", "output_token": "nextToken" }, + "GetCommentReactions": { + "input_token": "nextToken", + "limit_key": "maxResults", + "output_token": "nextToken" + }, "GetCommentsForComparedCommit": { "input_token": "nextToken", "limit_key": "maxResults", diff --git a/models/apis/elasticmapreduce/2009-03-31/api-2.json b/models/apis/elasticmapreduce/2009-03-31/api-2.json index faf1668cca9..813fdb4ebad 100644 --- a/models/apis/elasticmapreduce/2009-03-31/api-2.json +++ b/models/apis/elasticmapreduce/2009-03-31/api-2.json @@ -1124,9 +1124,9 @@ }, "InstanceFleetProvisioningSpecifications":{ "type":"structure", - "required":["SpotSpecification"], "members":{ - "SpotSpecification":{"shape":"SpotProvisioningSpecification"} + "SpotSpecification":{"shape":"SpotProvisioningSpecification"}, + "OnDemandSpecification":{"shape":"OnDemandProvisioningSpecification"} } }, "InstanceFleetState":{ @@ -1780,6 +1780,17 @@ "type":"double", "min":0.0 }, + "OnDemandProvisioningAllocationStrategy":{ + "type":"string", + "enum":["lowest-price"] + }, + "OnDemandProvisioningSpecification":{ + "type":"structure", + "required":["AllocationStrategy"], + "members":{ + "AllocationStrategy":{"shape":"OnDemandProvisioningAllocationStrategy"} + } + }, "OptionalArnType":{ "type":"string", "max":2048, @@ -2065,6 +2076,10 @@ "CoolDown":{"shape":"Integer"} } }, + "SpotProvisioningAllocationStrategy":{ + "type":"string", + "enum":["capacity-optimized"] + }, "SpotProvisioningSpecification":{ "type":"structure", "required":[ @@ -2074,7 +2089,8 @@ "members":{ "TimeoutDurationMinutes":{"shape":"WholeNumber"}, "TimeoutAction":{"shape":"SpotProvisioningTimeoutAction"}, - "BlockDurationMinutes":{"shape":"WholeNumber"} + "BlockDurationMinutes":{"shape":"WholeNumber"}, + "AllocationStrategy":{"shape":"SpotProvisioningAllocationStrategy"} } }, "SpotProvisioningTimeoutAction":{ diff --git a/models/apis/elasticmapreduce/2009-03-31/docs-2.json b/models/apis/elasticmapreduce/2009-03-31/docs-2.json index 4fcea44c272..5548eeb76d1 100644 --- a/models/apis/elasticmapreduce/2009-03-31/docs-2.json +++ b/models/apis/elasticmapreduce/2009-03-31/docs-2.json @@ -647,7 +647,7 @@ } }, "InstanceFleetProvisioningSpecifications": { - "base": "

The launch specification for Spot instances in the fleet, which determines the defined duration and provisioning timeout behavior.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

", + "base": "

The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. On-Demand and Spot instance allocation strategies are available in Amazon EMR version 5.12.1 and later.

", "refs": { "InstanceFleet$LaunchSpecifications": "

Describes the launch specification for an instance fleet.

", "InstanceFleetConfig$LaunchSpecifications": "

The launch specification for the instance fleet.

" @@ -1178,6 +1178,18 @@ "InstanceTypeSpecification$BidPriceAsPercentageOfOnDemandPrice": "

The bid price, as a percentage of On-Demand price, for each EC2 Spot instance as defined by InstanceType. Expressed as a number (for example, 20 specifies 20%).

" } }, + "OnDemandProvisioningAllocationStrategy": { + "base": null, + "refs": { + "OnDemandProvisioningSpecification$AllocationStrategy": "

Specifies the strategy to use in launching On-Demand instance fleets. Currently, the only option is lowest-price (the default), which launches the lowest price first.

" + } + }, + "OnDemandProvisioningSpecification": { + "base": "

The launch specification for On-Demand instances in the instance fleet, which determines the allocation strategy.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. On-Demand instances allocation strategy is available in Amazon EMR version 5.12.1 and later.

", + "refs": { + "InstanceFleetProvisioningSpecifications$OnDemandSpecification": "

The launch specification for On-Demand instances in the instance fleet, which determines the allocation strategy.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. On-Demand instances allocation strategy is available in Amazon EMR version 5.12.1 and later.

" + } + }, "OptionalArnType": { "base": null, "refs": { @@ -1383,10 +1395,16 @@ "ScalingAction$SimpleScalingPolicyConfiguration": "

The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.

" } }, + "SpotProvisioningAllocationStrategy": { + "base": null, + "refs": { + "SpotProvisioningSpecification$AllocationStrategy": "

Specifies the strategy to use in launching Spot instance fleets. Currently, the only option is capacity-optimized (the default), which launches instances from Spot instance pools with optimal capacity for the number of instances that are launching.

" + } + }, "SpotProvisioningSpecification": { - "base": "

The launch specification for Spot instances in the instance fleet, which determines the defined duration and provisioning timeout behavior.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

", + "base": "

The launch specification for Spot instances in the instance fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. Spot instance allocation strategy is available in Amazon EMR version 5.12.1 and later.

", "refs": { - "InstanceFleetProvisioningSpecifications$SpotSpecification": "

The launch specification for Spot instances in the fleet, which determines the defined duration and provisioning timeout behavior.

" + "InstanceFleetProvisioningSpecifications$SpotSpecification": "

The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.

" } }, "SpotProvisioningTimeoutAction": { diff --git a/models/apis/fsx/2018-03-01/api-2.json b/models/apis/fsx/2018-03-01/api-2.json index f72bcc89aa0..cb8858db566 100644 --- a/models/apis/fsx/2018-03-01/api-2.json +++ b/models/apis/fsx/2018-03-01/api-2.json @@ -102,6 +102,7 @@ {"shape":"ActiveDirectoryError"}, {"shape":"IncompatibleParameterError"}, {"shape":"InvalidNetworkSettings"}, + {"shape":"InvalidPerUnitStorageThroughput"}, {"shape":"ServiceLimitExceeded"}, {"shape":"BackupNotFound"}, {"shape":"InternalServerError"}, @@ -293,7 +294,7 @@ "type":"string", "max":255, "min":1, - "pattern":"^.{1,255}$" + "pattern":"^[^\\u0000\\u0085\\u2028\\u2029\\r\\n]{1,255}$" }, "AdministrativeAction":{ "type":"structure", @@ -328,7 +329,7 @@ "type":"string", "max":900, "min":3, - "pattern":"^.{3,900}$" + "pattern":"^[^\\u0000\\u0085\\u2028\\u2029\\r\\n]{3,4357}$" }, "AutomaticBackupRetentionDays":{ "type":"integer", @@ -514,6 +515,7 @@ "SecurityGroupIds":{"shape":"SecurityGroupIds"}, "Tags":{"shape":"Tags"}, "WindowsConfiguration":{"shape":"CreateFileSystemWindowsConfiguration"}, + "LustreConfiguration":{"shape":"CreateFileSystemLustreConfiguration"}, "StorageType":{"shape":"StorageType"} } }, @@ -531,7 +533,10 @@ "ExportPath":{"shape":"ArchivePath"}, "ImportedFileChunkSize":{"shape":"Megabytes"}, "DeploymentType":{"shape":"LustreDeploymentType"}, - "PerUnitStorageThroughput":{"shape":"PerUnitStorageThroughput"} + "PerUnitStorageThroughput":{"shape":"PerUnitStorageThroughput"}, + "DailyAutomaticBackupStartTime":{"shape":"DailyTime"}, + "AutomaticBackupRetentionDays":{"shape":"AutomaticBackupRetentionDays"}, + "CopyTagsToBackups":{"shape":"Flag"} } }, "CreateFileSystemRequest":{ @@ -696,7 +701,7 @@ "type":"string", "max":4096, "min":0, - "pattern":"^.{0,4096}$" + "pattern":"^[^\\u0000\\u0085\\u2028\\u2029\\r\\n]{0,4096}$" }, "DataRepositoryTaskPaths":{ "type":"list", @@ -739,6 +744,20 @@ "Lifecycle":{"shape":"BackupLifecycle"} } }, + "DeleteFileSystemLustreConfiguration":{ + "type":"structure", + "members":{ + "SkipFinalBackup":{"shape":"Flag"}, + "FinalBackupTags":{"shape":"Tags"} + } + }, + "DeleteFileSystemLustreResponse":{ + "type":"structure", + "members":{ + "FinalBackupId":{"shape":"BackupId"}, + "FinalBackupTags":{"shape":"Tags"} + } + }, "DeleteFileSystemRequest":{ "type":"structure", "required":["FileSystemId"], @@ -748,7 +767,8 @@ "shape":"ClientRequestToken", "idempotencyToken":true }, - "WindowsConfiguration":{"shape":"DeleteFileSystemWindowsConfiguration"} + "WindowsConfiguration":{"shape":"DeleteFileSystemWindowsConfiguration"}, + "LustreConfiguration":{"shape":"DeleteFileSystemLustreConfiguration"} } }, "DeleteFileSystemResponse":{ @@ -756,7 +776,8 @@ "members":{ "FileSystemId":{"shape":"FileSystemId"}, "Lifecycle":{"shape":"FileSystemLifecycle"}, - "WindowsResponse":{"shape":"DeleteFileSystemWindowsResponse"} + "WindowsResponse":{"shape":"DeleteFileSystemWindowsResponse"}, + "LustreResponse":{"shape":"DeleteFileSystemLustreResponse"} } }, "DeleteFileSystemWindowsConfiguration":{ @@ -837,7 +858,7 @@ "type":"string", "max":256, "min":1, - "pattern":"^.{1,256}$" + "pattern":"^[^\\u0000\\u0085\\u2028\\u2029\\r\\n]{1,256}$" }, "DnsIps":{ "type":"list", @@ -879,7 +900,7 @@ "type":"string", "max":256, "min":1, - "pattern":"^.{1,256}$" + "pattern":"^[^\\u0000\\u0085\\u2028\\u2029\\r\\n]{1,256}$" }, "FileSystemFailureDetails":{ "type":"structure", @@ -951,7 +972,8 @@ "type":"string", "enum":[ "file-system-id", - "backup-type" + "backup-type", + "file-system-type" ] }, "FilterValue":{ @@ -1062,7 +1084,10 @@ "DataRepositoryConfiguration":{"shape":"DataRepositoryConfiguration"}, "DeploymentType":{"shape":"LustreDeploymentType"}, "PerUnitStorageThroughput":{"shape":"PerUnitStorageThroughput"}, - "MountName":{"shape":"LustreFileSystemMountName"} + "MountName":{"shape":"LustreFileSystemMountName"}, + "DailyAutomaticBackupStartTime":{"shape":"DailyTime"}, + "AutomaticBackupRetentionDays":{"shape":"AutomaticBackupRetentionDays"}, + "CopyTagsToBackups":{"shape":"Flag"} } }, "LustreFileSystemMountName":{ @@ -1123,7 +1148,7 @@ "type":"string", "max":2000, "min":1, - "pattern":"^.{1,2000}$" + "pattern":"^[^\\u0000\\u0085\\u2028\\u2029\\r\\n]{1,2000}$" }, "Parameter":{ "type":"string", @@ -1356,7 +1381,9 @@ "UpdateFileSystemLustreConfiguration":{ "type":"structure", "members":{ - "WeeklyMaintenanceStartTime":{"shape":"WeeklyTime"} + "WeeklyMaintenanceStartTime":{"shape":"WeeklyTime"}, + "DailyAutomaticBackupStartTime":{"shape":"DailyTime"}, + "AutomaticBackupRetentionDays":{"shape":"AutomaticBackupRetentionDays"} } }, "UpdateFileSystemRequest":{ diff --git a/models/apis/fsx/2018-03-01/docs-2.json b/models/apis/fsx/2018-03-01/docs-2.json index 62765250cd9..d3c781b58cd 100644 --- a/models/apis/fsx/2018-03-01/docs-2.json +++ b/models/apis/fsx/2018-03-01/docs-2.json @@ -3,13 +3,13 @@ "service": "

Amazon FSx is a fully managed service that makes it easy for storage and application administrators to launch and use shared file storage.

", "operations": { "CancelDataRepositoryTask": "

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.

", - "CreateBackup": "

Creates a backup of an existing Amazon FSx for Windows File Server file system. Creating regular backups for your file system is a best practice that complements the replication that Amazon FSx for Windows File Server performs for your file system. It also enables you to restore from user modification of data.

If a backup with the specified client request token exists, and the parameters match, this operation returns the description of the existing backup. If a backup specified client request token exists, and the parameters don't match, this operation returns IncompatibleParameterError. If a backup with the specified client request token doesn't exist, CreateBackup does the following:

By using the idempotent operation, you can retry a CreateBackup operation without the risk of creating an extra backup. This approach can be useful when an initial call fails in a way that makes it unclear whether a backup was created. If you use the same client request token and the initial call created a backup, the operation returns a successful result because all the parameters are the same.

The CreateFileSystem operation returns while the backup's lifecycle state is still CREATING. You can check the file system creation status by calling the DescribeBackups operation, which returns the backup state along with other information.

", + "CreateBackup": "

Creates a backup of an existing Amazon FSx file system. Creating regular backups for your file system is a best practice, enabling you to restore a file system from a backup if an issue arises with the original file system.

For Amazon FSx for Lustre file systems, you can create a backup only for file systems with the following configuration:

For more information, see https://docs.aws.amazon.com/fsx/latest/LustreGuide/lustre-backups.html.

If a backup with the specified client request token exists, and the parameters match, this operation returns the description of the existing backup. If a backup specified client request token exists, and the parameters don't match, this operation returns IncompatibleParameterError. If a backup with the specified client request token doesn't exist, CreateBackup does the following:

By using the idempotent operation, you can retry a CreateBackup operation without the risk of creating an extra backup. This approach can be useful when an initial call fails in a way that makes it unclear whether a backup was created. If you use the same client request token and the initial call created a backup, the operation returns a successful result because all the parameters are the same.

The CreateBackup operation returns while the backup's lifecycle state is still CREATING. You can check the backup creation status by calling the DescribeBackups operation, which returns the backup state along with other information.

", "CreateDataRepositoryTask": "

Creates an Amazon FSx for Lustre data repository task. You use data repository tasks to perform bulk operations between your Amazon FSx file system and its linked data repository. An example of a data repository task is exporting any data and metadata changes, including POSIX metadata, to files, directories, and symbolic links (symlinks) from your FSx file system to its linked data repository. A CreateDataRepositoryTask operation will fail if a data repository is not linked to the FSx file system. To learn more about data repository tasks, see Using Data Repository Tasks. To learn more about linking a data repository to your file system, see Setting the Export Prefix.

", "CreateFileSystem": "

Creates a new, empty Amazon FSx file system.

If a file system with the specified client request token exists and the parameters match, CreateFileSystem returns the description of the existing file system. If a file system specified client request token exists and the parameters don't match, this call returns IncompatibleParameterError. If a file system with the specified client request token doesn't exist, CreateFileSystem does the following:

This operation requires a client request token in the request that Amazon FSx uses to ensure idempotent creation. This means that calling the operation multiple times with the same client request token has no effect. By using the idempotent operation, you can retry a CreateFileSystem operation without the risk of creating an extra file system. This approach can be useful when an initial call fails in a way that makes it unclear whether a file system was created. Examples are if a transport level timeout occurred, or your connection was reset. If you use the same client request token and the initial call created a file system, the client receives success as long as the parameters are the same.

The CreateFileSystem call returns while the file system's lifecycle state is still CREATING. You can check the file-system creation status by calling the DescribeFileSystems operation, which returns the file system state along with other information.

", - "CreateFileSystemFromBackup": "

Creates a new Amazon FSx file system from an existing Amazon FSx for Windows File Server backup.

If a file system with the specified client request token exists and the parameters match, this operation returns the description of the file system. If a client request token specified by the file system exists and the parameters don't match, this call returns IncompatibleParameterError. If a file system with the specified client request token doesn't exist, this operation does the following:

Parameters like Active Directory, default share name, automatic backup, and backup settings default to the parameters of the file system that was backed up, unless overridden. You can explicitly supply other settings.

By using the idempotent operation, you can retry a CreateFileSystemFromBackup call without the risk of creating an extra file system. This approach can be useful when an initial call fails in a way that makes it unclear whether a file system was created. Examples are if a transport level timeout occurred, or your connection was reset. If you use the same client request token and the initial call created a file system, the client receives success as long as the parameters are the same.

The CreateFileSystemFromBackup call returns while the file system's lifecycle state is still CREATING. You can check the file-system creation status by calling the DescribeFileSystems operation, which returns the file system state along with other information.

", - "DeleteBackup": "

Deletes an Amazon FSx for Windows File Server backup, deleting its contents. After deletion, the backup no longer exists, and its data is gone.

The DeleteBackup call returns instantly. The backup will not show up in later DescribeBackups calls.

The data in a deleted backup is also deleted and can't be recovered by any means.

", + "CreateFileSystemFromBackup": "

Creates a new Amazon FSx file system from an existing Amazon FSx backup.

If a file system with the specified client request token exists and the parameters match, this operation returns the description of the file system. If a client request token specified by the file system exists and the parameters don't match, this call returns IncompatibleParameterError. If a file system with the specified client request token doesn't exist, this operation does the following:

Parameters like Active Directory, default share name, automatic backup, and backup settings default to the parameters of the file system that was backed up, unless overridden. You can explicitly supply other settings.

By using the idempotent operation, you can retry a CreateFileSystemFromBackup call without the risk of creating an extra file system. This approach can be useful when an initial call fails in a way that makes it unclear whether a file system was created. Examples are if a transport level timeout occurred, or your connection was reset. If you use the same client request token and the initial call created a file system, the client receives success as long as the parameters are the same.

The CreateFileSystemFromBackup call returns while the file system's lifecycle state is still CREATING. You can check the file-system creation status by calling the DescribeFileSystems operation, which returns the file system state along with other information.

", + "DeleteBackup": "

Deletes an Amazon FSx backup, deleting its contents. After deletion, the backup no longer exists, and its data is gone.

The DeleteBackup call returns instantly. The backup will not show up in later DescribeBackups calls.

The data in a deleted backup is also deleted and can't be recovered by any means.

", "DeleteFileSystem": "

Deletes a file system, deleting its contents. After deletion, the file system no longer exists, and its data is gone. Any existing automatic backups will also be deleted.

By default, when you delete an Amazon FSx for Windows File Server file system, a final backup is created upon deletion. This final backup is not subject to the file system's retention policy, and must be manually deleted.

The DeleteFileSystem action returns while the file system has the DELETING status. You can check the file system deletion status by calling the DescribeFileSystems action, which returns a list of file systems in your account. If you pass the file system ID for a deleted file system, the DescribeFileSystems returns a FileSystemNotFound error.

Deleting an Amazon FSx for Lustre file system will fail with a 400 BadRequest if a data repository task is in a PENDING or EXECUTING state.

The data in a deleted file system is also deleted and can't be recovered by any means.

", - "DescribeBackups": "

Returns the description of specific Amazon FSx for Windows File Server backups, if a BackupIds value is provided for that backup. Otherwise, it returns all backups owned by your AWS account in the AWS Region of the endpoint that you're calling.

When retrieving all backups, you can optionally specify the MaxResults parameter to limit the number of backups in a response. If more backups remain, Amazon FSx returns a NextToken value in the response. In this case, send a later request with the NextToken request parameter set to the value of NextToken from the last response.

This action is used in an iterative process to retrieve a list of your backups. DescribeBackups is called first without a NextTokenvalue. Then the action continues to be called with the NextToken parameter set to the value of the last NextToken value until a response has no NextToken.

When using this action, keep the following in mind:

", + "DescribeBackups": "

Returns the description of specific Amazon FSx backups, if a BackupIds value is provided for that backup. Otherwise, it returns all backups owned by your AWS account in the AWS Region of the endpoint that you're calling.

When retrieving all backups, you can optionally specify the MaxResults parameter to limit the number of backups in a response. If more backups remain, Amazon FSx returns a NextToken value in the response. In this case, send a later request with the NextToken request parameter set to the value of NextToken from the last response.

This action is used in an iterative process to retrieve a list of your backups. DescribeBackups is called first without a NextTokenvalue. Then the action continues to be called with the NextToken parameter set to the value of the last NextToken value until a response has no NextToken.

When using this action, keep the following in mind:

", "DescribeDataRepositoryTasks": "

Returns the description of specific Amazon FSx for Lustre data repository tasks, if one or more TaskIds values are provided in the request, or if filters are used in the request. You can use filters to narrow the response to include just tasks for specific file systems, or tasks in a specific lifecycle state. Otherwise, it returns all data repository tasks owned by your AWS account in the AWS Region of the endpoint that you're calling.

When retrieving all tasks, you can paginate the response by using the optional MaxResults parameter to limit the number of tasks returned in a response. If more tasks remain, Amazon FSx returns a NextToken value in the response. In this case, send a later request with the NextToken request parameter set to the value of NextToken from the last response.

", "DescribeFileSystems": "

Returns the description of specific Amazon FSx file systems, if a FileSystemIds value is provided for that file system. Otherwise, it returns descriptions of all file systems owned by your AWS account in the AWS Region of the endpoint that you're calling.

When retrieving all file system descriptions, you can optionally specify the MaxResults parameter to limit the number of descriptions in a response. If more file system descriptions remain, Amazon FSx returns a NextToken value in the response. In this case, send a later request with the NextToken request parameter set to the value of NextToken from the last response.

This action is used in an iterative process to retrieve a list of your file system descriptions. DescribeFileSystems is called first without a NextTokenvalue. Then the action continues to be called with the NextToken parameter set to the value of the last NextToken value until a response has no NextToken.

When using this action, keep the following in mind:

", "ListTagsForResource": "

Lists tags for an Amazon FSx file systems and backups in the case of Amazon FSx for Windows File Server.

When retrieving all tags, you can optionally specify the MaxResults parameter to limit the number of tags in a response. If more tags remain, Amazon FSx returns a NextToken value in the response. In this case, send a later request with the NextToken request parameter set to the value of NextToken from the last response.

This action is used in an iterative process to retrieve a list of your tags. ListTagsForResource is called first without a NextTokenvalue. Then the action continues to be called with the NextToken parameter set to the value of the last NextToken value until a response has no NextToken.

When using this action, keep the following in mind:

", @@ -84,15 +84,18 @@ } }, "AutomaticBackupRetentionDays": { - "base": "

The number of days to retain automatic backups. Setting this to 0 disables automatic backups. You can retain automatic backups for a maximum of 35 days.

", + "base": "

The number of days to retain automatic backups. Setting this to 0 disables automatic backups. You can retain automatic backups for a maximum of 35 days. The default is 0.

", "refs": { + "CreateFileSystemLustreConfiguration$AutomaticBackupRetentionDays": null, "CreateFileSystemWindowsConfiguration$AutomaticBackupRetentionDays": "

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 35 days.

", + "LustreFileSystemConfiguration$AutomaticBackupRetentionDays": null, + "UpdateFileSystemLustreConfiguration$AutomaticBackupRetentionDays": null, "UpdateFileSystemWindowsConfiguration$AutomaticBackupRetentionDays": "

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 35 days. For more information, see Working with Automatic Daily Backups.

", "WindowsFileSystemConfiguration$AutomaticBackupRetentionDays": "

The number of days to retain automatic backups. Setting this to 0 disables automatic backups. You can retain automatic backups for a maximum of 35 days.

" } }, "Backup": { - "base": "

A backup of an Amazon FSx for Windows File Server file system. You can create a new file system from a backup to protect against data loss.

", + "base": "

A backup of an Amazon FSx for file system.

", "refs": { "Backups$member": null, "CreateBackupResponse$Backup": "

A description of the backup.

" @@ -112,13 +115,14 @@ "CreateFileSystemFromBackupRequest$BackupId": null, "DeleteBackupRequest$BackupId": "

The ID of the backup you want to delete.

", "DeleteBackupResponse$BackupId": "

The ID of the backup deleted.

", + "DeleteFileSystemLustreResponse$FinalBackupId": "

The ID of the final backup for this file system.

", "DeleteFileSystemWindowsResponse$FinalBackupId": "

The ID of the final backup for this file system.

" } }, "BackupIds": { "base": "

A list of backup IDs.

", "refs": { - "DescribeBackupsRequest$BackupIds": "

(Optional) IDs of the backups you want to retrieve (String). This overrides any filters. If any IDs are not found, BackupNotFound will be thrown.

" + "DescribeBackupsRequest$BackupIds": "

IDs of the backups you want to retrieve (String). This overrides any filters. If any IDs are not found, BackupNotFound will be thrown.

" } }, "BackupInProgress": { @@ -173,12 +177,12 @@ "ClientRequestToken": { "base": "

(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.

", "refs": { - "CreateBackupRequest$ClientRequestToken": "

(Optional) 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.

", + "CreateBackupRequest$ClientRequestToken": "

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.

", "CreateDataRepositoryTaskRequest$ClientRequestToken": null, - "CreateFileSystemFromBackupRequest$ClientRequestToken": "

(Optional) 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.

", - "CreateFileSystemRequest$ClientRequestToken": "

(Optional) 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.

", - "DeleteBackupRequest$ClientRequestToken": "

(Optional) 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.

", - "DeleteFileSystemRequest$ClientRequestToken": "

(Optional) 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.

", + "CreateFileSystemFromBackupRequest$ClientRequestToken": "

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.

", + "CreateFileSystemRequest$ClientRequestToken": "

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.

", + "DeleteBackupRequest$ClientRequestToken": "

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.

", + "DeleteFileSystemRequest$ClientRequestToken": "

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.

", "UpdateFileSystemRequest$ClientRequestToken": "

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 Command Line Interface (AWS CLI) or an AWS SDK.

" } }, @@ -222,6 +226,7 @@ "CreateFileSystemLustreConfiguration": { "base": "

The Lustre configuration for the file system being created.

", "refs": { + "CreateFileSystemFromBackupRequest$LustreConfiguration": null, "CreateFileSystemRequest$LustreConfiguration": null } }, @@ -260,7 +265,10 @@ "DailyTime": { "base": "

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.

", "refs": { + "CreateFileSystemLustreConfiguration$DailyAutomaticBackupStartTime": null, "CreateFileSystemWindowsConfiguration$DailyAutomaticBackupStartTime": "

The preferred time to take daily automatic backups, formatted HH:MM in the UTC time zone.

", + "LustreFileSystemConfiguration$DailyAutomaticBackupStartTime": null, + "UpdateFileSystemLustreConfiguration$DailyAutomaticBackupStartTime": null, "UpdateFileSystemWindowsConfiguration$DailyAutomaticBackupStartTime": "

The preferred time to start the daily automatic backup, in the UTC time zone, for example, 02:00

", "WindowsFileSystemConfiguration$DailyAutomaticBackupStartTime": "

The preferred time to take daily automatic backups, in the UTC time zone.

" } @@ -378,6 +386,18 @@ "refs": { } }, + "DeleteFileSystemLustreConfiguration": { + "base": "

The configuration object for the Amazon FSx for Lustre file system being deleted in the DeleteFileSystem operation.

", + "refs": { + "DeleteFileSystemRequest$LustreConfiguration": null + } + }, + "DeleteFileSystemLustreResponse": { + "base": "

The response object for the Amazon FSx for Lustre file system being deleted in the DeleteFileSystem operation.

", + "refs": { + "DeleteFileSystemResponse$LustreResponse": null + } + }, "DeleteFileSystemRequest": { "base": "

The request object for DeleteFileSystem operation.

", "refs": { @@ -545,7 +565,7 @@ "FileSystemIds": { "base": "

A list of FileSystemIds.

", "refs": { - "DescribeFileSystemsRequest$FileSystemIds": "

(Optional) IDs of the file systems whose descriptions you want to retrieve (String).

" + "DescribeFileSystemsRequest$FileSystemIds": "

IDs of the file systems whose descriptions you want to retrieve (String).

" } }, "FileSystemLifecycle": { @@ -612,15 +632,18 @@ "Filters": { "base": "

A list of Filter elements.

", "refs": { - "DescribeBackupsRequest$Filters": "

(Optional) Filters structure. Supported names are file-system-id and backup-type.

" + "DescribeBackupsRequest$Filters": "

Filters structure. Supported names are file-system-id and backup-type.

" } }, "Flag": { "base": null, "refs": { "CompletionReport$Enabled": "

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.

", + "CreateFileSystemLustreConfiguration$CopyTagsToBackups": "

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 system are copied to all automatic and user-initiated backups where the user doesn't specify 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.

", "CreateFileSystemWindowsConfiguration$CopyTagsToBackups": "

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 system are copied to all automatic and user-initiated backups where the user doesn't specify 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.

", + "DeleteFileSystemLustreConfiguration$SkipFinalBackup": "

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)

", "DeleteFileSystemWindowsConfiguration$SkipFinalBackup": "

By default, Amazon FSx for Windows takes a final backup on your behalf when the DeleteFileSystem operation is invoked. Doing this helps protect you from data loss, and we highly recommend taking the final backup. If you want to skip this backup, use this flag to do so.

", + "LustreFileSystemConfiguration$CopyTagsToBackups": "

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)

", "WindowsFileSystemConfiguration$CopyTagsToBackups": "

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.

" } }, @@ -688,8 +711,8 @@ "LustreDeploymentType": { "base": null, "refs": { - "CreateFileSystemLustreConfiguration$DeploymentType": "

(Optional) 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.

", - "LustreFileSystemConfiguration$DeploymentType": "

The deployment type of the FSX for Lustre file system.

" + "CreateFileSystemLustreConfiguration$DeploymentType": "

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.

This option can only be set for for PERSISTENT_1 deployments types.

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.

", + "LustreFileSystemConfiguration$DeploymentType": "

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)

" } }, "LustreFileSystemConfiguration": { @@ -707,10 +730,10 @@ "MaxResults": { "base": "

The maximum number of resources to return in the response. This value must be an integer greater than zero.

", "refs": { - "DescribeBackupsRequest$MaxResults": "

(Optional) 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 the minimum of the MaxResults parameter specified in the request and the service's internal maximum number of items per page.

", + "DescribeBackupsRequest$MaxResults": "

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 the minimum of the MaxResults parameter specified in the request and the service's internal maximum number of items per page.

", "DescribeDataRepositoryTasksRequest$MaxResults": null, - "DescribeFileSystemsRequest$MaxResults": "

(Optional) Maximum number of file systems 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.

", - "ListTagsForResourceRequest$MaxResults": "

(Optional) 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 the minimum of the MaxResults parameter specified in the request and the service's internal maximum number of items per page.

" + "DescribeFileSystemsRequest$MaxResults": "

Maximum number of file systems 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.

", + "ListTagsForResourceRequest$MaxResults": "

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 the minimum of the MaxResults parameter specified in the request and the service's internal maximum number of items per page.

" } }, "Megabytes": { @@ -748,13 +771,13 @@ "NextToken": { "base": "

(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.

", "refs": { - "DescribeBackupsRequest$NextToken": "

(Optional) Opaque pagination token returned from a previous DescribeBackups operation (String). If a token present, the action continues the list from where the returning call left off.

", + "DescribeBackupsRequest$NextToken": "

Opaque pagination token returned from a previous DescribeBackups operation (String). If a token present, the action continues the list from where the returning call left off.

", "DescribeBackupsResponse$NextToken": "

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.

", "DescribeDataRepositoryTasksRequest$NextToken": null, "DescribeDataRepositoryTasksResponse$NextToken": null, - "DescribeFileSystemsRequest$NextToken": "

(Optional) 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.

", + "DescribeFileSystemsRequest$NextToken": "

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.

", "DescribeFileSystemsResponse$NextToken": "

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.

", - "ListTagsForResourceRequest$NextToken": "

(Optional) Opaque pagination token returned from a previous ListTagsForResource operation (String). If a token present, the action continues the list from where the returning call left off.

", + "ListTagsForResourceRequest$NextToken": "

Opaque pagination token returned from a previous ListTagsForResource operation (String). If a token present, the action continues the list from where the returning call left off.

", "ListTagsForResourceResponse$NextToken": "

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.

" } }, @@ -965,11 +988,13 @@ "base": "

A list of Tag values, with a maximum of 50 elements.

", "refs": { "Backup$Tags": "

Tags associated with a particular file system.

", - "CreateBackupRequest$Tags": "

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.

", + "CreateBackupRequest$Tags": "

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 tags on the file system are copied from the file system to the backup.

", "CreateDataRepositoryTaskRequest$Tags": null, "CreateFileSystemFromBackupRequest$Tags": "

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.

", "CreateFileSystemRequest$Tags": "

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.

", "DataRepositoryTask$Tags": null, + "DeleteFileSystemLustreConfiguration$FinalBackupTags": "

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 CopyTagsToBackups to true, and you specify one or more FinalBackupTags when deleting a file system, Amazon FSx will not copy any existing file system tags to the backup.

", + "DeleteFileSystemLustreResponse$FinalBackupTags": "

The set of tags applied to the final backup.

", "DeleteFileSystemWindowsConfiguration$FinalBackupTags": "

A set of tags for your final backup.

", "DeleteFileSystemWindowsResponse$FinalBackupTags": "

The set of tags applied to the final backup.

", "FileSystem$Tags": "

The tags to associate with the file system. For more information, see Tagging Your Amazon EC2 Resources in the Amazon EC2 User Guide.

", diff --git a/models/apis/honeycode/2020-03-01/api-2.json b/models/apis/honeycode/2020-03-01/api-2.json new file mode 100644 index 00000000000..9702c748547 --- /dev/null +++ b/models/apis/honeycode/2020-03-01/api-2.json @@ -0,0 +1,321 @@ +{ + "version":"2.0", + "metadata":{ + "apiVersion":"2020-03-01", + "endpointPrefix":"honeycode", + "jsonVersion":"1.1", + "protocol":"rest-json", + "serviceAbbreviation":"Honeycode", + "serviceFullName":"Amazon Honeycode", + "serviceId":"Honeycode", + "signatureVersion":"v4", + "signingName":"honeycode", + "uid":"honeycode-2020-03-01" + }, + "operations":{ + "GetScreenData":{ + "name":"GetScreenData", + "http":{ + "method":"POST", + "requestUri":"/screendata" + }, + "input":{"shape":"GetScreenDataRequest"}, + "output":{"shape":"GetScreenDataResult"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"}, + {"shape":"RequestTimeoutException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ] + }, + "InvokeScreenAutomation":{ + "name":"InvokeScreenAutomation", + "http":{ + "method":"POST", + "requestUri":"/workbooks/{workbookId}/apps/{appId}/screens/{screenId}/automations/{automationId}" + }, + "input":{"shape":"InvokeScreenAutomationRequest"}, + "output":{"shape":"InvokeScreenAutomationResult"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"AutomationExecutionException"}, + {"shape":"AutomationExecutionTimeoutException"}, + {"shape":"RequestTimeoutException"} + ] + } + }, + "shapes":{ + "AccessDeniedException":{ + "type":"structure", + "members":{ + "message":{"shape":"ErrorMessage"} + }, + "error":{"httpStatusCode":403}, + "exception":true + }, + "AutomationExecutionException":{ + "type":"structure", + "members":{ + "message":{"shape":"ErrorMessage"} + }, + "error":{"httpStatusCode":400}, + "exception":true + }, + "AutomationExecutionTimeoutException":{ + "type":"structure", + "members":{ + "message":{"shape":"ErrorMessage"} + }, + "error":{"httpStatusCode":504}, + "exception":true + }, + "ClientRequestToken":{ + "type":"string", + "max":64, + "min":32 + }, + "ColumnMetadata":{ + "type":"structure", + "required":[ + "name", + "format" + ], + "members":{ + "name":{"shape":"Name"}, + "format":{"shape":"Format"} + } + }, + "DataItem":{ + "type":"structure", + "members":{ + "overrideFormat":{"shape":"Format"}, + "rawValue":{"shape":"RawValue"}, + "formattedValue":{"shape":"FormattedValue"} + }, + "sensitive":true + }, + "DataItems":{ + "type":"list", + "member":{"shape":"DataItem"} + }, + "ErrorMessage":{"type":"string"}, + "Format":{ + "type":"string", + "enum":[ + "AUTO", + "NUMBER", + "CURRENCY", + "DATE", + "TIME", + "DATE_TIME", + "PERCENTAGE", + "TEXT", + "ACCOUNTING", + "CONTACT", + "ROWLINK" + ] + }, + "FormattedValue":{"type":"string"}, + "GetScreenDataRequest":{ + "type":"structure", + "required":[ + "workbookId", + "appId", + "screenId" + ], + "members":{ + "workbookId":{"shape":"ResourceId"}, + "appId":{"shape":"ResourceId"}, + "screenId":{"shape":"ResourceId"}, + "variables":{"shape":"VariableValueMap"}, + "maxResults":{"shape":"MaxResults"}, + "nextToken":{"shape":"PaginationToken"} + } + }, + "GetScreenDataResult":{ + "type":"structure", + "required":[ + "results", + "workbookCursor" + ], + "members":{ + "results":{"shape":"ResultSetMap"}, + "workbookCursor":{"shape":"WorkbookCursor"}, + "nextToken":{"shape":"PaginationToken"} + } + }, + "InternalServerException":{ + "type":"structure", + "members":{ + "message":{"shape":"ErrorMessage"} + }, + "error":{"httpStatusCode":500}, + "exception":true + }, + "InvokeScreenAutomationRequest":{ + "type":"structure", + "required":[ + "workbookId", + "appId", + "screenId", + "screenAutomationId" + ], + "members":{ + "workbookId":{ + "shape":"ResourceId", + "location":"uri", + "locationName":"workbookId" + }, + "appId":{ + "shape":"ResourceId", + "location":"uri", + "locationName":"appId" + }, + "screenId":{ + "shape":"ResourceId", + "location":"uri", + "locationName":"screenId" + }, + "screenAutomationId":{ + "shape":"ResourceId", + "location":"uri", + "locationName":"automationId" + }, + "variables":{"shape":"VariableValueMap"}, + "rowId":{"shape":"RowId"}, + "clientRequestToken":{"shape":"ClientRequestToken"} + } + }, + "InvokeScreenAutomationResult":{ + "type":"structure", + "required":["workbookCursor"], + "members":{ + "workbookCursor":{"shape":"WorkbookCursor"} + } + }, + "MaxResults":{ + "type":"integer", + "box":true, + "max":100, + "min":1 + }, + "Name":{ + "type":"string", + "sensitive":true + }, + "PaginationToken":{ + "type":"string", + "max":1024, + "min":1 + }, + "RawValue":{"type":"string"}, + "RequestTimeoutException":{ + "type":"structure", + "members":{ + "message":{"shape":"ErrorMessage"} + }, + "error":{"httpStatusCode":504}, + "exception":true + }, + "ResourceId":{ + "type":"string", + "pattern":"[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}" + }, + "ResourceNotFoundException":{ + "type":"structure", + "members":{ + "message":{"shape":"ErrorMessage"} + }, + "error":{"httpStatusCode":404}, + "exception":true + }, + "ResultHeader":{ + "type":"list", + "member":{"shape":"ColumnMetadata"} + }, + "ResultRow":{ + "type":"structure", + "required":["dataItems"], + "members":{ + "rowId":{"shape":"RowId"}, + "dataItems":{"shape":"DataItems"} + } + }, + "ResultRows":{ + "type":"list", + "member":{"shape":"ResultRow"} + }, + "ResultSet":{ + "type":"structure", + "required":[ + "headers", + "rows" + ], + "members":{ + "headers":{"shape":"ResultHeader"}, + "rows":{"shape":"ResultRows"} + } + }, + "ResultSetMap":{ + "type":"map", + "key":{"shape":"Name"}, + "value":{"shape":"ResultSet"} + }, + "RowId":{ + "type":"string", + "pattern":"row:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\\/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}" + }, + "ServiceUnavailableException":{ + "type":"structure", + "members":{ + "message":{"shape":"ErrorMessage"} + }, + "error":{"httpStatusCode":503}, + "exception":true + }, + "ThrottlingException":{ + "type":"structure", + "members":{ + "message":{"shape":"ErrorMessage"} + }, + "error":{"httpStatusCode":429}, + "exception":true + }, + "ValidationException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"ErrorMessage"} + }, + "error":{"httpStatusCode":400}, + "exception":true + }, + "VariableName":{ + "type":"string", + "sensitive":true + }, + "VariableValue":{ + "type":"structure", + "required":["rawValue"], + "members":{ + "rawValue":{"shape":"RawValue"} + }, + "sensitive":true + }, + "VariableValueMap":{ + "type":"map", + "key":{"shape":"VariableName"}, + "value":{"shape":"VariableValue"}, + "sensitive":true + }, + "WorkbookCursor":{"type":"long"} + } +} diff --git a/models/apis/honeycode/2020-03-01/docs-2.json b/models/apis/honeycode/2020-03-01/docs-2.json new file mode 100644 index 00000000000..f9bdd659902 --- /dev/null +++ b/models/apis/honeycode/2020-03-01/docs-2.json @@ -0,0 +1,228 @@ +{ + "version": "2.0", + "service": "

Amazon Honeycode is a fully managed service that allows you to quickly build mobile and web apps for teams—without programming. Build Honeycode apps for managing almost anything, like projects, customers, operations, approvals, resources, and even your team.

", + "operations": { + "GetScreenData": "

The GetScreenData API allows retrieval of data from a screen in a Honeycode app. The API allows setting local variables in the screen to filter, sort or otherwise affect what will be displayed on the screen.

", + "InvokeScreenAutomation": "

The InvokeScreenAutomation API allows invoking an action defined in a screen in a Honeycode app. The API allows setting local variables, which can then be used in the automation being invoked. This allows automating the Honeycode app interactions to write, update or delete data in the workbook.

" + }, + "shapes": { + "AccessDeniedException": { + "base": "

You do not have sufficient access to perform this action. Check that the workbook is owned by you and your IAM policy allows access to the screen/automation in the request.

", + "refs": { + } + }, + "AutomationExecutionException": { + "base": "

The automation execution did not end successfully.

", + "refs": { + } + }, + "AutomationExecutionTimeoutException": { + "base": "

The automation execution timed out.

", + "refs": { + } + }, + "ClientRequestToken": { + "base": null, + "refs": { + "InvokeScreenAutomationRequest$clientRequestToken": "

The request token for performing the automation action. Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error like a failed network connection, you can retry the call with the same request token. The service ensures that if the first call using that request token is successfully performed, the second call will return the response of the previous call rather than performing the action again.

Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests spanning hours or days.

" + } + }, + "ColumnMetadata": { + "base": "

Metadata for column in the table.

", + "refs": { + "ResultHeader$member": null + } + }, + "DataItem": { + "base": "

The data in a particular data cell defined on the screen.

", + "refs": { + "DataItems$member": null + } + }, + "DataItems": { + "base": null, + "refs": { + "ResultRow$dataItems": "

List of all the data cells in a row.

" + } + }, + "ErrorMessage": { + "base": null, + "refs": { + "AccessDeniedException$message": null, + "AutomationExecutionException$message": null, + "AutomationExecutionTimeoutException$message": null, + "InternalServerException$message": null, + "RequestTimeoutException$message": null, + "ResourceNotFoundException$message": null, + "ServiceUnavailableException$message": null, + "ThrottlingException$message": null, + "ValidationException$message": null + } + }, + "Format": { + "base": null, + "refs": { + "ColumnMetadata$format": "

The format of the column.

", + "DataItem$overrideFormat": "

The overrideFormat is optional and is specified only if a particular row of data has a different format for the data than the default format defined on the screen or the table.

" + } + }, + "FormattedValue": { + "base": null, + "refs": { + "DataItem$formattedValue": "

The formatted value of the data. e.g. John Smith.

" + } + }, + "GetScreenDataRequest": { + "base": null, + "refs": { + } + }, + "GetScreenDataResult": { + "base": null, + "refs": { + } + }, + "InternalServerException": { + "base": "

There were unexpected errors from the server.

", + "refs": { + } + }, + "InvokeScreenAutomationRequest": { + "base": null, + "refs": { + } + }, + "InvokeScreenAutomationResult": { + "base": null, + "refs": { + } + }, + "MaxResults": { + "base": null, + "refs": { + "GetScreenDataRequest$maxResults": "

The number of results to be returned on a single page. Specify a number between 1 and 100. The maximum value is 100.

This parameter is optional. If you don't specify this parameter, the default page size is 100.

" + } + }, + "Name": { + "base": null, + "refs": { + "ColumnMetadata$name": "

The name of the column.

", + "ResultSetMap$key": null + } + }, + "PaginationToken": { + "base": null, + "refs": { + "GetScreenDataRequest$nextToken": "

This parameter is optional. If a nextToken is not specified, the API returns the first page of data.

Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API will throw ValidationException.

", + "GetScreenDataResult$nextToken": "

Provides the pagination token to load the next page if there are more results matching the request. If a pagination token is not present in the response, it means that all data matching the query has been loaded.

" + } + }, + "RawValue": { + "base": null, + "refs": { + "DataItem$rawValue": "

The raw value of the data. e.g. jsmith@example.com

", + "VariableValue$rawValue": "

Raw value of the variable.

" + } + }, + "RequestTimeoutException": { + "base": "

The request timed out.

", + "refs": { + } + }, + "ResourceId": { + "base": null, + "refs": { + "GetScreenDataRequest$workbookId": "

The ID of the workbook that contains the screen.

", + "GetScreenDataRequest$appId": "

The ID of the app that contains the screem.

", + "GetScreenDataRequest$screenId": "

The ID of the screen.

", + "InvokeScreenAutomationRequest$workbookId": "

The ID of the workbook that contains the screen automation.

", + "InvokeScreenAutomationRequest$appId": "

The ID of the app that contains the screen automation.

", + "InvokeScreenAutomationRequest$screenId": "

The ID of the screen that contains the screen automation.

", + "InvokeScreenAutomationRequest$screenAutomationId": "

The ID of the automation action to be performed.

" + } + }, + "ResourceNotFoundException": { + "base": "

A Workbook, App, Screen or Screen Automation was not found with the given ID.

", + "refs": { + } + }, + "ResultHeader": { + "base": null, + "refs": { + "ResultSet$headers": "

List of headers for all the data cells in the block. The header identifies the name and default format of the data cell. Data cells appear in the same order in all rows as defined in the header. The names and formats are not repeated in the rows. If a particular row does not have a value for a data cell, a blank value is used.

For example, a task list that displays the task name, due date and assigned person might have headers [ { \"name\": \"Task Name\"}, {\"name\": \"Due Date\", \"format\": \"DATE\"}, {\"name\": \"Assigned\", \"format\": \"CONTACT\"} ]. Every row in the result will have the task name as the first item, due date as the second item and assigned person as the third item. If a particular task does not have a due date, that row will still have a blank value in the second element and the assigned person will still be in the third element.

" + } + }, + "ResultRow": { + "base": "

A single row in the ResultSet.

", + "refs": { + "ResultRows$member": null + } + }, + "ResultRows": { + "base": null, + "refs": { + "ResultSet$rows": "

List of rows returned by the request. Each row has a row Id and a list of data cells in that row. The data cells will be present in the same order as they are defined in the header.

" + } + }, + "ResultSet": { + "base": "

ResultSet contains the results of the request for a single block or list defined on the screen.

", + "refs": { + "ResultSetMap$value": null + } + }, + "ResultSetMap": { + "base": null, + "refs": { + "GetScreenDataResult$results": "

A map of all the rows on the screen keyed by block name.

" + } + }, + "RowId": { + "base": null, + "refs": { + "InvokeScreenAutomationRequest$rowId": "

The row ID for the automation if the automation is defined inside a block with source or list.

", + "ResultRow$rowId": "

The ID for a particular row.

" + } + }, + "ServiceUnavailableException": { + "base": "

Remote service is unreachable.

", + "refs": { + } + }, + "ThrottlingException": { + "base": "

Tps(transactions per second) rate reached.

", + "refs": { + } + }, + "ValidationException": { + "base": "

Request is invalid. The message in the response contains details on why the request is invalid.

", + "refs": { + } + }, + "VariableName": { + "base": null, + "refs": { + "VariableValueMap$key": null + } + }, + "VariableValue": { + "base": "

The input variables to the app to be used by the InvokeScreenAutomation action request.

", + "refs": { + "VariableValueMap$value": null + } + }, + "VariableValueMap": { + "base": null, + "refs": { + "GetScreenDataRequest$variables": "

Variables are optional and are needed only if the screen requires them to render correctly. Variables are specified as a map where the key is the name of the variable as defined on the screen. The value is an object which currently has only one property, rawValue, which holds the value of the variable to be passed to the screen.

", + "InvokeScreenAutomationRequest$variables": "

Variables are optional and are needed only if the screen requires them to render correctly. Variables are specified as a map where the key is the name of the variable as defined on the screen. The value is an object which currently has only one property, rawValue, which holds the value of the variable to be passed to the screen.

" + } + }, + "WorkbookCursor": { + "base": null, + "refs": { + "GetScreenDataResult$workbookCursor": "

Indicates the cursor of the workbook at which the data returned by this workbook is read. Workbook cursor keeps increasing with every update and the increments are not sequential.

", + "InvokeScreenAutomationResult$workbookCursor": "

The updated workbook cursor after performing the automation action.

" + } + } + } +} diff --git a/models/apis/honeycode/2020-03-01/examples-1.json b/models/apis/honeycode/2020-03-01/examples-1.json new file mode 100644 index 00000000000..0ea7e3b0bbe --- /dev/null +++ b/models/apis/honeycode/2020-03-01/examples-1.json @@ -0,0 +1,5 @@ +{ + "version": "1.0", + "examples": { + } +} diff --git a/models/apis/honeycode/2020-03-01/paginators-1.json b/models/apis/honeycode/2020-03-01/paginators-1.json new file mode 100644 index 00000000000..5677bd8e4a2 --- /dev/null +++ b/models/apis/honeycode/2020-03-01/paginators-1.json @@ -0,0 +1,4 @@ +{ + "pagination": { + } +} diff --git a/models/apis/iam/2010-05-08/docs-2.json b/models/apis/iam/2010-05-08/docs-2.json index 547d065f17d..444ee81340d 100644 --- a/models/apis/iam/2010-05-08/docs-2.json +++ b/models/apis/iam/2010-05-08/docs-2.json @@ -3,26 +3,26 @@ "service": "AWS Identity and Access Management

AWS Identity and Access Management (IAM) is a web service for securely controlling access to AWS services. With IAM, you can centrally manage users, security credentials such as access keys, and permissions that control which AWS resources users and applications can access. For more information about IAM, see AWS Identity and Access Management (IAM) and the AWS Identity and Access Management User Guide.

", "operations": { "AddClientIDToOpenIDConnectProvider": "

Adds a new client ID (also known as audience) to the list of client IDs already registered for the specified IAM OpenID Connect (OIDC) provider resource.

This operation is idempotent; it does not fail or return an error if you add an existing client ID to the provider.

", - "AddRoleToInstanceProfile": "

Adds the specified IAM role to the specified instance profile. An instance profile can contain only one role, and this limit cannot be increased. You can remove the existing role and then add a different role to an instance profile. You must then wait for the change to appear across all of AWS because of eventual consistency. To force the change, you must disassociate the instance profile and then associate the instance profile, or you can stop your instance and then restart it.

The caller of this API must be granted the PassRole permission on the IAM role by a permissions policy.

For more information about roles, go to Working with Roles. For more information about instance profiles, go to About Instance Profiles.

", + "AddRoleToInstanceProfile": "

Adds the specified IAM role to the specified instance profile. An instance profile can contain only one role. (The number and size of IAM resources in an AWS account are limited. For more information, see IAM and STS Quotas in the IAM User Guide.) You can remove the existing role and then add a different role to an instance profile. You must then wait for the change to appear across all of AWS because of eventual consistency. To force the change, you must disassociate the instance profile and then associate the instance profile, or you can stop your instance and then restart it.

The caller of this API must be granted the PassRole permission on the IAM role by a permissions policy.

For more information about roles, go to Working with Roles. For more information about instance profiles, go to About Instance Profiles.

", "AddUserToGroup": "

Adds the specified user to the specified group.

", "AttachGroupPolicy": "

Attaches the specified managed policy to the specified IAM group.

You use this API to attach a managed policy to a group. To embed an inline policy in a group, use PutGroupPolicy.

For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide.

", "AttachRolePolicy": "

Attaches the specified managed policy to the specified IAM role. When you attach a managed policy to a role, the managed policy becomes part of the role's permission (access) policy.

You cannot use a managed policy as the role's trust policy. The role's trust policy is created at the same time as the role, using CreateRole. You can update a role's trust policy using UpdateAssumeRolePolicy.

Use this API to attach a managed policy to a role. To embed an inline policy in a role, use PutRolePolicy. For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide.

", "AttachUserPolicy": "

Attaches the specified managed policy to the specified user.

You use this API to attach a managed policy to a user. To embed an inline policy in a user, use PutUserPolicy.

For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide.

", "ChangePassword": "

Changes the password of the IAM user who is calling this operation. The AWS account root user password is not affected by this operation.

To change the password for a different user, see UpdateLoginProfile. For more information about modifying passwords, see Managing Passwords in the IAM User Guide.

", - "CreateAccessKey": "

Creates a new AWS secret access key and corresponding AWS access key ID for the specified user. The default status for new keys is Active.

If you do not specify a user name, IAM determines the user name implicitly based on the AWS access key ID signing the request. This operation works for access keys under the AWS account. Consequently, you can use this operation to manage AWS account root user credentials. This is true even if the AWS account has no associated users.

For information about limits on the number of keys you can create, see Limitations on IAM Entities in the IAM User Guide.

To ensure the security of your AWS account, the secret access key is accessible only during key and user creation. You must save the key (for example, in a text file) if you want to be able to access it again. If a secret key is lost, you can delete the access keys for the associated user and then create new keys.

", + "CreateAccessKey": "

Creates a new AWS secret access key and corresponding AWS access key ID for the specified user. The default status for new keys is Active.

If you do not specify a user name, IAM determines the user name implicitly based on the AWS access key ID signing the request. This operation works for access keys under the AWS account. Consequently, you can use this operation to manage AWS account root user credentials. This is true even if the AWS account has no associated users.

The number and size of IAM resources in an AWS account are limited. For more information, see IAM and STS Quotas in the IAM User Guide.

To ensure the security of your AWS account, the secret access key is accessible only during key and user creation. You must save the key (for example, in a text file) if you want to be able to access it again. If a secret key is lost, you can delete the access keys for the associated user and then create new keys.

", "CreateAccountAlias": "

Creates an alias for your AWS account. For information about using an AWS account alias, see Using an Alias for Your AWS Account ID in the IAM User Guide.

", - "CreateGroup": "

Creates a new group.

For information about the number of groups you can create, see Limitations on IAM Entities in the IAM User Guide.

", - "CreateInstanceProfile": "

Creates a new instance profile. For information about instance profiles, go to About Instance Profiles.

For information about the number of instance profiles you can create, see Limitations on IAM Entities in the IAM User Guide.

", + "CreateGroup": "

Creates a new group.

The number and size of IAM resources in an AWS account are limited. For more information, see IAM and STS Quotas in the IAM User Guide.

", + "CreateInstanceProfile": "

Creates a new instance profile. For information about instance profiles, go to About Instance Profiles.

The number and size of IAM resources in an AWS account are limited. For more information, see IAM and STS Quotas in the IAM User Guide.

", "CreateLoginProfile": "

Creates a password for the specified user, giving the user the ability to access AWS services through the AWS Management Console. For more information about managing passwords, see Managing Passwords in the IAM User Guide.

", "CreateOpenIDConnectProvider": "

Creates an IAM entity to describe an identity provider (IdP) that supports OpenID Connect (OIDC).

The OIDC provider that you create with this operation can be used as a principal in a role's trust policy. Such a policy establishes a trust relationship between AWS and the OIDC provider.

When you create the IAM OIDC provider, you specify the following:

You get all of this information from the OIDC IdP that you want to use to access AWS.

The trust for the OIDC provider is derived from the IAM provider that this operation creates. Therefore, it is best to limit access to the CreateOpenIDConnectProvider operation to highly privileged users.

", "CreatePolicy": "

Creates a new managed policy for your AWS account.

This operation creates a policy version with a version identifier of v1 and sets v1 as the policy's default version. For more information about policy versions, see Versioning for Managed Policies in the IAM User Guide.

For more information about managed policies in general, see Managed Policies and Inline Policies in the IAM User Guide.

", "CreatePolicyVersion": "

Creates a new version of the specified managed policy. To update a managed policy, you create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must delete an existing version using DeletePolicyVersion before you create a new version.

Optionally, you can set the new version as the policy's default version. The default version is the version that is in effect for the IAM users, groups, and roles to which the policy is attached.

For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.

", - "CreateRole": "

Creates a new role for your AWS account. For more information about roles, go to IAM Roles. For information about limitations on role names and the number of roles you can create, go to Limitations on IAM Entities in the IAM User Guide.

", + "CreateRole": "

Creates a new role for your AWS account. For more information about roles, go to IAM Roles. The number and size of IAM resources in an AWS account are limited. For more information, see IAM and STS Quotas in the IAM User Guide.

", "CreateSAMLProvider": "

Creates an IAM resource that describes an identity provider (IdP) that supports SAML 2.0.

The SAML provider resource that you create with this operation can be used as a principal in an IAM role's trust policy. Such a policy can enable federated users who sign in using the SAML IdP to assume the role. You can create an IAM role that supports Web-based single sign-on (SSO) to the AWS Management Console or one that supports API access to AWS.

When you create the SAML provider resource, you upload a SAML metadata document that you get from your IdP. That document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that the IdP sends. You must generate the metadata document using the identity management software that is used as your organization's IdP.

This operation requires Signature Version 4.

For more information, see Enabling SAML 2.0 Federated Users to Access the AWS Management Console and About SAML 2.0-based Federation in the IAM User Guide.

", "CreateServiceLinkedRole": "

Creates an IAM role that is linked to a specific AWS service. The service controls the attached policies and when the role can be deleted. This helps ensure that the service is not broken by an unexpectedly changed or deleted role, which could put your AWS resources into an unknown state. Allowing the service to control the role helps improve service stability and proper cleanup when a service and its role are no longer needed. For more information, see Using Service-Linked Roles in the IAM User Guide.

To attach a policy to this service-linked role, you must make the request using the AWS service that depends on this role.

", "CreateServiceSpecificCredential": "

Generates a set of credentials consisting of a user name and password that can be used to access the service specified in the request. These credentials are generated by IAM, and can be used only for the specified service.

You can have a maximum of two sets of service-specific credentials for each supported service per user.

The only supported service at this time is AWS CodeCommit.

You can reset the password to a new service-generated value by calling ResetServiceSpecificCredential.

For more information about service-specific credentials, see Using IAM with AWS CodeCommit: Git Credentials, SSH Keys, and AWS Access Keys in the IAM User Guide.

", - "CreateUser": "

Creates a new IAM user for your AWS account.

For information about limitations on the number of IAM users you can create, see Limitations on IAM Entities in the IAM User Guide.

", - "CreateVirtualMFADevice": "

Creates a new virtual MFA device for the AWS account. After creating the virtual MFA, use EnableMFADevice to attach the MFA device to an IAM user. For more information about creating and working with virtual MFA devices, go to Using a Virtual MFA Device in the IAM User Guide.

For information about limits on the number of MFA devices you can create, see Limitations on Entities in the IAM User Guide.

The seed information contained in the QR code and the Base32 string should be treated like any other secret access information. In other words, protect the seed information as you would your AWS access keys or your passwords. After you provision your virtual device, you should ensure that the information is destroyed following secure procedures.

", + "CreateUser": "

Creates a new IAM user for your AWS account.

The number and size of IAM resources in an AWS account are limited. For more information, see IAM and STS Quotas in the IAM User Guide.

", + "CreateVirtualMFADevice": "

Creates a new virtual MFA device for the AWS account. After creating the virtual MFA, use EnableMFADevice to attach the MFA device to an IAM user. For more information about creating and working with virtual MFA devices, go to Using a Virtual MFA Device in the IAM User Guide.

The number and size of IAM resources in an AWS account are limited. For more information, see IAM and STS Quotas in the IAM User Guide.

The seed information contained in the QR code and the Base32 string should be treated like any other secret access information. In other words, protect the seed information as you would your AWS access keys or your passwords. After you provision your virtual device, you should ensure that the information is destroyed following secure procedures.

", "DeactivateMFADevice": "

Deactivates the specified MFA device and removes it from association with the user name for which it was originally enabled.

For more information about creating and working with virtual MFA devices, go to Enabling a Virtual Multi-factor Authentication (MFA) Device in the IAM User Guide.

", "DeleteAccessKey": "

Deletes the access key pair associated with the specified IAM user.

If you do not specify a user name, IAM determines the user name implicitly based on the AWS access key ID signing the request. This operation works for access keys under the AWS account. Consequently, you can use this operation to manage AWS account root user credentials even if the AWS account has no associated users.

", "DeleteAccountAlias": "

Deletes the specified AWS account alias. For information about using an AWS account alias, see Using an Alias for Your AWS Account ID in the IAM User Guide.

", @@ -57,7 +57,7 @@ "GetAccessKeyLastUsed": "

Retrieves information about when the specified access key was last used. The information includes the date and time of last use, along with the AWS service and Region that were specified in the last request made with that key.

", "GetAccountAuthorizationDetails": "

Retrieves information about all IAM users, groups, roles, and policies in your AWS account, including their relationships to one another. Use this API to obtain a snapshot of the configuration of IAM permissions (users, groups, roles, and policies) in your account.

Policies returned by this API are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality.

You can optionally filter the results using the Filter parameter. You can paginate the results using the MaxItems and Marker parameters.

", "GetAccountPasswordPolicy": "

Retrieves the password policy for the AWS account. For more information about using a password policy, go to Managing an IAM Password Policy.

", - "GetAccountSummary": "

Retrieves information about IAM entity usage and IAM quotas in the AWS account.

For information about limitations on IAM entities, see Limitations on IAM Entities in the IAM User Guide.

", + "GetAccountSummary": "

Retrieves information about IAM entity usage and IAM quotas in the AWS account.

The number and size of IAM resources in an AWS account are limited. For more information, see IAM and STS Quotas in the IAM User Guide.

", "GetContextKeysForCustomPolicy": "

Gets a list of all of the context keys referenced in the input policies. The policies are supplied as a list of one or more strings. To get the context keys from policies associated with an IAM user, group, or role, use GetContextKeysForPrincipalPolicy.

Context keys are variables maintained by AWS and its services that provide details about the context of an API query request. Context keys can be evaluated by testing against a value specified in an IAM policy. Use GetContextKeysForCustomPolicy to understand what key names and values you must supply when you call SimulateCustomPolicy. Note that all parameters are shown in unencoded form here for clarity but must be URL encoded to be included as a part of a real HTML request.

", "GetContextKeysForPrincipalPolicy": "

Gets a list of all of the context keys referenced in all the IAM policies that are attached to the specified IAM entity. The entity can be an IAM user, group, or role. If you specify a user, then the request also includes all of the policies attached to groups that the user is a member of.

You can optionally include a list of one or more additional policies, specified as strings. If you want to include only a list of policies by string, use GetContextKeysForCustomPolicy instead.

Note: This API discloses information about the permissions granted to other users. If you do not want users to see other user's permissions, then consider allowing them to use GetContextKeysForCustomPolicy instead.

Context keys are variables maintained by AWS and its services that provide details about the context of an API query request. Context keys can be evaluated by testing against a value in an IAM policy. Use GetContextKeysForPrincipalPolicy to understand what key names and values you must supply when you call SimulatePrincipalPolicy.

", "GetCredentialReport": "

Retrieves a credential report for the AWS account. For more information about the credential report, see Getting Credential Reports in the IAM User Guide.

", @@ -1015,7 +1015,7 @@ } }, "LimitExceededException": { - "base": "

The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.

", + "base": "

The request was rejected because it attempted to create resources beyond the current AWS account limitations. The error message describes the limit exceeded.

", "refs": { } }, diff --git a/models/apis/organizations/2016-11-28/api-2.json b/models/apis/organizations/2016-11-28/api-2.json index fc3ff7c2815..beeba8b70cf 100644 --- a/models/apis/organizations/2016-11-28/api-2.json +++ b/models/apis/organizations/2016-11-28/api-2.json @@ -1031,6 +1031,7 @@ }, "AccountId":{ "type":"string", + "max":12, "pattern":"^\\d{12}$" }, "AccountJoinedMethod":{ @@ -1129,6 +1130,7 @@ }, "ChildId":{ "type":"string", + "max":100, "pattern":"^(\\d{12})|(ou-[0-9a-z]{4,32}-[a-z0-9]{8,32})$" }, "ChildNotFoundException":{ @@ -1224,6 +1226,7 @@ }, "CreateAccountRequestId":{ "type":"string", + "max":36, "pattern":"^car-[a-z0-9]{8,32}$" }, "CreateAccountResponse":{ @@ -1583,7 +1586,10 @@ }, "EffectivePolicyType":{ "type":"string", - "enum":["TAG_POLICY"] + "enum":[ + "TAG_POLICY", + "BACKUP_POLICY" + ] }, "Email":{ "type":"string", @@ -1705,6 +1711,7 @@ }, "HandshakeId":{ "type":"string", + "max":34, "pattern":"^h-[0-9a-z]{8,32}$" }, "HandshakeNotFoundException":{ @@ -1717,6 +1724,7 @@ "HandshakeNotes":{ "type":"string", "max":1024, + "pattern":"[\\s\\S]*", "sensitive":true }, "HandshakeParties":{ @@ -1738,6 +1746,7 @@ "type":"string", "max":64, "min":1, + "pattern":"[\\s\\S]*", "sensitive":true }, "HandshakePartyType":{ @@ -2141,7 +2150,11 @@ "DestinationParentId":{"shape":"ParentId"} } }, - "NextToken":{"type":"string"}, + "NextToken":{ + "type":"string", + "max":100000, + "pattern":"[\\s\\S]*" + }, "Organization":{ "type":"structure", "members":{ @@ -2190,12 +2203,14 @@ }, "OrganizationalUnitId":{ "type":"string", + "max":68, "pattern":"^ou-[0-9a-z]{4,32}-[a-z0-9]{8,32}$" }, "OrganizationalUnitName":{ "type":"string", "max":128, - "min":1 + "min":1, + "pattern":"[\\s\\S]*" }, "OrganizationalUnitNotEmptyException":{ "type":"structure", @@ -2224,6 +2239,7 @@ }, "ParentId":{ "type":"string", + "max":100, "pattern":"^(r-[0-9a-z]{4,32})|(ou-[0-9a-z]{4,32}-[a-z0-9]{8,32})$" }, "ParentNotFoundException":{ @@ -2269,14 +2285,17 @@ "PolicyContent":{ "type":"string", "max":1000000, - "min":1 + "min":1, + "pattern":"[\\s\\S]*" }, "PolicyDescription":{ "type":"string", - "max":512 + "max":512, + "pattern":"[\\s\\S]*" }, "PolicyId":{ "type":"string", + "max":130, "pattern":"^p-[0-9a-zA-Z_]{8,128}$" }, "PolicyInUseException":{ @@ -2289,7 +2308,8 @@ "PolicyName":{ "type":"string", "max":128, - "min":1 + "min":1, + "pattern":"[\\s\\S]*" }, "PolicyNotAttachedException":{ "type":"structure", @@ -2318,6 +2338,7 @@ }, "PolicyTargetId":{ "type":"string", + "max":100, "pattern":"^(r-[0-9a-z]{4,32})|(\\d{12})|(ou-[0-9a-z]{4,32}-[a-z0-9]{8,32})$" }, "PolicyTargetSummary":{ @@ -2337,7 +2358,8 @@ "type":"string", "enum":[ "SERVICE_CONTROL_POLICY", - "TAG_POLICY" + "TAG_POLICY", + "BACKUP_POLICY" ] }, "PolicyTypeAlreadyEnabledException":{ @@ -2400,6 +2422,7 @@ }, "RoleName":{ "type":"string", + "max":64, "pattern":"[\\w+=,.@-]{1,64}" }, "Root":{ @@ -2417,6 +2440,7 @@ }, "RootId":{ "type":"string", + "max":34, "pattern":"^r-[0-9a-z]{4,32}$" }, "RootName":{ @@ -2495,6 +2519,7 @@ }, "TaggableResourceId":{ "type":"string", + "max":12, "pattern":"^\\d{12}$" }, "Tags":{ diff --git a/models/apis/organizations/2016-11-28/docs-2.json b/models/apis/organizations/2016-11-28/docs-2.json index 72f6a566ef8..d673a603059 100644 --- a/models/apis/organizations/2016-11-28/docs-2.json +++ b/models/apis/organizations/2016-11-28/docs-2.json @@ -3,10 +3,10 @@ "service": "AWS Organizations", "operations": { "AcceptHandshake": "

Sends a response to the originator of a handshake agreeing to the action proposed by the handshake request.

This operation can be called only by the following principals when they also have the relevant IAM permissions:

After you accept a handshake, it continues to appear in the results of relevant APIs for only 30 days. After that, it's deleted.

", - "AttachPolicy": "

Attaches a policy to a root, an organizational unit (OU), or an individual account. How the policy affects accounts depends on the type of policy:

This operation can be called only from the organization's master account.

", + "AttachPolicy": "

Attaches a policy to a root, an organizational unit (OU), or an individual account. How the policy affects accounts depends on the type of policy. Refer to the AWS Organizations User Guide for information about each policy type:

This operation can be called only from the organization's master account.

", "CancelHandshake": "

Cancels a handshake. Canceling a handshake sets the handshake state to CANCELED.

This operation can be called only from the account that originated the handshake. The recipient of the handshake can't cancel it, but can use DeclineHandshake instead. After a handshake is canceled, the recipient can no longer respond to that handshake.

After you cancel a handshake, it continues to appear in the results of relevant APIs for only 30 days. After that, it's deleted.

", "CreateAccount": "

Creates an AWS account that is automatically a member of the organization whose credentials made the request. This is an asynchronous request that AWS performs in the background. Because CreateAccount operates asynchronously, it can return a successful completion message even though account initialization might still be in progress. You might need to wait a few minutes before you can successfully access the account. To check the status of the request, do one of the following:

The user who calls the API to create an account must have the organizations:CreateAccount permission. If you enabled all features in the organization, AWS Organizations creates the required service-linked role named AWSServiceRoleForOrganizations. For more information, see AWS Organizations and Service-Linked Roles in the AWS Organizations User Guide.

AWS Organizations preconfigures the new member account with a role (named OrganizationAccountAccessRole by default) that grants users in the master account administrator permissions in the new member account. Principals in the master account can assume the role. AWS Organizations clones the company name and address information for the new account from the organization's master account.

This operation can be called only from the organization's master account.

For more information about creating accounts, see Creating an AWS Account in Your Organization in the AWS Organizations User Guide.

  • When you create an account in an organization using the AWS Organizations console, API, or CLI commands, the information required for the account to operate as a standalone account, such as a payment method and signing the end user license agreement (EULA) is not automatically collected. If you must remove an account from your organization later, you can do so only after you provide the missing information. Follow the steps at To leave an organization as a member account in the AWS Organizations User Guide.

  • If you get an exception that indicates that you exceeded your account limits for the organization, contact AWS Support.

  • If you get an exception that indicates that the operation failed because your organization is still initializing, wait one hour and then try again. If the error persists, contact AWS Support.

  • Using CreateAccount to create multiple temporary accounts isn't recommended. You can only close an account from the Billing and Cost Management Console, and you must be signed in as the root user. For information on the requirements and process for closing an account, see Closing an AWS Account in the AWS Organizations User Guide.

When you create a member account with this operation, you can choose whether to create the account with the IAM User and Role Access to Billing Information switch enabled. If you enable it, IAM users and roles that have appropriate permissions can view billing information for the account. If you disable it, only the account root user can access billing information. For information about how to disable this switch for an account, see Granting Access to Your Billing Information and Tools.

", - "CreateGovCloudAccount": "

This action is available if all of the following are true:

AWS automatically enables AWS CloudTrail for AWS GovCloud (US) accounts, but you should also do the following:

You call this action from the master account of your organization in the commercial Region to create a standalone AWS account in the AWS GovCloud (US) Region. After the account is created, the master account of an organization in the AWS GovCloud (US) Region can invite it to that organization. For more information on inviting standalone accounts in the AWS GovCloud (US) to join an organization, see AWS Organizations in the AWS GovCloud User Guide.

Calling CreateGovCloudAccount is an asynchronous request that AWS performs in the background. Because CreateGovCloudAccount operates asynchronously, it can return a successful completion message even though account initialization might still be in progress. You might need to wait a few minutes before you can successfully access the account. To check the status of the request, do one of the following:

When you call the CreateGovCloudAccount action, you create two accounts: a standalone account in the AWS GovCloud (US) Region and an associated account in the commercial Region for billing and support purposes. The account in the commercial Region is automatically a member of the organization whose credentials made the request. Both accounts are associated with the same email address.

A role is created in the new account in the commercial Region that allows the master account in the organization in the commercial Region to assume it. An AWS GovCloud (US) account is then created and associated with the commercial account that you just created. A role is created in the new AWS GovCloud (US) account that can be assumed by the AWS GovCloud (US) account that is associated with the master account of the commercial organization. For more information and to view a diagram that explains how account access works, see AWS Organizations in the AWS GovCloud User Guide.

For more information about creating accounts, see Creating an AWS Account in Your Organization in the AWS Organizations User Guide.

  • When you create an account in an organization using the AWS Organizations console, API, or CLI commands, the information required for the account to operate as a standalone account, such as a payment method and signing the end user license agreement (EULA) is not automatically collected. If you must remove an account from your organization later, you can do so only after you provide the missing information. Follow the steps at To leave an organization as a member account in the AWS Organizations User Guide.

  • If you get an exception that indicates that you exceeded your account limits for the organization, contact AWS Support.

  • If you get an exception that indicates that the operation failed because your organization is still initializing, wait one hour and then try again. If the error persists, contact AWS Support.

  • Using CreateGovCloudAccount to create multiple temporary accounts isn't recommended. You can only close an account from the AWS Billing and Cost Management console, and you must be signed in as the root user. For information on the requirements and process for closing an account, see Closing an AWS Account in the AWS Organizations User Guide.

When you create a member account with this operation, you can choose whether to create the account with the IAM User and Role Access to Billing Information switch enabled. If you enable it, IAM users and roles that have appropriate permissions can view billing information for the account. If you disable it, only the account root user can access billing information. For information about how to disable this switch for an account, see Granting Access to Your Billing Information and Tools.

", + "CreateGovCloudAccount": "

This action is available if all of the following are true:

AWS automatically enables AWS CloudTrail for AWS GovCloud (US) accounts, but you should also do the following:

You call this action from the master account of your organization in the commercial Region to create a standalone AWS account in the AWS GovCloud (US) Region. After the account is created, the master account of an organization in the AWS GovCloud (US) Region can invite it to that organization. For more information on inviting standalone accounts in the AWS GovCloud (US) to join an organization, see AWS Organizations in the AWS GovCloud User Guide.

Calling CreateGovCloudAccount is an asynchronous request that AWS performs in the background. Because CreateGovCloudAccount operates asynchronously, it can return a successful completion message even though account initialization might still be in progress. You might need to wait a few minutes before you can successfully access the account. To check the status of the request, do one of the following:

When you call the CreateGovCloudAccount action, you create two accounts: a standalone account in the AWS GovCloud (US) Region and an associated account in the commercial Region for billing and support purposes. The account in the commercial Region is automatically a member of the organization whose credentials made the request. Both accounts are associated with the same email address.

A role is created in the new account in the commercial Region that allows the master account in the organization in the commercial Region to assume it. An AWS GovCloud (US) account is then created and associated with the commercial account that you just created. A role is created in the new AWS GovCloud (US) account that can be assumed by the AWS GovCloud (US) account that is associated with the master account of the commercial organization. For more information and to view a diagram that explains how account access works, see AWS Organizations in the AWS GovCloud User Guide.

For more information about creating accounts, see Creating an AWS Account in Your Organization in the AWS Organizations User Guide.

  • When you create an account in an organization using the AWS Organizations console, API, or CLI commands, the information required for the account to operate as a standalone account is not automatically collected. This includes a payment method and signing the end user license agreement (EULA). If you must remove an account from your organization later, you can do so only after you provide the missing information. Follow the steps at To leave an organization as a member account in the AWS Organizations User Guide.

  • If you get an exception that indicates that you exceeded your account limits for the organization, contact AWS Support.

  • If you get an exception that indicates that the operation failed because your organization is still initializing, wait one hour and then try again. If the error persists, contact AWS Support.

  • Using CreateGovCloudAccount to create multiple temporary accounts isn't recommended. You can only close an account from the AWS Billing and Cost Management console, and you must be signed in as the root user. For information on the requirements and process for closing an account, see Closing an AWS Account in the AWS Organizations User Guide.

When you create a member account with this operation, you can choose whether to create the account with the IAM User and Role Access to Billing Information switch enabled. If you enable it, IAM users and roles that have appropriate permissions can view billing information for the account. If you disable it, only the account root user can access billing information. For information about how to disable this switch for an account, see Granting Access to Your Billing Information and Tools.

", "CreateOrganization": "

Creates an AWS organization. The account whose user is calling the CreateOrganization operation automatically becomes the master account of the new organization.

This operation must be called using credentials from the account that is to become the new organization's master account. The principal must also have the relevant IAM permissions.

By default (or if you set the FeatureSet parameter to ALL), the new organization is created with all features enabled and service control policies automatically enabled in the root. If you instead choose to create the organization supporting only the consolidated billing features by setting the FeatureSet parameter to CONSOLIDATED_BILLING\", no policy types are enabled by default, and you can't use organization policies

", "CreateOrganizationalUnit": "

Creates an organizational unit (OU) within a root or parent OU. An OU is a container for accounts that enables you to organize your accounts to apply policies according to your business requirements. The number of levels deep that you can nest OUs is dependent upon the policy types enabled for that root. For service control policies, the limit is five.

For more information about OUs, see Managing Organizational Units in the AWS Organizations User Guide.

This operation can be called only from the organization's master account.

", "CreatePolicy": "

Creates a policy of a specified type that you can attach to a root, an organizational unit (OU), or an individual AWS account.

For more information about policies and their use, see Managing Organization Policies.

This operation can be called only from the organization's master account.

", @@ -17,14 +17,14 @@ "DeregisterDelegatedAdministrator": "

Removes the specified member AWS account as a delegated administrator for the specified AWS service.

You can run this action only for AWS services that support this feature. For a current list of services that support it, see the column Supports Delegated Administrator in the table at AWS Services that you can use with AWS Organizations in the AWS Organizations User Guide.

This operation can be called only from the organization's master account.

", "DescribeAccount": "

Retrieves AWS Organizations-related information about the specified account.

This operation can be called only from the organization's master account or by a member account that is a delegated administrator for an AWS service.

", "DescribeCreateAccountStatus": "

Retrieves the current status of an asynchronous request to create an account.

This operation can be called only from the organization's master account or by a member account that is a delegated administrator for an AWS service.

", - "DescribeEffectivePolicy": "

Returns the contents of the effective tag policy for the account. The effective tag policy is the aggregation of any tag policies the account inherits, plus any policy directly that is attached to the account.

This action returns information on tag policies only.

For more information on policy inheritance, see How Policy Inheritance Works in the AWS Organizations User Guide.

This operation can be called only from the organization's master account or by a member account that is a delegated administrator for an AWS service.

", + "DescribeEffectivePolicy": "

Returns the contents of the effective policy for specified policy type and account. The effective policy is the aggregation of any policies of the specified type that the account inherits, plus any policy of that type that is directly attached to the account.

This operation applies only to policy types other than service control policies (SCPs).

For more information about policy inheritance, see How Policy Inheritance Works in the AWS Organizations User Guide.

This operation can be called only from the organization's master account or by a member account that is a delegated administrator for an AWS service.

", "DescribeHandshake": "

Retrieves information about a previously requested handshake. The handshake ID comes from the response to the original InviteAccountToOrganization operation that generated the handshake.

You can access handshakes that are ACCEPTED, DECLINED, or CANCELED for only 30 days after they change to that state. They're then deleted and no longer accessible.

This operation can be called from any account in the organization.

", "DescribeOrganization": "

Retrieves information about the organization that the user's account belongs to.

This operation can be called from any account in the organization.

Even if a policy type is shown as available in the organization, you can disable it separately at the root level with DisablePolicyType. Use ListRoots to see the status of policy types for a specified root.

", "DescribeOrganizationalUnit": "

Retrieves information about an organizational unit (OU).

This operation can be called only from the organization's master account or by a member account that is a delegated administrator for an AWS service.

", "DescribePolicy": "

Retrieves information about a policy.

This operation can be called only from the organization's master account or by a member account that is a delegated administrator for an AWS service.

", - "DetachPolicy": "

Detaches a policy from a target root, organizational unit (OU), or account. If the policy being detached is a service control policy (SCP), the changes to permissions for IAM users and roles in affected accounts are immediate.

Note: Every root, OU, and account must have at least one SCP attached. If you want to replace the default FullAWSAccess policy with one that limits the permissions that can be delegated, you must attach the replacement policy before you can remove the default one. This is the authorization strategy of an \"allow list\". If you instead attach a second SCP and leave the FullAWSAccess SCP still attached, and specify \"Effect\": \"Deny\" in the second SCP to override the \"Effect\": \"Allow\" in the FullAWSAccess policy (or any other attached SCP), you're using the authorization strategy of a \"deny list\".

This operation can be called only from the organization's master account.

", + "DetachPolicy": "

Detaches a policy from a target root, organizational unit (OU), or account.

If the policy being detached is a service control policy (SCP), the changes to permissions for AWS Identity and Access Management (IAM) users and roles in affected accounts are immediate.

Every root, OU, and account must have at least one SCP attached. If you want to replace the default FullAWSAccess policy with an SCP that limits the permissions that can be delegated, you must attach the replacement SCP before you can remove the default SCP. This is the authorization strategy of an \"allow list\". If you instead attach a second SCP and leave the FullAWSAccess SCP still attached, and specify \"Effect\": \"Deny\" in the second SCP to override the \"Effect\": \"Allow\" in the FullAWSAccess policy (or any other attached SCP), you're using the authorization strategy of a \"deny list\".

This operation can be called only from the organization's master account.

", "DisableAWSServiceAccess": "

Disables the integration of an AWS service (the service that is specified by ServicePrincipal) with AWS Organizations. When you disable integration, the specified service no longer can create a service-linked role in new accounts in your organization. This means the service can't perform operations on your behalf on any new accounts in your organization. The service can still perform operations in older accounts until the service completes its clean-up from AWS Organizations.

We recommend that you disable integration between AWS Organizations and the specified AWS service by using the console or commands that are provided by the specified service. Doing so ensures that the other service is aware that it can clean up any resources that are required only for the integration. How the service cleans up its resources in the organization's accounts depends on that service. For more information, see the documentation for the other AWS service.

After you perform the DisableAWSServiceAccess operation, the specified service can no longer perform operations in your organization's accounts unless the operations are explicitly permitted by the IAM policies that are attached to your roles.

For more information about integrating other services with AWS Organizations, including the list of services that work with Organizations, see Integrating AWS Organizations with Other AWS Services in the AWS Organizations User Guide.

This operation can be called only from the organization's master account.

", - "DisablePolicyType": "

Disables an organizational control policy type in a root. A policy of a certain type can be attached to entities in a root only if that type is enabled in the root. After you perform this operation, you no longer can attach policies of the specified type to that root or to any organizational unit (OU) or account in that root. You can undo this by using the EnablePolicyType operation.

This is an asynchronous request that AWS performs in the background. If you disable a policy for a root, it still appears enabled for the organization if all features are enabled for the organization. AWS recommends that you first use ListRoots to see the status of policy types for a specified root, and then use this operation.

This operation can be called only from the organization's master account.

To view the status of available policy types in the organization, use DescribeOrganization.

", + "DisablePolicyType": "

Disables an organizational policy type in a root. A policy of a certain type can be attached to entities in a root only if that type is enabled in the root. After you perform this operation, you no longer can attach policies of the specified type to that root or to any organizational unit (OU) or account in that root. You can undo this by using the EnablePolicyType operation.

This is an asynchronous request that AWS performs in the background. If you disable a policy type for a root, it still appears enabled for the organization if all features are enabled for the organization. AWS recommends that you first use ListRoots to see the status of policy types for a specified root, and then use this operation.

This operation can be called only from the organization's master account.

To view the status of available policy types in the organization, use DescribeOrganization.

", "EnableAWSServiceAccess": "

Enables the integration of an AWS service (the service that is specified by ServicePrincipal) with AWS Organizations. When you enable integration, you allow the specified service to create a service-linked role in all the accounts in your organization. This allows the service to perform operations on your behalf in your organization and its accounts.

We recommend that you enable integration between AWS Organizations and the specified AWS service by using the console or commands that are provided by the specified service. Doing so ensures that the service is aware that it can create the resources that are required for the integration. How the service creates those resources in the organization's accounts depends on that service. For more information, see the documentation for the other AWS service.

For more information about enabling services to integrate with AWS Organizations, see Integrating AWS Organizations with Other AWS Services in the AWS Organizations User Guide.

This operation can be called only from the organization's master account and only if the organization has enabled all features.

", "EnableAllFeatures": "

Enables all features in an organization. This enables the use of organization policies that can restrict the services and actions that can be called in each account. Until you enable all features, you have access only to consolidated billing, and you can't use any of the advanced account administration features that AWS Organizations supports. For more information, see Enabling All Features in Your Organization in the AWS Organizations User Guide.

This operation is required only for organizations that were created explicitly with only the consolidated billing features enabled. Calling this operation sends a handshake to every invited account in the organization. The feature set change can be finalized and the additional features enabled only after all administrators in the invited accounts approve the change by accepting the handshake.

After you enable all features, you can separately enable or disable individual policy types in a root using EnablePolicyType and DisablePolicyType. To see the status of policy types in a root, use ListRoots.

After all invited member accounts accept the handshake, you finalize the feature set change by accepting the handshake that contains \"Action\": \"ENABLE_ALL_FEATURES\". This completes the change.

After you enable all features in your organization, the master account in the organization can apply policies on all member accounts. These policies can restrict what users and even administrators in those accounts can do. The master account can apply policies that prevent accounts from leaving the organization. Ensure that your account administrators are aware of this.

This operation can be called only from the organization's master account.

", "EnablePolicyType": "

Enables a policy type in a root. After you enable a policy type in a root, you can attach policies of that type to the root, any organizational unit (OU), or account in that root. You can undo this by using the DisablePolicyType operation.

This is an asynchronous request that AWS performs in the background. AWS recommends that you first use ListRoots to see the status of policy types for a specified root, and then use this operation.

This operation can be called only from the organization's master account.

You can enable a policy type in a root only if that policy type is available in the organization. To view the status of available policy types in the organization, use DescribeOrganization.

", @@ -238,7 +238,7 @@ } }, "ConstraintViolationException": { - "base": "

Performing this operation violates a minimum or maximum value limit. For example, attempting to remove the last service control policy (SCP) from an OU or root, inviting or creating too many accounts to the organization, or attaching too many policies to an account, OU, or root. This exception includes a reason that contains additional information about the violated limit.

Some of the reasons in the following list might not be applicable to this specific API or operation:

", + "base": "

Performing this operation violates a minimum or maximum value limit. For example, attempting to remove the last service control policy (SCP) from an OU or root, inviting or creating too many accounts to the organization, or attaching too many policies to an account, OU, or root. This exception includes a reason that contains additional information about the violated limit:

Some of the reasons in the following list might not be applicable to this specific API or operation.

", "refs": { } }, @@ -522,7 +522,7 @@ "EffectivePolicyType": { "base": null, "refs": { - "DescribeEffectivePolicyRequest$PolicyType": "

The type of policy that you want information about.

", + "DescribeEffectivePolicyRequest$PolicyType": "

The type of policy that you want information about. You can specify one of the following values:

", "EffectivePolicy$PolicyType": "

The policy type.

" } }, @@ -778,7 +778,7 @@ } }, "InvalidInputException": { - "base": "

The requested operation failed because you provided invalid values for one or more of the request parameters. This exception includes a reason that contains additional information about the violated limit:

Some of the reasons in the following list might not be applicable to this specific API or operation:

", + "base": "

The requested operation failed because you provided invalid values for one or more of the request parameters. This exception includes a reason that contains additional information about the violated limit:

Some of the reasons in the following list might not be applicable to this specific API or operation.

", "refs": { } }, @@ -1173,7 +1173,7 @@ "PolicyContent": { "base": null, "refs": { - "CreatePolicyRequest$Content": "

The policy content to add to the new policy. For example, if you create a service control policy (SCP), this string must be JSON text that specifies the permissions that admins in attached accounts can delegate to their users, groups, and roles. For more information about the SCP syntax, see Service Control Policy Syntax in the AWS Organizations User Guide.

", + "CreatePolicyRequest$Content": "

The policy text content to add to the new policy. The text that you supply must adhere to the rules of the policy type you specify in the Type parameter.

", "EffectivePolicy$PolicyContent": "

The text content of the policy.

", "Policy$Content": "

The text content of the policy.

", "UpdatePolicyRequest$Content": "

If provided, the new content for the policy. The text must be correctly formatted JSON that complies with the syntax for the policy's type. For more information, see Service Control Policy Syntax in the AWS Organizations User Guide.

" @@ -1233,7 +1233,7 @@ "base": null, "refs": { "AttachPolicyRequest$TargetId": "

The unique identifier (ID) of the root, OU, or account that you want to attach the policy to. You can get the ID by calling the ListRoots, ListOrganizationalUnitsForParent, or ListAccounts operations.

The regex pattern for a target ID string requires one of the following:

", - "DescribeEffectivePolicyRequest$TargetId": "

When you're signed in as the master account, specify the ID of the account that you want details about. Specifying an organization root or OU as the target is not supported.

", + "DescribeEffectivePolicyRequest$TargetId": "

When you're signed in as the master account, specify the ID of the account that you want details about. Specifying an organization root or organizational unit (OU) as the target is not supported.

", "DetachPolicyRequest$TargetId": "

The unique identifier (ID) of the root, OU, or account that you want to detach the policy from. You can get the ID from the ListRoots, ListOrganizationalUnitsForParent, or ListAccounts operations.

The regex pattern for a target ID string requires one of the following:

", "EffectivePolicy$TargetId": "

The account ID of the policy target.

", "ListPoliciesForTargetRequest$TargetId": "

The unique identifier (ID) of the root, organizational unit, or account whose policies you want to list.

The regex pattern for a target ID string requires one of the following:

", @@ -1255,11 +1255,11 @@ "PolicyType": { "base": null, "refs": { - "CreatePolicyRequest$Type": "

The type of policy to create.

In the current release, the only type of policy that you can create is a service control policy (SCP).

", - "DisablePolicyTypeRequest$PolicyType": "

The policy type that you want to disable in this root.

", - "EnablePolicyTypeRequest$PolicyType": "

The policy type that you want to enable.

", - "ListPoliciesForTargetRequest$Filter": "

The type of policy that you want to include in the returned list.

", - "ListPoliciesRequest$Filter": "

Specifies the type of policy that you want to include in the response.

", + "CreatePolicyRequest$Type": "

The type of policy to create. You can specify one of the following values:

", + "DisablePolicyTypeRequest$PolicyType": "

The policy type that you want to disable in this root. You can specify one of the following values:

", + "EnablePolicyTypeRequest$PolicyType": "

The policy type that you want to enable. You can specify one of the following values:

", + "ListPoliciesForTargetRequest$Filter": "

The type of policy that you want to include in the returned list. You must specify one of the following values:

", + "ListPoliciesRequest$Filter": "

Specifies the type of policy that you want to include in the response. You must specify one of the following values:

", "PolicySummary$Type": "

The type of policy.

", "PolicyTypeSummary$Type": "

The name of the policy type.

" } @@ -1270,7 +1270,7 @@ } }, "PolicyTypeNotAvailableForOrganizationException": { - "base": "

You can't use the specified policy type with the feature set currently enabled for this organization. For example, you can enable SCPs only after you enable all features in the organization. For more information, see Enabling and Disabling a Policy Type on a Root in the AWS Organizations User Guide.

", + "base": "

You can't use the specified policy type with the feature set currently enabled for this organization. For example, you can enable SCPs only after you enable all features in the organization. For more information, see Managing AWS Organizations Policiesin the AWS Organizations User Guide.

", "refs": { } }, @@ -1418,7 +1418,7 @@ "base": null, "refs": { "ListTagsForResourceResponse$Tags": "

The tags that are assigned to the resource.

", - "TagResourceRequest$Tags": "

The tag to add to the specified resource. Specifying the tag key is required. You can set the value of a tag to an empty string, but you can't set the value of a tag to null.

" + "TagResourceRequest$Tags": "

The tag to add to the specified resource. You must specify both a tag key and value. You can set the value of a tag to an empty string, but you can't set it to null.

" } }, "TargetName": { @@ -1454,12 +1454,12 @@ } }, "TooManyRequestsException": { - "base": "

You have sent too many requests in too short a period of time. The limit helps protect against denial-of-service attacks. Try again later.

For information on limits that affect AWS Organizations, see Limits of AWS Organizations in the AWS Organizations User Guide.

", + "base": "

You have sent too many requests in too short a period of time. The quota helps protect against denial-of-service attacks. Try again later.

For information about quotas that affect AWS Organizations, see Quotas for AWS Organizationsin the AWS Organizations User Guide.

", "refs": { } }, "UnsupportedAPIEndpointException": { - "base": "

This action isn't available in the current Region.

", + "base": "

This action isn't available in the current AWS Region.

", "refs": { } }, diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index fd515dc5ffa..f456b55f4b5 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -6397,6 +6397,24 @@ } } }, + "organizations" : { + "endpoints" : { + "aws-cn-global" : { + "credentialScope" : { + "region" : "cn-northwest-1" + }, + "hostname" : "organizations.cn-northwest-1.amazonaws.com.cn" + }, + "fips-aws-cn-global" : { + "credentialScope" : { + "region" : "cn-northwest-1" + }, + "hostname" : "organizations.cn-northwest-1.amazonaws.com.cn" + } + }, + "isRegionalized" : false, + "partitionEndpoint" : "aws-cn-global" + }, "polly" : { "endpoints" : { "cn-northwest-1" : { } diff --git a/service/amplify/api.go b/service/amplify/api.go index 76a70164f40..082238f4253 100644 --- a/service/amplify/api.go +++ b/service/amplify/api.go @@ -57,7 +57,7 @@ func (c *Amplify) CreateAppRequest(input *CreateAppInput) (req *request.Request, // CreateApp API operation for AWS Amplify. // -// Creates a new Amplify App. +// Creates a new Amplify app. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -68,22 +68,19 @@ func (c *Amplify) CreateAppRequest(input *CreateAppInput) (req *request.Request, // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * LimitExceededException -// Exception thrown when a resource could not be created because of service -// limits. +// A resource could not be created because service quotas were exceeded. // // * DependentServiceFailureException -// Exception thrown when an operation fails due to a dependent service throwing -// an exception. +// An operation failed because a dependent service threw an exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp func (c *Amplify) CreateApp(input *CreateAppInput) (*CreateAppOutput, error) { @@ -151,7 +148,7 @@ func (c *Amplify) CreateBackendEnvironmentRequest(input *CreateBackendEnvironmen // CreateBackendEnvironment API operation for AWS Amplify. // -// Creates a new backend environment for an Amplify App. +// Creates a new backend environment for an Amplify app. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -162,21 +159,19 @@ func (c *Amplify) CreateBackendEnvironmentRequest(input *CreateBackendEnvironmen // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * LimitExceededException -// Exception thrown when a resource could not be created because of service -// limits. +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBackendEnvironment func (c *Amplify) CreateBackendEnvironment(input *CreateBackendEnvironmentInput) (*CreateBackendEnvironmentOutput, error) { @@ -244,7 +239,7 @@ func (c *Amplify) CreateBranchRequest(input *CreateBranchInput) (req *request.Re // CreateBranch API operation for AWS Amplify. // -// Creates a new Branch for an Amplify App. +// Creates a new branch for an Amplify app. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -255,25 +250,22 @@ func (c *Amplify) CreateBranchRequest(input *CreateBranchInput) (req *request.Re // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * LimitExceededException -// Exception thrown when a resource could not be created because of service -// limits. +// A resource could not be created because service quotas were exceeded. // // * DependentServiceFailureException -// Exception thrown when an operation fails due to a dependent service throwing -// an exception. +// An operation failed because a dependent service threw an exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranch func (c *Amplify) CreateBranch(input *CreateBranchInput) (*CreateBranchOutput, error) { @@ -341,7 +333,8 @@ func (c *Amplify) CreateDeploymentRequest(input *CreateDeploymentInput) (req *re // CreateDeployment API operation for AWS Amplify. // -// Create a deployment for manual deploy apps. (Apps are not connected to repository) +// Creates a deployment for a manually deployed Amplify app. Manually deployed +// apps are not connected to a repository. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -352,18 +345,16 @@ func (c *Amplify) CreateDeploymentRequest(input *CreateDeploymentInput) (req *re // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * LimitExceededException -// Exception thrown when a resource could not be created because of service -// limits. +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDeployment func (c *Amplify) CreateDeployment(input *CreateDeploymentInput) (*CreateDeploymentOutput, error) { @@ -431,7 +422,8 @@ func (c *Amplify) CreateDomainAssociationRequest(input *CreateDomainAssociationI // CreateDomainAssociation API operation for AWS Amplify. // -// Create a new DomainAssociation on an App +// Creates a new domain association for an Amplify app. This action associates +// a custom domain with the Amplify app // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -442,25 +434,22 @@ func (c *Amplify) CreateDomainAssociationRequest(input *CreateDomainAssociationI // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * LimitExceededException -// Exception thrown when a resource could not be created because of service -// limits. +// A resource could not be created because service quotas were exceeded. // // * DependentServiceFailureException -// Exception thrown when an operation fails due to a dependent service throwing -// an exception. +// An operation failed because a dependent service threw an exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociation func (c *Amplify) CreateDomainAssociation(input *CreateDomainAssociationInput) (*CreateDomainAssociationOutput, error) { @@ -528,7 +517,7 @@ func (c *Amplify) CreateWebhookRequest(input *CreateWebhookInput) (req *request. // CreateWebhook API operation for AWS Amplify. // -// Create a new webhook on an App. +// Creates a new webhook on an Amplify app. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -539,25 +528,22 @@ func (c *Amplify) CreateWebhookRequest(input *CreateWebhookInput) (req *request. // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * LimitExceededException -// Exception thrown when a resource could not be created because of service -// limits. +// A resource could not be created because service quotas were exceeded. // // * DependentServiceFailureException -// Exception thrown when an operation fails due to a dependent service throwing -// an exception. +// An operation failed because a dependent service threw an exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateWebhook func (c *Amplify) CreateWebhook(input *CreateWebhookInput) (*CreateWebhookOutput, error) { @@ -625,7 +611,7 @@ func (c *Amplify) DeleteAppRequest(input *DeleteAppInput) (req *request.Request, // DeleteApp API operation for AWS Amplify. // -// Delete an existing Amplify App by appId. +// Deletes an existing Amplify app specified by an app ID. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -636,21 +622,19 @@ func (c *Amplify) DeleteAppRequest(input *DeleteAppInput) (req *request.Request, // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * DependentServiceFailureException -// Exception thrown when an operation fails due to a dependent service throwing -// an exception. +// An operation failed because a dependent service threw an exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp func (c *Amplify) DeleteApp(input *DeleteAppInput) (*DeleteAppOutput, error) { @@ -718,7 +702,7 @@ func (c *Amplify) DeleteBackendEnvironmentRequest(input *DeleteBackendEnvironmen // DeleteBackendEnvironment API operation for AWS Amplify. // -// Delete backend environment for an Amplify App. +// Deletes a backend environment for an Amplify app. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -729,21 +713,19 @@ func (c *Amplify) DeleteBackendEnvironmentRequest(input *DeleteBackendEnvironmen // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * DependentServiceFailureException -// Exception thrown when an operation fails due to a dependent service throwing -// an exception. +// An operation failed because a dependent service threw an exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBackendEnvironment func (c *Amplify) DeleteBackendEnvironment(input *DeleteBackendEnvironmentInput) (*DeleteBackendEnvironmentOutput, error) { @@ -811,7 +793,7 @@ func (c *Amplify) DeleteBranchRequest(input *DeleteBranchInput) (req *request.Re // DeleteBranch API operation for AWS Amplify. // -// Deletes a branch for an Amplify App. +// Deletes a branch for an Amplify app. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -822,21 +804,19 @@ func (c *Amplify) DeleteBranchRequest(input *DeleteBranchInput) (req *request.Re // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * DependentServiceFailureException -// Exception thrown when an operation fails due to a dependent service throwing -// an exception. +// An operation failed because a dependent service threw an exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranch func (c *Amplify) DeleteBranch(input *DeleteBranchInput) (*DeleteBranchOutput, error) { @@ -904,7 +884,7 @@ func (c *Amplify) DeleteDomainAssociationRequest(input *DeleteDomainAssociationI // DeleteDomainAssociation API operation for AWS Amplify. // -// Deletes a DomainAssociation. +// Deletes a domain association for an Amplify app. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -915,21 +895,19 @@ func (c *Amplify) DeleteDomainAssociationRequest(input *DeleteDomainAssociationI // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * DependentServiceFailureException -// Exception thrown when an operation fails due to a dependent service throwing -// an exception. +// An operation failed because a dependent service threw an exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociation func (c *Amplify) DeleteDomainAssociation(input *DeleteDomainAssociationInput) (*DeleteDomainAssociationOutput, error) { @@ -997,7 +975,7 @@ func (c *Amplify) DeleteJobRequest(input *DeleteJobInput) (req *request.Request, // DeleteJob API operation for AWS Amplify. // -// Delete a job, for an Amplify branch, part of Amplify App. +// Deletes a job for a branch of an Amplify app. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1008,21 +986,19 @@ func (c *Amplify) DeleteJobRequest(input *DeleteJobInput) (req *request.Request, // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * LimitExceededException -// Exception thrown when a resource could not be created because of service -// limits. +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJob func (c *Amplify) DeleteJob(input *DeleteJobInput) (*DeleteJobOutput, error) { @@ -1101,21 +1077,19 @@ func (c *Amplify) DeleteWebhookRequest(input *DeleteWebhookInput) (req *request. // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * LimitExceededException -// Exception thrown when a resource could not be created because of service -// limits. +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteWebhook func (c *Amplify) DeleteWebhook(input *DeleteWebhookInput) (*DeleteWebhookOutput, error) { @@ -1183,7 +1157,8 @@ func (c *Amplify) GenerateAccessLogsRequest(input *GenerateAccessLogsInput) (req // GenerateAccessLogs API operation for AWS Amplify. // -// Retrieve website access logs for a specific time range via a pre-signed URL. +// Returns the website access logs for a specific time range using a presigned +// URL. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1194,17 +1169,16 @@ func (c *Amplify) GenerateAccessLogsRequest(input *GenerateAccessLogsInput) (req // // Returned Error Types: // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GenerateAccessLogs func (c *Amplify) GenerateAccessLogs(input *GenerateAccessLogsInput) (*GenerateAccessLogsOutput, error) { @@ -1272,7 +1246,7 @@ func (c *Amplify) GetAppRequest(input *GetAppInput) (req *request.Request, outpu // GetApp API operation for AWS Amplify. // -// Retrieves an existing Amplify App by appId. +// Returns an existing Amplify app by appID. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1283,17 +1257,16 @@ func (c *Amplify) GetAppRequest(input *GetAppInput) (req *request.Request, outpu // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp func (c *Amplify) GetApp(input *GetAppInput) (*GetAppOutput, error) { @@ -1361,7 +1334,7 @@ func (c *Amplify) GetArtifactUrlRequest(input *GetArtifactUrlInput) (req *reques // GetArtifactUrl API operation for AWS Amplify. // -// Retrieves artifact info that corresponds to a artifactId. +// Returns the artifact info that corresponds to an artifact id. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1372,21 +1345,19 @@ func (c *Amplify) GetArtifactUrlRequest(input *GetArtifactUrlInput) (req *reques // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * LimitExceededException -// Exception thrown when a resource could not be created because of service -// limits. +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetArtifactUrl func (c *Amplify) GetArtifactUrl(input *GetArtifactUrlInput) (*GetArtifactUrlOutput, error) { @@ -1454,7 +1425,7 @@ func (c *Amplify) GetBackendEnvironmentRequest(input *GetBackendEnvironmentInput // GetBackendEnvironment API operation for AWS Amplify. // -// Retrieves a backend environment for an Amplify App. +// Returns a backend environment for an Amplify app. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1465,17 +1436,16 @@ func (c *Amplify) GetBackendEnvironmentRequest(input *GetBackendEnvironmentInput // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBackendEnvironment func (c *Amplify) GetBackendEnvironment(input *GetBackendEnvironmentInput) (*GetBackendEnvironmentOutput, error) { @@ -1543,7 +1513,7 @@ func (c *Amplify) GetBranchRequest(input *GetBranchInput) (req *request.Request, // GetBranch API operation for AWS Amplify. // -// Retrieves a branch for an Amplify App. +// Returns a branch for an Amplify app. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1554,17 +1524,16 @@ func (c *Amplify) GetBranchRequest(input *GetBranchInput) (req *request.Request, // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranch func (c *Amplify) GetBranch(input *GetBranchInput) (*GetBranchOutput, error) { @@ -1632,7 +1601,7 @@ func (c *Amplify) GetDomainAssociationRequest(input *GetDomainAssociationInput) // GetDomainAssociation API operation for AWS Amplify. // -// Retrieves domain info that corresponds to an appId and domainName. +// Returns the domain information for an Amplify app. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1643,17 +1612,16 @@ func (c *Amplify) GetDomainAssociationRequest(input *GetDomainAssociationInput) // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociation func (c *Amplify) GetDomainAssociation(input *GetDomainAssociationInput) (*GetDomainAssociationOutput, error) { @@ -1721,7 +1689,7 @@ func (c *Amplify) GetJobRequest(input *GetJobInput) (req *request.Request, outpu // GetJob API operation for AWS Amplify. // -// Get a job for a branch, part of an Amplify App. +// Returns a job for a branch of an Amplify app. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1732,21 +1700,19 @@ func (c *Amplify) GetJobRequest(input *GetJobInput) (req *request.Request, outpu // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * LimitExceededException -// Exception thrown when a resource could not be created because of service -// limits. +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetJob func (c *Amplify) GetJob(input *GetJobInput) (*GetJobOutput, error) { @@ -1814,7 +1780,7 @@ func (c *Amplify) GetWebhookRequest(input *GetWebhookInput) (req *request.Reques // GetWebhook API operation for AWS Amplify. // -// Retrieves webhook info that corresponds to a webhookId. +// Returns the webhook information that corresponds to a specified webhook ID. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1825,21 +1791,19 @@ func (c *Amplify) GetWebhookRequest(input *GetWebhookInput) (req *request.Reques // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * LimitExceededException -// Exception thrown when a resource could not be created because of service -// limits. +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetWebhook func (c *Amplify) GetWebhook(input *GetWebhookInput) (*GetWebhookOutput, error) { @@ -1907,7 +1871,7 @@ func (c *Amplify) ListAppsRequest(input *ListAppsInput) (req *request.Request, o // ListApps API operation for AWS Amplify. // -// Lists existing Amplify Apps. +// Returns a list of the existing Amplify apps. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1918,14 +1882,13 @@ func (c *Amplify) ListAppsRequest(input *ListAppsInput) (req *request.Request, o // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps func (c *Amplify) ListApps(input *ListAppsInput) (*ListAppsOutput, error) { @@ -1993,7 +1956,7 @@ func (c *Amplify) ListArtifactsRequest(input *ListArtifactsInput) (req *request. // ListArtifacts API operation for AWS Amplify. // -// List artifacts with an app, a branch, a job and an artifact type. +// Returns a list of artifacts for a specified app, branch, and job. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2004,18 +1967,16 @@ func (c *Amplify) ListArtifactsRequest(input *ListArtifactsInput) (req *request. // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * LimitExceededException -// Exception thrown when a resource could not be created because of service -// limits. +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListArtifacts func (c *Amplify) ListArtifacts(input *ListArtifactsInput) (*ListArtifactsOutput, error) { @@ -2083,7 +2044,7 @@ func (c *Amplify) ListBackendEnvironmentsRequest(input *ListBackendEnvironmentsI // ListBackendEnvironments API operation for AWS Amplify. // -// Lists backend environments for an Amplify App. +// Lists the backend environments for an Amplify app. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2094,14 +2055,13 @@ func (c *Amplify) ListBackendEnvironmentsRequest(input *ListBackendEnvironmentsI // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBackendEnvironments func (c *Amplify) ListBackendEnvironments(input *ListBackendEnvironmentsInput) (*ListBackendEnvironmentsOutput, error) { @@ -2169,7 +2129,7 @@ func (c *Amplify) ListBranchesRequest(input *ListBranchesInput) (req *request.Re // ListBranches API operation for AWS Amplify. // -// Lists branches for an Amplify App. +// Lists the branches of an Amplify app. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2180,14 +2140,13 @@ func (c *Amplify) ListBranchesRequest(input *ListBranchesInput) (req *request.Re // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranches func (c *Amplify) ListBranches(input *ListBranchesInput) (*ListBranchesOutput, error) { @@ -2255,7 +2214,7 @@ func (c *Amplify) ListDomainAssociationsRequest(input *ListDomainAssociationsInp // ListDomainAssociations API operation for AWS Amplify. // -// List domains with an app +// Returns the domain associations for an Amplify app. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2266,14 +2225,13 @@ func (c *Amplify) ListDomainAssociationsRequest(input *ListDomainAssociationsInp // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociations func (c *Amplify) ListDomainAssociations(input *ListDomainAssociationsInput) (*ListDomainAssociationsOutput, error) { @@ -2341,7 +2299,7 @@ func (c *Amplify) ListJobsRequest(input *ListJobsInput) (req *request.Request, o // ListJobs API operation for AWS Amplify. // -// List Jobs for a branch, part of an Amplify App. +// Lists the jobs for a branch of an Amplify app. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2352,18 +2310,16 @@ func (c *Amplify) ListJobsRequest(input *ListJobsInput) (req *request.Request, o // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * LimitExceededException -// Exception thrown when a resource could not be created because of service -// limits. +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobs func (c *Amplify) ListJobs(input *ListJobsInput) (*ListJobsOutput, error) { @@ -2431,7 +2387,7 @@ func (c *Amplify) ListTagsForResourceRequest(input *ListTagsForResourceInput) (r // ListTagsForResource API operation for AWS Amplify. // -// List tags for resource. +// Returns a list of tags for a specified Amazon Resource Name (ARN). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2442,14 +2398,13 @@ func (c *Amplify) ListTagsForResourceRequest(input *ListTagsForResourceInput) (r // // Returned Error Types: // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * ResourceNotFoundException -// Exception thrown when an operation fails due to non-existent resource. +// An operation failed due to a non-existent resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListTagsForResource func (c *Amplify) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2517,7 +2472,7 @@ func (c *Amplify) ListWebhooksRequest(input *ListWebhooksInput) (req *request.Re // ListWebhooks API operation for AWS Amplify. // -// List webhooks with an app. +// Returns a list of webhooks for an Amplify app. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2528,18 +2483,16 @@ func (c *Amplify) ListWebhooksRequest(input *ListWebhooksInput) (req *request.Re // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * LimitExceededException -// Exception thrown when a resource could not be created because of service -// limits. +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListWebhooks func (c *Amplify) ListWebhooks(input *ListWebhooksInput) (*ListWebhooksOutput, error) { @@ -2607,7 +2560,8 @@ func (c *Amplify) StartDeploymentRequest(input *StartDeploymentInput) (req *requ // StartDeployment API operation for AWS Amplify. // -// Start a deployment for manual deploy apps. (Apps are not connected to repository) +// Starts a deployment for a manually deployed app. Manually deployed apps are +// not connected to a repository. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2618,21 +2572,19 @@ func (c *Amplify) StartDeploymentRequest(input *StartDeploymentInput) (req *requ // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * LimitExceededException -// Exception thrown when a resource could not be created because of service -// limits. +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartDeployment func (c *Amplify) StartDeployment(input *StartDeploymentInput) (*StartDeploymentOutput, error) { @@ -2700,7 +2652,7 @@ func (c *Amplify) StartJobRequest(input *StartJobInput) (req *request.Request, o // StartJob API operation for AWS Amplify. // -// Starts a new job for a branch, part of an Amplify App. +// Starts a new job for a branch of an Amplify app. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2711,21 +2663,19 @@ func (c *Amplify) StartJobRequest(input *StartJobInput) (req *request.Request, o // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * LimitExceededException -// Exception thrown when a resource could not be created because of service -// limits. +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJob func (c *Amplify) StartJob(input *StartJobInput) (*StartJobOutput, error) { @@ -2793,7 +2743,7 @@ func (c *Amplify) StopJobRequest(input *StopJobInput) (req *request.Request, out // StopJob API operation for AWS Amplify. // -// Stop a job that is in progress, for an Amplify branch, part of Amplify App. +// Stops a job that is in progress for a branch of an Amplify app. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2804,21 +2754,19 @@ func (c *Amplify) StopJobRequest(input *StopJobInput) (req *request.Request, out // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * LimitExceededException -// Exception thrown when a resource could not be created because of service -// limits. +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJob func (c *Amplify) StopJob(input *StopJobInput) (*StopJobOutput, error) { @@ -2887,7 +2835,7 @@ func (c *Amplify) TagResourceRequest(input *TagResourceInput) (req *request.Requ // TagResource API operation for AWS Amplify. // -// Tag resource with tag key and value. +// Tags the resource with a tag key and value. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2898,14 +2846,13 @@ func (c *Amplify) TagResourceRequest(input *TagResourceInput) (req *request.Requ // // Returned Error Types: // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * ResourceNotFoundException -// Exception thrown when an operation fails due to non-existent resource. +// An operation failed due to a non-existent resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/TagResource func (c *Amplify) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2974,7 +2921,7 @@ func (c *Amplify) UntagResourceRequest(input *UntagResourceInput) (req *request. // UntagResource API operation for AWS Amplify. // -// Untag resource with resourceArn. +// Untags a resource with a specified Amazon Resource Name (ARN). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2985,14 +2932,13 @@ func (c *Amplify) UntagResourceRequest(input *UntagResourceInput) (req *request. // // Returned Error Types: // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * ResourceNotFoundException -// Exception thrown when an operation fails due to non-existent resource. +// An operation failed due to a non-existent resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UntagResource func (c *Amplify) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3060,7 +3006,7 @@ func (c *Amplify) UpdateAppRequest(input *UpdateAppInput) (req *request.Request, // UpdateApp API operation for AWS Amplify. // -// Updates an existing Amplify App. +// Updates an existing Amplify app. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3071,17 +3017,16 @@ func (c *Amplify) UpdateAppRequest(input *UpdateAppInput) (req *request.Request, // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp func (c *Amplify) UpdateApp(input *UpdateAppInput) (*UpdateAppOutput, error) { @@ -3149,7 +3094,7 @@ func (c *Amplify) UpdateBranchRequest(input *UpdateBranchInput) (req *request.Re // UpdateBranch API operation for AWS Amplify. // -// Updates a branch for an Amplify App. +// Updates a branch for an Amplify app. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3160,21 +3105,19 @@ func (c *Amplify) UpdateBranchRequest(input *UpdateBranchInput) (req *request.Re // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * DependentServiceFailureException -// Exception thrown when an operation fails due to a dependent service throwing -// an exception. +// An operation failed because a dependent service threw an exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranch func (c *Amplify) UpdateBranch(input *UpdateBranchInput) (*UpdateBranchOutput, error) { @@ -3242,7 +3185,7 @@ func (c *Amplify) UpdateDomainAssociationRequest(input *UpdateDomainAssociationI // UpdateDomainAssociation API operation for AWS Amplify. // -// Create a new DomainAssociation on an App +// Creates a new domain association for an Amplify app. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3253,21 +3196,19 @@ func (c *Amplify) UpdateDomainAssociationRequest(input *UpdateDomainAssociationI // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * DependentServiceFailureException -// Exception thrown when an operation fails due to a dependent service throwing -// an exception. +// An operation failed because a dependent service threw an exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociation func (c *Amplify) UpdateDomainAssociation(input *UpdateDomainAssociationInput) (*UpdateDomainAssociationOutput, error) { @@ -3335,7 +3276,7 @@ func (c *Amplify) UpdateWebhookRequest(input *UpdateWebhookInput) (req *request. // UpdateWebhook API operation for AWS Amplify. // -// Update a webhook. +// Updates a webhook. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3346,21 +3287,19 @@ func (c *Amplify) UpdateWebhookRequest(input *UpdateWebhookInput) (req *request. // // Returned Error Types: // * BadRequestException -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. // // * UnauthorizedException -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. // // * NotFoundException -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. // // * InternalFailureException -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. // // * DependentServiceFailureException -// Exception thrown when an operation fails due to a dependent service throwing -// an exception. +// An operation failed because a dependent service threw an exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateWebhook func (c *Amplify) UpdateWebhook(input *UpdateWebhookInput) (*UpdateWebhookOutput, error) { @@ -3384,94 +3323,100 @@ func (c *Amplify) UpdateWebhookWithContext(ctx aws.Context, input *UpdateWebhook return out, req.Send() } -// Amplify App represents different branches of a repository for building, deploying, -// and hosting. +// Represents the different branches of a repository for building, deploying, +// and hosting an Amplify app. type App struct { _ struct{} `type:"structure"` - // ARN for the Amplify App. + // The Amazon Resource Name (ARN) of the Amplify app. // // AppArn is a required field AppArn *string `locationName:"appArn" type:"string" required:"true"` - // Unique Id for the Amplify App. + // The unique ID of the Amplify app. // // AppId is a required field AppId *string `locationName:"appId" min:"1" type:"string" required:"true"` - // Automated branch creation config for the Amplify App. + // Describes the automated branch creation configuration for the Amplify app. AutoBranchCreationConfig *AutoBranchCreationConfig `locationName:"autoBranchCreationConfig" type:"structure"` - // Automated branch creation glob patterns for the Amplify App. + // Describes the automated branch creation glob patterns for the Amplify app. AutoBranchCreationPatterns []*string `locationName:"autoBranchCreationPatterns" type:"list"` - // Basic Authorization credentials for branches for the Amplify App. - BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string"` + // The basic authorization credentials for branches for the Amplify app. + BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string" sensitive:"true"` - // BuildSpec content for Amplify App. + // Describes the content of the build specification (build spec) for the Amplify + // app. BuildSpec *string `locationName:"buildSpec" min:"1" type:"string"` - // Create date / time for the Amplify App. + // Creates a date and time for the Amplify app. // // CreateTime is a required field CreateTime *time.Time `locationName:"createTime" type:"timestamp" required:"true"` - // Custom redirect / rewrite rules for the Amplify App. + // Describes the custom redirect and rewrite rules for the Amplify app. CustomRules []*CustomRule `locationName:"customRules" type:"list"` - // Default domain for the Amplify App. + // The default domain for the Amplify app. // // DefaultDomain is a required field DefaultDomain *string `locationName:"defaultDomain" min:"1" type:"string" required:"true"` - // Description for the Amplify App. + // The description for the Amplify app. // // Description is a required field Description *string `locationName:"description" type:"string" required:"true"` - // Enables automated branch creation for the Amplify App. + // Enables automated branch creation for the Amplify app. EnableAutoBranchCreation *bool `locationName:"enableAutoBranchCreation" type:"boolean"` - // Enables Basic Authorization for branches for the Amplify App. + // Enables basic authorization for the Amplify app's branches. // // EnableBasicAuth is a required field EnableBasicAuth *bool `locationName:"enableBasicAuth" type:"boolean" required:"true"` - // Enables auto-building of branches for the Amplify App. + // Enables the auto-building of branches for the Amplify app. // // EnableBranchAutoBuild is a required field EnableBranchAutoBuild *bool `locationName:"enableBranchAutoBuild" type:"boolean" required:"true"` - // Environment Variables for the Amplify App. + // Automatically disconnects a branch in the Amplify Console when you delete + // a branch from your Git repository. + EnableBranchAutoDeletion *bool `locationName:"enableBranchAutoDeletion" type:"boolean"` + + // The environment variables for the Amplify app. // // EnvironmentVariables is a required field EnvironmentVariables map[string]*string `locationName:"environmentVariables" type:"map" required:"true"` - // IAM service role ARN for the Amplify App. + // The AWS Identity and Access Management (IAM) service role for the Amazon + // Resource Name (ARN) of the Amplify app. IamServiceRoleArn *string `locationName:"iamServiceRoleArn" min:"1" type:"string"` - // Name for the Amplify App. + // The name for the Amplify app. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` - // Platform for the Amplify App. + // The platform for the Amplify app. // // Platform is a required field Platform *string `locationName:"platform" type:"string" required:"true" enum:"Platform"` - // Structure with Production Branch information. + // Describes the information about a production branch of the Amplify app. ProductionBranch *ProductionBranch `locationName:"productionBranch" type:"structure"` - // Repository for the Amplify App. + // The repository for the Amplify app. // // Repository is a required field Repository *string `locationName:"repository" type:"string" required:"true"` - // Tag for Amplify App. + // The tag for the Amplify app. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` - // Update date / time for the Amplify App. + // Updates the date and time for the Amplify app. // // UpdateTime is a required field UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" required:"true"` @@ -3565,6 +3510,12 @@ func (s *App) SetEnableBranchAutoBuild(v bool) *App { return s } +// SetEnableBranchAutoDeletion sets the EnableBranchAutoDeletion field's value. +func (s *App) SetEnableBranchAutoDeletion(v bool) *App { + s.EnableBranchAutoDeletion = &v + return s +} + // SetEnvironmentVariables sets the EnvironmentVariables field's value. func (s *App) SetEnvironmentVariables(v map[string]*string) *App { s.EnvironmentVariables = v @@ -3613,16 +3564,16 @@ func (s *App) SetUpdateTime(v time.Time) *App { return s } -// Structure for artifact. +// Describes an artifact. type Artifact struct { _ struct{} `type:"structure"` - // File name for the artifact. + // The file name for the artifact. // // ArtifactFileName is a required field ArtifactFileName *string `locationName:"artifactFileName" type:"string" required:"true"` - // Unique Id for a artifact. + // The unique ID for the artifact. // // ArtifactId is a required field ArtifactId *string `locationName:"artifactId" type:"string" required:"true"` @@ -3650,35 +3601,35 @@ func (s *Artifact) SetArtifactId(v string) *Artifact { return s } -// Structure with auto branch creation config. +// Describes the automated branch creation configuration. type AutoBranchCreationConfig struct { _ struct{} `type:"structure"` - // Basic Authorization credentials for the auto created branch. - BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string"` + // The basic authorization credentials for the autocreated branch. + BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string" sensitive:"true"` - // BuildSpec for the auto created branch. + // The build specification (build spec) for the autocreated branch. BuildSpec *string `locationName:"buildSpec" min:"1" type:"string"` - // Enables auto building for the auto created branch. + // Enables auto building for the autocreated branch. EnableAutoBuild *bool `locationName:"enableAutoBuild" type:"boolean"` - // Enables Basic Auth for the auto created branch. + // Enables basic authorization for the autocreated branch. EnableBasicAuth *bool `locationName:"enableBasicAuth" type:"boolean"` - // Enables Pull Request Preview for auto created branch. + // Enables pull request preview for the autocreated branch. EnablePullRequestPreview *bool `locationName:"enablePullRequestPreview" type:"boolean"` - // Environment Variables for the auto created branch. + // The environment variables for the autocreated branch. EnvironmentVariables map[string]*string `locationName:"environmentVariables" type:"map"` - // Framework for the auto created branch. + // The framework for the autocreated branch. Framework *string `locationName:"framework" type:"string"` - // The Amplify Environment name for the pull request. + // The Amplify environment name for the pull request. PullRequestEnvironmentName *string `locationName:"pullRequestEnvironmentName" type:"string"` - // Stage for the auto created branch. + // Describes the current stage for the autocreated branch. Stage *string `locationName:"stage" type:"string" enum:"Stage"` } @@ -3759,33 +3710,35 @@ func (s *AutoBranchCreationConfig) SetStage(v string) *AutoBranchCreationConfig return s } -// Backend environment for an Amplify App. +// Describes the backend environment for an Amplify app. type BackendEnvironment struct { _ struct{} `type:"structure"` - // Arn for a backend environment, part of an Amplify App. + // The Amazon Resource Name (ARN) for a backend environment that is part of + // an Amplify app. // // BackendEnvironmentArn is a required field BackendEnvironmentArn *string `locationName:"backendEnvironmentArn" min:"1" type:"string" required:"true"` - // Creation date and time for a backend environment, part of an Amplify App. + // The creation date and time for a backend environment that is part of an Amplify + // app. // // CreateTime is a required field CreateTime *time.Time `locationName:"createTime" type:"timestamp" required:"true"` - // Name of deployment artifacts. + // The name of deployment artifacts. DeploymentArtifacts *string `locationName:"deploymentArtifacts" min:"1" type:"string"` - // Name for a backend environment, part of an Amplify App. + // The name for a backend environment that is part of an Amplify app. // // EnvironmentName is a required field EnvironmentName *string `locationName:"environmentName" min:"1" type:"string" required:"true"` - // CloudFormation stack name of backend environment. + // The AWS CloudFormation stack name of a backend environment. StackName *string `locationName:"stackName" min:"1" type:"string"` - // Last updated date and time for a backend environment, part of an Amplify - // App. + // The last updated date and time for a backend environment that is part of + // an Amplify app. // // UpdateTime is a required field UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" required:"true"` @@ -3837,7 +3790,7 @@ func (s *BackendEnvironment) SetUpdateTime(v time.Time) *BackendEnvironment { return s } -// Exception thrown when a request contains unexpected data. +// A request contains unexpected data. type BadRequestException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -3893,48 +3846,50 @@ func (s *BadRequestException) RequestID() string { return s.RespMetadata.RequestID } -// Branch for an Amplify App, which maps to a 3rd party repository branch. +// The branch for an Amplify app, which maps to a third-party repository branch. type Branch struct { _ struct{} `type:"structure"` - // Id of the active job for a branch, part of an Amplify App. + // The ID of the active job for a branch of an Amplify app. // // ActiveJobId is a required field ActiveJobId *string `locationName:"activeJobId" type:"string" required:"true"` - // List of custom resources that are linked to this branch. + // A list of custom resources that are linked to this branch. AssociatedResources []*string `locationName:"associatedResources" type:"list"` - // ARN for a Backend Environment, part of an Amplify App. + // The Amazon Resource Name (ARN) for a backend environment that is part of + // an Amplify app. BackendEnvironmentArn *string `locationName:"backendEnvironmentArn" min:"1" type:"string"` - // Basic Authorization credentials for a branch, part of an Amplify App. - BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string"` + // The basic authorization credentials for a branch of an Amplify app. + BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string" sensitive:"true"` - // ARN for a branch, part of an Amplify App. + // The Amazon Resource Name (ARN) for a branch that is part of an Amplify app. // // BranchArn is a required field BranchArn *string `locationName:"branchArn" type:"string" required:"true"` - // Name for a branch, part of an Amplify App. + // The name for the branch that is part of an Amplify app. // // BranchName is a required field BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"` - // BuildSpec content for branch for Amplify App. + // The build specification (build spec) content for the branch of an Amplify + // app. BuildSpec *string `locationName:"buildSpec" min:"1" type:"string"` - // Creation date and time for a branch, part of an Amplify App. + // The creation date and time for a branch that is part of an Amplify app. // // CreateTime is a required field CreateTime *time.Time `locationName:"createTime" type:"timestamp" required:"true"` - // Custom domains for a branch, part of an Amplify App. + // The custom domains for a branch of an Amplify app. // // CustomDomains is a required field CustomDomains []*string `locationName:"customDomains" type:"list" required:"true"` - // Description for a branch, part of an Amplify App. + // The description for the branch that is part of an Amplify app. // // Description is a required field Description *string `locationName:"description" type:"string" required:"true"` @@ -3942,69 +3897,69 @@ type Branch struct { // The destination branch if the branch is a pull request branch. DestinationBranch *string `locationName:"destinationBranch" min:"1" type:"string"` - // Display name for a branch, will use as the default domain prefix. + // The display name for the branch. This is used as the default domain prefix. // // DisplayName is a required field DisplayName *string `locationName:"displayName" type:"string" required:"true"` - // Enables auto-building on push for a branch, part of an Amplify App. + // Enables auto-building on push for a branch of an Amplify app. // // EnableAutoBuild is a required field EnableAutoBuild *bool `locationName:"enableAutoBuild" type:"boolean" required:"true"` - // Enables Basic Authorization for a branch, part of an Amplify App. + // Enables basic authorization for a branch of an Amplify app. // // EnableBasicAuth is a required field EnableBasicAuth *bool `locationName:"enableBasicAuth" type:"boolean" required:"true"` - // Enables notifications for a branch, part of an Amplify App. + // Enables notifications for a branch that is part of an Amplify app. // // EnableNotification is a required field EnableNotification *bool `locationName:"enableNotification" type:"boolean" required:"true"` - // Enables Pull Request Preview for this branch. + // Enables pull request preview for the branch. // // EnablePullRequestPreview is a required field EnablePullRequestPreview *bool `locationName:"enablePullRequestPreview" type:"boolean" required:"true"` - // Environment Variables specific to a branch, part of an Amplify App. + // The environment variables specific to a branch of an Amplify app. // // EnvironmentVariables is a required field EnvironmentVariables map[string]*string `locationName:"environmentVariables" type:"map" required:"true"` - // Framework for a branch, part of an Amplify App. + // The framework for a branch of an Amplify app. // // Framework is a required field Framework *string `locationName:"framework" type:"string" required:"true"` - // The Amplify Environment name for the pull request. + // The Amplify environment name for the pull request. PullRequestEnvironmentName *string `locationName:"pullRequestEnvironmentName" type:"string"` // The source branch if the branch is a pull request branch. SourceBranch *string `locationName:"sourceBranch" min:"1" type:"string"` - // Stage for a branch, part of an Amplify App. + // The current stage for the branch that is part of an Amplify app. // // Stage is a required field Stage *string `locationName:"stage" type:"string" required:"true" enum:"Stage"` - // Tag for branch for Amplify App. + // The tag for the branch of an Amplify app. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` - // Thumbnail URL for the branch. + // The thumbnail URL for the branch of an Amplify app. ThumbnailUrl *string `locationName:"thumbnailUrl" min:"1" type:"string"` - // Total number of Jobs part of an Amplify App. + // The total number of jobs that are part of an Amplify app. // // TotalNumberOfJobs is a required field TotalNumberOfJobs *string `locationName:"totalNumberOfJobs" type:"string" required:"true"` - // The content TTL for the website in seconds. + // The content Time to Live (TTL) for the website in seconds. // // Ttl is a required field Ttl *string `locationName:"ttl" type:"string" required:"true"` - // Last updated date and time for a branch, part of an Amplify App. + // The last updated date and time for a branch that is part of an Amplify app. // // UpdateTime is a required field UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" required:"true"` @@ -4176,64 +4131,71 @@ func (s *Branch) SetUpdateTime(v time.Time) *Branch { return s } -// Request structure used to create Apps in Amplify. +// The request structure used to create apps in Amplify. type CreateAppInput struct { _ struct{} `type:"structure"` - // Personal Access token for 3rd party source control system for an Amplify - // App, used to create webhook and read-only deploy key. Token is not stored. - AccessToken *string `locationName:"accessToken" min:"1" type:"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 token is not stored. + AccessToken *string `locationName:"accessToken" min:"1" type:"string" sensitive:"true"` - // Automated branch creation config for the Amplify App. + // The automated branch creation configuration for the Amplify app. AutoBranchCreationConfig *AutoBranchCreationConfig `locationName:"autoBranchCreationConfig" type:"structure"` - // Automated branch creation glob patterns for the Amplify App. + // The automated branch creation glob patterns for the Amplify app. AutoBranchCreationPatterns []*string `locationName:"autoBranchCreationPatterns" type:"list"` - // Credentials for Basic Authorization for an Amplify App. - BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string"` + // The credentials for basic authorization for an Amplify app. + BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string" sensitive:"true"` - // BuildSpec for an Amplify App + // The build specification (build spec) for an Amplify app. BuildSpec *string `locationName:"buildSpec" min:"1" type:"string"` - // Custom rewrite / redirect rules for an Amplify App. + // The custom rewrite and redirect rules for an Amplify app. CustomRules []*CustomRule `locationName:"customRules" type:"list"` - // Description for an Amplify App + // The description for an Amplify app. Description *string `locationName:"description" type:"string"` - // Enables automated branch creation for the Amplify App. + // Enables automated branch creation for the Amplify app. EnableAutoBranchCreation *bool `locationName:"enableAutoBranchCreation" type:"boolean"` - // Enable Basic Authorization for an Amplify App, this will apply to all branches - // part of this App. + // Enables basic authorization for an Amplify app. This will apply to all branches + // that are part of this app. EnableBasicAuth *bool `locationName:"enableBasicAuth" type:"boolean"` - // Enable the auto building of branches for an Amplify App. + // Enables the auto building of branches for an Amplify app. EnableBranchAutoBuild *bool `locationName:"enableBranchAutoBuild" type:"boolean"` - // Environment variables map for an Amplify App. + // Automatically disconnects a branch in the Amplify Console when you delete + // a branch from your Git repository. + EnableBranchAutoDeletion *bool `locationName:"enableBranchAutoDeletion" type:"boolean"` + + // The environment variables map for an Amplify app. EnvironmentVariables map[string]*string `locationName:"environmentVariables" type:"map"` - // AWS IAM service role for an Amplify App + // The AWS Identity and Access Management (IAM) service role for an Amplify + // app. IamServiceRoleArn *string `locationName:"iamServiceRoleArn" min:"1" type:"string"` - // Name for the Amplify App + // The name for the Amplify app. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` - // OAuth token for 3rd party source control system for an Amplify App, used - // to create webhook and read-only deploy key. OAuth token is not stored. - OauthToken *string `locationName:"oauthToken" type:"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 `locationName:"oauthToken" type:"string" sensitive:"true"` - // Platform / framework for an Amplify App + // The platform or framework for an Amplify app. Platform *string `locationName:"platform" type:"string" enum:"Platform"` - // Repository for an Amplify App + // The repository for an Amplify app. Repository *string `locationName:"repository" type:"string"` - // Tag for an Amplify App + // The tag for an Amplify app. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` } @@ -4350,6 +4312,12 @@ func (s *CreateAppInput) SetEnableBranchAutoBuild(v bool) *CreateAppInput { return s } +// SetEnableBranchAutoDeletion sets the EnableBranchAutoDeletion field's value. +func (s *CreateAppInput) SetEnableBranchAutoDeletion(v bool) *CreateAppInput { + s.EnableBranchAutoDeletion = &v + return s +} + // SetEnvironmentVariables sets the EnvironmentVariables field's value. func (s *CreateAppInput) SetEnvironmentVariables(v map[string]*string) *CreateAppInput { s.EnvironmentVariables = v @@ -4395,8 +4363,8 @@ func (s *CreateAppInput) SetTags(v map[string]*string) *CreateAppInput { type CreateAppOutput struct { _ struct{} `type:"structure"` - // Amplify App represents different branches of a repository for building, deploying, - // and hosting. + // Represents the different branches of a repository for building, deploying, + // and hosting an Amplify app. // // App is a required field App *App `locationName:"app" type:"structure" required:"true"` @@ -4418,24 +4386,24 @@ func (s *CreateAppOutput) SetApp(v *App) *CreateAppOutput { return s } -// Request structure for a backend environment create request. +// The request structure for the backend environment create request. type CreateBackendEnvironmentInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Name of deployment artifacts. + // The name of deployment artifacts. DeploymentArtifacts *string `locationName:"deploymentArtifacts" min:"1" type:"string"` - // Name for the backend environment. + // The name for the backend environment. // // EnvironmentName is a required field EnvironmentName *string `locationName:"environmentName" min:"1" type:"string" required:"true"` - // CloudFormation stack name of backend environment. + // The AWS CloudFormation stack name of a backend environment. StackName *string `locationName:"stackName" min:"1" type:"string"` } @@ -4501,11 +4469,11 @@ func (s *CreateBackendEnvironmentInput) SetStackName(v string) *CreateBackendEnv return s } -// Result structure for create backend environment. +// The result structure for the create backend environment request. type CreateBackendEnvironmentOutput struct { _ struct{} `type:"structure"` - // Backend environment structure for an amplify App. + // Describes the backend environment for an Amplify app. // // BackendEnvironment is a required field BackendEnvironment *BackendEnvironment `locationName:"backendEnvironment" type:"structure" required:"true"` @@ -4527,63 +4495,64 @@ func (s *CreateBackendEnvironmentOutput) SetBackendEnvironment(v *BackendEnviron return s } -// Request structure for a branch create request. +// The request structure for the create branch request. type CreateBranchInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // ARN for a Backend Environment, part of an Amplify App. + // The Amazon Resource Name (ARN) for a backend environment that is part of + // an Amplify app. BackendEnvironmentArn *string `locationName:"backendEnvironmentArn" min:"1" type:"string"` - // Basic Authorization credentials for the branch. - BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string"` + // The basic authorization credentials for the branch. + BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string" sensitive:"true"` - // Name for the branch. + // The name for the branch. // // BranchName is a required field BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"` - // BuildSpec for the branch. + // The build specification (build spec) for the branch. BuildSpec *string `locationName:"buildSpec" min:"1" type:"string"` - // Description for the branch. + // The description for the branch. Description *string `locationName:"description" type:"string"` - // Display name for a branch, will use as the default domain prefix. + // The display name for a branch. This is used as the default domain prefix. DisplayName *string `locationName:"displayName" type:"string"` // Enables auto building for the branch. EnableAutoBuild *bool `locationName:"enableAutoBuild" type:"boolean"` - // Enables Basic Auth for the branch. + // Enables basic authorization for the branch. EnableBasicAuth *bool `locationName:"enableBasicAuth" type:"boolean"` // Enables notifications for the branch. EnableNotification *bool `locationName:"enableNotification" type:"boolean"` - // Enables Pull Request Preview for this branch. + // Enables pull request preview for this branch. EnablePullRequestPreview *bool `locationName:"enablePullRequestPreview" type:"boolean"` - // Environment Variables for the branch. + // The environment variables for the branch. EnvironmentVariables map[string]*string `locationName:"environmentVariables" type:"map"` - // Framework for the branch. + // The framework for the branch. Framework *string `locationName:"framework" type:"string"` - // The Amplify Environment name for the pull request. + // The Amplify environment name for the pull request. PullRequestEnvironmentName *string `locationName:"pullRequestEnvironmentName" type:"string"` - // Stage for the branch. + // Describes the current stage for the branch. Stage *string `locationName:"stage" type:"string" enum:"Stage"` - // Tag for the branch. + // The tag for the branch. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` - // The content TTL for the website in seconds. + // The content Time To Live (TTL) for the website in seconds. Ttl *string `locationName:"ttl" type:"string"` } @@ -4730,11 +4699,12 @@ func (s *CreateBranchInput) SetTtl(v string) *CreateBranchInput { return s } -// Result structure for create branch request. +// The result structure for create branch request. type CreateBranchOutput struct { _ struct{} `type:"structure"` - // Branch structure for an Amplify App. + // Describes the branch for an Amplify app, which maps to a third-party repository + // branch. // // Branch is a required field Branch *Branch `locationName:"branch" type:"structure" required:"true"` @@ -4756,24 +4726,24 @@ func (s *CreateBranchOutput) SetBranch(v *Branch) *CreateBranchOutput { return s } -// Request structure for create a new deployment. +// The request structure for the create a new deployment request. type CreateDeploymentInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Name for the branch, for the Job. + // The name for the branch, for the job. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` - // Optional file map that contains file name as the key and file content md5 - // hash as the value. If this argument is provided, the service will generate - // different upload url per file. Otherwise, the service will only generate - // a single upload url for the zipped files. + // An optional file map that contains the file name as the key and the file + // content md5 hash as the value. If this argument is provided, the service + // will generate a unique upload URL per file. Otherwise, the service will only + // generate a single upload URL for the zipped files. FileMap map[string]*string `locationName:"fileMap" type:"map"` } @@ -4827,20 +4797,21 @@ func (s *CreateDeploymentInput) SetFileMap(v map[string]*string) *CreateDeployme return s } -// Result structure for create a new deployment. +// The result structure for the create a new deployment request. type CreateDeploymentOutput struct { _ struct{} `type:"structure"` - // When the fileMap argument is provided in the request, the fileUploadUrls - // will contain a map of file names to upload url. + // When the fileMap argument is provided in the request, fileUploadUrls will + // contain a map of file names to upload URLs. // // FileUploadUrls is a required field FileUploadUrls map[string]*string `locationName:"fileUploadUrls" type:"map" required:"true"` - // The jobId for this deployment, will supply to start deployment api. + // The job ID for this deployment. will supply to start deployment api. JobId *string `locationName:"jobId" type:"string"` - // When the fileMap argument is NOT provided. This zipUploadUrl will be returned. + // When the fileMap argument is not provided in the request, this zipUploadUrl + // is returned. // // ZipUploadUrl is a required field ZipUploadUrl *string `locationName:"zipUploadUrl" type:"string" required:"true"` @@ -4874,24 +4845,31 @@ func (s *CreateDeploymentOutput) SetZipUploadUrl(v string) *CreateDeploymentOutp return s } -// Request structure for create Domain Association request. +// The request structure for the create domain association request. type CreateDomainAssociationInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Domain name for the Domain Association. + // Sets the branch patterns for automatic subdomain creation. + AutoSubDomainCreationPatterns []*string `locationName:"autoSubDomainCreationPatterns" type:"list"` + + // The required AWS Identity and Access Management (IAM) service role for the + // Amazon Resource Name (ARN) for automatically creating subdomains. + AutoSubDomainIAMRole *string `locationName:"autoSubDomainIAMRole" type:"string"` + + // The domain name for the domain association. // // DomainName is a required field DomainName *string `locationName:"domainName" type:"string" required:"true"` - // Enables automated creation of Subdomains for branches. (Currently not supported) + // Enables the automated creation of subdomains for branches. EnableAutoSubDomain *bool `locationName:"enableAutoSubDomain" type:"boolean"` - // Setting structure for the Subdomain. + // The setting for the subdomain. // // SubDomainSettings is a required field SubDomainSettings []*SubDomainSetting `locationName:"subDomainSettings" type:"list" required:"true"` @@ -4945,6 +4923,18 @@ func (s *CreateDomainAssociationInput) SetAppId(v string) *CreateDomainAssociati return s } +// SetAutoSubDomainCreationPatterns sets the AutoSubDomainCreationPatterns field's value. +func (s *CreateDomainAssociationInput) SetAutoSubDomainCreationPatterns(v []*string) *CreateDomainAssociationInput { + s.AutoSubDomainCreationPatterns = v + return s +} + +// SetAutoSubDomainIAMRole sets the AutoSubDomainIAMRole field's value. +func (s *CreateDomainAssociationInput) SetAutoSubDomainIAMRole(v string) *CreateDomainAssociationInput { + s.AutoSubDomainIAMRole = &v + return s +} + // SetDomainName sets the DomainName field's value. func (s *CreateDomainAssociationInput) SetDomainName(v string) *CreateDomainAssociationInput { s.DomainName = &v @@ -4963,11 +4953,12 @@ func (s *CreateDomainAssociationInput) SetSubDomainSettings(v []*SubDomainSettin return s } -// Result structure for the create Domain Association request. +// The result structure for the create domain association request. type CreateDomainAssociationOutput struct { _ struct{} `type:"structure"` - // Domain Association structure. + // Describes the structure of a domain association, which associates a custom + // domain with an Amplify app. // // DomainAssociation is a required field DomainAssociation *DomainAssociation `locationName:"domainAssociation" type:"structure" required:"true"` @@ -4989,21 +4980,21 @@ func (s *CreateDomainAssociationOutput) SetDomainAssociation(v *DomainAssociatio return s } -// Request structure for create webhook request. +// The request structure for the create webhook request. type CreateWebhookInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Name for a branch, part of an Amplify App. + // The name for a branch that is part of an Amplify app. // // BranchName is a required field BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"` - // Description for a webhook. + // The description for a webhook. Description *string `locationName:"description" type:"string"` } @@ -5057,11 +5048,11 @@ func (s *CreateWebhookInput) SetDescription(v string) *CreateWebhookInput { return s } -// Result structure for the create webhook request. +// The result structure for the create webhook request. type CreateWebhookOutput struct { _ struct{} `type:"structure"` - // Webhook structure. + // Describes a webhook that connects repository events to an Amplify app. // // Webhook is a required field Webhook *Webhook `locationName:"webhook" type:"structure" required:"true"` @@ -5083,11 +5074,11 @@ func (s *CreateWebhookOutput) SetWebhook(v *Webhook) *CreateWebhookOutput { return s } -// Custom rewrite / redirect rule. +// Describes a custom rewrite or redirect rule. type CustomRule struct { _ struct{} `type:"structure"` - // The condition for a URL rewrite or redirect rule, e.g. country code. + // The condition for a URL rewrite or redirect rule, such as a country code. Condition *string `locationName:"condition" min:"1" type:"string"` // The source pattern for a URL rewrite or redirect rule. @@ -5166,11 +5157,11 @@ func (s *CustomRule) SetTarget(v string) *CustomRule { return s } -// Request structure for an Amplify App delete request. +// Describes the request structure for the delete app request. type DeleteAppInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` @@ -5208,12 +5199,12 @@ func (s *DeleteAppInput) SetAppId(v string) *DeleteAppInput { return s } -// Result structure for an Amplify App delete request. +// The result structure for the delete app request. type DeleteAppOutput struct { _ struct{} `type:"structure"` - // Amplify App represents different branches of a repository for building, deploying, - // and hosting. + // Represents the different branches of a repository for building, deploying, + // and hosting an Amplify app. // // App is a required field App *App `locationName:"app" type:"structure" required:"true"` @@ -5235,16 +5226,16 @@ func (s *DeleteAppOutput) SetApp(v *App) *DeleteAppOutput { return s } -// Request structure for delete backend environment request. +// The request structure for the delete backend environment request. type DeleteBackendEnvironmentInput struct { _ struct{} `type:"structure"` - // Unique Id of an Amplify App. + // The unique ID of an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Name of a backend environment of an Amplify App. + // The name of a backend environment of an Amplify app. // // EnvironmentName is a required field EnvironmentName *string `location:"uri" locationName:"environmentName" min:"1" type:"string" required:"true"` @@ -5294,11 +5285,11 @@ func (s *DeleteBackendEnvironmentInput) SetEnvironmentName(v string) *DeleteBack return s } -// Result structure of a delete backend environment result. +// The result structure of the delete backend environment result. type DeleteBackendEnvironmentOutput struct { _ struct{} `type:"structure"` - // Backend environment structure for an Amplify App. + // Describes the backend environment for an Amplify app. // // BackendEnvironment is a required field BackendEnvironment *BackendEnvironment `locationName:"backendEnvironment" type:"structure" required:"true"` @@ -5320,16 +5311,16 @@ func (s *DeleteBackendEnvironmentOutput) SetBackendEnvironment(v *BackendEnviron return s } -// Request structure for delete branch request. +// The request structure for the delete branch request. type DeleteBranchInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Name for the branch. + // The name for the branch. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` @@ -5379,11 +5370,11 @@ func (s *DeleteBranchInput) SetBranchName(v string) *DeleteBranchInput { return s } -// Result structure for delete branch request. +// The result structure for the delete branch request. type DeleteBranchOutput struct { _ struct{} `type:"structure"` - // Branch structure for an Amplify App. + // The branch for an Amplify app, which maps to a third-party repository branch. // // Branch is a required field Branch *Branch `locationName:"branch" type:"structure" required:"true"` @@ -5405,16 +5396,16 @@ func (s *DeleteBranchOutput) SetBranch(v *Branch) *DeleteBranchOutput { return s } -// Request structure for the delete Domain Association request. +// The request structure for the delete domain association request. type DeleteDomainAssociationInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique id for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Name of the domain. + // The name of the domain. // // DomainName is a required field DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"` @@ -5467,8 +5458,8 @@ func (s *DeleteDomainAssociationInput) SetDomainName(v string) *DeleteDomainAsso type DeleteDomainAssociationOutput struct { _ struct{} `type:"structure"` - // Structure for Domain Association, which associates a custom domain with an - // Amplify App. + // Describes a domain association that associates a custom domain with an Amplify + // app. // // DomainAssociation is a required field DomainAssociation *DomainAssociation `locationName:"domainAssociation" type:"structure" required:"true"` @@ -5490,21 +5481,21 @@ func (s *DeleteDomainAssociationOutput) SetDomainAssociation(v *DomainAssociatio return s } -// Request structure for delete job request. +// The request structure for the delete job request. type DeleteJobInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Name for the branch, for the Job. + // The name for the branch, for the job. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` - // Unique Id for the Job. + // The unique ID for the job. // // JobId is a required field JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"` @@ -5566,11 +5557,11 @@ func (s *DeleteJobInput) SetJobId(v string) *DeleteJobInput { return s } -// Result structure for the delete job request. +// The result structure for the delete job request. type DeleteJobOutput struct { _ struct{} `type:"structure"` - // Structure for the summary of a Job. + // Describes the summary for an execution job for an Amplify app. // // JobSummary is a required field JobSummary *JobSummary `locationName:"jobSummary" type:"structure" required:"true"` @@ -5592,11 +5583,11 @@ func (s *DeleteJobOutput) SetJobSummary(v *JobSummary) *DeleteJobOutput { return s } -// Request structure for the delete webhook request. +// The request structure for the delete webhook request. type DeleteWebhookInput struct { _ struct{} `type:"structure"` - // Unique Id for a webhook. + // The unique ID for a webhook. // // WebhookId is a required field WebhookId *string `location:"uri" locationName:"webhookId" type:"string" required:"true"` @@ -5634,11 +5625,11 @@ func (s *DeleteWebhookInput) SetWebhookId(v string) *DeleteWebhookInput { return s } -// Result structure for the delete webhook request. +// The result structure for the delete webhook request. type DeleteWebhookOutput struct { _ struct{} `type:"structure"` - // Webhook structure. + // Describes a webhook that connects repository events to an Amplify app. // // Webhook is a required field Webhook *Webhook `locationName:"webhook" type:"structure" required:"true"` @@ -5660,8 +5651,7 @@ func (s *DeleteWebhookOutput) SetWebhook(v *Webhook) *DeleteWebhookOutput { return s } -// Exception thrown when an operation fails due to a dependent service throwing -// an exception. +// An operation failed because a dependent service threw an exception. type DependentServiceFailureException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -5717,40 +5707,47 @@ func (s *DependentServiceFailureException) RequestID() string { return s.RespMetadata.RequestID } -// Structure for Domain Association, which associates a custom domain with an -// Amplify App. +// Describes a domain association that associates a custom domain with an Amplify +// app. type DomainAssociation struct { _ struct{} `type:"structure"` - // DNS Record for certificate verification. + // Sets branch patterns for automatic subdomain creation. + AutoSubDomainCreationPatterns []*string `locationName:"autoSubDomainCreationPatterns" type:"list"` + + // The required AWS Identity and Access Management (IAM) service role for the + // Amazon Resource Name (ARN) for automatically creating subdomains. + AutoSubDomainIAMRole *string `locationName:"autoSubDomainIAMRole" type:"string"` + + // The DNS record for certificate verification. CertificateVerificationDNSRecord *string `locationName:"certificateVerificationDNSRecord" type:"string"` - // ARN for the Domain Association. + // The Amazon Resource Name (ARN) for the domain association. // // DomainAssociationArn is a required field DomainAssociationArn *string `locationName:"domainAssociationArn" type:"string" required:"true"` - // Name of the domain. + // The name of the domain. // // DomainName is a required field DomainName *string `locationName:"domainName" type:"string" required:"true"` - // Status fo the Domain Association. + // The current status of the domain association. // // DomainStatus is a required field DomainStatus *string `locationName:"domainStatus" type:"string" required:"true" enum:"DomainStatus"` - // Enables automated creation of Subdomains for branches. (Currently not supported) + // Enables the automated creation of subdomains for branches. // // EnableAutoSubDomain is a required field EnableAutoSubDomain *bool `locationName:"enableAutoSubDomain" type:"boolean" required:"true"` - // Reason for the current status of the Domain Association. + // The reason for the current status of the domain association. // // StatusReason is a required field StatusReason *string `locationName:"statusReason" type:"string" required:"true"` - // Subdomains for the Domain Association. + // The subdomains for the domain association. // // SubDomains is a required field SubDomains []*SubDomain `locationName:"subDomains" type:"list" required:"true"` @@ -5766,6 +5763,18 @@ func (s DomainAssociation) GoString() string { return s.String() } +// SetAutoSubDomainCreationPatterns sets the AutoSubDomainCreationPatterns field's value. +func (s *DomainAssociation) SetAutoSubDomainCreationPatterns(v []*string) *DomainAssociation { + s.AutoSubDomainCreationPatterns = v + return s +} + +// SetAutoSubDomainIAMRole sets the AutoSubDomainIAMRole field's value. +func (s *DomainAssociation) SetAutoSubDomainIAMRole(v string) *DomainAssociation { + s.AutoSubDomainIAMRole = &v + return s +} + // SetCertificateVerificationDNSRecord sets the CertificateVerificationDNSRecord field's value. func (s *DomainAssociation) SetCertificateVerificationDNSRecord(v string) *DomainAssociation { s.CertificateVerificationDNSRecord = &v @@ -5808,24 +5817,26 @@ func (s *DomainAssociation) SetSubDomains(v []*SubDomain) *DomainAssociation { return s } -// Request structure for the generate access logs request. +// The request structure for the generate access logs request. type GenerateAccessLogsInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Name of the domain. + // The name of the domain. // // DomainName is a required field DomainName *string `locationName:"domainName" type:"string" required:"true"` - // The time at which the logs should end, inclusive. + // The time at which the logs should end. The time range specified is inclusive + // of the end time. EndTime *time.Time `locationName:"endTime" type:"timestamp"` - // The time at which the logs should start, inclusive. + // The time at which the logs should start. The time range specified is inclusive + // of the start time. StartTime *time.Time `locationName:"startTime" type:"timestamp"` } @@ -5882,11 +5893,11 @@ func (s *GenerateAccessLogsInput) SetStartTime(v time.Time) *GenerateAccessLogsI return s } -// Result structure for the generate access logs request. +// The result structure for the generate access logs request. type GenerateAccessLogsOutput struct { _ struct{} `type:"structure"` - // Pre-signed URL for the requested access logs. + // The pre-signed URL for the requested access logs. LogUrl *string `locationName:"logUrl" type:"string"` } @@ -5906,11 +5917,11 @@ func (s *GenerateAccessLogsOutput) SetLogUrl(v string) *GenerateAccessLogsOutput return s } -// Request structure for get App request. +// The request structure for the get app request. type GetAppInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` @@ -5951,8 +5962,8 @@ func (s *GetAppInput) SetAppId(v string) *GetAppInput { type GetAppOutput struct { _ struct{} `type:"structure"` - // Amplify App represents different branches of a repository for building, deploying, - // and hosting. + // Represents the different branches of a repository for building, deploying, + // and hosting an Amplify app. // // App is a required field App *App `locationName:"app" type:"structure" required:"true"` @@ -5974,11 +5985,11 @@ func (s *GetAppOutput) SetApp(v *App) *GetAppOutput { return s } -// Request structure for the get artifact request. +// Returns the request structure for the get artifact request. type GetArtifactUrlInput struct { _ struct{} `type:"structure"` - // Unique Id for a artifact. + // The unique ID for an artifact. // // ArtifactId is a required field ArtifactId *string `location:"uri" locationName:"artifactId" type:"string" required:"true"` @@ -6016,16 +6027,16 @@ func (s *GetArtifactUrlInput) SetArtifactId(v string) *GetArtifactUrlInput { return s } -// Result structure for the get artifact request. +// Returns the result structure for the get artifact request. type GetArtifactUrlOutput struct { _ struct{} `type:"structure"` - // Unique Id for a artifact. + // The unique ID for an artifact. // // ArtifactId is a required field ArtifactId *string `locationName:"artifactId" type:"string" required:"true"` - // Presigned url for the artifact. + // The presigned URL for the artifact. // // ArtifactUrl is a required field ArtifactUrl *string `locationName:"artifactUrl" type:"string" required:"true"` @@ -6053,16 +6064,16 @@ func (s *GetArtifactUrlOutput) SetArtifactUrl(v string) *GetArtifactUrlOutput { return s } -// Request structure for get backend environment request. +// The request structure for the get backend environment request. type GetBackendEnvironmentInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique id for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Name for the backend environment. + // The name for the backend environment. // // EnvironmentName is a required field EnvironmentName *string `location:"uri" locationName:"environmentName" min:"1" type:"string" required:"true"` @@ -6112,11 +6123,11 @@ func (s *GetBackendEnvironmentInput) SetEnvironmentName(v string) *GetBackendEnv return s } -// Result structure for get backend environment result. +// The result structure for the get backend environment result. type GetBackendEnvironmentOutput struct { _ struct{} `type:"structure"` - // Backend environment structure for an an Amplify App. + // Describes the backend environment for an Amplify app. // // BackendEnvironment is a required field BackendEnvironment *BackendEnvironment `locationName:"backendEnvironment" type:"structure" required:"true"` @@ -6138,16 +6149,16 @@ func (s *GetBackendEnvironmentOutput) SetBackendEnvironment(v *BackendEnvironmen return s } -// Request structure for get branch request. +// The request structure for the get branch request. type GetBranchInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Name for the branch. + // The name for the branch. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` @@ -6200,7 +6211,7 @@ func (s *GetBranchInput) SetBranchName(v string) *GetBranchInput { type GetBranchOutput struct { _ struct{} `type:"structure"` - // Branch for an Amplify App, which maps to a 3rd party repository branch. + // The branch for an Amplify app, which maps to a third-party repository branch. // // Branch is a required field Branch *Branch `locationName:"branch" type:"structure" required:"true"` @@ -6222,16 +6233,16 @@ func (s *GetBranchOutput) SetBranch(v *Branch) *GetBranchOutput { return s } -// Request structure for the get Domain Association request. +// The request structure for the get domain association request. type GetDomainAssociationInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique id for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Name of the domain. + // The name of the domain. // // DomainName is a required field DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"` @@ -6281,11 +6292,12 @@ func (s *GetDomainAssociationInput) SetDomainName(v string) *GetDomainAssociatio return s } -// Result structure for the get Domain Association request. +// The result structure for the get domain association request. type GetDomainAssociationOutput struct { _ struct{} `type:"structure"` - // Domain Association structure. + // Describes the structure of a domain association, which associates a custom + // domain with an Amplify app. // // DomainAssociation is a required field DomainAssociation *DomainAssociation `locationName:"domainAssociation" type:"structure" required:"true"` @@ -6307,21 +6319,21 @@ func (s *GetDomainAssociationOutput) SetDomainAssociation(v *DomainAssociation) return s } -// Request structure for get job request. +// The request structure for the get job request. type GetJobInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Name for the branch, for the Job. + // The branch name for the job. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` - // Unique Id for the Job. + // The unique ID for the job. // // JobId is a required field JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"` @@ -6386,7 +6398,7 @@ func (s *GetJobInput) SetJobId(v string) *GetJobInput { type GetJobOutput struct { _ struct{} `type:"structure"` - // Structure for an execution job for an Amplify App. + // Describes an execution job for an Amplify app. // // Job is a required field Job *Job `locationName:"job" type:"structure" required:"true"` @@ -6408,11 +6420,11 @@ func (s *GetJobOutput) SetJob(v *Job) *GetJobOutput { return s } -// Request structure for the get webhook request. +// The request structure for the get webhook request. type GetWebhookInput struct { _ struct{} `type:"structure"` - // Unique Id for a webhook. + // The unique ID for a webhook. // // WebhookId is a required field WebhookId *string `location:"uri" locationName:"webhookId" type:"string" required:"true"` @@ -6450,11 +6462,11 @@ func (s *GetWebhookInput) SetWebhookId(v string) *GetWebhookInput { return s } -// Result structure for the get webhook request. +// The result structure for the get webhook request. type GetWebhookOutput struct { _ struct{} `type:"structure"` - // Webhook structure. + // Describes the structure of a webhook. // // Webhook is a required field Webhook *Webhook `locationName:"webhook" type:"structure" required:"true"` @@ -6476,8 +6488,7 @@ func (s *GetWebhookOutput) SetWebhook(v *Webhook) *GetWebhookOutput { return s } -// Exception thrown when the service fails to perform an operation due to an -// internal issue. +// The service failed to perform an operation due to an internal issue. type InternalFailureException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -6533,16 +6544,16 @@ func (s *InternalFailureException) RequestID() string { return s.RespMetadata.RequestID } -// Structure for an execution job for an Amplify App. +// Describes an execution job for an Amplify app. type Job struct { _ struct{} `type:"structure"` - // Execution steps for an execution job, for an Amplify App. + // The execution steps for an execution job, for an Amplify app. // // Steps is a required field Steps []*Step `locationName:"steps" type:"list" required:"true"` - // Summary for an execution job for an Amplify App. + // Describes the summary for an execution job for an Amplify app. // // Summary is a required field Summary *JobSummary `locationName:"summary" type:"structure" required:"true"` @@ -6570,51 +6581,52 @@ func (s *Job) SetSummary(v *JobSummary) *Job { return s } -// Structure for the summary of a Job. +// Describes the summary for an execution job for an Amplify app. type JobSummary struct { _ struct{} `type:"structure"` - // Commit Id from 3rd party repository provider for the Job. + // The commit ID from a third-party repository provider for the job. // // CommitId is a required field CommitId *string `locationName:"commitId" type:"string" required:"true"` - // Commit message from 3rd party repository provider for the Job. + // The commit message from a third-party repository provider for the job. // // CommitMessage is a required field CommitMessage *string `locationName:"commitMessage" type:"string" required:"true"` - // Commit date / time for the Job. + // The commit date and time for the job. // // CommitTime is a required field CommitTime *time.Time `locationName:"commitTime" type:"timestamp" required:"true"` - // End date / time for the Job. + // The end date and time for the job. EndTime *time.Time `locationName:"endTime" type:"timestamp"` - // Arn for the Job. + // The Amazon Resource Name (ARN) for the job. // // JobArn is a required field JobArn *string `locationName:"jobArn" type:"string" required:"true"` - // Unique Id for the Job. + // The unique ID for the job. // // JobId is a required field JobId *string `locationName:"jobId" type:"string" required:"true"` - // Type for the Job. \n "RELEASE": Manually released from source by using StartJob - // API. "RETRY": Manually retried by using StartJob API. "WEB_HOOK": Automatically - // triggered by WebHooks. + // The type for the job. If the value is RELEASE, the job was manually released + // from its source by using the StartJob API. If the value is RETRY, the job + // was manually retried using the StartJob API. If the value is WEB_HOOK, the + // job was automatically triggered by webhooks. // // JobType is a required field JobType *string `locationName:"jobType" type:"string" required:"true" enum:"JobType"` - // Start date / time for the Job. + // The start date and time for the job. // // StartTime is a required field StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"` - // Status for the Job. + // The current status for the job. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"JobStatus"` @@ -6684,8 +6696,7 @@ func (s *JobSummary) SetStatus(v string) *JobSummary { return s } -// Exception thrown when a resource could not be created because of service -// limits. +// A resource could not be created because service quotas were exceeded. type LimitExceededException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -6741,15 +6752,15 @@ func (s *LimitExceededException) RequestID() string { return s.RespMetadata.RequestID } -// Request structure for an Amplify App list request. +// The request structure for the list apps request. type ListAppsInput struct { _ struct{} `type:"structure"` - // Maximum number of records to list in a single response. + // The maximum number of records to list in a single response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // Pagination token. If non-null pagination token is returned in a result, then - // pass its value in another request to fetch more entries. + // 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 `location:"querystring" locationName:"nextToken" type:"string"` } @@ -6788,18 +6799,18 @@ func (s *ListAppsInput) SetNextToken(v string) *ListAppsInput { return s } -// Result structure for an Amplify App list request. +// The result structure for an Amplify app list request. type ListAppsOutput struct { _ struct{} `type:"structure"` - // List of Amplify Apps. + // A list of Amplify apps. // // Apps is a required field Apps []*App `locationName:"apps" type:"list" required:"true"` - // Pagination token. Set to null to start listing Apps from start. If non-null - // pagination token is returned in a result, then pass its value in here to - // list more projects. + // A pagination token. Set to null to start listing apps from start. If non-null, + // the pagination token is returned in a result. Pass its value in here to list + // more projects. NextToken *string `locationName:"nextToken" type:"string"` } @@ -6825,31 +6836,31 @@ func (s *ListAppsOutput) SetNextToken(v string) *ListAppsOutput { return s } -// Request structure for the list artifacts request. +// Describes the request structure for the list artifacts request. type ListArtifactsInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Name for a branch, part of an Amplify App. + // The name of a branch that is part of an Amplify app. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` - // Unique Id for an Job. + // The unique ID for a job. // // JobId is a required field JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"` - // Maximum number of records to list in a single response. + // The maximum number of records to list in a single response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // Pagination token. Set to null to start listing artifacts from start. If non-null - // pagination token is returned in a result, then pass its value in here to - // list more artifacts. + // 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. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } @@ -6924,17 +6935,17 @@ func (s *ListArtifactsInput) SetNextToken(v string) *ListArtifactsInput { return s } -// Result structure for the list artifacts request. +// The result structure for the list artifacts request. type ListArtifactsOutput struct { _ struct{} `type:"structure"` - // List of artifacts. + // A list of artifacts. // // Artifacts is a required field Artifacts []*Artifact `locationName:"artifacts" type:"list" required:"true"` - // Pagination token. If non-null pagination token is returned in a result, then - // pass its value in another request to fetch more entries. + // A pagination token. If a non-null pagination token is returned in a result, + // pass its value in another request to retrieve more entries. NextToken *string `locationName:"nextToken" type:"string"` } @@ -6960,24 +6971,24 @@ func (s *ListArtifactsOutput) SetNextToken(v string) *ListArtifactsOutput { return s } -// Request structure for list backend environments request. +// The request structure for the list backend environments request. type ListBackendEnvironmentsInput struct { _ struct{} `type:"structure"` - // Unique Id for an amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Name of the backend environment - EnvironmentName *string `locationName:"environmentName" min:"1" type:"string"` + // The name of the backend environment + EnvironmentName *string `location:"querystring" locationName:"environmentName" min:"1" type:"string"` - // Maximum number of records to list in a single response. + // The maximum number of records to list in a single response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // Pagination token. Set to null to start listing backen environments from start. - // If a non-null pagination token is returned in a result, then pass its value - // in here to list more backend environments. + // 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. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } @@ -7037,17 +7048,17 @@ func (s *ListBackendEnvironmentsInput) SetNextToken(v string) *ListBackendEnviro return s } -// Result structure for list backend environments result. +// The result structure for the list backend environments result. type ListBackendEnvironmentsOutput struct { _ struct{} `type:"structure"` - // List of backend environments for an Amplify App. + // The list of backend environments for an Amplify app. // // BackendEnvironments is a required field BackendEnvironments []*BackendEnvironment `locationName:"backendEnvironments" type:"list" required:"true"` - // Pagination token. If non-null pagination token is returned in a result, then - // pass its value in another request to fetch more entries. + // A pagination token. If a non-null pagination token is returned in a result, + // pass its value in another request to retrieve more entries. NextToken *string `locationName:"nextToken" type:"string"` } @@ -7073,20 +7084,20 @@ func (s *ListBackendEnvironmentsOutput) SetNextToken(v string) *ListBackendEnvir return s } -// Request structure for list branches request. +// The request structure for the list branches request. type ListBranchesInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Maximum number of records to list in a single response. + // The maximum number of records to list in a single response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // Pagination token. Set to null to start listing branches from start. If a - // non-null pagination token is returned in a result, then pass its value in + // 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 branches. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } @@ -7138,17 +7149,17 @@ func (s *ListBranchesInput) SetNextToken(v string) *ListBranchesInput { return s } -// Result structure for list branches request. +// The result structure for the list branches request. type ListBranchesOutput struct { _ struct{} `type:"structure"` - // List of branches for an Amplify App. + // A list of branches for an Amplify app. // // Branches is a required field Branches []*Branch `locationName:"branches" type:"list" required:"true"` - // Pagination token. If non-null pagination token is returned in a result, then - // pass its value in another request to fetch more entries. + // A pagination token. If a non-null pagination token is returned in a result, + // pass its value in another request to retrieve more entries. NextToken *string `locationName:"nextToken" type:"string"` } @@ -7174,21 +7185,21 @@ func (s *ListBranchesOutput) SetNextToken(v string) *ListBranchesOutput { return s } -// Request structure for the list Domain Associations request. +// The request structure for the list domain associations request. type ListDomainAssociationsInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Maximum number of records to list in a single response. + // The maximum number of records to list in a single response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // Pagination token. Set to null to start listing Apps from start. If non-null - // pagination token is returned in a result, then pass its value in here to - // list more projects. + // 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 `location:"querystring" locationName:"nextToken" type:"string"` } @@ -7239,17 +7250,17 @@ func (s *ListDomainAssociationsInput) SetNextToken(v string) *ListDomainAssociat return s } -// Result structure for the list Domain Association request. +// The result structure for the list domain association request. type ListDomainAssociationsOutput struct { _ struct{} `type:"structure"` - // List of Domain Associations. + // A list of domain associations. // // DomainAssociations is a required field DomainAssociations []*DomainAssociation `locationName:"domainAssociations" type:"list" required:"true"` - // Pagination token. If non-null pagination token is returned in a result, then - // pass its value in another request to fetch more entries. + // A pagination token. If non-null, a pagination token is returned in a result. + // Pass its value in another request to retrieve more entries. NextToken *string `locationName:"nextToken" type:"string"` } @@ -7275,26 +7286,26 @@ func (s *ListDomainAssociationsOutput) SetNextToken(v string) *ListDomainAssocia return s } -// Request structure for list job request. +// The request structure for the list jobs request. type ListJobsInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Name for a branch. + // The name for a branch. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` - // Maximum number of records to list in a single response. + // The maximum number of records to list in a single response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // Pagination token. Set to null to start listing steps from start. If a non-null - // pagination token is returned in a result, then pass its value in here to - // list more steps. + // 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. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } @@ -7357,17 +7368,17 @@ func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput { return s } -// Maximum number of records to list in a single response. +// The maximum number of records to list in a single response. type ListJobsOutput struct { _ struct{} `type:"structure"` - // Result structure for list job result request. + // The result structure for the list job result request. // // JobSummaries is a required field JobSummaries []*JobSummary `locationName:"jobSummaries" type:"list" required:"true"` - // Pagination token. If non-null pagination token is returned in a result, then - // pass its value in another request to fetch more entries. + // 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 `locationName:"nextToken" type:"string"` } @@ -7393,11 +7404,11 @@ func (s *ListJobsOutput) SetNextToken(v string) *ListJobsOutput { return s } -// Request structure used to list tags for resource. +// The request structure to use to list tags for a resource. type ListTagsForResourceInput struct { _ struct{} `type:"structure"` - // Resource arn used to list tags. + // The Amazon Resource Name (ARN) to use to list tags. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` @@ -7435,11 +7446,11 @@ func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResource return s } -// Response for list tags. +// The response for the list tags for resource request. type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` - // Tags result for response. + // A list of tags for the specified The Amazon Resource Name (ARN). Tags map[string]*string `locationName:"tags" min:"1" type:"map"` } @@ -7459,21 +7470,21 @@ func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForRe return s } -// Request structure for the list webhooks request. +// The request structure for the list webhooks request. type ListWebhooksInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Maximum number of records to list in a single response. + // The maximum number of records to list in a single response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // Pagination token. Set to null to start listing webhooks from start. If non-null - // pagination token is returned in a result, then pass its value in here to - // list more webhooks. + // A pagination token. Set to null to start listing webhooks from the start. + // If non-null,the pagination token is returned in a result. Pass its value + // in here to list more webhooks. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } @@ -7524,15 +7535,15 @@ func (s *ListWebhooksInput) SetNextToken(v string) *ListWebhooksInput { return s } -// Result structure for the list webhooks request. +// The result structure for the list webhooks request. type ListWebhooksOutput struct { _ struct{} `type:"structure"` - // Pagination token. If non-null pagination token is returned in a result, then - // pass its value in another request to fetch more entries. + // 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 `locationName:"nextToken" type:"string"` - // List of webhooks. + // A list of webhooks. // // Webhooks is a required field Webhooks []*Webhook `locationName:"webhooks" type:"list" required:"true"` @@ -7560,7 +7571,7 @@ func (s *ListWebhooksOutput) SetWebhooks(v []*Webhook) *ListWebhooksOutput { return s } -// Exception thrown when an entity has not been found during an operation. +// An entity was not found during an operation. type NotFoundException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -7616,20 +7627,20 @@ func (s *NotFoundException) RequestID() string { return s.RespMetadata.RequestID } -// Structure with Production Branch information. +// Describes the information about a production branch for an Amplify app. type ProductionBranch struct { _ struct{} `type:"structure"` - // Branch Name for Production Branch. + // The branch name for the production branch. BranchName *string `locationName:"branchName" min:"1" type:"string"` - // Last Deploy Time of Production Branch. + // The last deploy time of the production branch. LastDeployTime *time.Time `locationName:"lastDeployTime" type:"timestamp"` - // Status of Production Branch. + // The status of the production branch. Status *string `locationName:"status" min:"3" type:"string"` - // Thumbnail URL for Production Branch. + // The thumbnail URL for the production branch. ThumbnailUrl *string `locationName:"thumbnailUrl" min:"1" type:"string"` } @@ -7667,7 +7678,7 @@ func (s *ProductionBranch) SetThumbnailUrl(v string) *ProductionBranch { return s } -// Exception thrown when an operation fails due to non-existent resource. +// An operation failed due to a non-existent resource. type ResourceNotFoundException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -7725,26 +7736,26 @@ func (s *ResourceNotFoundException) RequestID() string { return s.RespMetadata.RequestID } -// Request structure for start a deployment. +// The request structure for the start a deployment request. type StartDeploymentInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Name for the branch, for the Job. + // The name for the branch, for the job. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` - // The job id for this deployment, generated by create deployment request. + // The job ID for this deployment, generated by the create deployment request. JobId *string `locationName:"jobId" type:"string"` - // The sourceUrl for this deployment, used when calling start deployment without - // create deployment. SourceUrl can be any HTTP GET url that is public accessible - // and downloads a single zip. + // 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. SourceUrl *string `locationName:"sourceUrl" type:"string"` } @@ -7804,11 +7815,11 @@ func (s *StartDeploymentInput) SetSourceUrl(v string) *StartDeploymentInput { return s } -// Result structure for start a deployment. +// The result structure for the start a deployment request. type StartDeploymentOutput struct { _ struct{} `type:"structure"` - // Summary for the Job. + // The summary for the job. // // JobSummary is a required field JobSummary *JobSummary `locationName:"jobSummary" type:"structure" required:"true"` @@ -7830,39 +7841,40 @@ func (s *StartDeploymentOutput) SetJobSummary(v *JobSummary) *StartDeploymentOut return s } -// Request structure for Start job request. +// The request structure for the start job request. type StartJobInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Name for the branch, for the Job. + // The branch name for the job. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` - // Commit Id from 3rd party repository provider for the Job. + // The commit ID from a third-party repository provider for the job. CommitId *string `locationName:"commitId" type:"string"` - // Commit message from 3rd party repository provider for the Job. + // The commit message from a third-party repository provider for the job. CommitMessage *string `locationName:"commitMessage" type:"string"` - // Commit date / time for the Job. + // The commit date and time for the job. CommitTime *time.Time `locationName:"commitTime" type:"timestamp"` - // Unique Id for an existing job. Required for "RETRY" JobType. + // The unique ID for an existing job. This is required if the value of jobType + // is RETRY. JobId *string `locationName:"jobId" type:"string"` - // Descriptive reason for starting this job. + // A descriptive reason for starting this job. JobReason *string `locationName:"jobReason" type:"string"` - // Type for the Job. Available JobTypes are: \n "RELEASE": Start a new job with - // the latest change from the specified branch. Only available for apps that - // have connected to a repository. "RETRY": Retry an existing job. JobId is - // required for this type of 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. // // JobType is a required field JobType *string `locationName:"jobType" type:"string" required:"true" enum:"JobType"` @@ -7951,11 +7963,11 @@ func (s *StartJobInput) SetJobType(v string) *StartJobInput { return s } -// Result structure for run job request. +// The result structure for the run job request. type StartJobOutput struct { _ struct{} `type:"structure"` - // Summary for the Job. + // The summary for the job. // // JobSummary is a required field JobSummary *JobSummary `locationName:"jobSummary" type:"structure" required:"true"` @@ -7977,49 +7989,49 @@ func (s *StartJobOutput) SetJobSummary(v *JobSummary) *StartJobOutput { return s } -// Structure for an execution step for an execution job, for an Amplify App. +// Describes an execution step, for an execution job, for an Amplify app. type Step struct { _ struct{} `type:"structure"` - // URL to the artifact for the execution step. + // The URL to the artifact for the execution step. ArtifactsUrl *string `locationName:"artifactsUrl" type:"string"` - // The context for current step, will include build image if step is build. + // The context for the current step. Includes a build image if the step is build. Context *string `locationName:"context" type:"string"` - // End date/ time of the execution step. + // The end date and time of the execution step. // // EndTime is a required field EndTime *time.Time `locationName:"endTime" type:"timestamp" required:"true"` - // URL to the logs for the execution step. + // The URL to the logs for the execution step. LogUrl *string `locationName:"logUrl" type:"string"` - // List of screenshot URLs for the execution step, if relevant. + // The list of screenshot URLs for the execution step, if relevant. Screenshots map[string]*string `locationName:"screenshots" type:"map"` - // Start date/ time of the execution step. + // The start date and time of the execution step. // // StartTime is a required field StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"` - // Status of the execution step. + // The status of the execution step. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"JobStatus"` - // The reason for current step status. + // The reason for the current step status. StatusReason *string `locationName:"statusReason" type:"string"` - // Name of the execution step. + // The name of the execution step. // // StepName is a required field StepName *string `locationName:"stepName" type:"string" required:"true"` - // URL to the test artifact for the execution step. + // The URL to the test artifact for the execution step. TestArtifactsUrl *string `locationName:"testArtifactsUrl" type:"string"` - // URL to the test config for the execution step. + // The URL to the test configuration for the execution step. TestConfigUrl *string `locationName:"testConfigUrl" type:"string"` } @@ -8099,21 +8111,21 @@ func (s *Step) SetTestConfigUrl(v string) *Step { return s } -// Request structure for stop job request. +// The request structure for the stop job request. type StopJobInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Name for the branch, for the Job. + // The name for the branch, for the job. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` - // Unique Id for the Job. + // The unique id for the job. // // JobId is a required field JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"` @@ -8175,11 +8187,11 @@ func (s *StopJobInput) SetJobId(v string) *StopJobInput { return s } -// Result structure for the stop job request. +// The result structure for the stop job request. type StopJobOutput struct { _ struct{} `type:"structure"` - // Summary for the Job. + // The summary for the job. // // JobSummary is a required field JobSummary *JobSummary `locationName:"jobSummary" type:"structure" required:"true"` @@ -8201,21 +8213,21 @@ func (s *StopJobOutput) SetJobSummary(v *JobSummary) *StopJobOutput { return s } -// Subdomain for the Domain Association. +// The subdomain for the domain association. type SubDomain struct { _ struct{} `type:"structure"` - // DNS record for the Subdomain. + // The DNS record for the subdomain. // // DnsRecord is a required field DnsRecord *string `locationName:"dnsRecord" type:"string" required:"true"` - // Setting structure for the Subdomain. + // Describes the settings for the subdomain. // // SubDomainSetting is a required field SubDomainSetting *SubDomainSetting `locationName:"subDomainSetting" type:"structure" required:"true"` - // Verified status of the Subdomain + // The verified status of the subdomain // // Verified is a required field Verified *bool `locationName:"verified" type:"boolean" required:"true"` @@ -8249,16 +8261,16 @@ func (s *SubDomain) SetVerified(v bool) *SubDomain { return s } -// Setting for the Subdomain. +// Describes the settings for the subdomain. type SubDomainSetting struct { _ struct{} `type:"structure"` - // Branch name setting for the Subdomain. + // The branch name setting for the subdomain. // // BranchName is a required field BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"` - // Prefix setting for the Subdomain. + // The prefix setting for the subdomain. // // Prefix is a required field Prefix *string `locationName:"prefix" type:"string" required:"true"` @@ -8305,16 +8317,16 @@ func (s *SubDomainSetting) SetPrefix(v string) *SubDomainSetting { return s } -// Request structure used to tag resource. +// The request structure to tag a resource with a tag key and value. type TagResourceInput struct { _ struct{} `type:"structure"` - // Resource arn used to tag resource. + // The Amazon Resource Name (ARN) to use to tag a resource. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` - // Tags used to tag resource. + // The tags used to tag the resource. // // Tags is a required field Tags map[string]*string `locationName:"tags" min:"1" type:"map" required:"true"` @@ -8364,7 +8376,7 @@ func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput { return s } -// Response for tag resource. +// The response for the tag resource request. type TagResourceOutput struct { _ struct{} `type:"structure"` } @@ -8379,7 +8391,7 @@ func (s TagResourceOutput) GoString() string { return s.String() } -// Exception thrown when an operation fails due to a lack of access. +// An operation failed due to a lack of access. type UnauthorizedException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -8435,16 +8447,16 @@ func (s *UnauthorizedException) RequestID() string { return s.RespMetadata.RequestID } -// Request structure used to untag resource. +// The request structure for the untag resource request. type UntagResourceInput struct { _ struct{} `type:"structure"` - // Resource arn used to untag resource. + // The Amazon Resource Name (ARN) to use to untag a resource. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` - // Tag keys used to untag resource. + // The tag keys to use to untag a resource. // // TagKeys is a required field TagKeys []*string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"` @@ -8494,7 +8506,7 @@ func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput { return s } -// Response for untag resource. +// The response for the untag resource request. type UntagResourceOutput struct { _ struct{} `type:"structure"` } @@ -8509,63 +8521,70 @@ func (s UntagResourceOutput) GoString() string { return s.String() } -// Request structure for update App request. +// The request structure for the update app request. type UpdateAppInput struct { _ struct{} `type:"structure"` - // Personal Access token for 3rd party source control system for an Amplify - // App, used to create webhook and read-only deploy key. Token is not stored. - AccessToken *string `locationName:"accessToken" min:"1" type:"string"` + // 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 `locationName:"accessToken" min:"1" type:"string" sensitive:"true"` - // Unique Id for an Amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Automated branch creation branchConfig for the Amplify App. + // The automated branch creation configuration for the Amplify app. AutoBranchCreationConfig *AutoBranchCreationConfig `locationName:"autoBranchCreationConfig" type:"structure"` - // Automated branch creation glob patterns for the Amplify App. + // Describes the automated branch creation glob patterns for the Amplify app. AutoBranchCreationPatterns []*string `locationName:"autoBranchCreationPatterns" type:"list"` - // Basic Authorization credentials for an Amplify App. - BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string"` + // The basic authorization credentials for an Amplify app. + BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string" sensitive:"true"` - // BuildSpec for an Amplify App. + // The build specification (build spec) for an Amplify app. BuildSpec *string `locationName:"buildSpec" min:"1" type:"string"` - // Custom redirect / rewrite rules for an Amplify App. + // The custom redirect and rewrite rules for an Amplify app. CustomRules []*CustomRule `locationName:"customRules" type:"list"` - // Description for an Amplify App. + // The description for an Amplify app. Description *string `locationName:"description" type:"string"` - // Enables automated branch creation for the Amplify App. + // Enables automated branch creation for the Amplify app. EnableAutoBranchCreation *bool `locationName:"enableAutoBranchCreation" type:"boolean"` - // Enables Basic Authorization for an Amplify App. + // Enables basic authorization for an Amplify app. EnableBasicAuth *bool `locationName:"enableBasicAuth" type:"boolean"` - // Enables branch auto-building for an Amplify App. + // Enables branch auto-building for an Amplify app. EnableBranchAutoBuild *bool `locationName:"enableBranchAutoBuild" type:"boolean"` - // Environment Variables for an Amplify App. + // Automatically disconnects a branch in the Amplify Console when you delete + // a branch from your Git repository. + EnableBranchAutoDeletion *bool `locationName:"enableBranchAutoDeletion" type:"boolean"` + + // The environment variables for an Amplify app. EnvironmentVariables map[string]*string `locationName:"environmentVariables" type:"map"` - // IAM service role for an Amplify App. + // The AWS Identity and Access Management (IAM) service role for an Amplify + // app. IamServiceRoleArn *string `locationName:"iamServiceRoleArn" min:"1" type:"string"` - // Name for an Amplify App. + // The name for an Amplify app. Name *string `locationName:"name" min:"1" type:"string"` - // OAuth token for 3rd party source control system for an Amplify App, used - // to create webhook and read-only deploy key. OAuth token is not stored. - OauthToken *string `locationName:"oauthToken" type:"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. + OauthToken *string `locationName:"oauthToken" type:"string" sensitive:"true"` - // Platform for an Amplify App. + // The platform for an Amplify app. Platform *string `locationName:"platform" type:"string" enum:"Platform"` - // Repository for an Amplify App + // The name of the repository for an Amplify app Repository *string `locationName:"repository" type:"string"` } @@ -8688,6 +8707,12 @@ func (s *UpdateAppInput) SetEnableBranchAutoBuild(v bool) *UpdateAppInput { return s } +// SetEnableBranchAutoDeletion sets the EnableBranchAutoDeletion field's value. +func (s *UpdateAppInput) SetEnableBranchAutoDeletion(v bool) *UpdateAppInput { + s.EnableBranchAutoDeletion = &v + return s +} + // SetEnvironmentVariables sets the EnvironmentVariables field's value. func (s *UpdateAppInput) SetEnvironmentVariables(v map[string]*string) *UpdateAppInput { s.EnvironmentVariables = v @@ -8724,11 +8749,11 @@ func (s *UpdateAppInput) SetRepository(v string) *UpdateAppInput { return s } -// Result structure for an Amplify App update request. +// The result structure for an Amplify app update request. type UpdateAppOutput struct { _ struct{} `type:"structure"` - // App structure for the updated App. + // Represents the updated Amplify app. // // App is a required field App *App `locationName:"app" type:"structure" required:"true"` @@ -8750,60 +8775,61 @@ func (s *UpdateAppOutput) SetApp(v *App) *UpdateAppOutput { return s } -// Request structure for update branch request. +// The request structure for the update branch request. type UpdateBranchInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // ARN for a Backend Environment, part of an Amplify App. + // The Amazon Resource Name (ARN) for a backend environment that is part of + // an Amplify app. BackendEnvironmentArn *string `locationName:"backendEnvironmentArn" min:"1" type:"string"` - // Basic Authorization credentials for the branch. - BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string"` + // The basic authorization credentials for the branch. + BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string" sensitive:"true"` - // Name for the branch. + // The name for the branch. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` - // BuildSpec for the branch. + // The build specification (build spec) for the branch. BuildSpec *string `locationName:"buildSpec" min:"1" type:"string"` - // Description for the branch. + // The description for the branch. Description *string `locationName:"description" type:"string"` - // Display name for a branch, will use as the default domain prefix. + // The display name for a branch. This is used as the default domain prefix. DisplayName *string `locationName:"displayName" type:"string"` // Enables auto building for the branch. EnableAutoBuild *bool `locationName:"enableAutoBuild" type:"boolean"` - // Enables Basic Auth for the branch. + // Enables basic authorization for the branch. EnableBasicAuth *bool `locationName:"enableBasicAuth" type:"boolean"` // Enables notifications for the branch. EnableNotification *bool `locationName:"enableNotification" type:"boolean"` - // Enables Pull Request Preview for this branch. + // Enables pull request preview for this branch. EnablePullRequestPreview *bool `locationName:"enablePullRequestPreview" type:"boolean"` - // Environment Variables for the branch. + // The environment variables for the branch. EnvironmentVariables map[string]*string `locationName:"environmentVariables" type:"map"` - // Framework for the branch. + // The framework for the branch. Framework *string `locationName:"framework" type:"string"` - // The Amplify Environment name for the pull request. + // The Amplify environment name for the pull request. PullRequestEnvironmentName *string `locationName:"pullRequestEnvironmentName" type:"string"` - // Stage for the branch. + // Describes the current stage for the branch. Stage *string `locationName:"stage" type:"string" enum:"Stage"` - // The content TTL for the website in seconds. + // The content Time to Live (TTL) for the website in seconds. Ttl *string `locationName:"ttl" type:"string"` } @@ -8941,11 +8967,11 @@ func (s *UpdateBranchInput) SetTtl(v string) *UpdateBranchInput { return s } -// Result structure for update branch request. +// The result structure for the update branch request. type UpdateBranchOutput struct { _ struct{} `type:"structure"` - // Branch structure for an Amplify App. + // The branch for an Amplify app, which maps to a third-party repository branch. // // Branch is a required field Branch *Branch `locationName:"branch" type:"structure" required:"true"` @@ -8967,24 +8993,31 @@ func (s *UpdateBranchOutput) SetBranch(v *Branch) *UpdateBranchOutput { return s } -// Request structure for update Domain Association request. +// The request structure for the update domain association request. type UpdateDomainAssociationInput struct { _ struct{} `type:"structure"` - // Unique Id for an Amplify App. + // The unique ID for an Amplify app. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // Name of the domain. + // Sets the branch patterns for automatic subdomain creation. + AutoSubDomainCreationPatterns []*string `locationName:"autoSubDomainCreationPatterns" type:"list"` + + // The required AWS Identity and Access Management (IAM) service role for the + // Amazon Resource Name (ARN) for automatically creating subdomains. + AutoSubDomainIAMRole *string `locationName:"autoSubDomainIAMRole" type:"string"` + + // The name of the domain. // // DomainName is a required field DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"` - // Enables automated creation of Subdomains for branches. (Currently not supported) + // Enables the automated creation of subdomains for branches. EnableAutoSubDomain *bool `locationName:"enableAutoSubDomain" type:"boolean"` - // Setting structure for the Subdomain. + // Describes the settings for the subdomain. // // SubDomainSettings is a required field SubDomainSettings []*SubDomainSetting `locationName:"subDomainSettings" type:"list" required:"true"` @@ -9041,6 +9074,18 @@ func (s *UpdateDomainAssociationInput) SetAppId(v string) *UpdateDomainAssociati return s } +// SetAutoSubDomainCreationPatterns sets the AutoSubDomainCreationPatterns field's value. +func (s *UpdateDomainAssociationInput) SetAutoSubDomainCreationPatterns(v []*string) *UpdateDomainAssociationInput { + s.AutoSubDomainCreationPatterns = v + return s +} + +// SetAutoSubDomainIAMRole sets the AutoSubDomainIAMRole field's value. +func (s *UpdateDomainAssociationInput) SetAutoSubDomainIAMRole(v string) *UpdateDomainAssociationInput { + s.AutoSubDomainIAMRole = &v + return s +} + // SetDomainName sets the DomainName field's value. func (s *UpdateDomainAssociationInput) SetDomainName(v string) *UpdateDomainAssociationInput { s.DomainName = &v @@ -9059,11 +9104,12 @@ func (s *UpdateDomainAssociationInput) SetSubDomainSettings(v []*SubDomainSettin return s } -// Result structure for the update Domain Association request. +// The result structure for the update domain association request. type UpdateDomainAssociationOutput struct { _ struct{} `type:"structure"` - // Domain Association structure. + // Describes a domain association, which associates a custom domain with an + // Amplify app. // // DomainAssociation is a required field DomainAssociation *DomainAssociation `locationName:"domainAssociation" type:"structure" required:"true"` @@ -9085,17 +9131,17 @@ func (s *UpdateDomainAssociationOutput) SetDomainAssociation(v *DomainAssociatio return s } -// Request structure for update webhook request. +// The request structure for the update webhook request. type UpdateWebhookInput struct { _ struct{} `type:"structure"` - // Name for a branch, part of an Amplify App. + // The name for a branch that is part of an Amplify app. BranchName *string `locationName:"branchName" min:"1" type:"string"` - // Description for a webhook. + // The description for a webhook. Description *string `locationName:"description" type:"string"` - // Unique Id for a webhook. + // The unique ID for a webhook. // // WebhookId is a required field WebhookId *string `location:"uri" locationName:"webhookId" type:"string" required:"true"` @@ -9148,11 +9194,11 @@ func (s *UpdateWebhookInput) SetWebhookId(v string) *UpdateWebhookInput { return s } -// Result structure for the update webhook request. +// The result structure for the update webhook request. type UpdateWebhookOutput struct { _ struct{} `type:"structure"` - // Webhook structure. + // Describes a webhook that connects repository events to an Amplify app. // // Webhook is a required field Webhook *Webhook `locationName:"webhook" type:"structure" required:"true"` @@ -9174,41 +9220,41 @@ func (s *UpdateWebhookOutput) SetWebhook(v *Webhook) *UpdateWebhookOutput { return s } -// Structure for webhook, which associates a webhook with an Amplify App. +// Describes a webhook that connects repository events to an Amplify app. type Webhook struct { _ struct{} `type:"structure"` - // Name for a branch, part of an Amplify App. + // The name for a branch that is part of an Amplify app. // // BranchName is a required field BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"` - // Create date / time for a webhook. + // The create date and time for a webhook. // // CreateTime is a required field CreateTime *time.Time `locationName:"createTime" type:"timestamp" required:"true"` - // Description for a webhook. + // The description for a webhook. // // Description is a required field Description *string `locationName:"description" type:"string" required:"true"` - // Update date / time for a webhook. + // Updates the date and time for a webhook. // // UpdateTime is a required field UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" required:"true"` - // ARN for the webhook. + // The Amazon Resource Name (ARN) for the webhook. // // WebhookArn is a required field WebhookArn *string `locationName:"webhookArn" type:"string" required:"true"` - // Id of the webhook. + // The ID of the webhook. // // WebhookId is a required field WebhookId *string `locationName:"webhookId" type:"string" required:"true"` - // Url of the webhook. + // The URL of the webhook. // // WebhookUrl is a required field WebhookUrl *string `locationName:"webhookUrl" type:"string" required:"true"` diff --git a/service/amplify/doc.go b/service/amplify/doc.go index d00cb08ebab..4f166f1e874 100644 --- a/service/amplify/doc.go +++ b/service/amplify/doc.go @@ -3,8 +3,16 @@ // Package amplify provides the client and types for making API // requests to AWS Amplify. // -// Amplify is a fully managed continuous deployment and hosting service for -// modern web apps. +// Welcome to the AWS Amplify API documentation. This reference provides descriptions +// of the actions and data types for the Amplify API. +// +// Amplify enables developers to develop and deploy cloud-powered mobile and +// web apps. The Amplify Console provides a continuous delivery and hosting +// service for web applications. For more information, see the Amplify Console +// User Guide (https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html). +// The Amplify Framework is a comprehensive set of SDKs, libraries, tools, and +// documentation for client app development. For more information, see the Amplify +// Framework. (https://aws-amplify.github.io/docs/) // // See https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25 for more information on this service. // diff --git a/service/amplify/errors.go b/service/amplify/errors.go index 4e406d9ce46..f79cee8392f 100644 --- a/service/amplify/errors.go +++ b/service/amplify/errors.go @@ -11,46 +11,43 @@ const ( // ErrCodeBadRequestException for service response error code // "BadRequestException". // - // Exception thrown when a request contains unexpected data. + // A request contains unexpected data. ErrCodeBadRequestException = "BadRequestException" // ErrCodeDependentServiceFailureException for service response error code // "DependentServiceFailureException". // - // Exception thrown when an operation fails due to a dependent service throwing - // an exception. + // An operation failed because a dependent service threw an exception. ErrCodeDependentServiceFailureException = "DependentServiceFailureException" // ErrCodeInternalFailureException for service response error code // "InternalFailureException". // - // Exception thrown when the service fails to perform an operation due to an - // internal issue. + // The service failed to perform an operation due to an internal issue. ErrCodeInternalFailureException = "InternalFailureException" // ErrCodeLimitExceededException for service response error code // "LimitExceededException". // - // Exception thrown when a resource could not be created because of service - // limits. + // A resource could not be created because service quotas were exceeded. ErrCodeLimitExceededException = "LimitExceededException" // ErrCodeNotFoundException for service response error code // "NotFoundException". // - // Exception thrown when an entity has not been found during an operation. + // An entity was not found during an operation. ErrCodeNotFoundException = "NotFoundException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // - // Exception thrown when an operation fails due to non-existent resource. + // An operation failed due to a non-existent resource. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeUnauthorizedException for service response error code // "UnauthorizedException". // - // Exception thrown when an operation fails due to a lack of access. + // An operation failed due to a lack of access. ErrCodeUnauthorizedException = "UnauthorizedException" ) diff --git a/service/autoscaling/api.go b/service/autoscaling/api.go index 36497107af6..8b3546a6122 100644 --- a/service/autoscaling/api.go +++ b/service/autoscaling/api.go @@ -2192,6 +2192,9 @@ func (c *AutoScaling) DescribeInstanceRefreshesRequest(input *DescribeInstanceRe // // * Cancelled - The operation is cancelled. // +// For more information, see Replacing Auto Scaling Instances Based on an Instance +// Refresh (https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html). +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -5287,8 +5290,8 @@ func (c *AutoScaling) StartInstanceRefreshRequest(input *StartInstanceRefreshInp // If successful, this call creates a new instance refresh request with a unique // ID that you can use to track its progress. To query its status, call the // DescribeInstanceRefreshes API. To describe the instance refreshes that have -// already run, call the DescribeInstanceRefreshes API. To cancel an active -// instance refresh operation, use the CancelInstanceRefresh API. +// already run, call the DescribeInstanceRefreshes API. To cancel an instance +// refresh operation in progress, use the CancelInstanceRefresh API. // // For more information, see Replacing Auto Scaling Instances Based on an Instance // Refresh (https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html). @@ -6487,7 +6490,9 @@ type CreateAutoScalingGroupInput struct { // The amount of time, in seconds, after a scaling activity completes before // another scaling activity can start. The default value is 300. // - // For more information, see Scaling Cooldowns (https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html) + // 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 (https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html) // in the Amazon EC2 Auto Scaling User Guide. DefaultCooldown *int64 `type:"integer"` @@ -6508,7 +6513,7 @@ type CreateAutoScalingGroupInput struct { // For more information, see Health Check Grace Period (https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html#health-check-grace-period) // in the Amazon EC2 Auto Scaling User Guide. // - // Conditional: This parameter is required if you are adding an ELB health check. + // Required if you are adding an ELB health check. HealthCheckGracePeriod *int64 `type:"integer"` // The service to use for the health checks. The valid values are EC2 and ELB. @@ -8286,9 +8291,6 @@ type DescribeInstanceRefreshesOutput struct { _ struct{} `type:"structure"` // The instance refreshes for the specified group. - // - // For more information, see Replacing Auto Scaling Instances Based on an Instance - // Refresh (https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html). InstanceRefreshes []*InstanceRefresh `type:"list"` // A string that indicates that the response contains more items than can be @@ -9685,15 +9687,15 @@ type Ebs struct { // see Amazon EBS Volume Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) // in the Amazon EC2 User Guide for Linux Instances. // - // Conditional: This parameter is required when the volume type is io1. (Not - // used with standard, gp2, st1, or sc1 volumes.) + // Required when the volume type is io1. (Not used with standard, gp2, st1, + // or sc1 volumes.) Iops *int64 `min:"100" type:"integer"` // The snapshot ID of the volume to use. // - // Conditional: This parameter is optional if you specify a volume size. If - // you specify both SnapshotId and VolumeSize, VolumeSize must be equal or greater - // than the size of the snapshot. + // SnapshotId is optional if you specify a volume size. If you specify both + // SnapshotId and VolumeSize, the volume size must be equal or greater than + // the size of the snapshot. SnapshotId *string `min:"1" type:"string"` // The volume size, in Gibibytes (GiB). @@ -10053,8 +10055,7 @@ type ExecutePolicyInput struct { // The breach threshold for the alarm. // - // Conditional: This parameter is required if the policy type is StepScaling - // and not supported otherwise. + // Required if the policy type is StepScaling and not supported otherwise. BreachThreshold *float64 `type:"double"` // Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to @@ -10062,7 +10063,7 @@ type ExecutePolicyInput struct { // // This parameter is not supported if the policy type is StepScaling or TargetTrackingScaling. // - // For more information, see Scaling Cooldowns (https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html) + // For more information, see Scaling Cooldowns for Amazon EC2 Auto Scaling (https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html) // in the Amazon EC2 Auto Scaling User Guide. HonorCooldown *bool `type:"boolean"` @@ -10075,8 +10076,7 @@ type ExecutePolicyInput struct { // If you specify a metric value that doesn't correspond to a step adjustment // for the policy, the call returns an error. // - // Conditional: This parameter is required if the policy type is StepScaling - // and not supported otherwise. + // Required if the policy type is StepScaling and not supported otherwise. MetricValue *float64 `type:"double"` // The name or ARN of the policy. @@ -10335,8 +10335,7 @@ type Group struct { // CreatedTime is a required field CreatedTime *time.Time `type:"timestamp" required:"true"` - // The amount of time, in seconds, after a scaling activity completes before - // another scaling activity can start. + // The duration of the default cooldown period, in seconds. // // DefaultCooldown is a required field DefaultCooldown *int64 `type:"integer" required:"true"` @@ -12080,7 +12079,8 @@ func (s *MetricGranularityType) SetGranularity(v string) *MetricGranularityType // 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 template. For more information, see CreateAutoScalingGroup and UpdateAutoScalingGroup. +// or launch template. For more information, see CreateAutoScalingGroup and +// UpdateAutoScalingGroup. type MixedInstancesPolicy struct { _ struct{} `type:"structure"` @@ -12092,7 +12092,7 @@ type MixedInstancesPolicy struct { // The launch template and instance types (overrides). // - // This parameter must be specified when creating a mixed instances policy. + // Required when creating a mixed instances policy. LaunchTemplate *LaunchTemplate `type:"structure"` } @@ -12350,8 +12350,7 @@ type PutLifecycleHookInput struct { // // * autoscaling:EC2_INSTANCE_TERMINATING // - // Conditional: This parameter is required for new lifecycle hooks, but optional - // when updating existing hooks. + // Required for new lifecycle hooks, but optional when updating existing hooks. LifecycleTransition *string `type:"string"` // Additional information that you want to include any time Amazon EC2 Auto @@ -12377,8 +12376,7 @@ type PutLifecycleHookInput struct { // the specified notification target, for example, an Amazon SNS topic or an // Amazon SQS queue. // - // Conditional: This parameter is required for new lifecycle hooks, but optional - // when updating existing hooks. + // Required for new lifecycle hooks, but optional when updating existing hooks. RoleARN *string `min:"1" type:"string"` } @@ -12574,11 +12572,11 @@ func (s PutNotificationConfigurationOutput) GoString() string { type PutScalingPolicyInput struct { _ struct{} `type:"structure"` - // Specifies whether the ScalingAdjustment parameter is an absolute number or - // a percentage of the current capacity. The valid values are ChangeInCapacity, - // ExactCapacity, and PercentChangeInCapacity. + // Specifies how the scaling adjustment is interpreted (either an absolute number + // or a percentage). The valid values are ChangeInCapacity, ExactCapacity, and + // PercentChangeInCapacity. // - // Valid only if the policy type is StepScaling or SimpleScaling. For more information, + // Required if the policy type is StepScaling or SimpleScaling. For more information, // see Scaling Adjustment Types (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html#as-scaling-adjustment) // in the Amazon EC2 Auto Scaling User Guide. AdjustmentType *string `min:"1" type:"string"` @@ -12588,12 +12586,12 @@ type PutScalingPolicyInput struct { // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` - // The amount of time, in seconds, after a scaling activity completes before - // any further dynamic scaling activities can start. If this parameter is not - // specified, the default cooldown period for the group applies. + // 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 (https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html) + // Scaling Cooldowns for Amazon EC2 Auto Scaling (https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html) // in the Amazon EC2 Auto Scaling User Guide. Cooldown *int64 `type:"integer"` @@ -12604,10 +12602,10 @@ type PutScalingPolicyInput struct { Enabled *bool `type:"boolean"` // The estimated time, in seconds, until a newly launched instance can contribute - // to the CloudWatch metrics. The default is to use the value specified for - // the default cooldown period for the group. + // 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 StepScaling or TargetTrackingScaling. + // Valid only if the policy type is TargetTrackingScaling or StepScaling. EstimatedInstanceWarmup *int64 `type:"integer"` // The aggregation type for the CloudWatch metrics. The valid values are Minimum, @@ -12617,17 +12615,19 @@ type PutScalingPolicyInput struct { // Valid only if the policy type is StepScaling. MetricAggregationType *string `min:"1" type:"string"` - // The minimum value to scale by when scaling by percentages. For example, suppose - // that you create a step scaling policy to scale out an Auto Scaling group - // by 25 percent and you specify a MinAdjustmentMagnitude of 2. If the group - // has 4 instances and the scaling policy is performed, 25 percent of 4 is 1. - // However, because you specified a MinAdjustmentMagnitude of 2, Amazon EC2 - // Auto Scaling scales out the group by 2 instances. + // The minimum value to scale by when the adjustment type is PercentChangeInCapacity. + // For example, suppose that you create a step scaling policy to scale out an + // Auto Scaling group by 25 percent and you specify a MinAdjustmentMagnitude + // of 2. If the group has 4 instances and the scaling policy is performed, 25 + // percent of 4 is 1. However, because you specified a MinAdjustmentMagnitude + // of 2, Amazon EC2 Auto Scaling scales out the group by 2 instances. // - // Valid only if the policy type is StepScaling or SimpleScaling and the adjustment - // type is PercentChangeInCapacity. For more information, see Scaling Adjustment - // Types (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html#as-scaling-adjustment) + // Valid only if the policy type is StepScaling or SimpleScaling. For more information, + // see Scaling Adjustment Types (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html#as-scaling-adjustment) // in the Amazon EC2 Auto Scaling User Guide. + // + // Some Auto Scaling groups use instance weights. In this case, set the MinAdjustmentMagnitude + // to a value that is at least as large as your largest instance weight. MinAdjustmentMagnitude *int64 `type:"integer"` // Available for backward compatibility. Use MinAdjustmentMagnitude instead. @@ -12638,36 +12638,50 @@ type PutScalingPolicyInput struct { // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` - // The policy type. The valid values are SimpleScaling, StepScaling, and TargetTrackingScaling. - // If the policy type is null, the value is treated as SimpleScaling. + // One of the following policy types: + // + // * TargetTrackingScaling + // + // * StepScaling + // + // * SimpleScaling (default) PolicyType *string `min:"1" type:"string"` - // The amount by which a simple scaling policy scales the Auto Scaling group - // in response to an alarm breach. The adjustment is based on the value that - // you specified in the AdjustmentType parameter (either an absolute number - // or a percentage). A positive value adds to the current capacity and a negative - // value subtracts from the current capacity. For exact capacity, you must specify - // a positive value. + // 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. // - // Conditional: If you specify SimpleScaling for the policy type, you must specify - // this parameter. (Not used with any other policy type.) + // Required if the policy type is SimpleScaling. (Not used with any other policy + // type.) ScalingAdjustment *int64 `type:"integer"` // A set of adjustments that enable you to scale based on the size of the alarm // breach. // - // Conditional: If you specify StepScaling for the policy type, you must specify - // this parameter. (Not used with any other policy type.) + // Required if the policy type is StepScaling. (Not used with any other policy + // type.) StepAdjustments []*StepAdjustment `type:"list"` // A target tracking scaling policy. Includes support for predefined or customized // metrics. // + // The following predefined metrics are available: + // + // * ASGAverageCPUUtilization + // + // * ASGAverageNetworkIn + // + // * ASGAverageNetworkOut + // + // * ALBRequestCountPerTarget + // + // If you specify ALBRequestCountPerTarget for the metric, you must specify + // the ResourceLabel parameter with the PredefinedMetricSpecification. + // // For more information, see TargetTrackingConfiguration (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_TargetTrackingConfiguration.html) // in the Amazon EC2 Auto Scaling API Reference. // - // Conditional: If you specify TargetTrackingScaling for the policy type, you - // must specify this parameter. (Not used with any other policy type.) + // Required if the policy type is TargetTrackingScaling. TargetTrackingConfiguration *TargetTrackingConfiguration `type:"structure"` } @@ -13098,11 +13112,8 @@ type RefreshPreferences struct { // 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 specified for - // the health check grace period for the group. - // - // Note: While warming up, a newly launched instance is not counted toward the - // aggregated metrics of the Auto Scaling group. + // on to the next replacement. The default is to use the value for the health + // check grace period defined for the group. InstanceWarmup *int64 `type:"integer"` // The amount of capacity in the Auto Scaling group that must remain healthy @@ -13152,8 +13163,9 @@ func (s ResumeProcessesOutput) GoString() string { type ScalingPolicy struct { _ struct{} `type:"structure"` - // The adjustment type, which specifies how ScalingAdjustment is interpreted. - // The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity. + // Specifies how the scaling adjustment is interpreted (either an absolute number + // or a percentage). The valid values are ChangeInCapacity, ExactCapacity, and + // PercentChangeInCapacity. AdjustmentType *string `min:"1" type:"string"` // The CloudWatch alarms related to the policy. @@ -13162,8 +13174,7 @@ type ScalingPolicy struct { // The name of the Auto Scaling group. AutoScalingGroupName *string `min:"1" type:"string"` - // The amount of time, in seconds, after a scaling activity completes before - // any further dynamic scaling activities can start. + // The duration of the policy's cooldown period, in seconds. Cooldown *int64 `type:"integer"` // Indicates whether the policy is enabled (true) or disabled (false). @@ -13177,10 +13188,7 @@ type ScalingPolicy struct { // Maximum, and Average. MetricAggregationType *string `min:"1" type:"string"` - // The minimum number of instances to scale. If the value of AdjustmentType - // is PercentChangeInCapacity, the scaling policy changes the DesiredCapacity - // of the Auto Scaling group by at least this many instances. Otherwise, the - // error is ValidationError. + // The minimum value to scale by when the adjustment type is PercentChangeInCapacity. MinAdjustmentMagnitude *int64 `type:"integer"` // Available for backward compatibility. Use MinAdjustmentMagnitude instead. @@ -13192,7 +13200,17 @@ type ScalingPolicy struct { // The name of the scaling policy. PolicyName *string `min:"1" type:"string"` - // The policy type. The valid values are SimpleScaling, StepScaling, and TargetTrackingScaling. + // One of the following policy types: + // + // * TargetTrackingScaling + // + // * StepScaling + // + // * SimpleScaling (default) + // + // For more information, see Target Tracking Scaling Policies (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-target-tracking.html) + // and Step and Simple Scaling Policies (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html) + // in the Amazon EC2 Auto Scaling User Guide. PolicyType *string `min:"1" type:"string"` // The amount by which to scale, based on the specified adjustment type. A positive @@ -13872,6 +13890,13 @@ type StartInstanceRefreshInput struct { AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // Set of preferences associated with the instance refresh request. + // + // If not provided, the default values are used. For MinHealthyPercentage, the + // default value is 90. For InstanceWarmup, the default is to use the value + // specified for the health check grace period for the Auto Scaling group. + // + // For more information, see RefreshPreferences (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_RefreshPreferences.html) + // in the Amazon EC2 Auto Scaling API Reference. Preferences *RefreshPreferences `type:"structure"` // The strategy to use for the instance refresh. The only valid value is Rolling. @@ -13879,7 +13904,7 @@ type StartInstanceRefreshInput struct { // A rolling update is an update that is applied to all instances in an Auto // Scaling group until all instances have been updated. A rolling update can // fail due to failed health checks or if instances are on standby or are protected - // from scale-in. If the rolling update process fails, any instances that were + // from scale in. If the rolling update process fails, any instances that were // already replaced are not rolled back to their previous configuration. Strategy *string `type:"string" enum:"RefreshStrategy"` } @@ -14413,12 +14438,11 @@ type UpdateAutoScalingGroupInput struct { AvailabilityZones []*string `min:"1" type:"list"` // The amount of time, in seconds, after a scaling activity completes before - // another scaling activity can start. The default value is 300. This cooldown - // period is not used when a scaling-specific cooldown is specified. + // another scaling activity can start. The default value is 300. // - // Cooldown periods are not supported for target tracking scaling policies, - // step scaling policies, or scheduled scaling. For more information, see Scaling - // Cooldowns (https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html) + // 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 (https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html) // in the Amazon EC2 Auto Scaling User Guide. DefaultCooldown *int64 `type:"integer"` @@ -14436,7 +14460,7 @@ type UpdateAutoScalingGroupInput struct { // For more information, see Health Check Grace Period (https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html#health-check-grace-period) // in the Amazon EC2 Auto Scaling User Guide. // - // Conditional: This parameter is required if you are adding an ELB health check. + // Required if you are adding an ELB health check. HealthCheckGracePeriod *int64 `type:"integer"` // The service to use for the health checks. The valid values are EC2 and ELB. diff --git a/service/backup/api.go b/service/backup/api.go index df947601a14..914a9d67f27 100644 --- a/service/backup/api.go +++ b/service/backup/api.go @@ -1373,11 +1373,11 @@ func (c *Backup) DescribeRegionSettingsRequest(input *DescribeRegionSettingsInpu // DescribeRegionSettings API operation for AWS Backup. // -// Returns the current service opt-in settings for the region. If the service -// has a value set to true, AWS Backup will attempt to protect that service's -// resources in this region, when included in an on-demand backup or scheduled -// backup plan. If the value is set to false for a service, AWS Backup will -// not attempt to protect that service's resources in this region. +// Returns the current service opt-in settings for the Region. If the service +// has a value set to true, AWS Backup attempts to protect that service's resources +// in this Region, when included in an on-demand backup or scheduled backup +// plan. If the value is set to false for a service, AWS Backup does not attempt +// to protect that service's resources in this Region. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2368,10 +2368,6 @@ func (c *Backup) ListBackupJobsRequest(input *ListBackupJobsInput) (req *request // Indicates that something is wrong with a parameter's value. For example, // the value is out of range. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a parameter is of the wrong type. -// // * ServiceUnavailableException // The request failed due to a temporary failure of the server. // @@ -5045,11 +5041,11 @@ func (c *Backup) UpdateRegionSettingsRequest(input *UpdateRegionSettingsInput) ( // UpdateRegionSettings API operation for AWS Backup. // -// Updates the current service opt-in settings for the region. If the service -// has a value set to true, AWS Backup will attempt to protect that service's -// resources in this region, when included in an on-demand backup or scheduled -// backup plan. If the value is set to false for a service, AWS Backup will -// not attempt to protect that service's resources in this region. +// Updates the current service opt-in settings for the Region. If the service +// has a value set to true, AWS Backup attempts to protect that service's resources +// in this Region, when included in an on-demand backup or scheduled backup +// plan. If the value is set to false for a service, AWS Backup does not attempt +// to protect that service's resources in this Region. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5333,6 +5329,9 @@ func (s *CopyAction) SetLifecycle(v *Lifecycle) *CopyAction { type CopyJob struct { _ struct{} `type:"structure"` + // The account ID that owns the copy job. + AccountId *string `type:"string"` + // The size, in bytes, of a copy job. BackupSizeInBytes *int64 `type:"long"` @@ -5401,6 +5400,12 @@ func (s CopyJob) GoString() string { return s.String() } +// SetAccountId sets the AccountId field's value. +func (s *CopyJob) SetAccountId(v string) *CopyJob { + s.AccountId = &v + return s +} + // SetBackupSizeInBytes sets the BackupSizeInBytes field's value. func (s *CopyJob) SetBackupSizeInBytes(v int64) *CopyJob { s.BackupSizeInBytes = &v @@ -5898,7 +5903,7 @@ type DeleteBackupPlanOutput struct { BackupPlanId *string `type:"string"` // The date and time a backup plan is deleted, in Unix format and Coordinated - // Universal Time (UTC). The value of CreationDate is accurate to milliseconds. + // Universal Time (UTC). The value of DeletionDate is accurate to milliseconds. // For example, the value 1516925490.087 represents Friday, January 26, 2018 // 12:11:30.087 AM. DeletionDate *time.Time `type:"timestamp"` @@ -6372,6 +6377,9 @@ func (s *DescribeBackupJobInput) SetBackupJobId(v string) *DescribeBackupJobInpu type DescribeBackupJobOutput struct { _ struct{} `type:"structure"` + // Returns the account ID that owns the backup job. + AccountId *string `type:"string"` + // Uniquely identifies a request to AWS Backup to back up a resource. BackupJobId *string `type:"string"` @@ -6393,8 +6401,8 @@ type DescribeBackupJobOutput struct { BytesTransferred *int64 `type:"long"` // The date and time that a job to create a backup job is completed, in Unix - // format and Coordinated Universal Time (UTC). The value of CreationDate is - // accurate to milliseconds. For example, the value 1516925490.087 represents + // format and Coordinated Universal Time (UTC). The value of CompletionDate + // is accurate to milliseconds. For example, the value 1516925490.087 represents // Friday, January 26, 2018 12:11:30.087 AM. CompletionDate *time.Time `type:"timestamp"` @@ -6461,6 +6469,12 @@ func (s DescribeBackupJobOutput) GoString() string { return s.String() } +// SetAccountId sets the AccountId field's value. +func (s *DescribeBackupJobOutput) SetAccountId(v string) *DescribeBackupJobOutput { + s.AccountId = &v + return s +} + // SetBackupJobId sets the BackupJobId field's value. func (s *DescribeBackupJobOutput) SetBackupJobId(v string) *DescribeBackupJobOutput { s.BackupJobId = &v @@ -7179,6 +7193,9 @@ func (s *DescribeRestoreJobInput) SetRestoreJobId(v string) *DescribeRestoreJobI type DescribeRestoreJobOutput struct { _ struct{} `type:"structure"` + // Returns the account ID that owns the restore job. + AccountId *string `type:"string"` + // The size, in bytes, of the restored resource. BackupSizeInBytes *int64 `type:"long"` @@ -7214,6 +7231,9 @@ type DescribeRestoreJobOutput struct { // An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45. RecoveryPointArn *string `type:"string"` + // Returns metadata associated with a restore job listed by resource type. + ResourceType *string `type:"string"` + // Uniquely identifies the job that restores a recovery point. RestoreJobId *string `type:"string"` @@ -7221,7 +7241,7 @@ type DescribeRestoreJobOutput struct { // to restore a recovery point. Status *string `type:"string" enum:"RestoreJobStatus"` - // A detailed message explaining the status of a job to restore a recovery point. + // A message showing the status of a job to restore a recovery point. StatusMessage *string `type:"string"` } @@ -7235,6 +7255,12 @@ func (s DescribeRestoreJobOutput) GoString() string { return s.String() } +// SetAccountId sets the AccountId field's value. +func (s *DescribeRestoreJobOutput) SetAccountId(v string) *DescribeRestoreJobOutput { + s.AccountId = &v + return s +} + // SetBackupSizeInBytes sets the BackupSizeInBytes field's value. func (s *DescribeRestoreJobOutput) SetBackupSizeInBytes(v int64) *DescribeRestoreJobOutput { s.BackupSizeInBytes = &v @@ -7283,6 +7309,12 @@ func (s *DescribeRestoreJobOutput) SetRecoveryPointArn(v string) *DescribeRestor return s } +// SetResourceType sets the ResourceType field's value. +func (s *DescribeRestoreJobOutput) SetResourceType(v string) *DescribeRestoreJobOutput { + s.ResourceType = &v + return s +} + // SetRestoreJobId sets the RestoreJobId field's value. func (s *DescribeRestoreJobOutput) SetRestoreJobId(v string) *DescribeRestoreJobOutput { s.RestoreJobId = &v @@ -7571,7 +7603,7 @@ type GetBackupPlanOutput struct { CreatorRequestId *string `type:"string"` // The date and time that a backup plan is deleted, in Unix format and Coordinated - // Universal Time (UTC). The value of CreationDate is accurate to milliseconds. + // Universal Time (UTC). The value of DeletionDate is accurate to milliseconds. // For example, the value 1516925490.087 represents Friday, January 26, 2018 // 12:11:30.087 AM. DeletionDate *time.Time `type:"timestamp"` @@ -8082,15 +8114,17 @@ type GetSupportedResourceTypesOutput struct { // Contains a string with the supported AWS resource types: // + // * DynamoDB for Amazon DynamoDB + // // * EBS for Amazon Elastic Block Store // - // * Storage Gateway for AWS Storage Gateway + // * EC2 for Amazon Elastic Compute Cloud // - // * RDS for Amazon Relational Database Service + // * EFS for Amazon Elastic File System // - // * DDB for Amazon DynamoDB + // * RDS for Amazon Relational Database Service // - // * EFS for Amazon Elastic File System + // * Storage Gateway for AWS Storage Gateway ResourceTypes []*string `type:"list"` } @@ -8240,6 +8274,9 @@ func (s *InvalidRequestException) RequestID() string { type Job struct { _ struct{} `type:"structure"` + // The account ID that owns the backup job. + AccountId *string `type:"string"` + // Uniquely identifies a request to AWS Backup to back up a resource. BackupJobId *string `type:"string"` @@ -8329,6 +8366,12 @@ func (s Job) GoString() string { return s.String() } +// SetAccountId sets the AccountId field's value. +func (s *Job) SetAccountId(v string) *Job { + s.AccountId = &v + return s +} + // SetBackupJobId sets the BackupJobId field's value. func (s *Job) SetBackupJobId(v string) *Job { s.BackupJobId = &v @@ -8539,6 +8582,10 @@ func (s *LimitExceededException) RequestID() string { type ListBackupJobsInput struct { _ struct{} `type:"structure"` + // The account ID to list the jobs from. Returns only backup jobs associated + // with the specified account ID. + ByAccountId *string `location:"querystring" locationName:"accountId" type:"string"` + // Returns only backup jobs that will be stored in the specified backup vault. // Backup vaults are identified by names that are unique to the account used // to create them and the AWS Region where they are created. They consist of @@ -8561,6 +8608,8 @@ type ListBackupJobsInput struct { // // * EBS for Amazon Elastic Block Store // + // * EC2 for Amazon Elastic Compute Cloud + // // * EFS for Amazon Elastic File System // // * RDS for Amazon Relational Database Service @@ -8604,6 +8653,12 @@ func (s *ListBackupJobsInput) Validate() error { return nil } +// SetByAccountId sets the ByAccountId field's value. +func (s *ListBackupJobsInput) SetByAccountId(v string) *ListBackupJobsInput { + s.ByAccountId = &v + return s +} + // SetByBackupVaultName sets the ByBackupVaultName field's value. func (s *ListBackupJobsInput) SetByBackupVaultName(v string) *ListBackupJobsInput { s.ByBackupVaultName = &v @@ -9155,6 +9210,10 @@ func (s *ListBackupVaultsOutput) SetNextToken(v string) *ListBackupVaultsOutput type ListCopyJobsInput struct { _ struct{} `type:"structure"` + // The account ID to list the jobs from. Returns only copy jobs associated with + // the specified account ID. + ByAccountId *string `location:"querystring" locationName:"accountId" type:"string"` + // Returns only copy jobs that were created after the specified date. ByCreatedAfter *time.Time `location:"querystring" locationName:"createdAfter" type:"timestamp"` @@ -9171,8 +9230,12 @@ type ListCopyJobsInput struct { // Returns only backup jobs for the specified resources: // + // * DynamoDB for Amazon DynamoDB + // // * EBS for Amazon Elastic Block Store // + // * EC2 for Amazon Elastic Compute Cloud + // // * EFS for Amazon Elastic File System // // * RDS for Amazon Relational Database Service @@ -9216,6 +9279,12 @@ func (s *ListCopyJobsInput) Validate() error { return nil } +// SetByAccountId sets the ByAccountId field's value. +func (s *ListCopyJobsInput) SetByAccountId(v string) *ListCopyJobsInput { + s.ByAccountId = &v + return s +} + // SetByCreatedAfter sets the ByCreatedAfter field's value. func (s *ListCopyJobsInput) SetByCreatedAfter(v time.Time) *ListCopyJobsInput { s.ByCreatedAfter = &v @@ -9640,6 +9709,19 @@ func (s *ListRecoveryPointsByResourceOutput) SetRecoveryPoints(v []*RecoveryPoin type ListRestoreJobsInput struct { _ struct{} `type:"structure"` + // The account ID to list the jobs from. Returns only restore jobs associated + // with the specified account ID. + ByAccountId *string `location:"querystring" locationName:"accountId" type:"string"` + + // Returns only restore jobs that were created after the specified date. + ByCreatedAfter *time.Time `location:"querystring" locationName:"createdAfter" type:"timestamp"` + + // Returns only restore jobs that were created before the specified date. + ByCreatedBefore *time.Time `location:"querystring" locationName:"createdBefore" type:"timestamp"` + + // Returns only restore jobs associated with the specified job status. + ByStatus *string `location:"querystring" locationName:"status" type:"string" enum:"RestoreJobStatus"` + // The maximum number of items to be returned. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` @@ -9673,6 +9755,30 @@ func (s *ListRestoreJobsInput) Validate() error { return nil } +// SetByAccountId sets the ByAccountId field's value. +func (s *ListRestoreJobsInput) SetByAccountId(v string) *ListRestoreJobsInput { + s.ByAccountId = &v + return s +} + +// SetByCreatedAfter sets the ByCreatedAfter field's value. +func (s *ListRestoreJobsInput) SetByCreatedAfter(v time.Time) *ListRestoreJobsInput { + s.ByCreatedAfter = &v + return s +} + +// SetByCreatedBefore sets the ByCreatedBefore field's value. +func (s *ListRestoreJobsInput) SetByCreatedBefore(v time.Time) *ListRestoreJobsInput { + s.ByCreatedBefore = &v + return s +} + +// SetByStatus sets the ByStatus field's value. +func (s *ListRestoreJobsInput) SetByStatus(v string) *ListRestoreJobsInput { + s.ByStatus = &v + return s +} + // SetMaxResults sets the MaxResults field's value. func (s *ListRestoreJobsInput) SetMaxResults(v int64) *ListRestoreJobsInput { s.MaxResults = &v @@ -9934,7 +10040,7 @@ func (s *Plan) SetRules(v []*Rule) *Plan { type PlanInput struct { _ struct{} `type:"structure"` - // The display name of a backup plan. + // The optional display name of a backup plan. // // BackupPlanName is a required field BackupPlanName *string `type:"string" required:"true"` @@ -10716,6 +10822,9 @@ func (s *ResourceNotFoundException) RequestID() string { type RestoreJobsListMember struct { _ struct{} `type:"structure"` + // The account ID that owns the restore job. + AccountId *string `type:"string"` + // The size, in bytes, of the restored resource. BackupSizeInBytes *int64 `type:"long"` @@ -10750,6 +10859,11 @@ type RestoreJobsListMember struct { // An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45. RecoveryPointArn *string `type:"string"` + // The resource type of the listed restore jobs; for example, an Amazon Elastic + // Block Store (Amazon EBS) volume or an Amazon Relational Database Service + // (Amazon RDS) database. + ResourceType *string `type:"string"` + // Uniquely identifies the job that restores a recovery point. RestoreJobId *string `type:"string"` @@ -10772,6 +10886,12 @@ func (s RestoreJobsListMember) GoString() string { return s.String() } +// SetAccountId sets the AccountId field's value. +func (s *RestoreJobsListMember) SetAccountId(v string) *RestoreJobsListMember { + s.AccountId = &v + return s +} + // SetBackupSizeInBytes sets the BackupSizeInBytes field's value. func (s *RestoreJobsListMember) SetBackupSizeInBytes(v int64) *RestoreJobsListMember { s.BackupSizeInBytes = &v @@ -10820,6 +10940,12 @@ func (s *RestoreJobsListMember) SetRecoveryPointArn(v string) *RestoreJobsListMe return s } +// SetResourceType sets the ResourceType field's value. +func (s *RestoreJobsListMember) SetResourceType(v string) *RestoreJobsListMember { + s.ResourceType = &v + return s +} + // SetRestoreJobId sets the RestoreJobId field's value. func (s *RestoreJobsListMember) SetRestoreJobId(v string) *RestoreJobsListMember { s.RestoreJobId = &v @@ -11676,15 +11802,17 @@ type StartRestoreJobInput struct { // Starts a job to restore a recovery point for one of the following resources: // + // * DynamoDB for Amazon DynamoDB + // // * EBS for Amazon Elastic Block Store // - // * Storage Gateway for AWS Storage Gateway + // * EC2 for Amazon Elastic Compute Cloud // - // * RDS for Amazon Relational Database Service + // * EFS for Amazon Elastic File System // - // * DDB for Amazon DynamoDB + // * RDS for Amazon Relational Database Service // - // * EFS for Amazon Elastic File System + // * Storage Gateway for AWS Storage Gateway ResourceType *string `type:"string"` } diff --git a/service/codecommit/api.go b/service/codecommit/api.go index e79a77db563..ff597abfa85 100644 --- a/service/codecommit/api.go +++ b/service/codecommit/api.go @@ -922,7 +922,8 @@ func (c *CodeCommit) CreateBranchRequest(input *CreateBranchInput) (req *request // A branch name is required, but was not specified. // // * BranchNameExistsException -// The specified branch name already exists. +// Cannot create the branch with the specified name because the commit conflicts +// with an existing branch with the same name. Branch names must be unique. // // * InvalidBranchNameException // The specified reference name is not valid. @@ -3531,6 +3532,10 @@ func (c *CodeCommit) GetCommentRequest(input *GetCommentInput) (req *request.Req // // Returns the content of a comment made on a change, file, or commit in a repository. // +// Reaction counts might include numbers from user identities who were deleted +// after the reaction was made. For a count of reactions from active identities, +// use GetCommentReactions. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -3543,6 +3548,10 @@ func (c *CodeCommit) GetCommentRequest(input *GetCommentInput) (req *request.Req // No comment exists with the provided ID. Verify that you have used the correct // ID, and then try again. // +// * CommentDeletedException +// This comment has already been deleted. You cannot edit or delete a deleted +// comment. +// // * CommentIdRequiredException // The comment ID is missing or null. A comment ID is required. // @@ -3550,9 +3559,20 @@ func (c *CodeCommit) GetCommentRequest(input *GetCommentInput) (req *request.Req // The comment ID is not in a valid format. Make sure that you have provided // the full comment ID. // -// * CommentDeletedException -// This comment has already been deleted. You cannot edit or delete a deleted -// comment. +// * EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. +// +// * EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. +// +// * EncryptionKeyDisabledException +// The encryption key is disabled. +// +// * EncryptionKeyNotFoundException +// No encryption key was found. +// +// * EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetComment func (c *CodeCommit) GetComment(input *GetCommentInput) (*GetCommentOutput, error) { @@ -3576,6 +3596,165 @@ func (c *CodeCommit) GetCommentWithContext(ctx aws.Context, input *GetCommentInp return out, req.Send() } +const opGetCommentReactions = "GetCommentReactions" + +// GetCommentReactionsRequest generates a "aws/request.Request" representing the +// client's request for the GetCommentReactions operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetCommentReactions for more information on using the GetCommentReactions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetCommentReactionsRequest method. +// req, resp := client.GetCommentReactionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentReactions +func (c *CodeCommit) GetCommentReactionsRequest(input *GetCommentReactionsInput) (req *request.Request, output *GetCommentReactionsOutput) { + op := &request.Operation{ + Name: opGetCommentReactions, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetCommentReactionsInput{} + } + + output = &GetCommentReactionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetCommentReactions API operation for AWS CodeCommit. +// +// Returns information about reactions to a specified comment ID. Reactions +// from users who have been deleted will not be included in the count. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS CodeCommit's +// API operation GetCommentReactions for usage and error information. +// +// Returned Error Types: +// * CommentDoesNotExistException +// No comment exists with the provided ID. Verify that you have used the correct +// ID, and then try again. +// +// * CommentIdRequiredException +// The comment ID is missing or null. A comment ID is required. +// +// * InvalidCommentIdException +// The comment ID is not in a valid format. Make sure that you have provided +// the full comment ID. +// +// * InvalidReactionUserArnException +// The Amazon Resource Name (ARN) of the user or identity is not valid. +// +// * InvalidMaxResultsException +// The specified number of maximum results is not valid. +// +// * InvalidContinuationTokenException +// The specified continuation token is not valid. +// +// * CommentDeletedException +// This comment has already been deleted. You cannot edit or delete a deleted +// comment. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentReactions +func (c *CodeCommit) GetCommentReactions(input *GetCommentReactionsInput) (*GetCommentReactionsOutput, error) { + req, out := c.GetCommentReactionsRequest(input) + return out, req.Send() +} + +// GetCommentReactionsWithContext is the same as GetCommentReactions with the addition of +// the ability to pass a context and additional request options. +// +// See GetCommentReactions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) GetCommentReactionsWithContext(ctx aws.Context, input *GetCommentReactionsInput, opts ...request.Option) (*GetCommentReactionsOutput, error) { + req, out := c.GetCommentReactionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetCommentReactionsPages iterates over the pages of a GetCommentReactions operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetCommentReactions method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetCommentReactions operation. +// pageNum := 0 +// err := client.GetCommentReactionsPages(params, +// func(page *codecommit.GetCommentReactionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *CodeCommit) GetCommentReactionsPages(input *GetCommentReactionsInput, fn func(*GetCommentReactionsOutput, bool) bool) error { + return c.GetCommentReactionsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetCommentReactionsPagesWithContext same as GetCommentReactionsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) GetCommentReactionsPagesWithContext(ctx aws.Context, input *GetCommentReactionsInput, fn func(*GetCommentReactionsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetCommentReactionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetCommentReactionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*GetCommentReactionsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opGetCommentsForComparedCommit = "GetCommentsForComparedCommit" // GetCommentsForComparedCommitRequest generates a "aws/request.Request" representing the @@ -3628,6 +3807,10 @@ func (c *CodeCommit) GetCommentsForComparedCommitRequest(input *GetCommentsForCo // // Returns information about comments made on the comparison between two commits. // +// Reaction counts might include numbers from user identities who were deleted +// after the reaction was made. For a count of reactions from active identities, +// use GetCommentReactions. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -3806,6 +3989,10 @@ func (c *CodeCommit) GetCommentsForPullRequestRequest(input *GetCommentsForPullR // // Returns comments made on a pull request. // +// Reaction counts might include numbers from user identities who were deleted +// after the reaction was made. For a count of reactions from active identities, +// use GetCommentReactions. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -7986,6 +8173,10 @@ func (c *CodeCommit) PostCommentForComparedCommitRequest(input *PostCommentForCo // * InvalidCommitIdException // The specified commit ID is not valid. // +// * BeforeCommitIdAndAfterCommitIdAreSameException +// The before commit ID and the after commit ID are the same, which is not valid. +// The before commit ID and the after commit ID must be different commit IDs. +// // * EncryptionIntegrityChecksFailedException // An encryption integrity check failed. // @@ -8001,10 +8192,6 @@ func (c *CodeCommit) PostCommentForComparedCommitRequest(input *PostCommentForCo // * EncryptionKeyUnavailableException // The encryption key is not available. // -// * BeforeCommitIdAndAfterCommitIdAreSameException -// The before commit ID and the after commit ID are the same, which is not valid. -// The before commit ID and the after commit ID must be different commit IDs. -// // * CommitDoesNotExistException // The specified commit does not exist or no commit was specified, and the specified // repository has no default branch. @@ -8015,6 +8202,9 @@ func (c *CodeCommit) PostCommentForComparedCommitRequest(input *PostCommentForCo // * PathDoesNotExistException // The specified path does not exist. // +// * PathRequiredException +// The folderPath for a location cannot be null. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForComparedCommit func (c *CodeCommit) PostCommentForComparedCommit(input *PostCommentForComparedCommitInput) (*PostCommentForComparedCommitOutput, error) { req, out := c.PostCommentForComparedCommitRequest(input) @@ -8163,6 +8353,10 @@ func (c *CodeCommit) PostCommentForPullRequestRequest(input *PostCommentForPullR // * InvalidCommitIdException // The specified commit ID is not valid. // +// * BeforeCommitIdAndAfterCommitIdAreSameException +// The before commit ID and the after commit ID are the same, which is not valid. +// The before commit ID and the after commit ID must be different commit IDs. +// // * EncryptionIntegrityChecksFailedException // An encryption integrity check failed. // @@ -8191,10 +8385,6 @@ func (c *CodeCommit) PostCommentForPullRequestRequest(input *PostCommentForPullR // * PathRequiredException // The folderPath for a location cannot be null. // -// * BeforeCommitIdAndAfterCommitIdAreSameException -// The before commit ID and the after commit ID are the same, which is not valid. -// The before commit ID and the after commit ID must be different commit IDs. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForPullRequest func (c *CodeCommit) PostCommentForPullRequest(input *PostCommentForPullRequestInput) (*PostCommentForPullRequestOutput, error) { req, out := c.PostCommentForPullRequestRequest(input) @@ -8326,6 +8516,111 @@ func (c *CodeCommit) PostCommentReplyWithContext(ctx aws.Context, input *PostCom return out, req.Send() } +const opPutCommentReaction = "PutCommentReaction" + +// PutCommentReactionRequest generates a "aws/request.Request" representing the +// client's request for the PutCommentReaction operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PutCommentReaction for more information on using the PutCommentReaction +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the PutCommentReactionRequest method. +// req, resp := client.PutCommentReactionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutCommentReaction +func (c *CodeCommit) PutCommentReactionRequest(input *PutCommentReactionInput) (req *request.Request, output *PutCommentReactionOutput) { + op := &request.Operation{ + Name: opPutCommentReaction, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &PutCommentReactionInput{} + } + + output = &PutCommentReactionOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// PutCommentReaction API operation for AWS CodeCommit. +// +// Adds or updates a reaction to a specified comment for the user whose identity +// is used to make the request. You can only add or update a reaction for yourself. +// You cannot add, modify, or delete a reaction for another user. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS CodeCommit's +// API operation PutCommentReaction for usage and error information. +// +// Returned Error Types: +// * CommentDoesNotExistException +// No comment exists with the provided ID. Verify that you have used the correct +// ID, and then try again. +// +// * CommentIdRequiredException +// The comment ID is missing or null. A comment ID is required. +// +// * InvalidCommentIdException +// The comment ID is not in a valid format. Make sure that you have provided +// the full comment ID. +// +// * InvalidReactionValueException +// The value of the reaction is not valid. For more information, see the AWS +// CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html). +// +// * ReactionValueRequiredException +// A reaction value is required. +// +// * ReactionLimitExceededException +// The number of reactions has been exceeded. Reactions are limited to one reaction +// per user for each individual comment ID. +// +// * CommentDeletedException +// This comment has already been deleted. You cannot edit or delete a deleted +// comment. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutCommentReaction +func (c *CodeCommit) PutCommentReaction(input *PutCommentReactionInput) (*PutCommentReactionOutput, error) { + req, out := c.PutCommentReactionRequest(input) + return out, req.Send() +} + +// PutCommentReactionWithContext is the same as PutCommentReaction with the addition of +// the ability to pass a context and additional request options. +// +// See PutCommentReaction for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) PutCommentReactionWithContext(ctx aws.Context, input *PutCommentReactionInput, opts ...request.Option) (*PutCommentReactionOutput, error) { + req, out := c.PutCommentReactionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opPutFile = "PutFile" // PutFileRequest generates a "aws/request.Request" representing the @@ -12500,7 +12795,8 @@ func (s *BranchInfo) SetCommitId(v string) *BranchInfo { return s } -// The specified branch name already exists. +// Cannot create the branch with the specified name because the commit conflicts +// with an existing branch with the same name. Branch names must be unique. type BranchNameExistsException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -12851,6 +13147,10 @@ type Comment struct { // The Amazon Resource Name (ARN) of the person who posted the comment. AuthorArn *string `locationName:"authorArn" type:"string"` + // The emoji reactions to a comment, if any, submitted by the user whose credentials + // are associated with the call to the API. + CallerReactions []*string `locationName:"callerReactions" type:"list"` + // A unique, client-generated idempotency token that, when provided in a request, // ensures the request cannot be repeated with a changed parameter. If a request // is received with the same parameters and a token is included, the request @@ -12874,6 +13174,10 @@ type Comment struct { // The date and time the comment was most recently modified, in timestamp format. LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"` + + // A string to integer map that represents the number of individual users who + // have responded to a comment with the specified reactions. + ReactionCounts map[string]*int64 `locationName:"reactionCounts" type:"map"` } // String returns the string representation @@ -12892,6 +13196,12 @@ func (s *Comment) SetAuthorArn(v string) *Comment { return s } +// SetCallerReactions sets the CallerReactions field's value. +func (s *Comment) SetCallerReactions(v []*string) *Comment { + s.CallerReactions = v + return s +} + // SetClientRequestToken sets the ClientRequestToken field's value. func (s *Comment) SetClientRequestToken(v string) *Comment { s.ClientRequestToken = &v @@ -12934,6 +13244,12 @@ func (s *Comment) SetLastModifiedDate(v time.Time) *Comment { return s } +// SetReactionCounts sets the ReactionCounts field's value. +func (s *Comment) SetReactionCounts(v map[string]*int64) *Comment { + s.ReactionCounts = v + return s +} + // The comment is empty. You must provide some content for a comment. The content // cannot be null. type CommentContentRequiredException struct { @@ -14246,7 +14562,7 @@ type CreateApprovalRuleTemplateInput struct { // Amazon Resource Name (ARN) of the IAM user or role. // // For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers - // (https://docs.aws.amazon.com/iam/latest/UserGuide/reference_identifiers.html) + // (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) // in the IAM User Guide. // // ApprovalRuleTemplateContent is a required field @@ -14678,7 +14994,7 @@ type CreatePullRequestApprovalRuleInput struct { // Amazon Resource Name (ARN) of the IAM user or role. // // For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers - // (https://docs.aws.amazon.com/iam/latest/UserGuide/reference_identifiers.html) + // (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) // in the IAM User Guide. // // ApprovalRuleContent is a required field @@ -17908,16 +18224,119 @@ func (s *GetCommentOutput) SetComment(v *Comment) *GetCommentOutput { return s } -type GetCommentsForComparedCommitInput struct { +type GetCommentReactionsInput struct { _ struct{} `type:"structure"` - // To establish the directionality of the comparison, the full commit ID of - // the after commit. + // The ID of the comment for which you want to get reactions information. // - // AfterCommitId is a required field - AfterCommitId *string `locationName:"afterCommitId" type:"string" required:"true"` + // CommentId is a required field + CommentId *string `locationName:"commentId" type:"string" required:"true"` - // To establish the directionality of the comparison, the full commit ID of + // A non-zero, non-negative integer used to limit the number of returned results. + // The default is the same as the allowed maximum, 1,000. + MaxResults *int64 `locationName:"maxResults" type:"integer"` + + // An enumeration token that, when provided in a request, returns the next batch + // of the results. + NextToken *string `locationName:"nextToken" type:"string"` + + // Optional. The Amazon Resource Name (ARN) of the user or identity for which + // you want to get reaction information. + ReactionUserArn *string `locationName:"reactionUserArn" type:"string"` +} + +// String returns the string representation +func (s GetCommentReactionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetCommentReactionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetCommentReactionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetCommentReactionsInput"} + if s.CommentId == nil { + invalidParams.Add(request.NewErrParamRequired("CommentId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCommentId sets the CommentId field's value. +func (s *GetCommentReactionsInput) SetCommentId(v string) *GetCommentReactionsInput { + s.CommentId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetCommentReactionsInput) SetMaxResults(v int64) *GetCommentReactionsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetCommentReactionsInput) SetNextToken(v string) *GetCommentReactionsInput { + s.NextToken = &v + return s +} + +// SetReactionUserArn sets the ReactionUserArn field's value. +func (s *GetCommentReactionsInput) SetReactionUserArn(v string) *GetCommentReactionsInput { + s.ReactionUserArn = &v + return s +} + +type GetCommentReactionsOutput struct { + _ struct{} `type:"structure"` + + // An enumeration token that can be used in a request to return the next batch + // of the results. + NextToken *string `locationName:"nextToken" type:"string"` + + // An array of reactions to the specified comment. + // + // ReactionsForComment is a required field + ReactionsForComment []*ReactionForComment `locationName:"reactionsForComment" type:"list" required:"true"` +} + +// String returns the string representation +func (s GetCommentReactionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetCommentReactionsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *GetCommentReactionsOutput) SetNextToken(v string) *GetCommentReactionsOutput { + s.NextToken = &v + return s +} + +// SetReactionsForComment sets the ReactionsForComment field's value. +func (s *GetCommentReactionsOutput) SetReactionsForComment(v []*ReactionForComment) *GetCommentReactionsOutput { + s.ReactionsForComment = v + return s +} + +type GetCommentsForComparedCommitInput struct { + _ struct{} `type:"structure"` + + // To establish the directionality of the comparison, the full commit ID of + // the after commit. + // + // AfterCommitId is a required field + AfterCommitId *string `locationName:"afterCommitId" type:"string" required:"true"` + + // To establish the directionality of the comparison, the full commit ID of // the before commit. BeforeCommitId *string `locationName:"beforeCommitId" type:"string"` @@ -21720,6 +22139,119 @@ func (s *InvalidPullRequestStatusUpdateException) RequestID() string { return s.RespMetadata.RequestID } +// The Amazon Resource Name (ARN) of the user or identity is not valid. +type InvalidReactionUserArnException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation +func (s InvalidReactionUserArnException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InvalidReactionUserArnException) GoString() string { + return s.String() +} + +func newErrorInvalidReactionUserArnException(v protocol.ResponseMetadata) error { + return &InvalidReactionUserArnException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InvalidReactionUserArnException) Code() string { + return "InvalidReactionUserArnException" +} + +// Message returns the exception's message. +func (s *InvalidReactionUserArnException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InvalidReactionUserArnException) OrigErr() error { + return nil +} + +func (s *InvalidReactionUserArnException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InvalidReactionUserArnException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InvalidReactionUserArnException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The value of the reaction is not valid. For more information, see the AWS +// CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html). +type InvalidReactionValueException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation +func (s InvalidReactionValueException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InvalidReactionValueException) GoString() string { + return s.String() +} + +func newErrorInvalidReactionValueException(v protocol.ResponseMetadata) error { + return &InvalidReactionValueException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InvalidReactionValueException) Code() string { + return "InvalidReactionValueException" +} + +// Message returns the exception's message. +func (s *InvalidReactionValueException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InvalidReactionValueException) OrigErr() error { + return nil +} + +func (s *InvalidReactionValueException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InvalidReactionValueException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InvalidReactionValueException) RequestID() string { + return s.RespMetadata.RequestID +} + // The specified reference name format is not valid. Reference names must conform // to the Git references format (for example, refs/heads/master). For more information, // see Git Internals - Git References (https://git-scm.com/book/en/v2/Git-Internals-Git-References) @@ -27815,6 +28347,75 @@ func (s *PullRequestTarget) SetSourceReference(v string) *PullRequestTarget { return s } +type PutCommentReactionInput struct { + _ struct{} `type:"structure"` + + // The ID of the comment to which you want to add or update a reaction. + // + // CommentId is a required field + CommentId *string `locationName:"commentId" type:"string" required:"true"` + + // The emoji reaction you want to add or update. To remove a reaction, provide + // a value of blank or null. You can also provide the value of none. For information + // about emoji reaction values supported in AWS CodeCommit, see the AWS CodeCommit + // User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-commit-comment.html#emoji-reaction-table). + // + // ReactionValue is a required field + ReactionValue *string `locationName:"reactionValue" type:"string" required:"true"` +} + +// String returns the string representation +func (s PutCommentReactionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutCommentReactionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutCommentReactionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutCommentReactionInput"} + if s.CommentId == nil { + invalidParams.Add(request.NewErrParamRequired("CommentId")) + } + if s.ReactionValue == nil { + invalidParams.Add(request.NewErrParamRequired("ReactionValue")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCommentId sets the CommentId field's value. +func (s *PutCommentReactionInput) SetCommentId(v string) *PutCommentReactionInput { + s.CommentId = &v + return s +} + +// SetReactionValue sets the ReactionValue field's value. +func (s *PutCommentReactionInput) SetReactionValue(v string) *PutCommentReactionInput { + s.ReactionValue = &v + return s +} + +type PutCommentReactionOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s PutCommentReactionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutCommentReactionOutput) GoString() string { + return s.String() +} + // Information about a file added or updated as part of a commit. type PutFileEntry struct { _ struct{} `type:"structure"` @@ -28231,6 +28832,209 @@ func (s *PutRepositoryTriggersOutput) SetConfigurationId(v string) *PutRepositor return s } +// Information about the reaction values provided by users on a comment. +type ReactionForComment struct { + _ struct{} `type:"structure"` + + // The reaction for a specified comment. + Reaction *ReactionValueFormats `locationName:"reaction" type:"structure"` + + // The Amazon Resource Names (ARNs) of users who have provided reactions to + // the comment. + ReactionUsers []*string `locationName:"reactionUsers" type:"list"` + + // A numerical count of users who reacted with the specified emoji whose identities + // have been subsequently deleted from IAM. While these IAM users or roles no + // longer exist, the reactions might still appear in total reaction counts. + ReactionsFromDeletedUsersCount *int64 `locationName:"reactionsFromDeletedUsersCount" type:"integer"` +} + +// String returns the string representation +func (s ReactionForComment) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ReactionForComment) GoString() string { + return s.String() +} + +// SetReaction sets the Reaction field's value. +func (s *ReactionForComment) SetReaction(v *ReactionValueFormats) *ReactionForComment { + s.Reaction = v + return s +} + +// SetReactionUsers sets the ReactionUsers field's value. +func (s *ReactionForComment) SetReactionUsers(v []*string) *ReactionForComment { + s.ReactionUsers = v + return s +} + +// SetReactionsFromDeletedUsersCount sets the ReactionsFromDeletedUsersCount field's value. +func (s *ReactionForComment) SetReactionsFromDeletedUsersCount(v int64) *ReactionForComment { + s.ReactionsFromDeletedUsersCount = &v + return s +} + +// The number of reactions has been exceeded. Reactions are limited to one reaction +// per user for each individual comment ID. +type ReactionLimitExceededException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation +func (s ReactionLimitExceededException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ReactionLimitExceededException) GoString() string { + return s.String() +} + +func newErrorReactionLimitExceededException(v protocol.ResponseMetadata) error { + return &ReactionLimitExceededException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ReactionLimitExceededException) Code() string { + return "ReactionLimitExceededException" +} + +// Message returns the exception's message. +func (s *ReactionLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ReactionLimitExceededException) OrigErr() error { + return nil +} + +func (s *ReactionLimitExceededException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ReactionLimitExceededException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ReactionLimitExceededException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Information about the values for reactions to a comment. AWS CodeCommit supports +// a limited set of reactions. +type ReactionValueFormats struct { + _ struct{} `type:"structure"` + + // The Emoji Version 1.0 graphic of the reaction. These graphics are interpreted + // slightly differently on different operating systems. + Emoji *string `locationName:"emoji" type:"string"` + + // The emoji short code for the reaction. Short codes are interpreted slightly + // differently on different operating systems. + ShortCode *string `locationName:"shortCode" type:"string"` + + // The Unicode codepoint for the reaction. + Unicode *string `locationName:"unicode" type:"string"` +} + +// String returns the string representation +func (s ReactionValueFormats) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ReactionValueFormats) GoString() string { + return s.String() +} + +// SetEmoji sets the Emoji field's value. +func (s *ReactionValueFormats) SetEmoji(v string) *ReactionValueFormats { + s.Emoji = &v + return s +} + +// SetShortCode sets the ShortCode field's value. +func (s *ReactionValueFormats) SetShortCode(v string) *ReactionValueFormats { + s.ShortCode = &v + return s +} + +// SetUnicode sets the Unicode field's value. +func (s *ReactionValueFormats) SetUnicode(v string) *ReactionValueFormats { + s.Unicode = &v + return s +} + +// A reaction value is required. +type ReactionValueRequiredException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation +func (s ReactionValueRequiredException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ReactionValueRequiredException) GoString() string { + return s.String() +} + +func newErrorReactionValueRequiredException(v protocol.ResponseMetadata) error { + return &ReactionValueRequiredException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ReactionValueRequiredException) Code() string { + return "ReactionValueRequiredException" +} + +// Message returns the exception's message. +func (s *ReactionValueRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ReactionValueRequiredException) OrigErr() error { + return nil +} + +func (s *ReactionValueRequiredException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ReactionValueRequiredException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ReactionValueRequiredException) RequestID() string { + return s.RespMetadata.RequestID +} + // The specified reference does not exist. You must provide a full commit ID. type ReferenceDoesNotExistException struct { _ struct{} `type:"structure"` @@ -31378,7 +32182,7 @@ type UpdatePullRequestApprovalRuleContentInput struct { // Amazon Resource Name (ARN) of the IAM user or role. // // For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers - // (https://docs.aws.amazon.com/iam/latest/UserGuide/reference_identifiers.html) + // (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) // in the IAM User Guide. // // NewRuleContent is a required field diff --git a/service/codecommit/codecommitiface/interface.go b/service/codecommit/codecommitiface/interface.go index d85e35931e7..5988e85c94a 100644 --- a/service/codecommit/codecommitiface/interface.go +++ b/service/codecommit/codecommitiface/interface.go @@ -174,6 +174,13 @@ type CodeCommitAPI interface { GetCommentWithContext(aws.Context, *codecommit.GetCommentInput, ...request.Option) (*codecommit.GetCommentOutput, error) GetCommentRequest(*codecommit.GetCommentInput) (*request.Request, *codecommit.GetCommentOutput) + GetCommentReactions(*codecommit.GetCommentReactionsInput) (*codecommit.GetCommentReactionsOutput, error) + GetCommentReactionsWithContext(aws.Context, *codecommit.GetCommentReactionsInput, ...request.Option) (*codecommit.GetCommentReactionsOutput, error) + GetCommentReactionsRequest(*codecommit.GetCommentReactionsInput) (*request.Request, *codecommit.GetCommentReactionsOutput) + + GetCommentReactionsPages(*codecommit.GetCommentReactionsInput, func(*codecommit.GetCommentReactionsOutput, bool) bool) error + GetCommentReactionsPagesWithContext(aws.Context, *codecommit.GetCommentReactionsInput, func(*codecommit.GetCommentReactionsOutput, bool) bool, ...request.Option) error + GetCommentsForComparedCommit(*codecommit.GetCommentsForComparedCommitInput) (*codecommit.GetCommentsForComparedCommitOutput, error) GetCommentsForComparedCommitWithContext(aws.Context, *codecommit.GetCommentsForComparedCommitInput, ...request.Option) (*codecommit.GetCommentsForComparedCommitOutput, error) GetCommentsForComparedCommitRequest(*codecommit.GetCommentsForComparedCommitInput) (*request.Request, *codecommit.GetCommentsForComparedCommitOutput) @@ -328,6 +335,10 @@ type CodeCommitAPI interface { PostCommentReplyWithContext(aws.Context, *codecommit.PostCommentReplyInput, ...request.Option) (*codecommit.PostCommentReplyOutput, error) PostCommentReplyRequest(*codecommit.PostCommentReplyInput) (*request.Request, *codecommit.PostCommentReplyOutput) + PutCommentReaction(*codecommit.PutCommentReactionInput) (*codecommit.PutCommentReactionOutput, error) + PutCommentReactionWithContext(aws.Context, *codecommit.PutCommentReactionInput, ...request.Option) (*codecommit.PutCommentReactionOutput, error) + PutCommentReactionRequest(*codecommit.PutCommentReactionInput) (*request.Request, *codecommit.PutCommentReactionOutput) + PutFile(*codecommit.PutFileInput) (*codecommit.PutFileOutput, error) PutFileWithContext(aws.Context, *codecommit.PutFileInput, ...request.Option) (*codecommit.PutFileOutput, error) PutFileRequest(*codecommit.PutFileInput) (*request.Request, *codecommit.PutFileOutput) diff --git a/service/codecommit/doc.go b/service/codecommit/doc.go index 2025f901bd5..87186d5eddd 100644 --- a/service/codecommit/doc.go +++ b/service/codecommit/doc.go @@ -224,6 +224,9 @@ // // * GetComment, which returns information about a comment on a commit. // +// * GetCommentReactions, which returns information about emoji reactions +// to comments. +// // * GetCommentsForComparedCommit, which returns information about comments // on the comparison between two commit specifiers in a repository. // @@ -232,6 +235,9 @@ // // * PostCommentReply, which creates a reply to a comment. // +// * PutCommentReaction, which creates or updates an emoji reaction to a +// comment. +// // * UpdateComment, which updates the content of a comment on a commit in // a repository. // diff --git a/service/codecommit/errors.go b/service/codecommit/errors.go index 030dd1c47bf..44aa82763a5 100644 --- a/service/codecommit/errors.go +++ b/service/codecommit/errors.go @@ -117,7 +117,8 @@ const ( // ErrCodeBranchNameExistsException for service response error code // "BranchNameExistsException". // - // The specified branch name already exists. + // Cannot create the branch with the specified name because the commit conflicts + // with an existing branch with the same name. Branch names must be unique. ErrCodeBranchNameExistsException = "BranchNameExistsException" // ErrCodeBranchNameIsTagNameException for service response error code @@ -636,6 +637,19 @@ const ( // OPEN to CLOSED. ErrCodeInvalidPullRequestStatusUpdateException = "InvalidPullRequestStatusUpdateException" + // ErrCodeInvalidReactionUserArnException for service response error code + // "InvalidReactionUserArnException". + // + // The Amazon Resource Name (ARN) of the user or identity is not valid. + ErrCodeInvalidReactionUserArnException = "InvalidReactionUserArnException" + + // ErrCodeInvalidReactionValueException for service response error code + // "InvalidReactionValueException". + // + // The value of the reaction is not valid. For more information, see the AWS + // CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html). + ErrCodeInvalidReactionValueException = "InvalidReactionValueException" + // ErrCodeInvalidReferenceNameException for service response error code // "InvalidReferenceNameException". // @@ -1023,6 +1037,19 @@ const ( // reference both a file and a folder. ErrCodePutFileEntryConflictException = "PutFileEntryConflictException" + // ErrCodeReactionLimitExceededException for service response error code + // "ReactionLimitExceededException". + // + // The number of reactions has been exceeded. Reactions are limited to one reaction + // per user for each individual comment ID. + ErrCodeReactionLimitExceededException = "ReactionLimitExceededException" + + // ErrCodeReactionValueRequiredException for service response error code + // "ReactionValueRequiredException". + // + // A reaction value is required. + ErrCodeReactionValueRequiredException = "ReactionValueRequiredException" + // ErrCodeReferenceDoesNotExistException for service response error code // "ReferenceDoesNotExistException". // @@ -1337,6 +1364,8 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "InvalidPullRequestIdException": newErrorInvalidPullRequestIdException, "InvalidPullRequestStatusException": newErrorInvalidPullRequestStatusException, "InvalidPullRequestStatusUpdateException": newErrorInvalidPullRequestStatusUpdateException, + "InvalidReactionUserArnException": newErrorInvalidReactionUserArnException, + "InvalidReactionValueException": newErrorInvalidReactionValueException, "InvalidReferenceNameException": newErrorInvalidReferenceNameException, "InvalidRelativeFileVersionEnumException": newErrorInvalidRelativeFileVersionEnumException, "InvalidReplacementContentException": newErrorInvalidReplacementContentException, @@ -1393,6 +1422,8 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "PullRequestIdRequiredException": newErrorPullRequestIdRequiredException, "PullRequestStatusRequiredException": newErrorPullRequestStatusRequiredException, "PutFileEntryConflictException": newErrorPutFileEntryConflictException, + "ReactionLimitExceededException": newErrorReactionLimitExceededException, + "ReactionValueRequiredException": newErrorReactionValueRequiredException, "ReferenceDoesNotExistException": newErrorReferenceDoesNotExistException, "ReferenceNameRequiredException": newErrorReferenceNameRequiredException, "ReferenceTypeNotSupportedException": newErrorReferenceTypeNotSupportedException, diff --git a/service/emr/api.go b/service/emr/api.go index b4683a6ef7a..418e2d6889c 100644 --- a/service/emr/api.go +++ b/service/emr/api.go @@ -6562,18 +6562,25 @@ func (s *InstanceFleetModifyConfig) SetTargetSpotCapacity(v int64) *InstanceFlee } // The launch specification for Spot instances in the fleet, which determines -// the defined duration and provisioning timeout behavior. +// the defined duration, provisioning timeout behavior, and allocation strategy. // // The instance fleet configuration is available only in Amazon EMR versions -// 4.8.0 and later, excluding 5.0.x versions. +// 4.8.0 and later, excluding 5.0.x versions. On-Demand and Spot instance allocation +// strategies are available in Amazon EMR version 5.12.1 and later. type InstanceFleetProvisioningSpecifications struct { _ struct{} `type:"structure"` - // The launch specification for Spot instances in the fleet, which determines - // the defined duration and provisioning timeout behavior. + // The launch specification for On-Demand instances in the instance fleet, which + // determines the allocation strategy. // - // SpotSpecification is a required field - SpotSpecification *SpotProvisioningSpecification `type:"structure" required:"true"` + // The instance fleet configuration is available only in Amazon EMR versions + // 4.8.0 and later, excluding 5.0.x versions. On-Demand instances allocation + // strategy is available in Amazon EMR version 5.12.1 and later. + OnDemandSpecification *OnDemandProvisioningSpecification `type:"structure"` + + // The launch specification for Spot instances in the fleet, which determines + // the defined duration, provisioning timeout behavior, and allocation strategy. + SpotSpecification *SpotProvisioningSpecification `type:"structure"` } // String returns the string representation @@ -6589,8 +6596,10 @@ func (s InstanceFleetProvisioningSpecifications) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *InstanceFleetProvisioningSpecifications) Validate() error { invalidParams := request.ErrInvalidParams{Context: "InstanceFleetProvisioningSpecifications"} - if s.SpotSpecification == nil { - invalidParams.Add(request.NewErrParamRequired("SpotSpecification")) + if s.OnDemandSpecification != nil { + if err := s.OnDemandSpecification.Validate(); err != nil { + invalidParams.AddNested("OnDemandSpecification", err.(request.ErrInvalidParams)) + } } if s.SpotSpecification != nil { if err := s.SpotSpecification.Validate(); err != nil { @@ -6604,6 +6613,12 @@ func (s *InstanceFleetProvisioningSpecifications) Validate() error { return nil } +// SetOnDemandSpecification sets the OnDemandSpecification field's value. +func (s *InstanceFleetProvisioningSpecifications) SetOnDemandSpecification(v *OnDemandProvisioningSpecification) *InstanceFleetProvisioningSpecifications { + s.OnDemandSpecification = v + return s +} + // SetSpotSpecification sets the SpotSpecification field's value. func (s *InstanceFleetProvisioningSpecifications) SetSpotSpecification(v *SpotProvisioningSpecification) *InstanceFleetProvisioningSpecifications { s.SpotSpecification = v @@ -9645,6 +9660,52 @@ func (s ModifyInstanceGroupsOutput) GoString() string { return s.String() } +// The launch specification for On-Demand instances in the instance fleet, which +// determines the allocation strategy. +// +// The instance fleet configuration is available only in Amazon EMR versions +// 4.8.0 and later, excluding 5.0.x versions. On-Demand instances allocation +// strategy is available in Amazon EMR version 5.12.1 and later. +type OnDemandProvisioningSpecification struct { + _ struct{} `type:"structure"` + + // Specifies the strategy to use in launching On-Demand instance fleets. Currently, + // the only option is lowest-price (the default), which launches the lowest + // price first. + // + // AllocationStrategy is a required field + AllocationStrategy *string `type:"string" required:"true" enum:"OnDemandProvisioningAllocationStrategy"` +} + +// String returns the string representation +func (s OnDemandProvisioningSpecification) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s OnDemandProvisioningSpecification) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *OnDemandProvisioningSpecification) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "OnDemandProvisioningSpecification"} + if s.AllocationStrategy == nil { + invalidParams.Add(request.NewErrParamRequired("AllocationStrategy")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAllocationStrategy sets the AllocationStrategy field's value. +func (s *OnDemandProvisioningSpecification) SetAllocationStrategy(v string) *OnDemandProvisioningSpecification { + s.AllocationStrategy = &v + return s +} + // The Amazon EC2 Availability Zone configuration of the cluster (job flow). type PlacementType struct { _ struct{} `type:"structure"` @@ -11206,13 +11267,21 @@ func (s *SimpleScalingPolicyConfiguration) SetScalingAdjustment(v int64) *Simple } // The launch specification for Spot instances in the instance fleet, which -// determines the defined duration and provisioning timeout behavior. +// determines the defined duration, provisioning timeout behavior, and allocation +// strategy. // // The instance fleet configuration is available only in Amazon EMR versions -// 4.8.0 and later, excluding 5.0.x versions. +// 4.8.0 and later, excluding 5.0.x versions. Spot instance allocation strategy +// is available in Amazon EMR version 5.12.1 and later. type SpotProvisioningSpecification struct { _ struct{} `type:"structure"` + // Specifies the strategy to use in launching Spot instance fleets. Currently, + // the only option is capacity-optimized (the default), which launches instances + // from Spot instance pools with optimal capacity for the number of instances + // that are launching. + AllocationStrategy *string `type:"string" enum:"SpotProvisioningAllocationStrategy"` + // The defined duration for Spot instances (also known as Spot blocks) in minutes. // When specified, the Spot instance does not terminate before the defined duration // expires, and defined duration pricing for Spot instances applies. Valid values @@ -11268,6 +11337,12 @@ func (s *SpotProvisioningSpecification) Validate() error { return nil } +// SetAllocationStrategy sets the AllocationStrategy field's value. +func (s *SpotProvisioningSpecification) SetAllocationStrategy(v string) *SpotProvisioningSpecification { + s.AllocationStrategy = &v + return s +} + // SetBlockDurationMinutes sets the BlockDurationMinutes field's value. func (s *SpotProvisioningSpecification) SetBlockDurationMinutes(v int64) *SpotProvisioningSpecification { s.BlockDurationMinutes = &v @@ -12232,6 +12307,11 @@ const ( MarketTypeSpot = "SPOT" ) +const ( + // OnDemandProvisioningAllocationStrategyLowestPrice is a OnDemandProvisioningAllocationStrategy enum value + OnDemandProvisioningAllocationStrategyLowestPrice = "lowest-price" +) + const ( // RepoUpgradeOnBootSecurity is a RepoUpgradeOnBoot enum value RepoUpgradeOnBootSecurity = "SECURITY" @@ -12248,6 +12328,11 @@ const ( ScaleDownBehaviorTerminateAtTaskCompletion = "TERMINATE_AT_TASK_COMPLETION" ) +const ( + // SpotProvisioningAllocationStrategyCapacityOptimized is a SpotProvisioningAllocationStrategy enum value + SpotProvisioningAllocationStrategyCapacityOptimized = "capacity-optimized" +) + const ( // SpotProvisioningTimeoutActionSwitchToOnDemand is a SpotProvisioningTimeoutAction enum value SpotProvisioningTimeoutActionSwitchToOnDemand = "SWITCH_TO_ON_DEMAND" diff --git a/service/fsx/api.go b/service/fsx/api.go index b0a9a9d8c23..1a0041431ed 100644 --- a/service/fsx/api.go +++ b/service/fsx/api.go @@ -158,10 +158,19 @@ func (c *FSx) CreateBackupRequest(input *CreateBackupInput) (req *request.Reques // CreateBackup API operation for Amazon FSx. // -// Creates a backup of an existing Amazon FSx for Windows File Server file system. -// Creating regular backups for your file system is a best practice that complements -// the replication that Amazon FSx for Windows File Server performs for your -// file system. It also enables you to restore from user modification of data. +// Creates a backup of an existing Amazon FSx file system. Creating regular +// backups for your file system is a best practice, enabling you to restore +// a file system from a backup if an issue arises with the original file system. +// +// For Amazon FSx for Lustre file systems, you can create a backup only for +// file systems with the following configuration: +// +// * a Persistent deployment type +// +// * is not linked to an Amazon S3 data respository. +// +// For more information, see https://docs.aws.amazon.com/fsx/latest/LustreGuide/lustre-backups.html +// (https://docs.aws.amazon.com/fsx/latest/LustreGuide/lustre-backups.html). // // If a backup with the specified client request token exists, and the parameters // match, this operation returns the description of the existing backup. If @@ -181,10 +190,9 @@ func (c *FSx) CreateBackupRequest(input *CreateBackupInput) (req *request.Reques // created a backup, the operation returns a successful result because all the // parameters are the same. // -// The CreateFileSystem operation returns while the backup's lifecycle state -// is still CREATING. You can check the file system creation status by calling -// the DescribeBackups operation, which returns the backup state along with -// other information. +// The CreateBackup operation returns while the backup's lifecycle state is +// still CREATING. You can check the backup creation status by calling the DescribeBackups +// operation, which returns the backup state along with other information. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -538,8 +546,7 @@ func (c *FSx) CreateFileSystemFromBackupRequest(input *CreateFileSystemFromBacku // CreateFileSystemFromBackup API operation for Amazon FSx. // -// Creates a new Amazon FSx file system from an existing Amazon FSx for Windows -// File Server backup. +// Creates a new Amazon FSx file system from an existing Amazon FSx backup. // // If a file system with the specified client request token exists and the parameters // match, this operation returns the description of the file system. If a client @@ -597,6 +604,10 @@ func (c *FSx) CreateFileSystemFromBackupRequest(input *CreateFileSystemFromBacku // of IDs for security groups that are either invalid or not part of the VPC // specified. // +// * InvalidPerUnitStorageThroughput +// An invalid value for PerUnitStorageThroughput was provided. Please create +// your file system again, using a valid value. +// // * ServiceLimitExceeded // An error indicating that a particular service limit was exceeded. You can // increase some service limits by contacting AWS Support. @@ -676,8 +687,8 @@ func (c *FSx) DeleteBackupRequest(input *DeleteBackupInput) (req *request.Reques // DeleteBackup API operation for Amazon FSx. // -// Deletes an Amazon FSx for Windows File Server backup, deleting its contents. -// After deletion, the backup no longer exists, and its data is gone. +// Deletes an Amazon FSx backup, deleting its contents. After deletion, the +// backup no longer exists, and its data is gone. // // The DeleteBackup call returns instantly. The backup will not show up in later // DescribeBackups calls. @@ -898,10 +909,9 @@ func (c *FSx) DescribeBackupsRequest(input *DescribeBackupsInput) (req *request. // DescribeBackups API operation for Amazon FSx. // -// Returns the description of specific Amazon FSx for Windows File Server backups, -// if a BackupIds value is provided for that backup. Otherwise, it returns all -// backups owned by your AWS account in the AWS Region of the endpoint that -// you're calling. +// Returns the description of specific Amazon FSx backups, if a BackupIds value +// is provided for that backup. Otherwise, it returns all backups owned by your +// AWS account in the AWS Region of the endpoint that you're calling. // // When retrieving all backups, you can optionally specify the MaxResults parameter // to limit the number of backups in a response. If more backups remain, Amazon @@ -1977,8 +1987,7 @@ func (s *AdministrativeActionFailureDetails) SetMessage(v string) *Administrativ return s } -// A backup of an Amazon FSx for Windows File Server file system. You can create -// a new file system from a backup to protect against data loss. +// A backup of an Amazon FSx for file system. type Backup struct { _ struct{} `type:"structure"` @@ -2543,9 +2552,9 @@ func (s *CompletionReport) SetScope(v string) *CompletionReport { type CreateBackupInput struct { _ struct{} `type:"structure"` - // (Optional) 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. + // 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 `min:"1" type:"string" idempotencyToken:"true"` // The ID of the file system to back up. @@ -2554,7 +2563,10 @@ type CreateBackupInput struct { FileSystemId *string `min:"11" type:"string" required:"true"` // 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. + // 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 tags on the file system are copied from the file system to the + // backup. Tags []*Tag `min:"1" type:"list"` } @@ -2802,11 +2814,14 @@ type CreateFileSystemFromBackupInput struct { // BackupId is a required field BackupId *string `min:"12" type:"string" required:"true"` - // (Optional) 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. + // 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 `min:"1" type:"string" idempotencyToken:"true"` + // The Lustre configuration for the file system being created. + LustreConfiguration *CreateFileSystemLustreConfiguration `type:"structure"` + // 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 @@ -2880,6 +2895,11 @@ func (s *CreateFileSystemFromBackupInput) Validate() error { if s.Tags != nil && len(s.Tags) < 1 { invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) } + if s.LustreConfiguration != nil { + if err := s.LustreConfiguration.Validate(); err != nil { + invalidParams.AddNested("LustreConfiguration", err.(request.ErrInvalidParams)) + } + } if s.Tags != nil { for i, v := range s.Tags { if v == nil { @@ -2914,6 +2934,12 @@ func (s *CreateFileSystemFromBackupInput) SetClientRequestToken(v string) *Creat return s } +// SetLustreConfiguration sets the LustreConfiguration field's value. +func (s *CreateFileSystemFromBackupInput) SetLustreConfiguration(v *CreateFileSystemLustreConfiguration) *CreateFileSystemFromBackupInput { + s.LustreConfiguration = v + return s +} + // SetSecurityGroupIds sets the SecurityGroupIds field's value. func (s *CreateFileSystemFromBackupInput) SetSecurityGroupIds(v []*string) *CreateFileSystemFromBackupInput { s.SecurityGroupIds = v @@ -2972,9 +2998,9 @@ func (s *CreateFileSystemFromBackupOutput) SetFileSystem(v *FileSystem) *CreateF type CreateFileSystemInput struct { _ struct{} `type:"structure"` - // (Optional) 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. + // 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 `min:"1" type:"string" idempotencyToken:"true"` // The type of Amazon FSx file system to create, either WINDOWS or LUSTRE. @@ -3174,10 +3200,30 @@ func (s *CreateFileSystemInput) SetWindowsConfiguration(v *CreateFileSystemWindo type CreateFileSystemLustreConfiguration struct { _ struct{} `type:"structure"` - // (Optional) 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. + // The number of days to retain automatic backups. Setting this to 0 disables + // automatic backups. You can retain automatic backups for a maximum of 35 days. + // The default is 0. + AutomaticBackupRetentionDays *int64 `type:"integer"` + + // 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 system are copied to all automatic and user-initiated backups where + // the user doesn't specify 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. + CopyTagsToBackups *bool `type:"boolean"` + + // 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 `min:"5" type:"string"` + + // 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. + // + // This option can only be set for for PERSISTENT_1 deployments types. // // Choose PERSISTENT_1 deployment type for longer-term storage and workloads // and encryption of data in transit. To learn more about deployment types, @@ -3256,6 +3302,9 @@ func (s CreateFileSystemLustreConfiguration) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *CreateFileSystemLustreConfiguration) Validate() error { invalidParams := request.ErrInvalidParams{Context: "CreateFileSystemLustreConfiguration"} + if s.DailyAutomaticBackupStartTime != nil && len(*s.DailyAutomaticBackupStartTime) < 5 { + invalidParams.Add(request.NewErrParamMinLen("DailyAutomaticBackupStartTime", 5)) + } if s.ExportPath != nil && len(*s.ExportPath) < 3 { invalidParams.Add(request.NewErrParamMinLen("ExportPath", 3)) } @@ -3278,6 +3327,24 @@ func (s *CreateFileSystemLustreConfiguration) Validate() error { return nil } +// SetAutomaticBackupRetentionDays sets the AutomaticBackupRetentionDays field's value. +func (s *CreateFileSystemLustreConfiguration) SetAutomaticBackupRetentionDays(v int64) *CreateFileSystemLustreConfiguration { + s.AutomaticBackupRetentionDays = &v + return s +} + +// SetCopyTagsToBackups sets the CopyTagsToBackups field's value. +func (s *CreateFileSystemLustreConfiguration) SetCopyTagsToBackups(v bool) *CreateFileSystemLustreConfiguration { + s.CopyTagsToBackups = &v + return s +} + +// SetDailyAutomaticBackupStartTime sets the DailyAutomaticBackupStartTime field's value. +func (s *CreateFileSystemLustreConfiguration) SetDailyAutomaticBackupStartTime(v string) *CreateFileSystemLustreConfiguration { + s.DailyAutomaticBackupStartTime = &v + return s +} + // SetDeploymentType sets the DeploymentType field's value. func (s *CreateFileSystemLustreConfiguration) SetDeploymentType(v string) *CreateFileSystemLustreConfiguration { s.DeploymentType = &v @@ -4048,9 +4115,9 @@ type DeleteBackupInput struct { // BackupId is a required field BackupId *string `min:"12" type:"string" required:"true"` - // (Optional) 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. + // 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 `min:"1" type:"string" idempotencyToken:"true"` } @@ -4132,9 +4199,9 @@ func (s *DeleteBackupOutput) SetLifecycle(v string) *DeleteBackupOutput { type DeleteFileSystemInput struct { _ struct{} `type:"structure"` - // (Optional) 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. + // 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 `min:"1" type:"string" idempotencyToken:"true"` // The ID of the file system you want to delete. @@ -4142,6 +4209,10 @@ type DeleteFileSystemInput struct { // FileSystemId is a required field FileSystemId *string `min:"11" type:"string" required:"true"` + // The configuration object for the Amazon FSx for Lustre file system being + // deleted in the DeleteFileSystem operation. + LustreConfiguration *DeleteFileSystemLustreConfiguration `type:"structure"` + // The configuration object for the Microsoft Windows file system used in the // DeleteFileSystem operation. WindowsConfiguration *DeleteFileSystemWindowsConfiguration `type:"structure"` @@ -4169,6 +4240,11 @@ func (s *DeleteFileSystemInput) Validate() error { if s.FileSystemId != nil && len(*s.FileSystemId) < 11 { invalidParams.Add(request.NewErrParamMinLen("FileSystemId", 11)) } + if s.LustreConfiguration != nil { + if err := s.LustreConfiguration.Validate(); err != nil { + invalidParams.AddNested("LustreConfiguration", err.(request.ErrInvalidParams)) + } + } if s.WindowsConfiguration != nil { if err := s.WindowsConfiguration.Validate(); err != nil { invalidParams.AddNested("WindowsConfiguration", err.(request.ErrInvalidParams)) @@ -4193,12 +4269,115 @@ func (s *DeleteFileSystemInput) SetFileSystemId(v string) *DeleteFileSystemInput return s } +// SetLustreConfiguration sets the LustreConfiguration field's value. +func (s *DeleteFileSystemInput) SetLustreConfiguration(v *DeleteFileSystemLustreConfiguration) *DeleteFileSystemInput { + s.LustreConfiguration = v + return s +} + // SetWindowsConfiguration sets the WindowsConfiguration field's value. func (s *DeleteFileSystemInput) SetWindowsConfiguration(v *DeleteFileSystemWindowsConfiguration) *DeleteFileSystemInput { s.WindowsConfiguration = v return s } +// The configuration object for the Amazon FSx for Lustre file system being +// deleted in the DeleteFileSystem operation. +type DeleteFileSystemLustreConfiguration struct { + _ struct{} `type:"structure"` + + // 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 CopyTagsToBackups + // to true, and 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 `min:"1" type:"list"` + + // 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 *bool `type:"boolean"` +} + +// String returns the string representation +func (s DeleteFileSystemLustreConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteFileSystemLustreConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteFileSystemLustreConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteFileSystemLustreConfiguration"} + if s.FinalBackupTags != nil && len(s.FinalBackupTags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FinalBackupTags", 1)) + } + if s.FinalBackupTags != nil { + for i, v := range s.FinalBackupTags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "FinalBackupTags", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFinalBackupTags sets the FinalBackupTags field's value. +func (s *DeleteFileSystemLustreConfiguration) SetFinalBackupTags(v []*Tag) *DeleteFileSystemLustreConfiguration { + s.FinalBackupTags = v + return s +} + +// SetSkipFinalBackup sets the SkipFinalBackup field's value. +func (s *DeleteFileSystemLustreConfiguration) SetSkipFinalBackup(v bool) *DeleteFileSystemLustreConfiguration { + s.SkipFinalBackup = &v + return s +} + +// The response object for the Amazon FSx for Lustre file system being deleted +// in the DeleteFileSystem operation. +type DeleteFileSystemLustreResponse struct { + _ struct{} `type:"structure"` + + // The ID of the final backup for this file system. + FinalBackupId *string `min:"12" type:"string"` + + // The set of tags applied to the final backup. + FinalBackupTags []*Tag `min:"1" type:"list"` +} + +// String returns the string representation +func (s DeleteFileSystemLustreResponse) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteFileSystemLustreResponse) GoString() string { + return s.String() +} + +// SetFinalBackupId sets the FinalBackupId field's value. +func (s *DeleteFileSystemLustreResponse) SetFinalBackupId(v string) *DeleteFileSystemLustreResponse { + s.FinalBackupId = &v + return s +} + +// SetFinalBackupTags sets the FinalBackupTags field's value. +func (s *DeleteFileSystemLustreResponse) SetFinalBackupTags(v []*Tag) *DeleteFileSystemLustreResponse { + s.FinalBackupTags = v + return s +} + // The response object for the DeleteFileSystem operation. type DeleteFileSystemOutput struct { _ struct{} `type:"structure"` @@ -4209,6 +4388,10 @@ type DeleteFileSystemOutput struct { // The file system lifecycle for the deletion request. Should be DELETING. Lifecycle *string `type:"string" enum:"FileSystemLifecycle"` + // The response object for the Amazon FSx for Lustre file system being deleted + // in the DeleteFileSystem operation. + LustreResponse *DeleteFileSystemLustreResponse `type:"structure"` + // The response object for the Microsoft Windows file system used in the DeleteFileSystem // operation. WindowsResponse *DeleteFileSystemWindowsResponse `type:"structure"` @@ -4236,6 +4419,12 @@ func (s *DeleteFileSystemOutput) SetLifecycle(v string) *DeleteFileSystemOutput return s } +// SetLustreResponse sets the LustreResponse field's value. +func (s *DeleteFileSystemOutput) SetLustreResponse(v *DeleteFileSystemLustreResponse) *DeleteFileSystemOutput { + s.LustreResponse = v + return s +} + // SetWindowsResponse sets the WindowsResponse field's value. func (s *DeleteFileSystemOutput) SetWindowsResponse(v *DeleteFileSystemWindowsResponse) *DeleteFileSystemOutput { s.WindowsResponse = v @@ -4340,22 +4529,22 @@ func (s *DeleteFileSystemWindowsResponse) SetFinalBackupTags(v []*Tag) *DeleteFi type DescribeBackupsInput struct { _ struct{} `type:"structure"` - // (Optional) IDs of the backups you want to retrieve (String). This overrides - // any filters. If any IDs are not found, BackupNotFound will be thrown. + // IDs of the backups you want to retrieve (String). This overrides any filters. + // If any IDs are not found, BackupNotFound will be thrown. BackupIds []*string `type:"list"` - // (Optional) Filters structure. Supported names are file-system-id and backup-type. + // Filters structure. Supported names are file-system-id and backup-type. Filters []*Filter `type:"list"` - // (Optional) 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 the minimum of the MaxResults parameter specified in the request - // and the service's internal maximum number of items per page. + // 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 the minimum of the MaxResults parameter specified in the request and the + // service's internal maximum number of items per page. MaxResults *int64 `min:"1" type:"integer"` - // (Optional) Opaque pagination token returned from a previous DescribeBackups - // operation (String). If a token present, the action continues the list from - // where the returning call left off. + // Opaque pagination token returned from a previous DescribeBackups operation + // (String). If a token present, the action continues the list from where the + // returning call left off. NextToken *string `min:"1" type:"string"` } @@ -4552,19 +4741,18 @@ func (s *DescribeDataRepositoryTasksOutput) SetNextToken(v string) *DescribeData type DescribeFileSystemsInput struct { _ struct{} `type:"structure"` - // (Optional) IDs of the file systems whose descriptions you want to retrieve - // (String). + // IDs of the file systems whose descriptions you want to retrieve (String). FileSystemIds []*string `type:"list"` - // (Optional) Maximum number of file systems 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 + // Maximum number of file systems 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 *int64 `min:"1" type:"integer"` - // (Optional) 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. + // 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. NextToken *string `min:"1" type:"string"` } @@ -5362,15 +5550,15 @@ func (s *InvalidPerUnitStorageThroughput) RequestID() string { type ListTagsForResourceInput struct { _ struct{} `type:"structure"` - // (Optional) 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 the minimum of the MaxResults parameter specified in the request - // and the service's internal maximum number of items per page. + // 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 the minimum of the MaxResults parameter specified in the request and the + // service's internal maximum number of items per page. MaxResults *int64 `min:"1" type:"integer"` - // (Optional) Opaque pagination token returned from a previous ListTagsForResource - // operation (String). If a token present, the action continues the list from - // where the returning call left off. + // Opaque pagination token returned from a previous ListTagsForResource operation + // (String). If a token present, the action continues the list from where the + // returning call left off. NextToken *string `min:"1" type:"string"` // The ARN of the Amazon FSx resource that will have its tags listed. @@ -5467,11 +5655,41 @@ func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput type LustreFileSystemConfiguration struct { _ struct{} `type:"structure"` + // The number of days to retain automatic backups. Setting this to 0 disables + // automatic backups. You can retain automatic backups for a maximum of 35 days. + // The default is 0. + AutomaticBackupRetentionDays *int64 `type:"integer"` + + // 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 *bool `type:"boolean"` + + // 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 `min:"5" type:"string"` + // The data repository configuration object for Lustre file systems returned // in the response of the CreateFileSystem operation. DataRepositoryConfiguration *DataRepositoryConfiguration `type:"structure"` - // The deployment type of the FSX for Lustre file system. + // 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 (https://docs.aws.amazon.com/fsx/latest/LustreGuide/lustre-deployment-types.html). + // (Default = SCRATCH_1) DeploymentType *string `type:"string" enum:"LustreDeploymentType"` // You use the MountName value when mounting the file system. @@ -5504,6 +5722,24 @@ func (s LustreFileSystemConfiguration) GoString() string { return s.String() } +// SetAutomaticBackupRetentionDays sets the AutomaticBackupRetentionDays field's value. +func (s *LustreFileSystemConfiguration) SetAutomaticBackupRetentionDays(v int64) *LustreFileSystemConfiguration { + s.AutomaticBackupRetentionDays = &v + return s +} + +// SetCopyTagsToBackups sets the CopyTagsToBackups field's value. +func (s *LustreFileSystemConfiguration) SetCopyTagsToBackups(v bool) *LustreFileSystemConfiguration { + s.CopyTagsToBackups = &v + return s +} + +// SetDailyAutomaticBackupStartTime sets the DailyAutomaticBackupStartTime field's value. +func (s *LustreFileSystemConfiguration) SetDailyAutomaticBackupStartTime(v string) *LustreFileSystemConfiguration { + s.DailyAutomaticBackupStartTime = &v + return s +} + // SetDataRepositoryConfiguration sets the DataRepositoryConfiguration field's value. func (s *LustreFileSystemConfiguration) SetDataRepositoryConfiguration(v *DataRepositoryConfiguration) *LustreFileSystemConfiguration { s.DataRepositoryConfiguration = v @@ -6498,6 +6734,16 @@ func (s *UpdateFileSystemInput) SetWindowsConfiguration(v *UpdateFileSystemWindo type UpdateFileSystemLustreConfiguration struct { _ struct{} `type:"structure"` + // The number of days to retain automatic backups. Setting this to 0 disables + // automatic backups. You can retain automatic backups for a maximum of 35 days. + // The default is 0. + AutomaticBackupRetentionDays *int64 `type:"integer"` + + // 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 `min:"5" type:"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. @@ -6517,6 +6763,9 @@ func (s UpdateFileSystemLustreConfiguration) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *UpdateFileSystemLustreConfiguration) Validate() error { invalidParams := request.ErrInvalidParams{Context: "UpdateFileSystemLustreConfiguration"} + if s.DailyAutomaticBackupStartTime != nil && len(*s.DailyAutomaticBackupStartTime) < 5 { + invalidParams.Add(request.NewErrParamMinLen("DailyAutomaticBackupStartTime", 5)) + } if s.WeeklyMaintenanceStartTime != nil && len(*s.WeeklyMaintenanceStartTime) < 7 { invalidParams.Add(request.NewErrParamMinLen("WeeklyMaintenanceStartTime", 7)) } @@ -6527,6 +6776,18 @@ func (s *UpdateFileSystemLustreConfiguration) Validate() error { return nil } +// SetAutomaticBackupRetentionDays sets the AutomaticBackupRetentionDays field's value. +func (s *UpdateFileSystemLustreConfiguration) SetAutomaticBackupRetentionDays(v int64) *UpdateFileSystemLustreConfiguration { + s.AutomaticBackupRetentionDays = &v + return s +} + +// SetDailyAutomaticBackupStartTime sets the DailyAutomaticBackupStartTime field's value. +func (s *UpdateFileSystemLustreConfiguration) SetDailyAutomaticBackupStartTime(v string) *UpdateFileSystemLustreConfiguration { + s.DailyAutomaticBackupStartTime = &v + return s +} + // SetWeeklyMaintenanceStartTime sets the WeeklyMaintenanceStartTime field's value. func (s *UpdateFileSystemLustreConfiguration) SetWeeklyMaintenanceStartTime(v string) *UpdateFileSystemLustreConfiguration { s.WeeklyMaintenanceStartTime = &v @@ -6970,6 +7231,9 @@ const ( // FilterNameBackupType is a FilterName enum value FilterNameBackupType = "backup-type" + + // FilterNameFileSystemType is a FilterName enum value + FilterNameFileSystemType = "file-system-type" ) const ( diff --git a/service/fsx/examples_test.go b/service/fsx/examples_test.go index 90402e825f5..daa6745599f 100644 --- a/service/fsx/examples_test.go +++ b/service/fsx/examples_test.go @@ -178,6 +178,8 @@ func ExampleFSx_CreateFileSystemFromBackup_shared00() { fmt.Println(fsx.ErrCodeIncompatibleParameterError, aerr.Error()) case fsx.ErrCodeInvalidNetworkSettings: fmt.Println(fsx.ErrCodeInvalidNetworkSettings, aerr.Error()) + case fsx.ErrCodeInvalidPerUnitStorageThroughput: + fmt.Println(fsx.ErrCodeInvalidPerUnitStorageThroughput, aerr.Error()) case fsx.ErrCodeServiceLimitExceeded: fmt.Println(fsx.ErrCodeServiceLimitExceeded, aerr.Error()) case fsx.ErrCodeBackupNotFound: diff --git a/service/honeycode/api.go b/service/honeycode/api.go new file mode 100644 index 00000000000..b16cd2d81c3 --- /dev/null +++ b/service/honeycode/api.go @@ -0,0 +1,1316 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package honeycode + +import ( + "fmt" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/awsutil" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/private/protocol" +) + +const opGetScreenData = "GetScreenData" + +// GetScreenDataRequest generates a "aws/request.Request" representing the +// client's request for the GetScreenData operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetScreenData for more information on using the GetScreenData +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetScreenDataRequest method. +// req, resp := client.GetScreenDataRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/GetScreenData +func (c *Honeycode) GetScreenDataRequest(input *GetScreenDataInput) (req *request.Request, output *GetScreenDataOutput) { + op := &request.Operation{ + Name: opGetScreenData, + HTTPMethod: "POST", + HTTPPath: "/screendata", + } + + if input == nil { + input = &GetScreenDataInput{} + } + + output = &GetScreenDataOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetScreenData API operation for Amazon Honeycode. +// +// The GetScreenData API allows retrieval of data from a screen in a Honeycode +// app. The API allows setting local variables in the screen to filter, sort +// or otherwise affect what will be displayed on the screen. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Honeycode's +// API operation GetScreenData for usage and error information. +// +// Returned Error Types: +// * AccessDeniedException +// You do not have sufficient access to perform this action. Check that the +// workbook is owned by you and your IAM policy allows access to the screen/automation +// in the request. +// +// * InternalServerException +// There were unexpected errors from the server. +// +// * RequestTimeoutException +// The request timed out. +// +// * ResourceNotFoundException +// A Workbook, App, Screen or Screen Automation was not found with the given +// ID. +// +// * ServiceUnavailableException +// Remote service is unreachable. +// +// * ThrottlingException +// Tps(transactions per second) rate reached. +// +// * ValidationException +// Request is invalid. The message in the response contains details on why the +// request is invalid. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/GetScreenData +func (c *Honeycode) GetScreenData(input *GetScreenDataInput) (*GetScreenDataOutput, error) { + req, out := c.GetScreenDataRequest(input) + return out, req.Send() +} + +// GetScreenDataWithContext is the same as GetScreenData with the addition of +// the ability to pass a context and additional request options. +// +// See GetScreenData for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Honeycode) GetScreenDataWithContext(ctx aws.Context, input *GetScreenDataInput, opts ...request.Option) (*GetScreenDataOutput, error) { + req, out := c.GetScreenDataRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opInvokeScreenAutomation = "InvokeScreenAutomation" + +// InvokeScreenAutomationRequest generates a "aws/request.Request" representing the +// client's request for the InvokeScreenAutomation operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See InvokeScreenAutomation for more information on using the InvokeScreenAutomation +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the InvokeScreenAutomationRequest method. +// req, resp := client.InvokeScreenAutomationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/InvokeScreenAutomation +func (c *Honeycode) InvokeScreenAutomationRequest(input *InvokeScreenAutomationInput) (req *request.Request, output *InvokeScreenAutomationOutput) { + op := &request.Operation{ + Name: opInvokeScreenAutomation, + HTTPMethod: "POST", + HTTPPath: "/workbooks/{workbookId}/apps/{appId}/screens/{screenId}/automations/{automationId}", + } + + if input == nil { + input = &InvokeScreenAutomationInput{} + } + + output = &InvokeScreenAutomationOutput{} + req = c.newRequest(op, input, output) + return +} + +// InvokeScreenAutomation API operation for Amazon Honeycode. +// +// The InvokeScreenAutomation API allows invoking an action defined in a screen +// in a Honeycode app. The API allows setting local variables, which can then +// be used in the automation being invoked. This allows automating the Honeycode +// app interactions to write, update or delete data in the workbook. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Honeycode's +// API operation InvokeScreenAutomation for usage and error information. +// +// Returned Error Types: +// * AccessDeniedException +// You do not have sufficient access to perform this action. Check that the +// workbook is owned by you and your IAM policy allows access to the screen/automation +// in the request. +// +// * InternalServerException +// There were unexpected errors from the server. +// +// * ResourceNotFoundException +// A Workbook, App, Screen or Screen Automation was not found with the given +// ID. +// +// * ValidationException +// Request is invalid. The message in the response contains details on why the +// request is invalid. +// +// * ThrottlingException +// Tps(transactions per second) rate reached. +// +// * ServiceUnavailableException +// Remote service is unreachable. +// +// * AutomationExecutionException +// The automation execution did not end successfully. +// +// * AutomationExecutionTimeoutException +// The automation execution timed out. +// +// * RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/InvokeScreenAutomation +func (c *Honeycode) InvokeScreenAutomation(input *InvokeScreenAutomationInput) (*InvokeScreenAutomationOutput, error) { + req, out := c.InvokeScreenAutomationRequest(input) + return out, req.Send() +} + +// InvokeScreenAutomationWithContext is the same as InvokeScreenAutomation with the addition of +// the ability to pass a context and additional request options. +// +// See InvokeScreenAutomation for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Honeycode) InvokeScreenAutomationWithContext(ctx aws.Context, input *InvokeScreenAutomationInput, opts ...request.Option) (*InvokeScreenAutomationOutput, error) { + req, out := c.InvokeScreenAutomationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// You do not have sufficient access to perform this action. Check that the +// workbook is owned by you and your IAM policy allows access to the screen/automation +// in the request. +type AccessDeniedException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation +func (s AccessDeniedException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AccessDeniedException) GoString() string { + return s.String() +} + +func newErrorAccessDeniedException(v protocol.ResponseMetadata) error { + return &AccessDeniedException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *AccessDeniedException) Code() string { + return "AccessDeniedException" +} + +// Message returns the exception's message. +func (s *AccessDeniedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *AccessDeniedException) OrigErr() error { + return nil +} + +func (s *AccessDeniedException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *AccessDeniedException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *AccessDeniedException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The automation execution did not end successfully. +type AutomationExecutionException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation +func (s AutomationExecutionException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AutomationExecutionException) GoString() string { + return s.String() +} + +func newErrorAutomationExecutionException(v protocol.ResponseMetadata) error { + return &AutomationExecutionException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *AutomationExecutionException) Code() string { + return "AutomationExecutionException" +} + +// Message returns the exception's message. +func (s *AutomationExecutionException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *AutomationExecutionException) OrigErr() error { + return nil +} + +func (s *AutomationExecutionException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *AutomationExecutionException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *AutomationExecutionException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The automation execution timed out. +type AutomationExecutionTimeoutException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation +func (s AutomationExecutionTimeoutException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AutomationExecutionTimeoutException) GoString() string { + return s.String() +} + +func newErrorAutomationExecutionTimeoutException(v protocol.ResponseMetadata) error { + return &AutomationExecutionTimeoutException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *AutomationExecutionTimeoutException) Code() string { + return "AutomationExecutionTimeoutException" +} + +// Message returns the exception's message. +func (s *AutomationExecutionTimeoutException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *AutomationExecutionTimeoutException) OrigErr() error { + return nil +} + +func (s *AutomationExecutionTimeoutException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *AutomationExecutionTimeoutException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *AutomationExecutionTimeoutException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Metadata for column in the table. +type ColumnMetadata struct { + _ struct{} `type:"structure"` + + // The format of the column. + // + // Format is a required field + Format *string `locationName:"format" type:"string" required:"true" enum:"Format"` + + // The name of the column. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true" sensitive:"true"` +} + +// String returns the string representation +func (s ColumnMetadata) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ColumnMetadata) GoString() string { + return s.String() +} + +// SetFormat sets the Format field's value. +func (s *ColumnMetadata) SetFormat(v string) *ColumnMetadata { + s.Format = &v + return s +} + +// SetName sets the Name field's value. +func (s *ColumnMetadata) SetName(v string) *ColumnMetadata { + s.Name = &v + return s +} + +// The data in a particular data cell defined on the screen. +type DataItem struct { + _ struct{} `type:"structure" sensitive:"true"` + + // The formatted value of the data. e.g. John Smith. + FormattedValue *string `locationName:"formattedValue" type:"string"` + + // The overrideFormat is optional and is specified only if a particular row + // of data has a different format for the data than the default format defined + // on the screen or the table. + OverrideFormat *string `locationName:"overrideFormat" type:"string" enum:"Format"` + + // The raw value of the data. e.g. jsmith@example.com + RawValue *string `locationName:"rawValue" type:"string"` +} + +// String returns the string representation +func (s DataItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DataItem) GoString() string { + return s.String() +} + +// SetFormattedValue sets the FormattedValue field's value. +func (s *DataItem) SetFormattedValue(v string) *DataItem { + s.FormattedValue = &v + return s +} + +// SetOverrideFormat sets the OverrideFormat field's value. +func (s *DataItem) SetOverrideFormat(v string) *DataItem { + s.OverrideFormat = &v + return s +} + +// SetRawValue sets the RawValue field's value. +func (s *DataItem) SetRawValue(v string) *DataItem { + s.RawValue = &v + return s +} + +type GetScreenDataInput struct { + _ struct{} `type:"structure"` + + // The ID of the app that contains the screem. + // + // AppId is a required field + AppId *string `locationName:"appId" type:"string" required:"true"` + + // The number of results to be returned on a single page. Specify a number between + // 1 and 100. The maximum value is 100. + // + // This parameter is optional. If you don't specify this parameter, the default + // page size is 100. + MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` + + // This parameter is optional. If a nextToken is not specified, the API returns + // the first page of data. + // + // Pagination tokens expire after 1 hour. If you use a token that was returned + // more than an hour back, the API will throw ValidationException. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` + + // The ID of the screen. + // + // ScreenId is a required field + ScreenId *string `locationName:"screenId" type:"string" required:"true"` + + // Variables are optional and are needed only if the screen requires them to + // render correctly. Variables are specified as a map where the key is the name + // of the variable as defined on the screen. The value is an object which currently + // has only one property, rawValue, which holds the value of the variable to + // be passed to the screen. + Variables map[string]*VariableValue `locationName:"variables" type:"map" sensitive:"true"` + + // The ID of the workbook that contains the screen. + // + // WorkbookId is a required field + WorkbookId *string `locationName:"workbookId" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetScreenDataInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetScreenDataInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetScreenDataInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetScreenDataInput"} + if s.AppId == nil { + invalidParams.Add(request.NewErrParamRequired("AppId")) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.ScreenId == nil { + invalidParams.Add(request.NewErrParamRequired("ScreenId")) + } + if s.WorkbookId == nil { + invalidParams.Add(request.NewErrParamRequired("WorkbookId")) + } + if s.Variables != nil { + for i, v := range s.Variables { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Variables", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAppId sets the AppId field's value. +func (s *GetScreenDataInput) SetAppId(v string) *GetScreenDataInput { + s.AppId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetScreenDataInput) SetMaxResults(v int64) *GetScreenDataInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetScreenDataInput) SetNextToken(v string) *GetScreenDataInput { + s.NextToken = &v + return s +} + +// SetScreenId sets the ScreenId field's value. +func (s *GetScreenDataInput) SetScreenId(v string) *GetScreenDataInput { + s.ScreenId = &v + return s +} + +// SetVariables sets the Variables field's value. +func (s *GetScreenDataInput) SetVariables(v map[string]*VariableValue) *GetScreenDataInput { + s.Variables = v + return s +} + +// SetWorkbookId sets the WorkbookId field's value. +func (s *GetScreenDataInput) SetWorkbookId(v string) *GetScreenDataInput { + s.WorkbookId = &v + return s +} + +type GetScreenDataOutput struct { + _ struct{} `type:"structure"` + + // Provides the pagination token to load the next page if there are more results + // matching the request. If a pagination token is not present in the response, + // it means that all data matching the query has been loaded. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` + + // A map of all the rows on the screen keyed by block name. + // + // Results is a required field + Results map[string]*ResultSet `locationName:"results" type:"map" required:"true"` + + // Indicates the cursor of the workbook at which the data returned by this workbook + // is read. Workbook cursor keeps increasing with every update and the increments + // are not sequential. + // + // WorkbookCursor is a required field + WorkbookCursor *int64 `locationName:"workbookCursor" type:"long" required:"true"` +} + +// String returns the string representation +func (s GetScreenDataOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetScreenDataOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *GetScreenDataOutput) SetNextToken(v string) *GetScreenDataOutput { + s.NextToken = &v + return s +} + +// SetResults sets the Results field's value. +func (s *GetScreenDataOutput) SetResults(v map[string]*ResultSet) *GetScreenDataOutput { + s.Results = v + return s +} + +// SetWorkbookCursor sets the WorkbookCursor field's value. +func (s *GetScreenDataOutput) SetWorkbookCursor(v int64) *GetScreenDataOutput { + s.WorkbookCursor = &v + return s +} + +// There were unexpected errors from the server. +type InternalServerException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation +func (s InternalServerException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InternalServerException) GoString() string { + return s.String() +} + +func newErrorInternalServerException(v protocol.ResponseMetadata) error { + return &InternalServerException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InternalServerException) Code() string { + return "InternalServerException" +} + +// Message returns the exception's message. +func (s *InternalServerException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InternalServerException) OrigErr() error { + return nil +} + +func (s *InternalServerException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InternalServerException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InternalServerException) RequestID() string { + return s.RespMetadata.RequestID +} + +type InvokeScreenAutomationInput struct { + _ struct{} `type:"structure"` + + // The ID of the app that contains the screen automation. + // + // AppId is a required field + AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"` + + // The request token for performing the automation action. Request tokens help + // to identify duplicate requests. If a call times out or fails due to a transient + // error like a failed network connection, you can retry the call with the same + // request token. The service ensures that if the first call using that request + // token is successfully performed, the second call will return the response + // of the previous call rather than performing the action again. + // + // Note that request tokens are valid only for a few minutes. You cannot use + // request tokens to dedupe requests spanning hours or days. + ClientRequestToken *string `locationName:"clientRequestToken" min:"32" type:"string"` + + // The row ID for the automation if the automation is defined inside a block + // with source or list. + RowId *string `locationName:"rowId" type:"string"` + + // The ID of the automation action to be performed. + // + // ScreenAutomationId is a required field + ScreenAutomationId *string `location:"uri" locationName:"automationId" type:"string" required:"true"` + + // The ID of the screen that contains the screen automation. + // + // ScreenId is a required field + ScreenId *string `location:"uri" locationName:"screenId" type:"string" required:"true"` + + // Variables are optional and are needed only if the screen requires them to + // render correctly. Variables are specified as a map where the key is the name + // of the variable as defined on the screen. The value is an object which currently + // has only one property, rawValue, which holds the value of the variable to + // be passed to the screen. + Variables map[string]*VariableValue `locationName:"variables" type:"map" sensitive:"true"` + + // The ID of the workbook that contains the screen automation. + // + // WorkbookId is a required field + WorkbookId *string `location:"uri" locationName:"workbookId" type:"string" required:"true"` +} + +// String returns the string representation +func (s InvokeScreenAutomationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InvokeScreenAutomationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *InvokeScreenAutomationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InvokeScreenAutomationInput"} + if s.AppId == nil { + invalidParams.Add(request.NewErrParamRequired("AppId")) + } + if s.AppId != nil && len(*s.AppId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AppId", 1)) + } + if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 { + invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32)) + } + if s.ScreenAutomationId == nil { + invalidParams.Add(request.NewErrParamRequired("ScreenAutomationId")) + } + if s.ScreenAutomationId != nil && len(*s.ScreenAutomationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ScreenAutomationId", 1)) + } + if s.ScreenId == nil { + invalidParams.Add(request.NewErrParamRequired("ScreenId")) + } + if s.ScreenId != nil && len(*s.ScreenId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ScreenId", 1)) + } + if s.WorkbookId == nil { + invalidParams.Add(request.NewErrParamRequired("WorkbookId")) + } + if s.WorkbookId != nil && len(*s.WorkbookId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkbookId", 1)) + } + if s.Variables != nil { + for i, v := range s.Variables { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Variables", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAppId sets the AppId field's value. +func (s *InvokeScreenAutomationInput) SetAppId(v string) *InvokeScreenAutomationInput { + s.AppId = &v + return s +} + +// SetClientRequestToken sets the ClientRequestToken field's value. +func (s *InvokeScreenAutomationInput) SetClientRequestToken(v string) *InvokeScreenAutomationInput { + s.ClientRequestToken = &v + return s +} + +// SetRowId sets the RowId field's value. +func (s *InvokeScreenAutomationInput) SetRowId(v string) *InvokeScreenAutomationInput { + s.RowId = &v + return s +} + +// SetScreenAutomationId sets the ScreenAutomationId field's value. +func (s *InvokeScreenAutomationInput) SetScreenAutomationId(v string) *InvokeScreenAutomationInput { + s.ScreenAutomationId = &v + return s +} + +// SetScreenId sets the ScreenId field's value. +func (s *InvokeScreenAutomationInput) SetScreenId(v string) *InvokeScreenAutomationInput { + s.ScreenId = &v + return s +} + +// SetVariables sets the Variables field's value. +func (s *InvokeScreenAutomationInput) SetVariables(v map[string]*VariableValue) *InvokeScreenAutomationInput { + s.Variables = v + return s +} + +// SetWorkbookId sets the WorkbookId field's value. +func (s *InvokeScreenAutomationInput) SetWorkbookId(v string) *InvokeScreenAutomationInput { + s.WorkbookId = &v + return s +} + +type InvokeScreenAutomationOutput struct { + _ struct{} `type:"structure"` + + // The updated workbook cursor after performing the automation action. + // + // WorkbookCursor is a required field + WorkbookCursor *int64 `locationName:"workbookCursor" type:"long" required:"true"` +} + +// String returns the string representation +func (s InvokeScreenAutomationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InvokeScreenAutomationOutput) GoString() string { + return s.String() +} + +// SetWorkbookCursor sets the WorkbookCursor field's value. +func (s *InvokeScreenAutomationOutput) SetWorkbookCursor(v int64) *InvokeScreenAutomationOutput { + s.WorkbookCursor = &v + return s +} + +// The request timed out. +type RequestTimeoutException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation +func (s RequestTimeoutException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RequestTimeoutException) GoString() string { + return s.String() +} + +func newErrorRequestTimeoutException(v protocol.ResponseMetadata) error { + return &RequestTimeoutException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *RequestTimeoutException) Code() string { + return "RequestTimeoutException" +} + +// Message returns the exception's message. +func (s *RequestTimeoutException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *RequestTimeoutException) OrigErr() error { + return nil +} + +func (s *RequestTimeoutException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *RequestTimeoutException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *RequestTimeoutException) RequestID() string { + return s.RespMetadata.RequestID +} + +// A Workbook, App, Screen or Screen Automation was not found with the given +// ID. +type ResourceNotFoundException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation +func (s ResourceNotFoundException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ResourceNotFoundException) GoString() string { + return s.String() +} + +func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error { + return &ResourceNotFoundException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ResourceNotFoundException) Code() string { + return "ResourceNotFoundException" +} + +// Message returns the exception's message. +func (s *ResourceNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourceNotFoundException) OrigErr() error { + return nil +} + +func (s *ResourceNotFoundException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ResourceNotFoundException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ResourceNotFoundException) RequestID() string { + return s.RespMetadata.RequestID +} + +// A single row in the ResultSet. +type ResultRow struct { + _ struct{} `type:"structure"` + + // List of all the data cells in a row. + // + // DataItems is a required field + DataItems []*DataItem `locationName:"dataItems" type:"list" required:"true"` + + // The ID for a particular row. + RowId *string `locationName:"rowId" type:"string"` +} + +// String returns the string representation +func (s ResultRow) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ResultRow) GoString() string { + return s.String() +} + +// SetDataItems sets the DataItems field's value. +func (s *ResultRow) SetDataItems(v []*DataItem) *ResultRow { + s.DataItems = v + return s +} + +// SetRowId sets the RowId field's value. +func (s *ResultRow) SetRowId(v string) *ResultRow { + s.RowId = &v + return s +} + +// ResultSet contains the results of the request for a single block or list +// defined on the screen. +type ResultSet struct { + _ struct{} `type:"structure"` + + // List of headers for all the data cells in the block. The header identifies + // the name and default format of the data cell. Data cells appear in the same + // order in all rows as defined in the header. The names and formats are not + // repeated in the rows. If a particular row does not have a value for a data + // cell, a blank value is used. + // + // For example, a task list that displays the task name, due date and assigned + // person might have headers [ { "name": "Task Name"}, {"name": "Due Date", + // "format": "DATE"}, {"name": "Assigned", "format": "CONTACT"} ]. Every row + // in the result will have the task name as the first item, due date as the + // second item and assigned person as the third item. If a particular task does + // not have a due date, that row will still have a blank value in the second + // element and the assigned person will still be in the third element. + // + // Headers is a required field + Headers []*ColumnMetadata `locationName:"headers" type:"list" required:"true"` + + // List of rows returned by the request. Each row has a row Id and a list of + // data cells in that row. The data cells will be present in the same order + // as they are defined in the header. + // + // Rows is a required field + Rows []*ResultRow `locationName:"rows" type:"list" required:"true"` +} + +// String returns the string representation +func (s ResultSet) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ResultSet) GoString() string { + return s.String() +} + +// SetHeaders sets the Headers field's value. +func (s *ResultSet) SetHeaders(v []*ColumnMetadata) *ResultSet { + s.Headers = v + return s +} + +// SetRows sets the Rows field's value. +func (s *ResultSet) SetRows(v []*ResultRow) *ResultSet { + s.Rows = v + return s +} + +// Remote service is unreachable. +type ServiceUnavailableException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation +func (s ServiceUnavailableException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ServiceUnavailableException) GoString() string { + return s.String() +} + +func newErrorServiceUnavailableException(v protocol.ResponseMetadata) error { + return &ServiceUnavailableException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ServiceUnavailableException) Code() string { + return "ServiceUnavailableException" +} + +// Message returns the exception's message. +func (s *ServiceUnavailableException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ServiceUnavailableException) OrigErr() error { + return nil +} + +func (s *ServiceUnavailableException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ServiceUnavailableException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ServiceUnavailableException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Tps(transactions per second) rate reached. +type ThrottlingException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation +func (s ThrottlingException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ThrottlingException) GoString() string { + return s.String() +} + +func newErrorThrottlingException(v protocol.ResponseMetadata) error { + return &ThrottlingException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ThrottlingException) Code() string { + return "ThrottlingException" +} + +// Message returns the exception's message. +func (s *ThrottlingException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ThrottlingException) OrigErr() error { + return nil +} + +func (s *ThrottlingException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ThrottlingException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ThrottlingException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Request is invalid. The message in the response contains details on why the +// request is invalid. +type ValidationException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation +func (s ValidationException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ValidationException) GoString() string { + return s.String() +} + +func newErrorValidationException(v protocol.ResponseMetadata) error { + return &ValidationException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ValidationException) Code() string { + return "ValidationException" +} + +// Message returns the exception's message. +func (s *ValidationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ValidationException) OrigErr() error { + return nil +} + +func (s *ValidationException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ValidationException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ValidationException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The input variables to the app to be used by the InvokeScreenAutomation action +// request. +type VariableValue struct { + _ struct{} `type:"structure" sensitive:"true"` + + // Raw value of the variable. + // + // RawValue is a required field + RawValue *string `locationName:"rawValue" type:"string" required:"true"` +} + +// String returns the string representation +func (s VariableValue) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s VariableValue) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *VariableValue) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "VariableValue"} + if s.RawValue == nil { + invalidParams.Add(request.NewErrParamRequired("RawValue")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetRawValue sets the RawValue field's value. +func (s *VariableValue) SetRawValue(v string) *VariableValue { + s.RawValue = &v + return s +} + +const ( + // FormatAuto is a Format enum value + FormatAuto = "AUTO" + + // FormatNumber is a Format enum value + FormatNumber = "NUMBER" + + // FormatCurrency is a Format enum value + FormatCurrency = "CURRENCY" + + // FormatDate is a Format enum value + FormatDate = "DATE" + + // FormatTime is a Format enum value + FormatTime = "TIME" + + // FormatDateTime is a Format enum value + FormatDateTime = "DATE_TIME" + + // FormatPercentage is a Format enum value + FormatPercentage = "PERCENTAGE" + + // FormatText is a Format enum value + FormatText = "TEXT" + + // FormatAccounting is a Format enum value + FormatAccounting = "ACCOUNTING" + + // FormatContact is a Format enum value + FormatContact = "CONTACT" + + // FormatRowlink is a Format enum value + FormatRowlink = "ROWLINK" +) diff --git a/service/honeycode/doc.go b/service/honeycode/doc.go new file mode 100644 index 00000000000..508b2422124 --- /dev/null +++ b/service/honeycode/doc.go @@ -0,0 +1,31 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package honeycode provides the client and types for making API +// requests to Amazon Honeycode. +// +// Amazon Honeycode is a fully managed service that allows you to quickly build +// mobile and web apps for teams—without programming. Build Honeycode apps +// for managing almost anything, like projects, customers, operations, approvals, +// resources, and even your team. +// +// See https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01 for more information on this service. +// +// See honeycode package documentation for more information. +// https://docs.aws.amazon.com/sdk-for-go/api/service/honeycode/ +// +// Using the Client +// +// To contact Amazon Honeycode with the SDK use the New function to create +// a new service client. With that client you can make API requests to the service. +// These clients are safe to use concurrently. +// +// See the SDK's documentation for more information on how to use the SDK. +// https://docs.aws.amazon.com/sdk-for-go/api/ +// +// See aws.Config documentation for more information on configuring SDK clients. +// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config +// +// See the Amazon Honeycode client Honeycode for more +// information on creating client for this service. +// https://docs.aws.amazon.com/sdk-for-go/api/service/honeycode/#New +package honeycode diff --git a/service/honeycode/errors.go b/service/honeycode/errors.go new file mode 100644 index 00000000000..e96902bb073 --- /dev/null +++ b/service/honeycode/errors.go @@ -0,0 +1,80 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package honeycode + +import ( + "github.com/aws/aws-sdk-go/private/protocol" +) + +const ( + + // ErrCodeAccessDeniedException for service response error code + // "AccessDeniedException". + // + // You do not have sufficient access to perform this action. Check that the + // workbook is owned by you and your IAM policy allows access to the screen/automation + // in the request. + ErrCodeAccessDeniedException = "AccessDeniedException" + + // ErrCodeAutomationExecutionException for service response error code + // "AutomationExecutionException". + // + // The automation execution did not end successfully. + ErrCodeAutomationExecutionException = "AutomationExecutionException" + + // ErrCodeAutomationExecutionTimeoutException for service response error code + // "AutomationExecutionTimeoutException". + // + // The automation execution timed out. + ErrCodeAutomationExecutionTimeoutException = "AutomationExecutionTimeoutException" + + // ErrCodeInternalServerException for service response error code + // "InternalServerException". + // + // There were unexpected errors from the server. + ErrCodeInternalServerException = "InternalServerException" + + // ErrCodeRequestTimeoutException for service response error code + // "RequestTimeoutException". + // + // The request timed out. + ErrCodeRequestTimeoutException = "RequestTimeoutException" + + // ErrCodeResourceNotFoundException for service response error code + // "ResourceNotFoundException". + // + // A Workbook, App, Screen or Screen Automation was not found with the given + // ID. + ErrCodeResourceNotFoundException = "ResourceNotFoundException" + + // ErrCodeServiceUnavailableException for service response error code + // "ServiceUnavailableException". + // + // Remote service is unreachable. + ErrCodeServiceUnavailableException = "ServiceUnavailableException" + + // ErrCodeThrottlingException for service response error code + // "ThrottlingException". + // + // Tps(transactions per second) rate reached. + ErrCodeThrottlingException = "ThrottlingException" + + // ErrCodeValidationException for service response error code + // "ValidationException". + // + // Request is invalid. The message in the response contains details on why the + // request is invalid. + ErrCodeValidationException = "ValidationException" +) + +var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ + "AccessDeniedException": newErrorAccessDeniedException, + "AutomationExecutionException": newErrorAutomationExecutionException, + "AutomationExecutionTimeoutException": newErrorAutomationExecutionTimeoutException, + "InternalServerException": newErrorInternalServerException, + "RequestTimeoutException": newErrorRequestTimeoutException, + "ResourceNotFoundException": newErrorResourceNotFoundException, + "ServiceUnavailableException": newErrorServiceUnavailableException, + "ThrottlingException": newErrorThrottlingException, + "ValidationException": newErrorValidationException, +} diff --git a/service/honeycode/honeycodeiface/interface.go b/service/honeycode/honeycodeiface/interface.go new file mode 100644 index 00000000000..02b73ce4384 --- /dev/null +++ b/service/honeycode/honeycodeiface/interface.go @@ -0,0 +1,72 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package honeycodeiface provides an interface to enable mocking the Amazon Honeycode service client +// for testing your code. +// +// It is important to note that this interface will have breaking changes +// when the service model is updated and adds new API operations, paginators, +// and waiters. +package honeycodeiface + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/service/honeycode" +) + +// HoneycodeAPI provides an interface to enable mocking the +// honeycode.Honeycode service client's API operation, +// paginators, and waiters. This make unit testing your code that calls out +// to the SDK's service client's calls easier. +// +// The best way to use this interface is so the SDK's service client's calls +// can be stubbed out for unit testing your code with the SDK without needing +// to inject custom request handlers into the SDK's request pipeline. +// +// // myFunc uses an SDK service client to make a request to +// // Amazon Honeycode. +// func myFunc(svc honeycodeiface.HoneycodeAPI) bool { +// // Make svc.GetScreenData request +// } +// +// func main() { +// sess := session.New() +// svc := honeycode.New(sess) +// +// myFunc(svc) +// } +// +// In your _test.go file: +// +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockHoneycodeClient struct { +// honeycodeiface.HoneycodeAPI +// } +// func (m *mockHoneycodeClient) GetScreenData(input *honeycode.GetScreenDataInput) (*honeycode.GetScreenDataOutput, error) { +// // mock response/functionality +// } +// +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockHoneycodeClient{} +// +// myfunc(mockSvc) +// +// // Verify myFunc's functionality +// } +// +// It is important to note that this interface will have breaking changes +// when the service model is updated and adds new API operations, paginators, +// and waiters. Its suggested to use the pattern above for testing, or using +// tooling to generate mocks to satisfy the interfaces. +type HoneycodeAPI interface { + GetScreenData(*honeycode.GetScreenDataInput) (*honeycode.GetScreenDataOutput, error) + GetScreenDataWithContext(aws.Context, *honeycode.GetScreenDataInput, ...request.Option) (*honeycode.GetScreenDataOutput, error) + GetScreenDataRequest(*honeycode.GetScreenDataInput) (*request.Request, *honeycode.GetScreenDataOutput) + + InvokeScreenAutomation(*honeycode.InvokeScreenAutomationInput) (*honeycode.InvokeScreenAutomationOutput, error) + InvokeScreenAutomationWithContext(aws.Context, *honeycode.InvokeScreenAutomationInput, ...request.Option) (*honeycode.InvokeScreenAutomationOutput, error) + InvokeScreenAutomationRequest(*honeycode.InvokeScreenAutomationInput) (*request.Request, *honeycode.InvokeScreenAutomationOutput) +} + +var _ HoneycodeAPI = (*honeycode.Honeycode)(nil) diff --git a/service/honeycode/service.go b/service/honeycode/service.go new file mode 100644 index 00000000000..2e86f5d8024 --- /dev/null +++ b/service/honeycode/service.go @@ -0,0 +1,104 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package honeycode + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/client" + "github.com/aws/aws-sdk-go/aws/client/metadata" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/aws/signer/v4" + "github.com/aws/aws-sdk-go/private/protocol" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +// Honeycode provides the API operation methods for making requests to +// Amazon Honeycode. See this package's package overview docs +// for details on the service. +// +// Honeycode methods are safe to use concurrently. It is not safe to +// modify mutate any of the struct's properties though. +type Honeycode struct { + *client.Client +} + +// Used for custom client initialization logic +var initClient func(*client.Client) + +// Used for custom request initialization logic +var initRequest func(*request.Request) + +// Service information constants +const ( + ServiceName = "Honeycode" // Name of service. + EndpointsID = "honeycode" // ID to lookup a service endpoint with. + ServiceID = "Honeycode" // ServiceID is a unique identifier of a specific service. +) + +// New creates a new instance of the Honeycode client with a session. +// If additional configuration is needed for the client instance use the optional +// aws.Config parameter to add your extra config. +// +// Example: +// mySession := session.Must(session.NewSession()) +// +// // Create a Honeycode client from just a session. +// svc := honeycode.New(mySession) +// +// // Create a Honeycode client with additional configuration +// svc := honeycode.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +func New(p client.ConfigProvider, cfgs ...*aws.Config) *Honeycode { + c := p.ClientConfig(EndpointsID, cfgs...) + if c.SigningNameDerived || len(c.SigningName) == 0 { + c.SigningName = "honeycode" + } + return newClient(*c.Config, c.Handlers, c.PartitionID, c.Endpoint, c.SigningRegion, c.SigningName) +} + +// newClient creates, initializes and returns a new service client instance. +func newClient(cfg aws.Config, handlers request.Handlers, partitionID, endpoint, signingRegion, signingName string) *Honeycode { + svc := &Honeycode{ + Client: client.New( + cfg, + metadata.ClientInfo{ + ServiceName: ServiceName, + ServiceID: ServiceID, + SigningName: signingName, + SigningRegion: signingRegion, + PartitionID: partitionID, + Endpoint: endpoint, + APIVersion: "2020-03-01", + }, + handlers, + ), + } + + // Handlers + svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) + svc.Handlers.Build.PushBackNamed(restjson.BuildHandler) + svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler) + svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler) + svc.Handlers.UnmarshalError.PushBackNamed( + protocol.NewUnmarshalErrorHandler(restjson.NewUnmarshalTypedError(exceptionFromCode)).NamedHandler(), + ) + + // Run custom client initialization if present + if initClient != nil { + initClient(svc.Client) + } + + return svc +} + +// newRequest creates a new request for a Honeycode operation and runs any +// custom request initialization. +func (c *Honeycode) newRequest(op *request.Operation, params, data interface{}) *request.Request { + req := c.NewRequest(op, params, data) + + // Run custom request initialization if present + if initRequest != nil { + initRequest(req) + } + + return req +} diff --git a/service/iam/api.go b/service/iam/api.go index 1a854732b6b..0744bc7b0ba 100644 --- a/service/iam/api.go +++ b/service/iam/api.go @@ -82,7 +82,8 @@ func (c *IAM) AddClientIDToOpenIDConnectProviderRequest(input *AddClientIDToOpen // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -156,10 +157,12 @@ func (c *IAM) AddRoleToInstanceProfileRequest(input *AddRoleToInstanceProfileInp // AddRoleToInstanceProfile API operation for AWS Identity and Access Management. // // Adds the specified IAM role to the specified instance profile. An instance -// profile can contain only one role, and this limit cannot be increased. You -// can remove the existing role and then add a different role to an instance -// profile. You must then wait for the change to appear across all of AWS because -// of eventual consistency (https://en.wikipedia.org/wiki/Eventual_consistency). +// profile can contain only one role. (The number and size of IAM resources +// in an AWS account are limited. For more information, see IAM and STS Quotas +// (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) +// in the IAM User Guide.) You can remove the existing role and then add a different +// role to an instance profile. You must then wait for the change to appear +// across all of AWS because of eventual consistency (https://en.wikipedia.org/wiki/Eventual_consistency). // To force the change, you must disassociate the instance profile (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DisassociateIamInstanceProfile.html) // and then associate the instance profile (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AssociateIamInstanceProfile.html), // or you can stop your instance and then restart it. @@ -189,7 +192,8 @@ func (c *IAM) AddRoleToInstanceProfileRequest(input *AddRoleToInstanceProfileInp // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeUnmodifiableEntityException "UnmodifiableEntity" // The request was rejected because only the service that depends on the service-linked @@ -284,7 +288,8 @@ func (c *IAM) AddUserToGroupRequest(input *AddUserToGroupInput) (req *request.Re // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -380,7 +385,8 @@ func (c *IAM) AttachGroupPolicyRequest(input *AttachGroupPolicyInput) (req *requ // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeInvalidInputException "InvalidInput" // The request was rejected because an invalid or out-of-range value was supplied @@ -488,7 +494,8 @@ func (c *IAM) AttachRolePolicyRequest(input *AttachRolePolicyInput) (req *reques // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeInvalidInputException "InvalidInput" // The request was rejected because an invalid or out-of-range value was supplied @@ -598,7 +605,8 @@ func (c *IAM) AttachUserPolicyRequest(input *AttachUserPolicyInput) (req *reques // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeInvalidInputException "InvalidInput" // The request was rejected because an invalid or out-of-range value was supplied @@ -704,7 +712,8 @@ func (c *IAM) ChangePasswordRequest(input *ChangePasswordInput) (req *request.Re // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeEntityTemporarilyUnmodifiableException "EntityTemporarilyUnmodifiable" // The request was rejected because it referenced an entity that is temporarily @@ -795,8 +804,8 @@ func (c *IAM) CreateAccessKeyRequest(input *CreateAccessKeyInput) (req *request. // to manage AWS account root user credentials. This is true even if the AWS // account has no associated users. // -// For information about limits on the number of keys you can create, see Limitations -// on IAM Entities (https://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html) +// The number and size of IAM resources in an AWS account are limited. For more +// information, see IAM and STS Quotas (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) // in the IAM User Guide. // // To ensure the security of your AWS account, the secret access key is accessible @@ -819,7 +828,8 @@ func (c *IAM) CreateAccessKeyRequest(input *CreateAccessKeyInput) (req *request. // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -910,7 +920,8 @@ func (c *IAM) CreateAccountAliasRequest(input *CreateAccountAliasInput) (req *re // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -984,8 +995,8 @@ func (c *IAM) CreateGroupRequest(input *CreateGroupInput) (req *request.Request, // // Creates a new group. // -// For information about the number of groups you can create, see Limitations -// on IAM Entities (https://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html) +// The number and size of IAM resources in an AWS account are limited. For more +// information, see IAM and STS Quotas (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) // in the IAM User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -998,7 +1009,8 @@ func (c *IAM) CreateGroupRequest(input *CreateGroupInput) (req *request.Request, // Returned Error Codes: // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" // The request was rejected because it attempted to create a resource that already @@ -1081,8 +1093,8 @@ func (c *IAM) CreateInstanceProfileRequest(input *CreateInstanceProfileInput) (r // Creates a new instance profile. For information about instance profiles, // go to About Instance Profiles (https://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html). // -// For information about the number of instance profiles you can create, see -// Limitations on IAM Entities (https://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html) +// The number and size of IAM resources in an AWS account are limited. For more +// information, see IAM and STS Quotas (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) // in the IAM User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -1099,7 +1111,8 @@ func (c *IAM) CreateInstanceProfileRequest(input *CreateInstanceProfileInput) (r // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -1198,7 +1211,8 @@ func (c *IAM) CreateLoginProfileRequest(input *CreateLoginProfileInput) (req *re // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -1312,7 +1326,8 @@ func (c *IAM) CreateOpenIDConnectProviderRequest(input *CreateOpenIDConnectProvi // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -1409,7 +1424,8 @@ func (c *IAM) CreatePolicyRequest(input *CreatePolicyInput) (req *request.Reques // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" // The request was rejected because it attempted to create a resource that already @@ -1524,7 +1540,8 @@ func (c *IAM) CreatePolicyVersionRequest(input *CreatePolicyVersionInput) (req * // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -1598,8 +1615,8 @@ func (c *IAM) CreateRoleRequest(input *CreateRoleInput) (req *request.Request, o // // Creates a new role for your AWS account. For more information about roles, // go to IAM Roles (https://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html). -// For information about limitations on role names and the number of roles you -// can create, go to Limitations on IAM Entities (https://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html) +// The number and size of IAM resources in an AWS account are limited. For more +// information, see IAM and STS Quotas (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) // in the IAM User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -1612,7 +1629,8 @@ func (c *IAM) CreateRoleRequest(input *CreateRoleInput) (req *request.Request, o // Returned Error Codes: // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeInvalidInputException "InvalidInput" // The request was rejected because an invalid or out-of-range value was supplied @@ -1742,7 +1760,8 @@ func (c *IAM) CreateSAMLProviderRequest(input *CreateSAMLProviderInput) (req *re // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -1840,7 +1859,8 @@ func (c *IAM) CreateServiceLinkedRoleRequest(input *CreateServiceLinkedRoleInput // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeNoSuchEntityException "NoSuchEntity" // The request was rejected because it referenced a resource entity that does @@ -1941,7 +1961,8 @@ func (c *IAM) CreateServiceSpecificCredentialRequest(input *CreateServiceSpecifi // Returned Error Codes: // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeNoSuchEntityException "NoSuchEntity" // The request was rejected because it referenced a resource entity that does @@ -2018,8 +2039,8 @@ func (c *IAM) CreateUserRequest(input *CreateUserInput) (req *request.Request, o // // Creates a new IAM user for your AWS account. // -// For information about limitations on the number of IAM users you can create, -// see Limitations on IAM Entities (https://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html) +// The number and size of IAM resources in an AWS account are limited. For more +// information, see IAM and STS Quotas (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) // in the IAM User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -2032,7 +2053,8 @@ func (c *IAM) CreateUserRequest(input *CreateUserInput) (req *request.Request, o // Returned Error Codes: // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" // The request was rejected because it attempted to create a resource that already @@ -2127,8 +2149,8 @@ func (c *IAM) CreateVirtualMFADeviceRequest(input *CreateVirtualMFADeviceInput) // go to Using a Virtual MFA Device (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_VirtualMFA.html) // in the IAM User Guide. // -// For information about limits on the number of MFA devices you can create, -// see Limitations on Entities (https://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html) +// The number and size of IAM resources in an AWS account are limited. For more +// information, see IAM and STS Quotas (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) // in the IAM User Guide. // // The seed information contained in the QR code and the Base32 string should @@ -2147,7 +2169,8 @@ func (c *IAM) CreateVirtualMFADeviceRequest(input *CreateVirtualMFADeviceInput) // Returned Error Codes: // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" // The request was rejected because it attempted to create a resource that already @@ -2251,7 +2274,8 @@ func (c *IAM) DeactivateMFADeviceRequest(input *DeactivateMFADeviceInput) (req * // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -2346,7 +2370,8 @@ func (c *IAM) DeleteAccessKeyRequest(input *DeleteAccessKeyInput) (req *request. // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -2437,7 +2462,8 @@ func (c *IAM) DeleteAccountAliasRequest(input *DeleteAccountAliasInput) (req *re // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -2526,7 +2552,8 @@ func (c *IAM) DeleteAccountPasswordPolicyRequest(input *DeleteAccountPasswordPol // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -2620,7 +2647,8 @@ func (c *IAM) DeleteGroupRequest(input *DeleteGroupInput) (req *request.Request, // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -2715,7 +2743,8 @@ func (c *IAM) DeleteGroupPolicyRequest(input *DeleteGroupPolicyInput) (req *requ // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -2817,7 +2846,8 @@ func (c *IAM) DeleteInstanceProfileRequest(input *DeleteInstanceProfileInput) (r // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -2918,7 +2948,8 @@ func (c *IAM) DeleteLoginProfileRequest(input *DeleteLoginProfileInput) (req *re // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -3125,7 +3156,8 @@ func (c *IAM) DeletePolicyRequest(input *DeletePolicyInput) (req *request.Reques // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeInvalidInputException "InvalidInput" // The request was rejected because an invalid or out-of-range value was supplied @@ -3230,7 +3262,8 @@ func (c *IAM) DeletePolicyVersionRequest(input *DeletePolicyVersionInput) (req * // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeInvalidInputException "InvalidInput" // The request was rejected because an invalid or out-of-range value was supplied @@ -3337,7 +3370,8 @@ func (c *IAM) DeleteRoleRequest(input *DeleteRoleInput) (req *request.Request, o // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeUnmodifiableEntityException "UnmodifiableEntity" // The request was rejected because only the service that depends on the service-linked @@ -3538,7 +3572,8 @@ func (c *IAM) DeleteRolePolicyRequest(input *DeleteRolePolicyInput) (req *reques // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeUnmodifiableEntityException "UnmodifiableEntity" // The request was rejected because only the service that depends on the service-linked @@ -3640,7 +3675,8 @@ func (c *IAM) DeleteSAMLProviderRequest(input *DeleteSAMLProviderInput) (req *re // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeNoSuchEntityException "NoSuchEntity" // The request was rejected because it referenced a resource entity that does @@ -3839,7 +3875,8 @@ func (c *IAM) DeleteServerCertificateRequest(input *DeleteServerCertificateInput // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -3946,7 +3983,8 @@ func (c *IAM) DeleteServiceLinkedRoleRequest(input *DeleteServiceLinkedRoleInput // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -4122,7 +4160,8 @@ func (c *IAM) DeleteSigningCertificateRequest(input *DeleteSigningCertificateInp // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -4229,7 +4268,8 @@ func (c *IAM) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, o // Returned Error Codes: // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeNoSuchEntityException "NoSuchEntity" // The request was rejected because it referenced a resource entity that does @@ -4426,7 +4466,8 @@ func (c *IAM) DeleteUserPolicyRequest(input *DeleteUserPolicyInput) (req *reques // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -4522,7 +4563,8 @@ func (c *IAM) DeleteVirtualMFADeviceRequest(input *DeleteVirtualMFADeviceInput) // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -4616,7 +4658,8 @@ func (c *IAM) DetachGroupPolicyRequest(input *DetachGroupPolicyInput) (req *requ // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeInvalidInputException "InvalidInput" // The request was rejected because an invalid or out-of-range value was supplied @@ -4714,7 +4757,8 @@ func (c *IAM) DetachRolePolicyRequest(input *DetachRolePolicyInput) (req *reques // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeInvalidInputException "InvalidInput" // The request was rejected because an invalid or out-of-range value was supplied @@ -4818,7 +4862,8 @@ func (c *IAM) DetachUserPolicyRequest(input *DetachUserPolicyInput) (req *reques // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeInvalidInputException "InvalidInput" // The request was rejected because an invalid or out-of-range value was supplied @@ -4923,7 +4968,8 @@ func (c *IAM) EnableMFADeviceRequest(input *EnableMFADeviceInput) (req *request. // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeNoSuchEntityException "NoSuchEntity" // The request was rejected because it referenced a resource entity that does @@ -5013,7 +5059,8 @@ func (c *IAM) GenerateCredentialReportRequest(input *GenerateCredentialReportInp // Returned Error Codes: // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -5726,8 +5773,8 @@ func (c *IAM) GetAccountSummaryRequest(input *GetAccountSummaryInput) (req *requ // // Retrieves information about IAM entity usage and IAM quotas in the AWS account. // -// For information about limitations on IAM entities, see Limitations on IAM -// Entities (https://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html) +// The number and size of IAM resources in an AWS account are limited. For more +// information, see IAM and STS Quotas (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) // in the IAM User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -11724,7 +11771,8 @@ func (c *IAM) PutGroupPolicyRequest(input *PutGroupPolicyInput) (req *request.Re // Returned Error Codes: // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" // The request was rejected because the policy document was malformed. The error @@ -11950,7 +11998,8 @@ func (c *IAM) PutRolePolicyRequest(input *PutRolePolicyInput) (req *request.Requ // Returned Error Codes: // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" // The request was rejected because the policy document was malformed. The error @@ -12168,7 +12217,8 @@ func (c *IAM) PutUserPolicyRequest(input *PutUserPolicyInput) (req *request.Requ // Returned Error Codes: // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" // The request was rejected because the policy document was malformed. The error @@ -12368,7 +12418,8 @@ func (c *IAM) RemoveRoleFromInstanceProfileRequest(input *RemoveRoleFromInstance // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeUnmodifiableEntityException "UnmodifiableEntity" // The request was rejected because only the service that depends on the service-linked @@ -12463,7 +12514,8 @@ func (c *IAM) RemoveUserFromGroupRequest(input *RemoveUserFromGroupInput) (req * // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -12644,7 +12696,8 @@ func (c *IAM) ResyncMFADeviceRequest(input *ResyncMFADeviceInput) (req *request. // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -12746,7 +12799,8 @@ func (c *IAM) SetDefaultPolicyVersionRequest(input *SetDefaultPolicyVersionInput // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -13301,7 +13355,8 @@ func (c *IAM) TagRoleRequest(input *TagRoleInput) (req *request.Request, output // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeInvalidInputException "InvalidInput" // The request was rejected because an invalid or out-of-range value was supplied @@ -13431,7 +13486,8 @@ func (c *IAM) TagUserRequest(input *TagUserInput) (req *request.Request, output // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeInvalidInputException "InvalidInput" // The request was rejected because an invalid or out-of-range value was supplied @@ -13724,7 +13780,8 @@ func (c *IAM) UpdateAccessKeyRequest(input *UpdateAccessKeyInput) (req *request. // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -13828,7 +13885,8 @@ func (c *IAM) UpdateAccountPasswordPolicyRequest(input *UpdateAccountPasswordPol // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -13924,7 +13982,8 @@ func (c *IAM) UpdateAssumeRolePolicyRequest(input *UpdateAssumeRolePolicyInput) // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeUnmodifiableEntityException "UnmodifiableEntity" // The request was rejected because only the service that depends on the service-linked @@ -14034,7 +14093,8 @@ func (c *IAM) UpdateGroupRequest(input *UpdateGroupInput) (req *request.Request, // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -14137,7 +14197,8 @@ func (c *IAM) UpdateLoginProfileRequest(input *UpdateLoginProfileInput) (req *re // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -14518,7 +14579,8 @@ func (c *IAM) UpdateSAMLProviderRequest(input *UpdateSAMLProviderInput) (req *re // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -14720,7 +14782,8 @@ func (c *IAM) UpdateServerCertificateRequest(input *UpdateServerCertificateInput // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -14901,7 +14964,8 @@ func (c *IAM) UpdateSigningCertificateRequest(input *UpdateSigningCertificateInp // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeServiceFailureException "ServiceFailure" // The request processing has failed because of an unknown error, exception @@ -15001,7 +15065,8 @@ func (c *IAM) UpdateUserRequest(input *UpdateUserInput) (req *request.Request, o // // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" // The request was rejected because it attempted to create a resource that already @@ -15106,7 +15171,8 @@ func (c *IAM) UploadSSHPublicKeyRequest(input *UploadSSHPublicKeyInput) (req *re // Returned Error Codes: // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeNoSuchEntityException "NoSuchEntity" // The request was rejected because it referenced a resource entity that does @@ -15227,7 +15293,8 @@ func (c *IAM) UploadServerCertificateRequest(input *UploadServerCertificateInput // Returned Error Codes: // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" // The request was rejected because it attempted to create a resource that already @@ -15340,7 +15407,8 @@ func (c *IAM) UploadSigningCertificateRequest(input *UploadSigningCertificateInp // Returned Error Codes: // * ErrCodeLimitExceededException "LimitExceeded" // The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error message describes the limit exceeded. +// the current AWS account limitations. The error message describes the limit +// exceeded. // // * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" // The request was rejected because it attempted to create a resource that already diff --git a/service/iam/errors.go b/service/iam/errors.go index 30a85b3b44d..74afac25e08 100644 --- a/service/iam/errors.go +++ b/service/iam/errors.go @@ -117,7 +117,8 @@ const ( // "LimitExceeded". // // The request was rejected because it attempted to create resources beyond - // the current AWS account limits. The error message describes the limit exceeded. + // the current AWS account limitations. The error message describes the limit + // exceeded. ErrCodeLimitExceededException = "LimitExceeded" // ErrCodeMalformedCertificateException for service response error code diff --git a/service/organizations/api.go b/service/organizations/api.go index 3feef22a5a7..8030be843eb 100644 --- a/service/organizations/api.go +++ b/service/organizations/api.go @@ -160,7 +160,7 @@ func (c *Organizations) AcceptHandshakeRequest(input *AcceptHandshakeInput) (req // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -227,12 +227,12 @@ func (c *Organizations) AcceptHandshakeRequest(input *AcceptHandshakeInput) (req // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * AccessDeniedForDependencyException // The operation that you attempted requires you to have the iam:CreateServiceLinkedRole @@ -307,35 +307,14 @@ func (c *Organizations) AttachPolicyRequest(input *AttachPolicyInput) (req *requ // AttachPolicy API operation for AWS Organizations. // // Attaches a policy to a root, an organizational unit (OU), or an individual -// account. How the policy affects accounts depends on the type of policy: -// -// * Service control policy (SCP) - An SCP specifies what permissions can -// be delegated to users in affected member accounts. The scope of influence -// for a policy depends on what you attach the policy to: If you attach an -// SCP to a root, it affects all accounts in the organization. If you attach -// an SCP to an OU, it affects all accounts in that OU and in any child OUs. -// If you attach the policy directly to an account, it affects only that -// account. SCPs are JSON policies that specify the maximum permissions for -// an organization or organizational unit (OU). You can attach one SCP to -// a higher level root or OU, and a different SCP to a child OU or to an -// account. The child policy can further restrict only the permissions that -// pass through the parent filter and are available to the child. An SCP -// that is attached to a child can't grant a permission that the parent hasn't -// already granted. For example, imagine that the parent SCP allows permissions -// A, B, C, D, and E. The child SCP allows C, D, E, F, and G. The result -// is that the accounts affected by the child SCP are allowed to use only -// C, D, and E. They can't use A or B because the child OU filtered them -// out. They also can't use F and G because the parent OU filtered them out. -// They can't be granted back by the child SCP; child SCPs can only filter -// the permissions they receive from the parent SCP. AWS Organizations attaches -// a default SCP named "FullAWSAccess to every root, OU, and account. This -// default SCP allows all services and actions, enabling any new child OU -// or account to inherit the permissions of the parent root or OU. If you -// detach the default policy, you must replace it with a policy that specifies -// the permissions that you want to allow in that OU or account. For more -// information about how AWS Organizations policies permissions work, see -// Using Service Control Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html) -// in the AWS Organizations User Guide. +// account. How the policy affects accounts depends on the type of policy. Refer +// to the AWS Organizations User Guide for information about each policy type: +// +// * BACKUP_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html) +// +// * SERVICE_CONTROL_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html) +// +// * TAG_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) // // This operation can be called only from the organization's master account. // @@ -368,10 +347,10 @@ func (c *Organizations) AttachPolicyRequest(input *AttachPolicyInput) (req *requ // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated -// limit. +// limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -380,15 +359,15 @@ func (c *Organizations) AttachPolicyRequest(input *AttachPolicyInput) (req *requ // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the -// AWS Customer Agreement. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the AWS Organizations User Guide. +// AWS Customer Agreement. Follow the steps at Removing a member account +// from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in +// the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// phone verification. Follow the steps at Removing a member account from +// your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -401,9 +380,9 @@ func (c *Organizations) AttachPolicyRequest(input *AttachPolicyInput) (req *requ // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still -// count toward your limit. If you get receive this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. If after an hour it continues to fail with this error, contact +// count toward your limit. If you get this exception when running a command +// immediately after creating the organization, wait one hour and try again. +// After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -443,7 +422,7 @@ func (c *Organizations) AttachPolicyRequest(input *AttachPolicyInput) (req *requ // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide contact a valid address and phone number for the master +// must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -510,7 +489,7 @@ func (c *Organizations) AttachPolicyRequest(input *AttachPolicyInput) (req *requ // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -586,15 +565,15 @@ func (c *Organizations) AttachPolicyRequest(input *AttachPolicyInput) (req *requ // We can't find a root, OU, or account with the TargetId that you specified. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * UnsupportedAPIEndpointException -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. // // * PolicyChangesInProgressException // Changes to the effective policy are in progress, and its contents can't be @@ -713,7 +692,7 @@ func (c *Organizations) CancelHandshakeRequest(input *CancelHandshakeInput) (req // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -776,12 +755,12 @@ func (c *Organizations) CancelHandshakeRequest(input *CancelHandshakeInput) (req // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CancelHandshake func (c *Organizations) CancelHandshake(input *CancelHandshakeInput) (*CancelHandshakeOutput, error) { @@ -943,10 +922,10 @@ func (c *Organizations) CreateAccountRequest(input *CreateAccountInput) (req *re // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated -// limit. +// limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -955,15 +934,15 @@ func (c *Organizations) CreateAccountRequest(input *CreateAccountInput) (req *re // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the -// AWS Customer Agreement. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the AWS Organizations User Guide. +// AWS Customer Agreement. Follow the steps at Removing a member account +// from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in +// the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// phone verification. Follow the steps at Removing a member account from +// your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -976,9 +955,9 @@ func (c *Organizations) CreateAccountRequest(input *CreateAccountInput) (req *re // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still -// count toward your limit. If you get receive this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. If after an hour it continues to fail with this error, contact +// count toward your limit. If you get this exception when running a command +// immediately after creating the organization, wait one hour and try again. +// After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -1018,7 +997,7 @@ func (c *Organizations) CreateAccountRequest(input *CreateAccountInput) (req *re // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide contact a valid address and phone number for the master +// must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -1082,7 +1061,7 @@ func (c *Organizations) CreateAccountRequest(input *CreateAccountInput) (req *re // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -1151,15 +1130,15 @@ func (c *Organizations) CreateAccountRequest(input *CreateAccountInput) (req *re // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * UnsupportedAPIEndpointException -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateAccount func (c *Organizations) CreateAccount(input *CreateAccountInput) (*CreateAccountOutput, error) { @@ -1299,8 +1278,8 @@ func (c *Organizations) CreateGovCloudAccountRequest(input *CreateGovCloudAccoun // // * When you create an account in an organization using the AWS Organizations // console, API, or CLI commands, the information required for the account -// to operate as a standalone account, such as a payment method and signing -// the end user license agreement (EULA) is not automatically collected. +// to operate as a standalone account is not automatically collected. This +// includes a payment method and signing the end user license agreement (EULA). // If you must remove an account from your organization later, you can do // so only after you provide the missing information. Follow the steps at // To leave an organization as a member account (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) @@ -1357,10 +1336,10 @@ func (c *Organizations) CreateGovCloudAccountRequest(input *CreateGovCloudAccoun // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated -// limit. +// limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -1369,15 +1348,15 @@ func (c *Organizations) CreateGovCloudAccountRequest(input *CreateGovCloudAccoun // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the -// AWS Customer Agreement. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the AWS Organizations User Guide. +// AWS Customer Agreement. Follow the steps at Removing a member account +// from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in +// the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// phone verification. Follow the steps at Removing a member account from +// your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -1390,9 +1369,9 @@ func (c *Organizations) CreateGovCloudAccountRequest(input *CreateGovCloudAccoun // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still -// count toward your limit. If you get receive this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. If after an hour it continues to fail with this error, contact +// count toward your limit. If you get this exception when running a command +// immediately after creating the organization, wait one hour and try again. +// After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -1432,7 +1411,7 @@ func (c *Organizations) CreateGovCloudAccountRequest(input *CreateGovCloudAccoun // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide contact a valid address and phone number for the master +// must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -1496,7 +1475,7 @@ func (c *Organizations) CreateGovCloudAccountRequest(input *CreateGovCloudAccoun // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -1565,15 +1544,15 @@ func (c *Organizations) CreateGovCloudAccountRequest(input *CreateGovCloudAccoun // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * UnsupportedAPIEndpointException -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateGovCloudAccount func (c *Organizations) CreateGovCloudAccount(input *CreateGovCloudAccountInput) (*CreateGovCloudAccountOutput, error) { @@ -1685,10 +1664,10 @@ func (c *Organizations) CreateOrganizationRequest(input *CreateOrganizationInput // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated -// limit. +// limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -1697,15 +1676,15 @@ func (c *Organizations) CreateOrganizationRequest(input *CreateOrganizationInput // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the -// AWS Customer Agreement. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the AWS Organizations User Guide. +// AWS Customer Agreement. Follow the steps at Removing a member account +// from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in +// the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// phone verification. Follow the steps at Removing a member account from +// your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -1718,9 +1697,9 @@ func (c *Organizations) CreateOrganizationRequest(input *CreateOrganizationInput // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still -// count toward your limit. If you get receive this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. If after an hour it continues to fail with this error, contact +// count toward your limit. If you get this exception when running a command +// immediately after creating the organization, wait one hour and try again. +// After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -1760,7 +1739,7 @@ func (c *Organizations) CreateOrganizationRequest(input *CreateOrganizationInput // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide contact a valid address and phone number for the master +// must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -1824,7 +1803,7 @@ func (c *Organizations) CreateOrganizationRequest(input *CreateOrganizationInput // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -1887,12 +1866,12 @@ func (c *Organizations) CreateOrganizationRequest(input *CreateOrganizationInput // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * AccessDeniedForDependencyException // The operation that you attempted requires you to have the iam:CreateServiceLinkedRole @@ -2005,10 +1984,10 @@ func (c *Organizations) CreateOrganizationalUnitRequest(input *CreateOrganizatio // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated -// limit. +// limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -2017,15 +1996,15 @@ func (c *Organizations) CreateOrganizationalUnitRequest(input *CreateOrganizatio // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the -// AWS Customer Agreement. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the AWS Organizations User Guide. +// AWS Customer Agreement. Follow the steps at Removing a member account +// from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in +// the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// phone verification. Follow the steps at Removing a member account from +// your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -2038,9 +2017,9 @@ func (c *Organizations) CreateOrganizationalUnitRequest(input *CreateOrganizatio // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still -// count toward your limit. If you get receive this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. If after an hour it continues to fail with this error, contact +// count toward your limit. If you get this exception when running a command +// immediately after creating the organization, wait one hour and try again. +// After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -2080,7 +2059,7 @@ func (c *Organizations) CreateOrganizationalUnitRequest(input *CreateOrganizatio // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide contact a valid address and phone number for the master +// must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -2147,7 +2126,7 @@ func (c *Organizations) CreateOrganizationalUnitRequest(input *CreateOrganizatio // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -2213,12 +2192,12 @@ func (c *Organizations) CreateOrganizationalUnitRequest(input *CreateOrganizatio // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateOrganizationalUnit func (c *Organizations) CreateOrganizationalUnit(input *CreateOrganizationalUnitInput) (*CreateOrganizationalUnitOutput, error) { @@ -2323,10 +2302,10 @@ func (c *Organizations) CreatePolicyRequest(input *CreatePolicyInput) (req *requ // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated -// limit. +// limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -2335,15 +2314,15 @@ func (c *Organizations) CreatePolicyRequest(input *CreatePolicyInput) (req *requ // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the -// AWS Customer Agreement. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the AWS Organizations User Guide. +// AWS Customer Agreement. Follow the steps at Removing a member account +// from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in +// the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// phone verification. Follow the steps at Removing a member account from +// your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -2356,9 +2335,9 @@ func (c *Organizations) CreatePolicyRequest(input *CreatePolicyInput) (req *requ // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still -// count toward your limit. If you get receive this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. If after an hour it continues to fail with this error, contact +// count toward your limit. If you get this exception when running a command +// immediately after creating the organization, wait one hour and try again. +// After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -2398,7 +2377,7 @@ func (c *Organizations) CreatePolicyRequest(input *CreatePolicyInput) (req *requ // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide contact a valid address and phone number for the master +// must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -2465,7 +2444,7 @@ func (c *Organizations) CreatePolicyRequest(input *CreatePolicyInput) (req *requ // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -2532,24 +2511,24 @@ func (c *Organizations) CreatePolicyRequest(input *CreatePolicyInput) (req *requ // * PolicyTypeNotAvailableForOrganizationException // You can't use the specified policy type with the feature set currently enabled // for this organization. For example, you can enable SCPs only after you enable -// all features in the organization. For more information, see Enabling and -// Disabling a Policy Type on a Root (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#enable_policies_on_root) -// in the AWS Organizations User Guide. +// all features in the organization. For more information, see Managing AWS +// Organizations Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#enable_policies_on_root)in +// the AWS Organizations User Guide. // // * ServiceException // AWS Organizations can't complete your request because of an internal service // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * UnsupportedAPIEndpointException -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreatePolicy func (c *Organizations) CreatePolicy(input *CreatePolicyInput) (*CreatePolicyOutput, error) { @@ -2665,7 +2644,7 @@ func (c *Organizations) DeclineHandshakeRequest(input *DeclineHandshakeInput) (r // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -2728,12 +2707,12 @@ func (c *Organizations) DeclineHandshakeRequest(input *DeclineHandshakeInput) (r // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeclineHandshake func (c *Organizations) DeclineHandshake(input *DeclineHandshakeInput) (*DeclineHandshakeOutput, error) { @@ -2834,7 +2813,7 @@ func (c *Organizations) DeleteOrganizationRequest(input *DeleteOrganizationInput // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -2901,12 +2880,12 @@ func (c *Organizations) DeleteOrganizationRequest(input *DeleteOrganizationInput // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeleteOrganization func (c *Organizations) DeleteOrganization(input *DeleteOrganizationInput) (*DeleteOrganizationOutput, error) { @@ -3009,7 +2988,7 @@ func (c *Organizations) DeleteOrganizationalUnitRequest(input *DeleteOrganizatio // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -3079,12 +3058,12 @@ func (c *Organizations) DeleteOrganizationalUnitRequest(input *DeleteOrganizatio // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeleteOrganizationalUnit func (c *Organizations) DeleteOrganizationalUnit(input *DeleteOrganizationalUnitInput) (*DeleteOrganizationalUnitOutput, error) { @@ -3188,7 +3167,7 @@ func (c *Organizations) DeletePolicyRequest(input *DeletePolicyInput) (req *requ // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -3258,15 +3237,15 @@ func (c *Organizations) DeletePolicyRequest(input *DeletePolicyInput) (req *requ // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * UnsupportedAPIEndpointException -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeletePolicy func (c *Organizations) DeletePolicy(input *DeletePolicyInput) (*DeletePolicyOutput, error) { @@ -3383,10 +3362,10 @@ func (c *Organizations) DeregisterDelegatedAdministratorRequest(input *Deregiste // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated -// limit. +// limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -3395,15 +3374,15 @@ func (c *Organizations) DeregisterDelegatedAdministratorRequest(input *Deregiste // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the -// AWS Customer Agreement. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the AWS Organizations User Guide. +// AWS Customer Agreement. Follow the steps at Removing a member account +// from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in +// the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// phone verification. Follow the steps at Removing a member account from +// your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -3416,9 +3395,9 @@ func (c *Organizations) DeregisterDelegatedAdministratorRequest(input *Deregiste // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still -// count toward your limit. If you get receive this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. If after an hour it continues to fail with this error, contact +// count toward your limit. If you get this exception when running a command +// immediately after creating the organization, wait one hour and try again. +// After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -3458,7 +3437,7 @@ func (c *Organizations) DeregisterDelegatedAdministratorRequest(input *Deregiste // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide contact a valid address and phone number for the master +// must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -3522,7 +3501,7 @@ func (c *Organizations) DeregisterDelegatedAdministratorRequest(input *Deregiste // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -3581,19 +3560,19 @@ func (c *Organizations) DeregisterDelegatedAdministratorRequest(input *Deregiste // between entities in the same root. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * ServiceException // AWS Organizations can't complete your request because of an internal service // error. Try again later. // // * UnsupportedAPIEndpointException -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeregisterDelegatedAdministrator func (c *Organizations) DeregisterDelegatedAdministrator(input *DeregisterDelegatedAdministratorInput) (*DeregisterDelegatedAdministratorOutput, error) { @@ -3696,7 +3675,7 @@ func (c *Organizations) DescribeAccountRequest(input *DescribeAccountInput) (req // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -3759,12 +3738,12 @@ func (c *Organizations) DescribeAccountRequest(input *DescribeAccountInput) (req // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeAccount func (c *Organizations) DescribeAccount(input *DescribeAccountInput) (*DescribeAccountOutput, error) { @@ -3866,7 +3845,7 @@ func (c *Organizations) DescribeCreateAccountStatusRequest(input *DescribeCreate // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -3929,15 +3908,15 @@ func (c *Organizations) DescribeCreateAccountStatusRequest(input *DescribeCreate // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * UnsupportedAPIEndpointException -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeCreateAccountStatus func (c *Organizations) DescribeCreateAccountStatus(input *DescribeCreateAccountStatusInput) (*DescribeCreateAccountStatusOutput, error) { @@ -4005,14 +3984,16 @@ func (c *Organizations) DescribeEffectivePolicyRequest(input *DescribeEffectiveP // DescribeEffectivePolicy API operation for AWS Organizations. // -// Returns the contents of the effective tag policy for the account. The effective -// tag policy is the aggregation of any tag policies the account inherits, plus -// any policy directly that is attached to the account. +// Returns the contents of the effective policy for specified policy type and +// account. The effective policy is the aggregation of any policies of the specified +// type that the account inherits, plus any policy of that type that is directly +// attached to the account. // -// This action returns information on tag policies only. +// This operation applies only to policy types other than service control policies +// (SCPs). // -// For more information on policy inheritance, see How Policy Inheritance Works -// (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies-inheritance.html) +// For more information about policy inheritance, see How Policy Inheritance +// Works (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies-inheritance.html) // in the AWS Organizations User Guide. // // This operation can be called only from the organization's master account @@ -4043,10 +4024,10 @@ func (c *Organizations) DescribeEffectivePolicyRequest(input *DescribeEffectiveP // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated -// limit. +// limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -4055,15 +4036,15 @@ func (c *Organizations) DescribeEffectivePolicyRequest(input *DescribeEffectiveP // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the -// AWS Customer Agreement. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the AWS Organizations User Guide. +// AWS Customer Agreement. Follow the steps at Removing a member account +// from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in +// the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// phone verification. Follow the steps at Removing a member account from +// your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -4076,9 +4057,9 @@ func (c *Organizations) DescribeEffectivePolicyRequest(input *DescribeEffectiveP // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still -// count toward your limit. If you get receive this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. If after an hour it continues to fail with this error, contact +// count toward your limit. If you get this exception when running a command +// immediately after creating the organization, wait one hour and try again. +// After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -4118,7 +4099,7 @@ func (c *Organizations) DescribeEffectivePolicyRequest(input *DescribeEffectiveP // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide contact a valid address and phone number for the master +// must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -4181,12 +4162,12 @@ func (c *Organizations) DescribeEffectivePolicyRequest(input *DescribeEffectiveP // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * TargetNotFoundException // We can't find a root, OU, or account with the TargetId that you specified. @@ -4203,7 +4184,7 @@ func (c *Organizations) DescribeEffectivePolicyRequest(input *DescribeEffectiveP // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -4262,7 +4243,7 @@ func (c *Organizations) DescribeEffectivePolicyRequest(input *DescribeEffectiveP // between entities in the same root. // // * UnsupportedAPIEndpointException -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeEffectivePolicy func (c *Organizations) DescribeEffectivePolicy(input *DescribeEffectivePolicyInput) (*DescribeEffectivePolicyOutput, error) { @@ -4368,7 +4349,7 @@ func (c *Organizations) DescribeHandshakeRequest(input *DescribeHandshakeInput) // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -4431,12 +4412,12 @@ func (c *Organizations) DescribeHandshakeRequest(input *DescribeHandshakeInput) // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeHandshake func (c *Organizations) DescribeHandshake(input *DescribeHandshakeInput) (*DescribeHandshakeOutput, error) { @@ -4541,12 +4522,12 @@ func (c *Organizations) DescribeOrganizationRequest(input *DescribeOrganizationI // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganization func (c *Organizations) DescribeOrganization(input *DescribeOrganizationInput) (*DescribeOrganizationOutput, error) { @@ -4644,7 +4625,7 @@ func (c *Organizations) DescribeOrganizationalUnitRequest(input *DescribeOrganiz // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -4710,12 +4691,12 @@ func (c *Organizations) DescribeOrganizationalUnitRequest(input *DescribeOrganiz // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganizationalUnit func (c *Organizations) DescribeOrganizationalUnit(input *DescribeOrganizationalUnitInput) (*DescribeOrganizationalUnitOutput, error) { @@ -4813,7 +4794,7 @@ func (c *Organizations) DescribePolicyRequest(input *DescribePolicyInput) (req * // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -4879,15 +4860,15 @@ func (c *Organizations) DescribePolicyRequest(input *DescribePolicyInput) (req * // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * UnsupportedAPIEndpointException -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribePolicy func (c *Organizations) DescribePolicy(input *DescribePolicyInput) (*DescribePolicyOutput, error) { @@ -4957,18 +4938,20 @@ func (c *Organizations) DetachPolicyRequest(input *DetachPolicyInput) (req *requ // DetachPolicy API operation for AWS Organizations. // // Detaches a policy from a target root, organizational unit (OU), or account. -// If the policy being detached is a service control policy (SCP), the changes -// to permissions for IAM users and roles in affected accounts are immediate. // -// Note: Every root, OU, and account must have at least one SCP attached. If -// you want to replace the default FullAWSAccess policy with one that limits -// the permissions that can be delegated, you must attach the replacement policy -// before you can remove the default one. This is the authorization strategy -// of an "allow list (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_about-scps.html#orgs_policies_whitelist)". +// If the policy being detached is a service control policy (SCP), the changes +// to permissions for AWS Identity and Access Management (IAM) users and roles +// in affected accounts are immediate. +// +// Every root, OU, and account must have at least one SCP attached. If you want +// to replace the default FullAWSAccess policy with an SCP that limits the permissions +// that can be delegated, you must attach the replacement SCP before you can +// remove the default SCP. This is the authorization strategy of an "allow list +// (https://docs.aws.amazon.com/organizations/latest/userguide/SCP_strategies.html#orgs_policies_allowlist)". // If you instead attach a second SCP and leave the FullAWSAccess SCP still // attached, and specify "Effect": "Deny" in the second SCP to override the // "Effect": "Allow" in the FullAWSAccess policy (or any other attached SCP), -// you're using the authorization strategy of a "deny list (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_about-scps.html#orgs_policies_blacklist)". +// you're using the authorization strategy of a "deny list (https://docs.aws.amazon.com/organizations/latest/userguide/SCP_strategies.html#orgs_policies_denylist)". // // This operation can be called only from the organization's master account. // @@ -5001,10 +4984,10 @@ func (c *Organizations) DetachPolicyRequest(input *DetachPolicyInput) (req *requ // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated -// limit. +// limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -5013,15 +4996,15 @@ func (c *Organizations) DetachPolicyRequest(input *DetachPolicyInput) (req *requ // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the -// AWS Customer Agreement. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the AWS Organizations User Guide. +// AWS Customer Agreement. Follow the steps at Removing a member account +// from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in +// the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// phone verification. Follow the steps at Removing a member account from +// your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -5034,9 +5017,9 @@ func (c *Organizations) DetachPolicyRequest(input *DetachPolicyInput) (req *requ // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still -// count toward your limit. If you get receive this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. If after an hour it continues to fail with this error, contact +// count toward your limit. If you get this exception when running a command +// immediately after creating the organization, wait one hour and try again. +// After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -5076,7 +5059,7 @@ func (c *Organizations) DetachPolicyRequest(input *DetachPolicyInput) (req *requ // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide contact a valid address and phone number for the master +// must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -5140,7 +5123,7 @@ func (c *Organizations) DetachPolicyRequest(input *DetachPolicyInput) (req *requ // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -5212,15 +5195,15 @@ func (c *Organizations) DetachPolicyRequest(input *DetachPolicyInput) (req *requ // We can't find a root, OU, or account with the TargetId that you specified. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * UnsupportedAPIEndpointException -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. // // * PolicyChangesInProgressException // Changes to the effective policy are in progress, and its contents can't be @@ -5350,10 +5333,10 @@ func (c *Organizations) DisableAWSServiceAccessRequest(input *DisableAWSServiceA // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated -// limit. +// limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -5362,15 +5345,15 @@ func (c *Organizations) DisableAWSServiceAccessRequest(input *DisableAWSServiceA // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the -// AWS Customer Agreement. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the AWS Organizations User Guide. +// AWS Customer Agreement. Follow the steps at Removing a member account +// from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in +// the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// phone verification. Follow the steps at Removing a member account from +// your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -5383,9 +5366,9 @@ func (c *Organizations) DisableAWSServiceAccessRequest(input *DisableAWSServiceA // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still -// count toward your limit. If you get receive this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. If after an hour it continues to fail with this error, contact +// count toward your limit. If you get this exception when running a command +// immediately after creating the organization, wait one hour and try again. +// After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -5425,7 +5408,7 @@ func (c *Organizations) DisableAWSServiceAccessRequest(input *DisableAWSServiceA // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide contact a valid address and phone number for the master +// must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -5489,7 +5472,7 @@ func (c *Organizations) DisableAWSServiceAccessRequest(input *DisableAWSServiceA // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -5552,15 +5535,15 @@ func (c *Organizations) DisableAWSServiceAccessRequest(input *DisableAWSServiceA // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * UnsupportedAPIEndpointException -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisableAWSServiceAccess func (c *Organizations) DisableAWSServiceAccess(input *DisableAWSServiceAccessInput) (*DisableAWSServiceAccessOutput, error) { @@ -5628,14 +5611,14 @@ func (c *Organizations) DisablePolicyTypeRequest(input *DisablePolicyTypeInput) // DisablePolicyType API operation for AWS Organizations. // -// Disables an organizational control policy type in a root. A policy of a certain -// type can be attached to entities in a root only if that type is enabled in -// the root. After you perform this operation, you no longer can attach policies +// Disables an organizational policy type in a root. A policy of a certain type +// can be attached to entities in a root only if that type is enabled in the +// root. After you perform this operation, you no longer can attach policies // of the specified type to that root or to any organizational unit (OU) or // account in that root. You can undo this by using the EnablePolicyType operation. // // This is an asynchronous request that AWS performs in the background. If you -// disable a policy for a root, it still appears enabled for the organization +// disable a policy type for a root, it still appears enabled for the organization // if all features (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html) // are enabled for the organization. AWS recommends that you first use ListRoots // to see the status of policy types for a specified root, and then use this @@ -5674,10 +5657,10 @@ func (c *Organizations) DisablePolicyTypeRequest(input *DisablePolicyTypeInput) // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated -// limit. +// limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -5686,15 +5669,15 @@ func (c *Organizations) DisablePolicyTypeRequest(input *DisablePolicyTypeInput) // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the -// AWS Customer Agreement. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the AWS Organizations User Guide. +// AWS Customer Agreement. Follow the steps at Removing a member account +// from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in +// the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// phone verification. Follow the steps at Removing a member account from +// your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -5707,9 +5690,9 @@ func (c *Organizations) DisablePolicyTypeRequest(input *DisablePolicyTypeInput) // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still -// count toward your limit. If you get receive this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. If after an hour it continues to fail with this error, contact +// count toward your limit. If you get this exception when running a command +// immediately after creating the organization, wait one hour and try again. +// After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -5749,7 +5732,7 @@ func (c *Organizations) DisablePolicyTypeRequest(input *DisablePolicyTypeInput) // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide contact a valid address and phone number for the master +// must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -5813,7 +5796,7 @@ func (c *Organizations) DisablePolicyTypeRequest(input *DisablePolicyTypeInput) // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -5886,15 +5869,15 @@ func (c *Organizations) DisablePolicyTypeRequest(input *DisablePolicyTypeInput) // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * UnsupportedAPIEndpointException -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. // // * PolicyChangesInProgressException // Changes to the effective policy are in progress, and its contents can't be @@ -6017,10 +6000,10 @@ func (c *Organizations) EnableAWSServiceAccessRequest(input *EnableAWSServiceAcc // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated -// limit. +// limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -6029,15 +6012,15 @@ func (c *Organizations) EnableAWSServiceAccessRequest(input *EnableAWSServiceAcc // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the -// AWS Customer Agreement. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the AWS Organizations User Guide. +// AWS Customer Agreement. Follow the steps at Removing a member account +// from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in +// the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// phone verification. Follow the steps at Removing a member account from +// your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -6050,9 +6033,9 @@ func (c *Organizations) EnableAWSServiceAccessRequest(input *EnableAWSServiceAcc // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still -// count toward your limit. If you get receive this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. If after an hour it continues to fail with this error, contact +// count toward your limit. If you get this exception when running a command +// immediately after creating the organization, wait one hour and try again. +// After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -6092,7 +6075,7 @@ func (c *Organizations) EnableAWSServiceAccessRequest(input *EnableAWSServiceAcc // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide contact a valid address and phone number for the master +// must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -6156,7 +6139,7 @@ func (c *Organizations) EnableAWSServiceAccessRequest(input *EnableAWSServiceAcc // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -6219,15 +6202,15 @@ func (c *Organizations) EnableAWSServiceAccessRequest(input *EnableAWSServiceAcc // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * UnsupportedAPIEndpointException -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnableAWSServiceAccess func (c *Organizations) EnableAWSServiceAccess(input *EnableAWSServiceAccessInput) (*EnableAWSServiceAccessOutput, error) { @@ -6395,7 +6378,7 @@ func (c *Organizations) EnableAllFeaturesRequest(input *EnableAllFeaturesInput) // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -6458,12 +6441,12 @@ func (c *Organizations) EnableAllFeaturesRequest(input *EnableAllFeaturesInput) // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnableAllFeatures func (c *Organizations) EnableAllFeatures(input *EnableAllFeaturesInput) (*EnableAllFeaturesOutput, error) { @@ -6575,10 +6558,10 @@ func (c *Organizations) EnablePolicyTypeRequest(input *EnablePolicyTypeInput) (r // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated -// limit. +// limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -6587,15 +6570,15 @@ func (c *Organizations) EnablePolicyTypeRequest(input *EnablePolicyTypeInput) (r // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the -// AWS Customer Agreement. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the AWS Organizations User Guide. +// AWS Customer Agreement. Follow the steps at Removing a member account +// from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in +// the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// phone verification. Follow the steps at Removing a member account from +// your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -6608,9 +6591,9 @@ func (c *Organizations) EnablePolicyTypeRequest(input *EnablePolicyTypeInput) (r // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still -// count toward your limit. If you get receive this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. If after an hour it continues to fail with this error, contact +// count toward your limit. If you get this exception when running a command +// immediately after creating the organization, wait one hour and try again. +// After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -6650,7 +6633,7 @@ func (c *Organizations) EnablePolicyTypeRequest(input *EnablePolicyTypeInput) (r // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide contact a valid address and phone number for the master +// must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -6714,7 +6697,7 @@ func (c *Organizations) EnablePolicyTypeRequest(input *EnablePolicyTypeInput) (r // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -6783,22 +6766,22 @@ func (c *Organizations) EnablePolicyTypeRequest(input *EnablePolicyTypeInput) (r // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * PolicyTypeNotAvailableForOrganizationException // You can't use the specified policy type with the feature set currently enabled // for this organization. For example, you can enable SCPs only after you enable -// all features in the organization. For more information, see Enabling and -// Disabling a Policy Type on a Root (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#enable_policies_on_root) -// in the AWS Organizations User Guide. +// all features in the organization. For more information, see Managing AWS +// Organizations Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#enable_policies_on_root)in +// the AWS Organizations User Guide. // // * UnsupportedAPIEndpointException -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. // // * PolicyChangesInProgressException // Changes to the effective policy are in progress, and its contents can't be @@ -6971,7 +6954,7 @@ func (c *Organizations) InviteAccountToOrganizationRequest(input *InviteAccountT // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -7040,12 +7023,12 @@ func (c *Organizations) InviteAccountToOrganizationRequest(input *InviteAccountT // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/InviteAccountToOrganization func (c *Organizations) InviteAccountToOrganization(input *InviteAccountToOrganizationInput) (*InviteAccountToOrganizationOutput, error) { @@ -7179,10 +7162,10 @@ func (c *Organizations) LeaveOrganizationRequest(input *LeaveOrganizationInput) // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated -// limit. +// limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -7191,15 +7174,15 @@ func (c *Organizations) LeaveOrganizationRequest(input *LeaveOrganizationInput) // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the -// AWS Customer Agreement. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the AWS Organizations User Guide. +// AWS Customer Agreement. Follow the steps at Removing a member account +// from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in +// the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// phone verification. Follow the steps at Removing a member account from +// your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -7212,9 +7195,9 @@ func (c *Organizations) LeaveOrganizationRequest(input *LeaveOrganizationInput) // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still -// count toward your limit. If you get receive this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. If after an hour it continues to fail with this error, contact +// count toward your limit. If you get this exception when running a command +// immediately after creating the organization, wait one hour and try again. +// After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -7254,7 +7237,7 @@ func (c *Organizations) LeaveOrganizationRequest(input *LeaveOrganizationInput) // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide contact a valid address and phone number for the master +// must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -7318,7 +7301,7 @@ func (c *Organizations) LeaveOrganizationRequest(input *LeaveOrganizationInput) // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -7386,12 +7369,12 @@ func (c *Organizations) LeaveOrganizationRequest(input *LeaveOrganizationInput) // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/LeaveOrganization func (c *Organizations) LeaveOrganization(input *LeaveOrganizationInput) (*LeaveOrganizationOutput, error) { @@ -7503,10 +7486,10 @@ func (c *Organizations) ListAWSServiceAccessForOrganizationRequest(input *ListAW // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated -// limit. +// limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -7515,15 +7498,15 @@ func (c *Organizations) ListAWSServiceAccessForOrganizationRequest(input *ListAW // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the -// AWS Customer Agreement. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the AWS Organizations User Guide. +// AWS Customer Agreement. Follow the steps at Removing a member account +// from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in +// the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// phone verification. Follow the steps at Removing a member account from +// your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -7536,9 +7519,9 @@ func (c *Organizations) ListAWSServiceAccessForOrganizationRequest(input *ListAW // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still -// count toward your limit. If you get receive this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. If after an hour it continues to fail with this error, contact +// count toward your limit. If you get this exception when running a command +// immediately after creating the organization, wait one hour and try again. +// After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -7578,7 +7561,7 @@ func (c *Organizations) ListAWSServiceAccessForOrganizationRequest(input *ListAW // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide contact a valid address and phone number for the master +// must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -7642,7 +7625,7 @@ func (c *Organizations) ListAWSServiceAccessForOrganizationRequest(input *ListAW // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -7705,15 +7688,15 @@ func (c *Organizations) ListAWSServiceAccessForOrganizationRequest(input *ListAW // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * UnsupportedAPIEndpointException -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAWSServiceAccessForOrganization func (c *Organizations) ListAWSServiceAccessForOrganization(input *ListAWSServiceAccessForOrganizationInput) (*ListAWSServiceAccessForOrganizationOutput, error) { @@ -7876,7 +7859,7 @@ func (c *Organizations) ListAccountsRequest(input *ListAccountsInput) (req *requ // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -7939,12 +7922,12 @@ func (c *Organizations) ListAccountsRequest(input *ListAccountsInput) (req *requ // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAccounts func (c *Organizations) ListAccounts(input *ListAccountsInput) (*ListAccountsOutput, error) { @@ -8109,7 +8092,7 @@ func (c *Organizations) ListAccountsForParentRequest(input *ListAccountsForParen // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -8175,12 +8158,12 @@ func (c *Organizations) ListAccountsForParentRequest(input *ListAccountsForParen // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAccountsForParent func (c *Organizations) ListAccountsForParent(input *ListAccountsForParentInput) (*ListAccountsForParentOutput, error) { @@ -8343,7 +8326,7 @@ func (c *Organizations) ListChildrenRequest(input *ListChildrenInput) (req *requ // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -8409,12 +8392,12 @@ func (c *Organizations) ListChildrenRequest(input *ListChildrenInput) (req *requ // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListChildren func (c *Organizations) ListChildren(input *ListChildrenInput) (*ListChildrenOutput, error) { @@ -8576,7 +8559,7 @@ func (c *Organizations) ListCreateAccountStatusRequest(input *ListCreateAccountS // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -8639,15 +8622,15 @@ func (c *Organizations) ListCreateAccountStatusRequest(input *ListCreateAccountS // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * UnsupportedAPIEndpointException -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListCreateAccountStatus func (c *Organizations) ListCreateAccountStatus(input *ListCreateAccountStatusInput) (*ListCreateAccountStatusOutput, error) { @@ -8804,10 +8787,10 @@ func (c *Organizations) ListDelegatedAdministratorsRequest(input *ListDelegatedA // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated -// limit. +// limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -8816,15 +8799,15 @@ func (c *Organizations) ListDelegatedAdministratorsRequest(input *ListDelegatedA // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the -// AWS Customer Agreement. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the AWS Organizations User Guide. +// AWS Customer Agreement. Follow the steps at Removing a member account +// from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in +// the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// phone verification. Follow the steps at Removing a member account from +// your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -8837,9 +8820,9 @@ func (c *Organizations) ListDelegatedAdministratorsRequest(input *ListDelegatedA // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still -// count toward your limit. If you get receive this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. If after an hour it continues to fail with this error, contact +// count toward your limit. If you get this exception when running a command +// immediately after creating the organization, wait one hour and try again. +// After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -8879,7 +8862,7 @@ func (c *Organizations) ListDelegatedAdministratorsRequest(input *ListDelegatedA // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide contact a valid address and phone number for the master +// must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -8943,7 +8926,7 @@ func (c *Organizations) ListDelegatedAdministratorsRequest(input *ListDelegatedA // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -9002,19 +8985,19 @@ func (c *Organizations) ListDelegatedAdministratorsRequest(input *ListDelegatedA // between entities in the same root. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * ServiceException // AWS Organizations can't complete your request because of an internal service // error. Try again later. // // * UnsupportedAPIEndpointException -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListDelegatedAdministrators func (c *Organizations) ListDelegatedAdministrators(input *ListDelegatedAdministratorsInput) (*ListDelegatedAdministratorsOutput, error) { @@ -9178,10 +9161,10 @@ func (c *Organizations) ListDelegatedServicesForAccountRequest(input *ListDelega // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated -// limit. +// limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -9190,15 +9173,15 @@ func (c *Organizations) ListDelegatedServicesForAccountRequest(input *ListDelega // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the -// AWS Customer Agreement. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the AWS Organizations User Guide. +// AWS Customer Agreement. Follow the steps at Removing a member account +// from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in +// the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// phone verification. Follow the steps at Removing a member account from +// your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -9211,9 +9194,9 @@ func (c *Organizations) ListDelegatedServicesForAccountRequest(input *ListDelega // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still -// count toward your limit. If you get receive this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. If after an hour it continues to fail with this error, contact +// count toward your limit. If you get this exception when running a command +// immediately after creating the organization, wait one hour and try again. +// After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -9253,7 +9236,7 @@ func (c *Organizations) ListDelegatedServicesForAccountRequest(input *ListDelega // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide contact a valid address and phone number for the master +// must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -9317,7 +9300,7 @@ func (c *Organizations) ListDelegatedServicesForAccountRequest(input *ListDelega // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -9376,19 +9359,19 @@ func (c *Organizations) ListDelegatedServicesForAccountRequest(input *ListDelega // between entities in the same root. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * ServiceException // AWS Organizations can't complete your request because of an internal service // error. Try again later. // // * UnsupportedAPIEndpointException -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListDelegatedServicesForAccount func (c *Organizations) ListDelegatedServicesForAccount(input *ListDelegatedServicesForAccountInput) (*ListDelegatedServicesForAccountOutput, error) { @@ -9554,7 +9537,7 @@ func (c *Organizations) ListHandshakesForAccountRequest(input *ListHandshakesFor // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -9617,12 +9600,12 @@ func (c *Organizations) ListHandshakesForAccountRequest(input *ListHandshakesFor // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListHandshakesForAccount func (c *Organizations) ListHandshakesForAccount(input *ListHandshakesForAccountInput) (*ListHandshakesForAccountOutput, error) { @@ -9794,7 +9777,7 @@ func (c *Organizations) ListHandshakesForOrganizationRequest(input *ListHandshak // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -9857,12 +9840,12 @@ func (c *Organizations) ListHandshakesForOrganizationRequest(input *ListHandshak // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListHandshakesForOrganization func (c *Organizations) ListHandshakesForOrganization(input *ListHandshakesForOrganizationInput) (*ListHandshakesForOrganizationOutput, error) { @@ -10023,7 +10006,7 @@ func (c *Organizations) ListOrganizationalUnitsForParentRequest(input *ListOrgan // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -10089,12 +10072,12 @@ func (c *Organizations) ListOrganizationalUnitsForParentRequest(input *ListOrgan // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListOrganizationalUnitsForParent func (c *Organizations) ListOrganizationalUnitsForParent(input *ListOrganizationalUnitsForParentInput) (*ListOrganizationalUnitsForParentOutput, error) { @@ -10263,7 +10246,7 @@ func (c *Organizations) ListParentsRequest(input *ListParentsInput) (req *reques // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -10326,12 +10309,12 @@ func (c *Organizations) ListParentsRequest(input *ListParentsInput) (req *reques // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListParents func (c *Organizations) ListParents(input *ListParentsInput) (*ListParentsOutput, error) { @@ -10492,7 +10475,7 @@ func (c *Organizations) ListPoliciesRequest(input *ListPoliciesInput) (req *requ // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -10555,15 +10538,15 @@ func (c *Organizations) ListPoliciesRequest(input *ListPoliciesInput) (req *requ // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * UnsupportedAPIEndpointException -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListPolicies func (c *Organizations) ListPolicies(input *ListPoliciesInput) (*ListPoliciesOutput, error) { @@ -10726,7 +10709,7 @@ func (c *Organizations) ListPoliciesForTargetRequest(input *ListPoliciesForTarge // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -10792,15 +10775,15 @@ func (c *Organizations) ListPoliciesForTargetRequest(input *ListPoliciesForTarge // We can't find a root, OU, or account with the TargetId that you specified. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * UnsupportedAPIEndpointException -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListPoliciesForTarget func (c *Organizations) ListPoliciesForTarget(input *ListPoliciesForTargetInput) (*ListPoliciesForTargetOutput, error) { @@ -10967,7 +10950,7 @@ func (c *Organizations) ListRootsRequest(input *ListRootsInput) (req *request.Re // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -11030,12 +11013,12 @@ func (c *Organizations) ListRootsRequest(input *ListRootsInput) (req *request.Re // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListRoots func (c *Organizations) ListRoots(input *ListRootsInput) (*ListRootsOutput, error) { @@ -11196,7 +11179,7 @@ func (c *Organizations) ListTagsForResourceRequest(input *ListTagsForResourceInp // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -11259,12 +11242,12 @@ func (c *Organizations) ListTagsForResourceRequest(input *ListTagsForResourceInp // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListTagsForResource func (c *Organizations) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -11426,7 +11409,7 @@ func (c *Organizations) ListTargetsForPolicyRequest(input *ListTargetsForPolicyI // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -11492,15 +11475,15 @@ func (c *Organizations) ListTargetsForPolicyRequest(input *ListTargetsForPolicyI // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * UnsupportedAPIEndpointException -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListTargetsForPolicy func (c *Organizations) ListTargetsForPolicy(input *ListTargetsForPolicyInput) (*ListTargetsForPolicyOutput, error) { @@ -11647,7 +11630,7 @@ func (c *Organizations) MoveAccountRequest(input *MoveAccountInput) (req *reques // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -11721,12 +11704,12 @@ func (c *Organizations) MoveAccountRequest(input *MoveAccountInput) (req *reques // an organization. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * ConcurrentModificationException // The target of the operation is currently being modified by a different request. @@ -11857,10 +11840,10 @@ func (c *Organizations) RegisterDelegatedAdministratorRequest(input *RegisterDel // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated -// limit. +// limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -11869,15 +11852,15 @@ func (c *Organizations) RegisterDelegatedAdministratorRequest(input *RegisterDel // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the -// AWS Customer Agreement. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the AWS Organizations User Guide. +// AWS Customer Agreement. Follow the steps at Removing a member account +// from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in +// the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// phone verification. Follow the steps at Removing a member account from +// your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -11890,9 +11873,9 @@ func (c *Organizations) RegisterDelegatedAdministratorRequest(input *RegisterDel // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still -// count toward your limit. If you get receive this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. If after an hour it continues to fail with this error, contact +// count toward your limit. If you get this exception when running a command +// immediately after creating the organization, wait one hour and try again. +// After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -11932,7 +11915,7 @@ func (c *Organizations) RegisterDelegatedAdministratorRequest(input *RegisterDel // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide contact a valid address and phone number for the master +// must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -11996,7 +11979,7 @@ func (c *Organizations) RegisterDelegatedAdministratorRequest(input *RegisterDel // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -12055,19 +12038,19 @@ func (c *Organizations) RegisterDelegatedAdministratorRequest(input *RegisterDel // between entities in the same root. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * ServiceException // AWS Organizations can't complete your request because of an internal service // error. Try again later. // // * UnsupportedAPIEndpointException -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/RegisterDelegatedAdministrator func (c *Organizations) RegisterDelegatedAdministrator(input *RegisterDelegatedAdministratorInput) (*RegisterDelegatedAdministratorOutput, error) { @@ -12196,10 +12179,10 @@ func (c *Organizations) RemoveAccountFromOrganizationRequest(input *RemoveAccoun // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated -// limit. +// limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -12208,15 +12191,15 @@ func (c *Organizations) RemoveAccountFromOrganizationRequest(input *RemoveAccoun // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the -// AWS Customer Agreement. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the AWS Organizations User Guide. +// AWS Customer Agreement. Follow the steps at Removing a member account +// from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in +// the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// phone verification. Follow the steps at Removing a member account from +// your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -12229,9 +12212,9 @@ func (c *Organizations) RemoveAccountFromOrganizationRequest(input *RemoveAccoun // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still -// count toward your limit. If you get receive this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. If after an hour it continues to fail with this error, contact +// count toward your limit. If you get this exception when running a command +// immediately after creating the organization, wait one hour and try again. +// After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -12271,7 +12254,7 @@ func (c *Organizations) RemoveAccountFromOrganizationRequest(input *RemoveAccoun // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide contact a valid address and phone number for the master +// must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -12335,7 +12318,7 @@ func (c *Organizations) RemoveAccountFromOrganizationRequest(input *RemoveAccoun // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -12403,12 +12386,12 @@ func (c *Organizations) RemoveAccountFromOrganizationRequest(input *RemoveAccoun // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/RemoveAccountFromOrganization func (c *Organizations) RemoveAccountFromOrganization(input *RemoveAccountFromOrganizationInput) (*RemoveAccountFromOrganizationOutput, error) { @@ -12515,10 +12498,10 @@ func (c *Organizations) TagResourceRequest(input *TagResourceInput) (req *reques // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated -// limit. +// limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -12527,15 +12510,15 @@ func (c *Organizations) TagResourceRequest(input *TagResourceInput) (req *reques // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the -// AWS Customer Agreement. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the AWS Organizations User Guide. +// AWS Customer Agreement. Follow the steps at Removing a member account +// from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in +// the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// phone verification. Follow the steps at Removing a member account from +// your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -12548,9 +12531,9 @@ func (c *Organizations) TagResourceRequest(input *TagResourceInput) (req *reques // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still -// count toward your limit. If you get receive this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. If after an hour it continues to fail with this error, contact +// count toward your limit. If you get this exception when running a command +// immediately after creating the organization, wait one hour and try again. +// After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -12590,7 +12573,7 @@ func (c *Organizations) TagResourceRequest(input *TagResourceInput) (req *reques // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide contact a valid address and phone number for the master +// must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -12654,7 +12637,7 @@ func (c *Organizations) TagResourceRequest(input *TagResourceInput) (req *reques // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -12717,12 +12700,12 @@ func (c *Organizations) TagResourceRequest(input *TagResourceInput) (req *reques // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/TagResource func (c *Organizations) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -12829,10 +12812,10 @@ func (c *Organizations) UntagResourceRequest(input *UntagResourceInput) (req *re // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated -// limit. +// limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -12841,15 +12824,15 @@ func (c *Organizations) UntagResourceRequest(input *UntagResourceInput) (req *re // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the -// AWS Customer Agreement. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the AWS Organizations User Guide. +// AWS Customer Agreement. Follow the steps at Removing a member account +// from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in +// the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// phone verification. Follow the steps at Removing a member account from +// your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -12862,9 +12845,9 @@ func (c *Organizations) UntagResourceRequest(input *UntagResourceInput) (req *re // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still -// count toward your limit. If you get receive this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. If after an hour it continues to fail with this error, contact +// count toward your limit. If you get this exception when running a command +// immediately after creating the organization, wait one hour and try again. +// After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -12904,7 +12887,7 @@ func (c *Organizations) UntagResourceRequest(input *UntagResourceInput) (req *re // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide contact a valid address and phone number for the master +// must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -12968,7 +12951,7 @@ func (c *Organizations) UntagResourceRequest(input *UntagResourceInput) (req *re // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -13031,12 +13014,12 @@ func (c *Organizations) UntagResourceRequest(input *UntagResourceInput) (req *re // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/UntagResource func (c *Organizations) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -13142,7 +13125,7 @@ func (c *Organizations) UpdateOrganizationalUnitRequest(input *UpdateOrganizatio // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -13208,12 +13191,12 @@ func (c *Organizations) UpdateOrganizationalUnitRequest(input *UpdateOrganizatio // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/UpdateOrganizationalUnit func (c *Organizations) UpdateOrganizationalUnit(input *UpdateOrganizationalUnitInput) (*UpdateOrganizationalUnitOutput, error) { @@ -13316,10 +13299,10 @@ func (c *Organizations) UpdatePolicyRequest(input *UpdatePolicyInput) (req *requ // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated -// limit. +// limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -13328,15 +13311,15 @@ func (c *Organizations) UpdatePolicyRequest(input *UpdatePolicyInput) (req *requ // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the -// AWS Customer Agreement. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the AWS Organizations User Guide. +// AWS Customer Agreement. Follow the steps at Removing a member account +// from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in +// the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// phone verification. Follow the steps at Removing a member account from +// your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -13349,9 +13332,9 @@ func (c *Organizations) UpdatePolicyRequest(input *UpdatePolicyInput) (req *requ // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still -// count toward your limit. If you get receive this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. If after an hour it continues to fail with this error, contact +// count toward your limit. If you get this exception when running a command +// immediately after creating the organization, wait one hour and try again. +// After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -13391,7 +13374,7 @@ func (c *Organizations) UpdatePolicyRequest(input *UpdatePolicyInput) (req *requ // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide contact a valid address and phone number for the master +// must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -13458,7 +13441,7 @@ func (c *Organizations) UpdatePolicyRequest(input *UpdatePolicyInput) (req *requ // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -13530,15 +13513,15 @@ func (c *Organizations) UpdatePolicyRequest(input *UpdatePolicyInput) (req *requ // error. Try again later. // // * TooManyRequestsException -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. // // * UnsupportedAPIEndpointException -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. // // * PolicyChangesInProgressException // Changes to the effective policy are in progress, and its contents can't be @@ -14498,10 +14481,10 @@ func (s *ConcurrentModificationException) RequestID() string { // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated -// limit. +// limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -14510,15 +14493,15 @@ func (s *ConcurrentModificationException) RequestID() string { // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the -// AWS Customer Agreement. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the AWS Organizations User Guide. +// AWS Customer Agreement. Follow the steps at Removing a member account +// from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in +// the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at To leave an organization when -// all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// phone verification. Follow the steps at Removing a member account from +// your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -14531,9 +14514,9 @@ func (s *ConcurrentModificationException) RequestID() string { // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still -// count toward your limit. If you get receive this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. If after an hour it continues to fail with this error, contact +// count toward your limit. If you get this exception when running a command +// immediately after creating the organization, wait one hour and try again. +// After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -14573,7 +14556,7 @@ func (s *ConcurrentModificationException) RequestID() string { // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide contact a valid address and phone number for the master +// must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -15290,13 +15273,8 @@ func (s *CreateOrganizationalUnitOutput) SetOrganizationalUnit(v *Organizational type CreatePolicyInput struct { _ struct{} `type:"structure"` - // The policy content to add to the new policy. For example, if you create a - // service control policy (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html) - // (SCP), this string must be JSON text that specifies the permissions that - // admins in attached accounts can delegate to their users, groups, and roles. - // For more information about the SCP syntax, see Service Control Policy Syntax - // (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html) - // in the AWS Organizations User Guide. + // The policy text content to add to the new policy. The text that you supply + // must adhere to the rules of the policy type you specify in the Type parameter. // // Content is a required field Content *string `min:"1" type:"string" required:"true"` @@ -15315,10 +15293,13 @@ type CreatePolicyInput struct { // Name is a required field Name *string `min:"1" type:"string" required:"true"` - // The type of policy to create. + // The type of policy to create. You can specify one of the following values: + // + // * BACKUP_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html) + // + // * SERVICE_CONTROL_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html) // - // In the current release, the only type of policy that you can create is a - // service control policy (SCP). + // * TAG_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) // // Type is a required field Type *string `type:"string" required:"true" enum:"PolicyType"` @@ -15953,14 +15934,19 @@ func (s *DescribeCreateAccountStatusOutput) SetCreateAccountStatus(v *CreateAcco type DescribeEffectivePolicyInput struct { _ struct{} `type:"structure"` - // The type of policy that you want information about. + // The type of policy that you want information about. You can specify one of + // the following values: + // + // * BACKUP_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html) + // + // * TAG_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) // // PolicyType is a required field PolicyType *string `type:"string" required:"true" enum:"EffectivePolicyType"` // When you're signed in as the master account, specify the ID of the account - // that you want details about. Specifying an organization root or OU as the - // target is not supported. + // that you want details about. Specifying an organization root or organizational + // unit (OU) as the target is not supported. TargetId *string `type:"string"` } @@ -16461,7 +16447,14 @@ func (s DisableAWSServiceAccessOutput) GoString() string { type DisablePolicyTypeInput struct { _ struct{} `type:"structure"` - // The policy type that you want to disable in this root. + // The policy type that you want to disable in this root. You can specify one + // of the following values: + // + // * BACKUP_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html) + // + // * SERVICE_CONTROL_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html) + // + // * TAG_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) // // PolicyType is a required field PolicyType *string `type:"string" required:"true" enum:"PolicyType"` @@ -17031,7 +17024,14 @@ func (s *EnableAllFeaturesOutput) SetHandshake(v *Handshake) *EnableAllFeaturesO type EnablePolicyTypeInput struct { _ struct{} `type:"structure"` - // The policy type that you want to enable. + // The policy type that you want to enable. You can specify one of the following + // values: + // + // * BACKUP_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html) + // + // * SERVICE_CONTROL_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html) + // + // * TAG_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) // // PolicyType is a required field PolicyType *string `type:"string" required:"true" enum:"PolicyType"` @@ -17775,7 +17775,7 @@ func (s *InvalidHandshakeTransitionException) RequestID() string { // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -19192,7 +19192,14 @@ func (s *ListParentsOutput) SetParents(v []*Parent) *ListParentsOutput { type ListPoliciesForTargetInput struct { _ struct{} `type:"structure"` - // The type of policy that you want to include in the returned list. + // The type of policy that you want to include in the returned list. You must + // specify one of the following values: + // + // * BACKUP_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html) + // + // * SERVICE_CONTROL_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html) + // + // * TAG_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) // // Filter is a required field Filter *string `type:"string" required:"true" enum:"PolicyType"` @@ -19325,7 +19332,14 @@ func (s *ListPoliciesForTargetOutput) SetPolicies(v []*PolicySummary) *ListPolic type ListPoliciesInput struct { _ struct{} `type:"structure"` - // Specifies the type of policy that you want to include in the response. + // Specifies the type of policy that you want to include in the response. You + // must specify one of the following values: + // + // * BACKUP_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html) + // + // * SERVICE_CONTROL_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html) + // + // * TAG_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) // // Filter is a required field Filter *string `type:"string" required:"true" enum:"PolicyType"` @@ -20851,9 +20865,9 @@ func (s *PolicyTypeAlreadyEnabledException) RequestID() string { // You can't use the specified policy type with the feature set currently enabled // for this organization. For example, you can enable SCPs only after you enable -// all features in the organization. For more information, see Enabling and -// Disabling a Policy Type on a Root (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#enable_policies_on_root) -// in the AWS Organizations User Guide. +// all features in the organization. For more information, see Managing AWS +// Organizations Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#enable_policies_on_root)in +// the AWS Organizations User Guide. type PolicyTypeNotAvailableForOrganizationException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -21440,9 +21454,9 @@ type TagResourceInput struct { // ResourceId is a required field ResourceId *string `type:"string" required:"true"` - // The tag to add to the specified resource. Specifying the tag key is required. - // You can set the value of a tag to an empty string, but you can't set the - // value of a tag to null. + // The tag to add to the specified resource. You must specify both a tag key + // and value. You can set the value of a tag to an empty string, but you can't + // set it to null. // // Tags is a required field Tags []*Tag `type:"list" required:"true"` @@ -21566,12 +21580,12 @@ func (s *TargetNotFoundException) RequestID() string { return s.RespMetadata.RequestID } -// You have sent too many requests in too short a period of time. The limit +// You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // -// For information on limits that affect AWS Organizations, see Limits of AWS -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) -// in the AWS Organizations User Guide. +// For information about quotas that affect AWS Organizations, see Quotas for +// AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the AWS Organizations User Guide. type TooManyRequestsException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -21629,7 +21643,7 @@ func (s *TooManyRequestsException) RequestID() string { return s.RespMetadata.RequestID } -// This action isn't available in the current Region. +// This action isn't available in the current AWS Region. type UnsupportedAPIEndpointException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -22107,6 +22121,9 @@ const ( const ( // EffectivePolicyTypeTagPolicy is a EffectivePolicyType enum value EffectivePolicyTypeTagPolicy = "TAG_POLICY" + + // EffectivePolicyTypeBackupPolicy is a EffectivePolicyType enum value + EffectivePolicyTypeBackupPolicy = "BACKUP_POLICY" ) const ( @@ -22290,6 +22307,9 @@ const ( // PolicyTypeTagPolicy is a PolicyType enum value PolicyTypeTagPolicy = "TAG_POLICY" + + // PolicyTypeBackupPolicy is a PolicyType enum value + PolicyTypeBackupPolicy = "BACKUP_POLICY" ) const ( diff --git a/service/organizations/errors.go b/service/organizations/errors.go index ae36c7a5730..52cea61e083 100644 --- a/service/organizations/errors.go +++ b/service/organizations/errors.go @@ -91,10 +91,10 @@ const ( // an OU or root, inviting or creating too many accounts to the organization, // or attaching too many policies to an account, OU, or root. This exception // includes a reason that contains additional information about the violated - // limit. + // limit: // // Some of the reasons in the following list might not be applicable to this - // specific API or operation: + // specific API or operation. // // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master // account from the organization. You can't remove the master account. Instead, @@ -103,15 +103,15 @@ const ( // * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account // from the organization that doesn't yet have enough information to exist // as a standalone account. This account requires you to first agree to the - // AWS Customer Agreement. Follow the steps at To leave an organization when - // all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) - // in the AWS Organizations User Guide. + // AWS Customer Agreement. Follow the steps at Removing a member account + // from your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master)in + // the AWS Organizations User Guide. // // * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove // an account from the organization that doesn't yet have enough information // to exist as a standalone account. This account requires you to first complete - // phone verification. Follow the steps at To leave an organization when - // all required account information has not yet been provided (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) + // phone verification. Follow the steps at Removing a member account from + // your organization (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) // in the AWS Organizations User Guide. // // * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number @@ -124,9 +124,9 @@ const ( // tried to send would cause you to exceed the limit of accounts in your // organization. Send fewer invitations or contact AWS Support to request // an increase in the number of accounts. Deleted and closed accounts still - // count toward your limit. If you get receive this exception when running - // a command immediately after creating the organization, wait one hour and - // try again. If after an hour it continues to fail with this error, contact + // count toward your limit. If you get this exception when running a command + // immediately after creating the organization, wait one hour and try again. + // After an hour, if the command continues to fail with this error, contact // AWS Support (https://console.aws.amazon.com/support/home#/). // // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to @@ -166,7 +166,7 @@ const ( // license. For more information, contact customer support. // // * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you - // must first provide contact a valid address and phone number for the master + // must first provide a valid contact address and phone number for the master // account. Then try the operation again. // // * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the @@ -363,7 +363,7 @@ const ( // contains additional information about the violated limit: // // Some of the reasons in the following list might not be applicable to this - // specific API or operation: + // specific API or operation. // // * IMMUTABLE_POLICY: You specified a policy that is managed by AWS and // can't be modified. @@ -502,9 +502,9 @@ const ( // // You can't use the specified policy type with the feature set currently enabled // for this organization. For example, you can enable SCPs only after you enable - // all features in the organization. For more information, see Enabling and - // Disabling a Policy Type on a Root (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#enable_policies_on_root) - // in the AWS Organizations User Guide. + // all features in the organization. For more information, see Managing AWS + // Organizations Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#enable_policies_on_root)in + // the AWS Organizations User Guide. ErrCodePolicyTypeNotAvailableForOrganizationException = "PolicyTypeNotAvailableForOrganizationException" // ErrCodePolicyTypeNotEnabledException for service response error code @@ -545,18 +545,18 @@ const ( // ErrCodeTooManyRequestsException for service response error code // "TooManyRequestsException". // - // You have sent too many requests in too short a period of time. The limit + // You have sent too many requests in too short a period of time. The quota // helps protect against denial-of-service attacks. Try again later. // - // For information on limits that affect AWS Organizations, see Limits of AWS - // Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) - // in the AWS Organizations User Guide. + // For information about quotas that affect AWS Organizations, see Quotas for + // AWS Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in + // the AWS Organizations User Guide. ErrCodeTooManyRequestsException = "TooManyRequestsException" // ErrCodeUnsupportedAPIEndpointException for service response error code // "UnsupportedAPIEndpointException". // - // This action isn't available in the current Region. + // This action isn't available in the current AWS Region. ErrCodeUnsupportedAPIEndpointException = "UnsupportedAPIEndpointException" )