import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient"; import type { ListLifecycleExecutionResourcesRequest, ListLifecycleExecutionResourcesResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListLifecycleExecutionResourcesCommand}. */ export interface ListLifecycleExecutionResourcesCommandInput extends ListLifecycleExecutionResourcesRequest { } /** * @public * * The output of {@link ListLifecycleExecutionResourcesCommand}. */ export interface ListLifecycleExecutionResourcesCommandOutput extends ListLifecycleExecutionResourcesResponse, __MetadataBearer { } declare const ListLifecycleExecutionResourcesCommand_base: { new (input: ListLifecycleExecutionResourcesCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListLifecycleExecutionResourcesCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

List resources that the runtime instance of the image lifecycle identified for lifecycle actions.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ImagebuilderClient, ListLifecycleExecutionResourcesCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import * // const { ImagebuilderClient, ListLifecycleExecutionResourcesCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import * // import type { ImagebuilderClientConfig } from "@aws-sdk/client-imagebuilder"; * const config = {}; // type is ImagebuilderClientConfig * const client = new ImagebuilderClient(config); * const input = { // ListLifecycleExecutionResourcesRequest * lifecycleExecutionId: "STRING_VALUE", // required * parentResourceId: "STRING_VALUE", * maxResults: Number("int"), * nextToken: "STRING_VALUE", * }; * const command = new ListLifecycleExecutionResourcesCommand(input); * const response = await client.send(command); * // { // ListLifecycleExecutionResourcesResponse * // lifecycleExecutionId: "STRING_VALUE", * // lifecycleExecutionState: { // LifecycleExecutionState * // status: "IN_PROGRESS" || "CANCELLED" || "CANCELLING" || "FAILED" || "SUCCESS" || "PENDING", * // reason: "STRING_VALUE", * // }, * // resources: [ // LifecycleExecutionResourceList * // { // LifecycleExecutionResource * // accountId: "STRING_VALUE", * // resourceId: "STRING_VALUE", * // state: { // LifecycleExecutionResourceState * // status: "FAILED" || "IN_PROGRESS" || "SKIPPED" || "SUCCESS", * // reason: "STRING_VALUE", * // }, * // action: { // LifecycleExecutionResourceAction * // name: "AVAILABLE" || "DELETE" || "DEPRECATE" || "DISABLE", * // reason: "STRING_VALUE", * // }, * // region: "STRING_VALUE", * // snapshots: [ // LifecycleExecutionSnapshotResourceList * // { // LifecycleExecutionSnapshotResource * // snapshotId: "STRING_VALUE", * // state: { * // status: "FAILED" || "IN_PROGRESS" || "SKIPPED" || "SUCCESS", * // reason: "STRING_VALUE", * // }, * // }, * // ], * // imageUris: [ // StringList * // "STRING_VALUE", * // ], * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListLifecycleExecutionResourcesCommandInput - {@link ListLifecycleExecutionResourcesCommandInput} * @returns {@link ListLifecycleExecutionResourcesCommandOutput} * @see {@link ListLifecycleExecutionResourcesCommandInput} for command's `input` shape. * @see {@link ListLifecycleExecutionResourcesCommandOutput} for command's `response` shape. * @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape. * * @throws {@link CallRateLimitExceededException} (client fault) *

You have exceeded the permitted request rate for the specific operation.

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

These errors are usually caused by a client action, such as using an action or * resource on behalf of a user that doesn't have permissions to use the action or * resource, or specifying an invalid resource identifier.

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

You are not authorized to perform the requested operation.

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

You have provided an invalid pagination token in your request.

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

You have requested an action that that the service doesn't support.

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

This exception is thrown when the service encounters an unrecoverable * exception.

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

The service is unable to process your request at this time.

* * @throws {@link ImagebuilderServiceException} *

Base exception class for all service exceptions from Imagebuilder service.

* * * @public */ export declare class ListLifecycleExecutionResourcesCommand extends ListLifecycleExecutionResourcesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListLifecycleExecutionResourcesRequest; output: ListLifecycleExecutionResourcesResponse; }; sdk: { input: ListLifecycleExecutionResourcesCommandInput; output: ListLifecycleExecutionResourcesCommandOutput; }; }; }