libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2
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.GreengrassV2.CancelDeployment

Description

Cancels a deployment. This operation cancels the deployment for devices that haven't yet received it. If a device already received the deployment, this operation doesn't change anything for that device.

Synopsis

Creating a Request

data CancelDeployment Source #

See: newCancelDeployment smart constructor.

Constructors

CancelDeployment' 

Fields

Instances

Instances details
Eq CancelDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.CancelDeployment

Read CancelDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.CancelDeployment

Show CancelDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.CancelDeployment

Generic CancelDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.CancelDeployment

Associated Types

type Rep CancelDeployment :: Type -> Type #

NFData CancelDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.CancelDeployment

Methods

rnf :: CancelDeployment -> () #

Hashable CancelDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.CancelDeployment

ToJSON CancelDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.CancelDeployment

AWSRequest CancelDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.CancelDeployment

Associated Types

type AWSResponse CancelDeployment #

ToHeaders CancelDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.CancelDeployment

ToPath CancelDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.CancelDeployment

ToQuery CancelDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.CancelDeployment

type Rep CancelDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.CancelDeployment

type Rep CancelDeployment = D1 ('MetaData "CancelDeployment" "Amazonka.GreengrassV2.CancelDeployment" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" 'False) (C1 ('MetaCons "CancelDeployment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CancelDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.CancelDeployment

newCancelDeployment Source #

Create a value of CancelDeployment 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:CancelDeployment', cancelDeployment_deploymentId - The ID of the deployment.

Request Lenses

Destructuring the Response

data CancelDeploymentResponse Source #

See: newCancelDeploymentResponse smart constructor.

Constructors

CancelDeploymentResponse' 

Fields

Instances

Instances details
Eq CancelDeploymentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.CancelDeployment

Read CancelDeploymentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.CancelDeployment

Show CancelDeploymentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.CancelDeployment

Generic CancelDeploymentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.CancelDeployment

Associated Types

type Rep CancelDeploymentResponse :: Type -> Type #

NFData CancelDeploymentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.CancelDeployment

type Rep CancelDeploymentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.CancelDeployment

type Rep CancelDeploymentResponse = D1 ('MetaData "CancelDeploymentResponse" "Amazonka.GreengrassV2.CancelDeployment" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" 'False) (C1 ('MetaCons "CancelDeploymentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCancelDeploymentResponse Source #

Create a value of CancelDeploymentResponse 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:message:CancelDeploymentResponse', cancelDeploymentResponse_message - A message that communicates if the cancel was successful.

$sel:httpStatus:CancelDeploymentResponse', cancelDeploymentResponse_httpStatus - The response's http status code.

Response Lenses

cancelDeploymentResponse_message :: Lens' CancelDeploymentResponse (Maybe Text) Source #

A message that communicates if the cancel was successful.