getEnterpriseSupportContractDetails method
Future<GetEnterpriseSupportContractDetailsResponse>
getEnterpriseSupportContractDetails({
- required String billingMonth,
Returns Enterprise Support contract details.
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<GetEnterpriseSupportContractDetailsResponse>
getEnterpriseSupportContractDetails({
required String billingMonth,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'AWSBilling.GetEnterpriseSupportContractDetails'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'billingMonth': billingMonth,
},
);
return GetEnterpriseSupportContractDetailsResponse.fromJson(
jsonResponse.body);
}