update_state_template
¶
update_state_template(
identifier: ResourceIdentifier,
*,
config_overrides: Optional[IoTFleetWiseClientConfig] = None,
description: Optional[description] = None,
state_template_properties_to_add: Optional[StateTemplateProperties] = None,
state_template_properties_to_remove: Optional[StateTemplateProperties] = None,
data_extra_dimensions: Optional[StateTemplateDataExtraDimensionNodePathList] = None,
metadata_extra_dimensions: Optional[
StateTemplateMetadataExtraDimensionNodePathList
] = None,
) -> UpdateStateTemplateResponse
Updates a state template.
Access to certain Amazon Web Services IoT FleetWise features is currently gated. For more information, see Amazon Web Services Region and feature availability in the Amazon Web Services IoT FleetWise Developer Guide.
Parameters:
-
identifier(ResourceIdentifier) –The unique ID of the state template.
-
description(Optional[description], default:None) –A brief description of the state template.
-
state_template_properties_to_add(Optional[StateTemplateProperties], default:None) –Add signals from which data is collected as part of the state template.
-
state_template_properties_to_remove(Optional[StateTemplateProperties], default:None) –Remove signals from which data is collected as part of the state template.
-
data_extra_dimensions(Optional[StateTemplateDataExtraDimensionNodePathList], default:None) –A list of vehicle attributes to associate with the payload published on the state template's MQTT topic. (See Processing last known state vehicle data using MQTT messaging). For example, if you add
Vehicle.Attributes.MakeandVehicle.Attributes.Modelattributes, Amazon Web Services IoT FleetWise will enrich the protobuf encoded payload with those attributes in theextraDimensionsfield.Default: An empty array
-
metadata_extra_dimensions(Optional[StateTemplateMetadataExtraDimensionNodePathList], default:None) –A list of vehicle attributes to associate with user properties of the messages published on the state template's MQTT topic. (See Processing last known state vehicle data using MQTT messaging). For example, if you add
Vehicle.Attributes.MakeandVehicle.Attributes.Modelattributes, Amazon Web Services IoT FleetWise will include these attributes as User Properties with the MQTT message.
Raises:
-
InternalServerException–The request couldn't be completed because the server temporarily failed.
-
AccessDeniedException–You don't have sufficient permission to perform this action.
-
InvalidSignalsException–The request couldn't be completed because it contains signals that aren't valid.
-
LimitExceededException–A service quota was exceeded.
-
ResourceNotFoundException–The resource wasn't found.
-
ThrottlingException–The request couldn't be completed due to throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iotfleetwise/_services/io_t_fleet_wise.py
3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 | |