libZSservicesZSamazonka-imagebuilderZSamazonka-imagebuilder
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.ImageBuilder.CancelImageCreation

Description

CancelImageCreation cancels the creation of Image. This operation can only be used on images in a non-terminal state.

Synopsis

Creating a Request

data CancelImageCreation Source #

See: newCancelImageCreation smart constructor.

Constructors

CancelImageCreation' 

Fields

Instances

Instances details
Eq CancelImageCreation Source # 
Instance details

Defined in Amazonka.ImageBuilder.CancelImageCreation

Read CancelImageCreation Source # 
Instance details

Defined in Amazonka.ImageBuilder.CancelImageCreation

Show CancelImageCreation Source # 
Instance details

Defined in Amazonka.ImageBuilder.CancelImageCreation

Generic CancelImageCreation Source # 
Instance details

Defined in Amazonka.ImageBuilder.CancelImageCreation

Associated Types

type Rep CancelImageCreation :: Type -> Type #

NFData CancelImageCreation Source # 
Instance details

Defined in Amazonka.ImageBuilder.CancelImageCreation

Methods

rnf :: CancelImageCreation -> () #

Hashable CancelImageCreation Source # 
Instance details

Defined in Amazonka.ImageBuilder.CancelImageCreation

ToJSON CancelImageCreation Source # 
Instance details

Defined in Amazonka.ImageBuilder.CancelImageCreation

AWSRequest CancelImageCreation Source # 
Instance details

Defined in Amazonka.ImageBuilder.CancelImageCreation

Associated Types

type AWSResponse CancelImageCreation #

ToHeaders CancelImageCreation Source # 
Instance details

Defined in Amazonka.ImageBuilder.CancelImageCreation

ToPath CancelImageCreation Source # 
Instance details

Defined in Amazonka.ImageBuilder.CancelImageCreation

ToQuery CancelImageCreation Source # 
Instance details

Defined in Amazonka.ImageBuilder.CancelImageCreation

type Rep CancelImageCreation Source # 
Instance details

Defined in Amazonka.ImageBuilder.CancelImageCreation

type Rep CancelImageCreation = D1 ('MetaData "CancelImageCreation" "Amazonka.ImageBuilder.CancelImageCreation" "libZSservicesZSamazonka-imagebuilderZSamazonka-imagebuilder" 'False) (C1 ('MetaCons "CancelImageCreation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "imageBuildVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CancelImageCreation Source # 
Instance details

Defined in Amazonka.ImageBuilder.CancelImageCreation

newCancelImageCreation Source #

Create a value of CancelImageCreation 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:imageBuildVersionArn:CancelImageCreation', cancelImageCreation_imageBuildVersionArn - The Amazon Resource Name (ARN) of the image whose creation you want to cancel.

$sel:clientToken:CancelImageCreation', cancelImageCreation_clientToken - The idempotency token used to make this request idempotent.

Request Lenses

cancelImageCreation_imageBuildVersionArn :: Lens' CancelImageCreation Text Source #

The Amazon Resource Name (ARN) of the image whose creation you want to cancel.

cancelImageCreation_clientToken :: Lens' CancelImageCreation Text Source #

The idempotency token used to make this request idempotent.

Destructuring the Response

data CancelImageCreationResponse Source #

See: newCancelImageCreationResponse smart constructor.

Constructors

CancelImageCreationResponse' 

Fields

Instances

Instances details
Eq CancelImageCreationResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.CancelImageCreation

Read CancelImageCreationResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.CancelImageCreation

Show CancelImageCreationResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.CancelImageCreation

Generic CancelImageCreationResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.CancelImageCreation

Associated Types

type Rep CancelImageCreationResponse :: Type -> Type #

NFData CancelImageCreationResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.CancelImageCreation

type Rep CancelImageCreationResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.CancelImageCreation

type Rep CancelImageCreationResponse = D1 ('MetaData "CancelImageCreationResponse" "Amazonka.ImageBuilder.CancelImageCreation" "libZSservicesZSamazonka-imagebuilderZSamazonka-imagebuilder" 'False) (C1 ('MetaCons "CancelImageCreationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "imageBuildVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCancelImageCreationResponse Source #

Create a value of CancelImageCreationResponse 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:requestId:CancelImageCreationResponse', cancelImageCreationResponse_requestId - The request ID that uniquely identifies this request.

$sel:clientToken:CancelImageCreation', cancelImageCreationResponse_clientToken - The idempotency token used to make this request idempotent.

$sel:imageBuildVersionArn:CancelImageCreation', cancelImageCreationResponse_imageBuildVersionArn - The Amazon Resource Name (ARN) of the image whose creation has been cancelled.

$sel:httpStatus:CancelImageCreationResponse', cancelImageCreationResponse_httpStatus - The response's http status code.

Response Lenses

cancelImageCreationResponse_requestId :: Lens' CancelImageCreationResponse (Maybe Text) Source #

The request ID that uniquely identifies this request.

cancelImageCreationResponse_clientToken :: Lens' CancelImageCreationResponse (Maybe Text) Source #

The idempotency token used to make this request idempotent.

cancelImageCreationResponse_imageBuildVersionArn :: Lens' CancelImageCreationResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the image whose creation has been cancelled.