Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
GetAnalyzedResource' | |
|
Instances
newGetAnalyzedResource Source #
:: 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:
$sel:analyzerArn:GetAnalyzedResource'
, getAnalyzedResource_analyzerArn
- The
ARN of the analyzer
to retrieve information from.
$sel:resourceArn: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.
GetAnalyzedResourceResponse' | |
|
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:
$sel:resource: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.