| 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.GetAccessPreview
Description
Retrieves information about an access preview for the specified analyzer.
Synopsis
- data GetAccessPreview = GetAccessPreview' {}
- newGetAccessPreview :: Text -> Text -> GetAccessPreview
- getAccessPreview_accessPreviewId :: Lens' GetAccessPreview Text
- getAccessPreview_analyzerArn :: Lens' GetAccessPreview Text
- data GetAccessPreviewResponse = GetAccessPreviewResponse' {}
- newGetAccessPreviewResponse :: Int -> AccessPreview -> GetAccessPreviewResponse
- getAccessPreviewResponse_httpStatus :: Lens' GetAccessPreviewResponse Int
- getAccessPreviewResponse_accessPreview :: Lens' GetAccessPreviewResponse AccessPreview
Creating a Request
data GetAccessPreview Source #
See: newGetAccessPreview smart constructor.
Constructors
| GetAccessPreview' | |
Fields
| |
Instances
Create a value of GetAccessPreview 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:accessPreviewId:GetAccessPreview', getAccessPreview_accessPreviewId - The unique ID for the access preview.
GetAccessPreview, getAccessPreview_analyzerArn - The
ARN of the analyzer
used to generate the access preview.
Request Lenses
getAccessPreview_accessPreviewId :: Lens' GetAccessPreview Text Source #
The unique ID for the access preview.
getAccessPreview_analyzerArn :: Lens' GetAccessPreview Text Source #
The ARN of the analyzer used to generate the access preview.
Destructuring the Response
data GetAccessPreviewResponse Source #
See: newGetAccessPreviewResponse smart constructor.
Constructors
| GetAccessPreviewResponse' | |
Fields
| |
Instances
newGetAccessPreviewResponse Source #
Arguments
| :: Int | |
| -> AccessPreview | |
| -> GetAccessPreviewResponse |
Create a value of GetAccessPreviewResponse 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:httpStatus:GetAccessPreviewResponse', getAccessPreviewResponse_httpStatus - The response's http status code.
$sel:accessPreview:GetAccessPreviewResponse', getAccessPreviewResponse_accessPreview - An object that contains information about the access preview.
Response Lenses
getAccessPreviewResponse_httpStatus :: Lens' GetAccessPreviewResponse Int Source #
The response's http status code.
getAccessPreviewResponse_accessPreview :: Lens' GetAccessPreviewResponse AccessPreview Source #
An object that contains information about the access preview.