amazonka-dynamodb-dax-1.5.0: Amazon DynamoDB Accelerator (DAX) SDK.

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

Network.AWS.DAX.TagResource

Contents

Description

Associates a set of tags with a DAX resource. You can call TagResource up to 5 times per second, per account.

Synopsis

Creating a Request

tagResource Source #

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

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

  • trResourceName - The name of the DAX resource to which tags should be added.
  • trTags - The tags to be assigned to the DAX resource.

data TagResource Source #

See: tagResource smart constructor.

Instances

Eq TagResource Source # 
Data TagResource Source # 

Methods

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

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

toConstr :: TagResource -> Constr #

dataTypeOf :: TagResource -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TagResource Source # 
Show TagResource Source # 
Generic TagResource Source # 

Associated Types

type Rep TagResource :: * -> * #

Hashable TagResource Source # 
ToJSON TagResource Source # 
NFData TagResource Source # 

Methods

rnf :: TagResource -> () #

AWSRequest TagResource Source # 
ToQuery TagResource Source # 
ToPath TagResource Source # 
ToHeaders TagResource Source # 

Methods

toHeaders :: TagResource -> [Header] #

type Rep TagResource Source # 
type Rep TagResource = D1 (MetaData "TagResource" "Network.AWS.DAX.TagResource" "amazonka-dynamodb-dax-1.5.0-JMry6GeWLPS2KkVhaaXmgc" False) (C1 (MetaCons "TagResource'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_trResourceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_trTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Tag]))))
type Rs TagResource Source # 

Request Lenses

trResourceName :: Lens' TagResource Text Source #

The name of the DAX resource to which tags should be added.

trTags :: Lens' TagResource [Tag] Source #

The tags to be assigned to the DAX resource.

Destructuring the Response

tagResourceResponse Source #

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

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

data TagResourceResponse Source #

See: tagResourceResponse smart constructor.

Instances

Eq TagResourceResponse Source # 
Data TagResourceResponse Source # 

Methods

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

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

toConstr :: TagResourceResponse -> Constr #

dataTypeOf :: TagResourceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TagResourceResponse Source # 
Show TagResourceResponse Source # 
Generic TagResourceResponse Source # 
NFData TagResourceResponse Source # 

Methods

rnf :: TagResourceResponse -> () #

type Rep TagResourceResponse Source # 
type Rep TagResourceResponse = D1 (MetaData "TagResourceResponse" "Network.AWS.DAX.TagResource" "amazonka-dynamodb-dax-1.5.0-JMry6GeWLPS2KkVhaaXmgc" False) (C1 (MetaCons "TagResourceResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_trrsTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag]))) (S1 (MetaSel (Just Symbol "_trrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

trrsTags :: Lens' TagResourceResponse [Tag] Source #

The list of tags that are associated with the DAX resource.

trrsResponseStatus :: Lens' TagResourceResponse Int Source #

  • - | The response status code.