We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.
Protected
Returns a list of tags attached to the specified Amazon Lookout for Vision model.
This operation requires permissions to perform the lookoutvision:ListTagsForResource operation.
lookoutvision:ListTagsForResource
Use a bare-bones client and the command you need to make an API call.
import { LookoutVisionClient, ListTagsForResourceCommand } from "@aws-sdk/client-lookoutvision"; // ES Modules import// const { LookoutVisionClient, ListTagsForResourceCommand } = require("@aws-sdk/client-lookoutvision"); // CommonJS importconst client = new LookoutVisionClient(config);const input = { // ListTagsForResourceRequest ResourceArn: "STRING_VALUE", // required};const command = new ListTagsForResourceCommand(input);const response = await client.send(command);// { // ListTagsForResourceResponse// Tags: [ // TagList// { // Tag// Key: "STRING_VALUE", // required// Value: "STRING_VALUE", // required// },// ],// };
ListTagsForResourceCommandInput
ListTagsForResourceCommandOutput
input
response
config
AccessDeniedException (client fault)
You are not authorized to perform the action.
ConflictException (client fault)
The update or deletion of a resource caused an inconsistent state.
InternalServerException (server fault)
Amazon Lookout for Vision experienced a service issue. Try your call again.
ResourceNotFoundException (client fault)
The resource could not be found.
ThrottlingException (client fault)
Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
ValidationException (client fault)
An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
LookoutVisionServiceException
Base exception class for all service exceptions from LookoutVision service.
Readonly
Static
Returns a list of tags attached to the specified Amazon Lookout for Vision model.
This operation requires permissions to perform the
lookoutvision:ListTagsForResource
operation.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)
You are not authorized to perform the action.
Throws
ConflictException (client fault)
The update or deletion of a resource caused an inconsistent state.
Throws
InternalServerException (server fault)
Amazon Lookout for Vision experienced a service issue. Try your call again.
Throws
ResourceNotFoundException (client fault)
The resource could not be found.
Throws
ThrottlingException (client fault)
Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
Throws
ValidationException (client fault)
An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
Throws
LookoutVisionServiceException
Base exception class for all service exceptions from LookoutVision service.