pub struct Client { /* private fields */ }
Expand description
Client for AWS IoT FleetWise
Client for invoking operations on AWS IoT FleetWise. Each operation on AWS IoT FleetWise is a method on this
this struct. .send()
MUST be invoked on the generated operations to dispatch the request to the service.
§Constructing a Client
A Config
is required to construct a client. For most use cases, the aws-config
crate should be used to automatically resolve this config using
aws_config::load_from_env()
, since this will resolve an SdkConfig
which can be shared
across multiple different AWS SDK clients. This config resolution process can be customized
by calling aws_config::from_env()
instead, which returns a ConfigLoader
that uses
the builder pattern to customize the default config.
In the simplest case, creating a client looks as follows:
let config = aws_config::load_from_env().await;
let client = aws_sdk_iotfleetwise::Client::new(&config);
Occasionally, SDKs may have additional service-specific values that can be set on the Config
that
is absent from SdkConfig
, or slightly different settings for a specific client may be desired.
The Builder
struct implements From<&SdkConfig>
, so setting these specific settings can be
done as follows:
let sdk_config = ::aws_config::load_from_env().await;
let config = aws_sdk_iotfleetwise::config::Builder::from(&sdk_config)
.some_service_specific_setting("value")
.build();
See the aws-config
docs and Config
for more information on customizing configuration.
Note: Client construction is expensive due to connection thread pool initialization, and should be done once at application start-up.
§Using the Client
A client has a function for every operation that can be performed by the service.
For example, the AssociateVehicleFleet
operation has
a Client::associate_vehicle_fleet
, function which returns a builder for that operation.
The fluent builder ultimately has a send()
function that returns an async future that
returns a result, as illustrated below:
let result = client.associate_vehicle_fleet()
.vehicle_name("example")
.send()
.await;
The underlying HTTP requests that get made by this can be modified with the customize_operation
function on the fluent builder. See the customize
module for more
information.
Implementations§
Source§impl Client
impl Client
Sourcepub fn associate_vehicle_fleet(&self) -> AssociateVehicleFleetFluentBuilder
pub fn associate_vehicle_fleet(&self) -> AssociateVehicleFleetFluentBuilder
Constructs a fluent builder for the AssociateVehicleFleet
operation.
- The fluent builder is configurable:
vehicle_name(impl Into<String>)
/set_vehicle_name(Option<String>)
:
required: trueThe unique ID of the vehicle to associate with the fleet.
fleet_id(impl Into<String>)
/set_fleet_id(Option<String>)
:
required: trueThe ID of a fleet.
- On success, responds with
AssociateVehicleFleetOutput
- On failure, responds with
SdkError<AssociateVehicleFleetError>
Source§impl Client
impl Client
Sourcepub fn batch_create_vehicle(&self) -> BatchCreateVehicleFluentBuilder
pub fn batch_create_vehicle(&self) -> BatchCreateVehicleFluentBuilder
Constructs a fluent builder for the BatchCreateVehicle
operation.
- The fluent builder is configurable:
vehicles(CreateVehicleRequestItem)
/set_vehicles(Option<Vec::<CreateVehicleRequestItem>>)
:
required: trueA list of information about each vehicle to create. For more information, see the API data type.
- On success, responds with
BatchCreateVehicleOutput
with field(s):vehicles(Option<Vec::<CreateVehicleResponseItem>>)
:A list of information about a batch of created vehicles. For more information, see the API data type.
errors(Option<Vec::<CreateVehicleError>>)
:A list of information about creation errors, or an empty list if there aren’t any errors.
- On failure, responds with
SdkError<BatchCreateVehicleError>
Source§impl Client
impl Client
Sourcepub fn batch_update_vehicle(&self) -> BatchUpdateVehicleFluentBuilder
pub fn batch_update_vehicle(&self) -> BatchUpdateVehicleFluentBuilder
Constructs a fluent builder for the BatchUpdateVehicle
operation.
- The fluent builder is configurable:
vehicles(UpdateVehicleRequestItem)
/set_vehicles(Option<Vec::<UpdateVehicleRequestItem>>)
:
required: trueA list of information about the vehicles to update. For more information, see the API data type.
- On success, responds with
BatchUpdateVehicleOutput
with field(s):vehicles(Option<Vec::<UpdateVehicleResponseItem>>)
:A list of information about the batch of updated vehicles.
This list contains only unique IDs for the vehicles that were updated.
errors(Option<Vec::<UpdateVehicleError>>)
:A list of information about errors returned while updating a batch of vehicles, or, if there aren’t any errors, an empty list.
- On failure, responds with
SdkError<BatchUpdateVehicleError>
Source§impl Client
impl Client
Sourcepub fn create_campaign(&self) -> CreateCampaignFluentBuilder
pub fn create_campaign(&self) -> CreateCampaignFluentBuilder
Constructs a fluent builder for the CreateCampaign
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the campaign to create.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseAn optional description of the campaign to help identify its purpose.
signal_catalog_arn(impl Into<String>)
/set_signal_catalog_arn(Option<String>)
:
required: trueThe Amazon Resource Name (ARN) of the signal catalog to associate with the campaign.
target_arn(impl Into<String>)
/set_target_arn(Option<String>)
:
required: trueThe ARN of the vehicle or fleet to deploy a campaign to.
start_time(DateTime)
/set_start_time(Option<DateTime>)
:
required: falseThe time, in milliseconds, to deliver a campaign after it was approved. If it’s not specified,
0
is used.Default:
0
expiry_time(DateTime)
/set_expiry_time(Option<DateTime>)
:
required: falseThe time the campaign expires, in seconds since epoch (January 1, 1970 at midnight UTC time). Vehicle data isn’t collected after the campaign expires.
Default: 253402214400 (December 31, 9999, 00:00:00 UTC)
post_trigger_collection_duration(i64)
/set_post_trigger_collection_duration(Option<i64>)
:
required: falseHow long (in milliseconds) to collect raw data after a triggering event initiates the collection. If it’s not specified,
0
is used.Default:
0
diagnostics_mode(DiagnosticsMode)
/set_diagnostics_mode(Option<DiagnosticsMode>)
:
required: falseOption for a vehicle to send diagnostic trouble codes to Amazon Web Services IoT FleetWise. If you want to send diagnostic trouble codes, use
SEND_ACTIVE_DTCS
. If it’s not specified,OFF
is used.Default:
OFF
spooling_mode(SpoolingMode)
/set_spooling_mode(Option<SpoolingMode>)
:
required: falseDetermines whether to store collected data after a vehicle lost a connection with the cloud. After a connection is re-established, the data is automatically forwarded to Amazon Web Services IoT FleetWise. If you want to store collected data when a vehicle loses connection with the cloud, use
TO_DISK
. If it’s not specified,OFF
is used.Default:
OFF
compression(Compression)
/set_compression(Option<Compression>)
:
required: falseDetermines whether to compress signals before transmitting data to Amazon Web Services IoT FleetWise. If you don’t want to compress the signals, use
OFF
. If it’s not specified,SNAPPY
is used.Default:
SNAPPY
priority(i32)
/set_priority(Option<i32>)
:
required: falseA number indicating the priority of one campaign over another campaign for a certain vehicle or fleet. A campaign with the lowest value is deployed to vehicles before any other campaigns. If it’s not specified,
0
is used.Default:
0
signals_to_collect(SignalInformation)
/set_signals_to_collect(Option<Vec::<SignalInformation>>)
:
required: falseA list of information about signals to collect.
If you upload a signal as a condition in a data partition for a campaign, then those same signals must be included in
signalsToCollect
.collection_scheme(CollectionScheme)
/set_collection_scheme(Option<CollectionScheme>)
:
required: trueThe data collection scheme associated with the campaign. You can specify a scheme that collects data based on time or an event.
data_extra_dimensions(impl Into<String>)
/set_data_extra_dimensions(Option<Vec::<String>>)
:
required: falseA list of vehicle attributes to associate with a campaign.
Enrich the data with specified vehicle attributes. For example, add
make
andmodel
to the campaign, and Amazon Web Services IoT FleetWise will associate the data with those attributes as dimensions in Amazon Timestream. You can then query the data againstmake
andmodel
.Default: An empty array
tags(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: falseMetadata that can be used to manage the campaign.
data_destination_configs(DataDestinationConfig)
/set_data_destination_configs(Option<Vec::<DataDestinationConfig>>)
:
required: falseThe destination where the campaign sends data. You can send data to an MQTT topic, or store it in Amazon S3 or Amazon Timestream.
MQTT is the publish/subscribe messaging protocol used by Amazon Web Services IoT to communicate with your devices.
Amazon S3 optimizes the cost of data storage and provides additional mechanisms to use vehicle data, such as data lakes, centralized data storage, data processing pipelines, and analytics. Amazon Web Services IoT FleetWise supports at-least-once file delivery to S3. Your vehicle data is stored on multiple Amazon Web Services IoT FleetWise servers for redundancy and high availability.
You can use Amazon Timestream to access and analyze time series data, and Timestream to query vehicle data so that you can identify trends and patterns.
data_partitions(DataPartition)
/set_data_partitions(Option<Vec::<DataPartition>>)
:
required: falseThe data partitions associated with the signals collected from the vehicle.
signals_to_fetch(SignalFetchInformation)
/set_signals_to_fetch(Option<Vec::<SignalFetchInformation>>)
:
required: falseA list of information about signals to fetch.
- On success, responds with
CreateCampaignOutput
with field(s):name(Option<String>)
:The name of the created campaign.
arn(Option<String>)
:The ARN of the created campaign.
- On failure, responds with
SdkError<CreateCampaignError>
Source§impl Client
impl Client
Sourcepub fn create_decoder_manifest(&self) -> CreateDecoderManifestFluentBuilder
pub fn create_decoder_manifest(&self) -> CreateDecoderManifestFluentBuilder
Constructs a fluent builder for the CreateDecoderManifest
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe unique name of the decoder manifest to create.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA brief description of the decoder manifest.
model_manifest_arn(impl Into<String>)
/set_model_manifest_arn(Option<String>)
:
required: trueThe Amazon Resource Name (ARN) of the vehicle model (model manifest).
signal_decoders(SignalDecoder)
/set_signal_decoders(Option<Vec::<SignalDecoder>>)
:
required: falseA list of information about signal decoders.
network_interfaces(NetworkInterface)
/set_network_interfaces(Option<Vec::<NetworkInterface>>)
:
required: falseA list of information about available network interfaces.
default_for_unmapped_signals(DefaultForUnmappedSignalsType)
/set_default_for_unmapped_signals(Option<DefaultForUnmappedSignalsType>)
:
required: falseUse default decoders for all unmapped signals in the model. You don’t need to provide any detailed decoding information.
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.
tags(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: falseMetadata that can be used to manage the decoder manifest.
- On success, responds with
CreateDecoderManifestOutput
with field(s):name(String)
:The name of the created decoder manifest.
arn(String)
:The ARN of the created decoder manifest.
- On failure, responds with
SdkError<CreateDecoderManifestError>
Source§impl Client
impl Client
Sourcepub fn create_fleet(&self) -> CreateFleetFluentBuilder
pub fn create_fleet(&self) -> CreateFleetFluentBuilder
Constructs a fluent builder for the CreateFleet
operation.
- The fluent builder is configurable:
fleet_id(impl Into<String>)
/set_fleet_id(Option<String>)
:
required: trueThe unique ID of the fleet to create.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA brief description of the fleet to create.
signal_catalog_arn(impl Into<String>)
/set_signal_catalog_arn(Option<String>)
:
required: trueThe Amazon Resource Name (ARN) of a signal catalog.
tags(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: falseMetadata that can be used to manage the fleet.
- On success, responds with
CreateFleetOutput
with field(s):id(String)
:The ID of the created fleet.
arn(String)
:The ARN of the created fleet.
- On failure, responds with
SdkError<CreateFleetError>
Source§impl Client
impl Client
Sourcepub fn create_model_manifest(&self) -> CreateModelManifestFluentBuilder
pub fn create_model_manifest(&self) -> CreateModelManifestFluentBuilder
Constructs a fluent builder for the CreateModelManifest
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the vehicle model to create.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA brief description of the vehicle model.
nodes(impl Into<String>)
/set_nodes(Option<Vec::<String>>)
:
required: trueA list of nodes, which are a general abstraction of signals.
signal_catalog_arn(impl Into<String>)
/set_signal_catalog_arn(Option<String>)
:
required: trueThe Amazon Resource Name (ARN) of a signal catalog.
tags(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: falseMetadata that can be used to manage the vehicle model.
- On success, responds with
CreateModelManifestOutput
with field(s):name(String)
:The name of the created vehicle model.
arn(String)
:The ARN of the created vehicle model.
- On failure, responds with
SdkError<CreateModelManifestError>
Source§impl Client
impl Client
Sourcepub fn create_signal_catalog(&self) -> CreateSignalCatalogFluentBuilder
pub fn create_signal_catalog(&self) -> CreateSignalCatalogFluentBuilder
Constructs a fluent builder for the CreateSignalCatalog
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the signal catalog to create.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA brief description of the signal catalog.
nodes(Node)
/set_nodes(Option<Vec::<Node>>)
:
required: falseA list of information about nodes, which are a general abstraction of signals. For more information, see the API data type.
tags(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: falseMetadata that can be used to manage the signal catalog.
- On success, responds with
CreateSignalCatalogOutput
with field(s):name(String)
:The name of the created signal catalog.
arn(String)
:The ARN of the created signal catalog.
- On failure, responds with
SdkError<CreateSignalCatalogError>
Source§impl Client
impl Client
Sourcepub fn create_state_template(&self) -> CreateStateTemplateFluentBuilder
pub fn create_state_template(&self) -> CreateStateTemplateFluentBuilder
Constructs a fluent builder for the CreateStateTemplate
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the state template.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA brief description of the state template.
signal_catalog_arn(impl Into<String>)
/set_signal_catalog_arn(Option<String>)
:
required: trueThe ARN of the signal catalog associated with the state template.
state_template_properties(impl Into<String>)
/set_state_template_properties(Option<Vec::<String>>)
:
required: trueA list of signals from which data is collected. The state template properties contain the fully qualified names of the signals.
data_extra_dimensions(impl Into<String>)
/set_data_extra_dimensions(Option<Vec::<String>>)
:
required: falseA 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.Make
andVehicle.Attributes.Model
attributes, Amazon Web Services IoT FleetWise will enrich the protobuf encoded payload with those attributes in theextraDimensions
field.metadata_extra_dimensions(impl Into<String>)
/set_metadata_extra_dimensions(Option<Vec::<String>>)
:
required: falseA 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.Make
andVehicle.Attributes.Model
attributes, Amazon Web Services IoT FleetWise will include these attributes as User Properties with the MQTT message.Default: An empty array
tags(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: falseMetadata that can be used to manage the state template.
- On success, responds with
CreateStateTemplateOutput
with field(s):name(Option<String>)
:The name of the state template.
arn(Option<String>)
:The Amazon Resource Name (ARN) of the state template.
id(Option<String>)
:The unique ID of the state template.
- On failure, responds with
SdkError<CreateStateTemplateError>
Source§impl Client
impl Client
Sourcepub fn create_vehicle(&self) -> CreateVehicleFluentBuilder
pub fn create_vehicle(&self) -> CreateVehicleFluentBuilder
Constructs a fluent builder for the CreateVehicle
operation.
- The fluent builder is configurable:
vehicle_name(impl Into<String>)
/set_vehicle_name(Option<String>)
:
required: trueThe unique ID of the vehicle to create.
model_manifest_arn(impl Into<String>)
/set_model_manifest_arn(Option<String>)
:
required: trueThe Amazon Resource Name ARN of a vehicle model.
decoder_manifest_arn(impl Into<String>)
/set_decoder_manifest_arn(Option<String>)
:
required: trueThe ARN of a decoder manifest.
attributes(impl Into<String>, impl Into<String>)
/set_attributes(Option<HashMap::<String, String>>)
:
required: falseStatic information about a vehicle in a key-value pair. For example:
“engineType”
:“1.3 L R2”
To use attributes with Campaigns or State Templates, you must include them using the request parameters
dataExtraDimensions
and/ormetadataExtraDimensions
(for state templates only) when creating your campaign/state template.association_behavior(VehicleAssociationBehavior)
/set_association_behavior(Option<VehicleAssociationBehavior>)
:
required: falseAn option to create a new Amazon Web Services IoT thing when creating a vehicle, or to validate an existing Amazon Web Services IoT thing as a vehicle.
Default:
tags(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: falseMetadata that can be used to manage the vehicle.
state_templates(StateTemplateAssociation)
/set_state_templates(Option<Vec::<StateTemplateAssociation>>)
:
required: falseAssociate state templates with the vehicle. You can monitor the last known state of the vehicle in near real time.
- On success, responds with
CreateVehicleOutput
with field(s):vehicle_name(Option<String>)
:The unique ID of the created vehicle.
arn(Option<String>)
:The ARN of the created vehicle.
thing_arn(Option<String>)
:The ARN of a created or validated Amazon Web Services IoT thing.
- On failure, responds with
SdkError<CreateVehicleError>
Source§impl Client
impl Client
Sourcepub fn delete_campaign(&self) -> DeleteCampaignFluentBuilder
pub fn delete_campaign(&self) -> DeleteCampaignFluentBuilder
Constructs a fluent builder for the DeleteCampaign
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the campaign to delete.
- On success, responds with
DeleteCampaignOutput
with field(s):name(Option<String>)
:The name of the deleted campaign.
arn(Option<String>)
:The Amazon Resource Name (ARN) of the deleted campaign.
The ARN isn’t returned if a campaign doesn’t exist.
- On failure, responds with
SdkError<DeleteCampaignError>
Source§impl Client
impl Client
Sourcepub fn delete_decoder_manifest(&self) -> DeleteDecoderManifestFluentBuilder
pub fn delete_decoder_manifest(&self) -> DeleteDecoderManifestFluentBuilder
Constructs a fluent builder for the DeleteDecoderManifest
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the decoder manifest to delete.
- On success, responds with
DeleteDecoderManifestOutput
with field(s):name(String)
:The name of the deleted decoder manifest.
arn(String)
:The Amazon Resource Name (ARN) of the deleted decoder manifest.
- On failure, responds with
SdkError<DeleteDecoderManifestError>
Source§impl Client
impl Client
Sourcepub fn delete_fleet(&self) -> DeleteFleetFluentBuilder
pub fn delete_fleet(&self) -> DeleteFleetFluentBuilder
Constructs a fluent builder for the DeleteFleet
operation.
- The fluent builder is configurable:
fleet_id(impl Into<String>)
/set_fleet_id(Option<String>)
:
required: trueThe ID of the fleet to delete.
- On success, responds with
DeleteFleetOutput
with field(s):id(Option<String>)
:The ID of the deleted fleet.
arn(Option<String>)
:The Amazon Resource Name (ARN) of the deleted fleet.
- On failure, responds with
SdkError<DeleteFleetError>
Source§impl Client
impl Client
Sourcepub fn delete_model_manifest(&self) -> DeleteModelManifestFluentBuilder
pub fn delete_model_manifest(&self) -> DeleteModelManifestFluentBuilder
Constructs a fluent builder for the DeleteModelManifest
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the model manifest to delete.
- On success, responds with
DeleteModelManifestOutput
with field(s):name(String)
:The name of the deleted model manifest.
arn(String)
:The Amazon Resource Name (ARN) of the deleted model manifest.
- On failure, responds with
SdkError<DeleteModelManifestError>
Source§impl Client
impl Client
Sourcepub fn delete_signal_catalog(&self) -> DeleteSignalCatalogFluentBuilder
pub fn delete_signal_catalog(&self) -> DeleteSignalCatalogFluentBuilder
Constructs a fluent builder for the DeleteSignalCatalog
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the signal catalog to delete.
- On success, responds with
DeleteSignalCatalogOutput
with field(s):name(String)
:The name of the deleted signal catalog.
arn(String)
:The Amazon Resource Name (ARN) of the deleted signal catalog.
- On failure, responds with
SdkError<DeleteSignalCatalogError>
Source§impl Client
impl Client
Sourcepub fn delete_state_template(&self) -> DeleteStateTemplateFluentBuilder
pub fn delete_state_template(&self) -> DeleteStateTemplateFluentBuilder
Constructs a fluent builder for the DeleteStateTemplate
operation.
- The fluent builder is configurable:
identifier(impl Into<String>)
/set_identifier(Option<String>)
:
required: trueThe unique ID of the state template.
- On success, responds with
DeleteStateTemplateOutput
with field(s):name(Option<String>)
:The name of the state template.
arn(Option<String>)
:The Amazon Resource Name (ARN) of the state template.
id(Option<String>)
:The unique ID of the state template.
- On failure, responds with
SdkError<DeleteStateTemplateError>
Source§impl Client
impl Client
Sourcepub fn delete_vehicle(&self) -> DeleteVehicleFluentBuilder
pub fn delete_vehicle(&self) -> DeleteVehicleFluentBuilder
Constructs a fluent builder for the DeleteVehicle
operation.
- The fluent builder is configurable:
vehicle_name(impl Into<String>)
/set_vehicle_name(Option<String>)
:
required: trueThe ID of the vehicle to delete.
- On success, responds with
DeleteVehicleOutput
with field(s):vehicle_name(String)
:The ID of the deleted vehicle.
arn(String)
:The Amazon Resource Name (ARN) of the deleted vehicle.
- On failure, responds with
SdkError<DeleteVehicleError>
Source§impl Client
impl Client
Sourcepub fn disassociate_vehicle_fleet(
&self,
) -> DisassociateVehicleFleetFluentBuilder
pub fn disassociate_vehicle_fleet( &self, ) -> DisassociateVehicleFleetFluentBuilder
Constructs a fluent builder for the DisassociateVehicleFleet
operation.
- The fluent builder is configurable:
vehicle_name(impl Into<String>)
/set_vehicle_name(Option<String>)
:
required: trueThe unique ID of the vehicle to disassociate from the fleet.
fleet_id(impl Into<String>)
/set_fleet_id(Option<String>)
:
required: trueThe unique ID of a fleet.
- On success, responds with
DisassociateVehicleFleetOutput
- On failure, responds with
SdkError<DisassociateVehicleFleetError>
Source§impl Client
impl Client
Sourcepub fn get_campaign(&self) -> GetCampaignFluentBuilder
pub fn get_campaign(&self) -> GetCampaignFluentBuilder
Constructs a fluent builder for the GetCampaign
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the campaign to retrieve information about.
- On success, responds with
GetCampaignOutput
with field(s):name(Option<String>)
:The name of the campaign.
arn(Option<String>)
:The Amazon Resource Name (ARN) of the campaign.
description(Option<String>)
:The description of the campaign.
signal_catalog_arn(Option<String>)
:The ARN of a signal catalog.
target_arn(Option<String>)
:The ARN of the vehicle or the fleet targeted by the campaign.
status(Option<CampaignStatus>)
:The state of the campaign. The status can be one of:
CREATING
,WAITING_FOR_APPROVAL
,RUNNING
, andSUSPENDED
.start_time(Option<DateTime>)
:The time, in milliseconds, to deliver a campaign after it was approved.
expiry_time(Option<DateTime>)
:The time the campaign expires, in seconds since epoch (January 1, 1970 at midnight UTC time). Vehicle data won’t be collected after the campaign expires.
post_trigger_collection_duration(Option<i64>)
:How long (in seconds) to collect raw data after a triggering event initiates the collection.
diagnostics_mode(Option<DiagnosticsMode>)
:Option for a vehicle to send diagnostic trouble codes to Amazon Web Services IoT FleetWise.
spooling_mode(Option<SpoolingMode>)
:Whether to store collected data after a vehicle lost a connection with the cloud. After a connection is re-established, the data is automatically forwarded to Amazon Web Services IoT FleetWise.
compression(Option<Compression>)
:Whether to compress signals before transmitting data to Amazon Web Services IoT FleetWise. If
OFF
is specified, the signals aren’t compressed. If it’s not specified,SNAPPY
is used.priority(Option<i32>)
:A number indicating the priority of one campaign over another campaign for a certain vehicle or fleet. A campaign with the lowest value is deployed to vehicles before any other campaigns.
signals_to_collect(Option<Vec::<SignalInformation>>)
:Information about a list of signals to collect data on.
collection_scheme(Option<CollectionScheme>)
:Information about the data collection scheme associated with the campaign.
data_extra_dimensions(Option<Vec::<String>>)
:A list of vehicle attributes associated with the campaign.
creation_time(Option<DateTime>)
:The time the campaign was created in seconds since epoch (January 1, 1970 at midnight UTC time).
last_modification_time(Option<DateTime>)
:The last time the campaign was modified.
data_destination_configs(Option<Vec::<DataDestinationConfig>>)
:The destination where the campaign sends data. You can send data to an MQTT topic, or store it in Amazon S3 or Amazon Timestream.
MQTT is the publish/subscribe messaging protocol used by Amazon Web Services IoT to communicate with your devices.
Amazon S3 optimizes the cost of data storage and provides additional mechanisms to use vehicle data, such as data lakes, centralized data storage, data processing pipelines, and analytics.
You can use Amazon Timestream to access and analyze time series data, and Timestream to query vehicle data so that you can identify trends and patterns.
data_partitions(Option<Vec::<DataPartition>>)
:The data partitions associated with the signals collected from the vehicle.
signals_to_fetch(Option<Vec::<SignalFetchInformation>>)
:Information about a list of signals to fetch data from.
- On failure, responds with
SdkError<GetCampaignError>
Source§impl Client
impl Client
Sourcepub fn get_decoder_manifest(&self) -> GetDecoderManifestFluentBuilder
pub fn get_decoder_manifest(&self) -> GetDecoderManifestFluentBuilder
Constructs a fluent builder for the GetDecoderManifest
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the decoder manifest to retrieve information about.
- On success, responds with
GetDecoderManifestOutput
with field(s):name(String)
:The name of the decoder manifest.
arn(String)
:The Amazon Resource Name (ARN) of the decoder manifest.
description(Option<String>)
:A brief description of the decoder manifest.
model_manifest_arn(Option<String>)
:The ARN of a vehicle model (model manifest) associated with the decoder manifest.
status(Option<ManifestStatus>)
:The state of the decoder manifest. If the status is
ACTIVE
, the decoder manifest can’t be edited. If the status is markedDRAFT
, you can edit the decoder manifest.creation_time(DateTime)
:The time the decoder manifest was created in seconds since epoch (January 1, 1970 at midnight UTC time).
last_modification_time(DateTime)
:The time the decoder manifest was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
message(Option<String>)
:The detailed message for the decoder manifest. When a decoder manifest is in an
INVALID
status, the message contains detailed reason and help information.
- On failure, responds with
SdkError<GetDecoderManifestError>
Source§impl Client
impl Client
Sourcepub fn get_encryption_configuration(
&self,
) -> GetEncryptionConfigurationFluentBuilder
pub fn get_encryption_configuration( &self, ) -> GetEncryptionConfigurationFluentBuilder
Constructs a fluent builder for the GetEncryptionConfiguration
operation.
- The fluent builder takes no input, just
send
it. - On success, responds with
GetEncryptionConfigurationOutput
with field(s):kms_key_id(Option<String>)
:The ID of the KMS key that is used for encryption.
encryption_status(EncryptionStatus)
:The encryption status.
encryption_type(EncryptionType)
:The type of encryption. Set to
KMS_BASED_ENCRYPTION
to use a KMS key that you own and manage. Set toFLEETWISE_DEFAULT_ENCRYPTION
to use an Amazon Web Services managed key that is owned by the Amazon Web Services IoT FleetWise service account.error_message(Option<String>)
:The error message that describes why encryption settings couldn’t be configured, if applicable.
creation_time(Option<DateTime>)
:The time when encryption was configured in seconds since epoch (January 1, 1970 at midnight UTC time).
last_modification_time(Option<DateTime>)
:The time when encryption was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
- On failure, responds with
SdkError<GetEncryptionConfigurationError>
Source§impl Client
impl Client
Sourcepub fn get_fleet(&self) -> GetFleetFluentBuilder
pub fn get_fleet(&self) -> GetFleetFluentBuilder
Constructs a fluent builder for the GetFleet
operation.
- The fluent builder is configurable:
fleet_id(impl Into<String>)
/set_fleet_id(Option<String>)
:
required: trueThe ID of the fleet to retrieve information about.
- On success, responds with
GetFleetOutput
with field(s):id(String)
:The ID of the fleet.
arn(String)
:The Amazon Resource Name (ARN) of the fleet.
description(Option<String>)
:A brief description of the fleet.
signal_catalog_arn(String)
:The ARN of a signal catalog associated with the fleet.
creation_time(DateTime)
:The time the fleet was created in seconds since epoch (January 1, 1970 at midnight UTC time).
last_modification_time(DateTime)
:The time the fleet was last updated, in seconds since epoch (January 1, 1970 at midnight UTC time).
- On failure, responds with
SdkError<GetFleetError>
Source§impl Client
impl Client
Sourcepub fn get_logging_options(&self) -> GetLoggingOptionsFluentBuilder
pub fn get_logging_options(&self) -> GetLoggingOptionsFluentBuilder
Constructs a fluent builder for the GetLoggingOptions
operation.
- The fluent builder takes no input, just
send
it. - On success, responds with
GetLoggingOptionsOutput
with field(s):cloud_watch_log_delivery(Option<CloudWatchLogDeliveryOptions>)
:Returns information about log delivery to Amazon CloudWatch Logs.
- On failure, responds with
SdkError<GetLoggingOptionsError>
Source§impl Client
impl Client
Sourcepub fn get_model_manifest(&self) -> GetModelManifestFluentBuilder
pub fn get_model_manifest(&self) -> GetModelManifestFluentBuilder
Constructs a fluent builder for the GetModelManifest
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the vehicle model to retrieve information about.
- On success, responds with
GetModelManifestOutput
with field(s):name(String)
:The name of the vehicle model.
arn(String)
:The Amazon Resource Name (ARN) of the vehicle model.
description(Option<String>)
:A brief description of the vehicle model.
signal_catalog_arn(Option<String>)
:The ARN of the signal catalog associated with the vehicle model.
status(Option<ManifestStatus>)
:The state of the vehicle model. If the status is
ACTIVE
, the vehicle model can’t be edited. You can edit the vehicle model if the status is markedDRAFT
.creation_time(DateTime)
:The time the vehicle model was created, in seconds since epoch (January 1, 1970 at midnight UTC time).
last_modification_time(DateTime)
:The last time the vehicle model was modified.
- On failure, responds with
SdkError<GetModelManifestError>
Source§impl Client
impl Client
Sourcepub fn get_register_account_status(
&self,
) -> GetRegisterAccountStatusFluentBuilder
pub fn get_register_account_status( &self, ) -> GetRegisterAccountStatusFluentBuilder
Constructs a fluent builder for the GetRegisterAccountStatus
operation.
- The fluent builder takes no input, just
send
it. - On success, responds with
GetRegisterAccountStatusOutput
with field(s):customer_account_id(String)
:The unique ID of the Amazon Web Services account, provided at account creation.
account_status(RegistrationStatus)
:The status of registering your account and resources. The status can be one of:
-
REGISTRATION_SUCCESS
- The Amazon Web Services resource is successfully registered. -
REGISTRATION_PENDING
- Amazon Web Services IoT FleetWise is processing the registration request. This process takes approximately five minutes to complete. -
REGISTRATION_FAILURE
- Amazon Web Services IoT FleetWise can’t register the AWS resource. Try again later.
-
timestream_registration_response(Option<TimestreamRegistrationResponse>)
:Information about the registered Amazon Timestream resources or errors, if any.
iam_registration_response(Option<IamRegistrationResponse>)
:Information about the registered IAM resources or errors, if any.
creation_time(DateTime)
:The time the account was registered, in seconds since epoch (January 1, 1970 at midnight UTC time).
last_modification_time(DateTime)
:The time this registration was last updated, in seconds since epoch (January 1, 1970 at midnight UTC time).
- On failure, responds with
SdkError<GetRegisterAccountStatusError>
Source§impl Client
impl Client
Sourcepub fn get_signal_catalog(&self) -> GetSignalCatalogFluentBuilder
pub fn get_signal_catalog(&self) -> GetSignalCatalogFluentBuilder
Constructs a fluent builder for the GetSignalCatalog
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the signal catalog to retrieve information about.
- On success, responds with
GetSignalCatalogOutput
with field(s):name(String)
:The name of the signal catalog.
arn(String)
:The Amazon Resource Name (ARN) of the signal catalog.
description(Option<String>)
:A brief description of the signal catalog.
node_counts(Option<NodeCounts>)
:The total number of network nodes specified in a signal catalog.
creation_time(DateTime)
:The time the signal catalog was created in seconds since epoch (January 1, 1970 at midnight UTC time).
last_modification_time(DateTime)
:The last time the signal catalog was modified.
- On failure, responds with
SdkError<GetSignalCatalogError>
Source§impl Client
impl Client
Sourcepub fn get_state_template(&self) -> GetStateTemplateFluentBuilder
pub fn get_state_template(&self) -> GetStateTemplateFluentBuilder
Constructs a fluent builder for the GetStateTemplate
operation.
- The fluent builder is configurable:
identifier(impl Into<String>)
/set_identifier(Option<String>)
:
required: trueThe unique ID of the state template.
- On success, responds with
GetStateTemplateOutput
with field(s):name(Option<String>)
:The name of the state template.
arn(Option<String>)
:The Amazon Resource Name (ARN) of the state template.
description(Option<String>)
:A brief description of the state template.
signal_catalog_arn(Option<String>)
:The ARN of the signal catalog associated with the state template.
state_template_properties(Option<Vec::<String>>)
:A list of signals from which data is collected. The state template properties contain the fully qualified names of the signals.
data_extra_dimensions(Option<Vec::<String>>)
:A list of vehicle attributes associated with the payload published on the state template’s MQTT topic.
Default: An empty array
metadata_extra_dimensions(Option<Vec::<String>>)
:A list of vehicle attributes to associate with user properties of the messages published on the state template’s MQTT topic.
Default: An empty array
creation_time(Option<DateTime>)
:The time the state template was created in seconds since epoch (January 1, 1970 at midnight UTC time).
last_modification_time(Option<DateTime>)
:The time the state template was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
id(Option<String>)
:The unique ID of the state template.
- On failure, responds with
SdkError<GetStateTemplateError>
Source§impl Client
impl Client
Sourcepub fn get_vehicle(&self) -> GetVehicleFluentBuilder
pub fn get_vehicle(&self) -> GetVehicleFluentBuilder
Constructs a fluent builder for the GetVehicle
operation.
- The fluent builder is configurable:
vehicle_name(impl Into<String>)
/set_vehicle_name(Option<String>)
:
required: trueThe ID of the vehicle to retrieve information about.
- On success, responds with
GetVehicleOutput
with field(s):vehicle_name(Option<String>)
:The ID of the vehicle.
arn(Option<String>)
:The Amazon Resource Name (ARN) of the vehicle to retrieve information about.
model_manifest_arn(Option<String>)
:The ARN of a vehicle model (model manifest) associated with the vehicle.
decoder_manifest_arn(Option<String>)
:The ARN of a decoder manifest associated with the vehicle.
attributes(Option<HashMap::<String, String>>)
:Static information about a vehicle in a key-value pair. For example:
“engineType”
:“1.3 L R2”
state_templates(Option<Vec::<StateTemplateAssociation>>)
:State templates associated with the vehicle.
creation_time(Option<DateTime>)
:The time the vehicle was created in seconds since epoch (January 1, 1970 at midnight UTC time).
last_modification_time(Option<DateTime>)
:The time the vehicle was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
- On failure, responds with
SdkError<GetVehicleError>
Source§impl Client
impl Client
Sourcepub fn get_vehicle_status(&self) -> GetVehicleStatusFluentBuilder
pub fn get_vehicle_status(&self) -> GetVehicleStatusFluentBuilder
Constructs a fluent builder for the GetVehicleStatus
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseA pagination token for the next set of results.
If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. To retrieve the next set of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value. This parameter is only supported for resources of typeCAMPAIGN
.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return, between 1 and 100, inclusive. This parameter is only supported for resources of type
CAMPAIGN
.vehicle_name(impl Into<String>)
/set_vehicle_name(Option<String>)
:
required: trueThe ID of the vehicle to retrieve information about.
- On success, responds with
GetVehicleStatusOutput
with field(s):campaigns(Option<Vec::<VehicleStatus>>)
:Lists information about the state of the vehicle with deployed campaigns.
next_token(Option<String>)
:The token to retrieve the next set of results, or
null
if there are no more results.
- On failure, responds with
SdkError<GetVehicleStatusError>
Source§impl Client
impl Client
Sourcepub fn import_decoder_manifest(&self) -> ImportDecoderManifestFluentBuilder
pub fn import_decoder_manifest(&self) -> ImportDecoderManifestFluentBuilder
Constructs a fluent builder for the ImportDecoderManifest
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the decoder manifest to import.
network_file_definitions(NetworkFileDefinition)
/set_network_file_definitions(Option<Vec::<NetworkFileDefinition>>)
:
required: trueThe file to load into an Amazon Web Services account.
- On success, responds with
ImportDecoderManifestOutput
with field(s):name(String)
:The name of the imported decoder manifest.
arn(String)
:The Amazon Resource Name (ARN) of the decoder manifest that was imported.
- On failure, responds with
SdkError<ImportDecoderManifestError>
Source§impl Client
impl Client
Sourcepub fn import_signal_catalog(&self) -> ImportSignalCatalogFluentBuilder
pub fn import_signal_catalog(&self) -> ImportSignalCatalogFluentBuilder
Constructs a fluent builder for the ImportSignalCatalog
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the signal catalog to import.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA brief description of the signal catalog.
vss(FormattedVss)
/set_vss(Option<FormattedVss>)
:
required: falseThe contents of the Vehicle Signal Specification (VSS) configuration. VSS is a precise language used to describe and model signals in vehicle networks.
tags(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: falseMetadata that can be used to manage the signal catalog.
- On success, responds with
ImportSignalCatalogOutput
with field(s):name(String)
:The name of the imported signal catalog.
arn(String)
:The Amazon Resource Name (ARN) of the imported signal catalog.
- On failure, responds with
SdkError<ImportSignalCatalogError>
Source§impl Client
impl Client
Sourcepub fn list_campaigns(&self) -> ListCampaignsFluentBuilder
pub fn list_campaigns(&self) -> ListCampaignsFluentBuilder
Constructs a fluent builder for the ListCampaigns
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseA pagination token for the next set of results.
If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. To retrieve the next set of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return, between 1 and 100, inclusive.
status(impl Into<String>)
/set_status(Option<String>)
:
required: falseAn optional parameter to filter the results by the status of each created campaign in your account. The status can be one of:
CREATING
,WAITING_FOR_APPROVAL
,RUNNING
, orSUSPENDED
.list_response_scope(ListResponseScope)
/set_list_response_scope(Option<ListResponseScope>)
:
required: falseWhen you set the
listResponseScope
parameter toMETADATA_ONLY
, the list response includes: campaign name, Amazon Resource Name (ARN), creation time, and last modification time.
- On success, responds with
ListCampaignsOutput
with field(s):campaign_summaries(Option<Vec::<CampaignSummary>>)
:A summary of information about each campaign.
next_token(Option<String>)
:The token to retrieve the next set of results, or
null
if there are no more results.
- On failure, responds with
SdkError<ListCampaignsError>
Source§impl Client
impl Client
Sourcepub fn list_decoder_manifest_network_interfaces(
&self,
) -> ListDecoderManifestNetworkInterfacesFluentBuilder
pub fn list_decoder_manifest_network_interfaces( &self, ) -> ListDecoderManifestNetworkInterfacesFluentBuilder
Constructs a fluent builder for the ListDecoderManifestNetworkInterfaces
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the decoder manifest to list information about.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseA pagination token for the next set of results.
If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. To retrieve the next set of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return, between 1 and 100, inclusive.
- On success, responds with
ListDecoderManifestNetworkInterfacesOutput
with field(s):network_interfaces(Option<Vec::<NetworkInterface>>)
:A list of information about network interfaces.
next_token(Option<String>)
:The token to retrieve the next set of results, or
null
if there are no more results.
- On failure, responds with
SdkError<ListDecoderManifestNetworkInterfacesError>
Source§impl Client
impl Client
Sourcepub fn list_decoder_manifest_signals(
&self,
) -> ListDecoderManifestSignalsFluentBuilder
pub fn list_decoder_manifest_signals( &self, ) -> ListDecoderManifestSignalsFluentBuilder
Constructs a fluent builder for the ListDecoderManifestSignals
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the decoder manifest to list information about.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseA pagination token for the next set of results.
If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. To retrieve the next set of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return, between 1 and 100, inclusive.
- On success, responds with
ListDecoderManifestSignalsOutput
with field(s):signal_decoders(Option<Vec::<SignalDecoder>>)
:Information about a list of signals to decode.
next_token(Option<String>)
:The token to retrieve the next set of results, or
null
if there are no more results.
- On failure, responds with
SdkError<ListDecoderManifestSignalsError>
Source§impl Client
impl Client
Sourcepub fn list_decoder_manifests(&self) -> ListDecoderManifestsFluentBuilder
pub fn list_decoder_manifests(&self) -> ListDecoderManifestsFluentBuilder
Constructs a fluent builder for the ListDecoderManifests
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
model_manifest_arn(impl Into<String>)
/set_model_manifest_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) of a vehicle model (model manifest) associated with the decoder manifest.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseA pagination token for the next set of results.
If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. To retrieve the next set of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return, between 1 and 100, inclusive.
list_response_scope(ListResponseScope)
/set_list_response_scope(Option<ListResponseScope>)
:
required: falseWhen you set the
listResponseScope
parameter toMETADATA_ONLY
, the list response includes: decoder manifest name, Amazon Resource Name (ARN), creation time, and last modification time.
- On success, responds with
ListDecoderManifestsOutput
with field(s):summaries(Option<Vec::<DecoderManifestSummary>>)
:A list of information about each decoder manifest.
next_token(Option<String>)
:The token to retrieve the next set of results, or
null
if there are no more results.
- On failure, responds with
SdkError<ListDecoderManifestsError>
Source§impl Client
impl Client
Sourcepub fn list_fleets(&self) -> ListFleetsFluentBuilder
pub fn list_fleets(&self) -> ListFleetsFluentBuilder
Constructs a fluent builder for the ListFleets
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseA pagination token for the next set of results.
If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. To retrieve the next set of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return, between 1 and 100, inclusive.
list_response_scope(ListResponseScope)
/set_list_response_scope(Option<ListResponseScope>)
:
required: falseWhen you set the
listResponseScope
parameter toMETADATA_ONLY
, the list response includes: fleet ID, Amazon Resource Name (ARN), creation time, and last modification time.
- On success, responds with
ListFleetsOutput
with field(s):fleet_summaries(Option<Vec::<FleetSummary>>)
:A list of information for each fleet.
next_token(Option<String>)
:The token to retrieve the next set of results, or
null
if there are no more results.
- On failure, responds with
SdkError<ListFleetsError>
Source§impl Client
impl Client
Sourcepub fn list_fleets_for_vehicle(&self) -> ListFleetsForVehicleFluentBuilder
pub fn list_fleets_for_vehicle(&self) -> ListFleetsForVehicleFluentBuilder
Constructs a fluent builder for the ListFleetsForVehicle
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
vehicle_name(impl Into<String>)
/set_vehicle_name(Option<String>)
:
required: trueThe ID of the vehicle to retrieve information about.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseA pagination token for the next set of results.
If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. To retrieve the next set of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return, between 1 and 100, inclusive.
- On success, responds with
ListFleetsForVehicleOutput
with field(s):fleets(Option<Vec::<String>>)
:A list of fleet IDs that the vehicle is associated with.
next_token(Option<String>)
:The token to retrieve the next set of results, or
null
if there are no more results.
- On failure, responds with
SdkError<ListFleetsForVehicleError>
Source§impl Client
impl Client
Sourcepub fn list_model_manifest_nodes(&self) -> ListModelManifestNodesFluentBuilder
pub fn list_model_manifest_nodes(&self) -> ListModelManifestNodesFluentBuilder
Constructs a fluent builder for the ListModelManifestNodes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the vehicle model to list information about.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseA pagination token for the next set of results.
If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. To retrieve the next set of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return, between 1 and 100, inclusive.
- On success, responds with
ListModelManifestNodesOutput
with field(s):nodes(Option<Vec::<Node>>)
:A list of information about nodes.
next_token(Option<String>)
:The token to retrieve the next set of results, or
null
if there are no more results.
- On failure, responds with
SdkError<ListModelManifestNodesError>
Source§impl Client
impl Client
Sourcepub fn list_model_manifests(&self) -> ListModelManifestsFluentBuilder
pub fn list_model_manifests(&self) -> ListModelManifestsFluentBuilder
Constructs a fluent builder for the ListModelManifests
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
signal_catalog_arn(impl Into<String>)
/set_signal_catalog_arn(Option<String>)
:
required: falseThe ARN of a signal catalog. If you specify a signal catalog, only the vehicle models associated with it are returned.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseA pagination token for the next set of results.
If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. To retrieve the next set of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return, between 1 and 100, inclusive.
list_response_scope(ListResponseScope)
/set_list_response_scope(Option<ListResponseScope>)
:
required: falseWhen you set the
listResponseScope
parameter toMETADATA_ONLY
, the list response includes: model manifest name, Amazon Resource Name (ARN), creation time, and last modification time.
- On success, responds with
ListModelManifestsOutput
with field(s):summaries(Option<Vec::<ModelManifestSummary>>)
:A list of information about vehicle models.
next_token(Option<String>)
:The token to retrieve the next set of results, or
null
if there are no more results.
- On failure, responds with
SdkError<ListModelManifestsError>
Source§impl Client
impl Client
Sourcepub fn list_signal_catalog_nodes(&self) -> ListSignalCatalogNodesFluentBuilder
pub fn list_signal_catalog_nodes(&self) -> ListSignalCatalogNodesFluentBuilder
Constructs a fluent builder for the ListSignalCatalogNodes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the signal catalog to list information about.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseA pagination token for the next set of results.
If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. To retrieve the next set of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return, between 1 and 100, inclusive.
signal_node_type(SignalNodeType)
/set_signal_node_type(Option<SignalNodeType>)
:
required: falseThe type of node in the signal catalog.
- On success, responds with
ListSignalCatalogNodesOutput
with field(s):nodes(Option<Vec::<Node>>)
:A list of information about nodes.
next_token(Option<String>)
:The token to retrieve the next set of results, or
null
if there are no more results.
- On failure, responds with
SdkError<ListSignalCatalogNodesError>
Source§impl Client
impl Client
Sourcepub fn list_signal_catalogs(&self) -> ListSignalCatalogsFluentBuilder
pub fn list_signal_catalogs(&self) -> ListSignalCatalogsFluentBuilder
Constructs a fluent builder for the ListSignalCatalogs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseA pagination token for the next set of results.
If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. To retrieve the next set of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return, between 1 and 100, inclusive.
- On success, responds with
ListSignalCatalogsOutput
with field(s):summaries(Option<Vec::<SignalCatalogSummary>>)
:A list of information about each signal catalog.
next_token(Option<String>)
:The token to retrieve the next set of results, or
null
if there are no more results.
- On failure, responds with
SdkError<ListSignalCatalogsError>
Source§impl Client
impl Client
Sourcepub fn list_state_templates(&self) -> ListStateTemplatesFluentBuilder
pub fn list_state_templates(&self) -> ListStateTemplatesFluentBuilder
Constructs a fluent builder for the ListStateTemplates
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to retrieve the next set of results, or
null
if there are no more results.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return, between 1 and 100, inclusive.
list_response_scope(ListResponseScope)
/set_list_response_scope(Option<ListResponseScope>)
:
required: falseWhen you set the
listResponseScope
parameter toMETADATA_ONLY
, the list response includes: state template ID, Amazon Resource Name (ARN), creation time, and last modification time.
- On success, responds with
ListStateTemplatesOutput
with field(s):summaries(Option<Vec::<StateTemplateSummary>>)
:A list of information about each state template.
next_token(Option<String>)
:The token to retrieve the next set of results, or
null
if there are no more results.
- On failure, responds with
SdkError<ListStateTemplatesError>
Source§impl Client
impl Client
Constructs a fluent builder for the ListTagsForResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:
required: trueThe ARN of the resource.
- On success, responds with
ListTagsForResourceOutput
with field(s):tags(Option<Vec::<Tag>>)
:The list of tags assigned to the resource.
- On failure, responds with
SdkError<ListTagsForResourceError>
Source§impl Client
impl Client
Sourcepub fn list_vehicles(&self) -> ListVehiclesFluentBuilder
pub fn list_vehicles(&self) -> ListVehiclesFluentBuilder
Constructs a fluent builder for the ListVehicles
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
model_manifest_arn(impl Into<String>)
/set_model_manifest_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) of a vehicle model (model manifest). You can use this optional parameter to list only the vehicles created from a certain vehicle model.
attribute_names(impl Into<String>)
/set_attribute_names(Option<Vec::<String>>)
:
required: falseThe fully qualified names of the attributes. You can use this optional parameter to list the vehicles containing all the attributes in the request. For example,
attributeNames
could be “Vehicle.Body.Engine.Type, Vehicle.Color
” and the correspondingattributeValues
could be “1.3 L R2, Blue
” . In this case, the API will filter vehicles with an attribute nameVehicle.Body.Engine.Type
that contains a value of1.3 L R2
AND an attribute nameVehicle.Color
that contains a value of “Blue
”. A request must contain unique values for theattributeNames
filter and the matching number ofattributeValues
filters to return the subset of vehicles that match the attributes filter condition.attribute_values(impl Into<String>)
/set_attribute_values(Option<Vec::<String>>)
:
required: falseStatic information about a vehicle attribute value in string format. You can use this optional parameter in conjunction with
attributeNames
to list the vehicles containing all theattributeValues
corresponding to theattributeNames
filter. For example,attributeValues
could be “1.3 L R2, Blue
” and the correspondingattributeNames
filter could be “Vehicle.Body.Engine.Type, Vehicle.Color
”. In this case, the API will filter vehicles with attribute nameVehicle.Body.Engine.Type
that contains a value of1.3 L R2
AND an attribute nameVehicle.Color
that contains a value of “Blue
”. A request must contain unique values for theattributeNames
filter and the matching number ofattributeValues
filter to return the subset of vehicles that match the attributes filter condition.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseA pagination token for the next set of results.
If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. To retrieve the next set of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return, between 1 and 100, inclusive.
list_response_scope(ListResponseScope)
/set_list_response_scope(Option<ListResponseScope>)
:
required: falseWhen you set the
listResponseScope
parameter toMETADATA_ONLY
, the list response includes: vehicle name, Amazon Resource Name (ARN), creation time, and last modification time.
- On success, responds with
ListVehiclesOutput
with field(s):vehicle_summaries(Option<Vec::<VehicleSummary>>)
:A list of vehicles and information about them.
next_token(Option<String>)
:The token to retrieve the next set of results, or
null
if there are no more results.
- On failure, responds with
SdkError<ListVehiclesError>
Source§impl Client
impl Client
Sourcepub fn list_vehicles_in_fleet(&self) -> ListVehiclesInFleetFluentBuilder
pub fn list_vehicles_in_fleet(&self) -> ListVehiclesInFleetFluentBuilder
Constructs a fluent builder for the ListVehiclesInFleet
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
fleet_id(impl Into<String>)
/set_fleet_id(Option<String>)
:
required: trueThe ID of a fleet.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseA pagination token for the next set of results.
If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. To retrieve the next set of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return, between 1 and 100, inclusive.
- On success, responds with
ListVehiclesInFleetOutput
with field(s):vehicles(Option<Vec::<String>>)
:A list of vehicles associated with the fleet.
next_token(Option<String>)
:The token to retrieve the next set of results, or
null
if there are no more results.
- On failure, responds with
SdkError<ListVehiclesInFleetError>
Source§impl Client
impl Client
Sourcepub fn put_encryption_configuration(
&self,
) -> PutEncryptionConfigurationFluentBuilder
pub fn put_encryption_configuration( &self, ) -> PutEncryptionConfigurationFluentBuilder
Constructs a fluent builder for the PutEncryptionConfiguration
operation.
- The fluent builder is configurable:
kms_key_id(impl Into<String>)
/set_kms_key_id(Option<String>)
:
required: falseThe ID of the KMS key that is used for encryption.
encryption_type(EncryptionType)
/set_encryption_type(Option<EncryptionType>)
:
required: trueThe type of encryption. Choose
KMS_BASED_ENCRYPTION
to use a KMS key orFLEETWISE_DEFAULT_ENCRYPTION
to use an Amazon Web Services managed key.
- On success, responds with
PutEncryptionConfigurationOutput
with field(s):kms_key_id(Option<String>)
:The ID of the KMS key that is used for encryption.
encryption_status(EncryptionStatus)
:The encryption status.
encryption_type(EncryptionType)
:The type of encryption. Set to
KMS_BASED_ENCRYPTION
to use an KMS key that you own and manage. Set toFLEETWISE_DEFAULT_ENCRYPTION
to use an Amazon Web Services managed key that is owned by the Amazon Web Services IoT FleetWise service account.
- On failure, responds with
SdkError<PutEncryptionConfigurationError>
Source§impl Client
impl Client
Sourcepub fn put_logging_options(&self) -> PutLoggingOptionsFluentBuilder
pub fn put_logging_options(&self) -> PutLoggingOptionsFluentBuilder
Constructs a fluent builder for the PutLoggingOptions
operation.
- The fluent builder is configurable:
cloud_watch_log_delivery(CloudWatchLogDeliveryOptions)
/set_cloud_watch_log_delivery(Option<CloudWatchLogDeliveryOptions>)
:
required: trueCreates or updates the log delivery option to Amazon CloudWatch Logs.
- On success, responds with
PutLoggingOptionsOutput
- On failure, responds with
SdkError<PutLoggingOptionsError>
Source§impl Client
impl Client
Sourcepub fn register_account(&self) -> RegisterAccountFluentBuilder
pub fn register_account(&self) -> RegisterAccountFluentBuilder
Constructs a fluent builder for the RegisterAccount
operation.
- The fluent builder is configurable:
timestream_resources(TimestreamResources)
/set_timestream_resources(Option<TimestreamResources>)
:
required: falseThe registered Amazon Timestream resources that Amazon Web Services IoT FleetWise edge agent software can transfer your vehicle data to.
iam_resources(IamResources)
/set_iam_resources(Option<IamResources>)
:
required: falseThe IAM resource that allows Amazon Web Services IoT FleetWise to send data to Amazon Timestream.
- On success, responds with
RegisterAccountOutput
with field(s):register_account_status(RegistrationStatus)
:The status of registering your Amazon Web Services account, IAM role, and Timestream resources.
timestream_resources(Option<TimestreamResources>)
:The registered Amazon Timestream resources that Amazon Web Services IoT FleetWise edge agent software can transfer your vehicle data to.
iam_resources(Option<IamResources>)
:The registered IAM resource that allows Amazon Web Services IoT FleetWise to send data to Amazon Timestream.
creation_time(DateTime)
:The time the account was registered, in seconds since epoch (January 1, 1970 at midnight UTC time).
last_modification_time(DateTime)
:The time this registration was last updated, in seconds since epoch (January 1, 1970 at midnight UTC time).
- On failure, responds with
SdkError<RegisterAccountError>
Source§impl Client
impl Client
Sourcepub fn tag_resource(&self) -> TagResourceFluentBuilder
pub fn tag_resource(&self) -> TagResourceFluentBuilder
Constructs a fluent builder for the TagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:
required: trueThe ARN of the resource.
tags(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: trueThe new or modified tags for the resource.
- On success, responds with
TagResourceOutput
- On failure, responds with
SdkError<TagResourceError>
Source§impl Client
impl Client
Sourcepub fn untag_resource(&self) -> UntagResourceFluentBuilder
pub fn untag_resource(&self) -> UntagResourceFluentBuilder
Constructs a fluent builder for the UntagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:
required: trueThe ARN of the resource.
tag_keys(impl Into<String>)
/set_tag_keys(Option<Vec::<String>>)
:
required: trueA list of the keys of the tags to be removed from the resource.
- On success, responds with
UntagResourceOutput
- On failure, responds with
SdkError<UntagResourceError>
Source§impl Client
impl Client
Sourcepub fn update_campaign(&self) -> UpdateCampaignFluentBuilder
pub fn update_campaign(&self) -> UpdateCampaignFluentBuilder
Constructs a fluent builder for the UpdateCampaign
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the campaign to update.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the campaign.
data_extra_dimensions(impl Into<String>)
/set_data_extra_dimensions(Option<Vec::<String>>)
:
required: falseA list of vehicle attributes to associate with a signal.
Default: An empty array
action(UpdateCampaignAction)
/set_action(Option<UpdateCampaignAction>)
:
required: trueSpecifies how to update a campaign. The action can be one of the following:
-
APPROVE
- To approve delivering a data collection scheme to vehicles. -
SUSPEND
- To suspend collecting signal data. The campaign is deleted from vehicles and all vehicles in the suspended campaign will stop sending data. -
RESUME
- To reactivate theSUSPEND
campaign. The campaign is redeployed to all vehicles and the vehicles will resume sending data. -
UPDATE
- To update a campaign.
-
- On success, responds with
UpdateCampaignOutput
with field(s):arn(Option<String>)
:The Amazon Resource Name (ARN) of the campaign.
name(Option<String>)
:The name of the updated campaign.
status(Option<CampaignStatus>)
:The state of a campaign. The status can be one of:
-
CREATING
- Amazon Web Services IoT FleetWise is processing your request to create the campaign. -
WAITING_FOR_APPROVAL
- After a campaign is created, it enters theWAITING_FOR_APPROVAL
state. To allow Amazon Web Services IoT FleetWise to deploy the campaign to the target vehicle or fleet, use the API operation to approve the campaign. -
RUNNING
- The campaign is active. -
SUSPENDED
- The campaign is suspended. To resume the campaign, use the API operation.
-
- On failure, responds with
SdkError<UpdateCampaignError>
Source§impl Client
impl Client
Sourcepub fn update_decoder_manifest(&self) -> UpdateDecoderManifestFluentBuilder
pub fn update_decoder_manifest(&self) -> UpdateDecoderManifestFluentBuilder
Constructs a fluent builder for the UpdateDecoderManifest
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the decoder manifest to update.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA brief description of the decoder manifest to update.
signal_decoders_to_add(SignalDecoder)
/set_signal_decoders_to_add(Option<Vec::<SignalDecoder>>)
:
required: falseA list of information about decoding additional signals to add to the decoder manifest.
signal_decoders_to_update(SignalDecoder)
/set_signal_decoders_to_update(Option<Vec::<SignalDecoder>>)
:
required: falseA list of updated information about decoding signals to update in the decoder manifest.
signal_decoders_to_remove(impl Into<String>)
/set_signal_decoders_to_remove(Option<Vec::<String>>)
:
required: falseA list of signal decoders to remove from the decoder manifest.
network_interfaces_to_add(NetworkInterface)
/set_network_interfaces_to_add(Option<Vec::<NetworkInterface>>)
:
required: falseA list of information about the network interfaces to add to the decoder manifest.
network_interfaces_to_update(NetworkInterface)
/set_network_interfaces_to_update(Option<Vec::<NetworkInterface>>)
:
required: falseA list of information about the network interfaces to update in the decoder manifest.
network_interfaces_to_remove(impl Into<String>)
/set_network_interfaces_to_remove(Option<Vec::<String>>)
:
required: falseA list of network interfaces to remove from the decoder manifest.
status(ManifestStatus)
/set_status(Option<ManifestStatus>)
:
required: falseThe state of the decoder manifest. If the status is
ACTIVE
, the decoder manifest can’t be edited. If the status isDRAFT
, you can edit the decoder manifest.default_for_unmapped_signals(DefaultForUnmappedSignalsType)
/set_default_for_unmapped_signals(Option<DefaultForUnmappedSignalsType>)
:
required: falseUse default decoders for all unmapped signals in the model. You don’t need to provide any detailed decoding information.
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.
- On success, responds with
UpdateDecoderManifestOutput
with field(s):name(String)
:The name of the updated decoder manifest.
arn(String)
:The Amazon Resource Name (ARN) of the updated decoder manifest.
- On failure, responds with
SdkError<UpdateDecoderManifestError>
Source§impl Client
impl Client
Sourcepub fn update_fleet(&self) -> UpdateFleetFluentBuilder
pub fn update_fleet(&self) -> UpdateFleetFluentBuilder
Constructs a fluent builder for the UpdateFleet
operation.
- The fluent builder is configurable:
fleet_id(impl Into<String>)
/set_fleet_id(Option<String>)
:
required: trueThe ID of the fleet to update.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseAn updated description of the fleet.
- On success, responds with
UpdateFleetOutput
with field(s):id(Option<String>)
:The ID of the updated fleet.
arn(Option<String>)
:The Amazon Resource Name (ARN) of the updated fleet.
- On failure, responds with
SdkError<UpdateFleetError>
Source§impl Client
impl Client
Sourcepub fn update_model_manifest(&self) -> UpdateModelManifestFluentBuilder
pub fn update_model_manifest(&self) -> UpdateModelManifestFluentBuilder
Constructs a fluent builder for the UpdateModelManifest
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the vehicle model to update.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA brief description of the vehicle model.
nodes_to_add(impl Into<String>)
/set_nodes_to_add(Option<Vec::<String>>)
:
required: falseA list of
fullyQualifiedName
of nodes, which are a general abstraction of signals, to add to the vehicle model.nodes_to_remove(impl Into<String>)
/set_nodes_to_remove(Option<Vec::<String>>)
:
required: falseA list of
fullyQualifiedName
of nodes, which are a general abstraction of signals, to remove from the vehicle model.status(ManifestStatus)
/set_status(Option<ManifestStatus>)
:
required: falseThe state of the vehicle model. If the status is
ACTIVE
, the vehicle model can’t be edited. If the status isDRAFT
, you can edit the vehicle model.
- On success, responds with
UpdateModelManifestOutput
with field(s):name(String)
:The name of the updated vehicle model.
arn(String)
:The Amazon Resource Name (ARN) of the updated vehicle model.
- On failure, responds with
SdkError<UpdateModelManifestError>
Source§impl Client
impl Client
Sourcepub fn update_signal_catalog(&self) -> UpdateSignalCatalogFluentBuilder
pub fn update_signal_catalog(&self) -> UpdateSignalCatalogFluentBuilder
Constructs a fluent builder for the UpdateSignalCatalog
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the signal catalog to update.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA brief description of the signal catalog to update.
nodes_to_add(Node)
/set_nodes_to_add(Option<Vec::<Node>>)
:
required: falseA list of information about nodes to add to the signal catalog.
nodes_to_update(Node)
/set_nodes_to_update(Option<Vec::<Node>>)
:
required: falseA list of information about nodes to update in the signal catalog.
nodes_to_remove(impl Into<String>)
/set_nodes_to_remove(Option<Vec::<String>>)
:
required: falseA list of
fullyQualifiedName
of nodes to remove from the signal catalog.
- On success, responds with
UpdateSignalCatalogOutput
with field(s):name(String)
:The name of the updated signal catalog.
arn(String)
:The ARN of the updated signal catalog.
- On failure, responds with
SdkError<UpdateSignalCatalogError>
Source§impl Client
impl Client
Sourcepub fn update_state_template(&self) -> UpdateStateTemplateFluentBuilder
pub fn update_state_template(&self) -> UpdateStateTemplateFluentBuilder
Constructs a fluent builder for the UpdateStateTemplate
operation.
- The fluent builder is configurable:
identifier(impl Into<String>)
/set_identifier(Option<String>)
:
required: trueThe unique ID of the state template.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA brief description of the state template.
state_template_properties_to_add(impl Into<String>)
/set_state_template_properties_to_add(Option<Vec::<String>>)
:
required: falseAdd signals from which data is collected as part of the state template.
state_template_properties_to_remove(impl Into<String>)
/set_state_template_properties_to_remove(Option<Vec::<String>>)
:
required: falseRemove signals from which data is collected as part of the state template.
data_extra_dimensions(impl Into<String>)
/set_data_extra_dimensions(Option<Vec::<String>>)
:
required: falseA 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.Make
andVehicle.Attributes.Model
attributes, Amazon Web Services IoT FleetWise will enrich the protobuf encoded payload with those attributes in theextraDimensions
field.Default: An empty array
metadata_extra_dimensions(impl Into<String>)
/set_metadata_extra_dimensions(Option<Vec::<String>>)
:
required: falseA 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.Make
andVehicle.Attributes.Model
attributes, Amazon Web Services IoT FleetWise will include these attributes as User Properties with the MQTT message.
- On success, responds with
UpdateStateTemplateOutput
with field(s):name(Option<String>)
:The name of the state template.
arn(Option<String>)
:The Amazon Resource Name (ARN) of the state template.
id(Option<String>)
:The unique ID of the state template.
- On failure, responds with
SdkError<UpdateStateTemplateError>
Source§impl Client
impl Client
Sourcepub fn update_vehicle(&self) -> UpdateVehicleFluentBuilder
pub fn update_vehicle(&self) -> UpdateVehicleFluentBuilder
Constructs a fluent builder for the UpdateVehicle
operation.
- The fluent builder is configurable:
vehicle_name(impl Into<String>)
/set_vehicle_name(Option<String>)
:
required: trueThe unique ID of the vehicle to update.
model_manifest_arn(impl Into<String>)
/set_model_manifest_arn(Option<String>)
:
required: falseThe ARN of a vehicle model (model manifest) associated with the vehicle.
decoder_manifest_arn(impl Into<String>)
/set_decoder_manifest_arn(Option<String>)
:
required: falseThe ARN of the decoder manifest associated with this vehicle.
attributes(impl Into<String>, impl Into<String>)
/set_attributes(Option<HashMap::<String, String>>)
:
required: falseStatic information about a vehicle in a key-value pair. For example:
“engineType”
:“1.3 L R2”
attribute_update_mode(UpdateMode)
/set_attribute_update_mode(Option<UpdateMode>)
:
required: falseThe method the specified attributes will update the existing attributes on the vehicle. Use
Overwite
to replace the vehicle attributes with the specified attributes. Or useMerge
to combine all attributes.This is required if attributes are present in the input.
state_templates_to_add(StateTemplateAssociation)
/set_state_templates_to_add(Option<Vec::<StateTemplateAssociation>>)
:
required: falseAssociate state templates with the vehicle.
state_templates_to_remove(impl Into<String>)
/set_state_templates_to_remove(Option<Vec::<String>>)
:
required: falseRemove state templates from the vehicle.
state_templates_to_update(StateTemplateAssociation)
/set_state_templates_to_update(Option<Vec::<StateTemplateAssociation>>)
:
required: falseChange the
stateTemplateUpdateStrategy
of state templates already associated with the vehicle.
- On success, responds with
UpdateVehicleOutput
with field(s):vehicle_name(Option<String>)
:The ID of the updated vehicle.
arn(Option<String>)
:The ARN of the updated vehicle.
- On failure, responds with
SdkError<UpdateVehicleError>
Source§impl Client
impl Client
Sourcepub fn from_conf(conf: Config) -> Self
pub fn from_conf(conf: Config) -> Self
Creates a new client from the service Config
.
§Panics
This method will panic in the following cases:
- Retries or timeouts are enabled without a
sleep_impl
configured. - Identity caching is enabled without a
sleep_impl
andtime_source
configured. - No
behavior_version
is provided.
The panic message for each of these will have instructions on how to resolve them.
Source§impl Client
impl Client
Sourcepub fn new(sdk_config: &SdkConfig) -> Self
pub fn new(sdk_config: &SdkConfig) -> Self
Creates a new client from an SDK Config.
§Panics
- This method will panic if the
sdk_config
is missing an async sleep implementation. If you experience this panic, set thesleep_impl
on the Config passed into this function to fix it. - This method will panic if the
sdk_config
is missing an HTTP connector. If you experience this panic, set thehttp_connector
on the Config passed into this function to fix it. - This method will panic if no
BehaviorVersion
is provided. If you experience this panic, setbehavior_version
on the Config or enable thebehavior-version-latest
Cargo feature.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the foreground set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red()
and
green()
, which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg()
:
use yansi::{Paint, Color};
painted.fg(Color::White);
Set foreground color to white using white()
.
use yansi::Paint;
painted.white();
Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the background set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red()
and
on_green()
, which have the same functionality but
are pithier.
§Example
Set background color to red using fg()
:
use yansi::{Paint, Color};
painted.bg(Color::Red);
Set background color to red using on_red()
.
use yansi::Paint;
painted.on_red();
Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute
value
.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold()
and
underline()
, which have the same functionality
but are pithier.
§Example
Make text bold using attr()
:
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);
Make text bold using using bold()
.
use yansi::Paint;
painted.bold();
Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi
Quirk
value
.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask()
and
wrap()
, which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk()
:
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);
Enable wrapping using wrap()
.
use yansi::Paint;
painted.wrap();
Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition
value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted
only when both stdout
and stderr
are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);