update_application

AppConfig.Client.update_application(**kwargs)

Updates an application.

See also: AWS API Documentation

Request Syntax

response = client.update_application(
    ApplicationId='string',
    Name='string',
    Description='string'
)
Parameters
  • ApplicationId (string) --

    [REQUIRED]

    The application ID.

  • Name (string) -- The name of the application.
  • Description (string) -- A description of the application.
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.BadRequestException
  • AppConfig.Client.exceptions.ResourceNotFoundException
  • AppConfig.Client.exceptions.InternalServerException

Examples

The following update-application example updates the name of the specified application.

response = client.update_application(
    ApplicationId='339ohji',
    Description='',
    Name='Example-Application',
)

print(response)

Expected Output:

{
    'Description': 'An application used for creating an example.',
    'Id': '339ohji',
    'Name': 'Example-Application',
    'ResponseMetadata': {
        '...': '...',
    },
}