software.amazon.awssdk.services.applicationdiscovery.ApplicationDiscoveryAsyncClient Maven / Gradle / Ivy
/*
* Copyright 2013-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package software.amazon.awssdk.services.applicationdiscovery;
import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import javax.annotation.Generated;
import software.amazon.awssdk.core.SdkClient;
import software.amazon.awssdk.services.applicationdiscovery.model.AssociateConfigurationItemsToApplicationRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.AssociateConfigurationItemsToApplicationResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.CreateApplicationRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.CreateApplicationResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.CreateTagsRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.CreateTagsResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.DeleteApplicationsRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.DeleteApplicationsResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.DeleteTagsRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.DeleteTagsResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.DescribeAgentsRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.DescribeAgentsResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.DescribeConfigurationsRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.DescribeConfigurationsResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.DescribeExportConfigurationsRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.DescribeExportConfigurationsResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.DescribeExportTasksRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.DescribeExportTasksResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.DescribeTagsRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.DescribeTagsResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.DisassociateConfigurationItemsFromApplicationRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.DisassociateConfigurationItemsFromApplicationResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.ExportConfigurationsRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.ExportConfigurationsResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.GetDiscoverySummaryRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.GetDiscoverySummaryResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.ListConfigurationsRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.ListConfigurationsResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.ListServerNeighborsRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.ListServerNeighborsResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.StartDataCollectionByAgentIdsRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.StartDataCollectionByAgentIdsResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.StartExportTaskRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.StartExportTaskResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.StopDataCollectionByAgentIdsRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.StopDataCollectionByAgentIdsResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.UpdateApplicationRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.UpdateApplicationResponse;
import software.amazon.awssdk.utils.SdkAutoCloseable;
/**
* Service client for accessing null asynchronously. This can be created using the static {@link #builder()} method.
*
* AWS Application Discovery Service
*
* 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 .
*
*/
@Generated("software.amazon.awssdk:codegen")
public interface ApplicationDiscoveryAsyncClient extends SdkClient, SdkAutoCloseable {
String SERVICE_NAME = "discovery";
/**
* Create a {@link ApplicationDiscoveryAsyncClient} with the region loaded from the
* {@link software.amazon.awssdk.core.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from
* the {@link software.amazon.awssdk.core.auth.DefaultCredentialsProvider}.
*/
static ApplicationDiscoveryAsyncClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link ApplicationDiscoveryAsyncClient}.
*/
static ApplicationDiscoveryAsyncClientBuilder builder() {
return new DefaultApplicationDiscoveryAsyncClientBuilder();
}
/**
*
* Associates one or more configuration items with an application.
*
*
* @param associateConfigurationItemsToApplicationRequest
* @return A Java Future containing the result of the AssociateConfigurationItemsToApplication operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.AssociateConfigurationItemsToApplication
*/
default CompletableFuture associateConfigurationItemsToApplication(
AssociateConfigurationItemsToApplicationRequest associateConfigurationItemsToApplicationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Associates one or more configuration items with an application.
*
*
* This is a convenience which creates an instance of the
* {@link AssociateConfigurationItemsToApplicationRequest.Builder} avoiding the need to create one manually via
* {@link AssociateConfigurationItemsToApplicationRequest#builder()}
*
* @param associateConfigurationItemsToApplicationRequest
* a {@link Consumer} that will call methods on
* {@link AssociateConfigurationItemsToApplicationRequest.Builder}.
* @return A Java Future containing the result of the AssociateConfigurationItemsToApplication operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.AssociateConfigurationItemsToApplication
*/
default CompletableFuture associateConfigurationItemsToApplication(
Consumer associateConfigurationItemsToApplicationRequest) {
return associateConfigurationItemsToApplication(AssociateConfigurationItemsToApplicationRequest.builder()
.apply(associateConfigurationItemsToApplicationRequest).build());
}
/**
*
* Creates an application with the given name and description.
*
*
* @param createApplicationRequest
* @return A Java Future containing the result of the CreateApplication operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.CreateApplication
*/
default CompletableFuture createApplication(CreateApplicationRequest createApplicationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates an application with the given name and description.
*
*
* This is a convenience which creates an instance of the {@link CreateApplicationRequest.Builder} avoiding the need
* to create one manually via {@link CreateApplicationRequest#builder()}
*
* @param createApplicationRequest
* a {@link Consumer} that will call methods on {@link CreateApplicationRequest.Builder}.
* @return A Java Future containing the result of the CreateApplication operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.CreateApplication
*/
default CompletableFuture createApplication(
Consumer createApplicationRequest) {
return createApplication(CreateApplicationRequest.builder().apply(createApplicationRequest).build());
}
/**
*
* 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.
*
*
* @param createTagsRequest
* @return A Java Future containing the result of the CreateTags operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.CreateTags
*/
default CompletableFuture createTags(CreateTagsRequest createTagsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
* This is a convenience which creates an instance of the {@link CreateTagsRequest.Builder} avoiding the need to
* create one manually via {@link CreateTagsRequest#builder()}
*
* @param createTagsRequest
* a {@link Consumer} that will call methods on {@link CreateTagsRequest.Builder}.
* @return A Java Future containing the result of the CreateTags operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.CreateTags
*/
default CompletableFuture createTags(Consumer createTagsRequest) {
return createTags(CreateTagsRequest.builder().apply(createTagsRequest).build());
}
/**
*
* Deletes a list of applications and their associations with configuration items.
*
*
* @param deleteApplicationsRequest
* @return A Java Future containing the result of the DeleteApplications operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.DeleteApplications
*/
default CompletableFuture deleteApplications(DeleteApplicationsRequest deleteApplicationsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a list of applications and their associations with configuration items.
*
*
* This is a convenience which creates an instance of the {@link DeleteApplicationsRequest.Builder} avoiding the
* need to create one manually via {@link DeleteApplicationsRequest#builder()}
*
* @param deleteApplicationsRequest
* a {@link Consumer} that will call methods on {@link DeleteApplicationsRequest.Builder}.
* @return A Java Future containing the result of the DeleteApplications operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.DeleteApplications
*/
default CompletableFuture deleteApplications(
Consumer deleteApplicationsRequest) {
return deleteApplications(DeleteApplicationsRequest.builder().apply(deleteApplicationsRequest).build());
}
/**
*
* Deletes the association between configuration items and one or more tags. This API accepts a list of multiple
* configuration items.
*
*
* @param deleteTagsRequest
* @return A Java Future containing the result of the DeleteTags operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.DeleteTags
*/
default CompletableFuture deleteTags(DeleteTagsRequest deleteTagsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the association between configuration items and one or more tags. This API accepts a list of multiple
* configuration items.
*
*
* This is a convenience which creates an instance of the {@link DeleteTagsRequest.Builder} avoiding the need to
* create one manually via {@link DeleteTagsRequest#builder()}
*
* @param deleteTagsRequest
* a {@link Consumer} that will call methods on {@link DeleteTagsRequest.Builder}.
* @return A Java Future containing the result of the DeleteTags operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.DeleteTags
*/
default CompletableFuture deleteTags(Consumer deleteTagsRequest) {
return deleteTags(DeleteTagsRequest.builder().apply(deleteTagsRequest).build());
}
/**
*
* Lists agents or the Connector by ID or lists all agents/Connectors associated with your user account if you did
* not specify an ID.
*
*
* @param describeAgentsRequest
* @return A Java Future containing the result of the DescribeAgents operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.DescribeAgents
*/
default CompletableFuture describeAgents(DescribeAgentsRequest describeAgentsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists agents or the Connector by ID or lists all agents/Connectors associated with your user account if you did
* not specify an ID.
*
*
* @return A Java Future containing the result of the DescribeAgents operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.DescribeAgents
*/
default CompletableFuture describeAgents() {
return describeAgents(DescribeAgentsRequest.builder().build());
}
/**
*
* Lists agents or the Connector by ID or lists all agents/Connectors associated with your user account if you did
* not specify an ID.
*
*
* This is a convenience which creates an instance of the {@link DescribeAgentsRequest.Builder} avoiding the need to
* create one manually via {@link DescribeAgentsRequest#builder()}
*
* @param describeAgentsRequest
* a {@link Consumer} that will call methods on {@link DescribeAgentsRequest.Builder}.
* @return A Java Future containing the result of the DescribeAgents operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.DescribeAgents
*/
default CompletableFuture describeAgents(Consumer describeAgentsRequest) {
return describeAgents(DescribeAgentsRequest.builder().apply(describeAgentsRequest).build());
}
/**
*
* 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.
*
*
* @param describeConfigurationsRequest
* @return A Java Future containing the result of the DescribeConfigurations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.DescribeConfigurations
*/
default CompletableFuture describeConfigurations(
DescribeConfigurationsRequest describeConfigurationsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
* This is a convenience which creates an instance of the {@link DescribeConfigurationsRequest.Builder} avoiding the
* need to create one manually via {@link DescribeConfigurationsRequest#builder()}
*
* @param describeConfigurationsRequest
* a {@link Consumer} that will call methods on {@link DescribeConfigurationsRequest.Builder}.
* @return A Java Future containing the result of the DescribeConfigurations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.DescribeConfigurations
*/
default CompletableFuture describeConfigurations(
Consumer describeConfigurationsRequest) {
return describeConfigurations(DescribeConfigurationsRequest.builder().apply(describeConfigurationsRequest).build());
}
/**
*
* Deprecated. Use DescribeExportTasks
instead.
*
*
* Retrieves the status of a given export process. You can retrieve status from a maximum of 100 processes.
*
*
* @param describeExportConfigurationsRequest
* @return A Java Future containing the result of the DescribeExportConfigurations operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.DescribeExportConfigurations
*/
default CompletableFuture describeExportConfigurations(
DescribeExportConfigurationsRequest describeExportConfigurationsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deprecated. Use DescribeExportTasks
instead.
*
*
* Retrieves the status of a given export process. You can retrieve status from a maximum of 100 processes.
*
*
* @return A Java Future containing the result of the DescribeExportConfigurations operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.DescribeExportConfigurations
*/
default CompletableFuture describeExportConfigurations() {
return describeExportConfigurations(DescribeExportConfigurationsRequest.builder().build());
}
/**
*
* Deprecated. Use DescribeExportTasks
instead.
*
*
* Retrieves the status of a given export process. You can retrieve status from a maximum of 100 processes.
*
*
* This is a convenience which creates an instance of the {@link DescribeExportConfigurationsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeExportConfigurationsRequest#builder()}
*
* @param describeExportConfigurationsRequest
* a {@link Consumer} that will call methods on {@link DescribeExportConfigurationsRequest.Builder}.
* @return A Java Future containing the result of the DescribeExportConfigurations operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.DescribeExportConfigurations
*/
default CompletableFuture describeExportConfigurations(
Consumer describeExportConfigurationsRequest) {
return describeExportConfigurations(DescribeExportConfigurationsRequest.builder()
.apply(describeExportConfigurationsRequest).build());
}
/**
*
* Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
*
*
* @param describeExportTasksRequest
* @return A Java Future containing the result of the DescribeExportTasks operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.DescribeExportTasks
*/
default CompletableFuture describeExportTasks(
DescribeExportTasksRequest describeExportTasksRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
*
*
* @return A Java Future containing the result of the DescribeExportTasks operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.DescribeExportTasks
*/
default CompletableFuture describeExportTasks() {
return describeExportTasks(DescribeExportTasksRequest.builder().build());
}
/**
*
* Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
*
*
* This is a convenience which creates an instance of the {@link DescribeExportTasksRequest.Builder} avoiding the
* need to create one manually via {@link DescribeExportTasksRequest#builder()}
*
* @param describeExportTasksRequest
* a {@link Consumer} that will call methods on {@link DescribeExportTasksRequest.Builder}.
* @return A Java Future containing the result of the DescribeExportTasks operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.DescribeExportTasks
*/
default CompletableFuture describeExportTasks(
Consumer describeExportTasksRequest) {
return describeExportTasks(DescribeExportTasksRequest.builder().apply(describeExportTasksRequest).build());
}
/**
*
* 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.
*
*
* @param describeTagsRequest
* @return A Java Future containing the result of the DescribeTags operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.DescribeTags
*/
default CompletableFuture describeTags(DescribeTagsRequest describeTagsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
* @return A Java Future containing the result of the DescribeTags operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.DescribeTags
*/
default CompletableFuture describeTags() {
return describeTags(DescribeTagsRequest.builder().build());
}
/**
*
* 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.
*
*
* This is a convenience which creates an instance of the {@link DescribeTagsRequest.Builder} avoiding the need to
* create one manually via {@link DescribeTagsRequest#builder()}
*
* @param describeTagsRequest
* a {@link Consumer} that will call methods on {@link DescribeTagsRequest.Builder}.
* @return A Java Future containing the result of the DescribeTags operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.DescribeTags
*/
default CompletableFuture describeTags(Consumer describeTagsRequest) {
return describeTags(DescribeTagsRequest.builder().apply(describeTagsRequest).build());
}
/**
*
* Disassociates one or more configuration items from an application.
*
*
* @param disassociateConfigurationItemsFromApplicationRequest
* @return A Java Future containing the result of the DisassociateConfigurationItemsFromApplication operation
* returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.DisassociateConfigurationItemsFromApplication
*/
default CompletableFuture disassociateConfigurationItemsFromApplication(
DisassociateConfigurationItemsFromApplicationRequest disassociateConfigurationItemsFromApplicationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Disassociates one or more configuration items from an application.
*
*
* This is a convenience which creates an instance of the
* {@link DisassociateConfigurationItemsFromApplicationRequest.Builder} avoiding the need to create one manually via
* {@link DisassociateConfigurationItemsFromApplicationRequest#builder()}
*
* @param disassociateConfigurationItemsFromApplicationRequest
* a {@link Consumer} that will call methods on
* {@link DisassociateConfigurationItemsFromApplicationRequest.Builder}.
* @return A Java Future containing the result of the DisassociateConfigurationItemsFromApplication operation
* returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.DisassociateConfigurationItemsFromApplication
*/
default CompletableFuture disassociateConfigurationItemsFromApplication(
Consumer disassociateConfigurationItemsFromApplicationRequest) {
return disassociateConfigurationItemsFromApplication(DisassociateConfigurationItemsFromApplicationRequest.builder()
.apply(disassociateConfigurationItemsFromApplicationRequest).build());
}
/**
*
* 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.
*
*
* @param exportConfigurationsRequest
* @return A Java Future containing the result of the ExportConfigurations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.ExportConfigurations
*/
default CompletableFuture exportConfigurations(
ExportConfigurationsRequest exportConfigurationsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
* @return A Java Future containing the result of the ExportConfigurations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.ExportConfigurations
*/
default CompletableFuture exportConfigurations() {
return exportConfigurations(ExportConfigurationsRequest.builder().build());
}
/**
*
* 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.
*
*
* This is a convenience which creates an instance of the {@link ExportConfigurationsRequest.Builder} avoiding the
* need to create one manually via {@link ExportConfigurationsRequest#builder()}
*
* @param exportConfigurationsRequest
* a {@link Consumer} that will call methods on {@link ExportConfigurationsRequest.Builder}.
* @return A Java Future containing the result of the ExportConfigurations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.ExportConfigurations
*/
default CompletableFuture exportConfigurations(
Consumer exportConfigurationsRequest) {
return exportConfigurations(ExportConfigurationsRequest.builder().apply(exportConfigurationsRequest).build());
}
/**
*
* Retrieves a short summary of discovered assets.
*
*
* @param getDiscoverySummaryRequest
* @return A Java Future containing the result of the GetDiscoverySummary operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.GetDiscoverySummary
*/
default CompletableFuture getDiscoverySummary(
GetDiscoverySummaryRequest getDiscoverySummaryRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a short summary of discovered assets.
*
*
* @return A Java Future containing the result of the GetDiscoverySummary operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.GetDiscoverySummary
*/
default CompletableFuture getDiscoverySummary() {
return getDiscoverySummary(GetDiscoverySummaryRequest.builder().build());
}
/**
*
* Retrieves a short summary of discovered assets.
*
*
* This is a convenience which creates an instance of the {@link GetDiscoverySummaryRequest.Builder} avoiding the
* need to create one manually via {@link GetDiscoverySummaryRequest#builder()}
*
* @param getDiscoverySummaryRequest
* a {@link Consumer} that will call methods on {@link GetDiscoverySummaryRequest.Builder}.
* @return A Java Future containing the result of the GetDiscoverySummary operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.GetDiscoverySummary
*/
default CompletableFuture getDiscoverySummary(
Consumer getDiscoverySummaryRequest) {
return getDiscoverySummary(GetDiscoverySummaryRequest.builder().apply(getDiscoverySummaryRequest).build());
}
/**
*
* Retrieves a list of configuration items according to criteria that you specify in a filter. The filter criteria
* identifies the relationship requirements.
*
*
* @param listConfigurationsRequest
* @return A Java Future containing the result of the ListConfigurations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.ListConfigurations
*/
default CompletableFuture listConfigurations(ListConfigurationsRequest listConfigurationsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a list of configuration items according to criteria that you specify in a filter. The filter criteria
* identifies the relationship requirements.
*
*
* This is a convenience which creates an instance of the {@link ListConfigurationsRequest.Builder} avoiding the
* need to create one manually via {@link ListConfigurationsRequest#builder()}
*
* @param listConfigurationsRequest
* a {@link Consumer} that will call methods on {@link ListConfigurationsRequest.Builder}.
* @return A Java Future containing the result of the ListConfigurations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.ListConfigurations
*/
default CompletableFuture listConfigurations(
Consumer listConfigurationsRequest) {
return listConfigurations(ListConfigurationsRequest.builder().apply(listConfigurationsRequest).build());
}
/**
*
* Retrieves a list of servers that are one network hop away from a specified server.
*
*
* @param listServerNeighborsRequest
* @return A Java Future containing the result of the ListServerNeighbors operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.ListServerNeighbors
*/
default CompletableFuture listServerNeighbors(
ListServerNeighborsRequest listServerNeighborsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a list of servers that are one network hop away from a specified server.
*
*
* This is a convenience which creates an instance of the {@link ListServerNeighborsRequest.Builder} avoiding the
* need to create one manually via {@link ListServerNeighborsRequest#builder()}
*
* @param listServerNeighborsRequest
* a {@link Consumer} that will call methods on {@link ListServerNeighborsRequest.Builder}.
* @return A Java Future containing the result of the ListServerNeighbors operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.ListServerNeighbors
*/
default CompletableFuture listServerNeighbors(
Consumer listServerNeighborsRequest) {
return listServerNeighbors(ListServerNeighborsRequest.builder().apply(listServerNeighborsRequest).build());
}
/**
*
* Instructs the specified agents or connectors to start collecting data.
*
*
* @param startDataCollectionByAgentIdsRequest
* @return A Java Future containing the result of the StartDataCollectionByAgentIds operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.StartDataCollectionByAgentIds
*/
default CompletableFuture startDataCollectionByAgentIds(
StartDataCollectionByAgentIdsRequest startDataCollectionByAgentIdsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Instructs the specified agents or connectors to start collecting data.
*
*
* This is a convenience which creates an instance of the {@link StartDataCollectionByAgentIdsRequest.Builder}
* avoiding the need to create one manually via {@link StartDataCollectionByAgentIdsRequest#builder()}
*
* @param startDataCollectionByAgentIdsRequest
* a {@link Consumer} that will call methods on {@link StartDataCollectionByAgentIdsRequest.Builder}.
* @return A Java Future containing the result of the StartDataCollectionByAgentIds operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.StartDataCollectionByAgentIds
*/
default CompletableFuture startDataCollectionByAgentIds(
Consumer startDataCollectionByAgentIdsRequest) {
return startDataCollectionByAgentIds(StartDataCollectionByAgentIdsRequest.builder()
.apply(startDataCollectionByAgentIdsRequest).build());
}
/**
*
* 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.
*
*
* @param startExportTaskRequest
* @return A Java Future containing the result of the StartExportTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.StartExportTask
*/
default CompletableFuture startExportTask(StartExportTaskRequest startExportTaskRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
* @return A Java Future containing the result of the StartExportTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.StartExportTask
*/
default CompletableFuture startExportTask() {
return startExportTask(StartExportTaskRequest.builder().build());
}
/**
*
* 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.
*
*
* This is a convenience which creates an instance of the {@link StartExportTaskRequest.Builder} avoiding the need
* to create one manually via {@link StartExportTaskRequest#builder()}
*
* @param startExportTaskRequest
* a {@link Consumer} that will call methods on {@link StartExportTaskRequest.Builder}.
* @return A Java Future containing the result of the StartExportTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.StartExportTask
*/
default CompletableFuture startExportTask(
Consumer startExportTaskRequest) {
return startExportTask(StartExportTaskRequest.builder().apply(startExportTaskRequest).build());
}
/**
*
* Instructs the specified agents or connectors to stop collecting data.
*
*
* @param stopDataCollectionByAgentIdsRequest
* @return A Java Future containing the result of the StopDataCollectionByAgentIds operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.StopDataCollectionByAgentIds
*/
default CompletableFuture stopDataCollectionByAgentIds(
StopDataCollectionByAgentIdsRequest stopDataCollectionByAgentIdsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Instructs the specified agents or connectors to stop collecting data.
*
*
* This is a convenience which creates an instance of the {@link StopDataCollectionByAgentIdsRequest.Builder}
* avoiding the need to create one manually via {@link StopDataCollectionByAgentIdsRequest#builder()}
*
* @param stopDataCollectionByAgentIdsRequest
* a {@link Consumer} that will call methods on {@link StopDataCollectionByAgentIdsRequest.Builder}.
* @return A Java Future containing the result of the StopDataCollectionByAgentIds operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.StopDataCollectionByAgentIds
*/
default CompletableFuture stopDataCollectionByAgentIds(
Consumer stopDataCollectionByAgentIdsRequest) {
return stopDataCollectionByAgentIds(StopDataCollectionByAgentIdsRequest.builder()
.apply(stopDataCollectionByAgentIdsRequest).build());
}
/**
*
* Updates metadata about an application.
*
*
* @param updateApplicationRequest
* @return A Java Future containing the result of the UpdateApplication operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.UpdateApplication
*/
default CompletableFuture updateApplication(UpdateApplicationRequest updateApplicationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates metadata about an application.
*
*
* This is a convenience which creates an instance of the {@link UpdateApplicationRequest.Builder} avoiding the need
* to create one manually via {@link UpdateApplicationRequest#builder()}
*
* @param updateApplicationRequest
* a {@link Consumer} that will call methods on {@link UpdateApplicationRequest.Builder}.
* @return A Java Future containing the result of the UpdateApplication operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ApplicationDiscoveryAsyncClient.UpdateApplication
*/
default CompletableFuture updateApplication(
Consumer updateApplicationRequest) {
return updateApplication(UpdateApplicationRequest.builder().apply(updateApplicationRequest).build());
}
}