startIngestion method

Future<void> startIngestion({
  1. required String appBundleIdentifier,
  2. required String ingestionIdentifier,
})

Starts (enables) an ingestion, which collects data from an application.

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> startIngestion({
  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)}/start',
    exceptionFnMap: _exceptionFns,
  );
}