We are excited to announce our new API Documentation.
Protected
Lists the tags associated with the specified resource ARN.
Use a bare-bones client and the command you need to make an API call.
import { IoT1ClickDevicesServiceClient, ListTagsForResourceCommand } from "@aws-sdk/client-iot-1click-devices-service"; // ES Modules import// const { IoT1ClickDevicesServiceClient, ListTagsForResourceCommand } = require("@aws-sdk/client-iot-1click-devices-service"); // CommonJS importconst client = new IoT1ClickDevicesServiceClient(config);const input = { // ListTagsForResourceRequest ResourceArn: "STRING_VALUE", // required};const command = new ListTagsForResourceCommand(input);const response = await client.send(command);// { // ListTagsForResourceResponse// Tags: { // __mapOf__string// "<keys>": "STRING_VALUE",// },// };
ListTagsForResourceCommandInput
ListTagsForResourceCommandOutput
input
response
config
InternalFailureException (server fault)
ResourceNotFoundException (client fault)
IoT1ClickDevicesServiceServiceException
Base exception class for all service exceptions from IoT1ClickDevicesService service.
Readonly
Static
Lists the tags associated with the specified resource ARN.
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
InternalFailureException (server fault)
Throws
ResourceNotFoundException (client fault)
Throws
IoT1ClickDevicesServiceServiceException
Base exception class for all service exceptions from IoT1ClickDevicesService service.