describeAccountModifications method

Future<DescribeAccountModificationsResult> describeAccountModifications({
  1. String? nextToken,
})

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

May throw AccessDeniedException.

Parameter nextToken : If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.

Implementation

Future<DescribeAccountModificationsResult> describeAccountModifications({
  String? nextToken,
}) async {
  _s.validateStringLength(
    'nextToken',
    nextToken,
    1,
    2048,
  );
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'WorkspacesService.DescribeAccountModifications'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      if (nextToken != null) 'NextToken': nextToken,
    },
  );

  return DescribeAccountModificationsResult.fromJson(jsonResponse.body);
}