getDataAutomationStatus method
API used to get data automation status.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter invocationArn :
Invocation arn.
Implementation
Future<GetDataAutomationStatusResponse> getDataAutomationStatus({
required String invocationArn,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target':
'AmazonBedrockKeystoneRuntimeService.GetDataAutomationStatus'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'invocationArn': invocationArn,
},
);
return GetDataAutomationStatusResponse.fromJson(jsonResponse.body);
}