---
title: "GET /resource-profiles/artifacts#resourceArn"
method: GET
path: "/resource-profiles/artifacts#resourceArn"
---

# GET /resource-profiles/artifacts#resourceArn

`GET /resource-profiles/artifacts#resourceArn`

Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.

## Query parameters

- `nextToken` string
- `resourceArn` string, required

## Response `200`

Success

- ListResourceProfileArtifactsResponse
  - `artifacts` ResourceProfileArtifact[] — <p>An array of objects, one for each of 1-100 S3 objects that Amazon Macie selected for analysis.</p> <p>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.</p>
    - `arn` string, required — The Amazon Resource Name (ARN) of the object.
    - `classificationResultStatus` string, required — <p>The status of the analysis. Possible values are:</p> <ul><li><p>COMPLETE - Amazon Macie successfully completed its analysis of the object.</p></li> <li><p>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.</p></li> <li><p>SKIPPED - Macie wasn't able to analyze the object. For example, the object is a malformed file.</p></li></ul>
    - `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.

## Other responses

- `480` — ResourceNotFoundException
- `481` — ThrottlingException
- `482` — ValidationException
- `483` — InternalServerException
- `484` — AccessDeniedException

---

[API](https://skmtc.net/aws/apis/macie2.md) · [All operations](https://skmtc.net/aws/apis/macie2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/macie2/versions/6252cf55d8ef/schema)
