{ "version":"2.0", "metadata":{ "apiVersion":"2015-11-01", "endpointPrefix":"discovery", "jsonVersion":"1.1", "protocol":"json", "serviceFullName":"AWS Application Discovery Service", "signatureVersion":"v4", "targetPrefix":"AWSPoseidonService_V2015_11_01" }, "operations":{ "CreateTags":{ "name":"CreateTags", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateTagsRequest"}, "output":{"shape":"CreateTagsResponse"}, "errors":[ {"shape":"AuthorizationErrorException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InvalidParameterException"}, {"shape":"InvalidParameterValueException"}, {"shape":"ServerInternalErrorException"} ], "documentation":"

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.

" }, "DeleteTags":{ "name":"DeleteTags", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteTagsRequest"}, "output":{"shape":"DeleteTagsResponse"}, "errors":[ {"shape":"AuthorizationErrorException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InvalidParameterException"}, {"shape":"InvalidParameterValueException"}, {"shape":"ServerInternalErrorException"} ], "documentation":"

Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items.

" }, "DescribeAgents":{ "name":"DescribeAgents", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeAgentsRequest"}, "output":{"shape":"DescribeAgentsResponse"}, "errors":[ {"shape":"AuthorizationErrorException"}, {"shape":"InvalidParameterException"}, {"shape":"InvalidParameterValueException"}, {"shape":"ServerInternalErrorException"} ], "documentation":"

Lists AWS agents by ID or lists all agents associated with your user account if you did not specify an agent ID.

" }, "DescribeConfigurations":{ "name":"DescribeConfigurations", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeConfigurationsRequest"}, "output":{"shape":"DescribeConfigurationsResponse"}, "errors":[ {"shape":"AuthorizationErrorException"}, {"shape":"InvalidParameterException"}, {"shape":"InvalidParameterValueException"}, {"shape":"ServerInternalErrorException"} ], "documentation":"

Retrieves a list of attributes for a specific configuration ID. For example, the output for a server configuration item includes a list of attributes about the server, including host name, operating system, number of network cards, etc.

" }, "DescribeExportConfigurations":{ "name":"DescribeExportConfigurations", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeExportConfigurationsRequest"}, "output":{"shape":"DescribeExportConfigurationsResponse"}, "errors":[ {"shape":"AuthorizationErrorException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InvalidParameterException"}, {"shape":"InvalidParameterValueException"}, {"shape":"ServerInternalErrorException"} ], "documentation":"

Retrieves the status of a given export process. You can retrieve status from a maximum of 100 processes.

" }, "DescribeTags":{ "name":"DescribeTags", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeTagsRequest"}, "output":{"shape":"DescribeTagsResponse"}, "errors":[ {"shape":"AuthorizationErrorException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InvalidParameterException"}, {"shape":"InvalidParameterValueException"}, {"shape":"ServerInternalErrorException"} ], "documentation":"

Retrieves a list of configuration items that are tagged with a specific tag. Or retrieves a list of all tags assigned to a specific configuration item.

" }, "ExportConfigurations":{ "name":"ExportConfigurations", "http":{ "method":"POST", "requestUri":"/" }, "output":{"shape":"ExportConfigurationsResponse"}, "errors":[ {"shape":"AuthorizationErrorException"}, {"shape":"InvalidParameterException"}, {"shape":"InvalidParameterValueException"}, {"shape":"ServerInternalErrorException"}, {"shape":"OperationNotPermittedException"} ], "documentation":"

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 which you can query using the GetExportStatus API. The system imposes a limit of two configuration exports in six hours.

" }, "ListConfigurations":{ "name":"ListConfigurations", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListConfigurationsRequest"}, "output":{"shape":"ListConfigurationsResponse"}, "errors":[ {"shape":"AuthorizationErrorException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InvalidParameterException"}, {"shape":"InvalidParameterValueException"}, {"shape":"ServerInternalErrorException"} ], "documentation":"

Retrieves a list of configurations items according to the criteria you specify in a filter. The filter criteria identify relationship requirements.

" }, "StartDataCollectionByAgentIds":{ "name":"StartDataCollectionByAgentIds", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"StartDataCollectionByAgentIdsRequest"}, "output":{"shape":"StartDataCollectionByAgentIdsResponse"}, "errors":[ {"shape":"AuthorizationErrorException"}, {"shape":"InvalidParameterException"}, {"shape":"InvalidParameterValueException"}, {"shape":"ServerInternalErrorException"} ], "documentation":"

Instructs the specified agents to start collecting data. Agents can reside on host servers or virtual machines in your data center.

" }, "StopDataCollectionByAgentIds":{ "name":"StopDataCollectionByAgentIds", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"StopDataCollectionByAgentIdsRequest"}, "output":{"shape":"StopDataCollectionByAgentIdsResponse"}, "errors":[ {"shape":"AuthorizationErrorException"}, {"shape":"InvalidParameterException"}, {"shape":"InvalidParameterValueException"}, {"shape":"ServerInternalErrorException"} ], "documentation":"

Instructs the specified agents to stop collecting data.

" } }, "shapes":{ "AgentConfigurationStatus":{ "type":"structure", "members":{ "agentId":{ "shape":"String", "documentation":"

The agent ID.

" }, "operationSucceeded":{ "shape":"Boolean", "documentation":"

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.

" }, "description":{ "shape":"String", "documentation":"

A description of the operation performed.

" } }, "documentation":"

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

" }, "AgentConfigurationStatusList":{ "type":"list", "member":{"shape":"AgentConfigurationStatus"} }, "AgentId":{"type":"string"}, "AgentIds":{ "type":"list", "member":{"shape":"AgentId"} }, "AgentInfo":{ "type":"structure", "members":{ "agentId":{ "shape":"AgentId", "documentation":"

The agent ID.

" }, "hostName":{ "shape":"String", "documentation":"

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

" }, "agentNetworkInfoList":{ "shape":"AgentNetworkInfoList", "documentation":"

Network details about the host where the agent resides.

" }, "connectorId":{ "shape":"String", "documentation":"

This data type is currently not valid.

" }, "version":{ "shape":"String", "documentation":"

The agent version.

" }, "health":{ "shape":"AgentStatus", "documentation":"

The health of the agent.

" } }, "documentation":"

Information about agents associated with the user’s AWS account. Information includes agent IDs, IP addresses, media access control (MAC) addresses, agent health, hostname where the agent resides, and agent version for each agent.

" }, "AgentNetworkInfo":{ "type":"structure", "members":{ "ipAddress":{ "shape":"String", "documentation":"

The IP address for the host where the agent resides.

" }, "macAddress":{ "shape":"String", "documentation":"

The MAC address for the host where the agent resides.

" } }, "documentation":"

Network details about the host where the agent resides.

" }, "AgentNetworkInfoList":{ "type":"list", "member":{"shape":"AgentNetworkInfo"} }, "AgentStatus":{ "type":"string", "enum":[ "HEALTHY", "UNHEALTHY", "RUNNING", "UNKNOWN", "BLACKLISTED", "SHUTDOWN" ] }, "AgentsInfo":{ "type":"list", "member":{"shape":"AgentInfo"} }, "AuthorizationErrorException":{ "type":"structure", "members":{ "message":{"shape":"Message"} }, "documentation":"

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

", "exception":true }, "Boolean":{"type":"boolean"}, "Condition":{"type":"string"}, "Configuration":{ "type":"map", "key":{"shape":"String"}, "value":{"shape":"String"} }, "ConfigurationId":{"type":"string"}, "ConfigurationIdList":{ "type":"list", "member":{"shape":"ConfigurationId"} }, "ConfigurationItemType":{ "type":"string", "enum":[ "SERVER", "PROCESS", "CONNECTION" ] }, "ConfigurationTag":{ "type":"structure", "members":{ "configurationType":{ "shape":"ConfigurationItemType", "documentation":"

A type of IT asset that you want to tag.

" }, "configurationId":{ "shape":"ConfigurationId", "documentation":"

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

" }, "key":{ "shape":"TagKey", "documentation":"

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

" }, "value":{ "shape":"TagValue", "documentation":"

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

" }, "timeOfCreation":{ "shape":"TimeStamp", "documentation":"

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

" } }, "documentation":"

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

" }, "ConfigurationTagSet":{ "type":"list", "member":{ "shape":"ConfigurationTag", "locationName":"item" } }, "Configurations":{ "type":"list", "member":{"shape":"Configuration"} }, "ConfigurationsDownloadUrl":{"type":"string"}, "ConfigurationsExportId":{"type":"string"}, "CreateTagsRequest":{ "type":"structure", "required":[ "configurationIds", "tags" ], "members":{ "configurationIds":{ "shape":"ConfigurationIdList", "documentation":"

A list of configuration items that you want to tag.

" }, "tags":{ "shape":"TagSet", "documentation":"

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\"}

" } } }, "CreateTagsResponse":{ "type":"structure", "members":{ } }, "DeleteTagsRequest":{ "type":"structure", "required":["configurationIds"], "members":{ "configurationIds":{ "shape":"ConfigurationIdList", "documentation":"

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

" }, "tags":{ "shape":"TagSet", "documentation":"

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\"}

" } } }, "DeleteTagsResponse":{ "type":"structure", "members":{ } }, "DescribeAgentsRequest":{ "type":"structure", "members":{ "agentIds":{ "shape":"AgentIds", "documentation":"

The agent IDs for which you want information. If you specify no IDs, the system returns information about all agents associated with your AWS user account.

" }, "maxResults":{ "shape":"Integer", "documentation":"

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

" }, "nextToken":{ "shape":"NextToken", "documentation":"

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

" } } }, "DescribeAgentsResponse":{ "type":"structure", "members":{ "agentsInfo":{ "shape":"AgentsInfo", "documentation":"

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

" }, "nextToken":{ "shape":"NextToken", "documentation":"

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

" } } }, "DescribeConfigurationsAttribute":{ "type":"map", "key":{"shape":"String"}, "value":{"shape":"String"} }, "DescribeConfigurationsAttributes":{ "type":"list", "member":{"shape":"DescribeConfigurationsAttribute"} }, "DescribeConfigurationsRequest":{ "type":"structure", "required":["configurationIds"], "members":{ "configurationIds":{ "shape":"ConfigurationIdList", "documentation":"

One or more configuration IDs.

" } } }, "DescribeConfigurationsResponse":{ "type":"structure", "members":{ "configurations":{ "shape":"DescribeConfigurationsAttributes", "documentation":"

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

" } } }, "DescribeExportConfigurationsRequest":{ "type":"structure", "members":{ "exportIds":{ "shape":"ExportIds", "documentation":"

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

" }, "maxResults":{ "shape":"Integer", "documentation":"

The maximum number of results that you want to display as a part of the query.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

A token to get the next set of results. For example, if you specified 100 IDs for DescribeConfigurationsRequest$configurationIds but set DescribeExportConfigurationsRequest$maxResults to 10, you will get results in a set of 10. Use the token in the query to get the next set of 10.

" } } }, "DescribeExportConfigurationsResponse":{ "type":"structure", "members":{ "exportsInfo":{ "shape":"ExportsInfo", "documentation":"

Returns export details. When the status is complete, the response includes a URL for an Amazon S3 bucket where you can view the data in a CSV file.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

A token to get the next set of results. For example, if you specified 100 IDs for DescribeConfigurationsRequest$configurationIds but set DescribeExportConfigurationsRequest$maxResults to 10, you will get results in a set of 10. Use the token in the query to get the next set of 10.

" } } }, "DescribeTagsRequest":{ "type":"structure", "members":{ "filters":{ "shape":"TagFilters", "documentation":"

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":{ "shape":"Integer", "documentation":"

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

" }, "nextToken":{ "shape":"NextToken", "documentation":"

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

" } } }, "DescribeTagsResponse":{ "type":"structure", "members":{ "tags":{ "shape":"ConfigurationTagSet", "documentation":"

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.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

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

" } } }, "ExportConfigurationsResponse":{ "type":"structure", "members":{ "exportId":{ "shape":"ConfigurationsExportId", "documentation":"

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

" } } }, "ExportIds":{ "type":"list", "member":{"shape":"ConfigurationsExportId"} }, "ExportInfo":{ "type":"structure", "required":[ "exportId", "exportStatus", "statusMessage", "exportRequestTime" ], "members":{ "exportId":{ "shape":"ConfigurationsExportId", "documentation":"

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

" }, "exportStatus":{ "shape":"ExportStatus", "documentation":"

The status of the configuration data export. The status can succeed, fail, or be in-progress.

" }, "statusMessage":{ "shape":"ExportStatusMessage", "documentation":"

Helpful status messages for API callers. For example: Too many exports in the last 6 hours. Export in progress. Export was successful.

" }, "configurationsDownloadUrl":{ "shape":"ConfigurationsDownloadUrl", "documentation":"

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

" }, "exportRequestTime":{ "shape":"ExportRequestTime", "documentation":"

The time the configuration data export was initiated.

" } }, "documentation":"

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

" }, "ExportRequestTime":{"type":"timestamp"}, "ExportStatus":{ "type":"string", "enum":[ "FAILED", "SUCCEEDED", "IN_PROGRESS" ] }, "ExportStatusMessage":{"type":"string"}, "ExportsInfo":{ "type":"list", "member":{"shape":"ExportInfo"} }, "Filter":{ "type":"structure", "required":[ "name", "values", "condition" ], "members":{ "name":{ "shape":"String", "documentation":"

The name of the filter. The following filter names are allowed for SERVER configuration items.

Server

The name of the filter. The following filter names are allowed for PROCESS configuration items.

Process

The name of the filter. The following filter names are allowed for CONNECTION configuration items.

Connection

" }, "values":{ "shape":"FilterValues", "documentation":"

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

" }, "condition":{ "shape":"Condition", "documentation":"

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.

" } }, "documentation":"

A filter that can use conditional operators.

" }, "FilterName":{"type":"string"}, "FilterValue":{"type":"string"}, "FilterValues":{ "type":"list", "member":{ "shape":"FilterValue", "locationName":"item" } }, "Filters":{ "type":"list", "member":{"shape":"Filter"} }, "Integer":{"type":"integer"}, "InvalidParameterException":{ "type":"structure", "members":{ "message":{"shape":"Message"} }, "documentation":"

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

", "exception":true }, "InvalidParameterValueException":{ "type":"structure", "members":{ "message":{"shape":"Message"} }, "documentation":"

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

", "exception":true }, "ListConfigurationsRequest":{ "type":"structure", "required":["configurationType"], "members":{ "configurationType":{ "shape":"ConfigurationItemType", "documentation":"

A valid configuration identified by the Discovery Service.

" }, "filters":{ "shape":"Filters", "documentation":"

You can filter the list using a key-value format. For example:

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

You can separate these items by using logical operators.

" }, "maxResults":{ "shape":"Integer", "documentation":"

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

" }, "nextToken":{ "shape":"NextToken", "documentation":"

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

" } } }, "ListConfigurationsResponse":{ "type":"structure", "members":{ "configurations":{ "shape":"Configurations", "documentation":"

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

" }, "nextToken":{ "shape":"NextToken", "documentation":"

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

" } } }, "Message":{"type":"string"}, "NextToken":{"type":"string"}, "OperationNotPermittedException":{ "type":"structure", "members":{ "message":{"shape":"Message"} }, "documentation":"

This operation is not permitted.

", "exception":true }, "ResourceNotFoundException":{ "type":"structure", "members":{ "message":{"shape":"Message"} }, "documentation":"

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

", "exception":true }, "ServerInternalErrorException":{ "type":"structure", "members":{ "message":{"shape":"Message"} }, "documentation":"

The server experienced an internal error. Try again.

", "exception":true, "fault":true }, "StartDataCollectionByAgentIdsRequest":{ "type":"structure", "required":["agentIds"], "members":{ "agentIds":{ "shape":"AgentIds", "documentation":"

The IDs of the agents that you want to start collecting data. If you send a request to an AWS agent ID that you do not have permission to contact, according to your AWS 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.

" } } }, "StartDataCollectionByAgentIdsResponse":{ "type":"structure", "members":{ "agentsConfigurationStatus":{ "shape":"AgentConfigurationStatusList", "documentation":"

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

" } } }, "StopDataCollectionByAgentIdsRequest":{ "type":"structure", "required":["agentIds"], "members":{ "agentIds":{ "shape":"AgentIds", "documentation":"

The IDs of the agents that you want to stop collecting data.

" } } }, "StopDataCollectionByAgentIdsResponse":{ "type":"structure", "members":{ "agentsConfigurationStatus":{ "shape":"AgentConfigurationStatusList", "documentation":"

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

" } } }, "String":{"type":"string"}, "Tag":{ "type":"structure", "required":[ "key", "value" ], "members":{ "key":{ "shape":"TagKey", "documentation":"

A type of tag to filter on.

" }, "value":{ "shape":"TagValue", "documentation":"

A value for a tag key to filter on.

" } }, "documentation":"

Metadata that help you categorize IT assets.

" }, "TagFilter":{ "type":"structure", "required":[ "name", "values" ], "members":{ "name":{ "shape":"FilterName", "documentation":"

A name of a tag filter.

" }, "values":{ "shape":"FilterValues", "documentation":"

Values of a tag filter.

" } }, "documentation":"

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

" }, "TagFilters":{ "type":"list", "member":{"shape":"TagFilter"} }, "TagKey":{"type":"string"}, "TagSet":{ "type":"list", "member":{ "shape":"Tag", "locationName":"item" } }, "TagValue":{"type":"string"}, "TimeStamp":{"type":"timestamp"} }, "documentation":"

The AWS Application Discovery Service helps Systems Integrators quickly and reliably plan application migration projects by automatically identifying applications running in on-premises data centers, their associated dependencies, and their performance profile.

Planning data center migrations can involve thousands of workloads that are often deeply interdependent. Application discovery and dependency mapping are important early first steps in the migration process, but difficult to perform at scale due to the lack of automated tools.

The AWS Application Discovery Service automatically collects configuration and usage data from servers to develop a list of applications, how they perform, and how they are interdependent. This information is securely retained in an AWS Application Discovery Service database which you can export as a CSV file into your preferred visualization tool or cloud migration solution to help reduce the complexity and time in planning your cloud migration.

The Application Discovery Service is currently available for preview. Only customers who are engaged with AWS Professional Services or a certified AWS partner can use the service. To see the list of certified partners and request access to the Application Discovery Service, complete the following preview form.

This API reference provides descriptions, syntax, and usage examples for each of the actions and data types for the Discovery Service. The topic for each action shows the API request parameters and the response. Alternatively, you can use one of the AWS SDKs to access an API that is tailored to the programming language or platform that you're using. For more information, see AWS SDKs.

This guide is intended for use with the AWS Discovery Service User Guide .

The following are short descriptions of each API action, organized by function.

Managing AWS Agents Using the Application Discovery Service

An AWS agent is software that you install on on-premises servers and virtual machines that are targeted for discovery and migration. Agents run on Linux and Windows Server and collect server configuration and activity information about your applications and infrastructure. Specifically, agents collect the following information and send it to the Application Discovery Service using Secure Sockets Layer (SSL) encryption:

The Application Discovery Service API includes the following actions to manage AWS agents:

Querying Configuration Items

A configuration item is an IT asset that was discovered in your data center by an AWS agent. When you use the Application Discovery Service, you can specify filters and query specific configuration items. The service supports Server, Process, and Connection configuration items. This means you can specify a value for the following keys and query your IT assets:

Server

Process

Connection

The Application Discovery Service includes the following actions for querying configuration items.

Tagging Discovered Configuration Items

You can tag discovered configuration items. Tags are metadata that help you categorize IT assets in your data center. Tags use a key-value format. For example, {\"key\": \"serverType\", \"value\": \"webServer\"}.

Exporting Data

You can export data as a CSV file to an Amazon S3 bucket or into your preferred visualization tool or cloud migration solution to help reduce the complexity and time in planning your cloud migration.

" }