pub(crate) fn type_erase_result<O, E>(
result: ::std::result::Result<O, E>,
) -> ::std::result::Result<
::aws_smithy_runtime_api::client::interceptors::context::Output,
::aws_smithy_runtime_api::client::orchestrator::OrchestratorError<::aws_smithy_runtime_api::client::interceptors::context::Error>,
>
where
O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
E: ::std::error::Error + std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
{
result
.map(|output| ::aws_smithy_runtime_api::client::interceptors::context::Output::erase(output))
.map_err(|error| ::aws_smithy_runtime_api::client::interceptors::context::Error::erase(error))
.map_err(::std::convert::Into::into)
}
pub fn parse_http_error_metadata(
_response_status: u16,
response_headers: &::aws_smithy_runtime_api::http::Headers,
response_body: &[u8],
) -> ::std::result::Result<::aws_smithy_types::error::metadata::Builder, ::aws_smithy_json::deserialize::error::DeserializeError> {
crate::json_errors::parse_error_metadata(response_body, response_headers)
}
pub(crate) mod shape_associate_vehicle_fleet;
pub(crate) mod shape_batch_create_vehicle;
pub(crate) mod shape_batch_update_vehicle;
pub(crate) mod shape_create_campaign;
pub(crate) mod shape_create_decoder_manifest;
pub(crate) mod shape_create_fleet;
pub(crate) mod shape_create_model_manifest;
pub(crate) mod shape_create_signal_catalog;
pub(crate) mod shape_create_state_template;
pub(crate) mod shape_create_vehicle;
pub(crate) mod shape_delete_campaign;
pub(crate) mod shape_delete_decoder_manifest;
pub(crate) mod shape_delete_fleet;
pub(crate) mod shape_delete_model_manifest;
pub(crate) mod shape_delete_signal_catalog;
pub(crate) mod shape_delete_state_template;
pub(crate) mod shape_delete_vehicle;
pub(crate) mod shape_disassociate_vehicle_fleet;
pub(crate) mod shape_get_campaign;
pub(crate) mod shape_get_decoder_manifest;
pub(crate) mod shape_get_encryption_configuration;
pub(crate) mod shape_get_fleet;
pub(crate) mod shape_get_logging_options;
pub(crate) mod shape_get_model_manifest;
pub(crate) mod shape_get_register_account_status;
pub(crate) mod shape_get_signal_catalog;
pub(crate) mod shape_get_state_template;
pub(crate) mod shape_get_vehicle;
pub(crate) mod shape_get_vehicle_status;
pub(crate) mod shape_import_decoder_manifest;
pub(crate) mod shape_import_signal_catalog;
pub(crate) mod shape_list_campaigns;
pub(crate) mod shape_list_decoder_manifest_network_interfaces;
pub(crate) mod shape_list_decoder_manifest_signals;
pub(crate) mod shape_list_decoder_manifests;
pub(crate) mod shape_list_fleets;
pub(crate) mod shape_list_fleets_for_vehicle;
pub(crate) mod shape_list_model_manifest_nodes;
pub(crate) mod shape_list_model_manifests;
pub(crate) mod shape_list_signal_catalog_nodes;
pub(crate) mod shape_list_signal_catalogs;
pub(crate) mod shape_list_state_templates;
pub(crate) mod shape_list_tags_for_resource;
pub(crate) mod shape_list_vehicles;
pub(crate) mod shape_list_vehicles_in_fleet;
pub(crate) mod shape_put_encryption_configuration;
pub(crate) mod shape_put_logging_options;
pub(crate) mod shape_register_account;
pub(crate) mod shape_tag_resource;
pub(crate) mod shape_untag_resource;
pub(crate) mod shape_update_campaign;
pub(crate) mod shape_update_decoder_manifest;
pub(crate) mod shape_update_fleet;
pub(crate) mod shape_update_model_manifest;
pub(crate) mod shape_update_signal_catalog;
pub(crate) mod shape_update_state_template;
pub(crate) mod shape_update_vehicle;
pub(crate) fn or_empty_doc(data: &[u8]) -> &[u8] {
if data.is_empty() {
b"{}"
} else {
data
}
}
pub(crate) mod shape_access_denied_exception;
pub(crate) mod shape_associate_vehicle_fleet_input;
pub(crate) mod shape_batch_create_vehicle_input;
pub(crate) mod shape_batch_update_vehicle_input;
pub(crate) mod shape_conflict_exception;
pub(crate) mod shape_create_campaign_input;
pub(crate) mod shape_create_decoder_manifest_input;
pub(crate) mod shape_create_fleet_input;
pub(crate) mod shape_create_model_manifest_input;
pub(crate) mod shape_create_signal_catalog_input;
pub(crate) mod shape_create_state_template_input;
pub(crate) mod shape_create_vehicle_input;
pub(crate) mod shape_decoder_manifest_validation_exception;
pub(crate) mod shape_delete_campaign_input;
pub(crate) mod shape_delete_decoder_manifest_input;
pub(crate) mod shape_delete_fleet_input;
pub(crate) mod shape_delete_model_manifest_input;
pub(crate) mod shape_delete_signal_catalog_input;
pub(crate) mod shape_delete_state_template_input;
pub(crate) mod shape_delete_vehicle_input;
pub(crate) mod shape_disassociate_vehicle_fleet_input;
pub(crate) mod shape_get_campaign_input;
pub(crate) mod shape_get_decoder_manifest_input;
pub(crate) mod shape_get_fleet_input;
pub(crate) mod shape_get_model_manifest_input;
pub(crate) mod shape_get_signal_catalog_input;
pub(crate) mod shape_get_state_template_input;
pub(crate) mod shape_get_vehicle_input;
pub(crate) mod shape_get_vehicle_status_input;
pub(crate) mod shape_import_decoder_manifest_input;
pub(crate) mod shape_import_signal_catalog_input;
pub(crate) mod shape_internal_server_exception;
pub(crate) mod shape_invalid_node_exception;
pub(crate) mod shape_invalid_signals_exception;
pub(crate) mod shape_limit_exceeded_exception;
pub(crate) mod shape_list_campaigns_input;
pub(crate) mod shape_list_decoder_manifest_network_interfaces_input;
pub(crate) mod shape_list_decoder_manifest_signals_input;
pub(crate) mod shape_list_decoder_manifests_input;
pub(crate) mod shape_list_fleets_for_vehicle_input;
pub(crate) mod shape_list_fleets_input;
pub(crate) mod shape_list_model_manifest_nodes_input;
pub(crate) mod shape_list_model_manifests_input;
pub(crate) mod shape_list_signal_catalog_nodes_input;
pub(crate) mod shape_list_signal_catalogs_input;
pub(crate) mod shape_list_state_templates_input;
pub(crate) mod shape_list_tags_for_resource_input;
pub(crate) mod shape_list_vehicles_in_fleet_input;
pub(crate) mod shape_list_vehicles_input;
pub(crate) mod shape_put_encryption_configuration_input;
pub(crate) mod shape_put_logging_options_input;
pub(crate) mod shape_register_account_input;
pub(crate) mod shape_resource_not_found_exception;
pub(crate) mod shape_tag_resource_input;
pub(crate) mod shape_throttling_exception;
pub(crate) mod shape_untag_resource_input;
pub(crate) mod shape_update_campaign_input;
pub(crate) mod shape_update_decoder_manifest_input;
pub(crate) mod shape_update_fleet_input;
pub(crate) mod shape_update_model_manifest_input;
pub(crate) mod shape_update_signal_catalog_input;
pub(crate) mod shape_update_state_template_input;
pub(crate) mod shape_update_vehicle_input;
pub(crate) mod shape_validation_exception;
pub(crate) mod shape_attributes_map;
pub(crate) mod shape_campaign_summaries;
pub(crate) mod shape_cloud_watch_log_delivery_options;
pub(crate) mod shape_collection_scheme;
pub(crate) mod shape_create_vehicle_errors;
pub(crate) mod shape_create_vehicle_request_item;
pub(crate) mod shape_create_vehicle_responses;
pub(crate) mod shape_data_destination_config;
pub(crate) mod shape_data_destination_configs;
pub(crate) mod shape_data_extra_dimension_node_path_list;
pub(crate) mod shape_data_partition;
pub(crate) mod shape_data_partitions;
pub(crate) mod shape_decoder_manifest_summaries;
pub(crate) mod shape_fleet_summaries;
pub(crate) mod shape_fleets;
pub(crate) mod shape_formatted_vss;
pub(crate) mod shape_iam_registration_response;
pub(crate) mod shape_iam_resources;
pub(crate) mod shape_invalid_network_interfaces;
pub(crate) mod shape_invalid_signal_decoders;
pub(crate) mod shape_invalid_signals;
pub(crate) mod shape_model_manifest_summaries;
pub(crate) mod shape_network_file_definition;
pub(crate) mod shape_network_interface;
pub(crate) mod shape_network_interfaces;
pub(crate) mod shape_node;
pub(crate) mod shape_node_counts;
pub(crate) mod shape_nodes;
pub(crate) mod shape_signal_catalog_summaries;
pub(crate) mod shape_signal_decoder;
pub(crate) mod shape_signal_decoders;
pub(crate) mod shape_signal_fetch_information;
pub(crate) mod shape_signal_fetch_information_list;
pub(crate) mod shape_signal_information;
pub(crate) mod shape_signal_information_list;
pub(crate) mod shape_state_template_association;
pub(crate) mod shape_state_template_associations;
pub(crate) mod shape_state_template_data_extra_dimension_node_path_list;
pub(crate) mod shape_state_template_metadata_extra_dimension_node_path_list;
pub(crate) mod shape_state_template_properties;
pub(crate) mod shape_state_template_summaries;
pub(crate) mod shape_tag;
pub(crate) mod shape_tag_list;
pub(crate) mod shape_timestream_registration_response;
pub(crate) mod shape_timestream_resources;
pub(crate) mod shape_update_vehicle_errors;
pub(crate) mod shape_update_vehicle_request_item;
pub(crate) mod shape_update_vehicle_response_items;
pub(crate) mod shape_validation_exception_field_list;
pub(crate) mod shape_vehicle_status_list;
pub(crate) mod shape_vehicle_summaries;
pub(crate) mod shape_vehicles;
pub(crate) mod shape_actuator;
pub(crate) mod shape_attribute;
pub(crate) mod shape_branch;
pub(crate) mod shape_campaign_summary;
pub(crate) mod shape_can_dbc_definition;
pub(crate) mod shape_can_interface;
pub(crate) mod shape_can_signal;
pub(crate) mod shape_condition_based_collection_scheme;
pub(crate) mod shape_create_vehicle_error;
pub(crate) mod shape_create_vehicle_response_item;
pub(crate) mod shape_custom_decoding_interface;
pub(crate) mod shape_custom_decoding_signal;
pub(crate) mod shape_custom_property;
pub(crate) mod shape_custom_struct;
pub(crate) mod shape_data_partition_storage_options;
pub(crate) mod shape_data_partition_upload_options;
pub(crate) mod shape_decoder_manifest_summary;
pub(crate) mod shape_fleet_summary;
pub(crate) mod shape_invalid_network_interface;
pub(crate) mod shape_invalid_signal;
pub(crate) mod shape_invalid_signal_decoder;
pub(crate) mod shape_message_signal;
pub(crate) mod shape_model_manifest_summary;
pub(crate) mod shape_mqtt_topic_config;
pub(crate) mod shape_obd_interface;
pub(crate) mod shape_obd_signal;
pub(crate) mod shape_s3_config;
pub(crate) mod shape_sensor;
pub(crate) mod shape_signal_catalog_summary;
pub(crate) mod shape_signal_fetch_config;
pub(crate) mod shape_state_template_summary;
pub(crate) mod shape_state_template_update_strategy;
pub(crate) mod shape_time_based_collection_scheme;
pub(crate) mod shape_timestream_config;
pub(crate) mod shape_update_vehicle_error;
pub(crate) mod shape_update_vehicle_response_item;
pub(crate) mod shape_validation_exception_field;
pub(crate) mod shape_vehicle_middleware;
pub(crate) mod shape_vehicle_status;
pub(crate) mod shape_vehicle_summary;
pub(crate) mod shape_condition_based_signal_fetch_config;
pub(crate) mod shape_event_expression_list;
pub(crate) mod shape_on_change_state_template_update_strategy;
pub(crate) mod shape_periodic_state_template_update_strategy;
pub(crate) mod shape_storage_maximum_size;
pub(crate) mod shape_storage_minimum_time_to_live;
pub(crate) mod shape_structured_message;
pub(crate) mod shape_time_based_signal_fetch_config;
pub(crate) mod shape_list_of_strings;
pub(crate) mod shape_primitive_message_definition;
pub(crate) mod shape_structured_message_field_name_and_data_type_pair;
pub(crate) mod shape_structured_message_list_definition;
pub(crate) mod shape_time_period;
pub(crate) mod shape_ros2_primitive_message_definition;
pub(crate) mod shape_structured_message_definition;