package smaws-clients

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type update_trail_response = {
  1. is_organization_trail : bool option;
  2. kms_key_id : string option;
  3. cloud_watch_logs_role_arn : string option;
  4. cloud_watch_logs_log_group_arn : string option;
  5. log_file_validation_enabled : bool option;
  6. trail_ar_n : string option;
  7. is_multi_region_trail : bool option;
  8. include_global_service_events : bool option;
  9. sns_topic_ar_n : string option;
  10. sns_topic_name : string option;
  11. s3_key_prefix : string option;
  12. s3_bucket_name : string option;
  13. name : string option;
}
type update_trail_request = {
  1. is_organization_trail : bool option;
  2. kms_key_id : string option;
  3. cloud_watch_logs_role_arn : string option;
  4. cloud_watch_logs_log_group_arn : string option;
  5. enable_log_file_validation : bool option;
  6. is_multi_region_trail : bool option;
  7. include_global_service_events : bool option;
  8. sns_topic_name : string option;
  9. s3_key_prefix : string option;
  10. s3_bucket_name : string option;
  11. name : string;
}
type unsupported_operation_exception = {
  1. message : string option;
}
type trail_not_provided_exception = {
  1. message : string option;
}
type trail_not_found_exception = {
  1. message : string option;
}
type throttling_exception = {
  1. message : string option;
}
type s3_bucket_does_not_exist_exception = {
  1. message : string option;
}
type organizations_not_in_use_exception = {
  1. message : string option;
}
type organization_not_in_all_features_mode_exception = {
  1. message : string option;
}
type operation_not_permitted_exception = {
  1. message : string option;
}
type not_organization_master_account_exception = {
  1. message : string option;
}
type no_management_account_slr_exists_exception = {
  1. message : string option;
}
type kms_key_not_found_exception = {
  1. message : string option;
}
type kms_key_disabled_exception = {
  1. message : string option;
}
type kms_exception = {
  1. message : string option;
}
type invalid_trail_name_exception = {
  1. message : string option;
}
type invalid_sns_topic_name_exception = {
  1. message : string option;
}
type invalid_s3_prefix_exception = {
  1. message : string option;
}
type invalid_s3_bucket_name_exception = {
  1. message : string option;
}
type invalid_parameter_exception = {
  1. message : string option;
}
type invalid_parameter_combination_exception = {
  1. message : string option;
}
type invalid_kms_key_id_exception = {
  1. message : string option;
}
type invalid_home_region_exception = {
  1. message : string option;
}
type invalid_event_selectors_exception = {
  1. message : string option;
}
type invalid_cloud_watch_logs_role_arn_exception = {
  1. message : string option;
}
type invalid_cloud_watch_logs_log_group_arn_exception = {
  1. message : string option;
}
type insufficient_sns_topic_policy_exception = {
  1. message : string option;
}
type insufficient_s3_bucket_policy_exception = {
  1. message : string option;
}
type insufficient_encryption_policy_exception = {
  1. message : string option;
}
type insufficient_dependency_service_access_permission_exception = {
  1. message : string option;
}
type conflict_exception = {
  1. message : string option;
}
type cloud_watch_logs_delivery_unavailable_exception = {
  1. message : string option;
}
type cloud_trail_invalid_client_token_id_exception = {
  1. message : string option;
}
type cloud_trail_arn_invalid_exception = {
  1. message : string option;
}
type cloud_trail_access_not_enabled_exception = {
  1. message : string option;
}
type event_data_store_status =
  1. | STOPPED_INGESTION
  2. | STOPPING_INGESTION
  3. | STARTING_INGESTION
  4. | PENDING_DELETION
  5. | ENABLED
  6. | CREATED
type advanced_field_selector = {
  1. not_ends_with : string list option;
  2. not_starts_with : string list option;
  3. not_equals : string list option;
  4. ends_with : string list option;
  5. starts_with : string list option;
  6. equals : string list option;
  7. field : string;
}
type advanced_event_selector = {
  1. field_selectors : advanced_field_selector list;
  2. name : string option;
}
type billing_mode =
  1. | FIXED_RETENTION_PRICING
  2. | EXTENDABLE_RETENTION_PRICING
type federation_status =
  1. | DISABLED
  2. | DISABLING
  3. | ENABLED
  4. | ENABLING
type update_event_data_store_response = {
  1. federation_role_arn : string option;
  2. federation_status : federation_status option;
  3. billing_mode : billing_mode option;
  4. kms_key_id : string option;
  5. updated_timestamp : float option;
  6. created_timestamp : float option;
  7. termination_protection_enabled : bool option;
  8. retention_period : int option;
  9. organization_enabled : bool option;
  10. multi_region_enabled : bool option;
  11. advanced_event_selectors : advanced_event_selector list option;
  12. status : event_data_store_status option;
  13. name : string option;
  14. event_data_store_arn : string option;
}
type update_event_data_store_request = {
  1. billing_mode : billing_mode option;
  2. kms_key_id : string option;
  3. termination_protection_enabled : bool option;
  4. retention_period : int option;
  5. organization_enabled : bool option;
  6. multi_region_enabled : bool option;
  7. advanced_event_selectors : advanced_event_selector list option;
  8. name : string option;
  9. event_data_store : string;
}
type invalid_insight_selectors_exception = {
  1. message : string option;
}
type inactive_event_data_store_exception = {
  1. message : string option;
}
type event_data_store_not_found_exception = {
  1. message : string option;
}
type event_data_store_has_ongoing_import_exception = {
  1. message : string option;
}
type event_data_store_arn_invalid_exception = {
  1. message : string option;
}
type event_data_store_already_exists_exception = {
  1. message : string option;
}
type destination_type =
  1. | AWS_SERVICE
  2. | EVENT_DATA_STORE
type destination = {
  1. location : string;
  2. type_ : destination_type;
}
type update_channel_response = {
  1. destinations : destination list option;
  2. source : string option;
  3. name : string option;
  4. channel_arn : string option;
}
type update_channel_request = {
  1. name : string option;
  2. destinations : destination list option;
  3. channel : string;
}
type invalid_event_data_store_category_exception = {
  1. message : string option;
}
type channel_not_found_exception = {
  1. message : string option;
}
type channel_arn_invalid_exception = {
  1. message : string option;
}
type channel_already_exists_exception = {
  1. message : string option;
}
type trail_info = {
  1. home_region : string option;
  2. name : string option;
  3. trail_ar_n : string option;
}
type trail = {
  1. is_organization_trail : bool option;
  2. has_insight_selectors : bool option;
  3. has_custom_event_selectors : bool option;
  4. kms_key_id : string option;
  5. cloud_watch_logs_role_arn : string option;
  6. cloud_watch_logs_log_group_arn : string option;
  7. log_file_validation_enabled : bool option;
  8. trail_ar_n : string option;
  9. home_region : string option;
  10. is_multi_region_trail : bool option;
  11. include_global_service_events : bool option;
  12. sns_topic_ar_n : string option;
  13. sns_topic_name : string option;
  14. s3_key_prefix : string option;
  15. s3_bucket_name : string option;
  16. name : string option;
}
type trail_already_exists_exception = {
  1. message : string option;
}
type tag = {
  1. value : string option;
  2. key : string;
}
type tags_limit_exceeded_exception = {
  1. message : string option;
}
type stop_logging_response = unit
type stop_logging_request = {
  1. name : string;
}
type s3_import_source = {
  1. s3_bucket_access_role_arn : string;
  2. s3_bucket_region : string;
  3. s3_location_uri : string;
}
type import_source = {
  1. s3 : s3_import_source;
}
type import_status =
  1. | COMPLETED
  2. | STOPPED
  3. | FAILED
  4. | IN_PROGRESS
  5. | INITIALIZING
type import_statistics = {
  1. failed_entries : int option;
  2. events_completed : int option;
  3. files_completed : int option;
  4. prefixes_completed : int option;
  5. prefixes_found : int option;
}
type stop_import_response = {
  1. import_statistics : import_statistics option;
  2. end_event_time : float option;
  3. start_event_time : float option;
  4. updated_timestamp : float option;
  5. created_timestamp : float option;
  6. import_status : import_status option;
  7. destinations : string list option;
  8. import_source : import_source option;
  9. import_id : string option;
}
type stop_import_request = {
  1. import_id : string;
}
type import_not_found_exception = {
  1. message : string option;
}
type stop_event_data_store_ingestion_response = unit
type stop_event_data_store_ingestion_request = {
  1. event_data_store : string;
}
type invalid_event_data_store_status_exception = {
  1. message : string option;
}
type start_query_response = {
  1. query_id : string option;
}
type start_query_request = {
  1. query_parameters : string list option;
  2. query_alias : string option;
  3. delivery_s3_uri : string option;
  4. query_statement : string option;
}
type max_concurrent_queries_exception = {
  1. message : string option;
}
type invalid_query_statement_exception = {
  1. message : string option;
}
type start_logging_response = unit
type start_logging_request = {
  1. name : string;
}
type start_import_response = {
  1. updated_timestamp : float option;
  2. created_timestamp : float option;
  3. import_status : import_status option;
  4. end_event_time : float option;
  5. start_event_time : float option;
  6. import_source : import_source option;
  7. destinations : string list option;
  8. import_id : string option;
}
type start_import_request = {
  1. import_id : string option;
  2. end_event_time : float option;
  3. start_event_time : float option;
  4. import_source : import_source option;
  5. destinations : string list option;
}
type invalid_import_source_exception = {
  1. message : string option;
}
type account_has_ongoing_import_exception = {
  1. message : string option;
}
type start_event_data_store_ingestion_response = unit
type start_event_data_store_ingestion_request = {
  1. event_data_store : string;
}
type source_config = {
  1. advanced_event_selectors : advanced_event_selector list option;
  2. apply_to_all_regions : bool option;
}
type restore_event_data_store_response = {
  1. billing_mode : billing_mode option;
  2. kms_key_id : string option;
  3. updated_timestamp : float option;
  4. created_timestamp : float option;
  5. termination_protection_enabled : bool option;
  6. retention_period : int option;
  7. organization_enabled : bool option;
  8. multi_region_enabled : bool option;
  9. advanced_event_selectors : advanced_event_selector list option;
  10. status : event_data_store_status option;
  11. name : string option;
  12. event_data_store_arn : string option;
}
type restore_event_data_store_request = {
  1. event_data_store : string;
}
type event_data_store_max_limit_exceeded_exception = {
  1. message : string option;
}
type resource_type_not_supported_exception = {
  1. message : string option;
}
type resource_tag = {
  1. tags_list : tag list option;
  2. resource_id : string option;
}
type resource_policy_not_valid_exception = {
  1. message : string option;
}
type resource_policy_not_found_exception = {
  1. message : string option;
}
type resource_not_found_exception = {
  1. message : string option;
}
type resource = {
  1. resource_name : string option;
  2. resource_type : string option;
}
type resource_arn_not_valid_exception = {
  1. message : string option;
}
type remove_tags_response = unit
type remove_tags_request = {
  1. tags_list : tag list;
  2. resource_id : string;
}
type invalid_tag_parameter_exception = {
  1. message : string option;
}
type register_organization_delegated_admin_response = unit
type register_organization_delegated_admin_request = {
  1. member_account_id : string;
}
type not_organization_management_account_exception = {
  1. message : string option;
}
type delegated_admin_account_limit_exceeded_exception = {
  1. message : string option;
}
type cannot_delegate_management_account_exception = {
  1. message : string option;
}
type account_registered_exception = {
  1. message : string option;
}
type account_not_found_exception = {
  1. message : string option;
}
type read_write_type =
  1. | All
  2. | WriteOnly
  3. | ReadOnly
type query_status =
  1. | TIMED_OUT
  2. | CANCELLED
  3. | FAILED
  4. | FINISHED
  5. | RUNNING
  6. | QUEUED
type query_statistics_for_describe_query = {
  1. creation_time : float option;
  2. execution_time_in_millis : int option;
  3. bytes_scanned : int option;
  4. events_scanned : int option;
  5. events_matched : int option;
}
type query_statistics = {
  1. bytes_scanned : int option;
  2. total_results_count : int option;
  3. results_count : int option;
}
type query_id_not_found_exception = {
  1. message : string option;
}
type query = {
  1. creation_time : float option;
  2. query_status : query_status option;
  3. query_id : string option;
}
type put_resource_policy_response = {
  1. resource_policy : string option;
  2. resource_arn : string option;
}
type put_resource_policy_request = {
  1. resource_policy : string;
  2. resource_arn : string;
}
type insight_type =
  1. | ApiErrorRateInsight
  2. | ApiCallRateInsight
type insight_selector = {
  1. insight_type : insight_type option;
}
type put_insight_selectors_response = {
  1. insights_destination : string option;
  2. event_data_store_arn : string option;
  3. insight_selectors : insight_selector list option;
  4. trail_ar_n : string option;
}
type put_insight_selectors_request = {
  1. insights_destination : string option;
  2. event_data_store : string option;
  3. insight_selectors : insight_selector list;
  4. trail_name : string option;
}
type data_resource = {
  1. values : string list option;
  2. type_ : string option;
}
type event_selector = {
  1. exclude_management_event_sources : string list option;
  2. data_resources : data_resource list option;
  3. include_management_events : bool option;
  4. read_write_type : read_write_type option;
}
type put_event_selectors_response = {
  1. advanced_event_selectors : advanced_event_selector list option;
  2. event_selectors : event_selector list option;
  3. trail_ar_n : string option;
}
type put_event_selectors_request = {
  1. advanced_event_selectors : advanced_event_selector list option;
  2. event_selectors : event_selector list option;
  3. trail_name : string;
}
type public_key = {
  1. fingerprint : string option;
  2. validity_end_time : float option;
  3. validity_start_time : float option;
  4. value : bytes option;
}
type partition_key = {
  1. type_ : string;
  2. name : string;
}
type maximum_number_of_trails_exceeded_exception = {
  1. message : string option;
}
type event = {
  1. cloud_trail_event : string option;
  2. resources : resource list option;
  3. username : string option;
  4. event_source : string option;
  5. event_time : float option;
  6. access_key_id : string option;
  7. read_only : string option;
  8. event_name : string option;
  9. event_id : string option;
}
type lookup_events_response = {
  1. next_token : string option;
  2. events : event list option;
}
type lookup_attribute_key =
  1. | ACCESS_KEY_ID
  2. | EVENT_SOURCE
  3. | RESOURCE_NAME
  4. | RESOURCE_TYPE
  5. | USERNAME
  6. | READ_ONLY
  7. | EVENT_NAME
  8. | EVENT_ID
type lookup_attribute = {
  1. attribute_value : string;
  2. attribute_key : lookup_attribute_key;
}
type event_category =
  1. | Insight
type lookup_events_request = {
  1. next_token : string option;
  2. max_results : int option;
  3. event_category : event_category option;
  4. end_time : float option;
  5. start_time : float option;
  6. lookup_attributes : lookup_attribute list option;
}
type invalid_time_range_exception = {
  1. message : string option;
}
type invalid_next_token_exception = {
  1. message : string option;
}
type invalid_max_results_exception = {
  1. message : string option;
}
type invalid_lookup_attributes_exception = {
  1. message : string option;
}
type invalid_event_category_exception = {
  1. message : string option;
}
type list_trails_response = {
  1. next_token : string option;
  2. trails : trail_info list option;
}
type list_trails_request = {
  1. next_token : string option;
}
type list_tags_response = {
  1. next_token : string option;
  2. resource_tag_list : resource_tag list option;
}
type list_tags_request = {
  1. next_token : string option;
  2. resource_id_list : string list;
}
type invalid_token_exception = {
  1. message : string option;
}
type list_queries_response = {
  1. next_token : string option;
  2. queries : query list option;
}
type list_queries_request = {
  1. query_status : query_status option;
  2. end_time : float option;
  3. start_time : float option;
  4. max_results : int option;
  5. next_token : string option;
  6. event_data_store : string;
}
type invalid_query_status_exception = {
  1. message : string option;
}
type invalid_date_range_exception = {
  1. message : string option;
}
type list_public_keys_response = {
  1. next_token : string option;
  2. public_key_list : public_key list option;
}
type list_public_keys_request = {
  1. next_token : string option;
  2. end_time : float option;
  3. start_time : float option;
}
type list_insights_metric_data_response = {
  1. next_token : string option;
  2. values : float list option;
  3. timestamps : float list option;
  4. error_code : string option;
  5. insight_type : insight_type option;
  6. event_name : string option;
  7. event_source : string option;
}
type insights_metric_data_type =
  1. | NON_ZERO_DATA
  2. | FILL_WITH_ZEROS
type list_insights_metric_data_request = {
  1. next_token : string option;
  2. max_results : int option;
  3. data_type : insights_metric_data_type option;
  4. period : int option;
  5. end_time : float option;
  6. start_time : float option;
  7. error_code : string option;
  8. insight_type : insight_type;
  9. event_name : string;
  10. event_source : string;
}
type imports_list_item = {
  1. updated_timestamp : float option;
  2. created_timestamp : float option;
  3. destinations : string list option;
  4. import_status : import_status option;
  5. import_id : string option;
}
type list_imports_response = {
  1. next_token : string option;
  2. imports : imports_list_item list option;
}
type list_imports_request = {
  1. next_token : string option;
  2. import_status : import_status option;
  3. destination : string option;
  4. max_results : int option;
}
type import_failure_status =
  1. | SUCCEEDED
  2. | RETRY
  3. | FAILED
type import_failure_list_item = {
  1. last_updated_time : float option;
  2. error_message : string option;
  3. error_type : string option;
  4. status : import_failure_status option;
  5. location : string option;
}
type list_import_failures_response = {
  1. next_token : string option;
  2. failures : import_failure_list_item list option;
}
type list_import_failures_request = {
  1. next_token : string option;
  2. max_results : int option;
  3. import_id : string;
}
type event_data_store = {
  1. updated_timestamp : float option;
  2. created_timestamp : float option;
  3. retention_period : int option;
  4. organization_enabled : bool option;
  5. multi_region_enabled : bool option;
  6. advanced_event_selectors : advanced_event_selector list option;
  7. status : event_data_store_status option;
  8. termination_protection_enabled : bool option;
  9. name : string option;
  10. event_data_store_arn : string option;
}
type list_event_data_stores_response = {
  1. next_token : string option;
  2. event_data_stores : event_data_store list option;
}
type list_event_data_stores_request = {
  1. max_results : int option;
  2. next_token : string option;
}
type channel = {
  1. name : string option;
  2. channel_arn : string option;
}
type list_channels_response = {
  1. next_token : string option;
  2. channels : channel list option;
}
type list_channels_request = {
  1. next_token : string option;
  2. max_results : int option;
}
type invalid_source_exception = {
  1. message : string option;
}
type insight_not_enabled_exception = {
  1. message : string option;
}
type ingestion_status = {
  1. latest_ingestion_attempt_event_i_d : string option;
  2. latest_ingestion_attempt_time : float option;
  3. latest_ingestion_error_code : string option;
  4. latest_ingestion_success_event_i_d : string option;
  5. latest_ingestion_success_time : float option;
}
type inactive_query_exception = {
  1. message : string option;
}
type get_trail_status_response = {
  1. time_logging_stopped : string option;
  2. time_logging_started : string option;
  3. latest_delivery_attempt_succeeded : string option;
  4. latest_notification_attempt_succeeded : string option;
  5. latest_notification_attempt_time : string option;
  6. latest_delivery_attempt_time : string option;
  7. latest_digest_delivery_error : string option;
  8. latest_digest_delivery_time : float option;
  9. latest_cloud_watch_logs_delivery_time : float option;
  10. latest_cloud_watch_logs_delivery_error : string option;
  11. stop_logging_time : float option;
  12. start_logging_time : float option;
  13. latest_notification_time : float option;
  14. latest_delivery_time : float option;
  15. latest_notification_error : string option;
  16. latest_delivery_error : string option;
  17. is_logging : bool option;
}
type get_trail_status_request = {
  1. name : string;
}
type get_trail_response = {
  1. trail : trail option;
}
type get_trail_request = {
  1. name : string;
}
type get_resource_policy_response = {
  1. resource_policy : string option;
  2. resource_arn : string option;
}
type get_resource_policy_request = {
  1. resource_arn : string;
}
type get_query_results_response = {
  1. error_message : string option;
  2. next_token : string option;
  3. query_result_rows : (string * string) list list list option;
  4. query_statistics : query_statistics option;
  5. query_status : query_status option;
}
type get_query_results_request = {
  1. max_query_results : int option;
  2. next_token : string option;
  3. query_id : string;
  4. event_data_store : string option;
}
type get_insight_selectors_response = {
  1. insights_destination : string option;
  2. event_data_store_arn : string option;
  3. insight_selectors : insight_selector list option;
  4. trail_ar_n : string option;
}
type get_insight_selectors_request = {
  1. event_data_store : string option;
  2. trail_name : string option;
}
type get_import_response = {
  1. import_statistics : import_statistics option;
  2. updated_timestamp : float option;
  3. created_timestamp : float option;
  4. import_status : import_status option;
  5. end_event_time : float option;
  6. start_event_time : float option;
  7. import_source : import_source option;
  8. destinations : string list option;
  9. import_id : string option;
}
type get_import_request = {
  1. import_id : string;
}
type get_event_selectors_response = {
  1. advanced_event_selectors : advanced_event_selector list option;
  2. event_selectors : event_selector list option;
  3. trail_ar_n : string option;
}
type get_event_selectors_request = {
  1. trail_name : string;
}
type get_event_data_store_response = {
  1. partition_keys : partition_key list option;
  2. federation_role_arn : string option;
  3. federation_status : federation_status option;
  4. billing_mode : billing_mode option;
  5. kms_key_id : string option;
  6. updated_timestamp : float option;
  7. created_timestamp : float option;
  8. termination_protection_enabled : bool option;
  9. retention_period : int option;
  10. organization_enabled : bool option;
  11. multi_region_enabled : bool option;
  12. advanced_event_selectors : advanced_event_selector list option;
  13. status : event_data_store_status option;
  14. name : string option;
  15. event_data_store_arn : string option;
}
type get_event_data_store_request = {
  1. event_data_store : string;
}
type get_channel_response = {
  1. ingestion_status : ingestion_status option;
  2. destinations : destination list option;
  3. source_config : source_config option;
  4. source : string option;
  5. name : string option;
  6. channel_arn : string option;
}
type get_channel_request = {
  1. channel : string;
}
type event_data_store_termination_protected_exception = {
  1. message : string option;
}
type event_data_store_federation_enabled_exception = {
  1. message : string option;
}
type enable_federation_response = {
  1. federation_role_arn : string option;
  2. federation_status : federation_status option;
  3. event_data_store_arn : string option;
}
type enable_federation_request = {
  1. federation_role_arn : string;
  2. event_data_store : string;
}
type concurrent_modification_exception = {
  1. message : string option;
}
type access_denied_exception = {
  1. message : string option;
}
type disable_federation_response = {
  1. federation_status : federation_status option;
  2. event_data_store_arn : string option;
}
type disable_federation_request = {
  1. event_data_store : string;
}
type describe_trails_response = {
  1. trail_list : trail list option;
}
type describe_trails_request = {
  1. include_shadow_trails : bool option;
  2. trail_name_list : string list option;
}
type delivery_status =
  1. | UNKNOWN
  2. | CANCELLED
  3. | ACCESS_DENIED_SIGNING_FILE
  4. | ACCESS_DENIED
  5. | RESOURCE_NOT_FOUND
  6. | PENDING
  7. | FAILED_SIGNING_FILE
  8. | FAILED
  9. | SUCCESS
type describe_query_response = {
  1. delivery_status : delivery_status option;
  2. delivery_s3_uri : string option;
  3. error_message : string option;
  4. query_statistics : query_statistics_for_describe_query option;
  5. query_status : query_status option;
  6. query_string : string option;
  7. query_id : string option;
}
type describe_query_request = {
  1. query_alias : string option;
  2. query_id : string option;
  3. event_data_store : string option;
}
type deregister_organization_delegated_admin_response = unit
type deregister_organization_delegated_admin_request = {
  1. delegated_admin_account_id : string;
}
type account_not_registered_exception = {
  1. message : string option;
}
type delete_trail_response = unit
type delete_trail_request = {
  1. name : string;
}
type delete_resource_policy_response = unit
type delete_resource_policy_request = {
  1. resource_arn : string;
}
type delete_event_data_store_response = unit
type delete_event_data_store_request = {
  1. event_data_store : string;
}
type channel_exists_for_eds_exception = {
  1. message : string option;
}
type delete_channel_response = unit
type delete_channel_request = {
  1. channel : string;
}
type create_trail_response = {
  1. is_organization_trail : bool option;
  2. kms_key_id : string option;
  3. cloud_watch_logs_role_arn : string option;
  4. cloud_watch_logs_log_group_arn : string option;
  5. log_file_validation_enabled : bool option;
  6. trail_ar_n : string option;
  7. is_multi_region_trail : bool option;
  8. include_global_service_events : bool option;
  9. sns_topic_ar_n : string option;
  10. sns_topic_name : string option;
  11. s3_key_prefix : string option;
  12. s3_bucket_name : string option;
  13. name : string option;
}
type create_trail_request = {
  1. tags_list : tag list option;
  2. is_organization_trail : bool option;
  3. kms_key_id : string option;
  4. cloud_watch_logs_role_arn : string option;
  5. cloud_watch_logs_log_group_arn : string option;
  6. enable_log_file_validation : bool option;
  7. is_multi_region_trail : bool option;
  8. include_global_service_events : bool option;
  9. sns_topic_name : string option;
  10. s3_key_prefix : string option;
  11. s3_bucket_name : string;
  12. name : string;
}
type create_event_data_store_response = {
  1. billing_mode : billing_mode option;
  2. kms_key_id : string option;
  3. updated_timestamp : float option;
  4. created_timestamp : float option;
  5. tags_list : tag list option;
  6. termination_protection_enabled : bool option;
  7. retention_period : int option;
  8. organization_enabled : bool option;
  9. multi_region_enabled : bool option;
  10. advanced_event_selectors : advanced_event_selector list option;
  11. status : event_data_store_status option;
  12. name : string option;
  13. event_data_store_arn : string option;
}
type create_event_data_store_request = {
  1. billing_mode : billing_mode option;
  2. start_ingestion : bool option;
  3. kms_key_id : string option;
  4. tags_list : tag list option;
  5. termination_protection_enabled : bool option;
  6. retention_period : int option;
  7. organization_enabled : bool option;
  8. multi_region_enabled : bool option;
  9. advanced_event_selectors : advanced_event_selector list option;
  10. name : string;
}
type create_channel_response = {
  1. tags : tag list option;
  2. destinations : destination list option;
  3. source : string option;
  4. name : string option;
  5. channel_arn : string option;
}
type create_channel_request = {
  1. tags : tag list option;
  2. destinations : destination list;
  3. source : string;
  4. name : string;
}
type channel_max_limit_exceeded_exception = {
  1. message : string option;
}
type cancel_query_response = {
  1. query_status : query_status;
  2. query_id : string;
}
type cancel_query_request = {
  1. query_id : string;
  2. event_data_store : string option;
}
type add_tags_response = unit
type add_tags_request = {
  1. tags_list : tag list;
  2. resource_id : string;
}
type base_document = Smaws_Lib.Json.t
val make_update_trail_response : ?is_organization_trail:bool -> ?kms_key_id:string -> ?cloud_watch_logs_role_arn:string -> ?cloud_watch_logs_log_group_arn:string -> ?log_file_validation_enabled:bool -> ?trail_ar_n:string -> ?is_multi_region_trail:bool -> ?include_global_service_events:bool -> ?sns_topic_ar_n:string -> ?sns_topic_name:string -> ?s3_key_prefix:string -> ?s3_bucket_name:string -> ?name:string -> unit -> update_trail_response
val make_update_trail_request : ?is_organization_trail:bool -> ?kms_key_id:string -> ?cloud_watch_logs_role_arn:string -> ?cloud_watch_logs_log_group_arn:string -> ?enable_log_file_validation:bool -> ?is_multi_region_trail:bool -> ?include_global_service_events:bool -> ?sns_topic_name:string -> ?s3_key_prefix:string -> ?s3_bucket_name:string -> name:string -> unit -> update_trail_request
val make_advanced_field_selector : ?not_ends_with:string list -> ?not_starts_with:string list -> ?not_equals:string list -> ?ends_with:string list -> ?starts_with:string list -> ?equals:string list -> field:string -> unit -> advanced_field_selector
val make_advanced_event_selector : ?name:string -> field_selectors:advanced_field_selector list -> unit -> advanced_event_selector
val make_update_event_data_store_response : ?federation_role_arn:string -> ?federation_status:federation_status -> ?billing_mode:billing_mode -> ?kms_key_id:string -> ?updated_timestamp:float -> ?created_timestamp:float -> ?termination_protection_enabled:bool -> ?retention_period:int -> ?organization_enabled:bool -> ?multi_region_enabled:bool -> ?advanced_event_selectors:advanced_event_selector list -> ?status:event_data_store_status -> ?name:string -> ?event_data_store_arn:string -> unit -> update_event_data_store_response
val make_update_event_data_store_request : ?billing_mode:billing_mode -> ?kms_key_id:string -> ?termination_protection_enabled:bool -> ?retention_period:int -> ?organization_enabled:bool -> ?multi_region_enabled:bool -> ?advanced_event_selectors:advanced_event_selector list -> ?name:string -> event_data_store:string -> unit -> update_event_data_store_request
val make_destination : location:string -> type_:destination_type -> unit -> destination
val make_update_channel_response : ?destinations:destination list -> ?source:string -> ?name:string -> ?channel_arn:string -> unit -> update_channel_response
val make_update_channel_request : ?name:string -> ?destinations:destination list -> channel:string -> unit -> update_channel_request
val make_trail_info : ?home_region:string -> ?name:string -> ?trail_ar_n:string -> unit -> trail_info
val make_trail : ?is_organization_trail:bool -> ?has_insight_selectors:bool -> ?has_custom_event_selectors:bool -> ?kms_key_id:string -> ?cloud_watch_logs_role_arn:string -> ?cloud_watch_logs_log_group_arn:string -> ?log_file_validation_enabled:bool -> ?trail_ar_n:string -> ?home_region:string -> ?is_multi_region_trail:bool -> ?include_global_service_events:bool -> ?sns_topic_ar_n:string -> ?sns_topic_name:string -> ?s3_key_prefix:string -> ?s3_bucket_name:string -> ?name:string -> unit -> trail
val make_tag : ?value:string -> key:string -> unit -> tag
val make_stop_logging_response : unit -> stop_logging_response
val make_stop_logging_request : name:string -> unit -> stop_logging_request
val make_s3_import_source : s3_bucket_access_role_arn:string -> s3_bucket_region:string -> s3_location_uri:string -> unit -> s3_import_source
val make_import_source : s3:s3_import_source -> unit -> import_source
val make_import_statistics : ?failed_entries:int -> ?events_completed:int -> ?files_completed:int -> ?prefixes_completed:int -> ?prefixes_found:int -> unit -> import_statistics
val make_stop_import_response : ?import_statistics:import_statistics -> ?end_event_time:float -> ?start_event_time:float -> ?updated_timestamp:float -> ?created_timestamp:float -> ?import_status:import_status -> ?destinations:string list -> ?import_source:import_source -> ?import_id:string -> unit -> stop_import_response
val make_stop_import_request : import_id:string -> unit -> stop_import_request
val make_stop_event_data_store_ingestion_response : unit -> stop_event_data_store_ingestion_response
val make_stop_event_data_store_ingestion_request : event_data_store:string -> unit -> stop_event_data_store_ingestion_request
val make_start_query_response : ?query_id:string -> unit -> start_query_response
val make_start_query_request : ?query_parameters:string list -> ?query_alias:string -> ?delivery_s3_uri:string -> ?query_statement:string -> unit -> start_query_request
val make_start_logging_response : unit -> start_logging_response
val make_start_logging_request : name:string -> unit -> start_logging_request
val make_start_import_response : ?updated_timestamp:float -> ?created_timestamp:float -> ?import_status:import_status -> ?end_event_time:float -> ?start_event_time:float -> ?import_source:import_source -> ?destinations:string list -> ?import_id:string -> unit -> start_import_response
val make_start_import_request : ?import_id:string -> ?end_event_time:float -> ?start_event_time:float -> ?import_source:import_source -> ?destinations:string list -> unit -> start_import_request
val make_start_event_data_store_ingestion_response : unit -> start_event_data_store_ingestion_response
val make_start_event_data_store_ingestion_request : event_data_store:string -> unit -> start_event_data_store_ingestion_request
val make_source_config : ?advanced_event_selectors:advanced_event_selector list -> ?apply_to_all_regions:bool -> unit -> source_config
val make_restore_event_data_store_response : ?billing_mode:billing_mode -> ?kms_key_id:string -> ?updated_timestamp:float -> ?created_timestamp:float -> ?termination_protection_enabled:bool -> ?retention_period:int -> ?organization_enabled:bool -> ?multi_region_enabled:bool -> ?advanced_event_selectors:advanced_event_selector list -> ?status:event_data_store_status -> ?name:string -> ?event_data_store_arn:string -> unit -> restore_event_data_store_response
val make_restore_event_data_store_request : event_data_store:string -> unit -> restore_event_data_store_request
val make_resource_tag : ?tags_list:tag list -> ?resource_id:string -> unit -> resource_tag
val make_resource : ?resource_name:string -> ?resource_type:string -> unit -> resource
val make_remove_tags_response : unit -> remove_tags_response
val make_remove_tags_request : tags_list:tag list -> resource_id:string -> unit -> remove_tags_request
val make_register_organization_delegated_admin_response : unit -> register_organization_delegated_admin_response
val make_register_organization_delegated_admin_request : member_account_id:string -> unit -> register_organization_delegated_admin_request
val make_query_statistics_for_describe_query : ?creation_time:float -> ?execution_time_in_millis:int -> ?bytes_scanned:int -> ?events_scanned:int -> ?events_matched:int -> unit -> query_statistics_for_describe_query
val make_query_statistics : ?bytes_scanned:int -> ?total_results_count:int -> ?results_count:int -> unit -> query_statistics
val make_query : ?creation_time:float -> ?query_status:query_status -> ?query_id:string -> unit -> query
val make_put_resource_policy_response : ?resource_policy:string -> ?resource_arn:string -> unit -> put_resource_policy_response
val make_put_resource_policy_request : resource_policy:string -> resource_arn:string -> unit -> put_resource_policy_request
val make_insight_selector : ?insight_type:insight_type -> unit -> insight_selector
val make_put_insight_selectors_response : ?insights_destination:string -> ?event_data_store_arn:string -> ?insight_selectors:insight_selector list -> ?trail_ar_n:string -> unit -> put_insight_selectors_response
val make_put_insight_selectors_request : ?insights_destination:string -> ?event_data_store:string -> ?trail_name:string -> insight_selectors:insight_selector list -> unit -> put_insight_selectors_request
val make_data_resource : ?values:string list -> ?type_:string -> unit -> data_resource
val make_event_selector : ?exclude_management_event_sources:string list -> ?data_resources:data_resource list -> ?include_management_events:bool -> ?read_write_type:read_write_type -> unit -> event_selector
val make_put_event_selectors_response : ?advanced_event_selectors:advanced_event_selector list -> ?event_selectors:event_selector list -> ?trail_ar_n:string -> unit -> put_event_selectors_response
val make_put_event_selectors_request : ?advanced_event_selectors:advanced_event_selector list -> ?event_selectors:event_selector list -> trail_name:string -> unit -> put_event_selectors_request
val make_public_key : ?fingerprint:string -> ?validity_end_time:float -> ?validity_start_time:float -> ?value:bytes -> unit -> public_key
val make_partition_key : type_:string -> name:string -> unit -> partition_key
val make_event : ?cloud_trail_event:string -> ?resources:resource list -> ?username:string -> ?event_source:string -> ?event_time:float -> ?access_key_id:string -> ?read_only:string -> ?event_name:string -> ?event_id:string -> unit -> event
val make_lookup_events_response : ?next_token:string -> ?events:event list -> unit -> lookup_events_response
val make_lookup_attribute : attribute_value:string -> attribute_key:lookup_attribute_key -> unit -> lookup_attribute
val make_lookup_events_request : ?next_token:string -> ?max_results:int -> ?event_category:event_category -> ?end_time:float -> ?start_time:float -> ?lookup_attributes:lookup_attribute list -> unit -> lookup_events_request
val make_list_trails_response : ?next_token:string -> ?trails:trail_info list -> unit -> list_trails_response
val make_list_trails_request : ?next_token:string -> unit -> list_trails_request
val make_list_tags_response : ?next_token:string -> ?resource_tag_list:resource_tag list -> unit -> list_tags_response
val make_list_tags_request : ?next_token:string -> resource_id_list:string list -> unit -> list_tags_request
val make_list_queries_response : ?next_token:string -> ?queries:query list -> unit -> list_queries_response
val make_list_queries_request : ?query_status:query_status -> ?end_time:float -> ?start_time:float -> ?max_results:int -> ?next_token:string -> event_data_store:string -> unit -> list_queries_request
val make_list_public_keys_response : ?next_token:string -> ?public_key_list:public_key list -> unit -> list_public_keys_response
val make_list_public_keys_request : ?next_token:string -> ?end_time:float -> ?start_time:float -> unit -> list_public_keys_request
val make_list_insights_metric_data_response : ?next_token:string -> ?values:float list -> ?timestamps:float list -> ?error_code:string -> ?insight_type:insight_type -> ?event_name:string -> ?event_source:string -> unit -> list_insights_metric_data_response
val make_list_insights_metric_data_request : ?next_token:string -> ?max_results:int -> ?data_type:insights_metric_data_type -> ?period:int -> ?end_time:float -> ?start_time:float -> ?error_code:string -> insight_type:insight_type -> event_name:string -> event_source:string -> unit -> list_insights_metric_data_request
val make_imports_list_item : ?updated_timestamp:float -> ?created_timestamp:float -> ?destinations:string list -> ?import_status:import_status -> ?import_id:string -> unit -> imports_list_item
val make_list_imports_response : ?next_token:string -> ?imports:imports_list_item list -> unit -> list_imports_response
val make_list_imports_request : ?next_token:string -> ?import_status:import_status -> ?destination:string -> ?max_results:int -> unit -> list_imports_request
val make_import_failure_list_item : ?last_updated_time:float -> ?error_message:string -> ?error_type:string -> ?status:import_failure_status -> ?location:string -> unit -> import_failure_list_item
val make_list_import_failures_response : ?next_token:string -> ?failures:import_failure_list_item list -> unit -> list_import_failures_response
val make_list_import_failures_request : ?next_token:string -> ?max_results:int -> import_id:string -> unit -> list_import_failures_request
val make_event_data_store : ?updated_timestamp:float -> ?created_timestamp:float -> ?retention_period:int -> ?organization_enabled:bool -> ?multi_region_enabled:bool -> ?advanced_event_selectors:advanced_event_selector list -> ?status:event_data_store_status -> ?termination_protection_enabled:bool -> ?name:string -> ?event_data_store_arn:string -> unit -> event_data_store
val make_list_event_data_stores_response : ?next_token:string -> ?event_data_stores:event_data_store list -> unit -> list_event_data_stores_response
val make_list_event_data_stores_request : ?max_results:int -> ?next_token:string -> unit -> list_event_data_stores_request
val make_channel : ?name:string -> ?channel_arn:string -> unit -> channel
val make_list_channels_response : ?next_token:string -> ?channels:channel list -> unit -> list_channels_response
val make_list_channels_request : ?next_token:string -> ?max_results:int -> unit -> list_channels_request
val make_ingestion_status : ?latest_ingestion_attempt_event_i_d:string -> ?latest_ingestion_attempt_time:float -> ?latest_ingestion_error_code:string -> ?latest_ingestion_success_event_i_d:string -> ?latest_ingestion_success_time:float -> unit -> ingestion_status
val make_get_trail_status_response : ?time_logging_stopped:string -> ?time_logging_started:string -> ?latest_delivery_attempt_succeeded:string -> ?latest_notification_attempt_succeeded:string -> ?latest_notification_attempt_time:string -> ?latest_delivery_attempt_time:string -> ?latest_digest_delivery_error:string -> ?latest_digest_delivery_time:float -> ?latest_cloud_watch_logs_delivery_time:float -> ?latest_cloud_watch_logs_delivery_error:string -> ?stop_logging_time:float -> ?start_logging_time:float -> ?latest_notification_time:float -> ?latest_delivery_time:float -> ?latest_notification_error:string -> ?latest_delivery_error:string -> ?is_logging:bool -> unit -> get_trail_status_response
val make_get_trail_status_request : name:string -> unit -> get_trail_status_request
val make_get_trail_response : ?trail:trail -> unit -> get_trail_response
val make_get_trail_request : name:string -> unit -> get_trail_request
val make_get_resource_policy_response : ?resource_policy:string -> ?resource_arn:string -> unit -> get_resource_policy_response
val make_get_resource_policy_request : resource_arn:string -> unit -> get_resource_policy_request
val make_get_query_results_response : ?error_message:string -> ?next_token:string -> ?query_result_rows:(string * string) list list list -> ?query_statistics:query_statistics -> ?query_status:query_status -> unit -> get_query_results_response
val make_get_query_results_request : ?max_query_results:int -> ?next_token:string -> ?event_data_store:string -> query_id:string -> unit -> get_query_results_request
val make_get_insight_selectors_response : ?insights_destination:string -> ?event_data_store_arn:string -> ?insight_selectors:insight_selector list -> ?trail_ar_n:string -> unit -> get_insight_selectors_response
val make_get_insight_selectors_request : ?event_data_store:string -> ?trail_name:string -> unit -> get_insight_selectors_request
val make_get_import_response : ?import_statistics:import_statistics -> ?updated_timestamp:float -> ?created_timestamp:float -> ?import_status:import_status -> ?end_event_time:float -> ?start_event_time:float -> ?import_source:import_source -> ?destinations:string list -> ?import_id:string -> unit -> get_import_response
val make_get_import_request : import_id:string -> unit -> get_import_request
val make_get_event_selectors_response : ?advanced_event_selectors:advanced_event_selector list -> ?event_selectors:event_selector list -> ?trail_ar_n:string -> unit -> get_event_selectors_response
val make_get_event_selectors_request : trail_name:string -> unit -> get_event_selectors_request
val make_get_event_data_store_response : ?partition_keys:partition_key list -> ?federation_role_arn:string -> ?federation_status:federation_status -> ?billing_mode:billing_mode -> ?kms_key_id:string -> ?updated_timestamp:float -> ?created_timestamp:float -> ?termination_protection_enabled:bool -> ?retention_period:int -> ?organization_enabled:bool -> ?multi_region_enabled:bool -> ?advanced_event_selectors:advanced_event_selector list -> ?status:event_data_store_status -> ?name:string -> ?event_data_store_arn:string -> unit -> get_event_data_store_response
val make_get_event_data_store_request : event_data_store:string -> unit -> get_event_data_store_request
val make_get_channel_response : ?ingestion_status:ingestion_status -> ?destinations:destination list -> ?source_config:source_config -> ?source:string -> ?name:string -> ?channel_arn:string -> unit -> get_channel_response
val make_get_channel_request : channel:string -> unit -> get_channel_request
val make_enable_federation_response : ?federation_role_arn:string -> ?federation_status:federation_status -> ?event_data_store_arn:string -> unit -> enable_federation_response
val make_enable_federation_request : federation_role_arn:string -> event_data_store:string -> unit -> enable_federation_request
val make_disable_federation_response : ?federation_status:federation_status -> ?event_data_store_arn:string -> unit -> disable_federation_response
val make_disable_federation_request : event_data_store:string -> unit -> disable_federation_request
val make_describe_trails_response : ?trail_list:trail list -> unit -> describe_trails_response
val make_describe_trails_request : ?include_shadow_trails:bool -> ?trail_name_list:string list -> unit -> describe_trails_request
val make_describe_query_response : ?delivery_status:delivery_status -> ?delivery_s3_uri:string -> ?error_message:string -> ?query_statistics:query_statistics_for_describe_query -> ?query_status:query_status -> ?query_string:string -> ?query_id:string -> unit -> describe_query_response
val make_describe_query_request : ?query_alias:string -> ?query_id:string -> ?event_data_store:string -> unit -> describe_query_request
val make_deregister_organization_delegated_admin_response : unit -> deregister_organization_delegated_admin_response
val make_deregister_organization_delegated_admin_request : delegated_admin_account_id:string -> unit -> deregister_organization_delegated_admin_request
val make_delete_trail_response : unit -> delete_trail_response
val make_delete_trail_request : name:string -> unit -> delete_trail_request
val make_delete_resource_policy_response : unit -> delete_resource_policy_response
val make_delete_resource_policy_request : resource_arn:string -> unit -> delete_resource_policy_request
val make_delete_event_data_store_response : unit -> delete_event_data_store_response
val make_delete_event_data_store_request : event_data_store:string -> unit -> delete_event_data_store_request
val make_delete_channel_response : unit -> delete_channel_response
val make_delete_channel_request : channel:string -> unit -> delete_channel_request
val make_create_trail_response : ?is_organization_trail:bool -> ?kms_key_id:string -> ?cloud_watch_logs_role_arn:string -> ?cloud_watch_logs_log_group_arn:string -> ?log_file_validation_enabled:bool -> ?trail_ar_n:string -> ?is_multi_region_trail:bool -> ?include_global_service_events:bool -> ?sns_topic_ar_n:string -> ?sns_topic_name:string -> ?s3_key_prefix:string -> ?s3_bucket_name:string -> ?name:string -> unit -> create_trail_response
val make_create_trail_request : ?tags_list:tag list -> ?is_organization_trail:bool -> ?kms_key_id:string -> ?cloud_watch_logs_role_arn:string -> ?cloud_watch_logs_log_group_arn:string -> ?enable_log_file_validation:bool -> ?is_multi_region_trail:bool -> ?include_global_service_events:bool -> ?sns_topic_name:string -> ?s3_key_prefix:string -> s3_bucket_name:string -> name:string -> unit -> create_trail_request
val make_create_event_data_store_response : ?billing_mode:billing_mode -> ?kms_key_id:string -> ?updated_timestamp:float -> ?created_timestamp:float -> ?tags_list:tag list -> ?termination_protection_enabled:bool -> ?retention_period:int -> ?organization_enabled:bool -> ?multi_region_enabled:bool -> ?advanced_event_selectors:advanced_event_selector list -> ?status:event_data_store_status -> ?name:string -> ?event_data_store_arn:string -> unit -> create_event_data_store_response
val make_create_event_data_store_request : ?billing_mode:billing_mode -> ?start_ingestion:bool -> ?kms_key_id:string -> ?tags_list:tag list -> ?termination_protection_enabled:bool -> ?retention_period:int -> ?organization_enabled:bool -> ?multi_region_enabled:bool -> ?advanced_event_selectors:advanced_event_selector list -> name:string -> unit -> create_event_data_store_request
val make_create_channel_response : ?tags:tag list -> ?destinations:destination list -> ?source:string -> ?name:string -> ?channel_arn:string -> unit -> create_channel_response
val make_create_channel_request : ?tags:tag list -> destinations:destination list -> source:string -> name:string -> unit -> create_channel_request
val make_cancel_query_response : query_status:query_status -> query_id:string -> unit -> cancel_query_response
val make_cancel_query_request : ?event_data_store:string -> query_id:string -> unit -> cancel_query_request
val make_add_tags_response : unit -> add_tags_response
val make_add_tags_request : tags_list:tag list -> resource_id:string -> unit -> add_tags_request
module UpdateTrail : sig ... end
module UpdateEventDataStore : sig ... end
module UpdateChannel : sig ... end
module StopLogging : sig ... end
module StopImport : sig ... end
module StopEventDataStoreIngestion : sig ... end
module StartQuery : sig ... end
module StartLogging : sig ... end
module StartImport : sig ... end
module StartEventDataStoreIngestion : sig ... end
module RestoreEventDataStore : sig ... end
module RemoveTags : sig ... end
module PutResourcePolicy : sig ... end
module PutInsightSelectors : sig ... end
module PutEventSelectors : sig ... end
module LookupEvents : sig ... end
module ListTrails : sig ... end
module ListTags : sig ... end
module ListQueries : sig ... end
module ListPublicKeys : sig ... end
module ListInsightsMetricData : sig ... end
module ListImports : sig ... end
module ListImportFailures : sig ... end
module ListEventDataStores : sig ... end
module ListChannels : sig ... end
module GetTrailStatus : sig ... end
module GetTrail : sig ... end
module GetResourcePolicy : sig ... end
module GetQueryResults : sig ... end
module GetInsightSelectors : sig ... end
module GetImport : sig ... end
module GetEventSelectors : sig ... end
module GetEventDataStore : sig ... end
module GetChannel : sig ... end
module EnableFederation : sig ... end
module DisableFederation : sig ... end
module DescribeTrails : sig ... end
module DescribeQuery : sig ... end
module DeleteTrail : sig ... end
module DeleteResourcePolicy : sig ... end
module DeleteEventDataStore : sig ... end
module DeleteChannel : sig ... end
module CreateTrail : sig ... end
module CreateEventDataStore : sig ... end
module CreateChannel : sig ... end
module CancelQuery : sig ... end
module AddTags : sig ... end
OCaml

Innovation. Community. Security.