Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

ListS3Resources

class Macie.Paginator.ListS3Resources
paginator = client.get_paginator('list_s3_resources')
paginate(**kwargs)

Creates an iterator that will paginate through responses from Macie.Client.list_s3_resources().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    memberAccountId='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • memberAccountId (string) -- (Discontinued) The Amazon Macie Classic member account ID whose associated S3 resources you want to list.
  • 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

{
    's3Resources': [
        {
            'bucketName': 'string',
            'prefix': 'string',
            'classificationType': {
                'oneTime': 'FULL'|'NONE',
                'continuous': 'FULL'
            }
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • s3Resources (list) --

      (Discontinued) A list of the associated S3 resources returned by the action.

      • (dict) --

        (Discontinued) The S3 resources that you want to associate with Amazon Macie Classic for monitoring and data classification. This data type is used as a request parameter in the AssociateS3Resources action and a response parameter in the ListS3Resources action.

        • bucketName (string) --

          (Discontinued) The name of the S3 bucket that you want to associate with Amazon Macie Classic.

        • prefix (string) --

          (Discontinued) The prefix of the S3 bucket that you want to associate with Amazon Macie Classic.

        • classificationType (dict) --

          (Discontinued) The classification type that you want to specify for the resource associated with Amazon Macie Classic.

          • oneTime (string) --

            (Discontinued) A one-time classification of all of the existing objects in a specified S3 bucket.

          • continuous (string) --

            (Discontinued) A continuous classification of the objects that are added to a specified S3 bucket. Amazon Macie Classic begins performing continuous classification after a bucket is successfully associated with Macie Classic.

    • NextToken (string) --

      A token to resume pagination.