Add tags to an accelerator resource.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
Use a bare-bones client and the command you need to make an API call.
import { GlobalAcceleratorClient, TagResourceCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import // const { GlobalAcceleratorClient, TagResourceCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import const client = new GlobalAcceleratorClient(config); const command = new TagResourceCommand(input); const response = await client.send(command);
TagResourceCommandInput for command's input shape.
input
TagResourceCommandOutput for command's response shape.
response
config for GlobalAcceleratorClient's config shape.
config
Add tags to an accelerator resource.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
Use a bare-bones client and the command you need to make an API call.
import { GlobalAcceleratorClient, TagResourceCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import // const { GlobalAcceleratorClient, TagResourceCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import const client = new GlobalAcceleratorClient(config); const command = new TagResourceCommand(input); const response = await client.send(command);
TagResourceCommandInput for command's
input
shape.TagResourceCommandOutput for command's
response
shape.config for GlobalAcceleratorClient's
config
shape.