Struct rusoto_sms::CreateReplicationJobRequest
source · [−]pub struct CreateReplicationJobRequest {
pub description: Option<String>,
pub encrypted: Option<bool>,
pub frequency: Option<i64>,
pub kms_key_id: Option<String>,
pub license_type: Option<String>,
pub number_of_recent_amis_to_keep: Option<i64>,
pub role_name: Option<String>,
pub run_once: Option<bool>,
pub seed_replication_time: f64,
pub server_id: String,
}
Fields
description: Option<String>
The description of the replication job.
encrypted: Option<bool>
Indicates whether the replication job produces encrypted AMIs.
frequency: Option<i64>
The time between consecutive replication runs, in hours.
kms_key_id: Option<String>
The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following:
-
KMS key ID
-
KMS key alias
-
ARN referring to the KMS key ID
-
ARN referring to the KMS key alias
If encrypted is true but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.
license_type: Option<String>
The license type to be used for the AMI created by a successful replication run.
number_of_recent_amis_to_keep: Option<i64>
The maximum number of SMS-created AMIs to retain. The oldest is deleted after the maximum number is reached and a new AMI is created.
role_name: Option<String>
The name of the IAM role to be used by the AWS SMS.
run_once: Option<bool>
Indicates whether to run the replication job one time.
seed_replication_time: f64
The seed replication time.
server_id: String
The ID of the server.
Trait Implementations
sourceimpl Clone for CreateReplicationJobRequest
impl Clone for CreateReplicationJobRequest
sourcefn clone(&self) -> CreateReplicationJobRequest
fn clone(&self) -> CreateReplicationJobRequest
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 CreateReplicationJobRequest
impl Debug for CreateReplicationJobRequest
sourceimpl Default for CreateReplicationJobRequest
impl Default for CreateReplicationJobRequest
sourcefn default() -> CreateReplicationJobRequest
fn default() -> CreateReplicationJobRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateReplicationJobRequest> for CreateReplicationJobRequest
impl PartialEq<CreateReplicationJobRequest> for CreateReplicationJobRequest
sourcefn eq(&self, other: &CreateReplicationJobRequest) -> bool
fn eq(&self, other: &CreateReplicationJobRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateReplicationJobRequest) -> bool
fn ne(&self, other: &CreateReplicationJobRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateReplicationJobRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateReplicationJobRequest
impl Send for CreateReplicationJobRequest
impl Sync for CreateReplicationJobRequest
impl Unpin for CreateReplicationJobRequest
impl UnwindSafe for CreateReplicationJobRequest
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