Application Discovery Service
This page documents function available when using the Application_Discovery_Service
module, created with @service Application_Discovery_Service
.
Index
Main.Application_Discovery_Service.associate_configuration_items_to_application
Main.Application_Discovery_Service.batch_delete_agents
Main.Application_Discovery_Service.batch_delete_import_data
Main.Application_Discovery_Service.create_application
Main.Application_Discovery_Service.create_tags
Main.Application_Discovery_Service.delete_applications
Main.Application_Discovery_Service.delete_tags
Main.Application_Discovery_Service.describe_agents
Main.Application_Discovery_Service.describe_batch_delete_configuration_task
Main.Application_Discovery_Service.describe_configurations
Main.Application_Discovery_Service.describe_continuous_exports
Main.Application_Discovery_Service.describe_export_configurations
Main.Application_Discovery_Service.describe_export_tasks
Main.Application_Discovery_Service.describe_import_tasks
Main.Application_Discovery_Service.describe_tags
Main.Application_Discovery_Service.disassociate_configuration_items_from_application
Main.Application_Discovery_Service.export_configurations
Main.Application_Discovery_Service.get_discovery_summary
Main.Application_Discovery_Service.list_configurations
Main.Application_Discovery_Service.list_server_neighbors
Main.Application_Discovery_Service.start_batch_delete_configuration_task
Main.Application_Discovery_Service.start_continuous_export
Main.Application_Discovery_Service.start_data_collection_by_agent_ids
Main.Application_Discovery_Service.start_export_task
Main.Application_Discovery_Service.start_import_task
Main.Application_Discovery_Service.stop_continuous_export
Main.Application_Discovery_Service.stop_data_collection_by_agent_ids
Main.Application_Discovery_Service.update_application
Documentation
Main.Application_Discovery_Service.associate_configuration_items_to_application
— Methodassociate_configuration_items_to_application(application_configuration_id, configuration_ids)
associate_configuration_items_to_application(application_configuration_id, configuration_ids, params::Dict{String,<:Any})
Associates one or more configuration items with an application.
Arguments
application_configuration_id
: The configuration ID of an application with which items are to be associated.configuration_ids
: The ID of each configuration item to be associated with an application.
Main.Application_Discovery_Service.batch_delete_agents
— Methodbatch_delete_agents(delete_agents)
batch_delete_agents(delete_agents, params::Dict{String,<:Any})
Deletes one or more agents or collectors as specified by ID. Deleting an agent or collector does not delete the previously discovered data. To delete the data collected, use StartBatchDeleteConfigurationTask.
Arguments
delete_agents
: The list of agents to delete.
Main.Application_Discovery_Service.batch_delete_import_data
— Methodbatch_delete_import_data(import_task_ids)
batch_delete_import_data(import_task_ids, params::Dict{String,<:Any})
Deletes one or more import tasks, each identified by their import ID. Each import task has a number of records that can identify servers or applications. Amazon Web Services Application Discovery Service has built-in matching logic that will identify when discovered servers match existing entries that you've previously discovered, the information for the already-existing discovered server is updated. When you delete an import task that contains records that were used to match, the information in those matched records that comes from the deleted records will also be deleted.
Arguments
import_task_ids
: The IDs for the import tasks that you want to delete.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"deleteHistory"
: Set to true to remove the deleted import task from DescribeImportTasks.
Main.Application_Discovery_Service.create_application
— Methodcreate_application(name)
create_application(name, params::Dict{String,<:Any})
Creates an application with the given name and description.
Arguments
name
: Name of the application to be created.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"description"
: Description of the application to be created.
Main.Application_Discovery_Service.create_tags
— Methodcreate_tags(configuration_ids, tags)
create_tags(configuration_ids, tags, params::Dict{String,<:Any})
Creates one or more tags for configuration items. Tags are metadata that help you categorize IT assets. This API accepts a list of multiple configuration items. Do not store sensitive information (like personal data) in tags.
Arguments
configuration_ids
: A list of configuration items that you want to tag.tags
: 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"}
Main.Application_Discovery_Service.delete_applications
— Methoddelete_applications(configuration_ids)
delete_applications(configuration_ids, params::Dict{String,<:Any})
Deletes a list of applications and their associations with configuration items.
Arguments
configuration_ids
: Configuration ID of an application to be deleted.
Main.Application_Discovery_Service.delete_tags
— Methoddelete_tags(configuration_ids)
delete_tags(configuration_ids, params::Dict{String,<:Any})
Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items.
Arguments
configuration_ids
: A list of configuration items with tags that you want to delete.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"tags"
: 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"}
Main.Application_Discovery_Service.describe_agents
— Methoddescribe_agents()
describe_agents(params::Dict{String,<:Any})
Lists agents or collectors as specified by ID or other filters. All agents/collectors associated with your user can be listed if you call DescribeAgents as is without passing any parameters.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"agentIds"
: 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."filters"
: You can filter the request using various logical operators and a key-value format. For example: {"key": "collectionStatus", "value": "STARTED"}"maxResults"
: The total number of agents/collectors to return in a single page of output. The maximum value is 100."nextToken"
: Token to retrieve the next set of results. For example, if you previously specified 100 IDs for DescribeAgentsRequestagentIds but set DescribeAgentsRequestmaxResults 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.
Main.Application_Discovery_Service.describe_batch_delete_configuration_task
— Methoddescribe_batch_delete_configuration_task(task_id)
describe_batch_delete_configuration_task(task_id, params::Dict{String,<:Any})
Takes a unique deletion task identifier as input and returns metadata about a configuration deletion task.
Arguments
task_id
: The ID of the task to delete.
Main.Application_Discovery_Service.describe_configurations
— Methoddescribe_configurations(configuration_ids)
describe_configurations(configuration_ids, params::Dict{String,<:Any})
Retrieves attributes for a list of configuration item IDs. All of the supplied IDs must be for the same asset type from one of the following: server application process connection Output fields are specific to the asset type specified. For example, the output for a server configuration item includes a list of attributes about the server, such as host name, operating system, number of network cards, etc. For a complete list of outputs for each asset type, see Using the DescribeConfigurations Action in the Amazon Web Services Application Discovery Service User Guide.
Arguments
configuration_ids
: One or more configuration IDs.
Main.Application_Discovery_Service.describe_continuous_exports
— Methoddescribe_continuous_exports()
describe_continuous_exports(params::Dict{String,<:Any})
Lists exports as specified by ID. All continuous exports associated with your user can be listed if you call DescribeContinuousExports as is without passing any parameters.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"exportIds"
: The unique IDs assigned to the exports."maxResults"
: A number between 1 and 100 specifying the maximum number of continuous export descriptions returned."nextToken"
: The token from the previous call to DescribeExportTasks.
Main.Application_Discovery_Service.describe_export_configurations
— Methoddescribe_export_configurations()
describe_export_configurations(params::Dict{String,<:Any})
DescribeExportConfigurations is deprecated. Use DescribeExportTasks, instead.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"exportIds"
: A list of continuous export IDs to search for."maxResults"
: A number between 1 and 100 specifying the maximum number of continuous export descriptions returned."nextToken"
: The token from the previous call to describe-export-tasks.
Main.Application_Discovery_Service.describe_export_tasks
— Methoddescribe_export_tasks()
describe_export_tasks(params::Dict{String,<:Any})
Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"exportIds"
: One or more unique identifiers used to query the status of an export request."filters"
: One or more filters. AgentId - ID of the agent whose collected data will be exported"maxResults"
: 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."nextToken"
: 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.
Main.Application_Discovery_Service.describe_import_tasks
— Methoddescribe_import_tasks()
describe_import_tasks(params::Dict{String,<:Any})
Returns an array of import tasks for your account, including status information, times, IDs, the Amazon S3 Object URL for the import file, and more.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"filters"
: 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."maxResults"
: The maximum number of results that you want this request to return, up to"nextToken"
: The token to request a specific page of results.
Main.Application_Discovery_Service.describe_tags
— Methoddescribe_tags()
describe_tags(params::Dict{String,<:Any})
Retrieves a list of configuration items that have tags as specified by the key-value pairs, name and value, passed to the optional parameter filters. There are three valid tag filter names: tagKey tagValue configurationId Also, all configuration items associated with your user that have tags can be listed if you call DescribeTags as is without passing any parameters.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"filters"
: 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."maxResults"
: The total number of items to return in a single page of output. The maximum value is 100."nextToken"
: A token to start the list. Use this token to get the next set of results.
Main.Application_Discovery_Service.disassociate_configuration_items_from_application
— Methoddisassociate_configuration_items_from_application(application_configuration_id, configuration_ids)
disassociate_configuration_items_from_application(application_configuration_id, configuration_ids, params::Dict{String,<:Any})
Disassociates one or more configuration items from an application.
Arguments
application_configuration_id
: Configuration ID of an application from which each item is disassociated.configuration_ids
: Configuration ID of each item to be disassociated from an application.
Main.Application_Discovery_Service.export_configurations
— Methodexport_configurations()
export_configurations(params::Dict{String,<:Any})
Deprecated. Use StartExportTask instead. Exports all discovered configuration data to an Amazon S3 bucket or an application that enables you to view and evaluate the data. Data includes tags and tag associations, processes, connections, servers, and system performance. This API returns an export ID that you can query using the DescribeExportConfigurations API. The system imposes a limit of two configuration exports in six hours.
Main.Application_Discovery_Service.get_discovery_summary
— Methodget_discovery_summary()
get_discovery_summary(params::Dict{String,<:Any})
Retrieves a short summary of discovered assets. This API operation takes no request parameters and is called as is at the command prompt as shown in the example.
Main.Application_Discovery_Service.list_configurations
— Methodlist_configurations(configuration_type)
list_configurations(configuration_type, params::Dict{String,<:Any})
Retrieves a list of configuration items as specified by the value passed to the required parameter configurationType. Optional filtering may be applied to refine search results.
Arguments
configuration_type
: A valid configuration identified by Application Discovery Service.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"filters"
: 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."maxResults"
: The total number of items to return. The maximum value is 100."nextToken"
: Token to retrieve the next set of results. For example, if a previous call to ListConfigurations returned 100 items, but you set ListConfigurationsRequestmaxResults 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."orderBy"
: 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.
Main.Application_Discovery_Service.list_server_neighbors
— Methodlist_server_neighbors(configuration_id)
list_server_neighbors(configuration_id, params::Dict{String,<:Any})
Retrieves a list of servers that are one network hop away from a specified server.
Arguments
configuration_id
: Configuration ID of the server for which neighbors are being listed.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"maxResults"
: Maximum number of results to return in a single page of output."neighborConfigurationIds"
: List of configuration IDs to test for one-hop-away."nextToken"
: Token to retrieve the next set of results. For example, if you previously specified 100 IDs for ListServerNeighborsRequestneighborConfigurationIds but set ListServerNeighborsRequestmaxResults 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."portInformationNeeded"
: Flag to indicate if port and protocol information is needed as part of the response.
Main.Application_Discovery_Service.start_batch_delete_configuration_task
— Methodstart_batch_delete_configuration_task(configuration_ids, configuration_type)
start_batch_delete_configuration_task(configuration_ids, configuration_type, params::Dict{String,<:Any})
Takes a list of configurationId as input and starts an asynchronous deletion task to remove the configurationItems. Returns a unique deletion task identifier.
Arguments
configuration_ids
: The list of configuration IDs that will be deleted by the task.configuration_type
: The type of configuration item to delete. Supported types are: SERVER.
Main.Application_Discovery_Service.start_continuous_export
— Methodstart_continuous_export()
start_continuous_export(params::Dict{String,<:Any})
Start the continuous flow of agent's discovered data into Amazon Athena.
Main.Application_Discovery_Service.start_data_collection_by_agent_ids
— Methodstart_data_collection_by_agent_ids(agent_ids)
start_data_collection_by_agent_ids(agent_ids, params::Dict{String,<:Any})
Instructs the specified agents to start collecting data.
Arguments
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.
Main.Application_Discovery_Service.start_export_task
— Methodstart_export_task()
start_export_task(params::Dict{String,<:Any})
Begins the export of a discovered data report to an Amazon S3 bucket managed by Amazon Web Services. Exports might provide an estimate of fees and savings based on certain information that you provide. Fee estimates do not include any taxes that might apply. Your actual fees and savings depend on a variety of factors, including your actual usage of Amazon Web Services services, which might vary from the estimates provided in this report. If you do not specify preferences or agentIds in the filter, a summary of all servers, applications, tags, and performance is generated. This data is an aggregation of all server data collected through on-premises tooling, file import, application grouping and applying tags. If you specify agentIds in a filter, the task exports up to 72 hours of detailed data collected by the identified Application Discovery Agent, including network, process, and performance details. A time range for exported agent data may be set by using startTime and endTime. Export of detailed agent data is limited to five concurrently running exports. Export of detailed agent data is limited to two exports per day. If you enable ec2RecommendationsPreferences in preferences , an Amazon EC2 instance matching the characteristics of each server in Application Discovery Service is generated. Changing the attributes of the ec2RecommendationsPreferences changes the criteria of the recommendation.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"endTime"
: 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."exportDataFormat"
: The file format for the returned export data. Default value is CSV. Note: The GRAPHML option has been deprecated."filters"
: 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."preferences"
: Indicates the type of data that needs to be exported. Only one ExportPreferences can be enabled at any time."startTime"
: 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.
Main.Application_Discovery_Service.start_import_task
— Methodstart_import_task(import_url, name)
start_import_task(import_url, name, params::Dict{String,<:Any})
Starts an import task, which allows you to import details of your on-premises environment directly into Amazon Web Services Migration Hub without having to use the Amazon Web Services Application Discovery Service (Application Discovery Service) tools such as the Amazon Web Services Application Discovery Service Agentless Collector or Application Discovery Agent. This gives you the option to perform migration assessment and planning directly from your imported data, including the ability to group your devices as applications and track their migration status. To start an import request, do this: Download the specially formatted comma separated value (CSV) import template, which you can find here: https://s3.us-west-2.amazonaws.com/templates-7cffcf56-bd96-4b1c-b45b-a5b42f282e46/import_tem plate.csv. Fill out the template with your server and application data. Upload your import file to an Amazon S3 bucket, and make a note of it's Object URL. Your import file must be in the CSV format. Use the console or the StartImportTask command with the Amazon Web Services CLI or one of the Amazon Web Services SDKs to import the records from your file. For more information, including step-by-step procedures, see Migration Hub Import in the Amazon Web Services Application Discovery Service User Guide. There are limits to the number of import tasks you can create (and delete) in an Amazon Web Services account. For more information, see Amazon Web Services Application Discovery Service Limits in the Amazon Web Services Application Discovery Service User Guide.
Arguments
import_url
: 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.CSVname
: 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.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"clientRequestToken"
: 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.
Main.Application_Discovery_Service.stop_continuous_export
— Methodstop_continuous_export(export_id)
stop_continuous_export(export_id, params::Dict{String,<:Any})
Stop the continuous flow of agent's discovered data into Amazon Athena.
Arguments
export_id
: The unique ID assigned to this export.
Main.Application_Discovery_Service.stop_data_collection_by_agent_ids
— Methodstop_data_collection_by_agent_ids(agent_ids)
stop_data_collection_by_agent_ids(agent_ids, params::Dict{String,<:Any})
Instructs the specified agents to stop collecting data.
Arguments
agent_ids
: The IDs of the agents from which to stop collecting data.
Main.Application_Discovery_Service.update_application
— Methodupdate_application(configuration_id)
update_application(configuration_id, params::Dict{String,<:Any})
Updates metadata about an application.
Arguments
configuration_id
: Configuration ID of the application to be updated.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"description"
: New description of the application to be updated."name"
: New name of the application to be updated.