Glue / Client / list_usage_profiles

list_usage_profiles#

Glue.Client.list_usage_profiles(**kwargs)#

List all the Glue usage profiles.

See also: AWS API Documentation

Request Syntax

response = client.list_usage_profiles(
    NextToken='string',
    MaxResults=123
)
Parameters:
  • NextToken (string) – A continuation token, included if this is a continuation call.

  • MaxResults (integer) – The maximum number of usage profiles to return in a single response.

Return type:

dict

Returns:

Response Syntax

{
    'Profiles': [
        {
            'Name': 'string',
            'Description': 'string',
            'CreatedOn': datetime(2015, 1, 1),
            'LastModifiedOn': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • Profiles (list) –

      A list of usage profile ( UsageProfileDefinition) objects.

      • (dict) –

        Describes an Glue usage profile.

        • Name (string) –

          The name of the usage profile.

        • Description (string) –

          A description of the usage profile.

        • CreatedOn (datetime) –

          The date and time when the usage profile was created.

        • LastModifiedOn (datetime) –

          The date and time when the usage profile was last modified.

    • NextToken (string) –

      A continuation token, present if the current list segment is not the last.

Exceptions

  • Glue.Client.exceptions.InternalServiceException

  • Glue.Client.exceptions.OperationTimeoutException

  • Glue.Client.exceptions.InvalidInputException

  • Glue.Client.exceptions.OperationNotSupportedException