---
title: "POST /analyzed-resource"
method: POST
path: "/analyzed-resource"
---

# POST /analyzed-resource

`POST /analyzed-resource`

Retrieves a list of resources of the specified type that have been analyzed by the specified analyzer..

## Query parameters

- `maxResults` string
- `nextToken` string

## Request body

- object
  - `analyzerArn` string, required — The <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources">ARN of the analyzer</a> to retrieve a list of analyzed resources from.
  - `resourceType` 'AWS::S3::Bucket' | 'AWS::IAM::Role' | 'AWS::SQS::Queue' | 'AWS::Lambda::Function' | 'AWS::Lambda::LayerVersion' | 'AWS::KMS::Key' | 'AWS::SecretsManager::Secret' | 'AWS::EFS::FileSystem' | 'AWS::EC2::Snapshot' | 'AWS::ECR::Repository' | 'AWS::RDS::DBSnapshot' | 'AWS::RDS::DBClusterSnapshot' | 'AWS::SNS::Topic' — The type of resource.
  - `nextToken` string — A token used for pagination of results returned.
  - `maxResults` integer — The maximum number of results to return in the response.

## Response `200`

Success

- ListAnalyzedResourcesResponse — The response to the request.
  - `analyzedResources` AnalyzedResourceSummary[], required — A list of resources that were analyzed.
    - `resourceArn` string, required — The ARN of the analyzed resource.
    - `resourceOwnerAccount` string, required — The Amazon Web Services account ID that owns the resource.
    - `resourceType` 'AWS::S3::Bucket' | 'AWS::IAM::Role' | 'AWS::SQS::Queue' | 'AWS::Lambda::Function' | 'AWS::Lambda::LayerVersion' | 'AWS::KMS::Key' | 'AWS::SecretsManager::Secret' | 'AWS::EFS::FileSystem' | 'AWS::EC2::Snapshot' | 'AWS::ECR::Repository' | 'AWS::RDS::DBSnapshot' | 'AWS::RDS::DBClusterSnapshot' | 'AWS::SNS::Topic', required — The type of resource that was analyzed.
  - `nextToken` string — A token used for pagination of results returned.

## Other responses

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

---

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