describeAccountLimits method

Future<DescribeAccountLimitsOutput> describeAccountLimits({
  1. String? marker,
  2. int? pageSize,
})

Describes the current Elastic Load Balancing resource limits for your AWS account.

For more information, see the following:

Parameter marker : The marker for the next set of results. (You received this marker from a previous call.)

Parameter pageSize : The maximum number of results to return with this call.

Implementation

Future<DescribeAccountLimitsOutput> describeAccountLimits({
  String? marker,
  int? pageSize,
}) async {
  _s.validateNumRange(
    'pageSize',
    pageSize,
    1,
    400,
  );
  final $request = <String, dynamic>{};
  marker?.also((arg) => $request['Marker'] = arg);
  pageSize?.also((arg) => $request['PageSize'] = arg);
  final $result = await _protocol.send(
    $request,
    action: 'DescribeAccountLimits',
    version: '2015-12-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DescribeAccountLimitsInput'],
    shapes: shapes,
    resultWrapper: 'DescribeAccountLimitsResult',
  );
  return DescribeAccountLimitsOutput.fromXml($result);
}