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_batch_get_case_rule;
pub(crate) mod shape_batch_get_field;
pub(crate) mod shape_batch_put_field_options;
pub(crate) mod shape_create_case;
pub(crate) mod shape_create_case_rule;
pub(crate) mod shape_create_domain;
pub(crate) mod shape_create_field;
pub(crate) mod shape_create_layout;
pub(crate) mod shape_create_related_item;
pub(crate) mod shape_create_template;
pub(crate) mod shape_delete_case;
pub(crate) mod shape_delete_case_rule;
pub(crate) mod shape_delete_domain;
pub(crate) mod shape_delete_field;
pub(crate) mod shape_delete_layout;
pub(crate) mod shape_delete_related_item;
pub(crate) mod shape_delete_template;
pub(crate) mod shape_get_case;
pub(crate) mod shape_get_case_audit_events;
pub(crate) mod shape_get_case_event_configuration;
pub(crate) mod shape_get_domain;
pub(crate) mod shape_get_layout;
pub(crate) mod shape_get_template;
pub(crate) mod shape_list_case_rules;
pub(crate) mod shape_list_cases_for_contact;
pub(crate) mod shape_list_domains;
pub(crate) mod shape_list_field_options;
pub(crate) mod shape_list_fields;
pub(crate) mod shape_list_layouts;
pub(crate) mod shape_list_tags_for_resource;
pub(crate) mod shape_list_templates;
pub(crate) mod shape_put_case_event_configuration;
pub(crate) mod shape_search_all_related_items;
pub(crate) mod shape_search_cases;
pub(crate) mod shape_search_related_items;
pub(crate) mod shape_tag_resource;
pub(crate) mod shape_untag_resource;
pub(crate) mod shape_update_case;
pub(crate) mod shape_update_case_rule;
pub(crate) mod shape_update_field;
pub(crate) mod shape_update_layout;
pub(crate) mod shape_update_related_item;
pub(crate) mod shape_update_template;
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_batch_get_case_rule_input;
pub(crate) mod shape_batch_get_field_input;
pub(crate) mod shape_batch_put_field_options_input;
pub(crate) mod shape_conflict_exception;
pub(crate) mod shape_create_case_input;
pub(crate) mod shape_create_case_rule_input;
pub(crate) mod shape_create_domain_input;
pub(crate) mod shape_create_field_input;
pub(crate) mod shape_create_layout_input;
pub(crate) mod shape_create_related_item_input;
pub(crate) mod shape_create_template_input;
pub(crate) mod shape_get_case_audit_events_input;
pub(crate) mod shape_get_case_input;
pub(crate) mod shape_internal_server_exception;
pub(crate) mod shape_list_cases_for_contact_input;
pub(crate) mod shape_put_case_event_configuration_input;
pub(crate) mod shape_resource_not_found_exception;
pub(crate) mod shape_search_all_related_items_input;
pub(crate) mod shape_search_cases_input;
pub(crate) mod shape_search_related_items_input;
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_case_input;
pub(crate) mod shape_update_case_rule_input;
pub(crate) mod shape_update_field_input;
pub(crate) mod shape_update_layout_input;
pub(crate) mod shape_update_related_item_input;
pub(crate) mod shape_update_template_input;
pub(crate) mod shape_validation_exception;
pub(crate) mod shape_audit_events_list;
pub(crate) mod shape_batch_get_case_rule_error_list;
pub(crate) mod shape_batch_get_case_rule_list;
pub(crate) mod shape_batch_get_case_rule_unprocessed_list;
pub(crate) mod shape_batch_get_field_error_list;
pub(crate) mod shape_batch_get_field_list;
pub(crate) mod shape_case_filter;
pub(crate) mod shape_case_rule_details;
pub(crate) mod shape_case_rule_identifier;
pub(crate) mod shape_case_rule_summary_list;
pub(crate) mod shape_case_summary_list;
pub(crate) mod shape_domain_summary_list;
pub(crate) mod shape_event_bridge_configuration;
pub(crate) mod shape_field_attributes;
pub(crate) mod shape_field_identifier;
pub(crate) mod shape_field_option;
pub(crate) mod shape_field_option_error_list;
pub(crate) mod shape_field_options_list;
pub(crate) mod shape_field_summary_list;
pub(crate) mod shape_field_value;
pub(crate) mod shape_field_value_list;
pub(crate) mod shape_layout_configuration;
pub(crate) mod shape_layout_content;
pub(crate) mod shape_layout_summary_list;
pub(crate) mod shape_related_item_content;
pub(crate) mod shape_related_item_input_content;
pub(crate) mod shape_related_item_type_filter;
pub(crate) mod shape_related_item_update_content;
pub(crate) mod shape_required_field;
pub(crate) mod shape_required_field_list;
pub(crate) mod shape_search_all_related_items_response_item_list;
pub(crate) mod shape_search_all_related_items_sort;
pub(crate) mod shape_search_cases_response_item_list;
pub(crate) mod shape_search_related_items_response_item_list;
pub(crate) mod shape_sort;
pub(crate) mod shape_tag_propagation_configuration;
pub(crate) mod shape_tag_propagation_configuration_list;
pub(crate) mod shape_tags;
pub(crate) mod shape_template_case_rule_list;
pub(crate) mod shape_template_rule;
pub(crate) mod shape_template_summary_list;
pub(crate) mod shape_user_union;
pub(crate) mod shape_audit_event;
pub(crate) mod shape_basic_layout;
pub(crate) mod shape_case_rule_error;
pub(crate) mod shape_case_rule_summary;
pub(crate) mod shape_case_summary;
pub(crate) mod shape_comment_content;
pub(crate) mod shape_comment_filter;
pub(crate) mod shape_comment_update_content;
pub(crate) mod shape_connect_case_content;
pub(crate) mod shape_connect_case_filter;
pub(crate) mod shape_connect_case_input_content;
pub(crate) mod shape_contact;
pub(crate) mod shape_contact_content;
pub(crate) mod shape_contact_filter;
pub(crate) mod shape_custom_content;
pub(crate) mod shape_custom_filter;
pub(crate) mod shape_custom_input_content;
pub(crate) mod shape_custom_update_content;
pub(crate) mod shape_domain_summary;
pub(crate) mod shape_event_included_data;
pub(crate) mod shape_field_error;
pub(crate) mod shape_field_filter;
pub(crate) mod shape_field_option_error;
pub(crate) mod shape_field_options_case_rule;
pub(crate) mod shape_field_summary;
pub(crate) mod shape_field_value_union;
pub(crate) mod shape_file_content;
pub(crate) mod shape_file_filter;
pub(crate) mod shape_get_case_rule_response;
pub(crate) mod shape_get_field_response;
pub(crate) mod shape_hidden_case_rule;
pub(crate) mod shape_layout_summary;
pub(crate) mod shape_required_case_rule;
pub(crate) mod shape_search_all_related_items_response_item;
pub(crate) mod shape_search_cases_response_item;
pub(crate) mod shape_search_related_items_response_item;
pub(crate) mod shape_sla_content;
pub(crate) mod shape_sla_filter;
pub(crate) mod shape_sla_input_content;
pub(crate) mod shape_tag_filter;
pub(crate) mod shape_template_summary;
pub(crate) mod shape_text_attributes;
pub(crate) mod shape_audit_event_field_list;
pub(crate) mod shape_audit_event_performed_by;
pub(crate) mod shape_boolean_condition;
pub(crate) mod shape_case_event_included_data;
pub(crate) mod shape_custom_fields_filter;
pub(crate) mod shape_empty_field_value;
pub(crate) mod shape_layout_sections;
pub(crate) mod shape_mutable_tags;
pub(crate) mod shape_parent_child_field_options_mapping;
pub(crate) mod shape_related_item_event_included_data;
pub(crate) mod shape_sla_configuration;
pub(crate) mod shape_sla_input_configuration;
pub(crate) mod shape_tag_value;
pub(crate) mod shape_audit_event_field;
pub(crate) mod shape_boolean_operands;
pub(crate) mod shape_compound_condition;
pub(crate) mod shape_field_identifier_list;
pub(crate) mod shape_section;
pub(crate) mod shape_sections_list;
pub(crate) mod shape_sla_field_value_union_list;
pub(crate) mod shape_audit_event_field_value_union;
pub(crate) mod shape_boolean_condition_list;
pub(crate) mod shape_field_group;
pub(crate) mod shape_operand_one;
pub(crate) mod shape_operand_two;
pub(crate) mod shape_parent_child_field_options_mapping_list;
pub(crate) mod shape_empty_operand_value;
pub(crate) mod shape_field_item;
pub(crate) mod shape_field_list;
pub(crate) mod shape_parent_child_field_option_value_list;