// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`PutPolicy`](crate::operation::put_policy::builders::PutPolicyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`arn(impl Into<String>)`](crate::operation::put_policy::builders::PutPolicyFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::put_policy::builders::PutPolicyFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the resource for which the policy needs to be updated.</p><br>
/// - [`token(impl Into<String>)`](crate::operation::put_policy::builders::PutPolicyFluentBuilder::token) / [`set_token(Option<String>)`](crate::operation::put_policy::builders::PutPolicyFluentBuilder::set_token):<br>required: **false**<br><p>A unique identifier for the current revision of the policy.</p><br>
/// - [`policy(impl Into<String>)`](crate::operation::put_policy::builders::PutPolicyFluentBuilder::policy) / [`set_policy(Option<String>)`](crate::operation::put_policy::builders::PutPolicyFluentBuilder::set_policy):<br>required: **true**<br><p>The resource-based policy.</p><br>
/// - On success, responds with [`PutPolicyOutput`](crate::operation::put_policy::PutPolicyOutput) with field(s):
/// - [`arn(String)`](crate::operation::put_policy::PutPolicyOutput::arn): <p>The Entity Resolution resource ARN.</p>
/// - [`token(String)`](crate::operation::put_policy::PutPolicyOutput::token): <p>A unique identifier for the current revision of the policy.</p>
/// - [`policy(Option<String>)`](crate::operation::put_policy::PutPolicyOutput::policy): <p>The resource-based policy.</p>
/// - On failure, responds with [`SdkError<PutPolicyError>`](crate::operation::put_policy::PutPolicyError)
pub fn put_policy(&self) -> crate::operation::put_policy::builders::PutPolicyFluentBuilder {
crate::operation::put_policy::builders::PutPolicyFluentBuilder::new(self.handle.clone())
}
}