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 { ListDeploymentsRequest, ListDeploymentsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListDeploymentsCommand}. */ export interface ListDeploymentsCommandInput extends ListDeploymentsRequest { } /** * @public * * The output of {@link ListDeploymentsCommand}. */ export interface ListDeploymentsCommandOutput extends ListDeploymentsResponse, __MetadataBearer { } declare const ListDeploymentsCommand_base: { new (input: ListDeploymentsCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListDeploymentsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** * Returns a history of deployments for the group. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GreengrassClient, ListDeploymentsCommand } from "@aws-sdk/client-greengrass"; // ES Modules import * // const { GreengrassClient, ListDeploymentsCommand } = 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 = { // ListDeploymentsRequest * GroupId: "STRING_VALUE", // required * MaxResults: "STRING_VALUE", * NextToken: "STRING_VALUE", * }; * const command = new ListDeploymentsCommand(input); * const response = await client.send(command); * // { // ListDeploymentsResponse * // Deployments: [ // Deployments * // { // Deployment * // CreatedAt: "STRING_VALUE", * // DeploymentArn: "STRING_VALUE", * // DeploymentId: "STRING_VALUE", * // DeploymentType: "NewDeployment" || "Redeployment" || "ResetDeployment" || "ForceResetDeployment", * // GroupArn: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListDeploymentsCommandInput - {@link ListDeploymentsCommandInput} * @returns {@link ListDeploymentsCommandOutput} * @see {@link ListDeploymentsCommandInput} for command's `input` shape. * @see {@link ListDeploymentsCommandOutput} 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 ListDeploymentsCommand extends ListDeploymentsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListDeploymentsRequest; output: ListDeploymentsResponse; }; sdk: { input: ListDeploymentsCommandInput; output: ListDeploymentsCommandOutput; }; }; }