updateQueueFleetAssociation method
Updates a queue-fleet association.
May throw AccessDeniedException.
May throw InternalServerErrorException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter farmId :
The farm ID to update.
Parameter fleetId :
The fleet ID to update.
Parameter queueId :
The queue ID to update.
Parameter status :
The status to update.
Implementation
Future<void> updateQueueFleetAssociation({
required String farmId,
required String fleetId,
required String queueId,
required UpdateQueueFleetAssociationStatus status,
}) async {
final $payload = <String, dynamic>{
'status': status.value,
};
final response = await _protocol.send(
payload: $payload,
method: 'PATCH',
requestUri:
'/2023-10-12/farms/${Uri.encodeComponent(farmId)}/queue-fleet-associations/${Uri.encodeComponent(queueId)}/${Uri.encodeComponent(fleetId)}',
exceptionFnMap: _exceptionFns,
);
}