software.amazon.awssdk.services.applicationdiscovery.ApplicationDiscoveryClient Maven / Gradle / Ivy
Show all versions of applicationdiscovery Show documentation
/*
* Copyright 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 software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.SdkClient;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.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.BatchDeleteImportDataRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.BatchDeleteImportDataResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.ConflictErrorException;
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.DescribeContinuousExportsRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.DescribeContinuousExportsResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.DescribeExportTasksRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.DescribeExportTasksResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.DescribeImportTasksRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.DescribeImportTasksResponse;
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.GetDiscoverySummaryRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.GetDiscoverySummaryResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.HomeRegionNotSetException;
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.ResourceInUseException;
import software.amazon.awssdk.services.applicationdiscovery.model.ResourceNotFoundException;
import software.amazon.awssdk.services.applicationdiscovery.model.ServerInternalErrorException;
import software.amazon.awssdk.services.applicationdiscovery.model.StartContinuousExportRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.StartContinuousExportResponse;
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.StartImportTaskRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.StartImportTaskResponse;
import software.amazon.awssdk.services.applicationdiscovery.model.StopContinuousExportRequest;
import software.amazon.awssdk.services.applicationdiscovery.model.StopContinuousExportResponse;
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.services.applicationdiscovery.paginators.DescribeContinuousExportsIterable;
import software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeImportTasksIterable;
/**
* Service client for accessing AWS Application Discovery Service. This can be created using the static
* {@link #builder()} method.
*
* Amazon Web Services Application Discovery Service
*
* Amazon Web Services Application Discovery Service helps you plan application migration projects. It automatically
* identifies servers, virtual machines (VMs), and network dependencies in your on-premises data centers. For more
* information, see the Amazon Web Services Application
* Discovery Service FAQ. Application Discovery Service offers three ways of performing discovery and collecting
* data about your on-premises servers:
*
*
* -
*
* Agentless discovery is recommended for environments that use VMware vCenter Server. This mode doesn't require
* you to install an agent on each host. It does not work in non-VMware environments.
*
*
* -
*
* 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 network dependencies, only agent-based discovery collects that
* information.
*
*
*
*
*
*
* -
*
* Agent-based discovery collects a richer set of data than agentless discovery by using the Amazon Web Services
* 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 running processes, system
* performance information, resource utilization, and network dependencies.
*
*
* -
*
* The information collected by agents is secured at rest and in transit to the Application Discovery Service database
* in the cloud.
*
*
*
*
*
*
* -
*
* Amazon Web Services Partner Network (APN) solutions integrate with Application Discovery Service, enabling you
* to import details of your on-premises environment directly into Migration Hub without using the discovery connector
* or discovery agent.
*
*
* -
*
* Third-party application discovery tools can query Amazon Web Services Application Discovery Service, and they can
* write to the Application Discovery Service database using the public API.
*
*
* -
*
* In this way, you can import data into Migration Hub and view it, so that you can associate applications with servers
* and track migrations.
*
*
*
*
*
*
* Recommendations
*
*
* We recommend that you use agent-based discovery for non-VMware environments, and whenever you want to collect
* information about network dependencies. You can run agent-based and agentless discovery simultaneously. Use agentless
* discovery to complete the initial infrastructure assessment quickly, and then install agents on select hosts to
* collect additional information.
*
*
* Working With This Guide
*
*
* 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 Amazon Web Services SDKs to access an API that is tailored to the programming
* language or platform that you're using. For more information, see Amazon
* Web Services SDKs.
*
*
*
* -
*
* Remember that you must set your Migration Hub home region before you call any of these APIs.
*
*
* -
*
* You must make API calls for write actions (create, notify, associate, disassociate, import, or put) while in your
* home region, or a HomeRegionNotSetException
error is returned.
*
*
* -
*
* API calls for read actions (list, describe, stop, and delete) are permitted outside of your home region.
*
*
* -
*
* Although it is unlikely, the Migration Hub home region could change. If you call APIs outside the home region, an
* InvalidInputException
is returned.
*
*
* -
*
* You must call GetHomeRegion
to obtain the latest Migration Hub home region.
*
*
*
*
*
* This guide is intended for use with the Amazon Web Services Application Discovery
* Service User Guide.
*
*
*
* All data is handled according to the Amazon Web Services Privacy Policy.
* You can operate Application Discovery Service offline to inspect collected data before it is shared with the service.
*
*
*/
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
@ThreadSafe
public interface ApplicationDiscoveryClient extends SdkClient {
String SERVICE_NAME = "discovery";
/**
* Value for looking up the service's metadata from the
* {@link software.amazon.awssdk.regions.ServiceMetadataProvider}.
*/
String SERVICE_METADATA_ID = "discovery";
/**
* Create a {@link ApplicationDiscoveryClient} with the region loaded from the
* {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the
* {@link software.amazon.awssdk.auth.credentials.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 Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException, SdkClientException,
ApplicationDiscoveryException {
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} to create a request.
* @return Result of the AssociateConfigurationItemsToApplication operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException, SdkClientException,
ApplicationDiscoveryException {
return associateConfigurationItemsToApplication(AssociateConfigurationItemsToApplicationRequest.builder()
.applyMutation(associateConfigurationItemsToApplicationRequest).build());
}
/**
*
* Deletes one or more import tasks, each identified by their import ID. Each import task has a number of records
* that can identify servers or applications.
*
*
* Amazon Web Services Application Discovery Service has built-in matching logic that will identify when discovered
* servers match existing entries that you've previously discovered, the information for the already-existing
* discovered server is updated. When you delete an import task that contains records that were used to match, the
* information in those matched records that comes from the deleted records will also be deleted.
*
*
* @param batchDeleteImportDataRequest
* @return Result of the BatchDeleteImportData operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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.BatchDeleteImportData
*/
default BatchDeleteImportDataResponse batchDeleteImportData(BatchDeleteImportDataRequest batchDeleteImportDataRequest)
throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException,
ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException,
ApplicationDiscoveryException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes one or more import tasks, each identified by their import ID. Each import task has a number of records
* that can identify servers or applications.
*
*
* Amazon Web Services Application Discovery Service has built-in matching logic that will identify when discovered
* servers match existing entries that you've previously discovered, the information for the already-existing
* discovered server is updated. When you delete an import task that contains records that were used to match, the
* information in those matched records that comes from the deleted records will also be deleted.
*
*
*
* This is a convenience which creates an instance of the {@link BatchDeleteImportDataRequest.Builder} avoiding the
* need to create one manually via {@link BatchDeleteImportDataRequest#builder()}
*
*
* @param batchDeleteImportDataRequest
* A {@link Consumer} that will call methods on {@link BatchDeleteImportDataRequest.Builder} to create a
* request.
* @return Result of the BatchDeleteImportData operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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.BatchDeleteImportData
*/
default BatchDeleteImportDataResponse batchDeleteImportData(
Consumer batchDeleteImportDataRequest) throws AuthorizationErrorException,
InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException,
AwsServiceException, SdkClientException, ApplicationDiscoveryException {
return batchDeleteImportData(BatchDeleteImportDataRequest.builder().applyMutation(batchDeleteImportDataRequest).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 Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException, SdkClientException,
ApplicationDiscoveryException {
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} to create a request.
* @return Result of the CreateApplication operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException, SdkClientException,
ApplicationDiscoveryException {
return createApplication(CreateApplicationRequest.builder().applyMutation(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.
*
*
*
* Do not store sensitive information (like personal data) in tags.
*
*
*
* @param createTagsRequest
* @return Result of the CreateTags operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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,
HomeRegionNotSetException, AwsServiceException, 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.
*
*
*
* Do not store sensitive information (like personal data) in tags.
*
*
*
* 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} to create a request.
* @return Result of the CreateTags operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException,
SdkClientException, ApplicationDiscoveryException {
return createTags(CreateTagsRequest.builder().applyMutation(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 Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException, SdkClientException,
ApplicationDiscoveryException {
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} to create a
* request.
* @return Result of the DeleteApplications operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException, SdkClientException,
ApplicationDiscoveryException {
return deleteApplications(DeleteApplicationsRequest.builder().applyMutation(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 Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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,
HomeRegionNotSetException, AwsServiceException, 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.
*
*
*
* 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} to create a request.
* @return Result of the DeleteTags operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException,
SdkClientException, ApplicationDiscoveryException {
return deleteTags(DeleteTagsRequest.builder().applyMutation(deleteTagsRequest).build());
}
/**
*
* Lists agents or connectors as specified by ID or other filters. All agents/connectors associated with your user
* account can be listed if you call DescribeAgents
as is without passing any parameters.
*
*
* @return Result of the DescribeAgents operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException,
SdkClientException, ApplicationDiscoveryException {
return describeAgents(DescribeAgentsRequest.builder().build());
}
/**
*
* Lists agents or connectors as specified by ID or other filters. All agents/connectors associated with your user
* account can be listed if you call DescribeAgents
as is without passing any parameters.
*
*
* @param describeAgentsRequest
* @return Result of the DescribeAgents operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException, SdkClientException,
ApplicationDiscoveryException {
throw new UnsupportedOperationException();
}
/**
*
* Lists agents or connectors as specified by ID or other filters. All agents/connectors associated with your user
* account can be listed if you call DescribeAgents
as is without passing any parameters.
*
*
*
* 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} to create a request.
* @return Result of the DescribeAgents operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException, SdkClientException,
ApplicationDiscoveryException {
return describeAgents(DescribeAgentsRequest.builder().applyMutation(describeAgentsRequest).build());
}
/**
*
* Retrieves attributes for a list of configuration item IDs.
*
*
*
* All of the supplied IDs must be for the same asset type from one of the following:
*
*
* -
*
* server
*
*
* -
*
* application
*
*
* -
*
* process
*
*
* -
*
* connection
*
*
*
*
* Output fields are specific to the asset type specified. For example, the output for a server configuration
* item includes a list of attributes about the server, such as host name, operating system, number of network
* cards, etc.
*
*
* For a complete list of outputs for each asset type, see Using the DescribeConfigurations Action in the Amazon Web Services Application Discovery Service User
* Guide.
*
*
*
* @param describeConfigurationsRequest
* @return Result of the DescribeConfigurations operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException, 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 from one of the following:
*
*
* -
*
* server
*
*
* -
*
* application
*
*
* -
*
* process
*
*
* -
*
* connection
*
*
*
*
* Output fields are specific to the asset type specified. For example, the output for a server configuration
* item includes a list of attributes about the server, such as host name, operating system, number of network
* cards, etc.
*
*
* For a complete list of outputs for each asset type, see Using the DescribeConfigurations Action in the Amazon Web Services Application Discovery Service User
* Guide.
*
*
*
* 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} to create a
* request.
* @return Result of the DescribeConfigurations operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException,
AwsServiceException, SdkClientException, ApplicationDiscoveryException {
return describeConfigurations(DescribeConfigurationsRequest.builder().applyMutation(describeConfigurationsRequest)
.build());
}
/**
*
* Lists exports as specified by ID. All continuous exports associated with your user account can be listed if you
* call DescribeContinuousExports
as is without passing any parameters.
*
*
* @param describeContinuousExportsRequest
* @return Result of the DescribeContinuousExports operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 ResourceNotFoundException
* The specified configuration ID was not located. Verify the configuration ID and try again.
* @throws HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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.DescribeContinuousExports
*/
default DescribeContinuousExportsResponse describeContinuousExports(
DescribeContinuousExportsRequest describeContinuousExportsRequest) throws AuthorizationErrorException,
InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException,
OperationNotPermittedException, ResourceNotFoundException, HomeRegionNotSetException, AwsServiceException,
SdkClientException, ApplicationDiscoveryException {
throw new UnsupportedOperationException();
}
/**
*
* Lists exports as specified by ID. All continuous exports associated with your user account can be listed if you
* call DescribeContinuousExports
as is without passing any parameters.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeContinuousExportsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeContinuousExportsRequest#builder()}
*
*
* @param describeContinuousExportsRequest
* A {@link Consumer} that will call methods on {@link DescribeContinuousExportsRequest.Builder} to create a
* request.
* @return Result of the DescribeContinuousExports operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 ResourceNotFoundException
* The specified configuration ID was not located. Verify the configuration ID and try again.
* @throws HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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.DescribeContinuousExports
*/
default DescribeContinuousExportsResponse describeContinuousExports(
Consumer describeContinuousExportsRequest)
throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException,
ServerInternalErrorException, OperationNotPermittedException, ResourceNotFoundException, HomeRegionNotSetException,
AwsServiceException, SdkClientException, ApplicationDiscoveryException {
return describeContinuousExports(DescribeContinuousExportsRequest.builder()
.applyMutation(describeContinuousExportsRequest).build());
}
/**
*
* Lists exports as specified by ID. All continuous exports associated with your user account can be listed if you
* call DescribeContinuousExports
as is without passing any parameters.
*
*
*
* This is a variant of
* {@link #describeContinuousExports(software.amazon.awssdk.services.applicationdiscovery.model.DescribeContinuousExportsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeContinuousExportsIterable responses = client.describeContinuousExportsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeContinuousExportsIterable responses = client
* .describeContinuousExportsPaginator(request);
* for (software.amazon.awssdk.services.applicationdiscovery.model.DescribeContinuousExportsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeContinuousExportsIterable responses = client.describeContinuousExportsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeContinuousExports(software.amazon.awssdk.services.applicationdiscovery.model.DescribeContinuousExportsRequest)}
* operation.
*
*
* @param describeContinuousExportsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 ResourceNotFoundException
* The specified configuration ID was not located. Verify the configuration ID and try again.
* @throws HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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.DescribeContinuousExports
*/
default DescribeContinuousExportsIterable describeContinuousExportsPaginator(
DescribeContinuousExportsRequest describeContinuousExportsRequest) throws AuthorizationErrorException,
InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException,
OperationNotPermittedException, ResourceNotFoundException, HomeRegionNotSetException, AwsServiceException,
SdkClientException, ApplicationDiscoveryException {
throw new UnsupportedOperationException();
}
/**
*
* Lists exports as specified by ID. All continuous exports associated with your user account can be listed if you
* call DescribeContinuousExports
as is without passing any parameters.
*
*
*
* This is a variant of
* {@link #describeContinuousExports(software.amazon.awssdk.services.applicationdiscovery.model.DescribeContinuousExportsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeContinuousExportsIterable responses = client.describeContinuousExportsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeContinuousExportsIterable responses = client
* .describeContinuousExportsPaginator(request);
* for (software.amazon.awssdk.services.applicationdiscovery.model.DescribeContinuousExportsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeContinuousExportsIterable responses = client.describeContinuousExportsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeContinuousExports(software.amazon.awssdk.services.applicationdiscovery.model.DescribeContinuousExportsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeContinuousExportsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeContinuousExportsRequest#builder()}
*
*
* @param describeContinuousExportsRequest
* A {@link Consumer} that will call methods on {@link DescribeContinuousExportsRequest.Builder} to create a
* request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 ResourceNotFoundException
* The specified configuration ID was not located. Verify the configuration ID and try again.
* @throws HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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.DescribeContinuousExports
*/
default DescribeContinuousExportsIterable describeContinuousExportsPaginator(
Consumer describeContinuousExportsRequest)
throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException,
ServerInternalErrorException, OperationNotPermittedException, ResourceNotFoundException, HomeRegionNotSetException,
AwsServiceException, SdkClientException, ApplicationDiscoveryException {
return describeContinuousExportsPaginator(DescribeContinuousExportsRequest.builder()
.applyMutation(describeContinuousExportsRequest).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 Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException,
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 Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException, SdkClientException,
ApplicationDiscoveryException {
throw new UnsupportedOperationException();
}
/**
*
* 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} to create a
* request.
* @return Result of the DescribeExportTasks operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException,
AwsServiceException, SdkClientException, ApplicationDiscoveryException {
return describeExportTasks(DescribeExportTasksRequest.builder().applyMutation(describeExportTasksRequest).build());
}
/**
*
* Returns an array of import tasks for your account, including status information, times, IDs, the Amazon S3 Object
* URL for the import file, and more.
*
*
* @return Result of the DescribeImportTasks operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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.DescribeImportTasks
* @see #describeImportTasks(DescribeImportTasksRequest)
*/
default DescribeImportTasksResponse describeImportTasks() throws AuthorizationErrorException, InvalidParameterException,
InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException,
SdkClientException, ApplicationDiscoveryException {
return describeImportTasks(DescribeImportTasksRequest.builder().build());
}
/**
*
* Returns an array of import tasks for your account, including status information, times, IDs, the Amazon S3 Object
* URL for the import file, and more.
*
*
* @param describeImportTasksRequest
* @return Result of the DescribeImportTasks operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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.DescribeImportTasks
*/
default DescribeImportTasksResponse describeImportTasks(DescribeImportTasksRequest describeImportTasksRequest)
throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException,
ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException,
ApplicationDiscoveryException {
throw new UnsupportedOperationException();
}
/**
*
* Returns an array of import tasks for your account, including status information, times, IDs, the Amazon S3 Object
* URL for the import file, and more.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeImportTasksRequest.Builder} avoiding the
* need to create one manually via {@link DescribeImportTasksRequest#builder()}
*
*
* @param describeImportTasksRequest
* A {@link Consumer} that will call methods on {@link DescribeImportTasksRequest.Builder} to create a
* request.
* @return Result of the DescribeImportTasks operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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.DescribeImportTasks
*/
default DescribeImportTasksResponse describeImportTasks(
Consumer describeImportTasksRequest) throws AuthorizationErrorException,
InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException,
AwsServiceException, SdkClientException, ApplicationDiscoveryException {
return describeImportTasks(DescribeImportTasksRequest.builder().applyMutation(describeImportTasksRequest).build());
}
/**
*
* Returns an array of import tasks for your account, including status information, times, IDs, the Amazon S3 Object
* URL for the import file, and more.
*
*
*
* This is a variant of
* {@link #describeImportTasks(software.amazon.awssdk.services.applicationdiscovery.model.DescribeImportTasksRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeImportTasksIterable responses = client.describeImportTasksPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeImportTasksIterable responses = client
* .describeImportTasksPaginator(request);
* for (software.amazon.awssdk.services.applicationdiscovery.model.DescribeImportTasksResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeImportTasksIterable responses = client.describeImportTasksPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeImportTasks(software.amazon.awssdk.services.applicationdiscovery.model.DescribeImportTasksRequest)}
* operation.
*
*
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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.DescribeImportTasks
* @see #describeImportTasksPaginator(DescribeImportTasksRequest)
*/
default DescribeImportTasksIterable describeImportTasksPaginator() throws AuthorizationErrorException,
InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException,
AwsServiceException, SdkClientException, ApplicationDiscoveryException {
return describeImportTasksPaginator(DescribeImportTasksRequest.builder().build());
}
/**
*
* Returns an array of import tasks for your account, including status information, times, IDs, the Amazon S3 Object
* URL for the import file, and more.
*
*
*
* This is a variant of
* {@link #describeImportTasks(software.amazon.awssdk.services.applicationdiscovery.model.DescribeImportTasksRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeImportTasksIterable responses = client.describeImportTasksPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeImportTasksIterable responses = client
* .describeImportTasksPaginator(request);
* for (software.amazon.awssdk.services.applicationdiscovery.model.DescribeImportTasksResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeImportTasksIterable responses = client.describeImportTasksPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeImportTasks(software.amazon.awssdk.services.applicationdiscovery.model.DescribeImportTasksRequest)}
* operation.
*
*
* @param describeImportTasksRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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.DescribeImportTasks
*/
default DescribeImportTasksIterable describeImportTasksPaginator(DescribeImportTasksRequest describeImportTasksRequest)
throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException,
ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException,
ApplicationDiscoveryException {
throw new UnsupportedOperationException();
}
/**
*
* Returns an array of import tasks for your account, including status information, times, IDs, the Amazon S3 Object
* URL for the import file, and more.
*
*
*
* This is a variant of
* {@link #describeImportTasks(software.amazon.awssdk.services.applicationdiscovery.model.DescribeImportTasksRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeImportTasksIterable responses = client.describeImportTasksPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeImportTasksIterable responses = client
* .describeImportTasksPaginator(request);
* for (software.amazon.awssdk.services.applicationdiscovery.model.DescribeImportTasksResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeImportTasksIterable responses = client.describeImportTasksPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeImportTasks(software.amazon.awssdk.services.applicationdiscovery.model.DescribeImportTasksRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeImportTasksRequest.Builder} avoiding the
* need to create one manually via {@link DescribeImportTasksRequest#builder()}
*
*
* @param describeImportTasksRequest
* A {@link Consumer} that will call methods on {@link DescribeImportTasksRequest.Builder} to create a
* request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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.DescribeImportTasks
*/
default DescribeImportTasksIterable describeImportTasksPaginator(
Consumer describeImportTasksRequest) throws AuthorizationErrorException,
InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException,
AwsServiceException, SdkClientException, ApplicationDiscoveryException {
return describeImportTasksPaginator(DescribeImportTasksRequest.builder().applyMutation(describeImportTasksRequest)
.build());
}
/**
*
* Retrieves a list of configuration items that have tags as specified by the key-value pairs, name and value,
* passed to the optional parameter filters
.
*
*
* There are three valid tag filter names:
*
*
* -
*
* tagKey
*
*
* -
*
* tagValue
*
*
* -
*
* configurationId
*
*
*
*
* Also, all configuration items associated with your user account that have tags can be listed if you call
* DescribeTags
as is without passing any parameters.
*
*
* @return Result of the DescribeTags operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException,
AwsServiceException, SdkClientException, ApplicationDiscoveryException {
return describeTags(DescribeTagsRequest.builder().build());
}
/**
*
* Retrieves a list of configuration items that have tags as specified by the key-value pairs, name and value,
* passed to the optional parameter filters
.
*
*
* There are three valid tag filter names:
*
*
* -
*
* tagKey
*
*
* -
*
* tagValue
*
*
* -
*
* configurationId
*
*
*
*
* Also, all configuration items associated with your user account that have tags can be listed if you call
* DescribeTags
as is without passing any parameters.
*
*
* @param describeTagsRequest
* @return Result of the DescribeTags operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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,
HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a list of configuration items that have tags as specified by the key-value pairs, name and value,
* passed to the optional parameter filters
.
*
*
* There are three valid tag filter names:
*
*
* -
*
* tagKey
*
*
* -
*
* tagValue
*
*
* -
*
* configurationId
*
*
*
*
* Also, all configuration items associated with your user account that have tags can be listed if you call
* DescribeTags
as is without passing any parameters.
*
*
*
* 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} to create a request.
* @return Result of the DescribeTags operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException,
SdkClientException, ApplicationDiscoveryException {
return describeTags(DescribeTagsRequest.builder().applyMutation(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 Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException, SdkClientException,
ApplicationDiscoveryException {
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} to create a request.
* @return Result of the DisassociateConfigurationItemsFromApplication operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException, SdkClientException,
ApplicationDiscoveryException {
return disassociateConfigurationItemsFromApplication(DisassociateConfigurationItemsFromApplicationRequest.builder()
.applyMutation(disassociateConfigurationItemsFromApplicationRequest).build());
}
/**
*
* Retrieves a short summary of discovered assets.
*
*
* This API operation takes no request parameters and is called as is at the command prompt as shown in the example.
*
*
* @return Result of the GetDiscoverySummary operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException,
SdkClientException, ApplicationDiscoveryException {
return getDiscoverySummary(GetDiscoverySummaryRequest.builder().build());
}
/**
*
* Retrieves a short summary of discovered assets.
*
*
* This API operation takes no request parameters and is called as is at the command prompt as shown in the example.
*
*
* @param getDiscoverySummaryRequest
* @return Result of the GetDiscoverySummary operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException, SdkClientException,
ApplicationDiscoveryException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a short summary of discovered assets.
*
*
* This API operation takes no request parameters and is called as is at the command prompt as shown in the example.
*
*
*
* 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} to create a
* request.
* @return Result of the GetDiscoverySummary operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException,
AwsServiceException, SdkClientException, ApplicationDiscoveryException {
return getDiscoverySummary(GetDiscoverySummaryRequest.builder().applyMutation(getDiscoverySummaryRequest).build());
}
/**
*
* Retrieves a list of configuration items as specified by the value passed to the required parameter
* configurationType
. Optional filtering may be applied to refine search results.
*
*
* @param listConfigurationsRequest
* @return Result of the ListConfigurations operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException,
SdkClientException, ApplicationDiscoveryException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a list of configuration items as specified by the value passed to the required parameter
* configurationType
. Optional filtering may be applied to refine search results.
*
*
*
* 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} to create a
* request.
* @return Result of the ListConfigurations operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException,
SdkClientException, ApplicationDiscoveryException {
return listConfigurations(ListConfigurationsRequest.builder().applyMutation(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 Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException, SdkClientException,
ApplicationDiscoveryException {
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} to create a
* request.
* @return Result of the ListServerNeighbors operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException,
AwsServiceException, SdkClientException, ApplicationDiscoveryException {
return listServerNeighbors(ListServerNeighborsRequest.builder().applyMutation(listServerNeighborsRequest).build());
}
/**
*
* Start the continuous flow of agent's discovered data into Amazon Athena.
*
*
* @param startContinuousExportRequest
* @return Result of the StartContinuousExport operation returned by the service.
* @throws ConflictErrorException
* @throws AuthorizationErrorException
* The Amazon Web Services 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 ResourceInUseException
* This issue occurs when the same clientRequestToken
is used with the
* StartImportTask
action, but with different parameters. For example, you use the same request
* token but have two different import URLs, you can encounter this issue. If the import tasks are meant to
* be different, use a different clientRequestToken
, and try again.
* @throws HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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.StartContinuousExport
*/
default StartContinuousExportResponse startContinuousExport(StartContinuousExportRequest startContinuousExportRequest)
throws ConflictErrorException, AuthorizationErrorException, InvalidParameterException,
InvalidParameterValueException, ServerInternalErrorException, OperationNotPermittedException, ResourceInUseException,
HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException {
throw new UnsupportedOperationException();
}
/**
*
* Start the continuous flow of agent's discovered data into Amazon Athena.
*
*
*
* This is a convenience which creates an instance of the {@link StartContinuousExportRequest.Builder} avoiding the
* need to create one manually via {@link StartContinuousExportRequest#builder()}
*
*
* @param startContinuousExportRequest
* A {@link Consumer} that will call methods on {@link StartContinuousExportRequest.Builder} to create a
* request.
* @return Result of the StartContinuousExport operation returned by the service.
* @throws ConflictErrorException
* @throws AuthorizationErrorException
* The Amazon Web Services 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 ResourceInUseException
* This issue occurs when the same clientRequestToken
is used with the
* StartImportTask
action, but with different parameters. For example, you use the same request
* token but have two different import URLs, you can encounter this issue. If the import tasks are meant to
* be different, use a different clientRequestToken
, and try again.
* @throws HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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.StartContinuousExport
*/
default StartContinuousExportResponse startContinuousExport(
Consumer startContinuousExportRequest) throws ConflictErrorException,
AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException,
OperationNotPermittedException, ResourceInUseException, HomeRegionNotSetException, AwsServiceException,
SdkClientException, ApplicationDiscoveryException {
return startContinuousExport(StartContinuousExportRequest.builder().applyMutation(startContinuousExportRequest).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 Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException,
AwsServiceException, SdkClientException, ApplicationDiscoveryException {
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} to
* create a request.
* @return Result of the StartDataCollectionByAgentIds operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException, SdkClientException,
ApplicationDiscoveryException {
return startDataCollectionByAgentIds(StartDataCollectionByAgentIdsRequest.builder()
.applyMutation(startDataCollectionByAgentIdsRequest).build());
}
/**
*
* Begins the export of discovered data to an S3 bucket.
*
*
* If you specify agentIds
in a filter, the task exports up to 72 hours of detailed data collected by
* the identified Application Discovery Agent, including network, process, and performance details. A time range for
* exported agent data may be set by using startTime
and endTime
. Export of detailed agent
* data is limited to five concurrently running exports.
*
*
* If you do not include an agentIds
filter, summary data is exported that includes both Amazon Web
* Services Agentless Discovery Connector data and summary data from Amazon Web Services 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 Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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,
HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException {
return startExportTask(StartExportTaskRequest.builder().build());
}
/**
*
* Begins the export of discovered data to an S3 bucket.
*
*
* If you specify agentIds
in a filter, the task exports up to 72 hours of detailed data collected by
* the identified Application Discovery Agent, including network, process, and performance details. A time range for
* exported agent data may be set by using startTime
and endTime
. Export of detailed agent
* data is limited to five concurrently running exports.
*
*
* If you do not include an agentIds
filter, summary data is exported that includes both Amazon Web
* Services Agentless Discovery Connector data and summary data from Amazon Web Services 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 Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException,
SdkClientException, ApplicationDiscoveryException {
throw new UnsupportedOperationException();
}
/**
*
* Begins the export of discovered data to an S3 bucket.
*
*
* If you specify agentIds
in a filter, the task exports up to 72 hours of detailed data collected by
* the identified Application Discovery Agent, including network, process, and performance details. A time range for
* exported agent data may be set by using startTime
and endTime
. Export of detailed agent
* data is limited to five concurrently running exports.
*
*
* If you do not include an agentIds
filter, summary data is exported that includes both Amazon Web
* Services Agentless Discovery Connector data and summary data from Amazon Web Services 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} to create a request.
* @return Result of the StartExportTask operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException,
SdkClientException, ApplicationDiscoveryException {
return startExportTask(StartExportTaskRequest.builder().applyMutation(startExportTaskRequest).build());
}
/**
*
* Starts an import task, which allows you to import details of your on-premises environment directly into Amazon
* Web Services Migration Hub without having to use the Application Discovery Service (ADS) tools such as the
* Discovery Connector or Discovery Agent. This gives you the option to perform migration assessment and planning
* directly from your imported data, including the ability to group your devices as applications and track their
* migration status.
*
*
* To start an import request, do this:
*
*
* -
*
* Download the specially formatted comma separated value (CSV) import template, which you can find here: https://s3.us-west-2.amazonaws.com/templates-7cffcf56-bd96-4b1c-b45b-a5b42f282e46/import_template.csv.
*
*
* -
*
* Fill out the template with your server and application data.
*
*
* -
*
* Upload your import file to an Amazon S3 bucket, and make a note of it's Object URL. Your import file must be in
* the CSV format.
*
*
* -
*
* Use the console or the StartImportTask
command with the Amazon Web Services CLI or one of the Amazon
* Web Services SDKs to import the records from your file.
*
*
*
*
* For more information, including step-by-step procedures, see Migration Hub
* Import in the Amazon Web Services Application Discovery Service User Guide.
*
*
*
* There are limits to the number of import tasks you can create (and delete) in an Amazon Web Services account. For
* more information, see Amazon Web
* Services Application Discovery Service Limits in the Amazon Web Services Application Discovery Service
* User Guide.
*
*
*
* @param startImportTaskRequest
* @return Result of the StartImportTask operation returned by the service.
* @throws ResourceInUseException
* This issue occurs when the same clientRequestToken
is used with the
* StartImportTask
action, but with different parameters. For example, you use the same request
* token but have two different import URLs, you can encounter this issue. If the import tasks are meant to
* be different, use a different clientRequestToken
, and try again.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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.StartImportTask
*/
default StartImportTaskResponse startImportTask(StartImportTaskRequest startImportTaskRequest) throws ResourceInUseException,
AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException,
HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException {
throw new UnsupportedOperationException();
}
/**
*
* Starts an import task, which allows you to import details of your on-premises environment directly into Amazon
* Web Services Migration Hub without having to use the Application Discovery Service (ADS) tools such as the
* Discovery Connector or Discovery Agent. This gives you the option to perform migration assessment and planning
* directly from your imported data, including the ability to group your devices as applications and track their
* migration status.
*
*
* To start an import request, do this:
*
*
* -
*
* Download the specially formatted comma separated value (CSV) import template, which you can find here: https://s3.us-west-2.amazonaws.com/templates-7cffcf56-bd96-4b1c-b45b-a5b42f282e46/import_template.csv.
*
*
* -
*
* Fill out the template with your server and application data.
*
*
* -
*
* Upload your import file to an Amazon S3 bucket, and make a note of it's Object URL. Your import file must be in
* the CSV format.
*
*
* -
*
* Use the console or the StartImportTask
command with the Amazon Web Services CLI or one of the Amazon
* Web Services SDKs to import the records from your file.
*
*
*
*
* For more information, including step-by-step procedures, see Migration Hub
* Import in the Amazon Web Services Application Discovery Service User Guide.
*
*
*
* There are limits to the number of import tasks you can create (and delete) in an Amazon Web Services account. For
* more information, see Amazon Web
* Services Application Discovery Service Limits in the Amazon Web Services Application Discovery Service
* User Guide.
*
*
*
* This is a convenience which creates an instance of the {@link StartImportTaskRequest.Builder} avoiding the need
* to create one manually via {@link StartImportTaskRequest#builder()}
*
*
* @param startImportTaskRequest
* A {@link Consumer} that will call methods on {@link StartImportTaskRequest.Builder} to create a request.
* @return Result of the StartImportTask operation returned by the service.
* @throws ResourceInUseException
* This issue occurs when the same clientRequestToken
is used with the
* StartImportTask
action, but with different parameters. For example, you use the same request
* token but have two different import URLs, you can encounter this issue. If the import tasks are meant to
* be different, use a different clientRequestToken
, and try again.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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.StartImportTask
*/
default StartImportTaskResponse startImportTask(Consumer startImportTaskRequest)
throws ResourceInUseException, AuthorizationErrorException, InvalidParameterException,
InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException,
SdkClientException, ApplicationDiscoveryException {
return startImportTask(StartImportTaskRequest.builder().applyMutation(startImportTaskRequest).build());
}
/**
*
* Stop the continuous flow of agent's discovered data into Amazon Athena.
*
*
* @param stopContinuousExportRequest
* @return Result of the StopContinuousExport operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 ResourceNotFoundException
* The specified configuration ID was not located. Verify the configuration ID and try again.
* @throws ResourceInUseException
* This issue occurs when the same clientRequestToken
is used with the
* StartImportTask
action, but with different parameters. For example, you use the same request
* token but have two different import URLs, you can encounter this issue. If the import tasks are meant to
* be different, use a different clientRequestToken
, and try again.
* @throws HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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.StopContinuousExport
*/
default StopContinuousExportResponse stopContinuousExport(StopContinuousExportRequest stopContinuousExportRequest)
throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException,
ServerInternalErrorException, OperationNotPermittedException, ResourceNotFoundException, ResourceInUseException,
HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException {
throw new UnsupportedOperationException();
}
/**
*
* Stop the continuous flow of agent's discovered data into Amazon Athena.
*
*
*
* This is a convenience which creates an instance of the {@link StopContinuousExportRequest.Builder} avoiding the
* need to create one manually via {@link StopContinuousExportRequest#builder()}
*
*
* @param stopContinuousExportRequest
* A {@link Consumer} that will call methods on {@link StopContinuousExportRequest.Builder} to create a
* request.
* @return Result of the StopContinuousExport operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 ResourceNotFoundException
* The specified configuration ID was not located. Verify the configuration ID and try again.
* @throws ResourceInUseException
* This issue occurs when the same clientRequestToken
is used with the
* StartImportTask
action, but with different parameters. For example, you use the same request
* token but have two different import URLs, you can encounter this issue. If the import tasks are meant to
* be different, use a different clientRequestToken
, and try again.
* @throws HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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.StopContinuousExport
*/
default StopContinuousExportResponse stopContinuousExport(
Consumer stopContinuousExportRequest) throws AuthorizationErrorException,
InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException,
OperationNotPermittedException, ResourceNotFoundException, ResourceInUseException, HomeRegionNotSetException,
AwsServiceException, SdkClientException, ApplicationDiscoveryException {
return stopContinuousExport(StopContinuousExportRequest.builder().applyMutation(stopContinuousExportRequest).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 Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException,
AwsServiceException, SdkClientException, ApplicationDiscoveryException {
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} to create
* a request.
* @return Result of the StopDataCollectionByAgentIds operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException, SdkClientException,
ApplicationDiscoveryException {
return stopDataCollectionByAgentIds(StopDataCollectionByAgentIdsRequest.builder()
.applyMutation(stopDataCollectionByAgentIdsRequest).build());
}
/**
*
* Updates metadata about an application.
*
*
* @param updateApplicationRequest
* @return Result of the UpdateApplication operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException, SdkClientException,
ApplicationDiscoveryException {
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} to create a request.
* @return Result of the UpdateApplication operation returned by the service.
* @throws AuthorizationErrorException
* The Amazon Web Services 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 HomeRegionNotSetException
* The home region is not set. Set the home region to continue.
* @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, HomeRegionNotSetException, AwsServiceException, SdkClientException,
ApplicationDiscoveryException {
return updateApplication(UpdateApplicationRequest.builder().applyMutation(updateApplicationRequest).build());
}
static ServiceMetadata serviceMetadata() {
return ServiceMetadata.of(SERVICE_METADATA_ID);
}
}