libZSservicesZSamazonka-glueZSamazonka-glue
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.Glue.GetTags

Description

Retrieves a list of tags associated with a resource.

Synopsis

Creating a Request

data GetTags Source #

See: newGetTags smart constructor.

Constructors

GetTags' 

Fields

  • resourceArn :: Text

    The Amazon Resource Name (ARN) of the resource for which to retrieve tags.

Instances

Instances details
Eq GetTags Source # 
Instance details

Defined in Amazonka.Glue.GetTags

Methods

(==) :: GetTags -> GetTags -> Bool #

(/=) :: GetTags -> GetTags -> Bool #

Read GetTags Source # 
Instance details

Defined in Amazonka.Glue.GetTags

Show GetTags Source # 
Instance details

Defined in Amazonka.Glue.GetTags

Generic GetTags Source # 
Instance details

Defined in Amazonka.Glue.GetTags

Associated Types

type Rep GetTags :: Type -> Type #

Methods

from :: GetTags -> Rep GetTags x #

to :: Rep GetTags x -> GetTags #

NFData GetTags Source # 
Instance details

Defined in Amazonka.Glue.GetTags

Methods

rnf :: GetTags -> () #

Hashable GetTags Source # 
Instance details

Defined in Amazonka.Glue.GetTags

Methods

hashWithSalt :: Int -> GetTags -> Int #

hash :: GetTags -> Int #

ToJSON GetTags Source # 
Instance details

Defined in Amazonka.Glue.GetTags

AWSRequest GetTags Source # 
Instance details

Defined in Amazonka.Glue.GetTags

Associated Types

type AWSResponse GetTags #

ToHeaders GetTags Source # 
Instance details

Defined in Amazonka.Glue.GetTags

Methods

toHeaders :: GetTags -> [Header] #

ToPath GetTags Source # 
Instance details

Defined in Amazonka.Glue.GetTags

Methods

toPath :: GetTags -> ByteString #

ToQuery GetTags Source # 
Instance details

Defined in Amazonka.Glue.GetTags

type Rep GetTags Source # 
Instance details

Defined in Amazonka.Glue.GetTags

type Rep GetTags = D1 ('MetaData "GetTags" "Amazonka.Glue.GetTags" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "GetTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetTags Source # 
Instance details

Defined in Amazonka.Glue.GetTags

newGetTags Source #

Create a value of GetTags 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:GetTags', getTags_resourceArn - The Amazon Resource Name (ARN) of the resource for which to retrieve tags.

Request Lenses

getTags_resourceArn :: Lens' GetTags Text Source #

The Amazon Resource Name (ARN) of the resource for which to retrieve tags.

Destructuring the Response

data GetTagsResponse Source #

See: newGetTagsResponse smart constructor.

Constructors

GetTagsResponse' 

Fields

Instances

Instances details
Eq GetTagsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTags

Read GetTagsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTags

Show GetTagsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTags

Generic GetTagsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTags

Associated Types

type Rep GetTagsResponse :: Type -> Type #

NFData GetTagsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTags

Methods

rnf :: GetTagsResponse -> () #

type Rep GetTagsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTags

type Rep GetTagsResponse = D1 ('MetaData "GetTagsResponse" "Amazonka.Glue.GetTags" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "GetTagsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetTagsResponse Source #

Create a value of GetTagsResponse 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:GetTagsResponse', getTagsResponse_tags - The requested tags.

$sel:httpStatus:GetTagsResponse', getTagsResponse_httpStatus - The response's http status code.

Response Lenses

getTagsResponse_httpStatus :: Lens' GetTagsResponse Int Source #

The response's http status code.