@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface ApplicationDiscoveryClient extends AwsClient
builder() method.
Amazon Web Services Application Discovery Service (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 using Amazon Web Services Application Discovery Service Agentless Collector (Agentless Collector), which doesn't require you to install an agent on each host.
Agentless Collector gathers server information regardless of the operating systems, which minimizes the time required for initial on-premises infrastructure assessment.
Agentless Collector doesn't collect information about network dependencies, only agent-based discovery collects that information.
Agent-based discovery using the Amazon Web Services Application Discovery Agent (Application Discovery Agent) collects a richer set of data than agentless discovery, 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 Amazon Web Services cloud. For more information, see Amazon Web Services Application Discovery Agent.
Amazon Web Services Partner Network (APN) solutions integrate with Application Discovery Service, enabling you to import details of your on-premises environment directly into Amazon Web Services Migration Hub (Migration Hub) without using Agentless Collector or Application 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.
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.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default AssociateConfigurationItemsToApplicationResponse |
associateConfigurationItemsToApplication(AssociateConfigurationItemsToApplicationRequest associateConfigurationItemsToApplicationRequest)
Associates one or more configuration items with an application.
|
default AssociateConfigurationItemsToApplicationResponse |
associateConfigurationItemsToApplication(Consumer<AssociateConfigurationItemsToApplicationRequest.Builder> associateConfigurationItemsToApplicationRequest)
Associates one or more configuration items with an application.
|
default BatchDeleteAgentsResponse |
batchDeleteAgents(BatchDeleteAgentsRequest batchDeleteAgentsRequest)
Deletes one or more agents or collectors as specified by ID.
|
default BatchDeleteAgentsResponse |
batchDeleteAgents(Consumer<BatchDeleteAgentsRequest.Builder> batchDeleteAgentsRequest)
Deletes one or more agents or collectors as specified by ID.
|
default BatchDeleteImportDataResponse |
batchDeleteImportData(BatchDeleteImportDataRequest batchDeleteImportDataRequest)
Deletes one or more import tasks, each identified by their import ID.
|
default BatchDeleteImportDataResponse |
batchDeleteImportData(Consumer<BatchDeleteImportDataRequest.Builder> batchDeleteImportDataRequest)
Deletes one or more import tasks, each identified by their import ID.
|
static ApplicationDiscoveryClientBuilder |
builder()
Create a builder that can be used to configure and create a
ApplicationDiscoveryClient. |
static ApplicationDiscoveryClient |
create()
Create a
ApplicationDiscoveryClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateApplicationResponse |
createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest)
Creates an application with the given name and description.
|
default CreateApplicationResponse |
createApplication(CreateApplicationRequest createApplicationRequest)
Creates an application with the given name and description.
|
default CreateTagsResponse |
createTags(Consumer<CreateTagsRequest.Builder> createTagsRequest)
Creates one or more tags for configuration items.
|
default CreateTagsResponse |
createTags(CreateTagsRequest createTagsRequest)
Creates one or more tags for configuration items.
|
default DeleteApplicationsResponse |
deleteApplications(Consumer<DeleteApplicationsRequest.Builder> deleteApplicationsRequest)
Deletes a list of applications and their associations with configuration items.
|
default DeleteApplicationsResponse |
deleteApplications(DeleteApplicationsRequest deleteApplicationsRequest)
Deletes a list of applications and their associations with configuration items.
|
default DeleteTagsResponse |
deleteTags(Consumer<DeleteTagsRequest.Builder> deleteTagsRequest)
Deletes the association between configuration items and one or more tags.
|
default DeleteTagsResponse |
deleteTags(DeleteTagsRequest deleteTagsRequest)
Deletes the association between configuration items and one or more tags.
|
default DescribeAgentsResponse |
describeAgents()
Lists agents or collectors as specified by ID or other filters.
|
default DescribeAgentsResponse |
describeAgents(Consumer<DescribeAgentsRequest.Builder> describeAgentsRequest)
Lists agents or collectors as specified by ID or other filters.
|
default DescribeAgentsResponse |
describeAgents(DescribeAgentsRequest describeAgentsRequest)
Lists agents or collectors as specified by ID or other filters.
|
default DescribeAgentsIterable |
describeAgentsPaginator()
Lists agents or collectors as specified by ID or other filters.
|
default DescribeAgentsIterable |
describeAgentsPaginator(Consumer<DescribeAgentsRequest.Builder> describeAgentsRequest)
Lists agents or collectors as specified by ID or other filters.
|
default DescribeAgentsIterable |
describeAgentsPaginator(DescribeAgentsRequest describeAgentsRequest)
Lists agents or collectors as specified by ID or other filters.
|
default DescribeBatchDeleteConfigurationTaskResponse |
describeBatchDeleteConfigurationTask(Consumer<DescribeBatchDeleteConfigurationTaskRequest.Builder> describeBatchDeleteConfigurationTaskRequest)
Takes a unique deletion task identifier as input and returns metadata about a configuration deletion task.
|
default DescribeBatchDeleteConfigurationTaskResponse |
describeBatchDeleteConfigurationTask(DescribeBatchDeleteConfigurationTaskRequest describeBatchDeleteConfigurationTaskRequest)
Takes a unique deletion task identifier as input and returns metadata about a configuration deletion task.
|
default DescribeConfigurationsResponse |
describeConfigurations(Consumer<DescribeConfigurationsRequest.Builder> describeConfigurationsRequest)
Retrieves attributes for a list of configuration item IDs.
|
default DescribeConfigurationsResponse |
describeConfigurations(DescribeConfigurationsRequest describeConfigurationsRequest)
Retrieves attributes for a list of configuration item IDs.
|
default DescribeContinuousExportsResponse |
describeContinuousExports(Consumer<DescribeContinuousExportsRequest.Builder> describeContinuousExportsRequest)
Lists exports as specified by ID.
|
default DescribeContinuousExportsResponse |
describeContinuousExports(DescribeContinuousExportsRequest describeContinuousExportsRequest)
Lists exports as specified by ID.
|
default DescribeContinuousExportsIterable |
describeContinuousExportsPaginator(Consumer<DescribeContinuousExportsRequest.Builder> describeContinuousExportsRequest)
Lists exports as specified by ID.
|
default DescribeContinuousExportsIterable |
describeContinuousExportsPaginator(DescribeContinuousExportsRequest describeContinuousExportsRequest)
Lists exports as specified by ID.
|
default DescribeExportTasksResponse |
describeExportTasks()
Retrieve status of one or more export tasks.
|
default DescribeExportTasksResponse |
describeExportTasks(Consumer<DescribeExportTasksRequest.Builder> describeExportTasksRequest)
Retrieve status of one or more export tasks.
|
default DescribeExportTasksResponse |
describeExportTasks(DescribeExportTasksRequest describeExportTasksRequest)
Retrieve status of one or more export tasks.
|
default DescribeExportTasksIterable |
describeExportTasksPaginator()
Retrieve status of one or more export tasks.
|
default DescribeExportTasksIterable |
describeExportTasksPaginator(Consumer<DescribeExportTasksRequest.Builder> describeExportTasksRequest)
Retrieve status of one or more export tasks.
|
default DescribeExportTasksIterable |
describeExportTasksPaginator(DescribeExportTasksRequest describeExportTasksRequest)
Retrieve status of one or more export tasks.
|
default DescribeImportTasksResponse |
describeImportTasks()
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.
|
default DescribeImportTasksResponse |
describeImportTasks(Consumer<DescribeImportTasksRequest.Builder> describeImportTasksRequest)
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.
|
default DescribeImportTasksResponse |
describeImportTasks(DescribeImportTasksRequest describeImportTasksRequest)
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.
|
default DescribeImportTasksIterable |
describeImportTasksPaginator()
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.
|
default DescribeImportTasksIterable |
describeImportTasksPaginator(Consumer<DescribeImportTasksRequest.Builder> describeImportTasksRequest)
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.
|
default DescribeImportTasksIterable |
describeImportTasksPaginator(DescribeImportTasksRequest describeImportTasksRequest)
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.
|
default DescribeTagsResponse |
describeTags()
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. |
default DescribeTagsResponse |
describeTags(Consumer<DescribeTagsRequest.Builder> describeTagsRequest)
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. |
default DescribeTagsResponse |
describeTags(DescribeTagsRequest describeTagsRequest)
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. |
default DescribeTagsIterable |
describeTagsPaginator()
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. |
default DescribeTagsIterable |
describeTagsPaginator(Consumer<DescribeTagsRequest.Builder> describeTagsRequest)
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. |
default DescribeTagsIterable |
describeTagsPaginator(DescribeTagsRequest describeTagsRequest)
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. |
default DisassociateConfigurationItemsFromApplicationResponse |
disassociateConfigurationItemsFromApplication(Consumer<DisassociateConfigurationItemsFromApplicationRequest.Builder> disassociateConfigurationItemsFromApplicationRequest)
Disassociates one or more configuration items from an application.
|
default DisassociateConfigurationItemsFromApplicationResponse |
disassociateConfigurationItemsFromApplication(DisassociateConfigurationItemsFromApplicationRequest disassociateConfigurationItemsFromApplicationRequest)
Disassociates one or more configuration items from an application.
|
default GetDiscoverySummaryResponse |
getDiscoverySummary()
Retrieves a short summary of discovered assets.
|
default GetDiscoverySummaryResponse |
getDiscoverySummary(Consumer<GetDiscoverySummaryRequest.Builder> getDiscoverySummaryRequest)
Retrieves a short summary of discovered assets.
|
default GetDiscoverySummaryResponse |
getDiscoverySummary(GetDiscoverySummaryRequest getDiscoverySummaryRequest)
Retrieves a short summary of discovered assets.
|
default ListConfigurationsResponse |
listConfigurations(Consumer<ListConfigurationsRequest.Builder> listConfigurationsRequest)
Retrieves a list of configuration items as specified by the value passed to the required parameter
configurationType. |
default ListConfigurationsResponse |
listConfigurations(ListConfigurationsRequest listConfigurationsRequest)
Retrieves a list of configuration items as specified by the value passed to the required parameter
configurationType. |
default ListConfigurationsIterable |
listConfigurationsPaginator(Consumer<ListConfigurationsRequest.Builder> listConfigurationsRequest)
Retrieves a list of configuration items as specified by the value passed to the required parameter
configurationType. |
default ListConfigurationsIterable |
listConfigurationsPaginator(ListConfigurationsRequest listConfigurationsRequest)
Retrieves a list of configuration items as specified by the value passed to the required parameter
configurationType. |
default ListServerNeighborsResponse |
listServerNeighbors(Consumer<ListServerNeighborsRequest.Builder> listServerNeighborsRequest)
Retrieves a list of servers that are one network hop away from a specified server.
|
default ListServerNeighborsResponse |
listServerNeighbors(ListServerNeighborsRequest listServerNeighborsRequest)
Retrieves a list of servers that are one network hop away from a specified server.
|
default ApplicationDiscoveryServiceClientConfiguration |
serviceClientConfiguration() |
static ServiceMetadata |
serviceMetadata() |
default StartBatchDeleteConfigurationTaskResponse |
startBatchDeleteConfigurationTask(Consumer<StartBatchDeleteConfigurationTaskRequest.Builder> startBatchDeleteConfigurationTaskRequest)
Takes a list of configurationId as input and starts an asynchronous deletion task to remove the
configurationItems.
|
default StartBatchDeleteConfigurationTaskResponse |
startBatchDeleteConfigurationTask(StartBatchDeleteConfigurationTaskRequest startBatchDeleteConfigurationTaskRequest)
Takes a list of configurationId as input and starts an asynchronous deletion task to remove the
configurationItems.
|
default StartContinuousExportResponse |
startContinuousExport(Consumer<StartContinuousExportRequest.Builder> startContinuousExportRequest)
Start the continuous flow of agent's discovered data into Amazon Athena.
|
default StartContinuousExportResponse |
startContinuousExport(StartContinuousExportRequest startContinuousExportRequest)
Start the continuous flow of agent's discovered data into Amazon Athena.
|
default StartDataCollectionByAgentIdsResponse |
startDataCollectionByAgentIds(Consumer<StartDataCollectionByAgentIdsRequest.Builder> startDataCollectionByAgentIdsRequest)
Instructs the specified agents to start collecting data.
|
default StartDataCollectionByAgentIdsResponse |
startDataCollectionByAgentIds(StartDataCollectionByAgentIdsRequest startDataCollectionByAgentIdsRequest)
Instructs the specified agents to start collecting data.
|
default StartExportTaskResponse |
startExportTask()
Begins the export of a discovered data report to an Amazon S3 bucket managed by Amazon Web Services.
|
default StartExportTaskResponse |
startExportTask(Consumer<StartExportTaskRequest.Builder> startExportTaskRequest)
Begins the export of a discovered data report to an Amazon S3 bucket managed by Amazon Web Services.
|
default StartExportTaskResponse |
startExportTask(StartExportTaskRequest startExportTaskRequest)
Begins the export of a discovered data report to an Amazon S3 bucket managed by Amazon Web Services.
|
default StartImportTaskResponse |
startImportTask(Consumer<StartImportTaskRequest.Builder> startImportTaskRequest)
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 Amazon Web Services Application Discovery Service
(Application Discovery Service) tools such as the Amazon Web Services Application Discovery Service Agentless
Collector or Application Discovery Agent.
|
default StartImportTaskResponse |
startImportTask(StartImportTaskRequest startImportTaskRequest)
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 Amazon Web Services Application Discovery Service
(Application Discovery Service) tools such as the Amazon Web Services Application Discovery Service Agentless
Collector or Application Discovery Agent.
|
default StopContinuousExportResponse |
stopContinuousExport(Consumer<StopContinuousExportRequest.Builder> stopContinuousExportRequest)
Stop the continuous flow of agent's discovered data into Amazon Athena.
|
default StopContinuousExportResponse |
stopContinuousExport(StopContinuousExportRequest stopContinuousExportRequest)
Stop the continuous flow of agent's discovered data into Amazon Athena.
|
default StopDataCollectionByAgentIdsResponse |
stopDataCollectionByAgentIds(Consumer<StopDataCollectionByAgentIdsRequest.Builder> stopDataCollectionByAgentIdsRequest)
Instructs the specified agents to stop collecting data.
|
default StopDataCollectionByAgentIdsResponse |
stopDataCollectionByAgentIds(StopDataCollectionByAgentIdsRequest stopDataCollectionByAgentIdsRequest)
Instructs the specified agents to stop collecting data.
|
default UpdateApplicationResponse |
updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest)
Updates metadata about an application.
|
default UpdateApplicationResponse |
updateApplication(UpdateApplicationRequest updateApplicationRequest)
Updates metadata about an application.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default AssociateConfigurationItemsToApplicationResponse associateConfigurationItemsToApplication(AssociateConfigurationItemsToApplicationRequest associateConfigurationItemsToApplicationRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Associates one or more configuration items with an application.
associateConfigurationItemsToApplicationRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateConfigurationItemsToApplicationResponse associateConfigurationItemsToApplication(Consumer<AssociateConfigurationItemsToApplicationRequest.Builder> associateConfigurationItemsToApplicationRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Associates one or more configuration items with an application.
This is a convenience which creates an instance of the
AssociateConfigurationItemsToApplicationRequest.Builder avoiding the need to create one manually via
AssociateConfigurationItemsToApplicationRequest.builder()
associateConfigurationItemsToApplicationRequest - A Consumer that will call methods on
AssociateConfigurationItemsToApplicationRequest.Builder
to create a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchDeleteAgentsResponse batchDeleteAgents(BatchDeleteAgentsRequest batchDeleteAgentsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Deletes one or more agents or collectors as specified by ID. Deleting an agent or collector does not delete the
previously discovered data. To delete the data collected, use StartBatchDeleteConfigurationTask.
batchDeleteAgentsRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchDeleteAgentsResponse batchDeleteAgents(Consumer<BatchDeleteAgentsRequest.Builder> batchDeleteAgentsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Deletes one or more agents or collectors as specified by ID. Deleting an agent or collector does not delete the
previously discovered data. To delete the data collected, use StartBatchDeleteConfigurationTask.
This is a convenience which creates an instance of the BatchDeleteAgentsRequest.Builder avoiding the need
to create one manually via BatchDeleteAgentsRequest.builder()
batchDeleteAgentsRequest - A Consumer that will call methods on
BatchDeleteAgentsRequest.Builder to
create a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchDeleteImportDataResponse batchDeleteImportData(BatchDeleteImportDataRequest batchDeleteImportDataRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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.
batchDeleteImportDataRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchDeleteImportDataResponse batchDeleteImportData(Consumer<BatchDeleteImportDataRequest.Builder> batchDeleteImportDataRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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 BatchDeleteImportDataRequest.Builder avoiding the
need to create one manually via BatchDeleteImportDataRequest.builder()
batchDeleteImportDataRequest - A Consumer that will call methods on
BatchDeleteImportDataRequest.Builder to
create a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateApplicationResponse createApplication(CreateApplicationRequest createApplicationRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Creates an application with the given name and description.
createApplicationRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateApplicationResponse createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Creates an application with the given name and description.
This is a convenience which creates an instance of the CreateApplicationRequest.Builder avoiding the need
to create one manually via CreateApplicationRequest.builder()
createApplicationRequest - A Consumer that will call methods on
CreateApplicationRequest.Builder to
create a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateTagsResponse createTags(CreateTagsRequest createTagsRequest) throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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.
createTagsRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.ResourceNotFoundException - The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateTagsResponse createTags(Consumer<CreateTagsRequest.Builder> createTagsRequest) throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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 CreateTagsRequest.Builder avoiding the need to
create one manually via CreateTagsRequest.builder()
createTagsRequest - A Consumer that will call methods on
CreateTagsRequest.Builder to create a
request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.ResourceNotFoundException - The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteApplicationsResponse deleteApplications(DeleteApplicationsRequest deleteApplicationsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Deletes a list of applications and their associations with configuration items.
deleteApplicationsRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteApplicationsResponse deleteApplications(Consumer<DeleteApplicationsRequest.Builder> deleteApplicationsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Deletes a list of applications and their associations with configuration items.
This is a convenience which creates an instance of the DeleteApplicationsRequest.Builder avoiding the
need to create one manually via DeleteApplicationsRequest.builder()
deleteApplicationsRequest - A Consumer that will call methods on
DeleteApplicationsRequest.Builder to
create a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteTagsResponse deleteTags(DeleteTagsRequest deleteTagsRequest) throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items.
deleteTagsRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.ResourceNotFoundException - The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteTagsResponse deleteTags(Consumer<DeleteTagsRequest.Builder> deleteTagsRequest) throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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 DeleteTagsRequest.Builder avoiding the need to
create one manually via DeleteTagsRequest.builder()
deleteTagsRequest - A Consumer that will call methods on
DeleteTagsRequest.Builder to create a
request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.ResourceNotFoundException - The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAgentsResponse describeAgents(DescribeAgentsRequest describeAgentsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Lists agents or collectors as specified by ID or other filters. All agents/collectors associated with your user
can be listed if you call DescribeAgents as is without passing any parameters.
describeAgentsRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAgentsResponse describeAgents(Consumer<DescribeAgentsRequest.Builder> describeAgentsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Lists agents or collectors as specified by ID or other filters. All agents/collectors associated with your user
can be listed if you call DescribeAgents as is without passing any parameters.
This is a convenience which creates an instance of the DescribeAgentsRequest.Builder avoiding the need to
create one manually via DescribeAgentsRequest.builder()
describeAgentsRequest - A Consumer that will call methods on
DescribeAgentsRequest.Builder to create
a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAgentsResponse describeAgents() throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Lists agents or collectors as specified by ID or other filters. All agents/collectors associated with your user
can be listed if you call DescribeAgents as is without passing any parameters.
AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondescribeAgents(DescribeAgentsRequest)default DescribeAgentsIterable describeAgentsPaginator() throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Lists agents or collectors as specified by ID or other filters. All agents/collectors associated with your user
can be listed if you call DescribeAgents as is without passing any parameters.
This is a variant of
describeAgents(software.amazon.awssdk.services.applicationdiscovery.model.DescribeAgentsRequest)
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
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeAgentsIterable responses = client.describeAgentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeAgentsIterable responses = client
.describeAgentsPaginator(request);
for (software.amazon.awssdk.services.applicationdiscovery.model.DescribeAgentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeAgentsIterable responses = client.describeAgentsPaginator(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
describeAgents(software.amazon.awssdk.services.applicationdiscovery.model.DescribeAgentsRequest)
operation.
AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondescribeAgentsPaginator(DescribeAgentsRequest)default DescribeAgentsIterable describeAgentsPaginator(DescribeAgentsRequest describeAgentsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Lists agents or collectors as specified by ID or other filters. All agents/collectors associated with your user
can be listed if you call DescribeAgents as is without passing any parameters.
This is a variant of
describeAgents(software.amazon.awssdk.services.applicationdiscovery.model.DescribeAgentsRequest)
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
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeAgentsIterable responses = client.describeAgentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeAgentsIterable responses = client
.describeAgentsPaginator(request);
for (software.amazon.awssdk.services.applicationdiscovery.model.DescribeAgentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeAgentsIterable responses = client.describeAgentsPaginator(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
describeAgents(software.amazon.awssdk.services.applicationdiscovery.model.DescribeAgentsRequest)
operation.
describeAgentsRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAgentsIterable describeAgentsPaginator(Consumer<DescribeAgentsRequest.Builder> describeAgentsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Lists agents or collectors as specified by ID or other filters. All agents/collectors associated with your user
can be listed if you call DescribeAgents as is without passing any parameters.
This is a variant of
describeAgents(software.amazon.awssdk.services.applicationdiscovery.model.DescribeAgentsRequest)
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
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeAgentsIterable responses = client.describeAgentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeAgentsIterable responses = client
.describeAgentsPaginator(request);
for (software.amazon.awssdk.services.applicationdiscovery.model.DescribeAgentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeAgentsIterable responses = client.describeAgentsPaginator(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
describeAgents(software.amazon.awssdk.services.applicationdiscovery.model.DescribeAgentsRequest)
operation.
This is a convenience which creates an instance of the DescribeAgentsRequest.Builder avoiding the need to
create one manually via DescribeAgentsRequest.builder()
describeAgentsRequest - A Consumer that will call methods on
DescribeAgentsRequest.Builder to create
a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeBatchDeleteConfigurationTaskResponse describeBatchDeleteConfigurationTask(DescribeBatchDeleteConfigurationTaskRequest describeBatchDeleteConfigurationTaskRequest) throws AuthorizationErrorException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Takes a unique deletion task identifier as input and returns metadata about a configuration deletion task.
describeBatchDeleteConfigurationTaskRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeBatchDeleteConfigurationTaskResponse describeBatchDeleteConfigurationTask(Consumer<DescribeBatchDeleteConfigurationTaskRequest.Builder> describeBatchDeleteConfigurationTaskRequest) throws AuthorizationErrorException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Takes a unique deletion task identifier as input and returns metadata about a configuration deletion task.
This is a convenience which creates an instance of the
DescribeBatchDeleteConfigurationTaskRequest.Builder avoiding the need to create one manually via
DescribeBatchDeleteConfigurationTaskRequest.builder()
describeBatchDeleteConfigurationTaskRequest - A Consumer that will call methods on
DescribeBatchDeleteConfigurationTaskRequest.Builder
to create a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeConfigurationsResponse describeConfigurations(DescribeConfigurationsRequest describeConfigurationsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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.
describeConfigurationsRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeConfigurationsResponse describeConfigurations(Consumer<DescribeConfigurationsRequest.Builder> describeConfigurationsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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 DescribeConfigurationsRequest.Builder avoiding the
need to create one manually via DescribeConfigurationsRequest.builder()
describeConfigurationsRequest - A Consumer that will call methods on
DescribeConfigurationsRequest.Builder
to create a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeContinuousExportsResponse describeContinuousExports(DescribeContinuousExportsRequest describeContinuousExportsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, OperationNotPermittedException, ResourceNotFoundException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Lists exports as specified by ID. All continuous exports associated with your user can be listed if you call
DescribeContinuousExports as is without passing any parameters.
describeContinuousExportsRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.OperationNotPermittedException - This operation is not permitted.ResourceNotFoundException - The specified configuration ID was not located. Verify the configuration ID and try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeContinuousExportsResponse describeContinuousExports(Consumer<DescribeContinuousExportsRequest.Builder> describeContinuousExportsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, OperationNotPermittedException, ResourceNotFoundException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Lists exports as specified by ID. All continuous exports associated with your user can be listed if you call
DescribeContinuousExports as is without passing any parameters.
This is a convenience which creates an instance of the DescribeContinuousExportsRequest.Builder avoiding
the need to create one manually via DescribeContinuousExportsRequest.builder()
describeContinuousExportsRequest - A Consumer that will call methods on
DescribeContinuousExportsRequest.Builder
to create a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.OperationNotPermittedException - This operation is not permitted.ResourceNotFoundException - The specified configuration ID was not located. Verify the configuration ID and try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeContinuousExportsIterable describeContinuousExportsPaginator(DescribeContinuousExportsRequest describeContinuousExportsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, OperationNotPermittedException, ResourceNotFoundException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Lists exports as specified by ID. All continuous exports associated with your user can be listed if you call
DescribeContinuousExports as is without passing any parameters.
This is a variant of
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
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
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
describeContinuousExports(software.amazon.awssdk.services.applicationdiscovery.model.DescribeContinuousExportsRequest)
operation.
describeContinuousExportsRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.OperationNotPermittedException - This operation is not permitted.ResourceNotFoundException - The specified configuration ID was not located. Verify the configuration ID and try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeContinuousExportsIterable describeContinuousExportsPaginator(Consumer<DescribeContinuousExportsRequest.Builder> describeContinuousExportsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, OperationNotPermittedException, ResourceNotFoundException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Lists exports as specified by ID. All continuous exports associated with your user can be listed if you call
DescribeContinuousExports as is without passing any parameters.
This is a variant of
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
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
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
describeContinuousExports(software.amazon.awssdk.services.applicationdiscovery.model.DescribeContinuousExportsRequest)
operation.
This is a convenience which creates an instance of the DescribeContinuousExportsRequest.Builder avoiding
the need to create one manually via DescribeContinuousExportsRequest.builder()
describeContinuousExportsRequest - A Consumer that will call methods on
DescribeContinuousExportsRequest.Builder
to create a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.OperationNotPermittedException - This operation is not permitted.ResourceNotFoundException - The specified configuration ID was not located. Verify the configuration ID and try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeExportTasksResponse describeExportTasks(DescribeExportTasksRequest describeExportTasksRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
describeExportTasksRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeExportTasksResponse describeExportTasks(Consumer<DescribeExportTasksRequest.Builder> describeExportTasksRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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 DescribeExportTasksRequest.Builder avoiding the
need to create one manually via DescribeExportTasksRequest.builder()
describeExportTasksRequest - A Consumer that will call methods on
DescribeExportTasksRequest.Builder to
create a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeExportTasksResponse describeExportTasks() throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondescribeExportTasks(DescribeExportTasksRequest)default DescribeExportTasksIterable describeExportTasksPaginator() throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
This is a variant of
describeExportTasks(software.amazon.awssdk.services.applicationdiscovery.model.DescribeExportTasksRequest)
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
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeExportTasksIterable responses = client.describeExportTasksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeExportTasksIterable responses = client
.describeExportTasksPaginator(request);
for (software.amazon.awssdk.services.applicationdiscovery.model.DescribeExportTasksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeExportTasksIterable responses = client.describeExportTasksPaginator(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
describeExportTasks(software.amazon.awssdk.services.applicationdiscovery.model.DescribeExportTasksRequest)
operation.
AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondescribeExportTasksPaginator(DescribeExportTasksRequest)default DescribeExportTasksIterable describeExportTasksPaginator(DescribeExportTasksRequest describeExportTasksRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
This is a variant of
describeExportTasks(software.amazon.awssdk.services.applicationdiscovery.model.DescribeExportTasksRequest)
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
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeExportTasksIterable responses = client.describeExportTasksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeExportTasksIterable responses = client
.describeExportTasksPaginator(request);
for (software.amazon.awssdk.services.applicationdiscovery.model.DescribeExportTasksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeExportTasksIterable responses = client.describeExportTasksPaginator(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
describeExportTasks(software.amazon.awssdk.services.applicationdiscovery.model.DescribeExportTasksRequest)
operation.
describeExportTasksRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeExportTasksIterable describeExportTasksPaginator(Consumer<DescribeExportTasksRequest.Builder> describeExportTasksRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
This is a variant of
describeExportTasks(software.amazon.awssdk.services.applicationdiscovery.model.DescribeExportTasksRequest)
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
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeExportTasksIterable responses = client.describeExportTasksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeExportTasksIterable responses = client
.describeExportTasksPaginator(request);
for (software.amazon.awssdk.services.applicationdiscovery.model.DescribeExportTasksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeExportTasksIterable responses = client.describeExportTasksPaginator(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
describeExportTasks(software.amazon.awssdk.services.applicationdiscovery.model.DescribeExportTasksRequest)
operation.
This is a convenience which creates an instance of the DescribeExportTasksRequest.Builder avoiding the
need to create one manually via DescribeExportTasksRequest.builder()
describeExportTasksRequest - A Consumer that will call methods on
DescribeExportTasksRequest.Builder to
create a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeImportTasksResponse describeImportTasks(DescribeImportTasksRequest describeImportTasksRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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.
describeImportTasksRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeImportTasksResponse describeImportTasks(Consumer<DescribeImportTasksRequest.Builder> describeImportTasksRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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 DescribeImportTasksRequest.Builder avoiding the
need to create one manually via DescribeImportTasksRequest.builder()
describeImportTasksRequest - A Consumer that will call methods on
DescribeImportTasksRequest.Builder to
create a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeImportTasksResponse describeImportTasks() throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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.
AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondescribeImportTasks(DescribeImportTasksRequest)default DescribeImportTasksIterable describeImportTasksPaginator() throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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
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
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
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
describeImportTasks(software.amazon.awssdk.services.applicationdiscovery.model.DescribeImportTasksRequest)
operation.
AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondescribeImportTasksPaginator(DescribeImportTasksRequest)default DescribeImportTasksIterable describeImportTasksPaginator(DescribeImportTasksRequest describeImportTasksRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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
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
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
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
describeImportTasks(software.amazon.awssdk.services.applicationdiscovery.model.DescribeImportTasksRequest)
operation.
describeImportTasksRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeImportTasksIterable describeImportTasksPaginator(Consumer<DescribeImportTasksRequest.Builder> describeImportTasksRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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
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
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
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
describeImportTasks(software.amazon.awssdk.services.applicationdiscovery.model.DescribeImportTasksRequest)
operation.
This is a convenience which creates an instance of the DescribeImportTasksRequest.Builder avoiding the
need to create one manually via DescribeImportTasksRequest.builder()
describeImportTasksRequest - A Consumer that will call methods on
DescribeImportTasksRequest.Builder to
create a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeTagsResponse describeTags(DescribeTagsRequest describeTagsRequest) throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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 that have tags can be listed if you call
DescribeTags as is without passing any parameters.
describeTagsRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.ResourceNotFoundException - The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeTagsResponse describeTags(Consumer<DescribeTagsRequest.Builder> describeTagsRequest) throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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 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 DescribeTagsRequest.Builder avoiding the need to
create one manually via DescribeTagsRequest.builder()
describeTagsRequest - A Consumer that will call methods on
DescribeTagsRequest.Builder to create a
request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.ResourceNotFoundException - The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeTagsResponse describeTags() throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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 that have tags can be listed if you call
DescribeTags as is without passing any parameters.
AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.ResourceNotFoundException - The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondescribeTags(DescribeTagsRequest)default DescribeTagsIterable describeTagsPaginator() throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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 that have tags can be listed if you call
DescribeTags as is without passing any parameters.
This is a variant of
describeTags(software.amazon.awssdk.services.applicationdiscovery.model.DescribeTagsRequest) 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
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeTagsIterable responses = client.describeTagsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeTagsIterable responses = client
.describeTagsPaginator(request);
for (software.amazon.awssdk.services.applicationdiscovery.model.DescribeTagsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeTagsIterable responses = client.describeTagsPaginator(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
describeTags(software.amazon.awssdk.services.applicationdiscovery.model.DescribeTagsRequest)
operation.
AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.ResourceNotFoundException - The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondescribeTagsPaginator(DescribeTagsRequest)default DescribeTagsIterable describeTagsPaginator(DescribeTagsRequest describeTagsRequest) throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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 that have tags can be listed if you call
DescribeTags as is without passing any parameters.
This is a variant of
describeTags(software.amazon.awssdk.services.applicationdiscovery.model.DescribeTagsRequest) 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
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeTagsIterable responses = client.describeTagsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeTagsIterable responses = client
.describeTagsPaginator(request);
for (software.amazon.awssdk.services.applicationdiscovery.model.DescribeTagsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeTagsIterable responses = client.describeTagsPaginator(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
describeTags(software.amazon.awssdk.services.applicationdiscovery.model.DescribeTagsRequest)
operation.
describeTagsRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.ResourceNotFoundException - The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeTagsIterable describeTagsPaginator(Consumer<DescribeTagsRequest.Builder> describeTagsRequest) throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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 that have tags can be listed if you call
DescribeTags as is without passing any parameters.
This is a variant of
describeTags(software.amazon.awssdk.services.applicationdiscovery.model.DescribeTagsRequest) 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
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeTagsIterable responses = client.describeTagsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeTagsIterable responses = client
.describeTagsPaginator(request);
for (software.amazon.awssdk.services.applicationdiscovery.model.DescribeTagsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.applicationdiscovery.paginators.DescribeTagsIterable responses = client.describeTagsPaginator(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
describeTags(software.amazon.awssdk.services.applicationdiscovery.model.DescribeTagsRequest)
operation.
This is a convenience which creates an instance of the DescribeTagsRequest.Builder avoiding the need to
create one manually via DescribeTagsRequest.builder()
describeTagsRequest - A Consumer that will call methods on
DescribeTagsRequest.Builder to create a
request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.ResourceNotFoundException - The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateConfigurationItemsFromApplicationResponse disassociateConfigurationItemsFromApplication(DisassociateConfigurationItemsFromApplicationRequest disassociateConfigurationItemsFromApplicationRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Disassociates one or more configuration items from an application.
disassociateConfigurationItemsFromApplicationRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateConfigurationItemsFromApplicationResponse disassociateConfigurationItemsFromApplication(Consumer<DisassociateConfigurationItemsFromApplicationRequest.Builder> disassociateConfigurationItemsFromApplicationRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Disassociates one or more configuration items from an application.
This is a convenience which creates an instance of the
DisassociateConfigurationItemsFromApplicationRequest.Builder avoiding the need to create one manually via
DisassociateConfigurationItemsFromApplicationRequest.builder()
disassociateConfigurationItemsFromApplicationRequest - A Consumer that will call methods on
DisassociateConfigurationItemsFromApplicationRequest.Builder
to create a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDiscoverySummaryResponse getDiscoverySummary(GetDiscoverySummaryRequest getDiscoverySummaryRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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.
getDiscoverySummaryRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDiscoverySummaryResponse getDiscoverySummary(Consumer<GetDiscoverySummaryRequest.Builder> getDiscoverySummaryRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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 GetDiscoverySummaryRequest.Builder avoiding the
need to create one manually via GetDiscoverySummaryRequest.builder()
getDiscoverySummaryRequest - A Consumer that will call methods on
GetDiscoverySummaryRequest.Builder to
create a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDiscoverySummaryResponse getDiscoverySummary() throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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.
AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiongetDiscoverySummary(GetDiscoverySummaryRequest)default ListConfigurationsResponse listConfigurations(ListConfigurationsRequest listConfigurationsRequest) throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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.
listConfigurationsRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.ResourceNotFoundException - The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListConfigurationsResponse listConfigurations(Consumer<ListConfigurationsRequest.Builder> listConfigurationsRequest) throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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 ListConfigurationsRequest.Builder avoiding the
need to create one manually via ListConfigurationsRequest.builder()
listConfigurationsRequest - A Consumer that will call methods on
ListConfigurationsRequest.Builder to
create a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.ResourceNotFoundException - The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListConfigurationsIterable listConfigurationsPaginator(ListConfigurationsRequest listConfigurationsRequest) throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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 variant of
listConfigurations(software.amazon.awssdk.services.applicationdiscovery.model.ListConfigurationsRequest)
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
software.amazon.awssdk.services.applicationdiscovery.paginators.ListConfigurationsIterable responses = client.listConfigurationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.applicationdiscovery.paginators.ListConfigurationsIterable responses = client
.listConfigurationsPaginator(request);
for (software.amazon.awssdk.services.applicationdiscovery.model.ListConfigurationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.applicationdiscovery.paginators.ListConfigurationsIterable responses = client.listConfigurationsPaginator(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
listConfigurations(software.amazon.awssdk.services.applicationdiscovery.model.ListConfigurationsRequest)
operation.
listConfigurationsRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.ResourceNotFoundException - The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListConfigurationsIterable listConfigurationsPaginator(Consumer<ListConfigurationsRequest.Builder> listConfigurationsRequest) throws AuthorizationErrorException, ResourceNotFoundException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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 variant of
listConfigurations(software.amazon.awssdk.services.applicationdiscovery.model.ListConfigurationsRequest)
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
software.amazon.awssdk.services.applicationdiscovery.paginators.ListConfigurationsIterable responses = client.listConfigurationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.applicationdiscovery.paginators.ListConfigurationsIterable responses = client
.listConfigurationsPaginator(request);
for (software.amazon.awssdk.services.applicationdiscovery.model.ListConfigurationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.applicationdiscovery.paginators.ListConfigurationsIterable responses = client.listConfigurationsPaginator(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
listConfigurations(software.amazon.awssdk.services.applicationdiscovery.model.ListConfigurationsRequest)
operation.
This is a convenience which creates an instance of the ListConfigurationsRequest.Builder avoiding the
need to create one manually via ListConfigurationsRequest.builder()
listConfigurationsRequest - A Consumer that will call methods on
ListConfigurationsRequest.Builder to
create a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.ResourceNotFoundException - The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServerNeighborsResponse listServerNeighbors(ListServerNeighborsRequest listServerNeighborsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Retrieves a list of servers that are one network hop away from a specified server.
listServerNeighborsRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServerNeighborsResponse listServerNeighbors(Consumer<ListServerNeighborsRequest.Builder> listServerNeighborsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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 ListServerNeighborsRequest.Builder avoiding the
need to create one manually via ListServerNeighborsRequest.builder()
listServerNeighborsRequest - A Consumer that will call methods on
ListServerNeighborsRequest.Builder to
create a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartBatchDeleteConfigurationTaskResponse startBatchDeleteConfigurationTask(StartBatchDeleteConfigurationTaskRequest startBatchDeleteConfigurationTaskRequest) throws LimitExceededException, AuthorizationErrorException, ServerInternalErrorException, HomeRegionNotSetException, OperationNotPermittedException, InvalidParameterValueException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Takes a list of configurationId as input and starts an asynchronous deletion task to remove the configurationItems. Returns a unique deletion task identifier.
startBatchDeleteConfigurationTaskRequest - LimitExceededException - The limit of 200 configuration IDs per request has been exceeded.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.OperationNotPermittedException - This operation is not permitted.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartBatchDeleteConfigurationTaskResponse startBatchDeleteConfigurationTask(Consumer<StartBatchDeleteConfigurationTaskRequest.Builder> startBatchDeleteConfigurationTaskRequest) throws LimitExceededException, AuthorizationErrorException, ServerInternalErrorException, HomeRegionNotSetException, OperationNotPermittedException, InvalidParameterValueException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Takes a list of configurationId as input and starts an asynchronous deletion task to remove the configurationItems. Returns a unique deletion task identifier.
This is a convenience which creates an instance of the StartBatchDeleteConfigurationTaskRequest.Builder
avoiding the need to create one manually via StartBatchDeleteConfigurationTaskRequest.builder()
startBatchDeleteConfigurationTaskRequest - A Consumer that will call methods on
StartBatchDeleteConfigurationTaskRequest.Builder
to create a request.LimitExceededException - The limit of 200 configuration IDs per request has been exceeded.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.OperationNotPermittedException - This operation is not permitted.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartContinuousExportResponse startContinuousExport(StartContinuousExportRequest startContinuousExportRequest) throws ConflictErrorException, AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, OperationNotPermittedException, ResourceInUseException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Start the continuous flow of agent's discovered data into Amazon Athena.
startContinuousExportRequest - ConflictErrorException - Conflict error.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.OperationNotPermittedException - This operation is not permitted.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.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartContinuousExportResponse startContinuousExport(Consumer<StartContinuousExportRequest.Builder> startContinuousExportRequest) throws ConflictErrorException, AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, OperationNotPermittedException, ResourceInUseException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Start the continuous flow of agent's discovered data into Amazon Athena.
This is a convenience which creates an instance of the StartContinuousExportRequest.Builder avoiding the
need to create one manually via StartContinuousExportRequest.builder()
startContinuousExportRequest - A Consumer that will call methods on
StartContinuousExportRequest.Builder to
create a request.ConflictErrorException - Conflict error.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.OperationNotPermittedException - This operation is not permitted.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.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartDataCollectionByAgentIdsResponse startDataCollectionByAgentIds(StartDataCollectionByAgentIdsRequest startDataCollectionByAgentIdsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Instructs the specified agents to start collecting data.
startDataCollectionByAgentIdsRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartDataCollectionByAgentIdsResponse startDataCollectionByAgentIds(Consumer<StartDataCollectionByAgentIdsRequest.Builder> startDataCollectionByAgentIdsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Instructs the specified agents to start collecting data.
This is a convenience which creates an instance of the StartDataCollectionByAgentIdsRequest.Builder
avoiding the need to create one manually via StartDataCollectionByAgentIdsRequest.builder()
startDataCollectionByAgentIdsRequest - A Consumer that will call methods on
StartDataCollectionByAgentIdsRequest.Builder
to create a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartExportTaskResponse startExportTask(StartExportTaskRequest startExportTaskRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, OperationNotPermittedException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Begins the export of a discovered data report to an Amazon S3 bucket managed by Amazon Web Services.
Exports might provide an estimate of fees and savings based on certain information that you provide. Fee estimates do not include any taxes that might apply. Your actual fees and savings depend on a variety of factors, including your actual usage of Amazon Web Services services, which might vary from the estimates provided in this report.
If you do not specify preferences or agentIds in the filter, a summary of all servers,
applications, tags, and performance is generated. This data is an aggregation of all server data collected
through on-premises tooling, file import, application grouping and applying tags.
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. Export of detailed agent data is limited to two exports per
day.
If you enable ec2RecommendationsPreferences in preferences , an Amazon EC2 instance
matching the characteristics of each server in Application Discovery Service is generated. Changing the
attributes of the ec2RecommendationsPreferences changes the criteria of the recommendation.
startExportTaskRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.OperationNotPermittedException - This operation is not permitted.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartExportTaskResponse startExportTask(Consumer<StartExportTaskRequest.Builder> startExportTaskRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, OperationNotPermittedException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Begins the export of a discovered data report to an Amazon S3 bucket managed by Amazon Web Services.
Exports might provide an estimate of fees and savings based on certain information that you provide. Fee estimates do not include any taxes that might apply. Your actual fees and savings depend on a variety of factors, including your actual usage of Amazon Web Services services, which might vary from the estimates provided in this report.
If you do not specify preferences or agentIds in the filter, a summary of all servers,
applications, tags, and performance is generated. This data is an aggregation of all server data collected
through on-premises tooling, file import, application grouping and applying tags.
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. Export of detailed agent data is limited to two exports per
day.
If you enable ec2RecommendationsPreferences in preferences , an Amazon EC2 instance
matching the characteristics of each server in Application Discovery Service is generated. Changing the
attributes of the ec2RecommendationsPreferences changes the criteria of the recommendation.
This is a convenience which creates an instance of the StartExportTaskRequest.Builder avoiding the need
to create one manually via StartExportTaskRequest.builder()
startExportTaskRequest - A Consumer that will call methods on
StartExportTaskRequest.Builder to
create a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.OperationNotPermittedException - This operation is not permitted.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartExportTaskResponse startExportTask() throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, OperationNotPermittedException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Begins the export of a discovered data report to an Amazon S3 bucket managed by Amazon Web Services.
Exports might provide an estimate of fees and savings based on certain information that you provide. Fee estimates do not include any taxes that might apply. Your actual fees and savings depend on a variety of factors, including your actual usage of Amazon Web Services services, which might vary from the estimates provided in this report.
If you do not specify preferences or agentIds in the filter, a summary of all servers,
applications, tags, and performance is generated. This data is an aggregation of all server data collected
through on-premises tooling, file import, application grouping and applying tags.
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. Export of detailed agent data is limited to two exports per
day.
If you enable ec2RecommendationsPreferences in preferences , an Amazon EC2 instance
matching the characteristics of each server in Application Discovery Service is generated. Changing the
attributes of the ec2RecommendationsPreferences changes the criteria of the recommendation.
AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.OperationNotPermittedException - This operation is not permitted.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstartExportTask(StartExportTaskRequest)default StartImportTaskResponse startImportTask(StartImportTaskRequest startImportTaskRequest) throws ResourceInUseException, AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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 Amazon Web Services Application Discovery Service (Application Discovery Service) tools such as the Amazon Web Services Application Discovery Service Agentless Collector or Application 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.
startImportTaskRequest - 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.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartImportTaskResponse startImportTask(Consumer<StartImportTaskRequest.Builder> startImportTaskRequest) throws ResourceInUseException, AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
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 Amazon Web Services Application Discovery Service (Application Discovery Service) tools such as the Amazon Web Services Application Discovery Service Agentless Collector or Application 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 StartImportTaskRequest.Builder avoiding the need
to create one manually via StartImportTaskRequest.builder()
startImportTaskRequest - A Consumer that will call methods on
StartImportTaskRequest.Builder to
create a request.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.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StopContinuousExportResponse stopContinuousExport(StopContinuousExportRequest stopContinuousExportRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, OperationNotPermittedException, ResourceNotFoundException, ResourceInUseException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Stop the continuous flow of agent's discovered data into Amazon Athena.
stopContinuousExportRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.OperationNotPermittedException - This operation is not permitted.ResourceNotFoundException - The specified configuration ID was not located. Verify the configuration ID and try again.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.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StopContinuousExportResponse stopContinuousExport(Consumer<StopContinuousExportRequest.Builder> stopContinuousExportRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, OperationNotPermittedException, ResourceNotFoundException, ResourceInUseException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Stop the continuous flow of agent's discovered data into Amazon Athena.
This is a convenience which creates an instance of the StopContinuousExportRequest.Builder avoiding the
need to create one manually via StopContinuousExportRequest.builder()
stopContinuousExportRequest - A Consumer that will call methods on
StopContinuousExportRequest.Builder to
create a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.OperationNotPermittedException - This operation is not permitted.ResourceNotFoundException - The specified configuration ID was not located. Verify the configuration ID and try again.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.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StopDataCollectionByAgentIdsResponse stopDataCollectionByAgentIds(StopDataCollectionByAgentIdsRequest stopDataCollectionByAgentIdsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Instructs the specified agents to stop collecting data.
stopDataCollectionByAgentIdsRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StopDataCollectionByAgentIdsResponse stopDataCollectionByAgentIds(Consumer<StopDataCollectionByAgentIdsRequest.Builder> stopDataCollectionByAgentIdsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Instructs the specified agents to stop collecting data.
This is a convenience which creates an instance of the StopDataCollectionByAgentIdsRequest.Builder
avoiding the need to create one manually via StopDataCollectionByAgentIdsRequest.builder()
stopDataCollectionByAgentIdsRequest - A Consumer that will call methods on
StopDataCollectionByAgentIdsRequest.Builder
to create a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateApplicationResponse updateApplication(UpdateApplicationRequest updateApplicationRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Updates metadata about an application.
updateApplicationRequest - AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateApplicationResponse updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Updates metadata about an application.
This is a convenience which creates an instance of the UpdateApplicationRequest.Builder avoiding the need
to create one manually via UpdateApplicationRequest.builder()
updateApplicationRequest - A Consumer that will call methods on
UpdateApplicationRequest.Builder to
create a request.AuthorizationErrorException - The user does not have permission to perform the action. Check the IAM policy associated with this user.InvalidParameterException - One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException - The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException - The server experienced an internal error. Try again.HomeRegionNotSetException - The home Region is not set. Set the home Region to continue.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationDiscoveryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic ApplicationDiscoveryClient create()
ApplicationDiscoveryClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static ApplicationDiscoveryClientBuilder builder()
ApplicationDiscoveryClient.static ServiceMetadata serviceMetadata()
default ApplicationDiscoveryServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.