import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetOperationInput, GetOperationOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetOperationCommand}. */ export interface GetOperationCommandInput extends GetOperationInput { } /** * @public * * The output of {@link GetOperationCommand}. */ export interface GetOperationCommandOutput extends GetOperationOutput, __MetadataBearer { } declare const GetOperationCommand_base: { new (input: GetOperationCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetOperationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Gets the details of an operation by specifying the operation ID.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SsmSapClient, GetOperationCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import * // const { SsmSapClient, GetOperationCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import * // import type { SsmSapClientConfig } from "@aws-sdk/client-ssm-sap"; * const config = {}; // type is SsmSapClientConfig * const client = new SsmSapClient(config); * const input = { // GetOperationInput * OperationId: "STRING_VALUE", // required * }; * const command = new GetOperationCommand(input); * const response = await client.send(command); * // { // GetOperationOutput * // Operation: { // Operation * // Id: "STRING_VALUE", * // Type: "STRING_VALUE", * // Status: "INPROGRESS" || "SUCCESS" || "ERROR", * // StatusMessage: "STRING_VALUE", * // Properties: { // OperationProperties * // "": "STRING_VALUE", * // }, * // ResourceType: "STRING_VALUE", * // ResourceId: "STRING_VALUE", * // ResourceArn: "STRING_VALUE", * // StartTime: new Date("TIMESTAMP"), * // EndTime: new Date("TIMESTAMP"), * // LastUpdatedTime: new Date("TIMESTAMP"), * // }, * // }; * * ``` * * @param GetOperationCommandInput - {@link GetOperationCommandInput} * @returns {@link GetOperationCommandOutput} * @see {@link GetOperationCommandInput} for command's `input` shape. * @see {@link GetOperationCommandOutput} for command's `response` shape. * @see {@link SsmSapClientResolvedConfig | config} for SsmSapClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

An internal error has occurred.

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

The input fails to satisfy the constraints specified by an AWS service.

* * @throws {@link SsmSapServiceException} *

Base exception class for all service exceptions from SsmSap service.

* * * @public */ export declare class GetOperationCommand extends GetOperationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetOperationInput; output: GetOperationOutput; }; sdk: { input: GetOperationCommandInput; output: GetOperationCommandOutput; }; }; }