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 |
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.
DeleteTags' | |
|
Instances
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:
$sel:resourceName: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.
Instances
Eq DeleteTagsResponse Source # | |
Defined in Amazonka.Redshift.DeleteTags (==) :: DeleteTagsResponse -> DeleteTagsResponse -> Bool # (/=) :: DeleteTagsResponse -> DeleteTagsResponse -> Bool # | |
Read DeleteTagsResponse Source # | |
Defined in Amazonka.Redshift.DeleteTags | |
Show DeleteTagsResponse Source # | |
Defined in Amazonka.Redshift.DeleteTags showsPrec :: Int -> DeleteTagsResponse -> ShowS # show :: DeleteTagsResponse -> String # showList :: [DeleteTagsResponse] -> ShowS # | |
Generic DeleteTagsResponse Source # | |
Defined in Amazonka.Redshift.DeleteTags type Rep DeleteTagsResponse :: Type -> Type # from :: DeleteTagsResponse -> Rep DeleteTagsResponse x # to :: Rep DeleteTagsResponse x -> DeleteTagsResponse # | |
NFData DeleteTagsResponse Source # | |
Defined in Amazonka.Redshift.DeleteTags rnf :: DeleteTagsResponse -> () # | |
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.