Struct aws_sdk_storagegateway::input::DeleteFileShareInput [−][src]
#[non_exhaustive]pub struct DeleteFileShareInput {
pub file_share_arn: Option<String>,
pub force_delete: bool,
}
Expand description
DeleteFileShareInput
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.The Amazon Resource Name (ARN) of the file share to be deleted.
force_delete: bool
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
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteFileShare, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteFileShare, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DeleteFileShare
>
Creates a new builder-style object to manufacture DeleteFileShareInput
The Amazon Resource Name (ARN) of the file share to be deleted.
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DeleteFileShareInput
impl Send for DeleteFileShareInput
impl Sync for DeleteFileShareInput
impl Unpin for DeleteFileShareInput
impl UnwindSafe for DeleteFileShareInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more