import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetOrderInput, GetOrderOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetOrderCommand}. */ export interface GetOrderCommandInput extends GetOrderInput { } /** * @public * * The output of {@link GetOrderCommand}. */ export interface GetOrderCommandOutput extends GetOrderOutput, __MetadataBearer { } declare const GetOrderCommand_base: { new (input: GetOrderCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetOrderCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Gets information about the specified order.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OutpostsClient, GetOrderCommand } from "@aws-sdk/client-outposts"; // ES Modules import * // const { OutpostsClient, GetOrderCommand } = require("@aws-sdk/client-outposts"); // CommonJS import * // import type { OutpostsClientConfig } from "@aws-sdk/client-outposts"; * const config = {}; // type is OutpostsClientConfig * const client = new OutpostsClient(config); * const input = { // GetOrderInput * OrderId: "STRING_VALUE", // required * }; * const command = new GetOrderCommand(input); * const response = await client.send(command); * // { // GetOrderOutput * // Order: { // Order * // OutpostId: "STRING_VALUE", * // QuoteIdentifier: "STRING_VALUE", * // QuoteOptionIdentifier: "STRING_VALUE", * // OrderId: "STRING_VALUE", * // Status: "RECEIVED" || "PENDING" || "PROCESSING" || "INSTALLING" || "FULFILLED" || "CANCELLED" || "PREPARING" || "IN_PROGRESS" || "DELIVERED" || "COMPLETED" || "ERROR", * // LineItems: [ // LineItemListDefinition * // { // LineItem * // CatalogItemId: "STRING_VALUE", * // LineItemId: "STRING_VALUE", * // Quantity: Number("int"), * // Status: "PREPARING" || "BUILDING" || "SHIPPED" || "DELIVERED" || "INSTALLING" || "INSTALLED" || "ERROR" || "CANCELLED" || "REPLACED", * // ShipmentInformation: { // ShipmentInformation * // ShipmentTrackingNumber: "STRING_VALUE", * // ShipmentCarrier: "DHL" || "DBS" || "FEDEX" || "UPS" || "EXPEDITORS", * // }, * // AssetInformationList: [ // LineItemAssetInformationList * // { // LineItemAssetInformation * // AssetId: "STRING_VALUE", * // MacAddressList: [ // MacAddressList * // "STRING_VALUE", * // ], * // }, * // ], * // PreviousLineItemId: "STRING_VALUE", * // PreviousOrderId: "STRING_VALUE", * // }, * // ], * // PaymentOption: "ALL_UPFRONT" || "NO_UPFRONT" || "PARTIAL_UPFRONT", * // OrderSubmissionDate: new Date("TIMESTAMP"), * // OrderFulfilledDate: new Date("TIMESTAMP"), * // PaymentTerm: "THREE_YEARS" || "ONE_YEAR" || "FIVE_YEARS", * // OrderType: "OUTPOST" || "REPLACEMENT", * // }, * // }; * * ``` * * @param GetOrderCommandInput - {@link GetOrderCommandInput} * @returns {@link GetOrderCommandOutput} * @see {@link GetOrderCommandInput} for command's `input` shape. * @see {@link GetOrderCommandOutput} for command's `response` shape. * @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

An internal error has occurred.

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

The specified request is not valid.

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

A parameter is not valid.

* * @throws {@link OutpostsServiceException} *

Base exception class for all service exceptions from Outposts service.

* * * @public */ export declare class GetOrderCommand extends GetOrderCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetOrderInput; output: GetOrderOutput; }; sdk: { input: GetOrderCommandInput; output: GetOrderCommandOutput; }; }; }