cancelChangeSet method
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.
May throw AccessDeniedException.
May throw InternalServiceException.
May throw ResourceInUseException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter catalog :
Required. The catalog related to the request. Fixed value:
AWSMarketplace.
Parameter changeSetId :
Required. The unique identifier of the StartChangeSet request
that you want to cancel.
Implementation
Future<CancelChangeSetResponse> cancelChangeSet({
required String catalog,
required String changeSetId,
}) async {
final $query = <String, List<String>>{
'catalog': [catalog],
'changeSetId': [changeSetId],
};
final response = await _protocol.send(
payload: null,
method: 'PATCH',
requestUri: '/CancelChangeSet',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return CancelChangeSetResponse.fromJson(response);
}