aws-sdk-resourcegroups 1.57.0

AWS SDK for AWS Resource Groups
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],
) -> 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_tag_sync_task;

pub(crate) mod shape_create_group;

pub(crate) mod shape_delete_group;

pub(crate) mod shape_get_account_settings;

pub(crate) mod shape_get_group;

pub(crate) mod shape_get_group_configuration;

pub(crate) mod shape_get_group_query;

pub(crate) mod shape_get_tag_sync_task;

pub(crate) mod shape_get_tags;

pub(crate) mod shape_group_resources;

pub(crate) mod shape_list_group_resources;

pub(crate) mod shape_list_grouping_statuses;

pub(crate) mod shape_list_groups;

pub(crate) mod shape_list_tag_sync_tasks;

pub(crate) mod shape_put_group_configuration;

pub(crate) mod shape_search_resources;

pub(crate) mod shape_start_tag_sync_task;

pub(crate) mod shape_tag;

pub(crate) mod shape_ungroup_resources;

pub(crate) mod shape_untag;

pub(crate) mod shape_update_account_settings;

pub(crate) mod shape_update_group;

pub(crate) mod shape_update_group_query;

pub(crate) fn or_empty_doc(data: &[u8]) -> &[u8] {
    if data.is_empty() {
        b"{}"
    } else {
        data
    }
}

pub(crate) mod shape_bad_request_exception;

pub(crate) mod shape_cancel_tag_sync_task_input;

pub(crate) mod shape_create_group_input;

pub(crate) mod shape_delete_group_input;

pub(crate) mod shape_forbidden_exception;

pub(crate) mod shape_get_group_configuration_input;

pub(crate) mod shape_get_group_input;

pub(crate) mod shape_get_group_query_input;

pub(crate) mod shape_get_tag_sync_task_input;

pub(crate) mod shape_group_resources_input;

pub(crate) mod shape_internal_server_error_exception;

pub(crate) mod shape_list_group_resources_input;

pub(crate) mod shape_list_grouping_statuses_input;

pub(crate) mod shape_list_groups_input;

pub(crate) mod shape_list_tag_sync_tasks_input;

pub(crate) mod shape_method_not_allowed_exception;

pub(crate) mod shape_not_found_exception;

pub(crate) mod shape_put_group_configuration_input;

pub(crate) mod shape_search_resources_input;

pub(crate) mod shape_start_tag_sync_task_input;

pub(crate) mod shape_tag_input;

pub(crate) mod shape_too_many_requests_exception;

pub(crate) mod shape_unauthorized_exception;

pub(crate) mod shape_ungroup_resources_input;

pub(crate) mod shape_untag_input;

pub(crate) mod shape_update_account_settings_input;

pub(crate) mod shape_update_group_input;

pub(crate) mod shape_update_group_query_input;

pub(crate) mod shape_account_settings;

pub(crate) mod shape_failed_resource_list;

pub(crate) mod shape_group;

pub(crate) mod shape_group_configuration;

pub(crate) mod shape_group_configuration_item;

pub(crate) mod shape_group_filter;

pub(crate) mod shape_group_identifier_list;

pub(crate) mod shape_group_list;

pub(crate) mod shape_group_query;

pub(crate) mod shape_grouping_statuses_list;

pub(crate) mod shape_list_group_resources_item_list;

pub(crate) mod shape_list_grouping_statuses_filter;

pub(crate) mod shape_list_tag_sync_tasks_filter;

pub(crate) mod shape_pending_resource_list;

pub(crate) mod shape_query_error_list;

pub(crate) mod shape_resource_arn_list;

pub(crate) mod shape_resource_filter;

pub(crate) mod shape_resource_identifier_list;

pub(crate) mod shape_resource_query;

pub(crate) mod shape_tag_key_list;

pub(crate) mod shape_tag_sync_task_list;

pub(crate) mod shape_tags;

pub(crate) mod shape_application_tag;

pub(crate) mod shape_failed_resource;

pub(crate) mod shape_group_configuration_list;

pub(crate) mod shape_group_configuration_parameter;

pub(crate) mod shape_group_identifier;

pub(crate) mod shape_grouping_statuses_item;

pub(crate) mod shape_list_group_resources_item;

pub(crate) mod shape_pending_resource;

pub(crate) mod shape_query_error;

pub(crate) mod shape_resource_identifier;

pub(crate) mod shape_tag_sync_task_item;

pub(crate) mod shape_resource_status;

pub(crate) mod shape_group_parameter_list;

pub(crate) mod shape_group_configuration_parameter_value_list;