Interface CleanRoomsMlAsyncClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface CleanRoomsMlAsyncClient extends AwsClient
Service client for accessing cleanrooms-ml asynchronously. This can be created using the staticbuilder()method.API Reference for Amazon Web Services Clean Rooms ML.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
createAudienceModel
default CompletableFuture<CreateAudienceModelResponse> createAudienceModel(CreateAudienceModelRequest createAudienceModelRequest)
Defines the information necessary to create an audience model. An audience model is a machine learning model that Clean Rooms ML trains to measure similarity between users. Clean Rooms ML manages training and storing the audience model. The audience model can be used in multiple calls to the StartAudienceGenerationJob API.
- Parameters:
createAudienceModelRequest-- Returns:
- A Java Future containing the result of the CreateAudienceModel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException A resource with that name already exists in this region.
- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- ServiceQuotaExceededException You have exceeded your service quota.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createAudienceModel
default CompletableFuture<CreateAudienceModelResponse> createAudienceModel(Consumer<CreateAudienceModelRequest.Builder> createAudienceModelRequest)
Defines the information necessary to create an audience model. An audience model is a machine learning model that Clean Rooms ML trains to measure similarity between users. Clean Rooms ML manages training and storing the audience model. The audience model can be used in multiple calls to the StartAudienceGenerationJob API.
This is a convenience which creates an instance of the
CreateAudienceModelRequest.Builderavoiding the need to create one manually viaCreateAudienceModelRequest.builder()- Parameters:
createAudienceModelRequest- AConsumerthat will call methods onCreateAudienceModelRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateAudienceModel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException A resource with that name already exists in this region.
- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- ServiceQuotaExceededException You have exceeded your service quota.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createConfiguredAudienceModel
default CompletableFuture<CreateConfiguredAudienceModelResponse> createConfiguredAudienceModel(CreateConfiguredAudienceModelRequest createConfiguredAudienceModelRequest)
Defines the information necessary to create a configured audience model.
- Parameters:
createConfiguredAudienceModelRequest-- Returns:
- A Java Future containing the result of the CreateConfiguredAudienceModel operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException A resource with that name already exists in this region.
- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- ServiceQuotaExceededException You have exceeded your service quota.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createConfiguredAudienceModel
default CompletableFuture<CreateConfiguredAudienceModelResponse> createConfiguredAudienceModel(Consumer<CreateConfiguredAudienceModelRequest.Builder> createConfiguredAudienceModelRequest)
Defines the information necessary to create a configured audience model.
This is a convenience which creates an instance of the
CreateConfiguredAudienceModelRequest.Builderavoiding the need to create one manually viaCreateConfiguredAudienceModelRequest.builder()- Parameters:
createConfiguredAudienceModelRequest- AConsumerthat will call methods onCreateConfiguredAudienceModelRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateConfiguredAudienceModel operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException A resource with that name already exists in this region.
- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- ServiceQuotaExceededException You have exceeded your service quota.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createTrainingDataset
default CompletableFuture<CreateTrainingDatasetResponse> createTrainingDataset(CreateTrainingDatasetRequest createTrainingDatasetRequest)
Defines the information necessary to create a training dataset, or seed audience. In Clean Rooms ML, the
TrainingDatasetis metadata that points to a Glue table, which is read only duringAudienceModelcreation.- Parameters:
createTrainingDatasetRequest-- Returns:
- A Java Future containing the result of the CreateTrainingDataset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException A resource with that name already exists in this region.
- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createTrainingDataset
default CompletableFuture<CreateTrainingDatasetResponse> createTrainingDataset(Consumer<CreateTrainingDatasetRequest.Builder> createTrainingDatasetRequest)
Defines the information necessary to create a training dataset, or seed audience. In Clean Rooms ML, the
TrainingDatasetis metadata that points to a Glue table, which is read only duringAudienceModelcreation.
This is a convenience which creates an instance of the
CreateTrainingDatasetRequest.Builderavoiding the need to create one manually viaCreateTrainingDatasetRequest.builder()- Parameters:
createTrainingDatasetRequest- AConsumerthat will call methods onCreateTrainingDatasetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateTrainingDataset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException A resource with that name already exists in this region.
- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteAudienceGenerationJob
default CompletableFuture<DeleteAudienceGenerationJobResponse> deleteAudienceGenerationJob(DeleteAudienceGenerationJobRequest deleteAudienceGenerationJobRequest)
Deletes the specified audience generation job, and removes all data associated with the job.
- Parameters:
deleteAudienceGenerationJobRequest-- Returns:
- A Java Future containing the result of the DeleteAudienceGenerationJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException A resource with that name already exists in this region.
- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteAudienceGenerationJob
default CompletableFuture<DeleteAudienceGenerationJobResponse> deleteAudienceGenerationJob(Consumer<DeleteAudienceGenerationJobRequest.Builder> deleteAudienceGenerationJobRequest)
Deletes the specified audience generation job, and removes all data associated with the job.
This is a convenience which creates an instance of the
DeleteAudienceGenerationJobRequest.Builderavoiding the need to create one manually viaDeleteAudienceGenerationJobRequest.builder()- Parameters:
deleteAudienceGenerationJobRequest- AConsumerthat will call methods onDeleteAudienceGenerationJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteAudienceGenerationJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException A resource with that name already exists in this region.
- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteAudienceModel
default CompletableFuture<DeleteAudienceModelResponse> deleteAudienceModel(DeleteAudienceModelRequest deleteAudienceModelRequest)
Specifies an audience model that you want to delete. You can't delete an audience model if there are any configured audience models that depend on the audience model.
- Parameters:
deleteAudienceModelRequest-- Returns:
- A Java Future containing the result of the DeleteAudienceModel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException A resource with that name already exists in this region.
- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteAudienceModel
default CompletableFuture<DeleteAudienceModelResponse> deleteAudienceModel(Consumer<DeleteAudienceModelRequest.Builder> deleteAudienceModelRequest)
Specifies an audience model that you want to delete. You can't delete an audience model if there are any configured audience models that depend on the audience model.
This is a convenience which creates an instance of the
DeleteAudienceModelRequest.Builderavoiding the need to create one manually viaDeleteAudienceModelRequest.builder()- Parameters:
deleteAudienceModelRequest- AConsumerthat will call methods onDeleteAudienceModelRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteAudienceModel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException A resource with that name already exists in this region.
- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteConfiguredAudienceModel
default CompletableFuture<DeleteConfiguredAudienceModelResponse> deleteConfiguredAudienceModel(DeleteConfiguredAudienceModelRequest deleteConfiguredAudienceModelRequest)
Deletes the specified configured audience model. You can't delete a configured audience model if there are any lookalike models that use the configured audience model. If you delete a configured audience model, it will be removed from any collaborations that it is associated to.
- Parameters:
deleteConfiguredAudienceModelRequest-- Returns:
- A Java Future containing the result of the DeleteConfiguredAudienceModel operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException A resource with that name already exists in this region.
- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteConfiguredAudienceModel
default CompletableFuture<DeleteConfiguredAudienceModelResponse> deleteConfiguredAudienceModel(Consumer<DeleteConfiguredAudienceModelRequest.Builder> deleteConfiguredAudienceModelRequest)
Deletes the specified configured audience model. You can't delete a configured audience model if there are any lookalike models that use the configured audience model. If you delete a configured audience model, it will be removed from any collaborations that it is associated to.
This is a convenience which creates an instance of the
DeleteConfiguredAudienceModelRequest.Builderavoiding the need to create one manually viaDeleteConfiguredAudienceModelRequest.builder()- Parameters:
deleteConfiguredAudienceModelRequest- AConsumerthat will call methods onDeleteConfiguredAudienceModelRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteConfiguredAudienceModel operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException A resource with that name already exists in this region.
- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteConfiguredAudienceModelPolicy
default CompletableFuture<DeleteConfiguredAudienceModelPolicyResponse> deleteConfiguredAudienceModelPolicy(DeleteConfiguredAudienceModelPolicyRequest deleteConfiguredAudienceModelPolicyRequest)
Deletes the specified configured audience model policy.
- Parameters:
deleteConfiguredAudienceModelPolicyRequest-- Returns:
- A Java Future containing the result of the DeleteConfiguredAudienceModelPolicy operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteConfiguredAudienceModelPolicy
default CompletableFuture<DeleteConfiguredAudienceModelPolicyResponse> deleteConfiguredAudienceModelPolicy(Consumer<DeleteConfiguredAudienceModelPolicyRequest.Builder> deleteConfiguredAudienceModelPolicyRequest)
Deletes the specified configured audience model policy.
This is a convenience which creates an instance of the
DeleteConfiguredAudienceModelPolicyRequest.Builderavoiding the need to create one manually viaDeleteConfiguredAudienceModelPolicyRequest.builder()- Parameters:
deleteConfiguredAudienceModelPolicyRequest- AConsumerthat will call methods onDeleteConfiguredAudienceModelPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteConfiguredAudienceModelPolicy operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteTrainingDataset
default CompletableFuture<DeleteTrainingDatasetResponse> deleteTrainingDataset(DeleteTrainingDatasetRequest deleteTrainingDatasetRequest)
Specifies a training dataset that you want to delete. You can't delete a training dataset if there are any audience models that depend on the training dataset. In Clean Rooms ML, the
TrainingDatasetis metadata that points to a Glue table, which is read only duringAudienceModelcreation. This action deletes the metadata.- Parameters:
deleteTrainingDatasetRequest-- Returns:
- A Java Future containing the result of the DeleteTrainingDataset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException A resource with that name already exists in this region.
- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteTrainingDataset
default CompletableFuture<DeleteTrainingDatasetResponse> deleteTrainingDataset(Consumer<DeleteTrainingDatasetRequest.Builder> deleteTrainingDatasetRequest)
Specifies a training dataset that you want to delete. You can't delete a training dataset if there are any audience models that depend on the training dataset. In Clean Rooms ML, the
TrainingDatasetis metadata that points to a Glue table, which is read only duringAudienceModelcreation. This action deletes the metadata.
This is a convenience which creates an instance of the
DeleteTrainingDatasetRequest.Builderavoiding the need to create one manually viaDeleteTrainingDatasetRequest.builder()- Parameters:
deleteTrainingDatasetRequest- AConsumerthat will call methods onDeleteTrainingDatasetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteTrainingDataset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException A resource with that name already exists in this region.
- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getAudienceGenerationJob
default CompletableFuture<GetAudienceGenerationJobResponse> getAudienceGenerationJob(GetAudienceGenerationJobRequest getAudienceGenerationJobRequest)
Returns information about an audience generation job.
- Parameters:
getAudienceGenerationJobRequest-- Returns:
- A Java Future containing the result of the GetAudienceGenerationJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getAudienceGenerationJob
default CompletableFuture<GetAudienceGenerationJobResponse> getAudienceGenerationJob(Consumer<GetAudienceGenerationJobRequest.Builder> getAudienceGenerationJobRequest)
Returns information about an audience generation job.
This is a convenience which creates an instance of the
GetAudienceGenerationJobRequest.Builderavoiding the need to create one manually viaGetAudienceGenerationJobRequest.builder()- Parameters:
getAudienceGenerationJobRequest- AConsumerthat will call methods onGetAudienceGenerationJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAudienceGenerationJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getAudienceModel
default CompletableFuture<GetAudienceModelResponse> getAudienceModel(GetAudienceModelRequest getAudienceModelRequest)
Returns information about an audience model
- Parameters:
getAudienceModelRequest-- Returns:
- A Java Future containing the result of the GetAudienceModel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getAudienceModel
default CompletableFuture<GetAudienceModelResponse> getAudienceModel(Consumer<GetAudienceModelRequest.Builder> getAudienceModelRequest)
Returns information about an audience model
This is a convenience which creates an instance of the
GetAudienceModelRequest.Builderavoiding the need to create one manually viaGetAudienceModelRequest.builder()- Parameters:
getAudienceModelRequest- AConsumerthat will call methods onGetAudienceModelRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAudienceModel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getConfiguredAudienceModel
default CompletableFuture<GetConfiguredAudienceModelResponse> getConfiguredAudienceModel(GetConfiguredAudienceModelRequest getConfiguredAudienceModelRequest)
Returns information about a specified configured audience model.
- Parameters:
getConfiguredAudienceModelRequest-- Returns:
- A Java Future containing the result of the GetConfiguredAudienceModel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getConfiguredAudienceModel
default CompletableFuture<GetConfiguredAudienceModelResponse> getConfiguredAudienceModel(Consumer<GetConfiguredAudienceModelRequest.Builder> getConfiguredAudienceModelRequest)
Returns information about a specified configured audience model.
This is a convenience which creates an instance of the
GetConfiguredAudienceModelRequest.Builderavoiding the need to create one manually viaGetConfiguredAudienceModelRequest.builder()- Parameters:
getConfiguredAudienceModelRequest- AConsumerthat will call methods onGetConfiguredAudienceModelRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetConfiguredAudienceModel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getConfiguredAudienceModelPolicy
default CompletableFuture<GetConfiguredAudienceModelPolicyResponse> getConfiguredAudienceModelPolicy(GetConfiguredAudienceModelPolicyRequest getConfiguredAudienceModelPolicyRequest)
Returns information about a configured audience model policy.
- Parameters:
getConfiguredAudienceModelPolicyRequest-- Returns:
- A Java Future containing the result of the GetConfiguredAudienceModelPolicy operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getConfiguredAudienceModelPolicy
default CompletableFuture<GetConfiguredAudienceModelPolicyResponse> getConfiguredAudienceModelPolicy(Consumer<GetConfiguredAudienceModelPolicyRequest.Builder> getConfiguredAudienceModelPolicyRequest)
Returns information about a configured audience model policy.
This is a convenience which creates an instance of the
GetConfiguredAudienceModelPolicyRequest.Builderavoiding the need to create one manually viaGetConfiguredAudienceModelPolicyRequest.builder()- Parameters:
getConfiguredAudienceModelPolicyRequest- AConsumerthat will call methods onGetConfiguredAudienceModelPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetConfiguredAudienceModelPolicy operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getTrainingDataset
default CompletableFuture<GetTrainingDatasetResponse> getTrainingDataset(GetTrainingDatasetRequest getTrainingDatasetRequest)
Returns information about a training dataset.
- Parameters:
getTrainingDatasetRequest-- Returns:
- A Java Future containing the result of the GetTrainingDataset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getTrainingDataset
default CompletableFuture<GetTrainingDatasetResponse> getTrainingDataset(Consumer<GetTrainingDatasetRequest.Builder> getTrainingDatasetRequest)
Returns information about a training dataset.
This is a convenience which creates an instance of the
GetTrainingDatasetRequest.Builderavoiding the need to create one manually viaGetTrainingDatasetRequest.builder()- Parameters:
getTrainingDatasetRequest- AConsumerthat will call methods onGetTrainingDatasetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTrainingDataset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listAudienceExportJobs
default CompletableFuture<ListAudienceExportJobsResponse> listAudienceExportJobs(ListAudienceExportJobsRequest listAudienceExportJobsRequest)
Returns a list of the audience export jobs.
- Parameters:
listAudienceExportJobsRequest-- Returns:
- A Java Future containing the result of the ListAudienceExportJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listAudienceExportJobs
default CompletableFuture<ListAudienceExportJobsResponse> listAudienceExportJobs(Consumer<ListAudienceExportJobsRequest.Builder> listAudienceExportJobsRequest)
Returns a list of the audience export jobs.
This is a convenience which creates an instance of the
ListAudienceExportJobsRequest.Builderavoiding the need to create one manually viaListAudienceExportJobsRequest.builder()- Parameters:
listAudienceExportJobsRequest- AConsumerthat will call methods onListAudienceExportJobsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAudienceExportJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listAudienceExportJobsPaginator
default ListAudienceExportJobsPublisher listAudienceExportJobsPaginator(ListAudienceExportJobsRequest listAudienceExportJobsRequest)
Returns a list of the audience export jobs.
This is a variant of
listAudienceExportJobs(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceExportJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceExportJobsPublisher publisher = client.listAudienceExportJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceExportJobsPublisher publisher = client.listAudienceExportJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cleanroomsml.model.ListAudienceExportJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceExportJobsResponse 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
listAudienceExportJobs(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceExportJobsRequest)operation.- Parameters:
listAudienceExportJobsRequest-- 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.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listAudienceExportJobsPaginator
default ListAudienceExportJobsPublisher listAudienceExportJobsPaginator(Consumer<ListAudienceExportJobsRequest.Builder> listAudienceExportJobsRequest)
Returns a list of the audience export jobs.
This is a variant of
listAudienceExportJobs(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceExportJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceExportJobsPublisher publisher = client.listAudienceExportJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceExportJobsPublisher publisher = client.listAudienceExportJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cleanroomsml.model.ListAudienceExportJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceExportJobsResponse 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
listAudienceExportJobs(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceExportJobsRequest)operation.This is a convenience which creates an instance of the
ListAudienceExportJobsRequest.Builderavoiding the need to create one manually viaListAudienceExportJobsRequest.builder()- Parameters:
listAudienceExportJobsRequest- AConsumerthat will call methods onListAudienceExportJobsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listAudienceGenerationJobs
default CompletableFuture<ListAudienceGenerationJobsResponse> listAudienceGenerationJobs(ListAudienceGenerationJobsRequest listAudienceGenerationJobsRequest)
Returns a list of audience generation jobs.
- Parameters:
listAudienceGenerationJobsRequest-- Returns:
- A Java Future containing the result of the ListAudienceGenerationJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listAudienceGenerationJobs
default CompletableFuture<ListAudienceGenerationJobsResponse> listAudienceGenerationJobs(Consumer<ListAudienceGenerationJobsRequest.Builder> listAudienceGenerationJobsRequest)
Returns a list of audience generation jobs.
This is a convenience which creates an instance of the
ListAudienceGenerationJobsRequest.Builderavoiding the need to create one manually viaListAudienceGenerationJobsRequest.builder()- Parameters:
listAudienceGenerationJobsRequest- AConsumerthat will call methods onListAudienceGenerationJobsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAudienceGenerationJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listAudienceGenerationJobsPaginator
default ListAudienceGenerationJobsPublisher listAudienceGenerationJobsPaginator(ListAudienceGenerationJobsRequest listAudienceGenerationJobsRequest)
Returns a list of audience generation jobs.
This is a variant of
listAudienceGenerationJobs(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceGenerationJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceGenerationJobsPublisher publisher = client.listAudienceGenerationJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceGenerationJobsPublisher publisher = client.listAudienceGenerationJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cleanroomsml.model.ListAudienceGenerationJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceGenerationJobsResponse 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
listAudienceGenerationJobs(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceGenerationJobsRequest)operation.- Parameters:
listAudienceGenerationJobsRequest-- 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.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listAudienceGenerationJobsPaginator
default ListAudienceGenerationJobsPublisher listAudienceGenerationJobsPaginator(Consumer<ListAudienceGenerationJobsRequest.Builder> listAudienceGenerationJobsRequest)
Returns a list of audience generation jobs.
This is a variant of
listAudienceGenerationJobs(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceGenerationJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceGenerationJobsPublisher publisher = client.listAudienceGenerationJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceGenerationJobsPublisher publisher = client.listAudienceGenerationJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cleanroomsml.model.ListAudienceGenerationJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceGenerationJobsResponse 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
listAudienceGenerationJobs(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceGenerationJobsRequest)operation.This is a convenience which creates an instance of the
ListAudienceGenerationJobsRequest.Builderavoiding the need to create one manually viaListAudienceGenerationJobsRequest.builder()- Parameters:
listAudienceGenerationJobsRequest- AConsumerthat will call methods onListAudienceGenerationJobsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listAudienceModels
default CompletableFuture<ListAudienceModelsResponse> listAudienceModels(ListAudienceModelsRequest listAudienceModelsRequest)
Returns a list of audience models.
- Parameters:
listAudienceModelsRequest-- Returns:
- A Java Future containing the result of the ListAudienceModels operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listAudienceModels
default CompletableFuture<ListAudienceModelsResponse> listAudienceModels(Consumer<ListAudienceModelsRequest.Builder> listAudienceModelsRequest)
Returns a list of audience models.
This is a convenience which creates an instance of the
ListAudienceModelsRequest.Builderavoiding the need to create one manually viaListAudienceModelsRequest.builder()- Parameters:
listAudienceModelsRequest- AConsumerthat will call methods onListAudienceModelsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAudienceModels operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listAudienceModelsPaginator
default ListAudienceModelsPublisher listAudienceModelsPaginator(ListAudienceModelsRequest listAudienceModelsRequest)
Returns a list of audience models.
This is a variant of
listAudienceModels(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceModelsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceModelsPublisher publisher = client.listAudienceModelsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceModelsPublisher publisher = client.listAudienceModelsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cleanroomsml.model.ListAudienceModelsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceModelsResponse 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
listAudienceModels(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceModelsRequest)operation.- Parameters:
listAudienceModelsRequest-- 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.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listAudienceModelsPaginator
default ListAudienceModelsPublisher listAudienceModelsPaginator(Consumer<ListAudienceModelsRequest.Builder> listAudienceModelsRequest)
Returns a list of audience models.
This is a variant of
listAudienceModels(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceModelsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceModelsPublisher publisher = client.listAudienceModelsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceModelsPublisher publisher = client.listAudienceModelsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cleanroomsml.model.ListAudienceModelsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceModelsResponse 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
listAudienceModels(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceModelsRequest)operation.This is a convenience which creates an instance of the
ListAudienceModelsRequest.Builderavoiding the need to create one manually viaListAudienceModelsRequest.builder()- Parameters:
listAudienceModelsRequest- AConsumerthat will call methods onListAudienceModelsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listConfiguredAudienceModels
default CompletableFuture<ListConfiguredAudienceModelsResponse> listConfiguredAudienceModels(ListConfiguredAudienceModelsRequest listConfiguredAudienceModelsRequest)
Returns a list of the configured audience models.
- Parameters:
listConfiguredAudienceModelsRequest-- Returns:
- A Java Future containing the result of the ListConfiguredAudienceModels operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listConfiguredAudienceModels
default CompletableFuture<ListConfiguredAudienceModelsResponse> listConfiguredAudienceModels(Consumer<ListConfiguredAudienceModelsRequest.Builder> listConfiguredAudienceModelsRequest)
Returns a list of the configured audience models.
This is a convenience which creates an instance of the
ListConfiguredAudienceModelsRequest.Builderavoiding the need to create one manually viaListConfiguredAudienceModelsRequest.builder()- Parameters:
listConfiguredAudienceModelsRequest- AConsumerthat will call methods onListConfiguredAudienceModelsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListConfiguredAudienceModels operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listConfiguredAudienceModelsPaginator
default ListConfiguredAudienceModelsPublisher listConfiguredAudienceModelsPaginator(ListConfiguredAudienceModelsRequest listConfiguredAudienceModelsRequest)
Returns a list of the configured audience models.
This is a variant of
listConfiguredAudienceModels(software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredAudienceModelsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.cleanroomsml.paginators.ListConfiguredAudienceModelsPublisher publisher = client.listConfiguredAudienceModelsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.cleanroomsml.paginators.ListConfiguredAudienceModelsPublisher publisher = client.listConfiguredAudienceModelsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredAudienceModelsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredAudienceModelsResponse 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
listConfiguredAudienceModels(software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredAudienceModelsRequest)operation.- Parameters:
listConfiguredAudienceModelsRequest-- 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.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listConfiguredAudienceModelsPaginator
default ListConfiguredAudienceModelsPublisher listConfiguredAudienceModelsPaginator(Consumer<ListConfiguredAudienceModelsRequest.Builder> listConfiguredAudienceModelsRequest)
Returns a list of the configured audience models.
This is a variant of
listConfiguredAudienceModels(software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredAudienceModelsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.cleanroomsml.paginators.ListConfiguredAudienceModelsPublisher publisher = client.listConfiguredAudienceModelsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.cleanroomsml.paginators.ListConfiguredAudienceModelsPublisher publisher = client.listConfiguredAudienceModelsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredAudienceModelsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredAudienceModelsResponse 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
listConfiguredAudienceModels(software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredAudienceModelsRequest)operation.This is a convenience which creates an instance of the
ListConfiguredAudienceModelsRequest.Builderavoiding the need to create one manually viaListConfiguredAudienceModelsRequest.builder()- Parameters:
listConfiguredAudienceModelsRequest- AConsumerthat will call methods onListConfiguredAudienceModelsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns a list of tags for a provided 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.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Returns a list of tags for a provided resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listTrainingDatasets
default CompletableFuture<ListTrainingDatasetsResponse> listTrainingDatasets(ListTrainingDatasetsRequest listTrainingDatasetsRequest)
Returns a list of training datasets.
- Parameters:
listTrainingDatasetsRequest-- Returns:
- A Java Future containing the result of the ListTrainingDatasets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listTrainingDatasets
default CompletableFuture<ListTrainingDatasetsResponse> listTrainingDatasets(Consumer<ListTrainingDatasetsRequest.Builder> listTrainingDatasetsRequest)
Returns a list of training datasets.
This is a convenience which creates an instance of the
ListTrainingDatasetsRequest.Builderavoiding the need to create one manually viaListTrainingDatasetsRequest.builder()- Parameters:
listTrainingDatasetsRequest- AConsumerthat will call methods onListTrainingDatasetsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTrainingDatasets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listTrainingDatasetsPaginator
default ListTrainingDatasetsPublisher listTrainingDatasetsPaginator(ListTrainingDatasetsRequest listTrainingDatasetsRequest)
Returns a list of training datasets.
This is a variant of
listTrainingDatasets(software.amazon.awssdk.services.cleanroomsml.model.ListTrainingDatasetsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.cleanroomsml.paginators.ListTrainingDatasetsPublisher publisher = client.listTrainingDatasetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.cleanroomsml.paginators.ListTrainingDatasetsPublisher publisher = client.listTrainingDatasetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cleanroomsml.model.ListTrainingDatasetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.cleanroomsml.model.ListTrainingDatasetsResponse 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
listTrainingDatasets(software.amazon.awssdk.services.cleanroomsml.model.ListTrainingDatasetsRequest)operation.- Parameters:
listTrainingDatasetsRequest-- 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.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listTrainingDatasetsPaginator
default ListTrainingDatasetsPublisher listTrainingDatasetsPaginator(Consumer<ListTrainingDatasetsRequest.Builder> listTrainingDatasetsRequest)
Returns a list of training datasets.
This is a variant of
listTrainingDatasets(software.amazon.awssdk.services.cleanroomsml.model.ListTrainingDatasetsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.cleanroomsml.paginators.ListTrainingDatasetsPublisher publisher = client.listTrainingDatasetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.cleanroomsml.paginators.ListTrainingDatasetsPublisher publisher = client.listTrainingDatasetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cleanroomsml.model.ListTrainingDatasetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.cleanroomsml.model.ListTrainingDatasetsResponse 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
listTrainingDatasets(software.amazon.awssdk.services.cleanroomsml.model.ListTrainingDatasetsRequest)operation.This is a convenience which creates an instance of the
ListTrainingDatasetsRequest.Builderavoiding the need to create one manually viaListTrainingDatasetsRequest.builder()- Parameters:
listTrainingDatasetsRequest- AConsumerthat will call methods onListTrainingDatasetsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putConfiguredAudienceModelPolicy
default CompletableFuture<PutConfiguredAudienceModelPolicyResponse> putConfiguredAudienceModelPolicy(PutConfiguredAudienceModelPolicyRequest putConfiguredAudienceModelPolicyRequest)
Create or update the resource policy for a configured audience model.
- Parameters:
putConfiguredAudienceModelPolicyRequest-- Returns:
- A Java Future containing the result of the PutConfiguredAudienceModelPolicy operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putConfiguredAudienceModelPolicy
default CompletableFuture<PutConfiguredAudienceModelPolicyResponse> putConfiguredAudienceModelPolicy(Consumer<PutConfiguredAudienceModelPolicyRequest.Builder> putConfiguredAudienceModelPolicyRequest)
Create or update the resource policy for a configured audience model.
This is a convenience which creates an instance of the
PutConfiguredAudienceModelPolicyRequest.Builderavoiding the need to create one manually viaPutConfiguredAudienceModelPolicyRequest.builder()- Parameters:
putConfiguredAudienceModelPolicyRequest- AConsumerthat will call methods onPutConfiguredAudienceModelPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutConfiguredAudienceModelPolicy operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
startAudienceExportJob
default CompletableFuture<StartAudienceExportJobResponse> startAudienceExportJob(StartAudienceExportJobRequest startAudienceExportJobRequest)
Export an audience of a specified size after you have generated an audience.
- Parameters:
startAudienceExportJobRequest-- Returns:
- A Java Future containing the result of the StartAudienceExportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException A resource with that name already exists in this region.
- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- ServiceQuotaExceededException You have exceeded your service quota.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
startAudienceExportJob
default CompletableFuture<StartAudienceExportJobResponse> startAudienceExportJob(Consumer<StartAudienceExportJobRequest.Builder> startAudienceExportJobRequest)
Export an audience of a specified size after you have generated an audience.
This is a convenience which creates an instance of the
StartAudienceExportJobRequest.Builderavoiding the need to create one manually viaStartAudienceExportJobRequest.builder()- Parameters:
startAudienceExportJobRequest- AConsumerthat will call methods onStartAudienceExportJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartAudienceExportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException A resource with that name already exists in this region.
- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- ServiceQuotaExceededException You have exceeded your service quota.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
startAudienceGenerationJob
default CompletableFuture<StartAudienceGenerationJobResponse> startAudienceGenerationJob(StartAudienceGenerationJobRequest startAudienceGenerationJobRequest)
Information necessary to start the audience generation job.
- Parameters:
startAudienceGenerationJobRequest-- Returns:
- A Java Future containing the result of the StartAudienceGenerationJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException A resource with that name already exists in this region.
- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- ServiceQuotaExceededException You have exceeded your service quota.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
startAudienceGenerationJob
default CompletableFuture<StartAudienceGenerationJobResponse> startAudienceGenerationJob(Consumer<StartAudienceGenerationJobRequest.Builder> startAudienceGenerationJobRequest)
Information necessary to start the audience generation job.
This is a convenience which creates an instance of the
StartAudienceGenerationJobRequest.Builderavoiding the need to create one manually viaStartAudienceGenerationJobRequest.builder()- Parameters:
startAudienceGenerationJobRequest- AConsumerthat will call methods onStartAudienceGenerationJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartAudienceGenerationJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException A resource with that name already exists in this region.
- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- ServiceQuotaExceededException You have exceeded your service quota.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Adds metadata tags to a 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.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds metadata tags to a specified resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Removes metadata tags from a specified resource.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes metadata tags from a specified resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateConfiguredAudienceModel
default CompletableFuture<UpdateConfiguredAudienceModelResponse> updateConfiguredAudienceModel(UpdateConfiguredAudienceModelRequest updateConfiguredAudienceModelRequest)
Provides the information necessary to update a configured audience model. Updates that impact audience generation jobs take effect when a new job starts, but do not impact currently running jobs.
- Parameters:
updateConfiguredAudienceModelRequest-- Returns:
- A Java Future containing the result of the UpdateConfiguredAudienceModel operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException A resource with that name already exists in this region.
- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateConfiguredAudienceModel
default CompletableFuture<UpdateConfiguredAudienceModelResponse> updateConfiguredAudienceModel(Consumer<UpdateConfiguredAudienceModelRequest.Builder> updateConfiguredAudienceModelRequest)
Provides the information necessary to update a configured audience model. Updates that impact audience generation jobs take effect when a new job starts, but do not impact currently running jobs.
This is a convenience which creates an instance of the
UpdateConfiguredAudienceModelRequest.Builderavoiding the need to create one manually viaUpdateConfiguredAudienceModelRequest.builder()- Parameters:
updateConfiguredAudienceModelRequest- AConsumerthat will call methods onUpdateConfiguredAudienceModelRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateConfiguredAudienceModel operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException A resource with that name already exists in this region.
- ValidationException The request parameters for this request are incorrect.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The resource you are requesting does not exist.
- 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.
- CleanRoomsMlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
serviceClientConfiguration
default CleanRoomsMlServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
create
static CleanRoomsMlAsyncClient create()
Create aCleanRoomsMlAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static CleanRoomsMlAsyncClientBuilder builder()
Create a builder that can be used to configure and create aCleanRoomsMlAsyncClient.
-
-