import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeDraftAppVersionResourcesImportStatusRequest, DescribeDraftAppVersionResourcesImportStatusResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeDraftAppVersionResourcesImportStatusCommand}. */ export interface DescribeDraftAppVersionResourcesImportStatusCommandInput extends DescribeDraftAppVersionResourcesImportStatusRequest { } /** * @public * * The output of {@link DescribeDraftAppVersionResourcesImportStatusCommand}. */ export interface DescribeDraftAppVersionResourcesImportStatusCommandOutput extends DescribeDraftAppVersionResourcesImportStatusResponse, __MetadataBearer { } declare const DescribeDraftAppVersionResourcesImportStatusCommand_base: { new (input: DescribeDraftAppVersionResourcesImportStatusCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeDraftAppVersionResourcesImportStatusCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Describes the status of importing resources to an application version.

* *

If you get a 404 error with * ResourceImportStatusNotFoundAppMetadataException, you must call * importResourcesToDraftAppVersion after creating the application and before * calling describeDraftAppVersionResourcesImportStatus to obtain the * status.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ResiliencehubClient, DescribeDraftAppVersionResourcesImportStatusCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import * // const { ResiliencehubClient, DescribeDraftAppVersionResourcesImportStatusCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import * // import type { ResiliencehubClientConfig } from "@aws-sdk/client-resiliencehub"; * const config = {}; // type is ResiliencehubClientConfig * const client = new ResiliencehubClient(config); * const input = { // DescribeDraftAppVersionResourcesImportStatusRequest * appArn: "STRING_VALUE", // required * }; * const command = new DescribeDraftAppVersionResourcesImportStatusCommand(input); * const response = await client.send(command); * // { // DescribeDraftAppVersionResourcesImportStatusResponse * // appArn: "STRING_VALUE", // required * // appVersion: "STRING_VALUE", // required * // status: "Pending" || "InProgress" || "Failed" || "Success", // required * // statusChangeTime: new Date("TIMESTAMP"), // required * // errorMessage: "STRING_VALUE", * // errorDetails: [ // ErrorDetailList * // { // ErrorDetail * // errorMessage: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param DescribeDraftAppVersionResourcesImportStatusCommandInput - {@link DescribeDraftAppVersionResourcesImportStatusCommandInput} * @returns {@link DescribeDraftAppVersionResourcesImportStatusCommandOutput} * @see {@link DescribeDraftAppVersionResourcesImportStatusCommandInput} for command's `input` shape. * @see {@link DescribeDraftAppVersionResourcesImportStatusCommandOutput} for command's `response` shape. * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You don't have permissions to perform the requested operation. The user or role that is * making the request must have at least one IAM permissions policy attached that grants the * required permissions.

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

This exception occurs when there is an internal failure in the Resilience Hub * service.

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

This exception occurs when the specified resource could not be found.

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

This exception occurs when you have exceeded the limit on the number of requests per second.

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

This exception occurs when a request is not valid.

* * @throws {@link ResiliencehubServiceException} *

Base exception class for all service exceptions from Resiliencehub service.

* * * @public */ export declare class DescribeDraftAppVersionResourcesImportStatusCommand extends DescribeDraftAppVersionResourcesImportStatusCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeDraftAppVersionResourcesImportStatusRequest; output: DescribeDraftAppVersionResourcesImportStatusResponse; }; sdk: { input: DescribeDraftAppVersionResourcesImportStatusCommandInput; output: DescribeDraftAppVersionResourcesImportStatusCommandOutput; }; }; }