#[non_exhaustive]pub struct PremigrationAssessmentStatus {
pub premigration_assessment_run_arn: Option<String>,
pub fail_on_assessment_failure: bool,
pub status: Option<String>,
pub premigration_assessment_run_creation_date: Option<DateTime>,
pub assessment_progress: Option<ReplicationTaskAssessmentRunProgress>,
pub last_failure_message: Option<String>,
pub result_location_bucket: Option<String>,
pub result_location_folder: Option<String>,
pub result_encryption_mode: Option<String>,
pub result_kms_key_arn: Option<String>,
pub result_statistic: Option<ReplicationTaskAssessmentRunResultStatistic>,
}
Expand description
The results returned in describe-replications
to display the results of the premigration assessment from the replication configuration.
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.premigration_assessment_run_arn: Option<String>
The Amazon Resource Name (ARN) of this assessment run.
fail_on_assessment_failure: bool
A configurable setting you can set to true
(the defualt setting) or false
. Use this setting to to stop the replication from starting automatically if the assessment fails. This can help you evaluate the issue that is preventing the replication from running successfully.
status: Option<String>
This describes the assessment run status. The status can be one of the following values:
-
cancelling
: The assessment run was canceled. -
deleting
: The assessment run was deleted. -
failed
: At least one individual assessment completed with a failed status. -
error-provisioning
: An internal error occurred while resources were provisioned (during theprovisioning
status). -
error-executing
An internal error occurred while individual assessments ran (during therunning
status). -
invalid state
: The assessment run is in an unknown state. -
passed
: All individual assessments have completed and none have a failed status. -
provisioning
: The resources required to run individual assessments are being provisioned. -
running
: Individual assessments are being run. -
starting
: The assessment run is starting, but resources are not yet being provisioned for individual assessments. -
warning
: At least one individual assessment completed with a warning status.
premigration_assessment_run_creation_date: Option<DateTime>
The date which the assessment run was created.
assessment_progress: Option<ReplicationTaskAssessmentRunProgress>
The progress values reported by the AssessmentProgress
response element.
last_failure_message: Option<String>
The last message generated by an individual assessment failure.
result_location_bucket: Option<String>
The Amazon S3 bucket that Database Migration Service Serverless created to store the results of this assessment run.
result_location_folder: Option<String>
The folder within an Amazon S3 bucket where you want Database Migration Service to store the results of this assessment run.
result_encryption_mode: Option<String>
The supported values are SSE_KMS
and SSE_S3
. If these values are not provided, then the files are not encrypted at rest. For more information, see Creating Amazon Web Services KMS keys to encrypt Amazon S3 target objects.
result_kms_key_arn: Option<String>
The ARN of a custom KMS encryption key that you specify when you set ResultEncryptionMode
to SSE_KMS
.
result_statistic: Option<ReplicationTaskAssessmentRunResultStatistic>
The object containing the result statistics for a completed assessment run.
Implementations§
Source§impl PremigrationAssessmentStatus
impl PremigrationAssessmentStatus
Sourcepub fn premigration_assessment_run_arn(&self) -> Option<&str>
pub fn premigration_assessment_run_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of this assessment run.
Sourcepub fn fail_on_assessment_failure(&self) -> bool
pub fn fail_on_assessment_failure(&self) -> bool
A configurable setting you can set to true
(the defualt setting) or false
. Use this setting to to stop the replication from starting automatically if the assessment fails. This can help you evaluate the issue that is preventing the replication from running successfully.
Sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
This describes the assessment run status. The status can be one of the following values:
-
cancelling
: The assessment run was canceled. -
deleting
: The assessment run was deleted. -
failed
: At least one individual assessment completed with a failed status. -
error-provisioning
: An internal error occurred while resources were provisioned (during theprovisioning
status). -
error-executing
An internal error occurred while individual assessments ran (during therunning
status). -
invalid state
: The assessment run is in an unknown state. -
passed
: All individual assessments have completed and none have a failed status. -
provisioning
: The resources required to run individual assessments are being provisioned. -
running
: Individual assessments are being run. -
starting
: The assessment run is starting, but resources are not yet being provisioned for individual assessments. -
warning
: At least one individual assessment completed with a warning status.
Sourcepub fn premigration_assessment_run_creation_date(&self) -> Option<&DateTime>
pub fn premigration_assessment_run_creation_date(&self) -> Option<&DateTime>
The date which the assessment run was created.
Sourcepub fn assessment_progress(
&self,
) -> Option<&ReplicationTaskAssessmentRunProgress>
pub fn assessment_progress( &self, ) -> Option<&ReplicationTaskAssessmentRunProgress>
The progress values reported by the AssessmentProgress
response element.
Sourcepub fn last_failure_message(&self) -> Option<&str>
pub fn last_failure_message(&self) -> Option<&str>
The last message generated by an individual assessment failure.
Sourcepub fn result_location_bucket(&self) -> Option<&str>
pub fn result_location_bucket(&self) -> Option<&str>
The Amazon S3 bucket that Database Migration Service Serverless created to store the results of this assessment run.
Sourcepub fn result_location_folder(&self) -> Option<&str>
pub fn result_location_folder(&self) -> Option<&str>
The folder within an Amazon S3 bucket where you want Database Migration Service to store the results of this assessment run.
Sourcepub fn result_encryption_mode(&self) -> Option<&str>
pub fn result_encryption_mode(&self) -> Option<&str>
The supported values are SSE_KMS
and SSE_S3
. If these values are not provided, then the files are not encrypted at rest. For more information, see Creating Amazon Web Services KMS keys to encrypt Amazon S3 target objects.
Sourcepub fn result_kms_key_arn(&self) -> Option<&str>
pub fn result_kms_key_arn(&self) -> Option<&str>
The ARN of a custom KMS encryption key that you specify when you set ResultEncryptionMode
to SSE_KMS
.
Sourcepub fn result_statistic(
&self,
) -> Option<&ReplicationTaskAssessmentRunResultStatistic>
pub fn result_statistic( &self, ) -> Option<&ReplicationTaskAssessmentRunResultStatistic>
The object containing the result statistics for a completed assessment run.
Source§impl PremigrationAssessmentStatus
impl PremigrationAssessmentStatus
Sourcepub fn builder() -> PremigrationAssessmentStatusBuilder
pub fn builder() -> PremigrationAssessmentStatusBuilder
Creates a new builder-style object to manufacture PremigrationAssessmentStatus
.
Trait Implementations§
Source§impl Clone for PremigrationAssessmentStatus
impl Clone for PremigrationAssessmentStatus
Source§fn clone(&self) -> PremigrationAssessmentStatus
fn clone(&self) -> PremigrationAssessmentStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for PremigrationAssessmentStatus
impl Debug for PremigrationAssessmentStatus
Source§impl PartialEq for PremigrationAssessmentStatus
impl PartialEq for PremigrationAssessmentStatus
Source§fn eq(&self, other: &PremigrationAssessmentStatus) -> bool
fn eq(&self, other: &PremigrationAssessmentStatus) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PremigrationAssessmentStatus
Auto Trait Implementations§
impl Freeze for PremigrationAssessmentStatus
impl RefUnwindSafe for PremigrationAssessmentStatus
impl Send for PremigrationAssessmentStatus
impl Sync for PremigrationAssessmentStatus
impl Unpin for PremigrationAssessmentStatus
impl UnwindSafe for PremigrationAssessmentStatus
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 moreSource§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the foreground set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red()
and
green()
, which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg()
:
use yansi::{Paint, Color};
painted.fg(Color::White);
Set foreground color to white using white()
.
use yansi::Paint;
painted.white();
Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the background set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red()
and
on_green()
, which have the same functionality but
are pithier.
§Example
Set background color to red using fg()
:
use yansi::{Paint, Color};
painted.bg(Color::Red);
Set background color to red using on_red()
.
use yansi::Paint;
painted.on_red();
Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute
value
.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold()
and
underline()
, which have the same functionality
but are pithier.
§Example
Make text bold using attr()
:
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);
Make text bold using using bold()
.
use yansi::Paint;
painted.bold();
Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi
Quirk
value
.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask()
and
wrap()
, which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk()
:
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);
Enable wrapping using wrap()
.
use yansi::Paint;
painted.wrap();
Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition
value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted
only when both stdout
and stderr
are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);