stopIngestion method
Stops (disables) an ingestion.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter appBundleIdentifier :
The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of
the app bundle to use for the request.
Parameter ingestionIdentifier :
The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of
the ingestion to use for the request.
Implementation
Future<void> stopIngestion({
required String appBundleIdentifier,
required String ingestionIdentifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'POST',
requestUri:
'/appbundles/${Uri.encodeComponent(appBundleIdentifier)}/ingestions/${Uri.encodeComponent(ingestionIdentifier)}/stop',
exceptionFnMap: _exceptionFns,
);
}