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_batch_evaluate_feature;
pub(crate) mod shape_create_experiment;
pub(crate) mod shape_create_feature;
pub(crate) mod shape_create_launch;
pub(crate) mod shape_create_project;
pub(crate) mod shape_create_segment;
pub(crate) mod shape_delete_experiment;
pub(crate) mod shape_delete_feature;
pub(crate) mod shape_delete_launch;
pub(crate) mod shape_delete_project;
pub(crate) mod shape_delete_segment;
pub(crate) mod shape_evaluate_feature;
pub(crate) mod shape_get_experiment;
pub(crate) mod shape_get_experiment_results;
pub(crate) mod shape_get_feature;
pub(crate) mod shape_get_launch;
pub(crate) mod shape_get_project;
pub(crate) mod shape_get_segment;
pub(crate) mod shape_list_experiments;
pub(crate) mod shape_list_features;
pub(crate) mod shape_list_launches;
pub(crate) mod shape_list_projects;
pub(crate) mod shape_list_segment_references;
pub(crate) mod shape_list_segments;
pub(crate) mod shape_list_tags_for_resource;
pub(crate) mod shape_put_project_events;
pub(crate) mod shape_start_experiment;
pub(crate) mod shape_start_launch;
pub(crate) mod shape_stop_experiment;
pub(crate) mod shape_stop_launch;
pub(crate) mod shape_tag_resource;
pub(crate) mod shape_test_segment_pattern;
pub(crate) mod shape_untag_resource;
pub(crate) mod shape_update_experiment;
pub(crate) mod shape_update_feature;
pub(crate) mod shape_update_launch;
pub(crate) mod shape_update_project;
pub(crate) mod shape_update_project_data_delivery;
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_batch_evaluate_feature_input;
pub(crate) mod shape_conflict_exception;
pub(crate) mod shape_create_experiment_input;
pub(crate) mod shape_create_feature_input;
pub(crate) mod shape_create_launch_input;
pub(crate) mod shape_create_project_input;
pub(crate) mod shape_create_segment_input;
pub(crate) mod shape_evaluate_feature_input;
pub(crate) mod shape_get_experiment_results_input;
pub(crate) mod shape_internal_server_exception;
pub(crate) mod shape_put_project_events_input;
pub(crate) mod shape_resource_not_found_exception;
pub(crate) mod shape_service_quota_exceeded_exception;
pub(crate) mod shape_service_unavailable_exception;
pub(crate) mod shape_start_experiment_input;
pub(crate) mod shape_stop_experiment_input;
pub(crate) mod shape_stop_launch_input;
pub(crate) mod shape_tag_resource_input;
pub(crate) mod shape_test_segment_pattern_input;
pub(crate) mod shape_throttling_exception;
pub(crate) mod shape_update_experiment_input;
pub(crate) mod shape_update_feature_input;
pub(crate) mod shape_update_launch_input;
pub(crate) mod shape_update_project_data_delivery_input;
pub(crate) mod shape_update_project_input;
pub(crate) mod shape_validation_exception;
pub(crate) mod shape_cloud_watch_logs_destination_config;
pub(crate) mod shape_evaluation_request;
pub(crate) mod shape_evaluation_results_list;
pub(crate) mod shape_event;
pub(crate) mod shape_experiment;
pub(crate) mod shape_experiment_list;
pub(crate) mod shape_experiment_report_list;
pub(crate) mod shape_experiment_results_data_list;
pub(crate) mod shape_feature;
pub(crate) mod shape_feature_summaries_list;
pub(crate) mod shape_launch;
pub(crate) mod shape_launch_group_config;
pub(crate) mod shape_launches_list;
pub(crate) mod shape_metric_goal_config;
pub(crate) mod shape_metric_monitor_config;
pub(crate) mod shape_online_ab_config;
pub(crate) mod shape_project;
pub(crate) mod shape_project_app_config_resource_config;
pub(crate) mod shape_project_data_delivery_config;
pub(crate) mod shape_project_summaries_list;
pub(crate) mod shape_put_project_events_result_entry_list;
pub(crate) mod shape_ref_resource_list;
pub(crate) mod shape_s3_destination_config;
pub(crate) mod shape_scheduled_splits_launch_config;
pub(crate) mod shape_segment;
pub(crate) mod shape_segment_list;
pub(crate) mod shape_tag_map;
pub(crate) mod shape_timestamp_list;
pub(crate) mod shape_treatment_config;
pub(crate) mod shape_validation_exception_field_list;
pub(crate) mod shape_variable_value;
pub(crate) mod shape_variation_config;
pub(crate) mod shape_entity_override_map;
pub(crate) mod shape_evaluation_result;
pub(crate) mod shape_evaluation_rules_list;
pub(crate) mod shape_experiment_execution;
pub(crate) mod shape_experiment_report;
pub(crate) mod shape_experiment_results_data;
pub(crate) mod shape_experiment_schedule;
pub(crate) mod shape_feature_summary;
pub(crate) mod shape_launch_execution;
pub(crate) mod shape_launch_group_list;
pub(crate) mod shape_metric_definition_config;
pub(crate) mod shape_metric_goals_list;
pub(crate) mod shape_metric_monitor_list;
pub(crate) mod shape_online_ab_definition;
pub(crate) mod shape_project_app_config_resource;
pub(crate) mod shape_project_data_delivery;
pub(crate) mod shape_project_summary;
pub(crate) mod shape_put_project_events_result_entry;
pub(crate) mod shape_ref_resource;
pub(crate) mod shape_scheduled_split_config;
pub(crate) mod shape_scheduled_splits_launch_definition;
pub(crate) mod shape_treatment_list;
pub(crate) mod shape_validation_exception_field;
pub(crate) mod shape_variations_list;
pub(crate) mod shape_cloud_watch_logs_destination;
pub(crate) mod shape_double_value_list;
pub(crate) mod shape_evaluation_rule;
pub(crate) mod shape_launch_group;
pub(crate) mod shape_metric_goal;
pub(crate) mod shape_metric_monitor;
pub(crate) mod shape_s3_destination;
pub(crate) mod shape_scheduled_step_list;
pub(crate) mod shape_segment_override;
pub(crate) mod shape_treatment;
pub(crate) mod shape_treatment_to_weight_map;
pub(crate) mod shape_variation;
pub(crate) mod shape_feature_to_variation_map;
pub(crate) mod shape_metric_definition;
pub(crate) mod shape_scheduled_split;
pub(crate) mod shape_group_to_weight_map;
pub(crate) mod shape_segment_overrides_list;