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_create_device_pool;
pub(crate) mod shape_create_instance_profile;
pub(crate) mod shape_create_network_profile;
pub(crate) mod shape_create_project;
pub(crate) mod shape_create_remote_access_session;
pub(crate) mod shape_create_test_grid_project;
pub(crate) mod shape_create_test_grid_url;
pub(crate) mod shape_create_upload;
pub(crate) mod shape_create_vpce_configuration;
pub(crate) mod shape_delete_device_pool;
pub(crate) mod shape_delete_instance_profile;
pub(crate) mod shape_delete_network_profile;
pub(crate) mod shape_delete_project;
pub(crate) mod shape_delete_remote_access_session;
pub(crate) mod shape_delete_run;
pub(crate) mod shape_delete_test_grid_project;
pub(crate) mod shape_delete_upload;
pub(crate) mod shape_delete_vpce_configuration;
pub(crate) mod shape_get_account_settings;
pub(crate) mod shape_get_device;
pub(crate) mod shape_get_device_instance;
pub(crate) mod shape_get_device_pool;
pub(crate) mod shape_get_device_pool_compatibility;
pub(crate) mod shape_get_instance_profile;
pub(crate) mod shape_get_job;
pub(crate) mod shape_get_network_profile;
pub(crate) mod shape_get_offering_status;
pub(crate) mod shape_get_project;
pub(crate) mod shape_get_remote_access_session;
pub(crate) mod shape_get_run;
pub(crate) mod shape_get_suite;
pub(crate) mod shape_get_test;
pub(crate) mod shape_get_test_grid_project;
pub(crate) mod shape_get_test_grid_session;
pub(crate) mod shape_get_upload;
pub(crate) mod shape_get_vpce_configuration;
pub(crate) mod shape_install_to_remote_access_session;
pub(crate) mod shape_list_artifacts;
pub(crate) mod shape_list_device_instances;
pub(crate) mod shape_list_device_pools;
pub(crate) mod shape_list_devices;
pub(crate) mod shape_list_instance_profiles;
pub(crate) mod shape_list_jobs;
pub(crate) mod shape_list_network_profiles;
pub(crate) mod shape_list_offering_promotions;
pub(crate) mod shape_list_offering_transactions;
pub(crate) mod shape_list_offerings;
pub(crate) mod shape_list_projects;
pub(crate) mod shape_list_remote_access_sessions;
pub(crate) mod shape_list_runs;
pub(crate) mod shape_list_samples;
pub(crate) mod shape_list_suites;
pub(crate) mod shape_list_tags_for_resource;
pub(crate) mod shape_list_test_grid_projects;
pub(crate) mod shape_list_test_grid_session_actions;
pub(crate) mod shape_list_test_grid_session_artifacts;
pub(crate) mod shape_list_test_grid_sessions;
pub(crate) mod shape_list_tests;
pub(crate) mod shape_list_unique_problems;
pub(crate) mod shape_list_uploads;
pub(crate) mod shape_list_vpce_configurations;
pub(crate) mod shape_purchase_offering;
pub(crate) mod shape_renew_offering;
pub(crate) mod shape_schedule_run;
pub(crate) mod shape_stop_job;
pub(crate) mod shape_stop_remote_access_session;
pub(crate) mod shape_stop_run;
pub(crate) mod shape_tag_resource;
pub(crate) mod shape_untag_resource;
pub(crate) mod shape_update_device_instance;
pub(crate) mod shape_update_device_pool;
pub(crate) mod shape_update_instance_profile;
pub(crate) mod shape_update_network_profile;
pub(crate) mod shape_update_project;
pub(crate) mod shape_update_test_grid_project;
pub(crate) mod shape_update_upload;
pub(crate) mod shape_update_vpce_configuration;
pub(crate) fn or_empty_doc(data: &[u8]) -> &[u8] {
if data.is_empty() {
b"{}"
} else {
data
}
}
pub(crate) mod shape_argument_exception;
pub(crate) mod shape_cannot_delete_exception;
pub(crate) mod shape_create_device_pool_input;
pub(crate) mod shape_create_instance_profile_input;
pub(crate) mod shape_create_network_profile_input;
pub(crate) mod shape_create_project_input;
pub(crate) mod shape_create_remote_access_session_input;
pub(crate) mod shape_create_test_grid_project_input;
pub(crate) mod shape_create_test_grid_url_input;
pub(crate) mod shape_create_upload_input;
pub(crate) mod shape_create_vpce_configuration_input;
pub(crate) mod shape_delete_device_pool_input;
pub(crate) mod shape_delete_instance_profile_input;
pub(crate) mod shape_delete_network_profile_input;
pub(crate) mod shape_delete_project_input;
pub(crate) mod shape_delete_remote_access_session_input;
pub(crate) mod shape_delete_run_input;
pub(crate) mod shape_delete_test_grid_project_input;
pub(crate) mod shape_delete_upload_input;
pub(crate) mod shape_delete_vpce_configuration_input;
pub(crate) mod shape_get_device_input;
pub(crate) mod shape_get_device_instance_input;
pub(crate) mod shape_get_device_pool_compatibility_input;
pub(crate) mod shape_get_device_pool_input;
pub(crate) mod shape_get_instance_profile_input;
pub(crate) mod shape_get_job_input;
pub(crate) mod shape_get_network_profile_input;
pub(crate) mod shape_get_offering_status_input;
pub(crate) mod shape_get_project_input;
pub(crate) mod shape_get_remote_access_session_input;
pub(crate) mod shape_get_run_input;
pub(crate) mod shape_get_suite_input;
pub(crate) mod shape_get_test_grid_project_input;
pub(crate) mod shape_get_test_grid_session_input;
pub(crate) mod shape_get_test_input;
pub(crate) mod shape_get_upload_input;
pub(crate) mod shape_get_vpce_configuration_input;
pub(crate) mod shape_idempotency_exception;
pub(crate) mod shape_install_to_remote_access_session_input;
pub(crate) mod shape_internal_service_exception;
pub(crate) mod shape_invalid_operation_exception;
pub(crate) mod shape_limit_exceeded_exception;
pub(crate) mod shape_list_artifacts_input;
pub(crate) mod shape_list_device_instances_input;
pub(crate) mod shape_list_device_pools_input;
pub(crate) mod shape_list_devices_input;
pub(crate) mod shape_list_instance_profiles_input;
pub(crate) mod shape_list_jobs_input;
pub(crate) mod shape_list_network_profiles_input;
pub(crate) mod shape_list_offering_promotions_input;
pub(crate) mod shape_list_offering_transactions_input;
pub(crate) mod shape_list_offerings_input;
pub(crate) mod shape_list_projects_input;
pub(crate) mod shape_list_remote_access_sessions_input;
pub(crate) mod shape_list_runs_input;
pub(crate) mod shape_list_samples_input;
pub(crate) mod shape_list_suites_input;
pub(crate) mod shape_list_tags_for_resource_input;
pub(crate) mod shape_list_test_grid_projects_input;
pub(crate) mod shape_list_test_grid_session_actions_input;
pub(crate) mod shape_list_test_grid_session_artifacts_input;
pub(crate) mod shape_list_test_grid_sessions_input;
pub(crate) mod shape_list_tests_input;
pub(crate) mod shape_list_unique_problems_input;
pub(crate) mod shape_list_uploads_input;
pub(crate) mod shape_list_vpce_configurations_input;
pub(crate) mod shape_not_eligible_exception;
pub(crate) mod shape_not_found_exception;
pub(crate) mod shape_purchase_offering_input;
pub(crate) mod shape_renew_offering_input;
pub(crate) mod shape_schedule_run_input;
pub(crate) mod shape_service_account_exception;
pub(crate) mod shape_stop_job_input;
pub(crate) mod shape_stop_remote_access_session_input;
pub(crate) mod shape_stop_run_input;
pub(crate) mod shape_tag_operation_exception;
pub(crate) mod shape_tag_policy_exception;
pub(crate) mod shape_tag_resource_input;
pub(crate) mod shape_too_many_tags_exception;
pub(crate) mod shape_untag_resource_input;
pub(crate) mod shape_update_device_instance_input;
pub(crate) mod shape_update_device_pool_input;
pub(crate) mod shape_update_instance_profile_input;
pub(crate) mod shape_update_network_profile_input;
pub(crate) mod shape_update_project_input;
pub(crate) mod shape_update_test_grid_project_input;
pub(crate) mod shape_update_upload_input;
pub(crate) mod shape_update_vpce_configuration_input;
pub(crate) mod shape_account_settings;
pub(crate) mod shape_artifacts;
pub(crate) mod shape_create_remote_access_session_configuration;
pub(crate) mod shape_device;
pub(crate) mod shape_device_filter;
pub(crate) mod shape_device_instance;
pub(crate) mod shape_device_instances;
pub(crate) mod shape_device_pool;
pub(crate) mod shape_device_pool_compatibility_results;
pub(crate) mod shape_device_pools;
pub(crate) mod shape_device_selection_configuration;
pub(crate) mod shape_devices;
pub(crate) mod shape_environment_variable;
pub(crate) mod shape_execution_configuration;
pub(crate) mod shape_instance_profile;
pub(crate) mod shape_instance_profiles;
pub(crate) mod shape_job;
pub(crate) mod shape_jobs;
pub(crate) mod shape_network_profile;
pub(crate) mod shape_network_profiles;
pub(crate) mod shape_offering_promotions;
pub(crate) mod shape_offering_status_map;
pub(crate) mod shape_offering_transaction;
pub(crate) mod shape_offering_transactions;
pub(crate) mod shape_offerings;
pub(crate) mod shape_project;
pub(crate) mod shape_projects;
pub(crate) mod shape_remote_access_session;
pub(crate) mod shape_remote_access_sessions;
pub(crate) mod shape_rule;
pub(crate) mod shape_run;
pub(crate) mod shape_runs;
pub(crate) mod shape_samples;
pub(crate) mod shape_schedule_run_configuration;
pub(crate) mod shape_schedule_run_test;
pub(crate) mod shape_suite;
pub(crate) mod shape_suites;
pub(crate) mod shape_tag;
pub(crate) mod shape_tag_list;
pub(crate) mod shape_test;
pub(crate) mod shape_test_grid_project;
pub(crate) mod shape_test_grid_projects;
pub(crate) mod shape_test_grid_session;
pub(crate) mod shape_test_grid_session_actions;
pub(crate) mod shape_test_grid_session_artifacts;
pub(crate) mod shape_test_grid_sessions;
pub(crate) mod shape_test_grid_vpc_config;
pub(crate) mod shape_tests;
pub(crate) mod shape_unique_problems_by_execution_result_map;
pub(crate) mod shape_upload;
pub(crate) mod shape_uploads;
pub(crate) mod shape_vpc_config;
pub(crate) mod shape_vpce_configuration;
pub(crate) mod shape_vpce_configurations;
pub(crate) mod shape_artifact;
pub(crate) mod shape_counters;
pub(crate) mod shape_cpu;
pub(crate) mod shape_customer_artifact_paths;
pub(crate) mod shape_device_minutes;
pub(crate) mod shape_device_pool_compatibility_result;
pub(crate) mod shape_device_proxy;
pub(crate) mod shape_device_selection_result;
pub(crate) mod shape_environment_variables;
pub(crate) mod shape_instance_labels;
pub(crate) mod shape_location;
pub(crate) mod shape_max_slot_map;
pub(crate) mod shape_monetary_amount;
pub(crate) mod shape_offering;
pub(crate) mod shape_offering_promotion;
pub(crate) mod shape_offering_status;
pub(crate) mod shape_package_ids;
pub(crate) mod shape_purchased_devices_map;
pub(crate) mod shape_radios;
pub(crate) mod shape_remote_access_endpoints;
pub(crate) mod shape_resolution;
pub(crate) mod shape_rules;
pub(crate) mod shape_sample;
pub(crate) mod shape_test_grid_session_action;
pub(crate) mod shape_test_grid_session_artifact;
pub(crate) mod shape_trial_minutes;
pub(crate) mod shape_unique_problems;
pub(crate) mod shape_android_paths;
pub(crate) mod shape_device_filters;
pub(crate) mod shape_device_host_paths;
pub(crate) mod shape_incompatibility_messages;
pub(crate) mod shape_ios_paths;
pub(crate) mod shape_recurring_charges;
pub(crate) mod shape_security_group_ids;
pub(crate) mod shape_subnet_ids;
pub(crate) mod shape_unique_problem;
pub(crate) mod shape_vpc_security_group_ids;
pub(crate) mod shape_vpc_subnet_ids;
pub(crate) mod shape_incompatibility_message;
pub(crate) mod shape_problems;
pub(crate) mod shape_recurring_charge;
pub(crate) mod shape_device_filter_values;
pub(crate) mod shape_problem;
pub(crate) mod shape_problem_detail;