AppRegistry / Client / delete_application

delete_application#

AppRegistry.Client.delete_application(**kwargs)#

Deletes an application that is specified either by its application ID, name, or ARN. All associated attribute groups and resources must be disassociated from it before deleting an application.

See also: AWS API Documentation

Request Syntax

response = client.delete_application(
    application='string'
)
Parameters:

application (string) –

[REQUIRED]

The name, ID, or ARN 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)
    }
}

Response Structure

  • (dict) –

    • application (dict) –

      Information about the deleted 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.

Exceptions

  • AppRegistry.Client.exceptions.ResourceNotFoundException

  • AppRegistry.Client.exceptions.ValidationException

  • AppRegistry.Client.exceptions.InternalServerException