aws_sdk_workspaces/client/describe_workspace_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 [`DescribeWorkspaceSnapshots`](crate::operation::describe_workspace_snapshots::builders::DescribeWorkspaceSnapshotsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`workspace_id(impl Into<String>)`](crate::operation::describe_workspace_snapshots::builders::DescribeWorkspaceSnapshotsFluentBuilder::workspace_id) / [`set_workspace_id(Option<String>)`](crate::operation::describe_workspace_snapshots::builders::DescribeWorkspaceSnapshotsFluentBuilder::set_workspace_id):<br>required: **true**<br><p>The identifier of the WorkSpace.</p><br>
7 /// - On success, responds with [`DescribeWorkspaceSnapshotsOutput`](crate::operation::describe_workspace_snapshots::DescribeWorkspaceSnapshotsOutput) with field(s):
8 /// - [`rebuild_snapshots(Option<Vec::<Snapshot>>)`](crate::operation::describe_workspace_snapshots::DescribeWorkspaceSnapshotsOutput::rebuild_snapshots): <p>Information about the snapshots that can be used to rebuild a WorkSpace. These snapshots include the user volume.</p>
9 /// - [`restore_snapshots(Option<Vec::<Snapshot>>)`](crate::operation::describe_workspace_snapshots::DescribeWorkspaceSnapshotsOutput::restore_snapshots): <p>Information about the snapshots that can be used to restore a WorkSpace. These snapshots include both the root volume and the user volume.</p>
10 /// - On failure, responds with [`SdkError<DescribeWorkspaceSnapshotsError>`](crate::operation::describe_workspace_snapshots::DescribeWorkspaceSnapshotsError)
11 pub fn describe_workspace_snapshots(&self) -> crate::operation::describe_workspace_snapshots::builders::DescribeWorkspaceSnapshotsFluentBuilder {
12 crate::operation::describe_workspace_snapshots::builders::DescribeWorkspaceSnapshotsFluentBuilder::new(self.handle.clone())
13 }
14}