list_applications
(**kwargs)¶Lists all applications in your Amazon Web Services account.
See also: AWS API Documentation
Request Syntax
response = client.list_applications(
MaxResults=123,
NextToken='string'
)
dict
Response Syntax
{
'Items': [
{
'Id': 'string',
'Name': 'string',
'Description': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Items (list) --
The elements from this collection.
(dict) --
Id (string) --
The application ID.
Name (string) --
The application name.
Description (string) --
The description of the application.
NextToken (string) --
The token for the next set of items to return. Use this token to get the next set of results.
Exceptions
AppConfig.Client.exceptions.InternalServerException
AppConfig.Client.exceptions.BadRequestException
Examples
The following list-applications example lists the available applications in your AWS account.
response = client.list_applications(
)
print(response)
Expected Output:
{
'Items': [
{
'Description': 'An application used for creating an example.',
'Id': '339ohji',
'Name': 'test-application',
},
{
'Id': 'rwalwu7',
'Name': 'Test-Application',
},
],
'ResponseMetadata': {
'...': '...',
},
}