Protected
Add a tag to the specified resource.
Use a bare-bones client and the command you need to make an API call.
import { BraketClient, TagResourceCommand } from "@aws-sdk/client-braket"; // ES Modules import// const { BraketClient, TagResourceCommand } = require("@aws-sdk/client-braket"); // CommonJS importconst client = new BraketClient(config);const command = new TagResourceCommand(input);const response = await client.send(command);
TagResourceCommandInput
TagResourceCommandOutput
input
response
config
InternalServiceException (server fault)
The request processing has failed because of an unknown error, exception, or failure.
ResourceNotFoundException (client fault)
The specified resource was not found.
ValidationException (client fault)
The input fails to satisfy the constraints specified by an AWS service.
Readonly
Static
Add a tag to the specified resource.
Example
Use a bare-bones client and the command you need to make an API call.
Param
TagResourceCommandInput
Returns
TagResourceCommandOutput
See
input
shape.response
shape.config
shape.Throws
InternalServiceException (server fault)
The request processing has failed because of an unknown error, exception, or failure.
Throws
ResourceNotFoundException (client fault)
The specified resource was not found.
Throws
ValidationException (client fault)
The input fails to satisfy the constraints specified by an AWS service.