amazonka-redshift-1.4.5: Amazon Redshift SDK.

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

Network.AWS.Redshift.DeleteTags

Contents

Description

Deletes a tag or 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

deleteTags Source #

Creates a value of DeleteTags with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dtsResourceName - The Amazon Resource Name (ARN) from which you want to remove the tag or tags. For example, arn:aws:redshift:us-east-1:123456789:cluster:t1 .
  • dtsTagKeys - The tag key that you want to delete.

data DeleteTags Source #

Contains the output from the DeleteTags action.

See: deleteTags smart constructor.

Instances

Eq DeleteTags Source # 
Data DeleteTags Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteTags -> c DeleteTags #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteTags #

toConstr :: DeleteTags -> Constr #

dataTypeOf :: DeleteTags -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteTags) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteTags) #

gmapT :: (forall b. Data b => b -> b) -> DeleteTags -> DeleteTags #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteTags -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteTags -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteTags -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteTags -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteTags -> m DeleteTags #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteTags -> m DeleteTags #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteTags -> m DeleteTags #

Read DeleteTags Source # 
Show DeleteTags Source # 
Generic DeleteTags Source # 

Associated Types

type Rep DeleteTags :: * -> * #

Hashable DeleteTags Source # 
NFData DeleteTags Source # 

Methods

rnf :: DeleteTags -> () #

AWSRequest DeleteTags Source # 
ToPath DeleteTags Source # 
ToHeaders DeleteTags Source # 

Methods

toHeaders :: DeleteTags -> [Header] #

ToQuery DeleteTags Source # 
type Rep DeleteTags Source # 
type Rep DeleteTags = D1 (MetaData "DeleteTags" "Network.AWS.Redshift.DeleteTags" "amazonka-redshift-1.4.5-2iQeXmFrftS29tYZtVOT2g" False) (C1 (MetaCons "DeleteTags'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dtsResourceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dtsTagKeys") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs DeleteTags Source # 

Request Lenses

dtsResourceName :: 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-1:123456789:cluster:t1 .

dtsTagKeys :: Lens' DeleteTags [Text] Source #

The tag key that you want to delete.

Destructuring the Response

deleteTagsResponse :: DeleteTagsResponse Source #

Creates a value of DeleteTagsResponse with the minimum fields required to make a request.

data DeleteTagsResponse Source #

See: deleteTagsResponse smart constructor.

Instances

Eq DeleteTagsResponse Source # 
Data DeleteTagsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteTagsResponse -> c DeleteTagsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteTagsResponse #

toConstr :: DeleteTagsResponse -> Constr #

dataTypeOf :: DeleteTagsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteTagsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteTagsResponse) #

gmapT :: (forall b. Data b => b -> b) -> DeleteTagsResponse -> DeleteTagsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteTagsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteTagsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteTagsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteTagsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteTagsResponse -> m DeleteTagsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteTagsResponse -> m DeleteTagsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteTagsResponse -> m DeleteTagsResponse #

Read DeleteTagsResponse Source # 
Show DeleteTagsResponse Source # 
Generic DeleteTagsResponse Source # 
NFData DeleteTagsResponse Source # 

Methods

rnf :: DeleteTagsResponse -> () #

type Rep DeleteTagsResponse Source # 
type Rep DeleteTagsResponse = D1 (MetaData "DeleteTagsResponse" "Network.AWS.Redshift.DeleteTags" "amazonka-redshift-1.4.5-2iQeXmFrftS29tYZtVOT2g" False) (C1 (MetaCons "DeleteTagsResponse'" PrefixI False) U1)