libZSservicesZSamazonka-redshiftZSamazonka-redshift
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq DeleteTags Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

Read DeleteTags Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

Show DeleteTags Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

Generic DeleteTags Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

Associated Types

type Rep DeleteTags :: Type -> Type #

NFData DeleteTags Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

Methods

rnf :: DeleteTags -> () #

Hashable DeleteTags Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

AWSRequest DeleteTags Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

Associated Types

type AWSResponse DeleteTags #

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

type Rep DeleteTags Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

type Rep DeleteTags = D1 ('MetaData "DeleteTags" "Amazonka.Redshift.DeleteTags" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "DeleteTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))
type AWSResponse DeleteTags Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

newDeleteTags Source #

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.

Constructors

DeleteTagsResponse' 

Instances

Instances details
Eq DeleteTagsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

Read DeleteTagsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

Show DeleteTagsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

Generic DeleteTagsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

Associated Types

type Rep DeleteTagsResponse :: Type -> Type #

NFData DeleteTagsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

Methods

rnf :: DeleteTagsResponse -> () #

type Rep DeleteTagsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DeleteTags

type Rep DeleteTagsResponse = D1 ('MetaData "DeleteTagsResponse" "Amazonka.Redshift.DeleteTags" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" '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.