aws-sdk-supplychain 1.97.0

AWS SDK for AWS Supply Chain
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
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_bill_of_materials_import_job;

pub(crate) mod shape_create_data_integration_flow;

pub(crate) mod shape_create_data_lake_dataset;

pub(crate) mod shape_create_data_lake_namespace;

pub(crate) mod shape_create_instance;

pub(crate) mod shape_delete_data_integration_flow;

pub(crate) mod shape_delete_data_lake_dataset;

pub(crate) mod shape_delete_data_lake_namespace;

pub(crate) mod shape_delete_instance;

pub(crate) mod shape_get_bill_of_materials_import_job;

pub(crate) mod shape_get_data_integration_event;

pub(crate) mod shape_get_data_integration_flow;

pub(crate) mod shape_get_data_integration_flow_execution;

pub(crate) mod shape_get_data_lake_dataset;

pub(crate) mod shape_get_data_lake_namespace;

pub(crate) mod shape_get_instance;

pub(crate) mod shape_list_data_integration_events;

pub(crate) mod shape_list_data_integration_flow_executions;

pub(crate) mod shape_list_data_integration_flows;

pub(crate) mod shape_list_data_lake_datasets;

pub(crate) mod shape_list_data_lake_namespaces;

pub(crate) mod shape_list_instances;

pub(crate) mod shape_list_tags_for_resource;

pub(crate) mod shape_send_data_integration_event;

pub(crate) mod shape_tag_resource;

pub(crate) mod shape_untag_resource;

pub(crate) mod shape_update_data_integration_flow;

pub(crate) mod shape_update_data_lake_dataset;

pub(crate) mod shape_update_data_lake_namespace;

pub(crate) mod shape_update_instance;

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_bill_of_materials_import_job_input;

pub(crate) mod shape_create_data_integration_flow_input;

pub(crate) mod shape_create_data_lake_dataset_input;

pub(crate) mod shape_create_data_lake_namespace_input;

pub(crate) mod shape_create_instance_input;

pub(crate) mod shape_internal_server_exception;

pub(crate) mod shape_resource_not_found_exception;

pub(crate) mod shape_send_data_integration_event_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_data_integration_flow_input;

pub(crate) mod shape_update_data_lake_dataset_input;

pub(crate) mod shape_update_data_lake_namespace_input;

pub(crate) mod shape_update_instance_input;

pub(crate) mod shape_validation_exception;

pub(crate) mod shape_bill_of_materials_import_job;

pub(crate) mod shape_data_integration_event;

pub(crate) mod shape_data_integration_event_dataset_target_configuration;

pub(crate) mod shape_data_integration_event_list;

pub(crate) mod shape_data_integration_flow;

pub(crate) mod shape_data_integration_flow_execution;

pub(crate) mod shape_data_integration_flow_execution_list;

pub(crate) mod shape_data_integration_flow_list;

pub(crate) mod shape_data_integration_flow_source;

pub(crate) mod shape_data_integration_flow_target;

pub(crate) mod shape_data_integration_flow_transformation;

pub(crate) mod shape_data_lake_dataset;

pub(crate) mod shape_data_lake_dataset_list;

pub(crate) mod shape_data_lake_dataset_partition_spec;

pub(crate) mod shape_data_lake_dataset_schema;

pub(crate) mod shape_data_lake_namespace;

pub(crate) mod shape_data_lake_namespace_list;

pub(crate) mod shape_instance;

pub(crate) mod shape_instance_list;

pub(crate) mod shape_tag_map;

pub(crate) mod shape_data_integration_event_dataset_target_details;

pub(crate) mod shape_data_integration_flow_dataset_source_configuration;

pub(crate) mod shape_data_integration_flow_dataset_target_configuration;

pub(crate) mod shape_data_integration_flow_execution_output_metadata;

pub(crate) mod shape_data_integration_flow_execution_source_info;

pub(crate) mod shape_data_integration_flow_s3_source_configuration;

pub(crate) mod shape_data_integration_flow_s3_target_configuration;

pub(crate) mod shape_data_integration_flow_source_list;

pub(crate) mod shape_data_integration_flow_sql_transformation_configuration;

pub(crate) mod shape_data_lake_dataset_partition_field;

pub(crate) mod shape_data_lake_dataset_primary_key_field;

pub(crate) mod shape_data_lake_dataset_schema_field;

pub(crate) mod shape_data_integration_event_dataset_load_execution_details;

pub(crate) mod shape_data_integration_flow_dataset_options;

pub(crate) mod shape_data_integration_flow_dataset_source;

pub(crate) mod shape_data_integration_flow_s3_options;

pub(crate) mod shape_data_integration_flow_s3_source;

pub(crate) mod shape_data_lake_dataset_partition_field_list;

pub(crate) mod shape_data_lake_dataset_partition_field_transform;

pub(crate) mod shape_data_lake_dataset_primary_key_field_list;

pub(crate) mod shape_data_lake_dataset_schema_field_list;

pub(crate) mod shape_data_integration_flow_dedupe_strategy;

pub(crate) mod shape_data_integration_flow_field_priority_dedupe_strategy_configuration;

pub(crate) mod shape_data_integration_flow_field_priority_dedupe_field;

pub(crate) mod shape_data_integration_flow_field_priority_dedupe_field_list;