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