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 |
Synopsis
- data AccessPreview = AccessPreview' {}
- newAccessPreview :: Text -> UTCTime -> Text -> AccessPreviewStatus -> AccessPreview
- accessPreview_statusReason :: Lens' AccessPreview (Maybe AccessPreviewStatusReason)
- accessPreview_analyzerArn :: Lens' AccessPreview Text
- accessPreview_configurations :: Lens' AccessPreview (HashMap Text Configuration)
- accessPreview_createdAt :: Lens' AccessPreview UTCTime
- accessPreview_id :: Lens' AccessPreview Text
- accessPreview_status :: Lens' AccessPreview AccessPreviewStatus
Documentation
data AccessPreview Source #
Contains information about an access preview.
See: newAccessPreview
smart constructor.
AccessPreview' | |
|
Instances
:: Text | |
-> UTCTime | |
-> Text | |
-> AccessPreviewStatus | |
-> AccessPreview |
Create a value of AccessPreview
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:statusReason:AccessPreview'
, accessPreview_statusReason
- Provides more details about the current status of the access preview.
For example, if the creation of the access preview fails, a Failed
status is returned. This failure can be due to an internal issue with
the analysis or due to an invalid resource configuration.
$sel:analyzerArn:AccessPreview'
, accessPreview_analyzerArn
- The ARN of the analyzer used to generate the access preview.
$sel:configurations:AccessPreview'
, accessPreview_configurations
- A map of resource ARNs for the proposed resource configuration.
$sel:createdAt:AccessPreview'
, accessPreview_createdAt
- The time at which the access preview was created.
$sel:id:AccessPreview'
, accessPreview_id
- The unique ID for the access preview.
$sel:status:AccessPreview'
, accessPreview_status
- The status of the access preview.
Creating
- The access preview creation is in progress.Completed
- The access preview is complete. You can preview findings for external access to the resource.Failed
- The access preview creation has failed.
accessPreview_statusReason :: Lens' AccessPreview (Maybe AccessPreviewStatusReason) Source #
Provides more details about the current status of the access preview.
For example, if the creation of the access preview fails, a Failed
status is returned. This failure can be due to an internal issue with
the analysis or due to an invalid resource configuration.
accessPreview_analyzerArn :: Lens' AccessPreview Text Source #
The ARN of the analyzer used to generate the access preview.
accessPreview_configurations :: Lens' AccessPreview (HashMap Text Configuration) Source #
A map of resource ARNs for the proposed resource configuration.
accessPreview_createdAt :: Lens' AccessPreview UTCTime Source #
The time at which the access preview was created.
accessPreview_id :: Lens' AccessPreview Text Source #
The unique ID for the access preview.
accessPreview_status :: Lens' AccessPreview AccessPreviewStatus Source #
The status of the access preview.
Creating
- The access preview creation is in progress.Completed
- The access preview is complete. You can preview findings for external access to the resource.Failed
- The access preview creation has failed.