startContinuousExport method

Future<StartContinuousExportResponse> startContinuousExport()

Start the continuous flow of agent's discovered data into Amazon Athena.

May throw ConflictErrorException. May throw AuthorizationErrorException. May throw InvalidParameterException. May throw InvalidParameterValueException. May throw ServerInternalErrorException. May throw OperationNotPermittedException. May throw ResourceInUseException. May throw HomeRegionNotSetException.

Implementation

Future<StartContinuousExportResponse> startContinuousExport() async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'AWSPoseidonService_V2015_11_01.StartContinuousExport'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
  );

  return StartContinuousExportResponse.fromJson(jsonResponse.body);
}