Interface AppFabricAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported 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.
Amazon Web Services AppFabric quickly connects software as a service (SaaS) applications across your organization. This allows IT and security teams to easily manage and secure applications using a standard schema, and employees can complete everyday tasks faster using generative artificial intelligence (AI). You can use these APIs to complete AppFabric tasks, such as setting up audit log ingestions or viewing user access. For more information about AppFabric, including the required permissions to use the service, see the Amazon Web Services AppFabric Administration Guide. For more information about using the Command Line Interface (CLI) to manage your AppFabric resources, see the AppFabric section of the CLI Reference.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionbatchGetUserAccessTasks
(Consumer<BatchGetUserAccessTasksRequest.Builder> batchGetUserAccessTasksRequest) Gets user access details in a batch request.batchGetUserAccessTasks
(BatchGetUserAccessTasksRequest batchGetUserAccessTasksRequest) Gets user access details in a batch request.static AppFabricAsyncClientBuilder
builder()
Create a builder that can be used to configure and create aAppFabricAsyncClient
.connectAppAuthorization
(Consumer<ConnectAppAuthorizationRequest.Builder> connectAppAuthorizationRequest) Establishes a connection between Amazon Web Services AppFabric and an application, which allows AppFabric to call the APIs of the application.connectAppAuthorization
(ConnectAppAuthorizationRequest connectAppAuthorizationRequest) Establishes a connection between Amazon Web Services AppFabric and an application, which allows AppFabric to call the APIs of the application.static AppFabricAsyncClient
create()
Create aAppFabricAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.createAppAuthorization
(Consumer<CreateAppAuthorizationRequest.Builder> createAppAuthorizationRequest) Creates an app authorization within an app bundle, which allows AppFabric to connect to an application.createAppAuthorization
(CreateAppAuthorizationRequest createAppAuthorizationRequest) Creates an app authorization within an app bundle, which allows AppFabric to connect to an application.default CompletableFuture
<CreateAppBundleResponse> createAppBundle
(Consumer<CreateAppBundleRequest.Builder> createAppBundleRequest) Creates an app bundle to collect data from an application using AppFabric.default CompletableFuture
<CreateAppBundleResponse> createAppBundle
(CreateAppBundleRequest createAppBundleRequest) Creates an app bundle to collect data from an application using AppFabric.default CompletableFuture
<CreateIngestionResponse> createIngestion
(Consumer<CreateIngestionRequest.Builder> createIngestionRequest) Creates a data ingestion for an application.default CompletableFuture
<CreateIngestionResponse> createIngestion
(CreateIngestionRequest createIngestionRequest) Creates a data ingestion for an application.createIngestionDestination
(Consumer<CreateIngestionDestinationRequest.Builder> createIngestionDestinationRequest) Creates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered.createIngestionDestination
(CreateIngestionDestinationRequest createIngestionDestinationRequest) Creates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered.deleteAppAuthorization
(Consumer<DeleteAppAuthorizationRequest.Builder> deleteAppAuthorizationRequest) Deletes an app authorization.deleteAppAuthorization
(DeleteAppAuthorizationRequest deleteAppAuthorizationRequest) Deletes an app authorization.default CompletableFuture
<DeleteAppBundleResponse> deleteAppBundle
(Consumer<DeleteAppBundleRequest.Builder> deleteAppBundleRequest) Deletes an app bundle.default CompletableFuture
<DeleteAppBundleResponse> deleteAppBundle
(DeleteAppBundleRequest deleteAppBundleRequest) Deletes an app bundle.default CompletableFuture
<DeleteIngestionResponse> deleteIngestion
(Consumer<DeleteIngestionRequest.Builder> deleteIngestionRequest) Deletes an ingestion.default CompletableFuture
<DeleteIngestionResponse> deleteIngestion
(DeleteIngestionRequest deleteIngestionRequest) Deletes an ingestion.deleteIngestionDestination
(Consumer<DeleteIngestionDestinationRequest.Builder> deleteIngestionDestinationRequest) Deletes an ingestion destination.deleteIngestionDestination
(DeleteIngestionDestinationRequest deleteIngestionDestinationRequest) Deletes an ingestion destination.getAppAuthorization
(Consumer<GetAppAuthorizationRequest.Builder> getAppAuthorizationRequest) Returns information about an app authorization.getAppAuthorization
(GetAppAuthorizationRequest getAppAuthorizationRequest) Returns information about an app authorization.default CompletableFuture
<GetAppBundleResponse> getAppBundle
(Consumer<GetAppBundleRequest.Builder> getAppBundleRequest) Returns information about an app bundle.default CompletableFuture
<GetAppBundleResponse> getAppBundle
(GetAppBundleRequest getAppBundleRequest) Returns information about an app bundle.default CompletableFuture
<GetIngestionResponse> getIngestion
(Consumer<GetIngestionRequest.Builder> getIngestionRequest) Returns information about an ingestion.default CompletableFuture
<GetIngestionResponse> getIngestion
(GetIngestionRequest getIngestionRequest) Returns information about an ingestion.getIngestionDestination
(Consumer<GetIngestionDestinationRequest.Builder> getIngestionDestinationRequest) Returns information about an ingestion destination.getIngestionDestination
(GetIngestionDestinationRequest getIngestionDestinationRequest) Returns information about an ingestion destination.listAppAuthorizations
(Consumer<ListAppAuthorizationsRequest.Builder> listAppAuthorizationsRequest) Returns a list of all app authorizations configured for an app bundle.listAppAuthorizations
(ListAppAuthorizationsRequest listAppAuthorizationsRequest) Returns a list of all app authorizations configured for an app bundle.default ListAppAuthorizationsPublisher
listAppAuthorizationsPaginator
(Consumer<ListAppAuthorizationsRequest.Builder> listAppAuthorizationsRequest) This is a variant oflistAppAuthorizations(software.amazon.awssdk.services.appfabric.model.ListAppAuthorizationsRequest)
operation.default ListAppAuthorizationsPublisher
listAppAuthorizationsPaginator
(ListAppAuthorizationsRequest listAppAuthorizationsRequest) This is a variant oflistAppAuthorizations(software.amazon.awssdk.services.appfabric.model.ListAppAuthorizationsRequest)
operation.default CompletableFuture
<ListAppBundlesResponse> listAppBundles
(Consumer<ListAppBundlesRequest.Builder> listAppBundlesRequest) Returns a list of app bundles.default CompletableFuture
<ListAppBundlesResponse> listAppBundles
(ListAppBundlesRequest listAppBundlesRequest) Returns a list of app bundles.default ListAppBundlesPublisher
listAppBundlesPaginator
(Consumer<ListAppBundlesRequest.Builder> listAppBundlesRequest) This is a variant oflistAppBundles(software.amazon.awssdk.services.appfabric.model.ListAppBundlesRequest)
operation.default ListAppBundlesPublisher
listAppBundlesPaginator
(ListAppBundlesRequest listAppBundlesRequest) This is a variant oflistAppBundles(software.amazon.awssdk.services.appfabric.model.ListAppBundlesRequest)
operation.listIngestionDestinations
(Consumer<ListIngestionDestinationsRequest.Builder> listIngestionDestinationsRequest) Returns a list of all ingestion destinations configured for an ingestion.listIngestionDestinations
(ListIngestionDestinationsRequest listIngestionDestinationsRequest) Returns a list of all ingestion destinations configured for an ingestion.listIngestionDestinationsPaginator
(Consumer<ListIngestionDestinationsRequest.Builder> listIngestionDestinationsRequest) This is a variant oflistIngestionDestinations(software.amazon.awssdk.services.appfabric.model.ListIngestionDestinationsRequest)
operation.listIngestionDestinationsPaginator
(ListIngestionDestinationsRequest listIngestionDestinationsRequest) This is a variant oflistIngestionDestinations(software.amazon.awssdk.services.appfabric.model.ListIngestionDestinationsRequest)
operation.default CompletableFuture
<ListIngestionsResponse> listIngestions
(Consumer<ListIngestionsRequest.Builder> listIngestionsRequest) Returns a list of all ingestions configured for an app bundle.default CompletableFuture
<ListIngestionsResponse> listIngestions
(ListIngestionsRequest listIngestionsRequest) Returns a list of all ingestions configured for an app bundle.default ListIngestionsPublisher
listIngestionsPaginator
(Consumer<ListIngestionsRequest.Builder> listIngestionsRequest) This is a variant oflistIngestions(software.amazon.awssdk.services.appfabric.model.ListIngestionsRequest)
operation.default ListIngestionsPublisher
listIngestionsPaginator
(ListIngestionsRequest listIngestionsRequest) This is a variant oflistIngestions(software.amazon.awssdk.services.appfabric.model.ListIngestionsRequest)
operation.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns a list of tags for a resource.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Returns a list of tags for a resource.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture
<StartIngestionResponse> startIngestion
(Consumer<StartIngestionRequest.Builder> startIngestionRequest) Starts (enables) an ingestion, which collects data from an application.default CompletableFuture
<StartIngestionResponse> startIngestion
(StartIngestionRequest startIngestionRequest) Starts (enables) an ingestion, which collects data from an application.startUserAccessTasks
(Consumer<StartUserAccessTasksRequest.Builder> startUserAccessTasksRequest) Starts the tasks to search user access status for a specific email address.startUserAccessTasks
(StartUserAccessTasksRequest startUserAccessTasksRequest) Starts the tasks to search user access status for a specific email address.default CompletableFuture
<StopIngestionResponse> stopIngestion
(Consumer<StopIngestionRequest.Builder> stopIngestionRequest) Stops (disables) an ingestion.default CompletableFuture
<StopIngestionResponse> stopIngestion
(StopIngestionRequest stopIngestionRequest) Stops (disables) an ingestion.default CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Assigns one or more tags (key-value pairs) to the specified resource.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Assigns one or more tags (key-value pairs) to the specified resource.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a tag or tags from a resource.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Removes a tag or tags from a resource.updateAppAuthorization
(Consumer<UpdateAppAuthorizationRequest.Builder> updateAppAuthorizationRequest) Updates an app authorization within an app bundle, which allows AppFabric to connect to an application.updateAppAuthorization
(UpdateAppAuthorizationRequest updateAppAuthorizationRequest) Updates an app authorization within an app bundle, which allows AppFabric to connect to an application.updateIngestionDestination
(Consumer<UpdateIngestionDestinationRequest.Builder> updateIngestionDestinationRequest) Updates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered.updateIngestionDestination
(UpdateIngestionDestinationRequest updateIngestionDestinationRequest) Updates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
batchGetUserAccessTasks
default CompletableFuture<BatchGetUserAccessTasksResponse> batchGetUserAccessTasks(BatchGetUserAccessTasksRequest batchGetUserAccessTasksRequest) Gets user access details in a batch request.
This action polls data from the tasks that are kicked off by the
StartUserAccessTasks
action.- Parameters:
batchGetUserAccessTasksRequest
-- Returns:
- A Java Future containing the result of the BatchGetUserAccessTasks 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetUserAccessTasks
default CompletableFuture<BatchGetUserAccessTasksResponse> batchGetUserAccessTasks(Consumer<BatchGetUserAccessTasksRequest.Builder> batchGetUserAccessTasksRequest) Gets user access details in a batch request.
This action polls data from the tasks that are kicked off by the
StartUserAccessTasks
action.
This is a convenience which creates an instance of the
BatchGetUserAccessTasksRequest.Builder
avoiding the need to create one manually viaBatchGetUserAccessTasksRequest.builder()
- Parameters:
batchGetUserAccessTasksRequest
- AConsumer
that will call methods onBatchGetUserAccessTasksRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the BatchGetUserAccessTasks 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
connectAppAuthorization
default CompletableFuture<ConnectAppAuthorizationResponse> connectAppAuthorization(ConnectAppAuthorizationRequest connectAppAuthorizationRequest) Establishes a connection between Amazon Web Services AppFabric and an application, which allows AppFabric to call the APIs of the application.
- Parameters:
connectAppAuthorizationRequest
-- Returns:
- A Java Future containing the result of the ConnectAppAuthorization 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
connectAppAuthorization
default CompletableFuture<ConnectAppAuthorizationResponse> connectAppAuthorization(Consumer<ConnectAppAuthorizationRequest.Builder> connectAppAuthorizationRequest) Establishes a connection between Amazon Web Services AppFabric and an application, which allows AppFabric to call the APIs of the application.
This is a convenience which creates an instance of the
ConnectAppAuthorizationRequest.Builder
avoiding the need to create one manually viaConnectAppAuthorizationRequest.builder()
- Parameters:
connectAppAuthorizationRequest
- AConsumer
that will call methods onConnectAppAuthorizationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ConnectAppAuthorization 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAppAuthorization
default CompletableFuture<CreateAppAuthorizationResponse> createAppAuthorization(CreateAppAuthorizationRequest createAppAuthorizationRequest) Creates an app authorization within an app bundle, which allows AppFabric to connect to an application.
- Parameters:
createAppAuthorizationRequest
-- Returns:
- A Java Future containing the result of the CreateAppAuthorization 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ServiceQuotaExceededException The request exceeds a service quota.
- ThrottlingException The request rate exceeds the limit.
- ConflictException The request has created a conflict. Check the request parameters and try again.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAppAuthorization
default CompletableFuture<CreateAppAuthorizationResponse> createAppAuthorization(Consumer<CreateAppAuthorizationRequest.Builder> createAppAuthorizationRequest) Creates an app authorization within an app bundle, which allows AppFabric to connect to an application.
This is a convenience which creates an instance of the
CreateAppAuthorizationRequest.Builder
avoiding the need to create one manually viaCreateAppAuthorizationRequest.builder()
- Parameters:
createAppAuthorizationRequest
- AConsumer
that will call methods onCreateAppAuthorizationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateAppAuthorization 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ServiceQuotaExceededException The request exceeds a service quota.
- ThrottlingException The request rate exceeds the limit.
- ConflictException The request has created a conflict. Check the request parameters and try again.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAppBundle
default CompletableFuture<CreateAppBundleResponse> createAppBundle(CreateAppBundleRequest createAppBundleRequest) Creates an app bundle to collect data from an application using AppFabric.
- Parameters:
createAppBundleRequest
-- Returns:
- A Java Future containing the result of the CreateAppBundle 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ServiceQuotaExceededException The request exceeds a service quota.
- ThrottlingException The request rate exceeds the limit.
- ConflictException The request has created a conflict. Check the request parameters and try again.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAppBundle
default CompletableFuture<CreateAppBundleResponse> createAppBundle(Consumer<CreateAppBundleRequest.Builder> createAppBundleRequest) Creates an app bundle to collect data from an application using AppFabric.
This is a convenience which creates an instance of the
CreateAppBundleRequest.Builder
avoiding the need to create one manually viaCreateAppBundleRequest.builder()
- Parameters:
createAppBundleRequest
- AConsumer
that will call methods onCreateAppBundleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateAppBundle 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ServiceQuotaExceededException The request exceeds a service quota.
- ThrottlingException The request rate exceeds the limit.
- ConflictException The request has created a conflict. Check the request parameters and try again.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createIngestion
default CompletableFuture<CreateIngestionResponse> createIngestion(CreateIngestionRequest createIngestionRequest) Creates a data ingestion for an application.
- Parameters:
createIngestionRequest
-- Returns:
- A Java Future containing the result of the CreateIngestion 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ServiceQuotaExceededException The request exceeds a service quota.
- ThrottlingException The request rate exceeds the limit.
- ConflictException The request has created a conflict. Check the request parameters and try again.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createIngestion
default CompletableFuture<CreateIngestionResponse> createIngestion(Consumer<CreateIngestionRequest.Builder> createIngestionRequest) Creates a data ingestion for an application.
This is a convenience which creates an instance of the
CreateIngestionRequest.Builder
avoiding the need to create one manually viaCreateIngestionRequest.builder()
- Parameters:
createIngestionRequest
- AConsumer
that will call methods onCreateIngestionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateIngestion 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ServiceQuotaExceededException The request exceeds a service quota.
- ThrottlingException The request rate exceeds the limit.
- ConflictException The request has created a conflict. Check the request parameters and try again.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createIngestionDestination
default CompletableFuture<CreateIngestionDestinationResponse> createIngestionDestination(CreateIngestionDestinationRequest createIngestionDestinationRequest) Creates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered.
- Parameters:
createIngestionDestinationRequest
-- Returns:
- A Java Future containing the result of the CreateIngestionDestination 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ServiceQuotaExceededException The request exceeds a service quota.
- ThrottlingException The request rate exceeds the limit.
- ConflictException The request has created a conflict. Check the request parameters and try again.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createIngestionDestination
default CompletableFuture<CreateIngestionDestinationResponse> createIngestionDestination(Consumer<CreateIngestionDestinationRequest.Builder> createIngestionDestinationRequest) Creates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered.
This is a convenience which creates an instance of the
CreateIngestionDestinationRequest.Builder
avoiding the need to create one manually viaCreateIngestionDestinationRequest.builder()
- Parameters:
createIngestionDestinationRequest
- AConsumer
that will call methods onCreateIngestionDestinationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateIngestionDestination 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ServiceQuotaExceededException The request exceeds a service quota.
- ThrottlingException The request rate exceeds the limit.
- ConflictException The request has created a conflict. Check the request parameters and try again.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAppAuthorization
default CompletableFuture<DeleteAppAuthorizationResponse> deleteAppAuthorization(DeleteAppAuthorizationRequest deleteAppAuthorizationRequest) Deletes an app authorization. You must delete the associated ingestion before you can delete an app authorization.
- Parameters:
deleteAppAuthorizationRequest
-- Returns:
- A Java Future containing the result of the DeleteAppAuthorization 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAppAuthorization
default CompletableFuture<DeleteAppAuthorizationResponse> deleteAppAuthorization(Consumer<DeleteAppAuthorizationRequest.Builder> deleteAppAuthorizationRequest) Deletes an app authorization. You must delete the associated ingestion before you can delete an app authorization.
This is a convenience which creates an instance of the
DeleteAppAuthorizationRequest.Builder
avoiding the need to create one manually viaDeleteAppAuthorizationRequest.builder()
- Parameters:
deleteAppAuthorizationRequest
- AConsumer
that will call methods onDeleteAppAuthorizationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteAppAuthorization 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAppBundle
default CompletableFuture<DeleteAppBundleResponse> deleteAppBundle(DeleteAppBundleRequest deleteAppBundleRequest) Deletes an app bundle. You must delete all associated app authorizations before you can delete an app bundle.
- Parameters:
deleteAppBundleRequest
-- Returns:
- A Java Future containing the result of the DeleteAppBundle 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ConflictException The request has created a conflict. Check the request parameters and try again.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAppBundle
default CompletableFuture<DeleteAppBundleResponse> deleteAppBundle(Consumer<DeleteAppBundleRequest.Builder> deleteAppBundleRequest) Deletes an app bundle. You must delete all associated app authorizations before you can delete an app bundle.
This is a convenience which creates an instance of the
DeleteAppBundleRequest.Builder
avoiding the need to create one manually viaDeleteAppBundleRequest.builder()
- Parameters:
deleteAppBundleRequest
- AConsumer
that will call methods onDeleteAppBundleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteAppBundle 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ConflictException The request has created a conflict. Check the request parameters and try again.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteIngestion
default CompletableFuture<DeleteIngestionResponse> deleteIngestion(DeleteIngestionRequest deleteIngestionRequest) Deletes an ingestion. You must stop (disable) the ingestion and you must delete all associated ingestion destinations before you can delete an app ingestion.
- Parameters:
deleteIngestionRequest
-- Returns:
- A Java Future containing the result of the DeleteIngestion 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteIngestion
default CompletableFuture<DeleteIngestionResponse> deleteIngestion(Consumer<DeleteIngestionRequest.Builder> deleteIngestionRequest) Deletes an ingestion. You must stop (disable) the ingestion and you must delete all associated ingestion destinations before you can delete an app ingestion.
This is a convenience which creates an instance of the
DeleteIngestionRequest.Builder
avoiding the need to create one manually viaDeleteIngestionRequest.builder()
- Parameters:
deleteIngestionRequest
- AConsumer
that will call methods onDeleteIngestionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteIngestion 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteIngestionDestination
default CompletableFuture<DeleteIngestionDestinationResponse> deleteIngestionDestination(DeleteIngestionDestinationRequest deleteIngestionDestinationRequest) Deletes an ingestion destination.
This deletes the association between an ingestion and it's destination. It doesn't delete previously ingested data or the storage destination, such as the Amazon S3 bucket where the data is delivered. If the ingestion destination is deleted while the associated ingestion is enabled, the ingestion will fail and is eventually disabled.
- Parameters:
deleteIngestionDestinationRequest
-- Returns:
- A Java Future containing the result of the DeleteIngestionDestination 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteIngestionDestination
default CompletableFuture<DeleteIngestionDestinationResponse> deleteIngestionDestination(Consumer<DeleteIngestionDestinationRequest.Builder> deleteIngestionDestinationRequest) Deletes an ingestion destination.
This deletes the association between an ingestion and it's destination. It doesn't delete previously ingested data or the storage destination, such as the Amazon S3 bucket where the data is delivered. If the ingestion destination is deleted while the associated ingestion is enabled, the ingestion will fail and is eventually disabled.
This is a convenience which creates an instance of the
DeleteIngestionDestinationRequest.Builder
avoiding the need to create one manually viaDeleteIngestionDestinationRequest.builder()
- Parameters:
deleteIngestionDestinationRequest
- AConsumer
that will call methods onDeleteIngestionDestinationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteIngestionDestination 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAppAuthorization
default CompletableFuture<GetAppAuthorizationResponse> getAppAuthorization(GetAppAuthorizationRequest getAppAuthorizationRequest) Returns information about an app authorization.
- Parameters:
getAppAuthorizationRequest
-- Returns:
- A Java Future containing the result of the GetAppAuthorization 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAppAuthorization
default CompletableFuture<GetAppAuthorizationResponse> getAppAuthorization(Consumer<GetAppAuthorizationRequest.Builder> getAppAuthorizationRequest) Returns information about an app authorization.
This is a convenience which creates an instance of the
GetAppAuthorizationRequest.Builder
avoiding the need to create one manually viaGetAppAuthorizationRequest.builder()
- Parameters:
getAppAuthorizationRequest
- AConsumer
that will call methods onGetAppAuthorizationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetAppAuthorization 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAppBundle
default CompletableFuture<GetAppBundleResponse> getAppBundle(GetAppBundleRequest getAppBundleRequest) Returns information about an app bundle.
- Parameters:
getAppBundleRequest
-- Returns:
- A Java Future containing the result of the GetAppBundle 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAppBundle
default CompletableFuture<GetAppBundleResponse> getAppBundle(Consumer<GetAppBundleRequest.Builder> getAppBundleRequest) Returns information about an app bundle.
This is a convenience which creates an instance of the
GetAppBundleRequest.Builder
avoiding the need to create one manually viaGetAppBundleRequest.builder()
- Parameters:
getAppBundleRequest
- AConsumer
that will call methods onGetAppBundleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetAppBundle 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getIngestion
default CompletableFuture<GetIngestionResponse> getIngestion(GetIngestionRequest getIngestionRequest) Returns information about an ingestion.
- Parameters:
getIngestionRequest
-- Returns:
- A Java Future containing the result of the GetIngestion 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getIngestion
default CompletableFuture<GetIngestionResponse> getIngestion(Consumer<GetIngestionRequest.Builder> getIngestionRequest) Returns information about an ingestion.
This is a convenience which creates an instance of the
GetIngestionRequest.Builder
avoiding the need to create one manually viaGetIngestionRequest.builder()
- Parameters:
getIngestionRequest
- AConsumer
that will call methods onGetIngestionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetIngestion 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getIngestionDestination
default CompletableFuture<GetIngestionDestinationResponse> getIngestionDestination(GetIngestionDestinationRequest getIngestionDestinationRequest) Returns information about an ingestion destination.
- Parameters:
getIngestionDestinationRequest
-- Returns:
- A Java Future containing the result of the GetIngestionDestination 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getIngestionDestination
default CompletableFuture<GetIngestionDestinationResponse> getIngestionDestination(Consumer<GetIngestionDestinationRequest.Builder> getIngestionDestinationRequest) Returns information about an ingestion destination.
This is a convenience which creates an instance of the
GetIngestionDestinationRequest.Builder
avoiding the need to create one manually viaGetIngestionDestinationRequest.builder()
- Parameters:
getIngestionDestinationRequest
- AConsumer
that will call methods onGetIngestionDestinationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetIngestionDestination 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppAuthorizations
default CompletableFuture<ListAppAuthorizationsResponse> listAppAuthorizations(ListAppAuthorizationsRequest listAppAuthorizationsRequest) Returns a list of all app authorizations configured for an app bundle.
- Parameters:
listAppAuthorizationsRequest
-- Returns:
- A Java Future containing the result of the ListAppAuthorizations 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppAuthorizations
default CompletableFuture<ListAppAuthorizationsResponse> listAppAuthorizations(Consumer<ListAppAuthorizationsRequest.Builder> listAppAuthorizationsRequest) Returns a list of all app authorizations configured for an app bundle.
This is a convenience which creates an instance of the
ListAppAuthorizationsRequest.Builder
avoiding the need to create one manually viaListAppAuthorizationsRequest.builder()
- Parameters:
listAppAuthorizationsRequest
- AConsumer
that will call methods onListAppAuthorizationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAppAuthorizations 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppAuthorizationsPaginator
default ListAppAuthorizationsPublisher listAppAuthorizationsPaginator(ListAppAuthorizationsRequest listAppAuthorizationsRequest) This is a variant of
listAppAuthorizations(software.amazon.awssdk.services.appfabric.model.ListAppAuthorizationsRequest)
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.appfabric.paginators.ListAppAuthorizationsPublisher publisher = client.listAppAuthorizationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.appfabric.paginators.ListAppAuthorizationsPublisher publisher = client.listAppAuthorizationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appfabric.model.ListAppAuthorizationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appfabric.model.ListAppAuthorizationsResponse 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
listAppAuthorizations(software.amazon.awssdk.services.appfabric.model.ListAppAuthorizationsRequest)
operation.- Parameters:
listAppAuthorizationsRequest
-- 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppAuthorizationsPaginator
default ListAppAuthorizationsPublisher listAppAuthorizationsPaginator(Consumer<ListAppAuthorizationsRequest.Builder> listAppAuthorizationsRequest) This is a variant of
listAppAuthorizations(software.amazon.awssdk.services.appfabric.model.ListAppAuthorizationsRequest)
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.appfabric.paginators.ListAppAuthorizationsPublisher publisher = client.listAppAuthorizationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.appfabric.paginators.ListAppAuthorizationsPublisher publisher = client.listAppAuthorizationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appfabric.model.ListAppAuthorizationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appfabric.model.ListAppAuthorizationsResponse 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
listAppAuthorizations(software.amazon.awssdk.services.appfabric.model.ListAppAuthorizationsRequest)
operation.
This is a convenience which creates an instance of the
ListAppAuthorizationsRequest.Builder
avoiding the need to create one manually viaListAppAuthorizationsRequest.builder()
- Parameters:
listAppAuthorizationsRequest
- AConsumer
that will call methods onListAppAuthorizationsRequest.Builder
to 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppBundles
default CompletableFuture<ListAppBundlesResponse> listAppBundles(ListAppBundlesRequest listAppBundlesRequest) Returns a list of app bundles.
- Parameters:
listAppBundlesRequest
-- Returns:
- A Java Future containing the result of the ListAppBundles 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppBundles
default CompletableFuture<ListAppBundlesResponse> listAppBundles(Consumer<ListAppBundlesRequest.Builder> listAppBundlesRequest) Returns a list of app bundles.
This is a convenience which creates an instance of the
ListAppBundlesRequest.Builder
avoiding the need to create one manually viaListAppBundlesRequest.builder()
- Parameters:
listAppBundlesRequest
- AConsumer
that will call methods onListAppBundlesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAppBundles 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppBundlesPaginator
default ListAppBundlesPublisher listAppBundlesPaginator(ListAppBundlesRequest listAppBundlesRequest) This is a variant of
listAppBundles(software.amazon.awssdk.services.appfabric.model.ListAppBundlesRequest)
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.appfabric.paginators.ListAppBundlesPublisher publisher = client.listAppBundlesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.appfabric.paginators.ListAppBundlesPublisher publisher = client.listAppBundlesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appfabric.model.ListAppBundlesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appfabric.model.ListAppBundlesResponse 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
listAppBundles(software.amazon.awssdk.services.appfabric.model.ListAppBundlesRequest)
operation.- Parameters:
listAppBundlesRequest
-- 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppBundlesPaginator
default ListAppBundlesPublisher listAppBundlesPaginator(Consumer<ListAppBundlesRequest.Builder> listAppBundlesRequest) This is a variant of
listAppBundles(software.amazon.awssdk.services.appfabric.model.ListAppBundlesRequest)
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.appfabric.paginators.ListAppBundlesPublisher publisher = client.listAppBundlesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.appfabric.paginators.ListAppBundlesPublisher publisher = client.listAppBundlesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appfabric.model.ListAppBundlesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appfabric.model.ListAppBundlesResponse 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
listAppBundles(software.amazon.awssdk.services.appfabric.model.ListAppBundlesRequest)
operation.
This is a convenience which creates an instance of the
ListAppBundlesRequest.Builder
avoiding the need to create one manually viaListAppBundlesRequest.builder()
- Parameters:
listAppBundlesRequest
- AConsumer
that will call methods onListAppBundlesRequest.Builder
to 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIngestionDestinations
default CompletableFuture<ListIngestionDestinationsResponse> listIngestionDestinations(ListIngestionDestinationsRequest listIngestionDestinationsRequest) Returns a list of all ingestion destinations configured for an ingestion.
- Parameters:
listIngestionDestinationsRequest
-- Returns:
- A Java Future containing the result of the ListIngestionDestinations 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIngestionDestinations
default CompletableFuture<ListIngestionDestinationsResponse> listIngestionDestinations(Consumer<ListIngestionDestinationsRequest.Builder> listIngestionDestinationsRequest) Returns a list of all ingestion destinations configured for an ingestion.
This is a convenience which creates an instance of the
ListIngestionDestinationsRequest.Builder
avoiding the need to create one manually viaListIngestionDestinationsRequest.builder()
- Parameters:
listIngestionDestinationsRequest
- AConsumer
that will call methods onListIngestionDestinationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListIngestionDestinations 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIngestionDestinationsPaginator
default ListIngestionDestinationsPublisher listIngestionDestinationsPaginator(ListIngestionDestinationsRequest listIngestionDestinationsRequest) This is a variant of
listIngestionDestinations(software.amazon.awssdk.services.appfabric.model.ListIngestionDestinationsRequest)
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.appfabric.paginators.ListIngestionDestinationsPublisher publisher = client.listIngestionDestinationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.appfabric.paginators.ListIngestionDestinationsPublisher publisher = client.listIngestionDestinationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appfabric.model.ListIngestionDestinationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appfabric.model.ListIngestionDestinationsResponse 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
listIngestionDestinations(software.amazon.awssdk.services.appfabric.model.ListIngestionDestinationsRequest)
operation.- Parameters:
listIngestionDestinationsRequest
-- 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIngestionDestinationsPaginator
default ListIngestionDestinationsPublisher listIngestionDestinationsPaginator(Consumer<ListIngestionDestinationsRequest.Builder> listIngestionDestinationsRequest) This is a variant of
listIngestionDestinations(software.amazon.awssdk.services.appfabric.model.ListIngestionDestinationsRequest)
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.appfabric.paginators.ListIngestionDestinationsPublisher publisher = client.listIngestionDestinationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.appfabric.paginators.ListIngestionDestinationsPublisher publisher = client.listIngestionDestinationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appfabric.model.ListIngestionDestinationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appfabric.model.ListIngestionDestinationsResponse 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
listIngestionDestinations(software.amazon.awssdk.services.appfabric.model.ListIngestionDestinationsRequest)
operation.
This is a convenience which creates an instance of the
ListIngestionDestinationsRequest.Builder
avoiding the need to create one manually viaListIngestionDestinationsRequest.builder()
- Parameters:
listIngestionDestinationsRequest
- AConsumer
that will call methods onListIngestionDestinationsRequest.Builder
to 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIngestions
default CompletableFuture<ListIngestionsResponse> listIngestions(ListIngestionsRequest listIngestionsRequest) Returns a list of all ingestions configured for an app bundle.
- Parameters:
listIngestionsRequest
-- Returns:
- A Java Future containing the result of the ListIngestions 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIngestions
default CompletableFuture<ListIngestionsResponse> listIngestions(Consumer<ListIngestionsRequest.Builder> listIngestionsRequest) Returns a list of all ingestions configured for an app bundle.
This is a convenience which creates an instance of the
ListIngestionsRequest.Builder
avoiding the need to create one manually viaListIngestionsRequest.builder()
- Parameters:
listIngestionsRequest
- AConsumer
that will call methods onListIngestionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListIngestions 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIngestionsPaginator
default ListIngestionsPublisher listIngestionsPaginator(ListIngestionsRequest listIngestionsRequest) This is a variant of
listIngestions(software.amazon.awssdk.services.appfabric.model.ListIngestionsRequest)
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.appfabric.paginators.ListIngestionsPublisher publisher = client.listIngestionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.appfabric.paginators.ListIngestionsPublisher publisher = client.listIngestionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appfabric.model.ListIngestionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appfabric.model.ListIngestionsResponse 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
listIngestions(software.amazon.awssdk.services.appfabric.model.ListIngestionsRequest)
operation.- Parameters:
listIngestionsRequest
-- 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIngestionsPaginator
default ListIngestionsPublisher listIngestionsPaginator(Consumer<ListIngestionsRequest.Builder> listIngestionsRequest) This is a variant of
listIngestions(software.amazon.awssdk.services.appfabric.model.ListIngestionsRequest)
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.appfabric.paginators.ListIngestionsPublisher publisher = client.listIngestionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.appfabric.paginators.ListIngestionsPublisher publisher = client.listIngestionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appfabric.model.ListIngestionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appfabric.model.ListIngestionsResponse 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
listIngestions(software.amazon.awssdk.services.appfabric.model.ListIngestionsRequest)
operation.
This is a convenience which creates an instance of the
ListIngestionsRequest.Builder
avoiding the need to create one manually viaListIngestionsRequest.builder()
- Parameters:
listIngestionsRequest
- AConsumer
that will call methods onListIngestionsRequest.Builder
to 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns a list of tags for a 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns a list of tags for a resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startIngestion
default CompletableFuture<StartIngestionResponse> startIngestion(StartIngestionRequest startIngestionRequest) Starts (enables) an ingestion, which collects data from an application.
- Parameters:
startIngestionRequest
-- Returns:
- A Java Future containing the result of the StartIngestion 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ConflictException The request has created a conflict. Check the request parameters and try again.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startIngestion
default CompletableFuture<StartIngestionResponse> startIngestion(Consumer<StartIngestionRequest.Builder> startIngestionRequest) Starts (enables) an ingestion, which collects data from an application.
This is a convenience which creates an instance of the
StartIngestionRequest.Builder
avoiding the need to create one manually viaStartIngestionRequest.builder()
- Parameters:
startIngestionRequest
- AConsumer
that will call methods onStartIngestionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartIngestion 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ConflictException The request has created a conflict. Check the request parameters and try again.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startUserAccessTasks
default CompletableFuture<StartUserAccessTasksResponse> startUserAccessTasks(StartUserAccessTasksRequest startUserAccessTasksRequest) Starts the tasks to search user access status for a specific email address.
The tasks are stopped when the user access status data is found. The tasks are terminated when the API calls to the application time out.
- Parameters:
startUserAccessTasksRequest
-- Returns:
- A Java Future containing the result of the StartUserAccessTasks 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startUserAccessTasks
default CompletableFuture<StartUserAccessTasksResponse> startUserAccessTasks(Consumer<StartUserAccessTasksRequest.Builder> startUserAccessTasksRequest) Starts the tasks to search user access status for a specific email address.
The tasks are stopped when the user access status data is found. The tasks are terminated when the API calls to the application time out.
This is a convenience which creates an instance of the
StartUserAccessTasksRequest.Builder
avoiding the need to create one manually viaStartUserAccessTasksRequest.builder()
- Parameters:
startUserAccessTasksRequest
- AConsumer
that will call methods onStartUserAccessTasksRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartUserAccessTasks 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopIngestion
default CompletableFuture<StopIngestionResponse> stopIngestion(StopIngestionRequest stopIngestionRequest) Stops (disables) an ingestion.
- Parameters:
stopIngestionRequest
-- Returns:
- A Java Future containing the result of the StopIngestion 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ConflictException The request has created a conflict. Check the request parameters and try again.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopIngestion
default CompletableFuture<StopIngestionResponse> stopIngestion(Consumer<StopIngestionRequest.Builder> stopIngestionRequest) Stops (disables) an ingestion.
This is a convenience which creates an instance of the
StopIngestionRequest.Builder
avoiding the need to create one manually viaStopIngestionRequest.builder()
- Parameters:
stopIngestionRequest
- AConsumer
that will call methods onStopIngestionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StopIngestion 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ConflictException The request has created a conflict. Check the request parameters and try again.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Assigns one or more tags (key-value pairs) 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Assigns one or more tags (key-value pairs) to the specified resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes a tag or tags from a 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a tag or tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAppAuthorization
default CompletableFuture<UpdateAppAuthorizationResponse> updateAppAuthorization(UpdateAppAuthorizationRequest updateAppAuthorizationRequest) Updates an app authorization within an app bundle, which allows AppFabric to connect to an application.
If the app authorization was in a
connected
state, updating the app authorization will set it back to aPendingConnect
state.- Parameters:
updateAppAuthorizationRequest
-- Returns:
- A Java Future containing the result of the UpdateAppAuthorization 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAppAuthorization
default CompletableFuture<UpdateAppAuthorizationResponse> updateAppAuthorization(Consumer<UpdateAppAuthorizationRequest.Builder> updateAppAuthorizationRequest) Updates an app authorization within an app bundle, which allows AppFabric to connect to an application.
If the app authorization was in a
connected
state, updating the app authorization will set it back to aPendingConnect
state.
This is a convenience which creates an instance of the
UpdateAppAuthorizationRequest.Builder
avoiding the need to create one manually viaUpdateAppAuthorizationRequest.builder()
- Parameters:
updateAppAuthorizationRequest
- AConsumer
that will call methods onUpdateAppAuthorizationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateAppAuthorization 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ThrottlingException The request rate exceeds the limit.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateIngestionDestination
default CompletableFuture<UpdateIngestionDestinationResponse> updateIngestionDestination(UpdateIngestionDestinationRequest updateIngestionDestinationRequest) Updates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered.
- Parameters:
updateIngestionDestinationRequest
-- Returns:
- A Java Future containing the result of the UpdateIngestionDestination 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ServiceQuotaExceededException The request exceeds a service quota.
- ThrottlingException The request rate exceeds the limit.
- ConflictException The request has created a conflict. Check the request parameters and try again.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateIngestionDestination
default CompletableFuture<UpdateIngestionDestinationResponse> updateIngestionDestination(Consumer<UpdateIngestionDestinationRequest.Builder> updateIngestionDestinationRequest) Updates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered.
This is a convenience which creates an instance of the
UpdateIngestionDestinationRequest.Builder
avoiding the need to create one manually viaUpdateIngestionDestinationRequest.builder()
- Parameters:
updateIngestionDestinationRequest
- AConsumer
that will call methods onUpdateIngestionDestinationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateIngestionDestination 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.- InternalServerException The request processing has failed because of an unknown error, exception, or failure with an internal server.
- ServiceQuotaExceededException The request exceeds a service quota.
- ThrottlingException The request rate exceeds the limit.
- ConflictException The request has created a conflict. Check the request parameters and try again.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- AccessDeniedException You are not authorized to perform this operation.
- 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.
- AppFabricException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aAppFabricAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aAppFabricAsyncClient
.
-