amazonka-connectcases-2.0: Amazon Connect Cases 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.ConnectCases.ListTagsForResource

Description

Lists tags for a resource.

Synopsis

Creating a Request

data ListTagsForResource Source #

See: newListTagsForResource smart constructor.

Constructors

ListTagsForResource' 

Fields

  • arn :: Text

    The Amazon Resource Name (ARN)

Instances

Instances details
ToHeaders ListTagsForResource Source # 
Instance details

Defined in Amazonka.ConnectCases.ListTagsForResource

ToPath ListTagsForResource Source # 
Instance details

Defined in Amazonka.ConnectCases.ListTagsForResource

ToQuery ListTagsForResource Source # 
Instance details

Defined in Amazonka.ConnectCases.ListTagsForResource

AWSRequest ListTagsForResource Source # 
Instance details

Defined in Amazonka.ConnectCases.ListTagsForResource

Associated Types

type AWSResponse ListTagsForResource #

Generic ListTagsForResource Source # 
Instance details

Defined in Amazonka.ConnectCases.ListTagsForResource

Associated Types

type Rep ListTagsForResource :: Type -> Type #

Read ListTagsForResource Source # 
Instance details

Defined in Amazonka.ConnectCases.ListTagsForResource

Show ListTagsForResource Source # 
Instance details

Defined in Amazonka.ConnectCases.ListTagsForResource

NFData ListTagsForResource Source # 
Instance details

Defined in Amazonka.ConnectCases.ListTagsForResource

Methods

rnf :: ListTagsForResource -> () #

Eq ListTagsForResource Source # 
Instance details

Defined in Amazonka.ConnectCases.ListTagsForResource

Hashable ListTagsForResource Source # 
Instance details

Defined in Amazonka.ConnectCases.ListTagsForResource

type AWSResponse ListTagsForResource Source # 
Instance details

Defined in Amazonka.ConnectCases.ListTagsForResource

type Rep ListTagsForResource Source # 
Instance details

Defined in Amazonka.ConnectCases.ListTagsForResource

type Rep ListTagsForResource = D1 ('MetaData "ListTagsForResource" "Amazonka.ConnectCases.ListTagsForResource" "amazonka-connectcases-2.0-9RA5jvVYRVL9KmD8hfMfHn" 'False) (C1 ('MetaCons "ListTagsForResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") '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:arn:ListTagsForResource', listTagsForResource_arn - The Amazon Resource Name (ARN)

Request Lenses

Destructuring the Response

data ListTagsForResourceResponse Source #

See: newListTagsForResourceResponse smart constructor.

Constructors

ListTagsForResourceResponse' 

Fields

  • tags :: Maybe (HashMap Text Text)

    A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.ListTagsForResource

Associated Types

type Rep ListTagsForResourceResponse :: Type -> Type #

Read ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.ListTagsForResource

Show ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.ListTagsForResource

NFData ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.ListTagsForResource

Eq ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.ListTagsForResource

type Rep ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.ListTagsForResource

type Rep ListTagsForResourceResponse = D1 ('MetaData "ListTagsForResourceResponse" "Amazonka.ConnectCases.ListTagsForResource" "amazonka-connectcases-2.0-9RA5jvVYRVL9KmD8hfMfHn" 'False) (C1 ('MetaCons "ListTagsForResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: 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:

ListTagsForResourceResponse, listTagsForResourceResponse_tags - A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.

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

Response Lenses

listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text)) Source #

A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.