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_accept_fork_pull_request_deployment;
pub(crate) mod shape_cancel_gradual_rollout;
pub(crate) mod shape_create_app;
pub(crate) mod shape_create_deployment;
pub(crate) mod shape_create_domain_association;
pub(crate) mod shape_create_environment;
pub(crate) mod shape_create_integration_configuration;
pub(crate) mod shape_create_integration_connection;
pub(crate) mod shape_create_network_connector;
pub(crate) mod shape_create_source_upload;
pub(crate) mod shape_delete_alias;
pub(crate) mod shape_delete_app;
pub(crate) mod shape_delete_backend_from_app;
pub(crate) mod shape_delete_branch;
pub(crate) mod shape_delete_deployment;
pub(crate) mod shape_delete_domain_association;
pub(crate) mod shape_delete_environment;
pub(crate) mod shape_delete_environment_variables;
pub(crate) mod shape_delete_git_connection;
pub(crate) mod shape_delete_identity_provider_config;
pub(crate) mod shape_delete_integration_configuration;
pub(crate) mod shape_delete_integration_connection;
pub(crate) mod shape_delete_network_connector;
pub(crate) mod shape_delete_source_upload;
pub(crate) mod shape_disable_access_control;
pub(crate) mod shape_enable_access_control;
pub(crate) mod shape_get_access_control;
pub(crate) mod shape_get_alias;
pub(crate) mod shape_get_api_key;
pub(crate) mod shape_get_app;
pub(crate) mod shape_get_branch;
pub(crate) mod shape_get_deployment;
pub(crate) mod shape_get_domain_association;
pub(crate) mod shape_get_domain_connect_url;
pub(crate) mod shape_get_environment;
pub(crate) mod shape_get_environments_for_network_connector;
pub(crate) mod shape_get_file;
pub(crate) mod shape_get_folder;
pub(crate) mod shape_get_identity_provider_config;
pub(crate) mod shape_get_integration_configuration;
pub(crate) mod shape_get_integration_connection;
pub(crate) mod shape_get_network_connector;
pub(crate) mod shape_get_restore_window;
pub(crate) mod shape_get_source_upload;
pub(crate) mod shape_list_access_controls;
pub(crate) mod shape_list_aliases;
pub(crate) mod shape_list_api_keys;
pub(crate) mod shape_list_apps;
pub(crate) mod shape_list_branches;
pub(crate) mod shape_list_deployments_for_app;
pub(crate) mod shape_list_deployments_for_environment;
pub(crate) mod shape_list_domain_associations_for_account;
pub(crate) mod shape_list_domain_associations_for_app;
pub(crate) mod shape_list_environment_variables;
pub(crate) mod shape_list_environments;
pub(crate) mod shape_list_git_branches;
pub(crate) mod shape_list_git_connections;
pub(crate) mod shape_list_integration_configurations;
pub(crate) mod shape_list_integration_connections;
pub(crate) mod shape_list_integration_types;
pub(crate) mod shape_list_network_connectors;
pub(crate) mod shape_list_plan_violations;
pub(crate) mod shape_list_repositories;
pub(crate) mod shape_list_source_uploads;
pub(crate) mod shape_list_tags_for_resource;
pub(crate) mod shape_put_environment_variables;
pub(crate) mod shape_put_identity_provider_config;
pub(crate) mod shape_reset_cache;
pub(crate) mod shape_restore_branch;
pub(crate) mod shape_resume_backend;
pub(crate) mod shape_revoke_api_key;
pub(crate) mod shape_rotate_identity_provider_secret;
pub(crate) mod shape_start_authorization_flow;
pub(crate) mod shape_start_cache_revalidation;
pub(crate) mod shape_tag_resource;
pub(crate) mod shape_untag_resource;
pub(crate) mod shape_update_access_control;
pub(crate) mod shape_update_alias_routing;
pub(crate) mod shape_update_app;
pub(crate) mod shape_update_domain_association;
pub(crate) mod shape_update_environment;
pub(crate) mod shape_update_integration_configuration;
pub(crate) mod shape_update_network_connector;
pub(crate) fn or_empty_doc(data: &[u8]) -> &[u8] {
if data.is_empty() {
b"{}"
} else {
data
}
}
pub(crate) mod shape_accept_fork_pull_request_deployment_input;
pub(crate) mod shape_access_denied_exception;
pub(crate) mod shape_conflict_exception;
pub(crate) mod shape_create_app_input;
pub(crate) mod shape_create_deployment_input;
pub(crate) mod shape_create_domain_association_input;
pub(crate) mod shape_create_environment_input;
pub(crate) mod shape_create_integration_configuration_input;
pub(crate) mod shape_create_integration_connection_input;
pub(crate) mod shape_create_network_connector_input;
pub(crate) mod shape_create_source_upload_input;
pub(crate) mod shape_enable_access_control_input;
pub(crate) mod shape_git_connection_disconnected_exception;
pub(crate) mod shape_internal_server_exception;
pub(crate) mod shape_put_environment_variables_input;
pub(crate) mod shape_put_identity_provider_config_input;
pub(crate) mod shape_reset_cache_input;
pub(crate) mod shape_resource_not_found_exception;
pub(crate) mod shape_restore_branch_input;
pub(crate) mod shape_revoke_api_key_input;
pub(crate) mod shape_role_not_assumable_exception;
pub(crate) mod shape_rotate_identity_provider_secret_input;
pub(crate) mod shape_service_quota_exceeded_exception;
pub(crate) mod shape_start_authorization_flow_input;
pub(crate) mod shape_start_cache_revalidation_input;
pub(crate) mod shape_tag_resource_input;
pub(crate) mod shape_throttling_exception;
pub(crate) mod shape_update_access_control_input;
pub(crate) mod shape_update_alias_routing_input;
pub(crate) mod shape_update_app_input;
pub(crate) mod shape_update_domain_association_input;
pub(crate) mod shape_update_environment_input;
pub(crate) mod shape_update_integration_configuration_input;
pub(crate) mod shape_update_network_connector_input;
pub(crate) mod shape_validation_exception;
pub(crate) mod shape_access_control_rule;
pub(crate) mod shape_access_control_summary_list;
pub(crate) mod shape_alias_summary_list;
pub(crate) mod shape_api_key_summary_list;
pub(crate) mod shape_app_backend;
pub(crate) mod shape_app_backend_request;
pub(crate) mod shape_app_source_config;
pub(crate) mod shape_app_source_config_request;
pub(crate) mod shape_app_summary_list;
pub(crate) mod shape_app_update_source_config_request;
pub(crate) mod shape_app_update_web_config_request;
pub(crate) mod shape_app_web_config;
pub(crate) mod shape_app_web_config_request;
pub(crate) mod shape_branch_backend;
pub(crate) mod shape_branch_list;
pub(crate) mod shape_connector_reference_summary_list;
pub(crate) mod shape_default_environment_configuration;
pub(crate) mod shape_deployment_backend;
pub(crate) mod shape_deployment_branch;
pub(crate) mod shape_deployment_source_config;
pub(crate) mod shape_deployment_source_config_request;
pub(crate) mod shape_deployment_steps;
pub(crate) mod shape_deployment_summary_list;
pub(crate) mod shape_dns_record_list;
pub(crate) mod shape_domain_association_account_summary_list;
pub(crate) mod shape_domain_association_summary_list;
pub(crate) mod shape_environment_backend;
pub(crate) mod shape_environment_backend_config_request;
pub(crate) mod shape_environment_network_config;
pub(crate) mod shape_environment_network_config_request;
pub(crate) mod shape_environment_source_config;
pub(crate) mod shape_environment_source_config_request;
pub(crate) mod shape_environment_summary_list;
pub(crate) mod shape_environment_update_backend_request;
pub(crate) mod shape_environment_update_network_config_request;
pub(crate) mod shape_environment_update_source_config_request;
pub(crate) mod shape_environment_update_web_config_request;
pub(crate) mod shape_environment_variable_input;
pub(crate) mod shape_environment_variable_output_list;
pub(crate) mod shape_environment_web_config;
pub(crate) mod shape_environment_web_config_request;
pub(crate) mod shape_file_reference_list;
pub(crate) mod shape_folder_reference_list;
pub(crate) mod shape_git_branch_list;
pub(crate) mod shape_git_connection_list;
pub(crate) mod shape_gradual_rollout_config;
pub(crate) mod shape_gradual_rollout_state;
pub(crate) mod shape_identity_provider_config;
pub(crate) mod shape_identity_provider_config_request;
pub(crate) mod shape_integration_configuration_summary_list;
pub(crate) mod shape_integration_connection_summary_list;
pub(crate) mod shape_integration_environment_variable_input;
pub(crate) mod shape_integration_environment_variable_list;
pub(crate) mod shape_integration_type_list;
pub(crate) mod shape_network_connector_summary_list;
pub(crate) mod shape_plan_violation_list;
pub(crate) mod shape_repository_list;
pub(crate) mod shape_resource_configuration;
pub(crate) mod shape_restore_source_branch;
pub(crate) mod shape_routing;
pub(crate) mod shape_routing_config;
pub(crate) mod shape_routing_config_entry;
pub(crate) mod shape_security_group_id_list;
pub(crate) mod shape_source_upload_summary_list;
pub(crate) mod shape_subnet_id_list;
pub(crate) mod shape_tag_map;
pub(crate) mod shape_waf_config_list;
pub(crate) mod shape_waf_log_config_list;
pub(crate) mod shape_waf_log_config_request;
pub(crate) mod shape_zip_upload;
pub(crate) mod shape_zip_upload_request;
pub(crate) mod shape_access_control_summary;
pub(crate) mod shape_access_log_config;
pub(crate) mod shape_access_log_config_request;
pub(crate) mod shape_access_rule_condition;
pub(crate) mod shape_access_rule_condition_list;
pub(crate) mod shape_alias_routing;
pub(crate) mod shape_alias_summary;
pub(crate) mod shape_api_key_summary;
pub(crate) mod shape_app_build_config;
pub(crate) mod shape_app_build_config_request;
pub(crate) mod shape_app_git_hub_source;
pub(crate) mod shape_app_git_hub_source_request;
pub(crate) mod shape_app_git_lab_source;
pub(crate) mod shape_app_git_lab_source_request;
pub(crate) mod shape_app_summary;
pub(crate) mod shape_app_update_build_config_request;
pub(crate) mod shape_app_update_git_hub_source_request;
pub(crate) mod shape_app_update_git_lab_source_request;
pub(crate) mod shape_backend_database_usage;
pub(crate) mod shape_bedrock_configuration;
pub(crate) mod shape_branch_database_configuration;
pub(crate) mod shape_branch_database_connection;
pub(crate) mod shape_branch_database_usage;
pub(crate) mod shape_branch_summary;
pub(crate) mod shape_build_step;
pub(crate) mod shape_connector_reference_summary;
pub(crate) mod shape_custom_configuration;
pub(crate) mod shape_database_config;
pub(crate) mod shape_database_config_request;
pub(crate) mod shape_database_log_config;
pub(crate) mod shape_database_log_config_request;
pub(crate) mod shape_deploy_step;
pub(crate) mod shape_deployment_branch_backend;
pub(crate) mod shape_deployment_git_source;
pub(crate) mod shape_deployment_git_source_request;
pub(crate) mod shape_deployment_manual_upload_source;
pub(crate) mod shape_deployment_manual_upload_source_request;
pub(crate) mod shape_deployment_summary;
pub(crate) mod shape_dns_record;
pub(crate) mod shape_domain_association_account_summary;
pub(crate) mod shape_domain_association_summary;
pub(crate) mod shape_dsql_configuration;
pub(crate) mod shape_environment_alias_config;
pub(crate) mod shape_environment_git_source;
pub(crate) mod shape_environment_git_source_request;
pub(crate) mod shape_environment_permissions_config_request;
pub(crate) mod shape_environment_summary;
pub(crate) mod shape_environment_variable_output;
pub(crate) mod shape_file_reference;
pub(crate) mod shape_folder_reference;
pub(crate) mod shape_git_branch_summary;
pub(crate) mod shape_git_connection_summary;
pub(crate) mod shape_iam_identity_center_config;
pub(crate) mod shape_integration_configuration_summary;
pub(crate) mod shape_integration_connection_summary;
pub(crate) mod shape_integration_environment_variable;
pub(crate) mod shape_integration_type;
pub(crate) mod shape_migration_step;
pub(crate) mod shape_network_connector_summary;
pub(crate) mod shape_no_source;
pub(crate) mod shape_oidc_config;
pub(crate) mod shape_oidc_config_output;
pub(crate) mod shape_plan_violation;
pub(crate) mod shape_preset_config;
pub(crate) mod shape_redirect_routing;
pub(crate) mod shape_repository_summary;
pub(crate) mod shape_rollout_stage_list;
pub(crate) mod shape_s3_configuration;
pub(crate) mod shape_skew_protection_config;
pub(crate) mod shape_source_upload_summary;
pub(crate) mod shape_waf_cloud_watch_logs_delivery_config_request;
pub(crate) mod shape_waf_config;
pub(crate) mod shape_waf_log_config;
pub(crate) mod shape_waf_s3_delivery_config_request;
pub(crate) mod shape_app_limit_list;
pub(crate) mod shape_branch_match_patterns;
pub(crate) mod shape_cloud_watch_logs_delivery_config;
pub(crate) mod shape_cloud_watch_logs_delivery_config_request;
pub(crate) mod shape_connection_type_list;
pub(crate) mod shape_database_cloud_watch_logs_delivery_config;
pub(crate) mod shape_database_cloud_watch_logs_delivery_config_request;
pub(crate) mod shape_database_s3_delivery_config;
pub(crate) mod shape_database_s3_delivery_config_request;
pub(crate) mod shape_deployment_trigger_events;
pub(crate) mod shape_environment_backend_summary;
pub(crate) mod shape_environment_web_config_summary;
pub(crate) mod shape_integration_environment_variable_descriptor_list;
pub(crate) mod shape_migration_name_list;
pub(crate) mod shape_region_limit_list;
pub(crate) mod shape_request_params_map;
pub(crate) mod shape_rollout_stage;
pub(crate) mod shape_s3_delivery_config;
pub(crate) mod shape_s3_delivery_config_request;
pub(crate) mod shape_token_validation_list;
pub(crate) mod shape_violation_resource_list;
pub(crate) mod shape_waf_cloud_watch_logs_delivery_config;
pub(crate) mod shape_waf_s3_delivery_config;
pub(crate) mod shape_app_limit;
pub(crate) mod shape_integration_environment_variable_descriptor;
pub(crate) mod shape_region_limit;
pub(crate) mod shape_violation_resource;