@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSApplicationDiscovery extends Object implements AWSApplicationDiscovery
AWSApplicationDiscovery
. Convenient method forms pass through to the corresponding
overload that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
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.
|
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 |
setEndpoint(String endpoint)
Overrides the default endpoint for this client ("https://discovery.us-west-2.amazonaws.com").
|
void |
setRegion(Region region)
An alternative to
AWSApplicationDiscovery.setEndpoint(String) , sets the regional endpoint for this
client's service calls. |
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.
|
public void setEndpoint(String endpoint)
AWSApplicationDiscovery
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.
setEndpoint
in interface AWSApplicationDiscovery
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.public void setRegion(Region region)
AWSApplicationDiscovery
AWSApplicationDiscovery.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.
setRegion
in interface AWSApplicationDiscovery
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)
public AssociateConfigurationItemsToApplicationResult associateConfigurationItemsToApplication(AssociateConfigurationItemsToApplicationRequest request)
AWSApplicationDiscovery
Associates one or more configuration items with an application.
associateConfigurationItemsToApplication
in interface AWSApplicationDiscovery
public BatchDeleteImportDataResult batchDeleteImportData(BatchDeleteImportDataRequest request)
AWSApplicationDiscovery
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
public CreateApplicationResult createApplication(CreateApplicationRequest request)
AWSApplicationDiscovery
Creates an application with the given name and description.
createApplication
in interface AWSApplicationDiscovery
public CreateTagsResult createTags(CreateTagsRequest request)
AWSApplicationDiscovery
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
public DeleteApplicationsResult deleteApplications(DeleteApplicationsRequest request)
AWSApplicationDiscovery
Deletes a list of applications and their associations with configuration items.
deleteApplications
in interface AWSApplicationDiscovery
public DeleteTagsResult deleteTags(DeleteTagsRequest request)
AWSApplicationDiscovery
Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items.
deleteTags
in interface AWSApplicationDiscovery
public DescribeAgentsResult describeAgents(DescribeAgentsRequest request)
AWSApplicationDiscovery
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
public DescribeConfigurationsResult describeConfigurations(DescribeConfigurationsRequest request)
AWSApplicationDiscovery
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
public DescribeContinuousExportsResult describeContinuousExports(DescribeContinuousExportsRequest request)
AWSApplicationDiscovery
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
@Deprecated public DescribeExportConfigurationsResult describeExportConfigurations(DescribeExportConfigurationsRequest request)
AWSApplicationDiscovery
DescribeExportConfigurations
is deprecated. Use DescribeImportTasks, instead.
describeExportConfigurations
in interface AWSApplicationDiscovery
public DescribeExportTasksResult describeExportTasks(DescribeExportTasksRequest request)
AWSApplicationDiscovery
Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
describeExportTasks
in interface AWSApplicationDiscovery
public DescribeImportTasksResult describeImportTasks(DescribeImportTasksRequest request)
AWSApplicationDiscovery
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
public DescribeTagsResult describeTags(DescribeTagsRequest request)
AWSApplicationDiscovery
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
public DisassociateConfigurationItemsFromApplicationResult disassociateConfigurationItemsFromApplication(DisassociateConfigurationItemsFromApplicationRequest request)
AWSApplicationDiscovery
Disassociates one or more configuration items from an application.
disassociateConfigurationItemsFromApplication
in interface AWSApplicationDiscovery
@Deprecated public ExportConfigurationsResult exportConfigurations(ExportConfigurationsRequest request)
AWSApplicationDiscovery
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
public GetDiscoverySummaryResult getDiscoverySummary(GetDiscoverySummaryRequest request)
AWSApplicationDiscovery
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
public ListConfigurationsResult listConfigurations(ListConfigurationsRequest request)
AWSApplicationDiscovery
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
public ListServerNeighborsResult listServerNeighbors(ListServerNeighborsRequest request)
AWSApplicationDiscovery
Retrieves a list of servers that are one network hop away from a specified server.
listServerNeighbors
in interface AWSApplicationDiscovery
public StartContinuousExportResult startContinuousExport(StartContinuousExportRequest request)
AWSApplicationDiscovery
Start the continuous flow of agent's discovered data into Amazon Athena.
startContinuousExport
in interface AWSApplicationDiscovery
public StartDataCollectionByAgentIdsResult startDataCollectionByAgentIds(StartDataCollectionByAgentIdsRequest request)
AWSApplicationDiscovery
Instructs the specified agents or connectors to start collecting data.
startDataCollectionByAgentIds
in interface AWSApplicationDiscovery
public StartExportTaskResult startExportTask(StartExportTaskRequest request)
AWSApplicationDiscovery
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
public StartImportTaskResult startImportTask(StartImportTaskRequest request)
AWSApplicationDiscovery
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
public StopContinuousExportResult stopContinuousExport(StopContinuousExportRequest request)
AWSApplicationDiscovery
Stop the continuous flow of agent's discovered data into Amazon Athena.
stopContinuousExport
in interface AWSApplicationDiscovery
public StopDataCollectionByAgentIdsResult stopDataCollectionByAgentIds(StopDataCollectionByAgentIdsRequest request)
AWSApplicationDiscovery
Instructs the specified agents or connectors to stop collecting data.
stopDataCollectionByAgentIds
in interface AWSApplicationDiscovery
public UpdateApplicationResult updateApplication(UpdateApplicationRequest request)
AWSApplicationDiscovery
Updates metadata about an application.
updateApplication
in interface AWSApplicationDiscovery
public void shutdown()
AWSApplicationDiscovery
shutdown
in interface AWSApplicationDiscovery
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSApplicationDiscovery
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.
getCachedResponseMetadata
in interface AWSApplicationDiscovery
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.