aws_sdk_elasticache/client/
export_serverless_cache_snapshot.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 [`ExportServerlessCacheSnapshot`](crate::operation::export_serverless_cache_snapshot::builders::ExportServerlessCacheSnapshotFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`serverless_cache_snapshot_name(impl Into<String>)`](crate::operation::export_serverless_cache_snapshot::builders::ExportServerlessCacheSnapshotFluentBuilder::serverless_cache_snapshot_name) / [`set_serverless_cache_snapshot_name(Option<String>)`](crate::operation::export_serverless_cache_snapshot::builders::ExportServerlessCacheSnapshotFluentBuilder::set_serverless_cache_snapshot_name):<br>required: **true**<br><p>The identifier of the serverless cache snapshot to be exported to S3. Available for Valkey and Redis OSS only.</p><br>
7    ///   - [`s3_bucket_name(impl Into<String>)`](crate::operation::export_serverless_cache_snapshot::builders::ExportServerlessCacheSnapshotFluentBuilder::s3_bucket_name) / [`set_s3_bucket_name(Option<String>)`](crate::operation::export_serverless_cache_snapshot::builders::ExportServerlessCacheSnapshotFluentBuilder::set_s3_bucket_name):<br>required: **true**<br><p>Name of the Amazon S3 bucket to export the snapshot to. The Amazon S3 bucket must also be in same region as the snapshot. Available for Valkey and Redis OSS only.</p><br>
8    /// - On success, responds with [`ExportServerlessCacheSnapshotOutput`](crate::operation::export_serverless_cache_snapshot::ExportServerlessCacheSnapshotOutput) with field(s):
9    ///   - [`serverless_cache_snapshot(Option<ServerlessCacheSnapshot>)`](crate::operation::export_serverless_cache_snapshot::ExportServerlessCacheSnapshotOutput::serverless_cache_snapshot): <p>The state of a serverless cache at a specific point in time, to the millisecond. Available for Valkey, Redis OSS and Serverless Memcached only.</p>
10    /// - On failure, responds with [`SdkError<ExportServerlessCacheSnapshotError>`](crate::operation::export_serverless_cache_snapshot::ExportServerlessCacheSnapshotError)
11    pub fn export_serverless_cache_snapshot(
12        &self,
13    ) -> crate::operation::export_serverless_cache_snapshot::builders::ExportServerlessCacheSnapshotFluentBuilder {
14        crate::operation::export_serverless_cache_snapshot::builders::ExportServerlessCacheSnapshotFluentBuilder::new(self.handle.clone())
15    }
16}