getResolverDnssecConfig method

Future<GetResolverDnssecConfigResponse> getResolverDnssecConfig({
  1. required String resourceId,
})

Gets DNSSEC validation information for a specified resource.

May throw InvalidParameterException. May throw ResourceNotFoundException. May throw InvalidRequestException. May throw InternalServiceErrorException. May throw ThrottlingException. May throw AccessDeniedException.

Parameter resourceId : The ID of the virtual private cloud (VPC) for the DNSSEC validation status.

Implementation

Future<GetResolverDnssecConfigResponse> getResolverDnssecConfig({
  required String resourceId,
}) async {
  ArgumentError.checkNotNull(resourceId, 'resourceId');
  _s.validateStringLength(
    'resourceId',
    resourceId,
    1,
    64,
    isRequired: true,
  );
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'Route53Resolver.GetResolverDnssecConfig'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'ResourceId': resourceId,
    },
  );

  return GetResolverDnssecConfigResponse.fromJson(jsonResponse.body);
}