diff --git a/codegen/sdk-codegen/aws-models/amplify.json b/codegen/sdk-codegen/aws-models/amplify.json index 4348ff4ba93..b4a6a35b727 100644 --- a/codegen/sdk-codegen/aws-models/amplify.json +++ b/codegen/sdk-codegen/aws-models/amplify.json @@ -177,7 +177,7 @@ "name": "amplify" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "
Amplify enables developers to develop and deploy cloud-powered mobile and web apps.\n The Amplify Console provides a continuous delivery and hosting service for web\n applications. For more information, see the Amplify Console User Guide. The\n Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation\n for client app development. For more information, see the Amplify Framework.\n
", + "smithy.api#documentation": "Amplify enables developers to develop and deploy cloud-powered mobile and web apps.\n Amplify Hosting provides a continuous delivery and hosting service for web\n applications. For more information, see the Amplify Hosting User Guide. The\n Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation\n for client app development. For more information, see the Amplify Framework.\n
", "smithy.api#title": "AWS Amplify", "smithy.api#xmlNamespace": { "uri": "http://amplify.amazonaws.com" @@ -224,7 +224,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -267,7 +266,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -280,7 +280,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -294,7 +293,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -317,7 +315,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -352,7 +349,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -363,14 +359,16 @@ }, "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": [ @@ -384,14 +382,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -400,11 +396,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -415,14 +411,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -436,7 +434,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -456,7 +453,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -467,14 +463,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -485,9 +483,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1052,127 +1052,127 @@ "appId": { "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "The unique ID of the Amplify app.
", + "smithy.api#documentation": "The unique ID of the Amplify app.
", "smithy.api#required": {} } }, "appArn": { "target": "com.amazonaws.amplify#AppArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Amplify app.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Amplify app.
", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.amplify#Name", "traits": { - "smithy.api#documentation": "The name for the Amplify app.
", + "smithy.api#documentation": "The name for the Amplify app.
", "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.amplify#TagMap", "traits": { - "smithy.api#documentation": "The tag for the Amplify app.
" + "smithy.api#documentation": "The tag for the Amplify app.
" } }, "description": { "target": "com.amazonaws.amplify#Description", "traits": { - "smithy.api#documentation": "The description for the Amplify app.
", + "smithy.api#documentation": "The description for the Amplify app.
", "smithy.api#required": {} } }, "repository": { "target": "com.amazonaws.amplify#Repository", "traits": { - "smithy.api#documentation": "The Git repository for the Amplify app.
", + "smithy.api#documentation": "The Git repository for the Amplify app.
", "smithy.api#required": {} } }, "platform": { "target": "com.amazonaws.amplify#Platform", "traits": { - "smithy.api#documentation": " The platform for the Amplify app. For a static app, set the platform type to WEB
.\n For a dynamic server-side rendered (SSR) app, set the platform type to\n WEB_COMPUTE
. For an app requiring Amplify Hosting's original SSR support only, set the platform type to\n WEB_DYNAMIC
.
The platform for the Amplify app. For a static app, set the platform type to WEB
.\n For a dynamic server-side rendered (SSR) app, set the platform type to\n WEB_COMPUTE
. For an app requiring Amplify Hosting's original SSR support only, set the platform type to\n WEB_DYNAMIC
.
Creates a date and time for the Amplify app.
", + "smithy.api#documentation": "Creates a date and time for the Amplify app.
", "smithy.api#required": {} } }, "updateTime": { "target": "com.amazonaws.amplify#UpdateTime", "traits": { - "smithy.api#documentation": "Updates the date and time for the Amplify app.
", + "smithy.api#documentation": "Updates the date and time for the Amplify app.
", "smithy.api#required": {} } }, "iamServiceRoleArn": { "target": "com.amazonaws.amplify#ServiceRoleArn", "traits": { - "smithy.api#documentation": "The AWS Identity and Access Management (IAM) service role for the Amazon Resource\n Name (ARN) of the Amplify app.
" + "smithy.api#documentation": "The AWS Identity and Access Management (IAM) service role for the Amazon Resource\n Name (ARN) of the Amplify app.
" } }, "environmentVariables": { "target": "com.amazonaws.amplify#EnvironmentVariables", "traits": { - "smithy.api#documentation": "The environment variables for the Amplify app.
", + "smithy.api#documentation": "The environment variables for the Amplify app.
\nFor a list of the environment variables that are accessible to Amplify by default, see Amplify Environment variables in the Amplify Hosting User Guide.
", "smithy.api#required": {} } }, "defaultDomain": { "target": "com.amazonaws.amplify#DefaultDomain", "traits": { - "smithy.api#documentation": "The default domain for the Amplify app.
", + "smithy.api#documentation": "The default domain for the Amplify app.
", "smithy.api#required": {} } }, "enableBranchAutoBuild": { "target": "com.amazonaws.amplify#EnableBranchAutoBuild", "traits": { - "smithy.api#documentation": "Enables the auto-building of branches for the Amplify app.
", + "smithy.api#documentation": "Enables the auto-building of branches for the Amplify app.
", "smithy.api#required": {} } }, "enableBranchAutoDeletion": { "target": "com.amazonaws.amplify#EnableBranchAutoDeletion", "traits": { - "smithy.api#documentation": "Automatically disconnect a branch in the Amplify Console when you delete a branch\n from your Git repository.
" + "smithy.api#documentation": "Automatically disconnect a branch in the Amplify console when you delete a branch\n from your Git repository.
" } }, "enableBasicAuth": { "target": "com.amazonaws.amplify#EnableBasicAuth", "traits": { - "smithy.api#documentation": "Enables basic authorization for the Amplify app's branches.
", + "smithy.api#documentation": "Enables basic authorization for the Amplify app's branches.
", "smithy.api#required": {} } }, "basicAuthCredentials": { "target": "com.amazonaws.amplify#BasicAuthCredentials", "traits": { - "smithy.api#documentation": " The basic authorization credentials for branches for the Amplify app. You must\n base64-encode the authorization credentials and provide them in the format\n user:password
.
The basic authorization credentials for branches for the Amplify app. You must\n base64-encode the authorization credentials and provide them in the format\n user:password
.
Describes the custom redirect and rewrite rules for the Amplify app.
" + "smithy.api#documentation": "Describes the custom redirect and rewrite rules for the Amplify app.
" } }, "productionBranch": { "target": "com.amazonaws.amplify#ProductionBranch", "traits": { - "smithy.api#documentation": "Describes the information about a production branch of the Amplify app.
" + "smithy.api#documentation": "Describes the information about a production branch of the Amplify app.
" } }, "buildSpec": { "target": "com.amazonaws.amplify#BuildSpec", "traits": { - "smithy.api#documentation": "Describes the content of the build specification (build spec) for the Amplify app.\n
" + "smithy.api#documentation": "Describes the content of the build specification (build spec) for the Amplify app.\n
" } }, "customHeaders": { @@ -1184,19 +1184,19 @@ "enableAutoBranchCreation": { "target": "com.amazonaws.amplify#EnableAutoBranchCreation", "traits": { - "smithy.api#documentation": "Enables automated branch creation for the Amplify app.
" + "smithy.api#documentation": "Enables automated branch creation for the Amplify app.
" } }, "autoBranchCreationPatterns": { "target": "com.amazonaws.amplify#AutoBranchCreationPatterns", "traits": { - "smithy.api#documentation": "Describes the automated branch creation glob patterns for the Amplify app.
" + "smithy.api#documentation": "Describes the automated branch creation glob patterns for the Amplify app.
" } }, "autoBranchCreationConfig": { "target": "com.amazonaws.amplify#AutoBranchCreationConfig", "traits": { - "smithy.api#documentation": "Describes the automated branch creation configuration for the Amplify app.
" + "smithy.api#documentation": "Describes the automated branch creation configuration for the Amplify app.
" } }, "repositoryCloneMethod": { @@ -1207,7 +1207,7 @@ } }, "traits": { - "smithy.api#documentation": "Represents the different branches of a repository for building, deploying, and\n hosting an Amplify app.
" + "smithy.api#documentation": "Represents the different branches of a repository for building, deploying, and\n hosting an Amplify app.
" } }, "com.amazonaws.amplify#AppArn": { @@ -1241,20 +1241,20 @@ "artifactFileName": { "target": "com.amazonaws.amplify#ArtifactFileName", "traits": { - "smithy.api#documentation": "The file name for the artifact.
", + "smithy.api#documentation": "The file name for the artifact.
", "smithy.api#required": {} } }, "artifactId": { "target": "com.amazonaws.amplify#ArtifactId", "traits": { - "smithy.api#documentation": "The unique ID for the artifact.
", + "smithy.api#documentation": "The unique ID for the artifact.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "Describes an artifact.
" + "smithy.api#documentation": "Describes an artifact.
" } }, "com.amazonaws.amplify#ArtifactFileName": { @@ -1321,37 +1321,37 @@ "stage": { "target": "com.amazonaws.amplify#Stage", "traits": { - "smithy.api#documentation": "Describes the current stage for the autocreated branch.
" + "smithy.api#documentation": "Describes the current stage for the autocreated branch.
" } }, "framework": { "target": "com.amazonaws.amplify#Framework", "traits": { - "smithy.api#documentation": "The framework for the autocreated branch.
" + "smithy.api#documentation": "The framework for the autocreated branch.
" } }, "enableAutoBuild": { "target": "com.amazonaws.amplify#EnableAutoBuild", "traits": { - "smithy.api#documentation": "Enables auto building for the autocreated branch.
" + "smithy.api#documentation": "Enables auto building for the autocreated branch.
" } }, "environmentVariables": { "target": "com.amazonaws.amplify#EnvironmentVariables", "traits": { - "smithy.api#documentation": "The environment variables for the autocreated branch.
" + "smithy.api#documentation": "The environment variables for the autocreated branch.
" } }, "basicAuthCredentials": { "target": "com.amazonaws.amplify#BasicAuthCredentials", "traits": { - "smithy.api#documentation": " The basic authorization credentials for the autocreated branch. You must\n base64-encode the authorization credentials and provide them in the format\n user:password
.
The basic authorization credentials for the autocreated branch. You must\n base64-encode the authorization credentials and provide them in the format\n user:password
.
Enables basic authorization for the autocreated branch.
" + "smithy.api#documentation": "Enables basic authorization for the autocreated branch.
" } }, "enablePerformanceMode": { @@ -1363,24 +1363,24 @@ "buildSpec": { "target": "com.amazonaws.amplify#BuildSpec", "traits": { - "smithy.api#documentation": "The build specification (build spec) for the autocreated branch.
" + "smithy.api#documentation": "The build specification (build spec) for the autocreated branch.
" } }, "enablePullRequestPreview": { "target": "com.amazonaws.amplify#EnablePullRequestPreview", "traits": { - "smithy.api#documentation": "Enables pull request previews for the autocreated branch.
" + "smithy.api#documentation": "Enables pull request previews for the autocreated branch.
" } }, "pullRequestEnvironmentName": { "target": "com.amazonaws.amplify#PullRequestEnvironmentName", "traits": { - "smithy.api#documentation": "The Amplify environment name for the pull request.
" + "smithy.api#documentation": "The Amplify environment name for the pull request.
" } } }, "traits": { - "smithy.api#documentation": "Describes the automated branch creation configuration.
" + "smithy.api#documentation": "Describes the automated branch creation configuration.
" } }, "com.amazonaws.amplify#AutoBranchCreationPattern": { @@ -1425,52 +1425,66 @@ "smithy.api#pattern": "^$|^arn:aws:iam::\\d{12}:role.+$" } }, + "com.amazonaws.amplify#Backend": { + "type": "structure", + "members": { + "stackArn": { + "target": "com.amazonaws.amplify#StackArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) for the CloudFormation stack.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Describes the backend properties associated with an Amplify Branch
.
The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify\n app.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify\n app.
", "smithy.api#required": {} } }, "environmentName": { "target": "com.amazonaws.amplify#EnvironmentName", "traits": { - "smithy.api#documentation": "The name for a backend environment that is part of an Amplify app.
", + "smithy.api#documentation": "The name for a backend environment that is part of an Amplify app.
", "smithy.api#required": {} } }, "stackName": { "target": "com.amazonaws.amplify#StackName", "traits": { - "smithy.api#documentation": "The AWS CloudFormation stack name of a backend environment.
" + "smithy.api#documentation": "The AWS CloudFormation stack name of a backend environment.
" } }, "deploymentArtifacts": { "target": "com.amazonaws.amplify#DeploymentArtifacts", "traits": { - "smithy.api#documentation": "The name of deployment artifacts.
" + "smithy.api#documentation": "The name of deployment artifacts.
" } }, "createTime": { "target": "com.amazonaws.amplify#CreateTime", "traits": { - "smithy.api#documentation": "The creation date and time for a backend environment that is part of an Amplify app.\n
", + "smithy.api#documentation": "The creation date and time for a backend environment that is part of an Amplify app.\n
", "smithy.api#required": {} } }, "updateTime": { "target": "com.amazonaws.amplify#UpdateTime", "traits": { - "smithy.api#documentation": "The last updated date and time for a backend environment that is part of an Amplify\n app.
", + "smithy.api#documentation": "The last updated date and time for a backend environment that is part of an Amplify\n app.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "Describes the backend environment for an Amplify app.
" + "smithy.api#documentation": "Describes the backend environment for an Amplify app.
" } }, "com.amazonaws.amplify#BackendEnvironmentArn": { @@ -1497,7 +1511,7 @@ } }, "traits": { - "smithy.api#documentation": "A request contains unexpected data.
", + "smithy.api#documentation": "A request contains unexpected data.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -1694,6 +1708,9 @@ "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify\n app.
" } + }, + "backend": { + "target": "com.amazonaws.amplify#Backend" } }, "traits": { @@ -1735,7 +1752,7 @@ "com.amazonaws.amplify#BuildSpec": { "type": "string", "traits": { - "smithy.api#documentation": "The build specification (build spec) file for an Amplify app build.
", + "smithy.api#documentation": "The build specification (build spec) file for an Amplify app build.
", "smithy.api#length": { "min": 1, "max": 25000 @@ -1818,7 +1835,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates a new Amplify app.
", + "smithy.api#documentation": "Creates a new Amplify app.
", "smithy.api#http": { "method": "POST", "uri": "/apps", @@ -1832,92 +1849,92 @@ "name": { "target": "com.amazonaws.amplify#Name", "traits": { - "smithy.api#documentation": "The name for an Amplify app.
", + "smithy.api#documentation": "The name of the Amplify app.
", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.amplify#Description", "traits": { - "smithy.api#documentation": "The description for an Amplify app.
" + "smithy.api#documentation": "The description of the Amplify app.
" } }, "repository": { "target": "com.amazonaws.amplify#Repository", "traits": { - "smithy.api#documentation": "The repository for an Amplify app.
" + "smithy.api#documentation": "The Git repository for the Amplify app.
" } }, "platform": { "target": "com.amazonaws.amplify#Platform", "traits": { - "smithy.api#documentation": " The platform for the Amplify app. For a static app, set the platform type to WEB
.\n For a dynamic server-side rendered (SSR) app, set the platform type to\n WEB_COMPUTE
. For an app requiring Amplify Hosting's original SSR support only, set the platform type to\n WEB_DYNAMIC
.
The platform for the Amplify app. For a static app, set the platform type to WEB
.\n For a dynamic server-side rendered (SSR) app, set the platform type to\n WEB_COMPUTE
. For an app requiring Amplify Hosting's original SSR support only, set the platform type to\n WEB_DYNAMIC
.
The AWS Identity and Access Management (IAM) service role for an Amplify app.
" + "smithy.api#documentation": "The AWS Identity and Access Management (IAM) service role for an Amplify app.
" } }, "oauthToken": { "target": "com.amazonaws.amplify#OauthToken", "traits": { - "smithy.api#documentation": "The OAuth token for a third-party source control system for an Amplify app. The OAuth\n token is used to create a webhook and a read-only deploy key using SSH cloning. The\n OAuth token is not stored.
\nUse oauthToken
for repository providers other than GitHub, such as\n Bitbucket or CodeCommit. To authorize access to GitHub as your repository provider, use\n accessToken
.
You must specify either oauthToken
or accessToken
when you\n create a new app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the\n Amplify User Guide .
" + "smithy.api#documentation": "The OAuth token for a third-party source control system for an Amplify app. The OAuth\n token is used to create a webhook and a read-only deploy key using SSH cloning. The\n OAuth token is not stored.
\nUse oauthToken
for repository providers other than GitHub, such as\n Bitbucket or CodeCommit. To authorize access to GitHub as your repository provider, use\n accessToken
.
You must specify either oauthToken
or accessToken
when you\n create a new app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the\n Amplify User Guide .
" } }, "accessToken": { "target": "com.amazonaws.amplify#AccessToken", "traits": { - "smithy.api#documentation": "The personal access token for a GitHub repository for an Amplify app. The personal\n access token is used to authorize access to a GitHub repository using the Amplify GitHub\n App. The token is not stored.
\nUse accessToken
for GitHub repositories only. To authorize access to a\n repository provider such as Bitbucket or CodeCommit, use oauthToken
.
You must specify either accessToken
or oauthToken
when you\n create a new app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the\n Amplify User Guide .
" + "smithy.api#documentation": "The personal access token for a GitHub repository for an Amplify app. The personal\n access token is used to authorize access to a GitHub repository using the Amplify GitHub\n App. The token is not stored.
\nUse accessToken
for GitHub repositories only. To authorize access to a\n repository provider such as Bitbucket or CodeCommit, use oauthToken
.
You must specify either accessToken
or oauthToken
when you\n create a new app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the\n Amplify User Guide .
" } }, "environmentVariables": { "target": "com.amazonaws.amplify#EnvironmentVariables", "traits": { - "smithy.api#documentation": "The environment variables map for an Amplify app.
" + "smithy.api#documentation": "The environment variables map for an Amplify app.
\nFor a list of the environment variables that are accessible to Amplify by default, see Amplify Environment variables in the Amplify Hosting User Guide.
" } }, "enableBranchAutoBuild": { "target": "com.amazonaws.amplify#EnableBranchAutoBuild", "traits": { - "smithy.api#documentation": "Enables the auto building of branches for an Amplify app.
" + "smithy.api#documentation": "Enables the auto building of branches for an Amplify app.
" } }, "enableBranchAutoDeletion": { "target": "com.amazonaws.amplify#EnableBranchAutoDeletion", "traits": { - "smithy.api#documentation": "Automatically disconnects a branch in the Amplify Console when you delete a branch\n from your Git repository.
" + "smithy.api#documentation": "Automatically disconnects a branch in the Amplify console when you delete a branch\n from your Git repository.
" } }, "enableBasicAuth": { "target": "com.amazonaws.amplify#EnableBasicAuth", "traits": { - "smithy.api#documentation": "Enables basic authorization for an Amplify app. This will apply to all branches that\n are part of this app.
" + "smithy.api#documentation": "Enables basic authorization for an Amplify app. This will apply to all branches that\n are part of this app.
" } }, "basicAuthCredentials": { "target": "com.amazonaws.amplify#BasicAuthCredentials", "traits": { - "smithy.api#documentation": " The credentials for basic authorization for an Amplify app. You must base64-encode\n the authorization credentials and provide them in the format\n user:password
.
The credentials for basic authorization for an Amplify app. You must base64-encode\n the authorization credentials and provide them in the format\n user:password
.
The custom rewrite and redirect rules for an Amplify app.
" + "smithy.api#documentation": "The custom rewrite and redirect rules for an Amplify app.
" } }, "tags": { "target": "com.amazonaws.amplify#TagMap", "traits": { - "smithy.api#documentation": "The tag for an Amplify app.
" + "smithy.api#documentation": "The tag for an Amplify app.
" } }, "buildSpec": { "target": "com.amazonaws.amplify#BuildSpec", "traits": { - "smithy.api#documentation": "The build specification (build spec) for an Amplify app.
" + "smithy.api#documentation": "The build specification (build spec) for an Amplify app.
" } }, "customHeaders": { @@ -1929,24 +1946,24 @@ "enableAutoBranchCreation": { "target": "com.amazonaws.amplify#EnableAutoBranchCreation", "traits": { - "smithy.api#documentation": "Enables automated branch creation for an Amplify app.
" + "smithy.api#documentation": "Enables automated branch creation for an Amplify app.
" } }, "autoBranchCreationPatterns": { "target": "com.amazonaws.amplify#AutoBranchCreationPatterns", "traits": { - "smithy.api#documentation": "The automated branch creation glob patterns for an Amplify app.
" + "smithy.api#documentation": "The automated branch creation glob patterns for an Amplify app.
" } }, "autoBranchCreationConfig": { "target": "com.amazonaws.amplify#AutoBranchCreationConfig", "traits": { - "smithy.api#documentation": "The automated branch creation configuration for an Amplify app.
" + "smithy.api#documentation": "The automated branch creation configuration for an Amplify app.
" } } }, "traits": { - "smithy.api#documentation": "The request structure used to create apps in Amplify.
", + "smithy.api#documentation": "The request structure used to create apps in Amplify.
", "smithy.api#input": {} } }, @@ -1990,7 +2007,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates a new backend environment for an Amplify app.
", + "smithy.api#documentation": "Creates a new backend environment for an Amplify app.
", "smithy.api#http": { "method": "POST", "uri": "/apps/{appId}/backendenvironments", @@ -2004,7 +2021,7 @@ "appId": { "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "The unique ID for an Amplify app.
", + "smithy.api#documentation": "The unique ID for an Amplify app.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2012,25 +2029,25 @@ "environmentName": { "target": "com.amazonaws.amplify#EnvironmentName", "traits": { - "smithy.api#documentation": "The name for the backend environment.
", + "smithy.api#documentation": "The name for the backend environment.
", "smithy.api#required": {} } }, "stackName": { "target": "com.amazonaws.amplify#StackName", "traits": { - "smithy.api#documentation": "The AWS CloudFormation stack name of a backend environment.
" + "smithy.api#documentation": "The AWS CloudFormation stack name of a backend environment.
" } }, "deploymentArtifacts": { "target": "com.amazonaws.amplify#DeploymentArtifacts", "traits": { - "smithy.api#documentation": "The name of deployment artifacts.
" + "smithy.api#documentation": "The name of deployment artifacts.
" } } }, "traits": { - "smithy.api#documentation": "The request structure for the backend environment create request.
", + "smithy.api#documentation": "The request structure for the backend environment create request.
", "smithy.api#input": {} } }, @@ -2040,13 +2057,13 @@ "backendEnvironment": { "target": "com.amazonaws.amplify#BackendEnvironment", "traits": { - "smithy.api#documentation": "Describes the backend environment for an Amplify app.
", + "smithy.api#documentation": "Describes the backend environment for an Amplify app.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "The result structure for the create backend environment request.
", + "smithy.api#documentation": "The result structure for the create backend environment request.
", "smithy.api#output": {} } }, @@ -2101,20 +2118,20 @@ "branchName": { "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "The name for the branch.
", + "smithy.api#documentation": "The name for the branch.
", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.amplify#Description", "traits": { - "smithy.api#documentation": "The description for the branch.
" + "smithy.api#documentation": "The description for the branch.
" } }, "stage": { "target": "com.amazonaws.amplify#Stage", "traits": { - "smithy.api#documentation": "Describes the current stage for the branch.
" + "smithy.api#documentation": "Describes the current stage for the branch.
" } }, "framework": { @@ -2198,7 +2215,13 @@ "backendEnvironmentArn": { "target": "com.amazonaws.amplify#BackendEnvironmentArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify\n app.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify\n app.
" + } + }, + "backend": { + "target": "com.amazonaws.amplify#Backend", + "traits": { + "smithy.api#documentation": "The backend for a Branch
of an Amplify app. Use for a backend created from an CloudFormation stack.
Creates a deployment for a manually deployed Amplify app. Manually deployed apps are\n not connected to a repository.
", + "smithy.api#documentation": "Creates a deployment for a manually deployed Amplify app. Manually deployed apps are\n not connected to a repository.
\nThe maximum duration between the CreateDeployment
call and the\n StartDeployment
call cannot exceed 8 hours. If the duration exceeds 8 hours, the\n StartDeployment
call and the associated Job
will\n fail.
The name for the branch, for the job.
", + "smithy.api#documentation": "The name of the branch to use for the job.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2448,7 +2471,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates a new webhook on an Amplify app.
", + "smithy.api#documentation": "Creates a new webhook on an Amplify app.
", "smithy.api#http": { "method": "POST", "uri": "/apps/{appId}/webhooks", @@ -2462,7 +2485,7 @@ "appId": { "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "The unique ID for an Amplify app.
", + "smithy.api#documentation": "The unique ID for an Amplify app.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2470,19 +2493,19 @@ "branchName": { "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "The name for a branch that is part of an Amplify app.
", + "smithy.api#documentation": "The name for a branch that is part of an Amplify app.
", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.amplify#Description", "traits": { - "smithy.api#documentation": "The description for a webhook.
" + "smithy.api#documentation": "The description for a webhook.
" } } }, "traits": { - "smithy.api#documentation": "The request structure for the create webhook request.
", + "smithy.api#documentation": "The request structure for the create webhook request.
", "smithy.api#input": {} } }, @@ -2492,13 +2515,13 @@ "webhook": { "target": "com.amazonaws.amplify#Webhook", "traits": { - "smithy.api#documentation": "Describes a webhook that connects repository events to an Amplify app.
", + "smithy.api#documentation": "Describes a webhook that connects repository events to an Amplify app.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "The result structure for the create webhook request.
", + "smithy.api#documentation": "The result structure for the create webhook request.
", "smithy.api#output": {} } }, @@ -2539,32 +2562,32 @@ "source": { "target": "com.amazonaws.amplify#Source", "traits": { - "smithy.api#documentation": "The source pattern for a URL rewrite or redirect rule.
", + "smithy.api#documentation": "The source pattern for a URL rewrite or redirect rule.
", "smithy.api#required": {} } }, "target": { "target": "com.amazonaws.amplify#Target", "traits": { - "smithy.api#documentation": "The target pattern for a URL rewrite or redirect rule.
", + "smithy.api#documentation": "The target pattern for a URL rewrite or redirect rule.
", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.amplify#Status", "traits": { - "smithy.api#documentation": "The status code for a URL rewrite or redirect rule.
\nRepresents a 200 rewrite rule.
\nRepresents a 301 (moved pemanently) redirect rule. This and all future\n requests should be directed to the target URL.
\nRepresents a 302 temporary redirect rule.
\nRepresents a 404 redirect rule.
\nRepresents a 404 rewrite rule.
\nThe status code for a URL rewrite or redirect rule.
\nRepresents a 200 rewrite rule.
\nRepresents a 301 (moved pemanently) redirect rule. This and all future\n requests should be directed to the target URL.
\nRepresents a 302 temporary redirect rule.
\nRepresents a 404 redirect rule.
\nRepresents a 404 rewrite rule.
\nThe condition for a URL rewrite or redirect rule, such as a country code.
" + "smithy.api#documentation": "The condition for a URL rewrite or redirect rule, such as a country code.
" } } }, "traits": { - "smithy.api#documentation": "Describes a custom rewrite or redirect rule.
" + "smithy.api#documentation": "Describes a custom rewrite or redirect rule.
" } }, "com.amazonaws.amplify#CustomRules": { @@ -2617,7 +2640,7 @@ } ], "traits": { - "smithy.api#documentation": "Deletes an existing Amplify app specified by an app ID.
", + "smithy.api#documentation": "Deletes an existing Amplify app specified by an app ID.
", "smithy.api#http": { "method": "DELETE", "uri": "/apps/{appId}", @@ -2631,14 +2654,14 @@ "appId": { "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "The unique ID for an Amplify app.
", + "smithy.api#documentation": "The unique ID for an Amplify app.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "Describes the request structure for the delete app request.
", + "smithy.api#documentation": "Describes the request structure for the delete app request.
", "smithy.api#input": {} } }, @@ -2653,7 +2676,7 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the delete app request.
", + "smithy.api#documentation": "The result structure for the delete app request.
", "smithy.api#output": {} } }, @@ -2683,7 +2706,7 @@ } ], "traits": { - "smithy.api#documentation": "Deletes a backend environment for an Amplify app.
", + "smithy.api#documentation": "Deletes a backend environment for an Amplify app.
", "smithy.api#http": { "method": "DELETE", "uri": "/apps/{appId}/backendenvironments/{environmentName}", @@ -2697,7 +2720,7 @@ "appId": { "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "The unique ID of an Amplify app.
", + "smithy.api#documentation": "The unique ID of an Amplify app.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2705,14 +2728,14 @@ "environmentName": { "target": "com.amazonaws.amplify#EnvironmentName", "traits": { - "smithy.api#documentation": "The name of a backend environment of an Amplify app.
", + "smithy.api#documentation": "The name of a backend environment of an Amplify app.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "The request structure for the delete backend environment request.
", + "smithy.api#documentation": "The request structure for the delete backend environment request.
", "smithy.api#input": {} } }, @@ -2722,13 +2745,13 @@ "backendEnvironment": { "target": "com.amazonaws.amplify#BackendEnvironment", "traits": { - "smithy.api#documentation": "Describes the backend environment for an Amplify app.
", + "smithy.api#documentation": "Describes the backend environment for an Amplify app.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "The result structure of the delete backend environment result.
", + "smithy.api#documentation": "The result structure of the delete backend environment result.
", "smithy.api#output": {} } }, @@ -2780,7 +2803,7 @@ "branchName": { "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "The name for the branch.
", + "smithy.api#documentation": "The name of the branch.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2797,13 +2820,13 @@ "branch": { "target": "com.amazonaws.amplify#Branch", "traits": { - "smithy.api#documentation": "The branch for an Amplify app, which maps to a third-party repository branch.
", + "smithy.api#documentation": "The branch for an Amplify app, which maps to a third-party repository branch.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "The result structure for the delete branch request.
", + "smithy.api#documentation": "The result structure for the delete branch request.
", "smithy.api#output": {} } }, @@ -2928,7 +2951,7 @@ "branchName": { "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "The name for the branch, for the job.
", + "smithy.api#documentation": "The name of the branch to use for the job.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2988,7 +3011,7 @@ } ], "traits": { - "smithy.api#documentation": "Deletes a webhook.
", + "smithy.api#documentation": "Deletes a webhook.
", "smithy.api#http": { "method": "DELETE", "uri": "/webhooks/{webhookId}", @@ -3002,14 +3025,14 @@ "webhookId": { "target": "com.amazonaws.amplify#WebhookId", "traits": { - "smithy.api#documentation": "The unique ID for a webhook.
", + "smithy.api#documentation": "The unique ID for a webhook.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "The request structure for the delete webhook request.
", + "smithy.api#documentation": "The request structure for the delete webhook request.
", "smithy.api#input": {} } }, @@ -3019,13 +3042,13 @@ "webhook": { "target": "com.amazonaws.amplify#Webhook", "traits": { - "smithy.api#documentation": "Describes a webhook that connects repository events to an Amplify app.
", + "smithy.api#documentation": "Describes a webhook that connects repository events to an Amplify app.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "The result structure for the delete webhook request.
", + "smithy.api#documentation": "The result structure for the delete webhook request.
", "smithy.api#output": {} } }, @@ -3037,7 +3060,7 @@ } }, "traits": { - "smithy.api#documentation": "An operation failed because a dependent service threw an exception.
", + "smithy.api#documentation": "An operation failed because a dependent service threw an exception.
", "smithy.api#error": "server", "smithy.api#httpError": 503 } @@ -3373,7 +3396,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns the website access logs for a specific time range using a presigned URL.\n
", + "smithy.api#documentation": "Returns the website access logs for a specific time range using a presigned URL.\n
", "smithy.api#http": { "method": "POST", "uri": "/apps/{appId}/accesslogs", @@ -3387,33 +3410,33 @@ "startTime": { "target": "com.amazonaws.amplify#StartTime", "traits": { - "smithy.api#documentation": "The time at which the logs should start. The time range specified is inclusive of the\n start time.
" + "smithy.api#documentation": "The time at which the logs should start. The time range specified is inclusive of the\n start time.
" } }, "endTime": { "target": "com.amazonaws.amplify#EndTime", "traits": { - "smithy.api#documentation": "The time at which the logs should end. The time range specified is inclusive of the\n end time.
" + "smithy.api#documentation": "The time at which the logs should end. The time range specified is inclusive of the\n end time.
" } }, "domainName": { "target": "com.amazonaws.amplify#DomainName", "traits": { - "smithy.api#documentation": "The name of the domain.
", + "smithy.api#documentation": "The name of the domain.
", "smithy.api#required": {} } }, "appId": { "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "The unique ID for an Amplify app.
", + "smithy.api#documentation": "The unique ID for an Amplify app.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "The request structure for the generate access logs request.
", + "smithy.api#documentation": "The request structure for the generate access logs request.
", "smithy.api#input": {} } }, @@ -3423,12 +3446,12 @@ "logUrl": { "target": "com.amazonaws.amplify#LogUrl", "traits": { - "smithy.api#documentation": "The pre-signed URL for the requested access logs.
" + "smithy.api#documentation": "The pre-signed URL for the requested access logs.
" } } }, "traits": { - "smithy.api#documentation": "The result structure for the generate access logs request.
", + "smithy.api#documentation": "The result structure for the generate access logs request.
", "smithy.api#output": {} } }, @@ -3455,7 +3478,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns an existing Amplify app by appID.
", + "smithy.api#documentation": "Returns an existing Amplify app specified by an app ID.
", "smithy.api#http": { "method": "GET", "uri": "/apps/{appId}", @@ -3469,14 +3492,14 @@ "appId": { "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "The unique ID for an Amplify app.
", + "smithy.api#documentation": "The unique ID for an Amplify app.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "The request structure for the get app request.
", + "smithy.api#documentation": "The request structure for the get app request.
", "smithy.api#input": {} } }, @@ -3520,7 +3543,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns the artifact info that corresponds to an artifact id.
", + "smithy.api#documentation": "Returns the artifact info that corresponds to an artifact id.
", "smithy.api#http": { "method": "GET", "uri": "/artifacts/{artifactId}", @@ -3534,14 +3557,14 @@ "artifactId": { "target": "com.amazonaws.amplify#ArtifactId", "traits": { - "smithy.api#documentation": "The unique ID for an artifact.
", + "smithy.api#documentation": "The unique ID for an artifact.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "Returns the request structure for the get artifact request.
", + "smithy.api#documentation": "Returns the request structure for the get artifact request.
", "smithy.api#input": {} } }, @@ -3551,20 +3574,20 @@ "artifactId": { "target": "com.amazonaws.amplify#ArtifactId", "traits": { - "smithy.api#documentation": "The unique ID for an artifact.
", + "smithy.api#documentation": "The unique ID for an artifact.
", "smithy.api#required": {} } }, "artifactUrl": { "target": "com.amazonaws.amplify#ArtifactUrl", "traits": { - "smithy.api#documentation": "The presigned URL for the artifact.
", + "smithy.api#documentation": "The presigned URL for the artifact.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "Returns the result structure for the get artifact request.
", + "smithy.api#documentation": "Returns the result structure for the get artifact request.
", "smithy.api#output": {} } }, @@ -3591,7 +3614,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns a backend environment for an Amplify app.
", + "smithy.api#documentation": "Returns a backend environment for an Amplify app.
", "smithy.api#http": { "method": "GET", "uri": "/apps/{appId}/backendenvironments/{environmentName}", @@ -3605,7 +3628,7 @@ "appId": { "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "The unique id for an Amplify app.
", + "smithy.api#documentation": "The unique id for an Amplify app.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3613,14 +3636,14 @@ "environmentName": { "target": "com.amazonaws.amplify#EnvironmentName", "traits": { - "smithy.api#documentation": "The name for the backend environment.
", + "smithy.api#documentation": "The name for the backend environment.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "The request structure for the get backend environment request.
", + "smithy.api#documentation": "The request structure for the get backend environment request.
", "smithy.api#input": {} } }, @@ -3630,13 +3653,13 @@ "backendEnvironment": { "target": "com.amazonaws.amplify#BackendEnvironment", "traits": { - "smithy.api#documentation": "Describes the backend environment for an Amplify app.
", + "smithy.api#documentation": "Describes the backend environment for an Amplify app.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "The result structure for the get backend environment result.
", + "smithy.api#documentation": "The result structure for the get backend environment result.
", "smithy.api#output": {} } }, @@ -3685,7 +3708,7 @@ "branchName": { "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "The name for the branch.
", + "smithy.api#documentation": "The name of the branch.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3822,7 +3845,7 @@ "appId": { "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "The unique ID for an Amplify app.
", + "smithy.api#documentation": "The unique ID for an Amplify app.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3830,7 +3853,7 @@ "branchName": { "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "The branch name for the job.
", + "smithy.api#documentation": "The name of the branch to use for the job.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3838,14 +3861,14 @@ "jobId": { "target": "com.amazonaws.amplify#JobId", "traits": { - "smithy.api#documentation": "The unique ID for the job.
", + "smithy.api#documentation": "The unique ID for the job.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "The request structure for the get job request.
", + "smithy.api#documentation": "The request structure for the get job request.
", "smithy.api#input": {} } }, @@ -3889,7 +3912,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns the webhook information that corresponds to a specified webhook ID.
", + "smithy.api#documentation": "Returns the webhook information that corresponds to a specified webhook ID.
", "smithy.api#http": { "method": "GET", "uri": "/webhooks/{webhookId}", @@ -3903,14 +3926,14 @@ "webhookId": { "target": "com.amazonaws.amplify#WebhookId", "traits": { - "smithy.api#documentation": "The unique ID for a webhook.
", + "smithy.api#documentation": "The unique ID for a webhook.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "The request structure for the get webhook request.
", + "smithy.api#documentation": "The request structure for the get webhook request.
", "smithy.api#input": {} } }, @@ -3920,13 +3943,13 @@ "webhook": { "target": "com.amazonaws.amplify#Webhook", "traits": { - "smithy.api#documentation": "Describes the structure of a webhook.
", + "smithy.api#documentation": "Describes the structure of a webhook.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "The result structure for the get webhook request.
", + "smithy.api#documentation": "The result structure for the get webhook request.
", "smithy.api#output": {} } }, @@ -3938,7 +3961,7 @@ } }, "traits": { - "smithy.api#documentation": "The service failed to perform an operation due to an internal issue.
", + "smithy.api#documentation": "The service failed to perform an operation due to an internal issue.
", "smithy.api#error": "server", "smithy.api#httpError": 500 } @@ -4163,7 +4186,7 @@ } }, "traits": { - "smithy.api#documentation": "A resource could not be created because service quotas were exceeded.
", + "smithy.api#documentation": "A resource could not be created because service quotas were exceeded.
", "smithy.api#error": "client", "smithy.api#httpError": 429 } @@ -4188,11 +4211,17 @@ } ], "traits": { - "smithy.api#documentation": "Returns a list of the existing Amplify apps.
", + "smithy.api#documentation": "Returns a list of the existing Amplify apps.
", "smithy.api#http": { "method": "GET", "uri": "/apps", "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "apps", + "pageSize": "maxResults" } } }, @@ -4202,7 +4231,7 @@ "nextToken": { "target": "com.amazonaws.amplify#NextToken", "traits": { - "smithy.api#documentation": "A pagination token. If non-null, the pagination token is returned in a result. Pass\n its value in another request to retrieve more entries.
", + "smithy.api#documentation": "A pagination token. If non-null, the pagination token is returned in a result. Pass\n its value in another request to retrieve more entries.
", "smithy.api#httpQuery": "nextToken" } }, @@ -4210,13 +4239,13 @@ "target": "com.amazonaws.amplify#MaxResults", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "The maximum number of records to list in a single response.
", + "smithy.api#documentation": "The maximum number of records to list in a single response.
", "smithy.api#httpQuery": "maxResults" } } }, "traits": { - "smithy.api#documentation": "The request structure for the list apps request.
", + "smithy.api#documentation": "The request structure for the list apps request.
", "smithy.api#input": {} } }, @@ -4226,19 +4255,19 @@ "apps": { "target": "com.amazonaws.amplify#Apps", "traits": { - "smithy.api#documentation": "A list of Amplify apps.
", + "smithy.api#documentation": "A list of Amplify apps.
", "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.amplify#NextToken", "traits": { - "smithy.api#documentation": "A pagination token. Set to null to start listing apps from start. If non-null, the\n pagination token is returned in a result. Pass its value in here to list more projects.\n
" + "smithy.api#documentation": "A pagination token. Set to null to start listing apps from start. If non-null, the\n pagination token is returned in a result. Pass its value in here to list more projects.\n
" } } }, "traits": { - "smithy.api#documentation": "The result structure for an Amplify app list request.
", + "smithy.api#documentation": "The result structure for an Amplify app list request.
", "smithy.api#output": {} } }, @@ -4265,7 +4294,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns a list of artifacts for a specified app, branch, and job.
", + "smithy.api#documentation": "Returns a list of artifacts for a specified app, branch, and job.
", "smithy.api#http": { "method": "GET", "uri": "/apps/{appId}/branches/{branchName}/jobs/{jobId}/artifacts", @@ -4279,7 +4308,7 @@ "appId": { "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "The unique ID for an Amplify app.
", + "smithy.api#documentation": "The unique ID for an Amplify app.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4287,7 +4316,7 @@ "branchName": { "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "The name of a branch that is part of an Amplify app.
", + "smithy.api#documentation": "The name of a branch that is part of an Amplify app.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4295,7 +4324,7 @@ "jobId": { "target": "com.amazonaws.amplify#JobId", "traits": { - "smithy.api#documentation": "The unique ID for a job.
", + "smithy.api#documentation": "The unique ID for a job.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4303,7 +4332,7 @@ "nextToken": { "target": "com.amazonaws.amplify#NextToken", "traits": { - "smithy.api#documentation": "A pagination token. Set to null to start listing artifacts from start. If a non-null\n pagination token is returned in a result, pass its value in here to list more artifacts.\n
", + "smithy.api#documentation": "A pagination token. Set to null to start listing artifacts from start. If a non-null\n pagination token is returned in a result, pass its value in here to list more artifacts.\n
", "smithy.api#httpQuery": "nextToken" } }, @@ -4311,13 +4340,13 @@ "target": "com.amazonaws.amplify#MaxResults", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "The maximum number of records to list in a single response.
", + "smithy.api#documentation": "The maximum number of records to list in a single response.
", "smithy.api#httpQuery": "maxResults" } } }, "traits": { - "smithy.api#documentation": "Describes the request structure for the list artifacts request.
", + "smithy.api#documentation": "Describes the request structure for the list artifacts request.
", "smithy.api#input": {} } }, @@ -4327,19 +4356,19 @@ "artifacts": { "target": "com.amazonaws.amplify#Artifacts", "traits": { - "smithy.api#documentation": "A list of artifacts.
", + "smithy.api#documentation": "A list of artifacts.
", "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.amplify#NextToken", "traits": { - "smithy.api#documentation": "A pagination token. If a non-null pagination token is returned in a result, pass its\n value in another request to retrieve more entries.
" + "smithy.api#documentation": "A pagination token. If a non-null pagination token is returned in a result, pass its\n value in another request to retrieve more entries.
" } } }, "traits": { - "smithy.api#documentation": "The result structure for the list artifacts request.
", + "smithy.api#documentation": "The result structure for the list artifacts request.
", "smithy.api#output": {} } }, @@ -4363,7 +4392,7 @@ } ], "traits": { - "smithy.api#documentation": "Lists the backend environments for an Amplify app.
", + "smithy.api#documentation": "Lists the backend environments for an Amplify app.
", "smithy.api#http": { "method": "GET", "uri": "/apps/{appId}/backendenvironments", @@ -4377,7 +4406,7 @@ "appId": { "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "The unique ID for an Amplify app.
", + "smithy.api#documentation": "The unique ID for an Amplify app.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4385,14 +4414,14 @@ "environmentName": { "target": "com.amazonaws.amplify#EnvironmentName", "traits": { - "smithy.api#documentation": "The name of the backend environment
", + "smithy.api#documentation": "The name of the backend environment
", "smithy.api#httpQuery": "environmentName" } }, "nextToken": { "target": "com.amazonaws.amplify#NextToken", "traits": { - "smithy.api#documentation": "A pagination token. Set to null to start listing backend environments from the start.\n If a non-null pagination token is returned in a result, pass its value in here to list\n more backend environments.
", + "smithy.api#documentation": "A pagination token. Set to null to start listing backend environments from the start.\n If a non-null pagination token is returned in a result, pass its value in here to list\n more backend environments.
", "smithy.api#httpQuery": "nextToken" } }, @@ -4400,13 +4429,13 @@ "target": "com.amazonaws.amplify#MaxResults", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "The maximum number of records to list in a single response.
", + "smithy.api#documentation": "The maximum number of records to list in a single response.
", "smithy.api#httpQuery": "maxResults" } } }, "traits": { - "smithy.api#documentation": "The request structure for the list backend environments request.
", + "smithy.api#documentation": "The request structure for the list backend environments request.
", "smithy.api#input": {} } }, @@ -4416,19 +4445,19 @@ "backendEnvironments": { "target": "com.amazonaws.amplify#BackendEnvironments", "traits": { - "smithy.api#documentation": "The list of backend environments for an Amplify app.
", + "smithy.api#documentation": "The list of backend environments for an Amplify app.
", "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.amplify#NextToken", "traits": { - "smithy.api#documentation": "A pagination token. If a non-null pagination token is returned in a result, pass its\n value in another request to retrieve more entries.
" + "smithy.api#documentation": "A pagination token. If a non-null pagination token is returned in a result, pass its\n value in another request to retrieve more entries.
" } } }, "traits": { - "smithy.api#documentation": "The result structure for the list backend environments result.
", + "smithy.api#documentation": "The result structure for the list backend environments result.
", "smithy.api#output": {} } }, @@ -4457,6 +4486,12 @@ "method": "GET", "uri": "/apps/{appId}/branches", "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "branches", + "pageSize": "maxResults" } } }, @@ -4466,7 +4501,7 @@ "appId": { "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "The unique ID for an Amplify app.
", + "smithy.api#documentation": "The unique ID for an Amplify app.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4474,7 +4509,7 @@ "nextToken": { "target": "com.amazonaws.amplify#NextToken", "traits": { - "smithy.api#documentation": "A pagination token. Set to null to start listing branches from the start. If a\n non-null pagination token is returned in a result, pass its value in here to list more\n branches.
", + "smithy.api#documentation": "A pagination token. Set to null to start listing branches from the start. If a\n non-null pagination token is returned in a result, pass its value in here to list more\n branches.
", "smithy.api#httpQuery": "nextToken" } }, @@ -4488,7 +4523,7 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the list branches request.
", + "smithy.api#documentation": "The request structure for the list branches request.
", "smithy.api#input": {} } }, @@ -4539,6 +4574,12 @@ "method": "GET", "uri": "/apps/{appId}/domains", "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "domainAssociations", + "pageSize": "maxResults" } } }, @@ -4624,6 +4665,12 @@ "method": "GET", "uri": "/apps/{appId}/branches/{branchName}/jobs", "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "jobSummaries", + "pageSize": "maxResults" } } }, @@ -4641,7 +4688,7 @@ "branchName": { "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "The name for a branch.
", + "smithy.api#documentation": "The name of the branch to use for the request.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4649,7 +4696,7 @@ "nextToken": { "target": "com.amazonaws.amplify#NextToken", "traits": { - "smithy.api#documentation": "A pagination token. Set to null to start listing steps from the start. If a non-null\n pagination token is returned in a result, pass its value in here to list more steps.\n
", + "smithy.api#documentation": "A pagination token. Set to null to start listing steps from the start. If a non-null\n pagination token is returned in a result, pass its value in here to list more steps.\n
", "smithy.api#httpQuery": "nextToken" } }, @@ -4657,7 +4704,7 @@ "target": "com.amazonaws.amplify#MaxResults", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "The maximum number of records to list in a single response.
", + "smithy.api#documentation": "The maximum number of records to list in a single response.
", "smithy.api#httpQuery": "maxResults" } } @@ -4673,19 +4720,19 @@ "jobSummaries": { "target": "com.amazonaws.amplify#JobSummaries", "traits": { - "smithy.api#documentation": "The result structure for the list job result request.
", + "smithy.api#documentation": "The result structure for the list job result request.
", "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.amplify#NextToken", "traits": { - "smithy.api#documentation": "A pagination token. If non-null the pagination token is returned in a result. Pass\n its value in another request to retrieve more entries.
" + "smithy.api#documentation": "A pagination token. If non-null the pagination token is returned in a result. Pass\n its value in another request to retrieve more entries.
" } } }, "traits": { - "smithy.api#documentation": "The maximum number of records to list in a single response.
", + "smithy.api#documentation": "The maximum number of records to list in a single response.
", "smithy.api#output": {} } }, @@ -4709,7 +4756,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns a list of tags for a specified Amazon Resource Name (ARN).
", + "smithy.api#documentation": "Returns a list of tags for a specified Amazon Resource Name (ARN).
", "smithy.api#http": { "method": "GET", "uri": "/tags/{resourceArn}", @@ -4723,14 +4770,14 @@ "resourceArn": { "target": "com.amazonaws.amplify#ResourceArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) to use to list tags.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) to use to list tags.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "The request structure to use to list tags for a resource.
", + "smithy.api#documentation": "The request structure to use to list tags for a resource.
", "smithy.api#input": {} } }, @@ -4740,12 +4787,12 @@ "tags": { "target": "com.amazonaws.amplify#TagMap", "traits": { - "smithy.api#documentation": "A list of tags for the specified The Amazon Resource Name (ARN).
" + "smithy.api#documentation": "A list of tags for the specified The Amazon Resource Name (ARN).
" } } }, "traits": { - "smithy.api#documentation": "The response for the list tags for resource request.
", + "smithy.api#documentation": "The response for the list tags for resource request.
", "smithy.api#output": {} } }, @@ -4772,7 +4819,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns a list of webhooks for an Amplify app.
", + "smithy.api#documentation": "Returns a list of webhooks for an Amplify app.
", "smithy.api#http": { "method": "GET", "uri": "/apps/{appId}/webhooks", @@ -4786,7 +4833,7 @@ "appId": { "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "The unique ID for an Amplify app.
", + "smithy.api#documentation": "The unique ID for an Amplify app.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4794,7 +4841,7 @@ "nextToken": { "target": "com.amazonaws.amplify#NextToken", "traits": { - "smithy.api#documentation": "A pagination token. Set to null to start listing webhooks from the start. If\n non-null,the pagination token is returned in a result. Pass its value in here to list\n more webhooks.
", + "smithy.api#documentation": "A pagination token. Set to null to start listing webhooks from the start. If\n non-null,the pagination token is returned in a result. Pass its value in here to list\n more webhooks.
", "smithy.api#httpQuery": "nextToken" } }, @@ -4802,13 +4849,13 @@ "target": "com.amazonaws.amplify#MaxResults", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "The maximum number of records to list in a single response.
", + "smithy.api#documentation": "The maximum number of records to list in a single response.
", "smithy.api#httpQuery": "maxResults" } } }, "traits": { - "smithy.api#documentation": "The request structure for the list webhooks request.
", + "smithy.api#documentation": "The request structure for the list webhooks request.
", "smithy.api#input": {} } }, @@ -4818,19 +4865,19 @@ "webhooks": { "target": "com.amazonaws.amplify#Webhooks", "traits": { - "smithy.api#documentation": "A list of webhooks.
", + "smithy.api#documentation": "A list of webhooks.
", "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.amplify#NextToken", "traits": { - "smithy.api#documentation": "A pagination token. If non-null, the pagination token is returned in a result. Pass\n its value in another request to retrieve more entries.
" + "smithy.api#documentation": "A pagination token. If non-null, the pagination token is returned in a result. Pass\n its value in another request to retrieve more entries.
" } } }, "traits": { - "smithy.api#documentation": "The result structure for the list webhooks request.
", + "smithy.api#documentation": "The result structure for the list webhooks request.
", "smithy.api#output": {} } }, @@ -4891,7 +4938,7 @@ } }, "traits": { - "smithy.api#documentation": "An entity was not found during an operation.
", + "smithy.api#documentation": "An entity was not found during an operation.
", "smithy.api#error": "client", "smithy.api#httpError": 404 } @@ -4936,30 +4983,30 @@ "lastDeployTime": { "target": "com.amazonaws.amplify#LastDeployTime", "traits": { - "smithy.api#documentation": "The last deploy time of the production branch.
" + "smithy.api#documentation": "The last deploy time of the production branch.
" } }, "status": { "target": "com.amazonaws.amplify#Status", "traits": { - "smithy.api#documentation": "The status of the production branch.
" + "smithy.api#documentation": "The status of the production branch.
" } }, "thumbnailUrl": { "target": "com.amazonaws.amplify#ThumbnailUrl", "traits": { - "smithy.api#documentation": "The thumbnail URL for the production branch.
" + "smithy.api#documentation": "The thumbnail URL for the production branch.
" } }, "branchName": { "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "The branch name for the production branch.
" + "smithy.api#documentation": "The branch name for the production branch.
" } } }, "traits": { - "smithy.api#documentation": "Describes the information about a production branch for an Amplify app.
" + "smithy.api#documentation": "Describes the information about a production branch for an Amplify app.
" } }, "com.amazonaws.amplify#PullRequestEnvironmentName": { @@ -5032,7 +5079,7 @@ } }, "traits": { - "smithy.api#documentation": "An operation failed due to a non-existent resource.
", + "smithy.api#documentation": "An operation failed due to a non-existent resource.
", "smithy.api#error": "client", "smithy.api#httpError": 404 } @@ -5076,6 +5123,16 @@ "smithy.api#pattern": "^(?s)" } }, + "com.amazonaws.amplify#StackArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 20, + "max": 2048 + }, + "smithy.api#pattern": "^arn:aws:cloudformation:[a-z0-9-]+:\\d{12}:stack/.+/.+$" + } + }, "com.amazonaws.amplify#StackName": { "type": "string", "traits": { @@ -5147,7 +5204,7 @@ } ], "traits": { - "smithy.api#documentation": "Starts a deployment for a manually deployed app. Manually deployed apps are not\n connected to a repository.
", + "smithy.api#documentation": "Starts a deployment for a manually deployed app. Manually deployed apps are not\n connected to a repository.
\nThe maximum duration between the CreateDeployment
call and the\n StartDeployment
call cannot exceed 8 hours. If the duration exceeds 8 hours, the\n StartDeployment
call and the associated Job
will\n fail.
The unique ID for an Amplify app.
", + "smithy.api#documentation": "The unique ID for an Amplify app.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5169,7 +5226,7 @@ "branchName": { "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "The name for the branch, for the job.
", + "smithy.api#documentation": "The name of the branch to use for the job.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5177,18 +5234,18 @@ "jobId": { "target": "com.amazonaws.amplify#JobId", "traits": { - "smithy.api#documentation": "The job ID for this deployment, generated by the create deployment request.
" + "smithy.api#documentation": "The job ID for this deployment, generated by the create deployment request.
" } }, "sourceUrl": { "target": "com.amazonaws.amplify#SourceUrl", "traits": { - "smithy.api#documentation": "The source URL for this deployment, used when calling start deployment without create\n deployment. The source URL can be any HTTP GET URL that is publicly accessible and\n downloads a single .zip file.
" + "smithy.api#documentation": "The source URL for this deployment, used when calling start deployment without create\n deployment. The source URL can be any HTTP GET URL that is publicly accessible and\n downloads a single .zip file.
" } } }, "traits": { - "smithy.api#documentation": "The request structure for the start a deployment request.
", + "smithy.api#documentation": "The request structure for the start a deployment request.
", "smithy.api#input": {} } }, @@ -5198,13 +5255,13 @@ "jobSummary": { "target": "com.amazonaws.amplify#JobSummary", "traits": { - "smithy.api#documentation": "The summary for the job.
", + "smithy.api#documentation": "The summary for the job.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "The result structure for the start a deployment request.
", + "smithy.api#documentation": "The result structure for the start a deployment request.
", "smithy.api#output": {} } }, @@ -5248,7 +5305,7 @@ "appId": { "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "The unique ID for an Amplify app.
", + "smithy.api#documentation": "The unique ID for an Amplify app.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5256,7 +5313,7 @@ "branchName": { "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "The branch name for the job.
", + "smithy.api#documentation": "The name of the branch to use for the job.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5264,20 +5321,20 @@ "jobId": { "target": "com.amazonaws.amplify#JobId", "traits": { - "smithy.api#documentation": " The unique ID for an existing job. This is required if the value of\n jobType
is RETRY
.
The unique ID for an existing job. This is required if the value of\n jobType
is RETRY
.
Describes the type for the job. The job type RELEASE
starts a new job\n with the latest change from the specified branch. This value is available only for apps\n that are connected to a repository. The job type RETRY
retries an existing\n job. If the job type value is RETRY
, the jobId
is also\n required.
Describes the type for the job. The job type RELEASE
starts a new job\n with the latest change from the specified branch. This value is available only for apps\n that are connected to a repository.
The job type RETRY
retries an existing\n job. If the job type value is RETRY
, the jobId
is also\n required.
A descriptive reason for starting this job.
" + "smithy.api#documentation": "A descriptive reason for starting the job.
" } }, "commitId": { @@ -5300,7 +5357,7 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the start job request.
", + "smithy.api#documentation": "The request structure for the start job request.
", "smithy.api#input": {} } }, @@ -5483,7 +5540,7 @@ "branchName": { "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "The name for the branch, for the job.
", + "smithy.api#documentation": "The name of the branch to use for the stop job request.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5596,7 +5653,7 @@ "com.amazonaws.amplify#TTL": { "type": "string", "traits": { - "smithy.api#documentation": "The content Time to Live (TTL) for the website in seconds.
", + "smithy.api#documentation": "The content Time to Live (TTL) for the website in seconds.
", "smithy.api#length": { "min": 0, "max": 32 @@ -5661,7 +5718,7 @@ } ], "traits": { - "smithy.api#documentation": "Tags the resource with a tag key and value.
", + "smithy.api#documentation": "Tags the resource with a tag key and value.
", "smithy.api#http": { "method": "POST", "uri": "/tags/{resourceArn}", @@ -5683,13 +5740,13 @@ "tags": { "target": "com.amazonaws.amplify#TagMap", "traits": { - "smithy.api#documentation": "The tags used to tag the resource.
", + "smithy.api#documentation": "The tags used to tag the resource.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "The request structure to tag a resource with a tag key and value.
", + "smithy.api#documentation": "The request structure to tag a resource with a tag key and value.
", "smithy.api#input": {} } }, @@ -5697,7 +5754,7 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "The response for the tag resource request.
", + "smithy.api#documentation": "The response for the tag resource request.
", "smithy.api#output": {} } }, @@ -5774,7 +5831,7 @@ } }, "traits": { - "smithy.api#documentation": "An operation failed due to a lack of access.
", + "smithy.api#documentation": "An operation failed due to a lack of access.
", "smithy.api#error": "client", "smithy.api#httpError": 401 } @@ -5799,7 +5856,7 @@ } ], "traits": { - "smithy.api#documentation": "Untags a resource with a specified Amazon Resource Name (ARN).
", + "smithy.api#documentation": "Untags a resource with a specified Amazon Resource Name (ARN).
", "smithy.api#http": { "method": "DELETE", "uri": "/tags/{resourceArn}", @@ -5813,7 +5870,7 @@ "resourceArn": { "target": "com.amazonaws.amplify#ResourceArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) to use to untag a resource.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) to use to untag a resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5821,14 +5878,14 @@ "tagKeys": { "target": "com.amazonaws.amplify#TagKeyList", "traits": { - "smithy.api#documentation": "The tag keys to use to untag a resource.
", + "smithy.api#documentation": "The tag keys to use to untag a resource.
", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "The request structure for the untag resource request.
", + "smithy.api#documentation": "The request structure for the untag resource request.
", "smithy.api#input": {} } }, @@ -5836,7 +5893,7 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "The response for the untag resource request.
", + "smithy.api#documentation": "The response for the untag resource request.
", "smithy.api#output": {} } }, @@ -5863,7 +5920,7 @@ } ], "traits": { - "smithy.api#documentation": "Updates an existing Amplify app.
", + "smithy.api#documentation": "Updates an existing Amplify app.
", "smithy.api#http": { "method": "POST", "uri": "/apps/{appId}", @@ -5877,7 +5934,7 @@ "appId": { "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "The unique ID for an Amplify app.
", + "smithy.api#documentation": "The unique ID for an Amplify app.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5885,67 +5942,67 @@ "name": { "target": "com.amazonaws.amplify#Name", "traits": { - "smithy.api#documentation": "The name for an Amplify app.
" + "smithy.api#documentation": "The name for an Amplify app.
" } }, "description": { "target": "com.amazonaws.amplify#Description", "traits": { - "smithy.api#documentation": "The description for an Amplify app.
" + "smithy.api#documentation": "The description for an Amplify app.
" } }, "platform": { "target": "com.amazonaws.amplify#Platform", "traits": { - "smithy.api#documentation": " The platform for the Amplify app. For a static app, set the platform type to WEB
.\n For a dynamic server-side rendered (SSR) app, set the platform type to\n WEB_COMPUTE
. For an app requiring Amplify Hosting's original SSR support only, set the platform type to\n WEB_DYNAMIC
.
The platform for the Amplify app. For a static app, set the platform type to WEB
.\n For a dynamic server-side rendered (SSR) app, set the platform type to\n WEB_COMPUTE
. For an app requiring Amplify Hosting's original SSR support only, set the platform type to\n WEB_DYNAMIC
.
The AWS Identity and Access Management (IAM) service role for an Amplify app.
" + "smithy.api#documentation": "The AWS Identity and Access Management (IAM) service role for an Amplify app.
" } }, "environmentVariables": { "target": "com.amazonaws.amplify#EnvironmentVariables", "traits": { - "smithy.api#documentation": "The environment variables for an Amplify app.
" + "smithy.api#documentation": "The environment variables for an Amplify app.
" } }, "enableBranchAutoBuild": { "target": "com.amazonaws.amplify#EnableAutoBuild", "traits": { - "smithy.api#documentation": "Enables branch auto-building for an Amplify app.
" + "smithy.api#documentation": "Enables branch auto-building for an Amplify app.
" } }, "enableBranchAutoDeletion": { "target": "com.amazonaws.amplify#EnableBranchAutoDeletion", "traits": { - "smithy.api#documentation": "Automatically disconnects a branch in the Amplify Console when you delete a branch\n from your Git repository.
" + "smithy.api#documentation": "Automatically disconnects a branch in the Amplify console when you delete a branch\n from your Git repository.
" } }, "enableBasicAuth": { "target": "com.amazonaws.amplify#EnableBasicAuth", "traits": { - "smithy.api#documentation": "Enables basic authorization for an Amplify app.
" + "smithy.api#documentation": "Enables basic authorization for an Amplify app.
" } }, "basicAuthCredentials": { "target": "com.amazonaws.amplify#BasicAuthCredentials", "traits": { - "smithy.api#documentation": " The basic authorization credentials for an Amplify app. You must base64-encode the\n authorization credentials and provide them in the format\n user:password
.
The basic authorization credentials for an Amplify app. You must base64-encode the\n authorization credentials and provide them in the format\n user:password
.
The custom redirect and rewrite rules for an Amplify app.
" + "smithy.api#documentation": "The custom redirect and rewrite rules for an Amplify app.
" } }, "buildSpec": { "target": "com.amazonaws.amplify#BuildSpec", "traits": { - "smithy.api#documentation": "The build specification (build spec) for an Amplify app.
" + "smithy.api#documentation": "The build specification (build spec) for an Amplify app.
" } }, "customHeaders": { @@ -5957,42 +6014,42 @@ "enableAutoBranchCreation": { "target": "com.amazonaws.amplify#EnableAutoBranchCreation", "traits": { - "smithy.api#documentation": "Enables automated branch creation for an Amplify app.
" + "smithy.api#documentation": "Enables automated branch creation for an Amplify app.
" } }, "autoBranchCreationPatterns": { "target": "com.amazonaws.amplify#AutoBranchCreationPatterns", "traits": { - "smithy.api#documentation": "Describes the automated branch creation glob patterns for an Amplify app.
" + "smithy.api#documentation": "Describes the automated branch creation glob patterns for an Amplify app.
" } }, "autoBranchCreationConfig": { "target": "com.amazonaws.amplify#AutoBranchCreationConfig", "traits": { - "smithy.api#documentation": "The automated branch creation configuration for an Amplify app.
" + "smithy.api#documentation": "The automated branch creation configuration for an Amplify app.
" } }, "repository": { "target": "com.amazonaws.amplify#Repository", "traits": { - "smithy.api#documentation": "The name of the repository for an Amplify app
" + "smithy.api#documentation": "The name of the Git repository for an Amplify app.
" } }, "oauthToken": { "target": "com.amazonaws.amplify#OauthToken", "traits": { - "smithy.api#documentation": "The OAuth token for a third-party source control system for an Amplify app. The OAuth\n token is used to create a webhook and a read-only deploy key using SSH cloning. The\n OAuth token is not stored.
\nUse oauthToken
for repository providers other than GitHub, such as\n Bitbucket or CodeCommit.
To authorize access to GitHub as your repository provider, use\n accessToken
.
You must specify either oauthToken
or accessToken
when you\n update an app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the\n Amplify User Guide .
" + "smithy.api#documentation": "The OAuth token for a third-party source control system for an Amplify app. The OAuth\n token is used to create a webhook and a read-only deploy key using SSH cloning. The\n OAuth token is not stored.
\nUse oauthToken
for repository providers other than GitHub, such as\n Bitbucket or CodeCommit.
To authorize access to GitHub as your repository provider, use\n accessToken
.
You must specify either oauthToken
or accessToken
when you\n update an app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the\n Amplify User Guide .
" } }, "accessToken": { "target": "com.amazonaws.amplify#AccessToken", "traits": { - "smithy.api#documentation": "The personal access token for a GitHub repository for an Amplify app. The personal\n access token is used to authorize access to a GitHub repository using the Amplify GitHub\n App. The token is not stored.
\nUse accessToken
for GitHub repositories only. To authorize access to a\n repository provider such as Bitbucket or CodeCommit, use oauthToken
.
You must specify either accessToken
or oauthToken
when you\n update an app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the\n Amplify User Guide .
" + "smithy.api#documentation": "The personal access token for a GitHub repository for an Amplify app. The personal\n access token is used to authorize access to a GitHub repository using the Amplify GitHub\n App. The token is not stored.
\nUse accessToken
for GitHub repositories only. To authorize access to a\n repository provider such as Bitbucket or CodeCommit, use oauthToken
.
You must specify either accessToken
or oauthToken
when you\n update an app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the\n Amplify User Guide .
" } } }, "traits": { - "smithy.api#documentation": "The request structure for the update app request.
", + "smithy.api#documentation": "The request structure for the update app request.
", "smithy.api#input": {} } }, @@ -6002,13 +6059,13 @@ "app": { "target": "com.amazonaws.amplify#App", "traits": { - "smithy.api#documentation": "Represents the updated Amplify app.
", + "smithy.api#documentation": "Represents the updated Amplify app.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "The result structure for an Amplify app update request.
", + "smithy.api#documentation": "The result structure for an Amplify app update request.
", "smithy.api#output": {} } }, @@ -6060,7 +6117,7 @@ "branchName": { "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "The name for the branch.
", + "smithy.api#documentation": "The name of the branch.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6152,12 +6209,18 @@ "backendEnvironmentArn": { "target": "com.amazonaws.amplify#BackendEnvironmentArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify\n app.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify\n app.
" + } + }, + "backend": { + "target": "com.amazonaws.amplify#Backend", + "traits": { + "smithy.api#documentation": "The backend for a Branch
of an Amplify app. Use for a backend created from an CloudFormation stack.
The request structure for the update branch request.
", + "smithy.api#documentation": "The request structure for the update branch request.
", "smithy.api#input": {} } }, @@ -6305,7 +6368,7 @@ } ], "traits": { - "smithy.api#documentation": "Updates a webhook.
", + "smithy.api#documentation": "Updates a webhook.
", "smithy.api#http": { "method": "POST", "uri": "/webhooks/{webhookId}", @@ -6319,7 +6382,7 @@ "webhookId": { "target": "com.amazonaws.amplify#WebhookId", "traits": { - "smithy.api#documentation": "The unique ID for a webhook.
", + "smithy.api#documentation": "The unique ID for a webhook.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6327,18 +6390,18 @@ "branchName": { "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "The name for a branch that is part of an Amplify app.
" + "smithy.api#documentation": "The name for a branch that is part of an Amplify app.
" } }, "description": { "target": "com.amazonaws.amplify#Description", "traits": { - "smithy.api#documentation": "The description for a webhook.
" + "smithy.api#documentation": "The description for a webhook.
" } } }, "traits": { - "smithy.api#documentation": "The request structure for the update webhook request.
", + "smithy.api#documentation": "The request structure for the update webhook request.
", "smithy.api#input": {} } }, @@ -6348,13 +6411,13 @@ "webhook": { "target": "com.amazonaws.amplify#Webhook", "traits": { - "smithy.api#documentation": "Describes a webhook that connects repository events to an Amplify app.
", + "smithy.api#documentation": "Describes a webhook that connects repository events to an Amplify app.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "The result structure for the update webhook request.
", + "smithy.api#documentation": "The result structure for the update webhook request.
", "smithy.api#output": {} } }, @@ -6376,55 +6439,55 @@ "webhookArn": { "target": "com.amazonaws.amplify#WebhookArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) for the webhook.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) for the webhook.
", "smithy.api#required": {} } }, "webhookId": { "target": "com.amazonaws.amplify#WebhookId", "traits": { - "smithy.api#documentation": "The ID of the webhook.
", + "smithy.api#documentation": "The ID of the webhook.
", "smithy.api#required": {} } }, "webhookUrl": { "target": "com.amazonaws.amplify#WebhookUrl", "traits": { - "smithy.api#documentation": "The URL of the webhook.
", + "smithy.api#documentation": "The URL of the webhook.
", "smithy.api#required": {} } }, "branchName": { "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "The name for a branch that is part of an Amplify app.
", + "smithy.api#documentation": "The name for a branch that is part of an Amplify app.
", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.amplify#Description", "traits": { - "smithy.api#documentation": "The description for a webhook.
", + "smithy.api#documentation": "The description for a webhook.
", "smithy.api#required": {} } }, "createTime": { "target": "com.amazonaws.amplify#CreateTime", "traits": { - "smithy.api#documentation": "The create date and time for a webhook.
", + "smithy.api#documentation": "The create date and time for a webhook.
", "smithy.api#required": {} } }, "updateTime": { "target": "com.amazonaws.amplify#UpdateTime", "traits": { - "smithy.api#documentation": "Updates the date and time for a webhook.
", + "smithy.api#documentation": "Updates the date and time for a webhook.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "Describes a webhook that connects repository events to an Amplify app.
" + "smithy.api#documentation": "Describes a webhook that connects repository events to an Amplify app.
" } }, "com.amazonaws.amplify#WebhookArn": { diff --git a/codegen/sdk-codegen/aws-models/application-insights.json b/codegen/sdk-codegen/aws-models/application-insights.json index 85ab0046bed..d0aab87f7dc 100644 --- a/codegen/sdk-codegen/aws-models/application-insights.json +++ b/codegen/sdk-codegen/aws-models/application-insights.json @@ -256,6 +256,12 @@ "traits": { "smithy.api#documentation": "The method used by Application Insights to onboard your resources.
" } + }, + "AttachMissingPermission": { + "target": "com.amazonaws.applicationinsights#AttachMissingPermission", + "traits": { + "smithy.api#documentation": "If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
" + } } }, "traits": { @@ -268,6 +274,9 @@ "target": "com.amazonaws.applicationinsights#ApplicationInfo" } }, + "com.amazonaws.applicationinsights#AttachMissingPermission": { + "type": "boolean" + }, "com.amazonaws.applicationinsights#AutoConfigEnabled": { "type": "boolean" }, @@ -572,6 +581,12 @@ "traits": { "smithy.api#documentation": "Application Insights can create applications based on a resource group or on an account.\n To create an account-based application using all of the resources in the account, set this\n parameter to ACCOUNT_BASED
.
If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
" + } } }, "traits": { @@ -1067,6 +1082,12 @@ "smithy.api#required": {} } }, + "WorkloadName": { + "target": "com.amazonaws.applicationinsights#WorkloadName", + "traits": { + "smithy.api#documentation": "The name of the workload.
" + } + }, "RecommendationType": { "target": "com.amazonaws.applicationinsights#RecommendationType", "traits": { @@ -1719,7 +1740,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1762,7 +1782,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -1775,7 +1796,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1789,7 +1809,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1812,7 +1831,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1847,7 +1865,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -1858,14 +1875,16 @@ }, "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": [ @@ -1879,14 +1898,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -1895,11 +1912,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -1910,14 +1927,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -1931,7 +1950,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1951,7 +1969,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -1962,14 +1979,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1980,9 +1999,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -4694,6 +4715,12 @@ "traits": { "smithy.api#documentation": "Turns auto-configuration on or off.
" } + }, + "AttachMissingPermission": { + "target": "com.amazonaws.applicationinsights#AttachMissingPermission", + "traits": { + "smithy.api#documentation": "If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
" + } } }, "traits": { @@ -4752,6 +4779,9 @@ { "target": "com.amazonaws.applicationinsights#InternalServerException" }, + { + "target": "com.amazonaws.applicationinsights#ResourceInUseException" + }, { "target": "com.amazonaws.applicationinsights#ResourceNotFoundException" }, diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index 6afa836ebbf..d0f537aec20 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -2770,6 +2770,9 @@ { "target": "com.amazonaws.ec2#DescribeByoipCidrs" }, + { + "target": "com.amazonaws.ec2#DescribeCapacityBlockOfferings" + }, { "target": "com.amazonaws.ec2#DescribeCapacityReservationFleets" }, @@ -3709,6 +3712,9 @@ { "target": "com.amazonaws.ec2#ProvisionPublicIpv4PoolCidr" }, + { + "target": "com.amazonaws.ec2#PurchaseCapacityBlock" + }, { "target": "com.amazonaws.ec2#PurchaseHostReservation" }, @@ -9976,6 +9982,103 @@ } } }, + "com.amazonaws.ec2#CapacityBlockOffering": { + "type": "structure", + "members": { + "CapacityBlockOfferingId": { + "target": "com.amazonaws.ec2#OfferingId", + "traits": { + "aws.protocols#ec2QueryName": "CapacityBlockOfferingId", + "smithy.api#documentation": "The ID of the Capacity Block offering.
", + "smithy.api#xmlName": "capacityBlockOfferingId" + } + }, + "InstanceType": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "InstanceType", + "smithy.api#documentation": "The instance type of the Capacity Block offering.
", + "smithy.api#xmlName": "instanceType" + } + }, + "AvailabilityZone": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "AvailabilityZone", + "smithy.api#documentation": "The Availability Zone of the Capacity Block offering.
", + "smithy.api#xmlName": "availabilityZone" + } + }, + "InstanceCount": { + "target": "com.amazonaws.ec2#Integer", + "traits": { + "aws.protocols#ec2QueryName": "InstanceCount", + "smithy.api#documentation": "The number of instances in the Capacity Block offering.
", + "smithy.api#xmlName": "instanceCount" + } + }, + "StartDate": { + "target": "com.amazonaws.ec2#MillisecondDateTime", + "traits": { + "aws.protocols#ec2QueryName": "StartDate", + "smithy.api#documentation": "The start date of the Capacity Block offering.
", + "smithy.api#xmlName": "startDate" + } + }, + "EndDate": { + "target": "com.amazonaws.ec2#MillisecondDateTime", + "traits": { + "aws.protocols#ec2QueryName": "EndDate", + "smithy.api#documentation": "The end date of the Capacity Block offering.
", + "smithy.api#xmlName": "endDate" + } + }, + "CapacityBlockDurationHours": { + "target": "com.amazonaws.ec2#Integer", + "traits": { + "aws.protocols#ec2QueryName": "CapacityBlockDurationHours", + "smithy.api#documentation": "The amount of time of the Capacity Block reservation in hours.
", + "smithy.api#xmlName": "capacityBlockDurationHours" + } + }, + "UpfrontFee": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "UpfrontFee", + "smithy.api#documentation": "The total price to be paid up front.
", + "smithy.api#xmlName": "upfrontFee" + } + }, + "CurrencyCode": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "CurrencyCode", + "smithy.api#documentation": "The currency of the payment for the Capacity Block.
", + "smithy.api#xmlName": "currencyCode" + } + }, + "Tenancy": { + "target": "com.amazonaws.ec2#CapacityReservationTenancy", + "traits": { + "aws.protocols#ec2QueryName": "Tenancy", + "smithy.api#documentation": "The tenancy of the Capacity Block.
", + "smithy.api#xmlName": "tenancy" + } + } + }, + "traits": { + "smithy.api#documentation": "The recommended Capacity Block that fits your search requirements.
" + } + }, + "com.amazonaws.ec2#CapacityBlockOfferingSet": { + "type": "list", + "member": { + "target": "com.amazonaws.ec2#CapacityBlockOffering", + "traits": { + "smithy.api#xmlName": "item" + } + } + }, "com.amazonaws.ec2#CapacityReservation": { "type": "structure", "members": { @@ -10162,6 +10265,14 @@ "smithy.api#documentation": "Information about instance capacity usage.
", "smithy.api#xmlName": "capacityAllocationSet" } + }, + "ReservationType": { + "target": "com.amazonaws.ec2#CapacityReservationType", + "traits": { + "aws.protocols#ec2QueryName": "ReservationType", + "smithy.api#documentation": "The type of Capacity Reservation.
", + "smithy.api#xmlName": "reservationType" + } } }, "traits": { @@ -10683,6 +10794,24 @@ "traits": { "smithy.api#enumValue": "failed" } + }, + "scheduled": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "scheduled" + } + }, + "payment_pending": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "payment-pending" + } + }, + "payment_failed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "payment-failed" + } } } }, @@ -10747,6 +10876,23 @@ } } }, + "com.amazonaws.ec2#CapacityReservationType": { + "type": "enum", + "members": { + "DEFAULT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "default" + } + }, + "CAPACITY_BLOCK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "capacity-block" + } + } + } + }, "com.amazonaws.ec2#CarrierGateway": { "type": "structure", "members": { @@ -21219,6 +21365,12 @@ "traits": { "smithy.api#enumValue": "on-demand" } + }, + "CAPACITY_BLOCK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "capacity-block" + } } } }, @@ -26533,6 +26685,119 @@ "smithy.api#output": {} } }, + "com.amazonaws.ec2#DescribeCapacityBlockOfferings": { + "type": "operation", + "input": { + "target": "com.amazonaws.ec2#DescribeCapacityBlockOfferingsRequest" + }, + "output": { + "target": "com.amazonaws.ec2#DescribeCapacityBlockOfferingsResult" + }, + "traits": { + "smithy.api#documentation": "Describes Capacity Block offerings available for purchase. With Capacity Blocks, you purchase a specific instance type for a period of time.
", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "CapacityBlockOfferings", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.ec2#DescribeCapacityBlockOfferingsMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 1000 + } + } + }, + "com.amazonaws.ec2#DescribeCapacityBlockOfferingsRequest": { + "type": "structure", + "members": { + "DryRun": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#documentation": "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
.
The type of instance for which the Capacity Block offering reserves capacity.
", + "smithy.api#required": {} + } + }, + "InstanceCount": { + "target": "com.amazonaws.ec2#Integer", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "The number of instances for which to reserve capacity.
", + "smithy.api#required": {} + } + }, + "StartDateRange": { + "target": "com.amazonaws.ec2#MillisecondDateTime", + "traits": { + "smithy.api#documentation": "The earliest start date for the Capacity Block offering.
" + } + }, + "EndDateRange": { + "target": "com.amazonaws.ec2#MillisecondDateTime", + "traits": { + "smithy.api#documentation": "The latest end date for the Capacity Block offering.
" + } + }, + "CapacityDurationHours": { + "target": "com.amazonaws.ec2#Integer", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "The number of hours for which to reserve Capacity Block.
", + "smithy.api#required": {} + } + }, + "NextToken": { + "target": "com.amazonaws.ec2#String", + "traits": { + "smithy.api#documentation": "The token to use to retrieve the next page of results.
" + } + }, + "MaxResults": { + "target": "com.amazonaws.ec2#DescribeCapacityBlockOfferingsMaxResults", + "traits": { + "smithy.api#documentation": "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.
The recommended Capacity Block offering for the dates specified.
", + "smithy.api#xmlName": "capacityBlockOfferingSet" + } + }, + "NextToken": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "NextToken", + "smithy.api#documentation": "The token to use to retrieve the next page of results. This value is null
when there are no more results to return.
The attributes for the instance types. When you specify instance attributes, Amazon EC2 will\n identify instance types with these attributes.
\nYou must specify VCpuCount
and MemoryMiB
. All other attributes\n 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\n specified attributes. If you specify multiple values for an attribute, you get instance\n types that satisfy any of the specified values.
\nTo limit the list of instance types from which Amazon EC2 can identify matching instance types, \n you can use one of the following parameters, but not both in the same request:
\n\n AllowedInstanceTypes
- The instance types to include in the list. All \n other instance types are ignored, even if they match your specified attributes.
\n ExcludedInstanceTypes
- The instance types to exclude from the list, \n even if they match your specified attributes.
If you specify InstanceRequirements
, you can't specify\n InstanceType
.
Attribute-based instance type selection is only supported when using Auto Scaling\n groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in\n the launch instance\n wizard or with the RunInstances API, you\n 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\n placement score in the Amazon EC2 User Guide.
" + "smithy.api#documentation": "The attributes for the instance types. When you specify instance attributes, Amazon EC2 will\n identify instance types with these attributes.
\nYou must specify VCpuCount
and MemoryMiB
. All other attributes\n 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\n specified attributes. If you specify multiple values for an attribute, you get instance\n types that satisfy any of the specified values.
\nTo limit the list of instance types from which Amazon EC2 can identify matching instance types, \n you can use one of the following parameters, but not both in the same request:
\n\n AllowedInstanceTypes
- The instance types to include in the list. All \n other instance types are ignored, even if they match your specified attributes.
\n ExcludedInstanceTypes
- The instance types to exclude from the list, \n even if they match your specified attributes.
If you specify InstanceRequirements
, you can't specify\n InstanceType
.
Attribute-based instance type selection is only supported when using Auto Scaling\n groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in\n the launch instance\n wizard or with the RunInstances API, you\n can't specify InstanceRequirements
.
For more information, see Create a mixed instances group using attribute-based instance type selection in\n 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\n placement score in the Amazon EC2 User Guide.
" } }, "com.amazonaws.ec2#InstanceRequirementsRequest": { @@ -69939,6 +70210,12 @@ "traits": { "smithy.api#enumValue": "spot" } + }, + "capacity_block": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "capacity-block" + } } } }, @@ -81003,6 +81280,71 @@ "smithy.api#documentation": "Describes the result of the purchase.
" } }, + "com.amazonaws.ec2#PurchaseCapacityBlock": { + "type": "operation", + "input": { + "target": "com.amazonaws.ec2#PurchaseCapacityBlockRequest" + }, + "output": { + "target": "com.amazonaws.ec2#PurchaseCapacityBlockResult" + }, + "traits": { + "smithy.api#documentation": "Purchase the Capacity Block for use with your account. \n\t\t 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.
" + } + }, + "com.amazonaws.ec2#PurchaseCapacityBlockRequest": { + "type": "structure", + "members": { + "DryRun": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#documentation": "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
.
The tags to apply to the Capacity Block during launch.
", + "smithy.api#xmlName": "TagSpecification" + } + }, + "CapacityBlockOfferingId": { + "target": "com.amazonaws.ec2#OfferingId", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "The ID of the Capacity Block offering.
", + "smithy.api#required": {} + } + }, + "InstancePlatform": { + "target": "com.amazonaws.ec2#CapacityReservationInstancePlatform", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "The type of operating system for which to reserve capacity.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.ec2#PurchaseCapacityBlockResult": { + "type": "structure", + "members": { + "CapacityReservation": { + "target": "com.amazonaws.ec2#CapacityReservation", + "traits": { + "aws.protocols#ec2QueryName": "CapacityReservation", + "smithy.api#documentation": "The Capacity Reservation.
", + "smithy.api#xmlName": "capacityReservation" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.ec2#PurchaseHostReservation": { "type": "operation", "input": { @@ -98793,6 +99135,12 @@ "traits": { "smithy.api#enumValue": "on-demand" } + }, + "capacity_block": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "capacity-block" + } } } }, diff --git a/codegen/sdk-codegen/aws-models/m2.json b/codegen/sdk-codegen/aws-models/m2.json index 56674c35a43..fc016a09140 100644 --- a/codegen/sdk-codegen/aws-models/m2.json +++ b/codegen/sdk-codegen/aws-models/m2.json @@ -495,7 +495,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -538,7 +537,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -551,7 +551,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -565,7 +564,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -588,7 +586,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -623,7 +620,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -634,14 +630,16 @@ }, "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": [ @@ -655,14 +653,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -671,11 +667,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -686,14 +682,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -707,7 +705,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -727,7 +724,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -738,14 +734,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -756,9 +754,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1322,6 +1322,12 @@ "traits": { "smithy.api#documentation": "A batch job identifier in which the batch job to run is identified by the script\n name.
" } + }, + "s3BatchJobIdentifier": { + "target": "com.amazonaws.m2#S3BatchJobIdentifier", + "traits": { + "smithy.api#documentation": "Specifies an Amazon S3 location that identifies the batch jobs that you want to run. Use this identifier to run ad hoc batch jobs.
" + } } }, "traits": { @@ -1369,7 +1375,7 @@ "smithy.api#documentation": "See https://www.ibm.com/docs/en/workload-automation/9.3.0?topic=zos-coding-variables-in-jcl\nto get details about limits for both keys and values:\n8 for keys (variable names), 44 for values (variable values)\nIn addition, keys will be only alphabetic characters and digits, without any space\nor special characters (dash, underscore, etc ...)\n\nParameter key: the first character must be alphabetic.\nCan be of up to 8 alphanumeric characters.", "smithy.api#length": { "min": 1, - "max": 8 + "max": 32 }, "smithy.api#pattern": "^[A-Za-z][A-Za-z0-9]{1,7}$" } @@ -1380,7 +1386,7 @@ "smithy.api#documentation": "Parameter value can be of up to 44 alphanumeric characters.", "smithy.api#length": { "min": 0, - "max": 44 + "max": 80 } } }, @@ -1921,7 +1927,7 @@ "preferredMaintenanceWindow": { "target": "com.amazonaws.m2#String50", "traits": { - "smithy.api#documentation": "Configures the maintenance window you want for the runtime environment. If you do not\n provide a value, a random system-generated value will be assigned.
" + "smithy.api#documentation": "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.
" } }, "clientToken": { @@ -2117,6 +2123,12 @@ "smithy.api#documentation": "A summary of the data set import task.
", "smithy.api#required": {} } + }, + "statusReason": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "If dataset import failed, the failure reason will show here.
" + } } }, "traits": { @@ -2189,6 +2201,10 @@ { "value": "Completed", "name": "COMPLETED" + }, + { + "value": "Failed", + "name": "FAILED" } ] } @@ -2502,6 +2518,10 @@ { "value": "Failed", "name": "FAILED" + }, + { + "value": "Updating Deployment", + "name": "DEPLOY_UPDATE" } ] } @@ -2797,6 +2817,23 @@ "target": "com.amazonaws.m2#EnvironmentSummary" } }, + "com.amazonaws.m2#ExecutionTimeoutException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Failed to connect to server, or didn’t receive response within expected time period.
", + "smithy.api#error": "server", + "smithy.api#httpError": 504, + "smithy.api#retryable": {} + } + }, "com.amazonaws.m2#ExternalLocation": { "type": "union", "members": { @@ -3359,12 +3396,21 @@ { "target": "com.amazonaws.m2#AccessDeniedException" }, + { + "target": "com.amazonaws.m2#ConflictException" + }, + { + "target": "com.amazonaws.m2#ExecutionTimeoutException" + }, { "target": "com.amazonaws.m2#InternalServerException" }, { "target": "com.amazonaws.m2#ResourceNotFoundException" }, + { + "target": "com.amazonaws.m2#ServiceUnavailableException" + }, { "target": "com.amazonaws.m2#ThrottlingException" }, @@ -3460,6 +3506,13 @@ "traits": { "smithy.api#documentation": "The last time the data set was referenced.
" } + }, + "fileSize": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#default": null, + "smithy.api#documentation": "File size of the dataset.
" + } } }, "traits": { @@ -3821,7 +3874,7 @@ "actualCapacity": { "target": "com.amazonaws.m2#CapacityValue", "traits": { - "smithy.api#documentation": "The number of instances included in the runtime environment. A standalone runtime\n environment has a maxiumum of one instance. Currently, a high availability runtime\n environment has a maximum of two instances.
" + "smithy.api#documentation": "The number of instances included in the runtime environment. A standalone runtime\n environment has a maximum of one instance. Currently, a high availability runtime\n environment has a maximum of two instances.
" } }, "loadBalancerArn": { @@ -3839,7 +3892,7 @@ "preferredMaintenanceWindow": { "target": "com.amazonaws.m2#String50", "traits": { - "smithy.api#documentation": "Configures the maintenance window you want for the runtime environment. If you do not\n provide a value, a random system-generated value will be assigned.
" + "smithy.api#documentation": "The maintenance window for the runtime environment. If you don't\n provide a value for the maintenance window, the service assigns a random value.
" } }, "pendingMaintenance": { @@ -3966,6 +4019,26 @@ "smithy.api#retryable": {} } }, + "com.amazonaws.m2#JobIdentifier": { + "type": "union", + "members": { + "fileName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The name of the file that contains the batch job definition.
" + } + }, + "scriptName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The name of the script that contains the batch job definition.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Identifies a specific batch job.
" + } + }, "com.amazonaws.m2#ListApplicationVersions": { "type": "operation", "input": { @@ -4492,12 +4565,21 @@ { "target": "com.amazonaws.m2#AccessDeniedException" }, + { + "target": "com.amazonaws.m2#ConflictException" + }, + { + "target": "com.amazonaws.m2#ExecutionTimeoutException" + }, { "target": "com.amazonaws.m2#InternalServerException" }, { "target": "com.amazonaws.m2#ResourceNotFoundException" }, + { + "target": "com.amazonaws.m2#ServiceUnavailableException" + }, { "target": "com.amazonaws.m2#ThrottlingException" }, @@ -4554,6 +4636,13 @@ "smithy.api#documentation": "The prefix of the data set name, which you can use to filter the list of data\n sets.
", "smithy.api#httpQuery": "prefix" } + }, + "nameFilter": { + "target": "com.amazonaws.m2#String200", + "traits": { + "smithy.api#documentation": "Filter dataset name matching the specified pattern. Can use * and % as wild cards.
", + "smithy.api#httpQuery": "nameFilter" + } } }, "traits": { @@ -5194,6 +5283,34 @@ "smithy.api#httpError": 404 } }, + "com.amazonaws.m2#S3BatchJobIdentifier": { + "type": "structure", + "members": { + "bucket": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The Amazon S3 bucket that contains the batch job definitions.
", + "smithy.api#required": {} + } + }, + "keyPrefix": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The key prefix that specifies the path to the folder in the S3 bucket that has the batch job definitions.
" + } + }, + "identifier": { + "target": "com.amazonaws.m2#JobIdentifier", + "traits": { + "smithy.api#documentation": "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
.
A batch job identifier in which the batch jobs to run are identified by an Amazon S3 location.
" + } + }, "com.amazonaws.m2#ScriptBatchJobDefinition": { "type": "structure", "members": { @@ -5264,6 +5381,23 @@ "smithy.api#httpError": 402 } }, + "com.amazonaws.m2#ServiceUnavailableException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Server cannot process the request at the moment.
", + "smithy.api#error": "server", + "smithy.api#httpError": 503, + "smithy.api#retryable": {} + } + }, "com.amazonaws.m2#StartApplication": { "type": "operation", "input": { @@ -5664,7 +5798,7 @@ "quotaCode": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The identifier of the throttled reuqest.
" + "smithy.api#documentation": "The identifier of the throttled request.
" } }, "retryAfterSeconds": { @@ -5911,7 +6045,7 @@ "preferredMaintenanceWindow": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "Configures the maintenance window you want for the runtime environment. If you do not\n provide a value, a random system-generated value will be assigned.
" + "smithy.api#documentation": "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.
" } }, "applyDuringMaintenanceWindow": { @@ -5920,6 +6054,13 @@ "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to update the runtime environment during the maintenance window. The\n default is false. Currently, Amazon Web Services Mainframe Modernization accepts the engineVersion
parameter\n only if applyDuringMaintenanceWindow
is true. If any parameter other than\n engineVersion
is provided in UpdateEnvironmentRequest
, it will\n fail if applyDuringMaintenanceWindow
is set to 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.
\nIf 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.
\nThis option is not needed if the attribute being updated is preferredMaintenanceWindow
.
Raised when a user cancelled a request.
", "smithy.api#error": "server", - "smithy.api#httpError": 500, - "smithy.api#retryable": {} + "smithy.api#httpError": 500 } }, "com.amazonaws.neptunedata#Classes": { @@ -2730,7 +2729,7 @@ } ], "traits": { - "smithy.api#documentation": "Executes an openCypher explain
request. See\n The\n openCypher explain feature for more information.
When invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that allows the neptune-db:ReadDataViaQuery\n IAM action in that cluster.
\nNote that the neptune-db:QueryLanguage:Opencypher\n IAM condition key can be used in the policy document to restrict the use of\n openCypher queries (see Condition\n keys available in Neptune IAM data-access policy statements).
", + "smithy.api#documentation": "Executes an openCypher explain
request. See\n The\n openCypher explain feature for more information.
When invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that allows the neptune-db:ReadDataViaQuery\n IAM action in that cluster.
\nNote that the neptune-db:QueryLanguage:OpenCypher\n IAM condition key can be used in the policy document to restrict the use of\n openCypher queries (see Condition\n keys available in Neptune IAM data-access policy statements).
", "smithy.api#http": { "method": "POST", "uri": "/opencypher/explain", @@ -2859,7 +2858,7 @@ } ], "traits": { - "smithy.api#documentation": "Executes an openCypher query. See Accessing\n the Neptune Graph with openCypher for more information.
\nNeptune supports building graph applications using openCypher,\n which is currently one of the most popular query languages among\n developers working with graph databases. Developers, business analysts,\n and data scientists like openCypher's declarative, SQL-inspired syntax\n because it provides a familiar structure in which to querying property\n graphs.
\nThe openCypher language was originally developed by Neo4j, then\n open-sourced in 2015 and contributed to the openCypher project under an Apache\n 2 open-source license.
\nNote that when invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that allows one of the following IAM actions\n in that cluster, depending on the query:
\nNote also that the neptune-db:QueryLanguage:Opencypher\n IAM condition key can be used in the policy document to restrict the use of\n openCypher queries (see Condition\n keys available in Neptune IAM data-access policy statements).
", + "smithy.api#documentation": "Executes an openCypher query. See Accessing\n the Neptune Graph with openCypher for more information.
\nNeptune supports building graph applications using openCypher,\n which is currently one of the most popular query languages among\n developers working with graph databases. Developers, business analysts,\n and data scientists like openCypher's declarative, SQL-inspired syntax\n because it provides a familiar structure in which to querying property\n graphs.
\nThe openCypher language was originally developed by Neo4j, then\n open-sourced in 2015 and contributed to the openCypher project under an Apache\n 2 open-source license.
\nNote that when invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that allows one of the following IAM actions\n in that cluster, depending on the query:
\nNote also that the neptune-db:QueryLanguage:OpenCypher\n IAM condition key can be used in the policy document to restrict the use of\n openCypher queries (see Condition\n keys available in Neptune IAM data-access policy statements).
", "smithy.api#http": { "method": "POST", "uri": "/opencypher", @@ -3893,7 +3892,7 @@ } ], "traits": { - "smithy.api#documentation": "Retrieves the status of a specified openCypher query.
\nWhen invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that allows the neptune-db:GetQueryStatus\n IAM action in that cluster.
\nNote that the neptune-db:QueryLanguage:Opencypher\n IAM condition key can be used in the policy document to restrict the use of\n openCypher queries (see Condition\n keys available in Neptune IAM data-access policy statements).
", + "smithy.api#documentation": "Retrieves the status of a specified openCypher query.
\nWhen invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that allows the neptune-db:GetQueryStatus\n IAM action in that cluster.
\nNote that the neptune-db:QueryLanguage:OpenCypher\n IAM condition key can be used in the policy document to restrict the use of\n openCypher queries (see Condition\n keys available in Neptune IAM data-access policy statements).
", "smithy.api#http": { "method": "GET", "uri": "/opencypher/status/{queryId}", @@ -4072,7 +4071,7 @@ } ], "traits": { - "smithy.api#documentation": "Gets a stream for a property graph.
\nWith the Neptune Streams feature, you can generate a complete\n sequence of change-log entries that record every change made to your\n graph data as it happens. GetPropertygraphStream
lets\n you collect these change-log entries for a property graph.
The Neptune streams feature needs to be enabled on your Neptune\n DBcluster. To enable streams, set the neptune_streams\n DB cluster parameter to 1
.
See Capturing\n graph changes in real time using Neptune streams.
\nWhen invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that allows the neptune-db:GetStreamRecords\n IAM action in that cluster.
\nWhen invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that enables one of the following IAM actions,\n depending on the query:
\nNote that you can restrict property-graph queries using the\n following IAM context keys:
\nSee Condition\n keys available in Neptune IAM data-access policy statements).
", + "smithy.api#documentation": "Gets a stream for a property graph.
\nWith the Neptune Streams feature, you can generate a complete\n sequence of change-log entries that record every change made to your\n graph data as it happens. GetPropertygraphStream
lets\n you collect these change-log entries for a property graph.
The Neptune streams feature needs to be enabled on your Neptune\n DBcluster. To enable streams, set the neptune_streams\n DB cluster parameter to 1
.
See Capturing\n graph changes in real time using Neptune streams.
\nWhen invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that allows the neptune-db:GetStreamRecords\n IAM action in that cluster.
\nWhen invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that enables one of the following IAM actions,\n depending on the query:
\nNote that you can restrict property-graph queries using the\n following IAM context keys:
\nSee Condition\n keys available in Neptune IAM data-access policy statements).
", "smithy.api#http": { "method": "GET", "uri": "/propertygraph/stream", @@ -5498,7 +5497,7 @@ } ], "traits": { - "smithy.api#documentation": "Lists active openCypher queries. See Neptune\n openCypher status endpoint for more information.
\nWhen invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that allows the neptune-db:GetQueryStatus\n IAM action in that cluster.
\nNote that the neptune-db:QueryLanguage:Opencypher\n IAM condition key can be used in the policy document to restrict the use of\n openCypher queries (see Condition\n keys available in Neptune IAM data-access policy statements).
", + "smithy.api#documentation": "Lists active openCypher queries. See Neptune\n openCypher status endpoint for more information.
\nWhen invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that allows the neptune-db:GetQueryStatus\n IAM action in that cluster.
\nNote that the neptune-db:QueryLanguage:OpenCypher\n IAM condition key can be used in the policy document to restrict the use of\n openCypher queries (see Condition\n keys available in Neptune IAM data-access policy statements).
", "smithy.api#http": { "method": "GET", "uri": "/opencypher/status", @@ -7065,7 +7064,7 @@ "format": { "target": "com.amazonaws.neptunedata#Format", "traits": { - "smithy.api#documentation": "The format of the data. For more information about data formats for the Neptune\n Loader
command, see Load Data Formats.
\n Allowed values\n
\n\n \n csv
\n for the Gremlin CSV data format.
\n \n opencypher
\n for the\n openCypher CSV data format.
\n \n ntriples
\n for the\n N-Triples RDF data format.
\n \n nquads
\n for the\n N-Quads RDF data format.
\n \n rdfxml
\n for the\n RDF\\XML RDF data format.
\n \n turtle
\n for the\n Turtle RDF data format.
The format of the data. For more information about data formats for the Neptune\n Loader
command, see Load Data Formats.
\n Allowed values\n
\n\n \n csv
\n for the Gremlin CSV data format.
\n \n opencypher
\n for the\n openCypher CSV data format.
\n \n ntriples
\n for the\n N-Triples RDF data format.
\n \n nquads
\n for the\n N-Quads RDF data format.
\n \n rdfxml
\n for the\n RDF\\XML RDF data format.
\n \n turtle
\n for the\n Turtle RDF data format.
The load job mode.
\n\n Allowed values: RESUME
, NEW
,\n AUTO
.
\n Default value: AUTO
.
\n \n
\n\n RESUME
– In RESUME mode,\n the loader looks for a previous load from this source, and if it finds\n one, resumes that load job. If no previous load job is found, the loader stops.
The loader avoids reloading files that were successfully loaded in\n a previous job. It only tries to process failed files. If you dropped\n previously loaded data from your Neptune cluster, that data is not\n reloaded in this mode. If a previous load job loaded all files from the\n same source successfully, nothing is reloaded, and the loader returns\n success.
\n\n NEW
– In NEW mode, the\n creates a new load request regardless of any previous loads. You\n can use this mode to reload all the data from a source after dropping\n previously loaded data from your Neptune cluster, or to load new data\n available at the same source.
\n AUTO
– In AUTO mode,\n the loader looks for a previous load job from the same source, and if it\n finds one, resumes that job, just as in RESUME
mode.
If the loader doesn't find a previous load job from the same\n source, it loads all data from the source, just as in NEW
\n mode.
The load job mode.
\n\n Allowed values: RESUME
, NEW
,\n AUTO
.
\n Default value: AUTO
.
\n \n
\n\n RESUME
– In RESUME mode,\n the loader looks for a previous load from this source, and if it finds\n one, resumes that load job. If no previous load job is found, the loader stops.
The loader avoids reloading files that were successfully loaded in\n a previous job. It only tries to process failed files. If you dropped\n previously loaded data from your Neptune cluster, that data is not\n reloaded in this mode. If a previous load job loaded all files from the\n same source successfully, nothing is reloaded, and the loader returns\n success.
\n\n NEW
– In NEW mode, the\n creates a new load request regardless of any previous loads. You\n can use this mode to reload all the data from a source after dropping\n previously loaded data from your Neptune cluster, or to load new data\n available at the same source.
\n AUTO
– In AUTO mode,\n the loader looks for a previous load job from the same source, and if it\n finds one, resumes that job, just as in RESUME
mode.
If the loader doesn't find a previous load job from the same\n source, it loads all data from the source, just as in NEW
\n mode.
The optional parallelism
parameter can be set\n to reduce the number of threads used by the bulk load process.
\n Allowed values:
\n\n LOW
– The number of threads used is the\n number of available vCPUs divided by 8.
\n MEDIUM
– The number of threads used is the\n number of available vCPUs divided by 2.
\n HIGH
– The number of threads used is the\n same as the number of available vCPUs.
\n OVERSUBSCRIBE
– The number of threads used is the\n number of available vCPUs multiplied by 2. If this value is used, the bulk loader takes up all\n available resources.
This does not mean, however, that the OVERSUBSCRIBE
setting\n results in 100% CPU utilization. Because the load operation is I/O bound, the\n highest CPU utilization to expect is in the 60% to 70% range.
\n Default value: HIGH
\n
The parallelism
setting can sometimes result in a deadlock\n between threads when loading openCypher data. When this happens, Neptune returns the\n LOAD_DATA_DEADLOCK
error. You can generally fix the issue by setting\n parallelism
to a lower setting and retrying the load command.
The optional parallelism
parameter can be set\n to reduce the number of threads used by the bulk load process.
\n Allowed values:
\n\n LOW
– The number of threads used is the\n number of available vCPUs divided by 8.
\n MEDIUM
– The number of threads used is the\n number of available vCPUs divided by 2.
\n HIGH
– The number of threads used is the\n same as the number of available vCPUs.
\n OVERSUBSCRIBE
– The number of threads used is the\n number of available vCPUs multiplied by 2. If this value is used, the bulk loader takes up all\n available resources.
This does not mean, however, that the OVERSUBSCRIBE
setting\n results in 100% CPU utilization. Because the load operation is I/O bound, the\n highest CPU utilization to expect is in the 60% to 70% range.
\n Default value: HIGH
\n
The parallelism
setting can sometimes result in a deadlock\n between threads when loading openCypher data. When this happens, Neptune returns the\n LOAD_DATA_DEADLOCK
error. You can generally fix the issue by setting\n parallelism
to a lower setting and retrying the load command.
\n \n parserConfiguration
\n \n – An optional object with additional parser configuration values.\n Each of the child parameters is also optional:
\n \n
\n\n \n namedGraphUri
\n – \n The default graph for all RDF formats when no graph is specified (for non-quads\n formats and NQUAD entries with no graph).
The default is https://aws.amazon.com/neptune/vocab/v01/DefaultNamedGraph
.
\n \n baseUri
\n – \n The base URI for RDF/XML and Turtle formats.
The default is https://aws.amazon.com/neptune/default
.
\n \n allowEmptyStrings
\n – \n Gremlin users need to be able to pass empty string values(\"\") as node\n and edge properties when loading CSV data. If allowEmptyStrings
\n is set to false
(the default), such empty strings are treated\n as nulls and are not loaded.
If allowEmptyStrings
is set to true
,\n the loader treats empty strings as valid property values and loads\n them accordingly.
\n \n parserConfiguration
\n \n – An optional object with additional parser configuration values.\n Each of the child parameters is also optional:
\n \n
\n\n \n namedGraphUri
\n – \n The default graph for all RDF formats when no graph is specified (for non-quads\n formats and NQUAD entries with no graph).
The default is https://aws.amazon.com/neptune/vocab/v01/DefaultNamedGraph
.
\n \n baseUri
\n – \n The base URI for RDF/XML and Turtle formats.
The default is https://aws.amazon.com/neptune/default
.
\n \n allowEmptyStrings
\n – \n Gremlin users need to be able to pass empty string values(\"\") as node\n and edge properties when loading CSV data. If allowEmptyStrings
\n is set to false
(the default), such empty strings are treated\n as nulls and are not loaded.
If allowEmptyStrings
is set to true
,\n the loader treats empty strings as valid property values and loads\n them accordingly.
\n updateSingleCardinalityProperties
\n is an optional parameter that controls how the bulk loader treats a new\n value for single-cardinality vertex or edge properties. This is not supported for\n loading openCypher data.
\n Allowed values: \"TRUE\"
, \"FALSE\"
.
\n Default value: \"FALSE\"
.
By default, or when updateSingleCardinalityProperties
is explicitly\n set to \"FALSE\"
, the loader treats a new value as an error, because it\n violates single cardinality.
When updateSingleCardinalityProperties
is set to \"TRUE\"
,\n on the other hand, the bulk loader replaces the existing value with the new one.\n If multiple edge or single-cardinality vertex property values are provided in the\n source file(s) being loaded, the final value at the end of the bulk load could be\n any one of those new values. The loader only guarantees that the existing value\n has been replaced by one of the new ones.
\n updateSingleCardinalityProperties
\n is an optional parameter that controls how the bulk loader treats a new\n value for single-cardinality vertex or edge properties. This is not supported for\n loading openCypher data.
\n Allowed values: \"TRUE\"
, \"FALSE\"
.
\n Default value: \"FALSE\"
.
By default, or when updateSingleCardinalityProperties
is explicitly\n set to \"FALSE\"
, the loader treats a new value as an error, because it\n violates single cardinality.
When updateSingleCardinalityProperties
is set to \"TRUE\"
,\n on the other hand, the bulk loader replaces the existing value with the new one.\n If multiple edge or single-cardinality vertex property values are provided in the\n source file(s) being loaded, the final value at the end of the bulk load could be\n any one of those new values. The loader only guarantees that the existing value\n has been replaced by one of the new ones.
This is an optional flag parameter\n that indicates whether the load request can be queued up or not.
\nYou don't have to wait for one load job to complete before issuing the next one,\n because Neptune can queue up as many as 64 jobs at a time, provided that their\n queueRequest
parameters are all set to \"TRUE\"
.
If the queueRequest
parameter is omitted or set to \"FALSE\"
,\n the load request will fail if another load job is already running.
\n Allowed values: \"TRUE\"
, \"FALSE\"
.
\n Default value: \"FALSE\"
.
This is an optional flag parameter\n that indicates whether the load request can be queued up or not.
\nYou don't have to wait for one load job to complete before issuing the next one,\n because Neptune can queue up as many as 64 jobs at a time, provided that their\n queueRequest
parameters are all set to \"TRUE\"
.\n The queue order of the jobs will be first-in-first-out (FIFO).
If the queueRequest
parameter is omitted or set to \"FALSE\"
,\n the load request will fail if another load job is already running.
\n Allowed values: \"TRUE\"
, \"FALSE\"
.
\n Default value: \"FALSE\"
.
This parameter is required only when loading openCypher data that contains relationship\n IDs. It must be included and set to True
when openCypher relationship IDs\n are explicitly provided in the load data (recommended).
When userProvidedEdgeIds
is absent or set to True
,\n an :ID
column must be present in every relationship file in the load.
When userProvidedEdgeIds
is present and set to False
,\n relationship files in the load must not contain an\n :ID
column. Instead, the Neptune loader automatically generates an\n ID for each relationship.
It's useful to provide relationship IDs explicitly so that the loader can resume\n loading after error in the CSV data have been fixed, without having to reload any\n relationships that have already been loaded. If relationship IDs have not been\n explicitly assigned, the loader cannot resume a failed load if any relationship file\n has had to be corrected, and must instead reload all the relationships.
" + "smithy.api#documentation": "This parameter is required only when loading openCypher data that contains relationship\n IDs. It must be included and set to True
when openCypher relationship IDs\n are explicitly provided in the load data (recommended).
When userProvidedEdgeIds
is absent or set to True
,\n an :ID
column must be present in every relationship file in the load.
When userProvidedEdgeIds
is present and set to False
,\n relationship files in the load must not contain an\n :ID
column. Instead, the Neptune loader automatically generates an\n ID for each relationship.
It's useful to provide relationship IDs explicitly so that the loader can resume\n loading after error in the CSV data have been fixed, without having to reload any\n relationships that have already been loaded. If relationship IDs have not been\n explicitly assigned, the loader cannot resume a failed load if any relationship file\n has had to be corrected, and must instead reload all the relationships.
" } } }, diff --git a/codegen/sdk-codegen/aws-models/translate.json b/codegen/sdk-codegen/aws-models/translate.json index 37e62a1e6c2..e004c45e013 100644 --- a/codegen/sdk-codegen/aws-models/translate.json +++ b/codegen/sdk-codegen/aws-models/translate.json @@ -147,7 +147,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -190,7 +189,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -203,7 +203,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -217,7 +216,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -240,7 +238,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -275,7 +272,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -286,14 +282,16 @@ }, "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": [ @@ -307,14 +305,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -323,11 +319,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -338,14 +334,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -359,7 +357,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -379,7 +376,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -390,14 +386,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -408,9 +406,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1018,6 +1018,17 @@ "smithy.api#pattern": "^[\\P{M}\\p{M}]{1,10000}$" } }, + "com.amazonaws.translate#Brevity": { + "type": "enum", + "members": { + "ON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ON" + } + } + } + }, "com.amazonaws.translate#ClientTokenString": { "type": "string", "traits": { @@ -2428,15 +2439,13 @@ "S3Uri": { "target": "com.amazonaws.translate#S3Uri", "traits": { - "smithy.api#documentation": "The URI of the Amazon S3 folder that contains the parallel data input file. The folder\n must be in the same Region as the API endpoint you are calling.
", - "smithy.api#required": {} + "smithy.api#documentation": "The URI of the Amazon S3 folder that contains the parallel data input file. The folder\n must be in the same Region as the API endpoint you are calling.
" } }, "Format": { "target": "com.amazonaws.translate#ParallelDataFormat", "traits": { - "smithy.api#documentation": "The format of the parallel data input file.
", - "smithy.api#required": {} + "smithy.api#documentation": "The format of the parallel data input file.
" } } }, @@ -2808,7 +2817,7 @@ "Settings": { "target": "com.amazonaws.translate#TranslationSettings", "traits": { - "smithy.api#documentation": "Settings to configure your translation output, including the option to set the formality\n level of the output text and the option to mask profane words and phrases.
" + "smithy.api#documentation": "Settings to configure your translation output. You can configure the following options:
\nBrevity: not supported.
\nFormality: sets the formality level of the output text.
\nProfanity: masks profane words and phrases in your translation output.
\nTranslates the input document from the source language to the target language. \n This synchronous operation supports plain text or HTML for the input document.\n \n TranslateDocument
supports translations from English to any supported language, \n and from any supported language to English. Therefore, specify either the source language code\n or the target language code as “en” (English). \n
\n TranslateDocument
does not support language auto-detection.
If you set the Formality
parameter, the request will fail if the target language does \n not support formality. For a list of target languages that support formality, see\n Setting formality.\n
Translates the input document from the source language to the target language. \n This synchronous operation supports text, HTML, or Word documents as the input document.\n \n TranslateDocument
supports translations from English to any supported language, \n and from any supported language to English. Therefore, specify either the source language code\n or the target language code as “en” (English). \n
If you set the Formality
parameter, the request will fail if the target language does \n not support formality. For a list of target languages that support formality, see\n Setting formality.\n
The language code for the language of the source text. Do not use auto
, because\n TranslateDocument
does not support language auto-detection.\n For a list of supported language codes, see\n Supported languages.
The language code for the language of the source text. For a list of supported language codes, see\n Supported languages.
\nTo have Amazon Translate determine the source language of your text, you can specify\n auto
in the SourceLanguageCode
field. If you specify\n auto
, Amazon Translate will call Amazon\n Comprehend to determine the source language.
If you specify auto
, you must send the TranslateDocument
request in a region that supports\n Amazon Comprehend. Otherwise, the request returns an error indicating that autodetect is not supported.
Settings to configure your translation output. You can configure the following options:
\nBrevity: not supported.
\nFormality: sets the formality level of the output text.
\nProfanity: masks profane words and phrases in your translation output.
\nSettings to configure your translation output, including the option to set the formality\n level of the output text and the option to mask profane words and phrases.
" + "smithy.api#documentation": "Settings to configure your translation output. You can configure the following options:
\nBrevity: reduces the length of the translated output for most translations.
\nFormality: sets the formality level of the output text.
\nProfanity: masks profane words and phrases in your translation output.
\nYou can optionally specify the desired level of formality for translations\n to supported target languages. The formality\n setting controls the level of formal language usage (also known as register) in the\n translation output. You can set the value to informal or formal. If you don't specify a value for\n formality, or if the target language doesn't support formality, the translation will\n ignore the formality setting.
\nIf you specify multiple target languages for the job, translate ignores\n the formality setting for any unsupported target language.
\nFor a list of target languages that support formality, see Supported languages\n in the Amazon Translate Developer Guide.
" + "smithy.api#documentation": "You can specify the desired level of formality for translations\n to supported target languages. The formality\n setting controls the level of formal language usage (also known as register) in the\n translation output. You can set the value to informal or formal. If you don't specify a value for\n formality, or if the target language doesn't support formality, the translation will\n ignore the formality setting.
\nIf you specify multiple target languages for the job, translate ignores\n the formality setting for any unsupported target language.
\nFor a list of target languages that support formality, see Supported languages\n in the Amazon Translate Developer Guide.
" } }, "Profanity": { "target": "com.amazonaws.translate#Profanity", "traits": { - "smithy.api#documentation": "Enable the profanity setting if you want Amazon Translate to mask profane words and\n phrases in your translation output.
\nTo mask profane words and phrases, Amazon Translate replaces them with the grawlix string\n “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the\n length or number of words.
\nAmazon Translate doesn't detect profanity in all of its supported languages. For languages\n that don't support profanity detection, see Unsupported languages in the Amazon Translate Developer Guide.
\nIf you specify multiple target languages for the job, all the\n target languages must support profanity masking. If any of the\n target languages don't support profanity masking, the\n translation job won't mask profanity for any target\n language.
" + "smithy.api#documentation": "You can enable the profanity setting if you want to mask profane words and\n phrases in your translation output.
\nTo mask profane words and phrases, Amazon Translate replaces them with the grawlix string\n “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the\n length or number of words.
\nAmazon Translate doesn't detect profanity in all of its supported languages. For languages\n that don't support profanity detection, see Unsupported languages in the Amazon Translate Developer Guide.
\nIf you specify multiple target languages for the job, all the\n target languages must support profanity masking. If any of the\n target languages don't support profanity masking, the\n translation job won't mask profanity for any target\n language.
" + } + }, + "Brevity": { + "target": "com.amazonaws.translate#Brevity", + "traits": { + "smithy.api#documentation": "When you turn on brevity, Amazon Translate reduces the length of the translation output for most translations (when\n compared with the same translation with brevity turned off). By default, brevity is turned\n off.
\nIf you turn on brevity for a translation request with an unsupported language pair, the\n translation proceeds with the brevity setting turned off.
\nFor the language pairs that brevity supports, see Using brevity in the\n Amazon Translate Developer Guide.
" } } }, "traits": { - "smithy.api#documentation": "Settings to configure your translation output, including the option to set the formality\n level of the output text and the option to mask profane words and phrases.
" + "smithy.api#documentation": "Settings to configure your translation output. You can configure the following options:
\nBrevity: reduces the length of the translation output for most translations. Available for\n TranslateText
only.
Formality: sets the formality level of the translation output.
\nProfanity: masks profane words and phrases in the translation output.
\n