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_connection_proposal;
pub(crate) mod shape_create_connection;
pub(crate) mod shape_delete_connection;
pub(crate) mod shape_describe_connection_proposal;
pub(crate) mod shape_get_connection;
pub(crate) mod shape_get_environment;
pub(crate) mod shape_list_attach_points;
pub(crate) mod shape_list_connections;
pub(crate) mod shape_list_environments;
pub(crate) mod shape_list_tags_for_resource;
pub(crate) mod shape_tag_resource;
pub(crate) mod shape_untag_resource;
pub(crate) mod shape_update_connection;
pub(crate) mod shape_accept_connection_proposal_input;
pub(crate) mod shape_access_denied_exception;
pub(crate) mod shape_create_connection_input;
pub(crate) mod shape_delete_connection_input;
pub(crate) mod shape_describe_connection_proposal_input;
pub(crate) mod shape_get_connection_input;
pub(crate) mod shape_get_environment_input;
pub(crate) mod shape_interconnect_client_exception;
pub(crate) mod shape_interconnect_server_exception;
pub(crate) mod shape_interconnect_validation_exception;
pub(crate) mod shape_list_attach_points_input;
pub(crate) mod shape_list_connections_input;
pub(crate) mod shape_list_environments_input;
pub(crate) mod shape_list_tags_for_resource_input;
pub(crate) mod shape_resource_not_found_exception;
pub(crate) mod shape_service_quota_exceeded_exception;
pub(crate) mod shape_tag_resource_input;
pub(crate) mod shape_throttling_exception;
pub(crate) mod shape_untag_resource_input;
pub(crate) mod shape_update_connection_input;
pub(crate) mod shape_attach_point;
pub(crate) mod shape_attach_point_descriptor_list;
pub(crate) mod shape_connection;
pub(crate) mod shape_connection_summaries_list;
pub(crate) mod shape_environment;
pub(crate) mod shape_environment_list;
pub(crate) mod shape_provider;
pub(crate) mod shape_remote_account_identifier;
pub(crate) mod shape_tag_map;
pub(crate) mod shape_attach_point_descriptor;
pub(crate) mod shape_bandwidths;
pub(crate) mod shape_connection_summary;
pub(crate) mod shape_bandwidth_list;