1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AcceptAttachment`](crate::operation::accept_attachment::builders::AcceptAttachmentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`attachment_id(impl Into<String>)`](crate::operation::accept_attachment::builders::AcceptAttachmentFluentBuilder::attachment_id) / [`set_attachment_id(Option<String>)`](crate::operation::accept_attachment::builders::AcceptAttachmentFluentBuilder::set_attachment_id): <p>The ID of the attachment. </p>
    /// - On success, responds with [`AcceptAttachmentOutput`](crate::operation::accept_attachment::AcceptAttachmentOutput) with field(s):
    ///   - [`attachment(Option<Attachment>)`](crate::operation::accept_attachment::AcceptAttachmentOutput::attachment): <p>The response to the attachment request. </p>
    /// - On failure, responds with [`SdkError<AcceptAttachmentError>`](crate::operation::accept_attachment::AcceptAttachmentError)
    pub fn accept_attachment(
        &self,
    ) -> crate::operation::accept_attachment::builders::AcceptAttachmentFluentBuilder {
        crate::operation::accept_attachment::builders::AcceptAttachmentFluentBuilder::new(
            self.handle.clone(),
        )
    }
}