update_pipeline
¶
update_pipeline(
workspace_name: WorkspaceName,
pipeline_name: ResourceName,
*,
config_overrides: Optional[IoTSiteWiseClientConfig] = None,
description: Optional[Description] = None,
environment_variables: Optional[EnvironmentVariablesMap] = None,
computations: Optional[ComputeNodeList] = None,
) -> UpdatePipelineResponse
Updates an existing pipeline in the specified workspace. Only the fields provided in the request are updated; fields not included in the request are preserved unchanged. You can update the pipeline description, environment variables, and the list of compute nodes independently.
Parameters:
-
workspace_name(WorkspaceName) –The name of the workspace.
-
pipeline_name(ResourceName) –The name of the pipeline to update.
-
description(Optional[Description], default:None) –A new description for the pipeline.
-
environment_variables(Optional[EnvironmentVariablesMap], default:None) –Updated environment variables shared across all compute nodes.
-
computations(Optional[ComputeNodeList], default:None) –Updated list of compute nodes forming the pipeline DAG.
Raises:
-
AccessDeniedException–Access is denied.
-
ConflictingOperationException–Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.
-
InternalFailureException–IoT SiteWise can't process your request right now. Try again later.
-
InvalidRequestException–The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.
-
LimitExceededException–You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.
For more information, see Quotas in the IoT SiteWise User Guide.
-
ResourceNotFoundException–The requested resource can't be found.
-
ThrottlingException–Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.
For more information, see Quotas in the IoT SiteWise User Guide.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iotsitewise/_services/io_t_site_wise.py
11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 | |