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_batch_create_table_rows;
pub(crate) mod shape_batch_delete_table_rows;
pub(crate) mod shape_batch_update_table_rows;
pub(crate) mod shape_batch_upsert_table_rows;
pub(crate) mod shape_describe_table_data_import_job;
pub(crate) mod shape_get_screen_data;
pub(crate) mod shape_invoke_screen_automation;
pub(crate) mod shape_list_table_columns;
pub(crate) mod shape_list_table_rows;
pub(crate) mod shape_list_tables;
pub(crate) mod shape_list_tags_for_resource;
pub(crate) mod shape_query_table_rows;
pub(crate) mod shape_start_table_data_import_job;
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_access_denied_exception;
pub(crate) mod shape_automation_execution_exception;
pub(crate) mod shape_automation_execution_timeout_exception;
pub(crate) mod shape_batch_create_table_rows_input;
pub(crate) mod shape_batch_delete_table_rows_input;
pub(crate) mod shape_batch_update_table_rows_input;
pub(crate) mod shape_batch_upsert_table_rows_input;
pub(crate) mod shape_get_screen_data_input;
pub(crate) mod shape_internal_server_exception;
pub(crate) mod shape_invoke_screen_automation_input;
pub(crate) mod shape_list_table_rows_input;
pub(crate) mod shape_query_table_rows_input;
pub(crate) mod shape_request_timeout_exception;
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_table_data_import_job_input;
pub(crate) mod shape_tag_resource_input;
pub(crate) mod shape_throttling_exception;
pub(crate) mod shape_validation_exception;
pub(crate) mod shape_create_row_data;
pub(crate) mod shape_created_rows_map;
pub(crate) mod shape_failed_batch_items;
pub(crate) mod shape_filter;
pub(crate) mod shape_import_data_source;
pub(crate) mod shape_import_options;
pub(crate) mod shape_resource_ids;
pub(crate) mod shape_result_set_map;
pub(crate) mod shape_row_id_list;
pub(crate) mod shape_table_columns;
pub(crate) mod shape_table_data_import_job_metadata;
pub(crate) mod shape_table_rows;
pub(crate) mod shape_tables;
pub(crate) mod shape_tags_map;
pub(crate) mod shape_update_row_data;
pub(crate) mod shape_upsert_row_data;
pub(crate) mod shape_upsert_rows_result_map;
pub(crate) mod shape_variable_value;
pub(crate) mod shape_cell_input;
pub(crate) mod shape_delimited_text_import_options;
pub(crate) mod shape_destination_options;
pub(crate) mod shape_failed_batch_item;
pub(crate) mod shape_import_data_source_config;
pub(crate) mod shape_import_job_submitter;
pub(crate) mod shape_result_set;
pub(crate) mod shape_table;
pub(crate) mod shape_table_column;
pub(crate) mod shape_table_row;
pub(crate) mod shape_upsert_rows_result;
pub(crate) mod shape_cells;
pub(crate) mod shape_result_header;
pub(crate) mod shape_result_rows;
pub(crate) mod shape_source_data_column_properties;
pub(crate) mod shape_cell;
pub(crate) mod shape_column_metadata;
pub(crate) mod shape_import_column_map;
pub(crate) mod shape_result_row;
pub(crate) mod shape_data_items;
pub(crate) mod shape_formatted_values_list;
pub(crate) mod shape_data_item;