Struct aws_sdk_sms::types::ReplicationRun
source · #[non_exhaustive]pub struct ReplicationRun {
pub replication_run_id: Option<String>,
pub state: Option<ReplicationRunState>,
pub type: Option<ReplicationRunType>,
pub stage_details: Option<ReplicationRunStageDetails>,
pub status_message: Option<String>,
pub ami_id: Option<String>,
pub scheduled_start_time: Option<DateTime>,
pub completed_time: Option<DateTime>,
pub description: Option<String>,
pub encrypted: Option<bool>,
pub kms_key_id: Option<String>,
}
Expand description
Represents a replication run.
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.replication_run_id: Option<String>
The ID of the replication run.
state: Option<ReplicationRunState>
The state of the replication run.
type: Option<ReplicationRunType>
The type of replication run.
stage_details: Option<ReplicationRunStageDetails>
Details about the current stage of the replication run.
status_message: Option<String>
The description of the current status of the replication job.
ami_id: Option<String>
The ID of the Amazon Machine Image (AMI) from the replication run.
scheduled_start_time: Option<DateTime>
The start time of the next replication run.
completed_time: Option<DateTime>
The completion time of the last replication run.
description: Option<String>
The description of the replication run.
encrypted: Option<bool>
Indicates whether the replication run should produce an encrypted AMI.
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.
Implementations§
source§impl ReplicationRun
impl ReplicationRun
sourcepub fn replication_run_id(&self) -> Option<&str>
pub fn replication_run_id(&self) -> Option<&str>
The ID of the replication run.
sourcepub fn state(&self) -> Option<&ReplicationRunState>
pub fn state(&self) -> Option<&ReplicationRunState>
The state of the replication run.
sourcepub fn type(&self) -> Option<&ReplicationRunType>
pub fn type(&self) -> Option<&ReplicationRunType>
The type of replication run.
sourcepub fn stage_details(&self) -> Option<&ReplicationRunStageDetails>
pub fn stage_details(&self) -> Option<&ReplicationRunStageDetails>
Details about the current stage of the replication run.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
The description of the current status of the replication job.
sourcepub fn ami_id(&self) -> Option<&str>
pub fn ami_id(&self) -> Option<&str>
The ID of the Amazon Machine Image (AMI) from the replication run.
sourcepub fn scheduled_start_time(&self) -> Option<&DateTime>
pub fn scheduled_start_time(&self) -> Option<&DateTime>
The start time of the next replication run.
sourcepub fn completed_time(&self) -> Option<&DateTime>
pub fn completed_time(&self) -> Option<&DateTime>
The completion time of the last replication run.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the replication run.
sourcepub fn encrypted(&self) -> Option<bool>
pub fn encrypted(&self) -> Option<bool>
Indicates whether the replication run should produce an encrypted AMI.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
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.
source§impl ReplicationRun
impl ReplicationRun
sourcepub fn builder() -> ReplicationRunBuilder
pub fn builder() -> ReplicationRunBuilder
Creates a new builder-style object to manufacture ReplicationRun
.
Trait Implementations§
source§impl Clone for ReplicationRun
impl Clone for ReplicationRun
source§fn clone(&self) -> ReplicationRun
fn clone(&self) -> ReplicationRun
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReplicationRun
impl Debug for ReplicationRun
source§impl PartialEq for ReplicationRun
impl PartialEq for ReplicationRun
source§fn eq(&self, other: &ReplicationRun) -> bool
fn eq(&self, other: &ReplicationRun) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReplicationRun
Auto Trait Implementations§
impl Freeze for ReplicationRun
impl RefUnwindSafe for ReplicationRun
impl Send for ReplicationRun
impl Sync for ReplicationRun
impl Unpin for ReplicationRun
impl UnwindSafe for ReplicationRun
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more