| 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.Redshift.DeleteTags
Description
Deletes tags from a resource. You must provide the ARN of the resource from which you want to delete the tag or tags.
Synopsis
- data DeleteTags = DeleteTags' {
- resourceName :: Text
- tagKeys :: [Text]
- newDeleteTags :: Text -> DeleteTags
- deleteTags_resourceName :: Lens' DeleteTags Text
- deleteTags_tagKeys :: Lens' DeleteTags [Text]
- data DeleteTagsResponse = DeleteTagsResponse' {
- newDeleteTagsResponse :: DeleteTagsResponse
Creating a Request
data DeleteTags Source #
Contains the output from the DeleteTags action.
See: newDeleteTags smart constructor.
Constructors
| DeleteTags' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteTags |
Create a value of DeleteTags 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:
DeleteTags, deleteTags_resourceName - The Amazon Resource Name (ARN) from which you want to remove the tag or
tags. For example, arn:aws:redshift:us-east-2:123456789:cluster:t1.
$sel:tagKeys:DeleteTags', deleteTags_tagKeys - The tag key that you want to delete.
Request Lenses
deleteTags_resourceName :: Lens' DeleteTags Text Source #
The Amazon Resource Name (ARN) from which you want to remove the tag or
tags. For example, arn:aws:redshift:us-east-2:123456789:cluster:t1.
deleteTags_tagKeys :: Lens' DeleteTags [Text] Source #
The tag key that you want to delete.
Destructuring the Response
data DeleteTagsResponse Source #
See: newDeleteTagsResponse smart constructor.
Constructors
| DeleteTagsResponse' | |
Instances
| Generic DeleteTagsResponse Source # | |
Defined in Amazonka.Redshift.DeleteTags Associated Types type Rep DeleteTagsResponse :: Type -> Type # Methods from :: DeleteTagsResponse -> Rep DeleteTagsResponse x # to :: Rep DeleteTagsResponse x -> DeleteTagsResponse # | |
| Read DeleteTagsResponse Source # | |
Defined in Amazonka.Redshift.DeleteTags Methods readsPrec :: Int -> ReadS DeleteTagsResponse # readList :: ReadS [DeleteTagsResponse] # | |
| Show DeleteTagsResponse Source # | |
Defined in Amazonka.Redshift.DeleteTags Methods showsPrec :: Int -> DeleteTagsResponse -> ShowS # show :: DeleteTagsResponse -> String # showList :: [DeleteTagsResponse] -> ShowS # | |
| NFData DeleteTagsResponse Source # | |
Defined in Amazonka.Redshift.DeleteTags Methods rnf :: DeleteTagsResponse -> () # | |
| Eq DeleteTagsResponse Source # | |
Defined in Amazonka.Redshift.DeleteTags Methods (==) :: DeleteTagsResponse -> DeleteTagsResponse -> Bool # (/=) :: DeleteTagsResponse -> DeleteTagsResponse -> Bool # | |
| type Rep DeleteTagsResponse Source # | |
newDeleteTagsResponse :: DeleteTagsResponse Source #
Create a value of DeleteTagsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.