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_aws_account_with_partner_account;
pub(crate) mod shape_associate_multicast_group_with_fuota_task;
pub(crate) mod shape_associate_wireless_device_with_fuota_task;
pub(crate) mod shape_associate_wireless_device_with_multicast_group;
pub(crate) mod shape_associate_wireless_device_with_thing;
pub(crate) mod shape_associate_wireless_gateway_with_certificate;
pub(crate) mod shape_associate_wireless_gateway_with_thing;
pub(crate) mod shape_cancel_multicast_group_session;
pub(crate) mod shape_create_destination;
pub(crate) mod shape_create_device_profile;
pub(crate) mod shape_create_fuota_task;
pub(crate) mod shape_create_multicast_group;
pub(crate) mod shape_create_network_analyzer_configuration;
pub(crate) mod shape_create_service_profile;
pub(crate) mod shape_create_wireless_device;
pub(crate) mod shape_create_wireless_gateway;
pub(crate) mod shape_create_wireless_gateway_task;
pub(crate) mod shape_create_wireless_gateway_task_definition;
pub(crate) mod shape_delete_destination;
pub(crate) mod shape_delete_device_profile;
pub(crate) mod shape_delete_fuota_task;
pub(crate) mod shape_delete_multicast_group;
pub(crate) mod shape_delete_network_analyzer_configuration;
pub(crate) mod shape_delete_queued_messages;
pub(crate) mod shape_delete_service_profile;
pub(crate) mod shape_delete_wireless_device;
pub(crate) mod shape_delete_wireless_device_import_task;
pub(crate) mod shape_delete_wireless_gateway;
pub(crate) mod shape_delete_wireless_gateway_task;
pub(crate) mod shape_delete_wireless_gateway_task_definition;
pub(crate) mod shape_deregister_wireless_device;
pub(crate) mod shape_disassociate_aws_account_from_partner_account;
pub(crate) mod shape_disassociate_multicast_group_from_fuota_task;
pub(crate) mod shape_disassociate_wireless_device_from_fuota_task;
pub(crate) mod shape_disassociate_wireless_device_from_multicast_group;
pub(crate) mod shape_disassociate_wireless_device_from_thing;
pub(crate) mod shape_disassociate_wireless_gateway_from_certificate;
pub(crate) mod shape_disassociate_wireless_gateway_from_thing;
pub(crate) mod shape_get_destination;
pub(crate) mod shape_get_device_profile;
pub(crate) mod shape_get_event_configuration_by_resource_types;
pub(crate) mod shape_get_fuota_task;
pub(crate) mod shape_get_log_levels_by_resource_types;
pub(crate) mod shape_get_metric_configuration;
pub(crate) mod shape_get_metrics;
pub(crate) mod shape_get_multicast_group;
pub(crate) mod shape_get_multicast_group_session;
pub(crate) mod shape_get_network_analyzer_configuration;
pub(crate) mod shape_get_partner_account;
pub(crate) mod shape_get_position;
pub(crate) mod shape_get_position_configuration;
pub(crate) mod shape_get_position_estimate;
pub(crate) mod shape_get_resource_event_configuration;
pub(crate) mod shape_get_resource_log_level;
pub(crate) mod shape_get_resource_position;
pub(crate) mod shape_get_service_endpoint;
pub(crate) mod shape_get_service_profile;
pub(crate) mod shape_get_wireless_device;
pub(crate) mod shape_get_wireless_device_import_task;
pub(crate) mod shape_get_wireless_device_statistics;
pub(crate) mod shape_get_wireless_gateway;
pub(crate) mod shape_get_wireless_gateway_certificate;
pub(crate) mod shape_get_wireless_gateway_firmware_information;
pub(crate) mod shape_get_wireless_gateway_statistics;
pub(crate) mod shape_get_wireless_gateway_task;
pub(crate) mod shape_get_wireless_gateway_task_definition;
pub(crate) mod shape_list_destinations;
pub(crate) mod shape_list_device_profiles;
pub(crate) mod shape_list_devices_for_wireless_device_import_task;
pub(crate) mod shape_list_event_configurations;
pub(crate) mod shape_list_fuota_tasks;
pub(crate) mod shape_list_multicast_groups;
pub(crate) mod shape_list_multicast_groups_by_fuota_task;
pub(crate) mod shape_list_network_analyzer_configurations;
pub(crate) mod shape_list_partner_accounts;
pub(crate) mod shape_list_position_configurations;
pub(crate) mod shape_list_queued_messages;
pub(crate) mod shape_list_service_profiles;
pub(crate) mod shape_list_tags_for_resource;
pub(crate) mod shape_list_wireless_device_import_tasks;
pub(crate) mod shape_list_wireless_devices;
pub(crate) mod shape_list_wireless_gateway_task_definitions;
pub(crate) mod shape_list_wireless_gateways;
pub(crate) mod shape_put_position_configuration;
pub(crate) mod shape_put_resource_log_level;
pub(crate) mod shape_reset_all_resource_log_levels;
pub(crate) mod shape_reset_resource_log_level;
pub(crate) mod shape_send_data_to_multicast_group;
pub(crate) mod shape_send_data_to_wireless_device;
pub(crate) mod shape_start_bulk_associate_wireless_device_with_multicast_group;
pub(crate) mod shape_start_bulk_disassociate_wireless_device_from_multicast_group;
pub(crate) mod shape_start_fuota_task;
pub(crate) mod shape_start_multicast_group_session;
pub(crate) mod shape_start_single_wireless_device_import_task;
pub(crate) mod shape_start_wireless_device_import_task;
pub(crate) mod shape_tag_resource;
pub(crate) mod shape_test_wireless_device;
pub(crate) mod shape_untag_resource;
pub(crate) mod shape_update_destination;
pub(crate) mod shape_update_event_configuration_by_resource_types;
pub(crate) mod shape_update_fuota_task;
pub(crate) mod shape_update_log_levels_by_resource_types;
pub(crate) mod shape_update_metric_configuration;
pub(crate) mod shape_update_multicast_group;
pub(crate) mod shape_update_network_analyzer_configuration;
pub(crate) mod shape_update_partner_account;
pub(crate) mod shape_update_position;
pub(crate) mod shape_update_resource_event_configuration;
pub(crate) mod shape_update_resource_position;
pub(crate) mod shape_update_resource_position_input;
pub(crate) mod shape_update_wireless_device;
pub(crate) mod shape_update_wireless_device_import_task;
pub(crate) mod shape_update_wireless_gateway;
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_aws_account_with_partner_account_input;
pub(crate) mod shape_associate_multicast_group_with_fuota_task_input;
pub(crate) mod shape_associate_wireless_device_with_fuota_task_input;
pub(crate) mod shape_associate_wireless_device_with_multicast_group_input;
pub(crate) mod shape_associate_wireless_device_with_thing_input;
pub(crate) mod shape_associate_wireless_gateway_with_certificate_input;
pub(crate) mod shape_associate_wireless_gateway_with_thing_input;
pub(crate) mod shape_conflict_exception;
pub(crate) mod shape_create_destination_input;
pub(crate) mod shape_create_device_profile_input;
pub(crate) mod shape_create_fuota_task_input;
pub(crate) mod shape_create_multicast_group_input;
pub(crate) mod shape_create_network_analyzer_configuration_input;
pub(crate) mod shape_create_service_profile_input;
pub(crate) mod shape_create_wireless_device_input;
pub(crate) mod shape_create_wireless_gateway_input;
pub(crate) mod shape_create_wireless_gateway_task_definition_input;
pub(crate) mod shape_create_wireless_gateway_task_input;
pub(crate) mod shape_get_metrics_input;
pub(crate) mod shape_get_position_estimate_input;
pub(crate) mod shape_get_position_estimate_output;
pub(crate) mod shape_get_resource_position_output;
pub(crate) mod shape_internal_server_exception;
pub(crate) mod shape_put_position_configuration_input;
pub(crate) mod shape_put_resource_log_level_input;
pub(crate) mod shape_resource_not_found_exception;
pub(crate) mod shape_send_data_to_multicast_group_input;
pub(crate) mod shape_send_data_to_wireless_device_input;
pub(crate) mod shape_start_bulk_associate_wireless_device_with_multicast_group_input;
pub(crate) mod shape_start_bulk_disassociate_wireless_device_from_multicast_group_input;
pub(crate) mod shape_start_fuota_task_input;
pub(crate) mod shape_start_multicast_group_session_input;
pub(crate) mod shape_start_single_wireless_device_import_task_input;
pub(crate) mod shape_start_wireless_device_import_task_input;
pub(crate) mod shape_tag_resource_input;
pub(crate) mod shape_throttling_exception;
pub(crate) mod shape_too_many_tags_exception;
pub(crate) mod shape_update_destination_input;
pub(crate) mod shape_update_event_configuration_by_resource_types_input;
pub(crate) mod shape_update_fuota_task_input;
pub(crate) mod shape_update_log_levels_by_resource_types_input;
pub(crate) mod shape_update_metric_configuration_input;
pub(crate) mod shape_update_multicast_group_input;
pub(crate) mod shape_update_network_analyzer_configuration_input;
pub(crate) mod shape_update_partner_account_input;
pub(crate) mod shape_update_position_input;
pub(crate) mod shape_update_resource_event_configuration_input;
pub(crate) mod shape_update_wireless_device_import_task_input;
pub(crate) mod shape_update_wireless_device_input;
pub(crate) mod shape_update_wireless_gateway_input;
pub(crate) mod shape_validation_exception;
pub(crate) mod shape_accuracy;
pub(crate) mod shape_advanced_configuration;
pub(crate) mod shape_cell_towers;
pub(crate) mod shape_connection_status_event_configuration;
pub(crate) mod shape_connection_status_resource_type_event_configuration;
pub(crate) mod shape_destination_list;
pub(crate) mod shape_device_profile_list;
pub(crate) mod shape_device_registration_state_event_configuration;
pub(crate) mod shape_device_registration_state_resource_type_event_configuration;
pub(crate) mod shape_downlink_queue_messages_list;
pub(crate) mod shape_event_configurations_list;
pub(crate) mod shape_fuota_task_list;
pub(crate) mod shape_fuota_task_log_option;
pub(crate) mod shape_fuota_task_log_option_list;
pub(crate) mod shape_gnss;
pub(crate) mod shape_imported_wireless_device_list;
pub(crate) mod shape_ip;
pub(crate) mod shape_join_event_configuration;
pub(crate) mod shape_join_resource_type_event_configuration;
pub(crate) mod shape_lo_ra_wan_device;
pub(crate) mod shape_lo_ra_wan_device_metadata;
pub(crate) mod shape_lo_ra_wan_device_profile;
pub(crate) mod shape_lo_ra_wan_fuota_task;
pub(crate) mod shape_lo_ra_wan_fuota_task_get_info;
pub(crate) mod shape_lo_ra_wan_gateway;
pub(crate) mod shape_lo_ra_wan_gateway_current_version;
pub(crate) mod shape_lo_ra_wan_get_service_profile_info;
pub(crate) mod shape_lo_ra_wan_multicast;
pub(crate) mod shape_lo_ra_wan_multicast_get;
pub(crate) mod shape_lo_ra_wan_multicast_session;
pub(crate) mod shape_lo_ra_wan_service_profile;
pub(crate) mod shape_lo_ra_wan_start_fuota_task;
pub(crate) mod shape_lo_ra_wan_update_device;
pub(crate) mod shape_message_delivery_status_event_configuration;
pub(crate) mod shape_message_delivery_status_resource_type_event_configuration;
pub(crate) mod shape_multicast_group_list;
pub(crate) mod shape_multicast_group_list_by_fuota_task;
pub(crate) mod shape_multicast_wireless_metadata;
pub(crate) mod shape_network_analyzer_configuration_list;
pub(crate) mod shape_network_analyzer_multicast_group_list;
pub(crate) mod shape_position_configuration_list;
pub(crate) mod shape_position_coordinate;
pub(crate) mod shape_position_solver_configurations;
pub(crate) mod shape_position_solver_details;
pub(crate) mod shape_proximity_event_configuration;
pub(crate) mod shape_proximity_resource_type_event_configuration;
pub(crate) mod shape_service_profile_list;
pub(crate) mod shape_sidewalk_account_info;
pub(crate) mod shape_sidewalk_account_info_with_fingerprint;
pub(crate) mod shape_sidewalk_account_list;
pub(crate) mod shape_sidewalk_create_device_profile;
pub(crate) mod shape_sidewalk_create_wireless_device;
pub(crate) mod shape_sidewalk_device;
pub(crate) mod shape_sidewalk_device_metadata;
pub(crate) mod shape_sidewalk_get_device_profile;
pub(crate) mod shape_sidewalk_get_start_import_info;
pub(crate) mod shape_sidewalk_list_devices_for_import_info;
pub(crate) mod shape_sidewalk_single_start_import_info;
pub(crate) mod shape_sidewalk_start_import_info;
pub(crate) mod shape_sidewalk_update_account;
pub(crate) mod shape_sidewalk_update_import_info;
pub(crate) mod shape_sidewalk_update_wireless_device;
pub(crate) mod shape_summary_metric_configuration;
pub(crate) mod shape_summary_metric_query;
pub(crate) mod shape_summary_metric_query_results;
pub(crate) mod shape_tag;
pub(crate) mod shape_tag_list;
pub(crate) mod shape_trace_content;
pub(crate) mod shape_update_wireless_gateway_task_create;
pub(crate) mod shape_wi_fi_access_point;
pub(crate) mod shape_wireless_device_import_task_list;
pub(crate) mod shape_wireless_device_list;
pub(crate) mod shape_wireless_device_log_option;
pub(crate) mod shape_wireless_device_log_option_list;
pub(crate) mod shape_wireless_device_statistics_list;
pub(crate) mod shape_wireless_gateway_list;
pub(crate) mod shape_wireless_gateway_log_option;
pub(crate) mod shape_wireless_gateway_log_option_list;
pub(crate) mod shape_wireless_gateway_statistics_list;
pub(crate) mod shape_wireless_gateway_task_definition_list;
pub(crate) mod shape_wireless_metadata;
pub(crate) mod shape_abp_v1_0_x;
pub(crate) mod shape_abp_v1_1;
pub(crate) mod shape_beaconing;
pub(crate) mod shape_cdma_obj;
pub(crate) mod shape_dak_certificate_metadata_list;
pub(crate) mod shape_destinations;
pub(crate) mod shape_device_certificate_list;
pub(crate) mod shape_device_creation_file_list;
pub(crate) mod shape_device_profile;
pub(crate) mod shape_dimension;
pub(crate) mod shape_downlink_queue_message;
pub(crate) mod shape_event_configuration_item;
pub(crate) mod shape_f_ports;
pub(crate) mod shape_factory_preset_freqs_list;
pub(crate) mod shape_fuota_task;
pub(crate) mod shape_fuota_task_event_log_option;
pub(crate) mod shape_gsm_obj;
pub(crate) mod shape_imported_wireless_device;
pub(crate) mod shape_join_eui_filters;
pub(crate) mod shape_lo_ra_wan_connection_status_event_notification_configurations;
pub(crate) mod shape_lo_ra_wan_connection_status_resource_type_event_configuration;
pub(crate) mod shape_lo_ra_wan_gateway_metadata_list;
pub(crate) mod shape_lo_ra_wan_gateway_version;
pub(crate) mod shape_lo_ra_wan_join_event_notification_configurations;
pub(crate) mod shape_lo_ra_wan_join_resource_type_event_configuration;
pub(crate) mod shape_lo_ra_wan_multicast_metadata;
pub(crate) mod shape_lo_ra_wan_public_gateway_metadata_list;
pub(crate) mod shape_lo_ra_wan_send_data_to_device;
pub(crate) mod shape_lo_ra_wan_update_gateway_task_create;
pub(crate) mod shape_lte_obj;
pub(crate) mod shape_multicast_group;
pub(crate) mod shape_multicast_group_by_fuota_task;
pub(crate) mod shape_net_id_filters;
pub(crate) mod shape_network_analyzer_configurations;
pub(crate) mod shape_otaa_v1_0_x;
pub(crate) mod shape_otaa_v1_1;
pub(crate) mod shape_participating_gateways_multicast;
pub(crate) mod shape_position_configuration_item;
pub(crate) mod shape_private_keys_list;
pub(crate) mod shape_semtech_gnss_configuration;
pub(crate) mod shape_semtech_gnss_detail;
pub(crate) mod shape_service_profile;
pub(crate) mod shape_sidewalk_event_notification_configurations;
pub(crate) mod shape_sidewalk_positioning;
pub(crate) mod shape_sidewalk_resource_type_event_configuration;
pub(crate) mod shape_sidewalk_send_data_to_device;
pub(crate) mod shape_sub_bands;
pub(crate) mod shape_summary_metric_query_result;
pub(crate) mod shape_tdscdma_obj;
pub(crate) mod shape_update_abp_v1_0_x;
pub(crate) mod shape_update_abp_v1_1;
pub(crate) mod shape_update_f_ports;
pub(crate) mod shape_update_wireless_gateway_task_entry;
pub(crate) mod shape_wcdma_obj;
pub(crate) mod shape_wi_fi_cellular;
pub(crate) mod shape_wireless_device_event_log_option;
pub(crate) mod shape_wireless_device_import_task;
pub(crate) mod shape_wireless_device_statistics;
pub(crate) mod shape_wireless_gateway_event_log_option;
pub(crate) mod shape_wireless_gateway_statistics;
pub(crate) mod shape_application_config;
pub(crate) mod shape_applications;
pub(crate) mod shape_beaconing_frequencies;
pub(crate) mod shape_cdma_local_id;
pub(crate) mod shape_cdma_nmr_obj;
pub(crate) mod shape_certificate_list;
pub(crate) mod shape_dak_certificate_metadata;
pub(crate) mod shape_dimensions;
pub(crate) mod shape_event_notification_item_configurations;
pub(crate) mod shape_fuota_task_event_log_option_list;
pub(crate) mod shape_gateway_list_multicast;
pub(crate) mod shape_gsm_local_id;
pub(crate) mod shape_gsm_nmr_obj;
pub(crate) mod shape_imported_sidewalk_device;
pub(crate) mod shape_join_eui_range;
pub(crate) mod shape_lo_ra_wan_gateway_metadata;
pub(crate) mod shape_lo_ra_wan_list_device;
pub(crate) mod shape_lo_ra_wan_public_gateway_metadata;
pub(crate) mod shape_lo_ra_wan_update_gateway_task_entry;
pub(crate) mod shape_lte_local_id;
pub(crate) mod shape_lte_nmr_obj;
pub(crate) mod shape_metric_query_timestamps;
pub(crate) mod shape_metric_query_values;
pub(crate) mod shape_participating_gateways;
pub(crate) mod shape_positioning;
pub(crate) mod shape_session_keys_abp_v1_0_x;
pub(crate) mod shape_session_keys_abp_v1_1;
pub(crate) mod shape_sidewalk_list_device;
pub(crate) mod shape_tdscdma_local_id;
pub(crate) mod shape_tdscdma_nmr_obj;
pub(crate) mod shape_wcdma_local_id;
pub(crate) mod shape_wcdma_nmr_obj;
pub(crate) mod shape_wireless_device_event_log_option_list;
pub(crate) mod shape_wireless_gateway_event_log_option_list;
pub(crate) mod shape_gateway_list_item;
pub(crate) mod shape_global_identity;
pub(crate) mod shape_metric_query_value;
pub(crate) mod shape_gateway_list;