describeAccount method

Future<DescribeAccountResult> describeAccount()

Retrieves a list that describes the configuration of Bring Your Own License (BYOL) for the specified account.

May throw AccessDeniedException.

Implementation

Future<DescribeAccountResult> describeAccount() async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'WorkspacesService.DescribeAccount'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
  );

  return DescribeAccountResult.fromJson(jsonResponse.body);
}