create_application
(**kwargs)¶Creates a new application that is the top-level node in a hierarchy of related cloud resource abstractions.
See also: AWS API Documentation
Request Syntax
response = client.create_application(
name='string',
description='string',
tags={
'string': 'string'
},
clientToken='string'
)
[REQUIRED]
The name of the application. The name must be unique in the region in which you are creating the application.
Key-value pairs you can use to associate with the application.
[REQUIRED]
A unique identifier that you provide to ensure idempotency. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails.
This field is autopopulated if not provided.
dict
Response Syntax
{
'application': {
'id': 'string',
'arn': 'string',
'name': 'string',
'description': 'string',
'creationTime': datetime(2015, 1, 1),
'lastUpdateTime': datetime(2015, 1, 1),
'tags': {
'string': 'string'
}
}
}
Response Structure
(dict) --
application (dict) --
Information about the application.
id (string) --
The identifier of the application.
arn (string) --
The Amazon resource name (ARN) that specifies the application across services.
name (string) --
The name of the application. The name must be unique in the region in which you are creating the application.
description (string) --
The description of the application.
creationTime (datetime) --
The ISO-8601 formatted timestamp of the moment when the application was created.
lastUpdateTime (datetime) --
The ISO-8601 formatted timestamp of the moment when the application was last updated.
tags (dict) --
Key-value pairs you can use to associate with the application.
Exceptions
AppRegistry.Client.exceptions.ServiceQuotaExceededException
AppRegistry.Client.exceptions.ConflictException
AppRegistry.Client.exceptions.InternalServerException
AppRegistry.Client.exceptions.ValidationException