amazonka-storagegateway-1.6.1: Amazon Storage Gateway SDK.

Copyright(c) 2013-2018 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.StorageGateway.ListTagsForResource

Contents

Description

Lists the tags that have been added to the specified resource. This operation is only supported in the cached volume, stored volume and tape gateway type.

Synopsis

Creating a Request

listTagsForResource Source #

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

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

  • ltfrMarker - An opaque string that indicates the position at which to begin returning the list of tags.
  • ltfrLimit - Specifies that the list of tags returned be limited to the specified number of items.
  • ltfrResourceARN - The Amazon Resource Name (ARN) of the resource for which you want to list tags.

data ListTagsForResource Source #

ListTagsForResourceInput

See: listTagsForResource smart constructor.

Instances
Eq ListTagsForResource Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListTagsForResource

Data ListTagsForResource Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListTagsForResource

Methods

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

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

toConstr :: ListTagsForResource -> Constr #

dataTypeOf :: ListTagsForResource -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTagsForResource Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListTagsForResource

Show ListTagsForResource Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListTagsForResource

Generic ListTagsForResource Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListTagsForResource

Associated Types

type Rep ListTagsForResource :: Type -> Type #

Hashable ListTagsForResource Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListTagsForResource

ToJSON ListTagsForResource Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListTagsForResource

AWSRequest ListTagsForResource Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListTagsForResource

Associated Types

type Rs ListTagsForResource :: Type #

ToHeaders ListTagsForResource Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListTagsForResource

ToPath ListTagsForResource Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListTagsForResource

ToQuery ListTagsForResource Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListTagsForResource

NFData ListTagsForResource Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListTagsForResource

Methods

rnf :: ListTagsForResource -> () #

type Rep ListTagsForResource Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListTagsForResource

type Rep ListTagsForResource = D1 (MetaData "ListTagsForResource" "Network.AWS.StorageGateway.ListTagsForResource" "amazonka-storagegateway-1.6.1-8r5RVaLfJcl46lpEVK6Ktc" False) (C1 (MetaCons "ListTagsForResource'" PrefixI True) (S1 (MetaSel (Just "_ltfrMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ltfrLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_ltfrResourceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListTagsForResource Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListTagsForResource

Request Lenses

ltfrMarker :: Lens' ListTagsForResource (Maybe Text) Source #

An opaque string that indicates the position at which to begin returning the list of tags.

ltfrLimit :: Lens' ListTagsForResource (Maybe Natural) Source #

Specifies that the list of tags returned be limited to the specified number of items.

ltfrResourceARN :: Lens' ListTagsForResource Text Source #

The Amazon Resource Name (ARN) of the resource for which you want to list tags.

Destructuring the Response

listTagsForResourceResponse Source #

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

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

  • ltfrrsResourceARN - he Amazon Resource Name (ARN) of the resource for which you want to list tags.
  • ltfrrsMarker - An opaque string that indicates the position at which to stop returning the list of tags.
  • ltfrrsTags - An array that contains the tags for the specified resource.
  • ltfrrsResponseStatus - -- | The response status code.

data ListTagsForResourceResponse Source #

ListTagsForResourceOutput

See: listTagsForResourceResponse smart constructor.

Instances
Eq ListTagsForResourceResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListTagsForResource

Data ListTagsForResourceResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListTagsForResource

Methods

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

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

toConstr :: ListTagsForResourceResponse -> Constr #

dataTypeOf :: ListTagsForResourceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTagsForResourceResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListTagsForResource

Show ListTagsForResourceResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListTagsForResource

Generic ListTagsForResourceResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListTagsForResource

Associated Types

type Rep ListTagsForResourceResponse :: Type -> Type #

NFData ListTagsForResourceResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListTagsForResource

type Rep ListTagsForResourceResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListTagsForResource

type Rep ListTagsForResourceResponse = D1 (MetaData "ListTagsForResourceResponse" "Network.AWS.StorageGateway.ListTagsForResource" "amazonka-storagegateway-1.6.1-8r5RVaLfJcl46lpEVK6Ktc" False) (C1 (MetaCons "ListTagsForResourceResponse'" PrefixI True) ((S1 (MetaSel (Just "_ltfrrsResourceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ltfrrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ltfrrsTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 (MetaSel (Just "_ltfrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

ltfrrsResourceARN :: Lens' ListTagsForResourceResponse (Maybe Text) Source #

he Amazon Resource Name (ARN) of the resource for which you want to list tags.

ltfrrsMarker :: Lens' ListTagsForResourceResponse (Maybe Text) Source #

An opaque string that indicates the position at which to stop returning the list of tags.

ltfrrsTags :: Lens' ListTagsForResourceResponse [Tag] Source #

An array that contains the tags for the specified resource.