deleteOutpostResolver method
Deletes a Resolver on the Outpost.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServiceErrorException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter id :
A unique string that identifies the Resolver on the Outpost.
Implementation
Future<DeleteOutpostResolverResponse> deleteOutpostResolver({
required String id,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'Route53Resolver.DeleteOutpostResolver'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'Id': id,
},
);
return DeleteOutpostResolverResponse.fromJson(jsonResponse.body);
}