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 |
Synopsis
- data Resource = Resource' {}
- newResource :: Text -> ResourceType -> Resource
- resource_details :: Lens' Resource (Maybe ResourceDetails)
- resource_partition :: Lens' Resource (Maybe Text)
- resource_region :: Lens' Resource (Maybe Text)
- resource_tags :: Lens' Resource (Maybe (HashMap Text Text))
- resource_id :: Lens' Resource Text
- resource_type :: Lens' Resource ResourceType
Documentation
Details about the resource involved in a finding.
See: newResource
smart constructor.
Resource' | |
|
Instances
Create a value of Resource
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:details:Resource'
, resource_details
- An object that contains details about the resource involved in a
finding.
$sel:partition:Resource'
, resource_partition
- The partition of the resource.
$sel:region:Resource'
, resource_region
- The Amazon Web Services Region the impacted resource is located in.
$sel:tags:Resource'
, resource_tags
- The tags attached to the resource.
$sel:id:Resource'
, resource_id
- The ID of the resource.
$sel:type':Resource'
, resource_type
- The type of resource.
resource_details :: Lens' Resource (Maybe ResourceDetails) Source #
An object that contains details about the resource involved in a finding.
resource_region :: Lens' Resource (Maybe Text) Source #
The Amazon Web Services Region the impacted resource is located in.
resource_tags :: Lens' Resource (Maybe (HashMap Text Text)) Source #
The tags attached to the resource.
resource_type :: Lens' Resource ResourceType Source #
The type of resource.