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(crate) mod shape_accept_curation_proposal;
pub(crate) mod shape_agentic_retrieve;
pub(crate) mod shape_agentic_retrieve_stream;
pub(crate) mod shape_associate_curation_policy;
pub(crate) mod shape_cancel_ontology_induction;
pub(crate) mod shape_cancel_task;
pub(crate) mod shape_create_agent_context;
pub(crate) mod shape_create_change_set;
pub(crate) mod shape_create_connection;
pub(crate) mod shape_create_curation_policy;
pub(crate) mod shape_create_curation_policy_version;
pub(crate) mod shape_create_ontology;
pub(crate) mod shape_delete_agent_context;
pub(crate) mod shape_delete_connection;
pub(crate) mod shape_delete_curation_policy;
pub(crate) mod shape_delete_ontology;
pub(crate) mod shape_delete_ontology_induction;
pub(crate) mod shape_delete_resource_policy;
pub(crate) mod shape_disassociate_curation_policy;
pub(crate) mod shape_execute_sql;
pub(crate) mod shape_get_agent_context;
pub(crate) mod shape_get_change_set;
pub(crate) mod shape_get_connection;
pub(crate) mod shape_get_curation_policy;
pub(crate) mod shape_get_curation_proposal;
pub(crate) mod shape_get_ontology;
pub(crate) mod shape_get_ontology_induction;
pub(crate) mod shape_get_resource_policy;
pub(crate) mod shape_get_task;
pub(crate) mod shape_list_agent_contexts;
pub(crate) mod shape_list_change_set_operations;
pub(crate) mod shape_list_change_sets;
pub(crate) mod shape_list_connections;
pub(crate) mod shape_list_curation_policies;
pub(crate) mod shape_list_curation_proposals;
pub(crate) mod shape_list_ontologies;
pub(crate) mod shape_list_ontology_inductions;
pub(crate) mod shape_list_tags_for_resource;
pub(crate) mod shape_list_tasks;
pub(crate) mod shape_put_resource_policy;
pub(crate) mod shape_put_trace;
pub(crate) mod shape_reject_curation_proposal;
pub(crate) mod shape_search_agent_context;
pub(crate) mod shape_start_ontology_induction;
pub(crate) mod shape_start_task;
pub(crate) mod shape_tag_resource;
pub(crate) mod shape_traverse_agent_context;
pub(crate) mod shape_untag_resource;
pub(crate) mod shape_update_agent_context;
pub(crate) mod shape_update_change_set;
pub(crate) mod shape_update_connection;
pub(crate) mod shape_update_curation_policy;
pub(crate) mod shape_accept_curation_proposal_input;
pub(crate) mod shape_access_denied_exception;
pub(crate) mod shape_agentic_retrieve_input;
pub(crate) mod shape_agentic_retrieve_stream_input;
pub(crate) mod shape_agentic_retrieve_stream_output;
pub(crate) mod shape_associate_curation_policy_input;
pub(crate) mod shape_cancel_ontology_induction_input;
pub(crate) mod shape_cancel_task_input;
pub(crate) mod shape_conflict_exception;
pub(crate) mod shape_create_agent_context_input;
pub(crate) mod shape_create_change_set_input;
pub(crate) mod shape_create_connection_input;
pub(crate) mod shape_create_curation_policy_input;
pub(crate) mod shape_create_curation_policy_version_input;
pub(crate) mod shape_create_ontology_input;
pub(crate) mod shape_delete_agent_context_input;
pub(crate) mod shape_delete_connection_input;
pub(crate) mod shape_delete_curation_policy_input;
pub(crate) mod shape_delete_ontology_induction_input;
pub(crate) mod shape_delete_ontology_input;
pub(crate) mod shape_delete_resource_policy_input;
pub(crate) mod shape_disassociate_curation_policy_input;
pub(crate) mod shape_execute_sql_input;
pub(crate) mod shape_get_agent_context_input;
pub(crate) mod shape_get_change_set_input;
pub(crate) mod shape_get_connection_input;
pub(crate) mod shape_get_curation_policy_input;
pub(crate) mod shape_get_curation_proposal_input;
pub(crate) mod shape_get_ontology_induction_input;
pub(crate) mod shape_get_ontology_input;
pub(crate) mod shape_get_resource_policy_input;
pub(crate) mod shape_get_task_input;
pub(crate) mod shape_internal_server_exception;
pub(crate) mod shape_list_agent_contexts_input;
pub(crate) mod shape_list_change_set_operations_input;
pub(crate) mod shape_list_change_sets_input;
pub(crate) mod shape_list_connections_input;
pub(crate) mod shape_list_curation_policies_input;
pub(crate) mod shape_list_curation_proposals_input;
pub(crate) mod shape_list_ontologies_input;
pub(crate) mod shape_list_ontology_inductions_input;
pub(crate) mod shape_list_tags_for_resource_input;
pub(crate) mod shape_list_tasks_input;
pub(crate) mod shape_put_resource_policy_input;
pub(crate) mod shape_put_trace_input;
pub(crate) mod shape_reject_curation_proposal_input;
pub(crate) mod shape_resource_not_found_exception;
pub(crate) mod shape_search_agent_context_input;
pub(crate) mod shape_service_quota_exceeded_exception;
pub(crate) mod shape_start_ontology_induction_input;
pub(crate) mod shape_start_task_input;
pub(crate) mod shape_tag_resource_input;
pub(crate) mod shape_throttling_exception;
pub(crate) mod shape_traverse_agent_context_input;
pub(crate) mod shape_untag_resource_input;
pub(crate) mod shape_update_agent_context_input;
pub(crate) mod shape_update_change_set_input;
pub(crate) mod shape_update_connection_input;
pub(crate) mod shape_update_curation_policy_input;
pub(crate) mod shape_validation_exception;
pub fn parse_event_stream_error_metadata(
payload: &::bytes::Bytes,
) -> ::std::result::Result<::aws_smithy_types::error::metadata::Builder, ::aws_smithy_cbor::decode::DeserializeError> {
crate::cbor_errors::parse_error_metadata(0, &::aws_smithy_runtime_api::http::Headers::new(), payload)
}
pub(crate) mod shape_access_config;
pub(crate) mod shape_access_control_config;
pub(crate) mod shape_agent_context_summary_list;
pub(crate) mod shape_analysis_configuration;
pub(crate) mod shape_authorization_required;
pub(crate) mod shape_change_set_operation;
pub(crate) mod shape_change_set_operation_list;
pub(crate) mod shape_change_set_summary_list;
pub(crate) mod shape_citation_list;
pub(crate) mod shape_connection_failure;
pub(crate) mod shape_connection_mapping;
pub(crate) mod shape_connection_mapping_list;
pub(crate) mod shape_connection_summary_list;
pub(crate) mod shape_curation_policy_summary_list;
pub(crate) mod shape_curation_proposal_summary_list;
pub(crate) mod shape_data_source_reference;
pub(crate) mod shape_data_source_scope;
pub(crate) mod shape_encryption_config;
pub(crate) mod shape_entity_resolution_config;
pub(crate) mod shape_glue_connection_mapping;
pub(crate) mod shape_glue_connection_mapping_list;
pub(crate) mod shape_ingestion_config;
pub(crate) mod shape_message;
pub(crate) mod shape_neighbor_node_list;
pub(crate) mod shape_ontology_induction_failure;
pub(crate) mod shape_ontology_induction_input_config;
pub(crate) mod shape_ontology_induction_input_config_summary;
pub(crate) mod shape_ontology_induction_summaries;
pub(crate) mod shape_ontology_summaries;
pub(crate) mod shape_ontology_validation_issues;
pub(crate) mod shape_retrieval_configuration;
pub(crate) mod shape_retrieved_context_list;
pub(crate) mod shape_search_agent_context_result_list;
pub(crate) mod shape_search_filter;
pub(crate) mod shape_sql_column_metadata_list;
pub(crate) mod shape_sql_data_query;
pub(crate) mod shape_sql_row_list;
pub(crate) mod shape_status_reason;
pub(crate) mod shape_stream_retrieval_configuration;
pub(crate) mod shape_sync_schedule;
pub(crate) mod shape_tag_map;
pub(crate) mod shape_task_input_configuration;
pub(crate) mod shape_task_input_configuration_summary;
pub(crate) mod shape_task_output_list;
pub(crate) mod shape_task_statistics;
pub(crate) mod shape_task_summary_list;
pub(crate) mod shape_trace_analysis_config;
pub(crate) mod shape_traversal_strategy;
pub(crate) mod shape_triggering_policy_list;
pub(crate) mod shape_trusted_identity_source;
pub(crate) mod shape_trusted_identity_source_list;
pub(crate) mod shape_validation_exception_field_list;
pub(crate) mod shape_workforce_sign_in_config;
pub(crate) mod shape_access_control_entry;
pub(crate) mod shape_agent_context_summary;
pub(crate) mod shape_agentic_retrieve_response_event;
pub(crate) mod shape_agentic_retrieve_result_event;
pub(crate) mod shape_agentic_retrieve_trace_event;
pub(crate) mod shape_change_set_summary;
pub(crate) mod shape_citation;
pub(crate) mod shape_connection_summary;
pub(crate) mod shape_curation_policy_summary;
pub(crate) mod shape_curation_proposal_summary;
pub(crate) mod shape_data_filter;
pub(crate) mod shape_data_source_location;
pub(crate) mod shape_delete_operation;
pub(crate) mod shape_filter_attribute;
pub(crate) mod shape_iam_role_access;
pub(crate) mod shape_import_data_dictionary_task_configuration;
pub(crate) mod shape_import_data_dictionary_task_summary;
pub(crate) mod shape_import_ontology_task_configuration;
pub(crate) mod shape_import_ontology_task_summary;
pub(crate) mod shape_import_verified_queries_task_configuration;
pub(crate) mod shape_import_verified_queries_task_summary;
pub(crate) mod shape_neighbor_node;
pub(crate) mod shape_ontology_induction_document;
pub(crate) mod shape_ontology_induction_document_summaries;
pub(crate) mod shape_ontology_induction_summary;
pub(crate) mod shape_ontology_mapping;
pub(crate) mod shape_ontology_summary;
pub(crate) mod shape_ontology_validation_issue;
pub(crate) mod shape_path_segment;
pub(crate) mod shape_put_operation;
pub(crate) mod shape_resource_selector;
pub(crate) mod shape_resource_selector_list;
pub(crate) mod shape_retrieved_context;
pub(crate) mod shape_search_agent_context_result_entity;
pub(crate) mod shape_sql_column_metadata;
pub(crate) mod shape_sql_query;
pub(crate) mod shape_sql_row;
pub(crate) mod shape_task_output;
pub(crate) mod shape_task_summary;
pub(crate) mod shape_triggering_policy;
pub(crate) mod shape_update_operation;
pub(crate) mod shape_validation_exception_field;
pub(crate) mod shape_any_value;
pub(crate) mod shape_change_set_reference;
pub(crate) mod shape_edge_identifier;
pub(crate) mod shape_entity;
pub(crate) mod shape_filter;
pub(crate) mod shape_filter_value;
pub(crate) mod shape_input_document;
pub(crate) mod shape_metadata;
pub(crate) mod shape_ontology_induction_document_summary;
pub(crate) mod shape_ontology_mapping_list;
pub(crate) mod shape_ontology_reference;
pub(crate) mod shape_ontology_reference_summary_list;
pub(crate) mod shape_path_edges_list;
pub(crate) mod shape_path_segment_list;
pub(crate) mod shape_reference_list;
pub(crate) mod shape_retrieved_context_content;
pub(crate) mod shape_sql_table_reference;
pub(crate) mod shape_sql_value_list;
pub(crate) mod shape_task_document_list;
pub(crate) mod shape_agentic_retrieve_trace_event_attributes;
pub(crate) mod shape_filter_list;
pub(crate) mod shape_ontology_reference_summary;
pub(crate) mod shape_path_edge;
pub(crate) mod shape_reference;
pub(crate) mod shape_sql_value;
pub(crate) mod shape_task_document;
pub(crate) mod shape_agentic_retrieve_action_list;
pub(crate) mod shape_agentic_retrieve_failure_list;
pub(crate) mod shape_agentic_retrieve_warning_list;
pub(crate) mod shape_bool_list_property_value;
pub(crate) mod shape_double_list_property_value;
pub(crate) mod shape_float_list_property_value;
pub(crate) mod shape_int_list_property_value;
pub(crate) mod shape_long_list_property_value;
pub(crate) mod shape_string_list_property_value;
pub(crate) mod shape_agentic_retrieve_action;
pub(crate) mod shape_agentic_retrieve_failure;
pub(crate) mod shape_agentic_retrieve_warning;
pub(crate) mod shape_tag_set;
pub(crate) mod shape_agentic_retrieve_source_retriever_list;
pub(crate) mod shape_agentic_retrieve_source_retriever;