pub struct DeleteFileShare { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteFileShare
.
Deletes a file share from an S3 File Gateway. This operation is only supported for S3 File Gateways.
Implementations§
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteFileShare, AwsResponseRetryClassifier>, SdkError<DeleteFileShareError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeleteFileShare, AwsResponseRetryClassifier>, SdkError<DeleteFileShareError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DeleteFileShareOutput, SdkError<DeleteFileShareError>>
pub async fn send(
self
) -> Result<DeleteFileShareOutput, SdkError<DeleteFileShareError>>
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.
The Amazon Resource Name (ARN) of the file share to be deleted.
The Amazon Resource Name (ARN) of the file share to be deleted.
sourcepub fn force_delete(self, input: bool) -> Self
pub fn force_delete(self, input: bool) -> Self
If this value is set to true
, the operation deletes a file share immediately and aborts all data uploads to Amazon Web Services. Otherwise, the file share is not deleted until all data is uploaded to Amazon Web Services. This process aborts the data upload process, and the file share enters the FORCE_DELETING
status.
Valid Values: true
| false
sourcepub fn set_force_delete(self, input: Option<bool>) -> Self
pub fn set_force_delete(self, input: Option<bool>) -> Self
If this value is set to true
, the operation deletes a file share immediately and aborts all data uploads to Amazon Web Services. Otherwise, the file share is not deleted until all data is uploaded to Amazon Web Services. This process aborts the data upload process, and the file share enters the FORCE_DELETING
status.
Valid Values: true
| false
Trait Implementations§
source§fn clone(&self) -> DeleteFileShare
fn clone(&self) -> DeleteFileShare
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more