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 |
Used to cancel an open change request. Must be sent before the status of
the request changes to APPLYING
, the final stage of completing your
change request. You can describe a change during the 60-day request
history retention period for API calls.
Synopsis
- data CancelChangeSet = CancelChangeSet' {
- catalog :: Text
- changeSetId :: Text
- newCancelChangeSet :: Text -> Text -> CancelChangeSet
- cancelChangeSet_catalog :: Lens' CancelChangeSet Text
- cancelChangeSet_changeSetId :: Lens' CancelChangeSet Text
- data CancelChangeSetResponse = CancelChangeSetResponse' {
- changeSetId :: Maybe Text
- changeSetArn :: Maybe Text
- httpStatus :: Int
- newCancelChangeSetResponse :: Int -> CancelChangeSetResponse
- cancelChangeSetResponse_changeSetId :: Lens' CancelChangeSetResponse (Maybe Text)
- cancelChangeSetResponse_changeSetArn :: Lens' CancelChangeSetResponse (Maybe Text)
- cancelChangeSetResponse_httpStatus :: Lens' CancelChangeSetResponse Int
Creating a Request
data CancelChangeSet Source #
See: newCancelChangeSet
smart constructor.
CancelChangeSet' | |
|
Instances
Create a value of CancelChangeSet
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:catalog:CancelChangeSet'
, cancelChangeSet_catalog
- Required. The catalog related to the request. Fixed value:
AWSMarketplace
.
$sel:changeSetId:CancelChangeSet'
, cancelChangeSet_changeSetId
- Required. The unique identifier of the StartChangeSet
request that you
want to cancel.
Request Lenses
cancelChangeSet_catalog :: Lens' CancelChangeSet Text Source #
Required. The catalog related to the request. Fixed value:
AWSMarketplace
.
cancelChangeSet_changeSetId :: Lens' CancelChangeSet Text Source #
Required. The unique identifier of the StartChangeSet
request that you
want to cancel.
Destructuring the Response
data CancelChangeSetResponse Source #
See: newCancelChangeSetResponse
smart constructor.
CancelChangeSetResponse' | |
|
Instances
newCancelChangeSetResponse Source #
Create a value of CancelChangeSetResponse
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:changeSetId:CancelChangeSet'
, cancelChangeSetResponse_changeSetId
- The unique identifier for the change set referenced in this request.
$sel:changeSetArn:CancelChangeSetResponse'
, cancelChangeSetResponse_changeSetArn
- The ARN associated with the change set referenced in this request.
$sel:httpStatus:CancelChangeSetResponse'
, cancelChangeSetResponse_httpStatus
- The response's http status code.
Response Lenses
cancelChangeSetResponse_changeSetId :: Lens' CancelChangeSetResponse (Maybe Text) Source #
The unique identifier for the change set referenced in this request.
cancelChangeSetResponse_changeSetArn :: Lens' CancelChangeSetResponse (Maybe Text) Source #
The ARN associated with the change set referenced in this request.
cancelChangeSetResponse_httpStatus :: Lens' CancelChangeSetResponse Int Source #
The response's http status code.