getDNSSEC method

Future<GetDNSSECResponse> getDNSSEC({
  1. required String hostedZoneId,
})

Returns information about DNSSEC for a specific hosted zone, including the key signing keys (KSKs) and zone signing keys (ZSKs) in the hosted zone.

May throw NoSuchHostedZone. May throw InvalidArgument.

Parameter hostedZoneId : A unique string used to identify a hosted zone.

Implementation

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