Macie2 / Paginator / ListResourceProfileArtifacts


class Macie2.Paginator.ListResourceProfileArtifacts#
paginator = client.get_paginator('list_resource_profile_artifacts')

Creates an iterator that will paginate through responses from Macie2.Client.list_resource_profile_artifacts().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
        'MaxItems': 123,
        'StartingToken': 'string'
  • resourceArn (string) –


    The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.

  • 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.

    • StartingToken (string) –

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

Return type:



Response Syntax

    'artifacts': [
            'arn': 'string',
            'classificationResultStatus': 'string',
            'sensitive': True|False
    'NextToken': 'string'

Response Structure

  • (dict) –

    The request succeeded.

    • artifacts (list) –

      An array of objects, one for each of 1-100 S3 objects that Amazon Macie selected for analysis.

      If Macie has analyzed more than 100 objects in the bucket, Macie populates the array based on the value for the ResourceProfileArtifact.sensitive field for an object: true (sensitive), followed by false (not sensitive). Macie then populates any remaining items in the array with information about objects where the value for the ResourceProfileArtifact.classificationResultStatus field is SKIPPED.

      • (dict) –

        Provides information about an S3 object that Amazon Macie selected for analysis while performing automated sensitive data discovery for an S3 bucket, and the status and results of the analysis. This information is available only if automated sensitive data discovery is currently enabled for your account.

        • arn (string) –

          The Amazon Resource Name (ARN) of the object.

        • classificationResultStatus (string) –

          The status of the analysis. Possible values are:

          • COMPLETE - Amazon Macie successfully completed its analysis of the object.

          • PARTIAL - Macie analyzed only a subset of data in the object. For example, the object is an archive file that contains files in an unsupported format.

          • SKIPPED - Macie wasn’t able to analyze the object. For example, the object is a malformed file.

        • sensitive (boolean) –

          Specifies whether Amazon Macie found sensitive data in the object.

    • NextToken (string) –

      A token to resume pagination.