AppRegistry.Client.
get_application
(**kwargs)¶Retrieves metadata information about one of your applications. The application can be specified either by its unique ID or by its name (which is unique within one account in one region at a given point in time). Specify by ID in automated workflows if you want to make sure that the exact same application is returned or a ResourceNotFoundException
is thrown, avoiding the ABA addressing problem.
See also: AWS API Documentation
Request Syntax
response = client.get_application(
application='string'
)
[REQUIRED]
The name or ID of the application.
{
'id': 'string',
'arn': 'string',
'name': 'string',
'description': 'string',
'creationTime': datetime(2015, 1, 1),
'lastUpdateTime': datetime(2015, 1, 1),
'associatedResourceCount': 123,
'tags': {
'string': 'string'
},
'integrations': {
'resourceGroup': {
'state': 'CREATING'|'CREATE_COMPLETE'|'CREATE_FAILED'|'UPDATING'|'UPDATE_COMPLETE'|'UPDATE_FAILED',
'arn': 'string',
'errorMessage': 'string'
}
}
}
Response Structure
The identifier of the application.
The Amazon resource name (ARN) that specifies the application across services.
The name of the application. The name must be unique in the region in which you are creating the application.
The description of the application.
The ISO-8601 formatted timestamp of the moment when the application was created.
The ISO-8601 formatted timestamp of the moment when the application was last updated.
The number of top-level resources that were registered as part of this application.
Key-value pairs associated with the application.
The information about the integration of the application with other services, such as Resource Groups.
The information about the resource group integration.
The state of the propagation process for the resource group. The states includes:
CREATING
if the resource group is in the process of being created.
CREATE_COMPLETE
if the resource group was created successfully.
CREATE_FAILED
if the resource group failed to be created.
UPDATING
if the resource group is in the process of being updated.
UPDATE_COMPLETE
if the resource group updated successfully.
UPDATE_FAILED
if the resource group could not update successfully.
The Amazon resource name (ARN) of the resource group.
The error message that generates when the propagation process for the resource group fails.
Exceptions
AppRegistry.Client.exceptions.ResourceNotFoundException
AppRegistry.Client.exceptions.ValidationException
AppRegistry.Client.exceptions.InternalServerException
AppRegistry.Client.exceptions.ConflictException