// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`PutImagePolicy`](crate::operation::put_image_policy::builders::PutImagePolicyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`image_arn(impl Into<String>)`](crate::operation::put_image_policy::builders::PutImagePolicyFluentBuilder::image_arn) / [`set_image_arn(Option<String>)`](crate::operation::put_image_policy::builders::PutImagePolicyFluentBuilder::set_image_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the image that this policy should be applied to.</p><br>
/// - [`policy(impl Into<String>)`](crate::operation::put_image_policy::builders::PutImagePolicyFluentBuilder::policy) / [`set_policy(Option<String>)`](crate::operation::put_image_policy::builders::PutImagePolicyFluentBuilder::set_policy):<br>required: **true**<br><p>The policy to apply.</p><br>
/// - On success, responds with [`PutImagePolicyOutput`](crate::operation::put_image_policy::PutImagePolicyOutput) with field(s):
/// - [`request_id(Option<String>)`](crate::operation::put_image_policy::PutImagePolicyOutput::request_id): <p>The request ID that uniquely identifies this request.</p>
/// - [`image_arn(Option<String>)`](crate::operation::put_image_policy::PutImagePolicyOutput::image_arn): <p>The Amazon Resource Name (ARN) of the image that this policy was applied to.</p>
/// - On failure, responds with [`SdkError<PutImagePolicyError>`](crate::operation::put_image_policy::PutImagePolicyError)
pub fn put_image_policy(&self) -> crate::operation::put_image_policy::builders::PutImagePolicyFluentBuilder {
crate::operation::put_image_policy::builders::PutImagePolicyFluentBuilder::new(self.handle.clone())
}
}