| 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.Types.AccessPreview
Description
Synopsis
- data AccessPreview = AccessPreview' {}
- newAccessPreview :: Text -> Text -> UTCTime -> AccessPreviewStatus -> AccessPreview
- accessPreview_statusReason :: Lens' AccessPreview (Maybe AccessPreviewStatusReason)
- accessPreview_id :: Lens' AccessPreview Text
- accessPreview_analyzerArn :: Lens' AccessPreview Text
- accessPreview_configurations :: Lens' AccessPreview (HashMap Text Configuration)
- accessPreview_createdAt :: Lens' AccessPreview UTCTime
- accessPreview_status :: Lens' AccessPreview AccessPreviewStatus
Documentation
data AccessPreview Source #
Contains information about an access preview.
See: newAccessPreview smart constructor.
Constructors
| AccessPreview' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> UTCTime | |
| -> 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:id:AccessPreview', accessPreview_id - The unique ID for the access preview.
$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: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_id :: Lens' AccessPreview Text Source #
The unique ID for the access preview.
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_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.