We are excited to announce our new API Documentation.
Protected
List all milestones for an existing workload.
Use a bare-bones client and the command you need to make an API call.
import { WellArchitectedClient, ListMilestonesCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import// const { WellArchitectedClient, ListMilestonesCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS importconst client = new WellArchitectedClient(config);const input = { // ListMilestonesInput WorkloadId: "STRING_VALUE", // required NextToken: "STRING_VALUE", MaxResults: Number("int"),};const command = new ListMilestonesCommand(input);const response = await client.send(command);// { // ListMilestonesOutput// WorkloadId: "STRING_VALUE",// MilestoneSummaries: [ // MilestoneSummaries// { // MilestoneSummary// MilestoneNumber: Number("int"),// MilestoneName: "STRING_VALUE",// RecordedAt: new Date("TIMESTAMP"),// WorkloadSummary: { // WorkloadSummary// WorkloadId: "STRING_VALUE",// WorkloadArn: "STRING_VALUE",// WorkloadName: "STRING_VALUE",// Owner: "STRING_VALUE",// UpdatedAt: new Date("TIMESTAMP"),// Lenses: [ // WorkloadLenses// "STRING_VALUE",// ],// RiskCounts: { // RiskCounts// "<keys>": Number("int"),// },// ImprovementStatus: "NOT_APPLICABLE" || "NOT_STARTED" || "IN_PROGRESS" || "COMPLETE" || "RISK_ACKNOWLEDGED",// Profiles: [ // WorkloadProfiles// { // WorkloadProfile// ProfileArn: "STRING_VALUE",// ProfileVersion: "STRING_VALUE",// },// ],// PrioritizedRiskCounts: {// "<keys>": Number("int"),// },// },// },// ],// NextToken: "STRING_VALUE",// };
ListMilestonesCommandInput
ListMilestonesCommandOutput
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 all milestones for an existing workload.
Example
Use a bare-bones client and the command you need to make an API call.
Param
ListMilestonesCommandInput
Returns
ListMilestonesCommandOutput
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.