We are excited to announce our new API Documentation.
Protected
List of Trusted Advisor check details by account related to the workload.
Use a bare-bones client and the command you need to make an API call.
import { WellArchitectedClient, ListCheckDetailsCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import// const { WellArchitectedClient, ListCheckDetailsCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS importconst client = new WellArchitectedClient(config);const input = { // ListCheckDetailsInput WorkloadId: "STRING_VALUE", // required NextToken: "STRING_VALUE", MaxResults: Number("int"), LensArn: "STRING_VALUE", // required PillarId: "STRING_VALUE", // required QuestionId: "STRING_VALUE", // required ChoiceId: "STRING_VALUE", // required};const command = new ListCheckDetailsCommand(input);const response = await client.send(command);// { // ListCheckDetailsOutput// CheckDetails: [ // CheckDetails// { // CheckDetail// Id: "STRING_VALUE",// Name: "STRING_VALUE",// Description: "STRING_VALUE",// Provider: "TRUSTED_ADVISOR",// LensArn: "STRING_VALUE",// PillarId: "STRING_VALUE",// QuestionId: "STRING_VALUE",// ChoiceId: "STRING_VALUE",// Status: "OKAY" || "WARNING" || "ERROR" || "NOT_AVAILABLE" || "FETCH_FAILED",// AccountId: "STRING_VALUE",// FlaggedResources: Number("int"),// Reason: "ASSUME_ROLE_ERROR" || "ACCESS_DENIED" || "UNKNOWN_ERROR" || "PREMIUM_SUPPORT_REQUIRED",// UpdatedAt: new Date("TIMESTAMP"),// },// ],// NextToken: "STRING_VALUE",// };
ListCheckDetailsCommandInput
ListCheckDetailsCommandOutput
input
response
config
AccessDeniedException (client fault)
User does not have sufficient access to perform this action.
InternalServerException (server fault)
There is a problem with the Well-Architected Tool API service.
ResourceNotFoundException (client fault)
The requested resource was not found.
ThrottlingException (client fault)
Request was denied due to request throttling.
ValidationException (client fault)
The user input is not valid.
WellArchitectedServiceException
Base exception class for all service exceptions from WellArchitected service.
Readonly
Static
List of Trusted Advisor check details by account related to the workload.
Example
Use a bare-bones client and the command you need to make an API call.
Param
ListCheckDetailsCommandInput
Returns
ListCheckDetailsCommandOutput
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)
There is a problem with the Well-Architected Tool API service.
Throws
ResourceNotFoundException (client fault)
The requested resource was not found.
Throws
ThrottlingException (client fault)
Request was denied due to request throttling.
Throws
ValidationException (client fault)
The user input is not valid.
Throws
WellArchitectedServiceException
Base exception class for all service exceptions from WellArchitected service.