import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetMilestoneInput, GetMilestoneOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetMilestoneCommand}. */ export interface GetMilestoneCommandInput extends GetMilestoneInput { } /** * @public * * The output of {@link GetMilestoneCommand}. */ export interface GetMilestoneCommandOutput extends GetMilestoneOutput, __MetadataBearer { } declare const GetMilestoneCommand_base: { new (input: GetMilestoneCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetMilestoneCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Get a milestone for an existing workload.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { WellArchitectedClient, GetMilestoneCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import * // const { WellArchitectedClient, GetMilestoneCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import * // import type { WellArchitectedClientConfig } from "@aws-sdk/client-wellarchitected"; * const config = {}; // type is WellArchitectedClientConfig * const client = new WellArchitectedClient(config); * const input = { // GetMilestoneInput * WorkloadId: "STRING_VALUE", // required * MilestoneNumber: Number("int"), // required * }; * const command = new GetMilestoneCommand(input); * const response = await client.send(command); * // { // GetMilestoneOutput * // WorkloadId: "STRING_VALUE", * // Milestone: { // Milestone * // MilestoneNumber: Number("int"), * // MilestoneName: "STRING_VALUE", * // RecordedAt: new Date("TIMESTAMP"), * // Workload: { // Workload * // WorkloadId: "STRING_VALUE", * // WorkloadArn: "STRING_VALUE", * // WorkloadName: "STRING_VALUE", * // Description: "STRING_VALUE", * // Environment: "PRODUCTION" || "PREPRODUCTION", * // UpdatedAt: new Date("TIMESTAMP"), * // AccountIds: [ // WorkloadAccountIds * // "STRING_VALUE", * // ], * // AwsRegions: [ // WorkloadAwsRegions * // "STRING_VALUE", * // ], * // NonAwsRegions: [ // WorkloadNonAwsRegions * // "STRING_VALUE", * // ], * // ArchitecturalDesign: "STRING_VALUE", * // ReviewOwner: "STRING_VALUE", * // ReviewRestrictionDate: new Date("TIMESTAMP"), * // IsReviewOwnerUpdateAcknowledged: true || false, * // IndustryType: "STRING_VALUE", * // Industry: "STRING_VALUE", * // Notes: "STRING_VALUE", * // ImprovementStatus: "NOT_APPLICABLE" || "NOT_STARTED" || "IN_PROGRESS" || "COMPLETE" || "RISK_ACKNOWLEDGED", * // RiskCounts: { // RiskCounts * // "": Number("int"), * // }, * // PillarPriorities: [ // WorkloadPillarPriorities * // "STRING_VALUE", * // ], * // Lenses: [ // WorkloadLenses * // "STRING_VALUE", * // ], * // Owner: "STRING_VALUE", * // ShareInvitationId: "STRING_VALUE", * // Tags: { // TagMap * // "": "STRING_VALUE", * // }, * // DiscoveryConfig: { // WorkloadDiscoveryConfig * // TrustedAdvisorIntegrationStatus: "ENABLED" || "DISABLED", * // WorkloadResourceDefinition: [ // WorkloadResourceDefinition * // "WORKLOAD_METADATA" || "APP_REGISTRY", * // ], * // }, * // Applications: [ // WorkloadApplications * // "STRING_VALUE", * // ], * // Profiles: [ // WorkloadProfiles * // { // WorkloadProfile * // ProfileArn: "STRING_VALUE", * // ProfileVersion: "STRING_VALUE", * // }, * // ], * // PrioritizedRiskCounts: { * // "": Number("int"), * // }, * // JiraConfiguration: { // WorkloadJiraConfigurationOutput * // IssueManagementStatus: "ENABLED" || "DISABLED" || "INHERIT", * // IssueManagementType: "AUTO" || "MANUAL", * // JiraProjectKey: "STRING_VALUE", * // StatusMessage: "STRING_VALUE", * // }, * // }, * // }, * // }; * * ``` * * @param GetMilestoneCommandInput - {@link GetMilestoneCommandInput} * @returns {@link GetMilestoneCommandOutput} * @see {@link GetMilestoneCommandInput} for command's `input` shape. * @see {@link GetMilestoneCommandOutput} for command's `response` shape. * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

User does not have sufficient access to perform this action.

* * @throws {@link InternalServerException} (server fault) *

There is a problem with the Well-Architected Tool API service.

* * @throws {@link ResourceNotFoundException} (client fault) *

The requested resource was not found.

* * @throws {@link ThrottlingException} (client fault) *

Request was denied due to request throttling.

* * @throws {@link ValidationException} (client fault) *

The user input is not valid.

* * @throws {@link WellArchitectedServiceException} *

Base exception class for all service exceptions from WellArchitected service.

* * * @public */ export declare class GetMilestoneCommand extends GetMilestoneCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetMilestoneInput; output: GetMilestoneOutput; }; sdk: { input: GetMilestoneCommandInput; output: GetMilestoneCommandOutput; }; }; }