list_attribute_groups_for_application

AppRegistry.Client.list_attribute_groups_for_application(**kwargs)

Lists the details of all attribute groups associated with a specific application. The results display in pages.

See also: AWS API Documentation

Request Syntax

response = client.list_attribute_groups_for_application(
    application='string',
    nextToken='string',
    maxResults=123
)
Parameters
  • application (string) --

    [REQUIRED]

    The name or ID of the application.

  • nextToken (string) -- This token retrieves the next page of results after a previous API call.
  • maxResults (integer) -- The upper bound of the number of results to return. The value cannot exceed 25. If you omit this parameter, it defaults to 25. This value is optional.
Return type

dict

Returns

Response Syntax

{
    'attributeGroupsDetails': [
        {
            'id': 'string',
            'arn': 'string',
            'name': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • attributeGroupsDetails (list) --

      The details related to a specific attribute group.

      • (dict) --

        The details related to a specific AttributeGroup.

        • id (string) --

          The unique identifier of the attribute group.

        • arn (string) --

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

        • name (string) --

          Warning

          This field is no longer supported. We recommend you don't use the field when using ListAttributeGroupsForApplication .

          The name of the attribute group.

    • nextToken (string) --

      The token to use to get the next page of results after a previous API call.

Exceptions

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