amazonka-rds-2.0: Amazon Relational Database Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.RDS.Types.BlueGreenDeployment

Description

 
Synopsis

Documentation

data BlueGreenDeployment Source #

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.

See: newBlueGreenDeployment smart constructor.

Constructors

BlueGreenDeployment' 

Fields

  • blueGreenDeploymentIdentifier :: Maybe Text

    The system-generated identifier of the blue/green deployment.

  • blueGreenDeploymentName :: Maybe Text

    The user-supplied name of the blue/green deployment.

  • createTime :: Maybe ISO8601

    Specifies the time when the blue/green deployment was created, in Universal Coordinated Time (UTC).

  • deleteTime :: Maybe ISO8601

    Specifies the time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).

  • source :: Maybe Text

    The source database for the blue/green deployment.

    Before switchover, the source database is the production database in the blue environment.

  • status :: Maybe Text

    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.
  • statusDetails :: Maybe Text

    Additional information about the status of the blue/green deployment.

  • switchoverDetails :: Maybe [SwitchoverDetail]

    The details about each source and target resource in the blue/green deployment.

  • tagList :: Maybe [Tag]
     
  • target :: Maybe Text

    The target database for the blue/green deployment.

    Before switchover, the target database is the clone database in the green environment.

  • tasks :: Maybe [BlueGreenDeploymentTask]

    Either tasks to be performed or tasks that have been completed on the target database before switchover.

Instances

Instances details
FromXML BlueGreenDeployment Source # 
Instance details

Defined in Amazonka.RDS.Types.BlueGreenDeployment

Generic BlueGreenDeployment Source # 
Instance details

Defined in Amazonka.RDS.Types.BlueGreenDeployment

Associated Types

type Rep BlueGreenDeployment :: Type -> Type #

Read BlueGreenDeployment Source # 
Instance details

Defined in Amazonka.RDS.Types.BlueGreenDeployment

Show BlueGreenDeployment Source # 
Instance details

Defined in Amazonka.RDS.Types.BlueGreenDeployment

NFData BlueGreenDeployment Source # 
Instance details

Defined in Amazonka.RDS.Types.BlueGreenDeployment

Methods

rnf :: BlueGreenDeployment -> () #

Eq BlueGreenDeployment Source # 
Instance details

Defined in Amazonka.RDS.Types.BlueGreenDeployment

Hashable BlueGreenDeployment Source # 
Instance details

Defined in Amazonka.RDS.Types.BlueGreenDeployment

type Rep BlueGreenDeployment Source # 
Instance details

Defined in Amazonka.RDS.Types.BlueGreenDeployment

type Rep BlueGreenDeployment = D1 ('MetaData "BlueGreenDeployment" "Amazonka.RDS.Types.BlueGreenDeployment" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" 'False) (C1 ('MetaCons "BlueGreenDeployment'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "blueGreenDeploymentIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "blueGreenDeploymentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "deleteTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "statusDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "switchoverDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SwitchoverDetail])))) :*: (S1 ('MetaSel ('Just "tagList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tasks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BlueGreenDeploymentTask])))))))

newBlueGreenDeployment :: BlueGreenDeployment Source #

Create a value of BlueGreenDeployment with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:blueGreenDeploymentIdentifier:BlueGreenDeployment', blueGreenDeployment_blueGreenDeploymentIdentifier - The system-generated identifier of the blue/green deployment.

$sel:blueGreenDeploymentName:BlueGreenDeployment', blueGreenDeployment_blueGreenDeploymentName - The user-supplied name of the blue/green deployment.

$sel:createTime:BlueGreenDeployment', blueGreenDeployment_createTime - Specifies the time when the blue/green deployment was created, in Universal Coordinated Time (UTC).

$sel:deleteTime:BlueGreenDeployment', blueGreenDeployment_deleteTime - Specifies the time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).

$sel:source:BlueGreenDeployment', blueGreenDeployment_source - The source database for the blue/green deployment.

Before switchover, the source database is the production database in the blue environment.

BlueGreenDeployment, blueGreenDeployment_status - 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.

$sel:statusDetails:BlueGreenDeployment', blueGreenDeployment_statusDetails - Additional information about the status of the blue/green deployment.

$sel:switchoverDetails:BlueGreenDeployment', blueGreenDeployment_switchoverDetails - The details about each source and target resource in the blue/green deployment.

$sel:tagList:BlueGreenDeployment', blueGreenDeployment_tagList - Undocumented member.

$sel:target:BlueGreenDeployment', blueGreenDeployment_target - The target database for the blue/green deployment.

Before switchover, the target database is the clone database in the green environment.

$sel:tasks:BlueGreenDeployment', blueGreenDeployment_tasks - Either tasks to be performed or tasks that have been completed on the target database before switchover.

blueGreenDeployment_blueGreenDeploymentIdentifier :: Lens' BlueGreenDeployment (Maybe Text) Source #

The system-generated identifier of the blue/green deployment.

blueGreenDeployment_blueGreenDeploymentName :: Lens' BlueGreenDeployment (Maybe Text) Source #

The user-supplied name of the blue/green deployment.

blueGreenDeployment_createTime :: Lens' BlueGreenDeployment (Maybe UTCTime) Source #

Specifies the time when the blue/green deployment was created, in Universal Coordinated Time (UTC).

blueGreenDeployment_deleteTime :: Lens' BlueGreenDeployment (Maybe UTCTime) Source #

Specifies the time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).

blueGreenDeployment_source :: Lens' BlueGreenDeployment (Maybe Text) Source #

The source database for the blue/green deployment.

Before switchover, the source database is the production database in the blue environment.

blueGreenDeployment_status :: Lens' BlueGreenDeployment (Maybe Text) Source #

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.

blueGreenDeployment_statusDetails :: Lens' BlueGreenDeployment (Maybe Text) Source #

Additional information about the status of the blue/green deployment.

blueGreenDeployment_switchoverDetails :: Lens' BlueGreenDeployment (Maybe [SwitchoverDetail]) Source #

The details about each source and target resource in the blue/green deployment.

blueGreenDeployment_target :: Lens' BlueGreenDeployment (Maybe Text) Source #

The target database for the blue/green deployment.

Before switchover, the target database is the clone database in the green environment.

blueGreenDeployment_tasks :: Lens' BlueGreenDeployment (Maybe [BlueGreenDeploymentTask]) Source #

Either tasks to be performed or tasks that have been completed on the target database before switchover.