| 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.AnalyzedResource
Description
Synopsis
- data AnalyzedResource = AnalyzedResource' {
- actions :: Maybe [Text]
- error :: Maybe Text
- sharedVia :: Maybe [Text]
- status :: Maybe FindingStatus
- resourceArn :: Text
- resourceType :: ResourceType
- createdAt :: ISO8601
- analyzedAt :: ISO8601
- updatedAt :: ISO8601
- isPublic :: Bool
- resourceOwnerAccount :: Text
- newAnalyzedResource :: Text -> ResourceType -> UTCTime -> UTCTime -> UTCTime -> Bool -> Text -> AnalyzedResource
- analyzedResource_actions :: Lens' AnalyzedResource (Maybe [Text])
- analyzedResource_error :: Lens' AnalyzedResource (Maybe Text)
- analyzedResource_sharedVia :: Lens' AnalyzedResource (Maybe [Text])
- analyzedResource_status :: Lens' AnalyzedResource (Maybe FindingStatus)
- analyzedResource_resourceArn :: Lens' AnalyzedResource Text
- analyzedResource_resourceType :: Lens' AnalyzedResource ResourceType
- analyzedResource_createdAt :: Lens' AnalyzedResource UTCTime
- analyzedResource_analyzedAt :: Lens' AnalyzedResource UTCTime
- analyzedResource_updatedAt :: Lens' AnalyzedResource UTCTime
- analyzedResource_isPublic :: Lens' AnalyzedResource Bool
- analyzedResource_resourceOwnerAccount :: Lens' AnalyzedResource Text
Documentation
data AnalyzedResource Source #
Contains details about the analyzed resource.
See: newAnalyzedResource smart constructor.
Constructors
| AnalyzedResource' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ResourceType | |
| -> UTCTime | |
| -> UTCTime | |
| -> UTCTime | |
| -> Bool | |
| -> Text | |
| -> AnalyzedResource |
Create a value of AnalyzedResource 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:actions:AnalyzedResource', analyzedResource_actions - The actions that an external principal is granted permission to use by
the policy that generated the finding.
$sel:error:AnalyzedResource', analyzedResource_error - An error message.
$sel:sharedVia:AnalyzedResource', analyzedResource_sharedVia - Indicates how the access that generated the finding is granted. This is
populated for Amazon S3 bucket findings.
$sel:status:AnalyzedResource', analyzedResource_status - The current status of the finding generated from the analyzed resource.
$sel:resourceArn:AnalyzedResource', analyzedResource_resourceArn - The ARN of the resource that was analyzed.
$sel:resourceType:AnalyzedResource', analyzedResource_resourceType - The type of the resource that was analyzed.
$sel:createdAt:AnalyzedResource', analyzedResource_createdAt - The time at which the finding was created.
$sel:analyzedAt:AnalyzedResource', analyzedResource_analyzedAt - The time at which the resource was analyzed.
$sel:updatedAt:AnalyzedResource', analyzedResource_updatedAt - The time at which the finding was updated.
$sel:isPublic:AnalyzedResource', analyzedResource_isPublic - Indicates whether the policy that generated the finding grants public
access to the resource.
$sel:resourceOwnerAccount:AnalyzedResource', analyzedResource_resourceOwnerAccount - The Amazon Web Services account ID that owns the resource.
analyzedResource_actions :: Lens' AnalyzedResource (Maybe [Text]) Source #
The actions that an external principal is granted permission to use by the policy that generated the finding.
analyzedResource_error :: Lens' AnalyzedResource (Maybe Text) Source #
An error message.
analyzedResource_sharedVia :: Lens' AnalyzedResource (Maybe [Text]) Source #
Indicates how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
analyzedResource_status :: Lens' AnalyzedResource (Maybe FindingStatus) Source #
The current status of the finding generated from the analyzed resource.
analyzedResource_resourceArn :: Lens' AnalyzedResource Text Source #
The ARN of the resource that was analyzed.
analyzedResource_resourceType :: Lens' AnalyzedResource ResourceType Source #
The type of the resource that was analyzed.
analyzedResource_createdAt :: Lens' AnalyzedResource UTCTime Source #
The time at which the finding was created.
analyzedResource_analyzedAt :: Lens' AnalyzedResource UTCTime Source #
The time at which the resource was analyzed.
analyzedResource_updatedAt :: Lens' AnalyzedResource UTCTime Source #
The time at which the finding was updated.
analyzedResource_isPublic :: Lens' AnalyzedResource Bool Source #
Indicates whether the policy that generated the finding grants public access to the resource.
analyzedResource_resourceOwnerAccount :: Lens' AnalyzedResource Text Source #
The Amazon Web Services account ID that owns the resource.