Struct aws_sdk_rds::types::BlueGreenDeployment
source · #[non_exhaustive]pub struct BlueGreenDeployment { /* private fields */ }Expand description
Contains the details about a blue/green deployment.
For more information, see Using Amazon RDS Blue/Green Deployments for database updates in the Amazon RDS User Guide and Using Amazon RDS Blue/Green Deployments for database updates in the Amazon Aurora User Guide.
Implementations§
source§impl BlueGreenDeployment
impl BlueGreenDeployment
sourcepub fn blue_green_deployment_identifier(&self) -> Option<&str>
pub fn blue_green_deployment_identifier(&self) -> Option<&str>
The system-generated identifier of the blue/green deployment.
sourcepub fn blue_green_deployment_name(&self) -> Option<&str>
pub fn blue_green_deployment_name(&self) -> Option<&str>
The user-supplied name of the blue/green deployment.
sourcepub fn source(&self) -> Option<&str>
pub fn source(&self) -> Option<&str>
The source database for the blue/green deployment.
Before switchover, the source database is the production database in the blue environment.
sourcepub fn target(&self) -> Option<&str>
pub fn target(&self) -> Option<&str>
The target database for the blue/green deployment.
Before switchover, the target database is the clone database in the green environment.
sourcepub fn switchover_details(&self) -> Option<&[SwitchoverDetail]>
pub fn switchover_details(&self) -> Option<&[SwitchoverDetail]>
The details about each source and target resource in the blue/green deployment.
sourcepub fn tasks(&self) -> Option<&[BlueGreenDeploymentTask]>
pub fn tasks(&self) -> Option<&[BlueGreenDeploymentTask]>
Either tasks to be performed or tasks that have been completed on the target database before switchover.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The status of the blue/green deployment.
Values:
-
PROVISIONING- Resources are being created in the green environment. -
AVAILABLE- Resources are available in the green environment. -
SWITCHOVER_IN_PROGRESS- The deployment is being switched from the blue environment to the green environment. -
SWITCHOVER_COMPLETED- Switchover from the blue environment to the green environment is complete. -
INVALID_CONFIGURATION- Resources in the green environment are invalid, so switchover isn't possible. -
SWITCHOVER_FAILED- Switchover was attempted but failed. -
DELETING- The blue/green deployment is being deleted.
sourcepub fn status_details(&self) -> Option<&str>
pub fn status_details(&self) -> Option<&str>
Additional information about the status of the blue/green deployment.
sourcepub fn create_time(&self) -> Option<&DateTime>
pub fn create_time(&self) -> Option<&DateTime>
Specifies the time when the blue/green deployment was created, in Universal Coordinated Time (UTC).
sourcepub fn delete_time(&self) -> Option<&DateTime>
pub fn delete_time(&self) -> Option<&DateTime>
Specifies the time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).
sourcepub fn tag_list(&self) -> Option<&[Tag]>
pub fn tag_list(&self) -> Option<&[Tag]>
A list of tags. For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.
source§impl BlueGreenDeployment
impl BlueGreenDeployment
sourcepub fn builder() -> BlueGreenDeploymentBuilder
pub fn builder() -> BlueGreenDeploymentBuilder
Creates a new builder-style object to manufacture BlueGreenDeployment.
Trait Implementations§
source§impl Clone for BlueGreenDeployment
impl Clone for BlueGreenDeployment
source§fn clone(&self) -> BlueGreenDeployment
fn clone(&self) -> BlueGreenDeployment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BlueGreenDeployment
impl Debug for BlueGreenDeployment
source§impl PartialEq<BlueGreenDeployment> for BlueGreenDeployment
impl PartialEq<BlueGreenDeployment> for BlueGreenDeployment
source§fn eq(&self, other: &BlueGreenDeployment) -> bool
fn eq(&self, other: &BlueGreenDeployment) -> bool
self and other values to be equal, and is used
by ==.