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

Description

Attempts to cancel a service instance deployment on an UpdateServiceInstance action, if the deployment is IN_PROGRESS. For more information, see Update a service instance in the AWS Proton Administrator guide or the AWS Proton User 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 UpdateServiceInstance 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 CancelServiceInstanceDeployment Source #

See: newCancelServiceInstanceDeployment smart constructor.

Constructors

CancelServiceInstanceDeployment' 

Fields

Instances

Instances details
Eq CancelServiceInstanceDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelServiceInstanceDeployment

Read CancelServiceInstanceDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelServiceInstanceDeployment

Show CancelServiceInstanceDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelServiceInstanceDeployment

Generic CancelServiceInstanceDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelServiceInstanceDeployment

Associated Types

type Rep CancelServiceInstanceDeployment :: Type -> Type #

NFData CancelServiceInstanceDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelServiceInstanceDeployment

Hashable CancelServiceInstanceDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelServiceInstanceDeployment

ToJSON CancelServiceInstanceDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelServiceInstanceDeployment

AWSRequest CancelServiceInstanceDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelServiceInstanceDeployment

ToHeaders CancelServiceInstanceDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelServiceInstanceDeployment

ToPath CancelServiceInstanceDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelServiceInstanceDeployment

ToQuery CancelServiceInstanceDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelServiceInstanceDeployment

type Rep CancelServiceInstanceDeployment Source # 
Instance details

Defined in Amazonka.Proton.CancelServiceInstanceDeployment

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

Defined in Amazonka.Proton.CancelServiceInstanceDeployment

newCancelServiceInstanceDeployment Source #

Create a value of CancelServiceInstanceDeployment 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:serviceInstanceName:CancelServiceInstanceDeployment', cancelServiceInstanceDeployment_serviceInstanceName - The name of the service instance with the deployment to cancel.

$sel:serviceName:CancelServiceInstanceDeployment', cancelServiceInstanceDeployment_serviceName - The name of the service with the service instance deployment to cancel.

Request Lenses

cancelServiceInstanceDeployment_serviceInstanceName :: Lens' CancelServiceInstanceDeployment Text Source #

The name of the service instance with the deployment to cancel.

cancelServiceInstanceDeployment_serviceName :: Lens' CancelServiceInstanceDeployment Text Source #

The name of the service with the service instance deployment to cancel.

Destructuring the Response

data CancelServiceInstanceDeploymentResponse Source #

Constructors

CancelServiceInstanceDeploymentResponse' 

Fields

Instances

Instances details
Eq CancelServiceInstanceDeploymentResponse Source # 
Instance details

Defined in Amazonka.Proton.CancelServiceInstanceDeployment

Show CancelServiceInstanceDeploymentResponse Source # 
Instance details

Defined in Amazonka.Proton.CancelServiceInstanceDeployment

Generic CancelServiceInstanceDeploymentResponse Source # 
Instance details

Defined in Amazonka.Proton.CancelServiceInstanceDeployment

NFData CancelServiceInstanceDeploymentResponse Source # 
Instance details

Defined in Amazonka.Proton.CancelServiceInstanceDeployment

type Rep CancelServiceInstanceDeploymentResponse Source # 
Instance details

Defined in Amazonka.Proton.CancelServiceInstanceDeployment

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

Response Lenses