1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeResiliencyPolicy`](crate::operation::describe_resiliency_policy::builders::DescribeResiliencyPolicyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`policy_arn(impl Into<String>)`](crate::operation::describe_resiliency_policy::builders::DescribeResiliencyPolicyFluentBuilder::policy_arn) / [`set_policy_arn(Option<String>)`](crate::operation::describe_resiliency_policy::builders::DescribeResiliencyPolicyFluentBuilder::set_policy_arn):<br>required: **true**<br><p>Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:resiliency-policy/<code>policy-id</code>. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html"> Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i> guide.</p><br>
    /// - On success, responds with [`DescribeResiliencyPolicyOutput`](crate::operation::describe_resiliency_policy::DescribeResiliencyPolicyOutput) with field(s):
    ///   - [`policy(Option<ResiliencyPolicy>)`](crate::operation::describe_resiliency_policy::DescribeResiliencyPolicyOutput::policy): <p>Information about the specific resiliency policy, returned as an object. This object includes creation time, data location constraints, its name, description, tags, the recovery time objective (RTO) and recovery point objective (RPO) in seconds, and more.</p>
    /// - On failure, responds with [`SdkError<DescribeResiliencyPolicyError>`](crate::operation::describe_resiliency_policy::DescribeResiliencyPolicyError)
    pub fn describe_resiliency_policy(&self) -> crate::operation::describe_resiliency_policy::builders::DescribeResiliencyPolicyFluentBuilder {
        crate::operation::describe_resiliency_policy::builders::DescribeResiliencyPolicyFluentBuilder::new(self.handle.clone())
    }
}