We are excited to announce our new API Documentation.
Protected
Lists the tags you have assigned to the resource.
Use a bare-bones client and the command you need to make an API call.
import { AmpClient, ListTagsForResourceCommand } from "@aws-sdk/client-amp"; // ES Modules import// const { AmpClient, ListTagsForResourceCommand } = require("@aws-sdk/client-amp"); // CommonJS importconst client = new AmpClient(config);const input = { // ListTagsForResourceRequest resourceArn: "STRING_VALUE", // required};const command = new ListTagsForResourceCommand(input);const response = await client.send(command);// { // ListTagsForResourceResponse// tags: { // TagMap// "<keys>": "STRING_VALUE",// },// };
ListTagsForResourceCommandInput
ListTagsForResourceCommandOutput
input
response
config
AccessDeniedException (client fault) User does not have sufficient access to perform this action.
InternalServerException (server fault) Unexpected error during processing of request.
ResourceNotFoundException (client fault) Request references a resource which does not exist.
ThrottlingException (client fault) Request was denied due to request throttling.
ValidationException (client fault) The input fails to satisfy the constraints specified by an AWS service.
AmpServiceException
Base exception class for all service exceptions from Amp service.
Readonly
Static
Lists the tags you have assigned to the resource.
Example
Use a bare-bones client and the command you need to make an API call.
Param
ListTagsForResourceCommandInput
Returns
ListTagsForResourceCommandOutput
See
input
shape.response
shape.config
shape.Throws
AccessDeniedException (client fault) User does not have sufficient access to perform this action.
Throws
InternalServerException (server fault) Unexpected error during processing of request.
Throws
ResourceNotFoundException (client fault) Request references a resource which does not exist.
Throws
ThrottlingException (client fault) Request was denied due to request throttling.
Throws
ValidationException (client fault) The input fails to satisfy the constraints specified by an AWS service.
Throws
AmpServiceException
Base exception class for all service exceptions from Amp service.