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_brand_profile;
pub(crate) mod shape_create_brand_profile_attributes;
pub(crate) mod shape_create_brand_profile_from_registration;
pub(crate) mod shape_create_notify_code_configuration;
pub(crate) mod shape_create_registrations_from_brand_profile;
pub(crate) mod shape_delete_brand_profile;
pub(crate) mod shape_delete_brand_profile_attribute;
pub(crate) mod shape_delete_notify_code_configuration;
pub(crate) mod shape_get_brand_profile;
pub(crate) mod shape_get_brand_profile_attribute;
pub(crate) mod shape_get_job;
pub(crate) mod shape_get_notify_code_configuration;
pub(crate) mod shape_list_brand_profile_attributes;
pub(crate) mod shape_list_brand_profiles;
pub(crate) mod shape_list_jobs;
pub(crate) mod shape_list_notify_code_configurations;
pub(crate) mod shape_list_registrations_from_brand_profile;
pub(crate) mod shape_list_tags_for_resource;
pub(crate) mod shape_send_notify_code_verification;
pub(crate) mod shape_tag_resource;
pub(crate) mod shape_untag_resource;
pub(crate) mod shape_update_brand_profile;
pub(crate) mod shape_update_brand_profile_attribute;
pub(crate) mod shape_update_brand_profile_from_registration;
pub(crate) mod shape_update_notify_code_configuration;
pub(crate) mod shape_update_registrations_from_brand_profile;
pub(crate) mod shape_validate_notify_code_verification;
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_brand_profile_attributes_input;
pub(crate) mod shape_create_brand_profile_from_registration_input;
pub(crate) mod shape_create_brand_profile_input;
pub(crate) mod shape_create_notify_code_configuration_input;
pub(crate) mod shape_create_registrations_from_brand_profile_input;
pub(crate) mod shape_internal_server_exception;
pub(crate) mod shape_resource_not_found_exception;
pub(crate) mod shape_send_notify_code_verification_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_brand_profile_attribute_input;
pub(crate) mod shape_update_brand_profile_from_registration_input;
pub(crate) mod shape_update_brand_profile_input;
pub(crate) mod shape_update_notify_code_configuration_input;
pub(crate) mod shape_update_registrations_from_brand_profile_input;
pub(crate) mod shape_validate_notify_code_verification_input;
pub(crate) mod shape_validation_exception;
pub(crate) mod shape_brand_profile_attribute_input;
pub(crate) mod shape_brand_profile_attribute_output_list;
pub(crate) mod shape_brand_profile_attribute_summary_list;
pub(crate) mod shape_brand_profile_info_list;
pub(crate) mod shape_channel_parameters;
pub(crate) mod shape_code_configuration_parameters;
pub(crate) mod shape_job_resource_list;
pub(crate) mod shape_job_results;
pub(crate) mod shape_job_summary_list;
pub(crate) mod shape_notify_code_configuration;
pub(crate) mod shape_notify_code_configuration_list;
pub(crate) mod shape_registration_association_summary_list;
pub(crate) mod shape_tag;
pub(crate) mod shape_tag_list;
pub(crate) mod shape_update_channel_parameters;
pub(crate) mod shape_update_code_configuration_parameters;
pub(crate) mod shape_validation_exception_field_list;
pub(crate) mod shape_brand_profile_attribute_output;
pub(crate) mod shape_brand_profile_attribute_summary;
pub(crate) mod shape_brand_profile_info;
pub(crate) mod shape_job_resource;
pub(crate) mod shape_job_result;
pub(crate) mod shape_job_summary;
pub(crate) mod shape_notify_parameters;
pub(crate) mod shape_registration_association_summary;
pub(crate) mod shape_text_parameters;
pub(crate) mod shape_update_notify_parameters;
pub(crate) mod shape_update_text_parameters;
pub(crate) mod shape_update_voice_parameters;
pub(crate) mod shape_update_whats_app_parameters;
pub(crate) mod shape_validation_exception_field;
pub(crate) mod shape_voice_parameters;
pub(crate) mod shape_whats_app_parameters;
pub(crate) mod shape_destination_country_parameters;