@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSApplicationDiscoveryClient extends AmazonWebServiceClient implements AWSApplicationDiscovery
AWS Application Discovery Service helps you plan application migration projects. It automatically identifies servers, virtual machines (VMs), and network dependencies in your on-premises data centers. For more information, see the AWS Application Discovery Service FAQ. Application Discovery Service offers three ways of performing discovery and collecting data about your on-premises servers:
Agentless discovery is recommended for environments that use VMware vCenter Server. This mode doesn't require you to install an agent on each host. It does not work in non-VMware environments.
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 network dependencies, only agent-based discovery collects that information.
Agent-based discovery 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 running processes, system performance information, resource utilization, and network dependencies.
The information collected by agents is secured at rest and in transit to the Application Discovery Service database in the cloud.
AWS Partner Network (APN) solutions integrate with Application Discovery Service, enabling you to import details of your on-premises environment directly into Migration Hub without using the discovery connector or discovery agent.
Third-party application discovery tools can query AWS Application Discovery Service, and they can write to the Application Discovery Service database using the public API.
In this way, you can import data into Migration Hub and view it, so that you can associate applications with servers and track migrations.
Recommendations
We recommend that you use agent-based discovery for non-VMware environments, and whenever you want to collect information about network dependencies. You can run agent-based and agentless discovery simultaneously. Use agentless discovery to complete the initial infrastructure assessment quickly, and then install agents on select hosts to collect additional information.
Working With This Guide
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.
Remember that you must set your Migration Hub home region before you call any of these APIs.
You must make API calls for write actions (create, notify, associate, disassociate, import, or put) while in your
home region, or a HomeRegionNotSetException
error is returned.
API calls for read actions (list, describe, stop, and delete) are permitted outside of your home region.
Although it is unlikely, the Migration Hub home region could change. If you call APIs outside the home region, an
InvalidInputException
is returned.
You must call GetHomeRegion
to obtain the latest Migration Hub home region.
This guide is intended for use with the AWS Application Discovery Service User Guide.
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Constructor and Description |
---|
AWSApplicationDiscoveryClient()
Deprecated.
|
AWSApplicationDiscoveryClient(AWSCredentials awsCredentials)
Deprecated.
use
AwsClientBuilder.withCredentials(AWSCredentialsProvider) for example:
AWSApplicationDiscoveryClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build(); |
AWSApplicationDiscoveryClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
|
AWSApplicationDiscoveryClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AWSApplicationDiscoveryClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AWSApplicationDiscoveryClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
|
AWSApplicationDiscoveryClient(ClientConfiguration clientConfiguration)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
AssociateConfigurationItemsToApplicationResult |
associateConfigurationItemsToApplication(AssociateConfigurationItemsToApplicationRequest request)
Associates one or more configuration items with an application.
|
BatchDeleteImportDataResult |
batchDeleteImportData(BatchDeleteImportDataRequest request)
Deletes one or more import tasks, each identified by their import ID.
|
static AWSApplicationDiscoveryClientBuilder |
builder() |
CreateApplicationResult |
createApplication(CreateApplicationRequest request)
Creates an application with the given name and description.
|
CreateTagsResult |
createTags(CreateTagsRequest request)
Creates one or more tags for configuration items.
|
DeleteApplicationsResult |
deleteApplications(DeleteApplicationsRequest request)
Deletes a list of applications and their associations with configuration items.
|
DeleteTagsResult |
deleteTags(DeleteTagsRequest request)
Deletes the association between configuration items and one or more tags.
|
DescribeAgentsResult |
describeAgents(DescribeAgentsRequest request)
Lists agents or connectors as specified by ID or other filters.
|
DescribeConfigurationsResult |
describeConfigurations(DescribeConfigurationsRequest request)
Retrieves attributes for a list of configuration item IDs.
|
DescribeContinuousExportsResult |
describeContinuousExports(DescribeContinuousExportsRequest request)
Lists exports as specified by ID.
|
DescribeExportConfigurationsResult |
describeExportConfigurations(DescribeExportConfigurationsRequest request)
Deprecated.
|
DescribeExportTasksResult |
describeExportTasks(DescribeExportTasksRequest request)
Retrieve status of one or more export tasks.
|
DescribeImportTasksResult |
describeImportTasks(DescribeImportTasksRequest request)
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 request)
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 request)
Disassociates one or more configuration items from an application.
|
ExportConfigurationsResult |
exportConfigurations(ExportConfigurationsRequest request)
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 request)
Retrieves a short summary of discovered assets.
|
ListConfigurationsResult |
listConfigurations(ListConfigurationsRequest request)
Retrieves a list of configuration items as specified by the value passed to the required parameter
configurationType . |
ListServerNeighborsResult |
listServerNeighbors(ListServerNeighborsRequest request)
Retrieves a list of servers that are one network hop away from a specified server.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
StartContinuousExportResult |
startContinuousExport(StartContinuousExportRequest request)
Start the continuous flow of agent's discovered data into Amazon Athena.
|
StartDataCollectionByAgentIdsResult |
startDataCollectionByAgentIds(StartDataCollectionByAgentIdsRequest request)
Instructs the specified agents or connectors to start collecting data.
|
StartExportTaskResult |
startExportTask(StartExportTaskRequest request)
Begins the export of discovered data to an S3 bucket.
|
StartImportTaskResult |
startImportTask(StartImportTaskRequest request)
Starts an import task, which allows you to import details of your on-premises environment directly into AWS
Migration Hub without having to use the Application Discovery Service (ADS) tools such as the Discovery Connector
or Discovery Agent.
|
StopContinuousExportResult |
stopContinuousExport(StopContinuousExportRequest request)
Stop the continuous flow of agent's discovered data into Amazon Athena.
|
StopDataCollectionByAgentIdsResult |
stopDataCollectionByAgentIds(StopDataCollectionByAgentIdsRequest request)
Instructs the specified agents or connectors to stop collecting data.
|
UpdateApplicationResult |
updateApplication(UpdateApplicationRequest request)
Updates metadata about an application.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setEndpoint, setRegion
@Deprecated public AWSApplicationDiscoveryClient()
AWSApplicationDiscoveryClientBuilder.defaultClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain
@Deprecated public AWSApplicationDiscoveryClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration
- The client configuration options controlling how this client connects to AWS Application Discovery Service
(ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProviderChain
@Deprecated public AWSApplicationDiscoveryClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
for example:
AWSApplicationDiscoveryClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build();
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.@Deprecated public AWSApplicationDiscoveryClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration
- The client configuration options controlling how this client connects to AWS Application Discovery Service
(ex: proxy settings, retry counts, etc.).@Deprecated public AWSApplicationDiscoveryClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.@Deprecated public AWSApplicationDiscoveryClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- The client configuration options controlling how this client connects to AWS Application Discovery Service
(ex: proxy settings, retry counts, etc.).@Deprecated public AWSApplicationDiscoveryClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, RequestMetricCollector requestMetricCollector)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsClientBuilder.withMetricsCollector(RequestMetricCollector)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- The client configuration options controlling how this client connects to AWS Application Discovery Service
(ex: proxy settings, retry counts, etc.).requestMetricCollector
- optional request metric collectorpublic static AWSApplicationDiscoveryClientBuilder builder()
public AssociateConfigurationItemsToApplicationResult associateConfigurationItemsToApplication(AssociateConfigurationItemsToApplicationRequest request)
Associates one or more configuration items with an application.
associateConfigurationItemsToApplication
in interface AWSApplicationDiscovery
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.public BatchDeleteImportDataResult batchDeleteImportData(BatchDeleteImportDataRequest request)
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.
batchDeleteImportData
in interface AWSApplicationDiscovery
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.public CreateApplicationResult createApplication(CreateApplicationRequest request)
Creates an application with the given name and description.
createApplication
in interface AWSApplicationDiscovery
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.public CreateTagsResult createTags(CreateTagsRequest request)
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.
createTags
in interface AWSApplicationDiscovery
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.public DeleteApplicationsResult deleteApplications(DeleteApplicationsRequest request)
Deletes a list of applications and their associations with configuration items.
deleteApplications
in interface AWSApplicationDiscovery
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.public DeleteTagsResult deleteTags(DeleteTagsRequest request)
Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items.
deleteTags
in interface AWSApplicationDiscovery
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.public DescribeAgentsResult describeAgents(DescribeAgentsRequest request)
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.
describeAgents
in interface AWSApplicationDiscovery
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.public DescribeConfigurationsResult describeConfigurations(DescribeConfigurationsRequest request)
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 AWS Application Discovery Service User Guide.
describeConfigurations
in interface AWSApplicationDiscovery
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.public DescribeContinuousExportsResult describeContinuousExports(DescribeContinuousExportsRequest request)
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.
describeContinuousExports
in interface AWSApplicationDiscovery
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 public DescribeExportConfigurationsResult describeExportConfigurations(DescribeExportConfigurationsRequest request)
DescribeExportConfigurations
is deprecated. Use DescribeImportTasks, instead.
describeExportConfigurations
in interface AWSApplicationDiscovery
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.public DescribeExportTasksResult describeExportTasks(DescribeExportTasksRequest request)
Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
describeExportTasks
in interface AWSApplicationDiscovery
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.public DescribeImportTasksResult describeImportTasks(DescribeImportTasksRequest request)
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.
describeImportTasks
in interface AWSApplicationDiscovery
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.public DescribeTagsResult describeTags(DescribeTagsRequest request)
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.
describeTags
in interface AWSApplicationDiscovery
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.public DisassociateConfigurationItemsFromApplicationResult disassociateConfigurationItemsFromApplication(DisassociateConfigurationItemsFromApplicationRequest request)
Disassociates one or more configuration items from an application.
disassociateConfigurationItemsFromApplication
in interface AWSApplicationDiscovery
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 public ExportConfigurationsResult exportConfigurations(ExportConfigurationsRequest request)
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.
exportConfigurations
in interface AWSApplicationDiscovery
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.public GetDiscoverySummaryResult getDiscoverySummary(GetDiscoverySummaryRequest request)
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.
getDiscoverySummary
in interface AWSApplicationDiscovery
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.public ListConfigurationsResult listConfigurations(ListConfigurationsRequest request)
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.
listConfigurations
in interface AWSApplicationDiscovery
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.public ListServerNeighborsResult listServerNeighbors(ListServerNeighborsRequest request)
Retrieves a list of servers that are one network hop away from a specified server.
listServerNeighbors
in interface AWSApplicationDiscovery
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.public StartContinuousExportResult startContinuousExport(StartContinuousExportRequest request)
Start the continuous flow of agent's discovered data into Amazon Athena.
startContinuousExport
in interface AWSApplicationDiscovery
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.public StartDataCollectionByAgentIdsResult startDataCollectionByAgentIds(StartDataCollectionByAgentIdsRequest request)
Instructs the specified agents or connectors to start collecting data.
startDataCollectionByAgentIds
in interface AWSApplicationDiscovery
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.public StartExportTaskResult startExportTask(StartExportTaskRequest request)
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.
startExportTask
in interface AWSApplicationDiscovery
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.public StartImportTaskResult startImportTask(StartImportTaskRequest request)
Starts an import task, which allows you to import details of your on-premises environment directly into AWS Migration Hub 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.
startImportTask
in interface AWSApplicationDiscovery
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.public StopContinuousExportResult stopContinuousExport(StopContinuousExportRequest request)
Stop the continuous flow of agent's discovered data into Amazon Athena.
stopContinuousExport
in interface AWSApplicationDiscovery
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.public StopDataCollectionByAgentIdsResult stopDataCollectionByAgentIds(StopDataCollectionByAgentIdsRequest request)
Instructs the specified agents or connectors to stop collecting data.
stopDataCollectionByAgentIds
in interface AWSApplicationDiscovery
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.public UpdateApplicationResult updateApplication(UpdateApplicationRequest request)
Updates metadata about an application.
updateApplication
in interface AWSApplicationDiscovery
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.public 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 the request.
getCachedResponseMetadata
in interface AWSApplicationDiscovery
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AWSApplicationDiscovery
shutdown
in class AmazonWebServiceClient