libZSservicesZSamazonka-snowballZSamazonka-snowball
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.Snowball.CancelCluster

Description

Cancels a cluster job. You can only cancel a cluster job while it's in the AwaitingQuorum status. You'll have at least an hour after creating a cluster job to cancel it.

Synopsis

Creating a Request

data CancelCluster Source #

See: newCancelCluster smart constructor.

Constructors

CancelCluster' 

Fields

  • clusterId :: Text

    The 39-character ID for the cluster that you want to cancel, for example CID123e4567-e89b-12d3-a456-426655440000.

Instances

Instances details
Eq CancelCluster Source # 
Instance details

Defined in Amazonka.Snowball.CancelCluster

Read CancelCluster Source # 
Instance details

Defined in Amazonka.Snowball.CancelCluster

Show CancelCluster Source # 
Instance details

Defined in Amazonka.Snowball.CancelCluster

Generic CancelCluster Source # 
Instance details

Defined in Amazonka.Snowball.CancelCluster

Associated Types

type Rep CancelCluster :: Type -> Type #

NFData CancelCluster Source # 
Instance details

Defined in Amazonka.Snowball.CancelCluster

Methods

rnf :: CancelCluster -> () #

Hashable CancelCluster Source # 
Instance details

Defined in Amazonka.Snowball.CancelCluster

ToJSON CancelCluster Source # 
Instance details

Defined in Amazonka.Snowball.CancelCluster

AWSRequest CancelCluster Source # 
Instance details

Defined in Amazonka.Snowball.CancelCluster

Associated Types

type AWSResponse CancelCluster #

ToHeaders CancelCluster Source # 
Instance details

Defined in Amazonka.Snowball.CancelCluster

ToPath CancelCluster Source # 
Instance details

Defined in Amazonka.Snowball.CancelCluster

ToQuery CancelCluster Source # 
Instance details

Defined in Amazonka.Snowball.CancelCluster

type Rep CancelCluster Source # 
Instance details

Defined in Amazonka.Snowball.CancelCluster

type Rep CancelCluster = D1 ('MetaData "CancelCluster" "Amazonka.Snowball.CancelCluster" "libZSservicesZSamazonka-snowballZSamazonka-snowball" 'False) (C1 ('MetaCons "CancelCluster'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clusterId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CancelCluster Source # 
Instance details

Defined in Amazonka.Snowball.CancelCluster

newCancelCluster Source #

Create a value of CancelCluster 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:clusterId:CancelCluster', cancelCluster_clusterId - The 39-character ID for the cluster that you want to cancel, for example CID123e4567-e89b-12d3-a456-426655440000.

Request Lenses

cancelCluster_clusterId :: Lens' CancelCluster Text Source #

The 39-character ID for the cluster that you want to cancel, for example CID123e4567-e89b-12d3-a456-426655440000.

Destructuring the Response

data CancelClusterResponse Source #

See: newCancelClusterResponse smart constructor.

Constructors

CancelClusterResponse' 

Fields

Instances

Instances details
Eq CancelClusterResponse Source # 
Instance details

Defined in Amazonka.Snowball.CancelCluster

Read CancelClusterResponse Source # 
Instance details

Defined in Amazonka.Snowball.CancelCluster

Show CancelClusterResponse Source # 
Instance details

Defined in Amazonka.Snowball.CancelCluster

Generic CancelClusterResponse Source # 
Instance details

Defined in Amazonka.Snowball.CancelCluster

Associated Types

type Rep CancelClusterResponse :: Type -> Type #

NFData CancelClusterResponse Source # 
Instance details

Defined in Amazonka.Snowball.CancelCluster

Methods

rnf :: CancelClusterResponse -> () #

type Rep CancelClusterResponse Source # 
Instance details

Defined in Amazonka.Snowball.CancelCluster

type Rep CancelClusterResponse = D1 ('MetaData "CancelClusterResponse" "Amazonka.Snowball.CancelCluster" "libZSservicesZSamazonka-snowballZSamazonka-snowball" 'False) (C1 ('MetaCons "CancelClusterResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCancelClusterResponse Source #

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

Response Lenses