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_performance_analysis_report;
pub(crate) mod shape_delete_performance_analysis_report;
pub(crate) mod shape_describe_dimension_keys;
pub(crate) mod shape_get_dimension_key_details;
pub(crate) mod shape_get_performance_analysis_report;
pub(crate) mod shape_get_resource_metadata;
pub(crate) mod shape_get_resource_metrics;
pub(crate) mod shape_list_available_resource_dimensions;
pub(crate) mod shape_list_available_resource_metrics;
pub(crate) mod shape_list_performance_analysis_reports;
pub(crate) mod shape_list_tags_for_resource;
pub(crate) mod shape_tag_resource;
pub(crate) mod shape_untag_resource;
pub(crate) fn or_empty_doc(data: &[u8]) -> &[u8] {
if data.is_empty() {
b"{}"
} else {
data
}
}
pub(crate) mod shape_create_performance_analysis_report_input;
pub(crate) mod shape_delete_performance_analysis_report_input;
pub(crate) mod shape_describe_dimension_keys_input;
pub(crate) mod shape_get_dimension_key_details_input;
pub(crate) mod shape_get_performance_analysis_report_input;
pub(crate) mod shape_get_resource_metadata_input;
pub(crate) mod shape_get_resource_metrics_input;
pub(crate) mod shape_internal_service_error;
pub(crate) mod shape_invalid_argument_exception;
pub(crate) mod shape_list_available_resource_dimensions_input;
pub(crate) mod shape_list_available_resource_metrics_input;
pub(crate) mod shape_list_performance_analysis_reports_input;
pub(crate) mod shape_list_tags_for_resource_input;
pub(crate) mod shape_not_authorized_exception;
pub(crate) mod shape_tag_resource_input;
pub(crate) mod shape_untag_resource_input;
pub(crate) mod shape_analysis_report;
pub(crate) mod shape_analysis_report_summary_list;
pub(crate) mod shape_dimension_group;
pub(crate) mod shape_dimension_key_description_list;
pub(crate) mod shape_dimension_key_detail_list;
pub(crate) mod shape_feature_metadata_map;
pub(crate) mod shape_metric_dimensions_list;
pub(crate) mod shape_metric_key_data_points_list;
pub(crate) mod shape_metric_query;
pub(crate) mod shape_response_partition_key_list;
pub(crate) mod shape_response_resource_metric_list;
pub(crate) mod shape_tag;
pub(crate) mod shape_tag_list;
pub(crate) mod shape_analysis_report_summary;
pub(crate) mod shape_dimension_key_description;
pub(crate) mod shape_dimension_key_detail;
pub(crate) mod shape_feature_metadata;
pub(crate) mod shape_insight_list;
pub(crate) mod shape_metric_dimension_groups;
pub(crate) mod shape_metric_key_data_points;
pub(crate) mod shape_response_partition_key;
pub(crate) mod shape_response_resource_metric;
pub(crate) mod shape_additional_metrics_map;
pub(crate) mod shape_data_points_list;
pub(crate) mod shape_dimension_group_detail_list;
pub(crate) mod shape_dimension_map;
pub(crate) mod shape_insight;
pub(crate) mod shape_metric_values_list;
pub(crate) mod shape_response_resource_metric_key;
pub(crate) mod shape_data_list;
pub(crate) mod shape_data_point;
pub(crate) mod shape_dimension_group_detail;
pub(crate) mod shape_recommendation_list;
pub(crate) mod shape_data;
pub(crate) mod shape_dimension_detail_list;
pub(crate) mod shape_recommendation;
pub(crate) mod shape_dimension_detail;
pub(crate) mod shape_performance_insights_metric;
pub(crate) mod shape_descriptive_map;