getExecution method
Exports data based on the source data update.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter executionId :
The ID for this specific execution.
Parameter exportArn :
The Amazon Resource Name (ARN) of the Export object that generated this
specific execution.
Implementation
Future<GetExecutionResponse> getExecution({
required String executionId,
required String exportArn,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSBillingAndCostManagementDataExports.GetExecution'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'ExecutionId': executionId,
'ExportArn': exportArn,
},
);
return GetExecutionResponse.fromJson(jsonResponse.body);
}