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.SwitchoverBlueGreenDeployment

Description

Switches over a blue/green deployment.

Before you switch over, production traffic is routed to the databases in the blue environment. After you switch over, production traffic is routed to the databases in the green environment.

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.

Synopsis

Creating a Request

data SwitchoverBlueGreenDeployment Source #

See: newSwitchoverBlueGreenDeployment smart constructor.

Constructors

SwitchoverBlueGreenDeployment' 

Fields

  • switchoverTimeout :: Maybe Natural

    The amount of time, in seconds, for the switchover to complete. The default is 300.

    If the switchover takes longer than the specified duration, then any changes are rolled back, and no changes are made to the environments.

  • blueGreenDeploymentIdentifier :: Text

    The blue/green deployment identifier.

    Constraints:

    • Must match an existing blue/green deployment identifier.

Instances

Instances details
ToHeaders SwitchoverBlueGreenDeployment Source # 
Instance details

Defined in Amazonka.RDS.SwitchoverBlueGreenDeployment

ToPath SwitchoverBlueGreenDeployment Source # 
Instance details

Defined in Amazonka.RDS.SwitchoverBlueGreenDeployment

ToQuery SwitchoverBlueGreenDeployment Source # 
Instance details

Defined in Amazonka.RDS.SwitchoverBlueGreenDeployment

AWSRequest SwitchoverBlueGreenDeployment Source # 
Instance details

Defined in Amazonka.RDS.SwitchoverBlueGreenDeployment

Generic SwitchoverBlueGreenDeployment Source # 
Instance details

Defined in Amazonka.RDS.SwitchoverBlueGreenDeployment

Associated Types

type Rep SwitchoverBlueGreenDeployment :: Type -> Type #

Read SwitchoverBlueGreenDeployment Source # 
Instance details

Defined in Amazonka.RDS.SwitchoverBlueGreenDeployment

Show SwitchoverBlueGreenDeployment Source # 
Instance details

Defined in Amazonka.RDS.SwitchoverBlueGreenDeployment

NFData SwitchoverBlueGreenDeployment Source # 
Instance details

Defined in Amazonka.RDS.SwitchoverBlueGreenDeployment

Eq SwitchoverBlueGreenDeployment Source # 
Instance details

Defined in Amazonka.RDS.SwitchoverBlueGreenDeployment

Hashable SwitchoverBlueGreenDeployment Source # 
Instance details

Defined in Amazonka.RDS.SwitchoverBlueGreenDeployment

type AWSResponse SwitchoverBlueGreenDeployment Source # 
Instance details

Defined in Amazonka.RDS.SwitchoverBlueGreenDeployment

type Rep SwitchoverBlueGreenDeployment Source # 
Instance details

Defined in Amazonka.RDS.SwitchoverBlueGreenDeployment

type Rep SwitchoverBlueGreenDeployment = D1 ('MetaData "SwitchoverBlueGreenDeployment" "Amazonka.RDS.SwitchoverBlueGreenDeployment" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" 'False) (C1 ('MetaCons "SwitchoverBlueGreenDeployment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "switchoverTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "blueGreenDeploymentIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSwitchoverBlueGreenDeployment Source #

Create a value of SwitchoverBlueGreenDeployment 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:switchoverTimeout:SwitchoverBlueGreenDeployment', switchoverBlueGreenDeployment_switchoverTimeout - The amount of time, in seconds, for the switchover to complete. The default is 300.

If the switchover takes longer than the specified duration, then any changes are rolled back, and no changes are made to the environments.

SwitchoverBlueGreenDeployment, switchoverBlueGreenDeployment_blueGreenDeploymentIdentifier - The blue/green deployment identifier.

Constraints:

  • Must match an existing blue/green deployment identifier.

Request Lenses

switchoverBlueGreenDeployment_switchoverTimeout :: Lens' SwitchoverBlueGreenDeployment (Maybe Natural) Source #

The amount of time, in seconds, for the switchover to complete. The default is 300.

If the switchover takes longer than the specified duration, then any changes are rolled back, and no changes are made to the environments.

switchoverBlueGreenDeployment_blueGreenDeploymentIdentifier :: Lens' SwitchoverBlueGreenDeployment Text Source #

The blue/green deployment identifier.

Constraints:

  • Must match an existing blue/green deployment identifier.

Destructuring the Response

data SwitchoverBlueGreenDeploymentResponse Source #

Constructors

SwitchoverBlueGreenDeploymentResponse' 

Fields

Instances

Instances details
Generic SwitchoverBlueGreenDeploymentResponse Source # 
Instance details

Defined in Amazonka.RDS.SwitchoverBlueGreenDeployment

Read SwitchoverBlueGreenDeploymentResponse Source # 
Instance details

Defined in Amazonka.RDS.SwitchoverBlueGreenDeployment

Show SwitchoverBlueGreenDeploymentResponse Source # 
Instance details

Defined in Amazonka.RDS.SwitchoverBlueGreenDeployment

NFData SwitchoverBlueGreenDeploymentResponse Source # 
Instance details

Defined in Amazonka.RDS.SwitchoverBlueGreenDeployment

Eq SwitchoverBlueGreenDeploymentResponse Source # 
Instance details

Defined in Amazonka.RDS.SwitchoverBlueGreenDeployment

type Rep SwitchoverBlueGreenDeploymentResponse Source # 
Instance details

Defined in Amazonka.RDS.SwitchoverBlueGreenDeployment

type Rep SwitchoverBlueGreenDeploymentResponse = D1 ('MetaData "SwitchoverBlueGreenDeploymentResponse" "Amazonka.RDS.SwitchoverBlueGreenDeployment" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" 'False) (C1 ('MetaCons "SwitchoverBlueGreenDeploymentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "blueGreenDeployment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BlueGreenDeployment)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newSwitchoverBlueGreenDeploymentResponse Source #

Create a value of SwitchoverBlueGreenDeploymentResponse 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:blueGreenDeployment:SwitchoverBlueGreenDeploymentResponse', switchoverBlueGreenDeploymentResponse_blueGreenDeployment - Undocumented member.

$sel:httpStatus:SwitchoverBlueGreenDeploymentResponse', switchoverBlueGreenDeploymentResponse_httpStatus - The response's http status code.

Response Lenses