Interface AppFabricClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
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 TypeMethodDescriptiondefault BatchGetUserAccessTasksResponse
batchGetUserAccessTasks
(Consumer<BatchGetUserAccessTasksRequest.Builder> batchGetUserAccessTasksRequest) Gets user access details in a batch request.default BatchGetUserAccessTasksResponse
batchGetUserAccessTasks
(BatchGetUserAccessTasksRequest batchGetUserAccessTasksRequest) Gets user access details in a batch request.static AppFabricClientBuilder
builder()
Create a builder that can be used to configure and create aAppFabricClient
.default 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.default 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.static AppFabricClient
create()
Create aAppFabricClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateAppAuthorizationResponse
createAppAuthorization
(Consumer<CreateAppAuthorizationRequest.Builder> createAppAuthorizationRequest) Creates an app authorization within an app bundle, which allows AppFabric to connect to an application.default CreateAppAuthorizationResponse
createAppAuthorization
(CreateAppAuthorizationRequest createAppAuthorizationRequest) Creates an app authorization within an app bundle, which allows AppFabric to connect to an application.default CreateAppBundleResponse
createAppBundle
(Consumer<CreateAppBundleRequest.Builder> createAppBundleRequest) Creates an app bundle to collect data from an application using AppFabric.default CreateAppBundleResponse
createAppBundle
(CreateAppBundleRequest createAppBundleRequest) Creates an app bundle to collect data from an application using AppFabric.default CreateIngestionResponse
createIngestion
(Consumer<CreateIngestionRequest.Builder> createIngestionRequest) Creates a data ingestion for an application.default 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.default DeleteAppAuthorizationResponse
deleteAppAuthorization
(Consumer<DeleteAppAuthorizationRequest.Builder> deleteAppAuthorizationRequest) Deletes an app authorization.default DeleteAppAuthorizationResponse
deleteAppAuthorization
(DeleteAppAuthorizationRequest deleteAppAuthorizationRequest) Deletes an app authorization.default DeleteAppBundleResponse
deleteAppBundle
(Consumer<DeleteAppBundleRequest.Builder> deleteAppBundleRequest) Deletes an app bundle.default DeleteAppBundleResponse
deleteAppBundle
(DeleteAppBundleRequest deleteAppBundleRequest) Deletes an app bundle.default DeleteIngestionResponse
deleteIngestion
(Consumer<DeleteIngestionRequest.Builder> deleteIngestionRequest) Deletes an ingestion.default DeleteIngestionResponse
deleteIngestion
(DeleteIngestionRequest deleteIngestionRequest) Deletes an ingestion.deleteIngestionDestination
(Consumer<DeleteIngestionDestinationRequest.Builder> deleteIngestionDestinationRequest) Deletes an ingestion destination.deleteIngestionDestination
(DeleteIngestionDestinationRequest deleteIngestionDestinationRequest) Deletes an ingestion destination.default GetAppAuthorizationResponse
getAppAuthorization
(Consumer<GetAppAuthorizationRequest.Builder> getAppAuthorizationRequest) Returns information about an app authorization.default GetAppAuthorizationResponse
getAppAuthorization
(GetAppAuthorizationRequest getAppAuthorizationRequest) Returns information about an app authorization.default GetAppBundleResponse
getAppBundle
(Consumer<GetAppBundleRequest.Builder> getAppBundleRequest) Returns information about an app bundle.default GetAppBundleResponse
getAppBundle
(GetAppBundleRequest getAppBundleRequest) Returns information about an app bundle.default GetIngestionResponse
getIngestion
(Consumer<GetIngestionRequest.Builder> getIngestionRequest) Returns information about an ingestion.default GetIngestionResponse
getIngestion
(GetIngestionRequest getIngestionRequest) Returns information about an ingestion.default GetIngestionDestinationResponse
getIngestionDestination
(Consumer<GetIngestionDestinationRequest.Builder> getIngestionDestinationRequest) Returns information about an ingestion destination.default GetIngestionDestinationResponse
getIngestionDestination
(GetIngestionDestinationRequest getIngestionDestinationRequest) Returns information about an ingestion destination.default ListAppAuthorizationsResponse
listAppAuthorizations
(Consumer<ListAppAuthorizationsRequest.Builder> listAppAuthorizationsRequest) Returns a list of all app authorizations configured for an app bundle.default ListAppAuthorizationsResponse
listAppAuthorizations
(ListAppAuthorizationsRequest listAppAuthorizationsRequest) Returns a list of all app authorizations configured for an app bundle.default ListAppAuthorizationsIterable
listAppAuthorizationsPaginator
(Consumer<ListAppAuthorizationsRequest.Builder> listAppAuthorizationsRequest) This is a variant oflistAppAuthorizations(software.amazon.awssdk.services.appfabric.model.ListAppAuthorizationsRequest)
operation.default ListAppAuthorizationsIterable
listAppAuthorizationsPaginator
(ListAppAuthorizationsRequest listAppAuthorizationsRequest) This is a variant oflistAppAuthorizations(software.amazon.awssdk.services.appfabric.model.ListAppAuthorizationsRequest)
operation.default ListAppBundlesResponse
listAppBundles
(Consumer<ListAppBundlesRequest.Builder> listAppBundlesRequest) Returns a list of app bundles.default ListAppBundlesResponse
listAppBundles
(ListAppBundlesRequest listAppBundlesRequest) Returns a list of app bundles.default ListAppBundlesIterable
listAppBundlesPaginator
(Consumer<ListAppBundlesRequest.Builder> listAppBundlesRequest) This is a variant oflistAppBundles(software.amazon.awssdk.services.appfabric.model.ListAppBundlesRequest)
operation.default ListAppBundlesIterable
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 ListIngestionsResponse
listIngestions
(Consumer<ListIngestionsRequest.Builder> listIngestionsRequest) Returns a list of all ingestions configured for an app bundle.default ListIngestionsResponse
listIngestions
(ListIngestionsRequest listIngestionsRequest) Returns a list of all ingestions configured for an app bundle.default ListIngestionsIterable
listIngestionsPaginator
(Consumer<ListIngestionsRequest.Builder> listIngestionsRequest) This is a variant oflistIngestions(software.amazon.awssdk.services.appfabric.model.ListIngestionsRequest)
operation.default ListIngestionsIterable
listIngestionsPaginator
(ListIngestionsRequest listIngestionsRequest) This is a variant oflistIngestions(software.amazon.awssdk.services.appfabric.model.ListIngestionsRequest)
operation.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns a list of tags for a resource.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Returns a list of tags for a resource.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default StartIngestionResponse
startIngestion
(Consumer<StartIngestionRequest.Builder> startIngestionRequest) Starts (enables) an ingestion, which collects data from an application.default StartIngestionResponse
startIngestion
(StartIngestionRequest startIngestionRequest) Starts (enables) an ingestion, which collects data from an application.default StartUserAccessTasksResponse
startUserAccessTasks
(Consumer<StartUserAccessTasksRequest.Builder> startUserAccessTasksRequest) Starts the tasks to search user access status for a specific email address.default StartUserAccessTasksResponse
startUserAccessTasks
(StartUserAccessTasksRequest startUserAccessTasksRequest) Starts the tasks to search user access status for a specific email address.default StopIngestionResponse
stopIngestion
(Consumer<StopIngestionRequest.Builder> stopIngestionRequest) Stops (disables) an ingestion.default StopIngestionResponse
stopIngestion
(StopIngestionRequest stopIngestionRequest) Stops (disables) an ingestion.default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Assigns one or more tags (key-value pairs) to the specified resource.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Assigns one or more tags (key-value pairs) to the specified resource.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a tag or tags from a resource.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Removes a tag or tags from a resource.default UpdateAppAuthorizationResponse
updateAppAuthorization
(Consumer<UpdateAppAuthorizationRequest.Builder> updateAppAuthorizationRequest) Updates an app authorization within an app bundle, which allows AppFabric to connect to an application.default UpdateAppAuthorizationResponse
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 BatchGetUserAccessTasksResponse batchGetUserAccessTasks(BatchGetUserAccessTasksRequest batchGetUserAccessTasksRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the BatchGetUserAccessTasks operation returned by the service.
- See Also:
-
batchGetUserAccessTasks
default BatchGetUserAccessTasksResponse batchGetUserAccessTasks(Consumer<BatchGetUserAccessTasksRequest.Builder> batchGetUserAccessTasksRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the BatchGetUserAccessTasks operation returned by the service.
- See Also:
-
connectAppAuthorization
default ConnectAppAuthorizationResponse connectAppAuthorization(ConnectAppAuthorizationRequest connectAppAuthorizationRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException Establishes a connection between Amazon Web Services AppFabric and an application, which allows AppFabric to call the APIs of the application.
- Parameters:
connectAppAuthorizationRequest
-- Returns:
- Result of the ConnectAppAuthorization operation returned by the service.
- See Also:
-
connectAppAuthorization
default ConnectAppAuthorizationResponse connectAppAuthorization(Consumer<ConnectAppAuthorizationRequest.Builder> connectAppAuthorizationRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the ConnectAppAuthorization operation returned by the service.
- See Also:
-
createAppAuthorization
default CreateAppAuthorizationResponse createAppAuthorization(CreateAppAuthorizationRequest createAppAuthorizationRequest) throws InternalServerException, ServiceQuotaExceededException, ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException Creates an app authorization within an app bundle, which allows AppFabric to connect to an application.
- Parameters:
createAppAuthorizationRequest
-- Returns:
- Result of the CreateAppAuthorization operation returned by the service.
- See Also:
-
createAppAuthorization
default CreateAppAuthorizationResponse createAppAuthorization(Consumer<CreateAppAuthorizationRequest.Builder> createAppAuthorizationRequest) throws InternalServerException, ServiceQuotaExceededException, ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the CreateAppAuthorization operation returned by the service.
- See Also:
-
createAppBundle
default CreateAppBundleResponse createAppBundle(CreateAppBundleRequest createAppBundleRequest) throws InternalServerException, ServiceQuotaExceededException, ThrottlingException, ConflictException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException Creates an app bundle to collect data from an application using AppFabric.
- Parameters:
createAppBundleRequest
-- Returns:
- Result of the CreateAppBundle operation returned by the service.
- See Also:
-
createAppBundle
default CreateAppBundleResponse createAppBundle(Consumer<CreateAppBundleRequest.Builder> createAppBundleRequest) throws InternalServerException, ServiceQuotaExceededException, ThrottlingException, ConflictException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the CreateAppBundle operation returned by the service.
- See Also:
-
createIngestion
default CreateIngestionResponse createIngestion(CreateIngestionRequest createIngestionRequest) throws InternalServerException, ServiceQuotaExceededException, ThrottlingException, ConflictException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException Creates a data ingestion for an application.
- Parameters:
createIngestionRequest
-- Returns:
- Result of the CreateIngestion operation returned by the service.
- See Also:
-
createIngestion
default CreateIngestionResponse createIngestion(Consumer<CreateIngestionRequest.Builder> createIngestionRequest) throws InternalServerException, ServiceQuotaExceededException, ThrottlingException, ConflictException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the CreateIngestion operation returned by the service.
- See Also:
-
createIngestionDestination
default CreateIngestionDestinationResponse createIngestionDestination(CreateIngestionDestinationRequest createIngestionDestinationRequest) throws InternalServerException, ServiceQuotaExceededException, ThrottlingException, ConflictException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the CreateIngestionDestination operation returned by the service.
- See Also:
-
createIngestionDestination
default CreateIngestionDestinationResponse createIngestionDestination(Consumer<CreateIngestionDestinationRequest.Builder> createIngestionDestinationRequest) throws InternalServerException, ServiceQuotaExceededException, ThrottlingException, ConflictException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the CreateIngestionDestination operation returned by the service.
- See Also:
-
deleteAppAuthorization
default DeleteAppAuthorizationResponse deleteAppAuthorization(DeleteAppAuthorizationRequest deleteAppAuthorizationRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException Deletes an app authorization. You must delete the associated ingestion before you can delete an app authorization.
- Parameters:
deleteAppAuthorizationRequest
-- Returns:
- Result of the DeleteAppAuthorization operation returned by the service.
- See Also:
-
deleteAppAuthorization
default DeleteAppAuthorizationResponse deleteAppAuthorization(Consumer<DeleteAppAuthorizationRequest.Builder> deleteAppAuthorizationRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the DeleteAppAuthorization operation returned by the service.
- See Also:
-
deleteAppBundle
default DeleteAppBundleResponse deleteAppBundle(DeleteAppBundleRequest deleteAppBundleRequest) throws InternalServerException, ThrottlingException, ConflictException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException Deletes an app bundle. You must delete all associated app authorizations before you can delete an app bundle.
- Parameters:
deleteAppBundleRequest
-- Returns:
- Result of the DeleteAppBundle operation returned by the service.
- See Also:
-
deleteAppBundle
default DeleteAppBundleResponse deleteAppBundle(Consumer<DeleteAppBundleRequest.Builder> deleteAppBundleRequest) throws InternalServerException, ThrottlingException, ConflictException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the DeleteAppBundle operation returned by the service.
- See Also:
-
deleteIngestion
default DeleteIngestionResponse deleteIngestion(DeleteIngestionRequest deleteIngestionRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the DeleteIngestion operation returned by the service.
- See Also:
-
deleteIngestion
default DeleteIngestionResponse deleteIngestion(Consumer<DeleteIngestionRequest.Builder> deleteIngestionRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the DeleteIngestion operation returned by the service.
- See Also:
-
deleteIngestionDestination
default DeleteIngestionDestinationResponse deleteIngestionDestination(DeleteIngestionDestinationRequest deleteIngestionDestinationRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the DeleteIngestionDestination operation returned by the service.
- See Also:
-
deleteIngestionDestination
default DeleteIngestionDestinationResponse deleteIngestionDestination(Consumer<DeleteIngestionDestinationRequest.Builder> deleteIngestionDestinationRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the DeleteIngestionDestination operation returned by the service.
- See Also:
-
getAppAuthorization
default GetAppAuthorizationResponse getAppAuthorization(GetAppAuthorizationRequest getAppAuthorizationRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException Returns information about an app authorization.
- Parameters:
getAppAuthorizationRequest
-- Returns:
- Result of the GetAppAuthorization operation returned by the service.
- See Also:
-
getAppAuthorization
default GetAppAuthorizationResponse getAppAuthorization(Consumer<GetAppAuthorizationRequest.Builder> getAppAuthorizationRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the GetAppAuthorization operation returned by the service.
- See Also:
-
getAppBundle
default GetAppBundleResponse getAppBundle(GetAppBundleRequest getAppBundleRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException Returns information about an app bundle.
- Parameters:
getAppBundleRequest
-- Returns:
- Result of the GetAppBundle operation returned by the service.
- See Also:
-
getAppBundle
default GetAppBundleResponse getAppBundle(Consumer<GetAppBundleRequest.Builder> getAppBundleRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the GetAppBundle operation returned by the service.
- See Also:
-
getIngestion
default GetIngestionResponse getIngestion(GetIngestionRequest getIngestionRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException Returns information about an ingestion.
- Parameters:
getIngestionRequest
-- Returns:
- Result of the GetIngestion operation returned by the service.
- See Also:
-
getIngestion
default GetIngestionResponse getIngestion(Consumer<GetIngestionRequest.Builder> getIngestionRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the GetIngestion operation returned by the service.
- See Also:
-
getIngestionDestination
default GetIngestionDestinationResponse getIngestionDestination(GetIngestionDestinationRequest getIngestionDestinationRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException Returns information about an ingestion destination.
- Parameters:
getIngestionDestinationRequest
-- Returns:
- Result of the GetIngestionDestination operation returned by the service.
- See Also:
-
getIngestionDestination
default GetIngestionDestinationResponse getIngestionDestination(Consumer<GetIngestionDestinationRequest.Builder> getIngestionDestinationRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the GetIngestionDestination operation returned by the service.
- See Also:
-
listAppAuthorizations
default ListAppAuthorizationsResponse listAppAuthorizations(ListAppAuthorizationsRequest listAppAuthorizationsRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException Returns a list of all app authorizations configured for an app bundle.
- Parameters:
listAppAuthorizationsRequest
-- Returns:
- Result of the ListAppAuthorizations operation returned by the service.
- See Also:
-
listAppAuthorizations
default ListAppAuthorizationsResponse listAppAuthorizations(Consumer<ListAppAuthorizationsRequest.Builder> listAppAuthorizationsRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the ListAppAuthorizations operation returned by the service.
- See Also:
-
listAppAuthorizationsPaginator
default ListAppAuthorizationsIterable listAppAuthorizationsPaginator(ListAppAuthorizationsRequest listAppAuthorizationsRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException This is a variant of
listAppAuthorizations(software.amazon.awssdk.services.appfabric.model.ListAppAuthorizationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.appfabric.paginators.ListAppAuthorizationsIterable responses = client.listAppAuthorizationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.appfabric.paginators.ListAppAuthorizationsIterable responses = client .listAppAuthorizationsPaginator(request); for (software.amazon.awssdk.services.appfabric.model.ListAppAuthorizationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.appfabric.paginators.ListAppAuthorizationsIterable responses = client.listAppAuthorizationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppAuthorizations(software.amazon.awssdk.services.appfabric.model.ListAppAuthorizationsRequest)
operation.- Parameters:
listAppAuthorizationsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAppAuthorizationsPaginator
default ListAppAuthorizationsIterable listAppAuthorizationsPaginator(Consumer<ListAppAuthorizationsRequest.Builder> listAppAuthorizationsRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException This is a variant of
listAppAuthorizations(software.amazon.awssdk.services.appfabric.model.ListAppAuthorizationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.appfabric.paginators.ListAppAuthorizationsIterable responses = client.listAppAuthorizationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.appfabric.paginators.ListAppAuthorizationsIterable responses = client .listAppAuthorizationsPaginator(request); for (software.amazon.awssdk.services.appfabric.model.ListAppAuthorizationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.appfabric.paginators.ListAppAuthorizationsIterable responses = client.listAppAuthorizationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listAppBundles
default ListAppBundlesResponse listAppBundles(ListAppBundlesRequest listAppBundlesRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException Returns a list of app bundles.
- Parameters:
listAppBundlesRequest
-- Returns:
- Result of the ListAppBundles operation returned by the service.
- See Also:
-
listAppBundles
default ListAppBundlesResponse listAppBundles(Consumer<ListAppBundlesRequest.Builder> listAppBundlesRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the ListAppBundles operation returned by the service.
- See Also:
-
listAppBundlesPaginator
default ListAppBundlesIterable listAppBundlesPaginator(ListAppBundlesRequest listAppBundlesRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException This is a variant of
listAppBundles(software.amazon.awssdk.services.appfabric.model.ListAppBundlesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.appfabric.paginators.ListAppBundlesIterable responses = client.listAppBundlesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.appfabric.paginators.ListAppBundlesIterable responses = client .listAppBundlesPaginator(request); for (software.amazon.awssdk.services.appfabric.model.ListAppBundlesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.appfabric.paginators.ListAppBundlesIterable responses = client.listAppBundlesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppBundles(software.amazon.awssdk.services.appfabric.model.ListAppBundlesRequest)
operation.- Parameters:
listAppBundlesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAppBundlesPaginator
default ListAppBundlesIterable listAppBundlesPaginator(Consumer<ListAppBundlesRequest.Builder> listAppBundlesRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException This is a variant of
listAppBundles(software.amazon.awssdk.services.appfabric.model.ListAppBundlesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.appfabric.paginators.ListAppBundlesIterable responses = client.listAppBundlesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.appfabric.paginators.ListAppBundlesIterable responses = client .listAppBundlesPaginator(request); for (software.amazon.awssdk.services.appfabric.model.ListAppBundlesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.appfabric.paginators.ListAppBundlesIterable responses = client.listAppBundlesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listIngestionDestinations
default ListIngestionDestinationsResponse listIngestionDestinations(ListIngestionDestinationsRequest listIngestionDestinationsRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException Returns a list of all ingestion destinations configured for an ingestion.
- Parameters:
listIngestionDestinationsRequest
-- Returns:
- Result of the ListIngestionDestinations operation returned by the service.
- See Also:
-
listIngestionDestinations
default ListIngestionDestinationsResponse listIngestionDestinations(Consumer<ListIngestionDestinationsRequest.Builder> listIngestionDestinationsRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the ListIngestionDestinations operation returned by the service.
- See Also:
-
listIngestionDestinationsPaginator
default ListIngestionDestinationsIterable listIngestionDestinationsPaginator(ListIngestionDestinationsRequest listIngestionDestinationsRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException This is a variant of
listIngestionDestinations(software.amazon.awssdk.services.appfabric.model.ListIngestionDestinationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.appfabric.paginators.ListIngestionDestinationsIterable responses = client.listIngestionDestinationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.appfabric.paginators.ListIngestionDestinationsIterable responses = client .listIngestionDestinationsPaginator(request); for (software.amazon.awssdk.services.appfabric.model.ListIngestionDestinationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.appfabric.paginators.ListIngestionDestinationsIterable responses = client.listIngestionDestinationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIngestionDestinations(software.amazon.awssdk.services.appfabric.model.ListIngestionDestinationsRequest)
operation.- Parameters:
listIngestionDestinationsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listIngestionDestinationsPaginator
default ListIngestionDestinationsIterable listIngestionDestinationsPaginator(Consumer<ListIngestionDestinationsRequest.Builder> listIngestionDestinationsRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException This is a variant of
listIngestionDestinations(software.amazon.awssdk.services.appfabric.model.ListIngestionDestinationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.appfabric.paginators.ListIngestionDestinationsIterable responses = client.listIngestionDestinationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.appfabric.paginators.ListIngestionDestinationsIterable responses = client .listIngestionDestinationsPaginator(request); for (software.amazon.awssdk.services.appfabric.model.ListIngestionDestinationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.appfabric.paginators.ListIngestionDestinationsIterable responses = client.listIngestionDestinationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listIngestions
default ListIngestionsResponse listIngestions(ListIngestionsRequest listIngestionsRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException Returns a list of all ingestions configured for an app bundle.
- Parameters:
listIngestionsRequest
-- Returns:
- Result of the ListIngestions operation returned by the service.
- See Also:
-
listIngestions
default ListIngestionsResponse listIngestions(Consumer<ListIngestionsRequest.Builder> listIngestionsRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the ListIngestions operation returned by the service.
- See Also:
-
listIngestionsPaginator
default ListIngestionsIterable listIngestionsPaginator(ListIngestionsRequest listIngestionsRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException This is a variant of
listIngestions(software.amazon.awssdk.services.appfabric.model.ListIngestionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.appfabric.paginators.ListIngestionsIterable responses = client.listIngestionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.appfabric.paginators.ListIngestionsIterable responses = client .listIngestionsPaginator(request); for (software.amazon.awssdk.services.appfabric.model.ListIngestionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.appfabric.paginators.ListIngestionsIterable responses = client.listIngestionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIngestions(software.amazon.awssdk.services.appfabric.model.ListIngestionsRequest)
operation.- Parameters:
listIngestionsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listIngestionsPaginator
default ListIngestionsIterable listIngestionsPaginator(Consumer<ListIngestionsRequest.Builder> listIngestionsRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException This is a variant of
listIngestions(software.amazon.awssdk.services.appfabric.model.ListIngestionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.appfabric.paginators.ListIngestionsIterable responses = client.listIngestionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.appfabric.paginators.ListIngestionsIterable responses = client .listIngestionsPaginator(request); for (software.amazon.awssdk.services.appfabric.model.ListIngestionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.appfabric.paginators.ListIngestionsIterable responses = client.listIngestionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException Returns a list of tags for a resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
startIngestion
default StartIngestionResponse startIngestion(StartIngestionRequest startIngestionRequest) throws InternalServerException, ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException Starts (enables) an ingestion, which collects data from an application.
- Parameters:
startIngestionRequest
-- Returns:
- Result of the StartIngestion operation returned by the service.
- See Also:
-
startIngestion
default StartIngestionResponse startIngestion(Consumer<StartIngestionRequest.Builder> startIngestionRequest) throws InternalServerException, ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the StartIngestion operation returned by the service.
- See Also:
-
startUserAccessTasks
default StartUserAccessTasksResponse startUserAccessTasks(StartUserAccessTasksRequest startUserAccessTasksRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the StartUserAccessTasks operation returned by the service.
- See Also:
-
startUserAccessTasks
default StartUserAccessTasksResponse startUserAccessTasks(Consumer<StartUserAccessTasksRequest.Builder> startUserAccessTasksRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the StartUserAccessTasks operation returned by the service.
- See Also:
-
stopIngestion
default StopIngestionResponse stopIngestion(StopIngestionRequest stopIngestionRequest) throws InternalServerException, ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException Stops (disables) an ingestion.
- Parameters:
stopIngestionRequest
-- Returns:
- Result of the StopIngestion operation returned by the service.
- See Also:
-
stopIngestion
default StopIngestionResponse stopIngestion(Consumer<StopIngestionRequest.Builder> stopIngestionRequest) throws InternalServerException, ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the StopIngestion operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException Assigns one or more tags (key-value pairs) to the specified resource.
- Parameters:
tagResourceRequest
-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException Removes a tag or tags from a resource.
- Parameters:
untagResourceRequest
-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateAppAuthorization
default UpdateAppAuthorizationResponse updateAppAuthorization(UpdateAppAuthorizationRequest updateAppAuthorizationRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the UpdateAppAuthorization operation returned by the service.
- See Also:
-
updateAppAuthorization
default UpdateAppAuthorizationResponse updateAppAuthorization(Consumer<UpdateAppAuthorizationRequest.Builder> updateAppAuthorizationRequest) throws InternalServerException, ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the UpdateAppAuthorization operation returned by the service.
- See Also:
-
updateIngestionDestination
default UpdateIngestionDestinationResponse updateIngestionDestination(UpdateIngestionDestinationRequest updateIngestionDestinationRequest) throws InternalServerException, ServiceQuotaExceededException, ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the UpdateIngestionDestination operation returned by the service.
- See Also:
-
updateIngestionDestination
default UpdateIngestionDestinationResponse updateIngestionDestination(Consumer<UpdateIngestionDestinationRequest.Builder> updateIngestionDestinationRequest) throws InternalServerException, ServiceQuotaExceededException, ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, AppFabricException 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:
- Result of the UpdateIngestionDestination operation returned by the service.
- See Also:
-
create
Create aAppFabricClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aAppFabricClient
. -
serviceMetadata
-
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
-