update_state_template
async
¶
update_state_template(
identifier: ResourceIdentifier,
*,
config_overrides: Optional[AsyncIoTFleetWiseClientConfig] = 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/async_io_t_fleet_wise.py
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 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 | |