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 |
CancelImageCreation cancels the creation of Image. This operation can only be used on images in a non-terminal state.
Synopsis
- data CancelImageCreation = CancelImageCreation' {}
- newCancelImageCreation :: Text -> Text -> CancelImageCreation
- cancelImageCreation_imageBuildVersionArn :: Lens' CancelImageCreation Text
- cancelImageCreation_clientToken :: Lens' CancelImageCreation Text
- data CancelImageCreationResponse = CancelImageCreationResponse' {}
- newCancelImageCreationResponse :: Int -> CancelImageCreationResponse
- cancelImageCreationResponse_requestId :: Lens' CancelImageCreationResponse (Maybe Text)
- cancelImageCreationResponse_clientToken :: Lens' CancelImageCreationResponse (Maybe Text)
- cancelImageCreationResponse_imageBuildVersionArn :: Lens' CancelImageCreationResponse (Maybe Text)
- cancelImageCreationResponse_httpStatus :: Lens' CancelImageCreationResponse Int
Creating a Request
data CancelImageCreation Source #
See: newCancelImageCreation
smart constructor.
CancelImageCreation' | |
|
Instances
newCancelImageCreation Source #
:: Text | |
-> Text | |
-> CancelImageCreation |
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.
CancelImageCreationResponse' | |
|
Instances
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.
cancelImageCreationResponse_httpStatus :: Lens' CancelImageCreationResponse Int Source #
The response's http status code.