Struct aws_sdk_storagegateway::input::CreateTapePoolInput [−][src]
#[non_exhaustive]pub struct CreateTapePoolInput {
pub pool_name: Option<String>,
pub storage_class: Option<TapeStorageClass>,
pub retention_lock_type: Option<RetentionLockType>,
pub retention_lock_time_in_days: Option<i32>,
pub tags: Option<Vec<Tag>>,
}
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.pool_name: Option<String>
The name of the new custom tape pool.
storage_class: Option<TapeStorageClass>
The storage class that is associated with the new custom 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.
retention_lock_type: Option<RetentionLockType>
Tape retention lock can be configured in two modes. When configured in governance mode, Amazon Web Services accounts with specific IAM permissions are authorized to remove the tape retention lock from archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by any user, including the root Amazon Web Services account.
retention_lock_time_in_days: Option<i32>
Tape retention lock time is set in days. Tape retention lock can be enabled for up to 100 years (36,500 days).
A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateTapePool, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateTapePool, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateTapePool
>
Creates a new builder-style object to manufacture CreateTapePoolInput
The storage class that is associated with the new custom 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.
Tape retention lock can be configured in two modes. When configured in governance mode, Amazon Web Services accounts with specific IAM permissions are authorized to remove the tape retention lock from archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by any user, including the root Amazon Web Services account.
Tape retention lock time is set in days. Tape retention lock can be enabled for up to 100 years (36,500 days).
A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
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 CreateTapePoolInput
impl Send for CreateTapePoolInput
impl Sync for CreateTapePoolInput
impl Unpin for CreateTapePoolInput
impl UnwindSafe for CreateTapePoolInput
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