aws-sdk-chatbot 1.89.0

AWS SDK for AWS Chatbot
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_associate_to_configuration;

pub(crate) mod shape_create_chime_webhook_configuration;

pub(crate) mod shape_create_custom_action;

pub(crate) mod shape_create_microsoft_teams_channel_configuration;

pub(crate) mod shape_create_slack_channel_configuration;

pub(crate) mod shape_delete_chime_webhook_configuration;

pub(crate) mod shape_delete_custom_action;

pub(crate) mod shape_delete_microsoft_teams_channel_configuration;

pub(crate) mod shape_delete_microsoft_teams_configured_team;

pub(crate) mod shape_delete_microsoft_teams_user_identity;

pub(crate) mod shape_delete_slack_channel_configuration;

pub(crate) mod shape_delete_slack_user_identity;

pub(crate) mod shape_delete_slack_workspace_authorization;

pub(crate) mod shape_describe_chime_webhook_configurations;

pub(crate) mod shape_describe_slack_channel_configurations;

pub(crate) mod shape_describe_slack_user_identities;

pub(crate) mod shape_describe_slack_workspaces;

pub(crate) mod shape_disassociate_from_configuration;

pub(crate) mod shape_get_account_preferences;

pub(crate) mod shape_get_custom_action;

pub(crate) mod shape_get_microsoft_teams_channel_configuration;

pub(crate) mod shape_list_associations;

pub(crate) mod shape_list_custom_actions;

pub(crate) mod shape_list_microsoft_teams_channel_configurations;

pub(crate) mod shape_list_microsoft_teams_configured_teams;

pub(crate) mod shape_list_microsoft_teams_user_identities;

pub(crate) mod shape_list_tags_for_resource;

pub(crate) mod shape_tag_resource;

pub(crate) mod shape_untag_resource;

pub(crate) mod shape_update_account_preferences;

pub(crate) mod shape_update_chime_webhook_configuration;

pub(crate) mod shape_update_custom_action;

pub(crate) mod shape_update_microsoft_teams_channel_configuration;

pub(crate) mod shape_update_slack_channel_configuration;

pub(crate) mod shape_associate_to_configuration_input;

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

pub(crate) mod shape_conflict_exception;

pub(crate) mod shape_create_chime_webhook_configuration_exception;

pub(crate) mod shape_create_chime_webhook_configuration_input;

pub(crate) mod shape_create_custom_action_input;

pub(crate) mod shape_create_microsoft_teams_channel_configuration_input;

pub(crate) mod shape_create_slack_channel_configuration_exception;

pub(crate) mod shape_create_slack_channel_configuration_input;

pub(crate) mod shape_create_teams_channel_configuration_exception;

pub(crate) mod shape_delete_chime_webhook_configuration_exception;

pub(crate) mod shape_delete_chime_webhook_configuration_input;

pub(crate) mod shape_delete_custom_action_input;

pub(crate) mod shape_delete_microsoft_teams_channel_configuration_input;

pub(crate) mod shape_delete_microsoft_teams_configured_team_input;

pub(crate) mod shape_delete_microsoft_teams_user_identity_exception;

pub(crate) mod shape_delete_microsoft_teams_user_identity_input;

pub(crate) mod shape_delete_slack_channel_configuration_exception;

pub(crate) mod shape_delete_slack_channel_configuration_input;

pub(crate) mod shape_delete_slack_user_identity_exception;

pub(crate) mod shape_delete_slack_user_identity_input;

pub(crate) mod shape_delete_slack_workspace_authorization_fault;

pub(crate) mod shape_delete_slack_workspace_authorization_input;

pub(crate) mod shape_delete_teams_channel_configuration_exception;

pub(crate) mod shape_delete_teams_configured_team_exception;

pub(crate) mod shape_describe_chime_webhook_configurations_exception;

pub(crate) mod shape_describe_chime_webhook_configurations_input;

pub(crate) mod shape_describe_slack_channel_configurations_exception;

pub(crate) mod shape_describe_slack_channel_configurations_input;

pub(crate) mod shape_describe_slack_user_identities_exception;

pub(crate) mod shape_describe_slack_user_identities_input;

pub(crate) mod shape_describe_slack_workspaces_exception;

pub(crate) mod shape_describe_slack_workspaces_input;

pub(crate) mod shape_disassociate_from_configuration_input;

pub(crate) mod shape_get_account_preferences_exception;

pub(crate) mod shape_get_custom_action_input;

pub(crate) mod shape_get_microsoft_teams_channel_configuration_input;

pub(crate) mod shape_get_teams_channel_configuration_exception;

pub(crate) mod shape_internal_service_error;

pub(crate) mod shape_invalid_parameter_exception;

pub(crate) mod shape_invalid_request_exception;

pub(crate) mod shape_limit_exceeded_exception;

pub(crate) mod shape_list_associations_input;

pub(crate) mod shape_list_custom_actions_input;

pub(crate) mod shape_list_microsoft_teams_channel_configurations_input;

pub(crate) mod shape_list_microsoft_teams_configured_teams_exception;

pub(crate) mod shape_list_microsoft_teams_configured_teams_input;

pub(crate) mod shape_list_microsoft_teams_user_identities_exception;

pub(crate) mod shape_list_microsoft_teams_user_identities_input;

pub(crate) mod shape_list_tags_for_resource_input;

pub(crate) mod shape_list_teams_channel_configurations_exception;

pub(crate) mod shape_resource_not_found_exception;

pub(crate) mod shape_service_unavailable_exception;

pub(crate) mod shape_tag_resource_input;

pub(crate) mod shape_too_many_tags_exception;

pub(crate) mod shape_unauthorized_exception;

pub(crate) mod shape_untag_resource_input;

pub(crate) mod shape_update_account_preferences_exception;

pub(crate) mod shape_update_account_preferences_input;

pub(crate) mod shape_update_chime_webhook_configuration_exception;

pub(crate) mod shape_update_chime_webhook_configuration_input;

pub(crate) mod shape_update_custom_action_input;

pub(crate) mod shape_update_microsoft_teams_channel_configuration_input;

pub(crate) mod shape_update_slack_channel_configuration_exception;

pub(crate) mod shape_update_slack_channel_configuration_input;

pub(crate) mod shape_update_teams_channel_configuration_exception;

pub(crate) mod shape_account_preferences;

pub(crate) mod shape_association_list;

pub(crate) mod shape_chime_webhook_configuration;

pub(crate) mod shape_chime_webhook_configuration_list;

pub(crate) mod shape_configured_teams_list;

pub(crate) mod shape_custom_action;

pub(crate) mod shape_custom_action_arn_list;

pub(crate) mod shape_custom_action_attachment;

pub(crate) mod shape_custom_action_definition;

pub(crate) mod shape_slack_channel_configuration;

pub(crate) mod shape_slack_channel_configuration_list;

pub(crate) mod shape_slack_user_identities_list;

pub(crate) mod shape_slack_workspaces_list;

pub(crate) mod shape_tag;

pub(crate) mod shape_tag_list;

pub(crate) mod shape_team_channel_configurations_list;

pub(crate) mod shape_teams_channel_configuration;

pub(crate) mod shape_teams_user_identities_list;

pub(crate) mod shape_association_listing;

pub(crate) mod shape_configured_team;

pub(crate) mod shape_custom_action_attachment_criteria;

pub(crate) mod shape_custom_action_attachment_list;

pub(crate) mod shape_guardrail_policy_arn_list;

pub(crate) mod shape_slack_user_identity;

pub(crate) mod shape_slack_workspace;

pub(crate) mod shape_sns_topic_arn_list;

pub(crate) mod shape_tags;

pub(crate) mod shape_teams_user_identity;

pub(crate) mod shape_custom_action_attachment_criteria_list;

pub(crate) mod shape_custom_action_attachment_variables;