aws_sdk_dataexchange/client/
delete_data_grant.rs

1
2
3
4
5
6
7
8
9
10
11
12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteDataGrant`](crate::operation::delete_data_grant::builders::DeleteDataGrantFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`data_grant_id(impl Into<String>)`](crate::operation::delete_data_grant::builders::DeleteDataGrantFluentBuilder::data_grant_id) / [`set_data_grant_id(Option<String>)`](crate::operation::delete_data_grant::builders::DeleteDataGrantFluentBuilder::set_data_grant_id):<br>required: **true**<br><p>The ID of the data grant to delete.</p><br>
    /// - On success, responds with [`DeleteDataGrantOutput`](crate::operation::delete_data_grant::DeleteDataGrantOutput)
    /// - On failure, responds with [`SdkError<DeleteDataGrantError>`](crate::operation::delete_data_grant::DeleteDataGrantError)
    pub fn delete_data_grant(&self) -> crate::operation::delete_data_grant::builders::DeleteDataGrantFluentBuilder {
        crate::operation::delete_data_grant::builders::DeleteDataGrantFluentBuilder::new(self.handle.clone())
    }
}