amazonka-redshift-2.0: Amazon Redshift SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data DeleteTags Source #

Contains the output from the DeleteTags action.

See: newDeleteTags smart constructor.

Constructors

DeleteTags' 

Fields

  • resourceName :: Text

    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.

  • tagKeys :: [Text]

    The tag key that you want to delete.

Instances

Instances details
ToHeaders DeleteTags Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

Methods

toHeaders :: DeleteTags -> [Header] #

ToPath DeleteTags Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

ToQuery DeleteTags Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

AWSRequest DeleteTags Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

Associated Types

type AWSResponse DeleteTags #

Generic DeleteTags Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

Associated Types

type Rep DeleteTags :: Type -> Type #

Read DeleteTags Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

Show DeleteTags Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

NFData DeleteTags Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

Methods

rnf :: DeleteTags -> () #

Eq DeleteTags Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

Hashable DeleteTags Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

type AWSResponse DeleteTags Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

type Rep DeleteTags Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

type Rep DeleteTags = D1 ('MetaData "DeleteTags" "Amazonka.Redshift.DeleteTags" "amazonka-redshift-2.0-4tocKxBWIuj2GdXa6djdUl" 'False) (C1 ('MetaCons "DeleteTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

newDeleteTags Source #

Arguments

:: Text

DeleteTags

-> 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

Instances details
Generic DeleteTagsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

Associated Types

type Rep DeleteTagsResponse :: Type -> Type #

Read DeleteTagsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

Show DeleteTagsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

NFData DeleteTagsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

Methods

rnf :: DeleteTagsResponse -> () #

Eq DeleteTagsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

type Rep DeleteTagsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

type Rep DeleteTagsResponse = D1 ('MetaData "DeleteTagsResponse" "Amazonka.Redshift.DeleteTags" "amazonka-redshift-2.0-4tocKxBWIuj2GdXa6djdUl" 'False) (C1 ('MetaCons "DeleteTagsResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteTagsResponse :: DeleteTagsResponse Source #

Create a value of DeleteTagsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.