1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteResiliencyPolicy`](crate::operation::delete_resiliency_policy::builders::DeleteResiliencyPolicyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`policy_arn(impl Into<String>)`](crate::operation::delete_resiliency_policy::builders::DeleteResiliencyPolicyFluentBuilder::policy_arn) / [`set_policy_arn(Option<String>)`](crate::operation::delete_resiliency_policy::builders::DeleteResiliencyPolicyFluentBuilder::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>
    ///   - [`client_token(impl Into<String>)`](crate::operation::delete_resiliency_policy::builders::DeleteResiliencyPolicyFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_resiliency_policy::builders::DeleteResiliencyPolicyFluentBuilder::set_client_token):<br>required: **false**<br><p>Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.</p><br>
    /// - On success, responds with [`DeleteResiliencyPolicyOutput`](crate::operation::delete_resiliency_policy::DeleteResiliencyPolicyOutput) with field(s):
    ///   - [`policy_arn(String)`](crate::operation::delete_resiliency_policy::DeleteResiliencyPolicyOutput::policy_arn): <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>
    /// - On failure, responds with [`SdkError<DeleteResiliencyPolicyError>`](crate::operation::delete_resiliency_policy::DeleteResiliencyPolicyError)
    pub fn delete_resiliency_policy(&self) -> crate::operation::delete_resiliency_policy::builders::DeleteResiliencyPolicyFluentBuilder {
        crate::operation::delete_resiliency_policy::builders::DeleteResiliencyPolicyFluentBuilder::new(self.handle.clone())
    }
}