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 [`DeleteGrant`](crate::operation::delete_grant::builders::DeleteGrantFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`grant_arn(impl Into<String>)`](crate::operation::delete_grant::builders::DeleteGrantFluentBuilder::grant_arn) / [`set_grant_arn(Option<String>)`](crate::operation::delete_grant::builders::DeleteGrantFluentBuilder::set_grant_arn): <p>Amazon Resource Name (ARN) of the grant.</p>
    ///   - [`status_reason(impl Into<String>)`](crate::operation::delete_grant::builders::DeleteGrantFluentBuilder::status_reason) / [`set_status_reason(Option<String>)`](crate::operation::delete_grant::builders::DeleteGrantFluentBuilder::set_status_reason): <p>The Status reason for the delete request.</p>
    ///   - [`version(impl Into<String>)`](crate::operation::delete_grant::builders::DeleteGrantFluentBuilder::version) / [`set_version(Option<String>)`](crate::operation::delete_grant::builders::DeleteGrantFluentBuilder::set_version): <p>Current version of the grant.</p>
    /// - On success, responds with [`DeleteGrantOutput`](crate::operation::delete_grant::DeleteGrantOutput) with field(s):
    ///   - [`grant_arn(Option<String>)`](crate::operation::delete_grant::DeleteGrantOutput::grant_arn): <p>Grant ARN.</p>
    ///   - [`status(Option<GrantStatus>)`](crate::operation::delete_grant::DeleteGrantOutput::status): <p>Grant status.</p>
    ///   - [`version(Option<String>)`](crate::operation::delete_grant::DeleteGrantOutput::version): <p>Grant version.</p>
    /// - On failure, responds with [`SdkError<DeleteGrantError>`](crate::operation::delete_grant::DeleteGrantError)
    pub fn delete_grant(&self) -> crate::operation::delete_grant::builders::DeleteGrantFluentBuilder {
        crate::operation::delete_grant::builders::DeleteGrantFluentBuilder::new(self.handle.clone())
    }
}