| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AccessAnalyzer.GetAnalyzedResource
Description
Retrieves information about a resource that was analyzed.
Synopsis
- data GetAnalyzedResource = GetAnalyzedResource' {
- analyzerArn :: Text
- resourceArn :: Text
- newGetAnalyzedResource :: Text -> Text -> GetAnalyzedResource
- getAnalyzedResource_analyzerArn :: Lens' GetAnalyzedResource Text
- getAnalyzedResource_resourceArn :: Lens' GetAnalyzedResource Text
- data GetAnalyzedResourceResponse = GetAnalyzedResourceResponse' {}
- newGetAnalyzedResourceResponse :: Int -> GetAnalyzedResourceResponse
- getAnalyzedResourceResponse_resource :: Lens' GetAnalyzedResourceResponse (Maybe AnalyzedResource)
- getAnalyzedResourceResponse_httpStatus :: Lens' GetAnalyzedResourceResponse Int
Creating a Request
data GetAnalyzedResource Source #
Retrieves an analyzed resource.
See: newGetAnalyzedResource smart constructor.
Constructors
| GetAnalyzedResource' | |
Fields
| |
Instances
newGetAnalyzedResource Source #
Arguments
| :: Text | |
| -> Text | |
| -> GetAnalyzedResource |
Create a value of GetAnalyzedResource with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetAnalyzedResource, getAnalyzedResource_analyzerArn - The
ARN of the analyzer
to retrieve information from.
GetAnalyzedResource, getAnalyzedResource_resourceArn - The ARN of the resource to retrieve information about.
Request Lenses
getAnalyzedResource_analyzerArn :: Lens' GetAnalyzedResource Text Source #
The ARN of the analyzer to retrieve information from.
getAnalyzedResource_resourceArn :: Lens' GetAnalyzedResource Text Source #
The ARN of the resource to retrieve information about.
Destructuring the Response
data GetAnalyzedResourceResponse Source #
The response to the request.
See: newGetAnalyzedResourceResponse smart constructor.
Constructors
| GetAnalyzedResourceResponse' | |
Fields
| |
Instances
newGetAnalyzedResourceResponse Source #
Create a value of GetAnalyzedResourceResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetAnalyzedResourceResponse, getAnalyzedResourceResponse_resource - An AnalyzedResource object that contains information that IAM Access
Analyzer found when it analyzed the resource.
$sel:httpStatus:GetAnalyzedResourceResponse', getAnalyzedResourceResponse_httpStatus - The response's http status code.
Response Lenses
getAnalyzedResourceResponse_resource :: Lens' GetAnalyzedResourceResponse (Maybe AnalyzedResource) Source #
An AnalyzedResource object that contains information that IAM Access
Analyzer found when it analyzed the resource.
getAnalyzedResourceResponse_httpStatus :: Lens' GetAnalyzedResourceResponse Int Source #
The response's http status code.