describeNotificationSubscriptions method
Lists the specified notification subscriptions.
May throw UnauthorizedResourceAccessException. May throw EntityNotExistsException. May throw ServiceUnavailableException.
Parameter organizationId :
The ID of the organization.
Parameter limit :
The maximum number of items to return with this call.
Parameter marker :
The marker for the next set of results. (You received this marker from a
previous call.)
Implementation
Future<DescribeNotificationSubscriptionsResponse>
    describeNotificationSubscriptions({
  required String organizationId,
  int? limit,
  String? marker,
}) async {
  ArgumentError.checkNotNull(organizationId, 'organizationId');
  _s.validateStringLength(
    'organizationId',
    organizationId,
    1,
    256,
    isRequired: true,
  );
  _s.validateNumRange(
    'limit',
    limit,
    1,
    999,
  );
  _s.validateStringLength(
    'marker',
    marker,
    1,
    2048,
  );
  final $query = <String, List<String>>{
    if (limit != null) 'limit': [limit.toString()],
    if (marker != null) 'marker': [marker],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/api/v1/organizations/${Uri.encodeComponent(organizationId)}/subscriptions',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return DescribeNotificationSubscriptionsResponse.fromJson(response);
}