AppRegistry / Client / get_attribute_group

get_attribute_group#

AppRegistry.Client.get_attribute_group(**kwargs)#

Retrieves an attribute group, either by its name or its ID. The attribute group can be specified either by its unique ID or by its name.

See also: AWS API Documentation

Request Syntax

response = client.get_attribute_group(
    attributeGroup='string'
)
Parameters:

attributeGroup (string) –

[REQUIRED]

The name or ID of the attribute group that holds the attributes to describe the application.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • id (string) –

      The identifier of the attribute group.

    • arn (string) –

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

    • name (string) –

      The name of the attribute group.

    • description (string) –

      The description of the attribute group that the user provides.

    • attributes (string) –

      A JSON string in the form of nested key-value pairs that represent the attributes in the group and describes an application and its components.

    • creationTime (datetime) –

      The ISO-8601 formatted timestamp of the moment the attribute group was created.

    • lastUpdateTime (datetime) –

      The ISO-8601 formatted timestamp of the moment the attribute group was last updated. This time is the same as the creationTime for a newly created attribute group.

    • tags (dict) –

      Key-value pairs associated with the attribute group.

      • (string) –

        • (string) –

Exceptions

  • AppRegistry.Client.exceptions.ResourceNotFoundException

  • AppRegistry.Client.exceptions.ValidationException

  • AppRegistry.Client.exceptions.InternalServerException

  • AppRegistry.Client.exceptions.ConflictException