amazonka-storagegateway-2.0: Amazon Storage Gateway SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.StorageGateway.ListTagsForResource

Description

Lists the tags that have been added to the specified resource. This operation is supported in storage gateways of all types.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTagsForResource Source #

ListTagsForResourceInput

See: newListTagsForResource smart constructor.

Constructors

ListTagsForResource' 

Fields

  • limit :: Maybe Natural

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

  • marker :: Maybe Text

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

  • resourceARN :: Text

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

Instances

Instances details
ToJSON ListTagsForResource Source # 
Instance details

Defined in Amazonka.StorageGateway.ListTagsForResource

ToHeaders ListTagsForResource Source # 
Instance details

Defined in Amazonka.StorageGateway.ListTagsForResource

ToPath ListTagsForResource Source # 
Instance details

Defined in Amazonka.StorageGateway.ListTagsForResource

ToQuery ListTagsForResource Source # 
Instance details

Defined in Amazonka.StorageGateway.ListTagsForResource

AWSPager ListTagsForResource Source # 
Instance details

Defined in Amazonka.StorageGateway.ListTagsForResource

AWSRequest ListTagsForResource Source # 
Instance details

Defined in Amazonka.StorageGateway.ListTagsForResource

Associated Types

type AWSResponse ListTagsForResource #

Generic ListTagsForResource Source # 
Instance details

Defined in Amazonka.StorageGateway.ListTagsForResource

Associated Types

type Rep ListTagsForResource :: Type -> Type #

Read ListTagsForResource Source # 
Instance details

Defined in Amazonka.StorageGateway.ListTagsForResource

Show ListTagsForResource Source # 
Instance details

Defined in Amazonka.StorageGateway.ListTagsForResource

NFData ListTagsForResource Source # 
Instance details

Defined in Amazonka.StorageGateway.ListTagsForResource

Methods

rnf :: ListTagsForResource -> () #

Eq ListTagsForResource Source # 
Instance details

Defined in Amazonka.StorageGateway.ListTagsForResource

Hashable ListTagsForResource Source # 
Instance details

Defined in Amazonka.StorageGateway.ListTagsForResource

type AWSResponse ListTagsForResource Source # 
Instance details

Defined in Amazonka.StorageGateway.ListTagsForResource

type Rep ListTagsForResource Source # 
Instance details

Defined in Amazonka.StorageGateway.ListTagsForResource

type Rep ListTagsForResource = D1 ('MetaData "ListTagsForResource" "Amazonka.StorageGateway.ListTagsForResource" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" 'False) (C1 ('MetaCons "ListTagsForResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListTagsForResource Source #

Create a value of ListTagsForResource 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:limit:ListTagsForResource', listTagsForResource_limit - Specifies that the list of tags returned be limited to the specified number of items.

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

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

Request Lenses

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

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

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

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

listTagsForResource_resourceARN :: Lens' ListTagsForResource Text Source #

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

Destructuring the Response

data ListTagsForResourceResponse Source #

ListTagsForResourceOutput

See: newListTagsForResourceResponse smart constructor.

Constructors

ListTagsForResourceResponse' 

Fields

  • marker :: Maybe Text

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

  • resourceARN :: Maybe Text

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

  • tags :: Maybe [Tag]

    An array that contains the tags for the specified resource.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ListTagsForResource

Associated Types

type Rep ListTagsForResourceResponse :: Type -> Type #

Read ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ListTagsForResource

Show ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ListTagsForResource

NFData ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ListTagsForResource

Eq ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ListTagsForResource

type Rep ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ListTagsForResource

type Rep ListTagsForResourceResponse = D1 ('MetaData "ListTagsForResourceResponse" "Amazonka.StorageGateway.ListTagsForResource" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" 'False) (C1 ('MetaCons "ListTagsForResourceResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListTagsForResourceResponse Source #

Create a value of ListTagsForResourceResponse 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:

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

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

ListTagsForResourceResponse, listTagsForResourceResponse_tags - An array that contains the tags for the specified resource.

$sel:httpStatus:ListTagsForResourceResponse', listTagsForResourceResponse_httpStatus - The response's http status code.

Response Lenses

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

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

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

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

listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag]) Source #

An array that contains the tags for the specified resource.