update_computation_model
¶
update_computation_model(
computation_model_id: ID,
computation_model_name: RestrictedName,
computation_model_configuration: ComputationModelConfiguration,
computation_model_data_binding: ComputationModelDataBinding,
*,
config_overrides: Optional[IoTSiteWiseClientConfig] = None,
computation_model_description: Optional[RestrictedDescription] = None,
client_token: Optional[ClientToken] = None,
) -> UpdateComputationModelResponse
Updates the computation model.
Parameters:
-
computation_model_id(ID) –The ID of the computation model.
-
computation_model_name(RestrictedName) –The name of the computation model.
-
computation_model_description(Optional[RestrictedDescription], default:None) –The description of the computation model.
-
computation_model_configuration(ComputationModelConfiguration) –The configuration for the computation model.
-
computation_model_data_binding(ComputationModelDataBinding) –The data binding for the computation model. Key is a variable name defined in configuration. Value is a
ComputationModelDataBindingValuereferenced by the variable. -
client_token(Optional[ClientToken], default:None) –A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
Raises:
-
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.
-
ResourceAlreadyExistsException–The resource already exists.
-
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
11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 | |