disassociateResourceFromProfile method
Dissoaciated a specified resource, from the Route 53 Profile.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServiceErrorException.
May throw InvalidParameterException.
May throw LimitExceededException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter profileId :
The ID of the Profile.
Parameter resourceArn :
The Amazon Resource Name (ARN) of the resource.
Implementation
Future<DisassociateResourceFromProfileResponse>
disassociateResourceFromProfile({
required String profileId,
required String resourceArn,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/profileresourceassociation/profileid/${Uri.encodeComponent(profileId)}/resourcearn/${Uri.encodeComponent(resourceArn)}',
exceptionFnMap: _exceptionFns,
);
return DisassociateResourceFromProfileResponse.fromJson(response);
}