Macie2.Paginator.
ListResourceProfileArtifacts
¶paginator = client.get_paginator('list_resource_profile_artifacts')
paginate
(**kwargs)¶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(
resourceArn='string',
PaginationConfig={
'MaxItems': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.
A dictionary that provides parameters to control pagination.
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.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
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:
sensitive (boolean) --
Specifies whether Amazon Macie found sensitive data in the object.
NextToken (string) --
A token to resume pagination.