update_link_module_flow
¶
update_link_module_flow(
client_token: str,
gateway_id: GatewayId,
link_id: LinkId,
modules: ModuleConfigurationList,
*,
config_overrides: Optional[RTBFabricClientConfig] = 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
>>> 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/rtb_fabric.py
1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 | |