amazonka-timestream-query-2.0: Amazon Timestream Query 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.TimeStreamQuery.ListTagsForResource

Description

List all tags on a Timestream query resource.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTagsForResource Source #

See: newListTagsForResource smart constructor.

Constructors

ListTagsForResource' 

Fields

Instances

Instances details
ToJSON ListTagsForResource Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.ListTagsForResource

ToHeaders ListTagsForResource Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.ListTagsForResource

ToPath ListTagsForResource Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.ListTagsForResource

ToQuery ListTagsForResource Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.ListTagsForResource

AWSPager ListTagsForResource Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.ListTagsForResource

AWSRequest ListTagsForResource Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.ListTagsForResource

Associated Types

type AWSResponse ListTagsForResource #

Generic ListTagsForResource Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.ListTagsForResource

Associated Types

type Rep ListTagsForResource :: Type -> Type #

Read ListTagsForResource Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.ListTagsForResource

Show ListTagsForResource Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.ListTagsForResource

NFData ListTagsForResource Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.ListTagsForResource

Methods

rnf :: ListTagsForResource -> () #

Eq ListTagsForResource Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.ListTagsForResource

Hashable ListTagsForResource Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.ListTagsForResource

type AWSResponse ListTagsForResource Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.ListTagsForResource

type Rep ListTagsForResource Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.ListTagsForResource

type Rep ListTagsForResource = D1 ('MetaData "ListTagsForResource" "Amazonka.TimeStreamQuery.ListTagsForResource" "amazonka-timestream-query-2.0-HD7xx47Lw3eG6c52GyReXL" 'False) (C1 ('MetaCons "ListTagsForResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") '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:maxResults:ListTagsForResource', listTagsForResource_maxResults - The maximum number of tags to return.

ListTagsForResource, listTagsForResource_nextToken - A pagination token to resume pagination.

$sel:resourceARN:ListTagsForResource', listTagsForResource_resourceARN - The Timestream resource with tags to be listed. This value is an Amazon Resource Name (ARN).

Request Lenses

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

A pagination token to resume pagination.

listTagsForResource_resourceARN :: Lens' ListTagsForResource Text Source #

The Timestream resource with tags to be listed. This value is an Amazon Resource Name (ARN).

Destructuring the Response

data ListTagsForResourceResponse Source #

See: newListTagsForResourceResponse smart constructor.

Constructors

ListTagsForResourceResponse' 

Fields

  • nextToken :: Maybe Text

    A pagination token to resume pagination with a subsequent call to ListTagsForResourceResponse.

  • httpStatus :: Int

    The response's http status code.

  • tags :: [Tag]

    The tags currently associated with the Timestream resource.

Instances

Instances details
Generic ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.ListTagsForResource

Associated Types

type Rep ListTagsForResourceResponse :: Type -> Type #

Read ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.ListTagsForResource

Show ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.ListTagsForResource

NFData ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.ListTagsForResource

Eq ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.ListTagsForResource

type Rep ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.ListTagsForResource

type Rep ListTagsForResourceResponse = D1 ('MetaData "ListTagsForResourceResponse" "Amazonka.TimeStreamQuery.ListTagsForResource" "amazonka-timestream-query-2.0-HD7xx47Lw3eG6c52GyReXL" 'False) (C1 ('MetaCons "ListTagsForResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Tag]))))

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_nextToken - A pagination token to resume pagination with a subsequent call to ListTagsForResourceResponse.

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

$sel:tags:ListTagsForResourceResponse', listTagsForResourceResponse_tags - The tags currently associated with the Timestream resource.

Response Lenses

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

A pagination token to resume pagination with a subsequent call to ListTagsForResourceResponse.

listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse [Tag] Source #

The tags currently associated with the Timestream resource.