Skip to content

UpdateVehicleRequest

Source code in docs_src/capo_iotfleetwise/types/update_vehicle_request.py
class UpdateVehicleRequest(TypedDict, closed=True):
    vehicle_name: "capo_iotfleetwise.types.vehicle_name.vehicleName"
    """<p>The unique ID of the vehicle to update.</p>"""
    model_manifest_arn: NotRequired["capo_iotfleetwise.types.arn.arn"]
    """<p>The ARN of a vehicle model (model manifest) associated with the vehicle.</p>"""
    decoder_manifest_arn: NotRequired["capo_iotfleetwise.types.arn.arn"]
    """<p>The ARN of the decoder manifest associated with this vehicle.</p>"""
    attributes: NotRequired["capo_iotfleetwise.types.attributes_map.attributesMap"]
    """<p>Static information about a vehicle in a key-value pair. For example:</p> <p> <code>"engineType"</code> : <code>"1.3 L R2"</code> </p>"""
    attribute_update_mode: NotRequired["capo_iotfleetwise.types.update_mode.UpdateMode"]
    """<p>The method the specified attributes will update the existing attributes on the vehicle. Use<code>Overwite</code> to replace the vehicle attributes with the specified attributes. Or use <code>Merge</code> to combine all attributes.</p> <p>This is required if attributes are present in the input.</p>"""
    state_templates_to_add: NotRequired[
        "capo_iotfleetwise.types.state_template_associations.StateTemplateAssociations"
    ]
    """<p>Associate state templates with the vehicle.</p>"""
    state_templates_to_remove: NotRequired[
        "capo_iotfleetwise.types.state_template_association_identifiers.StateTemplateAssociationIdentifiers"
    ]
    """<p>Remove state templates from the vehicle.</p>"""
    state_templates_to_update: NotRequired[
        "capo_iotfleetwise.types.state_template_associations.StateTemplateAssociations"
    ]
    """<p>Change the <code>stateTemplateUpdateStrategy</code> of state templates already associated with the vehicle.</p>"""

attribute_update_mode instance-attribute

attribute_update_mode: NotRequired[UpdateMode]

The method the specified attributes will update the existing attributes on the vehicle. UseOverwite to replace the vehicle attributes with the specified attributes. Or use Merge to combine all attributes.

This is required if attributes are present in the input.

attributes instance-attribute

attributes: NotRequired[attributesMap]

Static information about a vehicle in a key-value pair. For example:

"engineType" : "1.3 L R2"

decoder_manifest_arn instance-attribute

decoder_manifest_arn: NotRequired[arn]

The ARN of the decoder manifest associated with this vehicle.

model_manifest_arn instance-attribute

model_manifest_arn: NotRequired[arn]

The ARN of a vehicle model (model manifest) associated with the vehicle.

state_templates_to_add instance-attribute

state_templates_to_add: NotRequired[StateTemplateAssociations]

Associate state templates with the vehicle.

state_templates_to_remove instance-attribute

state_templates_to_remove: NotRequired[StateTemplateAssociationIdentifiers]

Remove state templates from the vehicle.

state_templates_to_update instance-attribute

state_templates_to_update: NotRequired[StateTemplateAssociations]

Change the stateTemplateUpdateStrategy of state templates already associated with the vehicle.

vehicle_name instance-attribute

vehicle_name: vehicleName

The unique ID of the vehicle to update.