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 |
---|---|
CreateTagsResult |
createTags(CreateTagsRequest request)
Creates one or more tags for configuration items.
|
DeleteTagsResult |
deleteTags(DeleteTagsRequest request)
Deletes the association between configuration items and one or more tags.
|
DescribeAgentsResult |
describeAgents(DescribeAgentsRequest request)
Lists AWS agents by ID or lists all agents associated with your user
account if you did not specify an agent ID.
|
DescribeConfigurationsResult |
describeConfigurations(DescribeConfigurationsRequest request)
Retrieves a list of attributes for a specific configuration ID.
|
DescribeExportConfigurationsResult |
describeExportConfigurations(DescribeExportConfigurationsRequest request)
Retrieves the status of a given export process.
|
DescribeTagsResult |
describeTags(DescribeTagsRequest request)
Retrieves a list of configuration items that are tagged with a specific
tag.
|
ExportConfigurationsResult |
exportConfigurations(ExportConfigurationsRequest request)
Exports all discovered configuration data to an Amazon S3 bucket or an
application that enables you to view and evaluate the data.
|
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.
|
ListConfigurationsResult |
listConfigurations(ListConfigurationsRequest request)
Retrieves a list of configurations items according to the criteria you
specify in a filter.
|
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.
|
StartDataCollectionByAgentIdsResult |
startDataCollectionByAgentIds(StartDataCollectionByAgentIdsRequest request)
Instructs the specified agents to start collecting data.
|
StopDataCollectionByAgentIdsResult |
stopDataCollectionByAgentIds(StopDataCollectionByAgentIdsRequest request)
Instructs the specified agents to stop collecting data.
|
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: http://developer.amazonwebservices.com/connect/entry.jspa?externalID= 3912
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 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 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 AWS agents by ID or lists all agents associated with your user account if you did not specify an agent ID.
describeAgents
in interface AWSApplicationDiscovery
public DescribeConfigurationsResult describeConfigurations(DescribeConfigurationsRequest request)
AWSApplicationDiscovery
Retrieves a list of attributes for a specific configuration ID. For example, the output for a server configuration item includes a list of attributes about the server, including host name, operating system, number of network cards, etc.
describeConfigurations
in interface AWSApplicationDiscovery
public DescribeExportConfigurationsResult describeExportConfigurations(DescribeExportConfigurationsRequest request)
AWSApplicationDiscovery
Retrieves the status of a given export process. You can retrieve status from a maximum of 100 processes.
describeExportConfigurations
in interface AWSApplicationDiscovery
public DescribeTagsResult describeTags(DescribeTagsRequest request)
AWSApplicationDiscovery
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
public ExportConfigurationsResult exportConfigurations(ExportConfigurationsRequest request)
AWSApplicationDiscovery
Exports all discovered configuration data to an Amazon S3 bucket or an application that enables you to view and evaluate the data. Data includes tags and tag associations, processes, connections, servers, and system performance. This API returns an export ID which you can query using the GetExportStatus API. The system imposes a limit of two configuration exports in six hours.
exportConfigurations
in interface AWSApplicationDiscovery
public ListConfigurationsResult listConfigurations(ListConfigurationsRequest request)
AWSApplicationDiscovery
Retrieves a list of configurations items according to the criteria you specify in a filter. The filter criteria identify relationship requirements.
listConfigurations
in interface AWSApplicationDiscovery
public StartDataCollectionByAgentIdsResult startDataCollectionByAgentIds(StartDataCollectionByAgentIdsRequest request)
AWSApplicationDiscovery
Instructs the specified agents to start collecting data. Agents can reside on host servers or virtual machines in your data center.
startDataCollectionByAgentIds
in interface AWSApplicationDiscovery
public StopDataCollectionByAgentIdsResult stopDataCollectionByAgentIds(StopDataCollectionByAgentIdsRequest request)
AWSApplicationDiscovery
Instructs the specified agents to stop collecting data.
stopDataCollectionByAgentIds
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.