import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GreengrassClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassClient"; import type { GetDeploymentStatusRequest, GetDeploymentStatusResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetDeploymentStatusCommand}. */ export interface GetDeploymentStatusCommandInput extends GetDeploymentStatusRequest { } /** * @public * * The output of {@link GetDeploymentStatusCommand}. */ export interface GetDeploymentStatusCommandOutput extends GetDeploymentStatusResponse, __MetadataBearer { } declare const GetDeploymentStatusCommand_base: { new (input: GetDeploymentStatusCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetDeploymentStatusCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** * Returns the status of a deployment. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GreengrassClient, GetDeploymentStatusCommand } from "@aws-sdk/client-greengrass"; // ES Modules import * // const { GreengrassClient, GetDeploymentStatusCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import * // import type { GreengrassClientConfig } from "@aws-sdk/client-greengrass"; * const config = {}; // type is GreengrassClientConfig * const client = new GreengrassClient(config); * const input = { // GetDeploymentStatusRequest * DeploymentId: "STRING_VALUE", // required * GroupId: "STRING_VALUE", // required * }; * const command = new GetDeploymentStatusCommand(input); * const response = await client.send(command); * // { // GetDeploymentStatusResponse * // DeploymentStatus: "STRING_VALUE", * // DeploymentType: "NewDeployment" || "Redeployment" || "ResetDeployment" || "ForceResetDeployment", * // ErrorDetails: [ // ErrorDetails * // { // ErrorDetail * // DetailedErrorCode: "STRING_VALUE", * // DetailedErrorMessage: "STRING_VALUE", * // }, * // ], * // ErrorMessage: "STRING_VALUE", * // UpdatedAt: "STRING_VALUE", * // }; * * ``` * * @param GetDeploymentStatusCommandInput - {@link GetDeploymentStatusCommandInput} * @returns {@link GetDeploymentStatusCommandOutput} * @see {@link GetDeploymentStatusCommandInput} for command's `input` shape. * @see {@link GetDeploymentStatusCommandOutput} for command's `response` shape. * @see {@link GreengrassClientResolvedConfig | config} for GreengrassClient's `config` shape. * * @throws {@link BadRequestException} (client fault) * General error information. * * @throws {@link GreengrassServiceException} *

Base exception class for all service exceptions from Greengrass service.

* * * @public */ export declare class GetDeploymentStatusCommand extends GetDeploymentStatusCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetDeploymentStatusRequest; output: GetDeploymentStatusResponse; }; sdk: { input: GetDeploymentStatusCommandInput; output: GetDeploymentStatusCommandOutput; }; }; }