get_application
(**kwargs)¶Retrieves information about an application.
See also: AWS API Documentation
Request Syntax
response = client.get_application(
ApplicationId='string'
)
[REQUIRED]
The ID of the application you want to get.
{
'Id': 'string',
'Name': 'string',
'Description': 'string'
}
Response Structure
The application ID.
The application name.
The description of the application.
Exceptions
AppConfig.Client.exceptions.ResourceNotFoundException
AppConfig.Client.exceptions.InternalServerException
AppConfig.Client.exceptions.BadRequestException
Examples
The following get-application example lists the details of the specified application.
response = client.get_application(
ApplicationId='339ohji',
)
print(response)
Expected Output:
{
'Id': '339ohji',
'Name': 'example-application',
'ResponseMetadata': {
'...': '...',
},
}