libZSservicesZSamazonka-codedeployZSamazonka-codedeploy
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq ContinueDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

Read ContinueDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

Show ContinueDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

Generic ContinueDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

Associated Types

type Rep ContinueDeployment :: Type -> Type #

NFData ContinueDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

Methods

rnf :: ContinueDeployment -> () #

Hashable ContinueDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

ToJSON ContinueDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

AWSRequest ContinueDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

Associated Types

type AWSResponse 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

type Rep ContinueDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

type Rep ContinueDeployment = D1 ('MetaData "ContinueDeployment" "Amazonka.CodeDeploy.ContinueDeployment" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" '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))))
type AWSResponse ContinueDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

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:

$sel:deploymentId: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
Eq ContinueDeploymentResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

Read ContinueDeploymentResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

Show ContinueDeploymentResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

Generic ContinueDeploymentResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ContinueDeployment

Associated Types

type Rep ContinueDeploymentResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" '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.