cancelMetadataTransferJob method
Future<CancelMetadataTransferJobResponse>
cancelMetadataTransferJob({
- required String metadataTransferJobId,
Cancels the metadata transfer job.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter metadataTransferJobId :
The metadata transfer job Id.
Implementation
Future<CancelMetadataTransferJobResponse> cancelMetadataTransferJob({
required String metadataTransferJobId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'PUT',
requestUri:
'/metadata-transfer-jobs/${Uri.encodeComponent(metadataTransferJobId)}/cancel',
exceptionFnMap: _exceptionFns,
);
return CancelMetadataTransferJobResponse.fromJson(response);
}