Returns all the tags associated with an Amazon Web Services resource.
Use a bare-bones client and the command you need to make an API call.
import { DataSyncClient, ListTagsForResourceCommand } from "@aws-sdk/client-datasync"; // ES Modules import // const { DataSyncClient, ListTagsForResourceCommand } = require("@aws-sdk/client-datasync"); // CommonJS import const client = new DataSyncClient(config); const command = new ListTagsForResourceCommand(input); const response = await client.send(command);
ListTagsForResourceCommandInput for command's input shape.
input
ListTagsForResourceCommandOutput for command's response shape.
response
config for DataSyncClient's config shape.
config
Returns all the tags associated with an Amazon Web Services resource.
Use a bare-bones client and the command you need to make an API call.
import { DataSyncClient, ListTagsForResourceCommand } from "@aws-sdk/client-datasync"; // ES Modules import // const { DataSyncClient, ListTagsForResourceCommand } = require("@aws-sdk/client-datasync"); // CommonJS import const client = new DataSyncClient(config); const command = new ListTagsForResourceCommand(input); const response = await client.send(command);
ListTagsForResourceCommandInput for command's
input
shape.ListTagsForResourceCommandOutput for command's
response
shape.config for DataSyncClient's
config
shape.