2019/11/21 - AWS Amplify - 4 new api methods
Changes This release of AWS Amplify Console introduces support for backend environments. Backend environments are containers for AWS deployments. Each environment is a collection of AWS resources.
Delete backend environment for an Amplify App.
See also: AWS API Documentation
Request Syntax
client.delete_backend_environment( appId='string', environmentName='string' )
string
[REQUIRED]
Unique Id of an Amplify App.
string
[REQUIRED]
Name of a backend environment of an Amplify App.
dict
Response Syntax
{ 'backendEnvironment': { 'backendEnvironmentArn': 'string', 'environmentName': 'string', 'stackName': 'string', 'deploymentArtifacts': 'string', 'createTime': datetime(2015, 1, 1), 'updateTime': datetime(2015, 1, 1) } }
Response Structure
(dict) --
Result structure of a delete backend environment result.
backendEnvironment (dict) --
Backend environment structure for an Amplify App.
backendEnvironmentArn (string) --
Arn for a backend environment, part of an Amplify App.
environmentName (string) --
Name for a backend environment, part of an Amplify App.
stackName (string) --
CloudFormation stack name of backend environment.
deploymentArtifacts (string) --
Name of deployment artifacts.
createTime (datetime) --
Creation date and time for a backend environment, part of an Amplify App.
updateTime (datetime) --
Last updated date and time for a backend environment, part of an Amplify App.
Lists backend environments for an Amplify App.
See also: AWS API Documentation
Request Syntax
client.list_backend_environments( appId='string', environmentName='string', nextToken='string', maxResults=123 )
string
[REQUIRED]
Unique Id for an amplify App.
string
Name of the backend environment
string
Pagination token. Set to null to start listing backen environments from start. If a non-null pagination token is returned in a result, then pass its value in here to list more backend environments.
integer
Maximum number of records to list in a single response.
dict
Response Syntax
{ 'backendEnvironments': [ { 'backendEnvironmentArn': 'string', 'environmentName': 'string', 'stackName': 'string', 'deploymentArtifacts': 'string', 'createTime': datetime(2015, 1, 1), 'updateTime': datetime(2015, 1, 1) }, ], 'nextToken': 'string' }
Response Structure
(dict) --
Result structure for list backend environments result.
backendEnvironments (list) --
List of backend environments for an Amplify App.
(dict) --
Backend environment for an Amplify App.
backendEnvironmentArn (string) --
Arn for a backend environment, part of an Amplify App.
environmentName (string) --
Name for a backend environment, part of an Amplify App.
stackName (string) --
CloudFormation stack name of backend environment.
deploymentArtifacts (string) --
Name of deployment artifacts.
createTime (datetime) --
Creation date and time for a backend environment, part of an Amplify App.
updateTime (datetime) --
Last updated date and time for a backend environment, part of an Amplify App.
nextToken (string) --
Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.
Retrieves a backend environment for an Amplify App.
See also: AWS API Documentation
Request Syntax
client.get_backend_environment( appId='string', environmentName='string' )
string
[REQUIRED]
Unique Id for an Amplify App.
string
[REQUIRED]
Name for the backend environment.
dict
Response Syntax
{ 'backendEnvironment': { 'backendEnvironmentArn': 'string', 'environmentName': 'string', 'stackName': 'string', 'deploymentArtifacts': 'string', 'createTime': datetime(2015, 1, 1), 'updateTime': datetime(2015, 1, 1) } }
Response Structure
(dict) --
Result structure for get backend environment result.
backendEnvironment (dict) --
Backend environment structure for an an Amplify App.
backendEnvironmentArn (string) --
Arn for a backend environment, part of an Amplify App.
environmentName (string) --
Name for a backend environment, part of an Amplify App.
stackName (string) --
CloudFormation stack name of backend environment.
deploymentArtifacts (string) --
Name of deployment artifacts.
createTime (datetime) --
Creation date and time for a backend environment, part of an Amplify App.
updateTime (datetime) --
Last updated date and time for a backend environment, part of an Amplify App.
Creates a new backend environment for an Amplify App.
See also: AWS API Documentation
Request Syntax
client.create_backend_environment( appId='string', environmentName='string', stackName='string', deploymentArtifacts='string' )
string
[REQUIRED]
Unique Id for an Amplify App.
string
[REQUIRED]
Name for the backend environment.
string
CloudFormation stack name of backend environment.
string
Name of deployment artifacts.
dict
Response Syntax
{ 'backendEnvironment': { 'backendEnvironmentArn': 'string', 'environmentName': 'string', 'stackName': 'string', 'deploymentArtifacts': 'string', 'createTime': datetime(2015, 1, 1), 'updateTime': datetime(2015, 1, 1) } }
Response Structure
(dict) --
Result structure for create backend environment.
backendEnvironment (dict) --
Backend environment structure for an amplify App.
backendEnvironmentArn (string) --
Arn for a backend environment, part of an Amplify App.
environmentName (string) --
Name for a backend environment, part of an Amplify App.
stackName (string) --
CloudFormation stack name of backend environment.
deploymentArtifacts (string) --
Name of deployment artifacts.
createTime (datetime) --
Creation date and time for a backend environment, part of an Amplify App.
updateTime (datetime) --
Last updated date and time for a backend environment, part of an Amplify App.