AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the ListTagsForResource operation.
Lists all metadata tags attached to an DMS resource, including replication instance,
endpoint, subnet group, and migration task. For more information, see Tag
data type description.
Namespace: Amazon.DatabaseMigrationService.Model
Assembly: AWSSDK.DatabaseMigrationService.dll
Version: 3.x.y.z
public class ListTagsForResourceRequest : AmazonDatabaseMigrationServiceRequest IAmazonWebServiceRequest
The ListTagsForResourceRequest type exposes the following members
Name | Description | |
---|---|---|
ListTagsForResourceRequest() |
Name | Type | Description | |
---|---|---|---|
ResourceArn | System.String |
Gets and sets the property 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. |
|
ResourceArnList | System.Collections.Generic.List<System.String> |
Gets and sets the property 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 |
Lists all tags for an AWS DMS resource.
var client = new AmazonDatabaseMigrationServiceClient(); var response = client.ListTagsForResource(new ListTagsForResourceRequest { ResourceArn = "" }); List<Tag> tagList = response.TagList;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5