getQueueFleetAssociation method

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

Gets a queue-fleet association.

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

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

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

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

Implementation

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