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 TaggedResource = TaggedResource' {
- resourceName :: Maybe Text
- resourceType :: Maybe Text
- tag :: Maybe Tag
- newTaggedResource :: TaggedResource
- taggedResource_resourceName :: Lens' TaggedResource (Maybe Text)
- taggedResource_resourceType :: Lens' TaggedResource (Maybe Text)
- taggedResource_tag :: Lens' TaggedResource (Maybe Tag)
Documentation
data TaggedResource Source #
A tag and its associated resource.
See: newTaggedResource
smart constructor.
TaggedResource' | |
|
Instances
newTaggedResource :: TaggedResource Source #
Create a value of TaggedResource
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:resourceName:TaggedResource'
, taggedResource_resourceName
- The Amazon Resource Name (ARN) with which the tag is associated, for
example: arn:aws:redshift:us-east-2:123456789:cluster:t1
.
$sel:resourceType:TaggedResource'
, taggedResource_resourceType
- The type of resource with which the tag is associated. Valid resource
types are:
- Cluster
- CIDR/IP
- EC2 security group
- Snapshot
- Cluster security group
- Subnet group
- HSM connection
- HSM certificate
- Parameter group
For more information about Amazon Redshift resource types and constructing ARNs, go to Constructing an Amazon Redshift Amazon Resource Name (ARN) in the Amazon Redshift Cluster Management Guide.
$sel:tag:TaggedResource'
, taggedResource_tag
- The tag for the resource.
taggedResource_resourceName :: Lens' TaggedResource (Maybe Text) Source #
The Amazon Resource Name (ARN) with which the tag is associated, for
example: arn:aws:redshift:us-east-2:123456789:cluster:t1
.
taggedResource_resourceType :: Lens' TaggedResource (Maybe Text) Source #
The type of resource with which the tag is associated. Valid resource types are:
- Cluster
- CIDR/IP
- EC2 security group
- Snapshot
- Cluster security group
- Subnet group
- HSM connection
- HSM certificate
- Parameter group
For more information about Amazon Redshift resource types and constructing ARNs, go to Constructing an Amazon Redshift Amazon Resource Name (ARN) in the Amazon Redshift Cluster Management Guide.
taggedResource_tag :: Lens' TaggedResource (Maybe Tag) Source #
The tag for the resource.