// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CompleteAttachmentUpload`](crate::operation::complete_attachment_upload::builders::CompleteAttachmentUploadFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`upload_id(impl Into<String>)`](crate::operation::complete_attachment_upload::builders::CompleteAttachmentUploadFluentBuilder::upload_id) / [`set_upload_id(Option<String>)`](crate::operation::complete_attachment_upload::builders::CompleteAttachmentUploadFluentBuilder::set_upload_id):<br>required: **true**<br><p>The identifier associated with the upload to complete.</p><br>
/// - [`completed_uploads(CompletedUpload)`](crate::operation::complete_attachment_upload::builders::CompleteAttachmentUploadFluentBuilder::completed_uploads) / [`set_completed_uploads(Option<Vec::<CompletedUpload>>)`](crate::operation::complete_attachment_upload::builders::CompleteAttachmentUploadFluentBuilder::set_completed_uploads):<br>required: **true**<br><p>The list of parts being reported as completed in this call. Each entry must contain the <code>partIndex</code> of an uploaded part and the <code>ETag</code> returned by Amazon S3 when that part was uploaded.</p><br>
/// - [`dry_run(bool)`](crate::operation::complete_attachment_upload::builders::CompleteAttachmentUploadFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::complete_attachment_upload::builders::CompleteAttachmentUploadFluentBuilder::set_dry_run):<br>required: **false**<br><p>Specifies whether to validate the request without actually completing the upload. When set to <code>true</code>, the request is validated but the upload isn't finalized, and the operation returns a <code>DryRunOperationException</code>. When omitted or set to <code>false</code>, the request runs normally.</p><br>
/// - On success, responds with [`CompleteAttachmentUploadOutput`](crate::operation::complete_attachment_upload::CompleteAttachmentUploadOutput) with field(s):
/// - [`upload_status(UploadStatus)`](crate::operation::complete_attachment_upload::CompleteAttachmentUploadOutput::upload_status): <p>The status of the multipart upload after the operation finalizes the attachment. Valid values: <code>attachment-ready</code>, <code>attachment-not-ready</code>, and <code>failed</code>.</p>
/// - On failure, responds with [`SdkError<CompleteAttachmentUploadError>`](crate::operation::complete_attachment_upload::CompleteAttachmentUploadError)
pub fn complete_attachment_upload(&self) -> crate::operation::complete_attachment_upload::builders::CompleteAttachmentUploadFluentBuilder {
crate::operation::complete_attachment_upload::builders::CompleteAttachmentUploadFluentBuilder::new(self.handle.clone())
}
}