aws_sdk_redshift/client/
delete_snapshot_copy_grant.rs

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