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_service_role_to_account;
pub(crate) mod shape_batch_associate_client_device_with_core_device;
pub(crate) mod shape_batch_disassociate_client_device_from_core_device;
pub(crate) mod shape_cancel_deployment;
pub(crate) mod shape_create_component_version;
pub(crate) mod shape_create_deployment;
pub(crate) mod shape_delete_component;
pub(crate) mod shape_delete_core_device;
pub(crate) mod shape_delete_deployment;
pub(crate) mod shape_describe_component;
pub(crate) mod shape_disassociate_service_role_from_account;
pub(crate) mod shape_get_component;
pub(crate) mod shape_get_component_version_artifact;
pub(crate) mod shape_get_connectivity_info;
pub(crate) mod shape_get_core_device;
pub(crate) mod shape_get_deployment;
pub(crate) mod shape_get_service_role_for_account;
pub(crate) mod shape_list_client_devices_associated_with_core_device;
pub(crate) mod shape_list_component_versions;
pub(crate) mod shape_list_components;
pub(crate) mod shape_list_core_devices;
pub(crate) mod shape_list_deployments;
pub(crate) mod shape_list_effective_deployments;
pub(crate) mod shape_list_installed_components;
pub(crate) mod shape_list_tags_for_resource;
pub(crate) mod shape_resolve_component_candidates;
pub(crate) mod shape_tag_resource;
pub(crate) mod shape_untag_resource;
pub(crate) mod shape_update_connectivity_info;
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_service_role_to_account_input;
pub(crate) mod shape_batch_associate_client_device_with_core_device_input;
pub(crate) mod shape_batch_disassociate_client_device_from_core_device_input;
pub(crate) mod shape_conflict_exception;
pub(crate) mod shape_create_component_version_input;
pub(crate) mod shape_create_deployment_input;
pub(crate) mod shape_internal_server_exception;
pub(crate) mod shape_request_already_in_progress_exception;
pub(crate) mod shape_resolve_component_candidates_input;
pub(crate) mod shape_resource_not_found_exception;
pub(crate) mod shape_service_quota_exceeded_exception;
pub(crate) mod shape_tag_resource_input;
pub(crate) mod shape_throttling_exception;
pub(crate) mod shape_update_connectivity_info_input;
pub(crate) mod shape_validation_exception;
pub(crate) mod shape_associate_client_device_with_core_device_entry;
pub(crate) mod shape_associate_client_device_with_core_device_error_list;
pub(crate) mod shape_associated_client_device_list;
pub(crate) mod shape_cloud_component_status;
pub(crate) mod shape_component_candidate;
pub(crate) mod shape_component_deployment_specification;
pub(crate) mod shape_component_deployment_specifications;
pub(crate) mod shape_component_list;
pub(crate) mod shape_component_platform;
pub(crate) mod shape_component_platform_list;
pub(crate) mod shape_component_version_list;
pub(crate) mod shape_connectivity_info;
pub(crate) mod shape_connectivity_info_list;
pub(crate) mod shape_core_devices_list;
pub(crate) mod shape_deployment_io_t_job_configuration;
pub(crate) mod shape_deployment_list;
pub(crate) mod shape_deployment_policies;
pub(crate) mod shape_disassociate_client_device_from_core_device_entry;
pub(crate) mod shape_disassociate_client_device_from_core_device_error_list;
pub(crate) mod shape_effective_deployments_list;
pub(crate) mod shape_installed_component_list;
pub(crate) mod shape_lambda_function_recipe_source;
pub(crate) mod shape_resolved_component_versions_list;
pub(crate) mod shape_tag_map;
pub(crate) mod shape_validation_exception_field_list;
pub(crate) mod shape_associate_client_device_with_core_device_error_entry;
pub(crate) mod shape_associated_client_device;
pub(crate) mod shape_component;
pub(crate) mod shape_component_configuration_update;
pub(crate) mod shape_component_dependency_requirement;
pub(crate) mod shape_component_run_with;
pub(crate) mod shape_component_version_list_item;
pub(crate) mod shape_core_device;
pub(crate) mod shape_deployment;
pub(crate) mod shape_deployment_component_update_policy;
pub(crate) mod shape_deployment_configuration_validation_policy;
pub(crate) mod shape_disassociate_client_device_from_core_device_error_entry;
pub(crate) mod shape_effective_deployment;
pub(crate) mod shape_installed_component;
pub(crate) mod shape_io_t_job_abort_config;
pub(crate) mod shape_io_t_job_executions_rollout_config;
pub(crate) mod shape_io_t_job_timeout_config;
pub(crate) mod shape_lambda_execution_parameters;
pub(crate) mod shape_resolved_component_version;
pub(crate) mod shape_string_map;
pub(crate) mod shape_validation_exception_field;
pub(crate) mod shape_component_latest_version;
pub(crate) mod shape_effective_deployment_status_details;
pub(crate) mod shape_installed_component_lifecycle_status_code_list;
pub(crate) mod shape_io_t_job_abort_criteria;
pub(crate) mod shape_io_t_job_abort_criteria_list;
pub(crate) mod shape_io_t_job_exponential_rollout_rate;
pub(crate) mod shape_lambda_event_source;
pub(crate) mod shape_lambda_linux_process_params;
pub(crate) mod shape_platform_attributes_map;
pub(crate) mod shape_system_resource_limits;
pub(crate) mod shape_component_configuration_path_list;
pub(crate) mod shape_effective_deployment_error_stack;
pub(crate) mod shape_effective_deployment_error_type_list;
pub(crate) mod shape_io_t_job_rate_increase_criteria;
pub(crate) mod shape_lambda_container_params;
pub(crate) mod shape_lambda_device_mount;
pub(crate) mod shape_lambda_volume_mount;