getEnterpriseSupportChargeSummary method
Future<GetEnterpriseSupportChargeSummaryResponse>
getEnterpriseSupportChargeSummary({
- required String billingMonth,
Returns a summary of Enterprise Support data aggregated across all accounts in the Enterprise Support profile.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter billingMonth :
The billing month in YYYY-MM format. This must be a month in the past.
Implementation
Future<GetEnterpriseSupportChargeSummaryResponse>
getEnterpriseSupportChargeSummary({
required String billingMonth,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'AWSBilling.GetEnterpriseSupportChargeSummary'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'billingMonth': billingMonth,
},
);
return GetEnterpriseSupportChargeSummaryResponse.fromJson(
jsonResponse.body);
}