Class: AWS.CleanRoomsML
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.CleanRoomsML
- Identifier:
- cleanroomsml
- API Version:
- 2023-09-06
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
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.
Sending a Request Using CleanRoomsML
var cleanroomsml = new AWS.CleanRoomsML();
cleanroomsml.createAudienceModel(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the CleanRoomsML object uses this specific API, you can
construct the object by passing the apiVersion option to the constructor:
var cleanroomsml = new AWS.CleanRoomsML({apiVersion: '2023-09-06'});
You can also set the API version globally in AWS.config.apiVersions using
the cleanroomsml service identifier:
AWS.config.apiVersions = {
cleanroomsml: '2023-09-06',
// other service API versions
};
var cleanroomsml = new AWS.CleanRoomsML();
Constructor Summary collapse
-
new AWS.CleanRoomsML(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
createAudienceModel(params = {}, callback) ⇒ AWS.Request
Defines the information necessary to create an audience model.
-
createConfiguredAudienceModel(params = {}, callback) ⇒ AWS.Request
Defines the information necessary to create a configured audience model.
.
-
createTrainingDataset(params = {}, callback) ⇒ AWS.Request
Defines the information necessary to create a training dataset.
-
deleteAudienceGenerationJob(params = {}, callback) ⇒ AWS.Request
Deletes the specified audience generation job, and removes all data associated with the job.
.
-
deleteAudienceModel(params = {}, callback) ⇒ AWS.Request
Specifies an audience model that you want to delete.
-
deleteConfiguredAudienceModel(params = {}, callback) ⇒ AWS.Request
Deletes the specified configured audience model.
-
deleteConfiguredAudienceModelPolicy(params = {}, callback) ⇒ AWS.Request
Deletes the specified configured audience model policy.
.
-
deleteTrainingDataset(params = {}, callback) ⇒ AWS.Request
Specifies a training dataset that you want to delete.
-
getAudienceGenerationJob(params = {}, callback) ⇒ AWS.Request
Returns information about an audience generation job.
.
-
getAudienceModel(params = {}, callback) ⇒ AWS.Request
Returns information about an audience model
.
-
getConfiguredAudienceModel(params = {}, callback) ⇒ AWS.Request
Returns information about a specified configured audience model.
.
-
getConfiguredAudienceModelPolicy(params = {}, callback) ⇒ AWS.Request
Returns information about a configured audience model policy.
.
-
getTrainingDataset(params = {}, callback) ⇒ AWS.Request
Returns information about a training dataset.
.
-
listAudienceExportJobs(params = {}, callback) ⇒ AWS.Request
Returns a list of the audience export jobs.
.
-
listAudienceGenerationJobs(params = {}, callback) ⇒ AWS.Request
Returns a list of audience generation jobs.
.
-
listAudienceModels(params = {}, callback) ⇒ AWS.Request
Returns a list of audience models.
.
-
listConfiguredAudienceModels(params = {}, callback) ⇒ AWS.Request
Returns a list of the configured audience models.
.
-
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Returns a list of tags for a provided resource.
.
-
listTrainingDatasets(params = {}, callback) ⇒ AWS.Request
Returns a list of training datasets.
.
-
putConfiguredAudienceModelPolicy(params = {}, callback) ⇒ AWS.Request
Create or update the resource policy for a configured audience model.
.
-
startAudienceExportJob(params = {}, callback) ⇒ AWS.Request
Export an audience of a specified size after you have generated an audience.
.
-
startAudienceGenerationJob(params = {}, callback) ⇒ AWS.Request
Information necessary to start the audience generation job.
.
-
tagResource(params = {}, callback) ⇒ AWS.Request
Adds metadata tags to a specified resource.
.
-
untagResource(params = {}, callback) ⇒ AWS.Request
Removes metadata tags from a specified resource.
.
-
updateConfiguredAudienceModel(params = {}, callback) ⇒ AWS.Request
Provides the information necessary to update a configured audience model.
-
waitFor(state, params = {}, callback) ⇒ AWS.Request
Waits for a given CleanRoomsML resource.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, setupRequestListeners, defineService
Constructor Details
new AWS.CleanRoomsML(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Property Details
Method Details
createAudienceModel(params = {}, callback) ⇒ AWS.Request
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.