All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.applicationdiscovery.ApplicationDiscoveryClient 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.function.Consumer;
import javax.annotation.Generated;
import software.amazon.awssdk.core.SdkClient;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.core.exception.SdkServiceException;
import software.amazon.awssdk.core.regions.ServiceMetadata;
import software.amazon.awssdk.services.applicationdiscovery.model.ApplicationDiscoveryException;
import software.amazon.awssdk.services.applicationdiscovery.model.AssociateConfigurationItemsToApplicationRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.AssociateConfigurationItemsToApplicationResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.AuthorizationErrorException;
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.InvalidParameterException;
import software.amazon.awssdk.services.applicationdiscovery.model.InvalidParameterValueException;
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.OperationNotPermittedException;
import software.amazon.awssdk.services.applicationdiscovery.model.ResourceNotFoundException;
import software.amazon.awssdk.services.applicationdiscovery.model.ServerInternalErrorException;
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. 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 ApplicationDiscoveryClient extends SdkClient, SdkAutoCloseable { String SERVICE_NAME = "discovery"; /** * Create a {@link ApplicationDiscoveryClient} 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 ApplicationDiscoveryClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link ApplicationDiscoveryClient}. */ static ApplicationDiscoveryClientBuilder builder() { return new DefaultApplicationDiscoveryClientBuilder(); } /** *

* Associates one or more configuration items with an application. *

* * @param associateConfigurationItemsToApplicationRequest * @return Result of the AssociateConfigurationItemsToApplication operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.AssociateConfigurationItemsToApplication */ default AssociateConfigurationItemsToApplicationResponse associateConfigurationItemsToApplication( AssociateConfigurationItemsToApplicationRequest associateConfigurationItemsToApplicationRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { throw new UnsupportedOperationException(); } /** *

* Associates one or more configuration items with an application. *

* * @param associateConfigurationItemsToApplicationRequest * @return Result of the AssociateConfigurationItemsToApplication operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.AssociateConfigurationItemsToApplication */ default AssociateConfigurationItemsToApplicationResponse associateConfigurationItemsToApplication( Consumer associateConfigurationItemsToApplicationRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { return associateConfigurationItemsToApplication(AssociateConfigurationItemsToApplicationRequest.builder() .apply(associateConfigurationItemsToApplicationRequest).build()); } /** *

* Creates an application with the given name and description. *

* * @param createApplicationRequest * @return Result of the CreateApplication operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.CreateApplication */ default CreateApplicationResponse createApplication(CreateApplicationRequest createApplicationRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { throw new UnsupportedOperationException(); } /** *

* Creates an application with the given name and description. *

* * @param createApplicationRequest * @return Result of the CreateApplication operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.CreateApplication */ default CreateApplicationResponse createApplication(Consumer createApplicationRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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 Result of the CreateTags operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws ResourceNotFoundException * The specified configuration ID was not located. Verify the configuration ID and try again. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.CreateTags */ default CreateTagsResponse createTags(CreateTagsRequest createTagsRequest) throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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. *

* * @param createTagsRequest * @return Result of the CreateTags operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws ResourceNotFoundException * The specified configuration ID was not located. Verify the configuration ID and try again. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.CreateTags */ default CreateTagsResponse createTags(Consumer createTagsRequest) throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { return createTags(CreateTagsRequest.builder().apply(createTagsRequest).build()); } /** *

* Deletes a list of applications and their associations with configuration items. *

* * @param deleteApplicationsRequest * @return Result of the DeleteApplications operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.DeleteApplications */ default DeleteApplicationsResponse deleteApplications(DeleteApplicationsRequest deleteApplicationsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { throw new UnsupportedOperationException(); } /** *

* Deletes a list of applications and their associations with configuration items. *

* * @param deleteApplicationsRequest * @return Result of the DeleteApplications operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.DeleteApplications */ default DeleteApplicationsResponse deleteApplications(Consumer deleteApplicationsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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 Result of the DeleteTags operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws ResourceNotFoundException * The specified configuration ID was not located. Verify the configuration ID and try again. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.DeleteTags */ default DeleteTagsResponse deleteTags(DeleteTagsRequest deleteTagsRequest) throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { throw new UnsupportedOperationException(); } /** *

* Deletes the association between configuration items and one or more tags. This API accepts a list of multiple * configuration items. *

* * @param deleteTagsRequest * @return Result of the DeleteTags operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws ResourceNotFoundException * The specified configuration ID was not located. Verify the configuration ID and try again. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.DeleteTags */ default DeleteTagsResponse deleteTags(Consumer deleteTagsRequest) throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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. *

* * @return Result of the DescribeAgents operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.DescribeAgents * @see #describeAgents(DescribeAgentsRequest) */ default DescribeAgentsResponse describeAgents() throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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. *

* * @param describeAgentsRequest * @return Result of the DescribeAgents operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.DescribeAgents */ default DescribeAgentsResponse describeAgents(DescribeAgentsRequest describeAgentsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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. *

* * @param describeAgentsRequest * @return Result of the DescribeAgents operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.DescribeAgents */ default DescribeAgentsResponse describeAgents(Consumer describeAgentsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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 Result of the DescribeConfigurations operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.DescribeConfigurations */ default DescribeConfigurationsResponse describeConfigurations(DescribeConfigurationsRequest describeConfigurationsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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. *

* * @param describeConfigurationsRequest * @return Result of the DescribeConfigurations operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.DescribeConfigurations */ default DescribeConfigurationsResponse describeConfigurations( Consumer describeConfigurationsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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. *

* * @return Result of the DescribeExportConfigurations operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws ResourceNotFoundException * The specified configuration ID was not located. Verify the configuration ID and try again. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.DescribeExportConfigurations * @see #describeExportConfigurations(DescribeExportConfigurationsRequest) */ default DescribeExportConfigurationsResponse describeExportConfigurations() throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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. *

* * @param describeExportConfigurationsRequest * @return Result of the DescribeExportConfigurations operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws ResourceNotFoundException * The specified configuration ID was not located. Verify the configuration ID and try again. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.DescribeExportConfigurations */ default DescribeExportConfigurationsResponse describeExportConfigurations( DescribeExportConfigurationsRequest describeExportConfigurationsRequest) throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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. *

* * @param describeExportConfigurationsRequest * @return Result of the DescribeExportConfigurations operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws ResourceNotFoundException * The specified configuration ID was not located. Verify the configuration ID and try again. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.DescribeExportConfigurations */ default DescribeExportConfigurationsResponse describeExportConfigurations( Consumer describeExportConfigurationsRequest) throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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. *

* * @return Result of the DescribeExportTasks operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.DescribeExportTasks * @see #describeExportTasks(DescribeExportTasksRequest) */ default DescribeExportTasksResponse describeExportTasks() throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { return describeExportTasks(DescribeExportTasksRequest.builder().build()); } /** *

* Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks. *

* * @param describeExportTasksRequest * @return Result of the DescribeExportTasks operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.DescribeExportTasks */ default DescribeExportTasksResponse describeExportTasks(DescribeExportTasksRequest describeExportTasksRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { throw new UnsupportedOperationException(); } /** *

* Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks. *

* * @param describeExportTasksRequest * @return Result of the DescribeExportTasks operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.DescribeExportTasks */ default DescribeExportTasksResponse describeExportTasks( Consumer describeExportTasksRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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. *

* * @return Result of the DescribeTags operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws ResourceNotFoundException * The specified configuration ID was not located. Verify the configuration ID and try again. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.DescribeTags * @see #describeTags(DescribeTagsRequest) */ default DescribeTagsResponse describeTags() throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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. *

* * @param describeTagsRequest * @return Result of the DescribeTags operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws ResourceNotFoundException * The specified configuration ID was not located. Verify the configuration ID and try again. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.DescribeTags */ default DescribeTagsResponse describeTags(DescribeTagsRequest describeTagsRequest) throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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. *

* * @param describeTagsRequest * @return Result of the DescribeTags operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws ResourceNotFoundException * The specified configuration ID was not located. Verify the configuration ID and try again. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.DescribeTags */ default DescribeTagsResponse describeTags(Consumer describeTagsRequest) throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { return describeTags(DescribeTagsRequest.builder().apply(describeTagsRequest).build()); } /** *

* Disassociates one or more configuration items from an application. *

* * @param disassociateConfigurationItemsFromApplicationRequest * @return Result of the DisassociateConfigurationItemsFromApplication operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.DisassociateConfigurationItemsFromApplication */ default DisassociateConfigurationItemsFromApplicationResponse disassociateConfigurationItemsFromApplication( DisassociateConfigurationItemsFromApplicationRequest disassociateConfigurationItemsFromApplicationRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { throw new UnsupportedOperationException(); } /** *

* Disassociates one or more configuration items from an application. *

* * @param disassociateConfigurationItemsFromApplicationRequest * @return Result of the DisassociateConfigurationItemsFromApplication operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.DisassociateConfigurationItemsFromApplication */ default DisassociateConfigurationItemsFromApplicationResponse disassociateConfigurationItemsFromApplication( Consumer disassociateConfigurationItemsFromApplicationRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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. *

* * @return Result of the ExportConfigurations operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws OperationNotPermittedException * This operation is not permitted. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.ExportConfigurations * @see #exportConfigurations(ExportConfigurationsRequest) */ default ExportConfigurationsResponse exportConfigurations() throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, OperationNotPermittedException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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. *

* * @param exportConfigurationsRequest * @return Result of the ExportConfigurations operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws OperationNotPermittedException * This operation is not permitted. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.ExportConfigurations */ default ExportConfigurationsResponse exportConfigurations(ExportConfigurationsRequest exportConfigurationsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, OperationNotPermittedException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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. *

* * @param exportConfigurationsRequest * @return Result of the ExportConfigurations operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws OperationNotPermittedException * This operation is not permitted. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.ExportConfigurations */ default ExportConfigurationsResponse exportConfigurations( Consumer exportConfigurationsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, OperationNotPermittedException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { return exportConfigurations(ExportConfigurationsRequest.builder().apply(exportConfigurationsRequest).build()); } /** *

* Retrieves a short summary of discovered assets. *

* * @return Result of the GetDiscoverySummary operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.GetDiscoverySummary * @see #getDiscoverySummary(GetDiscoverySummaryRequest) */ default GetDiscoverySummaryResponse getDiscoverySummary() throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { return getDiscoverySummary(GetDiscoverySummaryRequest.builder().build()); } /** *

* Retrieves a short summary of discovered assets. *

* * @param getDiscoverySummaryRequest * @return Result of the GetDiscoverySummary operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.GetDiscoverySummary */ default GetDiscoverySummaryResponse getDiscoverySummary(GetDiscoverySummaryRequest getDiscoverySummaryRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { throw new UnsupportedOperationException(); } /** *

* Retrieves a short summary of discovered assets. *

* * @param getDiscoverySummaryRequest * @return Result of the GetDiscoverySummary operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.GetDiscoverySummary */ default GetDiscoverySummaryResponse getDiscoverySummary( Consumer getDiscoverySummaryRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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 Result of the ListConfigurations operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws ResourceNotFoundException * The specified configuration ID was not located. Verify the configuration ID and try again. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.ListConfigurations */ default ListConfigurationsResponse listConfigurations(ListConfigurationsRequest listConfigurationsRequest) throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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. *

* * @param listConfigurationsRequest * @return Result of the ListConfigurations operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws ResourceNotFoundException * The specified configuration ID was not located. Verify the configuration ID and try again. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.ListConfigurations */ default ListConfigurationsResponse listConfigurations(Consumer listConfigurationsRequest) throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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 Result of the ListServerNeighbors operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.ListServerNeighbors */ default ListServerNeighborsResponse listServerNeighbors(ListServerNeighborsRequest listServerNeighborsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { throw new UnsupportedOperationException(); } /** *

* Retrieves a list of servers that are one network hop away from a specified server. *

* * @param listServerNeighborsRequest * @return Result of the ListServerNeighbors operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.ListServerNeighbors */ default ListServerNeighborsResponse listServerNeighbors( Consumer listServerNeighborsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { return listServerNeighbors(ListServerNeighborsRequest.builder().apply(listServerNeighborsRequest).build()); } /** *

* Instructs the specified agents or connectors to start collecting data. *

* * @param startDataCollectionByAgentIdsRequest * @return Result of the StartDataCollectionByAgentIds operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.StartDataCollectionByAgentIds */ default StartDataCollectionByAgentIdsResponse startDataCollectionByAgentIds( StartDataCollectionByAgentIdsRequest startDataCollectionByAgentIdsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { throw new UnsupportedOperationException(); } /** *

* Instructs the specified agents or connectors to start collecting data. *

* * @param startDataCollectionByAgentIdsRequest * @return Result of the StartDataCollectionByAgentIds operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.StartDataCollectionByAgentIds */ default StartDataCollectionByAgentIdsResponse startDataCollectionByAgentIds( Consumer startDataCollectionByAgentIdsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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. *

* * @return Result of the StartExportTask operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws OperationNotPermittedException * This operation is not permitted. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.StartExportTask * @see #startExportTask(StartExportTaskRequest) */ default StartExportTaskResponse startExportTask() throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, OperationNotPermittedException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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. *

* * @param startExportTaskRequest * @return Result of the StartExportTask operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws OperationNotPermittedException * This operation is not permitted. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.StartExportTask */ default StartExportTaskResponse startExportTask(StartExportTaskRequest startExportTaskRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, OperationNotPermittedException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { 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. *

* * @param startExportTaskRequest * @return Result of the StartExportTask operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws OperationNotPermittedException * This operation is not permitted. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.StartExportTask */ default StartExportTaskResponse startExportTask(Consumer startExportTaskRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, OperationNotPermittedException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { return startExportTask(StartExportTaskRequest.builder().apply(startExportTaskRequest).build()); } /** *

* Instructs the specified agents or connectors to stop collecting data. *

* * @param stopDataCollectionByAgentIdsRequest * @return Result of the StopDataCollectionByAgentIds operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.StopDataCollectionByAgentIds */ default StopDataCollectionByAgentIdsResponse stopDataCollectionByAgentIds( StopDataCollectionByAgentIdsRequest stopDataCollectionByAgentIdsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { throw new UnsupportedOperationException(); } /** *

* Instructs the specified agents or connectors to stop collecting data. *

* * @param stopDataCollectionByAgentIdsRequest * @return Result of the StopDataCollectionByAgentIds operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.StopDataCollectionByAgentIds */ default StopDataCollectionByAgentIdsResponse stopDataCollectionByAgentIds( Consumer stopDataCollectionByAgentIdsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { return stopDataCollectionByAgentIds(StopDataCollectionByAgentIdsRequest.builder() .apply(stopDataCollectionByAgentIdsRequest).build()); } /** *

* Updates metadata about an application. *

* * @param updateApplicationRequest * @return Result of the UpdateApplication operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.UpdateApplication */ default UpdateApplicationResponse updateApplication(UpdateApplicationRequest updateApplicationRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { throw new UnsupportedOperationException(); } /** *

* Updates metadata about an application. *

* * @param updateApplicationRequest * @return Result of the UpdateApplication operation returned by the service. * @throws AuthorizationErrorException * The AWS user account does not have permission to perform the action. Check the IAM policy associated with * this account. * @throws InvalidParameterException * One or more parameters are not valid. Verify the parameters and try again. * @throws InvalidParameterValueException * The value of one or more parameters are either invalid or out of range. Verify the parameter values and * try again. * @throws ServerInternalErrorException * The server experienced an internal error. Try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationDiscoveryException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationDiscoveryClient.UpdateApplication */ default UpdateApplicationResponse updateApplication(Consumer updateApplicationRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, SdkServiceException, SdkClientException, ApplicationDiscoveryException { return updateApplication(UpdateApplicationRequest.builder().apply(updateApplicationRequest).build()); } static ServiceMetadata serviceMetadata() { return ServiceMetadata.of("discovery"); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy