list_resource_profile_artifacts
(**kwargs)¶Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.
See also: AWS API Documentation
Request Syntax
response = client.list_resource_profile_artifacts(
nextToken='string',
resourceArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.
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) --
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
Exceptions
Macie2.Client.exceptions.ResourceNotFoundException
Macie2.Client.exceptions.ThrottlingException
Macie2.Client.exceptions.ValidationException
Macie2.Client.exceptions.InternalServerException
Macie2.Client.exceptions.AccessDeniedException