aws-sdk-m2 1.102.0

AWS SDK for AWSMainframeModernization
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_cancel_batch_job_execution;

pub(crate) mod shape_create_application;

pub(crate) mod shape_create_data_set_export_task;

pub(crate) mod shape_create_data_set_import_task;

pub(crate) mod shape_create_deployment;

pub(crate) mod shape_create_environment;

pub(crate) mod shape_delete_application;

pub(crate) mod shape_delete_application_from_environment;

pub(crate) mod shape_delete_environment;

pub(crate) mod shape_get_application;

pub(crate) mod shape_get_application_version;

pub(crate) mod shape_get_batch_job_execution;

pub(crate) mod shape_get_data_set_details;

pub(crate) mod shape_get_data_set_export_task;

pub(crate) mod shape_get_data_set_import_task;

pub(crate) mod shape_get_deployment;

pub(crate) mod shape_get_environment;

pub(crate) mod shape_get_signed_bluinsights_url;

pub(crate) mod shape_list_application_versions;

pub(crate) mod shape_list_applications;

pub(crate) mod shape_list_batch_job_definitions;

pub(crate) mod shape_list_batch_job_executions;

pub(crate) mod shape_list_batch_job_restart_points;

pub(crate) mod shape_list_data_set_export_history;

pub(crate) mod shape_list_data_set_import_history;

pub(crate) mod shape_list_data_sets;

pub(crate) mod shape_list_deployments;

pub(crate) mod shape_list_engine_versions;

pub(crate) mod shape_list_environments;

pub(crate) mod shape_list_tags_for_resource;

pub(crate) mod shape_start_application;

pub(crate) mod shape_start_batch_job;

pub(crate) mod shape_stop_application;

pub(crate) mod shape_tag_resource;

pub(crate) mod shape_untag_resource;

pub(crate) mod shape_update_application;

pub(crate) mod shape_update_environment;

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

pub(crate) mod shape_conflict_exception;

pub(crate) mod shape_create_application_input;

pub(crate) mod shape_create_data_set_export_task_input;

pub(crate) mod shape_create_data_set_import_task_input;

pub(crate) mod shape_create_deployment_input;

pub(crate) mod shape_create_environment_input;

pub(crate) mod shape_execution_timeout_exception;

pub(crate) mod shape_internal_server_exception;

pub(crate) mod shape_resource_not_found_exception;

pub(crate) mod shape_service_quota_exceeded_exception;

pub(crate) mod shape_service_unavailable_exception;

pub(crate) mod shape_start_batch_job_input;

pub(crate) mod shape_stop_application_input;

pub(crate) mod shape_tag_resource_input;

pub(crate) mod shape_throttling_exception;

pub(crate) mod shape_update_application_input;

pub(crate) mod shape_update_environment_input;

pub(crate) mod shape_validation_exception;

pub(crate) mod shape_application_summary_list;

pub(crate) mod shape_application_version_summary;

pub(crate) mod shape_application_version_summary_list;

pub(crate) mod shape_arn_list;

pub(crate) mod shape_batch_job_definitions;

pub(crate) mod shape_batch_job_execution_summary_list;

pub(crate) mod shape_batch_job_identifier;

pub(crate) mod shape_batch_job_step_list;

pub(crate) mod shape_data_set_export_config;

pub(crate) mod shape_data_set_export_summary;

pub(crate) mod shape_data_set_export_task_list;

pub(crate) mod shape_data_set_import_config;

pub(crate) mod shape_data_set_import_summary;

pub(crate) mod shape_data_set_import_task_list;

pub(crate) mod shape_data_sets_summary_list;

pub(crate) mod shape_dataset_detail_org_attributes;

pub(crate) mod shape_definition;

pub(crate) mod shape_deployed_version_summary;

pub(crate) mod shape_deployment_list;

pub(crate) mod shape_engine_versions_summary_list;

pub(crate) mod shape_environment_summary_list;

pub(crate) mod shape_high_availability_config;

pub(crate) mod shape_job_step_restart_marker;

pub(crate) mod shape_log_group_summaries;

pub(crate) mod shape_pending_maintenance;

pub(crate) mod shape_port_list;

pub(crate) mod shape_storage_configuration;

pub(crate) mod shape_storage_configuration_list;

pub(crate) mod shape_string50_list;

pub(crate) mod shape_tag_map;

pub(crate) mod shape_validation_exception_field_list;

pub(crate) mod shape_application_summary;

pub(crate) mod shape_batch_job_definition;

pub(crate) mod shape_batch_job_execution_summary;

pub(crate) mod shape_data_set_export_item;

pub(crate) mod shape_data_set_export_task;

pub(crate) mod shape_data_set_import_item;

pub(crate) mod shape_data_set_import_task;

pub(crate) mod shape_data_set_summary;

pub(crate) mod shape_deployment_summary;

pub(crate) mod shape_efs_storage_configuration;

pub(crate) mod shape_engine_versions_summary;

pub(crate) mod shape_environment_summary;

pub(crate) mod shape_file_batch_job_identifier;

pub(crate) mod shape_fsx_storage_configuration;

pub(crate) mod shape_gdg_detail_attributes;

pub(crate) mod shape_job_step;

pub(crate) mod shape_log_group_summary;

pub(crate) mod shape_maintenance_schedule;

pub(crate) mod shape_po_detail_attributes;

pub(crate) mod shape_ps_detail_attributes;

pub(crate) mod shape_restart_batch_job_identifier;

pub(crate) mod shape_s3_batch_job_identifier;

pub(crate) mod shape_script_batch_job_identifier;

pub(crate) mod shape_validation_exception_field;

pub(crate) mod shape_vsam_detail_attributes;

pub(crate) mod shape_alternate_key_list;

pub(crate) mod shape_data_set;

pub(crate) mod shape_external_location;

pub(crate) mod shape_file_batch_job_definition;

pub(crate) mod shape_job_identifier;

pub(crate) mod shape_primary_key;

pub(crate) mod shape_script_batch_job_definition;

pub(crate) mod shape_alternate_key;

pub(crate) mod shape_dataset_org_attributes;

pub(crate) mod shape_record_length;

pub(crate) mod shape_gdg_attributes;

pub(crate) mod shape_po_attributes;

pub(crate) mod shape_ps_attributes;

pub(crate) mod shape_vsam_attributes;