update_link
¶
update_link(
gateway_id: GatewayId,
link_id: LinkId,
*,
config_overrides: Optional[RTBFabricClientConfig] = None,
log_settings: Optional[LinkLogSettings] = None,
timeout_in_millis: Optional[LinkTimeoutInMillis] = None,
client_token: Optional[str] = None,
) -> UpdateLinkResponse
Updates the configuration of a link between gateways.
Allows you to modify settings and parameters for an existing link.
Parameters:
-
gateway_id(GatewayId) –The unique identifier of the gateway.
-
link_id(LinkId) –The unique identifier of the link.
-
log_settings(Optional[LinkLogSettings], default:None) –Settings for the application logs.
-
timeout_in_millis(Optional[LinkTimeoutInMillis], default:None) –The timeout value in milliseconds.
-
client_token(Optional[str], default:None) –A unique, case-sensitive identifier for the request. The SDK generates one when you don't.
Raises:
-
AccessDeniedException–The request could not be completed because you do not have sufficient access to perform this action.
-
ConflictException–The request could not be completed because of a conflict in the current state of the resource.
-
InternalServerException–The request could not be completed because of an internal server error. Try your call again.
-
ResourceNotFoundException–The request could not be completed because the resource does not exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The request could not be completed because it fails satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Update link settings Updates configuration settings for an existing link
>>> client.update_link(gateway_id='rtb-gw-12345678', link_id='link-87654321', log_settings={'applicationLogs': {'sampling': {'errorLog': 100.0, 'filterLog': 10.0}}})
Source code in docs_src/capo_rtbfabric/_services/rtb_fabric.py
1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 | |