describeBillingGroup method
Returns information about a billing group.
Requires permission to access the DescribeBillingGroup action.
May throw InternalFailureException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter billingGroupName :
The name of the billing group.
Implementation
Future<DescribeBillingGroupResponse> describeBillingGroup({
required String billingGroupName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/billing-groups/${Uri.encodeComponent(billingGroupName)}',
exceptionFnMap: _exceptionFns,
);
return DescribeBillingGroupResponse.fromJson(response);
}