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_associate_disk;
pub(crate) mod shape_create_appliance;
pub(crate) mod shape_create_resource_provider;
pub(crate) mod shape_delete_appliance;
pub(crate) mod shape_delete_node;
pub(crate) mod shape_delete_resource_provider;
pub(crate) mod shape_delete_resource_target;
pub(crate) mod shape_get_activation_credentials;
pub(crate) mod shape_get_agent_download;
pub(crate) mod shape_get_agent_upgrade_settings;
pub(crate) mod shape_get_appliance;
pub(crate) mod shape_get_appliance_sizing_recommendation;
pub(crate) mod shape_get_node;
pub(crate) mod shape_get_resource_provider;
pub(crate) mod shape_get_resource_target;
pub(crate) mod shape_list_appliances;
pub(crate) mod shape_list_disks;
pub(crate) mod shape_list_nodes;
pub(crate) mod shape_list_resource_providers;
pub(crate) mod shape_list_resource_targets;
pub(crate) mod shape_list_tags;
pub(crate) mod shape_put_agent_upgrade_settings;
pub(crate) mod shape_start_resource_provider_agent_upgrade;
pub(crate) mod shape_start_resource_provider_migration;
pub(crate) mod shape_start_resource_provider_sync;
pub(crate) mod shape_tag_resource;
pub(crate) mod shape_untag_resource;
pub(crate) mod shape_update_appliance;
pub(crate) mod shape_update_resource_provider;
pub(crate) mod shape_update_resource_target;
pub(crate) mod shape_verify_nodes;
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_associate_disk_input;
pub(crate) mod shape_conflict_exception;
pub(crate) mod shape_create_appliance_input;
pub(crate) mod shape_create_resource_provider_input;
pub(crate) mod shape_get_appliance_sizing_recommendation_input;
pub(crate) mod shape_internal_server_exception;
pub(crate) mod shape_put_agent_upgrade_settings_input;
pub(crate) mod shape_resource_not_found_exception;
pub(crate) mod shape_service_quota_exceeded_exception;
pub(crate) mod shape_start_resource_provider_migration_input;
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_appliance_input;
pub(crate) mod shape_update_resource_provider_input;
pub(crate) mod shape_update_resource_target_input;
pub(crate) mod shape_validation_exception;
pub(crate) mod shape_verify_nodes_input;
pub(crate) mod shape_appliance_list_member_list;
pub(crate) mod shape_appliance_network_configuration_for_create;
pub(crate) mod shape_appliance_network_configuration_for_get_appliance;
pub(crate) mod shape_appliance_network_configuration_for_update;
pub(crate) mod shape_appliance_node_list_member_list;
pub(crate) mod shape_aws_tag_map;
pub(crate) mod shape_disk_summary_list;
pub(crate) mod shape_notification_list;
pub(crate) mod shape_resource_provider_configuration;
pub(crate) mod shape_resource_provider_list;
pub(crate) mod shape_resource_provider_metadata;
pub(crate) mod shape_resource_target_configuration;
pub(crate) mod shape_resource_target_configurations;
pub(crate) mod shape_resource_target_list;
pub(crate) mod shape_resource_target_metadata;
pub(crate) mod shape_resource_target_tag_key_to_sync_list;
pub(crate) mod shape_resource_target_tags_on_create;
pub(crate) mod shape_sizing_projection_list;
pub(crate) mod shape_sizing_workload;
pub(crate) mod shape_verified_appliance_node_list;
pub(crate) mod shape_appliance_list_member;
pub(crate) mod shape_appliance_node_list_member;
pub(crate) mod shape_list_disks_disk_summary;
pub(crate) mod shape_notification;
pub(crate) mod shape_resource_provider_configuration_for_mssql_server;
pub(crate) mod shape_resource_provider_configuration_for_nas_share;
pub(crate) mod shape_resource_provider_configuration_for_oracledb_cluster;
pub(crate) mod shape_resource_provider_configuration_for_oracledb_server;
pub(crate) mod shape_resource_provider_configuration_for_server_host;
pub(crate) mod shape_resource_provider_configuration_for_vmware_esxi;
pub(crate) mod shape_resource_provider_configuration_for_vmware_vcenter;
pub(crate) mod shape_resource_provider_list_item;
pub(crate) mod shape_resource_provider_metadata_for_mssql_server;
pub(crate) mod shape_resource_provider_metadata_for_nas_share;
pub(crate) mod shape_resource_provider_metadata_for_oracledb_cluster;
pub(crate) mod shape_resource_provider_metadata_for_oracledb_server;
pub(crate) mod shape_resource_provider_metadata_for_server_host;
pub(crate) mod shape_resource_provider_metadata_for_vmware_esxi;
pub(crate) mod shape_resource_provider_metadata_for_vmware_vcenter;
pub(crate) mod shape_resource_target_configuration_for_mssql_database;
pub(crate) mod shape_resource_target_configuration_for_nas_filesystem;
pub(crate) mod shape_resource_target_configuration_for_oracledb_database;
pub(crate) mod shape_resource_target_configuration_for_server_filesystem;
pub(crate) mod shape_resource_target_configuration_for_vmware_vm;
pub(crate) mod shape_resource_target_list_item;
pub(crate) mod shape_resource_target_metadata_for_mssql_database;
pub(crate) mod shape_resource_target_metadata_for_nas_filesystem;
pub(crate) mod shape_resource_target_metadata_for_oracledb_database;
pub(crate) mod shape_resource_target_metadata_for_server_filesystem;
pub(crate) mod shape_resource_target_metadata_for_vmware_vm;
pub(crate) mod shape_sizing_backup_configuration;
pub(crate) mod shape_sizing_projection;
pub(crate) mod shape_string_list;
pub(crate) mod shape_verified_appliance_node_list_member;
pub(crate) mod shape_server_filesystem_post_backup_script;
pub(crate) mod shape_server_filesystem_pre_backup_script;
pub(crate) mod shape_sizing_database_backup_configuration;
pub(crate) mod shape_sizing_nas_backup_configuration;
pub(crate) mod shape_sizing_standard_backup_configuration;
pub(crate) mod shape_sizing_backup_rule;