// 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:
/// - [`identifier(impl Into<String>)`](crate::operation::get_cluster_policy::builders::GetClusterPolicyFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_cluster_policy::builders::GetClusterPolicyFluentBuilder::set_identifier):<br>required: **true**<br><p>The ID of the cluster to retrieve the policy from.</p><br>
/// - On success, responds with [`GetClusterPolicyOutput`](crate::operation::get_cluster_policy::GetClusterPolicyOutput) with field(s):
/// - [`policy(String)`](crate::operation::get_cluster_policy::GetClusterPolicyOutput::policy): <p>The resource-based policy document attached to the cluster, returned as a JSON string.</p>
/// - [`policy_version(String)`](crate::operation::get_cluster_policy::GetClusterPolicyOutput::policy_version): <p>The version of the policy document. This version number is incremented each time the policy is updated.</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())
}
}