libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts
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.SSMContacts.ListTagsForResource

Description

Lists the tags of an escalation plan or contact.

Synopsis

Creating a Request

data ListTagsForResource Source #

See: newListTagsForResource smart constructor.

Constructors

ListTagsForResource' 

Fields

  • resourceARN :: Text

    The Amazon Resource Name (ARN) of the contact or escalation plan.

Instances

Instances details
Eq ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSMContacts.ListTagsForResource

Read ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSMContacts.ListTagsForResource

Show ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSMContacts.ListTagsForResource

Generic ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSMContacts.ListTagsForResource

Associated Types

type Rep ListTagsForResource :: Type -> Type #

NFData ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSMContacts.ListTagsForResource

Methods

rnf :: ListTagsForResource -> () #

Hashable ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSMContacts.ListTagsForResource

ToJSON ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSMContacts.ListTagsForResource

AWSRequest ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSMContacts.ListTagsForResource

Associated Types

type AWSResponse ListTagsForResource #

ToHeaders ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSMContacts.ListTagsForResource

ToPath ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSMContacts.ListTagsForResource

ToQuery ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSMContacts.ListTagsForResource

type Rep ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSMContacts.ListTagsForResource

type Rep ListTagsForResource = D1 ('MetaData "ListTagsForResource" "Amazonka.SSMContacts.ListTagsForResource" "libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts" 'False) (C1 ('MetaCons "ListTagsForResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse ListTagsForResource Source # 
Instance details

Defined in Amazonka.SSMContacts.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:resourceARN:ListTagsForResource', listTagsForResource_resourceARN - The Amazon Resource Name (ARN) of the contact or escalation plan.

Request Lenses

listTagsForResource_resourceARN :: Lens' ListTagsForResource Text Source #

The Amazon Resource Name (ARN) of the contact or escalation plan.

Destructuring the Response

data ListTagsForResourceResponse Source #

See: newListTagsForResourceResponse smart constructor.

Constructors

ListTagsForResourceResponse' 

Fields

Instances

Instances details
Eq ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListTagsForResource

Read ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListTagsForResource

Show ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListTagsForResource

Generic ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListTagsForResource

Associated Types

type Rep ListTagsForResourceResponse :: Type -> Type #

NFData ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListTagsForResource

type Rep ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListTagsForResource

type Rep ListTagsForResourceResponse = D1 ('MetaData "ListTagsForResourceResponse" "Amazonka.SSMContacts.ListTagsForResource" "libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts" 'False) (C1 ('MetaCons "ListTagsForResourceResponse'" 'PrefixI 'True) (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:

$sel:tags:ListTagsForResourceResponse', listTagsForResourceResponse_tags - The tags related to the contact or escalation plan.

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

Response Lenses

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

The tags related to the contact or escalation plan.