Struct aws_sdk_storagegateway::input::DeleteTapeInput [−][src]
#[non_exhaustive]pub struct DeleteTapeInput {
pub gateway_arn: Option<String>,
pub tape_arn: Option<String>,
pub bypass_governance_retention: bool,
}
Expand description
DeleteTapeInput
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.gateway_arn: Option<String>
The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.
tape_arn: Option<String>
The Amazon Resource Name (ARN) of the virtual tape to delete.
bypass_governance_retention: bool
Set to TRUE
to delete an archived tape that belongs to a custom pool with
tape retention lock. Only archived tapes with tape retention lock set to
governance
can be deleted. Archived tapes with tape retention lock set to
compliance
can't be deleted.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteTape, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteTape, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DeleteTape
>
Creates a new builder-style object to manufacture DeleteTapeInput
The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.
The Amazon Resource Name (ARN) of the virtual tape to delete.
Set to TRUE
to delete an archived tape that belongs to a custom pool with
tape retention lock. Only archived tapes with tape retention lock set to
governance
can be deleted. Archived tapes with tape retention lock set to
compliance
can't be deleted.
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 DeleteTapeInput
impl Send for DeleteTapeInput
impl Sync for DeleteTapeInput
impl Unpin for DeleteTapeInput
impl UnwindSafe for DeleteTapeInput
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