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 [`GetClusterPolicy`](crate::operation::get_cluster_policy::builders::GetClusterPolicyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`cluster_arn(impl Into<String>)`](crate::operation::get_cluster_policy::builders::GetClusterPolicyFluentBuilder::cluster_arn) / [`set_cluster_arn(Option<String>)`](crate::operation::get_cluster_policy::builders::GetClusterPolicyFluentBuilder::set_cluster_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the cluster.</p><br>
    /// - On success, responds with [`GetClusterPolicyOutput`](crate::operation::get_cluster_policy::GetClusterPolicyOutput) with field(s):
    ///   - [`current_version(Option<String>)`](crate::operation::get_cluster_policy::GetClusterPolicyOutput::current_version): <p>The version of cluster policy.</p>
    ///   - [`policy(Option<String>)`](crate::operation::get_cluster_policy::GetClusterPolicyOutput::policy): <p>The cluster policy.</p>
    /// - On failure, responds with [`SdkError<GetClusterPolicyError>`](crate::operation::get_cluster_policy::GetClusterPolicyError)
    pub fn get_cluster_policy(&self) -> crate::operation::get_cluster_policy::builders::GetClusterPolicyFluentBuilder {
        crate::operation::get_cluster_policy::builders::GetClusterPolicyFluentBuilder::new(self.handle.clone())
    }
}