Module Smaws_Client_ApplicationDiscoveryService.Types

type nonrec order_string =
  1. | DESC
  2. | ASC
type nonrec warning_text = string
type nonrec warning_code = int
type nonrec user_preferred_region = string
type nonrec usage_metric_percentage_adjust = float
type nonrec usage_metric_basis_name = string
type nonrec usage_metric_basis = {
  1. percentage_adjust : usage_metric_percentage_adjust option;
    (*

    Specifies the percentage of the specified utilization metric that is used by the recommendations.

    *)
  2. name : usage_metric_basis_name option;
    (*

    A utilization metric that is used by the recommendations.

    *)
}

Specifies the performance metrics to use for the server that is used for recommendations.

type nonrec update_application_response = unit
type nonrec application_id = string
type nonrec application_name = string
type nonrec application_description = string
type nonrec application_wave = string
type nonrec update_application_request = {
  1. wave : application_wave option;
    (*

    The new migration wave of the application that you want to update.

    *)
  2. description : application_description option;
    (*

    New description of the application to be updated.

    *)
  3. name : application_name option;
    (*

    New name of the application to be updated.

    *)
  4. configuration_id : application_id;
    (*

    Configuration ID of the application to be updated.

    *)
}
type nonrec message = string
type nonrec server_internal_error_exception = {
  1. message : message option;
}

The server experienced an internal error. Try again.

type nonrec invalid_parameter_value_exception = {
  1. message : message option;
}

The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.

type nonrec invalid_parameter_exception = {
  1. message : message option;
}

One or more parameters are not valid. Verify the parameters and try again.

type nonrec home_region_not_set_exception = {
  1. message : message option;
}

The home Region is not set. Set the home Region to continue.

type nonrec authorization_error_exception = {
  1. message : message option;
}

The user does not have permission to perform the action. Check the IAM policy associated with this user.

type nonrec uui_d = string
type nonrec import_task_identifier = string
type nonrec to_delete_identifier_list = import_task_identifier list
type nonrec time_stamp = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec term_length =
  1. | THREE_YEAR
  2. | ONE_YEAR
type nonrec tenancy =
  1. | SHARED
  2. | DEDICATED
type nonrec tag_value = string
type nonrec tag_key = string
type nonrec tag = {
  1. value : tag_value;
    (*

    A value for a tag key on which to filter.

    *)
  2. key : tag_key;
    (*

    The type of tag on which to filter.

    *)
}

Metadata that help you categorize IT assets.

Do not store sensitive information (like personal data) in tags.

type nonrec tag_set = tag list
type nonrec filter_name = string
type nonrec filter_value = string
type nonrec filter_values = filter_value list
type nonrec tag_filter = {
  1. values : filter_values;
    (*

    Values for the tag filter.

    *)
  2. name : filter_name;
    (*

    A name of the tag filter.

    *)
}

The tag filter. Valid names are: tagKey, tagValue, configurationId.

type nonrec tag_filters = tag_filter list
type nonrec string_max255 = string
type nonrec string_ = string
type nonrec boolean_ = bool
type nonrec agent_configuration_status = {
  1. description : string_ option;
    (*

    A description of the operation performed.

    *)
  2. operation_succeeded : boolean_ option;
    (*

    Information about the status of the StartDataCollection and StopDataCollection operations. The system has recorded the data collection operation. The agent receives this command the next time it polls for a new command.

    *)
  3. agent_id : string_ option;
    (*

    The agent ID.

    *)
}

Information about agents that were instructed to start collecting data. Information includes the agent ID, a description of the operation, and whether the agent configuration was updated.

type nonrec agent_configuration_status_list = agent_configuration_status list
type nonrec stop_data_collection_by_agent_ids_response = {
  1. agents_configuration_status : agent_configuration_status_list option;
    (*

    Information about the agents that were instructed to stop collecting data. Information includes the agent ID, a description of the operation performed, and whether the agent configuration was updated.

    *)
}
type nonrec agent_id = string
type nonrec agent_ids = agent_id list
type nonrec stop_data_collection_by_agent_ids_request = {
  1. agent_ids : agent_ids;
    (*

    The IDs of the agents from which to stop collecting data.

    *)
}
type nonrec stop_continuous_export_response = {
  1. stop_time : time_stamp option;
    (*

    Timestamp that represents when this continuous export was stopped.

    *)
  2. start_time : time_stamp option;
    (*

    Timestamp that represents when this continuous export started collecting data.

    *)
}
type nonrec configurations_export_id = string
type nonrec stop_continuous_export_request = {
  1. export_id : configurations_export_id;
    (*

    The unique ID assigned to this export.

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

The specified configuration ID was not located. Verify the configuration ID and try again.

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

This issue occurs when the same clientRequestToken is used with the StartImportTask action, but with different parameters. For example, you use the same request token but have two different import URLs, you can encounter this issue. If the import tasks are meant to be different, use a different clientRequestToken, and try again.

type nonrec operation_not_permitted_exception = {
  1. message : message option;
}

This operation is not permitted.

type nonrec client_request_token = string
type nonrec import_task_name = string
type nonrec import_ur_l = string
type nonrec import_status =
  1. | INTERNAL_ERROR
  2. | DELETE_FAILED_LIMIT_EXCEEDED
  3. | DELETE_FAILED
  4. | DELETE_COMPLETE
  5. | DELETE_IN_PROGRESS
  6. | IMPORT_FAILED_UNSUPPORTED_FILE_TYPE
  7. | IMPORT_FAILED_RECORD_LIMIT_EXCEEDED
  8. | IMPORT_FAILED_SERVER_LIMIT_EXCEEDED
  9. | IMPORT_FAILED
  10. | IMPORT_COMPLETE_WITH_ERRORS
  11. | IMPORT_COMPLETE
  12. | IMPORT_IN_PROGRESS
type nonrec file_classification =
  1. | IMPORT_TEMPLATE
  2. | VMWARE_NSX_EXPORT
  3. | RVTOOLS_EXPORT
  4. | MODELIZEIT_EXPORT
type nonrec integer = int
type nonrec s3_presigned_url = string
type nonrec import_task = {
  1. errors_and_failed_entries_zip : s3_presigned_url option;
    (*

    A link to a compressed archive folder (in the ZIP format) that contains an error log and a file of failed records. You can use these two files to quickly identify records that failed, why they failed, and correct those records. Afterward, you can upload the corrected file to your Amazon S3 bucket and create another import task request.

    This field also includes authorization information so you can confirm the authenticity of the compressed archive before you download it.

    If some records failed to be imported we recommend that you correct the records in the failed entries file and then imports that failed entries file. This prevents you from having to correct and update the larger original file and attempt importing it again.

    *)
  2. application_import_failure : integer option;
    (*

    The total number of application records in the import file that failed to be imported.

    *)
  3. application_import_success : integer option;
    (*

    The total number of application records in the import file that were successfully imported.

    *)
  4. server_import_failure : integer option;
    (*

    The total number of server records in the import file that failed to be imported.

    *)
  5. server_import_success : integer option;
    (*

    The total number of server records in the import file that were successfully imported.

    *)
  6. file_classification : file_classification option;
    (*

    The type of file detected by the import task.

    *)
  7. import_deleted_time : time_stamp option;
    (*

    The time that the import task request was deleted, presented in the Unix time stamp format.

    *)
  8. import_completion_time : time_stamp option;
    (*

    The time that the import task request finished, presented in the Unix time stamp format.

    *)
  9. import_request_time : time_stamp option;
    (*

    The time that the import task request was made, presented in the Unix time stamp format.

    *)
  10. status : import_status option;
    (*

    The status of the import task. An import can have the status of IMPORT_COMPLETE and still have some records fail to import from the overall request. More information can be found in the downloadable archive defined in the errorsAndFailedEntriesZip field, or in the Migration Hub management console.

    *)
  11. import_url : import_ur_l option;
    (*

    The URL for your import file that you've uploaded to Amazon S3.

    *)
  12. name : import_task_name option;
    (*

    A descriptive name for an import task. You can use this name to filter future requests related to this import task, such as identifying applications and servers that were included in this import task. We recommend that you use a meaningful name for each import task.

    *)
  13. client_request_token : client_request_token option;
    (*

    A unique token used to prevent the same import request from occurring more than once. If you didn't provide a token, a token was automatically generated when the import task request was sent.

    *)
  14. import_task_id : import_task_identifier option;
    (*

    The unique ID for a specific import task. These IDs aren't globally unique, but they are unique within an Amazon Web Services account.

    *)
}

An array of information related to the import task request that includes status information, times, IDs, the Amazon S3 Object URL for the import file, and more.

type nonrec start_import_task_response = {
  1. task : import_task option;
    (*

    An array of information related to the import task request including status information, times, IDs, the Amazon S3 Object URL for the import file, and more.

    *)
}
type nonrec start_import_task_request = {
  1. import_url : import_ur_l;
    (*

    The URL for your import file that you've uploaded to Amazon S3.

    If you're using the Amazon Web Services CLI, this URL is structured as follows: s3://BucketName/ImportFileName.CSV

    *)
  2. name : import_task_name;
    (*

    A descriptive name for this request. You can use this name to filter future requests related to this import task, such as identifying applications and servers that were included in this import task. We recommend that you use a meaningful name for each import task.

    *)
  3. client_request_token : client_request_token option;
    (*

    Optional. A unique token that you can provide to prevent the same import request from occurring more than once. If you don't provide a token, a token is automatically generated.

    Sending more than one StartImportTask request with the same client request token will return information about the original import task with that client request token.

    *)
}
type nonrec start_export_task_response = {
  1. export_id : configurations_export_id option;
    (*

    A unique identifier used to query the status of an export request.

    *)
}
type nonrec export_data_format =
  1. | CSV
type nonrec export_data_formats = export_data_format list
type nonrec condition = string
type nonrec export_filter = {
  1. condition : condition;
    (*

    Supported condition: EQUALS

    *)
  2. values : filter_values;
    (*

    A single agent ID for a Discovery Agent. An agent ID can be found using the DescribeAgents action. Typically an ADS agent ID is in the form o-0123456789abcdef0.

    *)
  3. name : filter_name;
    (*

    A single ExportFilter name. Supported filters: agentIds.

    *)
}

Used to select which agent's data is to be exported. A single agent ID may be selected for export using the StartExportTask action.

type nonrec export_filters = export_filter list
type nonrec export_enabled = bool
type nonrec ec2_instance_type = string
type nonrec excluded_instance_types = ec2_instance_type list
type nonrec purchasing_option =
  1. | NO_UPFRONT
  2. | PARTIAL_UPFRONT
  3. | ALL_UPFRONT
type nonrec offering_class =
  1. | CONVERTIBLE
  2. | STANDARD
type nonrec reserved_instance_options = {
  1. term_length : term_length;
    (*

    The preferred duration of the Reserved Instance term.

    *)
  2. offering_class : offering_class;
    (*

    The flexibility to change the instance types needed for your Reserved Instance.

    *)
  3. purchasing_option : purchasing_option;
    (*

    The payment plan to use for your Reserved Instance.

    *)
}

Used to provide Reserved Instance preferences for the recommendation.

type nonrec ec2_recommendations_export_preferences = {
  1. reserved_instance_options : reserved_instance_options option;
    (*

    The contract type for a reserved instance. If blank, we assume an On-Demand instance is preferred.

    *)
  2. preferred_region : user_preferred_region option;
    (*

    The target Amazon Web Services Region for the recommendations. You can use any of the Region codes available for the chosen service, as listed in Amazon Web Services service endpoints in the Amazon Web Services General Reference.

    *)
  3. excluded_instance_types : excluded_instance_types option;
    (*

    An array of instance types to exclude from recommendations.

    *)
  4. tenancy : tenancy option;
    (*

    The target tenancy to use for your recommended EC2 instances.

    *)
  5. ram_performance_metric_basis : usage_metric_basis option;
    (*

    The recommended EC2 instance type that matches the Memory usage metric of server performance data.

    *)
  6. cpu_performance_metric_basis : usage_metric_basis option;
    (*

    The recommended EC2 instance type that matches the CPU usage metric of server performance data.

    *)
  7. enabled : export_enabled option;
    (*

    If set to true, the export preferences is set to Ec2RecommendationsExportPreferences.

    *)
}

Indicates that the exported data must include EC2 instance type matches for on-premises servers that are discovered through Amazon Web Services Application Discovery Service.

type nonrec export_preferences =
  1. | Ec2RecommendationsPreferences of ec2_recommendations_export_preferences
    (*

    If enabled, exported data includes EC2 instance type matches for on-premises servers discovered through Amazon Web Services Application Discovery Service.

    *)

Indicates the type of data that is being exported. Only one ExportPreferences can be enabled for a StartExportTask action.

type nonrec start_export_task_request = {
  1. preferences : export_preferences option;
    (*

    Indicates the type of data that needs to be exported. Only one ExportPreferences can be enabled at any time.

    *)
  2. end_time : time_stamp option;
    (*

    The end timestamp for exported data from the single Application Discovery Agent selected in the filters. If no value is specified, exported data includes the most recent data collected by the agent.

    *)
  3. start_time : time_stamp option;
    (*

    The start timestamp for exported data from the single Application Discovery Agent selected in the filters. If no value is specified, data is exported starting from the first data collected by the agent.

    *)
  4. filters : export_filters option;
    (*

    If a filter is present, it selects the single agentId of the Application Discovery Agent for which data is exported. The agentId can be found in the results of the DescribeAgents API or CLI. If no filter is present, startTime and endTime are ignored and exported data includes both Amazon Web Services Application Discovery Service Agentless Collector collectors data and summary data from Application Discovery Agent agents.

    *)
  5. export_data_format : export_data_formats option;
    (*

    The file format for the returned export data. Default value is CSV. Note: The GRAPHML option has been deprecated.

    *)
}
type nonrec start_data_collection_by_agent_ids_response = {
  1. agents_configuration_status : agent_configuration_status_list option;
    (*

    Information about agents that were instructed to start collecting data. Information includes the agent ID, a description of the operation performed, and whether the agent configuration was updated.

    *)
}
type nonrec start_data_collection_by_agent_ids_request = {
  1. agent_ids : agent_ids;
    (*

    The IDs of the agents from which to start collecting data. If you send a request to an agent ID that you do not have permission to contact, according to your Amazon Web Services account, the service does not throw an exception. Instead, it returns the error in the Description field. If you send a request to multiple agents and you do not have permission to contact some of those agents, the system does not throw an exception. Instead, the system shows Failed in the Description field.

    *)
}
type nonrec s3_bucket = string
type nonrec data_source =
  1. | AGENT
type nonrec database_name = string
type nonrec schema_storage_config = (database_name * string_) list
type nonrec start_continuous_export_response = {
  1. schema_storage_config : schema_storage_config option;
    (*

    A dictionary which describes how the data is stored.

    • databaseName - the name of the Glue database used to store the schema.
    *)
  2. data_source : data_source option;
    (*

    The type of data collector used to gather this data (currently only offered for AGENT).

    *)
  3. start_time : time_stamp option;
    (*

    The timestamp representing when the continuous export was started.

    *)
  4. s3_bucket : s3_bucket option;
    (*

    The name of the s3 bucket where the export data parquet files are stored.

    *)
  5. export_id : configurations_export_id option;
    (*

    The unique ID assigned to this export.

    *)
}
type nonrec start_continuous_export_request = unit
type nonrec conflict_error_exception = {
  1. message : message option;
}

Conflict error.

type nonrec start_batch_delete_configuration_task_response = {
  1. task_id : uui_d option;
    (*

    The unique identifier associated with the newly started deletion task.

    *)
}
type nonrec deletion_configuration_item_type =
  1. | SERVER
type nonrec configuration_id = string
type nonrec configuration_id_list = configuration_id list
type nonrec start_batch_delete_configuration_task_request = {
  1. configuration_ids : configuration_id_list;
    (*

    The list of configuration IDs that will be deleted by the task.

    *)
  2. configuration_type : deletion_configuration_item_type;
    (*

    The type of configuration item to delete. Supported types are: SERVER.

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

The limit of 200 configuration IDs per request has been exceeded.

type nonrec order_by_element_field_name = string
type nonrec order_by_element = {
  1. sort_order : order_string option;
    (*

    Ordering direction.

    *)
  2. field_name : order_by_element_field_name;
    (*

    The field on which to order.

    *)
}

A field and direction for ordered output.

type nonrec order_by_list = order_by_element list
type nonrec next_token = string
type nonrec boxed_integer = int
type nonrec long = Smaws_Lib.CoreTypes.Int64.t
type nonrec neighbor_connection_detail = {
  1. connections_count : long;
    (*

    The number of open network connections with the neighboring server.

    *)
  2. transport_protocol : string_ option;
    (*

    The network protocol used for the connection.

    *)
  3. destination_port : boxed_integer option;
    (*

    The destination network port for the connection.

    *)
  4. destination_server_id : configuration_id;
    (*

    The ID of the server that accepted the network connection.

    *)
  5. source_server_id : configuration_id;
    (*

    The ID of the server that opened the network connection.

    *)
}

Details about neighboring servers.

type nonrec neighbor_details_list = neighbor_connection_detail list
type nonrec list_server_neighbors_response = {
  1. known_dependency_count : long option;
    (*

    Count of distinct servers that are one hop away from the given server.

    *)
  2. next_token : string_ option;
    (*

    Token to retrieve the next set of results. For example, if you specified 100 IDs for ListServerNeighborsRequest$neighborConfigurationIds but set ListServerNeighborsRequest$maxResults to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.

    *)
  3. neighbors : neighbor_details_list;
    (*

    List of distinct servers that are one hop away from the given server.

    *)
}
type nonrec list_server_neighbors_request = {
  1. next_token : string_ option;
    (*

    Token to retrieve the next set of results. For example, if you previously specified 100 IDs for ListServerNeighborsRequest$neighborConfigurationIds but set ListServerNeighborsRequest$maxResults to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.

    *)
  2. max_results : integer option;
    (*

    Maximum number of results to return in a single page of output.

    *)
  3. neighbor_configuration_ids : configuration_id_list option;
    (*

    List of configuration IDs to test for one-hop-away.

    *)
  4. port_information_needed : boolean_ option;
    (*

    Flag to indicate if port and protocol information is needed as part of the response.

    *)
  5. configuration_id : configuration_id;
    (*

    Configuration ID of the server for which neighbors are being listed.

    *)
}
type nonrec configuration = (string_ * string_) list
type nonrec configurations = configuration list
type nonrec list_configurations_response = {
  1. next_token : next_token option;
    (*

    Token to retrieve the next set of results. For example, if your call to ListConfigurations returned 100 items, but you set ListConfigurationsRequest$maxResults to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.

    *)
  2. configurations : configurations option;
    (*

    Returns configuration details, including the configuration ID, attribute names, and attribute values.

    *)
}
type nonrec configuration_item_type =
  1. | APPLICATION
  2. | CONNECTIONS
  3. | PROCESS
  4. | SERVER
type nonrec filter = {
  1. condition : condition;
    (*

    A conditional operator. The following operators are valid: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS. If you specify multiple filters, the system utilizes all filters as though concatenated by AND. If you specify multiple values for a particular filter, the system differentiates the values using OR. Calling either DescribeConfigurations or ListConfigurations returns attributes of matching configuration items.

    *)
  2. values : filter_values;
    (*

    A string value on which to filter. For example, if you choose the destinationServer.osVersion filter name, you could specify Ubuntu for the value.

    *)
  3. name : string_;
    (*

    The name of the filter.

    *)
}

A filter that can use conditional operators.

For more information about filters, see Querying Discovered Configuration Items in the Amazon Web Services Application Discovery Service User Guide.

type nonrec filters = filter list
type nonrec list_configurations_request = {
  1. order_by : order_by_list option;
    (*

    Certain filter criteria return output that can be sorted in ascending or descending order. For a list of output characteristics for each filter, see Using the ListConfigurations Action in the Amazon Web Services Application Discovery Service User Guide.

    *)
  2. next_token : next_token option;
    (*

    Token to retrieve the next set of results. For example, if a previous call to ListConfigurations returned 100 items, but you set ListConfigurationsRequest$maxResults to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.

    *)
  3. max_results : integer option;
    (*

    The total number of items to return. The maximum value is 100.

    *)
  4. filters : filters option;
    (*

    You can filter the request using various logical operators and a key-value format. For example:

    {"key": "serverType", "value": "webServer"}

    For a complete list of filter options and guidance about using them with this action, see Using the ListConfigurations Action in the Amazon Web Services Application Discovery Service User Guide.

    *)
  5. configuration_type : configuration_item_type;
    (*

    A valid configuration identified by Application Discovery Service.

    *)
}
type nonrec import_task_list = import_task list
type nonrec import_task_filter_value = string
type nonrec import_task_filter_value_list = import_task_filter_value list
type nonrec import_task_filter_name =
  1. | FILE_CLASSIFICATION
  2. | NAME
  3. | STATUS
  4. | IMPORT_TASK_ID
type nonrec import_task_filter = {
  1. values : import_task_filter_value_list option;
    (*

    An array of strings that you can provide to match against a specific name, status, or import task ID to filter the results for your import task queries.

    *)
  2. name : import_task_filter_name option;
    (*

    The name, status, or import task ID for a specific import task.

    *)
}

A name-values pair of elements you can use to filter the results when querying your import tasks. Currently, wildcards are not supported for filters.

When filtering by import status, all other filter values are ignored.

type nonrec customer_agent_info = {
  1. unknown_agents : integer;
    (*

    Number of unknown discovery agents.

    *)
  2. total_agents : integer;
    (*

    Total number of discovery agents.

    *)
  3. unhealthy_agents : integer;
    (*

    Number of unhealthy discovery agents.

    *)
  4. shutdown_agents : integer;
    (*

    Number of discovery agents with status SHUTDOWN.

    *)
  5. black_listed_agents : integer;
    (*

    Number of blacklisted discovery agents.

    *)
  6. healthy_agents : integer;
    (*

    Number of healthy discovery agents

    *)
  7. active_agents : integer;
    (*

    Number of active discovery agents.

    *)
}

Inventory data for installed discovery agents.

type nonrec customer_connector_info = {
  1. unknown_connectors : integer;
    (*

    Number of unknown discovery connectors.

    *)
  2. total_connectors : integer;
    (*

    Total number of discovery connectors.

    *)
  3. unhealthy_connectors : integer;
    (*

    Number of unhealthy discovery connectors.

    *)
  4. shutdown_connectors : integer;
    (*

    Number of discovery connectors with status SHUTDOWN,

    *)
  5. black_listed_connectors : integer;
    (*

    Number of blacklisted discovery connectors.

    *)
  6. healthy_connectors : integer;
    (*

    Number of healthy discovery connectors.

    *)
  7. active_connectors : integer;
    (*

    Number of active discovery connectors.

    *)
}

Inventory data for installed discovery connectors.

type nonrec customer_me_collector_info = {
  1. unknown_me_collectors : integer;
    (*

    The number of unknown Migration Evaluator collectors.

    *)
  2. total_me_collectors : integer;
    (*

    The total number of Migration Evaluator collectors.

    *)
  3. unhealthy_me_collectors : integer;
    (*

    The number of unhealthy Migration Evaluator collectors.

    *)
  4. shutdown_me_collectors : integer;
    (*

    The number of Migration Evaluator collectors with SHUTDOWN status.

    *)
  5. deny_listed_me_collectors : integer;
    (*

    The number of deny-listed Migration Evaluator collectors.

    *)
  6. healthy_me_collectors : integer;
    (*

    The number of healthy Migration Evaluator collectors.

    *)
  7. active_me_collectors : integer;
    (*

    The number of active Migration Evaluator collectors.

    *)
}

The inventory data for installed Migration Evaluator collectors.

type nonrec customer_agentless_collector_info = {
  1. unknown_agentless_collectors : integer;
    (*

    The number of unknown Agentless Collector collectors.

    *)
  2. total_agentless_collectors : integer;
    (*

    The total number of Agentless Collector collectors.

    *)
  3. unhealthy_agentless_collectors : integer;
    (*

    The number of unhealthy Agentless Collector collectors.

    *)
  4. shutdown_agentless_collectors : integer;
    (*

    The number of Agentless Collector collectors with SHUTDOWN status.

    *)
  5. deny_listed_agentless_collectors : integer;
    (*

    The number of deny-listed Agentless Collector collectors.

    *)
  6. healthy_agentless_collectors : integer;
    (*

    The number of healthy Agentless Collector collectors.

    *)
  7. active_agentless_collectors : integer;
    (*

    The number of active Agentless Collector collectors.

    *)
}

The inventory data for installed Agentless Collector collectors.

type nonrec get_discovery_summary_response = {
  1. agentless_collector_summary : customer_agentless_collector_info option;
    (*

    Details about Agentless Collector collectors, including status.

    *)
  2. me_collector_summary : customer_me_collector_info option;
    (*

    Details about Migration Evaluator collectors, including collector status and health.

    *)
  3. connector_summary : customer_connector_info option;
    (*

    Details about discovered connectors, including connector status and health.

    *)
  4. agent_summary : customer_agent_info option;
    (*

    Details about discovered agents, including agent status and health.

    *)
  5. servers_mappedto_tags : long option;
    (*

    The number of servers mapped to tags.

    *)
  6. servers_mapped_to_applications : long option;
    (*

    The number of servers mapped to applications.

    *)
  7. applications : long option;
    (*

    The number of applications discovered.

    *)
  8. servers : long option;
    (*

    The number of servers discovered.

    *)
}
type nonrec get_discovery_summary_request = unit
type nonrec error_status_code = int
type nonrec error_message = string
type nonrec failed_configuration = {
  1. error_message : error_message option;
    (*

    A descriptive message indicating why the associated configuration failed to delete.

    *)
  2. error_status_code : error_status_code option;
    (*

    The integer error code associated with the error message.

    *)
  3. configuration_id : configuration_id option;
    (*

    The unique identifier of the configuration the failed to delete.

    *)
}

A configuration ID paired with an error message.

type nonrec failed_configuration_list = failed_configuration list
type nonrec export_status =
  1. | IN_PROGRESS
  2. | SUCCEEDED
  3. | FAILED
type nonrec export_status_message = string
type nonrec configurations_download_url = string
type nonrec export_request_time = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec export_info = {
  1. requested_end_time : time_stamp option;
    (*

    The endTime used in the StartExportTask request. If no endTime was requested, this result does not appear in ExportInfo.

    *)
  2. requested_start_time : time_stamp option;
    (*

    The value of startTime parameter in the StartExportTask request. If no startTime was requested, this result does not appear in ExportInfo.

    *)
  3. is_truncated : boolean_ option;
    (*

    If true, the export of agent information exceeded the size limit for a single export and the exported data is incomplete for the requested time range. To address this, select a smaller time range for the export by using startDate and endDate.

    *)
  4. export_request_time : export_request_time;
    (*

    The time that the data export was initiated.

    *)
  5. configurations_download_url : configurations_download_url option;
    (*

    A URL for an Amazon S3 bucket where you can review the exported data. The URL is displayed only if the export succeeded.

    *)
  6. status_message : export_status_message;
    (*

    A status message provided for API callers.

    *)
  7. export_status : export_status;
    (*

    The status of the data export job.

    *)
  8. export_id : configurations_export_id;
    (*

    A unique identifier used to query an export.

    *)
}

Information regarding the export status of discovered data. The value is an array of objects.

type nonrec exports_info = export_info list
type nonrec export_ids = configurations_export_id list
type nonrec export_configurations_response = {
  1. export_id : configurations_export_id option;
    (*

    A unique identifier that you can use to query the export status.

    *)
}
type nonrec disassociate_configuration_items_from_application_response = unit
type nonrec disassociate_configuration_items_from_application_request = {
  1. configuration_ids : configuration_id_list;
    (*

    Configuration ID of each item to be disassociated from an application.

    *)
  2. application_configuration_id : application_id;
    (*

    Configuration ID of an application from which each item is disassociated.

    *)
}
type nonrec configuration_tag = {
  1. time_of_creation : time_stamp option;
    (*

    The time the configuration tag was created in Coordinated Universal Time (UTC).

    *)
  2. value : tag_value option;
    (*

    A value on which to filter. For example key = serverType and value = web server.

    *)
  3. key : tag_key option;
    (*

    A type of tag on which to filter. For example, serverType.

    *)
  4. configuration_id : configuration_id option;
    (*

    The configuration ID for the item to tag. You can specify a list of keys and values.

    *)
  5. configuration_type : configuration_item_type option;
    (*

    A type of IT asset to tag.

    *)
}

Tags for a configuration item. Tags are metadata that help you categorize IT assets.

type nonrec configuration_tag_set = configuration_tag list
type nonrec describe_tags_response = {
  1. next_token : next_token option;
    (*

    The call returns a token. Use this token to get the next set of results.

    *)
  2. tags : configuration_tag_set option;
    (*

    Depending on the input, this is a list of configuration items tagged with a specific tag, or a list of tags for a specific configuration item.

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

    A token to start the list. Use this token to get the next set of results.

    *)
  2. max_results : integer option;
    (*

    The total number of items to return in a single page of output. The maximum value is 100.

    *)
  3. filters : tag_filters option;
    (*

    You can filter the list using a key-value format. You can separate these items by using logical operators. Allowed filters include tagKey, tagValue, and configurationId.

    *)
}
type nonrec describe_import_tasks_response = {
  1. tasks : import_task_list option;
    (*

    A returned array of import tasks that match any applied filters, up to the specified number of maximum results.

    *)
  2. next_token : next_token option;
    (*

    The token to request the next page of results.

    *)
}
type nonrec describe_import_tasks_filter_list = import_task_filter list
type nonrec describe_import_tasks_max_results = int
type nonrec describe_import_tasks_request = {
  1. next_token : next_token option;
    (*

    The token to request a specific page of results.

    *)
  2. max_results : describe_import_tasks_max_results option;
    (*

    The maximum number of results that you want this request to return, up to 100.

    *)
  3. filters : describe_import_tasks_filter_list option;
    (*

    An array of name-value pairs that you provide to filter the results for the DescribeImportTask request to a specific subset of results. Currently, wildcard values aren't supported for filters.

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

    The nextToken value to include in a future DescribeExportTasks request. When the results of a DescribeExportTasks 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. exports_info : exports_info option;
    (*

    Contains one or more sets of export request details. When the status of a request is SUCCEEDED, the response includes a URL for an Amazon S3 bucket where you can view the data in a CSV file.

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

    The nextToken value returned from a previous paginated DescribeExportTasks 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.

    *)
  2. max_results : integer option;
    (*

    The maximum number of volume results returned by DescribeExportTasks in paginated output. When this parameter is used, DescribeExportTasks only returns maxResults results in a single page along with a nextToken response element.

    *)
  3. filters : export_filters option;
    (*

    One or more filters.

    • AgentId - ID of the agent whose collected data will be exported
    *)
  4. export_ids : export_ids option;
    (*

    One or more unique identifiers used to query the status of an export request.

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

    The token from the previous call to describe-export-tasks.

    *)
  2. exports_info : exports_info option;
}
type nonrec describe_export_configurations_request = {
  1. next_token : next_token option;
    (*

    The token from the previous call to describe-export-tasks.

    *)
  2. max_results : integer option;
    (*

    A number between 1 and 100 specifying the maximum number of continuous export descriptions returned.

    *)
  3. export_ids : export_ids option;
    (*

    A list of continuous export IDs to search for.

    *)
}
type nonrec continuous_export_status =
  1. | INACTIVE
  2. | STOP_FAILED
  3. | STOP_IN_PROGRESS
  4. | ERROR
  5. | ACTIVE
  6. | START_FAILED
  7. | START_IN_PROGRESS
type nonrec continuous_export_description = {
  1. schema_storage_config : schema_storage_config option;
    (*

    An object which describes how the data is stored.

    • databaseName - the name of the Glue database used to store the schema.
    *)
  2. data_source : data_source option;
    (*

    The type of data collector used to gather this data (currently only offered for AGENT).

    *)
  3. stop_time : time_stamp option;
    (*

    The timestamp that represents when this continuous export was stopped.

    *)
  4. start_time : time_stamp option;
    (*

    The timestamp representing when the continuous export was started.

    *)
  5. s3_bucket : s3_bucket option;
    (*

    The name of the s3 bucket where the export data parquet files are stored.

    *)
  6. status_detail : string_max255 option;
    (*

    Contains information about any errors that have occurred. This data type can have the following values:

    • ACCESS_DENIED - You don’t have permission to start Data Exploration in Amazon Athena. Contact your Amazon Web Services administrator for help. For more information, see Setting Up Amazon Web Services Application Discovery Service in the Application Discovery Service User Guide.
    • DELIVERY_STREAM_LIMIT_FAILURE - You reached the limit for Amazon Kinesis Data Firehose delivery streams. Reduce the number of streams or request a limit increase and try again. For more information, see Kinesis Data Streams Limits in the Amazon Kinesis Data Streams Developer Guide.
    • FIREHOSE_ROLE_MISSING - The Data Exploration feature is in an error state because your user is missing the Amazon Web ServicesApplicationDiscoveryServiceFirehose role. Turn on Data Exploration in Amazon Athena and try again. For more information, see Creating the Amazon Web ServicesApplicationDiscoveryServiceFirehose Role in the Application Discovery Service User Guide.
    • FIREHOSE_STREAM_DOES_NOT_EXIST - The Data Exploration feature is in an error state because your user is missing one or more of the Kinesis data delivery streams.
    • INTERNAL_FAILURE - The Data Exploration feature is in an error state because of an internal failure. Try again later. If this problem persists, contact Amazon Web Services Support.
    • LAKE_FORMATION_ACCESS_DENIED - You don't have sufficient lake formation permissions to start continuous export. For more information, see Upgrading Amazon Web Services Glue Data Permissions to the Amazon Web Services Lake Formation Model in the Amazon Web Services Lake Formation Developer Guide.

      You can use one of the following two ways to resolve this issue.

      1. If you don’t want to use the Lake Formation permission model, you can change the default Data Catalog settings to use only Amazon Web Services Identity and Access Management (IAM) access control for new databases. For more information, see Change Data Catalog Settings in the Lake Formation Developer Guide.
      2. You can give the service-linked IAM roles AWSServiceRoleForApplicationDiscoveryServiceContinuousExport and AWSApplicationDiscoveryServiceFirehose the required Lake Formation permissions. For more information, see Granting Database Permissions in the Lake Formation Developer Guide.

        1. AWSServiceRoleForApplicationDiscoveryServiceContinuousExport - Grant database creator permissions, which gives the role database creation ability and implicit permissions for any created tables. For more information, see Implicit Lake Formation Permissions in the Lake Formation Developer Guide.
        2. AWSApplicationDiscoveryServiceFirehose - Grant describe permissions for all tables in the database.
    • S3_BUCKET_LIMIT_FAILURE - You reached the limit for Amazon S3 buckets. Reduce the number of S3 buckets or request a limit increase and try again. For more information, see Bucket Restrictions and Limitations in the Amazon Simple Storage Service Developer Guide.
    • S3_NOT_SIGNED_UP - Your account is not signed up for the Amazon S3 service. You must sign up before you can use Amazon S3. You can sign up at the following URL: https://aws.amazon.com/s3.
    *)
  7. status : continuous_export_status option;
    (*

    Describes the status of the export. Can be one of the following values:

    • START_IN_PROGRESS - setting up resources to start continuous export.
    • START_FAILED - an error occurred setting up continuous export. To recover, call start-continuous-export again.
    • ACTIVE - data is being exported to the customer bucket.
    • ERROR - an error occurred during export. To fix the issue, call stop-continuous-export and start-continuous-export.
    • STOP_IN_PROGRESS - stopping the export.
    • STOP_FAILED - an error occurred stopping the export. To recover, call stop-continuous-export again.
    • INACTIVE - the continuous export has been stopped. Data is no longer being exported to the customer bucket.
    *)
  8. export_id : configurations_export_id option;
    (*

    The unique ID assigned to this export.

    *)
}

A list of continuous export descriptions.

type nonrec continuous_export_descriptions = continuous_export_description list
type nonrec describe_continuous_exports_response = {
  1. next_token : next_token option;
    (*

    The token from the previous call to DescribeExportTasks.

    *)
  2. descriptions : continuous_export_descriptions option;
    (*

    A list of continuous export descriptions.

    *)
}
type nonrec continuous_export_ids = configurations_export_id list
type nonrec describe_continuous_exports_max_results = int
type nonrec describe_continuous_exports_request = {
  1. next_token : next_token option;
    (*

    The token from the previous call to DescribeExportTasks.

    *)
  2. max_results : describe_continuous_exports_max_results option;
    (*

    A number between 1 and 100 specifying the maximum number of continuous export descriptions returned.

    *)
  3. export_ids : continuous_export_ids option;
    (*

    The unique IDs assigned to the exports.

    *)
}
type nonrec describe_configurations_attribute = (string_ * string_) list
type nonrec describe_configurations_attributes = describe_configurations_attribute list
type nonrec describe_configurations_response = {
  1. configurations : describe_configurations_attributes option;
    (*

    A key in the response map. The value is an array of data.

    *)
}
type nonrec describe_configurations_request = {
  1. configuration_ids : configuration_id_list;
    (*

    One or more configuration IDs.

    *)
}
type nonrec batch_delete_configuration_task_status =
  1. | FAILED
  2. | COMPLETED
  3. | DELETING
  4. | VALIDATING
  5. | INITIALIZING
type nonrec deletion_warning = {
  1. warning_text : warning_text option;
    (*

    A descriptive message of the warning the associated configuration ID produced.

    *)
  2. warning_code : warning_code option;
    (*

    The integer warning code associated with the warning message.

    *)
  3. configuration_id : configuration_id option;
    (*

    The unique identifier of the configuration that produced a warning.

    *)
}

A configuration ID paired with a warning message.

type nonrec deletion_warnings_list = deletion_warning list
type nonrec batch_delete_configuration_task = {
  1. deletion_warnings : deletion_warnings_list option;
    (*

    A list of configuration IDs that produced warnings regarding their deletion, paired with a warning message.

    *)
  2. failed_configurations : failed_configuration_list option;
    (*

    A list of configuration IDs that failed to delete during the deletion task, each paired with an error message.

    *)
  3. deleted_configurations : configuration_id_list option;
    (*

    The list of configuration IDs that were successfully deleted by the deletion task.

    *)
  4. requested_configurations : configuration_id_list option;
    (*

    The list of configuration IDs that were originally requested to be deleted by the deletion task.

    *)
  5. configuration_type : deletion_configuration_item_type option;
    (*

    The type of configuration item to delete. Supported types are: SERVER.

    *)
  6. end_time : time_stamp option;
    (*

    An epoch seconds timestamp (UTC) of when the deletion task was completed or failed.

    *)
  7. start_time : time_stamp option;
    (*

    An epoch seconds timestamp (UTC) of when the deletion task was started.

    *)
  8. status : batch_delete_configuration_task_status option;
    (*

    The current execution status of the deletion task. Valid status are: INITIALIZING | VALIDATING | DELETING | COMPLETED | FAILED.

    *)
  9. task_id : uui_d option;
    (*

    The deletion task's unique identifier.

    *)
}

A metadata object that represents the deletion task being executed.

type nonrec describe_batch_delete_configuration_task_response = {
  1. task : batch_delete_configuration_task option;
    (*

    The BatchDeleteConfigurationTask that represents the deletion task being executed.

    *)
}
type nonrec describe_batch_delete_configuration_task_request = {
  1. task_id : uui_d;
    (*

    The ID of the task to delete.

    *)
}
type nonrec agent_network_info = {
  1. mac_address : string_ option;
    (*

    The MAC address for the host where the agent/collector resides.

    *)
  2. ip_address : string_ option;
    (*

    The IP address for the host where the agent/collector resides.

    *)
}

Network details about the host where the agent/collector resides.

type nonrec agent_network_info_list = agent_network_info list
type nonrec agent_status =
  1. | SHUTDOWN
  2. | BLACKLISTED
  3. | UNKNOWN
  4. | RUNNING
  5. | UNHEALTHY
  6. | HEALTHY
type nonrec agent_info = {
  1. registered_time : string_ option;
    (*

    Agent's first registration timestamp in UTC.

    *)
  2. agent_type : string_ option;
    (*

    Type of agent.

    *)
  3. collection_status : string_ option;
    (*

    Status of the collection process for an agent.

    *)
  4. last_health_ping_time : string_ option;
    (*

    Time since agent health was reported.

    *)
  5. health : agent_status option;
    (*

    The health of the agent.

    *)
  6. version : string_ option;
    (*

    The agent or collector version.

    *)
  7. connector_id : string_ option;
    (*

    The ID of the connector.

    *)
  8. agent_network_info_list : agent_network_info_list option;
    (*

    Network details about the host where the agent or collector resides.

    *)
  9. host_name : string_ option;
    (*

    The name of the host where the agent or collector resides. The host can be a server or virtual machine.

    *)
  10. agent_id : agent_id option;
    (*

    The agent or collector ID.

    *)
}

Information about agents associated with the user’s Amazon Web Services account. Information includes agent IDs, IP addresses, media access control (MAC) addresses, agent or collector status, hostname where the agent resides, and agent version for each agent.

type nonrec agents_info = agent_info list
type nonrec describe_agents_response = {
  1. next_token : next_token option;
    (*

    Token to retrieve the next set of results. For example, if you specified 100 IDs for DescribeAgentsRequest$agentIds but set DescribeAgentsRequest$maxResults to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.

    *)
  2. agents_info : agents_info option;
    (*

    Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did not specify an agent/collector ID. The output includes agent/collector IDs, IP addresses, media access control (MAC) addresses, agent/collector health, host name where the agent/collector resides, and the version number of each agent/collector.

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

    Token to retrieve the next set of results. For example, if you previously specified 100 IDs for DescribeAgentsRequest$agentIds but set DescribeAgentsRequest$maxResults to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.

    *)
  2. max_results : integer option;
    (*

    The total number of agents/collectors to return in a single page of output. The maximum value is 100.

    *)
  3. filters : filters option;
    (*

    You can filter the request using various logical operators and a key-value format. For example:

    {"key": "collectionStatus", "value": "STARTED"}

    *)
  4. agent_ids : agent_ids option;
    (*

    The agent or the collector IDs for which you want information. If you specify no IDs, the system returns information about all agents/collectors associated with your user.

    *)
}
type nonrec delete_tags_response = unit
type nonrec delete_tags_request = {
  1. tags : tag_set option;
    (*

    Tags that you want to delete from one or more configuration items. Specify the tags that you want to delete in a key-value format. For example:

    {"key": "serverType", "value": "webServer"}

    *)
  2. configuration_ids : configuration_id_list;
    (*

    A list of configuration items with tags that you want to delete.

    *)
}
type nonrec delete_applications_response = unit
type nonrec application_ids_list = application_id list
type nonrec delete_applications_request = {
  1. configuration_ids : application_ids_list;
    (*

    Configuration ID of an application to be deleted.

    *)
}
type nonrec delete_agent = {
  1. force : boolean_ option;
    (*

    Optional flag used to force delete an agent or data collector. It is needed to delete any agent in HEALTHY/UNHEALTHY/RUNNING status. Note that deleting an agent that is actively reporting health causes it to be re-registered with a different agent ID after data collector re-connects with Amazon Web Services.

    *)
  2. agent_id : agent_id;
    (*

    The ID of the agent or data collector to delete.

    *)
}

An object representing the agent or data collector to be deleted along with the optional configurations for error handling.

type nonrec delete_agents = delete_agent list
type nonrec delete_agent_error_code =
  1. | AGENT_IN_USE
  2. | INTERNAL_SERVER_ERROR
  3. | NOT_FOUND
type nonrec create_tags_response = unit
type nonrec create_tags_request = {
  1. tags : tag_set;
    (*

    Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:

    {"key": "serverType", "value": "webServer"}

    *)
  2. configuration_ids : configuration_id_list;
    (*

    A list of configuration items that you want to tag.

    *)
}
type nonrec create_application_response = {
  1. configuration_id : string_ option;
    (*

    The configuration ID of an application to be created.

    *)
}
type nonrec create_application_request = {
  1. wave : application_wave option;
    (*

    The name of the migration wave of the application to be created.

    *)
  2. description : application_description option;
    (*

    The description of the application to be created.

    *)
  3. name : application_name;
    (*

    The name of the application to be created.

    *)
}
type nonrec batch_delete_import_data_error_code =
  1. | OVER_LIMIT
  2. | INTERNAL_SERVER_ERROR
  3. | NOT_FOUND
type nonrec batch_delete_import_data_error_description = string
type nonrec batch_delete_import_data_error = {
  1. error_description : batch_delete_import_data_error_description option;
    (*

    The description of the error that occurred for a specific import task.

    *)
  2. error_code : batch_delete_import_data_error_code option;
    (*

    The type of error that occurred for a specific import task.

    *)
  3. import_task_id : import_task_identifier option;
    (*

    The unique import ID associated with the error that occurred.

    *)
}

Error messages returned for each import task that you deleted as a response for this command.

type nonrec batch_delete_import_data_error_list = batch_delete_import_data_error list
type nonrec batch_delete_import_data_response = {
  1. errors : batch_delete_import_data_error_list option;
    (*

    Error messages returned for each import task that you deleted as a response for this command.

    *)
}
type nonrec batch_delete_import_data_request = {
  1. delete_history : boolean_ option;
    (*

    Set to true to remove the deleted import task from DescribeImportTasks.

    *)
  2. import_task_ids : to_delete_identifier_list;
    (*

    The IDs for the import tasks that you want to delete.

    *)
}
type nonrec batch_delete_agent_error = {
  1. error_code : delete_agent_error_code;
    (*

    The type of error that occurred for the delete failed agent. Valid status are: AGENT_IN_USE | NOT_FOUND | INTERNAL_SERVER_ERROR.

    *)
  2. error_message : string_;
    (*

    The description of the error that occurred for the delete failed agent.

    *)
  3. agent_id : agent_id;
    (*

    The ID of the agent or data collector to delete.

    *)
}

An object representing the agent or data collector that failed to delete, each containing agentId, errorMessage, and errorCode.

type nonrec batch_delete_agent_errors = batch_delete_agent_error list
type nonrec batch_delete_agents_response = {
  1. errors : batch_delete_agent_errors option;
    (*

    A list of agent IDs that failed to delete during the deletion task, each paired with an error message.

    *)
}
type nonrec batch_delete_agents_request = {
  1. delete_agents : delete_agents;
    (*

    The list of agents to delete.

    *)
}
type nonrec associate_configuration_items_to_application_response = unit
type nonrec associate_configuration_items_to_application_request = {
  1. configuration_ids : configuration_id_list;
    (*

    The ID of each configuration item to be associated with an application.

    *)
  2. application_configuration_id : application_id;
    (*

    The configuration ID of an application with which items are to be associated.

    *)
}