getReusableDelegationSet method

Future<GetReusableDelegationSetResponse> getReusableDelegationSet({
  1. required String id,
})

Retrieves information about a specified reusable delegation set, including the four name servers that are assigned to the delegation set.

May throw NoSuchDelegationSet. May throw DelegationSetNotReusable. May throw InvalidInput.

Parameter id : The ID of the reusable delegation set that you want to get a list of name servers for.

Implementation

Future<GetReusableDelegationSetResponse> getReusableDelegationSet({
  required String id,
}) async {
  ArgumentError.checkNotNull(id, 'id');
  _s.validateStringLength(
    'id',
    id,
    0,
    32,
    isRequired: true,
  );
  final $result = await _protocol.send(
    method: 'GET',
    requestUri: '/2013-04-01/delegationset/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetReusableDelegationSetResponse.fromXml($result.body);
}