update_link_module_flow
async
¶
update_link_module_flow(
client_token: str,
gateway_id: GatewayId,
link_id: LinkId,
modules: ModuleConfigurationList,
*,
config_overrides: Optional[AsyncRTBFabricClientConfig] = None,
) -> UpdateLinkModuleFlowResponse
Updates a link module flow.
Parameters:
-
client_token(str) –Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same
clientToken, but with different parameters, the retry fails with anIdempotentParameterMismatcherror. -
gateway_id(GatewayId) –The unique identifier of the gateway.
-
link_id(LinkId) –The unique identifier of the link.
-
modules(ModuleConfigurationList) –The configuration of a module.
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.
-
ServiceQuotaExceededException–The request could not be completed because you exceeded a service quota.
-
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 module flow Update link module flow for link
>>> await client.update_link_module_flow(gateway_id='rtb-gw-12345678', link_id='link-87654321', client_token='randomClientToken', modules=[{'name': 'noBidModule', 'version': '1dot0dot0', 'dependsOn': [], 'moduleParameters': {'noBid': {'reason': 'test', 'reasonCode': 1, 'passThroughPercentage': 50.0}}}])
Source code in docs_src/capo_rtbfabric/_services/async_rtb_fabric.py
1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 | |