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],
) -> 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_auto_predictor;
pub(crate) mod shape_create_dataset;
pub(crate) mod shape_create_dataset_group;
pub(crate) mod shape_create_dataset_import_job;
pub(crate) mod shape_create_explainability;
pub(crate) mod shape_create_explainability_export;
pub(crate) mod shape_create_forecast;
pub(crate) mod shape_create_forecast_export_job;
pub(crate) mod shape_create_monitor;
pub(crate) mod shape_create_predictor;
pub(crate) mod shape_create_predictor_backtest_export_job;
pub(crate) mod shape_create_what_if_analysis;
pub(crate) mod shape_create_what_if_forecast;
pub(crate) mod shape_create_what_if_forecast_export;
pub(crate) mod shape_delete_dataset;
pub(crate) mod shape_delete_dataset_group;
pub(crate) mod shape_delete_dataset_import_job;
pub(crate) mod shape_delete_explainability;
pub(crate) mod shape_delete_explainability_export;
pub(crate) mod shape_delete_forecast;
pub(crate) mod shape_delete_forecast_export_job;
pub(crate) mod shape_delete_monitor;
pub(crate) mod shape_delete_predictor;
pub(crate) mod shape_delete_predictor_backtest_export_job;
pub(crate) mod shape_delete_resource_tree;
pub(crate) mod shape_delete_what_if_analysis;
pub(crate) mod shape_delete_what_if_forecast;
pub(crate) mod shape_delete_what_if_forecast_export;
pub(crate) mod shape_describe_auto_predictor;
pub(crate) mod shape_describe_dataset;
pub(crate) mod shape_describe_dataset_group;
pub(crate) mod shape_describe_dataset_import_job;
pub(crate) mod shape_describe_explainability;
pub(crate) mod shape_describe_explainability_export;
pub(crate) mod shape_describe_forecast;
pub(crate) mod shape_describe_forecast_export_job;
pub(crate) mod shape_describe_monitor;
pub(crate) mod shape_describe_predictor;
pub(crate) mod shape_describe_predictor_backtest_export_job;
pub(crate) mod shape_describe_what_if_analysis;
pub(crate) mod shape_describe_what_if_forecast;
pub(crate) mod shape_describe_what_if_forecast_export;
pub(crate) mod shape_get_accuracy_metrics;
pub(crate) mod shape_list_dataset_groups;
pub(crate) mod shape_list_dataset_import_jobs;
pub(crate) mod shape_list_datasets;
pub(crate) mod shape_list_explainabilities;
pub(crate) mod shape_list_explainability_exports;
pub(crate) mod shape_list_forecast_export_jobs;
pub(crate) mod shape_list_forecasts;
pub(crate) mod shape_list_monitor_evaluations;
pub(crate) mod shape_list_monitors;
pub(crate) mod shape_list_predictor_backtest_export_jobs;
pub(crate) mod shape_list_predictors;
pub(crate) mod shape_list_tags_for_resource;
pub(crate) mod shape_list_what_if_analyses;
pub(crate) mod shape_list_what_if_forecast_exports;
pub(crate) mod shape_list_what_if_forecasts;
pub(crate) mod shape_resume_resource;
pub(crate) mod shape_stop_resource;
pub(crate) mod shape_tag_resource;
pub(crate) mod shape_untag_resource;
pub(crate) mod shape_update_dataset_group;
pub(crate) fn or_empty_doc(data: &[u8]) -> &[u8] {
if data.is_empty() {
b"{}"
} else {
data
}
}
pub(crate) mod shape_create_auto_predictor_input;
pub(crate) mod shape_create_dataset_group_input;
pub(crate) mod shape_create_dataset_import_job_input;
pub(crate) mod shape_create_dataset_input;
pub(crate) mod shape_create_explainability_export_input;
pub(crate) mod shape_create_explainability_input;
pub(crate) mod shape_create_forecast_export_job_input;
pub(crate) mod shape_create_forecast_input;
pub(crate) mod shape_create_monitor_input;
pub(crate) mod shape_create_predictor_backtest_export_job_input;
pub(crate) mod shape_create_predictor_input;
pub(crate) mod shape_create_what_if_analysis_input;
pub(crate) mod shape_create_what_if_forecast_export_input;
pub(crate) mod shape_create_what_if_forecast_input;
pub(crate) mod shape_delete_dataset_group_input;
pub(crate) mod shape_delete_dataset_import_job_input;
pub(crate) mod shape_delete_dataset_input;
pub(crate) mod shape_delete_explainability_export_input;
pub(crate) mod shape_delete_explainability_input;
pub(crate) mod shape_delete_forecast_export_job_input;
pub(crate) mod shape_delete_forecast_input;
pub(crate) mod shape_delete_monitor_input;
pub(crate) mod shape_delete_predictor_backtest_export_job_input;
pub(crate) mod shape_delete_predictor_input;
pub(crate) mod shape_delete_resource_tree_input;
pub(crate) mod shape_delete_what_if_analysis_input;
pub(crate) mod shape_delete_what_if_forecast_export_input;
pub(crate) mod shape_delete_what_if_forecast_input;
pub(crate) mod shape_describe_auto_predictor_input;
pub(crate) mod shape_describe_dataset_group_input;
pub(crate) mod shape_describe_dataset_import_job_input;
pub(crate) mod shape_describe_dataset_input;
pub(crate) mod shape_describe_explainability_export_input;
pub(crate) mod shape_describe_explainability_input;
pub(crate) mod shape_describe_forecast_export_job_input;
pub(crate) mod shape_describe_forecast_input;
pub(crate) mod shape_describe_monitor_input;
pub(crate) mod shape_describe_predictor_backtest_export_job_input;
pub(crate) mod shape_describe_predictor_input;
pub(crate) mod shape_describe_what_if_analysis_input;
pub(crate) mod shape_describe_what_if_forecast_export_input;
pub(crate) mod shape_describe_what_if_forecast_input;
pub(crate) mod shape_get_accuracy_metrics_input;
pub(crate) mod shape_invalid_input_exception;
pub(crate) mod shape_invalid_next_token_exception;
pub(crate) mod shape_limit_exceeded_exception;
pub(crate) mod shape_list_dataset_groups_input;
pub(crate) mod shape_list_dataset_import_jobs_input;
pub(crate) mod shape_list_datasets_input;
pub(crate) mod shape_list_explainabilities_input;
pub(crate) mod shape_list_explainability_exports_input;
pub(crate) mod shape_list_forecast_export_jobs_input;
pub(crate) mod shape_list_forecasts_input;
pub(crate) mod shape_list_monitor_evaluations_input;
pub(crate) mod shape_list_monitors_input;
pub(crate) mod shape_list_predictor_backtest_export_jobs_input;
pub(crate) mod shape_list_predictors_input;
pub(crate) mod shape_list_tags_for_resource_input;
pub(crate) mod shape_list_what_if_analyses_input;
pub(crate) mod shape_list_what_if_forecast_exports_input;
pub(crate) mod shape_list_what_if_forecasts_input;
pub(crate) mod shape_resource_already_exists_exception;
pub(crate) mod shape_resource_in_use_exception;
pub(crate) mod shape_resource_not_found_exception;
pub(crate) mod shape_resume_resource_input;
pub(crate) mod shape_stop_resource_input;
pub(crate) mod shape_tag_resource_input;
pub(crate) mod shape_untag_resource_input;
pub(crate) mod shape_update_dataset_group_input;
pub(crate) mod shape_arn_list;
pub(crate) mod shape_baseline;
pub(crate) mod shape_data_config;
pub(crate) mod shape_data_destination;
pub(crate) mod shape_data_source;
pub(crate) mod shape_dataset_groups;
pub(crate) mod shape_dataset_import_jobs;
pub(crate) mod shape_datasets;
pub(crate) mod shape_encryption_config;
pub(crate) mod shape_evaluation_parameters;
pub(crate) mod shape_explainabilities;
pub(crate) mod shape_explainability_config;
pub(crate) mod shape_explainability_exports;
pub(crate) mod shape_explainability_info;
pub(crate) mod shape_featurization_config;
pub(crate) mod shape_field_statistics;
pub(crate) mod shape_filter;
pub(crate) mod shape_forecast_dimensions;
pub(crate) mod shape_forecast_export_jobs;
pub(crate) mod shape_forecast_types;
pub(crate) mod shape_forecasts;
pub(crate) mod shape_hyper_parameter_tuning_job_config;
pub(crate) mod shape_input_data_config;
pub(crate) mod shape_long_arn_list;
pub(crate) mod shape_monitor_config;
pub(crate) mod shape_monitor_info;
pub(crate) mod shape_monitors;
pub(crate) mod shape_predictor_backtest_export_jobs;
pub(crate) mod shape_predictor_evaluation_results;
pub(crate) mod shape_predictor_execution_details;
pub(crate) mod shape_predictor_monitor_evaluations;
pub(crate) mod shape_predictors;
pub(crate) mod shape_reference_predictor_summary;
pub(crate) mod shape_schema;
pub(crate) mod shape_tag;
pub(crate) mod shape_tags;
pub(crate) mod shape_time_alignment_boundary;
pub(crate) mod shape_time_series_replacements_data_source;
pub(crate) mod shape_time_series_selector;
pub(crate) mod shape_time_series_transformation;
pub(crate) mod shape_time_series_transformations;
pub(crate) mod shape_training_parameters;
pub(crate) mod shape_what_if_analyses;
pub(crate) mod shape_what_if_forecast_exports;
pub(crate) mod shape_what_if_forecasts;
pub(crate) mod shape_action;
pub(crate) mod shape_additional_dataset;
pub(crate) mod shape_additional_datasets;
pub(crate) mod shape_attribute_config;
pub(crate) mod shape_attribute_configs;
pub(crate) mod shape_dataset_group_summary;
pub(crate) mod shape_dataset_import_job_summary;
pub(crate) mod shape_dataset_summary;
pub(crate) mod shape_evaluation_result;
pub(crate) mod shape_explainability_export_summary;
pub(crate) mod shape_explainability_summary;
pub(crate) mod shape_featurization;
pub(crate) mod shape_featurizations;
pub(crate) mod shape_forecast_export_job_summary;
pub(crate) mod shape_forecast_summary;
pub(crate) mod shape_monitor_summary;
pub(crate) mod shape_parameter_ranges;
pub(crate) mod shape_predictor_backtest_export_job_summary;
pub(crate) mod shape_predictor_baseline;
pub(crate) mod shape_predictor_executions;
pub(crate) mod shape_predictor_monitor_evaluation;
pub(crate) mod shape_predictor_summary;
pub(crate) mod shape_s3_config;
pub(crate) mod shape_schema_attribute;
pub(crate) mod shape_schema_attributes;
pub(crate) mod shape_statistics;
pub(crate) mod shape_supplementary_feature;
pub(crate) mod shape_supplementary_features;
pub(crate) mod shape_time_series_condition;
pub(crate) mod shape_time_series_identifiers;
pub(crate) mod shape_what_if_analysis_summary;
pub(crate) mod shape_what_if_forecast_export_summary;
pub(crate) mod shape_what_if_forecast_summary;
pub(crate) mod shape_baseline_metrics;
pub(crate) mod shape_categorical_parameter_range;
pub(crate) mod shape_categorical_parameter_ranges;
pub(crate) mod shape_continuous_parameter_range;
pub(crate) mod shape_continuous_parameter_ranges;
pub(crate) mod shape_featurization_method;
pub(crate) mod shape_integer_parameter_range;
pub(crate) mod shape_integer_parameter_ranges;
pub(crate) mod shape_metric_results;
pub(crate) mod shape_monitor_data_source;
pub(crate) mod shape_predictor_event;
pub(crate) mod shape_predictor_execution;
pub(crate) mod shape_test_windows;
pub(crate) mod shape_time_series_conditions;
pub(crate) mod shape_what_if_forecast_arn_list_for_export;
pub(crate) mod shape_baseline_metric;
pub(crate) mod shape_configuration;
pub(crate) mod shape_featurization_pipeline;
pub(crate) mod shape_metric_result;
pub(crate) mod shape_test_window_details;
pub(crate) mod shape_transformations;
pub(crate) mod shape_window_summary;
pub(crate) mod shape_metrics;
pub(crate) mod shape_test_window_summary;
pub(crate) mod shape_values;
pub(crate) mod shape_error_metrics;
pub(crate) mod shape_featurization_method_parameters;
pub(crate) mod shape_weighted_quantile_losses;
pub(crate) mod shape_error_metric;
pub(crate) mod shape_weighted_quantile_loss;