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_service;
pub(crate) mod shape_create_agent_space;
pub(crate) mod shape_create_backlog_task;
pub(crate) mod shape_create_chat;
pub(crate) mod shape_create_private_connection;
pub(crate) mod shape_delete_agent_space;
pub(crate) mod shape_delete_private_connection;
pub(crate) mod shape_deregister_service;
pub(crate) mod shape_describe_private_connection;
pub(crate) mod shape_disable_operator_app;
pub(crate) mod shape_disassociate_service;
pub(crate) mod shape_enable_operator_app;
pub(crate) mod shape_get_account_usage;
pub(crate) mod shape_get_agent_space;
pub(crate) mod shape_get_association;
pub(crate) mod shape_get_backlog_task;
pub(crate) mod shape_get_operator_app;
pub(crate) mod shape_get_recommendation;
pub(crate) mod shape_get_service;
pub(crate) mod shape_list_agent_spaces;
pub(crate) mod shape_list_associations;
pub(crate) mod shape_list_backlog_tasks;
pub(crate) mod shape_list_chats;
pub(crate) mod shape_list_executions;
pub(crate) mod shape_list_goals;
pub(crate) mod shape_list_journal_records;
pub(crate) mod shape_list_pending_messages;
pub(crate) mod shape_list_private_connections;
pub(crate) mod shape_list_recommendations;
pub(crate) mod shape_list_services;
pub(crate) mod shape_list_tags_for_resource;
pub(crate) mod shape_list_webhooks;
pub(crate) mod shape_register_service;
pub(crate) mod shape_send_message;
pub(crate) mod shape_tag_resource;
pub(crate) mod shape_untag_resource;
pub(crate) mod shape_update_agent_space;
pub(crate) mod shape_update_association;
pub(crate) mod shape_update_backlog_task;
pub(crate) mod shape_update_goal;
pub(crate) mod shape_update_operator_app_idp_config;
pub(crate) mod shape_update_private_connection_certificate;
pub(crate) mod shape_update_recommendation;
pub(crate) mod shape_validate_aws_associations;
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_associate_service_input;
pub(crate) mod shape_conflict_exception;
pub(crate) mod shape_content_size_exceeded_exception;
pub(crate) mod shape_create_agent_space_input;
pub(crate) mod shape_create_backlog_task_input;
pub(crate) mod shape_create_private_connection_input;
pub(crate) mod shape_enable_operator_app_input;
pub(crate) mod shape_identity_center_service_exception;
pub(crate) mod shape_internal_server_exception;
pub(crate) mod shape_invalid_parameter_exception;
pub(crate) mod shape_list_backlog_tasks_input;
pub(crate) mod shape_list_executions_input;
pub(crate) mod shape_list_goals_input;
pub(crate) mod shape_list_journal_records_input;
pub(crate) mod shape_list_pending_messages_input;
pub(crate) mod shape_list_recommendations_input;
pub(crate) mod shape_register_service_input;
pub(crate) mod shape_resource_not_found_exception;
pub(crate) mod shape_send_message_input;
pub(crate) mod shape_send_message_output;
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_agent_space_input;
pub(crate) mod shape_update_association_input;
pub(crate) mod shape_update_backlog_task_input;
pub(crate) mod shape_update_goal_input;
pub(crate) mod shape_update_operator_app_idp_config_input;
pub(crate) mod shape_update_private_connection_certificate_input;
pub(crate) mod shape_update_recommendation_input;
pub(crate) mod shape_validation_exception;
pub fn parse_event_stream_error_metadata(
payload: &::bytes::Bytes,
) -> ::std::result::Result<::aws_smithy_types::error::metadata::Builder, ::aws_smithy_json::deserialize::error::DeserializeError> {
crate::json_errors::parse_error_metadata(payload, &::aws_smithy_runtime_api::http::Headers::new())
}
pub(crate) mod shape_additional_service_registration_step;
pub(crate) mod shape_agent_space;
pub(crate) mod shape_agent_space_list;
pub(crate) mod shape_association;
pub(crate) mod shape_associations_list;
pub(crate) mod shape_chat_execution_list;
pub(crate) mod shape_execution_list;
pub(crate) mod shape_generic_webhook;
pub(crate) mod shape_goal;
pub(crate) mod shape_goal_list;
pub(crate) mod shape_goal_schedule_input;
pub(crate) mod shape_iam_auth_configuration;
pub(crate) mod shape_idc_auth_configuration;
pub(crate) mod shape_idp_auth_configuration;
pub(crate) mod shape_journal_record_list;
pub(crate) mod shape_pending_messages;
pub(crate) mod shape_private_connection_mode;
pub(crate) mod shape_private_connection_summary_list;
pub(crate) mod shape_recommendation;
pub(crate) mod shape_recommendation_list;
pub(crate) mod shape_reference_input;
pub(crate) mod shape_registered_service;
pub(crate) mod shape_registered_services_list;
pub(crate) mod shape_send_message_context;
pub(crate) mod shape_service_configuration;
pub(crate) mod shape_service_details;
pub(crate) mod shape_tags;
pub(crate) mod shape_task;
pub(crate) mod shape_task_filter;
pub(crate) mod shape_task_list;
pub(crate) mod shape_usage_metric;
pub(crate) mod shape_validation_exception_field_list;
pub(crate) mod shape_webhooks_list;
pub(crate) mod shape_additional_service_details;
pub(crate) mod shape_aws_configuration;
pub(crate) mod shape_azure_configuration;
pub(crate) mod shape_azure_dev_ops_configuration;
pub(crate) mod shape_chat_execution;
pub(crate) mod shape_datadog_service_details;
pub(crate) mod shape_document_list;
pub(crate) mod shape_dynatrace_configuration;
pub(crate) mod shape_dynatrace_service_details;
pub(crate) mod shape_event_channel_configuration;
pub(crate) mod shape_event_channel_details;
pub(crate) mod shape_execution;
pub(crate) mod shape_git_hub_configuration;
pub(crate) mod shape_git_lab_configuration;
pub(crate) mod shape_git_lab_details;
pub(crate) mod shape_goal_content;
pub(crate) mod shape_goal_schedule;
pub(crate) mod shape_grafana_service_details;
pub(crate) mod shape_journal_record;
pub(crate) mod shape_mcp_server_configuration;
pub(crate) mod shape_mcp_server_datadog_configuration;
pub(crate) mod shape_mcp_server_details;
pub(crate) mod shape_mcp_server_grafana_configuration;
pub(crate) mod shape_mcp_server_new_relic_configuration;
pub(crate) mod shape_mcp_server_splunk_configuration;
pub(crate) mod shape_new_relic_service_details;
pub(crate) mod shape_o_auth_additional_step_details;
pub(crate) mod shape_pager_duty_configuration;
pub(crate) mod shape_pager_duty_details;
pub(crate) mod shape_pending_message;
pub(crate) mod shape_private_connection_summary;
pub(crate) mod shape_recommendation_content;
pub(crate) mod shape_reference_output;
pub(crate) mod shape_registered_azure_identity_details;
pub(crate) mod shape_self_managed_input;
pub(crate) mod shape_send_message_content_block_delta_event;
pub(crate) mod shape_send_message_content_block_start_event;
pub(crate) mod shape_send_message_content_block_stop_event;
pub(crate) mod shape_send_message_response_completed_event;
pub(crate) mod shape_send_message_response_created_event;
pub(crate) mod shape_send_message_response_failed_event;
pub(crate) mod shape_send_message_response_in_progress_event;
pub(crate) mod shape_send_message_summary_event;
pub(crate) mod shape_service_managed_input;
pub(crate) mod shape_service_now_configuration;
pub(crate) mod shape_service_now_service_details;
pub(crate) mod shape_slack_configuration;
pub(crate) mod shape_source_aws_configuration;
pub(crate) mod shape_validation_exception_field;
pub(crate) mod shape_webhook;
pub(crate) mod shape_datadog_authorization_config;
pub(crate) mod shape_dynatrace_service_authorization_config;
pub(crate) mod shape_mcp_server_authorization_config;
pub(crate) mod shape_message;
pub(crate) mod shape_new_relic_service_authorization_config;
pub(crate) mod shape_pager_duty_authorization_config;
pub(crate) mod shape_registered_azure_dev_ops_service_details;
pub(crate) mod shape_registered_git_lab_service_details;
pub(crate) mod shape_registered_github_service_details;
pub(crate) mod shape_registered_grafana_server_details;
pub(crate) mod shape_registered_mcp_server_details;
pub(crate) mod shape_registered_new_relic_details;
pub(crate) mod shape_registered_pager_duty_details;
pub(crate) mod shape_registered_service_now_details;
pub(crate) mod shape_registered_slack_service_details;
pub(crate) mod shape_service_now_service_authorization_config;
pub(crate) mod shape_slack_transmission_target;
pub(crate) mod shape_user_reference;
pub(crate) mod shape_assistant_message;
pub(crate) mod shape_dynatrace_o_auth_client_credentials_config;
pub(crate) mod shape_dynatrace_resource_list;
pub(crate) mod shape_mcp_server_api_key_config;
pub(crate) mod shape_mcp_server_authorization_discovery_config;
pub(crate) mod shape_mcp_server_bearer_token_config;
pub(crate) mod shape_mcp_server_o_auth3_lo_config;
pub(crate) mod shape_mcp_server_o_auth_client_credentials_config;
pub(crate) mod shape_mcp_tools_list;
pub(crate) mod shape_new_relic_api_key_config;
pub(crate) mod shape_pager_duty_o_auth_client_credentials_config;
pub(crate) mod shape_pager_duty_scopes_list;
pub(crate) mod shape_pager_duty_services_list;
pub(crate) mod shape_send_message_content_block_delta;
pub(crate) mod shape_send_message_usage_info;
pub(crate) mod shape_service_now_authentication_scope_list;
pub(crate) mod shape_service_now_o_auth_client_credentials_config;
pub(crate) mod shape_slack_channel;
pub(crate) mod shape_user_message;
pub(crate) mod shape_web_identity_token_audience_list;
pub(crate) mod shape_assistant_message_block;
pub(crate) mod shape_send_message_json_delta;
pub(crate) mod shape_send_message_text_delta;
pub(crate) mod shape_user_message_block;