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;
pub(crate) mod shape_create_agreement;
pub(crate) mod shape_create_connector;
pub(crate) mod shape_create_profile;
pub(crate) mod shape_create_server;
pub(crate) mod shape_create_user;
pub(crate) mod shape_create_web_app;
pub(crate) mod shape_create_workflow;
pub(crate) mod shape_delete_access;
pub(crate) mod shape_delete_agreement;
pub(crate) mod shape_delete_certificate;
pub(crate) mod shape_delete_connector;
pub(crate) mod shape_delete_host_key;
pub(crate) mod shape_delete_profile;
pub(crate) mod shape_delete_server;
pub(crate) mod shape_delete_ssh_public_key;
pub(crate) mod shape_delete_user;
pub(crate) mod shape_delete_web_app;
pub(crate) mod shape_delete_web_app_customization;
pub(crate) mod shape_delete_workflow;
pub(crate) mod shape_describe_access;
pub(crate) mod shape_describe_agreement;
pub(crate) mod shape_describe_certificate;
pub(crate) mod shape_describe_connector;
pub(crate) mod shape_describe_execution;
pub(crate) mod shape_describe_host_key;
pub(crate) mod shape_describe_profile;
pub(crate) mod shape_describe_security_policy;
pub(crate) mod shape_describe_server;
pub(crate) mod shape_describe_user;
pub(crate) mod shape_describe_web_app;
pub(crate) mod shape_describe_web_app_customization;
pub(crate) mod shape_describe_workflow;
pub(crate) mod shape_import_certificate;
pub(crate) mod shape_import_host_key;
pub(crate) mod shape_import_ssh_public_key;
pub(crate) mod shape_list_accesses;
pub(crate) mod shape_list_agreements;
pub(crate) mod shape_list_certificates;
pub(crate) mod shape_list_connectors;
pub(crate) mod shape_list_executions;
pub(crate) mod shape_list_file_transfer_results;
pub(crate) mod shape_list_host_keys;
pub(crate) mod shape_list_profiles;
pub(crate) mod shape_list_security_policies;
pub(crate) mod shape_list_servers;
pub(crate) mod shape_list_tags_for_resource;
pub(crate) mod shape_list_users;
pub(crate) mod shape_list_web_apps;
pub(crate) mod shape_list_workflows;
pub(crate) mod shape_send_workflow_step_state;
pub(crate) mod shape_start_directory_listing;
pub(crate) mod shape_start_file_transfer;
pub(crate) mod shape_start_remote_delete;
pub(crate) mod shape_start_remote_move;
pub(crate) mod shape_start_server;
pub(crate) mod shape_stop_server;
pub(crate) mod shape_tag_resource;
pub(crate) mod shape_test_connection;
pub(crate) mod shape_test_identity_provider;
pub(crate) mod shape_untag_resource;
pub(crate) mod shape_update_access;
pub(crate) mod shape_update_agreement;
pub(crate) mod shape_update_certificate;
pub(crate) mod shape_update_connector;
pub(crate) mod shape_update_host_key;
pub(crate) mod shape_update_profile;
pub(crate) mod shape_update_server;
pub(crate) mod shape_update_user;
pub(crate) mod shape_update_web_app;
pub(crate) mod shape_update_web_app_customization;
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_input;
pub(crate) mod shape_create_agreement_input;
pub(crate) mod shape_create_connector_input;
pub(crate) mod shape_create_profile_input;
pub(crate) mod shape_create_server_input;
pub(crate) mod shape_create_user_input;
pub(crate) mod shape_create_web_app_input;
pub(crate) mod shape_create_workflow_input;
pub(crate) mod shape_delete_access_input;
pub(crate) mod shape_delete_agreement_input;
pub(crate) mod shape_delete_certificate_input;
pub(crate) mod shape_delete_connector_input;
pub(crate) mod shape_delete_host_key_input;
pub(crate) mod shape_delete_profile_input;
pub(crate) mod shape_delete_server_input;
pub(crate) mod shape_delete_ssh_public_key_input;
pub(crate) mod shape_delete_user_input;
pub(crate) mod shape_delete_web_app_customization_input;
pub(crate) mod shape_delete_web_app_input;
pub(crate) mod shape_delete_workflow_input;
pub(crate) mod shape_describe_access_input;
pub(crate) mod shape_describe_agreement_input;
pub(crate) mod shape_describe_certificate_input;
pub(crate) mod shape_describe_connector_input;
pub(crate) mod shape_describe_execution_input;
pub(crate) mod shape_describe_host_key_input;
pub(crate) mod shape_describe_profile_input;
pub(crate) mod shape_describe_security_policy_input;
pub(crate) mod shape_describe_server_input;
pub(crate) mod shape_describe_user_input;
pub(crate) mod shape_describe_web_app_customization_input;
pub(crate) mod shape_describe_web_app_input;
pub(crate) mod shape_describe_workflow_input;
pub(crate) mod shape_import_certificate_input;
pub(crate) mod shape_import_host_key_input;
pub(crate) mod shape_import_ssh_public_key_input;
pub(crate) mod shape_internal_service_error;
pub(crate) mod shape_invalid_next_token_exception;
pub(crate) mod shape_invalid_request_exception;
pub(crate) mod shape_list_accesses_input;
pub(crate) mod shape_list_agreements_input;
pub(crate) mod shape_list_certificates_input;
pub(crate) mod shape_list_connectors_input;
pub(crate) mod shape_list_executions_input;
pub(crate) mod shape_list_file_transfer_results_input;
pub(crate) mod shape_list_host_keys_input;
pub(crate) mod shape_list_profiles_input;
pub(crate) mod shape_list_security_policies_input;
pub(crate) mod shape_list_servers_input;
pub(crate) mod shape_list_tags_for_resource_input;
pub(crate) mod shape_list_users_input;
pub(crate) mod shape_list_web_apps_input;
pub(crate) mod shape_list_workflows_input;
pub(crate) mod shape_resource_exists_exception;
pub(crate) mod shape_resource_not_found_exception;
pub(crate) mod shape_send_workflow_step_state_input;
pub(crate) mod shape_service_unavailable_exception;
pub(crate) mod shape_start_directory_listing_input;
pub(crate) mod shape_start_file_transfer_input;
pub(crate) mod shape_start_remote_delete_input;
pub(crate) mod shape_start_remote_move_input;
pub(crate) mod shape_start_server_input;
pub(crate) mod shape_stop_server_input;
pub(crate) mod shape_tag_resource_input;
pub(crate) mod shape_test_connection_input;
pub(crate) mod shape_test_identity_provider_input;
pub(crate) mod shape_throttling_exception;
pub(crate) mod shape_untag_resource_input;
pub(crate) mod shape_update_access_input;
pub(crate) mod shape_update_agreement_input;
pub(crate) mod shape_update_certificate_input;
pub(crate) mod shape_update_connector_input;
pub(crate) mod shape_update_host_key_input;
pub(crate) mod shape_update_profile_input;
pub(crate) mod shape_update_server_input;
pub(crate) mod shape_update_user_input;
pub(crate) mod shape_update_web_app_customization_input;
pub(crate) mod shape_update_web_app_input;
pub(crate) mod shape_as2_connector_config;
pub(crate) mod shape_connector_egress_config;
pub(crate) mod shape_connector_file_transfer_results;
pub(crate) mod shape_custom_directories_type;
pub(crate) mod shape_custom_http_header;
pub(crate) mod shape_described_access;
pub(crate) mod shape_described_agreement;
pub(crate) mod shape_described_certificate;
pub(crate) mod shape_described_connector;
pub(crate) mod shape_described_execution;
pub(crate) mod shape_described_host_key;
pub(crate) mod shape_described_profile;
pub(crate) mod shape_described_security_policy;
pub(crate) mod shape_described_server;
pub(crate) mod shape_described_user;
pub(crate) mod shape_described_web_app;
pub(crate) mod shape_described_web_app_customization;
pub(crate) mod shape_described_workflow;
pub(crate) mod shape_endpoint_details;
pub(crate) mod shape_home_directory_map_entry;
pub(crate) mod shape_identity_provider_details;
pub(crate) mod shape_listed_accesses;
pub(crate) mod shape_listed_agreements;
pub(crate) mod shape_listed_certificates;
pub(crate) mod shape_listed_connectors;
pub(crate) mod shape_listed_executions;
pub(crate) mod shape_listed_host_keys;
pub(crate) mod shape_listed_profiles;
pub(crate) mod shape_listed_servers;
pub(crate) mod shape_listed_users;
pub(crate) mod shape_listed_web_apps;
pub(crate) mod shape_listed_workflows;
pub(crate) mod shape_posix_profile;
pub(crate) mod shape_protocol_details;
pub(crate) mod shape_s3_storage_options;
pub(crate) mod shape_security_policy_names;
pub(crate) mod shape_sftp_connector_config;
pub(crate) mod shape_sftp_connector_connection_details;
pub(crate) mod shape_tag;
pub(crate) mod shape_tags;
pub(crate) mod shape_update_connector_egress_config;
pub(crate) mod shape_update_web_app_endpoint_details;
pub(crate) mod shape_update_web_app_identity_provider_details;
pub(crate) mod shape_web_app_endpoint_details;
pub(crate) mod shape_web_app_identity_provider_details;
pub(crate) mod shape_web_app_units;
pub(crate) mod shape_workflow_details;
pub(crate) mod shape_workflow_step;
pub(crate) mod shape_as2_async_mdn_connector_config;
pub(crate) mod shape_certificate_ids;
pub(crate) mod shape_connector_file_transfer_result;
pub(crate) mod shape_connector_vpc_lattice_egress_config;
pub(crate) mod shape_copy_step_details;
pub(crate) mod shape_custom_step_details;
pub(crate) mod shape_decrypt_step_details;
pub(crate) mod shape_delete_step_details;
pub(crate) mod shape_described_connector_egress_config;
pub(crate) mod shape_described_web_app_endpoint_details;
pub(crate) mod shape_described_web_app_identity_provider_details;
pub(crate) mod shape_execution_results;
pub(crate) mod shape_file_location;
pub(crate) mod shape_home_directory_mappings;
pub(crate) mod shape_identity_center_config;
pub(crate) mod shape_listed_access;
pub(crate) mod shape_listed_agreement;
pub(crate) mod shape_listed_certificate;
pub(crate) mod shape_listed_connector;
pub(crate) mod shape_listed_execution;
pub(crate) mod shape_listed_host_key;
pub(crate) mod shape_listed_profile;
pub(crate) mod shape_listed_server;
pub(crate) mod shape_listed_user;
pub(crate) mod shape_listed_web_app;
pub(crate) mod shape_listed_workflow;
pub(crate) mod shape_logging_configuration;
pub(crate) mod shape_protocols;
pub(crate) mod shape_security_policy_options;
pub(crate) mod shape_security_policy_protocols;
pub(crate) mod shape_service_managed_egress_ip_addresses;
pub(crate) mod shape_service_metadata;
pub(crate) mod shape_ssh_public_keys;
pub(crate) mod shape_structured_log_destinations;
pub(crate) mod shape_tag_step_details;
pub(crate) mod shape_update_connector_vpc_lattice_egress_config;
pub(crate) mod shape_update_web_app_identity_center_config;
pub(crate) mod shape_update_web_app_vpc_config;
pub(crate) mod shape_web_app_vpc_config;
pub(crate) mod shape_workflow_detail;
pub(crate) mod shape_workflow_steps;
pub(crate) mod shape_address_allocation_ids;
pub(crate) mod shape_as2_transports;
pub(crate) mod shape_described_connector_vpc_lattice_egress_config;
pub(crate) mod shape_described_identity_center_config;
pub(crate) mod shape_described_web_app_vpc_config;
pub(crate) mod shape_efs_file_location;
pub(crate) mod shape_execution_step_results;
pub(crate) mod shape_input_file_location;
pub(crate) mod shape_on_partial_upload_workflow_details;
pub(crate) mod shape_on_upload_workflow_details;
pub(crate) mod shape_s3_file_location;
pub(crate) mod shape_s3_tag;
pub(crate) mod shape_secondary_gids;
pub(crate) mod shape_security_group_ids;
pub(crate) mod shape_sftp_connector_trusted_host_key_list;
pub(crate) mod shape_ssh_public_key;
pub(crate) mod shape_subnet_ids;
pub(crate) mod shape_user_details;
pub(crate) mod shape_as2_async_mdn_server_ids;
pub(crate) mod shape_execution_step_result;
pub(crate) mod shape_s3_input_file_location;
pub(crate) mod shape_execution_error;
pub(crate) mod shape_s3_tags;