DataZone / Paginator / ListSubscriptionTargets

ListSubscriptionTargets#

class DataZone.Paginator.ListSubscriptionTargets#
paginator = client.get_paginator('list_subscription_targets')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from DataZone.Client.list_subscription_targets().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    domainIdentifier='string',
    environmentIdentifier='string',
    sortBy='CREATED_AT'|'UPDATED_AT',
    sortOrder='ASCENDING'|'DESCENDING',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • domainIdentifier (string) –

    [REQUIRED]

    The identifier of the Amazon DataZone domain where you want to list subscription targets.

  • environmentIdentifier (string) –

    [REQUIRED]

    The identifier of the environment where you want to list subscription targets.

  • sortBy (string) – Specifies the way in which the results of this action are to be sorted.

  • sortOrder (string) – Specifies the sort order for the results of this action.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'items': [
        {
            'applicableAssetTypes': [
                'string',
            ],
            'authorizedPrincipals': [
                'string',
            ],
            'createdAt': datetime(2015, 1, 1),
            'createdBy': 'string',
            'domainId': 'string',
            'environmentId': 'string',
            'id': 'string',
            'manageAccessRole': 'string',
            'name': 'string',
            'projectId': 'string',
            'provider': 'string',
            'subscriptionTargetConfig': [
                {
                    'content': 'string',
                    'formName': 'string'
                },
            ],
            'type': 'string',
            'updatedAt': datetime(2015, 1, 1),
            'updatedBy': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • items (list) –

      The results of the ListSubscriptionTargets action.

      • (dict) –

        The details of the subscription target.

        • applicableAssetTypes (list) –

          The asset types included in the subscription target.

          • (string) –

        • authorizedPrincipals (list) –

          The authorized principals included in the subscription target.

          • (string) –

        • createdAt (datetime) –

          The timestamp of when the subscription target was created.

        • createdBy (string) –

          The Amazon DataZone user who created the subscription target.

        • domainId (string) –

          The identifier of the Amazon DataZone domain in which the subscription target exists.

        • environmentId (string) –

          The identifier of the environment of the subscription target.

        • id (string) –

          The identifier of the subscription target.

        • manageAccessRole (string) –

          The manage access role specified in the subscription target.

        • name (string) –

          The name of the subscription target.

        • projectId (string) –

          The identifier of the project specified in the subscription target.

        • provider (string) –

          The provider of the subscription target.

        • subscriptionTargetConfig (list) –

          The configuration of the subscription target.

          • (dict) –

            The details of the subscription target configuration.

            • content (string) –

              The content of the subscription target configuration.

            • formName (string) –

              The form name included in the subscription target configuration.

        • type (string) –

          The type of the subscription target.

        • updatedAt (datetime) –

          The timestamp of when the subscription target was updated.

        • updatedBy (string) –

          The Amazon DataZone user who updated the subscription target.

    • NextToken (string) –

      A token to resume pagination.