@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSApplicationDiscovery
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSApplicationDiscovery
instead.
AWS Application Discovery Service helps you plan application migration projects by automatically identifying servers, virtual machines (VMs), software, and software dependencies running in your on-premises data centers. Application Discovery Service also collects application performance data, which can help you assess the outcome of your migration. The data collected by Application Discovery Service is securely retained in an AWS-hosted and managed database in the cloud. You can export the data as a CSV or XML file into your preferred visualization tool or cloud-migration solution to plan your migration. For more information, see AWS Application Discovery Service FAQ.
Application Discovery Service offers two modes of operation:
Agentless discovery mode is recommended for environments that use VMware vCenter Server. This mode doesn't require you to install an agent on each host. Agentless discovery gathers server information regardless of the operating systems, which minimizes the time required for initial on-premises infrastructure assessment. Agentless discovery doesn't collect information about software and software dependencies. It also doesn't work in non-VMware environments.
Agent-based discovery mode collects a richer set of data than agentless discovery by using the AWS Application Discovery Agent, which you install on one or more hosts in your data center. The agent captures infrastructure and application information, including an inventory of installed software applications, system and process performance, resource utilization, and network dependencies between workloads. The information collected by agents is secured at rest and in transit to the Application Discovery Service database in the cloud.
We recommend that you use agent-based discovery for non-VMware environments and to collect information about software and software dependencies. You can also run agent-based and agentless discovery simultaneously. Use agentless discovery to quickly complete the initial infrastructure assessment and then install agents on select hosts.
Application Discovery Service integrates with application discovery solutions from AWS Partner Network (APN) partners. Third-party application discovery tools can query Application Discovery Service and write to the Application Discovery Service database using a public API. You can then import the data into either a visualization tool or cloud-migration solution.
Application Discovery Service doesn't gather sensitive information. All data is handled according to the AWS Privacy Policy. You can operate Application Discovery Service offline to inspect collected data before it is shared with the service.
This API reference provides descriptions, syntax, and usage examples for each of the actions and data types for Application 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 Application Discovery Service User Guide .
Remember that you must set your AWS Migration Hub home region before you call any of these APIs, or a
HomeRegionNotSetException
error will be returned. Also, you must make the API calls while in your home
region.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
AssociateConfigurationItemsToApplicationResult |
associateConfigurationItemsToApplication(AssociateConfigurationItemsToApplicationRequest associateConfigurationItemsToApplicationRequest)
Associates one or more configuration items with an application.
|
BatchDeleteImportDataResult |
batchDeleteImportData(BatchDeleteImportDataRequest batchDeleteImportDataRequest)
Deletes one or more import tasks, each identified by their import ID.
|
CreateApplicationResult |
createApplication(CreateApplicationRequest createApplicationRequest)
Creates an application with the given name and description.
|
CreateTagsResult |
createTags(CreateTagsRequest createTagsRequest)
Creates one or more tags for configuration items.
|
DeleteApplicationsResult |
deleteApplications(DeleteApplicationsRequest deleteApplicationsRequest)
Deletes a list of applications and their associations with configuration items.
|
DeleteTagsResult |
deleteTags(DeleteTagsRequest deleteTagsRequest)
Deletes the association between configuration items and one or more tags.
|
DescribeAgentsResult |
describeAgents(DescribeAgentsRequest describeAgentsRequest)
Lists agents or connectors as specified by ID or other filters.
|
DescribeConfigurationsResult |
describeConfigurations(DescribeConfigurationsRequest describeConfigurationsRequest)
Retrieves attributes for a list of configuration item IDs.
|
DescribeContinuousExportsResult |
describeContinuousExports(DescribeContinuousExportsRequest describeContinuousExportsRequest)
Lists exports as specified by ID.
|
DescribeExportConfigurationsResult |
describeExportConfigurations(DescribeExportConfigurationsRequest describeExportConfigurationsRequest)
Deprecated.
|
DescribeExportTasksResult |
describeExportTasks(DescribeExportTasksRequest describeExportTasksRequest)
Retrieve status of one or more export tasks.
|
DescribeImportTasksResult |
describeImportTasks(DescribeImportTasksRequest describeImportTasksRequest)
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.
|
DescribeTagsResult |
describeTags(DescribeTagsRequest describeTagsRequest)
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 . |
DisassociateConfigurationItemsFromApplicationResult |
disassociateConfigurationItemsFromApplication(DisassociateConfigurationItemsFromApplicationRequest disassociateConfigurationItemsFromApplicationRequest)
Disassociates one or more configuration items from an application.
|
ExportConfigurationsResult |
exportConfigurations(ExportConfigurationsRequest exportConfigurationsRequest)
Deprecated.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetDiscoverySummaryResult |
getDiscoverySummary(GetDiscoverySummaryRequest getDiscoverySummaryRequest)
Retrieves a short summary of discovered assets.
|
ListConfigurationsResult |
listConfigurations(ListConfigurationsRequest listConfigurationsRequest)
Retrieves a list of configuration items as specified by the value passed to the required paramater
configurationType . |
ListServerNeighborsResult |
listServerNeighbors(ListServerNeighborsRequest listServerNeighborsRequest)
Retrieves a list of servers that are one network hop away from a specified server.
|
void |
setEndpoint(String endpoint)
Deprecated.
use
AwsClientBuilder#setEndpointConfiguration(AwsClientBuilder.EndpointConfiguration) for
example:
builder.setEndpointConfiguration(new EndpointConfiguration(endpoint, signingRegion)); |
void |
setRegion(Region region)
Deprecated.
use
AwsClientBuilder#setRegion(String) |
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartContinuousExportResult |
startContinuousExport(StartContinuousExportRequest startContinuousExportRequest)
Start the continuous flow of agent's discovered data into Amazon Athena.
|
StartDataCollectionByAgentIdsResult |
startDataCollectionByAgentIds(StartDataCollectionByAgentIdsRequest startDataCollectionByAgentIdsRequest)
Instructs the specified agents or connectors to start collecting data.
|
StartExportTaskResult |
startExportTask(StartExportTaskRequest startExportTaskRequest)
Begins the export of discovered data to an S3 bucket.
|
StartImportTaskResult |
startImportTask(StartImportTaskRequest startImportTaskRequest)
Starts an import task, which allows you to import details of your on-premises environment directly into AWS
without having to use the Application Discovery Service (ADS) tools such as the Discovery Connector or Discovery
Agent.
|
StopContinuousExportResult |
stopContinuousExport(StopContinuousExportRequest stopContinuousExportRequest)
Stop the continuous flow of agent's discovered data into Amazon Athena.
|
StopDataCollectionByAgentIdsResult |
stopDataCollectionByAgentIds(StopDataCollectionByAgentIdsRequest stopDataCollectionByAgentIdsRequest)
Instructs the specified agents or connectors to stop collecting data.
|
UpdateApplicationResult |
updateApplication(UpdateApplicationRequest updateApplicationRequest)
Updates metadata about an application.
|
static final String ENDPOINT_PREFIX
@Deprecated void setEndpoint(String endpoint)
AwsClientBuilder#setEndpointConfiguration(AwsClientBuilder.EndpointConfiguration)
for
example:
builder.setEndpointConfiguration(new EndpointConfiguration(endpoint, signingRegion));
Callers can pass in just the endpoint (ex: "discovery.us-west-2.amazonaws.com") or a full URL, including the
protocol (ex: "https://discovery.us-west-2.amazonaws.com"). If the protocol is not specified here, the default
protocol from this client's ClientConfiguration
will be used, which by default is HTTPS.
For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available endpoints for all AWS services, see: https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/java-dg-region-selection.html#region-selection- choose-endpoint
This method is not threadsafe. An endpoint should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
endpoint
- The endpoint (ex: "discovery.us-west-2.amazonaws.com") or a full URL, including the protocol (ex:
"https://discovery.us-west-2.amazonaws.com") of the region specific AWS endpoint this client will
communicate with.@Deprecated void setRegion(Region region)
AwsClientBuilder#setRegion(String)
setEndpoint(String)
, sets the regional endpoint for this
client's service calls. Callers can use this method to control which AWS region they want to work with.
By default, all service endpoints in all regions use the https protocol. To use http instead, specify it in the
ClientConfiguration
supplied at construction.
This method is not threadsafe. A region should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
region
- The region this client will communicate with. See Region.getRegion(com.amazonaws.regions.Regions)
for accessing a given region. Must not be null and must be a region where the service is available.Region.getRegion(com.amazonaws.regions.Regions)
,
Region.createClient(Class, com.amazonaws.auth.AWSCredentialsProvider, ClientConfiguration)
,
Region.isServiceSupported(String)
AssociateConfigurationItemsToApplicationResult associateConfigurationItemsToApplication(AssociateConfigurationItemsToApplicationRequest associateConfigurationItemsToApplicationRequest)
Associates one or more configuration items with an application.
associateConfigurationItemsToApplicationRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.BatchDeleteImportDataResult batchDeleteImportData(BatchDeleteImportDataRequest batchDeleteImportDataRequest)
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.
AWS 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.
batchDeleteImportDataRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.CreateApplicationResult createApplication(CreateApplicationRequest createApplicationRequest)
Creates an application with the given name and description.
createApplicationRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.CreateTagsResult createTags(CreateTagsRequest createTagsRequest)
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.
createTagsRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.ResourceNotFoundException
- The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.DeleteApplicationsResult deleteApplications(DeleteApplicationsRequest deleteApplicationsRequest)
Deletes a list of applications and their associations with configuration items.
deleteApplicationsRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.DeleteTagsResult deleteTags(DeleteTagsRequest deleteTagsRequest)
Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items.
deleteTagsRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.ResourceNotFoundException
- The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.DescribeAgentsResult describeAgents(DescribeAgentsRequest describeAgentsRequest)
Lists agents or connectors as specified by ID or other filters. All agents/connectors associated with your user
account can be listed if you call DescribeAgents
as is without passing any parameters.
describeAgentsRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.DescribeConfigurationsResult describeConfigurations(DescribeConfigurationsRequest describeConfigurationsRequest)
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.
describeConfigurationsRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.DescribeContinuousExportsResult describeContinuousExports(DescribeContinuousExportsRequest describeContinuousExportsRequest)
Lists exports as specified by ID. All continuous exports associated with your user account can be listed if you
call DescribeContinuousExports
as is without passing any parameters.
describeContinuousExportsRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.OperationNotPermittedException
- This operation is not permitted.ResourceNotFoundException
- The specified configuration ID was not located. Verify the configuration ID and try again.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.@Deprecated DescribeExportConfigurationsResult describeExportConfigurations(DescribeExportConfigurationsRequest describeExportConfigurationsRequest)
DescribeExportConfigurations
is deprecated. Use DescribeImportTasks, instead.
describeExportConfigurationsRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.ResourceNotFoundException
- The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.DescribeExportTasksResult describeExportTasks(DescribeExportTasksRequest describeExportTasksRequest)
Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
describeExportTasksRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.DescribeImportTasksResult describeImportTasks(DescribeImportTasksRequest describeImportTasksRequest)
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.
describeImportTasksRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.DescribeTagsResult describeTags(DescribeTagsRequest describeTagsRequest)
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 account that have tags can be listed if you call
DescribeTags
as is without passing any parameters.
describeTagsRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.ResourceNotFoundException
- The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.DisassociateConfigurationItemsFromApplicationResult disassociateConfigurationItemsFromApplication(DisassociateConfigurationItemsFromApplicationRequest disassociateConfigurationItemsFromApplicationRequest)
Disassociates one or more configuration items from an application.
disassociateConfigurationItemsFromApplicationRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.@Deprecated ExportConfigurationsResult exportConfigurations(ExportConfigurationsRequest exportConfigurationsRequest)
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.
exportConfigurationsRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.OperationNotPermittedException
- This operation is not permitted.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.GetDiscoverySummaryResult getDiscoverySummary(GetDiscoverySummaryRequest getDiscoverySummaryRequest)
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.
getDiscoverySummaryRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.ListConfigurationsResult listConfigurations(ListConfigurationsRequest listConfigurationsRequest)
Retrieves a list of configuration items as specified by the value passed to the required paramater
configurationType
. Optional filtering may be applied to refine search results.
listConfigurationsRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.ResourceNotFoundException
- The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.ListServerNeighborsResult listServerNeighbors(ListServerNeighborsRequest listServerNeighborsRequest)
Retrieves a list of servers that are one network hop away from a specified server.
listServerNeighborsRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.StartContinuousExportResult startContinuousExport(StartContinuousExportRequest startContinuousExportRequest)
Start the continuous flow of agent's discovered data into Amazon Athena.
startContinuousExportRequest
- ConflictErrorException
AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.OperationNotPermittedException
- This operation is not permitted.ResourceInUseException
- 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.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.StartDataCollectionByAgentIdsResult startDataCollectionByAgentIds(StartDataCollectionByAgentIdsRequest startDataCollectionByAgentIdsRequest)
Instructs the specified agents or connectors to start collecting data.
startDataCollectionByAgentIdsRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.StartExportTaskResult startExportTask(StartExportTaskRequest startExportTaskRequest)
Begins the export of discovered data to an S3 bucket.
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.
If you do not include an agentIds
filter, summary data is exported that includes both AWS Agentless
Discovery Connector data and summary data from AWS Discovery Agents. Export of summary data is limited to two
exports per day.
startExportTaskRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.OperationNotPermittedException
- This operation is not permitted.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.StartImportTaskResult startImportTask(StartImportTaskRequest startImportTaskRequest)
Starts an import task, which allows you to import details of your on-premises environment directly into AWS without having to use the Application Discovery Service (ADS) tools such as the Discovery Connector or 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_template.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 AWS CLI or one of the AWS SDKs to import the
records from your file.
For more information, including step-by-step procedures, see Migration Hub Import in the AWS Application Discovery Service User Guide.
There are limits to the number of import tasks you can create (and delete) in an AWS account. For more information, see AWS Application Discovery Service Limits in the AWS Application Discovery Service User Guide.
startImportTaskRequest
- ResourceInUseException
- 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.AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.StopContinuousExportResult stopContinuousExport(StopContinuousExportRequest stopContinuousExportRequest)
Stop the continuous flow of agent's discovered data into Amazon Athena.
stopContinuousExportRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.OperationNotPermittedException
- This operation is not permitted.ResourceNotFoundException
- The specified configuration ID was not located. Verify the configuration ID and try again.ResourceInUseException
- 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.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.StopDataCollectionByAgentIdsResult stopDataCollectionByAgentIds(StopDataCollectionByAgentIdsRequest stopDataCollectionByAgentIdsRequest)
Instructs the specified agents or connectors to stop collecting data.
stopDataCollectionByAgentIdsRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.UpdateApplicationResult updateApplication(UpdateApplicationRequest updateApplicationRequest)
Updates metadata about an application.
updateApplicationRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.HomeRegionNotSetException
- The home region is not set. Set the home region to continue.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.