amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.CancelBundleTask

Description

Cancels a bundling operation for an instance store-backed Windows instance.

Synopsis

Creating a Request

data CancelBundleTask Source #

Contains the parameters for CancelBundleTask.

See: newCancelBundleTask smart constructor.

Constructors

CancelBundleTask' 

Fields

  • dryRun :: Maybe Bool

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

  • bundleId :: Text

    The ID of the bundle task.

Instances

Instances details
ToHeaders CancelBundleTask Source # 
Instance details

Defined in Amazonka.EC2.CancelBundleTask

ToPath CancelBundleTask Source # 
Instance details

Defined in Amazonka.EC2.CancelBundleTask

ToQuery CancelBundleTask Source # 
Instance details

Defined in Amazonka.EC2.CancelBundleTask

AWSRequest CancelBundleTask Source # 
Instance details

Defined in Amazonka.EC2.CancelBundleTask

Associated Types

type AWSResponse CancelBundleTask #

Generic CancelBundleTask Source # 
Instance details

Defined in Amazonka.EC2.CancelBundleTask

Associated Types

type Rep CancelBundleTask :: Type -> Type #

Read CancelBundleTask Source # 
Instance details

Defined in Amazonka.EC2.CancelBundleTask

Show CancelBundleTask Source # 
Instance details

Defined in Amazonka.EC2.CancelBundleTask

NFData CancelBundleTask Source # 
Instance details

Defined in Amazonka.EC2.CancelBundleTask

Methods

rnf :: CancelBundleTask -> () #

Eq CancelBundleTask Source # 
Instance details

Defined in Amazonka.EC2.CancelBundleTask

Hashable CancelBundleTask Source # 
Instance details

Defined in Amazonka.EC2.CancelBundleTask

type AWSResponse CancelBundleTask Source # 
Instance details

Defined in Amazonka.EC2.CancelBundleTask

type Rep CancelBundleTask Source # 
Instance details

Defined in Amazonka.EC2.CancelBundleTask

type Rep CancelBundleTask = D1 ('MetaData "CancelBundleTask" "Amazonka.EC2.CancelBundleTask" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "CancelBundleTask'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "bundleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCancelBundleTask Source #

Create a value of CancelBundleTask 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:dryRun:CancelBundleTask', cancelBundleTask_dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

CancelBundleTask, cancelBundleTask_bundleId - The ID of the bundle task.

Request Lenses

cancelBundleTask_dryRun :: Lens' CancelBundleTask (Maybe Bool) Source #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Destructuring the Response

data CancelBundleTaskResponse Source #

Contains the output of CancelBundleTask.

See: newCancelBundleTaskResponse smart constructor.

Constructors

CancelBundleTaskResponse' 

Fields

Instances

Instances details
Generic CancelBundleTaskResponse Source # 
Instance details

Defined in Amazonka.EC2.CancelBundleTask

Associated Types

type Rep CancelBundleTaskResponse :: Type -> Type #

Read CancelBundleTaskResponse Source # 
Instance details

Defined in Amazonka.EC2.CancelBundleTask

Show CancelBundleTaskResponse Source # 
Instance details

Defined in Amazonka.EC2.CancelBundleTask

NFData CancelBundleTaskResponse Source # 
Instance details

Defined in Amazonka.EC2.CancelBundleTask

Eq CancelBundleTaskResponse Source # 
Instance details

Defined in Amazonka.EC2.CancelBundleTask

type Rep CancelBundleTaskResponse Source # 
Instance details

Defined in Amazonka.EC2.CancelBundleTask

type Rep CancelBundleTaskResponse = D1 ('MetaData "CancelBundleTaskResponse" "Amazonka.EC2.CancelBundleTask" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "CancelBundleTaskResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bundleTask") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BundleTask)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCancelBundleTaskResponse Source #

Create a value of CancelBundleTaskResponse 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:bundleTask:CancelBundleTaskResponse', cancelBundleTaskResponse_bundleTask - Information about the bundle task.

$sel:httpStatus:CancelBundleTaskResponse', cancelBundleTaskResponse_httpStatus - The response's http status code.

Response Lenses