update_application

AppRegistry.Client.update_application(**kwargs)

Updates an existing application with new attributes.

See also: AWS API Documentation

Request Syntax

response = client.update_application(
    application='string',
    name='string',
    description='string'
)
Parameters
  • application (string) --

    [REQUIRED]

    The name or ID of the application that will be updated.

  • name (string) -- Deprecated: The new name of the application. The name must be unique in the region in which you are updating the application. Please do not use this field as we have stopped supporting name updates.
  • description (string) -- The new description of the application.
Return type

dict

Returns

Response Syntax

{
    'application': {
        'id': 'string',
        'arn': 'string',
        'name': 'string',
        'description': 'string',
        'creationTime': datetime(2015, 1, 1),
        'lastUpdateTime': datetime(2015, 1, 1),
        'tags': {
            'string': 'string'
        }
    }
}

Response Structure

  • (dict) --

    • application (dict) --

      The updated information of the application.

      • id (string) --

        The identifier of the application.

      • arn (string) --

        The Amazon resource name (ARN) that specifies the application across services.

      • name (string) --

        The name of the application. The name must be unique in the region in which you are creating the application.

      • description (string) --

        The description of the application.

      • creationTime (datetime) --

        The ISO-8601 formatted timestamp of the moment when the application was created.

      • lastUpdateTime (datetime) --

        The ISO-8601 formatted timestamp of the moment when the application was last updated.

      • tags (dict) --

        Key-value pairs you can use to associate with the application.

        • (string) --
          • (string) --

Exceptions

  • AppRegistry.Client.exceptions.ResourceNotFoundException
  • AppRegistry.Client.exceptions.ConflictException
  • AppRegistry.Client.exceptions.ValidationException
  • AppRegistry.Client.exceptions.InternalServerException