disableHostedZoneDNSSEC method

Future<DisableHostedZoneDNSSECResponse> disableHostedZoneDNSSEC({
  1. required String hostedZoneId,
})

Disables DNSSEC signing in a specific hosted zone. This action does not deactivate any key signing keys (KSKs) that are active in the hosted zone.

May throw NoSuchHostedZone. May throw InvalidArgument. May throw ConcurrentModification. May throw KeySigningKeyInParentDSRecord. May throw DNSSECNotFound. May throw InvalidKeySigningKeyStatus. May throw InvalidKMSArn.

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

Implementation

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