1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AcceptGrant`](crate::operation::accept_grant::builders::AcceptGrantFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`grant_arn(impl Into<String>)`](crate::operation::accept_grant::builders::AcceptGrantFluentBuilder::grant_arn) / [`set_grant_arn(Option<String>)`](crate::operation::accept_grant::builders::AcceptGrantFluentBuilder::set_grant_arn): <p>Amazon Resource Name (ARN) of the grant.</p>
    /// - On success, responds with [`AcceptGrantOutput`](crate::operation::accept_grant::AcceptGrantOutput) with field(s):
    ///   - [`grant_arn(Option<String>)`](crate::operation::accept_grant::AcceptGrantOutput::grant_arn): <p>Grant ARN.</p>
    ///   - [`status(Option<GrantStatus>)`](crate::operation::accept_grant::AcceptGrantOutput::status): <p>Grant status.</p>
    ///   - [`version(Option<String>)`](crate::operation::accept_grant::AcceptGrantOutput::version): <p>Grant version.</p>
    /// - On failure, responds with [`SdkError<AcceptGrantError>`](crate::operation::accept_grant::AcceptGrantError)
    pub fn accept_grant(&self) -> crate::operation::accept_grant::builders::AcceptGrantFluentBuilder {
        crate::operation::accept_grant::builders::AcceptGrantFluentBuilder::new(self.handle.clone())
    }
}