Interface CleanRoomsMlClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface CleanRoomsMlClient extends AwsClient
Service client for accessing AWS Clean Rooms ML. This can be created using the staticbuilder()method.Welcome to the Amazon Web Services Clean Rooms ML API Reference.
Amazon Web Services Clean Rooms ML provides a privacy-enhancing method for two parties to identify similar users in their data without the need to share their data with each other. The first party brings the training data to Clean Rooms so that they can create and configure an audience model (lookalike model) and associate it with a collaboration. The second party then brings their seed data to Clean Rooms and generates an audience (lookalike segment) that resembles the training data.
To learn more about Amazon Web Services Clean Rooms ML concepts, procedures, and best practices, see the Clean Rooms User Guide.
To learn more about SQL commands, functions, and conditions supported in Clean Rooms, see the Clean Rooms SQL Reference.
-
-
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
-
cancelTrainedModel
default CancelTrainedModelResponse cancelTrainedModel(CancelTrainedModelRequest cancelTrainedModelRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Submits a request to cancel the trained model job.
- Parameters:
cancelTrainedModelRequest-- Returns:
- Result of the CancelTrainedModel operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
cancelTrainedModel
default CancelTrainedModelResponse cancelTrainedModel(Consumer<CancelTrainedModelRequest.Builder> cancelTrainedModelRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Submits a request to cancel the trained model job.
This is a convenience which creates an instance of the
CancelTrainedModelRequest.Builderavoiding the need to create one manually viaCancelTrainedModelRequest.builder()- Parameters:
cancelTrainedModelRequest- AConsumerthat will call methods onCancelTrainedModelRequest.Builderto create a request.- Returns:
- Result of the CancelTrainedModel operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
cancelTrainedModelInferenceJob
default CancelTrainedModelInferenceJobResponse cancelTrainedModelInferenceJob(CancelTrainedModelInferenceJobRequest cancelTrainedModelInferenceJobRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Submits a request to cancel a trained model inference job.
- Parameters:
cancelTrainedModelInferenceJobRequest-- Returns:
- Result of the CancelTrainedModelInferenceJob operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
cancelTrainedModelInferenceJob
default CancelTrainedModelInferenceJobResponse cancelTrainedModelInferenceJob(Consumer<CancelTrainedModelInferenceJobRequest.Builder> cancelTrainedModelInferenceJobRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Submits a request to cancel a trained model inference job.
This is a convenience which creates an instance of the
CancelTrainedModelInferenceJobRequest.Builderavoiding the need to create one manually viaCancelTrainedModelInferenceJobRequest.builder()- Parameters:
cancelTrainedModelInferenceJobRequest- AConsumerthat will call methods onCancelTrainedModelInferenceJobRequest.Builderto create a request.- Returns:
- Result of the CancelTrainedModelInferenceJob operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
createAudienceModel
default CreateAudienceModelResponse createAudienceModel(CreateAudienceModelRequest createAudienceModelRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the CreateAudienceModel operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
createAudienceModel
default CreateAudienceModelResponse createAudienceModel(Consumer<CreateAudienceModelRequest.Builder> createAudienceModelRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the CreateAudienceModel operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
createConfiguredAudienceModel
default CreateConfiguredAudienceModelResponse createConfiguredAudienceModel(CreateConfiguredAudienceModelRequest createConfiguredAudienceModelRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, CleanRoomsMlException
Defines the information necessary to create a configured audience model.
- Parameters:
createConfiguredAudienceModelRequest-- Returns:
- Result of the CreateConfiguredAudienceModel operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
createConfiguredAudienceModel
default CreateConfiguredAudienceModelResponse createConfiguredAudienceModel(Consumer<CreateConfiguredAudienceModelRequest.Builder> createConfiguredAudienceModelRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the CreateConfiguredAudienceModel operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
createConfiguredModelAlgorithm
default CreateConfiguredModelAlgorithmResponse createConfiguredModelAlgorithm(CreateConfiguredModelAlgorithmRequest createConfiguredModelAlgorithmRequest) throws ConflictException, ValidationException, AccessDeniedException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, CleanRoomsMlException
Creates a configured model algorithm using a container image stored in an ECR repository.
- Parameters:
createConfiguredModelAlgorithmRequest-- Returns:
- Result of the CreateConfiguredModelAlgorithm operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.ValidationException- The request parameters for this request are incorrect.AccessDeniedException- You do not have sufficient access to perform this action.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.AwsServiceException- See Also:
- AWS API Documentation
-
createConfiguredModelAlgorithm
default CreateConfiguredModelAlgorithmResponse createConfiguredModelAlgorithm(Consumer<CreateConfiguredModelAlgorithmRequest.Builder> createConfiguredModelAlgorithmRequest) throws ConflictException, ValidationException, AccessDeniedException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, CleanRoomsMlException
Creates a configured model algorithm using a container image stored in an ECR repository.
This is a convenience which creates an instance of the
CreateConfiguredModelAlgorithmRequest.Builderavoiding the need to create one manually viaCreateConfiguredModelAlgorithmRequest.builder()- Parameters:
createConfiguredModelAlgorithmRequest- AConsumerthat will call methods onCreateConfiguredModelAlgorithmRequest.Builderto create a request.- Returns:
- Result of the CreateConfiguredModelAlgorithm operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.ValidationException- The request parameters for this request are incorrect.AccessDeniedException- You do not have sufficient access to perform this action.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.AwsServiceException- See Also:
- AWS API Documentation
-
createConfiguredModelAlgorithmAssociation
default CreateConfiguredModelAlgorithmAssociationResponse createConfiguredModelAlgorithmAssociation(CreateConfiguredModelAlgorithmAssociationRequest createConfiguredModelAlgorithmAssociationRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, CleanRoomsMlException
Associates a configured model algorithm to a collaboration for use by any member of the collaboration.
- Parameters:
createConfiguredModelAlgorithmAssociationRequest-- Returns:
- Result of the CreateConfiguredModelAlgorithmAssociation operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
createConfiguredModelAlgorithmAssociation
default CreateConfiguredModelAlgorithmAssociationResponse createConfiguredModelAlgorithmAssociation(Consumer<CreateConfiguredModelAlgorithmAssociationRequest.Builder> createConfiguredModelAlgorithmAssociationRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, CleanRoomsMlException
Associates a configured model algorithm to a collaboration for use by any member of the collaboration.
This is a convenience which creates an instance of the
CreateConfiguredModelAlgorithmAssociationRequest.Builderavoiding the need to create one manually viaCreateConfiguredModelAlgorithmAssociationRequest.builder()- Parameters:
createConfiguredModelAlgorithmAssociationRequest- AConsumerthat will call methods onCreateConfiguredModelAlgorithmAssociationRequest.Builderto create a request.- Returns:
- Result of the CreateConfiguredModelAlgorithmAssociation operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
createMLInputChannel
default CreateMlInputChannelResponse createMLInputChannel(CreateMlInputChannelRequest createMlInputChannelRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, CleanRoomsMlException
Provides the information to create an ML input channel. An ML input channel is the result of a query that can be used for ML modeling.
- Parameters:
createMlInputChannelRequest-- Returns:
- Result of the CreateMLInputChannel operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
createMLInputChannel
default CreateMlInputChannelResponse createMLInputChannel(Consumer<CreateMlInputChannelRequest.Builder> createMlInputChannelRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, CleanRoomsMlException
Provides the information to create an ML input channel. An ML input channel is the result of a query that can be used for ML modeling.
This is a convenience which creates an instance of the
CreateMlInputChannelRequest.Builderavoiding the need to create one manually viaCreateMlInputChannelRequest.builder()- Parameters:
createMlInputChannelRequest- AConsumerthat will call methods onCreateMlInputChannelRequest.Builderto create a request.- Returns:
- Result of the CreateMLInputChannel operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
createTrainedModel
default CreateTrainedModelResponse createTrainedModel(CreateTrainedModelRequest createTrainedModelRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, CleanRoomsMlException
Creates a trained model from an associated configured model algorithm using data from any member of the collaboration.
- Parameters:
createTrainedModelRequest-- Returns:
- Result of the CreateTrainedModel operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
createTrainedModel
default CreateTrainedModelResponse createTrainedModel(Consumer<CreateTrainedModelRequest.Builder> createTrainedModelRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, CleanRoomsMlException
Creates a trained model from an associated configured model algorithm using data from any member of the collaboration.
This is a convenience which creates an instance of the
CreateTrainedModelRequest.Builderavoiding the need to create one manually viaCreateTrainedModelRequest.builder()- Parameters:
createTrainedModelRequest- AConsumerthat will call methods onCreateTrainedModelRequest.Builderto create a request.- Returns:
- Result of the CreateTrainedModel operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
createTrainingDataset
default CreateTrainingDatasetResponse createTrainingDataset(CreateTrainingDatasetRequest createTrainingDatasetRequest) throws ConflictException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Defines the information necessary to create a training dataset. In Clean Rooms ML, the
TrainingDatasetis metadata that points to a Glue table, which is read only duringAudienceModelcreation.- Parameters:
createTrainingDatasetRequest-- Returns:
- Result of the CreateTrainingDataset operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
createTrainingDataset
default CreateTrainingDatasetResponse createTrainingDataset(Consumer<CreateTrainingDatasetRequest.Builder> createTrainingDatasetRequest) throws ConflictException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Defines the information necessary to create a training dataset. 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:
- Result of the CreateTrainingDataset operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAudienceGenerationJob
default DeleteAudienceGenerationJobResponse deleteAudienceGenerationJob(DeleteAudienceGenerationJobRequest deleteAudienceGenerationJobRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Deletes the specified audience generation job, and removes all data associated with the job.
- Parameters:
deleteAudienceGenerationJobRequest-- Returns:
- Result of the DeleteAudienceGenerationJob operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAudienceGenerationJob
default DeleteAudienceGenerationJobResponse deleteAudienceGenerationJob(Consumer<DeleteAudienceGenerationJobRequest.Builder> deleteAudienceGenerationJobRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the DeleteAudienceGenerationJob operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAudienceModel
default DeleteAudienceModelResponse deleteAudienceModel(DeleteAudienceModelRequest deleteAudienceModelRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the DeleteAudienceModel operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAudienceModel
default DeleteAudienceModelResponse deleteAudienceModel(Consumer<DeleteAudienceModelRequest.Builder> deleteAudienceModelRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the DeleteAudienceModel operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteConfiguredAudienceModel
default DeleteConfiguredAudienceModelResponse deleteConfiguredAudienceModel(DeleteConfiguredAudienceModelRequest deleteConfiguredAudienceModelRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the DeleteConfiguredAudienceModel operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteConfiguredAudienceModel
default DeleteConfiguredAudienceModelResponse deleteConfiguredAudienceModel(Consumer<DeleteConfiguredAudienceModelRequest.Builder> deleteConfiguredAudienceModelRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the DeleteConfiguredAudienceModel operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteConfiguredAudienceModelPolicy
default DeleteConfiguredAudienceModelPolicyResponse deleteConfiguredAudienceModelPolicy(DeleteConfiguredAudienceModelPolicyRequest deleteConfiguredAudienceModelPolicyRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Deletes the specified configured audience model policy.
- Parameters:
deleteConfiguredAudienceModelPolicyRequest-- Returns:
- Result of the DeleteConfiguredAudienceModelPolicy operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteConfiguredAudienceModelPolicy
default DeleteConfiguredAudienceModelPolicyResponse deleteConfiguredAudienceModelPolicy(Consumer<DeleteConfiguredAudienceModelPolicyRequest.Builder> deleteConfiguredAudienceModelPolicyRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the DeleteConfiguredAudienceModelPolicy operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteConfiguredModelAlgorithm
default DeleteConfiguredModelAlgorithmResponse deleteConfiguredModelAlgorithm(DeleteConfiguredModelAlgorithmRequest deleteConfiguredModelAlgorithmRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Deletes a configured model algorithm.
- Parameters:
deleteConfiguredModelAlgorithmRequest-- Returns:
- Result of the DeleteConfiguredModelAlgorithm operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteConfiguredModelAlgorithm
default DeleteConfiguredModelAlgorithmResponse deleteConfiguredModelAlgorithm(Consumer<DeleteConfiguredModelAlgorithmRequest.Builder> deleteConfiguredModelAlgorithmRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Deletes a configured model algorithm.
This is a convenience which creates an instance of the
DeleteConfiguredModelAlgorithmRequest.Builderavoiding the need to create one manually viaDeleteConfiguredModelAlgorithmRequest.builder()- Parameters:
deleteConfiguredModelAlgorithmRequest- AConsumerthat will call methods onDeleteConfiguredModelAlgorithmRequest.Builderto create a request.- Returns:
- Result of the DeleteConfiguredModelAlgorithm operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteConfiguredModelAlgorithmAssociation
default DeleteConfiguredModelAlgorithmAssociationResponse deleteConfiguredModelAlgorithmAssociation(DeleteConfiguredModelAlgorithmAssociationRequest deleteConfiguredModelAlgorithmAssociationRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Deletes a configured model algorithm association.
- Parameters:
deleteConfiguredModelAlgorithmAssociationRequest-- Returns:
- Result of the DeleteConfiguredModelAlgorithmAssociation operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteConfiguredModelAlgorithmAssociation
default DeleteConfiguredModelAlgorithmAssociationResponse deleteConfiguredModelAlgorithmAssociation(Consumer<DeleteConfiguredModelAlgorithmAssociationRequest.Builder> deleteConfiguredModelAlgorithmAssociationRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Deletes a configured model algorithm association.
This is a convenience which creates an instance of the
DeleteConfiguredModelAlgorithmAssociationRequest.Builderavoiding the need to create one manually viaDeleteConfiguredModelAlgorithmAssociationRequest.builder()- Parameters:
deleteConfiguredModelAlgorithmAssociationRequest- AConsumerthat will call methods onDeleteConfiguredModelAlgorithmAssociationRequest.Builderto create a request.- Returns:
- Result of the DeleteConfiguredModelAlgorithmAssociation operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteMLConfiguration
default DeleteMlConfigurationResponse deleteMLConfiguration(DeleteMlConfigurationRequest deleteMlConfigurationRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Deletes a ML modeling configuration.
- Parameters:
deleteMlConfigurationRequest-- Returns:
- Result of the DeleteMLConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteMLConfiguration
default DeleteMlConfigurationResponse deleteMLConfiguration(Consumer<DeleteMlConfigurationRequest.Builder> deleteMlConfigurationRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Deletes a ML modeling configuration.
This is a convenience which creates an instance of the
DeleteMlConfigurationRequest.Builderavoiding the need to create one manually viaDeleteMlConfigurationRequest.builder()- Parameters:
deleteMlConfigurationRequest- AConsumerthat will call methods onDeleteMlConfigurationRequest.Builderto create a request.- Returns:
- Result of the DeleteMLConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteMLInputChannelData
default DeleteMlInputChannelDataResponse deleteMLInputChannelData(DeleteMlInputChannelDataRequest deleteMlInputChannelDataRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Provides the information necessary to delete an ML input channel.
- Parameters:
deleteMlInputChannelDataRequest-- Returns:
- Result of the DeleteMLInputChannelData operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteMLInputChannelData
default DeleteMlInputChannelDataResponse deleteMLInputChannelData(Consumer<DeleteMlInputChannelDataRequest.Builder> deleteMlInputChannelDataRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Provides the information necessary to delete an ML input channel.
This is a convenience which creates an instance of the
DeleteMlInputChannelDataRequest.Builderavoiding the need to create one manually viaDeleteMlInputChannelDataRequest.builder()- Parameters:
deleteMlInputChannelDataRequest- AConsumerthat will call methods onDeleteMlInputChannelDataRequest.Builderto create a request.- Returns:
- Result of the DeleteMLInputChannelData operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteTrainedModelOutput
default DeleteTrainedModelOutputResponse deleteTrainedModelOutput(DeleteTrainedModelOutputRequest deleteTrainedModelOutputRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Deletes the output of a trained model.
- Parameters:
deleteTrainedModelOutputRequest-- Returns:
- Result of the DeleteTrainedModelOutput operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteTrainedModelOutput
default DeleteTrainedModelOutputResponse deleteTrainedModelOutput(Consumer<DeleteTrainedModelOutputRequest.Builder> deleteTrainedModelOutputRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Deletes the output of a trained model.
This is a convenience which creates an instance of the
DeleteTrainedModelOutputRequest.Builderavoiding the need to create one manually viaDeleteTrainedModelOutputRequest.builder()- Parameters:
deleteTrainedModelOutputRequest- AConsumerthat will call methods onDeleteTrainedModelOutputRequest.Builderto create a request.- Returns:
- Result of the DeleteTrainedModelOutput operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteTrainingDataset
default DeleteTrainingDatasetResponse deleteTrainingDataset(DeleteTrainingDatasetRequest deleteTrainingDatasetRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the DeleteTrainingDataset operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteTrainingDataset
default DeleteTrainingDatasetResponse deleteTrainingDataset(Consumer<DeleteTrainingDatasetRequest.Builder> deleteTrainingDatasetRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the DeleteTrainingDataset operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
getAudienceGenerationJob
default GetAudienceGenerationJobResponse getAudienceGenerationJob(GetAudienceGenerationJobRequest getAudienceGenerationJobRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns information about an audience generation job.
- Parameters:
getAudienceGenerationJobRequest-- Returns:
- Result of the GetAudienceGenerationJob operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getAudienceGenerationJob
default GetAudienceGenerationJobResponse getAudienceGenerationJob(Consumer<GetAudienceGenerationJobRequest.Builder> getAudienceGenerationJobRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the GetAudienceGenerationJob operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getAudienceModel
default GetAudienceModelResponse getAudienceModel(GetAudienceModelRequest getAudienceModelRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns information about an audience model
- Parameters:
getAudienceModelRequest-- Returns:
- Result of the GetAudienceModel operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getAudienceModel
default GetAudienceModelResponse getAudienceModel(Consumer<GetAudienceModelRequest.Builder> getAudienceModelRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the GetAudienceModel operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getCollaborationConfiguredModelAlgorithmAssociation
default GetCollaborationConfiguredModelAlgorithmAssociationResponse getCollaborationConfiguredModelAlgorithmAssociation(GetCollaborationConfiguredModelAlgorithmAssociationRequest getCollaborationConfiguredModelAlgorithmAssociationRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns information about the configured model algorithm association in a collaboration.
- Parameters:
getCollaborationConfiguredModelAlgorithmAssociationRequest-- Returns:
- Result of the GetCollaborationConfiguredModelAlgorithmAssociation operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getCollaborationConfiguredModelAlgorithmAssociation
default GetCollaborationConfiguredModelAlgorithmAssociationResponse getCollaborationConfiguredModelAlgorithmAssociation(Consumer<GetCollaborationConfiguredModelAlgorithmAssociationRequest.Builder> getCollaborationConfiguredModelAlgorithmAssociationRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns information about the configured model algorithm association in a collaboration.
This is a convenience which creates an instance of the
GetCollaborationConfiguredModelAlgorithmAssociationRequest.Builderavoiding the need to create one manually viaGetCollaborationConfiguredModelAlgorithmAssociationRequest.builder()- Parameters:
getCollaborationConfiguredModelAlgorithmAssociationRequest- AConsumerthat will call methods onGetCollaborationConfiguredModelAlgorithmAssociationRequest.Builderto create a request.- Returns:
- Result of the GetCollaborationConfiguredModelAlgorithmAssociation operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getCollaborationMLInputChannel
default GetCollaborationMlInputChannelResponse getCollaborationMLInputChannel(GetCollaborationMlInputChannelRequest getCollaborationMlInputChannelRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns information about a specific ML input channel in a collaboration.
- Parameters:
getCollaborationMlInputChannelRequest-- Returns:
- Result of the GetCollaborationMLInputChannel operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getCollaborationMLInputChannel
default GetCollaborationMlInputChannelResponse getCollaborationMLInputChannel(Consumer<GetCollaborationMlInputChannelRequest.Builder> getCollaborationMlInputChannelRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns information about a specific ML input channel in a collaboration.
This is a convenience which creates an instance of the
GetCollaborationMlInputChannelRequest.Builderavoiding the need to create one manually viaGetCollaborationMlInputChannelRequest.builder()- Parameters:
getCollaborationMlInputChannelRequest- AConsumerthat will call methods onGetCollaborationMlInputChannelRequest.Builderto create a request.- Returns:
- Result of the GetCollaborationMLInputChannel operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getCollaborationTrainedModel
default GetCollaborationTrainedModelResponse getCollaborationTrainedModel(GetCollaborationTrainedModelRequest getCollaborationTrainedModelRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns information about a trained model in a collaboration.
- Parameters:
getCollaborationTrainedModelRequest-- Returns:
- Result of the GetCollaborationTrainedModel operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getCollaborationTrainedModel
default GetCollaborationTrainedModelResponse getCollaborationTrainedModel(Consumer<GetCollaborationTrainedModelRequest.Builder> getCollaborationTrainedModelRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns information about a trained model in a collaboration.
This is a convenience which creates an instance of the
GetCollaborationTrainedModelRequest.Builderavoiding the need to create one manually viaGetCollaborationTrainedModelRequest.builder()- Parameters:
getCollaborationTrainedModelRequest- AConsumerthat will call methods onGetCollaborationTrainedModelRequest.Builderto create a request.- Returns:
- Result of the GetCollaborationTrainedModel operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getConfiguredAudienceModel
default GetConfiguredAudienceModelResponse getConfiguredAudienceModel(GetConfiguredAudienceModelRequest getConfiguredAudienceModelRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns information about a specified configured audience model.
- Parameters:
getConfiguredAudienceModelRequest-- Returns:
- Result of the GetConfiguredAudienceModel operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getConfiguredAudienceModel
default GetConfiguredAudienceModelResponse getConfiguredAudienceModel(Consumer<GetConfiguredAudienceModelRequest.Builder> getConfiguredAudienceModelRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the GetConfiguredAudienceModel operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getConfiguredAudienceModelPolicy
default GetConfiguredAudienceModelPolicyResponse getConfiguredAudienceModelPolicy(GetConfiguredAudienceModelPolicyRequest getConfiguredAudienceModelPolicyRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns information about a configured audience model policy.
- Parameters:
getConfiguredAudienceModelPolicyRequest-- Returns:
- Result of the GetConfiguredAudienceModelPolicy operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getConfiguredAudienceModelPolicy
default GetConfiguredAudienceModelPolicyResponse getConfiguredAudienceModelPolicy(Consumer<GetConfiguredAudienceModelPolicyRequest.Builder> getConfiguredAudienceModelPolicyRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the GetConfiguredAudienceModelPolicy operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getConfiguredModelAlgorithm
default GetConfiguredModelAlgorithmResponse getConfiguredModelAlgorithm(GetConfiguredModelAlgorithmRequest getConfiguredModelAlgorithmRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns information about a configured model algorithm.
- Parameters:
getConfiguredModelAlgorithmRequest-- Returns:
- Result of the GetConfiguredModelAlgorithm operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getConfiguredModelAlgorithm
default GetConfiguredModelAlgorithmResponse getConfiguredModelAlgorithm(Consumer<GetConfiguredModelAlgorithmRequest.Builder> getConfiguredModelAlgorithmRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns information about a configured model algorithm.
This is a convenience which creates an instance of the
GetConfiguredModelAlgorithmRequest.Builderavoiding the need to create one manually viaGetConfiguredModelAlgorithmRequest.builder()- Parameters:
getConfiguredModelAlgorithmRequest- AConsumerthat will call methods onGetConfiguredModelAlgorithmRequest.Builderto create a request.- Returns:
- Result of the GetConfiguredModelAlgorithm operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getConfiguredModelAlgorithmAssociation
default GetConfiguredModelAlgorithmAssociationResponse getConfiguredModelAlgorithmAssociation(GetConfiguredModelAlgorithmAssociationRequest getConfiguredModelAlgorithmAssociationRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns information about a configured model algorithm association.
- Parameters:
getConfiguredModelAlgorithmAssociationRequest-- Returns:
- Result of the GetConfiguredModelAlgorithmAssociation operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getConfiguredModelAlgorithmAssociation
default GetConfiguredModelAlgorithmAssociationResponse getConfiguredModelAlgorithmAssociation(Consumer<GetConfiguredModelAlgorithmAssociationRequest.Builder> getConfiguredModelAlgorithmAssociationRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns information about a configured model algorithm association.
This is a convenience which creates an instance of the
GetConfiguredModelAlgorithmAssociationRequest.Builderavoiding the need to create one manually viaGetConfiguredModelAlgorithmAssociationRequest.builder()- Parameters:
getConfiguredModelAlgorithmAssociationRequest- AConsumerthat will call methods onGetConfiguredModelAlgorithmAssociationRequest.Builderto create a request.- Returns:
- Result of the GetConfiguredModelAlgorithmAssociation operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getMLConfiguration
default GetMlConfigurationResponse getMLConfiguration(GetMlConfigurationRequest getMlConfigurationRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns information about a specific ML configuration.
- Parameters:
getMlConfigurationRequest-- Returns:
- Result of the GetMLConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getMLConfiguration
default GetMlConfigurationResponse getMLConfiguration(Consumer<GetMlConfigurationRequest.Builder> getMlConfigurationRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns information about a specific ML configuration.
This is a convenience which creates an instance of the
GetMlConfigurationRequest.Builderavoiding the need to create one manually viaGetMlConfigurationRequest.builder()- Parameters:
getMlConfigurationRequest- AConsumerthat will call methods onGetMlConfigurationRequest.Builderto create a request.- Returns:
- Result of the GetMLConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getMLInputChannel
default GetMlInputChannelResponse getMLInputChannel(GetMlInputChannelRequest getMlInputChannelRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns information about an ML input channel.
- Parameters:
getMlInputChannelRequest-- Returns:
- Result of the GetMLInputChannel operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getMLInputChannel
default GetMlInputChannelResponse getMLInputChannel(Consumer<GetMlInputChannelRequest.Builder> getMlInputChannelRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns information about an ML input channel.
This is a convenience which creates an instance of the
GetMlInputChannelRequest.Builderavoiding the need to create one manually viaGetMlInputChannelRequest.builder()- Parameters:
getMlInputChannelRequest- AConsumerthat will call methods onGetMlInputChannelRequest.Builderto create a request.- Returns:
- Result of the GetMLInputChannel operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getTrainedModel
default GetTrainedModelResponse getTrainedModel(GetTrainedModelRequest getTrainedModelRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns information about a trained model.
- Parameters:
getTrainedModelRequest-- Returns:
- Result of the GetTrainedModel operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getTrainedModel
default GetTrainedModelResponse getTrainedModel(Consumer<GetTrainedModelRequest.Builder> getTrainedModelRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns information about a trained model.
This is a convenience which creates an instance of the
GetTrainedModelRequest.Builderavoiding the need to create one manually viaGetTrainedModelRequest.builder()- Parameters:
getTrainedModelRequest- AConsumerthat will call methods onGetTrainedModelRequest.Builderto create a request.- Returns:
- Result of the GetTrainedModel operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getTrainedModelInferenceJob
default GetTrainedModelInferenceJobResponse getTrainedModelInferenceJob(GetTrainedModelInferenceJobRequest getTrainedModelInferenceJobRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns information about a trained model inference job.
- Parameters:
getTrainedModelInferenceJobRequest-- Returns:
- Result of the GetTrainedModelInferenceJob operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getTrainedModelInferenceJob
default GetTrainedModelInferenceJobResponse getTrainedModelInferenceJob(Consumer<GetTrainedModelInferenceJobRequest.Builder> getTrainedModelInferenceJobRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns information about a trained model inference job.
This is a convenience which creates an instance of the
GetTrainedModelInferenceJobRequest.Builderavoiding the need to create one manually viaGetTrainedModelInferenceJobRequest.builder()- Parameters:
getTrainedModelInferenceJobRequest- AConsumerthat will call methods onGetTrainedModelInferenceJobRequest.Builderto create a request.- Returns:
- Result of the GetTrainedModelInferenceJob operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getTrainingDataset
default GetTrainingDatasetResponse getTrainingDataset(GetTrainingDatasetRequest getTrainingDatasetRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns information about a training dataset.
- Parameters:
getTrainingDatasetRequest-- Returns:
- Result of the GetTrainingDataset operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getTrainingDataset
default GetTrainingDatasetResponse getTrainingDataset(Consumer<GetTrainingDatasetRequest.Builder> getTrainingDatasetRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the GetTrainingDataset operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAudienceExportJobs
default ListAudienceExportJobsResponse listAudienceExportJobs(ListAudienceExportJobsRequest listAudienceExportJobsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of the audience export jobs.
- Parameters:
listAudienceExportJobsRequest-- Returns:
- Result of the ListAudienceExportJobs operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAudienceExportJobs
default ListAudienceExportJobsResponse listAudienceExportJobs(Consumer<ListAudienceExportJobsRequest.Builder> listAudienceExportJobsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the ListAudienceExportJobs operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAudienceExportJobsPaginator
default ListAudienceExportJobsIterable listAudienceExportJobsPaginator(ListAudienceExportJobsRequest listAudienceExportJobsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listAudienceExportJobs(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceExportJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceExportJobsIterable responses = client.listAudienceExportJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceExportJobsIterable responses = client .listAudienceExportJobsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListAudienceExportJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceExportJobsIterable responses = client.listAudienceExportJobsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAudienceExportJobs(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceExportJobsRequest)operation.- Parameters:
listAudienceExportJobsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAudienceExportJobsPaginator
default ListAudienceExportJobsIterable listAudienceExportJobsPaginator(Consumer<ListAudienceExportJobsRequest.Builder> listAudienceExportJobsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listAudienceExportJobs(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceExportJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceExportJobsIterable responses = client.listAudienceExportJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceExportJobsIterable responses = client .listAudienceExportJobsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListAudienceExportJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceExportJobsIterable responses = client.listAudienceExportJobsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAudienceGenerationJobs
default ListAudienceGenerationJobsResponse listAudienceGenerationJobs(ListAudienceGenerationJobsRequest listAudienceGenerationJobsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of audience generation jobs.
- Parameters:
listAudienceGenerationJobsRequest-- Returns:
- Result of the ListAudienceGenerationJobs operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAudienceGenerationJobs
default ListAudienceGenerationJobsResponse listAudienceGenerationJobs(Consumer<ListAudienceGenerationJobsRequest.Builder> listAudienceGenerationJobsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the ListAudienceGenerationJobs operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAudienceGenerationJobsPaginator
default ListAudienceGenerationJobsIterable listAudienceGenerationJobsPaginator(ListAudienceGenerationJobsRequest listAudienceGenerationJobsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listAudienceGenerationJobs(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceGenerationJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceGenerationJobsIterable responses = client.listAudienceGenerationJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceGenerationJobsIterable responses = client .listAudienceGenerationJobsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListAudienceGenerationJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceGenerationJobsIterable responses = client.listAudienceGenerationJobsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAudienceGenerationJobs(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceGenerationJobsRequest)operation.- Parameters:
listAudienceGenerationJobsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAudienceGenerationJobsPaginator
default ListAudienceGenerationJobsIterable listAudienceGenerationJobsPaginator(Consumer<ListAudienceGenerationJobsRequest.Builder> listAudienceGenerationJobsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listAudienceGenerationJobs(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceGenerationJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceGenerationJobsIterable responses = client.listAudienceGenerationJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceGenerationJobsIterable responses = client .listAudienceGenerationJobsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListAudienceGenerationJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceGenerationJobsIterable responses = client.listAudienceGenerationJobsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAudienceModels
default ListAudienceModelsResponse listAudienceModels(ListAudienceModelsRequest listAudienceModelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of audience models.
- Parameters:
listAudienceModelsRequest-- Returns:
- Result of the ListAudienceModels operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAudienceModels
default ListAudienceModelsResponse listAudienceModels(Consumer<ListAudienceModelsRequest.Builder> listAudienceModelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the ListAudienceModels operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAudienceModelsPaginator
default ListAudienceModelsIterable listAudienceModelsPaginator(ListAudienceModelsRequest listAudienceModelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listAudienceModels(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceModelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceModelsIterable responses = client.listAudienceModelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceModelsIterable responses = client .listAudienceModelsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListAudienceModelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceModelsIterable responses = client.listAudienceModelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAudienceModels(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceModelsRequest)operation.- Parameters:
listAudienceModelsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAudienceModelsPaginator
default ListAudienceModelsIterable listAudienceModelsPaginator(Consumer<ListAudienceModelsRequest.Builder> listAudienceModelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listAudienceModels(software.amazon.awssdk.services.cleanroomsml.model.ListAudienceModelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceModelsIterable responses = client.listAudienceModelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceModelsIterable responses = client .listAudienceModelsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListAudienceModelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListAudienceModelsIterable responses = client.listAudienceModelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCollaborationConfiguredModelAlgorithmAssociations
default ListCollaborationConfiguredModelAlgorithmAssociationsResponse listCollaborationConfiguredModelAlgorithmAssociations(ListCollaborationConfiguredModelAlgorithmAssociationsRequest listCollaborationConfiguredModelAlgorithmAssociationsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of the configured model algorithm associations in a collaboration.
- Parameters:
listCollaborationConfiguredModelAlgorithmAssociationsRequest-- Returns:
- Result of the ListCollaborationConfiguredModelAlgorithmAssociations operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCollaborationConfiguredModelAlgorithmAssociations
default ListCollaborationConfiguredModelAlgorithmAssociationsResponse listCollaborationConfiguredModelAlgorithmAssociations(Consumer<ListCollaborationConfiguredModelAlgorithmAssociationsRequest.Builder> listCollaborationConfiguredModelAlgorithmAssociationsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of the configured model algorithm associations in a collaboration.
This is a convenience which creates an instance of the
ListCollaborationConfiguredModelAlgorithmAssociationsRequest.Builderavoiding the need to create one manually viaListCollaborationConfiguredModelAlgorithmAssociationsRequest.builder()- Parameters:
listCollaborationConfiguredModelAlgorithmAssociationsRequest- AConsumerthat will call methods onListCollaborationConfiguredModelAlgorithmAssociationsRequest.Builderto create a request.- Returns:
- Result of the ListCollaborationConfiguredModelAlgorithmAssociations operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCollaborationConfiguredModelAlgorithmAssociationsPaginator
default ListCollaborationConfiguredModelAlgorithmAssociationsIterable listCollaborationConfiguredModelAlgorithmAssociationsPaginator(ListCollaborationConfiguredModelAlgorithmAssociationsRequest listCollaborationConfiguredModelAlgorithmAssociationsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listCollaborationConfiguredModelAlgorithmAssociations(software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationConfiguredModelAlgorithmAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationConfiguredModelAlgorithmAssociationsIterable responses = client.listCollaborationConfiguredModelAlgorithmAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationConfiguredModelAlgorithmAssociationsIterable responses = client .listCollaborationConfiguredModelAlgorithmAssociationsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationConfiguredModelAlgorithmAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationConfiguredModelAlgorithmAssociationsIterable responses = client.listCollaborationConfiguredModelAlgorithmAssociationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCollaborationConfiguredModelAlgorithmAssociations(software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationConfiguredModelAlgorithmAssociationsRequest)operation.- Parameters:
listCollaborationConfiguredModelAlgorithmAssociationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCollaborationConfiguredModelAlgorithmAssociationsPaginator
default ListCollaborationConfiguredModelAlgorithmAssociationsIterable listCollaborationConfiguredModelAlgorithmAssociationsPaginator(Consumer<ListCollaborationConfiguredModelAlgorithmAssociationsRequest.Builder> listCollaborationConfiguredModelAlgorithmAssociationsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listCollaborationConfiguredModelAlgorithmAssociations(software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationConfiguredModelAlgorithmAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationConfiguredModelAlgorithmAssociationsIterable responses = client.listCollaborationConfiguredModelAlgorithmAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationConfiguredModelAlgorithmAssociationsIterable responses = client .listCollaborationConfiguredModelAlgorithmAssociationsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationConfiguredModelAlgorithmAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationConfiguredModelAlgorithmAssociationsIterable responses = client.listCollaborationConfiguredModelAlgorithmAssociationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCollaborationConfiguredModelAlgorithmAssociations(software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationConfiguredModelAlgorithmAssociationsRequest)operation.
This is a convenience which creates an instance of the
ListCollaborationConfiguredModelAlgorithmAssociationsRequest.Builderavoiding the need to create one manually viaListCollaborationConfiguredModelAlgorithmAssociationsRequest.builder()- Parameters:
listCollaborationConfiguredModelAlgorithmAssociationsRequest- AConsumerthat will call methods onListCollaborationConfiguredModelAlgorithmAssociationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCollaborationMLInputChannels
default ListCollaborationMlInputChannelsResponse listCollaborationMLInputChannels(ListCollaborationMlInputChannelsRequest listCollaborationMlInputChannelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of the ML input channels in a collaboration.
- Parameters:
listCollaborationMlInputChannelsRequest-- Returns:
- Result of the ListCollaborationMLInputChannels operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCollaborationMLInputChannels
default ListCollaborationMlInputChannelsResponse listCollaborationMLInputChannels(Consumer<ListCollaborationMlInputChannelsRequest.Builder> listCollaborationMlInputChannelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of the ML input channels in a collaboration.
This is a convenience which creates an instance of the
ListCollaborationMlInputChannelsRequest.Builderavoiding the need to create one manually viaListCollaborationMlInputChannelsRequest.builder()- Parameters:
listCollaborationMlInputChannelsRequest- AConsumerthat will call methods onListCollaborationMlInputChannelsRequest.Builderto create a request.- Returns:
- Result of the ListCollaborationMLInputChannels operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCollaborationMLInputChannelsPaginator
default ListCollaborationMLInputChannelsIterable listCollaborationMLInputChannelsPaginator(ListCollaborationMlInputChannelsRequest listCollaborationMlInputChannelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listCollaborationMLInputChannels(software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationMlInputChannelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationMLInputChannelsIterable responses = client.listCollaborationMLInputChannelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationMLInputChannelsIterable responses = client .listCollaborationMLInputChannelsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationMlInputChannelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationMLInputChannelsIterable responses = client.listCollaborationMLInputChannelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCollaborationMLInputChannels(software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationMlInputChannelsRequest)operation.- Parameters:
listCollaborationMlInputChannelsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCollaborationMLInputChannelsPaginator
default ListCollaborationMLInputChannelsIterable listCollaborationMLInputChannelsPaginator(Consumer<ListCollaborationMlInputChannelsRequest.Builder> listCollaborationMlInputChannelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listCollaborationMLInputChannels(software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationMlInputChannelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationMLInputChannelsIterable responses = client.listCollaborationMLInputChannelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationMLInputChannelsIterable responses = client .listCollaborationMLInputChannelsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationMlInputChannelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationMLInputChannelsIterable responses = client.listCollaborationMLInputChannelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCollaborationMLInputChannels(software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationMlInputChannelsRequest)operation.
This is a convenience which creates an instance of the
ListCollaborationMlInputChannelsRequest.Builderavoiding the need to create one manually viaListCollaborationMlInputChannelsRequest.builder()- Parameters:
listCollaborationMlInputChannelsRequest- AConsumerthat will call methods onListCollaborationMlInputChannelsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCollaborationTrainedModelExportJobs
default ListCollaborationTrainedModelExportJobsResponse listCollaborationTrainedModelExportJobs(ListCollaborationTrainedModelExportJobsRequest listCollaborationTrainedModelExportJobsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of the export jobs for a trained model in a collaboration.
- Parameters:
listCollaborationTrainedModelExportJobsRequest-- Returns:
- Result of the ListCollaborationTrainedModelExportJobs operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCollaborationTrainedModelExportJobs
default ListCollaborationTrainedModelExportJobsResponse listCollaborationTrainedModelExportJobs(Consumer<ListCollaborationTrainedModelExportJobsRequest.Builder> listCollaborationTrainedModelExportJobsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of the export jobs for a trained model in a collaboration.
This is a convenience which creates an instance of the
ListCollaborationTrainedModelExportJobsRequest.Builderavoiding the need to create one manually viaListCollaborationTrainedModelExportJobsRequest.builder()- Parameters:
listCollaborationTrainedModelExportJobsRequest- AConsumerthat will call methods onListCollaborationTrainedModelExportJobsRequest.Builderto create a request.- Returns:
- Result of the ListCollaborationTrainedModelExportJobs operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCollaborationTrainedModelExportJobsPaginator
default ListCollaborationTrainedModelExportJobsIterable listCollaborationTrainedModelExportJobsPaginator(ListCollaborationTrainedModelExportJobsRequest listCollaborationTrainedModelExportJobsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listCollaborationTrainedModelExportJobs(software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationTrainedModelExportJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationTrainedModelExportJobsIterable responses = client.listCollaborationTrainedModelExportJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationTrainedModelExportJobsIterable responses = client .listCollaborationTrainedModelExportJobsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationTrainedModelExportJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationTrainedModelExportJobsIterable responses = client.listCollaborationTrainedModelExportJobsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCollaborationTrainedModelExportJobs(software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationTrainedModelExportJobsRequest)operation.- Parameters:
listCollaborationTrainedModelExportJobsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCollaborationTrainedModelExportJobsPaginator
default ListCollaborationTrainedModelExportJobsIterable listCollaborationTrainedModelExportJobsPaginator(Consumer<ListCollaborationTrainedModelExportJobsRequest.Builder> listCollaborationTrainedModelExportJobsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listCollaborationTrainedModelExportJobs(software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationTrainedModelExportJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationTrainedModelExportJobsIterable responses = client.listCollaborationTrainedModelExportJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationTrainedModelExportJobsIterable responses = client .listCollaborationTrainedModelExportJobsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationTrainedModelExportJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationTrainedModelExportJobsIterable responses = client.listCollaborationTrainedModelExportJobsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCollaborationTrainedModelExportJobs(software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationTrainedModelExportJobsRequest)operation.
This is a convenience which creates an instance of the
ListCollaborationTrainedModelExportJobsRequest.Builderavoiding the need to create one manually viaListCollaborationTrainedModelExportJobsRequest.builder()- Parameters:
listCollaborationTrainedModelExportJobsRequest- AConsumerthat will call methods onListCollaborationTrainedModelExportJobsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCollaborationTrainedModelInferenceJobs
default ListCollaborationTrainedModelInferenceJobsResponse listCollaborationTrainedModelInferenceJobs(ListCollaborationTrainedModelInferenceJobsRequest listCollaborationTrainedModelInferenceJobsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of trained model inference jobs in a specified collaboration.
- Parameters:
listCollaborationTrainedModelInferenceJobsRequest-- Returns:
- Result of the ListCollaborationTrainedModelInferenceJobs operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCollaborationTrainedModelInferenceJobs
default ListCollaborationTrainedModelInferenceJobsResponse listCollaborationTrainedModelInferenceJobs(Consumer<ListCollaborationTrainedModelInferenceJobsRequest.Builder> listCollaborationTrainedModelInferenceJobsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of trained model inference jobs in a specified collaboration.
This is a convenience which creates an instance of the
ListCollaborationTrainedModelInferenceJobsRequest.Builderavoiding the need to create one manually viaListCollaborationTrainedModelInferenceJobsRequest.builder()- Parameters:
listCollaborationTrainedModelInferenceJobsRequest- AConsumerthat will call methods onListCollaborationTrainedModelInferenceJobsRequest.Builderto create a request.- Returns:
- Result of the ListCollaborationTrainedModelInferenceJobs operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCollaborationTrainedModelInferenceJobsPaginator
default ListCollaborationTrainedModelInferenceJobsIterable listCollaborationTrainedModelInferenceJobsPaginator(ListCollaborationTrainedModelInferenceJobsRequest listCollaborationTrainedModelInferenceJobsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listCollaborationTrainedModelInferenceJobs(software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationTrainedModelInferenceJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationTrainedModelInferenceJobsIterable responses = client.listCollaborationTrainedModelInferenceJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationTrainedModelInferenceJobsIterable responses = client .listCollaborationTrainedModelInferenceJobsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationTrainedModelInferenceJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationTrainedModelInferenceJobsIterable responses = client.listCollaborationTrainedModelInferenceJobsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCollaborationTrainedModelInferenceJobs(software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationTrainedModelInferenceJobsRequest)operation.- Parameters:
listCollaborationTrainedModelInferenceJobsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCollaborationTrainedModelInferenceJobsPaginator
default ListCollaborationTrainedModelInferenceJobsIterable listCollaborationTrainedModelInferenceJobsPaginator(Consumer<ListCollaborationTrainedModelInferenceJobsRequest.Builder> listCollaborationTrainedModelInferenceJobsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listCollaborationTrainedModelInferenceJobs(software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationTrainedModelInferenceJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationTrainedModelInferenceJobsIterable responses = client.listCollaborationTrainedModelInferenceJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationTrainedModelInferenceJobsIterable responses = client .listCollaborationTrainedModelInferenceJobsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationTrainedModelInferenceJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationTrainedModelInferenceJobsIterable responses = client.listCollaborationTrainedModelInferenceJobsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCollaborationTrainedModelInferenceJobs(software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationTrainedModelInferenceJobsRequest)operation.
This is a convenience which creates an instance of the
ListCollaborationTrainedModelInferenceJobsRequest.Builderavoiding the need to create one manually viaListCollaborationTrainedModelInferenceJobsRequest.builder()- Parameters:
listCollaborationTrainedModelInferenceJobsRequest- AConsumerthat will call methods onListCollaborationTrainedModelInferenceJobsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCollaborationTrainedModels
default ListCollaborationTrainedModelsResponse listCollaborationTrainedModels(ListCollaborationTrainedModelsRequest listCollaborationTrainedModelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of the trained models in a collaboration.
- Parameters:
listCollaborationTrainedModelsRequest-- Returns:
- Result of the ListCollaborationTrainedModels operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCollaborationTrainedModels
default ListCollaborationTrainedModelsResponse listCollaborationTrainedModels(Consumer<ListCollaborationTrainedModelsRequest.Builder> listCollaborationTrainedModelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of the trained models in a collaboration.
This is a convenience which creates an instance of the
ListCollaborationTrainedModelsRequest.Builderavoiding the need to create one manually viaListCollaborationTrainedModelsRequest.builder()- Parameters:
listCollaborationTrainedModelsRequest- AConsumerthat will call methods onListCollaborationTrainedModelsRequest.Builderto create a request.- Returns:
- Result of the ListCollaborationTrainedModels operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCollaborationTrainedModelsPaginator
default ListCollaborationTrainedModelsIterable listCollaborationTrainedModelsPaginator(ListCollaborationTrainedModelsRequest listCollaborationTrainedModelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listCollaborationTrainedModels(software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationTrainedModelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationTrainedModelsIterable responses = client.listCollaborationTrainedModelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationTrainedModelsIterable responses = client .listCollaborationTrainedModelsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationTrainedModelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationTrainedModelsIterable responses = client.listCollaborationTrainedModelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCollaborationTrainedModels(software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationTrainedModelsRequest)operation.- Parameters:
listCollaborationTrainedModelsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCollaborationTrainedModelsPaginator
default ListCollaborationTrainedModelsIterable listCollaborationTrainedModelsPaginator(Consumer<ListCollaborationTrainedModelsRequest.Builder> listCollaborationTrainedModelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listCollaborationTrainedModels(software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationTrainedModelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationTrainedModelsIterable responses = client.listCollaborationTrainedModelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationTrainedModelsIterable responses = client .listCollaborationTrainedModelsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationTrainedModelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListCollaborationTrainedModelsIterable responses = client.listCollaborationTrainedModelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCollaborationTrainedModels(software.amazon.awssdk.services.cleanroomsml.model.ListCollaborationTrainedModelsRequest)operation.
This is a convenience which creates an instance of the
ListCollaborationTrainedModelsRequest.Builderavoiding the need to create one manually viaListCollaborationTrainedModelsRequest.builder()- Parameters:
listCollaborationTrainedModelsRequest- AConsumerthat will call methods onListCollaborationTrainedModelsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listConfiguredAudienceModels
default ListConfiguredAudienceModelsResponse listConfiguredAudienceModels(ListConfiguredAudienceModelsRequest listConfiguredAudienceModelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of the configured audience models.
- Parameters:
listConfiguredAudienceModelsRequest-- Returns:
- Result of the ListConfiguredAudienceModels operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listConfiguredAudienceModels
default ListConfiguredAudienceModelsResponse listConfiguredAudienceModels(Consumer<ListConfiguredAudienceModelsRequest.Builder> listConfiguredAudienceModelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the ListConfiguredAudienceModels operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listConfiguredAudienceModelsPaginator
default ListConfiguredAudienceModelsIterable listConfiguredAudienceModelsPaginator(ListConfiguredAudienceModelsRequest listConfiguredAudienceModelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listConfiguredAudienceModels(software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredAudienceModelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListConfiguredAudienceModelsIterable responses = client.listConfiguredAudienceModelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListConfiguredAudienceModelsIterable responses = client .listConfiguredAudienceModelsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredAudienceModelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListConfiguredAudienceModelsIterable responses = client.listConfiguredAudienceModelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConfiguredAudienceModels(software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredAudienceModelsRequest)operation.- Parameters:
listConfiguredAudienceModelsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listConfiguredAudienceModelsPaginator
default ListConfiguredAudienceModelsIterable listConfiguredAudienceModelsPaginator(Consumer<ListConfiguredAudienceModelsRequest.Builder> listConfiguredAudienceModelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listConfiguredAudienceModels(software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredAudienceModelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListConfiguredAudienceModelsIterable responses = client.listConfiguredAudienceModelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListConfiguredAudienceModelsIterable responses = client .listConfiguredAudienceModelsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredAudienceModelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListConfiguredAudienceModelsIterable responses = client.listConfiguredAudienceModelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listConfiguredModelAlgorithmAssociations
default ListConfiguredModelAlgorithmAssociationsResponse listConfiguredModelAlgorithmAssociations(ListConfiguredModelAlgorithmAssociationsRequest listConfiguredModelAlgorithmAssociationsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of configured model algorithm associations.
- Parameters:
listConfiguredModelAlgorithmAssociationsRequest-- Returns:
- Result of the ListConfiguredModelAlgorithmAssociations operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listConfiguredModelAlgorithmAssociations
default ListConfiguredModelAlgorithmAssociationsResponse listConfiguredModelAlgorithmAssociations(Consumer<ListConfiguredModelAlgorithmAssociationsRequest.Builder> listConfiguredModelAlgorithmAssociationsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of configured model algorithm associations.
This is a convenience which creates an instance of the
ListConfiguredModelAlgorithmAssociationsRequest.Builderavoiding the need to create one manually viaListConfiguredModelAlgorithmAssociationsRequest.builder()- Parameters:
listConfiguredModelAlgorithmAssociationsRequest- AConsumerthat will call methods onListConfiguredModelAlgorithmAssociationsRequest.Builderto create a request.- Returns:
- Result of the ListConfiguredModelAlgorithmAssociations operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listConfiguredModelAlgorithmAssociationsPaginator
default ListConfiguredModelAlgorithmAssociationsIterable listConfiguredModelAlgorithmAssociationsPaginator(ListConfiguredModelAlgorithmAssociationsRequest listConfiguredModelAlgorithmAssociationsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listConfiguredModelAlgorithmAssociations(software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredModelAlgorithmAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListConfiguredModelAlgorithmAssociationsIterable responses = client.listConfiguredModelAlgorithmAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListConfiguredModelAlgorithmAssociationsIterable responses = client .listConfiguredModelAlgorithmAssociationsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredModelAlgorithmAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListConfiguredModelAlgorithmAssociationsIterable responses = client.listConfiguredModelAlgorithmAssociationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConfiguredModelAlgorithmAssociations(software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredModelAlgorithmAssociationsRequest)operation.- Parameters:
listConfiguredModelAlgorithmAssociationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listConfiguredModelAlgorithmAssociationsPaginator
default ListConfiguredModelAlgorithmAssociationsIterable listConfiguredModelAlgorithmAssociationsPaginator(Consumer<ListConfiguredModelAlgorithmAssociationsRequest.Builder> listConfiguredModelAlgorithmAssociationsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listConfiguredModelAlgorithmAssociations(software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredModelAlgorithmAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListConfiguredModelAlgorithmAssociationsIterable responses = client.listConfiguredModelAlgorithmAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListConfiguredModelAlgorithmAssociationsIterable responses = client .listConfiguredModelAlgorithmAssociationsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredModelAlgorithmAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListConfiguredModelAlgorithmAssociationsIterable responses = client.listConfiguredModelAlgorithmAssociationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConfiguredModelAlgorithmAssociations(software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredModelAlgorithmAssociationsRequest)operation.
This is a convenience which creates an instance of the
ListConfiguredModelAlgorithmAssociationsRequest.Builderavoiding the need to create one manually viaListConfiguredModelAlgorithmAssociationsRequest.builder()- Parameters:
listConfiguredModelAlgorithmAssociationsRequest- AConsumerthat will call methods onListConfiguredModelAlgorithmAssociationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listConfiguredModelAlgorithms
default ListConfiguredModelAlgorithmsResponse listConfiguredModelAlgorithms(ListConfiguredModelAlgorithmsRequest listConfiguredModelAlgorithmsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of configured model algorithms.
- Parameters:
listConfiguredModelAlgorithmsRequest-- Returns:
- Result of the ListConfiguredModelAlgorithms operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listConfiguredModelAlgorithms
default ListConfiguredModelAlgorithmsResponse listConfiguredModelAlgorithms(Consumer<ListConfiguredModelAlgorithmsRequest.Builder> listConfiguredModelAlgorithmsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of configured model algorithms.
This is a convenience which creates an instance of the
ListConfiguredModelAlgorithmsRequest.Builderavoiding the need to create one manually viaListConfiguredModelAlgorithmsRequest.builder()- Parameters:
listConfiguredModelAlgorithmsRequest- AConsumerthat will call methods onListConfiguredModelAlgorithmsRequest.Builderto create a request.- Returns:
- Result of the ListConfiguredModelAlgorithms operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listConfiguredModelAlgorithmsPaginator
default ListConfiguredModelAlgorithmsIterable listConfiguredModelAlgorithmsPaginator(ListConfiguredModelAlgorithmsRequest listConfiguredModelAlgorithmsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listConfiguredModelAlgorithms(software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredModelAlgorithmsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListConfiguredModelAlgorithmsIterable responses = client.listConfiguredModelAlgorithmsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListConfiguredModelAlgorithmsIterable responses = client .listConfiguredModelAlgorithmsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredModelAlgorithmsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListConfiguredModelAlgorithmsIterable responses = client.listConfiguredModelAlgorithmsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConfiguredModelAlgorithms(software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredModelAlgorithmsRequest)operation.- Parameters:
listConfiguredModelAlgorithmsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listConfiguredModelAlgorithmsPaginator
default ListConfiguredModelAlgorithmsIterable listConfiguredModelAlgorithmsPaginator(Consumer<ListConfiguredModelAlgorithmsRequest.Builder> listConfiguredModelAlgorithmsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listConfiguredModelAlgorithms(software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredModelAlgorithmsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListConfiguredModelAlgorithmsIterable responses = client.listConfiguredModelAlgorithmsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListConfiguredModelAlgorithmsIterable responses = client .listConfiguredModelAlgorithmsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredModelAlgorithmsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListConfiguredModelAlgorithmsIterable responses = client.listConfiguredModelAlgorithmsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConfiguredModelAlgorithms(software.amazon.awssdk.services.cleanroomsml.model.ListConfiguredModelAlgorithmsRequest)operation.
This is a convenience which creates an instance of the
ListConfiguredModelAlgorithmsRequest.Builderavoiding the need to create one manually viaListConfiguredModelAlgorithmsRequest.builder()- Parameters:
listConfiguredModelAlgorithmsRequest- AConsumerthat will call methods onListConfiguredModelAlgorithmsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listMLInputChannels
default ListMlInputChannelsResponse listMLInputChannels(ListMlInputChannelsRequest listMlInputChannelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of ML input channels.
- Parameters:
listMlInputChannelsRequest-- Returns:
- Result of the ListMLInputChannels operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listMLInputChannels
default ListMlInputChannelsResponse listMLInputChannels(Consumer<ListMlInputChannelsRequest.Builder> listMlInputChannelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of ML input channels.
This is a convenience which creates an instance of the
ListMlInputChannelsRequest.Builderavoiding the need to create one manually viaListMlInputChannelsRequest.builder()- Parameters:
listMlInputChannelsRequest- AConsumerthat will call methods onListMlInputChannelsRequest.Builderto create a request.- Returns:
- Result of the ListMLInputChannels operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listMLInputChannelsPaginator
default ListMLInputChannelsIterable listMLInputChannelsPaginator(ListMlInputChannelsRequest listMlInputChannelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listMLInputChannels(software.amazon.awssdk.services.cleanroomsml.model.ListMlInputChannelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListMLInputChannelsIterable responses = client.listMLInputChannelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListMLInputChannelsIterable responses = client .listMLInputChannelsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListMlInputChannelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListMLInputChannelsIterable responses = client.listMLInputChannelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMLInputChannels(software.amazon.awssdk.services.cleanroomsml.model.ListMlInputChannelsRequest)operation.- Parameters:
listMlInputChannelsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listMLInputChannelsPaginator
default ListMLInputChannelsIterable listMLInputChannelsPaginator(Consumer<ListMlInputChannelsRequest.Builder> listMlInputChannelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listMLInputChannels(software.amazon.awssdk.services.cleanroomsml.model.ListMlInputChannelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListMLInputChannelsIterable responses = client.listMLInputChannelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListMLInputChannelsIterable responses = client .listMLInputChannelsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListMlInputChannelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListMLInputChannelsIterable responses = client.listMLInputChannelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMLInputChannels(software.amazon.awssdk.services.cleanroomsml.model.ListMlInputChannelsRequest)operation.
This is a convenience which creates an instance of the
ListMlInputChannelsRequest.Builderavoiding the need to create one manually viaListMlInputChannelsRequest.builder()- Parameters:
listMlInputChannelsRequest- AConsumerthat will call methods onListMlInputChannelsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of tags for a provided resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTrainedModelInferenceJobs
default ListTrainedModelInferenceJobsResponse listTrainedModelInferenceJobs(ListTrainedModelInferenceJobsRequest listTrainedModelInferenceJobsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of trained model inference jobs that match the request parameters.
- Parameters:
listTrainedModelInferenceJobsRequest-- Returns:
- Result of the ListTrainedModelInferenceJobs operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTrainedModelInferenceJobs
default ListTrainedModelInferenceJobsResponse listTrainedModelInferenceJobs(Consumer<ListTrainedModelInferenceJobsRequest.Builder> listTrainedModelInferenceJobsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of trained model inference jobs that match the request parameters.
This is a convenience which creates an instance of the
ListTrainedModelInferenceJobsRequest.Builderavoiding the need to create one manually viaListTrainedModelInferenceJobsRequest.builder()- Parameters:
listTrainedModelInferenceJobsRequest- AConsumerthat will call methods onListTrainedModelInferenceJobsRequest.Builderto create a request.- Returns:
- Result of the ListTrainedModelInferenceJobs operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTrainedModelInferenceJobsPaginator
default ListTrainedModelInferenceJobsIterable listTrainedModelInferenceJobsPaginator(ListTrainedModelInferenceJobsRequest listTrainedModelInferenceJobsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listTrainedModelInferenceJobs(software.amazon.awssdk.services.cleanroomsml.model.ListTrainedModelInferenceJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListTrainedModelInferenceJobsIterable responses = client.listTrainedModelInferenceJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListTrainedModelInferenceJobsIterable responses = client .listTrainedModelInferenceJobsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListTrainedModelInferenceJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListTrainedModelInferenceJobsIterable responses = client.listTrainedModelInferenceJobsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTrainedModelInferenceJobs(software.amazon.awssdk.services.cleanroomsml.model.ListTrainedModelInferenceJobsRequest)operation.- Parameters:
listTrainedModelInferenceJobsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTrainedModelInferenceJobsPaginator
default ListTrainedModelInferenceJobsIterable listTrainedModelInferenceJobsPaginator(Consumer<ListTrainedModelInferenceJobsRequest.Builder> listTrainedModelInferenceJobsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listTrainedModelInferenceJobs(software.amazon.awssdk.services.cleanroomsml.model.ListTrainedModelInferenceJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListTrainedModelInferenceJobsIterable responses = client.listTrainedModelInferenceJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListTrainedModelInferenceJobsIterable responses = client .listTrainedModelInferenceJobsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListTrainedModelInferenceJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListTrainedModelInferenceJobsIterable responses = client.listTrainedModelInferenceJobsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTrainedModelInferenceJobs(software.amazon.awssdk.services.cleanroomsml.model.ListTrainedModelInferenceJobsRequest)operation.
This is a convenience which creates an instance of the
ListTrainedModelInferenceJobsRequest.Builderavoiding the need to create one manually viaListTrainedModelInferenceJobsRequest.builder()- Parameters:
listTrainedModelInferenceJobsRequest- AConsumerthat will call methods onListTrainedModelInferenceJobsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTrainedModels
default ListTrainedModelsResponse listTrainedModels(ListTrainedModelsRequest listTrainedModelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of trained models.
- Parameters:
listTrainedModelsRequest-- Returns:
- Result of the ListTrainedModels operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTrainedModels
default ListTrainedModelsResponse listTrainedModels(Consumer<ListTrainedModelsRequest.Builder> listTrainedModelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of trained models.
This is a convenience which creates an instance of the
ListTrainedModelsRequest.Builderavoiding the need to create one manually viaListTrainedModelsRequest.builder()- Parameters:
listTrainedModelsRequest- AConsumerthat will call methods onListTrainedModelsRequest.Builderto create a request.- Returns:
- Result of the ListTrainedModels operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTrainedModelsPaginator
default ListTrainedModelsIterable listTrainedModelsPaginator(ListTrainedModelsRequest listTrainedModelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listTrainedModels(software.amazon.awssdk.services.cleanroomsml.model.ListTrainedModelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListTrainedModelsIterable responses = client.listTrainedModelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListTrainedModelsIterable responses = client .listTrainedModelsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListTrainedModelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListTrainedModelsIterable responses = client.listTrainedModelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTrainedModels(software.amazon.awssdk.services.cleanroomsml.model.ListTrainedModelsRequest)operation.- Parameters:
listTrainedModelsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTrainedModelsPaginator
default ListTrainedModelsIterable listTrainedModelsPaginator(Consumer<ListTrainedModelsRequest.Builder> listTrainedModelsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listTrainedModels(software.amazon.awssdk.services.cleanroomsml.model.ListTrainedModelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListTrainedModelsIterable responses = client.listTrainedModelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListTrainedModelsIterable responses = client .listTrainedModelsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListTrainedModelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListTrainedModelsIterable responses = client.listTrainedModelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTrainedModels(software.amazon.awssdk.services.cleanroomsml.model.ListTrainedModelsRequest)operation.
This is a convenience which creates an instance of the
ListTrainedModelsRequest.Builderavoiding the need to create one manually viaListTrainedModelsRequest.builder()- Parameters:
listTrainedModelsRequest- AConsumerthat will call methods onListTrainedModelsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTrainingDatasets
default ListTrainingDatasetsResponse listTrainingDatasets(ListTrainingDatasetsRequest listTrainingDatasetsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Returns a list of training datasets.
- Parameters:
listTrainingDatasetsRequest-- Returns:
- Result of the ListTrainingDatasets operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTrainingDatasets
default ListTrainingDatasetsResponse listTrainingDatasets(Consumer<ListTrainingDatasetsRequest.Builder> listTrainingDatasetsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the ListTrainingDatasets operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTrainingDatasetsPaginator
default ListTrainingDatasetsIterable listTrainingDatasetsPaginator(ListTrainingDatasetsRequest listTrainingDatasetsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listTrainingDatasets(software.amazon.awssdk.services.cleanroomsml.model.ListTrainingDatasetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListTrainingDatasetsIterable responses = client.listTrainingDatasetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListTrainingDatasetsIterable responses = client .listTrainingDatasetsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListTrainingDatasetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListTrainingDatasetsIterable responses = client.listTrainingDatasetsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTrainingDatasets(software.amazon.awssdk.services.cleanroomsml.model.ListTrainingDatasetsRequest)operation.- Parameters:
listTrainingDatasetsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTrainingDatasetsPaginator
default ListTrainingDatasetsIterable listTrainingDatasetsPaginator(Consumer<ListTrainingDatasetsRequest.Builder> listTrainingDatasetsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
This is a variant of
listTrainingDatasets(software.amazon.awssdk.services.cleanroomsml.model.ListTrainingDatasetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.cleanroomsml.paginators.ListTrainingDatasetsIterable responses = client.listTrainingDatasetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cleanroomsml.paginators.ListTrainingDatasetsIterable responses = client .listTrainingDatasetsPaginator(request); for (software.amazon.awssdk.services.cleanroomsml.model.ListTrainingDatasetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cleanroomsml.paginators.ListTrainingDatasetsIterable responses = client.listTrainingDatasetsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
putConfiguredAudienceModelPolicy
default PutConfiguredAudienceModelPolicyResponse putConfiguredAudienceModelPolicy(PutConfiguredAudienceModelPolicyRequest putConfiguredAudienceModelPolicyRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Create or update the resource policy for a configured audience model.
- Parameters:
putConfiguredAudienceModelPolicyRequest-- Returns:
- Result of the PutConfiguredAudienceModelPolicy operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
putConfiguredAudienceModelPolicy
default PutConfiguredAudienceModelPolicyResponse putConfiguredAudienceModelPolicy(Consumer<PutConfiguredAudienceModelPolicyRequest.Builder> putConfiguredAudienceModelPolicyRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the PutConfiguredAudienceModelPolicy operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
putMLConfiguration
default PutMlConfigurationResponse putMLConfiguration(PutMlConfigurationRequest putMlConfigurationRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Assigns information about an ML configuration.
- Parameters:
putMlConfigurationRequest-- Returns:
- Result of the PutMLConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
putMLConfiguration
default PutMlConfigurationResponse putMLConfiguration(Consumer<PutMlConfigurationRequest.Builder> putMlConfigurationRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, CleanRoomsMlException
Assigns information about an ML configuration.
This is a convenience which creates an instance of the
PutMlConfigurationRequest.Builderavoiding the need to create one manually viaPutMlConfigurationRequest.builder()- Parameters:
putMlConfigurationRequest- AConsumerthat will call methods onPutMlConfigurationRequest.Builderto create a request.- Returns:
- Result of the PutMLConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
startAudienceExportJob
default StartAudienceExportJobResponse startAudienceExportJob(StartAudienceExportJobRequest startAudienceExportJobRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, CleanRoomsMlException
Export an audience of a specified size after you have generated an audience.
- Parameters:
startAudienceExportJobRequest-- Returns:
- Result of the StartAudienceExportJob operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
startAudienceExportJob
default StartAudienceExportJobResponse startAudienceExportJob(Consumer<StartAudienceExportJobRequest.Builder> startAudienceExportJobRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the StartAudienceExportJob operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
startAudienceGenerationJob
default StartAudienceGenerationJobResponse startAudienceGenerationJob(StartAudienceGenerationJobRequest startAudienceGenerationJobRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, CleanRoomsMlException
Information necessary to start the audience generation job.
- Parameters:
startAudienceGenerationJobRequest-- Returns:
- Result of the StartAudienceGenerationJob operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
startAudienceGenerationJob
default StartAudienceGenerationJobResponse startAudienceGenerationJob(Consumer<StartAudienceGenerationJobRequest.Builder> startAudienceGenerationJobRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the StartAudienceGenerationJob operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
startTrainedModelExportJob
default StartTrainedModelExportJobResponse startTrainedModelExportJob(StartTrainedModelExportJobRequest startTrainedModelExportJobRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Provides the information necessary to start a trained model export job.
- Parameters:
startTrainedModelExportJobRequest-- Returns:
- Result of the StartTrainedModelExportJob operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
startTrainedModelExportJob
default StartTrainedModelExportJobResponse startTrainedModelExportJob(Consumer<StartTrainedModelExportJobRequest.Builder> startTrainedModelExportJobRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Provides the information necessary to start a trained model export job.
This is a convenience which creates an instance of the
StartTrainedModelExportJobRequest.Builderavoiding the need to create one manually viaStartTrainedModelExportJobRequest.builder()- Parameters:
startTrainedModelExportJobRequest- AConsumerthat will call methods onStartTrainedModelExportJobRequest.Builderto create a request.- Returns:
- Result of the StartTrainedModelExportJob operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
startTrainedModelInferenceJob
default StartTrainedModelInferenceJobResponse startTrainedModelInferenceJob(StartTrainedModelInferenceJobRequest startTrainedModelInferenceJobRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, CleanRoomsMlException
Defines the information necessary to begin a trained model inference job.
- Parameters:
startTrainedModelInferenceJobRequest-- Returns:
- Result of the StartTrainedModelInferenceJob operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
startTrainedModelInferenceJob
default StartTrainedModelInferenceJobResponse startTrainedModelInferenceJob(Consumer<StartTrainedModelInferenceJobRequest.Builder> startTrainedModelInferenceJobRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, CleanRoomsMlException
Defines the information necessary to begin a trained model inference job.
This is a convenience which creates an instance of the
StartTrainedModelInferenceJobRequest.Builderavoiding the need to create one manually viaStartTrainedModelInferenceJobRequest.builder()- Parameters:
startTrainedModelInferenceJobRequest- AConsumerthat will call methods onStartTrainedModelInferenceJobRequest.Builderto create a request.- Returns:
- Result of the StartTrainedModelInferenceJob operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Adds metadata tags to a specified resource.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
Removes metadata tags from a specified resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateConfiguredAudienceModel
default UpdateConfiguredAudienceModelResponse updateConfiguredAudienceModel(UpdateConfiguredAudienceModelRequest updateConfiguredAudienceModelRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the UpdateConfiguredAudienceModel operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
updateConfiguredAudienceModel
default UpdateConfiguredAudienceModelResponse updateConfiguredAudienceModel(Consumer<UpdateConfiguredAudienceModelRequest.Builder> updateConfiguredAudienceModelRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, CleanRoomsMlException
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:
- Result of the UpdateConfiguredAudienceModel operation returned by the service.
- Throws:
ConflictException- You can't complete this action because another resource depends on this resource.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.AwsServiceException- See Also:
- AWS API Documentation
-
create
static CleanRoomsMlClient create()
Create aCleanRoomsMlClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static CleanRoomsMlClientBuilder builder()
Create a builder that can be used to configure and create aCleanRoomsMlClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default CleanRoomsMlServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-