amazonka-storagegateway-1.3.1: Amazon Storage Gateway SDK.

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

Contents

Description

This operation lists the tags that have been added to the specified resource.

See: AWS API Reference for ListTagsForResource.

Synopsis

Creating a Request

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

Request Lenses

ltfrResourceARN :: Lens' ListTagsForResource (Maybe Text) Source

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

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.

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:

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.