@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 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 Amazon-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 the 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. We recommend that you use agent-based discovery for non-VMware environments and if you want 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 to gather information about software and software dependencies.
Agent-based discovery mode collects a richer set of data than agentless discovery by using Amazon software, 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.
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 using offline mode to inspect collected data before it is shared with the service.
Your AWS account must be granted access to Application Discovery Service, a process called whitelisting. This is true for AWS partners and customers alike. To request access, sign up for AWS Application Discovery Service here. We send you information about how to get started.
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 .
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.
|
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 the Connector by ID or lists all agents/Connectors associated with your user account if you did
not specify an ID.
|
DescribeConfigurationsResult |
describeConfigurations(DescribeConfigurationsRequest request)
Retrieves attributes for a list of configuration item IDs.
|
DescribeExportConfigurationsResult |
describeExportConfigurations(DescribeExportConfigurationsRequest request)
Deprecated.
|
DescribeExportTasksResult |
describeExportTasks(DescribeExportTasksRequest request)
Retrieve status of one or more export tasks.
|
DescribeTagsResult |
describeTags(DescribeTagsRequest request)
Retrieves a list of configuration items that are tagged with a specific tag.
|
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 according to criteria that you specify in a filter.
|
ListServerNeighborsResult |
listServerNeighbors(ListServerNeighborsRequest request)
Retrieves a list of servers that are one network hop away from a specified server.
|
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.
|
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, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setEndpoint, setRegion, shutdown
@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.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.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.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.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.public DescribeAgentsResult describeAgents(DescribeAgentsRequest request)
Lists agents or the Connector by ID or lists all agents/Connectors associated with your user account if you did not specify an ID.
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.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 (server, application, process, or connection). Output fields are specific to the asset type selected. For example, the output for a server configuration item includes a list of attributes about the server, such as host name, operating system, and number of network cards.
For a complete list of outputs for each asset type, see Using the DescribeConfigurations Action.
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.@Deprecated public DescribeExportConfigurationsResult describeExportConfigurations(DescribeExportConfigurationsRequest request)
Deprecated. Use DescribeExportTasks
instead.
Retrieves the status of a given export process. You can retrieve status from a maximum of 100 processes.
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.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.public DescribeTagsResult describeTags(DescribeTagsRequest request)
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.
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.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.@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.public GetDiscoverySummaryResult getDiscoverySummary(GetDiscoverySummaryRequest request)
Retrieves a short summary of discovered assets.
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.public ListConfigurationsResult listConfigurations(ListConfigurationsRequest request)
Retrieves a list of configuration items according to criteria that you specify in a filter. The filter criteria identifies the relationship requirements.
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.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.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.public StartExportTaskResult startExportTask(StartExportTaskRequest request)
Begins the export of discovered data to an S3 bucket.
If you specify agentId
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 agentId
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.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.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.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 requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.