CodeArtifact / Paginator / ListAllowedRepositoriesForGroup

ListAllowedRepositoriesForGroup#

class CodeArtifact.Paginator.ListAllowedRepositoriesForGroup#
paginator = client.get_paginator('list_allowed_repositories_for_group')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from CodeArtifact.Client.list_allowed_repositories_for_group().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    domain='string',
    domainOwner='string',
    packageGroup='string',
    originRestrictionType='EXTERNAL_UPSTREAM'|'INTERNAL_UPSTREAM'|'PUBLISH',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • domain (string) –

    [REQUIRED]

    The name of the domain that contains the package group from which to list allowed repositories.

  • domainOwner (string) – The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

  • packageGroup (string) –

    [REQUIRED]

    The pattern of the package group from which to list allowed repositories.

  • originRestrictionType (string) –

    [REQUIRED]

    The origin configuration restriction type of which to list allowed repositories.

  • 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

{
    'allowedRepositories': [
        'string',
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • allowedRepositories (list) –

      The list of allowed repositories for the package group and origin configuration restriction type.

      • (string) –

    • NextToken (string) –

      A token to resume pagination.