getExport method
Views the definition of an existing data export.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter exportArn :
The Amazon Resource Name (ARN) for this export.
Implementation
Future<GetExportResponse> getExport({
required String exportArn,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSBillingAndCostManagementDataExports.GetExport'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'ExportArn': exportArn,
},
);
return GetExportResponse.fromJson(jsonResponse.body);
}