import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeResiliencyPolicyRequest, DescribeResiliencyPolicyResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeResiliencyPolicyCommand}. */ export interface DescribeResiliencyPolicyCommandInput extends DescribeResiliencyPolicyRequest { } /** * @public * * The output of {@link DescribeResiliencyPolicyCommand}. */ export interface DescribeResiliencyPolicyCommandOutput extends DescribeResiliencyPolicyResponse, __MetadataBearer { } declare const DescribeResiliencyPolicyCommand_base: { new (input: DescribeResiliencyPolicyCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeResiliencyPolicyCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Describes a specified resiliency policy for an Resilience Hub application. The * returned policy object includes creation time, data location constraints, the Amazon Resource * Name (ARN) for the policy, tags, tier, and more.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ResiliencehubClient, DescribeResiliencyPolicyCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import * // const { ResiliencehubClient, DescribeResiliencyPolicyCommand } = 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 = { // DescribeResiliencyPolicyRequest * policyArn: "STRING_VALUE", // required * }; * const command = new DescribeResiliencyPolicyCommand(input); * const response = await client.send(command); * // { // DescribeResiliencyPolicyResponse * // policy: { // ResiliencyPolicy * // policyArn: "STRING_VALUE", * // policyName: "STRING_VALUE", * // policyDescription: "STRING_VALUE", * // dataLocationConstraint: "AnyLocation" || "SameContinent" || "SameCountry", * // tier: "MissionCritical" || "Critical" || "Important" || "CoreServices" || "NonCritical" || "NotApplicable", * // estimatedCostTier: "L1" || "L2" || "L3" || "L4", * // policy: { // DisruptionPolicy * // "": { // FailurePolicy * // rtoInSecs: Number("int"), // required * // rpoInSecs: Number("int"), // required * // }, * // }, * // creationTime: new Date("TIMESTAMP"), * // tags: { // TagMap * // "": "STRING_VALUE", * // }, * // }, * // }; * * ``` * * @param DescribeResiliencyPolicyCommandInput - {@link DescribeResiliencyPolicyCommandInput} * @returns {@link DescribeResiliencyPolicyCommandOutput} * @see {@link DescribeResiliencyPolicyCommandInput} for command's `input` shape. * @see {@link DescribeResiliencyPolicyCommandOutput} 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 DescribeResiliencyPolicyCommand extends DescribeResiliencyPolicyCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeResiliencyPolicyRequest; output: DescribeResiliencyPolicyResponse; }; sdk: { input: DescribeResiliencyPolicyCommandInput; output: DescribeResiliencyPolicyCommandOutput; }; }; }