libZSservicesZSamazonka-cloudcontrolZSamazonka-cloudcontrol
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.CloudControl.CancelResourceRequest

Description

Cancels the specified resource operation request. For more information, see Canceling resource operation requests in the Amazon Web Services Cloud Control API User Guide.

Only resource operations requests with a status of PENDING or IN_PROGRESS can be cancelled.

Synopsis

Creating a Request

data CancelResourceRequest Source #

See: newCancelResourceRequest smart constructor.

Constructors

CancelResourceRequest' 

Fields

  • requestToken :: Text

    The RequestToken of the ProgressEvent object returned by the resource operation request.

Instances

Instances details
Eq CancelResourceRequest Source # 
Instance details

Defined in Amazonka.CloudControl.CancelResourceRequest

Read CancelResourceRequest Source # 
Instance details

Defined in Amazonka.CloudControl.CancelResourceRequest

Show CancelResourceRequest Source # 
Instance details

Defined in Amazonka.CloudControl.CancelResourceRequest

Generic CancelResourceRequest Source # 
Instance details

Defined in Amazonka.CloudControl.CancelResourceRequest

Associated Types

type Rep CancelResourceRequest :: Type -> Type #

NFData CancelResourceRequest Source # 
Instance details

Defined in Amazonka.CloudControl.CancelResourceRequest

Methods

rnf :: CancelResourceRequest -> () #

Hashable CancelResourceRequest Source # 
Instance details

Defined in Amazonka.CloudControl.CancelResourceRequest

ToJSON CancelResourceRequest Source # 
Instance details

Defined in Amazonka.CloudControl.CancelResourceRequest

AWSRequest CancelResourceRequest Source # 
Instance details

Defined in Amazonka.CloudControl.CancelResourceRequest

Associated Types

type AWSResponse CancelResourceRequest #

ToHeaders CancelResourceRequest Source # 
Instance details

Defined in Amazonka.CloudControl.CancelResourceRequest

ToPath CancelResourceRequest Source # 
Instance details

Defined in Amazonka.CloudControl.CancelResourceRequest

ToQuery CancelResourceRequest Source # 
Instance details

Defined in Amazonka.CloudControl.CancelResourceRequest

type Rep CancelResourceRequest Source # 
Instance details

Defined in Amazonka.CloudControl.CancelResourceRequest

type Rep CancelResourceRequest = D1 ('MetaData "CancelResourceRequest" "Amazonka.CloudControl.CancelResourceRequest" "libZSservicesZSamazonka-cloudcontrolZSamazonka-cloudcontrol" 'False) (C1 ('MetaCons "CancelResourceRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CancelResourceRequest Source # 
Instance details

Defined in Amazonka.CloudControl.CancelResourceRequest

newCancelResourceRequest Source #

Create a value of CancelResourceRequest 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:requestToken:CancelResourceRequest', cancelResourceRequest_requestToken - The RequestToken of the ProgressEvent object returned by the resource operation request.

Request Lenses

cancelResourceRequest_requestToken :: Lens' CancelResourceRequest Text Source #

The RequestToken of the ProgressEvent object returned by the resource operation request.

Destructuring the Response

data CancelResourceRequestResponse Source #

See: newCancelResourceRequestResponse smart constructor.

Constructors

CancelResourceRequestResponse' 

Fields

Instances

Instances details
Eq CancelResourceRequestResponse Source # 
Instance details

Defined in Amazonka.CloudControl.CancelResourceRequest

Show CancelResourceRequestResponse Source # 
Instance details

Defined in Amazonka.CloudControl.CancelResourceRequest

Generic CancelResourceRequestResponse Source # 
Instance details

Defined in Amazonka.CloudControl.CancelResourceRequest

Associated Types

type Rep CancelResourceRequestResponse :: Type -> Type #

NFData CancelResourceRequestResponse Source # 
Instance details

Defined in Amazonka.CloudControl.CancelResourceRequest

type Rep CancelResourceRequestResponse Source # 
Instance details

Defined in Amazonka.CloudControl.CancelResourceRequest

type Rep CancelResourceRequestResponse = D1 ('MetaData "CancelResourceRequestResponse" "Amazonka.CloudControl.CancelResourceRequest" "libZSservicesZSamazonka-cloudcontrolZSamazonka-cloudcontrol" 'False) (C1 ('MetaCons "CancelResourceRequestResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "progressEvent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressEvent)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCancelResourceRequestResponse Source #

Create a value of CancelResourceRequestResponse 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:progressEvent:CancelResourceRequestResponse', cancelResourceRequestResponse_progressEvent - Undocumented member.

$sel:httpStatus:CancelResourceRequestResponse', cancelResourceRequestResponse_httpStatus - The response's http status code.

Response Lenses