rePostPrivate / Paginator / ListSpaces

ListSpaces#

class rePostPrivate.Paginator.ListSpaces#
paginator = client.get_paginator('list_spaces')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from rePostPrivate.Client.list_spaces().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:

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

{
    'spaces': [
        {
            'arn': 'string',
            'configurationStatus': 'CONFIGURED'|'UNCONFIGURED',
            'contentSize': 123,
            'createDateTime': datetime(2015, 1, 1),
            'deleteDateTime': datetime(2015, 1, 1),
            'description': 'string',
            'name': 'string',
            'randomDomain': 'string',
            'spaceId': 'string',
            'status': 'string',
            'storageLimit': 123,
            'tier': 'BASIC'|'STANDARD',
            'userCount': 123,
            'userKMSKey': 'string',
            'vanityDomain': 'string',
            'vanityDomainStatus': 'PENDING'|'APPROVED'|'UNAPPROVED'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • spaces (list) –

      An array of structures that contain some information about the private re:Posts in the account.

      • (dict) –

        A structure that contains some information about a private re:Post in the account.

        • arn (string) –

          The ARN of the private re:Post.

        • configurationStatus (string) –

          The configuration status of the private re:Post.

        • contentSize (integer) –

          The content size of the private re:Post.

        • createDateTime (datetime) –

          The date when the private re:Post was created.

        • deleteDateTime (datetime) –

          The date when the private re:Post was deleted.

        • description (string) –

          The description for the private re:Post. This is used only to help you identify this private re:Post.

        • name (string) –

          The name for the private re:Post.

        • randomDomain (string) –

          The AWS generated subdomain of the private re:Post.

        • spaceId (string) –

          The unique ID of the private re:Post.

        • status (string) –

          The creation/deletion status of the private re:Post.

        • storageLimit (integer) –

          The storage limit of the private re:Post.

        • tier (string) –

          The pricing tier of the private re:Post.

        • userCount (integer) –

          The number of onboarded users to the private re:Post.

        • userKMSKey (string) –

          The custom AWS KMS key ARN that’s used for the AWS KMS encryption.

        • vanityDomain (string) –

          This custom subdomain that you use to access your private re:Post. All custom subdomains must be approved by AWS before use.

        • vanityDomainStatus (string) –

          This approval status of the custom subdomain.

    • NextToken (string) –

      A token to resume pagination.