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 [`RejectGrant`](crate::operation::reject_grant::builders::RejectGrantFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`grant_arn(impl Into<String>)`](crate::operation::reject_grant::builders::RejectGrantFluentBuilder::grant_arn) / [`set_grant_arn(Option<String>)`](crate::operation::reject_grant::builders::RejectGrantFluentBuilder::set_grant_arn): <p>Amazon Resource Name (ARN) of the grant.</p>
    /// - On success, responds with [`RejectGrantOutput`](crate::operation::reject_grant::RejectGrantOutput) with field(s):
    ///   - [`grant_arn(Option<String>)`](crate::operation::reject_grant::RejectGrantOutput::grant_arn): <p>Grant ARN.</p>
    ///   - [`status(Option<GrantStatus>)`](crate::operation::reject_grant::RejectGrantOutput::status): <p>Grant status.</p>
    ///   - [`version(Option<String>)`](crate::operation::reject_grant::RejectGrantOutput::version): <p>Grant version.</p>
    /// - On failure, responds with [`SdkError<RejectGrantError>`](crate::operation::reject_grant::RejectGrantError)
    pub fn reject_grant(&self) -> crate::operation::reject_grant::builders::RejectGrantFluentBuilder {
        crate::operation::reject_grant::builders::RejectGrantFluentBuilder::new(self.handle.clone())
    }
}