1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ExportServerlessCacheSnapshot`](crate::operation::export_serverless_cache_snapshot::builders::ExportServerlessCacheSnapshotFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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 Redis only.</p><br>
    ///   - [`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 Redis only.</p><br>
    /// - On success, responds with [`ExportServerlessCacheSnapshotOutput`](crate::operation::export_serverless_cache_snapshot::ExportServerlessCacheSnapshotOutput) with field(s):
    ///   - [`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 Redis only.</p>
    /// - On failure, responds with [`SdkError<ExportServerlessCacheSnapshotError>`](crate::operation::export_serverless_cache_snapshot::ExportServerlessCacheSnapshotError)
    pub fn export_serverless_cache_snapshot(
        &self,
    ) -> crate::operation::export_serverless_cache_snapshot::builders::ExportServerlessCacheSnapshotFluentBuilder {
        crate::operation::export_serverless_cache_snapshot::builders::ExportServerlessCacheSnapshotFluentBuilder::new(self.handle.clone())
    }
}