1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ExportSnapshot`](crate::operation::export_snapshot::builders::ExportSnapshotFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`game_name(impl Into<String>)`](crate::operation::export_snapshot::builders::ExportSnapshotFluentBuilder::game_name) / [`set_game_name(Option<String>)`](crate::operation::export_snapshot::builders::ExportSnapshotFluentBuilder::set_game_name): <p>The name of the game.</p>
    ///   - [`snapshot_id(impl Into<String>)`](crate::operation::export_snapshot::builders::ExportSnapshotFluentBuilder::snapshot_id) / [`set_snapshot_id(Option<String>)`](crate::operation::export_snapshot::builders::ExportSnapshotFluentBuilder::set_snapshot_id): <p>The identifier of the snapshot to export.</p>
    /// - On success, responds with [`ExportSnapshotOutput`](crate::operation::export_snapshot::ExportSnapshotOutput) with field(s):
    ///   - [`s3_url(Option<String>)`](crate::operation::export_snapshot::ExportSnapshotOutput::s3_url): <p>The presigned URL for the snapshot data.</p>  <p> This URL will be available for 10 minutes, and can be used to download the snapshot content. If the URL expires, a new one can be requested using the same operation. </p>
    /// - On failure, responds with [`SdkError<ExportSnapshotError>`](crate::operation::export_snapshot::ExportSnapshotError)
    pub fn export_snapshot(&self) -> crate::operation::export_snapshot::builders::ExportSnapshotFluentBuilder {
        crate::operation::export_snapshot::builders::ExportSnapshotFluentBuilder::new(self.handle.clone())
    }
}