---
title: "GET /analyzed-resource#analyzerArn&resourceArn"
method: GET
path: "/analyzed-resource#analyzerArn&resourceArn"
---

# GET /analyzed-resource#analyzerArn&resourceArn

`GET /analyzed-resource#analyzerArn&resourceArn`

Retrieves information about a resource that was analyzed.

## Query parameters

- `analyzerArn` string, required
- `resourceArn` string, required

## Response `200`

Success

- GetAnalyzedResourceResponse — The response to the request.
  - `resource` object — An <code>AnalyzedResource</code> object that contains information that IAM Access Analyzer found when it analyzed the resource.
    - `resourceArn` string, required — The ARN of the resource that was analyzed.
    - `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 the resource that was analyzed.
    - `createdAt` string, date-time, required — The time at which the finding was created.
    - `analyzedAt` string, date-time, required — The time at which the resource was analyzed.
    - `updatedAt` string, date-time, required — The time at which the finding was updated.
    - `isPublic` boolean, required — Indicates whether the policy that generated the finding grants public access to the resource.
    - `actions` String[] — The actions that an external principal is granted permission to use by the policy that generated the finding.
    - `sharedVia` String[] — Indicates how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
    - `status` 'ACTIVE' | 'ARCHIVED' | 'RESOLVED' — The current status of the finding generated from the analyzed resource.
    - `resourceOwnerAccount` string, required — The Amazon Web Services account ID that owns the resource.
    - `error` string — An error message.

## 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)
