disassociateProfile method

Future<DisassociateProfileResponse> disassociateProfile({
  1. required String profileId,
  2. required String resourceId,
})

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);
}