Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data CancelResourceRequest = CancelResourceRequest' {
- requestToken :: Text
- newCancelResourceRequest :: Text -> CancelResourceRequest
- cancelResourceRequest_requestToken :: Lens' CancelResourceRequest Text
- data CancelResourceRequestResponse = CancelResourceRequestResponse' {}
- newCancelResourceRequestResponse :: Int -> CancelResourceRequestResponse
- cancelResourceRequestResponse_progressEvent :: Lens' CancelResourceRequestResponse (Maybe ProgressEvent)
- cancelResourceRequestResponse_httpStatus :: Lens' CancelResourceRequestResponse Int
Creating a Request
data CancelResourceRequest Source #
See: newCancelResourceRequest
smart constructor.
CancelResourceRequest' | |
|
Instances
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.
CancelResourceRequestResponse' | |
|
Instances
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
cancelResourceRequestResponse_progressEvent :: Lens' CancelResourceRequestResponse (Maybe ProgressEvent) Source #
Undocumented member.
cancelResourceRequestResponse_httpStatus :: Lens' CancelResourceRequestResponse Int Source #
The response's http status code.