Interface AppIntegrationsAsyncClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface AppIntegrationsAsyncClient extends AwsClient
Service client for accessing Amazon AppIntegrations Service asynchronously. This can be created using the staticbuilder()method.The asynchronous client performs non-blocking I/O when configured with anySdkAsyncHttpClientsupported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API call.The Amazon AppIntegrations service enables you to configure and reuse connections to external applications.
For information about how you can use external applications with Amazon Connect, see Set up pre-built integrations and Deliver information to agents using Amazon Connect Wisdom in the Amazon Connect Administrator Guide.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
createApplication
default CompletableFuture<CreateApplicationResponse> createApplication(CreateApplicationRequest createApplicationRequest)
This API is in preview release and subject to change.
Creates and persists an Application resource.
- Parameters:
createApplicationRequest-- Returns:
- A Java Future containing the result of the CreateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ResourceQuotaExceededException The allowed quota for the resource has been exceeded.
- DuplicateResourceException A resource with the specified name already exists.
- ThrottlingException The throttling limit has been exceeded.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- UnsupportedOperationException The operation is not supported.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createApplication
default CompletableFuture<CreateApplicationResponse> createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest)
This API is in preview release and subject to change.
Creates and persists an Application resource.
This is a convenience which creates an instance of the
CreateApplicationRequest.Builderavoiding the need to create one manually viaCreateApplicationRequest.builder()- Parameters:
createApplicationRequest- AConsumerthat will call methods onCreateApplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ResourceQuotaExceededException The allowed quota for the resource has been exceeded.
- DuplicateResourceException A resource with the specified name already exists.
- ThrottlingException The throttling limit has been exceeded.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- UnsupportedOperationException The operation is not supported.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createDataIntegration
default CompletableFuture<CreateDataIntegrationResponse> createDataIntegration(CreateDataIntegrationRequest createDataIntegrationRequest)
Creates and persists a DataIntegration resource.
You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the
CreateDataIntegrationAPI.- Parameters:
createDataIntegrationRequest-- Returns:
- A Java Future containing the result of the CreateDataIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ResourceQuotaExceededException The allowed quota for the resource has been exceeded.
- DuplicateResourceException A resource with the specified name already exists.
- ThrottlingException The throttling limit has been exceeded.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createDataIntegration
default CompletableFuture<CreateDataIntegrationResponse> createDataIntegration(Consumer<CreateDataIntegrationRequest.Builder> createDataIntegrationRequest)
Creates and persists a DataIntegration resource.
You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the
CreateDataIntegrationAPI.
This is a convenience which creates an instance of the
CreateDataIntegrationRequest.Builderavoiding the need to create one manually viaCreateDataIntegrationRequest.builder()- Parameters:
createDataIntegrationRequest- AConsumerthat will call methods onCreateDataIntegrationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateDataIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ResourceQuotaExceededException The allowed quota for the resource has been exceeded.
- DuplicateResourceException A resource with the specified name already exists.
- ThrottlingException The throttling limit has been exceeded.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createEventIntegration
default CompletableFuture<CreateEventIntegrationResponse> createEventIntegration(CreateEventIntegrationRequest createEventIntegrationRequest)
Creates an EventIntegration, given a specified name, description, and a reference to an Amazon EventBridge bus in your account and a partner event source that pushes events to that bus. No objects are created in the your account, only metadata that is persisted on the EventIntegration control plane.
- Parameters:
createEventIntegrationRequest-- Returns:
- A Java Future containing the result of the CreateEventIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ResourceQuotaExceededException The allowed quota for the resource has been exceeded.
- DuplicateResourceException A resource with the specified name already exists.
- ThrottlingException The throttling limit has been exceeded.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createEventIntegration
default CompletableFuture<CreateEventIntegrationResponse> createEventIntegration(Consumer<CreateEventIntegrationRequest.Builder> createEventIntegrationRequest)
Creates an EventIntegration, given a specified name, description, and a reference to an Amazon EventBridge bus in your account and a partner event source that pushes events to that bus. No objects are created in the your account, only metadata that is persisted on the EventIntegration control plane.
This is a convenience which creates an instance of the
CreateEventIntegrationRequest.Builderavoiding the need to create one manually viaCreateEventIntegrationRequest.builder()- Parameters:
createEventIntegrationRequest- AConsumerthat will call methods onCreateEventIntegrationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateEventIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ResourceQuotaExceededException The allowed quota for the resource has been exceeded.
- DuplicateResourceException A resource with the specified name already exists.
- ThrottlingException The throttling limit has been exceeded.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteApplication
default CompletableFuture<DeleteApplicationResponse> deleteApplication(DeleteApplicationRequest deleteApplicationRequest)
Deletes the Application. Only Applications that don't have any Application Associations can be deleted.
- Parameters:
deleteApplicationRequest-- Returns:
- A Java Future containing the result of the DeleteApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteApplication
default CompletableFuture<DeleteApplicationResponse> deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest)
Deletes the Application. Only Applications that don't have any Application Associations can be deleted.
This is a convenience which creates an instance of the
DeleteApplicationRequest.Builderavoiding the need to create one manually viaDeleteApplicationRequest.builder()- Parameters:
deleteApplicationRequest- AConsumerthat will call methods onDeleteApplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteDataIntegration
default CompletableFuture<DeleteDataIntegrationResponse> deleteDataIntegration(DeleteDataIntegrationRequest deleteDataIntegrationRequest)
Deletes the DataIntegration. Only DataIntegrations that don't have any DataIntegrationAssociations can be deleted. Deleting a DataIntegration also deletes the underlying Amazon AppFlow flow and service linked role.
You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
- Parameters:
deleteDataIntegrationRequest-- Returns:
- A Java Future containing the result of the DeleteDataIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteDataIntegration
default CompletableFuture<DeleteDataIntegrationResponse> deleteDataIntegration(Consumer<DeleteDataIntegrationRequest.Builder> deleteDataIntegrationRequest)
Deletes the DataIntegration. Only DataIntegrations that don't have any DataIntegrationAssociations can be deleted. Deleting a DataIntegration also deletes the underlying Amazon AppFlow flow and service linked role.
You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
This is a convenience which creates an instance of the
DeleteDataIntegrationRequest.Builderavoiding the need to create one manually viaDeleteDataIntegrationRequest.builder()- Parameters:
deleteDataIntegrationRequest- AConsumerthat will call methods onDeleteDataIntegrationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteDataIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteEventIntegration
default CompletableFuture<DeleteEventIntegrationResponse> deleteEventIntegration(DeleteEventIntegrationRequest deleteEventIntegrationRequest)
Deletes the specified existing event integration. If the event integration is associated with clients, the request is rejected.
- Parameters:
deleteEventIntegrationRequest-- Returns:
- A Java Future containing the result of the DeleteEventIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteEventIntegration
default CompletableFuture<DeleteEventIntegrationResponse> deleteEventIntegration(Consumer<DeleteEventIntegrationRequest.Builder> deleteEventIntegrationRequest)
Deletes the specified existing event integration. If the event integration is associated with clients, the request is rejected.
This is a convenience which creates an instance of the
DeleteEventIntegrationRequest.Builderavoiding the need to create one manually viaDeleteEventIntegrationRequest.builder()- Parameters:
deleteEventIntegrationRequest- AConsumerthat will call methods onDeleteEventIntegrationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteEventIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getApplication
default CompletableFuture<GetApplicationResponse> getApplication(GetApplicationRequest getApplicationRequest)
This API is in preview release and subject to change.
Get an Application resource.
- Parameters:
getApplicationRequest-- Returns:
- A Java Future containing the result of the GetApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getApplication
default CompletableFuture<GetApplicationResponse> getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest)
This API is in preview release and subject to change.
Get an Application resource.
This is a convenience which creates an instance of the
GetApplicationRequest.Builderavoiding the need to create one manually viaGetApplicationRequest.builder()- Parameters:
getApplicationRequest- AConsumerthat will call methods onGetApplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDataIntegration
default CompletableFuture<GetDataIntegrationResponse> getDataIntegration(GetDataIntegrationRequest getDataIntegrationRequest)
Returns information about the DataIntegration.
You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
- Parameters:
getDataIntegrationRequest-- Returns:
- A Java Future containing the result of the GetDataIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDataIntegration
default CompletableFuture<GetDataIntegrationResponse> getDataIntegration(Consumer<GetDataIntegrationRequest.Builder> getDataIntegrationRequest)
Returns information about the DataIntegration.
You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
This is a convenience which creates an instance of the
GetDataIntegrationRequest.Builderavoiding the need to create one manually viaGetDataIntegrationRequest.builder()- Parameters:
getDataIntegrationRequest- AConsumerthat will call methods onGetDataIntegrationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetDataIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getEventIntegration
default CompletableFuture<GetEventIntegrationResponse> getEventIntegration(GetEventIntegrationRequest getEventIntegrationRequest)
Returns information about the event integration.
- Parameters:
getEventIntegrationRequest-- Returns:
- A Java Future containing the result of the GetEventIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getEventIntegration
default CompletableFuture<GetEventIntegrationResponse> getEventIntegration(Consumer<GetEventIntegrationRequest.Builder> getEventIntegrationRequest)
Returns information about the event integration.
This is a convenience which creates an instance of the
GetEventIntegrationRequest.Builderavoiding the need to create one manually viaGetEventIntegrationRequest.builder()- Parameters:
getEventIntegrationRequest- AConsumerthat will call methods onGetEventIntegrationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetEventIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listApplicationAssociations
default CompletableFuture<ListApplicationAssociationsResponse> listApplicationAssociations(ListApplicationAssociationsRequest listApplicationAssociationsRequest)
Returns a paginated list of application associations for an application.
- Parameters:
listApplicationAssociationsRequest-- Returns:
- A Java Future containing the result of the ListApplicationAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listApplicationAssociations
default CompletableFuture<ListApplicationAssociationsResponse> listApplicationAssociations(Consumer<ListApplicationAssociationsRequest.Builder> listApplicationAssociationsRequest)
Returns a paginated list of application associations for an application.
This is a convenience which creates an instance of the
ListApplicationAssociationsRequest.Builderavoiding the need to create one manually viaListApplicationAssociationsRequest.builder()- Parameters:
listApplicationAssociationsRequest- AConsumerthat will call methods onListApplicationAssociationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListApplicationAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listApplicationAssociationsPaginator
default ListApplicationAssociationsPublisher listApplicationAssociationsPaginator(ListApplicationAssociationsRequest listApplicationAssociationsRequest)
This is a variant of
listApplicationAssociations(software.amazon.awssdk.services.appintegrations.model.ListApplicationAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appintegrations.paginators.ListApplicationAssociationsPublisher publisher = client.listApplicationAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appintegrations.paginators.ListApplicationAssociationsPublisher publisher = client.listApplicationAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appintegrations.model.ListApplicationAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appintegrations.model.ListApplicationAssociationsResponse response) { //... }; });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
listApplicationAssociations(software.amazon.awssdk.services.appintegrations.model.ListApplicationAssociationsRequest)operation.- Parameters:
listApplicationAssociationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listApplicationAssociationsPaginator
default ListApplicationAssociationsPublisher listApplicationAssociationsPaginator(Consumer<ListApplicationAssociationsRequest.Builder> listApplicationAssociationsRequest)
This is a variant of
listApplicationAssociations(software.amazon.awssdk.services.appintegrations.model.ListApplicationAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appintegrations.paginators.ListApplicationAssociationsPublisher publisher = client.listApplicationAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appintegrations.paginators.ListApplicationAssociationsPublisher publisher = client.listApplicationAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appintegrations.model.ListApplicationAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appintegrations.model.ListApplicationAssociationsResponse response) { //... }; });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
listApplicationAssociations(software.amazon.awssdk.services.appintegrations.model.ListApplicationAssociationsRequest)operation.
This is a convenience which creates an instance of the
ListApplicationAssociationsRequest.Builderavoiding the need to create one manually viaListApplicationAssociationsRequest.builder()- Parameters:
listApplicationAssociationsRequest- AConsumerthat will call methods onListApplicationAssociationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listApplications
default CompletableFuture<ListApplicationsResponse> listApplications(ListApplicationsRequest listApplicationsRequest)
This API is in preview release and subject to change.
Lists applications in the account.
- Parameters:
listApplicationsRequest-- Returns:
- A Java Future containing the result of the ListApplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listApplications
default CompletableFuture<ListApplicationsResponse> listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
This API is in preview release and subject to change.
Lists applications in the account.
This is a convenience which creates an instance of the
ListApplicationsRequest.Builderavoiding the need to create one manually viaListApplicationsRequest.builder()- Parameters:
listApplicationsRequest- AConsumerthat will call methods onListApplicationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListApplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listApplicationsPaginator
default ListApplicationsPublisher listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest)
This is a variant of
listApplications(software.amazon.awssdk.services.appintegrations.model.ListApplicationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appintegrations.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appintegrations.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appintegrations.model.ListApplicationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appintegrations.model.ListApplicationsResponse response) { //... }; });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
listApplications(software.amazon.awssdk.services.appintegrations.model.ListApplicationsRequest)operation.- Parameters:
listApplicationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listApplicationsPaginator
default ListApplicationsPublisher listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
This is a variant of
listApplications(software.amazon.awssdk.services.appintegrations.model.ListApplicationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appintegrations.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appintegrations.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appintegrations.model.ListApplicationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appintegrations.model.ListApplicationsResponse response) { //... }; });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
listApplications(software.amazon.awssdk.services.appintegrations.model.ListApplicationsRequest)operation.
This is a convenience which creates an instance of the
ListApplicationsRequest.Builderavoiding the need to create one manually viaListApplicationsRequest.builder()- Parameters:
listApplicationsRequest- AConsumerthat will call methods onListApplicationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDataIntegrationAssociations
default CompletableFuture<ListDataIntegrationAssociationsResponse> listDataIntegrationAssociations(ListDataIntegrationAssociationsRequest listDataIntegrationAssociationsRequest)
Returns a paginated list of DataIntegration associations in the account.
You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
- Parameters:
listDataIntegrationAssociationsRequest-- Returns:
- A Java Future containing the result of the ListDataIntegrationAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDataIntegrationAssociations
default CompletableFuture<ListDataIntegrationAssociationsResponse> listDataIntegrationAssociations(Consumer<ListDataIntegrationAssociationsRequest.Builder> listDataIntegrationAssociationsRequest)
Returns a paginated list of DataIntegration associations in the account.
You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
This is a convenience which creates an instance of the
ListDataIntegrationAssociationsRequest.Builderavoiding the need to create one manually viaListDataIntegrationAssociationsRequest.builder()- Parameters:
listDataIntegrationAssociationsRequest- AConsumerthat will call methods onListDataIntegrationAssociationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDataIntegrationAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDataIntegrationAssociationsPaginator
default ListDataIntegrationAssociationsPublisher listDataIntegrationAssociationsPaginator(ListDataIntegrationAssociationsRequest listDataIntegrationAssociationsRequest)
This is a variant of
listDataIntegrationAssociations(software.amazon.awssdk.services.appintegrations.model.ListDataIntegrationAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appintegrations.paginators.ListDataIntegrationAssociationsPublisher publisher = client.listDataIntegrationAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appintegrations.paginators.ListDataIntegrationAssociationsPublisher publisher = client.listDataIntegrationAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appintegrations.model.ListDataIntegrationAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appintegrations.model.ListDataIntegrationAssociationsResponse response) { //... }; });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
listDataIntegrationAssociations(software.amazon.awssdk.services.appintegrations.model.ListDataIntegrationAssociationsRequest)operation.- Parameters:
listDataIntegrationAssociationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDataIntegrationAssociationsPaginator
default ListDataIntegrationAssociationsPublisher listDataIntegrationAssociationsPaginator(Consumer<ListDataIntegrationAssociationsRequest.Builder> listDataIntegrationAssociationsRequest)
This is a variant of
listDataIntegrationAssociations(software.amazon.awssdk.services.appintegrations.model.ListDataIntegrationAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appintegrations.paginators.ListDataIntegrationAssociationsPublisher publisher = client.listDataIntegrationAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appintegrations.paginators.ListDataIntegrationAssociationsPublisher publisher = client.listDataIntegrationAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appintegrations.model.ListDataIntegrationAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appintegrations.model.ListDataIntegrationAssociationsResponse response) { //... }; });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
listDataIntegrationAssociations(software.amazon.awssdk.services.appintegrations.model.ListDataIntegrationAssociationsRequest)operation.
This is a convenience which creates an instance of the
ListDataIntegrationAssociationsRequest.Builderavoiding the need to create one manually viaListDataIntegrationAssociationsRequest.builder()- Parameters:
listDataIntegrationAssociationsRequest- AConsumerthat will call methods onListDataIntegrationAssociationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDataIntegrations
default CompletableFuture<ListDataIntegrationsResponse> listDataIntegrations(ListDataIntegrationsRequest listDataIntegrationsRequest)
Returns a paginated list of DataIntegrations in the account.
You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
- Parameters:
listDataIntegrationsRequest-- Returns:
- A Java Future containing the result of the ListDataIntegrations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDataIntegrations
default CompletableFuture<ListDataIntegrationsResponse> listDataIntegrations(Consumer<ListDataIntegrationsRequest.Builder> listDataIntegrationsRequest)
Returns a paginated list of DataIntegrations in the account.
You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
This is a convenience which creates an instance of the
ListDataIntegrationsRequest.Builderavoiding the need to create one manually viaListDataIntegrationsRequest.builder()- Parameters:
listDataIntegrationsRequest- AConsumerthat will call methods onListDataIntegrationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDataIntegrations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDataIntegrationsPaginator
default ListDataIntegrationsPublisher listDataIntegrationsPaginator(ListDataIntegrationsRequest listDataIntegrationsRequest)
This is a variant of
listDataIntegrations(software.amazon.awssdk.services.appintegrations.model.ListDataIntegrationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appintegrations.paginators.ListDataIntegrationsPublisher publisher = client.listDataIntegrationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appintegrations.paginators.ListDataIntegrationsPublisher publisher = client.listDataIntegrationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appintegrations.model.ListDataIntegrationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appintegrations.model.ListDataIntegrationsResponse response) { //... }; });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
listDataIntegrations(software.amazon.awssdk.services.appintegrations.model.ListDataIntegrationsRequest)operation.- Parameters:
listDataIntegrationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDataIntegrationsPaginator
default ListDataIntegrationsPublisher listDataIntegrationsPaginator(Consumer<ListDataIntegrationsRequest.Builder> listDataIntegrationsRequest)
This is a variant of
listDataIntegrations(software.amazon.awssdk.services.appintegrations.model.ListDataIntegrationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appintegrations.paginators.ListDataIntegrationsPublisher publisher = client.listDataIntegrationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appintegrations.paginators.ListDataIntegrationsPublisher publisher = client.listDataIntegrationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appintegrations.model.ListDataIntegrationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appintegrations.model.ListDataIntegrationsResponse response) { //... }; });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
listDataIntegrations(software.amazon.awssdk.services.appintegrations.model.ListDataIntegrationsRequest)operation.
This is a convenience which creates an instance of the
ListDataIntegrationsRequest.Builderavoiding the need to create one manually viaListDataIntegrationsRequest.builder()- Parameters:
listDataIntegrationsRequest- AConsumerthat will call methods onListDataIntegrationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listEventIntegrationAssociations
default CompletableFuture<ListEventIntegrationAssociationsResponse> listEventIntegrationAssociations(ListEventIntegrationAssociationsRequest listEventIntegrationAssociationsRequest)
Returns a paginated list of event integration associations in the account.
- Parameters:
listEventIntegrationAssociationsRequest-- Returns:
- A Java Future containing the result of the ListEventIntegrationAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listEventIntegrationAssociations
default CompletableFuture<ListEventIntegrationAssociationsResponse> listEventIntegrationAssociations(Consumer<ListEventIntegrationAssociationsRequest.Builder> listEventIntegrationAssociationsRequest)
Returns a paginated list of event integration associations in the account.
This is a convenience which creates an instance of the
ListEventIntegrationAssociationsRequest.Builderavoiding the need to create one manually viaListEventIntegrationAssociationsRequest.builder()- Parameters:
listEventIntegrationAssociationsRequest- AConsumerthat will call methods onListEventIntegrationAssociationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEventIntegrationAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listEventIntegrationAssociationsPaginator
default ListEventIntegrationAssociationsPublisher listEventIntegrationAssociationsPaginator(ListEventIntegrationAssociationsRequest listEventIntegrationAssociationsRequest)
This is a variant of
listEventIntegrationAssociations(software.amazon.awssdk.services.appintegrations.model.ListEventIntegrationAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appintegrations.paginators.ListEventIntegrationAssociationsPublisher publisher = client.listEventIntegrationAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appintegrations.paginators.ListEventIntegrationAssociationsPublisher publisher = client.listEventIntegrationAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appintegrations.model.ListEventIntegrationAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appintegrations.model.ListEventIntegrationAssociationsResponse response) { //... }; });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
listEventIntegrationAssociations(software.amazon.awssdk.services.appintegrations.model.ListEventIntegrationAssociationsRequest)operation.- Parameters:
listEventIntegrationAssociationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listEventIntegrationAssociationsPaginator
default ListEventIntegrationAssociationsPublisher listEventIntegrationAssociationsPaginator(Consumer<ListEventIntegrationAssociationsRequest.Builder> listEventIntegrationAssociationsRequest)
This is a variant of
listEventIntegrationAssociations(software.amazon.awssdk.services.appintegrations.model.ListEventIntegrationAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appintegrations.paginators.ListEventIntegrationAssociationsPublisher publisher = client.listEventIntegrationAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appintegrations.paginators.ListEventIntegrationAssociationsPublisher publisher = client.listEventIntegrationAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appintegrations.model.ListEventIntegrationAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appintegrations.model.ListEventIntegrationAssociationsResponse response) { //... }; });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
listEventIntegrationAssociations(software.amazon.awssdk.services.appintegrations.model.ListEventIntegrationAssociationsRequest)operation.
This is a convenience which creates an instance of the
ListEventIntegrationAssociationsRequest.Builderavoiding the need to create one manually viaListEventIntegrationAssociationsRequest.builder()- Parameters:
listEventIntegrationAssociationsRequest- AConsumerthat will call methods onListEventIntegrationAssociationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listEventIntegrations
default CompletableFuture<ListEventIntegrationsResponse> listEventIntegrations(ListEventIntegrationsRequest listEventIntegrationsRequest)
Returns a paginated list of event integrations in the account.
- Parameters:
listEventIntegrationsRequest-- Returns:
- A Java Future containing the result of the ListEventIntegrations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listEventIntegrations
default CompletableFuture<ListEventIntegrationsResponse> listEventIntegrations(Consumer<ListEventIntegrationsRequest.Builder> listEventIntegrationsRequest)
Returns a paginated list of event integrations in the account.
This is a convenience which creates an instance of the
ListEventIntegrationsRequest.Builderavoiding the need to create one manually viaListEventIntegrationsRequest.builder()- Parameters:
listEventIntegrationsRequest- AConsumerthat will call methods onListEventIntegrationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEventIntegrations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listEventIntegrationsPaginator
default ListEventIntegrationsPublisher listEventIntegrationsPaginator(ListEventIntegrationsRequest listEventIntegrationsRequest)
This is a variant of
listEventIntegrations(software.amazon.awssdk.services.appintegrations.model.ListEventIntegrationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appintegrations.paginators.ListEventIntegrationsPublisher publisher = client.listEventIntegrationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appintegrations.paginators.ListEventIntegrationsPublisher publisher = client.listEventIntegrationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appintegrations.model.ListEventIntegrationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appintegrations.model.ListEventIntegrationsResponse response) { //... }; });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
listEventIntegrations(software.amazon.awssdk.services.appintegrations.model.ListEventIntegrationsRequest)operation.- Parameters:
listEventIntegrationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listEventIntegrationsPaginator
default ListEventIntegrationsPublisher listEventIntegrationsPaginator(Consumer<ListEventIntegrationsRequest.Builder> listEventIntegrationsRequest)
This is a variant of
listEventIntegrations(software.amazon.awssdk.services.appintegrations.model.ListEventIntegrationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appintegrations.paginators.ListEventIntegrationsPublisher publisher = client.listEventIntegrationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appintegrations.paginators.ListEventIntegrationsPublisher publisher = client.listEventIntegrationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appintegrations.model.ListEventIntegrationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appintegrations.model.ListEventIntegrationsResponse response) { //... }; });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
listEventIntegrations(software.amazon.awssdk.services.appintegrations.model.ListEventIntegrationsRequest)operation.
This is a convenience which creates an instance of the
ListEventIntegrationsRequest.Builderavoiding the need to create one manually viaListEventIntegrationsRequest.builder()- Parameters:
listEventIntegrationsRequest- AConsumerthat will call methods onListEventIntegrationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for the specified resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags for the specified resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Adds the specified tags to the specified resource.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds the specified tags to the specified resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Removes the specified tags from the specified resource.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes the specified tags from the specified resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateApplication
default CompletableFuture<UpdateApplicationResponse> updateApplication(UpdateApplicationRequest updateApplicationRequest)
This API is in preview release and subject to change.
Updates and persists an Application resource.
- Parameters:
updateApplicationRequest-- Returns:
- A Java Future containing the result of the UpdateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- UnsupportedOperationException The operation is not supported.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateApplication
default CompletableFuture<UpdateApplicationResponse> updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest)
This API is in preview release and subject to change.
Updates and persists an Application resource.
This is a convenience which creates an instance of the
UpdateApplicationRequest.Builderavoiding the need to create one manually viaUpdateApplicationRequest.builder()- Parameters:
updateApplicationRequest- AConsumerthat will call methods onUpdateApplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- UnsupportedOperationException The operation is not supported.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateDataIntegration
default CompletableFuture<UpdateDataIntegrationResponse> updateDataIntegration(UpdateDataIntegrationRequest updateDataIntegrationRequest)
Updates the description of a DataIntegration.
You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
- Parameters:
updateDataIntegrationRequest-- Returns:
- A Java Future containing the result of the UpdateDataIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateDataIntegration
default CompletableFuture<UpdateDataIntegrationResponse> updateDataIntegration(Consumer<UpdateDataIntegrationRequest.Builder> updateDataIntegrationRequest)
Updates the description of a DataIntegration.
You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
This is a convenience which creates an instance of the
UpdateDataIntegrationRequest.Builderavoiding the need to create one manually viaUpdateDataIntegrationRequest.builder()- Parameters:
updateDataIntegrationRequest- AConsumerthat will call methods onUpdateDataIntegrationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateDataIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateEventIntegration
default CompletableFuture<UpdateEventIntegrationResponse> updateEventIntegration(UpdateEventIntegrationRequest updateEventIntegrationRequest)
Updates the description of an event integration.
- Parameters:
updateEventIntegrationRequest-- Returns:
- A Java Future containing the result of the UpdateEventIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateEventIntegration
default CompletableFuture<UpdateEventIntegrationResponse> updateEventIntegration(Consumer<UpdateEventIntegrationRequest.Builder> updateEventIntegrationRequest)
Updates the description of an event integration.
This is a convenience which creates an instance of the
UpdateEventIntegrationRequest.Builderavoiding the need to create one manually viaUpdateEventIntegrationRequest.builder()- Parameters:
updateEventIntegrationRequest- AConsumerthat will call methods onUpdateEventIntegrationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateEventIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Request processing failed due to an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- AppIntegrationsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
serviceClientConfiguration
default AppIntegrationsServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
create
static AppIntegrationsAsyncClient create()
Create aAppIntegrationsAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static AppIntegrationsAsyncClientBuilder builder()
Create a builder that can be used to configure and create aAppIntegrationsAsyncClient.
-
-