aws-sdk-controltower 1.114.0

AWS SDK for AWS Control Tower
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_landing_zone;

pub(crate) mod shape_delete_landing_zone;

pub(crate) mod shape_disable_baseline;

pub(crate) mod shape_disable_control;

pub(crate) mod shape_enable_baseline;

pub(crate) mod shape_enable_control;

pub(crate) mod shape_get_baseline;

pub(crate) mod shape_get_baseline_operation;

pub(crate) mod shape_get_control_operation;

pub(crate) mod shape_get_enabled_baseline;

pub(crate) mod shape_get_enabled_control;

pub(crate) mod shape_get_landing_zone;

pub(crate) mod shape_get_landing_zone_operation;

pub(crate) mod shape_list_baselines;

pub(crate) mod shape_list_control_operations;

pub(crate) mod shape_list_enabled_baselines;

pub(crate) mod shape_list_enabled_controls;

pub(crate) mod shape_list_landing_zone_operations;

pub(crate) mod shape_list_landing_zones;

pub(crate) mod shape_list_tags_for_resource;

pub(crate) mod shape_reset_enabled_baseline;

pub(crate) mod shape_reset_enabled_control;

pub(crate) mod shape_reset_landing_zone;

pub(crate) mod shape_tag_resource;

pub(crate) mod shape_untag_resource;

pub(crate) mod shape_update_enabled_baseline;

pub(crate) mod shape_update_enabled_control;

pub(crate) mod shape_update_landing_zone;

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

pub(crate) mod shape_delete_landing_zone_input;

pub(crate) mod shape_disable_baseline_input;

pub(crate) mod shape_disable_control_input;

pub(crate) mod shape_enable_baseline_input;

pub(crate) mod shape_enable_control_input;

pub(crate) mod shape_get_baseline_input;

pub(crate) mod shape_get_baseline_operation_input;

pub(crate) mod shape_get_control_operation_input;

pub(crate) mod shape_get_enabled_baseline_input;

pub(crate) mod shape_get_enabled_control_input;

pub(crate) mod shape_get_landing_zone_input;

pub(crate) mod shape_get_landing_zone_operation_input;

pub(crate) mod shape_internal_server_exception;

pub(crate) mod shape_list_baselines_input;

pub(crate) mod shape_list_control_operations_input;

pub(crate) mod shape_list_enabled_baselines_input;

pub(crate) mod shape_list_enabled_controls_input;

pub(crate) mod shape_list_landing_zone_operations_input;

pub(crate) mod shape_list_landing_zones_input;

pub(crate) mod shape_reset_enabled_baseline_input;

pub(crate) mod shape_reset_enabled_control_input;

pub(crate) mod shape_reset_landing_zone_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_enabled_baseline_input;

pub(crate) mod shape_update_enabled_control_input;

pub(crate) mod shape_update_landing_zone_input;

pub(crate) mod shape_validation_exception;

pub(crate) mod shape_baseline_operation;

pub(crate) mod shape_baselines;

pub(crate) mod shape_control_operation;

pub(crate) mod shape_control_operation_filter;

pub(crate) mod shape_control_operations;

pub(crate) mod shape_enabled_baseline_details;

pub(crate) mod shape_enabled_baseline_filter;

pub(crate) mod shape_enabled_baseline_parameter;

pub(crate) mod shape_enabled_baselines;

pub(crate) mod shape_enabled_control_details;

pub(crate) mod shape_enabled_control_filter;

pub(crate) mod shape_enabled_control_parameter;

pub(crate) mod shape_enabled_controls;

pub(crate) mod shape_landing_zone_detail;

pub(crate) mod shape_landing_zone_operation_detail;

pub(crate) mod shape_landing_zone_operation_filter;

pub(crate) mod shape_landing_zone_operations;

pub(crate) mod shape_landing_zone_summaries;

pub(crate) mod shape_tag_map;

pub(crate) mod shape_baseline_summary;

pub(crate) mod shape_control_operation_summary;

pub(crate) mod shape_drift_status_summary;

pub(crate) mod shape_enabled_baseline_drift_status_summary;

pub(crate) mod shape_enabled_baseline_parameter_summaries;

pub(crate) mod shape_enabled_baseline_summary;

pub(crate) mod shape_enabled_control_parameter_summaries;

pub(crate) mod shape_enabled_control_summary;

pub(crate) mod shape_enablement_status_summary;

pub(crate) mod shape_landing_zone_drift_status_summary;

pub(crate) mod shape_landing_zone_operation_summary;

pub(crate) mod shape_landing_zone_summary;

pub(crate) mod shape_remediation_types;

pub(crate) mod shape_target_regions;

pub(crate) mod shape_enabled_baseline_drift_types;

pub(crate) mod shape_enabled_baseline_parameter_summary;

pub(crate) mod shape_enabled_control_drift_types;

pub(crate) mod shape_enabled_control_parameter_summary;

pub(crate) mod shape_region;

pub(crate) mod shape_enabled_baseline_inheritance_drift;

pub(crate) mod shape_enabled_control_inheritance_drift;

pub(crate) mod shape_enabled_control_resource_drift;