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 |
Amazonka.AccessAnalyzer.Types.AnalyzedResource
Description
Synopsis
- data AnalyzedResource = AnalyzedResource' {
- status :: Maybe FindingStatus
- actions :: Maybe [Text]
- error :: Maybe Text
- sharedVia :: Maybe [Text]
- analyzedAt :: POSIX
- createdAt :: POSIX
- isPublic :: Bool
- resourceArn :: Text
- resourceOwnerAccount :: Text
- resourceType :: ResourceType
- updatedAt :: POSIX
- newAnalyzedResource :: UTCTime -> UTCTime -> Bool -> Text -> Text -> ResourceType -> UTCTime -> AnalyzedResource
- analyzedResource_status :: Lens' AnalyzedResource (Maybe FindingStatus)
- analyzedResource_actions :: Lens' AnalyzedResource (Maybe [Text])
- analyzedResource_error :: Lens' AnalyzedResource (Maybe Text)
- analyzedResource_sharedVia :: Lens' AnalyzedResource (Maybe [Text])
- analyzedResource_analyzedAt :: Lens' AnalyzedResource UTCTime
- analyzedResource_createdAt :: Lens' AnalyzedResource UTCTime
- analyzedResource_isPublic :: Lens' AnalyzedResource Bool
- analyzedResource_resourceArn :: Lens' AnalyzedResource Text
- analyzedResource_resourceOwnerAccount :: Lens' AnalyzedResource Text
- analyzedResource_resourceType :: Lens' AnalyzedResource ResourceType
- analyzedResource_updatedAt :: Lens' AnalyzedResource UTCTime
Documentation
data AnalyzedResource Source #
Contains details about the analyzed resource.
See: newAnalyzedResource
smart constructor.
Constructors
AnalyzedResource' | |
Fields
|
Instances
Arguments
:: UTCTime | |
-> UTCTime | |
-> Bool | |
-> Text | |
-> Text | |
-> ResourceType | |
-> UTCTime | |
-> 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:status:AnalyzedResource'
, analyzedResource_status
- The current status of the finding generated from the analyzed resource.
$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:analyzedAt:AnalyzedResource'
, analyzedResource_analyzedAt
- The time at which the resource was analyzed.
$sel:createdAt:AnalyzedResource'
, analyzedResource_createdAt
- The time at which the finding was created.
$sel:isPublic:AnalyzedResource'
, analyzedResource_isPublic
- Indicates whether the policy that generated the finding grants public
access to the resource.
$sel:resourceArn:AnalyzedResource'
, analyzedResource_resourceArn
- The ARN of the resource that was analyzed.
$sel:resourceOwnerAccount:AnalyzedResource'
, analyzedResource_resourceOwnerAccount
- The Amazon Web Services account ID that owns the resource.
$sel:resourceType:AnalyzedResource'
, analyzedResource_resourceType
- The type of the resource that was analyzed.
$sel:updatedAt:AnalyzedResource'
, analyzedResource_updatedAt
- The time at which the finding was updated.
analyzedResource_status :: Lens' AnalyzedResource (Maybe FindingStatus) Source #
The current status of the finding generated from the analyzed 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_analyzedAt :: Lens' AnalyzedResource UTCTime Source #
The time at which the resource was analyzed.
analyzedResource_createdAt :: Lens' AnalyzedResource UTCTime Source #
The time at which the finding was created.
analyzedResource_isPublic :: Lens' AnalyzedResource Bool Source #
Indicates whether the policy that generated the finding grants public access to the resource.
analyzedResource_resourceArn :: Lens' AnalyzedResource Text Source #
The ARN of the resource that was analyzed.
analyzedResource_resourceOwnerAccount :: Lens' AnalyzedResource Text Source #
The Amazon Web Services account ID that owns the resource.
analyzedResource_resourceType :: Lens' AnalyzedResource ResourceType Source #
The type of the resource that was analyzed.
analyzedResource_updatedAt :: Lens' AnalyzedResource UTCTime Source #
The time at which the finding was updated.