Struct aws_sdk_storagegateway::input::AssignTapePoolInput [−][src]
#[non_exhaustive]pub struct AssignTapePoolInput {
pub tape_arn: Option<String>,
pub pool_id: Option<String>,
pub bypass_governance_retention: bool,
}
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.tape_arn: Option<String>
The unique Amazon Resource Name (ARN) of the virtual tape that you want to add to the tape pool.
pool_id: Option<String>
The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
Valid Values: GLACIER
| DEEP_ARCHIVE
bypass_governance_retention: bool
Set permissions to bypass governance retention. If the lock type of the archived tape is
Governance
, the tape's archived age is not older than
RetentionLockInDays
, and the user does not already have
BypassGovernanceRetention
, setting this to TRUE enables the user to bypass
the retention lock. This parameter is set to true by default for calls from the
console.
Valid values: TRUE
| FALSE
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AssignTapePool, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AssignTapePool, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<AssignTapePool
>
Creates a new builder-style object to manufacture AssignTapePoolInput
The unique Amazon Resource Name (ARN) of the virtual tape that you want to add to the tape pool.
The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
Valid Values: GLACIER
| DEEP_ARCHIVE
Set permissions to bypass governance retention. If the lock type of the archived tape is
Governance
, the tape's archived age is not older than
RetentionLockInDays
, and the user does not already have
BypassGovernanceRetention
, setting this to TRUE enables the user to bypass
the retention lock. This parameter is set to true by default for calls from the
console.
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 AssignTapePoolInput
impl Send for AssignTapePoolInput
impl Sync for AssignTapePoolInput
impl Unpin for AssignTapePoolInput
impl UnwindSafe for AssignTapePoolInput
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