| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MarketplaceCatalog.CancelChangeSet
Description
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' {
- changeSetArn :: Maybe Text
- changeSetId :: Maybe Text
- httpStatus :: Int
- newCancelChangeSetResponse :: Int -> CancelChangeSetResponse
- cancelChangeSetResponse_changeSetArn :: Lens' CancelChangeSetResponse (Maybe Text)
- cancelChangeSetResponse_changeSetId :: Lens' CancelChangeSetResponse (Maybe Text)
- cancelChangeSetResponse_httpStatus :: Lens' CancelChangeSetResponse Int
Creating a Request
data CancelChangeSet Source #
See: newCancelChangeSet smart constructor.
Constructors
| CancelChangeSet' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> CancelChangeSet |
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.
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.
Constructors
| CancelChangeSetResponse' | |
Fields
| |
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:
CancelChangeSetResponse, cancelChangeSetResponse_changeSetArn - The ARN associated with the change set referenced in this request.
CancelChangeSet, cancelChangeSetResponse_changeSetId - The unique identifier for the change set referenced in this request.
$sel:httpStatus:CancelChangeSetResponse', cancelChangeSetResponse_httpStatus - The response's http status code.
Response Lenses
cancelChangeSetResponse_changeSetArn :: Lens' CancelChangeSetResponse (Maybe Text) Source #
The ARN associated with the change set referenced in this request.
cancelChangeSetResponse_changeSetId :: Lens' CancelChangeSetResponse (Maybe Text) Source #
The unique identifier for the change set referenced in this request.
cancelChangeSetResponse_httpStatus :: Lens' CancelChangeSetResponse Int Source #
The response's http status code.