@Generated(value="software.amazon.awssdk:codegen") public interface ApplicationDiscoveryClient extends SdkClient
builder()
method.
AWS 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 AWS Application Discovery Service FAQ. Application Discovery Service offers three ways of performing discovery and collecting data about your on-premises servers:
Agentless discovery is recommended for environments that use VMware vCenter Server. This mode doesn't require you to install an agent on each host. It does not work in non-VMware environments.
Agentless discovery gathers server information regardless of the operating systems, which minimizes the time required for initial on-premises infrastructure assessment.
Agentless discovery doesn't collect information about network dependencies, only agent-based discovery collects that information.
Agent-based discovery collects a richer set of data than agentless discovery by using the AWS Application Discovery Agent, which you install on one or more hosts in your data center.
The agent captures infrastructure and application information, including an inventory of running processes, system performance information, resource utilization, and network dependencies.
The information collected by agents is secured at rest and in transit to the Application Discovery Service database in the cloud.
AWS Partner Network (APN) solutions integrate with Application Discovery Service, enabling you to import details of your on-premises environment directly into Migration Hub without using the discovery connector or discovery agent.
Third-party application discovery tools can query AWS Application Discovery Service, and they can write to the Application Discovery Service database using the public API.
In this way, you can import data into Migration Hub and view it, so that you can associate applications with servers and track migrations.
Recommendations
We recommend that you use agent-based discovery for non-VMware environments, and whenever you want to collect information about network dependencies. You can run agent-based and agentless discovery simultaneously. Use agentless discovery to complete the initial infrastructure assessment quickly, and then install agents on select hosts to collect additional information.
Working With This Guide
This API reference provides descriptions, syntax, and usage examples for each of the actions and data types for Application Discovery Service. The topic for each action shows the API request parameters and the response. Alternatively, you can use one of the AWS SDKs to access an API that is tailored to the programming language or platform that you're using. For more information, see AWS SDKs.
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 AWS Application Discovery Service User Guide.
All data is handled according to the AWS 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 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 connectors as specified by ID or other filters.
|
default DescribeAgentsResponse |
describeAgents(Consumer<DescribeAgentsRequest.Builder> describeAgentsRequest)
Lists agents or connectors as specified by ID or other filters.
|
default DescribeAgentsResponse |
describeAgents(DescribeAgentsRequest describeAgentsRequest)
Lists agents or connectors as specified by ID or other filters.
|
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 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 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 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.
|
static ServiceMetadata |
serviceMetadata() |
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 or connectors to start collecting data.
|
default StartDataCollectionByAgentIdsResponse |
startDataCollectionByAgentIds(StartDataCollectionByAgentIdsRequest startDataCollectionByAgentIdsRequest)
Instructs the specified agents or connectors to start collecting data.
|
default StartExportTaskResponse |
startExportTask()
Begins the export of discovered data to an S3 bucket.
|
default StartExportTaskResponse |
startExportTask(Consumer<StartExportTaskRequest.Builder> startExportTaskRequest)
Begins the export of discovered data to an S3 bucket.
|
default StartExportTaskResponse |
startExportTask(StartExportTaskRequest startExportTaskRequest)
Begins the export of discovered data to an S3 bucket.
|
default StartImportTaskResponse |
startImportTask(Consumer<StartImportTaskRequest.Builder> startImportTaskRequest)
Starts an import task, which allows you to import details of your on-premises environment directly into AWS
Migration Hub without having to use the Application Discovery Service (ADS) tools such as the Discovery Connector
or Discovery Agent.
|
default StartImportTaskResponse |
startImportTask(StartImportTaskRequest startImportTaskRequest)
Starts an import task, which allows you to import details of your on-premises environment directly into AWS
Migration Hub without having to use the Application Discovery Service (ADS) tools such as the Discovery Connector
or 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 or connectors to stop collecting data.
|
default StopDataCollectionByAgentIdsResponse |
stopDataCollectionByAgentIds(StopDataCollectionByAgentIdsRequest stopDataCollectionByAgentIdsRequest)
Instructs the specified agents or connectors 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.
|
serviceName
close
static final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider
.static ApplicationDiscoveryClient create()
ApplicationDiscoveryClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static ApplicationDiscoveryClientBuilder builder()
ApplicationDiscoveryClient
.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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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.
AWS 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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.
AWS 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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.
createTagsRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.ResourceNotFoundException
- The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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.
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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.ResourceNotFoundException
- The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.ResourceNotFoundException
- The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.ResourceNotFoundException
- The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default DescribeAgentsResponse describeAgents() throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Lists agents or connectors as specified by ID or other filters. All agents/connectors associated with your user
account can be listed if you call DescribeAgents
as is without passing any parameters.
AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
describeAgents(DescribeAgentsRequest)
default DescribeAgentsResponse describeAgents(DescribeAgentsRequest describeAgentsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Lists agents or connectors as specified by ID or other filters. All agents/connectors associated with your user
account can be listed if you call DescribeAgents
as is without passing any parameters.
describeAgentsRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default DescribeAgentsResponse describeAgents(Consumer<DescribeAgentsRequest.Builder> describeAgentsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Lists agents or connectors as specified by ID or other filters. All agents/connectors associated with your user
account can be listed if you call DescribeAgents
as is without passing any parameters.
This is a convenience which creates an instance of the 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 AWS Application Discovery Service User Guide.
describeConfigurationsRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 AWS 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 account can be listed if you
call DescribeContinuousExports
as is without passing any parameters.
describeContinuousExportsRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.OperationNotPermittedException
- This operation is not permitted.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.AwsServiceException
default 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 account 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.OperationNotPermittedException
- This operation is not permitted.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.AwsServiceException
default 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 account 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.OperationNotPermittedException
- This operation is not permitted.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.AwsServiceException
default 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 account 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.OperationNotPermittedException
- This operation is not permitted.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.AwsServiceException
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
describeExportTasks(DescribeExportTasksRequest)
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
describeImportTasks(DescribeImportTasksRequest)
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
describeImportTasksPaginator(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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 account that have tags can be listed if you call
DescribeTags
as is without passing any parameters.
AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.ResourceNotFoundException
- The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
describeTags(DescribeTagsRequest)
default 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 account that have tags can be listed if you call
DescribeTags
as is without passing any parameters.
describeTagsRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.ResourceNotFoundException
- The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 account that have tags can be listed if you call
DescribeTags
as is without passing any parameters.
This is a convenience which creates an instance of the 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.ResourceNotFoundException
- The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
getDiscoverySummary(GetDiscoverySummaryRequest)
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.ResourceNotFoundException
- The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.ResourceNotFoundException
- The specified configuration ID was not located. Verify the configuration ID and try again.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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
AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.OperationNotPermittedException
- This operation is not permitted.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.AwsServiceException
default 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
AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.OperationNotPermittedException
- This operation is not permitted.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.AwsServiceException
default StartDataCollectionByAgentIdsResponse startDataCollectionByAgentIds(StartDataCollectionByAgentIdsRequest startDataCollectionByAgentIdsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Instructs the specified agents or connectors to start collecting data.
startDataCollectionByAgentIdsRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default StartDataCollectionByAgentIdsResponse startDataCollectionByAgentIds(Consumer<StartDataCollectionByAgentIdsRequest.Builder> startDataCollectionByAgentIdsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Instructs the specified agents or connectors 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default StartExportTaskResponse startExportTask() throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, OperationNotPermittedException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Begins the export of discovered data to an S3 bucket.
If you specify agentIds
in a filter, the task exports up to 72 hours of detailed data collected by
the identified Application Discovery Agent, including network, process, and performance details. A time range for
exported agent data may be set by using startTime
and endTime
. Export of detailed agent
data is limited to five concurrently running exports.
If you do not include an agentIds
filter, summary data is exported that includes both AWS Agentless
Discovery Connector data and summary data from AWS Discovery Agents. Export of summary data is limited to two
exports per day.
AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.OperationNotPermittedException
- This operation is not permitted.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.AwsServiceException
startExportTask(StartExportTaskRequest)
default StartExportTaskResponse startExportTask(StartExportTaskRequest startExportTaskRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, OperationNotPermittedException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Begins the export of discovered data to an S3 bucket.
If you specify agentIds
in a filter, the task exports up to 72 hours of detailed data collected by
the identified Application Discovery Agent, including network, process, and performance details. A time range for
exported agent data may be set by using startTime
and endTime
. Export of detailed agent
data is limited to five concurrently running exports.
If you do not include an agentIds
filter, summary data is exported that includes both AWS Agentless
Discovery Connector data and summary data from AWS Discovery Agents. Export of summary data is limited to two
exports per day.
startExportTaskRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.OperationNotPermittedException
- This operation is not permitted.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.AwsServiceException
default StartExportTaskResponse startExportTask(Consumer<StartExportTaskRequest.Builder> startExportTaskRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, OperationNotPermittedException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Begins the export of discovered data to an S3 bucket.
If you specify agentIds
in a filter, the task exports up to 72 hours of detailed data collected by
the identified Application Discovery Agent, including network, process, and performance details. A time range for
exported agent data may be set by using startTime
and endTime
. Export of detailed agent
data is limited to five concurrently running exports.
If you do not include an agentIds
filter, summary data is exported that includes both AWS Agentless
Discovery Connector data and summary data from AWS Discovery Agents. Export of summary data is limited to two
exports per day.
This is a convenience which creates an instance of the 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.OperationNotPermittedException
- This operation is not permitted.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.AwsServiceException
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 AWS Migration Hub without having to use the Application Discovery Service (ADS) tools such as the Discovery Connector or Discovery Agent. This gives you the option to perform migration assessment and planning directly from your imported data, including the ability to group your devices as applications and track their migration status.
To start an import request, do this:
Download the specially formatted comma separated value (CSV) import template, which you can find here: https://s3-us-west-2.amazonaws.com/templates-7cffcf56-bd96-4b1c-b45b-a5b42f282e46/import_template.csv.
Fill out the template with your server and application data.
Upload your import file to an Amazon S3 bucket, and make a note of it's Object URL. Your import file must be in the CSV format.
Use the console or the StartImportTask
command with the AWS CLI or one of the AWS SDKs to import the
records from your file.
For more information, including step-by-step procedures, see Migration Hub Import in the AWS Application Discovery Service User Guide.
There are limits to the number of import tasks you can create (and delete) in an AWS account. For more information, see AWS Application Discovery Service Limits in the AWS 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 AWS Migration Hub without having to use the Application Discovery Service (ADS) tools such as the Discovery Connector or Discovery Agent. This gives you the option to perform migration assessment and planning directly from your imported data, including the ability to group your devices as applications and track their migration status.
To start an import request, do this:
Download the specially formatted comma separated value (CSV) import template, which you can find here: https://s3-us-west-2.amazonaws.com/templates-7cffcf56-bd96-4b1c-b45b-a5b42f282e46/import_template.csv.
Fill out the template with your server and application data.
Upload your import file to an Amazon S3 bucket, and make a note of it's Object URL. Your import file must be in the CSV format.
Use the console or the StartImportTask
command with the AWS CLI or one of the AWS SDKs to import the
records from your file.
For more information, including step-by-step procedures, see Migration Hub Import in the AWS Application Discovery Service User Guide.
There are limits to the number of import tasks you can create (and delete) in an AWS account. For more information, see AWS Application Discovery Service Limits in the AWS 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.OperationNotPermittedException
- This operation is not permitted.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.AwsServiceException
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.OperationNotPermittedException
- This operation is not permitted.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.AwsServiceException
default StopDataCollectionByAgentIdsResponse stopDataCollectionByAgentIds(StopDataCollectionByAgentIdsRequest stopDataCollectionByAgentIdsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Instructs the specified agents or connectors to stop collecting data.
stopDataCollectionByAgentIdsRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default StopDataCollectionByAgentIdsResponse stopDataCollectionByAgentIds(Consumer<StopDataCollectionByAgentIdsRequest.Builder> stopDataCollectionByAgentIdsRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Instructs the specified agents or connectors 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default UpdateApplicationResponse updateApplication(UpdateApplicationRequest updateApplicationRequest) throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, HomeRegionNotSetException, AwsServiceException, SdkClientException, ApplicationDiscoveryException
Updates metadata about an application.
updateApplicationRequest
- AuthorizationErrorException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
default 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 AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.InvalidParameterException
- One or more parameters are not valid. Verify the parameters and try again.InvalidParameterValueException
- The value of one or more parameters are either invalid or out of range. Verify the parameter values and
try again.ServerInternalErrorException
- The server experienced an internal error. Try again.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.AwsServiceException
static ServiceMetadata serviceMetadata()