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

Amazonka.DataSync.ListTagsForResource

Description

Returns all the tags associated with a specified resource.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTagsForResource Source #

ListTagsForResourceRequest

See: newListTagsForResource smart constructor.

Constructors

ListTagsForResource' 

Fields

Instances

Instances details
Eq ListTagsForResource Source # 
Instance details

Defined in Amazonka.DataSync.ListTagsForResource

Read ListTagsForResource Source # 
Instance details

Defined in Amazonka.DataSync.ListTagsForResource

Show ListTagsForResource Source # 
Instance details

Defined in Amazonka.DataSync.ListTagsForResource

Generic ListTagsForResource Source # 
Instance details

Defined in Amazonka.DataSync.ListTagsForResource

Associated Types

type Rep ListTagsForResource :: Type -> Type #

NFData ListTagsForResource Source # 
Instance details

Defined in Amazonka.DataSync.ListTagsForResource

Methods

rnf :: ListTagsForResource -> () #

Hashable ListTagsForResource Source # 
Instance details

Defined in Amazonka.DataSync.ListTagsForResource

ToJSON ListTagsForResource Source # 
Instance details

Defined in Amazonka.DataSync.ListTagsForResource

AWSPager ListTagsForResource Source # 
Instance details

Defined in Amazonka.DataSync.ListTagsForResource

AWSRequest ListTagsForResource Source # 
Instance details

Defined in Amazonka.DataSync.ListTagsForResource

Associated Types

type AWSResponse ListTagsForResource #

ToHeaders ListTagsForResource Source # 
Instance details

Defined in Amazonka.DataSync.ListTagsForResource

ToPath ListTagsForResource Source # 
Instance details

Defined in Amazonka.DataSync.ListTagsForResource

ToQuery ListTagsForResource Source # 
Instance details

Defined in Amazonka.DataSync.ListTagsForResource

type Rep ListTagsForResource Source # 
Instance details

Defined in Amazonka.DataSync.ListTagsForResource

type Rep ListTagsForResource = D1 ('MetaData "ListTagsForResource" "Amazonka.DataSync.ListTagsForResource" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" 'False) (C1 ('MetaCons "ListTagsForResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListTagsForResource Source # 
Instance details

Defined in Amazonka.DataSync.ListTagsForResource

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:nextToken:ListTagsForResource', listTagsForResource_nextToken - An opaque string that indicates the position at which to begin the next list of locations.

$sel:maxResults:ListTagsForResource', listTagsForResource_maxResults - The maximum number of locations to return.

$sel:resourceArn:ListTagsForResource', listTagsForResource_resourceArn - The Amazon Resource Name (ARN) of the resource whose tags to list.

Request Lenses

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

An opaque string that indicates the position at which to begin the next list of locations.

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

The maximum number of locations to return.

listTagsForResource_resourceArn :: Lens' ListTagsForResource Text Source #

The Amazon Resource Name (ARN) of the resource whose tags to list.

Destructuring the Response

data ListTagsForResourceResponse Source #

ListTagsForResourceResponse

See: newListTagsForResourceResponse smart constructor.

Constructors

ListTagsForResourceResponse' 

Fields

Instances

Instances details
Eq ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.DataSync.ListTagsForResource

Read ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.DataSync.ListTagsForResource

Show ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.DataSync.ListTagsForResource

Generic ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.DataSync.ListTagsForResource

Associated Types

type Rep ListTagsForResourceResponse :: Type -> Type #

NFData ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.DataSync.ListTagsForResource

type Rep ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.DataSync.ListTagsForResource

type Rep ListTagsForResourceResponse = D1 ('MetaData "ListTagsForResourceResponse" "Amazonka.DataSync.ListTagsForResource" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" 'False) (C1 ('MetaCons "ListTagsForResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TagListEntry])) :*: 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:

$sel:nextToken:ListTagsForResource', listTagsForResourceResponse_nextToken - An opaque string that indicates the position at which to begin returning the next list of resource tags.

$sel:tags:ListTagsForResourceResponse', listTagsForResourceResponse_tags - Array of resource tags.

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

Response Lenses

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

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