pub struct CreateTapePoolInput {
pub pool_name: String,
pub retention_lock_time_in_days: Option<i64>,
pub retention_lock_type: Option<String>,
pub storage_class: String,
pub tags: Option<Vec<Tag>>,
}
Fields
pool_name: String
The name of the new custom tape pool.
retention_lock_time_in_days: Option<i64>
Tape retention lock time is set in days. Tape retention lock can be enabled for up to 100 years (36,500 days).
retention_lock_type: Option<String>
Tape retention lock can be configured in two modes. When configured in governance mode, AWS 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 AWS account.
storage_class: String
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.
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
sourceimpl Clone for CreateTapePoolInput
impl Clone for CreateTapePoolInput
sourcefn clone(&self) -> CreateTapePoolInput
fn clone(&self) -> CreateTapePoolInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateTapePoolInput
impl Debug for CreateTapePoolInput
sourceimpl Default for CreateTapePoolInput
impl Default for CreateTapePoolInput
sourcefn default() -> CreateTapePoolInput
fn default() -> CreateTapePoolInput
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateTapePoolInput> for CreateTapePoolInput
impl PartialEq<CreateTapePoolInput> for CreateTapePoolInput
sourcefn eq(&self, other: &CreateTapePoolInput) -> bool
fn eq(&self, other: &CreateTapePoolInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateTapePoolInput) -> bool
fn ne(&self, other: &CreateTapePoolInput) -> bool
This method tests for !=
.
sourceimpl Serialize for CreateTapePoolInput
impl Serialize for CreateTapePoolInput
impl StructuralPartialEq for CreateTapePoolInput
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more