pub struct DeleteSnapshotFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteSnapshot
.
Deletes an Amazon FSx for OpenZFS snapshot. After deletion, the snapshot no longer exists, and its data is gone. Deleting a snapshot doesn't affect snapshots stored in a file system backup.
The DeleteSnapshot
operation returns instantly. The snapshot appears with the lifecycle status of DELETING
until the deletion is complete.
Implementations§
source§impl DeleteSnapshotFluentBuilder
impl DeleteSnapshotFluentBuilder
sourcepub fn as_input(&self) -> &DeleteSnapshotInputBuilder
pub fn as_input(&self) -> &DeleteSnapshotInputBuilder
Access the DeleteSnapshot as a reference.
sourcepub async fn send(
self
) -> Result<DeleteSnapshotOutput, SdkError<DeleteSnapshotError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteSnapshotOutput, SdkError<DeleteSnapshotError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DeleteSnapshotOutput, DeleteSnapshotError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteSnapshotOutput, DeleteSnapshotError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
sourcepub fn snapshot_id(self, input: impl Into<String>) -> Self
pub fn snapshot_id(self, input: impl Into<String>) -> Self
The ID of the snapshot that you want to delete.
sourcepub fn set_snapshot_id(self, input: Option<String>) -> Self
pub fn set_snapshot_id(self, input: Option<String>) -> Self
The ID of the snapshot that you want to delete.
sourcepub fn get_snapshot_id(&self) -> &Option<String>
pub fn get_snapshot_id(&self) -> &Option<String>
The ID of the snapshot that you want to delete.
Trait Implementations§
source§impl Clone for DeleteSnapshotFluentBuilder
impl Clone for DeleteSnapshotFluentBuilder
source§fn clone(&self) -> DeleteSnapshotFluentBuilder
fn clone(&self) -> DeleteSnapshotFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more