disassociateProfile method
Dissociates a specified Route 53 Profile from the specified VPC.
May throw AccessDeniedException.
May throw InvalidParameterException.
May throw LimitExceededException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter profileId :
ID of the Profile.
Parameter resourceId :
The ID of the VPC.
Implementation
Future<DisassociateProfileResponse> disassociateProfile({
required String profileId,
required String resourceId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/profileassociation/Profileid/${Uri.encodeComponent(profileId)}/resourceid/${Uri.encodeComponent(resourceId)}',
exceptionFnMap: _exceptionFns,
);
return DisassociateProfileResponse.fromJson(response);
}