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 [`RejectAttachment`](crate::operation::reject_attachment::builders::RejectAttachmentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`attachment_id(impl Into<String>)`](crate::operation::reject_attachment::builders::RejectAttachmentFluentBuilder::attachment_id) / [`set_attachment_id(Option<String>)`](crate::operation::reject_attachment::builders::RejectAttachmentFluentBuilder::set_attachment_id): <p>The ID of the attachment.</p>
    /// - On success, responds with [`RejectAttachmentOutput`](crate::operation::reject_attachment::RejectAttachmentOutput) with field(s):
    ///   - [`attachment(Option<Attachment>)`](crate::operation::reject_attachment::RejectAttachmentOutput::attachment): <p>Describes the rejected attachment request.</p>
    /// - On failure, responds with [`SdkError<RejectAttachmentError>`](crate::operation::reject_attachment::RejectAttachmentError)
    pub fn reject_attachment(
        &self,
    ) -> crate::operation::reject_attachment::builders::RejectAttachmentFluentBuilder {
        crate::operation::reject_attachment::builders::RejectAttachmentFluentBuilder::new(
            self.handle.clone(),
        )
    }
}