deleteServiceProfile method

Future<void> deleteServiceProfile({
  1. required String id,
})

Deletes a service profile.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter id : The ID of the resource to delete.

Implementation

Future<void> deleteServiceProfile({
  required String id,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/service-profiles/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
}