deleteQueueFleetAssociation method

Future<void> deleteQueueFleetAssociation({
  1. required String farmId,
  2. required String fleetId,
  3. required String queueId,
})

Deletes a queue-fleet association.

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

Parameter farmId : The farm ID of the farm that holds the queue-fleet association.

Parameter fleetId : The fleet ID of the queue-fleet association.

Parameter queueId : The queue ID of the queue-fleet association.

Implementation

Future<void> deleteQueueFleetAssociation({
  required String farmId,
  required String fleetId,
  required String queueId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/2023-10-12/farms/${Uri.encodeComponent(farmId)}/queue-fleet-associations/${Uri.encodeComponent(queueId)}/${Uri.encodeComponent(fleetId)}',
    hostPrefix: 'management.',
    exceptionFnMap: _exceptionFns,
  );
}