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_access_token;
pub(crate) mod shape_create_dev_environment;
pub(crate) mod shape_create_project;
pub(crate) mod shape_create_source_repository;
pub(crate) mod shape_create_source_repository_branch;
pub(crate) mod shape_delete_access_token;
pub(crate) mod shape_delete_dev_environment;
pub(crate) mod shape_delete_project;
pub(crate) mod shape_delete_source_repository;
pub(crate) mod shape_delete_space;
pub(crate) mod shape_get_dev_environment;
pub(crate) mod shape_get_project;
pub(crate) mod shape_get_source_repository;
pub(crate) mod shape_get_source_repository_clone_urls;
pub(crate) mod shape_get_space;
pub(crate) mod shape_get_subscription;
pub(crate) mod shape_get_user_details;
pub(crate) mod shape_get_workflow;
pub(crate) mod shape_get_workflow_run;
pub(crate) mod shape_list_access_tokens;
pub(crate) mod shape_list_dev_environment_sessions;
pub(crate) mod shape_list_dev_environments;
pub(crate) mod shape_list_event_logs;
pub(crate) mod shape_list_projects;
pub(crate) mod shape_list_source_repositories;
pub(crate) mod shape_list_source_repository_branches;
pub(crate) mod shape_list_spaces;
pub(crate) mod shape_list_workflow_runs;
pub(crate) mod shape_list_workflows;
pub(crate) mod shape_start_dev_environment;
pub(crate) mod shape_start_dev_environment_session;
pub(crate) mod shape_start_workflow_run;
pub(crate) mod shape_stop_dev_environment;
pub(crate) mod shape_stop_dev_environment_session;
pub(crate) mod shape_update_dev_environment;
pub(crate) mod shape_update_project;
pub(crate) mod shape_update_space;
pub(crate) mod shape_verify_session;
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_conflict_exception;
pub(crate) mod shape_create_access_token_input;
pub(crate) mod shape_create_dev_environment_input;
pub(crate) mod shape_create_project_input;
pub(crate) mod shape_create_source_repository_branch_input;
pub(crate) mod shape_create_source_repository_input;
pub(crate) mod shape_list_access_tokens_input;
pub(crate) mod shape_list_dev_environment_sessions_input;
pub(crate) mod shape_list_dev_environments_input;
pub(crate) mod shape_list_event_logs_input;
pub(crate) mod shape_list_projects_input;
pub(crate) mod shape_list_source_repositories_input;
pub(crate) mod shape_list_source_repository_branches_input;
pub(crate) mod shape_list_spaces_input;
pub(crate) mod shape_list_workflow_runs_input;
pub(crate) mod shape_list_workflows_input;
pub(crate) mod shape_resource_not_found_exception;
pub(crate) mod shape_service_quota_exceeded_exception;
pub(crate) mod shape_start_dev_environment_input;
pub(crate) mod shape_start_dev_environment_session_input;
pub(crate) mod shape_start_workflow_run_input;
pub(crate) mod shape_throttling_exception;
pub(crate) mod shape_update_dev_environment_input;
pub(crate) mod shape_update_project_input;
pub(crate) mod shape_update_space_input;
pub(crate) mod shape_validation_exception;
pub(crate) mod shape_access_token_summaries;
pub(crate) mod shape_dev_environment_access_details;
pub(crate) mod shape_dev_environment_repository_summaries;
pub(crate) mod shape_dev_environment_session_configuration;
pub(crate) mod shape_dev_environment_sessions_summary_list;
pub(crate) mod shape_dev_environment_summary_list;
pub(crate) mod shape_email_address;
pub(crate) mod shape_event_log_entries;
pub(crate) mod shape_filter;
pub(crate) mod shape_ide_configuration;
pub(crate) mod shape_ide_configuration_list;
pub(crate) mod shape_ides;
pub(crate) mod shape_list_source_repositories_items;
pub(crate) mod shape_list_source_repository_branches_items;
pub(crate) mod shape_persistent_storage;
pub(crate) mod shape_persistent_storage_configuration;
pub(crate) mod shape_project_list_filter;
pub(crate) mod shape_project_summaries;
pub(crate) mod shape_repository_input;
pub(crate) mod shape_space_summaries;
pub(crate) mod shape_workflow_definition;
pub(crate) mod shape_workflow_run_sort_criteria;
pub(crate) mod shape_workflow_run_status_reasons;
pub(crate) mod shape_workflow_run_summaries;
pub(crate) mod shape_workflow_sort_criteria;
pub(crate) mod shape_workflow_summaries;
pub(crate) mod shape_access_token_summary;
pub(crate) mod shape_dev_environment_repository_summary;
pub(crate) mod shape_dev_environment_session_summary;
pub(crate) mod shape_dev_environment_summary;
pub(crate) mod shape_event_log_entry;
pub(crate) mod shape_execute_command_session_configuration;
pub(crate) mod shape_ide;
pub(crate) mod shape_list_source_repositories_item;
pub(crate) mod shape_list_source_repository_branches_item;
pub(crate) mod shape_project_summary;
pub(crate) mod shape_space_summary;
pub(crate) mod shape_workflow_run_status_reason;
pub(crate) mod shape_workflow_run_summary;
pub(crate) mod shape_workflow_summary;
pub(crate) mod shape_event_payload;
pub(crate) mod shape_project_information;
pub(crate) mod shape_user_identity;
pub(crate) mod shape_workflow_definition_summary;