listReusableDelegationSets method

Future<ListReusableDelegationSetsResponse> listReusableDelegationSets({
  1. String? marker,
  2. String? maxItems,
})

Retrieves a list of the reusable delegation sets that are associated with the current AWS account.

May throw InvalidInput.

Parameter marker : If the value of IsTruncated in the previous response was true, you have more reusable delegation sets. To get another group, submit another ListReusableDelegationSets request.

For the value of marker, specify the value of NextMarker from the previous response, which is the ID of the first reusable delegation set that Amazon Route 53 will return if you submit another request.

If the value of IsTruncated in the previous response was false, there are no more reusable delegation sets to get.

Parameter maxItems : The number of reusable delegation sets that you want Amazon Route 53 to return in the response to this request. If you specify a value greater than 100, Route 53 returns only the first 100 reusable delegation sets.

Implementation

Future<ListReusableDelegationSetsResponse> listReusableDelegationSets({
  String? marker,
  String? maxItems,
}) async {
  _s.validateStringLength(
    'marker',
    marker,
    0,
    64,
  );
  final $query = <String, List<String>>{
    if (marker != null) 'marker': [marker],
    if (maxItems != null) 'maxitems': [maxItems],
  };
  final $result = await _protocol.send(
    method: 'GET',
    requestUri: '/2013-04-01/delegationset',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return ListReusableDelegationSetsResponse.fromXml($result.body);
}