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_file_system_aliases;
pub(crate) mod shape_cancel_data_repository_task;
pub(crate) mod shape_copy_backup;
pub(crate) mod shape_copy_snapshot_and_update_volume;
pub(crate) mod shape_create_and_attach_s3_access_point;
pub(crate) mod shape_create_backup;
pub(crate) mod shape_create_data_repository_association;
pub(crate) mod shape_create_data_repository_task;
pub(crate) mod shape_create_file_cache;
pub(crate) mod shape_create_file_system;
pub(crate) mod shape_create_file_system_from_backup;
pub(crate) mod shape_create_snapshot;
pub(crate) mod shape_create_storage_virtual_machine;
pub(crate) mod shape_create_volume;
pub(crate) mod shape_create_volume_from_backup;
pub(crate) mod shape_delete_backup;
pub(crate) mod shape_delete_data_repository_association;
pub(crate) mod shape_delete_file_cache;
pub(crate) mod shape_delete_file_system;
pub(crate) mod shape_delete_snapshot;
pub(crate) mod shape_delete_storage_virtual_machine;
pub(crate) mod shape_delete_volume;
pub(crate) mod shape_describe_backups;
pub(crate) mod shape_describe_data_repository_associations;
pub(crate) mod shape_describe_data_repository_tasks;
pub(crate) mod shape_describe_file_caches;
pub(crate) mod shape_describe_file_system_aliases;
pub(crate) mod shape_describe_file_systems;
pub(crate) mod shape_describe_s3_access_point_attachments;
pub(crate) mod shape_describe_shared_vpc_configuration;
pub(crate) mod shape_describe_snapshots;
pub(crate) mod shape_describe_storage_virtual_machines;
pub(crate) mod shape_describe_volumes;
pub(crate) mod shape_detach_and_delete_s3_access_point;
pub(crate) mod shape_disassociate_file_system_aliases;
pub(crate) mod shape_list_tags_for_resource;
pub(crate) mod shape_release_file_system_nfs_v3_locks;
pub(crate) mod shape_restore_volume_from_snapshot;
pub(crate) mod shape_start_misconfigured_state_recovery;
pub(crate) mod shape_tag_resource;
pub(crate) mod shape_untag_resource;
pub(crate) mod shape_update_data_repository_association;
pub(crate) mod shape_update_file_cache;
pub(crate) mod shape_update_file_system;
pub(crate) mod shape_update_shared_vpc_configuration;
pub(crate) mod shape_update_snapshot;
pub(crate) mod shape_update_storage_virtual_machine;
pub(crate) mod shape_update_volume;
pub(crate) fn or_empty_doc(data: &[u8]) -> &[u8] {
if data.is_empty() {
b"{}"
} else {
data
}
}
pub(crate) mod shape_access_point_already_owned_by_you;
pub(crate) mod shape_active_directory_error;
pub(crate) mod shape_associate_file_system_aliases_input;
pub(crate) mod shape_backup_being_copied;
pub(crate) mod shape_backup_in_progress;
pub(crate) mod shape_backup_not_found;
pub(crate) mod shape_backup_restoring;
pub(crate) mod shape_bad_request;
pub(crate) mod shape_cancel_data_repository_task_input;
pub(crate) mod shape_copy_backup_input;
pub(crate) mod shape_copy_snapshot_and_update_volume_input;
pub(crate) mod shape_create_and_attach_s3_access_point_input;
pub(crate) mod shape_create_backup_input;
pub(crate) mod shape_create_data_repository_association_input;
pub(crate) mod shape_create_data_repository_task_input;
pub(crate) mod shape_create_file_cache_input;
pub(crate) mod shape_create_file_system_from_backup_input;
pub(crate) mod shape_create_file_system_input;
pub(crate) mod shape_create_snapshot_input;
pub(crate) mod shape_create_storage_virtual_machine_input;
pub(crate) mod shape_create_volume_from_backup_input;
pub(crate) mod shape_create_volume_input;
pub(crate) mod shape_data_repository_association_not_found;
pub(crate) mod shape_data_repository_task_ended;
pub(crate) mod shape_data_repository_task_executing;
pub(crate) mod shape_data_repository_task_not_found;
pub(crate) mod shape_delete_backup_input;
pub(crate) mod shape_delete_data_repository_association_input;
pub(crate) mod shape_delete_file_cache_input;
pub(crate) mod shape_delete_file_system_input;
pub(crate) mod shape_delete_snapshot_input;
pub(crate) mod shape_delete_storage_virtual_machine_input;
pub(crate) mod shape_delete_volume_input;
pub(crate) mod shape_describe_backups_input;
pub(crate) mod shape_describe_data_repository_associations_input;
pub(crate) mod shape_describe_data_repository_tasks_input;
pub(crate) mod shape_describe_file_caches_input;
pub(crate) mod shape_describe_file_system_aliases_input;
pub(crate) mod shape_describe_file_systems_input;
pub(crate) mod shape_describe_s3_access_point_attachments_input;
pub(crate) mod shape_describe_snapshots_input;
pub(crate) mod shape_describe_storage_virtual_machines_input;
pub(crate) mod shape_describe_volumes_input;
pub(crate) mod shape_detach_and_delete_s3_access_point_input;
pub(crate) mod shape_disassociate_file_system_aliases_input;
pub(crate) mod shape_file_cache_not_found;
pub(crate) mod shape_file_system_not_found;
pub(crate) mod shape_incompatible_parameter_error;
pub(crate) mod shape_incompatible_region_for_multi_az;
pub(crate) mod shape_internal_server_error;
pub(crate) mod shape_invalid_access_point;
pub(crate) mod shape_invalid_data_repository_type;
pub(crate) mod shape_invalid_destination_kms_key;
pub(crate) mod shape_invalid_export_path;
pub(crate) mod shape_invalid_import_path;
pub(crate) mod shape_invalid_network_settings;
pub(crate) mod shape_invalid_per_unit_storage_throughput;
pub(crate) mod shape_invalid_region;
pub(crate) mod shape_invalid_request;
pub(crate) mod shape_invalid_source_kms_key;
pub(crate) mod shape_list_tags_for_resource_input;
pub(crate) mod shape_missing_file_cache_configuration;
pub(crate) mod shape_missing_file_system_configuration;
pub(crate) mod shape_missing_volume_configuration;
pub(crate) mod shape_not_service_resource_error;
pub(crate) mod shape_release_file_system_nfs_v3_locks_input;
pub(crate) mod shape_resource_does_not_support_tagging;
pub(crate) mod shape_resource_not_found;
pub(crate) mod shape_restore_volume_from_snapshot_input;
pub(crate) mod shape_s3_access_point_attachment_not_found;
pub(crate) mod shape_service_limit_exceeded;
pub(crate) mod shape_snapshot_not_found;
pub(crate) mod shape_source_backup_unavailable;
pub(crate) mod shape_start_misconfigured_state_recovery_input;
pub(crate) mod shape_storage_virtual_machine_not_found;
pub(crate) mod shape_tag_resource_input;
pub(crate) mod shape_too_many_access_points;
pub(crate) mod shape_unsupported_operation;
pub(crate) mod shape_untag_resource_input;
pub(crate) mod shape_update_data_repository_association_input;
pub(crate) mod shape_update_file_cache_input;
pub(crate) mod shape_update_file_system_input;
pub(crate) mod shape_update_shared_vpc_configuration_input;
pub(crate) mod shape_update_snapshot_input;
pub(crate) mod shape_update_storage_virtual_machine_input;
pub(crate) mod shape_update_volume_input;
pub(crate) mod shape_volume_not_found;
pub(crate) mod shape_administrative_actions;
pub(crate) mod shape_aliases;
pub(crate) mod shape_backup;
pub(crate) mod shape_backups;
pub(crate) mod shape_completion_report;
pub(crate) mod shape_create_and_attach_s3_access_point_ontap_configuration;
pub(crate) mod shape_create_and_attach_s3_access_point_open_zfs_configuration;
pub(crate) mod shape_create_and_attach_s3_access_point_s3_configuration;
pub(crate) mod shape_create_file_cache_lustre_configuration;
pub(crate) mod shape_create_file_system_lustre_configuration;
pub(crate) mod shape_create_file_system_ontap_configuration;
pub(crate) mod shape_create_file_system_open_zfs_configuration;
pub(crate) mod shape_create_file_system_windows_configuration;
pub(crate) mod shape_create_ontap_volume_configuration;
pub(crate) mod shape_create_open_zfs_volume_configuration;
pub(crate) mod shape_create_svm_active_directory_configuration;
pub(crate) mod shape_data_repository_association;
pub(crate) mod shape_data_repository_associations;
pub(crate) mod shape_data_repository_task;
pub(crate) mod shape_data_repository_task_filter;
pub(crate) mod shape_data_repository_tasks;
pub(crate) mod shape_delete_file_system_lustre_configuration;
pub(crate) mod shape_delete_file_system_lustre_response;
pub(crate) mod shape_delete_file_system_open_zfs_configuration;
pub(crate) mod shape_delete_file_system_open_zfs_response;
pub(crate) mod shape_delete_file_system_windows_configuration;
pub(crate) mod shape_delete_file_system_windows_response;
pub(crate) mod shape_delete_volume_ontap_configuration;
pub(crate) mod shape_delete_volume_ontap_response;
pub(crate) mod shape_delete_volume_open_zfs_configuration;
pub(crate) mod shape_file_cache;
pub(crate) mod shape_file_cache_creating;
pub(crate) mod shape_file_cache_data_repository_association;
pub(crate) mod shape_file_caches;
pub(crate) mod shape_file_system;
pub(crate) mod shape_file_systems;
pub(crate) mod shape_filter;
pub(crate) mod shape_release_configuration;
pub(crate) mod shape_s3_access_point_attachment;
pub(crate) mod shape_s3_access_point_attachments;
pub(crate) mod shape_s3_access_point_attachments_filter;
pub(crate) mod shape_s3_data_repository_configuration;
pub(crate) mod shape_snapshot;
pub(crate) mod shape_snapshot_filter;
pub(crate) mod shape_snapshots;
pub(crate) mod shape_storage_virtual_machine;
pub(crate) mod shape_storage_virtual_machine_filter;
pub(crate) mod shape_storage_virtual_machines;
pub(crate) mod shape_tag;
pub(crate) mod shape_tags;
pub(crate) mod shape_update_file_cache_lustre_configuration;
pub(crate) mod shape_update_file_system_lustre_configuration;
pub(crate) mod shape_update_file_system_ontap_configuration;
pub(crate) mod shape_update_file_system_open_zfs_configuration;
pub(crate) mod shape_update_file_system_windows_configuration;
pub(crate) mod shape_update_ontap_volume_configuration;
pub(crate) mod shape_update_open_zfs_volume_configuration;
pub(crate) mod shape_update_svm_active_directory_configuration;
pub(crate) mod shape_volume;
pub(crate) mod shape_volume_filter;
pub(crate) mod shape_volumes;
pub(crate) mod shape_active_directory_backup_attributes;
pub(crate) mod shape_administrative_action;
pub(crate) mod shape_alias;
pub(crate) mod shape_auto_export_policy;
pub(crate) mod shape_auto_import_policy;
pub(crate) mod shape_backup_failure_details;
pub(crate) mod shape_create_aggregate_configuration;
pub(crate) mod shape_create_file_system_lustre_metadata_configuration;
pub(crate) mod shape_create_open_zfs_origin_snapshot_configuration;
pub(crate) mod shape_create_snaplock_configuration;
pub(crate) mod shape_data_repository_association_ids;
pub(crate) mod shape_data_repository_failure_details;
pub(crate) mod shape_data_repository_task_failure_details;
pub(crate) mod shape_data_repository_task_paths;
pub(crate) mod shape_data_repository_task_status;
pub(crate) mod shape_disk_iops_configuration;
pub(crate) mod shape_duration_since_last_access;
pub(crate) mod shape_file_cache_failure_details;
pub(crate) mod shape_file_cache_lustre_configuration;
pub(crate) mod shape_file_cache_lustre_metadata_configuration;
pub(crate) mod shape_file_cache_nfs_configuration;
pub(crate) mod shape_file_system_failure_details;
pub(crate) mod shape_lifecycle_transition_reason;
pub(crate) mod shape_lustre_file_system_configuration;
pub(crate) mod shape_lustre_log_create_configuration;
pub(crate) mod shape_lustre_read_cache_configuration;
pub(crate) mod shape_lustre_root_squash_configuration;
pub(crate) mod shape_network_interface_ids;
pub(crate) mod shape_nfs_data_repository_configuration;
pub(crate) mod shape_ontap_file_system_configuration;
pub(crate) mod shape_ontap_file_system_identity;
pub(crate) mod shape_ontap_volume_configuration;
pub(crate) mod shape_open_zfs_create_root_volume_configuration;
pub(crate) mod shape_open_zfs_file_system_configuration;
pub(crate) mod shape_open_zfs_file_system_identity;
pub(crate) mod shape_open_zfs_nfs_export;
pub(crate) mod shape_open_zfs_read_cache_configuration;
pub(crate) mod shape_open_zfs_user_or_group_quota;
pub(crate) mod shape_open_zfs_volume_configuration;
pub(crate) mod shape_s3_access_point;
pub(crate) mod shape_s3_access_point_ontap_configuration;
pub(crate) mod shape_s3_access_point_open_zfs_configuration;
pub(crate) mod shape_s3_access_point_vpc_configuration;
pub(crate) mod shape_self_managed_active_directory_configuration;
pub(crate) mod shape_self_managed_active_directory_configuration_updates;
pub(crate) mod shape_sub_directories_paths;
pub(crate) mod shape_subnet_ids;
pub(crate) mod shape_svm_active_directory_configuration;
pub(crate) mod shape_svm_endpoints;
pub(crate) mod shape_tiering_policy;
pub(crate) mod shape_update_file_system_lustre_metadata_configuration;
pub(crate) mod shape_update_snaplock_configuration;
pub(crate) mod shape_windows_audit_log_create_configuration;
pub(crate) mod shape_windows_file_system_configuration;
pub(crate) mod shape_windows_fsrm_configuration;
pub(crate) mod shape_administrative_action_failure_details;
pub(crate) mod shape_aggregate_configuration;
pub(crate) mod shape_autocommit_period;
pub(crate) mod shape_data_repository_configuration;
pub(crate) mod shape_file_system_endpoints;
pub(crate) mod shape_file_system_lustre_metadata_configuration;
pub(crate) mod shape_file_system_maintenance_operations;
pub(crate) mod shape_lustre_log_configuration;
pub(crate) mod shape_ontap_unix_file_system_user;
pub(crate) mod shape_ontap_windows_file_system_user;
pub(crate) mod shape_open_zfs_client_configuration;
pub(crate) mod shape_open_zfs_nfs_exports;
pub(crate) mod shape_open_zfs_origin_snapshot_configuration;
pub(crate) mod shape_open_zfs_posix_file_system_user;
pub(crate) mod shape_open_zfs_user_and_group_quotas;
pub(crate) mod shape_repository_dns_ips;
pub(crate) mod shape_route_table_ids;
pub(crate) mod shape_self_managed_active_directory_attributes;
pub(crate) mod shape_snaplock_configuration;
pub(crate) mod shape_snaplock_retention_period;
pub(crate) mod shape_svm_endpoint;
pub(crate) mod shape_windows_audit_log_configuration;
pub(crate) mod shape_aggregates;
pub(crate) mod shape_dns_ips;
pub(crate) mod shape_event_types;
pub(crate) mod shape_file_system_endpoint;
pub(crate) mod shape_lustre_no_squash_nids;
pub(crate) mod shape_ontap_endpoint_ip_addresses;
pub(crate) mod shape_retention_period;
pub(crate) mod shape_file_system_secondary_gids;
pub(crate) mod shape_open_zfs_client_configurations;
pub(crate) mod shape_open_zfs_nfs_export_options;