stopContinuousExport method
Stop the continuous flow of agent's discovered data into Amazon Athena.
May throw AuthorizationErrorException. May throw InvalidParameterException. May throw InvalidParameterValueException. May throw ServerInternalErrorException. May throw OperationNotPermittedException. May throw ResourceNotFoundException. May throw ResourceInUseException. May throw HomeRegionNotSetException.
Parameter exportId
:
The unique ID assigned to this export.
Implementation
Future<StopContinuousExportResponse> stopContinuousExport({
required String exportId,
}) async {
ArgumentError.checkNotNull(exportId, 'exportId');
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSPoseidonService_V2015_11_01.StopContinuousExport'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'exportId': exportId,
},
);
return StopContinuousExportResponse.fromJson(jsonResponse.body);
}