get_application

get_application(**kwargs)

Retrieves information about an application.

See also: AWS API Documentation

Request Syntax

response = client.get_application(
    ApplicationId='string'
)
Parameters
ApplicationId (string) --

[REQUIRED]

The ID of the application you want to get.

Return type
dict
Returns
Response Syntax
{
    'Id': 'string',
    'Name': 'string',
    'Description': 'string'
}

Response Structure

  • (dict) --
    • Id (string) --

      The application ID.

    • Name (string) --

      The application name.

    • Description (string) --

      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': {
        '...': '...',
    },
}