Module Smaws_Client_ApplicationInsights.Types

type nonrec x_ray_throttle_percent = int
type nonrec x_ray_request_count = int
type nonrec x_ray_request_average_latency = Smaws_Lib.CoreTypes.Int64.t
type nonrec x_ray_node_type = string
type nonrec x_ray_node_name = string
type nonrec x_ray_fault_percent = int
type nonrec x_ray_error_percent = int
type nonrec workload_name = string
type nonrec meta_data_value = string
type nonrec meta_data_key = string
type nonrec workload_meta_data = (meta_data_key * meta_data_value) list
type nonrec workload_id = string
type nonrec component_name = string
type nonrec tier =
  1. | SAP_NETWEAVER_HIGH_AVAILABILITY
  2. | SAP_NETWEAVER_DISTRIBUTED
  3. | SAP_NETWEAVER_STANDARD
  4. | ACTIVE_DIRECTORY
  5. | SHAREPOINT
  6. | SQL_SERVER_FAILOVER_CLUSTER_INSTANCE
  7. | SAP_ASE_HIGH_AVAILABILITY
  8. | SAP_ASE_SINGLE_NODE
  9. | SAP_HANA_HIGH_AVAILABILITY
  10. | SAP_HANA_SINGLE_NODE
  11. | SAP_HANA_MULTI_NODE
  12. | ORACLE
  13. | JAVA_JMX
  14. | POSTGRESQL
  15. | MYSQL
  16. | SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP
  17. | SQL_SERVER
  18. | DOT_NET_WEB
  19. | DOT_NET_WEB_TIER
  20. | DOT_NET_WORKER
  21. | DOT_NET_CORE
  22. | DEFAULT
  23. | CUSTOM
type nonrec remarks = string
type nonrec missing_workload_config = bool
type nonrec workload = {
  1. missing_workload_config : missing_workload_config option;
    (*

    Indicates whether all of the component configurations required to monitor a workload were provided.

    *)
  2. workload_remarks : remarks option;
    (*

    If logging is supported for the resource type, shows whether the component has configured logs to be monitored.

    *)
  3. tier : tier option;
    (*

    The tier of the workload.

    *)
  4. workload_name : workload_name option;
    (*

    The name of the workload.

    *)
  5. component_name : component_name option;
    (*

    The name of the component.

    *)
  6. workload_id : workload_id option;
    (*

    The ID of the workload.

    *)
}

Describes the workloads on a component.

type nonrec workload_list = workload list
type nonrec component_configuration = string
type nonrec workload_configuration = {
  1. configuration : component_configuration option;
    (*

    The configuration settings of the workload.

    *)
  2. tier : tier option;
    (*

    The configuration of the workload tier.

    *)
  3. workload_name : workload_name option;
    (*

    The name of the workload.

    *)
}

The configuration of the workload.

type nonrec visibility =
  1. | VISIBLE
  2. | IGNORED
type nonrec value = float
type nonrec error_msg = string
type nonrec validation_exception = {
  1. message : error_msg option;
}

The parameter is not valid.

type nonrec update_workload_response = {
  1. workload_configuration : workload_configuration option;
    (*

    The configuration settings of the workload. The value is the escaped JSON of the configuration.

    *)
  2. workload_id : workload_id option;
    (*

    The ID of the workload.

    *)
}
type nonrec resource_group_name = string
type nonrec update_workload_request = {
  1. workload_configuration : workload_configuration;
    (*

    The configuration settings of the workload. The value is the escaped JSON of the configuration.

    *)
  2. workload_id : workload_id option;
    (*

    The ID of the workload.

    *)
  3. component_name : component_name;
    (*

    The name of the component.

    *)
  4. resource_group_name : resource_group_name;
    (*

    The name of the resource group.

    *)
}
type nonrec resource_not_found_exception = {
  1. message : error_msg option;
}

The resource does not exist in the customer account.

type nonrec internal_server_exception = {
  1. message : error_msg option;
}

The server encountered an internal error and is unable to complete the request.

type nonrec update_status =
  1. | RESOLVED
type nonrec update_problem_response = unit
type nonrec problem_id = string
type nonrec update_problem_request = {
  1. visibility : visibility option;
    (*

    The visibility of a problem. When you pass a value of IGNORED, the problem is removed from the default view, and all notifications for the problem are suspended. When VISIBLE is passed, the IGNORED action is reversed.

    *)
  2. update_status : update_status option;
    (*

    The status of the problem. Arguments can be passed for only problems that show a status of RECOVERING.

    *)
  3. problem_id : problem_id;
    (*

    The ID of the problem.

    *)
}
type nonrec log_pattern_set_name = string
type nonrec log_pattern_name = string
type nonrec log_pattern_regex = string
type nonrec log_pattern_rank = int
type nonrec log_pattern = {
  1. rank : log_pattern_rank option;
    (*

    Rank of the log pattern. Must be a value between 1 and 1,000,000. The patterns are sorted by rank, so we recommend that you set your highest priority patterns with the lowest rank. A pattern of rank 1 will be the first to get matched to a log line. A pattern of rank 1,000,000 will be last to get matched. When you configure custom log patterns from the console, a Low severity pattern translates to a 750,000 rank. A Medium severity pattern translates to a 500,000 rank. And a High severity pattern translates to a 250,000 rank. Rank values less than 1 or greater than 1,000,000 are reserved for Amazon Web Services provided patterns.

    *)
  2. pattern : log_pattern_regex option;
    (*

    A regular expression that defines the log pattern. A log pattern can contain as many as 50 characters, and it cannot be empty. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.

    *)
  3. pattern_name : log_pattern_name option;
    (*

    The name of the log pattern. A log pattern name can contain as many as 50 characters, and it cannot be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore.

    *)
  4. pattern_set_name : log_pattern_set_name option;
    (*

    The name of the log pattern. A log pattern name can contain as many as 30 characters, and it cannot be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore.

    *)
}

An object that defines the log patterns that belongs to a LogPatternSet.

type nonrec update_log_pattern_response = {
  1. log_pattern : log_pattern option;
    (*

    The successfully created log pattern.

    *)
  2. resource_group_name : resource_group_name option;
    (*

    The name of the resource group.

    *)
}
type nonrec update_log_pattern_request = {
  1. rank : log_pattern_rank option;
    (*

    Rank of the log pattern. Must be a value between 1 and 1,000,000. The patterns are sorted by rank, so we recommend that you set your highest priority patterns with the lowest rank. A pattern of rank 1 will be the first to get matched to a log line. A pattern of rank 1,000,000 will be last to get matched. When you configure custom log patterns from the console, a Low severity pattern translates to a 750,000 rank. A Medium severity pattern translates to a 500,000 rank. And a High severity pattern translates to a 250,000 rank. Rank values less than 1 or greater than 1,000,000 are reserved for Amazon Web Services provided patterns.

    *)
  2. pattern : log_pattern_regex option;
    (*

    The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.

    *)
  3. pattern_name : log_pattern_name;
    (*

    The name of the log pattern.

    *)
  4. pattern_set_name : log_pattern_set_name;
    (*

    The name of the log pattern set.

    *)
  5. resource_group_name : resource_group_name;
    (*

    The name of the resource group.

    *)
}
type nonrec resource_in_use_exception = {
  1. message : error_msg option;
}

The resource is already created or in use.

type nonrec update_component_response = unit
type nonrec custom_component_name = string
type nonrec resource_ar_n = string
type nonrec resource_list = resource_ar_n list
type nonrec update_component_request = {
  1. resource_list : resource_list option;
    (*

    The list of resource ARNs that belong to the component.

    *)
  2. new_component_name : custom_component_name option;
    (*

    The new name of the component.

    *)
  3. component_name : custom_component_name;
    (*

    The name of the component.

    *)
  4. resource_group_name : resource_group_name;
    (*

    The name of the resource group.

    *)
}
type nonrec update_component_configuration_response = unit
type nonrec monitor = bool
type nonrec auto_config_enabled = bool
type nonrec update_component_configuration_request = {
  1. auto_config_enabled : auto_config_enabled option;
    (*

    Automatically configures the component by applying the recommended configurations.

    *)
  2. component_configuration : component_configuration option;
    (*

    The configuration settings of the component. The value is the escaped JSON of the configuration. For more information about the JSON format, see Working with JSON. You can send a request to DescribeComponentConfigurationRecommendation to see the recommended configuration for a component. For the complete format of the component configuration file, see Component Configuration.

    *)
  3. tier : tier option;
    (*

    The tier of the application component.

    *)
  4. monitor : monitor option;
    (*

    Indicates whether the application component is monitored.

    *)
  5. component_name : component_name;
    (*

    The name of the component.

    *)
  6. resource_group_name : resource_group_name;
    (*

    The name of the resource group.

    *)
}
type nonrec account_id = string
type nonrec life_cycle = string
type nonrec ops_item_sns_topic_arn = string
type nonrec sns_notification_arn = string
type nonrec ops_center_enabled = bool
type nonrec cwe_monitor_enabled = bool
type nonrec discovery_type =
  1. | ACCOUNT_BASED
  2. | RESOURCE_GROUP_BASED
type nonrec attach_missing_permission = bool
type nonrec application_info = {
  1. attach_missing_permission : attach_missing_permission option;
    (*

    If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.

    *)
  2. discovery_type : discovery_type option;
    (*

    The method used by Application Insights to onboard your resources.

    *)
  3. auto_config_enabled : auto_config_enabled option;
    (*

    Indicates whether auto-configuration is turned on for this application.

    *)
  4. remarks : remarks option;
    (*

    The issues on the user side that block Application Insights from successfully monitoring an application. Example remarks include:

    • “Configuring application, detected 1 Errors, 3 Warnings”
    • “Configuring application, detected 1 Unconfigured Components”
    *)
  5. cwe_monitor_enabled : cwe_monitor_enabled option;
    (*

    Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated, failed deployment, and others.

    *)
  6. ops_center_enabled : ops_center_enabled option;
    (*

    Indicates whether Application Insights will create opsItems for any problem detected by Application Insights for an application.

    *)
  7. sns_notification_arn : sns_notification_arn option;
    (*

    The SNS topic ARN that is associated with SNS notifications for updates or issues.

    *)
  8. ops_item_sns_topic_arn : ops_item_sns_topic_arn option;
    (*

    The SNS topic provided to Application Insights that is associated to the created opsItems to receive SNS notifications for opsItem updates.

    *)
  9. life_cycle : life_cycle option;
    (*

    The lifecycle of the application.

    *)
  10. resource_group_name : resource_group_name option;
    (*

    The name of the resource group used for the application.

    *)
  11. account_id : account_id option;
    (*

    The Amazon Web Services account ID for the owner of the application.

    *)
}

Describes the status of the application.

type nonrec update_application_response = {
  1. application_info : application_info option;
    (*

    Information about the application.

    *)
}
type nonrec remove_sns_topic = bool
type nonrec update_application_request = {
  1. attach_missing_permission : attach_missing_permission option;
    (*

    If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.

    *)
  2. auto_config_enabled : auto_config_enabled option;
    (*

    Turns auto-configuration on or off.

    *)
  3. remove_sns_topic : remove_sns_topic option;
    (*

    Disassociates the SNS topic from the opsItem created for detected problems.

    *)
  4. sns_notification_arn : sns_notification_arn option;
    (*

    The SNS topic ARN. Allows you to receive SNS notifications for updates and issues with an application.

    *)
  5. ops_item_sns_topic_arn : ops_item_sns_topic_arn option;
    (*

    The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.

    *)
  6. cwe_monitor_enabled : cwe_monitor_enabled option;
    (*

    Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated, failed deployment, and others.

    *)
  7. ops_center_enabled : ops_center_enabled option;
    (*

    When set to true, creates opsItems for any problems detected on an application.

    *)
  8. resource_group_name : resource_group_name;
    (*

    The name of the resource group.

    *)
}
type nonrec untag_resource_response = unit
type nonrec amazon_resource_name = string
type nonrec tag_key = string
type nonrec tag_key_list = tag_key list
type nonrec untag_resource_request = {
  1. tag_keys : tag_key_list;
    (*

    The tags (tag keys) that you want to remove from the resource. When you specify a tag key, the action removes both that key and its associated tag value.

    To remove more than one tag from the application, append the TagKeys parameter and argument for each additional tag to remove, separated by an ampersand.

    *)
  2. resource_ar_n : amazon_resource_name;
    (*

    The Amazon Resource Name (ARN) of the application that you want to remove one or more tags from.

    *)
}
type nonrec unit_ = string
type nonrec exception_message = string
type nonrec too_many_tags_exception = {
  1. resource_name : amazon_resource_name option;
    (*

    The name of the resource with too many tags.

    *)
  2. message : exception_message option;
}

The number of the provided tags is beyond the limit, or the number of total tags you are trying to attach to the specified resource exceeds the limit.

type nonrec title = string
type nonrec tags_already_exist_exception = {
  1. message : exception_message option;
}

Tags are already registered for the specified application ARN.

type nonrec tag_value = string
type nonrec tag_resource_response = unit
type nonrec tag = {
  1. value : tag_value;
    (*

    The optional part of a key-value pair that defines a tag. The maximum length of a tag value is 256 characters. The minimum length is 0 characters. If you don't want an application to have a specific tag value, don't specify a value for this parameter.

    *)
  2. key : tag_key;
    (*

    One part of a key-value pair that defines a tag. The maximum length of a tag key is 128 characters. The minimum length is 1 character.

    *)
}

An object that defines the tags associated with an application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage resources in different ways, such as by purpose, owner, environment, or other criteria.

Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for a more specific tag value. A tag value acts as a descriptor within a tag key. A tag key can contain as many as 128 characters. A tag value can contain as many as 256 characters. The characters can be Unicode letters, digits, white space, or one of the following symbols: _ . : / = + -. The following additional restrictions apply to tags:

  • Tag keys and values are case sensitive.
  • For each associated resource, each tag key must be unique and it can have only one value.
  • The aws: prefix is reserved for use by Amazon Web Services; you can’t use it in any tag keys or values that you define. In addition, you can't edit or remove tag keys or values that use this prefix.
type nonrec tag_list = tag list
type nonrec tag_resource_request = {
  1. tags : tag_list;
    (*

    A list of tags that to add to the application. A tag consists of a required tag key (Key) and an associated tag value (Value). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

    *)
  2. resource_ar_n : amazon_resource_name;
    (*

    The Amazon Resource Name (ARN) of the application that you want to add one or more tags to.

    *)
}
type nonrec status =
  1. | RECOVERING
  2. | RECURRING
  3. | PENDING
  4. | RESOLVED
  5. | IGNORE
type nonrec states_status = string
type nonrec states_input = string
type nonrec states_execution_arn = string
type nonrec states_arn = string
type nonrec start_time = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec source_type = string
type nonrec source_ar_n = string
type nonrec short_name = string
type nonrec severity_level =
  1. | High
  2. | Medium
  3. | Low
  4. | Informative
type nonrec s3_event_name = string
type nonrec resource_type = string
type nonrec resolution_method =
  1. | UNRESOLVED
  2. | AUTOMATIC
  3. | MANUAL
type nonrec remove_workload_response = unit
type nonrec remove_workload_request = {
  1. workload_id : workload_id;
    (*

    The ID of the workload.

    *)
  2. component_name : component_name;
    (*

    The name of the component.

    *)
  3. resource_group_name : resource_group_name;
    (*

    The name of the resource group.

    *)
}
type nonrec observation_id = string
type nonrec end_time = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec log_group = string
type nonrec line_time = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec log_text = string
type nonrec log_filter =
  1. | INFO
  2. | WARN
  3. | ERROR
type nonrec metric_namespace = string
type nonrec metric_name = string
type nonrec cloud_watch_event_id = string
type nonrec cloud_watch_event_source =
  1. | RDS
  2. | HEALTH
  3. | CODE_DEPLOY
  4. | EC2
type nonrec cloud_watch_event_detail_type = string
type nonrec health_event_arn = string
type nonrec health_service = string
type nonrec health_event_type_code = string
type nonrec health_event_type_category = string
type nonrec health_event_description = string
type nonrec code_deploy_deployment_id = string
type nonrec code_deploy_deployment_group = string
type nonrec code_deploy_state = string
type nonrec code_deploy_application = string
type nonrec code_deploy_instance_group_id = string
type nonrec ec2_state = string
type nonrec rds_event_categories = string
type nonrec rds_event_message = string
type nonrec ebs_event = string
type nonrec ebs_result = string
type nonrec ebs_cause = string
type nonrec ebs_request_id = string
type nonrec observation = {
  1. x_ray_node_type : x_ray_node_type option;
    (*

    The type of the X-Ray node.

    *)
  2. x_ray_node_name : x_ray_node_name option;
    (*

    The name of the X-Ray node.

    *)
  3. x_ray_request_average_latency : x_ray_request_average_latency option;
    (*

    The X-Ray node request average latency for this node.

    *)
  4. x_ray_request_count : x_ray_request_count option;
    (*

    The X-Ray request count for this node.

    *)
  5. x_ray_error_percent : x_ray_error_percent option;
    (*

    The X-Ray request error percentage for this node.

    *)
  6. x_ray_throttle_percent : x_ray_throttle_percent option;
    (*

    The X-Ray request throttle percentage for this node.

    *)
  7. x_ray_fault_percent : x_ray_fault_percent option;
    (*

    The X-Ray request fault percentage for this node.

    *)
  8. ebs_request_id : ebs_request_id option;
    (*

    The request ID of an EBS CloudWatch event.

    *)
  9. ebs_cause : ebs_cause option;
    (*

    The cause of an EBS CloudWatch event.

    *)
  10. ebs_result : ebs_result option;
    (*

    The result of an EBS CloudWatch event, such as failed or succeeded.

    *)
  11. ebs_event : ebs_event option;
    (*

    The type of EBS CloudWatch event, such as createVolume, deleteVolume or attachVolume.

    *)
  12. states_input : states_input option;
    (*

    The input to the step function-based observation.

    *)
  13. states_status : states_status option;
    (*

    The status of the step function-related observation.

    *)
  14. states_arn : states_arn option;
    (*

    The Amazon Resource Name (ARN) of the step function-based observation.

    *)
  15. states_execution_arn : states_execution_arn option;
    (*

    The Amazon Resource Name (ARN) of the step function execution-based observation.

    *)
  16. s3_event_name : s3_event_name option;
    (*

    The name of the S3 CloudWatch Event-based observation.

    *)
  17. rds_event_message : rds_event_message option;
    (*

    The message of an RDS event.

    *)
  18. rds_event_categories : rds_event_categories option;
    (*

    The category of an RDS event.

    *)
  19. ec2_state : ec2_state option;
    (*

    The state of the instance, such as STOPPING or TERMINATING.

    *)
  20. code_deploy_instance_group_id : code_deploy_instance_group_id option;
    (*

    The instance group to which the CodeDeploy instance belongs.

    *)
  21. code_deploy_application : code_deploy_application option;
    (*

    The CodeDeploy application to which the deployment belongs.

    *)
  22. code_deploy_state : code_deploy_state option;
    (*

    The status of the CodeDeploy deployment, for example SUCCESS or FAILURE.

    *)
  23. code_deploy_deployment_group : code_deploy_deployment_group option;
    (*

    The deployment group to which the CodeDeploy deployment belongs.

    *)
  24. code_deploy_deployment_id : code_deploy_deployment_id option;
    (*

    The deployment ID of the CodeDeploy-based observation related to the detected problem.

    *)
  25. health_event_description : health_event_description option;
    (*

    The description of the Health event provided by the service, such as Amazon EC2.

    *)
  26. health_event_type_category : health_event_type_category option;
    (*

    The category of the Health event, such as issue.

    *)
  27. health_event_type_code : health_event_type_code option;
    (*

    The type of the Health event, for example, AWS_EC2_POWER_CONNECTIVITY_ISSUE.

    *)
  28. health_service : health_service option;
    (*

    The service to which the Health Event belongs, such as EC2.

    *)
  29. health_event_arn : health_event_arn option;
    (*

    The Amazon Resource Name (ARN) of the Health Event-based observation.

    *)
  30. cloud_watch_event_detail_type : cloud_watch_event_detail_type option;
    (*

    The detail type of the CloudWatch Event-based observation, for example, EC2 Instance State-change Notification.

    *)
  31. cloud_watch_event_source : cloud_watch_event_source option;
    (*

    The source of the CloudWatch Event.

    *)
  32. cloud_watch_event_id : cloud_watch_event_id option;
    (*

    The ID of the CloudWatch Event-based observation related to the detected problem.

    *)
  33. value : value option;
    (*

    The value of the source observation metric.

    *)
  34. unit_ : unit_ option;
    (*

    The unit of the source observation metric.

    *)
  35. metric_name : metric_name option;
    (*

    The name of the observation metric.

    *)
  36. metric_namespace : metric_namespace option;
    (*

    The namespace of the observation metric.

    *)
  37. log_filter : log_filter option;
    (*

    The log filter of the observation.

    *)
  38. log_text : log_text option;
    (*

    The log text of the observation.

    *)
  39. line_time : line_time option;
    (*

    The timestamp in the CloudWatch Logs that specifies when the matched line occurred.

    *)
  40. log_group : log_group option;
    (*

    The log group name.

    *)
  41. source_ar_n : source_ar_n option;
    (*

    The source resource ARN of the observation.

    *)
  42. source_type : source_type option;
    (*

    The source type of the observation.

    *)
  43. end_time : end_time option;
    (*

    The time when the observation ended, in epoch seconds.

    *)
  44. start_time : start_time option;
    (*

    The time when the observation was first detected, in epoch seconds.

    *)
  45. id : observation_id option;
    (*

    The ID of the observation type.

    *)
}

Describes an anomaly or error with the application.

type nonrec observation_list = observation list

Describes observations related to the problem.

type nonrec recurring_count = Smaws_Lib.CoreTypes.Int64.t
type nonrec recommendation_type =
  1. | ALL
  2. | WORKLOAD_ONLY
  3. | INFRA_ONLY
type nonrec insights = string
type nonrec affected_resource = string
type nonrec feedback_value =
  1. | NOT_USEFUL
  2. | USEFUL
  3. | NOT_SPECIFIED
type nonrec feedback_key =
  1. | INSIGHTS_FEEDBACK
type nonrec feedback = (feedback_key * feedback_value) list
type nonrec last_recurrence_time = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec problem = {
  1. resolution_method : resolution_method option;
    (*

    Specifies how the problem was resolved. If the value is AUTOMATIC, the system resolved the problem. If the value is MANUAL, the user resolved the problem. If the value is UNRESOLVED, then the problem is not resolved.

    *)
  2. visibility : visibility option;
    (*

    Specifies whether or not you can view the problem. Updates to ignored problems do not generate notifications.

    *)
  3. last_recurrence_time : last_recurrence_time option;
    (*

    The last time that the problem reoccurred after its last resolution.

    *)
  4. recurring_count : recurring_count option;
    (*

    The number of times that the same problem reoccurred after the first time it was resolved.

    *)
  5. feedback : feedback option;
    (*

    Feedback provided by the user about the problem.

    *)
  6. resource_group_name : resource_group_name option;
    (*

    The name of the resource group affected by the problem.

    *)
  7. account_id : account_id option;
    (*

    The Amazon Web Services account ID for the owner of the resource group affected by the problem.

    *)
  8. severity_level : severity_level option;
    (*

    A measure of the level of impact of the problem.

    *)
  9. end_time : end_time option;
    (*

    The time when the problem ended, in epoch seconds.

    *)
  10. start_time : start_time option;
    (*

    The time when the problem started, in epoch seconds.

    *)
  11. affected_resource : affected_resource option;
    (*

    The resource affected by the problem.

    *)
  12. status : status option;
    (*

    The status of the problem.

    *)
  13. insights : insights option;
    (*

    A detailed analysis of the problem using machine learning.

    *)
  14. short_name : short_name option;
    (*

    The short name of the problem associated with the SNS notification.

    *)
  15. title : title option;
    (*

    The name of the problem.

    *)
  16. id : problem_id option;
    (*

    The ID of the problem.

    *)
}

Describes a problem that is detected by correlating observations.

type nonrec problem_list = problem list
type nonrec pagination_token = string
type nonrec os_type =
  1. | LINUX
  2. | WINDOWS
type nonrec max_entities = int
type nonrec log_pattern_set_list = log_pattern_set_name list
type nonrec log_pattern_list = log_pattern list
type nonrec list_workloads_response = {
  1. next_token : pagination_token option;
    (*

    The token to request the next page of results.

    *)
  2. workload_list : workload_list option;
    (*

    The list of workloads.

    *)
}
type nonrec list_workloads_request = {
  1. account_id : account_id option;
    (*

    The Amazon Web Services account ID of the owner of the workload.

    *)
  2. next_token : pagination_token option;
    (*

    The token to request the next page of results.

    *)
  3. max_results : max_entities option;
    (*

    The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.

    *)
  4. component_name : component_name;
    (*

    The name of the component.

    *)
  5. resource_group_name : resource_group_name;
    (*

    The name of the resource group.

    *)
}
type nonrec list_tags_for_resource_response = {
  1. tags : tag_list option;
    (*

    An array that lists all the tags that are associated with the application. Each tag consists of a required tag key (Key) and an associated tag value (Value).

    *)
}
type nonrec list_tags_for_resource_request = {
  1. resource_ar_n : amazon_resource_name;
    (*

    The Amazon Resource Name (ARN) of the application that you want to retrieve tag information for.

    *)
}
type nonrec list_problems_response = {
  1. account_id : account_id option;
    (*

    The Amazon Web Services account ID for the resource group owner.

    *)
  2. resource_group_name : resource_group_name option;
    (*

    The name of the resource group.

    *)
  3. next_token : pagination_token option;
    (*

    The token used to retrieve the next page of results. This value is null when there are no more results to return.

    *)
  4. problem_list : problem_list option;
    (*

    The list of problems.

    *)
}
type nonrec list_problems_request = {
  1. visibility : visibility option;
    (*

    Specifies whether or not you can view the problem. If not specified, visible and ignored problems are returned.

    *)
  2. component_name : component_name option;
    (*

    The name of the component.

    *)
  3. next_token : pagination_token option;
    (*

    The token to request the next page of results.

    *)
  4. max_results : max_entities option;
    (*

    The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.

    *)
  5. end_time : end_time option;
    (*

    The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days are returned.

    *)
  6. start_time : start_time option;
    (*

    The time when the problem was detected, in epoch seconds. If you don't specify a time frame for the request, problems within the past seven days are returned.

    *)
  7. resource_group_name : resource_group_name option;
    (*

    The name of the resource group.

    *)
  8. account_id : account_id option;
    (*

    The Amazon Web Services account ID for the resource group owner.

    *)
}
type nonrec list_log_patterns_response = {
  1. next_token : pagination_token option;
    (*

    The token used to retrieve the next page of results. This value is null when there are no more results to return.

    *)
  2. log_patterns : log_pattern_list option;
    (*

    The list of log patterns.

    *)
  3. account_id : account_id option;
    (*

    The Amazon Web Services account ID for the resource group owner.

    *)
  4. resource_group_name : resource_group_name option;
    (*

    The name of the resource group.

    *)
}
type nonrec list_log_patterns_request = {
  1. account_id : account_id option;
    (*

    The Amazon Web Services account ID for the resource group owner.

    *)
  2. next_token : pagination_token option;
    (*

    The token to request the next page of results.

    *)
  3. max_results : max_entities option;
    (*

    The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.

    *)
  4. pattern_set_name : log_pattern_set_name option;
    (*

    The name of the log pattern set.

    *)
  5. resource_group_name : resource_group_name;
    (*

    The name of the resource group.

    *)
}
type nonrec list_log_pattern_sets_response = {
  1. next_token : pagination_token option;
    (*

    The token used to retrieve the next page of results. This value is null when there are no more results to return.

    *)
  2. log_pattern_sets : log_pattern_set_list option;
    (*

    The list of log pattern sets.

    *)
  3. account_id : account_id option;
    (*

    The Amazon Web Services account ID for the resource group owner.

    *)
  4. resource_group_name : resource_group_name option;
    (*

    The name of the resource group.

    *)
}
type nonrec list_log_pattern_sets_request = {
  1. account_id : account_id option;
    (*

    The Amazon Web Services account ID for the resource group owner.

    *)
  2. next_token : pagination_token option;
    (*

    The token to request the next page of results.

    *)
  3. max_results : max_entities option;
    (*

    The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.

    *)
  4. resource_group_name : resource_group_name;
    (*

    The name of the resource group.

    *)
}
type nonrec configuration_event_monitored_resource_ar_n = string
type nonrec configuration_event_status =
  1. | ERROR
  2. | WARN
  3. | INFO
type nonrec configuration_event_resource_type =
  1. | SSM_ASSOCIATION
  2. | CLOUDFORMATION
  3. | CLOUDWATCH_LOG
  4. | CLOUDWATCH_ALARM
type nonrec configuration_event_time = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec configuration_event_detail = string
type nonrec configuration_event_resource_name = string
type nonrec configuration_event = {
  1. event_resource_name : configuration_event_resource_name option;
    (*

    The name of the resource Application Insights attempted to configure.

    *)
  2. event_detail : configuration_event_detail option;
    (*

    The details of the event in plain text.

    *)
  3. event_time : configuration_event_time option;
    (*

    The timestamp of the event.

    *)
  4. event_resource_type : configuration_event_resource_type option;
    (*

    The resource type that Application Insights attempted to configure, for example, CLOUDWATCH_ALARM.

    *)
  5. event_status : configuration_event_status option;
    (*

    The status of the configuration update event. Possible values include INFO, WARN, and ERROR.

    *)
  6. monitored_resource_ar_n : configuration_event_monitored_resource_ar_n option;
    (*

    The resource monitored by Application Insights.

    *)
  7. account_id : account_id option;
    (*

    The Amazon Web Services account ID for the owner of the application to which the configuration event belongs.

    *)
  8. resource_group_name : resource_group_name option;
    (*

    The name of the resource group of the application to which the configuration event belongs.

    *)
}

The event information.

type nonrec configuration_event_list = configuration_event list
type nonrec list_configuration_history_response = {
  1. next_token : pagination_token option;
    (*

    The NextToken value to include in a future ListConfigurationHistory request. When the results of a ListConfigurationHistory request exceed MaxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

    *)
  2. event_list : configuration_event_list option;
    (*

    The list of configuration events and their corresponding details.

    *)
}
type nonrec list_configuration_history_request = {
  1. account_id : account_id option;
    (*

    The Amazon Web Services account ID for the resource group owner.

    *)
  2. next_token : pagination_token option;
    (*

    The NextToken value returned from a previous paginated ListConfigurationHistory request where MaxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the NextToken value. This value is null when there are no more results to return.

    *)
  3. max_results : max_entities option;
    (*

    The maximum number of results returned by ListConfigurationHistory in paginated output. When this parameter is used, ListConfigurationHistory returns only MaxResults in a single page along with a NextToken response element. The remaining results of the initial request can be seen by sending another ListConfigurationHistory request with the returned NextToken value. If this parameter is not used, then ListConfigurationHistory returns all results.

    *)
  4. event_status : configuration_event_status option;
    (*

    The status of the configuration update event. Possible values include INFO, WARN, and ERROR.

    *)
  5. end_time : end_time option;
    (*

    The end time of the event.

    *)
  6. start_time : start_time option;
    (*

    The start time of the event.

    *)
  7. resource_group_name : resource_group_name option;
    (*

    Resource group to which the application belongs.

    *)
}
type nonrec detected_workload = (tier * workload_meta_data) list
type nonrec application_component = {
  1. detected_workload : detected_workload option;
    (*

    Workloads detected in the application component.

    *)
  2. monitor : monitor option;
    (*

    Indicates whether the application component is monitored.

    *)
  3. tier : tier option;
    (*

    The stack tier of the application component.

    *)
  4. os_type : os_type option;
    (*

    The operating system of the component.

    *)
  5. resource_type : resource_type option;
    (*

    The resource type. Supported resource types include EC2 instances, Auto Scaling group, Classic ELB, Application ELB, and SQS Queue.

    *)
  6. component_remarks : remarks option;
    (*

    If logging is supported for the resource type, indicates whether the component has configured logs to be monitored.

    *)
  7. component_name : component_name option;
    (*

    The name of the component.

    *)
}

Describes a standalone resource or similarly grouped resources that the application is made up of.

type nonrec application_component_list = application_component list
type nonrec list_components_response = {
  1. next_token : pagination_token option;
    (*

    The token to request the next page of results.

    *)
  2. application_component_list : application_component_list option;
    (*

    The list of application components.

    *)
}
type nonrec list_components_request = {
  1. account_id : account_id option;
    (*

    The Amazon Web Services account ID for the resource group owner.

    *)
  2. next_token : pagination_token option;
    (*

    The token to request the next page of results.

    *)
  3. max_results : max_entities option;
    (*

    The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.

    *)
  4. resource_group_name : resource_group_name;
    (*

    The name of the resource group.

    *)
}
type nonrec application_info_list = application_info list
type nonrec list_applications_response = {
  1. next_token : pagination_token option;
    (*

    The token used to retrieve the next page of results. This value is null when there are no more results to return.

    *)
  2. application_info_list : application_info_list option;
    (*

    The list of applications.

    *)
}
type nonrec list_applications_request = {
  1. account_id : account_id option;
    (*

    The Amazon Web Services account ID for the resource group owner.

    *)
  2. next_token : pagination_token option;
    (*

    The token to request the next page of results.

    *)
  3. max_results : max_entities option;
    (*

    The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.

    *)
}
type nonrec grouping_type =
  1. | ACCOUNT_BASED
type nonrec describe_workload_response = {
  1. workload_configuration : workload_configuration option;
    (*

    The configuration settings of the workload. The value is the escaped JSON of the configuration.

    *)
  2. workload_remarks : remarks option;
    (*

    If logging is supported for the resource type, shows whether the component has configured logs to be monitored.

    *)
  3. workload_id : workload_id option;
    (*

    The ID of the workload.

    *)
}
type nonrec describe_workload_request = {
  1. account_id : account_id option;
    (*

    The Amazon Web Services account ID for the workload owner.

    *)
  2. workload_id : workload_id;
    (*

    The ID of the workload.

    *)
  3. component_name : component_name;
    (*

    The name of the component.

    *)
  4. resource_group_name : resource_group_name;
    (*

    The name of the resource group.

    *)
}
type nonrec describe_problem_observations_response = {
  1. related_observations : related_observations option;
    (*

    Observations related to the problem.

    *)
}
type nonrec describe_problem_observations_request = {
  1. account_id : account_id option;
    (*

    The Amazon Web Services account ID for the resource group owner.

    *)
  2. problem_id : problem_id;
    (*

    The ID of the problem.

    *)
}
type nonrec describe_problem_response = {
  1. sns_notification_arn : sns_notification_arn option;
    (*

    The SNS notification topic ARN of the problem.

    *)
  2. problem : problem option;
    (*

    Information about the problem.

    *)
}
type nonrec describe_problem_request = {
  1. account_id : account_id option;
    (*

    The Amazon Web Services account ID for the owner of the resource group affected by the problem.

    *)
  2. problem_id : problem_id;
    (*

    The ID of the problem.

    *)
}
type nonrec describe_observation_response = {
  1. observation : observation option;
    (*

    Information about the observation.

    *)
}
type nonrec describe_observation_request = {
  1. account_id : account_id option;
    (*

    The Amazon Web Services account ID for the resource group owner.

    *)
  2. observation_id : observation_id;
    (*

    The ID of the observation.

    *)
}
type nonrec describe_log_pattern_response = {
  1. log_pattern : log_pattern option;
    (*

    The successfully created log pattern.

    *)
  2. account_id : account_id option;
    (*

    The Amazon Web Services account ID for the resource group owner.

    *)
  3. resource_group_name : resource_group_name option;
    (*

    The name of the resource group.

    *)
}
type nonrec describe_log_pattern_request = {
  1. account_id : account_id option;
    (*

    The Amazon Web Services account ID for the resource group owner.

    *)
  2. pattern_name : log_pattern_name;
    (*

    The name of the log pattern.

    *)
  3. pattern_set_name : log_pattern_set_name;
    (*

    The name of the log pattern set.

    *)
  4. resource_group_name : resource_group_name;
    (*

    The name of the resource group.

    *)
}
type nonrec describe_component_configuration_recommendation_response = {
  1. component_configuration : component_configuration option;
    (*

    The recommended configuration settings of the component. The value is the escaped JSON of the configuration.

    *)
}
type nonrec describe_component_configuration_recommendation_request = {
  1. recommendation_type : recommendation_type option;
    (*

    The recommended configuration type.

    *)
  2. workload_name : workload_name option;
    (*

    The name of the workload. The name of the workload is required when the tier of the application component is SAP_ASE_SINGLE_NODE or SAP_ASE_HIGH_AVAILABILITY.

    *)
  3. tier : tier;
    (*

    The tier of the application component.

    *)
  4. component_name : component_name;
    (*

    The name of the component.

    *)
  5. resource_group_name : resource_group_name;
    (*

    The name of the resource group.

    *)
}
type nonrec describe_component_configuration_response = {
  1. component_configuration : component_configuration option;
    (*

    The configuration settings of the component. The value is the escaped JSON of the configuration.

    *)
  2. tier : tier option;
    (*

    The tier of the application component. Supported tiers include DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER, and DEFAULT

    *)
  3. monitor : monitor option;
    (*

    Indicates whether the application component is monitored.

    *)
}
type nonrec describe_component_configuration_request = {
  1. account_id : account_id option;
    (*

    The Amazon Web Services account ID for the resource group owner.

    *)
  2. component_name : component_name;
    (*

    The name of the component.

    *)
  3. resource_group_name : resource_group_name;
    (*

    The name of the resource group.

    *)
}
type nonrec describe_component_response = {
  1. resource_list : resource_list option;
    (*

    The list of resource ARNs that belong to the component.

    *)
  2. application_component : application_component option;
}
type nonrec describe_component_request = {
  1. account_id : account_id option;
    (*

    The Amazon Web Services account ID for the resource group owner.

    *)
  2. component_name : component_name;
    (*

    The name of the component.

    *)
  3. resource_group_name : resource_group_name;
    (*

    The name of the resource group.

    *)
}
type nonrec describe_application_response = {
  1. application_info : application_info option;
    (*

    Information about the application.

    *)
}
type nonrec describe_application_request = {
  1. account_id : account_id option;
    (*

    The Amazon Web Services account ID for the resource group owner.

    *)
  2. resource_group_name : resource_group_name;
    (*

    The name of the resource group.

    *)
}
type nonrec bad_request_exception = {
  1. message : error_msg option;
}

The request is not understood by the server.

type nonrec delete_log_pattern_response = unit
type nonrec delete_log_pattern_request = {
  1. pattern_name : log_pattern_name;
    (*

    The name of the log pattern.

    *)
  2. pattern_set_name : log_pattern_set_name;
    (*

    The name of the log pattern set.

    *)
  3. resource_group_name : resource_group_name;
    (*

    The name of the resource group.

    *)
}
type nonrec delete_component_response = unit
type nonrec delete_component_request = {
  1. component_name : custom_component_name;
    (*

    The name of the component.

    *)
  2. resource_group_name : resource_group_name;
    (*

    The name of the resource group.

    *)
}
type nonrec delete_application_response = unit
type nonrec delete_application_request = {
  1. resource_group_name : resource_group_name;
    (*

    The name of the resource group.

    *)
}
type nonrec create_log_pattern_response = {
  1. resource_group_name : resource_group_name option;
    (*

    The name of the resource group.

    *)
  2. log_pattern : log_pattern option;
    (*

    The successfully created log pattern.

    *)
}
type nonrec create_log_pattern_request = {
  1. rank : log_pattern_rank;
    (*

    Rank of the log pattern. Must be a value between 1 and 1,000,000. The patterns are sorted by rank, so we recommend that you set your highest priority patterns with the lowest rank. A pattern of rank 1 will be the first to get matched to a log line. A pattern of rank 1,000,000 will be last to get matched. When you configure custom log patterns from the console, a Low severity pattern translates to a 750,000 rank. A Medium severity pattern translates to a 500,000 rank. And a High severity pattern translates to a 250,000 rank. Rank values less than 1 or greater than 1,000,000 are reserved for Amazon Web Services provided patterns.

    *)
  2. pattern : log_pattern_regex;
    (*

    The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.

    *)
  3. pattern_name : log_pattern_name;
    (*

    The name of the log pattern.

    *)
  4. pattern_set_name : log_pattern_set_name;
    (*

    The name of the log pattern set.

    *)
  5. resource_group_name : resource_group_name;
    (*

    The name of the resource group.

    *)
}
type nonrec create_component_response = unit
type nonrec create_component_request = {
  1. resource_list : resource_list;
    (*

    The list of resource ARNs that belong to the component.

    *)
  2. component_name : custom_component_name;
    (*

    The name of the component.

    *)
  3. resource_group_name : resource_group_name;
    (*

    The name of the resource group.

    *)
}
type nonrec access_denied_exception = {
  1. message : error_msg option;
}

User does not have permissions to perform this action.

type nonrec create_application_response = {
  1. application_info : application_info option;
    (*

    Information about the application.

    *)
}
type nonrec auto_create = bool
type nonrec create_application_request = {
  1. attach_missing_permission : attach_missing_permission option;
    (*

    If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.

    *)
  2. grouping_type : grouping_type option;
    (*

    Application Insights can create applications based on a resource group or on an account. To create an account-based application using all of the resources in the account, set this parameter to ACCOUNT_BASED.

    *)
  3. auto_create : auto_create option;
    (*

    Configures all of the resources in the resource group by applying the recommended configurations.

    *)
  4. auto_config_enabled : auto_config_enabled option;
    (*

    Indicates whether Application Insights automatically configures unmonitored resources in the resource group.

    *)
  5. tags : tag_list option;
    (*

    List of tags to add to the application. tag key (Key) and an associated tag value (Value). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

    *)
  6. sns_notification_arn : sns_notification_arn option;
    (*

    The SNS notification topic ARN.

    *)
  7. ops_item_sns_topic_arn : ops_item_sns_topic_arn option;
    (*

    The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.

    *)
  8. cwe_monitor_enabled : cwe_monitor_enabled option;
    (*

    Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated, failed deployment, and others.

    *)
  9. ops_center_enabled : ops_center_enabled option;
    (*

    When set to true, creates opsItems for any problems detected on an application.

    *)
  10. resource_group_name : resource_group_name option;
    (*

    The name of the resource group.

    *)
}
type nonrec add_workload_response = {
  1. workload_configuration : workload_configuration option;
    (*

    The configuration settings of the workload. The value is the escaped JSON of the configuration.

    *)
  2. workload_id : workload_id option;
    (*

    The ID of the workload.

    *)
}
type nonrec add_workload_request = {
  1. workload_configuration : workload_configuration;
    (*

    The configuration settings of the workload. The value is the escaped JSON of the configuration.

    *)
  2. component_name : component_name;
    (*

    The name of the component.

    *)
  3. resource_group_name : resource_group_name;
    (*

    The name of the resource group.

    *)
}