libZSservicesZSamazonka-ssmZSamazonka-ssm
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.SSM.ListTagsForResource

Description

Returns a list of the tags assigned to the specified resource.

For information about the ID format for each supported resource type, see AddTagsToResource.

Synopsis

Creating a Request

data ListTagsForResource Source #

See: newListTagsForResource smart constructor.

Constructors

ListTagsForResource' 

Fields

Instances

Instances details
Eq ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSM.ListTagsForResource

Read ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSM.ListTagsForResource

Show ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSM.ListTagsForResource

Generic ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSM.ListTagsForResource

Associated Types

type Rep ListTagsForResource :: Type -> Type #

NFData ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSM.ListTagsForResource

Methods

rnf :: ListTagsForResource -> () #

Hashable ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSM.ListTagsForResource

ToJSON ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSM.ListTagsForResource

AWSRequest ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSM.ListTagsForResource

Associated Types

type AWSResponse ListTagsForResource #

ToHeaders ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSM.ListTagsForResource

ToPath ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSM.ListTagsForResource

ToQuery ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSM.ListTagsForResource

type Rep ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSM.ListTagsForResource

type Rep ListTagsForResource = D1 ('MetaData "ListTagsForResource" "Amazonka.SSM.ListTagsForResource" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "ListTagsForResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceTypeForTagging) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSM.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:resourceType:ListTagsForResource', listTagsForResource_resourceType - Returns a list of tags for a specific resource type.

$sel:resourceId:ListTagsForResource', listTagsForResource_resourceId - The resource ID for which you want to see a list of tags.

Request Lenses

listTagsForResource_resourceType :: Lens' ListTagsForResource ResourceTypeForTagging Source #

Returns a list of tags for a specific resource type.

listTagsForResource_resourceId :: Lens' ListTagsForResource Text Source #

The resource ID for which you want to see a list of tags.

Destructuring the Response

data ListTagsForResourceResponse Source #

See: newListTagsForResourceResponse smart constructor.

Constructors

ListTagsForResourceResponse' 

Fields

Instances

Instances details
Eq ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.SSM.ListTagsForResource

Read ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.SSM.ListTagsForResource

Show ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.SSM.ListTagsForResource

Generic ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.SSM.ListTagsForResource

Associated Types

type Rep ListTagsForResourceResponse :: Type -> Type #

NFData ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.SSM.ListTagsForResource

type Rep ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.SSM.ListTagsForResource

type Rep ListTagsForResourceResponse = D1 ('MetaData "ListTagsForResourceResponse" "Amazonka.SSM.ListTagsForResource" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "ListTagsForResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tagList") '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:

$sel:tagList:ListTagsForResourceResponse', listTagsForResourceResponse_tagList - A list of tags.

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

Response Lenses