aws_sdk_redshift/client/
batch_delete_cluster_snapshots.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 [`BatchDeleteClusterSnapshots`](crate::operation::batch_delete_cluster_snapshots::builders::BatchDeleteClusterSnapshotsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`identifiers(DeleteClusterSnapshotMessage)`](crate::operation::batch_delete_cluster_snapshots::builders::BatchDeleteClusterSnapshotsFluentBuilder::identifiers) / [`set_identifiers(Option<Vec::<DeleteClusterSnapshotMessage>>)`](crate::operation::batch_delete_cluster_snapshots::builders::BatchDeleteClusterSnapshotsFluentBuilder::set_identifiers):<br>required: **true**<br><p>A list of identifiers for the snapshots that you want to delete.</p><br>
7    /// - On success, responds with [`BatchDeleteClusterSnapshotsOutput`](crate::operation::batch_delete_cluster_snapshots::BatchDeleteClusterSnapshotsOutput) with field(s):
8    ///   - [`resources(Option<Vec::<String>>)`](crate::operation::batch_delete_cluster_snapshots::BatchDeleteClusterSnapshotsOutput::resources): <p>A list of the snapshot identifiers that were deleted.</p>
9    ///   - [`errors(Option<Vec::<SnapshotErrorMessage>>)`](crate::operation::batch_delete_cluster_snapshots::BatchDeleteClusterSnapshotsOutput::errors): <p>A list of any errors returned.</p>
10    /// - On failure, responds with [`SdkError<BatchDeleteClusterSnapshotsError>`](crate::operation::batch_delete_cluster_snapshots::BatchDeleteClusterSnapshotsError)
11    pub fn batch_delete_cluster_snapshots(
12        &self,
13    ) -> crate::operation::batch_delete_cluster_snapshots::builders::BatchDeleteClusterSnapshotsFluentBuilder {
14        crate::operation::batch_delete_cluster_snapshots::builders::BatchDeleteClusterSnapshotsFluentBuilder::new(self.handle.clone())
15    }
16}