libZSservicesZSamazonka-dmsZSamazonka-dms
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.DMS.ListTagsForResource

Description

Lists all metadata tags attached to an DMS resource, including replication instance, endpoint, security group, and migration task. For more information, see Tag data type description.

Synopsis

Creating a Request

data ListTagsForResource Source #

See: newListTagsForResource smart constructor.

Constructors

ListTagsForResource' 

Fields

  • resourceArn :: Maybe Text

    The Amazon Resource Name (ARN) string that uniquely identifies the DMS resource to list tags for. This returns a list of keys (names of tags) created for the resource and their associated tag values.

  • resourceArnList :: Maybe [Text]

    List of ARNs that identify multiple DMS resources that you want to list tags for. This returns a list of keys (tag names) and their associated tag values. It also returns each tag's associated ResourceArn value, which is the ARN of the resource for which each listed tag is created.

Instances

Instances details
Eq ListTagsForResource Source # 
Instance details

Defined in Amazonka.DMS.ListTagsForResource

Read ListTagsForResource Source # 
Instance details

Defined in Amazonka.DMS.ListTagsForResource

Show ListTagsForResource Source # 
Instance details

Defined in Amazonka.DMS.ListTagsForResource

Generic ListTagsForResource Source # 
Instance details

Defined in Amazonka.DMS.ListTagsForResource

Associated Types

type Rep ListTagsForResource :: Type -> Type #

NFData ListTagsForResource Source # 
Instance details

Defined in Amazonka.DMS.ListTagsForResource

Methods

rnf :: ListTagsForResource -> () #

Hashable ListTagsForResource Source # 
Instance details

Defined in Amazonka.DMS.ListTagsForResource

ToJSON ListTagsForResource Source # 
Instance details

Defined in Amazonka.DMS.ListTagsForResource

AWSRequest ListTagsForResource Source # 
Instance details

Defined in Amazonka.DMS.ListTagsForResource

Associated Types

type AWSResponse ListTagsForResource #

ToHeaders ListTagsForResource Source # 
Instance details

Defined in Amazonka.DMS.ListTagsForResource

ToPath ListTagsForResource Source # 
Instance details

Defined in Amazonka.DMS.ListTagsForResource

ToQuery ListTagsForResource Source # 
Instance details

Defined in Amazonka.DMS.ListTagsForResource

type Rep ListTagsForResource Source # 
Instance details

Defined in Amazonka.DMS.ListTagsForResource

type Rep ListTagsForResource = D1 ('MetaData "ListTagsForResource" "Amazonka.DMS.ListTagsForResource" "libZSservicesZSamazonka-dmsZSamazonka-dms" 'False) (C1 ('MetaCons "ListTagsForResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceArnList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))
type AWSResponse ListTagsForResource Source # 
Instance details

Defined in Amazonka.DMS.ListTagsForResource

newListTagsForResource :: ListTagsForResource 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) string that uniquely identifies the DMS resource to list tags for. This returns a list of keys (names of tags) created for the resource and their associated tag values.

$sel:resourceArnList:ListTagsForResource', listTagsForResource_resourceArnList - List of ARNs that identify multiple DMS resources that you want to list tags for. This returns a list of keys (tag names) and their associated tag values. It also returns each tag's associated ResourceArn value, which is the ARN of the resource for which each listed tag is created.

Request Lenses

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

The Amazon Resource Name (ARN) string that uniquely identifies the DMS resource to list tags for. This returns a list of keys (names of tags) created for the resource and their associated tag values.

listTagsForResource_resourceArnList :: Lens' ListTagsForResource (Maybe [Text]) Source #

List of ARNs that identify multiple DMS resources that you want to list tags for. This returns a list of keys (tag names) and their associated tag values. It also returns each tag's associated ResourceArn value, which is the ARN of the resource for which each listed tag is created.

Destructuring the Response

data ListTagsForResourceResponse Source #

See: newListTagsForResourceResponse smart constructor.

Constructors

ListTagsForResourceResponse' 

Fields

Instances

Instances details
Eq ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.DMS.ListTagsForResource

Read ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.DMS.ListTagsForResource

Show ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.DMS.ListTagsForResource

Generic ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.DMS.ListTagsForResource

Associated Types

type Rep ListTagsForResourceResponse :: Type -> Type #

NFData ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.DMS.ListTagsForResource

type Rep ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.DMS.ListTagsForResource

type Rep ListTagsForResourceResponse = D1 ('MetaData "ListTagsForResourceResponse" "Amazonka.DMS.ListTagsForResource" "libZSservicesZSamazonka-dmsZSamazonka-dms" '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 for the resource.

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

Response Lenses