amazonka-codedeploy-2.0: Amazon CodeDeploy 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.CodeDeploy.ContinueDeployment

Description

For a blue/green deployment, starts the process of rerouting traffic from instances in the original environment to instances in the replacement environment without waiting for a specified wait time to elapse. (Traffic rerouting, which is achieved by registering instances in the replacement environment with the load balancer, can start as soon as all instances have a status of Ready.)

Synopsis

Creating a Request

data ContinueDeployment Source #

See: newContinueDeployment smart constructor.

Constructors

ContinueDeployment' 

Fields

  • deploymentId :: Maybe Text

    The unique ID of a blue/green deployment for which you want to start rerouting traffic to the replacement environment.

  • deploymentWaitType :: Maybe DeploymentWaitType

    The status of the deployment's waiting period. READY_WAIT indicates that the deployment is ready to start shifting traffic. TERMINATION_WAIT indicates that the traffic is shifted, but the original target is not terminated.

Instances

Instances details
ToJSON ContinueDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

ToHeaders ContinueDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

ToPath ContinueDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

ToQuery ContinueDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

AWSRequest ContinueDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

Associated Types

type AWSResponse ContinueDeployment #

Generic ContinueDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

Associated Types

type Rep ContinueDeployment :: Type -> Type #

Read ContinueDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

Show ContinueDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

NFData ContinueDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

Methods

rnf :: ContinueDeployment -> () #

Eq ContinueDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

Hashable ContinueDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

type AWSResponse ContinueDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

type Rep ContinueDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

type Rep ContinueDeployment = D1 ('MetaData "ContinueDeployment" "Amazonka.CodeDeploy.ContinueDeployment" "amazonka-codedeploy-2.0-4OehMEUeOr9G9ZXD2VmvAo" 'False) (C1 ('MetaCons "ContinueDeployment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "deploymentWaitType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeploymentWaitType))))

newContinueDeployment :: ContinueDeployment Source #

Create a value of ContinueDeployment 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:

ContinueDeployment, continueDeployment_deploymentId - The unique ID of a blue/green deployment for which you want to start rerouting traffic to the replacement environment.

$sel:deploymentWaitType:ContinueDeployment', continueDeployment_deploymentWaitType - The status of the deployment's waiting period. READY_WAIT indicates that the deployment is ready to start shifting traffic. TERMINATION_WAIT indicates that the traffic is shifted, but the original target is not terminated.

Request Lenses

continueDeployment_deploymentId :: Lens' ContinueDeployment (Maybe Text) Source #

The unique ID of a blue/green deployment for which you want to start rerouting traffic to the replacement environment.

continueDeployment_deploymentWaitType :: Lens' ContinueDeployment (Maybe DeploymentWaitType) Source #

The status of the deployment's waiting period. READY_WAIT indicates that the deployment is ready to start shifting traffic. TERMINATION_WAIT indicates that the traffic is shifted, but the original target is not terminated.

Destructuring the Response

data ContinueDeploymentResponse Source #

See: newContinueDeploymentResponse smart constructor.

Instances

Instances details
Generic ContinueDeploymentResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

Associated Types

type Rep ContinueDeploymentResponse :: Type -> Type #

Read ContinueDeploymentResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

Show ContinueDeploymentResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

NFData ContinueDeploymentResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

Eq ContinueDeploymentResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

type Rep ContinueDeploymentResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

type Rep ContinueDeploymentResponse = D1 ('MetaData "ContinueDeploymentResponse" "Amazonka.CodeDeploy.ContinueDeployment" "amazonka-codedeploy-2.0-4OehMEUeOr9G9ZXD2VmvAo" 'False) (C1 ('MetaCons "ContinueDeploymentResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newContinueDeploymentResponse :: ContinueDeploymentResponse Source #

Create a value of ContinueDeploymentResponse with all optional fields omitted.

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