diff --git a/CHANGELOG.md b/CHANGELOG.md index f4e35ade01d..113ceac3b5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +Release v1.47.0 (2023-10-31) +=== + +### Service Client Updates +* `service/amplify`: Updates service API, documentation, and paginators +* `service/application-insights`: Updates service API and documentation +* `service/ec2`: Updates service API, documentation, and paginators + * Capacity Blocks for ML are a new EC2 purchasing option for reserving GPU instances on a future date to support short duration machine learning (ML) workloads. Capacity Blocks automatically place instances close together inside Amazon EC2 UltraClusters for low-latency, high-throughput networking. +* `service/m2`: Updates service API and documentation +* `service/neptunedata`: Updates service API and documentation +* `service/translate`: Updates service API and documentation + +### SDK Features +* `aws`: Bump minimum go version to 1.19. + * See https://aws.amazon.com/blogs/developer/aws-sdk-for-go-aligns-with-go-release-policy-on-supported-runtimes/. + Release v1.46.7 (2023-10-30) === diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md index d24b973d499..8a1927a39ca 100644 --- a/CHANGELOG_PENDING.md +++ b/CHANGELOG_PENDING.md @@ -1,6 +1,4 @@ ### SDK Features -* `aws`: Bump minimum go version to 1.19. - * See https://aws.amazon.com/blogs/developer/aws-sdk-for-go-aligns-with-go-release-policy-on-supported-runtimes/. ### SDK Enhancements diff --git a/aws/version.go b/aws/version.go index a516335df8e..9b97972dfd4 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.46.7" +const SDKVersion = "1.47.0" diff --git a/models/apis/amplify/2017-07-25/api-2.json b/models/apis/amplify/2017-07-25/api-2.json index 1df4574cb78..edd916e44ee 100644 --- a/models/apis/amplify/2017-07-25/api-2.json +++ b/models/apis/amplify/2017-07-25/api-2.json @@ -735,6 +735,12 @@ "max":1000, "pattern":"^$|^arn:aws:iam::\\d{12}:role.+" }, + "Backend":{ + "type":"structure", + "members":{ + "stackArn":{"shape":"StackArn"} + } + }, "BackendEnvironment":{ "type":"structure", "required":[ @@ -824,7 +830,8 @@ "pullRequestEnvironmentName":{"shape":"PullRequestEnvironmentName"}, "destinationBranch":{"shape":"BranchName"}, "sourceBranch":{"shape":"BranchName"}, - "backendEnvironmentArn":{"shape":"BackendEnvironmentArn"} + "backendEnvironmentArn":{"shape":"BackendEnvironmentArn"}, + "backend":{"shape":"Backend"} } }, "BranchArn":{ @@ -957,7 +964,8 @@ "displayName":{"shape":"DisplayName"}, "enablePullRequestPreview":{"shape":"EnablePullRequestPreview"}, "pullRequestEnvironmentName":{"shape":"PullRequestEnvironmentName"}, - "backendEnvironmentArn":{"shape":"BackendEnvironmentArn"} + "backendEnvironmentArn":{"shape":"BackendEnvironmentArn"}, + "backend":{"shape":"Backend"} } }, "CreateBranchResult":{ @@ -2010,6 +2018,12 @@ "max":3000, "pattern":"(?s).*" }, + "StackArn":{ + "type":"string", + "max":2048, + "min":20, + "pattern":"^arn:aws:cloudformation:[a-z0-9-]+:\\d{12}:stack/.+/.+$" + }, "StackName":{ "type":"string", "max":255, @@ -2370,7 +2384,8 @@ "displayName":{"shape":"DisplayName"}, "enablePullRequestPreview":{"shape":"EnablePullRequestPreview"}, "pullRequestEnvironmentName":{"shape":"PullRequestEnvironmentName"}, - "backendEnvironmentArn":{"shape":"BackendEnvironmentArn"} + "backendEnvironmentArn":{"shape":"BackendEnvironmentArn"}, + "backend":{"shape":"Backend"} } }, "UpdateBranchResult":{ diff --git a/models/apis/amplify/2017-07-25/docs-2.json b/models/apis/amplify/2017-07-25/docs-2.json index e962174e2e9..12830fc28ac 100644 --- a/models/apis/amplify/2017-07-25/docs-2.json +++ b/models/apis/amplify/2017-07-25/docs-2.json @@ -1,51 +1,51 @@ { "version": "2.0", - "service": "

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.

", + "service": "

Amplify enables developers to develop and deploy cloud-powered mobile and web apps. Amplify Hosting provides a continuous delivery and hosting service for web applications. For more information, see the Amplify Hosting 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.

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

", + "CreateDeployment": "

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

The maximum duration between the CreateDeployment call and the StartDeployment call cannot exceed 8 hours. If the duration exceeds 8 hours, the StartDeployment call and the associated Job will fail.

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

", + "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": "

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.

", + "DeleteWebhook": "

Deletes a webhook.

", + "GenerateAccessLogs": "

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

", + "GetApp": "

Returns an existing Amplify app specified by an app ID.

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

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

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

The maximum duration between the CreateDeployment call and the StartDeployment call cannot exceed 8 hours. If the duration exceeds 8 hours, the StartDeployment call and the associated Job will fail.

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

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

" + "UpdateWebhook": "

Updates a webhook.

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

The personal access token for a GitHub repository for an Amplify app. The personal access token is used to authorize access to a GitHub repository using the Amplify GitHub App. The token is not stored.

Use accessToken for GitHub repositories only. To authorize access to a repository provider such as Bitbucket or CodeCommit, use oauthToken.

You must specify either accessToken or oauthToken when you create a new app.

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .

", - "UpdateAppRequest$accessToken": "

The personal access token for a GitHub repository for an Amplify app. The personal access token is used to authorize access to a GitHub repository using the Amplify GitHub App. The token is not stored.

Use accessToken for GitHub repositories only. To authorize access to a repository provider such as Bitbucket or CodeCommit, use oauthToken.

You must specify either accessToken or oauthToken when you update an app.

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .

" + "CreateAppRequest$accessToken": "

The personal access token for a GitHub repository for an Amplify app. The personal access token is used to authorize access to a GitHub repository using the Amplify GitHub App. The token is not stored.

Use accessToken for GitHub repositories only. To authorize access to a repository provider such as Bitbucket or CodeCommit, use oauthToken.

You must specify either accessToken or oauthToken when you create a new app.

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .

", + "UpdateAppRequest$accessToken": "

The personal access token for a GitHub repository for an Amplify app. The personal access token is used to authorize access to a GitHub repository using the Amplify GitHub App. The token is not stored.

Use accessToken for GitHub repositories only. To authorize access to a repository provider such as Bitbucket or CodeCommit, use oauthToken.

You must specify either accessToken or oauthToken when you update an app.

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .

" } }, "ActiveJobId": { @@ -55,51 +55,51 @@ } }, "App": { - "base": "

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

", + "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": "

Represents the updated Amplify app.

" + "UpdateAppResult$app": "

Represents the updated Amplify app.

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

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

" + "App$appArn": "

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

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

The unique ID of the Amplify app.

", - "CreateBackendEnvironmentRequest$appId": "

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

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

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

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

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

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

" } @@ -107,11 +107,11 @@ "Apps": { "base": null, "refs": { - "ListAppsResult$apps": "

A list of Amplify apps.

" + "ListAppsResult$apps": "

A list of Amplify apps.

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

Describes an artifact.

", + "base": "

Describes an artifact.

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

The file name for the artifact.

" + "Artifact$artifactFileName": "

The file name for the artifact.

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

The unique ID for the artifact.

", - "GetArtifactUrlRequest$artifactId": "

The unique ID for an artifact.

", - "GetArtifactUrlResult$artifactId": "

The unique ID for an 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": "

The presigned URL for the artifact.

" + "GetArtifactUrlResult$artifactUrl": "

The presigned URL for the artifact.

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

A list of artifacts.

" + "ListArtifactsResult$artifacts": "

A list of artifacts.

" } }, "ArtifactsUrl": { @@ -161,11 +161,11 @@ } }, "AutoBranchCreationConfig": { - "base": "

Describes the automated branch creation configuration.

", + "base": "

Describes the automated branch creation configuration.

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

Describes the automated branch creation configuration for the Amplify app.

", - "CreateAppRequest$autoBranchCreationConfig": "

The automated branch creation configuration for an Amplify app.

", - "UpdateAppRequest$autoBranchCreationConfig": "

The automated branch creation configuration for an Amplify app.

" + "App$autoBranchCreationConfig": "

Describes the automated branch creation configuration for the Amplify app.

", + "CreateAppRequest$autoBranchCreationConfig": "

The automated branch creation configuration for an Amplify app.

", + "UpdateAppRequest$autoBranchCreationConfig": "

The automated branch creation configuration for an Amplify app.

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

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

", - "CreateAppRequest$autoBranchCreationPatterns": "

The automated branch creation glob patterns for an Amplify app.

", - "UpdateAppRequest$autoBranchCreationPatterns": "

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

" + "App$autoBranchCreationPatterns": "

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

", + "CreateAppRequest$autoBranchCreationPatterns": "

The automated branch creation glob patterns for an Amplify app.

", + "UpdateAppRequest$autoBranchCreationPatterns": "

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

" } }, "AutoSubDomainCreationPattern": { @@ -204,44 +204,52 @@ "UpdateDomainAssociationRequest$autoSubDomainIAMRole": "

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

" } }, + "Backend": { + "base": "

Describes the backend properties associated with an Amplify Branch.

", + "refs": { + "Branch$backend": null, + "CreateBranchRequest$backend": "

The backend for a Branch of an Amplify app. Use for a backend created from an CloudFormation stack.

", + "UpdateBranchRequest$backend": "

The backend for a Branch of an Amplify app. Use for a backend created from an CloudFormation stack.

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

Describes the backend environment for an Amplify app.

", + "base": "

Describes the backend environment for an Amplify app.

", "refs": { "BackendEnvironments$member": null, - "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.

" + "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": "

The Amazon Resource Name (ARN) for a backend environment that is 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.

" + "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": "

The list of backend environments for an Amplify app.

" + "ListBackendEnvironmentsResult$backendEnvironments": "

The list of backend environments for an Amplify app.

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

A request contains unexpected data.

", + "base": "

A request contains unexpected data.

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

The basic authorization credentials for branches for the Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.

", - "AutoBranchCreationConfig$basicAuthCredentials": "

The basic authorization credentials for the autocreated branch. You must base64-encode the authorization credentials and provide them in the format user:password.

", + "App$basicAuthCredentials": "

The basic authorization credentials for branches for the Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.

", + "AutoBranchCreationConfig$basicAuthCredentials": "

The basic authorization credentials for the autocreated branch. You must base64-encode the authorization credentials and provide them in the format user:password.

", "Branch$basicAuthCredentials": "

The basic authorization credentials for a branch of an Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.

", - "CreateAppRequest$basicAuthCredentials": "

The credentials for basic authorization for an Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.

", + "CreateAppRequest$basicAuthCredentials": "

The credentials for basic authorization for an Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.

", "CreateBranchRequest$basicAuthCredentials": "

The basic authorization credentials for the branch. You must base64-encode the authorization credentials and provide them in the format user:password.

", - "UpdateAppRequest$basicAuthCredentials": "

The basic authorization credentials for an Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.

", + "UpdateAppRequest$basicAuthCredentials": "

The basic authorization credentials for an Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.

", "UpdateBranchRequest$basicAuthCredentials": "

The basic authorization credentials for the branch. You must base64-encode the authorization credentials and provide them in the format user:password.

" } }, @@ -250,7 +258,7 @@ "refs": { "Branches$member": null, "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.

", + "DeleteBranchResult$branch": "

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

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

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

" } @@ -267,23 +275,23 @@ "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": "

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.

", + "CreateBranchRequest$branchName": "

The name for the branch.

", + "CreateDeploymentRequest$branchName": "

The name of the branch to use for the job.

", + "CreateWebhookRequest$branchName": "

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

", + "DeleteBranchRequest$branchName": "

The name of the branch.

", + "DeleteJobRequest$branchName": "

The name of the branch to use for the job.

", + "GetBranchRequest$branchName": "

The name of the branch.

", + "GetJobRequest$branchName": "

The name of the branch to use for the job.

", + "ListArtifactsRequest$branchName": "

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

", + "ListJobsRequest$branchName": "

The name of the branch to use for the request.

", + "ProductionBranch$branchName": "

The branch name for the production branch.

", + "StartDeploymentRequest$branchName": "

The name of the branch to use for the job.

", + "StartJobRequest$branchName": "

The name of the branch to use for the job.

", + "StopJobRequest$branchName": "

The name of the branch to use for the stop job request.

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

" + "UpdateBranchRequest$branchName": "

The name of 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": { @@ -293,14 +301,14 @@ } }, "BuildSpec": { - "base": "

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

", + "base": "

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

", "refs": { - "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.

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

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

", + "UpdateAppRequest$buildSpec": "

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

", "UpdateBranchRequest$buildSpec": "

The build specification (build spec) for the branch.

" } }, @@ -340,7 +348,7 @@ "Condition": { "base": null, "refs": { - "CustomRule$condition": "

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

" + "CustomRule$condition": "

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

" } }, "Context": { @@ -350,7 +358,7 @@ } }, "CreateAppRequest": { - "base": "

The request structure used to create apps in Amplify.

", + "base": "

The request structure used to create apps in Amplify.

", "refs": { } }, @@ -360,12 +368,12 @@ } }, "CreateBackendEnvironmentRequest": { - "base": "

The request structure for the backend environment create request.

", + "base": "

The request structure for the backend environment create request.

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

The result structure for the create backend environment request.

", + "base": "

The result structure for the create backend environment request.

", "refs": { } }, @@ -402,19 +410,19 @@ "CreateTime": { "base": null, "refs": { - "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.

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

" + "Webhook$createTime": "

The create date and time for a webhook.

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

The request structure for the create webhook request.

", + "base": "

The request structure for the create webhook request.

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

The result structure for the create webhook request.

", + "base": "

The result structure for the create webhook request.

", "refs": { } }, @@ -439,7 +447,7 @@ } }, "CustomRule": { - "base": "

Describes a custom rewrite or redirect rule.

", + "base": "

Describes a custom rewrite or redirect rule.

", "refs": { "CustomRules$member": null } @@ -447,9 +455,9 @@ "CustomRules": { "base": null, "refs": { - "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.

" + "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": { @@ -461,26 +469,26 @@ "DefaultDomain": { "base": null, "refs": { - "App$defaultDomain": "

The default domain for the Amplify app.

" + "App$defaultDomain": "

The default domain for the Amplify app.

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

Describes the request structure for the delete app request.

", + "base": "

Describes the request structure for the delete app request.

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

The result structure for the delete app request.

", + "base": "

The result structure for the delete app request.

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

The request structure for the delete backend environment request.

", + "base": "

The request structure for the delete backend environment request.

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

The result structure of the delete backend environment result.

", + "base": "

The result structure of the delete backend environment result.

", "refs": { } }, @@ -490,7 +498,7 @@ } }, "DeleteBranchResult": { - "base": "

The result structure for the delete branch request.

", + "base": "

The result structure for the delete branch request.

", "refs": { } }, @@ -515,39 +523,39 @@ } }, "DeleteWebhookRequest": { - "base": "

The request structure for the delete webhook request.

", + "base": "

The request structure for the delete webhook request.

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

The result structure for the delete webhook request.

", + "base": "

The result structure for the delete webhook request.

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

An operation failed because a dependent service threw an exception.

", + "base": "

An operation failed because a dependent service threw an exception.

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

The name of deployment artifacts.

", - "CreateBackendEnvironmentRequest$deploymentArtifacts": "

The name of deployment artifacts.

" + "BackendEnvironment$deploymentArtifacts": "

The name of deployment artifacts.

", + "CreateBackendEnvironmentRequest$deploymentArtifacts": "

The name of deployment artifacts.

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

The description for the Amplify app.

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

", + "CreateAppRequest$description": "

The description of the 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.

" + "UpdateWebhookRequest$description": "

The description for a webhook.

", + "Webhook$description": "

The description for a webhook.

" } }, "DisplayName": { @@ -586,7 +594,7 @@ "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.

", + "GenerateAccessLogsRequest$domainName": "

The name of the domain.

", "GetDomainAssociationRequest$domainName": "

The name of the domain.

", "UpdateDomainAssociationRequest$domainName": "

The name of the domain.

" } @@ -606,18 +614,18 @@ "EnableAutoBranchCreation": { "base": null, "refs": { - "App$enableAutoBranchCreation": "

Enables automated branch creation for the Amplify app.

", - "CreateAppRequest$enableAutoBranchCreation": "

Enables automated branch creation for an Amplify app.

", - "UpdateAppRequest$enableAutoBranchCreation": "

Enables automated branch creation for an Amplify app.

" + "App$enableAutoBranchCreation": "

Enables automated branch creation for the Amplify app.

", + "CreateAppRequest$enableAutoBranchCreation": "

Enables automated branch creation for an Amplify app.

", + "UpdateAppRequest$enableAutoBranchCreation": "

Enables automated branch creation for an Amplify app.

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

Enables auto building for the autocreated branch.

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

" } }, @@ -632,28 +640,28 @@ "EnableBasicAuth": { "base": null, "refs": { - "App$enableBasicAuth": "

Enables basic authorization for the Amplify app's branches.

", - "AutoBranchCreationConfig$enableBasicAuth": "

Enables basic authorization for the autocreated 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.

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

", + "UpdateAppRequest$enableBasicAuth": "

Enables basic authorization for an Amplify app.

", "UpdateBranchRequest$enableBasicAuth": "

Enables basic authorization for the branch.

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

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

", - "CreateAppRequest$enableBranchAutoBuild": "

Enables 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 disconnect 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.

" + "App$enableBranchAutoDeletion": "

Automatically disconnect 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": { @@ -676,7 +684,7 @@ "EnablePullRequestPreview": { "base": null, "refs": { - "AutoBranchCreationConfig$enablePullRequestPreview": "

Enables pull request previews for the autocreated branch.

", + "AutoBranchCreationConfig$enablePullRequestPreview": "

Enables pull request previews for the autocreated branch.

", "Branch$enablePullRequestPreview": "

Enables pull request previews for the branch.

", "CreateBranchRequest$enablePullRequestPreview": "

Enables pull request previews for this branch.

", "UpdateBranchRequest$enablePullRequestPreview": "

Enables pull request previews for this branch.

" @@ -685,7 +693,7 @@ "EndTime": { "base": null, "refs": { - "GenerateAccessLogsRequest$endTime": "

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

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

" } @@ -705,22 +713,22 @@ "EnvironmentName": { "base": null, "refs": { - "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

" + "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": "

The environment variables for the Amplify app.

", - "AutoBranchCreationConfig$environmentVariables": "

The environment variables for the autocreated branch.

", + "App$environmentVariables": "

The environment variables for the Amplify app.

For a list of the environment variables that are accessible to Amplify by default, see Amplify Environment variables in the Amplify Hosting User Guide.

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

", + "CreateAppRequest$environmentVariables": "

The environment variables map for an Amplify app.

For a list of the environment variables that are accessible to Amplify by default, see Amplify Environment variables in the Amplify Hosting User Guide.

", "CreateBranchRequest$environmentVariables": "

The environment variables for the branch.

", - "UpdateAppRequest$environmentVariables": "

The environment variables for an Amplify app.

", + "UpdateAppRequest$environmentVariables": "

The environment variables for an Amplify app.

", "UpdateBranchRequest$environmentVariables": "

The environment variables for the branch.

" } }, @@ -758,24 +766,24 @@ "Framework": { "base": null, "refs": { - "AutoBranchCreationConfig$framework": "

The framework for the autocreated 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": "

The request structure for the generate access logs request.

", + "base": "

The request structure for the generate access logs request.

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

The result structure for the generate access logs request.

", + "base": "

The result structure for the generate access logs request.

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

The request structure for the get app request.

", + "base": "

The request structure for the get app request.

", "refs": { } }, @@ -785,22 +793,22 @@ } }, "GetArtifactUrlRequest": { - "base": "

Returns the request structure for the get artifact request.

", + "base": "

Returns the request structure for the get artifact request.

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

Returns the result structure for the get artifact request.

", + "base": "

Returns the result structure for the get artifact request.

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

The request structure for the get backend environment request.

", + "base": "

The request structure for the get backend environment request.

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

The result structure for the get backend environment result.

", + "base": "

The result structure for the get backend environment result.

", "refs": { } }, @@ -825,7 +833,7 @@ } }, "GetJobRequest": { - "base": "

The request structure for the get job request.

", + "base": "

The request structure for the get job request.

", "refs": { } }, @@ -835,17 +843,17 @@ } }, "GetWebhookRequest": { - "base": "

The request structure for the get webhook request.

", + "base": "

The request structure for the get webhook request.

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

The result structure for the get webhook request.

", + "base": "

The result structure for the get webhook request.

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

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

", + "base": "

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

", "refs": { } }, @@ -866,18 +874,18 @@ "refs": { "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.

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

", + "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": "

A descriptive reason for starting this job.

" + "StartJobRequest$jobReason": "

A descriptive reason for starting the job.

" } }, "JobStatus": { @@ -890,7 +898,7 @@ "JobSummaries": { "base": null, "refs": { - "ListJobsResult$jobSummaries": "

The result structure for the list job result request.

" + "ListJobsResult$jobSummaries": "

The result structure for the list job result request.

" } }, "JobSummary": { @@ -899,7 +907,7 @@ "DeleteJobResult$jobSummary": null, "Job$summary": "

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

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

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

" } @@ -908,52 +916,52 @@ "base": null, "refs": { "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.

" + "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": "

The last deploy time of the production branch.

" + "ProductionBranch$lastDeployTime": "

The last deploy time of the production branch.

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

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

", + "base": "

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

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

The request structure for the list apps request.

", + "base": "

The request structure for the list apps request.

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

The result structure for an Amplify app list request.

", + "base": "

The result structure for an Amplify app list request.

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

Describes the request structure for the list artifacts request.

", + "base": "

Describes the request structure for the list artifacts request.

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

The result structure for the list artifacts request.

", + "base": "

The result structure for the list artifacts request.

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

The request structure for the list backend environments request.

", + "base": "

The request structure for the list backend environments request.

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

The result structure for the list backend environments result.

", + "base": "

The result structure for the list backend environments result.

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

The request structure for the list branches request.

", + "base": "

The request structure for the list branches request.

", "refs": { } }, @@ -978,34 +986,34 @@ } }, "ListJobsResult": { - "base": "

The 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": "

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

", + "base": "

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

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

The response for the list tags for resource request.

", + "base": "

The response for the list tags for resource request.

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

The request structure for the list webhooks request.

", + "base": "

The request structure for the list webhooks request.

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

The result structure for the list webhooks request.

", + "base": "

The result structure for the list webhooks request.

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

The pre-signed URL for the requested access logs.

", + "GenerateAccessLogsResult$logUrl": "

The pre-signed URL for the requested access logs.

", "Step$logUrl": "

The URL to the logs for the execution step.

" } }, @@ -1018,72 +1026,72 @@ "MaxResults": { "base": null, "refs": { - "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.

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

" + "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": "

The name for the Amplify app.

", - "CreateAppRequest$name": "

The name for an Amplify app.

", - "UpdateAppRequest$name": "

The name for an Amplify app.

" + "App$name": "

The name for the Amplify app.

", + "CreateAppRequest$name": "

The name of the Amplify app.

", + "UpdateAppRequest$name": "

The name for an Amplify app.

" } }, "NextToken": { "base": null, "refs": { - "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.

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

" + "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": "

An entity was not found during an operation.

", + "base": "

An entity was not found during an operation.

", "refs": { } }, "OauthToken": { "base": null, "refs": { - "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 using SSH cloning. The OAuth token is not stored.

Use oauthToken for repository providers other than GitHub, such as Bitbucket or CodeCommit. To authorize access to GitHub as your repository provider, use accessToken.

You must specify either oauthToken or accessToken when you create a new app.

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .

", - "UpdateAppRequest$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 using SSH cloning. The OAuth token is not stored.

Use oauthToken for repository providers other than GitHub, such as Bitbucket or CodeCommit.

To authorize access to GitHub as your repository provider, use accessToken.

You must specify either oauthToken or accessToken when you update an app.

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .

" + "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 using SSH cloning. The OAuth token is not stored.

Use oauthToken for repository providers other than GitHub, such as Bitbucket or CodeCommit. To authorize access to GitHub as your repository provider, use accessToken.

You must specify either oauthToken or accessToken when you create a new app.

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .

", + "UpdateAppRequest$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 using SSH cloning. The OAuth token is not stored.

Use oauthToken for repository providers other than GitHub, such as Bitbucket or CodeCommit.

To authorize access to GitHub as your repository provider, use accessToken.

You must specify either oauthToken or accessToken when you update an app.

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .

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

The platform for the Amplify app. For a static app, set the platform type to WEB. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC.

", - "CreateAppRequest$platform": "

The platform for the Amplify app. For a static app, set the platform type to WEB. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC.

", - "UpdateAppRequest$platform": "

The platform for the Amplify app. For a static app, set the platform type to WEB. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC.

" + "App$platform": "

The platform for the Amplify app. For a static app, set the platform type to WEB. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC.

", + "CreateAppRequest$platform": "

The platform for the Amplify app. For a static app, set the platform type to WEB. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC.

", + "UpdateAppRequest$platform": "

The platform for the Amplify app. For a static app, set the platform type to WEB. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC.

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

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

", + "base": "

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

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

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

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

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

" @@ -1092,9 +1100,9 @@ "Repository": { "base": null, "refs": { - "App$repository": "

The Git repository for the Amplify app.

", - "CreateAppRequest$repository": "

The repository for an Amplify app.

", - "UpdateAppRequest$repository": "

The name of the repository for an Amplify app

" + "App$repository": "

The Git repository for the Amplify app.

", + "CreateAppRequest$repository": "

The Git repository for the Amplify app.

", + "UpdateAppRequest$repository": "

The name of the Git repository for an Amplify app.

" } }, "RepositoryCloneMethod": { @@ -1106,13 +1114,13 @@ "ResourceArn": { "base": null, "refs": { - "ListTagsForResourceRequest$resourceArn": "

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

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

" + "UntagResourceRequest$resourceArn": "

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

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

An operation failed due to a non-existent resource.

", + "base": "

An operation failed due to a non-existent resource.

", "refs": { } }, @@ -1125,51 +1133,57 @@ "ServiceRoleArn": { "base": null, "refs": { - "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.

" + "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": { "base": null, "refs": { - "CustomRule$source": "

The source pattern for a URL rewrite or redirect rule.

" + "CustomRule$source": "

The source pattern for a URL rewrite or redirect rule.

" } }, "SourceUrl": { "base": null, "refs": { - "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.

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

" + } + }, + "StackArn": { + "base": null, + "refs": { + "Backend$stackArn": "

The Amazon Resource Name (ARN) for the CloudFormation stack.

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

The AWS CloudFormation stack name of a backend environment.

", - "CreateBackendEnvironmentRequest$stackName": "

The AWS CloudFormation stack name of a 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": "

Describes the current stage for the autocreated 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.

", + "CreateBranchRequest$stage": "

Describes the current stage for the branch.

", "UpdateBranchRequest$stage": "

Describes the current stage for the branch.

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

The request structure for the start a deployment request.

", + "base": "

The request structure for the start a deployment request.

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

The result structure for the start a deployment request.

", + "base": "

The result structure for the start a deployment request.

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

The request structure for the start job request.

", + "base": "

The request structure for the start job request.

", "refs": { } }, @@ -1181,7 +1195,7 @@ "StartTime": { "base": null, "refs": { - "GenerateAccessLogsRequest$startTime": "

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

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

" } @@ -1189,8 +1203,8 @@ "Status": { "base": null, "refs": { - "CustomRule$status": "

The status code for a URL rewrite or redirect rule.

200

Represents a 200 rewrite rule.

301

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

302

Represents a 302 temporary redirect rule.

404

Represents a 404 redirect rule.

404-200

Represents a 404 rewrite rule.

", - "ProductionBranch$status": "

The status of the production branch.

" + "CustomRule$status": "

The status code for a URL rewrite or redirect rule.

200

Represents a 200 rewrite rule.

301

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

302

Represents a 302 temporary redirect rule.

404

Represents a 404 redirect rule.

404-200

Represents a 404 rewrite rule.

", + "ProductionBranch$status": "

The status of the production branch.

" } }, "StatusReason": { @@ -1255,7 +1269,7 @@ } }, "TTL": { - "base": "

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

", + "base": "

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

", "refs": { "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.

", @@ -1272,27 +1286,27 @@ "TagKeyList": { "base": null, "refs": { - "UntagResourceRequest$tagKeys": "

The tag keys to use to untag a resource.

" + "UntagResourceRequest$tagKeys": "

The tag keys to use to untag a resource.

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

The tag for the Amplify app.

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

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

" + "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": "

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

", + "base": "

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

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

The response for the tag resource request.

", + "base": "

The response for the tag resource request.

", "refs": { } }, @@ -1305,7 +1319,7 @@ "Target": { "base": null, "refs": { - "CustomRule$target": "

The target pattern for a URL rewrite or redirect rule.

" + "CustomRule$target": "

The target pattern for a URL rewrite or redirect rule.

" } }, "TestArtifactsUrl": { @@ -1330,7 +1344,7 @@ "base": null, "refs": { "Branch$thumbnailUrl": "

The thumbnail URL for the branch of an Amplify app.

", - "ProductionBranch$thumbnailUrl": "

The thumbnail URL for the production branch.

", + "ProductionBranch$thumbnailUrl": "

The thumbnail URL for the production branch.

", "Screenshots$value": null } }, @@ -1341,32 +1355,32 @@ } }, "UnauthorizedException": { - "base": "

An operation failed due to a lack of access.

", + "base": "

An operation failed due to a lack of access.

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

The request structure for the untag resource request.

", + "base": "

The request structure for the untag resource request.

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

The response for the untag resource request.

", + "base": "

The response for the untag resource request.

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

The request structure for the update app request.

", + "base": "

The request structure for the update app request.

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

The result structure for an Amplify app update request.

", + "base": "

The result structure for an Amplify app update request.

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

The request structure for the update branch request.

", + "base": "

The request structure for the update branch request.

", "refs": { } }, @@ -1388,19 +1402,19 @@ "UpdateTime": { "base": null, "refs": { - "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.

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

" + "Webhook$updateTime": "

Updates the date and time for a webhook.

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

The request structure for the update webhook request.

", + "base": "

The request structure for the update webhook request.

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

The result structure for the update webhook request.

", + "base": "

The result structure for the update webhook request.

", "refs": { } }, @@ -1418,40 +1432,40 @@ } }, "Webhook": { - "base": "

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

", + "base": "

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

", "refs": { - "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.

", + "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": "

The Amazon Resource Name (ARN) for the webhook.

" + "Webhook$webhookArn": "

The Amazon Resource Name (ARN) for the webhook.

" } }, "WebhookId": { "base": null, "refs": { - "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.

" + "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": "

The URL of the webhook.

" + "Webhook$webhookUrl": "

The URL of the webhook.

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

A list of webhooks.

" + "ListWebhooksResult$webhooks": "

A list of webhooks.

" } } } diff --git a/models/apis/amplify/2017-07-25/endpoint-rule-set-1.json b/models/apis/amplify/2017-07-25/endpoint-rule-set-1.json index e682b46ce07..463470aebb2 100644 --- a/models/apis/amplify/2017-07-25/endpoint-rule-set-1.json +++ b/models/apis/amplify/2017-07-25/endpoint-rule-set-1.json @@ -32,38 +32,83 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "isSet", "argv": [ { - "ref": "Region" + "ref": "Endpoint" } - ], - "assign": "PartitionResult" + ] } ], - "type": "tree", "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "booleanEquals", "argv": [ { - "ref": "Endpoint" - } + "ref": "UseFIPS" + }, + true ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "isSet", + "argv": [ { - "fn": "parseURL", + "ref": "Region" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", "argv": [ { - "ref": "Endpoint" + "ref": "Region" } ], - "assign": "url" + "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -75,158 +120,103 @@ }, true ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } ] } ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://amplify-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" }, { "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" } - ] - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] + ], + "type": "tree" }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } + "ref": "UseFIPS" + }, + true ] } ], - "type": "tree", "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://amplify-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] }, - "supportsFIPS" + true ] } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", + ], "rules": [ { "conditions": [], @@ -237,79 +227,88 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" } - ] + ], + "type": "tree" }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } + "ref": "UseDualStack" + }, + true ] } ], - "type": "tree", "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://amplify.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + }, { "conditions": [], - "endpoint": { - "url": "https://amplify.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" + "endpoint": { + "url": "https://amplify.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] - }, - { - "conditions": [], - "endpoint": { - "url": "https://amplify.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + ], + "type": "tree" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/models/apis/amplify/2017-07-25/endpoint-tests-1.json b/models/apis/amplify/2017-07-25/endpoint-tests-1.json index 5511080471e..4e703f6268d 100644 --- a/models/apis/amplify/2017-07-25/endpoint-tests-1.json +++ b/models/apis/amplify/2017-07-25/endpoint-tests-1.json @@ -1,42 +1,42 @@ { "testCases": [ { - "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://amplify-fips.ap-south-1.api.aws" + "url": "https://amplify.ap-east-1.amazonaws.com" } }, "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-south-1" + "Region": "ap-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://amplify-fips.ap-south-1.amazonaws.com" + "url": "https://amplify.ap-northeast-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-south-1" + "Region": "ap-northeast-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://amplify.ap-south-1.api.aws" + "url": "https://amplify.ap-northeast-2.amazonaws.com" } }, "params": { - "UseDualStack": true, + "Region": "ap-northeast-2", "UseFIPS": false, - "Region": "ap-south-1" + "UseDualStack": false } }, { @@ -47,100 +47,35 @@ } }, "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-south-1" - } - }, - { - "documentation": "For region eu-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.eu-south-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-south-1" - } - }, - { - "documentation": "For region eu-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.eu-south-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-south-1" - } - }, - { - "documentation": "For region eu-south-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://amplify.eu-south-1.api.aws" - } - }, - "params": { - "UseDualStack": true, + "Region": "ap-south-1", "UseFIPS": false, - "Region": "eu-south-1" + "UseDualStack": false } }, { - "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://amplify.eu-south-1.amazonaws.com" + "url": "https://amplify.ap-southeast-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "ap-southeast-1", "UseFIPS": false, - "Region": "eu-south-1" - } - }, - { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.ca-central-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ca-central-1" - } - }, - { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.ca-central-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "ca-central-1" + "UseDualStack": false } }, { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://amplify.ca-central-1.api.aws" + "url": "https://amplify.ap-southeast-2.amazonaws.com" } }, "params": { - "UseDualStack": true, + "Region": "ap-southeast-2", "UseFIPS": false, - "Region": "ca-central-1" + "UseDualStack": false } }, { @@ -151,48 +86,9 @@ } }, "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "ca-central-1" - } - }, - { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.eu-central-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-central-1" - } - }, - { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.eu-central-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-central-1" - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://amplify.eu-central-1.api.aws" - } - }, - "params": { - "UseDualStack": true, + "Region": "ca-central-1", "UseFIPS": false, - "Region": "eu-central-1" + "UseDualStack": false } }, { @@ -203,152 +99,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "eu-central-1", "UseFIPS": false, - "Region": "eu-central-1" - } - }, - { - "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.us-west-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-west-1" - } - }, - { - "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.us-west-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-west-1" - } - }, - { - "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://amplify.us-west-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-west-1" - } - }, - { - "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://amplify.us-west-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "us-west-1" - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.us-west-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-west-2" - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.us-west-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-west-2" - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://amplify.us-west-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-west-2" - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://amplify.us-west-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "us-west-2" - } - }, - { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.eu-north-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-north-1" - } - }, - { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.eu-north-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-north-1" - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://amplify.eu-north-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-north-1" + "UseDualStack": false } }, { @@ -359,100 +112,35 @@ } }, "params": { - "UseDualStack": false, + "Region": "eu-north-1", "UseFIPS": false, - "Region": "eu-north-1" + "UseDualStack": false } }, { - "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.eu-west-3.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-west-3" - } - }, - { - "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.eu-west-3.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-west-3" - } - }, - { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://amplify.eu-west-3.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-west-3" - } - }, - { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://amplify.eu-west-3.amazonaws.com" + "url": "https://amplify.eu-south-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "eu-south-1", "UseFIPS": false, - "Region": "eu-west-3" - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.eu-west-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-west-2" - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.eu-west-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-west-2" + "UseDualStack": false } }, { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://amplify.eu-west-2.api.aws" + "url": "https://amplify.eu-west-1.amazonaws.com" } }, "params": { - "UseDualStack": true, + "Region": "eu-west-1", "UseFIPS": false, - "Region": "eu-west-2" + "UseDualStack": false } }, { @@ -463,542 +151,365 @@ } }, "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-2" - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.eu-west-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-west-1" - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.eu-west-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-west-1" - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://amplify.eu-west-1.api.aws" - } - }, - "params": { - "UseDualStack": true, + "Region": "eu-west-2", "UseFIPS": false, - "Region": "eu-west-1" + "UseDualStack": false } }, { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://amplify.eu-west-1.amazonaws.com" + "url": "https://amplify.eu-west-3.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "eu-west-3", "UseFIPS": false, - "Region": "eu-west-1" - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.ap-northeast-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-northeast-2" - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-northeast-2" + "UseDualStack": false } }, { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://amplify.ap-northeast-2.api.aws" + "url": "https://amplify.me-south-1.amazonaws.com" } }, "params": { - "UseDualStack": true, + "Region": "me-south-1", "UseFIPS": false, - "Region": "ap-northeast-2" + "UseDualStack": false } }, { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://amplify.ap-northeast-2.amazonaws.com" + "url": "https://amplify.sa-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "sa-east-1", "UseFIPS": false, - "Region": "ap-northeast-2" - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.ap-northeast-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-northeast-1" + "UseDualStack": false } }, { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-northeast-1" - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://amplify.ap-northeast-1.api.aws" + "url": "https://amplify.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": false, - "Region": "ap-northeast-1" + "UseDualStack": false } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://amplify.ap-northeast-1.amazonaws.com" + "url": "https://amplify.us-east-2.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-2", "UseFIPS": false, - "Region": "ap-northeast-1" - } - }, - { - "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.me-south-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "me-south-1" + "UseDualStack": false } }, { - "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.me-south-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "me-south-1" - } - }, - { - "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://amplify.me-south-1.api.aws" + "url": "https://amplify.us-west-1.amazonaws.com" } }, "params": { - "UseDualStack": true, + "Region": "us-west-1", "UseFIPS": false, - "Region": "me-south-1" + "UseDualStack": false } }, { - "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://amplify.me-south-1.amazonaws.com" + "url": "https://amplify.us-west-2.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-west-2", "UseFIPS": false, - "Region": "me-south-1" + "UseDualStack": false } }, { - "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://amplify-fips.sa-east-1.api.aws" + "url": "https://amplify-fips.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": true, - "Region": "sa-east-1" + "UseDualStack": true } }, { - "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://amplify-fips.sa-east-1.amazonaws.com" + "url": "https://amplify-fips.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": true, - "Region": "sa-east-1" - } - }, - { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://amplify.sa-east-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "sa-east-1" + "UseDualStack": false } }, { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://amplify.sa-east-1.amazonaws.com" + "url": "https://amplify.us-east-1.api.aws" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": false, - "Region": "sa-east-1" + "UseDualStack": true } }, { - "documentation": "For region ap-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://amplify-fips.ap-east-1.api.aws" + "url": "https://amplify-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "ap-east-1" + "UseDualStack": true } }, { - "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://amplify-fips.ap-east-1.amazonaws.com" + "url": "https://amplify-fips.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "ap-east-1" + "UseDualStack": false } }, { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://amplify.ap-east-1.api.aws" + "url": "https://amplify.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "ap-east-1" + "UseDualStack": true } }, { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://amplify.ap-east-1.amazonaws.com" + "url": "https://amplify.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "ap-east-1" + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://amplify-fips.ap-southeast-1.api.aws" + "url": "https://amplify-fips.us-gov-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "ap-southeast-1" + "UseDualStack": true } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://amplify-fips.ap-southeast-1.amazonaws.com" + "url": "https://amplify-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "ap-southeast-1" + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://amplify.ap-southeast-1.api.aws" + "url": "https://amplify.us-gov-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "ap-southeast-1" + "UseDualStack": true } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://amplify.ap-southeast-1.amazonaws.com" + "url": "https://amplify.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "ap-southeast-1" + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://amplify-fips.ap-southeast-2.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "ap-southeast-2" + "UseDualStack": true } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://amplify-fips.ap-southeast-2.amazonaws.com" + "url": "https://amplify-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "ap-southeast-2" + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://amplify.ap-southeast-2.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "ap-southeast-2" + "UseDualStack": true } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://amplify.ap-southeast-2.amazonaws.com" + "url": "https://amplify.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "ap-southeast-2" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://amplify-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://amplify-fips.us-east-1.amazonaws.com" + "url": "https://amplify-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://amplify.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://amplify.us-east-1.amazonaws.com" + "url": "https://amplify.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-east-1" - } - }, - { - "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://amplify-fips.us-east-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-east-2" + "UseDualStack": false } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { - "url": "https://amplify-fips.us-east-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-2" - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://amplify.us-east-2.api.aws" + "url": "https://example.com" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-east-2" - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://amplify.us-east-2.amazonaws.com" - } - }, - "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "us-east-2" + "Endpoint": "https://example.com" } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1008,9 +519,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1020,11 +531,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/models/apis/amplify/2017-07-25/paginators-1.json b/models/apis/amplify/2017-07-25/paginators-1.json index 5677bd8e4a2..7f1497dc99e 100644 --- a/models/apis/amplify/2017-07-25/paginators-1.json +++ b/models/apis/amplify/2017-07-25/paginators-1.json @@ -1,4 +1,28 @@ { "pagination": { + "ListApps": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "apps" + }, + "ListBranches": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "branches" + }, + "ListDomainAssociations": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "domainAssociations" + }, + "ListJobs": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "jobSummaries" + } } } diff --git a/models/apis/application-insights/2018-11-25/api-2.json b/models/apis/application-insights/2018-11-25/api-2.json index ad42e5f795e..7cfa11f85d0 100644 --- a/models/apis/application-insights/2018-11-25/api-2.json +++ b/models/apis/application-insights/2018-11-25/api-2.json @@ -437,7 +437,8 @@ "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"}, - {"shape":"InternalServerException"} + {"shape":"InternalServerException"}, + {"shape":"ResourceInUseException"} ] }, "UpdateLogPattern":{ @@ -552,13 +553,15 @@ "CWEMonitorEnabled":{"shape":"CWEMonitorEnabled"}, "Remarks":{"shape":"Remarks"}, "AutoConfigEnabled":{"shape":"AutoConfigEnabled"}, - "DiscoveryType":{"shape":"DiscoveryType"} + "DiscoveryType":{"shape":"DiscoveryType"}, + "AttachMissingPermission":{"shape":"AttachMissingPermission"} } }, "ApplicationInfoList":{ "type":"list", "member":{"shape":"ApplicationInfo"} }, + "AttachMissingPermission":{"type":"boolean"}, "AutoConfigEnabled":{"type":"boolean"}, "AutoCreate":{"type":"boolean"}, "BadRequestException":{ @@ -645,7 +648,8 @@ "Tags":{"shape":"TagList"}, "AutoConfigEnabled":{"shape":"AutoConfigEnabled"}, "AutoCreate":{"shape":"AutoCreate"}, - "GroupingType":{"shape":"GroupingType"} + "GroupingType":{"shape":"GroupingType"}, + "AttachMissingPermission":{"shape":"AttachMissingPermission"} } }, "CreateApplicationResponse":{ @@ -773,6 +777,7 @@ "ResourceGroupName":{"shape":"ResourceGroupName"}, "ComponentName":{"shape":"ComponentName"}, "Tier":{"shape":"Tier"}, + "WorkloadName":{"shape":"WorkloadName"}, "RecommendationType":{"shape":"RecommendationType"} } }, @@ -1506,7 +1511,8 @@ "CWEMonitorEnabled":{"shape":"CWEMonitorEnabled"}, "OpsItemSNSTopicArn":{"shape":"OpsItemSNSTopicArn"}, "RemoveSNSTopic":{"shape":"RemoveSNSTopic"}, - "AutoConfigEnabled":{"shape":"AutoConfigEnabled"} + "AutoConfigEnabled":{"shape":"AutoConfigEnabled"}, + "AttachMissingPermission":{"shape":"AttachMissingPermission"} } }, "UpdateApplicationResponse":{ diff --git a/models/apis/application-insights/2018-11-25/docs-2.json b/models/apis/application-insights/2018-11-25/docs-2.json index 6676b743284..5378b391c4d 100644 --- a/models/apis/application-insights/2018-11-25/docs-2.json +++ b/models/apis/application-insights/2018-11-25/docs-2.json @@ -122,6 +122,14 @@ "ListApplicationsResponse$ApplicationInfoList": "

The list of applications.

" } }, + "AttachMissingPermission": { + "base": null, + "refs": { + "ApplicationInfo$AttachMissingPermission": "

If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.

", + "CreateApplicationRequest$AttachMissingPermission": "

If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.

", + "UpdateApplicationRequest$AttachMissingPermission": "

If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.

" + } + }, "AutoConfigEnabled": { "base": null, "refs": { @@ -1276,6 +1284,7 @@ "WorkloadName": { "base": null, "refs": { + "DescribeComponentConfigurationRecommendationRequest$WorkloadName": "

The name of the workload.

", "Workload$WorkloadName": "

The name of the workload.

", "WorkloadConfiguration$WorkloadName": "

The name of the workload.

" } diff --git a/models/apis/application-insights/2018-11-25/endpoint-rule-set-1.json b/models/apis/application-insights/2018-11-25/endpoint-rule-set-1.json index 5aa99ae02e8..bd11232ea19 100644 --- a/models/apis/application-insights/2018-11-25/endpoint-rule-set-1.json +++ b/models/apis/application-insights/2018-11-25/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -58,293 +57,258 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, { - "conditions": [], - "type": "tree", + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://applicationinsights-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://applicationinsights-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] }, true ] } ], - "type": "tree", "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://applicationinsights-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://applicationinsights-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://applicationinsights.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], - "type": "tree", + ], "rules": [ { "conditions": [], "endpoint": { - "url": "https://applicationinsights.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://applicationinsights.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "endpoint": { + "url": "https://applicationinsights.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" + ], + "type": "tree" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index 71600864378..724f59aee34 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -2019,6 +2019,15 @@ "input":{"shape":"DescribeByoipCidrsRequest"}, "output":{"shape":"DescribeByoipCidrsResult"} }, + "DescribeCapacityBlockOfferings":{ + "name":"DescribeCapacityBlockOfferings", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeCapacityBlockOfferingsRequest"}, + "output":{"shape":"DescribeCapacityBlockOfferingsResult"} + }, "DescribeCapacityReservationFleets":{ "name":"DescribeCapacityReservationFleets", "http":{ @@ -4819,6 +4828,15 @@ "input":{"shape":"ProvisionPublicIpv4PoolCidrRequest"}, "output":{"shape":"ProvisionPublicIpv4PoolCidrResult"} }, + "PurchaseCapacityBlock":{ + "name":"PurchaseCapacityBlock", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"PurchaseCapacityBlockRequest"}, + "output":{"shape":"PurchaseCapacityBlockResult"} + }, "PurchaseHostReservation":{ "name":"PurchaseHostReservation", "http":{ @@ -8339,6 +8357,58 @@ "locationName":"item" } }, + "CapacityBlockOffering":{ + "type":"structure", + "members":{ + "CapacityBlockOfferingId":{ + "shape":"OfferingId", + "locationName":"capacityBlockOfferingId" + }, + "InstanceType":{ + "shape":"String", + "locationName":"instanceType" + }, + "AvailabilityZone":{ + "shape":"String", + "locationName":"availabilityZone" + }, + "InstanceCount":{ + "shape":"Integer", + "locationName":"instanceCount" + }, + "StartDate":{ + "shape":"MillisecondDateTime", + "locationName":"startDate" + }, + "EndDate":{ + "shape":"MillisecondDateTime", + "locationName":"endDate" + }, + "CapacityBlockDurationHours":{ + "shape":"Integer", + "locationName":"capacityBlockDurationHours" + }, + "UpfrontFee":{ + "shape":"String", + "locationName":"upfrontFee" + }, + "CurrencyCode":{ + "shape":"String", + "locationName":"currencyCode" + }, + "Tenancy":{ + "shape":"CapacityReservationTenancy", + "locationName":"tenancy" + } + } + }, + "CapacityBlockOfferingSet":{ + "type":"list", + "member":{ + "shape":"CapacityBlockOffering", + "locationName":"item" + } + }, "CapacityReservation":{ "type":"structure", "members":{ @@ -8433,6 +8503,10 @@ "CapacityAllocations":{ "shape":"CapacityAllocations", "locationName":"capacityAllocationSet" + }, + "ReservationType":{ + "shape":"CapacityReservationType", + "locationName":"reservationType" } } }, @@ -8649,7 +8723,10 @@ "expired", "cancelled", "pending", - "failed" + "failed", + "scheduled", + "payment-pending", + "payment-failed" ] }, "CapacityReservationTarget":{ @@ -8679,6 +8756,13 @@ "dedicated" ] }, + "CapacityReservationType":{ + "type":"string", + "enum":[ + "default", + "capacity-block" + ] + }, "CarrierGateway":{ "type":"structure", "members":{ @@ -12642,7 +12726,8 @@ "type":"string", "enum":[ "spot", - "on-demand" + "on-demand", + "capacity-block" ] }, "DefaultingDhcpOptionsId":{"type":"string"}, @@ -14452,6 +14537,42 @@ } } }, + "DescribeCapacityBlockOfferingsMaxResults":{ + "type":"integer", + "max":1000, + "min":1 + }, + "DescribeCapacityBlockOfferingsRequest":{ + "type":"structure", + "required":[ + "InstanceType", + "InstanceCount", + "CapacityDurationHours" + ], + "members":{ + "DryRun":{"shape":"Boolean"}, + "InstanceType":{"shape":"String"}, + "InstanceCount":{"shape":"Integer"}, + "StartDateRange":{"shape":"MillisecondDateTime"}, + "EndDateRange":{"shape":"MillisecondDateTime"}, + "CapacityDurationHours":{"shape":"Integer"}, + "NextToken":{"shape":"String"}, + "MaxResults":{"shape":"DescribeCapacityBlockOfferingsMaxResults"} + } + }, + "DescribeCapacityBlockOfferingsResult":{ + "type":"structure", + "members":{ + "CapacityBlockOfferings":{ + "shape":"CapacityBlockOfferingSet", + "locationName":"capacityBlockOfferingSet" + }, + "NextToken":{ + "shape":"String", + "locationName":"nextToken" + } + } + }, "DescribeCapacityReservationFleetsMaxResults":{ "type":"integer", "max":100, @@ -26101,7 +26222,8 @@ "type":"string", "enum":[ "spot", - "scheduled" + "scheduled", + "capacity-block" ] }, "InstanceList":{ @@ -30875,7 +30997,10 @@ }, "MarketType":{ "type":"string", - "enum":["spot"] + "enum":[ + "spot", + "capacity-block" + ] }, "MaxIpv4AddrPerInterface":{"type":"integer"}, "MaxIpv6AddrPerInterface":{"type":"integer"}, @@ -35463,6 +35588,31 @@ } } }, + "PurchaseCapacityBlockRequest":{ + "type":"structure", + "required":[ + "CapacityBlockOfferingId", + "InstancePlatform" + ], + "members":{ + "DryRun":{"shape":"Boolean"}, + "TagSpecifications":{ + "shape":"TagSpecificationList", + "locationName":"TagSpecification" + }, + "CapacityBlockOfferingId":{"shape":"OfferingId"}, + "InstancePlatform":{"shape":"CapacityReservationInstancePlatform"} + } + }, + "PurchaseCapacityBlockResult":{ + "type":"structure", + "members":{ + "CapacityReservation":{ + "shape":"CapacityReservation", + "locationName":"capacityReservation" + } + } + }, "PurchaseHostReservationRequest":{ "type":"structure", "required":[ @@ -43405,7 +43555,8 @@ "type":"string", "enum":[ "spot", - "on-demand" + "on-demand", + "capacity-block" ] }, "UsageClassTypeList":{ diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index 12ad9940450..67d7d08ca23 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -228,6 +228,7 @@ "DescribeAwsNetworkPerformanceMetricSubscriptions": "

Describes the current Infrastructure Performance metric subscriptions.

", "DescribeBundleTasks": "

Describes the specified bundle tasks or all of your bundle tasks.

Completed bundle tasks are listed for only a limited time. If your bundle task is no longer in the list, you can still register an AMI from it. Just use RegisterImage with the Amazon S3 bucket name and image manifest name you provided to the bundle task.

", "DescribeByoipCidrs": "

Describes the IP address ranges that were specified in calls to ProvisionByoipCidr.

To describe the address pools that were created when you provisioned the address ranges, use DescribePublicIpv4Pools or DescribeIpv6Pools.

", + "DescribeCapacityBlockOfferings": "

Describes Capacity Block offerings available for purchase. With Capacity Blocks, you purchase a specific instance type for a period of time.

", "DescribeCapacityReservationFleets": "

Describes one or more Capacity Reservation Fleets.

", "DescribeCapacityReservations": "

Describes one or more of your Capacity Reservations. The results describe only the Capacity Reservations in the Amazon Web Services Region that you're currently using.

", "DescribeCarrierGateways": "

Describes one or more of your carrier gateways.

", @@ -541,6 +542,7 @@ "ProvisionByoipCidr": "

Provisions an IPv4 or IPv6 address range for use with your Amazon Web Services resources through bring your own IP addresses (BYOIP) and creates a corresponding address pool. After the address range is provisioned, it is ready to be advertised using AdvertiseByoipCidr.

Amazon Web Services verifies that you own the address range and are authorized to advertise it. You must ensure that the address range is registered to you and that you created an RPKI ROA to authorize Amazon ASNs 16509 and 14618 to advertise the address range. For more information, see Bring your own IP addresses (BYOIP) in the Amazon Elastic Compute Cloud User Guide.

Provisioning an address range is an asynchronous operation, so the call returns immediately, but the address range is not ready to use until its status changes from pending-provision to provisioned. To monitor the status of an address range, use DescribeByoipCidrs. To allocate an Elastic IP address from your IPv4 address pool, use AllocateAddress with either the specific address from the address pool or the ID of the address pool.

", "ProvisionIpamPoolCidr": "

Provision a CIDR to an IPAM pool. You can use this action to provision new CIDRs to a top-level pool or to transfer a CIDR from a top-level pool to a pool within it.

For more information, see Provision CIDRs to pools in the Amazon VPC IPAM User Guide.

", "ProvisionPublicIpv4PoolCidr": "

Provision a CIDR to a public IPv4 pool.

For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.

", + "PurchaseCapacityBlock": "

Purchase the Capacity Block for use with your account. With Capacity Blocks you ensure GPU capacity is available for machine learning (ML) workloads. You must specify the ID of the Capacity Block offering you are purchasing.

", "PurchaseHostReservation": "

Purchase a reservation with configurations that match those of your Dedicated Host. You must have active Dedicated Hosts in your account before you purchase a reservation. This action results in the specified reservation being purchased and charged to your account.

", "PurchaseReservedInstancesOffering": "

Purchases a Reserved Instance for use with your account. With Reserved Instances, you pay a lower hourly rate compared to On-Demand instance pricing.

Use DescribeReservedInstancesOfferings to get a list of Reserved Instance offerings that match your specifications. After you've purchased a Reserved Instance, you can check for your new Reserved Instance with DescribeReservedInstances.

To queue a purchase for a future date and time, specify a purchase time. If you do not specify a purchase time, the default is the current time.

For more information, see Reserved Instances and Reserved Instance Marketplace in the Amazon EC2 User Guide.

", "PurchaseScheduledInstances": "

You can no longer purchase Scheduled Instances.

Purchases the Scheduled Instances with the specified schedule.

Scheduled Instances enable you to purchase Amazon EC2 compute capacity by the hour for a one-year term. Before you can purchase a Scheduled Instance, you must call DescribeScheduledInstanceAvailability to check for available schedules and obtain a purchase token. After you purchase a Scheduled Instance, you must call RunScheduledInstances during each scheduled time period.

After you purchase a Scheduled Instance, you can't cancel, modify, or resell your purchase.

", @@ -2180,6 +2182,7 @@ "DescribeAwsNetworkPerformanceMetricSubscriptionsRequest$DryRun": "

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

", "DescribeBundleTasksRequest$DryRun": "

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

", "DescribeByoipCidrsRequest$DryRun": "

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

", + "DescribeCapacityBlockOfferingsRequest$DryRun": "

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

", "DescribeCapacityReservationFleetsRequest$DryRun": "

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

", "DescribeCapacityReservationsRequest$DryRun": "

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

", "DescribeCarrierGatewaysRequest$DryRun": "

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

", @@ -2653,6 +2656,7 @@ "ProvisionByoipCidrRequest$MultiRegion": "

Reserved.

", "ProvisionIpamPoolCidrRequest$DryRun": "

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

", "ProvisionPublicIpv4PoolCidrRequest$DryRun": "

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

", + "PurchaseCapacityBlockRequest$DryRun": "

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

", "PurchaseReservedInstancesOfferingRequest$DryRun": "

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

", "PurchaseScheduledInstancesRequest$DryRun": "

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

", "RebootInstancesRequest$DryRun": "

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

", @@ -3105,11 +3109,24 @@ "CapacityReservation$CapacityAllocations": "

Information about instance capacity usage.

" } }, + "CapacityBlockOffering": { + "base": "

The recommended Capacity Block that fits your search requirements.

", + "refs": { + "CapacityBlockOfferingSet$member": null + } + }, + "CapacityBlockOfferingSet": { + "base": null, + "refs": { + "DescribeCapacityBlockOfferingsResult$CapacityBlockOfferings": "

The recommended Capacity Block offering for the dates specified.

" + } + }, "CapacityReservation": { "base": "

Describes a Capacity Reservation.

", "refs": { "CapacityReservationSet$member": null, - "CreateCapacityReservationResult$CapacityReservation": "

Information about the Capacity Reservation.

" + "CreateCapacityReservationResult$CapacityReservation": "

Information about the Capacity Reservation.

", + "PurchaseCapacityBlockResult$CapacityReservation": "

The Capacity Reservation.

" } }, "CapacityReservationFleet": { @@ -3199,6 +3216,7 @@ "CapacityReservation$InstancePlatform": "

The type of operating system for which the Capacity Reservation reserves capacity.

", "CreateCapacityReservationRequest$InstancePlatform": "

The type of operating system for which to reserve capacity.

", "FleetCapacityReservation$InstancePlatform": "

The type of operating system for which the Capacity Reservation reserves capacity.

", + "PurchaseCapacityBlockRequest$InstancePlatform": "

The type of operating system for which to reserve capacity.

", "ReservationFleetInstanceSpecification$InstancePlatform": "

The type of operating system for which the Capacity Reservation Fleet reserves capacity.

" } }, @@ -3266,10 +3284,17 @@ "CapacityReservationTenancy": { "base": null, "refs": { + "CapacityBlockOffering$Tenancy": "

The tenancy of the Capacity Block.

", "CapacityReservation$Tenancy": "

Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings:

", "CreateCapacityReservationRequest$Tenancy": "

Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings:

" } }, + "CapacityReservationType": { + "base": null, + "refs": { + "CapacityReservation$ReservationType": "

The type of Capacity Reservation.

" + } + }, "CarrierGateway": { "base": "

Describes a carrier gateway.

", "refs": { @@ -5960,6 +5985,22 @@ "refs": { } }, + "DescribeCapacityBlockOfferingsMaxResults": { + "base": null, + "refs": { + "DescribeCapacityBlockOfferingsRequest$MaxResults": "

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

" + } + }, + "DescribeCapacityBlockOfferingsRequest": { + "base": null, + "refs": { + } + }, + "DescribeCapacityBlockOfferingsResult": { + "base": null, + "refs": { + } + }, "DescribeCapacityReservationFleetsMaxResults": { "base": null, "refs": { @@ -11418,7 +11459,7 @@ } }, "InstanceRequirements": { - "base": "

The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes.

You must specify VCpuCount and MemoryMiB. All other attributes are optional. Any unspecified optional attribute is set to its default.

When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values.

To limit the list of instance types from which Amazon EC2 can identify matching instance types, you can use one of the following parameters, but not both in the same request:

If you specify InstanceRequirements, you can't specify InstanceType.

Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the launch instance wizard or with the RunInstances API, you can't specify InstanceRequirements.

For more information, see Attribute-based instance type selection for EC2 Fleet, Attribute-based instance type selection for Spot Fleet, and Spot placement score in the Amazon EC2 User Guide.

", + "base": "

The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes.

You must specify VCpuCount and MemoryMiB. All other attributes are optional. Any unspecified optional attribute is set to its default.

When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values.

To limit the list of instance types from which Amazon EC2 can identify matching instance types, you can use one of the following parameters, but not both in the same request:

If you specify InstanceRequirements, you can't specify InstanceType.

Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the launch instance wizard or with the RunInstances API, you can't specify InstanceRequirements.

For more information, see Create a mixed instances group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide, and also Attribute-based instance type selection for EC2 Fleet, Attribute-based instance type selection for Spot Fleet, and Spot placement score in the Amazon EC2 User Guide.

", "refs": { "FleetLaunchTemplateOverrides$InstanceRequirements": "

The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.

If you specify InstanceRequirements, you can't specify InstanceType.

", "LaunchTemplateOverrides$InstanceRequirements": "

The instance requirements. When you specify instance requirements, Amazon EC2 will identify instance types with the provided requirements, and then use your On-Demand and Spot allocation strategies to launch instances from these instance types, in the same way as when you specify a list of instance types.

If you specify InstanceRequirements, you can't specify InstanceType.

", @@ -11688,6 +11729,8 @@ "BaselineEbsBandwidthMbpsRequest$Min": "

The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit this parameter.

", "BaselineEbsBandwidthMbpsRequest$Max": "

The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit this parameter.

", "CapacityAllocation$Count": "

The amount of instance capacity associated with the usage. For example a value of 4 indicates that instance capacity for 4 instances is currently in use.

", + "CapacityBlockOffering$InstanceCount": "

The number of instances in the Capacity Block offering.

", + "CapacityBlockOffering$CapacityBlockDurationHours": "

The amount of time of the Capacity Block reservation in hours.

", "CapacityReservation$TotalInstanceCount": "

The total number of instances for which the Capacity Reservation reserves capacity.

", "CapacityReservation$AvailableInstanceCount": "

The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.

", "CapacityReservationFleet$TotalTargetCapacity": "

The total number of capacity units for which the Capacity Reservation Fleet reserves capacity. For more information, see Total target capacity in the Amazon EC2 User Guide.

", @@ -11721,6 +11764,8 @@ "CreateVolumeRequest$Size": "

The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.

The following are the supported volumes sizes for each volume type:

", "CreateVolumeRequest$Throughput": "

The throughput to provision for a volume, with a maximum of 1,000 MiB/s.

This parameter is valid only for gp3 volumes.

Valid Range: Minimum value of 125. Maximum value of 1000.

", "DeleteNetworkAclEntryRequest$RuleNumber": "

The rule number of the entry to delete.

", + "DescribeCapacityBlockOfferingsRequest$InstanceCount": "

The number of instances for which to reserve capacity.

", + "DescribeCapacityBlockOfferingsRequest$CapacityDurationHours": "

The number of hours for which to reserve Capacity Block.

", "DescribeElasticGpusResult$MaxResults": "

The total number of items to return. If the total number of items available is more than the value specified in max-items then a Next-Token will be provided in the output that you can use to resume pagination.

", "DescribeFastLaunchImagesSuccessItem$MaxParallelLaunches": "

The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows faster launching.

", "DescribeFleetHistoryRequest$MaxResults": "

The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.

", @@ -13942,12 +13987,16 @@ "AddressTransfer$TransferOfferAcceptedTimestamp": "

The timestamp when the Elastic IP address transfer was accepted.

", "AthenaIntegration$PartitionStartDate": "

The start date for the partition.

", "AthenaIntegration$PartitionEndDate": "

The end date for the partition.

", + "CapacityBlockOffering$StartDate": "

The start date of the Capacity Block offering.

", + "CapacityBlockOffering$EndDate": "

The end date of the Capacity Block offering.

", "CapacityReservation$StartDate": "

The date and time at which the Capacity Reservation was started.

", "CapacityReservationFleet$EndDate": "

The date and time at which the Capacity Reservation Fleet expires.

", "CapacityReservationFleet$CreateTime": "

The date and time at which the Capacity Reservation Fleet was created.

", "CreateCapacityReservationFleetRequest$EndDate": "

The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation Fleet expires, its state changes to expired and all of the Capacity Reservations in the Fleet expire.

The Capacity Reservation Fleet expires within an hour after the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation Fleet is guaranteed to expire between 13:30:55 and 14:30:55 on 5/31/2019.

", "CreateCapacityReservationFleetResult$CreateTime": "

The date and time at which the Capacity Reservation Fleet was created.

", "CreateCapacityReservationFleetResult$EndDate": "

The date and time at which the Capacity Reservation Fleet expires.

", + "DescribeCapacityBlockOfferingsRequest$StartDateRange": "

The earliest start date for the Capacity Block offering.

", + "DescribeCapacityBlockOfferingsRequest$EndDateRange": "

The latest end date for the Capacity Block offering.

", "DescribeFastLaunchImagesSuccessItem$StateTransitionTime": "

The time that faster launching for the Windows AMI changed to the current state.

", "DescribeFastSnapshotRestoreSuccessItem$EnablingTime": "

The time at which fast snapshot restores entered the enabling state.

", "DescribeFastSnapshotRestoreSuccessItem$OptimizingTime": "

The time at which fast snapshot restores entered the optimizing state.

", @@ -15387,10 +15436,12 @@ "OfferingId": { "base": null, "refs": { + "CapacityBlockOffering$CapacityBlockOfferingId": "

The ID of the Capacity Block offering.

", "DescribeHostReservationOfferingsRequest$OfferingId": "

The ID of the reservation offering.

", "GetHostReservationPurchasePreviewRequest$OfferingId": "

The offering ID of the reservation.

", "HostOffering$OfferingId": "

The ID of the offering.

", "HostReservation$OfferingId": "

The ID of the reservation. This remains the same regardless of which Dedicated Hosts are associated with it.

", + "PurchaseCapacityBlockRequest$CapacityBlockOfferingId": "

The ID of the Capacity Block offering.

", "PurchaseHostReservationRequest$OfferingId": "

The ID of the offering.

" } }, @@ -16339,6 +16390,16 @@ "PurchaseSet$member": null } }, + "PurchaseCapacityBlockRequest": { + "base": null, + "refs": { + } + }, + "PurchaseCapacityBlockResult": { + "base": null, + "refs": { + } + }, "PurchaseHostReservationRequest": { "base": null, "refs": { @@ -18618,6 +18679,10 @@ "CancelSpotFleetRequestsErrorItem$SpotFleetRequestId": "

The ID of the Spot Fleet request.

", "CancelSpotFleetRequestsSuccessItem$SpotFleetRequestId": "

The ID of the Spot Fleet request.

", "CancelledSpotInstanceRequest$SpotInstanceRequestId": "

The ID of the Spot Instance request.

", + "CapacityBlockOffering$InstanceType": "

The instance type of the Capacity Block offering.

", + "CapacityBlockOffering$AvailabilityZone": "

The Availability Zone of the Capacity Block offering.

", + "CapacityBlockOffering$UpfrontFee": "

The total price to be paid up front.

", + "CapacityBlockOffering$CurrencyCode": "

The currency of the payment for the Capacity Block.

", "CapacityReservation$CapacityReservationId": "

The ID of the Capacity Reservation.

", "CapacityReservation$OwnerId": "

The ID of the Amazon Web Services account that owns the Capacity Reservation.

", "CapacityReservation$CapacityReservationArn": "

The Amazon Resource Name (ARN) of the Capacity Reservation.

", @@ -18935,6 +19000,9 @@ "DescribeAwsNetworkPerformanceMetricSubscriptionsRequest$NextToken": "

The token for the next page of results.

", "DescribeAwsNetworkPerformanceMetricSubscriptionsResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", "DescribeByoipCidrsResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", + "DescribeCapacityBlockOfferingsRequest$InstanceType": "

The type of instance for which the Capacity Block offering reserves capacity.

", + "DescribeCapacityBlockOfferingsRequest$NextToken": "

The token to use to retrieve the next page of results.

", + "DescribeCapacityBlockOfferingsResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", "DescribeCapacityReservationFleetsRequest$NextToken": "

The token to use to retrieve the next page of results.

", "DescribeCapacityReservationFleetsResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", "DescribeCapacityReservationsRequest$NextToken": "

The token to use to retrieve the next page of results.

", @@ -20943,6 +21011,7 @@ "ImportKeyPairRequest$TagSpecifications": "

The tags to apply to the imported key pair.

", "ImportSnapshotRequest$TagSpecifications": "

The tags to apply to the import snapshot task during creation.

", "ProvisionByoipCidrRequest$PoolTagSpecifications": "

The tags to apply to the address pool.

", + "PurchaseCapacityBlockRequest$TagSpecifications": "

The tags to apply to the Capacity Block during launch.

", "PurchaseHostReservationRequest$TagSpecifications": "

The tags to apply to the Dedicated Host Reservation during purchase.

", "RequestSpotInstancesRequest$TagSpecifications": "

The key-value pair for tagging the Spot Instance request on creation. The value for ResourceType must be spot-instances-request, otherwise the Spot Instance request fails. To tag the Spot Instance request after it has been created, see CreateTags.

", "RunInstancesRequest$TagSpecifications": "

The tags to apply to the resources that are created during instance launch.

You can specify tags for the following resources only:

To tag a resource after it has been created, see CreateTags.

", diff --git a/models/apis/ec2/2016-11-15/paginators-1.json b/models/apis/ec2/2016-11-15/paginators-1.json index 522792d6af4..ddc054563ce 100755 --- a/models/apis/ec2/2016-11-15/paginators-1.json +++ b/models/apis/ec2/2016-11-15/paginators-1.json @@ -36,6 +36,12 @@ "output_token": "NextToken", "result_key": "ByoipCidrs" }, + "DescribeCapacityBlockOfferings": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "CapacityBlockOfferings" + }, "DescribeCapacityReservationFleets": { "input_token": "NextToken", "limit_key": "MaxResults", diff --git a/models/apis/m2/2021-04-28/api-2.json b/models/apis/m2/2021-04-28/api-2.json index 4e9f53526ae..b29a2a2d8fe 100644 --- a/models/apis/m2/2021-04-28/api-2.json +++ b/models/apis/m2/2021-04-28/api-2.json @@ -224,8 +224,11 @@ "output":{"shape":"GetDataSetDetailsResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, + {"shape":"ExecutionTimeoutException"}, + {"shape":"ServiceUnavailableException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"} ] @@ -390,8 +393,11 @@ "output":{"shape":"ListDataSetsResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, + {"shape":"ExecutionTimeoutException"}, + {"shape":"ServiceUnavailableException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"} ] @@ -763,6 +769,7 @@ "type":"structure", "members":{ "fileBatchJobIdentifier":{"shape":"FileBatchJobIdentifier"}, + "s3BatchJobIdentifier":{"shape":"S3BatchJobIdentifier"}, "scriptBatchJobIdentifier":{"shape":"ScriptBatchJobIdentifier"} }, "union":true @@ -784,13 +791,13 @@ }, "BatchParamKey":{ "type":"string", - "max":8, + "max":32, "min":1, "pattern":"^[A-Za-z][A-Za-z0-9]{1,7}$" }, "BatchParamValue":{ "type":"string", - "max":44, + "max":80, "min":0 }, "Boolean":{"type":"boolean"}, @@ -1024,6 +1031,7 @@ ], "members":{ "status":{"shape":"DataSetTaskLifecycle"}, + "statusReason":{"shape":"String"}, "summary":{"shape":"DataSetImportSummary"}, "taskId":{"shape":"Identifier"} } @@ -1049,7 +1057,8 @@ "enum":[ "Creating", "Running", - "Completed" + "Completed", + "Failed" ] }, "DataSetsSummaryList":{ @@ -1157,7 +1166,8 @@ "enum":[ "Deploying", "Succeeded", - "Failed" + "Failed", + "Updating Deployment" ] }, "DeploymentList":{ @@ -1279,6 +1289,17 @@ "type":"list", "member":{"shape":"EnvironmentSummary"} }, + "ExecutionTimeoutException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String"} + }, + "error":{"httpStatusCode":504}, + "exception":true, + "fault":true, + "retryable":{"throttling":false} + }, "ExternalLocation":{ "type":"structure", "members":{ @@ -1488,6 +1509,7 @@ "creationTime":{"shape":"Timestamp"}, "dataSetName":{"shape":"String200"}, "dataSetOrg":{"shape":"DatasetDetailOrgAttributes"}, + "fileSize":{"shape":"Long"}, "lastReferencedTime":{"shape":"Timestamp"}, "lastUpdatedTime":{"shape":"Timestamp"}, "location":{"shape":"String2000"}, @@ -1659,6 +1681,14 @@ "fault":true, "retryable":{"throttling":false} }, + "JobIdentifier":{ + "type":"structure", + "members":{ + "fileName":{"shape":"String"}, + "scriptName":{"shape":"String"} + }, + "union":true + }, "ListApplicationVersionsRequest":{ "type":"structure", "required":["applicationId"], @@ -1852,6 +1882,11 @@ "location":"querystring", "locationName":"maxResults" }, + "nameFilter":{ + "shape":"String200", + "location":"querystring", + "locationName":"nameFilter" + }, "nextToken":{ "shape":"NextToken", "location":"querystring", @@ -2000,6 +2035,10 @@ "logType":{"shape":"String20"} } }, + "Long":{ + "type":"long", + "box":true + }, "MaintenanceSchedule":{ "type":"structure", "members":{ @@ -2108,6 +2147,18 @@ }, "exception":true }, + "S3BatchJobIdentifier":{ + "type":"structure", + "required":[ + "bucket", + "identifier" + ], + "members":{ + "bucket":{"shape":"String"}, + "identifier":{"shape":"JobIdentifier"}, + "keyPrefix":{"shape":"String"} + } + }, "ScriptBatchJobDefinition":{ "type":"structure", "required":["scriptName"], @@ -2138,6 +2189,17 @@ }, "exception":true }, + "ServiceUnavailableException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String"} + }, + "error":{"httpStatusCode":503}, + "exception":true, + "fault":true, + "retryable":{"throttling":false} + }, "StartApplicationRequest":{ "type":"structure", "required":["applicationId"], @@ -2365,6 +2427,7 @@ "location":"uri", "locationName":"environmentId" }, + "forceUpdate":{"shape":"Boolean"}, "instanceType":{"shape":"String20"}, "preferredMaintenanceWindow":{"shape":"String"} } diff --git a/models/apis/m2/2021-04-28/docs-2.json b/models/apis/m2/2021-04-28/docs-2.json index 3997f313311..7392942203b 100644 --- a/models/apis/m2/2021-04-28/docs-2.json +++ b/models/apis/m2/2021-04-28/docs-2.json @@ -198,6 +198,7 @@ "GetEnvironmentResponse$publiclyAccessible": "

Whether applications running in this runtime environment are publicly accessible.

", "StopApplicationRequest$forceStop": "

Stopping an application process can take a long time. Setting this parameter to true lets you force stop the application so you don't need to wait until the process finishes to apply another action on the application. The default value is false.

", "UpdateEnvironmentRequest$applyDuringMaintenanceWindow": "

Indicates whether to update the runtime environment during the maintenance window. The default is false. Currently, Amazon Web Services Mainframe Modernization accepts the engineVersion parameter only if applyDuringMaintenanceWindow is true. If any parameter other than engineVersion is provided in UpdateEnvironmentRequest, it will fail if applyDuringMaintenanceWindow is set to true.

", + "UpdateEnvironmentRequest$forceUpdate": "

Forces the updates on the environment. This option is needed if the applications in the environment are not stopped or if there are ongoing application-related activities in the environment.

If you use this option, be aware that it could lead to data corruption in the applications, and that you might need to perform repair and recovery procedures for the applications.

This option is not needed if the attribute being updated is preferredMaintenanceWindow.

", "VsamAttributes$compressed": "

Indicates whether indexes for this dataset are stored as compressed values. If you have a large data set (typically > 100 Mb), consider setting this flag to True.

", "VsamDetailAttributes$cacheAtStartup": "

If set to True, enforces loading the data set into cache before it’s used by the application.

", "VsamDetailAttributes$compressed": "

Indicates whether indexes for this dataset are stored as compressed values. If you have a large data set (typically > 100 Mb), consider setting this flag to True.

" @@ -216,7 +217,7 @@ "CapacityValue": { "base": null, "refs": { - "GetEnvironmentResponse$actualCapacity": "

The number of instances included in the runtime environment. A standalone runtime environment has a maxiumum of one instance. Currently, a high availability runtime environment has a maximum of two instances.

", + "GetEnvironmentResponse$actualCapacity": "

The number of instances included in the runtime environment. A standalone runtime environment has a maximum of one instance. Currently, a high availability runtime environment has a maximum of two instances.

", "HighAvailabilityConfig$desiredCapacity": "

The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.

", "UpdateEnvironmentRequest$desiredCapacity": "

The desired capacity for the runtime environment to update. The minimum possible value is 0 and the maximum is 100.

" } @@ -494,6 +495,11 @@ "ListEnvironmentsResponse$environments": "

Returns a list of summary details for all the runtime environments in your account.

" } }, + "ExecutionTimeoutException": { + "base": "

Failed to connect to server, or didn’t receive response within expected time period.

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

Defines an external storage location.

", "refs": { @@ -707,6 +713,12 @@ "refs": { } }, + "JobIdentifier": { + "base": "

Identifies a specific batch job.

", + "refs": { + "S3BatchJobIdentifier$identifier": "

Identifies the batch job definition. This identifier can also point to any batch job definition that already exists in the application or to one of the batch job definitions within the directory that is specified in keyPrefix.

" + } + }, "ListApplicationVersionsRequest": { "base": null, "refs": { @@ -825,6 +837,12 @@ "LogGroupSummaries$member": null } }, + "Long": { + "base": null, + "refs": { + "GetDataSetDetailsResponse$fileSize": "

File size of the dataset.

" + } + }, "MaintenanceSchedule": { "base": "

The information about the maintenance schedule.

", "refs": { @@ -922,6 +940,12 @@ "refs": { } }, + "S3BatchJobIdentifier": { + "base": "

A batch job identifier in which the batch jobs to run are identified by an Amazon S3 location.

", + "refs": { + "BatchJobIdentifier$s3BatchJobIdentifier": "

Specifies an Amazon S3 location that identifies the batch jobs that you want to run. Use this identifier to run ad hoc batch jobs.

" + } + }, "ScriptBatchJobDefinition": { "base": "

A batch job definition contained in a script.

", "refs": { @@ -939,6 +963,11 @@ "refs": { } }, + "ServiceUnavailableException": { + "base": "

Server cannot process the request at the moment.

", + "refs": { + } + }, "StartApplicationRequest": { "base": null, "refs": { @@ -1001,10 +1030,12 @@ "DataSet$datasetName": "

The logical identifier for a specific data set (in mainframe format).

", "DataSet$relativePath": "

The relative location of the data set in the database or file system.

", "DataSet$storageType": "

The storage type of the data set: database or file system. For Micro Focus, database corresponds to datastore and file system corresponds to EFS/FSX. For Blu Age, there is no support of file system and database corresponds to Blusam.

", + "DataSetImportTask$statusReason": "

If dataset import failed, the failure reason will show here.

", "DeployedVersionSummary$statusReason": "

The reason for the reported status.

", "DeploymentSummary$statusReason": "

The reason for the reported status.

", "EngineVersionsSummary$engineType": "

The type of target platform for the application.

", "EngineVersionsSummary$engineVersion": "

The version of the engine type used by the application.

", + "ExecutionTimeoutException$message": null, "FileBatchJobDefinition$fileName": "

The name of the file containing the batch job definition.

", "FileBatchJobDefinition$folderPath": "

The path to the file containing the batch job definition.

", "FileBatchJobIdentifier$fileName": "

The file name for the batch job identifier.

", @@ -1021,6 +1052,8 @@ "GetEnvironmentResponse$statusReason": "

The reason for the reported status.

", "GetSignedBluinsightsUrlResponse$signedBiUrl": "

Single sign-on AWS Blu Insights URL.

", "InternalServerException$message": null, + "JobIdentifier$fileName": "

The name of the file that contains the batch job definition.

", + "JobIdentifier$scriptName": "

The name of the script that contains the batch job definition.

", "ListBatchJobDefinitionsRequest$prefix": "

If the batch job definition is a FileBatchJobDefinition, the prefix allows you to search on the file names of FileBatchJobDefinitions.

", "PendingMaintenance$engineVersion": "

The specific runtime engine that the maintenance schedule applies to.

", "PoAttributes$encoding": "

The character set encoding of the data set.

", @@ -1035,6 +1068,8 @@ "ResourceNotFoundException$message": null, "ResourceNotFoundException$resourceId": "

The ID of the missing resource.

", "ResourceNotFoundException$resourceType": "

The type of the missing resource.

", + "S3BatchJobIdentifier$bucket": "

The Amazon S3 bucket that contains the batch job definitions.

", + "S3BatchJobIdentifier$keyPrefix": "

The key prefix that specifies the path to the folder in the S3 bucket that has the batch job definitions.

", "ScriptBatchJobDefinition$scriptName": "

The name of the script containing the batch job definition.

", "ScriptBatchJobIdentifier$scriptName": "

The name of the script containing the batch job definition.

", "ServiceQuotaExceededException$message": null, @@ -1042,10 +1077,11 @@ "ServiceQuotaExceededException$resourceId": "

The ID of the resource that is exceeding the quota limit.

", "ServiceQuotaExceededException$resourceType": "

The type of resource that is exceeding the quota limit for Amazon Web Services Mainframe Modernization.

", "ServiceQuotaExceededException$serviceCode": "

A code that identifies the service that the exceeded quota belongs to.

", + "ServiceUnavailableException$message": null, "ThrottlingException$message": null, - "ThrottlingException$quotaCode": "

The identifier of the throttled reuqest.

", + "ThrottlingException$quotaCode": "

The identifier of the throttled request.

", "ThrottlingException$serviceCode": "

The identifier of the service that the throttled request was made to.

", - "UpdateEnvironmentRequest$preferredMaintenanceWindow": "

Configures the maintenance window you want for the runtime environment. If you do not provide a value, a random system-generated value will be assigned.

", + "UpdateEnvironmentRequest$preferredMaintenanceWindow": "

Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format ddd:hh24:mi-ddd:hh24:mi and must be less than 24 hours. The following two examples are valid maintenance windows: sun:23:45-mon:00:15 or sat:01:00-sat:03:00.

If you do not provide a value, a random system-generated value will be assigned.

", "ValidationException$message": null, "ValidationExceptionField$message": "

The message of the exception field.

", "ValidationExceptionField$name": "

The name of the exception field.

", @@ -1090,6 +1126,7 @@ "FsxStorageConfiguration$mountPoint": "

The mount point for the file system.

", "GetDataSetDetailsRequest$dataSetName": "

The name of the data set.

", "GetDataSetDetailsResponse$dataSetName": "

The name of the data set.

", + "ListDataSetsRequest$nameFilter": "

Filter dataset name matching the specified pattern. Can use * and % as wild cards.

", "ListDataSetsRequest$prefix": "

The prefix of the data set name, which you can use to filter the list of data sets.

" } }, @@ -1111,9 +1148,9 @@ "String50": { "base": null, "refs": { - "CreateEnvironmentRequest$preferredMaintenanceWindow": "

Configures the maintenance window you want for the runtime environment. If you do not provide a value, a random system-generated value will be assigned.

", + "CreateEnvironmentRequest$preferredMaintenanceWindow": "

Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format ddd:hh24:mi-ddd:hh24:mi and must be less than 24 hours. The following two examples are valid maintenance windows: sun:23:45-mon:00:15 or sat:01:00-sat:03:00.

If you do not provide a value, a random system-generated value will be assigned.

", "GdgDetailAttributes$rollDisposition": "

The disposition of the data set in the catalog.

", - "GetEnvironmentResponse$preferredMaintenanceWindow": "

Configures the maintenance window you want for the runtime environment. If you do not provide a value, a random system-generated value will be assigned.

", + "GetEnvironmentResponse$preferredMaintenanceWindow": "

The maintenance window for the runtime environment. If you don't provide a value for the maintenance window, the service assigns a random value.

", "GetEnvironmentResponse$vpcId": "

The unique identifier for the VPC used with this runtime environment.

", "String50List$member": null } diff --git a/models/apis/m2/2021-04-28/endpoint-rule-set-1.json b/models/apis/m2/2021-04-28/endpoint-rule-set-1.json index ef314671806..7d21c70a90f 100644 --- a/models/apis/m2/2021-04-28/endpoint-rule-set-1.json +++ b/models/apis/m2/2021-04-28/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -58,293 +57,258 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, { - "conditions": [], - "type": "tree", + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://m2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://m2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] }, true ] } ], - "type": "tree", "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://m2-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://m2-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://m2.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], - "type": "tree", + ], "rules": [ { "conditions": [], "endpoint": { - "url": "https://m2.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://m2.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "endpoint": { + "url": "https://m2.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" + ], + "type": "tree" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/models/apis/neptunedata/2023-08-01/api-2.json b/models/apis/neptunedata/2023-08-01/api-2.json index 65eb6934c45..9e26fba2773 100644 --- a/models/apis/neptunedata/2023-08-01/api-2.json +++ b/models/apis/neptunedata/2023-08-01/api-2.json @@ -2510,9 +2510,6 @@ "requestId", "code" ], - "retryable": { - "throttling": false - }, "type": "structure" }, "Classes": { diff --git a/models/apis/neptunedata/2023-08-01/docs-2.json b/models/apis/neptunedata/2023-08-01/docs-2.json index ff596f69445..5c77997ede5 100644 --- a/models/apis/neptunedata/2023-08-01/docs-2.json +++ b/models/apis/neptunedata/2023-08-01/docs-2.json @@ -16,8 +16,8 @@ "ExecuteGremlinExplainQuery": "

Executes a Gremlin Explain query.

Amazon Neptune has added a Gremlin feature named explain that provides is a self-service tool for understanding the execution approach being taken by the Neptune engine for the query. You invoke it by adding an explain parameter to an HTTP call that submits a Gremlin query.

The explain feature provides information about the logical structure of query execution plans. You can use this information to identify potential evaluation and execution bottlenecks and to tune your query, as explained in Tuning Gremlin queries. You can also use query hints to improve query execution plans.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows one of the following IAM actions in that cluster, depending on the query:

Note that the neptune-db:QueryLanguage:Gremlin IAM condition key can be used in the policy document to restrict the use of Gremlin queries (see Condition keys available in Neptune IAM data-access policy statements).

", "ExecuteGremlinProfileQuery": "

Executes a Gremlin Profile query, which runs a specified traversal, collects various metrics about the run, and produces a profile report as output. See Gremlin profile API in Neptune for details.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ReadDataViaQuery IAM action in that cluster.

Note that the neptune-db:QueryLanguage:Gremlin IAM condition key can be used in the policy document to restrict the use of Gremlin queries (see Condition keys available in Neptune IAM data-access policy statements).

", "ExecuteGremlinQuery": "

This commands executes a Gremlin query. Amazon Neptune is compatible with Apache TinkerPop3 and Gremlin, so you can use the Gremlin traversal language to query the graph, as described under The Graph in the Apache TinkerPop3 documentation. More details can also be found in Accessing a Neptune graph with Gremlin.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that enables one of the following IAM actions in that cluster, depending on the query:

Note that the neptune-db:QueryLanguage:Gremlin IAM condition key can be used in the policy document to restrict the use of Gremlin queries (see Condition keys available in Neptune IAM data-access policy statements).

", - "ExecuteOpenCypherExplainQuery": "

Executes an openCypher explain request. See The openCypher explain feature for more information.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ReadDataViaQuery IAM action in that cluster.

Note that the neptune-db:QueryLanguage:Opencypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).

", - "ExecuteOpenCypherQuery": "

Executes an openCypher query. See Accessing the Neptune Graph with openCypher for more information.

Neptune supports building graph applications using openCypher, which is currently one of the most popular query languages among developers working with graph databases. Developers, business analysts, and data scientists like openCypher's declarative, SQL-inspired syntax because it provides a familiar structure in which to querying property graphs.

The openCypher language was originally developed by Neo4j, then open-sourced in 2015 and contributed to the openCypher project under an Apache 2 open-source license.

Note that when invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows one of the following IAM actions in that cluster, depending on the query:

Note also that the neptune-db:QueryLanguage:Opencypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).

", + "ExecuteOpenCypherExplainQuery": "

Executes an openCypher explain request. See The openCypher explain feature for more information.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ReadDataViaQuery IAM action in that cluster.

Note that the neptune-db:QueryLanguage:OpenCypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).

", + "ExecuteOpenCypherQuery": "

Executes an openCypher query. See Accessing the Neptune Graph with openCypher for more information.

Neptune supports building graph applications using openCypher, which is currently one of the most popular query languages among developers working with graph databases. Developers, business analysts, and data scientists like openCypher's declarative, SQL-inspired syntax because it provides a familiar structure in which to querying property graphs.

The openCypher language was originally developed by Neo4j, then open-sourced in 2015 and contributed to the openCypher project under an Apache 2 open-source license.

Note that when invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows one of the following IAM actions in that cluster, depending on the query:

Note also that the neptune-db:QueryLanguage:OpenCypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).

", "GetEngineStatus": "

Retrieves the status of the graph database on the host.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetEngineStatus IAM action in that cluster.

", "GetGremlinQueryStatus": "

Gets the status of a specified Gremlin query.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetQueryStatus IAM action in that cluster.

Note that the neptune-db:QueryLanguage:Gremlin IAM condition key can be used in the policy document to restrict the use of Gremlin queries (see Condition keys available in Neptune IAM data-access policy statements).

", "GetLoaderJobStatus": "

Gets status information about a specified load job. Neptune keeps track of the most recent 1,024 bulk load jobs, and stores the last 10,000 error details per job.

See Neptune Loader Get-Status API for more information.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetLoaderJobStatus IAM action in that cluster..

", @@ -25,9 +25,9 @@ "GetMLEndpoint": "

Retrieves details about an inference endpoint. See Managing inference endpoints using the endpoints command.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetMLEndpointStatus IAM action in that cluster.

", "GetMLModelTrainingJob": "

Retrieves information about a Neptune ML model training job. See Model training using the modeltraining command.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetMLModelTrainingJobStatus IAM action in that cluster.

", "GetMLModelTransformJob": "

Gets information about a specified model transform job. See Use a trained model to generate new model artifacts.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetMLModelTransformJobStatus IAM action in that cluster.

", - "GetOpenCypherQueryStatus": "

Retrieves the status of a specified openCypher query.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetQueryStatus IAM action in that cluster.

Note that the neptune-db:QueryLanguage:Opencypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).

", + "GetOpenCypherQueryStatus": "

Retrieves the status of a specified openCypher query.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetQueryStatus IAM action in that cluster.

Note that the neptune-db:QueryLanguage:OpenCypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).

", "GetPropertygraphStatistics": "

Gets property graph statistics (Gremlin and openCypher).

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetStatisticsStatus IAM action in that cluster.

", - "GetPropertygraphStream": "

Gets a stream for a property graph.

With the Neptune Streams feature, you can generate a complete sequence of change-log entries that record every change made to your graph data as it happens. GetPropertygraphStream lets you collect these change-log entries for a property graph.

The Neptune streams feature needs to be enabled on your Neptune DBcluster. To enable streams, set the neptune_streams DB cluster parameter to 1.

See Capturing graph changes in real time using Neptune streams.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetStreamRecords IAM action in that cluster.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that enables one of the following IAM actions, depending on the query:

Note that you can restrict property-graph queries using the following IAM context keys:

See Condition keys available in Neptune IAM data-access policy statements).

", + "GetPropertygraphStream": "

Gets a stream for a property graph.

With the Neptune Streams feature, you can generate a complete sequence of change-log entries that record every change made to your graph data as it happens. GetPropertygraphStream lets you collect these change-log entries for a property graph.

The Neptune streams feature needs to be enabled on your Neptune DBcluster. To enable streams, set the neptune_streams DB cluster parameter to 1.

See Capturing graph changes in real time using Neptune streams.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetStreamRecords IAM action in that cluster.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that enables one of the following IAM actions, depending on the query:

Note that you can restrict property-graph queries using the following IAM context keys:

See Condition keys available in Neptune IAM data-access policy statements).

", "GetPropertygraphSummary": "

Gets a graph summary for a property graph.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetGraphSummary IAM action in that cluster.

", "GetRDFGraphSummary": "

Gets a graph summary for an RDF graph.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetGraphSummary IAM action in that cluster.

", "GetSparqlStatistics": "

Gets RDF statistics (SPARQL).

", @@ -38,7 +38,7 @@ "ListMLEndpoints": "

Lists existing inference endpoints. See Managing inference endpoints using the endpoints command.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ListMLEndpoints IAM action in that cluster.

", "ListMLModelTrainingJobs": "

Lists Neptune ML model-training jobs. See Model training using the modeltraining command.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:neptune-db:ListMLModelTrainingJobs IAM action in that cluster.

", "ListMLModelTransformJobs": "

Returns a list of model transform job IDs. See Use a trained model to generate new model artifacts.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ListMLModelTransformJobs IAM action in that cluster.

", - "ListOpenCypherQueries": "

Lists active openCypher queries. See Neptune openCypher status endpoint for more information.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetQueryStatus IAM action in that cluster.

Note that the neptune-db:QueryLanguage:Opencypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).

", + "ListOpenCypherQueries": "

Lists active openCypher queries. See Neptune openCypher status endpoint for more information.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetQueryStatus IAM action in that cluster.

Note that the neptune-db:QueryLanguage:OpenCypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).

", "ManagePropertygraphStatistics": "

Manages the generation and use of property graph statistics.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ManageStatistics IAM action in that cluster.

", "ManageSparqlStatistics": "

Manages the generation and use of RDF graph statistics.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ManageStatistics IAM action in that cluster.

", "StartLoaderJob": "

Starts a Neptune bulk loader job to load data from an Amazon S3 bucket into a Neptune DB instance. See Using the Amazon Neptune Bulk Loader to Ingest Data.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:StartLoaderJob IAM action in that cluster.

", @@ -92,7 +92,7 @@ "SparqlRecord$isLastOp": "

Only present if this operation is the last one in its transaction. If present, it is set to true. It is useful for ensuring that an entire transaction is consumed.

", "StartLoaderJobInput$failOnError": "

failOnError   –   A flag to toggle a complete stop on an error.

Allowed values: \"TRUE\", \"FALSE\".

Default value: \"TRUE\".

When this parameter is set to \"FALSE\", the loader tries to load all the data in the location specified, skipping any entries with errors.

When this parameter is set to \"TRUE\", the loader stops as soon as it encounters an error. Data loaded up to that point persists.

", "StartLoaderJobInput$updateSingleCardinalityProperties": "

updateSingleCardinalityProperties is an optional parameter that controls how the bulk loader treats a new value for single-cardinality vertex or edge properties. This is not supported for loading openCypher data.

Allowed values: \"TRUE\", \"FALSE\".

Default value: \"FALSE\".

By default, or when updateSingleCardinalityProperties is explicitly set to \"FALSE\", the loader treats a new value as an error, because it violates single cardinality.

When updateSingleCardinalityProperties is set to \"TRUE\", on the other hand, the bulk loader replaces the existing value with the new one. If multiple edge or single-cardinality vertex property values are provided in the source file(s) being loaded, the final value at the end of the bulk load could be any one of those new values. The loader only guarantees that the existing value has been replaced by one of the new ones.

", - "StartLoaderJobInput$queueRequest": "

This is an optional flag parameter that indicates whether the load request can be queued up or not.

You don't have to wait for one load job to complete before issuing the next one, because Neptune can queue up as many as 64 jobs at a time, provided that their queueRequest parameters are all set to \"TRUE\".

If the queueRequest parameter is omitted or set to \"FALSE\", the load request will fail if another load job is already running.

Allowed values: \"TRUE\", \"FALSE\".

Default value: \"FALSE\".

", + "StartLoaderJobInput$queueRequest": "

This is an optional flag parameter that indicates whether the load request can be queued up or not.

You don't have to wait for one load job to complete before issuing the next one, because Neptune can queue up as many as 64 jobs at a time, provided that their queueRequest parameters are all set to \"TRUE\". The queue order of the jobs will be first-in-first-out (FIFO).

If the queueRequest parameter is omitted or set to \"FALSE\", the load request will fail if another load job is already running.

Allowed values: \"TRUE\", \"FALSE\".

Default value: \"FALSE\".

", "StartLoaderJobInput$userProvidedEdgeIds": "

This parameter is required only when loading openCypher data that contains relationship IDs. It must be included and set to True when openCypher relationship IDs are explicitly provided in the load data (recommended).

When userProvidedEdgeIds is absent or set to True, an :ID column must be present in every relationship file in the load.

When userProvidedEdgeIds is present and set to False, relationship files in the load must not contain an :ID column. Instead, the Neptune loader automatically generates an ID for each relationship.

It's useful to provide relationship IDs explicitly so that the loader can resume loading after error in the CSV data have been fixed, without having to reload any relationships that have already been loaded. If relationship IDs have not been explicitly assigned, the loader cannot resume a failed load if any relationship file has had to be corrected, and must instead reload all the relationships.

", "StartMLModelTrainingJobInput$enableManagedSpotTraining": "

Optimizes the cost of training machine-learning models by using Amazon Elastic Compute Cloud spot instances. The default is False.

", "Statistics$autoCompute": "

Indicates whether or not automatic statistics generation is enabled.

", diff --git a/models/apis/translate/2017-07-01/api-2.json b/models/apis/translate/2017-07-01/api-2.json index 6aba58287c9..e1a50cc1d31 100644 --- a/models/apis/translate/2017-07-01/api-2.json +++ b/models/apis/translate/2017-07-01/api-2.json @@ -331,6 +331,10 @@ "min":1, "pattern":"[\\P{M}\\p{M}]{1,10000}" }, + "Brevity":{ + "type":"string", + "enum":["ON"] + }, "ClientTokenString":{ "type":"string", "max":64, @@ -767,10 +771,6 @@ }, "ParallelDataConfig":{ "type":"structure", - "required":[ - "S3Uri", - "Format" - ], "members":{ "S3Uri":{"shape":"S3Uri"}, "Format":{"shape":"ParallelDataFormat"} @@ -1187,7 +1187,8 @@ "type":"structure", "members":{ "Formality":{"shape":"Formality"}, - "Profanity":{"shape":"Profanity"} + "Profanity":{"shape":"Profanity"}, + "Brevity":{"shape":"Brevity"} } }, "UnboundedLengthString":{"type":"string"}, diff --git a/models/apis/translate/2017-07-01/docs-2.json b/models/apis/translate/2017-07-01/docs-2.json index d35c1271731..f9f0925c0de 100644 --- a/models/apis/translate/2017-07-01/docs-2.json +++ b/models/apis/translate/2017-07-01/docs-2.json @@ -17,7 +17,7 @@ "StartTextTranslationJob": "

Starts an asynchronous batch translation job. Use batch translation jobs to translate large volumes of text across multiple documents at once. For batch translation, you can input documents with different source languages (specify auto as the source language). You can specify one or more target languages. Batch translation translates each input document into each of the target languages. For more information, see Asynchronous batch processing.

Batch translation jobs can be described with the DescribeTextTranslationJob operation, listed with the ListTextTranslationJobs operation, and stopped with the StopTextTranslationJob operation.

", "StopTextTranslationJob": "

Stops an asynchronous batch translation job that is in progress.

If the job's state is IN_PROGRESS, the job will be marked for termination and put into the STOP_REQUESTED state. If the job completes before it can be stopped, it is put into the COMPLETED state. Otherwise, the job is put into the STOPPED state.

Asynchronous batch translation jobs are started with the StartTextTranslationJob operation. You can use the DescribeTextTranslationJob or ListTextTranslationJobs operations to get a batch translation job's JobId.

", "TagResource": "

Associates a specific tag with a resource. A tag is a key-value pair that adds as a metadata to a resource. For more information, see Tagging your resources.

", - "TranslateDocument": "

Translates the input document from the source language to the target language. This synchronous operation supports plain text or HTML for the input document. TranslateDocument supports translations from English to any supported language, and from any supported language to English. Therefore, specify either the source language code or the target language code as “en” (English).

TranslateDocument does not support language auto-detection.

If you set the Formality parameter, the request will fail if the target language does not support formality. For a list of target languages that support formality, see Setting formality.

", + "TranslateDocument": "

Translates the input document from the source language to the target language. This synchronous operation supports text, HTML, or Word documents as the input document. TranslateDocument supports translations from English to any supported language, and from any supported language to English. Therefore, specify either the source language code or the target language code as “en” (English).

If you set the Formality parameter, the request will fail if the target language does not support formality. For a list of target languages that support formality, see Setting formality.

", "TranslateText": "

Translates input text from the source language to the target language. For a list of available languages and language codes, see Supported languages.

", "UntagResource": "

Removes a specific tag associated with an Amazon Translate resource. For more information, see Tagging your resources.

", "UpdateParallelData": "

Updates a previously created parallel data resource by importing a new input file from Amazon S3.

" @@ -42,6 +42,12 @@ "TranslateTextRequest$Text": "

The text to translate. The text string can be a maximum of 10,000 bytes long. Depending on your character set, this may be fewer than 10,000 characters.

" } }, + "Brevity": { + "base": null, + "refs": { + "TranslationSettings$Brevity": "

When you turn on brevity, Amazon Translate reduces the length of the translation output for most translations (when compared with the same translation with brevity turned off). By default, brevity is turned off.

If you turn on brevity for a translation request with an unsupported language pair, the translation proceeds with the brevity setting turned off.

For the language pairs that brevity supports, see Using brevity in the Amazon Translate Developer Guide.

" + } + }, "ClientTokenString": { "base": null, "refs": { @@ -168,7 +174,7 @@ "Formality": { "base": null, "refs": { - "TranslationSettings$Formality": "

You can optionally specify the desired level of formality for translations to supported target languages. The formality setting controls the level of formal language usage (also known as register) in the translation output. You can set the value to informal or formal. If you don't specify a value for formality, or if the target language doesn't support formality, the translation will ignore the formality setting.

If you specify multiple target languages for the job, translate ignores the formality setting for any unsupported target language.

For a list of target languages that support formality, see Supported languages in the Amazon Translate Developer Guide.

" + "TranslationSettings$Formality": "

You can specify the desired level of formality for translations to supported target languages. The formality setting controls the level of formal language usage (also known as register) in the translation output. You can set the value to informal or formal. If you don't specify a value for formality, or if the target language doesn't support formality, the translation will ignore the formality setting.

If you specify multiple target languages for the job, translate ignores the formality setting for any unsupported target language.

For a list of target languages that support formality, see Supported languages in the Amazon Translate Developer Guide.

" } }, "GetParallelDataRequest": { @@ -296,7 +302,7 @@ "TargetLanguageCodeStringList$member": null, "TerminologyProperties$SourceLanguageCode": "

The language code for the source text of the translation request for which the custom terminology is being used.

", "TextTranslationJobProperties$SourceLanguageCode": "

The language code of the language of the source text. The language must be a language supported by Amazon Translate.

", - "TranslateDocumentRequest$SourceLanguageCode": "

The language code for the language of the source text. Do not use auto, because TranslateDocument does not support language auto-detection. For a list of supported language codes, see Supported languages.

", + "TranslateDocumentRequest$SourceLanguageCode": "

The language code for the language of the source text. For a list of supported language codes, see Supported languages.

To have Amazon Translate determine the source language of your text, you can specify auto in the SourceLanguageCode field. If you specify auto, Amazon Translate will call Amazon Comprehend to determine the source language.

If you specify auto, you must send the TranslateDocument request in a region that supports Amazon Comprehend. Otherwise, the request returns an error indicating that autodetect is not supported.

", "TranslateDocumentRequest$TargetLanguageCode": "

The language code requested for the translated document. For a list of supported language codes, see Supported languages.

", "TranslateDocumentResponse$SourceLanguageCode": "

The language code of the source document.

", "TranslateDocumentResponse$TargetLanguageCode": "

The language code of the translated document.

", @@ -482,7 +488,7 @@ "Profanity": { "base": null, "refs": { - "TranslationSettings$Profanity": "

Enable the profanity setting if you want Amazon Translate to mask profane words and phrases in your translation output.

To mask profane words and phrases, Amazon Translate replaces them with the grawlix string “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the length or number of words.

Amazon Translate doesn't detect profanity in all of its supported languages. For languages that don't support profanity detection, see Unsupported languages in the Amazon Translate Developer Guide.

If you specify multiple target languages for the job, all the target languages must support profanity masking. If any of the target languages don't support profanity masking, the translation job won't mask profanity for any target language.

" + "TranslationSettings$Profanity": "

You can enable the profanity setting if you want to mask profane words and phrases in your translation output.

To mask profane words and phrases, Amazon Translate replaces them with the grawlix string “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the length or number of words.

Amazon Translate doesn't detect profanity in all of its supported languages. For languages that don't support profanity detection, see Unsupported languages in the Amazon Translate Developer Guide.

If you specify multiple target languages for the job, all the target languages must support profanity masking. If any of the target languages don't support profanity masking, the translation job won't mask profanity for any target language.

" } }, "ResourceArn": { @@ -787,13 +793,13 @@ } }, "TranslationSettings": { - "base": "

Settings to configure your translation output, including the option to set the formality level of the output text and the option to mask profane words and phrases.

", + "base": "

Settings to configure your translation output. You can configure the following options:

", "refs": { - "StartTextTranslationJobRequest$Settings": "

Settings to configure your translation output, including the option to set the formality level of the output text and the option to mask profane words and phrases.

", + "StartTextTranslationJobRequest$Settings": "

Settings to configure your translation output. You can configure the following options:

", "TextTranslationJobProperties$Settings": "

Settings that modify the translation output.

", - "TranslateDocumentRequest$Settings": null, + "TranslateDocumentRequest$Settings": "

Settings to configure your translation output. You can configure the following options:

", "TranslateDocumentResponse$AppliedSettings": null, - "TranslateTextRequest$Settings": "

Settings to configure your translation output, including the option to set the formality level of the output text and the option to mask profane words and phrases.

", + "TranslateTextRequest$Settings": "

Settings to configure your translation output. You can configure the following options:

", "TranslateTextResponse$AppliedSettings": "

Optional settings that modify the translation output.

" } }, diff --git a/models/apis/translate/2017-07-01/endpoint-rule-set-1.json b/models/apis/translate/2017-07-01/endpoint-rule-set-1.json index 44b476b069c..cdfd2c4b36c 100644 --- a/models/apis/translate/2017-07-01/endpoint-rule-set-1.json +++ b/models/apis/translate/2017-07-01/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -58,293 +57,258 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, { - "conditions": [], - "type": "tree", + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://translate-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://translate-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] }, true ] } ], - "type": "tree", "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://translate-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://translate-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://translate.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], - "type": "tree", + ], "rules": [ { "conditions": [], "endpoint": { - "url": "https://translate.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://translate.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "endpoint": { + "url": "https://translate.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" + ], + "type": "tree" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/service/amplify/amplifyiface/interface.go b/service/amplify/amplifyiface/interface.go index ceadaf6aebc..06642373a87 100644 --- a/service/amplify/amplifyiface/interface.go +++ b/service/amplify/amplifyiface/interface.go @@ -144,6 +144,9 @@ type AmplifyAPI interface { ListAppsWithContext(aws.Context, *amplify.ListAppsInput, ...request.Option) (*amplify.ListAppsOutput, error) ListAppsRequest(*amplify.ListAppsInput) (*request.Request, *amplify.ListAppsOutput) + ListAppsPages(*amplify.ListAppsInput, func(*amplify.ListAppsOutput, bool) bool) error + ListAppsPagesWithContext(aws.Context, *amplify.ListAppsInput, func(*amplify.ListAppsOutput, bool) bool, ...request.Option) error + ListArtifacts(*amplify.ListArtifactsInput) (*amplify.ListArtifactsOutput, error) ListArtifactsWithContext(aws.Context, *amplify.ListArtifactsInput, ...request.Option) (*amplify.ListArtifactsOutput, error) ListArtifactsRequest(*amplify.ListArtifactsInput) (*request.Request, *amplify.ListArtifactsOutput) @@ -156,14 +159,23 @@ type AmplifyAPI interface { ListBranchesWithContext(aws.Context, *amplify.ListBranchesInput, ...request.Option) (*amplify.ListBranchesOutput, error) ListBranchesRequest(*amplify.ListBranchesInput) (*request.Request, *amplify.ListBranchesOutput) + ListBranchesPages(*amplify.ListBranchesInput, func(*amplify.ListBranchesOutput, bool) bool) error + ListBranchesPagesWithContext(aws.Context, *amplify.ListBranchesInput, func(*amplify.ListBranchesOutput, bool) bool, ...request.Option) error + ListDomainAssociations(*amplify.ListDomainAssociationsInput) (*amplify.ListDomainAssociationsOutput, error) ListDomainAssociationsWithContext(aws.Context, *amplify.ListDomainAssociationsInput, ...request.Option) (*amplify.ListDomainAssociationsOutput, error) ListDomainAssociationsRequest(*amplify.ListDomainAssociationsInput) (*request.Request, *amplify.ListDomainAssociationsOutput) + ListDomainAssociationsPages(*amplify.ListDomainAssociationsInput, func(*amplify.ListDomainAssociationsOutput, bool) bool) error + ListDomainAssociationsPagesWithContext(aws.Context, *amplify.ListDomainAssociationsInput, func(*amplify.ListDomainAssociationsOutput, bool) bool, ...request.Option) error + ListJobs(*amplify.ListJobsInput) (*amplify.ListJobsOutput, error) ListJobsWithContext(aws.Context, *amplify.ListJobsInput, ...request.Option) (*amplify.ListJobsOutput, error) ListJobsRequest(*amplify.ListJobsInput) (*request.Request, *amplify.ListJobsOutput) + ListJobsPages(*amplify.ListJobsInput, func(*amplify.ListJobsOutput, bool) bool) error + ListJobsPagesWithContext(aws.Context, *amplify.ListJobsInput, func(*amplify.ListJobsOutput, bool) bool, ...request.Option) error + ListTagsForResource(*amplify.ListTagsForResourceInput) (*amplify.ListTagsForResourceOutput, error) ListTagsForResourceWithContext(aws.Context, *amplify.ListTagsForResourceInput, ...request.Option) (*amplify.ListTagsForResourceOutput, error) ListTagsForResourceRequest(*amplify.ListTagsForResourceInput) (*request.Request, *amplify.ListTagsForResourceOutput) diff --git a/service/amplify/api.go b/service/amplify/api.go index 90766e87d1d..f2469ac00f4 100644 --- a/service/amplify/api.go +++ b/service/amplify/api.go @@ -335,6 +335,10 @@ func (c *Amplify) CreateDeploymentRequest(input *CreateDeploymentInput) (req *re // Creates a deployment for a manually deployed Amplify app. Manually deployed // apps are not connected to a repository. // +// The maximum duration between the CreateDeployment call and the StartDeployment +// call cannot exceed 8 hours. If the duration exceeds 8 hours, the StartDeployment +// call and the associated Job will fail. +// // 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. @@ -1245,7 +1249,7 @@ func (c *Amplify) GetAppRequest(input *GetAppInput) (req *request.Request, outpu // GetApp API operation for AWS Amplify. // -// Returns an existing Amplify app by appID. +// Returns 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 @@ -1857,6 +1861,12 @@ func (c *Amplify) ListAppsRequest(input *ListAppsInput) (req *request.Request, o Name: opListApps, HTTPMethod: "GET", HTTPPath: "/apps", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -1912,6 +1922,57 @@ func (c *Amplify) ListAppsWithContext(ctx aws.Context, input *ListAppsInput, opt return out, req.Send() } +// ListAppsPages iterates over the pages of a ListApps operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListApps 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 ListApps operation. +// pageNum := 0 +// err := client.ListAppsPages(params, +// func(page *amplify.ListAppsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Amplify) ListAppsPages(input *ListAppsInput, fn func(*ListAppsOutput, bool) bool) error { + return c.ListAppsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListAppsPagesWithContext same as ListAppsPages 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 *Amplify) ListAppsPagesWithContext(ctx aws.Context, input *ListAppsInput, fn func(*ListAppsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListAppsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListAppsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListAppsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListArtifacts = "ListArtifacts" // ListArtifactsRequest generates a "aws/request.Request" representing the @@ -2115,6 +2176,12 @@ func (c *Amplify) ListBranchesRequest(input *ListBranchesInput) (req *request.Re Name: opListBranches, HTTPMethod: "GET", HTTPPath: "/apps/{appId}/branches", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -2170,6 +2237,57 @@ func (c *Amplify) ListBranchesWithContext(ctx aws.Context, input *ListBranchesIn return out, req.Send() } +// ListBranchesPages iterates over the pages of a ListBranches operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListBranches 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 ListBranches operation. +// pageNum := 0 +// err := client.ListBranchesPages(params, +// func(page *amplify.ListBranchesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Amplify) ListBranchesPages(input *ListBranchesInput, fn func(*ListBranchesOutput, bool) bool) error { + return c.ListBranchesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListBranchesPagesWithContext same as ListBranchesPages 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 *Amplify) ListBranchesPagesWithContext(ctx aws.Context, input *ListBranchesInput, fn func(*ListBranchesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListBranchesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListBranchesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListBranchesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListDomainAssociations = "ListDomainAssociations" // ListDomainAssociationsRequest generates a "aws/request.Request" representing the @@ -2200,6 +2318,12 @@ func (c *Amplify) ListDomainAssociationsRequest(input *ListDomainAssociationsInp Name: opListDomainAssociations, HTTPMethod: "GET", HTTPPath: "/apps/{appId}/domains", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -2255,6 +2379,57 @@ func (c *Amplify) ListDomainAssociationsWithContext(ctx aws.Context, input *List return out, req.Send() } +// ListDomainAssociationsPages iterates over the pages of a ListDomainAssociations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListDomainAssociations 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 ListDomainAssociations operation. +// pageNum := 0 +// err := client.ListDomainAssociationsPages(params, +// func(page *amplify.ListDomainAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Amplify) ListDomainAssociationsPages(input *ListDomainAssociationsInput, fn func(*ListDomainAssociationsOutput, bool) bool) error { + return c.ListDomainAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListDomainAssociationsPagesWithContext same as ListDomainAssociationsPages 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 *Amplify) ListDomainAssociationsPagesWithContext(ctx aws.Context, input *ListDomainAssociationsInput, fn func(*ListDomainAssociationsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListDomainAssociationsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListDomainAssociationsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListDomainAssociationsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListJobs = "ListJobs" // ListJobsRequest generates a "aws/request.Request" representing the @@ -2285,6 +2460,12 @@ func (c *Amplify) ListJobsRequest(input *ListJobsInput) (req *request.Request, o Name: opListJobs, HTTPMethod: "GET", HTTPPath: "/apps/{appId}/branches/{branchName}/jobs", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -2343,6 +2524,57 @@ func (c *Amplify) ListJobsWithContext(ctx aws.Context, input *ListJobsInput, opt return out, req.Send() } +// ListJobsPages iterates over the pages of a ListJobs operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListJobs 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 ListJobs operation. +// pageNum := 0 +// err := client.ListJobsPages(params, +// func(page *amplify.ListJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Amplify) ListJobsPages(input *ListJobsInput, fn func(*ListJobsOutput, bool) bool) error { + return c.ListJobsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListJobsPagesWithContext same as ListJobsPages 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 *Amplify) ListJobsPagesWithContext(ctx aws.Context, input *ListJobsInput, fn func(*ListJobsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListJobsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListJobsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListJobsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListTagsForResource = "ListTagsForResource" // ListTagsForResourceRequest generates a "aws/request.Request" representing the @@ -2562,6 +2794,10 @@ func (c *Amplify) StartDeploymentRequest(input *StartDeploymentInput) (req *requ // Starts a deployment for a manually deployed app. Manually deployed apps are // not connected to a repository. // +// The maximum duration between the CreateDeployment call and the StartDeployment +// call cannot exceed 8 hours. If the duration exceeds 8 hours, the StartDeployment +// call and the associated Job will fail. +// // 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. @@ -3395,12 +3631,16 @@ type App struct { // EnableBranchAutoBuild is a required field EnableBranchAutoBuild *bool `locationName:"enableBranchAutoBuild" type:"boolean" required:"true"` - // Automatically disconnect a branch in the Amplify Console when you delete + // Automatically disconnect 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. // + // For a list of the environment variables that are accessible to Amplify by + // default, see Amplify Environment variables (https://docs.aws.amazon.com/amplify/latest/userguide/amplify-console-environment-variables.html) + // in the Amplify Hosting User Guide. + // // EnvironmentVariables is a required field EnvironmentVariables map[string]*string `locationName:"environmentVariables" type:"map" required:"true"` @@ -3794,6 +4034,51 @@ func (s *AutoBranchCreationConfig) SetStage(v string) *AutoBranchCreationConfig return s } +// Describes the backend properties associated with an Amplify Branch. +type Backend struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) for the CloudFormation stack. + StackArn *string `locationName:"stackArn" min:"20" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Backend) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Backend) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Backend) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Backend"} + if s.StackArn != nil && len(*s.StackArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("StackArn", 20)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetStackArn sets the StackArn field's value. +func (s *Backend) SetStackArn(v string) *Backend { + s.StackArn = &v + return s +} + // Describes the backend environment for an Amplify app. type BackendEnvironment struct { _ struct{} `type:"structure"` @@ -3958,6 +4243,9 @@ type Branch struct { // A list of custom resources that are linked to this branch. AssociatedResources []*string `locationName:"associatedResources" type:"list"` + // Describes the backend properties associated with an Amplify Branch. + Backend *Backend `locationName:"backend" type:"structure"` + // The Amazon Resource Name (ARN) for a backend environment that is part of // an Amplify app. BackendEnvironmentArn *string `locationName:"backendEnvironmentArn" type:"string"` @@ -4112,6 +4400,12 @@ func (s *Branch) SetAssociatedResources(v []*string) *Branch { return s } +// SetBackend sets the Backend field's value. +func (s *Branch) SetBackend(v *Backend) *Branch { + s.Backend = v + return s +} + // SetBackendEnvironmentArn sets the BackendEnvironmentArn field's value. func (s *Branch) SetBackendEnvironmentArn(v string) *Branch { s.BackendEnvironmentArn = &v @@ -4278,7 +4572,7 @@ type CreateAppInput struct { // Existing Amplify apps deployed from a GitHub repository using OAuth continue // to work with CI/CD. However, we strongly recommend that you migrate these // apps to use the GitHub App. For more information, see Migrating an existing - // OAuth app to the Amplify GitHub App (https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth) + // OAuth app to the Amplify GitHub App (https://docs.aws.amazon.com/amplify/latest/userguide/setting-up-GitHub-access.html#migrating-to-github-app-auth) // in the Amplify User Guide . // // AccessToken is a sensitive parameter and its value will be @@ -4313,7 +4607,7 @@ type CreateAppInput struct { // The custom rewrite and redirect rules for an Amplify app. CustomRules []*CustomRule `locationName:"customRules" type:"list"` - // The description for an Amplify app. + // The description of the Amplify app. Description *string `locationName:"description" type:"string"` // Enables automated branch creation for an Amplify app. @@ -4326,18 +4620,22 @@ type CreateAppInput struct { // Enables the auto building of branches for an Amplify app. EnableBranchAutoBuild *bool `locationName:"enableBranchAutoBuild" type:"boolean"` - // Automatically disconnects a branch in the Amplify Console when you delete + // 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. + // + // For a list of the environment variables that are accessible to Amplify by + // default, see Amplify Environment variables (https://docs.aws.amazon.com/amplify/latest/userguide/amplify-console-environment-variables.html) + // in the Amplify Hosting User Guide. EnvironmentVariables map[string]*string `locationName:"environmentVariables" type:"map"` // The AWS Identity and Access Management (IAM) service role for an Amplify // app. IamServiceRoleArn *string `locationName:"iamServiceRoleArn" type:"string"` - // The name for an Amplify app. + // The name of the Amplify app. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` @@ -4355,7 +4653,7 @@ type CreateAppInput struct { // Existing Amplify apps deployed from a GitHub repository using OAuth continue // to work with CI/CD. However, we strongly recommend that you migrate these // apps to use the GitHub App. For more information, see Migrating an existing - // OAuth app to the Amplify GitHub App (https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth) + // OAuth app to the Amplify GitHub App (https://docs.aws.amazon.com/amplify/latest/userguide/setting-up-GitHub-access.html#migrating-to-github-app-auth) // in the Amplify User Guide . // // OauthToken is a sensitive parameter and its value will be @@ -4369,7 +4667,7 @@ type CreateAppInput struct { // only, set the platform type to WEB_DYNAMIC. Platform *string `locationName:"platform" type:"string" enum:"Platform"` - // The repository for an Amplify app. + // The Git repository for the Amplify app. Repository *string `locationName:"repository" type:"string"` // The tag for an Amplify app. @@ -4713,6 +5011,10 @@ type CreateBranchInput struct { // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` + // The backend for a Branch of an Amplify app. Use for a backend created from + // an CloudFormation stack. + Backend *Backend `locationName:"backend" type:"structure"` + // The Amazon Resource Name (ARN) for a backend environment that is part of // an Amplify app. BackendEnvironmentArn *string `locationName:"backendEnvironmentArn" type:"string"` @@ -4817,6 +5119,11 @@ func (s *CreateBranchInput) Validate() error { if s.BuildSpec != nil && len(*s.BuildSpec) < 1 { invalidParams.Add(request.NewErrParamMinLen("BuildSpec", 1)) } + if s.Backend != nil { + if err := s.Backend.Validate(); err != nil { + invalidParams.AddNested("Backend", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -4830,6 +5137,12 @@ func (s *CreateBranchInput) SetAppId(v string) *CreateBranchInput { return s } +// SetBackend sets the Backend field's value. +func (s *CreateBranchInput) SetBackend(v *Backend) *CreateBranchInput { + s.Backend = v + return s +} + // SetBackendEnvironmentArn sets the BackendEnvironmentArn field's value. func (s *CreateBranchInput) SetBackendEnvironmentArn(v string) *CreateBranchInput { s.BackendEnvironmentArn = &v @@ -4976,7 +5289,7 @@ type CreateDeploymentInput struct { // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // The name for the branch, for the job. + // The name of the branch to use for the job. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` @@ -5667,7 +5980,7 @@ type DeleteBranchInput struct { // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // The name for the branch. + // The name of the branch. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` @@ -5869,7 +6182,7 @@ type DeleteJobInput struct { // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // The name for the branch, for the job. + // The name of the branch to use for the job. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` @@ -6649,7 +6962,7 @@ type GetBranchInput struct { // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // The name for the branch. + // The name of the branch. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` @@ -6851,7 +7164,7 @@ type GetJobInput struct { // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // The branch name for the job. + // The name of the branch to use for the job. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` @@ -7937,7 +8250,7 @@ type ListJobsInput struct { // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // The name for a branch. + // The name of the branch to use for the request. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` @@ -8453,7 +8766,7 @@ type StartDeploymentInput struct { // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // The name for the branch, for the job. + // The name of the branch to use for the job. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` @@ -8574,7 +8887,7 @@ type StartJobInput struct { // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // The branch name for the job. + // The name of the branch to use for the job. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` @@ -8592,13 +8905,15 @@ type StartJobInput struct { // is RETRY. JobId *string `locationName:"jobId" type:"string"` - // A descriptive reason for starting this job. + // A descriptive reason for starting the job. JobReason *string `locationName:"jobReason" type:"string"` // Describes the type for the job. The job type RELEASE starts a new job with // the latest change from the specified branch. This value is available only - // for apps that are connected to a repository. The job type RETRY retries an - // existing job. If the job type value is RETRY, the jobId is also required. + // 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"` @@ -8868,7 +9183,7 @@ type StopJobInput struct { // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` - // The name for the branch, for the job. + // The name of the branch to use for the stop job request. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` @@ -9354,7 +9669,7 @@ type UpdateAppInput struct { // Existing Amplify apps deployed from a GitHub repository using OAuth continue // to work with CI/CD. However, we strongly recommend that you migrate these // apps to use the GitHub App. For more information, see Migrating an existing - // OAuth app to the Amplify GitHub App (https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth) + // OAuth app to the Amplify GitHub App (https://docs.aws.amazon.com/amplify/latest/userguide/setting-up-GitHub-access.html#migrating-to-github-app-auth) // in the Amplify User Guide . // // AccessToken is a sensitive parameter and its value will be @@ -9406,7 +9721,7 @@ type UpdateAppInput struct { // Enables branch auto-building for an Amplify app. EnableBranchAutoBuild *bool `locationName:"enableBranchAutoBuild" type:"boolean"` - // Automatically disconnects a branch in the Amplify Console when you delete + // Automatically disconnects a branch in the Amplify console when you delete // a branch from your Git repository. EnableBranchAutoDeletion *bool `locationName:"enableBranchAutoDeletion" type:"boolean"` @@ -9434,7 +9749,7 @@ type UpdateAppInput struct { // Existing Amplify apps deployed from a GitHub repository using OAuth continue // to work with CI/CD. However, we strongly recommend that you migrate these // apps to use the GitHub App. For more information, see Migrating an existing - // OAuth app to the Amplify GitHub App (https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth) + // OAuth app to the Amplify GitHub App (https://docs.aws.amazon.com/amplify/latest/userguide/setting-up-GitHub-access.html#migrating-to-github-app-auth) // in the Amplify User Guide . // // OauthToken is a sensitive parameter and its value will be @@ -9448,7 +9763,7 @@ type UpdateAppInput struct { // only, set the platform type to WEB_DYNAMIC. Platform *string `locationName:"platform" type:"string" enum:"Platform"` - // The name of the repository for an Amplify app + // The name of the Git repository for an Amplify app. Repository *string `locationName:"repository" type:"string"` } @@ -9667,6 +9982,10 @@ type UpdateBranchInput struct { // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` + // The backend for a Branch of an Amplify app. Use for a backend created from + // an CloudFormation stack. + Backend *Backend `locationName:"backend" type:"structure"` + // The Amazon Resource Name (ARN) for a backend environment that is part of // an Amplify app. BackendEnvironmentArn *string `locationName:"backendEnvironmentArn" type:"string"` @@ -9679,7 +9998,7 @@ type UpdateBranchInput struct { // String and GoString methods. BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string" sensitive:"true"` - // The name for the branch. + // The name of the branch. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` @@ -9768,6 +10087,11 @@ func (s *UpdateBranchInput) Validate() error { if s.BuildSpec != nil && len(*s.BuildSpec) < 1 { invalidParams.Add(request.NewErrParamMinLen("BuildSpec", 1)) } + if s.Backend != nil { + if err := s.Backend.Validate(); err != nil { + invalidParams.AddNested("Backend", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -9781,6 +10105,12 @@ func (s *UpdateBranchInput) SetAppId(v string) *UpdateBranchInput { return s } +// SetBackend sets the Backend field's value. +func (s *UpdateBranchInput) SetBackend(v *Backend) *UpdateBranchInput { + s.Backend = v + return s +} + // SetBackendEnvironmentArn sets the BackendEnvironmentArn field's value. func (s *UpdateBranchInput) SetBackendEnvironmentArn(v string) *UpdateBranchInput { s.BackendEnvironmentArn = &v diff --git a/service/amplify/doc.go b/service/amplify/doc.go index c80f7e45755..23963e04202 100644 --- a/service/amplify/doc.go +++ b/service/amplify/doc.go @@ -4,9 +4,9 @@ // requests to AWS Amplify. // // 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). +// web apps. Amplify Hosting provides a continuous delivery and hosting service +// for web applications. For more information, see the Amplify Hosting 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://docs.amplify.aws/) diff --git a/service/applicationinsights/api.go b/service/applicationinsights/api.go index 2711d3cc926..a3810d150cc 100644 --- a/service/applicationinsights/api.go +++ b/service/applicationinsights/api.go @@ -2995,6 +2995,9 @@ func (c *ApplicationInsights) UpdateComponentConfigurationRequest(input *UpdateC // - InternalServerException // The server encountered an internal error and is unable to complete the request. // +// - ResourceInUseException +// The resource is already created or in use. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateComponentConfiguration func (c *ApplicationInsights) UpdateComponentConfiguration(input *UpdateComponentConfigurationInput) (*UpdateComponentConfigurationOutput, error) { req, out := c.UpdateComponentConfigurationRequest(input) @@ -3563,6 +3566,10 @@ type ApplicationInfo struct { // The AWS account ID for the owner of the application. AccountId *string `min:"12" type:"string"` + // If set to true, the managed policies for SSM and CW will be attached to the + // instance roles if they are missing. + AttachMissingPermission *bool `type:"boolean"` + // Indicates whether auto-configuration is turned on for this application. AutoConfigEnabled *bool `type:"boolean"` @@ -3621,6 +3628,12 @@ func (s *ApplicationInfo) SetAccountId(v string) *ApplicationInfo { return s } +// SetAttachMissingPermission sets the AttachMissingPermission field's value. +func (s *ApplicationInfo) SetAttachMissingPermission(v bool) *ApplicationInfo { + s.AttachMissingPermission = &v + return s +} + // SetAutoConfigEnabled sets the AutoConfigEnabled field's value. func (s *ApplicationInfo) SetAutoConfigEnabled(v bool) *ApplicationInfo { s.AutoConfigEnabled = &v @@ -3835,6 +3848,10 @@ func (s *ConfigurationEvent) SetResourceGroupName(v string) *ConfigurationEvent type CreateApplicationInput struct { _ struct{} `type:"structure"` + // If set to true, the managed policies for SSM and CW will be attached to the + // instance roles if they are missing. + AttachMissingPermission *bool `type:"boolean"` + // Indicates whether Application Insights automatically configures unmonitored // resources in the resource group. AutoConfigEnabled *bool `type:"boolean"` @@ -3913,6 +3930,12 @@ func (s *CreateApplicationInput) Validate() error { return nil } +// SetAttachMissingPermission sets the AttachMissingPermission field's value. +func (s *CreateApplicationInput) SetAttachMissingPermission(v bool) *CreateApplicationInput { + s.AttachMissingPermission = &v + return s +} + // SetAutoConfigEnabled sets the AutoConfigEnabled field's value. func (s *CreateApplicationInput) SetAutoConfigEnabled(v bool) *CreateApplicationInput { s.AutoConfigEnabled = &v @@ -4761,6 +4784,9 @@ type DescribeComponentConfigurationRecommendationInput struct { // // Tier is a required field Tier *string `min:"1" type:"string" required:"true" enum:"Tier"` + + // The name of the workload. + WorkloadName *string `min:"1" type:"string"` } // String returns the string representation. @@ -4802,6 +4828,9 @@ func (s *DescribeComponentConfigurationRecommendationInput) Validate() error { if s.Tier != nil && len(*s.Tier) < 1 { invalidParams.Add(request.NewErrParamMinLen("Tier", 1)) } + if s.WorkloadName != nil && len(*s.WorkloadName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkloadName", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -4833,6 +4862,12 @@ func (s *DescribeComponentConfigurationRecommendationInput) SetTier(v string) *D return s } +// SetWorkloadName sets the WorkloadName field's value. +func (s *DescribeComponentConfigurationRecommendationInput) SetWorkloadName(v string) *DescribeComponentConfigurationRecommendationInput { + s.WorkloadName = &v + return s +} + type DescribeComponentConfigurationRecommendationOutput struct { _ struct{} `type:"structure"` @@ -8064,6 +8099,10 @@ func (s UntagResourceOutput) GoString() string { type UpdateApplicationInput struct { _ struct{} `type:"structure"` + // If set to true, the managed policies for SSM and CW will be attached to the + // instance roles if they are missing. + AttachMissingPermission *bool `type:"boolean"` + // Turns auto-configuration on or off. AutoConfigEnabled *bool `type:"boolean"` @@ -8125,6 +8164,12 @@ func (s *UpdateApplicationInput) Validate() error { return nil } +// SetAttachMissingPermission sets the AttachMissingPermission field's value. +func (s *UpdateApplicationInput) SetAttachMissingPermission(v bool) *UpdateApplicationInput { + s.AttachMissingPermission = &v + return s +} + // SetAutoConfigEnabled sets the AutoConfigEnabled field's value. func (s *UpdateApplicationInput) SetAutoConfigEnabled(v bool) *UpdateApplicationInput { s.AutoConfigEnabled = &v diff --git a/service/ec2/api.go b/service/ec2/api.go index 74c8f8572bf..be14ddc590b 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -18138,6 +18138,137 @@ func (c *EC2) DescribeByoipCidrsPagesWithContext(ctx aws.Context, input *Describ return p.Err() } +const opDescribeCapacityBlockOfferings = "DescribeCapacityBlockOfferings" + +// DescribeCapacityBlockOfferingsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeCapacityBlockOfferings 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 DescribeCapacityBlockOfferings for more information on using the DescribeCapacityBlockOfferings +// 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 DescribeCapacityBlockOfferingsRequest method. +// req, resp := client.DescribeCapacityBlockOfferingsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlockOfferings +func (c *EC2) DescribeCapacityBlockOfferingsRequest(input *DescribeCapacityBlockOfferingsInput) (req *request.Request, output *DescribeCapacityBlockOfferingsOutput) { + op := &request.Operation{ + Name: opDescribeCapacityBlockOfferings, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &DescribeCapacityBlockOfferingsInput{} + } + + output = &DescribeCapacityBlockOfferingsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeCapacityBlockOfferings API operation for Amazon Elastic Compute Cloud. +// +// Describes Capacity Block offerings available for purchase. With Capacity +// Blocks, you purchase a specific instance type for a period of time. +// +// 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 Elastic Compute Cloud's +// API operation DescribeCapacityBlockOfferings for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlockOfferings +func (c *EC2) DescribeCapacityBlockOfferings(input *DescribeCapacityBlockOfferingsInput) (*DescribeCapacityBlockOfferingsOutput, error) { + req, out := c.DescribeCapacityBlockOfferingsRequest(input) + return out, req.Send() +} + +// DescribeCapacityBlockOfferingsWithContext is the same as DescribeCapacityBlockOfferings with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeCapacityBlockOfferings 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 *EC2) DescribeCapacityBlockOfferingsWithContext(ctx aws.Context, input *DescribeCapacityBlockOfferingsInput, opts ...request.Option) (*DescribeCapacityBlockOfferingsOutput, error) { + req, out := c.DescribeCapacityBlockOfferingsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// DescribeCapacityBlockOfferingsPages iterates over the pages of a DescribeCapacityBlockOfferings operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeCapacityBlockOfferings 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 DescribeCapacityBlockOfferings operation. +// pageNum := 0 +// err := client.DescribeCapacityBlockOfferingsPages(params, +// func(page *ec2.DescribeCapacityBlockOfferingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *EC2) DescribeCapacityBlockOfferingsPages(input *DescribeCapacityBlockOfferingsInput, fn func(*DescribeCapacityBlockOfferingsOutput, bool) bool) error { + return c.DescribeCapacityBlockOfferingsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeCapacityBlockOfferingsPagesWithContext same as DescribeCapacityBlockOfferingsPages 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 *EC2) DescribeCapacityBlockOfferingsPagesWithContext(ctx aws.Context, input *DescribeCapacityBlockOfferingsInput, fn func(*DescribeCapacityBlockOfferingsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeCapacityBlockOfferingsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeCapacityBlockOfferingsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeCapacityBlockOfferingsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opDescribeCapacityReservationFleets = "DescribeCapacityReservationFleets" // DescribeCapacityReservationFleetsRequest generates a "aws/request.Request" representing the @@ -49921,6 +50052,81 @@ func (c *EC2) ProvisionPublicIpv4PoolCidrWithContext(ctx aws.Context, input *Pro return out, req.Send() } +const opPurchaseCapacityBlock = "PurchaseCapacityBlock" + +// PurchaseCapacityBlockRequest generates a "aws/request.Request" representing the +// client's request for the PurchaseCapacityBlock 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 PurchaseCapacityBlock for more information on using the PurchaseCapacityBlock +// 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 PurchaseCapacityBlockRequest method. +// req, resp := client.PurchaseCapacityBlockRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseCapacityBlock +func (c *EC2) PurchaseCapacityBlockRequest(input *PurchaseCapacityBlockInput) (req *request.Request, output *PurchaseCapacityBlockOutput) { + op := &request.Operation{ + Name: opPurchaseCapacityBlock, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &PurchaseCapacityBlockInput{} + } + + output = &PurchaseCapacityBlockOutput{} + req = c.newRequest(op, input, output) + return +} + +// PurchaseCapacityBlock API operation for Amazon Elastic Compute Cloud. +// +// Purchase the Capacity Block for use with your account. With Capacity Blocks +// you ensure GPU capacity is available for machine learning (ML) workloads. +// You must specify the ID of the Capacity Block offering you are purchasing. +// +// 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 Elastic Compute Cloud's +// API operation PurchaseCapacityBlock for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseCapacityBlock +func (c *EC2) PurchaseCapacityBlock(input *PurchaseCapacityBlockInput) (*PurchaseCapacityBlockOutput, error) { + req, out := c.PurchaseCapacityBlockRequest(input) + return out, req.Send() +} + +// PurchaseCapacityBlockWithContext is the same as PurchaseCapacityBlock with the addition of +// the ability to pass a context and additional request options. +// +// See PurchaseCapacityBlock 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 *EC2) PurchaseCapacityBlockWithContext(ctx aws.Context, input *PurchaseCapacityBlockInput, opts ...request.Option) (*PurchaseCapacityBlockOutput, error) { + req, out := c.PurchaseCapacityBlockRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opPurchaseHostReservation = "PurchaseHostReservation" // PurchaseHostReservationRequest generates a "aws/request.Request" representing the @@ -63912,6 +64118,119 @@ func (s *CapacityAllocation) SetCount(v int64) *CapacityAllocation { return s } +// The recommended Capacity Block that fits your search requirements. +type CapacityBlockOffering struct { + _ struct{} `type:"structure"` + + // The Availability Zone of the Capacity Block offering. + AvailabilityZone *string `locationName:"availabilityZone" type:"string"` + + // The amount of time of the Capacity Block reservation in hours. + CapacityBlockDurationHours *int64 `locationName:"capacityBlockDurationHours" type:"integer"` + + // The ID of the Capacity Block offering. + CapacityBlockOfferingId *string `locationName:"capacityBlockOfferingId" type:"string"` + + // The currency of the payment for the Capacity Block. + CurrencyCode *string `locationName:"currencyCode" type:"string"` + + // The end date of the Capacity Block offering. + EndDate *time.Time `locationName:"endDate" type:"timestamp"` + + // The number of instances in the Capacity Block offering. + InstanceCount *int64 `locationName:"instanceCount" type:"integer"` + + // The instance type of the Capacity Block offering. + InstanceType *string `locationName:"instanceType" type:"string"` + + // The start date of the Capacity Block offering. + StartDate *time.Time `locationName:"startDate" type:"timestamp"` + + // The tenancy of the Capacity Block. + Tenancy *string `locationName:"tenancy" type:"string" enum:"CapacityReservationTenancy"` + + // The total price to be paid up front. + UpfrontFee *string `locationName:"upfrontFee" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CapacityBlockOffering) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CapacityBlockOffering) GoString() string { + return s.String() +} + +// SetAvailabilityZone sets the AvailabilityZone field's value. +func (s *CapacityBlockOffering) SetAvailabilityZone(v string) *CapacityBlockOffering { + s.AvailabilityZone = &v + return s +} + +// SetCapacityBlockDurationHours sets the CapacityBlockDurationHours field's value. +func (s *CapacityBlockOffering) SetCapacityBlockDurationHours(v int64) *CapacityBlockOffering { + s.CapacityBlockDurationHours = &v + return s +} + +// SetCapacityBlockOfferingId sets the CapacityBlockOfferingId field's value. +func (s *CapacityBlockOffering) SetCapacityBlockOfferingId(v string) *CapacityBlockOffering { + s.CapacityBlockOfferingId = &v + return s +} + +// SetCurrencyCode sets the CurrencyCode field's value. +func (s *CapacityBlockOffering) SetCurrencyCode(v string) *CapacityBlockOffering { + s.CurrencyCode = &v + return s +} + +// SetEndDate sets the EndDate field's value. +func (s *CapacityBlockOffering) SetEndDate(v time.Time) *CapacityBlockOffering { + s.EndDate = &v + return s +} + +// SetInstanceCount sets the InstanceCount field's value. +func (s *CapacityBlockOffering) SetInstanceCount(v int64) *CapacityBlockOffering { + s.InstanceCount = &v + return s +} + +// SetInstanceType sets the InstanceType field's value. +func (s *CapacityBlockOffering) SetInstanceType(v string) *CapacityBlockOffering { + s.InstanceType = &v + return s +} + +// SetStartDate sets the StartDate field's value. +func (s *CapacityBlockOffering) SetStartDate(v time.Time) *CapacityBlockOffering { + s.StartDate = &v + return s +} + +// SetTenancy sets the Tenancy field's value. +func (s *CapacityBlockOffering) SetTenancy(v string) *CapacityBlockOffering { + s.Tenancy = &v + return s +} + +// SetUpfrontFee sets the UpfrontFee field's value. +func (s *CapacityBlockOffering) SetUpfrontFee(v string) *CapacityBlockOffering { + s.UpfrontFee = &v + return s +} + // Describes a Capacity Reservation. type CapacityReservation struct { _ struct{} `type:"structure"` @@ -64003,6 +64322,9 @@ type CapacityReservation struct { // in the Amazon EC2 User Guide. PlacementGroupArn *string `locationName:"placementGroupArn" type:"string"` + // The type of Capacity Reservation. + ReservationType *string `locationName:"reservationType" type:"string" enum:"CapacityReservationType"` + // The date and time at which the Capacity Reservation was started. StartDate *time.Time `locationName:"startDate" type:"timestamp"` @@ -64171,6 +64493,12 @@ func (s *CapacityReservation) SetPlacementGroupArn(v string) *CapacityReservatio return s } +// SetReservationType sets the ReservationType field's value. +func (s *CapacityReservation) SetReservationType(v string) *CapacityReservation { + s.ReservationType = &v + return s +} + // SetStartDate sets the StartDate field's value. func (s *CapacityReservation) SetStartDate(v time.Time) *CapacityReservation { s.StartDate = &v @@ -89502,6 +89830,175 @@ func (s *DescribeByoipCidrsOutput) SetNextToken(v string) *DescribeByoipCidrsOut return s } +type DescribeCapacityBlockOfferingsInput struct { + _ struct{} `type:"structure"` + + // The number of hours for which to reserve Capacity Block. + // + // CapacityDurationHours is a required field + CapacityDurationHours *int64 `type:"integer" required:"true"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The latest end date for the Capacity Block offering. + EndDateRange *time.Time `type:"timestamp"` + + // The number of instances for which to reserve capacity. + // + // InstanceCount is a required field + InstanceCount *int64 `type:"integer" required:"true"` + + // The type of instance for which the Capacity Block offering reserves capacity. + // + // InstanceType is a required field + InstanceType *string `type:"string" required:"true"` + + // The maximum number of results to return for the request in a single page. + // The remaining results can be seen by sending another request with the returned + // nextToken value. This value can be between 5 and 500. If maxResults is given + // a larger value than 500, you receive an error. + MaxResults *int64 `min:"1" type:"integer"` + + // The token to use to retrieve the next page of results. + NextToken *string `type:"string"` + + // The earliest start date for the Capacity Block offering. + StartDateRange *time.Time `type:"timestamp"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeCapacityBlockOfferingsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeCapacityBlockOfferingsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeCapacityBlockOfferingsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeCapacityBlockOfferingsInput"} + if s.CapacityDurationHours == nil { + invalidParams.Add(request.NewErrParamRequired("CapacityDurationHours")) + } + if s.InstanceCount == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceCount")) + } + if s.InstanceType == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceType")) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCapacityDurationHours sets the CapacityDurationHours field's value. +func (s *DescribeCapacityBlockOfferingsInput) SetCapacityDurationHours(v int64) *DescribeCapacityBlockOfferingsInput { + s.CapacityDurationHours = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *DescribeCapacityBlockOfferingsInput) SetDryRun(v bool) *DescribeCapacityBlockOfferingsInput { + s.DryRun = &v + return s +} + +// SetEndDateRange sets the EndDateRange field's value. +func (s *DescribeCapacityBlockOfferingsInput) SetEndDateRange(v time.Time) *DescribeCapacityBlockOfferingsInput { + s.EndDateRange = &v + return s +} + +// SetInstanceCount sets the InstanceCount field's value. +func (s *DescribeCapacityBlockOfferingsInput) SetInstanceCount(v int64) *DescribeCapacityBlockOfferingsInput { + s.InstanceCount = &v + return s +} + +// SetInstanceType sets the InstanceType field's value. +func (s *DescribeCapacityBlockOfferingsInput) SetInstanceType(v string) *DescribeCapacityBlockOfferingsInput { + s.InstanceType = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeCapacityBlockOfferingsInput) SetMaxResults(v int64) *DescribeCapacityBlockOfferingsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeCapacityBlockOfferingsInput) SetNextToken(v string) *DescribeCapacityBlockOfferingsInput { + s.NextToken = &v + return s +} + +// SetStartDateRange sets the StartDateRange field's value. +func (s *DescribeCapacityBlockOfferingsInput) SetStartDateRange(v time.Time) *DescribeCapacityBlockOfferingsInput { + s.StartDateRange = &v + return s +} + +type DescribeCapacityBlockOfferingsOutput struct { + _ struct{} `type:"structure"` + + // The recommended Capacity Block offering for the dates specified. + CapacityBlockOfferings []*CapacityBlockOffering `locationName:"capacityBlockOfferingSet" locationNameList:"item" type:"list"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeCapacityBlockOfferingsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeCapacityBlockOfferingsOutput) GoString() string { + return s.String() +} + +// SetCapacityBlockOfferings sets the CapacityBlockOfferings field's value. +func (s *DescribeCapacityBlockOfferingsOutput) SetCapacityBlockOfferings(v []*CapacityBlockOffering) *DescribeCapacityBlockOfferingsOutput { + s.CapacityBlockOfferings = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeCapacityBlockOfferingsOutput) SetNextToken(v string) *DescribeCapacityBlockOfferingsOutput { + s.NextToken = &v + return s +} + type DescribeCapacityReservationFleetsInput struct { _ struct{} `type:"structure"` @@ -132589,8 +133086,10 @@ func (s *InstancePrivateIpAddress) SetPrivateIpAddress(v string) *InstancePrivat // or with the RunInstances API (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html), // you can't specify InstanceRequirements. // -// For more information, see Attribute-based instance type selection for EC2 -// Fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html), +// For more information, see Create a mixed instances group using attribute-based +// instance type selection (https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html) +// in the Amazon EC2 Auto Scaling User Guide, and also Attribute-based instance +// type selection for EC2 Fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html), // Attribute-based instance type selection for Spot Fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html), // and Spot placement score (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html) // in the Amazon EC2 User Guide. @@ -157207,6 +157706,118 @@ func (s *Purchase) SetUpfrontPrice(v string) *Purchase { return s } +type PurchaseCapacityBlockInput struct { + _ struct{} `type:"structure"` + + // The ID of the Capacity Block offering. + // + // CapacityBlockOfferingId is a required field + CapacityBlockOfferingId *string `type:"string" required:"true"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The type of operating system for which to reserve capacity. + // + // InstancePlatform is a required field + InstancePlatform *string `type:"string" required:"true" enum:"CapacityReservationInstancePlatform"` + + // The tags to apply to the Capacity Block during launch. + TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PurchaseCapacityBlockInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PurchaseCapacityBlockInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PurchaseCapacityBlockInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PurchaseCapacityBlockInput"} + if s.CapacityBlockOfferingId == nil { + invalidParams.Add(request.NewErrParamRequired("CapacityBlockOfferingId")) + } + if s.InstancePlatform == nil { + invalidParams.Add(request.NewErrParamRequired("InstancePlatform")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCapacityBlockOfferingId sets the CapacityBlockOfferingId field's value. +func (s *PurchaseCapacityBlockInput) SetCapacityBlockOfferingId(v string) *PurchaseCapacityBlockInput { + s.CapacityBlockOfferingId = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *PurchaseCapacityBlockInput) SetDryRun(v bool) *PurchaseCapacityBlockInput { + s.DryRun = &v + return s +} + +// SetInstancePlatform sets the InstancePlatform field's value. +func (s *PurchaseCapacityBlockInput) SetInstancePlatform(v string) *PurchaseCapacityBlockInput { + s.InstancePlatform = &v + return s +} + +// SetTagSpecifications sets the TagSpecifications field's value. +func (s *PurchaseCapacityBlockInput) SetTagSpecifications(v []*TagSpecification) *PurchaseCapacityBlockInput { + s.TagSpecifications = v + return s +} + +type PurchaseCapacityBlockOutput struct { + _ struct{} `type:"structure"` + + // The Capacity Reservation. + CapacityReservation *CapacityReservation `locationName:"capacityReservation" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PurchaseCapacityBlockOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PurchaseCapacityBlockOutput) GoString() string { + return s.String() +} + +// SetCapacityReservation sets the CapacityReservation field's value. +func (s *PurchaseCapacityBlockOutput) SetCapacityReservation(v *CapacityReservation) *PurchaseCapacityBlockOutput { + s.CapacityReservation = v + return s +} + type PurchaseHostReservationInput struct { _ struct{} `type:"structure"` @@ -184908,6 +185519,15 @@ const ( // CapacityReservationStateFailed is a CapacityReservationState enum value CapacityReservationStateFailed = "failed" + + // CapacityReservationStateScheduled is a CapacityReservationState enum value + CapacityReservationStateScheduled = "scheduled" + + // CapacityReservationStatePaymentPending is a CapacityReservationState enum value + CapacityReservationStatePaymentPending = "payment-pending" + + // CapacityReservationStatePaymentFailed is a CapacityReservationState enum value + CapacityReservationStatePaymentFailed = "payment-failed" ) // CapacityReservationState_Values returns all elements of the CapacityReservationState enum @@ -184918,6 +185538,9 @@ func CapacityReservationState_Values() []string { CapacityReservationStateCancelled, CapacityReservationStatePending, CapacityReservationStateFailed, + CapacityReservationStateScheduled, + CapacityReservationStatePaymentPending, + CapacityReservationStatePaymentFailed, } } @@ -184937,6 +185560,22 @@ func CapacityReservationTenancy_Values() []string { } } +const ( + // CapacityReservationTypeDefault is a CapacityReservationType enum value + CapacityReservationTypeDefault = "default" + + // CapacityReservationTypeCapacityBlock is a CapacityReservationType enum value + CapacityReservationTypeCapacityBlock = "capacity-block" +) + +// CapacityReservationType_Values returns all elements of the CapacityReservationType enum +func CapacityReservationType_Values() []string { + return []string{ + CapacityReservationTypeDefault, + CapacityReservationTypeCapacityBlock, + } +} + const ( // CarrierGatewayStatePending is a CarrierGatewayState enum value CarrierGatewayStatePending = "pending" @@ -185287,6 +185926,9 @@ const ( // DefaultTargetCapacityTypeOnDemand is a DefaultTargetCapacityType enum value DefaultTargetCapacityTypeOnDemand = "on-demand" + + // DefaultTargetCapacityTypeCapacityBlock is a DefaultTargetCapacityType enum value + DefaultTargetCapacityTypeCapacityBlock = "capacity-block" ) // DefaultTargetCapacityType_Values returns all elements of the DefaultTargetCapacityType enum @@ -185294,6 +185936,7 @@ func DefaultTargetCapacityType_Values() []string { return []string{ DefaultTargetCapacityTypeSpot, DefaultTargetCapacityTypeOnDemand, + DefaultTargetCapacityTypeCapacityBlock, } } @@ -186679,6 +187322,9 @@ const ( // InstanceLifecycleTypeScheduled is a InstanceLifecycleType enum value InstanceLifecycleTypeScheduled = "scheduled" + + // InstanceLifecycleTypeCapacityBlock is a InstanceLifecycleType enum value + InstanceLifecycleTypeCapacityBlock = "capacity-block" ) // InstanceLifecycleType_Values returns all elements of the InstanceLifecycleType enum @@ -186686,6 +187332,7 @@ func InstanceLifecycleType_Values() []string { return []string{ InstanceLifecycleTypeSpot, InstanceLifecycleTypeScheduled, + InstanceLifecycleTypeCapacityBlock, } } @@ -190892,12 +191539,16 @@ func LogDestinationType_Values() []string { const ( // MarketTypeSpot is a MarketType enum value MarketTypeSpot = "spot" + + // MarketTypeCapacityBlock is a MarketType enum value + MarketTypeCapacityBlock = "capacity-block" ) // MarketType_Values returns all elements of the MarketType enum func MarketType_Values() []string { return []string{ MarketTypeSpot, + MarketTypeCapacityBlock, } } @@ -193627,6 +194278,9 @@ const ( // UsageClassTypeOnDemand is a UsageClassType enum value UsageClassTypeOnDemand = "on-demand" + + // UsageClassTypeCapacityBlock is a UsageClassType enum value + UsageClassTypeCapacityBlock = "capacity-block" ) // UsageClassType_Values returns all elements of the UsageClassType enum @@ -193634,6 +194288,7 @@ func UsageClassType_Values() []string { return []string{ UsageClassTypeSpot, UsageClassTypeOnDemand, + UsageClassTypeCapacityBlock, } } diff --git a/service/ec2/ec2iface/interface.go b/service/ec2/ec2iface/interface.go index 43834c1dfdf..c119b4cec24 100644 --- a/service/ec2/ec2iface/interface.go +++ b/service/ec2/ec2iface/interface.go @@ -976,6 +976,13 @@ type EC2API interface { DescribeByoipCidrsPages(*ec2.DescribeByoipCidrsInput, func(*ec2.DescribeByoipCidrsOutput, bool) bool) error DescribeByoipCidrsPagesWithContext(aws.Context, *ec2.DescribeByoipCidrsInput, func(*ec2.DescribeByoipCidrsOutput, bool) bool, ...request.Option) error + DescribeCapacityBlockOfferings(*ec2.DescribeCapacityBlockOfferingsInput) (*ec2.DescribeCapacityBlockOfferingsOutput, error) + DescribeCapacityBlockOfferingsWithContext(aws.Context, *ec2.DescribeCapacityBlockOfferingsInput, ...request.Option) (*ec2.DescribeCapacityBlockOfferingsOutput, error) + DescribeCapacityBlockOfferingsRequest(*ec2.DescribeCapacityBlockOfferingsInput) (*request.Request, *ec2.DescribeCapacityBlockOfferingsOutput) + + DescribeCapacityBlockOfferingsPages(*ec2.DescribeCapacityBlockOfferingsInput, func(*ec2.DescribeCapacityBlockOfferingsOutput, bool) bool) error + DescribeCapacityBlockOfferingsPagesWithContext(aws.Context, *ec2.DescribeCapacityBlockOfferingsInput, func(*ec2.DescribeCapacityBlockOfferingsOutput, bool) bool, ...request.Option) error + DescribeCapacityReservationFleets(*ec2.DescribeCapacityReservationFleetsInput) (*ec2.DescribeCapacityReservationFleetsOutput, error) DescribeCapacityReservationFleetsWithContext(aws.Context, *ec2.DescribeCapacityReservationFleetsInput, ...request.Option) (*ec2.DescribeCapacityReservationFleetsOutput, error) DescribeCapacityReservationFleetsRequest(*ec2.DescribeCapacityReservationFleetsInput) (*request.Request, *ec2.DescribeCapacityReservationFleetsOutput) @@ -2621,6 +2628,10 @@ type EC2API interface { ProvisionPublicIpv4PoolCidrWithContext(aws.Context, *ec2.ProvisionPublicIpv4PoolCidrInput, ...request.Option) (*ec2.ProvisionPublicIpv4PoolCidrOutput, error) ProvisionPublicIpv4PoolCidrRequest(*ec2.ProvisionPublicIpv4PoolCidrInput) (*request.Request, *ec2.ProvisionPublicIpv4PoolCidrOutput) + PurchaseCapacityBlock(*ec2.PurchaseCapacityBlockInput) (*ec2.PurchaseCapacityBlockOutput, error) + PurchaseCapacityBlockWithContext(aws.Context, *ec2.PurchaseCapacityBlockInput, ...request.Option) (*ec2.PurchaseCapacityBlockOutput, error) + PurchaseCapacityBlockRequest(*ec2.PurchaseCapacityBlockInput) (*request.Request, *ec2.PurchaseCapacityBlockOutput) + PurchaseHostReservation(*ec2.PurchaseHostReservationInput) (*ec2.PurchaseHostReservationOutput, error) PurchaseHostReservationWithContext(aws.Context, *ec2.PurchaseHostReservationInput, ...request.Option) (*ec2.PurchaseHostReservationOutput, error) PurchaseHostReservationRequest(*ec2.PurchaseHostReservationInput) (*request.Request, *ec2.PurchaseHostReservationOutput) diff --git a/service/m2/api.go b/service/m2/api.go index a82e71e87ae..fe3bc518780 100644 --- a/service/m2/api.go +++ b/service/m2/api.go @@ -1110,12 +1110,22 @@ func (c *M2) GetDataSetDetailsRequest(input *GetDataSetDetailsInput) (req *reque // - ResourceNotFoundException // The specified resource was not found. // +// - ExecutionTimeoutException +// Failed to connect to server, or didn’t receive response within expected +// time period. +// +// - ServiceUnavailableException +// Server cannot process the request at the moment. +// // - ThrottlingException // The number of requests made exceeds the limit. // // - AccessDeniedException // The account or role doesn't have the right permissions to make the request. // +// - ConflictException +// The parameters provided in the request conflict with existing resources. +// // - ValidationException // One or more parameters provided in the request is not valid. // @@ -2312,12 +2322,22 @@ func (c *M2) ListDataSetsRequest(input *ListDataSetsInput) (req *request.Request // - ResourceNotFoundException // The specified resource was not found. // +// - ExecutionTimeoutException +// Failed to connect to server, or didn’t receive response within expected +// time period. +// +// - ServiceUnavailableException +// Server cannot process the request at the moment. +// // - ThrottlingException // The number of requests made exceeds the limit. // // - AccessDeniedException // The account or role doesn't have the right permissions to make the request. // +// - ConflictException +// The parameters provided in the request conflict with existing resources. +// // - ValidationException // One or more parameters provided in the request is not valid. // @@ -4135,6 +4155,10 @@ type BatchJobIdentifier struct { // Specifies a file associated with a specific batch job. FileBatchJobIdentifier *FileBatchJobIdentifier `locationName:"fileBatchJobIdentifier" type:"structure"` + // Specifies an Amazon S3 location that identifies the batch jobs that you want + // to run. Use this identifier to run ad hoc batch jobs. + S3BatchJobIdentifier *S3BatchJobIdentifier `locationName:"s3BatchJobIdentifier" type:"structure"` + // A batch job identifier in which the batch job to run is identified by the // script name. ScriptBatchJobIdentifier *ScriptBatchJobIdentifier `locationName:"scriptBatchJobIdentifier" type:"structure"` @@ -4166,6 +4190,11 @@ func (s *BatchJobIdentifier) Validate() error { invalidParams.AddNested("FileBatchJobIdentifier", err.(request.ErrInvalidParams)) } } + if s.S3BatchJobIdentifier != nil { + if err := s.S3BatchJobIdentifier.Validate(); err != nil { + invalidParams.AddNested("S3BatchJobIdentifier", err.(request.ErrInvalidParams)) + } + } if s.ScriptBatchJobIdentifier != nil { if err := s.ScriptBatchJobIdentifier.Validate(); err != nil { invalidParams.AddNested("ScriptBatchJobIdentifier", err.(request.ErrInvalidParams)) @@ -4184,6 +4213,12 @@ func (s *BatchJobIdentifier) SetFileBatchJobIdentifier(v *FileBatchJobIdentifier return s } +// SetS3BatchJobIdentifier sets the S3BatchJobIdentifier field's value. +func (s *BatchJobIdentifier) SetS3BatchJobIdentifier(v *S3BatchJobIdentifier) *BatchJobIdentifier { + s.S3BatchJobIdentifier = v + return s +} + // SetScriptBatchJobIdentifier sets the ScriptBatchJobIdentifier field's value. func (s *BatchJobIdentifier) SetScriptBatchJobIdentifier(v *ScriptBatchJobIdentifier) *BatchJobIdentifier { s.ScriptBatchJobIdentifier = v @@ -4817,8 +4852,12 @@ type CreateEnvironmentInput struct { // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` - // Configures the maintenance window you want for the runtime environment. If - // you do not provide a value, a random system-generated value will be assigned. + // Configures the maintenance window that you want for the runtime environment. + // The maintenance window must have the format ddd:hh24:mi-ddd:hh24:mi and must + // be less than 24 hours. The following two examples are valid maintenance windows: + // sun:23:45-mon:00:15 or sat:01:00-sat:03:00. + // + // If you do not provide a value, a random system-generated value will be assigned. PreferredMaintenanceWindow *string `locationName:"preferredMaintenanceWindow" type:"string"` // Specifies whether the runtime environment is publicly accessible. @@ -5330,6 +5369,9 @@ type DataSetImportTask struct { // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"DataSetTaskLifecycle"` + // If dataset import failed, the failure reason will show here. + StatusReason *string `locationName:"statusReason" type:"string"` + // A summary of the data set import task. // // Summary is a required field @@ -5365,6 +5407,12 @@ func (s *DataSetImportTask) SetStatus(v string) *DataSetImportTask { return s } +// SetStatusReason sets the StatusReason field's value. +func (s *DataSetImportTask) SetStatusReason(v string) *DataSetImportTask { + s.StatusReason = &v + return s +} + // SetSummary sets the Summary field's value. func (s *DataSetImportTask) SetSummary(v *DataSetImportSummary) *DataSetImportTask { s.Summary = v @@ -6259,6 +6307,71 @@ func (s *EnvironmentSummary) SetStatus(v string) *EnvironmentSummary { return s } +// Failed to connect to server, or didn’t receive response within expected +// time period. +type ExecutionTimeoutException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ExecutionTimeoutException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ExecutionTimeoutException) GoString() string { + return s.String() +} + +func newErrorExecutionTimeoutException(v protocol.ResponseMetadata) error { + return &ExecutionTimeoutException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ExecutionTimeoutException) Code() string { + return "ExecutionTimeoutException" +} + +// Message returns the exception's message. +func (s *ExecutionTimeoutException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ExecutionTimeoutException) OrigErr() error { + return nil +} + +func (s *ExecutionTimeoutException) 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 *ExecutionTimeoutException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ExecutionTimeoutException) RequestID() string { + return s.RespMetadata.RequestID +} + // Defines an external storage location. type ExternalLocation struct { _ struct{} `type:"structure"` @@ -7268,6 +7381,9 @@ type GetDataSetDetailsOutput struct { // The type of data set. The only supported value is VSAM. DataSetOrg *DatasetDetailOrgAttributes `locationName:"dataSetOrg" type:"structure"` + // File size of the dataset. + FileSize *int64 `locationName:"fileSize" type:"long"` + // The last time the data set was referenced. LastReferencedTime *time.Time `locationName:"lastReferencedTime" type:"timestamp"` @@ -7323,6 +7439,12 @@ func (s *GetDataSetDetailsOutput) SetDataSetOrg(v *DatasetDetailOrgAttributes) * return s } +// SetFileSize sets the FileSize field's value. +func (s *GetDataSetDetailsOutput) SetFileSize(v int64) *GetDataSetDetailsOutput { + s.FileSize = &v + return s +} + // SetLastReferencedTime sets the LastReferencedTime field's value. func (s *GetDataSetDetailsOutput) SetLastReferencedTime(v time.Time) *GetDataSetDetailsOutput { s.LastReferencedTime = &v @@ -7682,7 +7804,7 @@ type GetEnvironmentOutput struct { _ struct{} `type:"structure"` // The number of instances included in the runtime environment. A standalone - // runtime environment has a maxiumum of one instance. Currently, a high availability + // runtime environment has a maximum of one instance. Currently, a high availability // runtime environment has a maximum of two instances. ActualCapacity *int64 `locationName:"actualCapacity" type:"integer"` @@ -7738,8 +7860,8 @@ type GetEnvironmentOutput struct { // Indicates the pending maintenance scheduled on this environment. PendingMaintenance *PendingMaintenance `locationName:"pendingMaintenance" type:"structure"` - // Configures the maintenance window you want for the runtime environment. If - // you do not provide a value, a random system-generated value will be assigned. + // The maintenance window for the runtime environment. If you don't provide + // a value for the maintenance window, the service assigns a random value. PreferredMaintenanceWindow *string `locationName:"preferredMaintenanceWindow" type:"string"` // Whether applications running in this runtime environment are publicly accessible. @@ -8095,6 +8217,47 @@ func (s *InternalServerException) RequestID() string { return s.RespMetadata.RequestID } +// Identifies a specific batch job. +type JobIdentifier struct { + _ struct{} `type:"structure"` + + // The name of the file that contains the batch job definition. + FileName *string `locationName:"fileName" type:"string"` + + // The name of the script that contains the batch job definition. + ScriptName *string `locationName:"scriptName" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s JobIdentifier) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s JobIdentifier) GoString() string { + return s.String() +} + +// SetFileName sets the FileName field's value. +func (s *JobIdentifier) SetFileName(v string) *JobIdentifier { + s.FileName = &v + return s +} + +// SetScriptName sets the ScriptName field's value. +func (s *JobIdentifier) SetScriptName(v string) *JobIdentifier { + s.ScriptName = &v + return s +} + type ListApplicationVersionsInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -8743,6 +8906,10 @@ type ListDataSetsInput struct { // The maximum number of objects to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + // Filter dataset name matching the specified pattern. Can use * and % as wild + // cards. + NameFilter *string `location:"querystring" locationName:"nameFilter" type:"string"` + // A pagination token returned from a previous call to this operation. This // specifies the next item to return. To return to the beginning of the list, // exclude this parameter. @@ -8802,6 +8969,12 @@ func (s *ListDataSetsInput) SetMaxResults(v int64) *ListDataSetsInput { return s } +// SetNameFilter sets the NameFilter field's value. +func (s *ListDataSetsInput) SetNameFilter(v string) *ListDataSetsInput { + s.NameFilter = &v + return s +} + // SetNextToken sets the NextToken field's value. func (s *ListDataSetsInput) SetNextToken(v string) *ListDataSetsInput { s.NextToken = &v @@ -9835,6 +10008,80 @@ func (s *ResourceNotFoundException) RequestID() string { return s.RespMetadata.RequestID } +// A batch job identifier in which the batch jobs to run are identified by an +// Amazon S3 location. +type S3BatchJobIdentifier struct { + _ struct{} `type:"structure"` + + // The Amazon S3 bucket that contains the batch job definitions. + // + // Bucket is a required field + Bucket *string `locationName:"bucket" type:"string" required:"true"` + + // Identifies the batch job definition. This identifier can also point to any + // batch job definition that already exists in the application or to one of + // the batch job definitions within the directory that is specified in keyPrefix. + // + // Identifier is a required field + Identifier *JobIdentifier `locationName:"identifier" type:"structure" required:"true"` + + // The key prefix that specifies the path to the folder in the S3 bucket that + // has the batch job definitions. + KeyPrefix *string `locationName:"keyPrefix" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s S3BatchJobIdentifier) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s S3BatchJobIdentifier) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *S3BatchJobIdentifier) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "S3BatchJobIdentifier"} + if s.Bucket == nil { + invalidParams.Add(request.NewErrParamRequired("Bucket")) + } + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBucket sets the Bucket field's value. +func (s *S3BatchJobIdentifier) SetBucket(v string) *S3BatchJobIdentifier { + s.Bucket = &v + return s +} + +// SetIdentifier sets the Identifier field's value. +func (s *S3BatchJobIdentifier) SetIdentifier(v *JobIdentifier) *S3BatchJobIdentifier { + s.Identifier = v + return s +} + +// SetKeyPrefix sets the KeyPrefix field's value. +func (s *S3BatchJobIdentifier) SetKeyPrefix(v string) *S3BatchJobIdentifier { + s.KeyPrefix = &v + return s +} + // A batch job definition contained in a script. type ScriptBatchJobDefinition struct { _ struct{} `type:"structure"` @@ -9995,6 +10242,70 @@ func (s *ServiceQuotaExceededException) RequestID() string { return s.RespMetadata.RequestID } +// Server cannot process the request at the moment. +type ServiceUnavailableException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ServiceUnavailableException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s 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 +} + type StartApplicationInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -10413,7 +10724,7 @@ type ThrottlingException struct { Message_ *string `locationName:"message" type:"string"` - // The identifier of the throttled reuqest. + // The identifier of the throttled request. QuotaCode *string `locationName:"quotaCode" type:"string"` // The number of seconds to wait before retrying the request. @@ -10709,11 +11020,26 @@ type UpdateEnvironmentInput struct { // EnvironmentId is a required field EnvironmentId *string `location:"uri" locationName:"environmentId" type:"string" required:"true"` + // Forces the updates on the environment. This option is needed if the applications + // in the environment are not stopped or if there are ongoing application-related + // activities in the environment. + // + // If you use this option, be aware that it could lead to data corruption in + // the applications, and that you might need to perform repair and recovery + // procedures for the applications. + // + // This option is not needed if the attribute being updated is preferredMaintenanceWindow. + ForceUpdate *bool `locationName:"forceUpdate" type:"boolean"` + // The instance type for the runtime environment to update. InstanceType *string `locationName:"instanceType" type:"string"` - // Configures the maintenance window you want for the runtime environment. If - // you do not provide a value, a random system-generated value will be assigned. + // Configures the maintenance window that you want for the runtime environment. + // The maintenance window must have the format ddd:hh24:mi-ddd:hh24:mi and must + // be less than 24 hours. The following two examples are valid maintenance windows: + // sun:23:45-mon:00:15 or sat:01:00-sat:03:00. + // + // If you do not provide a value, a random system-generated value will be assigned. PreferredMaintenanceWindow *string `locationName:"preferredMaintenanceWindow" type:"string"` } @@ -10775,6 +11101,12 @@ func (s *UpdateEnvironmentInput) SetEnvironmentId(v string) *UpdateEnvironmentIn return s } +// SetForceUpdate sets the ForceUpdate field's value. +func (s *UpdateEnvironmentInput) SetForceUpdate(v bool) *UpdateEnvironmentInput { + s.ForceUpdate = &v + return s +} + // SetInstanceType sets the InstanceType field's value. func (s *UpdateEnvironmentInput) SetInstanceType(v string) *UpdateEnvironmentInput { s.InstanceType = &v @@ -11280,6 +11612,9 @@ const ( // DataSetTaskLifecycleCompleted is a DataSetTaskLifecycle enum value DataSetTaskLifecycleCompleted = "Completed" + + // DataSetTaskLifecycleFailed is a DataSetTaskLifecycle enum value + DataSetTaskLifecycleFailed = "Failed" ) // DataSetTaskLifecycle_Values returns all elements of the DataSetTaskLifecycle enum @@ -11288,6 +11623,7 @@ func DataSetTaskLifecycle_Values() []string { DataSetTaskLifecycleCreating, DataSetTaskLifecycleRunning, DataSetTaskLifecycleCompleted, + DataSetTaskLifecycleFailed, } } @@ -11300,6 +11636,9 @@ const ( // DeploymentLifecycleFailed is a DeploymentLifecycle enum value DeploymentLifecycleFailed = "Failed" + + // DeploymentLifecycleUpdatingDeployment is a DeploymentLifecycle enum value + DeploymentLifecycleUpdatingDeployment = "Updating Deployment" ) // DeploymentLifecycle_Values returns all elements of the DeploymentLifecycle enum @@ -11308,6 +11647,7 @@ func DeploymentLifecycle_Values() []string { DeploymentLifecycleDeploying, DeploymentLifecycleSucceeded, DeploymentLifecycleFailed, + DeploymentLifecycleUpdatingDeployment, } } diff --git a/service/m2/errors.go b/service/m2/errors.go index e1e45b999a3..c5b6726372e 100644 --- a/service/m2/errors.go +++ b/service/m2/errors.go @@ -20,6 +20,13 @@ const ( // The parameters provided in the request conflict with existing resources. ErrCodeConflictException = "ConflictException" + // ErrCodeExecutionTimeoutException for service response error code + // "ExecutionTimeoutException". + // + // Failed to connect to server, or didn’t receive response within expected + // time period. + ErrCodeExecutionTimeoutException = "ExecutionTimeoutException" + // ErrCodeInternalServerException for service response error code // "InternalServerException". // @@ -39,6 +46,12 @@ const ( // the limit. ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" + // ErrCodeServiceUnavailableException for service response error code + // "ServiceUnavailableException". + // + // Server cannot process the request at the moment. + ErrCodeServiceUnavailableException = "ServiceUnavailableException" + // ErrCodeThrottlingException for service response error code // "ThrottlingException". // @@ -55,9 +68,11 @@ const ( var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "AccessDeniedException": newErrorAccessDeniedException, "ConflictException": newErrorConflictException, + "ExecutionTimeoutException": newErrorExecutionTimeoutException, "InternalServerException": newErrorInternalServerException, "ResourceNotFoundException": newErrorResourceNotFoundException, "ServiceQuotaExceededException": newErrorServiceQuotaExceededException, + "ServiceUnavailableException": newErrorServiceUnavailableException, "ThrottlingException": newErrorThrottlingException, "ValidationException": newErrorValidationException, } diff --git a/service/neptunedata/api.go b/service/neptunedata/api.go index 2e53d898b10..3c4c365e1f9 100644 --- a/service/neptunedata/api.go +++ b/service/neptunedata/api.go @@ -1863,7 +1863,7 @@ func (c *Neptunedata) ExecuteOpenCypherExplainQueryRequest(input *ExecuteOpenCyp // that allows the neptune-db:ReadDataViaQuery (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#readdataviaquery) // IAM action in that cluster. // -// Note that the neptune-db:QueryLanguage:Opencypher (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys) +// Note that the neptune-db:QueryLanguage:OpenCypher (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys) // IAM condition key can be used in the policy document to restrict the use // of openCypher queries (see Condition keys available in Neptune IAM data-access // policy statements (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html)). @@ -2716,7 +2716,7 @@ func (c *Neptunedata) GetOpenCypherQueryStatusRequest(input *GetOpenCypherQueryS // that allows the neptune-db:GetQueryStatus (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getquerystatus) // IAM action in that cluster. // -// Note that the neptune-db:QueryLanguage:Opencypher (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys) +// Note that the neptune-db:QueryLanguage:OpenCypher (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys) // IAM condition key can be used in the policy document to restrict the use // of openCypher queries (see Condition keys available in Neptune IAM data-access // policy statements (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html)). @@ -4178,7 +4178,7 @@ func (c *Neptunedata) ListOpenCypherQueriesRequest(input *ListOpenCypherQueriesI // that allows the neptune-db:GetQueryStatus (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getquerystatus) // IAM action in that cluster. // -// Note that the neptune-db:QueryLanguage:Opencypher (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys) +// Note that the neptune-db:QueryLanguage:OpenCypher (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys) // IAM condition key can be used in the policy document to restrict the use // of openCypher queries (see Condition keys available in Neptune IAM data-access // policy statements (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html)). @@ -11976,7 +11976,8 @@ type StartLoaderJobInput struct { // // You don't have to wait for one load job to complete before issuing the next // one, because Neptune can queue up as many as 64 jobs at a time, provided - // that their queueRequest parameters are all set to "TRUE". + // that their queueRequest parameters are all set to "TRUE". The queue order + // of the jobs will be first-in-first-out (FIFO). // // If the queueRequest parameter is omitted or set to "FALSE", the load request // will fail if another load job is already running. diff --git a/service/translate/api.go b/service/translate/api.go index 4494ea12e9f..0c95131c2a8 100644 --- a/service/translate/api.go +++ b/service/translate/api.go @@ -1823,12 +1823,11 @@ func (c *Translate) TranslateDocumentRequest(input *TranslateDocumentInput) (req // TranslateDocument API operation for Amazon Translate. // // Translates the input document from the source language to the target language. -// This synchronous operation supports plain text or HTML for the input document. -// TranslateDocument supports translations from English to any supported language, -// and from any supported language to English. Therefore, specify either the -// source language code or the target language code as “en” (English). -// -// TranslateDocument does not support language auto-detection. +// This synchronous operation supports text, HTML, or Word documents as the +// input document. TranslateDocument supports translations from English to any +// supported language, and from any supported language to English. Therefore, +// specify either the source language code or the target language code as “en” +// (English). // // If you set the Formality parameter, the request will fail if the target language // does not support formality. For a list of target languages that support formality, @@ -2341,11 +2340,6 @@ func (s *CreateParallelDataInput) Validate() error { invalidParams.AddNested("EncryptionKey", err.(request.ErrInvalidParams)) } } - if s.ParallelDataConfig != nil { - if err := s.ParallelDataConfig.Validate(); err != nil { - invalidParams.AddNested("ParallelDataConfig", err.(request.ErrInvalidParams)) - } - } if s.Tags != nil { for i, v := range s.Tags { if v == nil { @@ -4400,15 +4394,11 @@ type ParallelDataConfig struct { _ struct{} `type:"structure"` // The format of the parallel data input file. - // - // Format is a required field - Format *string `type:"string" required:"true" enum:"ParallelDataFormat"` + Format *string `type:"string" enum:"ParallelDataFormat"` // The URI of the Amazon S3 folder that contains the parallel data input file. // The folder must be in the same Region as the API endpoint you are calling. - // - // S3Uri is a required field - S3Uri *string `type:"string" required:"true"` + S3Uri *string `type:"string"` } // String returns the string representation. @@ -4429,22 +4419,6 @@ func (s ParallelDataConfig) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ParallelDataConfig) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ParallelDataConfig"} - if s.Format == nil { - invalidParams.Add(request.NewErrParamRequired("Format")) - } - if s.S3Uri == nil { - invalidParams.Add(request.NewErrParamRequired("S3Uri")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - // SetFormat sets the Format field's value. func (s *ParallelDataConfig) SetFormat(v string) *ParallelDataConfig { s.Format = &v @@ -4881,9 +4855,14 @@ type StartTextTranslationJobInput struct { // (https://docs.aws.amazon.com/translate/latest/dg/customizing-translations-parallel-data.html). ParallelDataNames []*string `type:"list"` - // Settings to configure your translation output, including the option to set - // the formality level of the output text and the option to mask profane words - // and phrases. + // Settings to configure your translation output. You can configure the following + // options: + // + // * Brevity: not supported. + // + // * Formality: sets the formality level of the output text. + // + // * Profanity: masks profane words and phrases in your translation output. Settings *TranslationSettings `type:"structure"` // The language code of the input language. Specify the language if all input @@ -5723,9 +5702,14 @@ func (s *TerminologyProperties) SetTermCount(v int64) *TerminologyProperties { type TextInput struct { _ struct{} `type:"structure"` - // Settings to configure your translation output, including the option to set - // the formality level of the output text and the option to mask profane words - // and phrases. + // Settings to configure your translation output. You can configure the following + // options: + // + // * Brevity: reduces the length of the translated output for most translations. + // + // * Formality: sets the formality level of the output text. + // + // * Profanity: masks profane words and phrases in your translation output. Settings *TranslationSettings `type:"structure"` // The language code for the language of the source text. For a list of language @@ -6366,14 +6350,27 @@ type TranslateDocumentInput struct { // Document is a required field Document *Document `type:"structure" required:"true"` - // Settings to configure your translation output, including the option to set - // the formality level of the output text and the option to mask profane words - // and phrases. + // Settings to configure your translation output. You can configure the following + // options: + // + // * Brevity: not supported. + // + // * Formality: sets the formality level of the output text. + // + // * Profanity: masks profane words and phrases in your translation output. Settings *TranslationSettings `type:"structure"` - // The language code for the language of the source text. Do not use auto, because - // TranslateDocument does not support language auto-detection. For a list of - // supported language codes, see Supported languages (https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html). + // The language code for the language of the source text. For a list of supported + // language codes, see Supported languages (https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html). + // + // To have Amazon Translate determine the source language of your text, you + // can specify auto in the SourceLanguageCode field. If you specify auto, Amazon + // Translate will call Amazon Comprehend (https://docs.aws.amazon.com/comprehend/latest/dg/comprehend-general.html) + // to determine the source language. + // + // If you specify auto, you must send the TranslateDocument request in a region + // that supports Amazon Comprehend. Otherwise, the request returns an error + // indicating that autodetect is not supported. // // SourceLanguageCode is a required field SourceLanguageCode *string `min:"2" type:"string" required:"true"` @@ -6477,9 +6474,15 @@ func (s *TranslateDocumentInput) SetTerminologyNames(v []*string) *TranslateDocu type TranslateDocumentOutput struct { _ struct{} `type:"structure"` - // Settings to configure your translation output, including the option to set - // the formality level of the output text and the option to mask profane words - // and phrases. + // Settings to configure your translation output. You can configure the following + // options: + // + // * Brevity: reduces the length of the translation output for most translations. + // Available for TranslateText only. + // + // * Formality: sets the formality level of the translation output. + // + // * Profanity: masks profane words and phrases in the translation output. AppliedSettings *TranslationSettings `type:"structure"` // The names of the custom terminologies applied to the input text by Amazon @@ -6591,15 +6594,32 @@ func (s *TranslatedDocument) SetContent(v []byte) *TranslatedDocument { return s } -// Settings to configure your translation output, including the option to set -// the formality level of the output text and the option to mask profane words -// and phrases. +// Settings to configure your translation output. You can configure the following +// options: +// +// - Brevity: reduces the length of the translation output for most translations. +// Available for TranslateText only. +// +// - Formality: sets the formality level of the translation output. +// +// - Profanity: masks profane words and phrases in the translation output. type TranslationSettings struct { _ struct{} `type:"structure"` - // You can optionally specify the desired level of formality for translations - // to supported target languages. The formality setting controls the level of - // formal language usage (also known as register (https://en.wikipedia.org/wiki/Register_(sociolinguistics))) + // When you turn on brevity, Amazon Translate reduces the length of the translation + // output for most translations (when compared with the same translation with + // brevity turned off). By default, brevity is turned off. + // + // If you turn on brevity for a translation request with an unsupported language + // pair, the translation proceeds with the brevity setting turned off. + // + // For the language pairs that brevity supports, see Using brevity (https://docs.aws.amazon.com/translate/latest/dg/customizing-translations-brevity) + // in the Amazon Translate Developer Guide. + Brevity *string `type:"string" enum:"Brevity"` + + // You can specify the desired level of formality for translations to supported + // target languages. The formality setting controls the level of formal language + // usage (also known as register (https://en.wikipedia.org/wiki/Register_(sociolinguistics))) // in the translation output. You can set the value to informal or formal. If // you don't specify a value for formality, or if the target language doesn't // support formality, the translation will ignore the formality setting. @@ -6612,8 +6632,8 @@ type TranslationSettings struct { // in the Amazon Translate Developer Guide. Formality *string `type:"string" enum:"Formality"` - // Enable the profanity setting if you want Amazon Translate to mask profane - // words and phrases in your translation output. + // You can enable the profanity setting if you want to mask profane words and + // phrases in your translation output. // // To mask profane words and phrases, Amazon Translate replaces them with the // grawlix string “?$#@$“. This 5-character sequence is used for each profane @@ -6649,6 +6669,12 @@ func (s TranslationSettings) GoString() string { return s.String() } +// SetBrevity sets the Brevity field's value. +func (s *TranslationSettings) SetBrevity(v string) *TranslationSettings { + s.Brevity = &v + return s +} + // SetFormality sets the Formality field's value. func (s *TranslationSettings) SetFormality(v string) *TranslationSettings { s.Formality = &v @@ -6942,11 +6968,6 @@ func (s *UpdateParallelDataInput) Validate() error { if s.ParallelDataConfig == nil { invalidParams.Add(request.NewErrParamRequired("ParallelDataConfig")) } - if s.ParallelDataConfig != nil { - if err := s.ParallelDataConfig.Validate(); err != nil { - invalidParams.AddNested("ParallelDataConfig", err.(request.ErrInvalidParams)) - } - } if invalidParams.Len() > 0 { return invalidParams @@ -7038,6 +7059,18 @@ func (s *UpdateParallelDataOutput) SetStatus(v string) *UpdateParallelDataOutput return s } +const ( + // BrevityOn is a Brevity enum value + BrevityOn = "ON" +) + +// Brevity_Values returns all elements of the Brevity enum +func Brevity_Values() []string { + return []string{ + BrevityOn, + } +} + const ( // DirectionalityUni is a Directionality enum value DirectionalityUni = "UNI"