libZSservicesZSamazonka-protonZSamazonka-proton
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.Proton.CancelEnvironmentDeployment

Description

Attempts to cancel an environment deployment on an UpdateEnvironment action, if the deployment is IN_PROGRESS. For more information, see Update an environment in the AWS Proton Administrator guide.

The following list includes potential cancellation scenarios.

  • If the cancellation attempt succeeds, the resulting deployment state is CANCELLED.
  • If the cancellation attempt fails, the resulting deployment state is FAILED.
  • If the current UpdateEnvironment action succeeds before the cancellation attempt starts, the resulting deployment state is SUCCEEDED and the cancellation attempt has no effect.
Synopsis

Creating a Request

data CancelEnvironmentDeployment Source #

See: newCancelEnvironmentDeployment smart constructor.

Constructors

CancelEnvironmentDeployment' 

Fields

Instances

Instances details
Eq CancelEnvironmentDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelEnvironmentDeployment

Read CancelEnvironmentDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelEnvironmentDeployment

Show CancelEnvironmentDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelEnvironmentDeployment

Generic CancelEnvironmentDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelEnvironmentDeployment

Associated Types

type Rep CancelEnvironmentDeployment :: Type -> Type #

NFData CancelEnvironmentDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelEnvironmentDeployment

Hashable CancelEnvironmentDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelEnvironmentDeployment

ToJSON CancelEnvironmentDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelEnvironmentDeployment

AWSRequest CancelEnvironmentDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelEnvironmentDeployment

ToHeaders CancelEnvironmentDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelEnvironmentDeployment

ToPath CancelEnvironmentDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelEnvironmentDeployment

ToQuery CancelEnvironmentDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelEnvironmentDeployment

type Rep CancelEnvironmentDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelEnvironmentDeployment

type Rep CancelEnvironmentDeployment = D1 ('MetaData "CancelEnvironmentDeployment" "Amazonka.Proton.CancelEnvironmentDeployment" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "CancelEnvironmentDeployment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "environmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CancelEnvironmentDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelEnvironmentDeployment

newCancelEnvironmentDeployment Source #

Create a value of CancelEnvironmentDeployment 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:environmentName:CancelEnvironmentDeployment', cancelEnvironmentDeployment_environmentName - The name of the environment with the deployment to cancel.

Request Lenses

cancelEnvironmentDeployment_environmentName :: Lens' CancelEnvironmentDeployment Text Source #

The name of the environment with the deployment to cancel.

Destructuring the Response

data CancelEnvironmentDeploymentResponse Source #

Constructors

CancelEnvironmentDeploymentResponse' 

Fields

Instances

Instances details
Eq CancelEnvironmentDeploymentResponse Source # 
Instance details

Defined in Amazonka.Proton.CancelEnvironmentDeployment

Show CancelEnvironmentDeploymentResponse Source # 
Instance details

Defined in Amazonka.Proton.CancelEnvironmentDeployment

Generic CancelEnvironmentDeploymentResponse Source # 
Instance details

Defined in Amazonka.Proton.CancelEnvironmentDeployment

NFData CancelEnvironmentDeploymentResponse Source # 
Instance details

Defined in Amazonka.Proton.CancelEnvironmentDeployment

type Rep CancelEnvironmentDeploymentResponse Source # 
Instance details

Defined in Amazonka.Proton.CancelEnvironmentDeployment

type Rep CancelEnvironmentDeploymentResponse = D1 ('MetaData "CancelEnvironmentDeploymentResponse" "Amazonka.Proton.CancelEnvironmentDeployment" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "CancelEnvironmentDeploymentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "environment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Environment)))

newCancelEnvironmentDeploymentResponse Source #

Create a value of CancelEnvironmentDeploymentResponse 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:httpStatus:CancelEnvironmentDeploymentResponse', cancelEnvironmentDeploymentResponse_httpStatus - The response's http status code.

$sel:environment:CancelEnvironmentDeploymentResponse', cancelEnvironmentDeploymentResponse_environment - The environment summary data that's returned by AWS Proton.

Response Lenses