@aws-sdk/client-cleanroomsml 3.462.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +405 -0
- package/dist-cjs/CleanRoomsML.js +61 -0
- package/dist-cjs/CleanRoomsMLClient.js +43 -0
- package/dist-cjs/commands/CreateAudienceModelCommand.js +51 -0
- package/dist-cjs/commands/CreateConfiguredAudienceModelCommand.js +51 -0
- package/dist-cjs/commands/CreateTrainingDatasetCommand.js +51 -0
- package/dist-cjs/commands/DeleteAudienceGenerationJobCommand.js +51 -0
- package/dist-cjs/commands/DeleteAudienceModelCommand.js +51 -0
- package/dist-cjs/commands/DeleteConfiguredAudienceModelCommand.js +51 -0
- package/dist-cjs/commands/DeleteConfiguredAudienceModelPolicyCommand.js +51 -0
- package/dist-cjs/commands/DeleteTrainingDatasetCommand.js +51 -0
- package/dist-cjs/commands/GetAudienceGenerationJobCommand.js +51 -0
- package/dist-cjs/commands/GetAudienceModelCommand.js +51 -0
- package/dist-cjs/commands/GetConfiguredAudienceModelCommand.js +51 -0
- package/dist-cjs/commands/GetConfiguredAudienceModelPolicyCommand.js +51 -0
- package/dist-cjs/commands/GetTrainingDatasetCommand.js +51 -0
- package/dist-cjs/commands/ListAudienceExportJobsCommand.js +51 -0
- package/dist-cjs/commands/ListAudienceGenerationJobsCommand.js +51 -0
- package/dist-cjs/commands/ListAudienceModelsCommand.js +51 -0
- package/dist-cjs/commands/ListConfiguredAudienceModelsCommand.js +51 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +51 -0
- package/dist-cjs/commands/ListTrainingDatasetsCommand.js +51 -0
- package/dist-cjs/commands/PutConfiguredAudienceModelPolicyCommand.js +51 -0
- package/dist-cjs/commands/StartAudienceExportJobCommand.js +51 -0
- package/dist-cjs/commands/StartAudienceGenerationJobCommand.js +51 -0
- package/dist-cjs/commands/TagResourceCommand.js +51 -0
- package/dist-cjs/commands/UntagResourceCommand.js +51 -0
- package/dist-cjs/commands/UpdateConfiguredAudienceModelCommand.js +51 -0
- package/dist-cjs/commands/index.js +28 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/CleanRoomsMLServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +131 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAudienceExportJobsPaginator.js +29 -0
- package/dist-cjs/pagination/ListAudienceGenerationJobsPaginator.js +29 -0
- package/dist-cjs/pagination/ListAudienceModelsPaginator.js +29 -0
- package/dist-cjs/pagination/ListConfiguredAudienceModelsPaginator.js +29 -0
- package/dist-cjs/pagination/ListTrainingDatasetsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1835 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +24 -0
- package/dist-cjs/runtimeExtensions.js +22 -0
- package/dist-es/CleanRoomsML.js +57 -0
- package/dist-es/CleanRoomsMLClient.js +39 -0
- package/dist-es/commands/CreateAudienceModelCommand.js +47 -0
- package/dist-es/commands/CreateConfiguredAudienceModelCommand.js +47 -0
- package/dist-es/commands/CreateTrainingDatasetCommand.js +47 -0
- package/dist-es/commands/DeleteAudienceGenerationJobCommand.js +47 -0
- package/dist-es/commands/DeleteAudienceModelCommand.js +47 -0
- package/dist-es/commands/DeleteConfiguredAudienceModelCommand.js +47 -0
- package/dist-es/commands/DeleteConfiguredAudienceModelPolicyCommand.js +47 -0
- package/dist-es/commands/DeleteTrainingDatasetCommand.js +47 -0
- package/dist-es/commands/GetAudienceGenerationJobCommand.js +47 -0
- package/dist-es/commands/GetAudienceModelCommand.js +47 -0
- package/dist-es/commands/GetConfiguredAudienceModelCommand.js +47 -0
- package/dist-es/commands/GetConfiguredAudienceModelPolicyCommand.js +47 -0
- package/dist-es/commands/GetTrainingDatasetCommand.js +47 -0
- package/dist-es/commands/ListAudienceExportJobsCommand.js +47 -0
- package/dist-es/commands/ListAudienceGenerationJobsCommand.js +47 -0
- package/dist-es/commands/ListAudienceModelsCommand.js +47 -0
- package/dist-es/commands/ListConfiguredAudienceModelsCommand.js +47 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +47 -0
- package/dist-es/commands/ListTrainingDatasetsCommand.js +47 -0
- package/dist-es/commands/PutConfiguredAudienceModelPolicyCommand.js +47 -0
- package/dist-es/commands/StartAudienceExportJobCommand.js +47 -0
- package/dist-es/commands/StartAudienceGenerationJobCommand.js +47 -0
- package/dist-es/commands/TagResourceCommand.js +47 -0
- package/dist-es/commands/UntagResourceCommand.js +47 -0
- package/dist-es/commands/UpdateConfiguredAudienceModelCommand.js +47 -0
- package/dist-es/commands/index.js +25 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/CleanRoomsMLServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +123 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAudienceExportJobsPaginator.js +25 -0
- package/dist-es/pagination/ListAudienceGenerationJobsPaginator.js +25 -0
- package/dist-es/pagination/ListAudienceModelsPaginator.js +25 -0
- package/dist-es/pagination/ListConfiguredAudienceModelsPaginator.js +25 -0
- package/dist-es/pagination/ListTrainingDatasetsPaginator.js +25 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +1782 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +20 -0
- package/dist-es/runtimeExtensions.js +18 -0
- package/dist-types/CleanRoomsML.d.ts +185 -0
- package/dist-types/CleanRoomsMLClient.d.ts +194 -0
- package/dist-types/commands/CreateAudienceModelCommand.d.ts +96 -0
- package/dist-types/commands/CreateConfiguredAudienceModelCommand.d.ts +112 -0
- package/dist-types/commands/CreateTrainingDatasetCommand.d.ts +109 -0
- package/dist-types/commands/DeleteAudienceGenerationJobCommand.d.ts +83 -0
- package/dist-types/commands/DeleteAudienceModelCommand.d.ts +83 -0
- package/dist-types/commands/DeleteConfiguredAudienceModelCommand.d.ts +83 -0
- package/dist-types/commands/DeleteConfiguredAudienceModelPolicyCommand.d.ts +80 -0
- package/dist-types/commands/DeleteTrainingDatasetCommand.d.ts +83 -0
- package/dist-types/commands/GetAudienceGenerationJobCommand.d.ts +115 -0
- package/dist-types/commands/GetAudienceModelCommand.d.ts +105 -0
- package/dist-types/commands/GetConfiguredAudienceModelCommand.d.ts +110 -0
- package/dist-types/commands/GetConfiguredAudienceModelPolicyCommand.d.ts +84 -0
- package/dist-types/commands/GetTrainingDatasetCommand.d.ts +113 -0
- package/dist-types/commands/ListAudienceExportJobsCommand.d.ts +100 -0
- package/dist-types/commands/ListAudienceGenerationJobsCommand.d.ts +95 -0
- package/dist-types/commands/ListAudienceModelsCommand.d.ts +91 -0
- package/dist-types/commands/ListConfiguredAudienceModelsCommand.d.ts +99 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +84 -0
- package/dist-types/commands/ListTrainingDatasetsCommand.d.ts +90 -0
- package/dist-types/commands/PutConfiguredAudienceModelPolicyCommand.d.ts +86 -0
- package/dist-types/commands/StartAudienceExportJobCommand.d.ts +92 -0
- package/dist-types/commands/StartAudienceGenerationJobCommand.d.ts +101 -0
- package/dist-types/commands/TagResourceCommand.d.ts +83 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +83 -0
- package/dist-types/commands/UpdateConfiguredAudienceModelCommand.d.ts +105 -0
- package/dist-types/commands/index.d.ts +25 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +15 -0
- package/dist-types/models/CleanRoomsMLServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1729 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAudienceExportJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAudienceGenerationJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAudienceModelsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConfiguredAudienceModelsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTrainingDatasetsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +227 -0
- package/dist-types/runtimeConfig.browser.d.ts +46 -0
- package/dist-types/runtimeConfig.d.ts +46 -0
- package/dist-types/runtimeConfig.native.d.ts +45 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/CleanRoomsML.d.ts +438 -0
- package/dist-types/ts3.4/CleanRoomsMLClient.d.ts +269 -0
- package/dist-types/ts3.4/commands/CreateAudienceModelCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateConfiguredAudienceModelCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateTrainingDatasetCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteAudienceGenerationJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteAudienceModelCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteConfiguredAudienceModelCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteConfiguredAudienceModelPolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteTrainingDatasetCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetAudienceGenerationJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetAudienceModelCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetConfiguredAudienceModelCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetConfiguredAudienceModelPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetTrainingDatasetCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListAudienceExportJobsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAudienceGenerationJobsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAudienceModelsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListConfiguredAudienceModelsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTrainingDatasetsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutConfiguredAudienceModelPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartAudienceExportJobCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/StartAudienceGenerationJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateConfiguredAudienceModelCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +25 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/CleanRoomsMLServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +453 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAudienceExportJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAudienceGenerationJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAudienceModelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConfiguredAudienceModelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTrainingDatasetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +305 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +102 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient";
|
|
5
|
+
import { ListAudienceGenerationJobsRequest, ListAudienceGenerationJobsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAudienceGenerationJobsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAudienceGenerationJobsCommandInput extends ListAudienceGenerationJobsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAudienceGenerationJobsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAudienceGenerationJobsCommandOutput extends ListAudienceGenerationJobsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns a list of audience generation jobs.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CleanRoomsMLClient, ListAudienceGenerationJobsCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import
|
|
31
|
+
* // const { CleanRoomsMLClient, ListAudienceGenerationJobsCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import
|
|
32
|
+
* const client = new CleanRoomsMLClient(config);
|
|
33
|
+
* const input = { // ListAudienceGenerationJobsRequest
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* configuredAudienceModelArn: "STRING_VALUE",
|
|
37
|
+
* collaborationId: "STRING_VALUE",
|
|
38
|
+
* };
|
|
39
|
+
* const command = new ListAudienceGenerationJobsCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // ListAudienceGenerationJobsResponse
|
|
42
|
+
* // nextToken: "STRING_VALUE",
|
|
43
|
+
* // audienceGenerationJobs: [ // AudienceGenerationJobList // required
|
|
44
|
+
* // { // AudienceGenerationJobSummary
|
|
45
|
+
* // createTime: new Date("TIMESTAMP"), // required
|
|
46
|
+
* // updateTime: new Date("TIMESTAMP"), // required
|
|
47
|
+
* // audienceGenerationJobArn: "STRING_VALUE", // required
|
|
48
|
+
* // name: "STRING_VALUE", // required
|
|
49
|
+
* // description: "STRING_VALUE",
|
|
50
|
+
* // status: "CREATE_PENDING" || "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "ACTIVE" || "DELETE_PENDING" || "DELETE_IN_PROGRESS" || "DELETE_FAILED", // required
|
|
51
|
+
* // configuredAudienceModelArn: "STRING_VALUE", // required
|
|
52
|
+
* // collaborationId: "STRING_VALUE",
|
|
53
|
+
* // startedBy: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param ListAudienceGenerationJobsCommandInput - {@link ListAudienceGenerationJobsCommandInput}
|
|
61
|
+
* @returns {@link ListAudienceGenerationJobsCommandOutput}
|
|
62
|
+
* @see {@link ListAudienceGenerationJobsCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link ListAudienceGenerationJobsCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
* <p>The request parameters for this request are incorrect.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link CleanRoomsMLServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p>
|
|
74
|
+
*
|
|
75
|
+
*/
|
|
76
|
+
export declare class ListAudienceGenerationJobsCommand extends $Command<ListAudienceGenerationJobsCommandInput, ListAudienceGenerationJobsCommandOutput, CleanRoomsMLClientResolvedConfig> {
|
|
77
|
+
readonly input: ListAudienceGenerationJobsCommandInput;
|
|
78
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
constructor(input: ListAudienceGenerationJobsCommandInput);
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CleanRoomsMLClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAudienceGenerationJobsCommandInput, ListAudienceGenerationJobsCommandOutput>;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
private serialize;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
private deserialize;
|
|
95
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient";
|
|
5
|
+
import { ListAudienceModelsRequest, ListAudienceModelsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAudienceModelsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAudienceModelsCommandInput extends ListAudienceModelsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAudienceModelsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAudienceModelsCommandOutput extends ListAudienceModelsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns a list of audience models.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CleanRoomsMLClient, ListAudienceModelsCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import
|
|
31
|
+
* // const { CleanRoomsMLClient, ListAudienceModelsCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import
|
|
32
|
+
* const client = new CleanRoomsMLClient(config);
|
|
33
|
+
* const input = { // ListAudienceModelsRequest
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* };
|
|
37
|
+
* const command = new ListAudienceModelsCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // ListAudienceModelsResponse
|
|
40
|
+
* // nextToken: "STRING_VALUE",
|
|
41
|
+
* // audienceModels: [ // AudienceModelList // required
|
|
42
|
+
* // { // AudienceModelSummary
|
|
43
|
+
* // createTime: new Date("TIMESTAMP"), // required
|
|
44
|
+
* // updateTime: new Date("TIMESTAMP"), // required
|
|
45
|
+
* // audienceModelArn: "STRING_VALUE", // required
|
|
46
|
+
* // name: "STRING_VALUE", // required
|
|
47
|
+
* // trainingDatasetArn: "STRING_VALUE", // required
|
|
48
|
+
* // status: "CREATE_PENDING" || "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "ACTIVE" || "DELETE_PENDING" || "DELETE_IN_PROGRESS" || "DELETE_FAILED", // required
|
|
49
|
+
* // description: "STRING_VALUE",
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param ListAudienceModelsCommandInput - {@link ListAudienceModelsCommandInput}
|
|
57
|
+
* @returns {@link ListAudienceModelsCommandOutput}
|
|
58
|
+
* @see {@link ListAudienceModelsCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link ListAudienceModelsCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ValidationException} (client fault)
|
|
66
|
+
* <p>The request parameters for this request are incorrect.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link CleanRoomsMLServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p>
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
export declare class ListAudienceModelsCommand extends $Command<ListAudienceModelsCommandInput, ListAudienceModelsCommandOutput, CleanRoomsMLClientResolvedConfig> {
|
|
73
|
+
readonly input: ListAudienceModelsCommandInput;
|
|
74
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
constructor(input: ListAudienceModelsCommandInput);
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CleanRoomsMLClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAudienceModelsCommandInput, ListAudienceModelsCommandOutput>;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
private serialize;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
private deserialize;
|
|
91
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient";
|
|
5
|
+
import { ListConfiguredAudienceModelsRequest, ListConfiguredAudienceModelsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListConfiguredAudienceModelsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListConfiguredAudienceModelsCommandInput extends ListConfiguredAudienceModelsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListConfiguredAudienceModelsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListConfiguredAudienceModelsCommandOutput extends ListConfiguredAudienceModelsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns a list of the configured audience models.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CleanRoomsMLClient, ListConfiguredAudienceModelsCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import
|
|
31
|
+
* // const { CleanRoomsMLClient, ListConfiguredAudienceModelsCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import
|
|
32
|
+
* const client = new CleanRoomsMLClient(config);
|
|
33
|
+
* const input = { // ListConfiguredAudienceModelsRequest
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* };
|
|
37
|
+
* const command = new ListConfiguredAudienceModelsCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // ListConfiguredAudienceModelsResponse
|
|
40
|
+
* // nextToken: "STRING_VALUE",
|
|
41
|
+
* // configuredAudienceModels: [ // ConfiguredAudienceModelList // required
|
|
42
|
+
* // { // ConfiguredAudienceModelSummary
|
|
43
|
+
* // createTime: new Date("TIMESTAMP"), // required
|
|
44
|
+
* // updateTime: new Date("TIMESTAMP"), // required
|
|
45
|
+
* // name: "STRING_VALUE", // required
|
|
46
|
+
* // audienceModelArn: "STRING_VALUE", // required
|
|
47
|
+
* // outputConfig: { // ConfiguredAudienceModelOutputConfig
|
|
48
|
+
* // destination: { // AudienceDestination
|
|
49
|
+
* // s3Destination: { // S3ConfigMap
|
|
50
|
+
* // s3Uri: "STRING_VALUE", // required
|
|
51
|
+
* // },
|
|
52
|
+
* // },
|
|
53
|
+
* // roleArn: "STRING_VALUE", // required
|
|
54
|
+
* // },
|
|
55
|
+
* // description: "STRING_VALUE",
|
|
56
|
+
* // configuredAudienceModelArn: "STRING_VALUE", // required
|
|
57
|
+
* // status: "ACTIVE", // required
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param ListConfiguredAudienceModelsCommandInput - {@link ListConfiguredAudienceModelsCommandInput}
|
|
65
|
+
* @returns {@link ListConfiguredAudienceModelsCommandOutput}
|
|
66
|
+
* @see {@link ListConfiguredAudienceModelsCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link ListConfiguredAudienceModelsCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>The request parameters for this request are incorrect.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link CleanRoomsMLServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p>
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
export declare class ListConfiguredAudienceModelsCommand extends $Command<ListConfiguredAudienceModelsCommandInput, ListConfiguredAudienceModelsCommandOutput, CleanRoomsMLClientResolvedConfig> {
|
|
81
|
+
readonly input: ListConfiguredAudienceModelsCommandInput;
|
|
82
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
constructor(input: ListConfiguredAudienceModelsCommandInput);
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CleanRoomsMLClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListConfiguredAudienceModelsCommandInput, ListConfiguredAudienceModelsCommandOutput>;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
private serialize;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
private deserialize;
|
|
99
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient";
|
|
5
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListTagsForResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTagsForResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns a list of tags for a provided resource.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CleanRoomsMLClient, ListTagsForResourceCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import
|
|
31
|
+
* // const { CleanRoomsMLClient, ListTagsForResourceCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import
|
|
32
|
+
* const client = new CleanRoomsMLClient(config);
|
|
33
|
+
* const input = { // ListTagsForResourceRequest
|
|
34
|
+
* resourceArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // { // ListTagsForResourceResponse
|
|
39
|
+
* // tags: { // TagMap // required
|
|
40
|
+
* // "<keys>": "STRING_VALUE",
|
|
41
|
+
* // },
|
|
42
|
+
* // };
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
47
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
48
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
56
|
+
* <p>The resource you are requesting does not exist.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ValidationException} (client fault)
|
|
59
|
+
* <p>The request parameters for this request are incorrect.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link CleanRoomsMLServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p>
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CleanRoomsMLClientResolvedConfig> {
|
|
66
|
+
readonly input: ListTagsForResourceCommandInput;
|
|
67
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
constructor(input: ListTagsForResourceCommandInput);
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CleanRoomsMLClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
private serialize;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
private deserialize;
|
|
84
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient";
|
|
5
|
+
import { ListTrainingDatasetsRequest, ListTrainingDatasetsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListTrainingDatasetsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTrainingDatasetsCommandInput extends ListTrainingDatasetsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTrainingDatasetsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTrainingDatasetsCommandOutput extends ListTrainingDatasetsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns a list of training datasets.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CleanRoomsMLClient, ListTrainingDatasetsCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import
|
|
31
|
+
* // const { CleanRoomsMLClient, ListTrainingDatasetsCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import
|
|
32
|
+
* const client = new CleanRoomsMLClient(config);
|
|
33
|
+
* const input = { // ListTrainingDatasetsRequest
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* };
|
|
37
|
+
* const command = new ListTrainingDatasetsCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // ListTrainingDatasetsResponse
|
|
40
|
+
* // nextToken: "STRING_VALUE",
|
|
41
|
+
* // trainingDatasets: [ // TrainingDatasetList // required
|
|
42
|
+
* // { // TrainingDatasetSummary
|
|
43
|
+
* // createTime: new Date("TIMESTAMP"), // required
|
|
44
|
+
* // updateTime: new Date("TIMESTAMP"), // required
|
|
45
|
+
* // trainingDatasetArn: "STRING_VALUE", // required
|
|
46
|
+
* // name: "STRING_VALUE", // required
|
|
47
|
+
* // status: "ACTIVE", // required
|
|
48
|
+
* // description: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param ListTrainingDatasetsCommandInput - {@link ListTrainingDatasetsCommandInput}
|
|
56
|
+
* @returns {@link ListTrainingDatasetsCommandOutput}
|
|
57
|
+
* @see {@link ListTrainingDatasetsCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link ListTrainingDatasetsCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
62
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ValidationException} (client fault)
|
|
65
|
+
* <p>The request parameters for this request are incorrect.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link CleanRoomsMLServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p>
|
|
69
|
+
*
|
|
70
|
+
*/
|
|
71
|
+
export declare class ListTrainingDatasetsCommand extends $Command<ListTrainingDatasetsCommandInput, ListTrainingDatasetsCommandOutput, CleanRoomsMLClientResolvedConfig> {
|
|
72
|
+
readonly input: ListTrainingDatasetsCommandInput;
|
|
73
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
constructor(input: ListTrainingDatasetsCommandInput);
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CleanRoomsMLClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTrainingDatasetsCommandInput, ListTrainingDatasetsCommandOutput>;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
private serialize;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
private deserialize;
|
|
90
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient";
|
|
5
|
+
import { PutConfiguredAudienceModelPolicyRequest, PutConfiguredAudienceModelPolicyResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutConfiguredAudienceModelPolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutConfiguredAudienceModelPolicyCommandInput extends PutConfiguredAudienceModelPolicyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutConfiguredAudienceModelPolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutConfiguredAudienceModelPolicyCommandOutput extends PutConfiguredAudienceModelPolicyResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Create or update the resource policy for a configured audience model.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CleanRoomsMLClient, PutConfiguredAudienceModelPolicyCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import
|
|
31
|
+
* // const { CleanRoomsMLClient, PutConfiguredAudienceModelPolicyCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import
|
|
32
|
+
* const client = new CleanRoomsMLClient(config);
|
|
33
|
+
* const input = { // PutConfiguredAudienceModelPolicyRequest
|
|
34
|
+
* configuredAudienceModelArn: "STRING_VALUE", // required
|
|
35
|
+
* configuredAudienceModelPolicy: "STRING_VALUE", // required
|
|
36
|
+
* previousPolicyHash: "STRING_VALUE",
|
|
37
|
+
* policyExistenceCondition: "POLICY_MUST_EXIST" || "POLICY_MUST_NOT_EXIST",
|
|
38
|
+
* };
|
|
39
|
+
* const command = new PutConfiguredAudienceModelPolicyCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // PutConfiguredAudienceModelPolicyResponse
|
|
42
|
+
* // configuredAudienceModelPolicy: "STRING_VALUE", // required
|
|
43
|
+
* // policyHash: "STRING_VALUE", // required
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param PutConfiguredAudienceModelPolicyCommandInput - {@link PutConfiguredAudienceModelPolicyCommandInput}
|
|
49
|
+
* @returns {@link PutConfiguredAudienceModelPolicyCommandOutput}
|
|
50
|
+
* @see {@link PutConfiguredAudienceModelPolicyCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link PutConfiguredAudienceModelPolicyCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
|
+
* <p>The resource you are requesting does not exist.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ValidationException} (client fault)
|
|
61
|
+
* <p>The request parameters for this request are incorrect.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link CleanRoomsMLServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p>
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
export declare class PutConfiguredAudienceModelPolicyCommand extends $Command<PutConfiguredAudienceModelPolicyCommandInput, PutConfiguredAudienceModelPolicyCommandOutput, CleanRoomsMLClientResolvedConfig> {
|
|
68
|
+
readonly input: PutConfiguredAudienceModelPolicyCommandInput;
|
|
69
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
constructor(input: PutConfiguredAudienceModelPolicyCommandInput);
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CleanRoomsMLClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutConfiguredAudienceModelPolicyCommandInput, PutConfiguredAudienceModelPolicyCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
private serialize;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
private deserialize;
|
|
86
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient";
|
|
5
|
+
import { StartAudienceExportJobRequest } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartAudienceExportJobCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartAudienceExportJobCommandInput extends StartAudienceExportJobRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartAudienceExportJobCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartAudienceExportJobCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Export an audience of a specified size after you have generated an audience.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CleanRoomsMLClient, StartAudienceExportJobCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import
|
|
31
|
+
* // const { CleanRoomsMLClient, StartAudienceExportJobCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import
|
|
32
|
+
* const client = new CleanRoomsMLClient(config);
|
|
33
|
+
* const input = { // StartAudienceExportJobRequest
|
|
34
|
+
* name: "STRING_VALUE", // required
|
|
35
|
+
* audienceGenerationJobArn: "STRING_VALUE", // required
|
|
36
|
+
* audienceSize: { // AudienceSize
|
|
37
|
+
* type: "ABSOLUTE" || "PERCENTAGE", // required
|
|
38
|
+
* value: Number("int"), // required
|
|
39
|
+
* },
|
|
40
|
+
* description: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new StartAudienceExportJobCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param StartAudienceExportJobCommandInput - {@link StartAudienceExportJobCommandInput}
|
|
49
|
+
* @returns {@link StartAudienceExportJobCommandOutput}
|
|
50
|
+
* @see {@link StartAudienceExportJobCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link StartAudienceExportJobCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ConflictException} (client fault)
|
|
58
|
+
* <p>A resource with that name already exists in this region.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>The resource you are requesting does not exist.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
64
|
+
* <p>You have exceeded your service quota.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ValidationException} (client fault)
|
|
67
|
+
* <p>The request parameters for this request are incorrect.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link CleanRoomsMLServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p>
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
export declare class StartAudienceExportJobCommand extends $Command<StartAudienceExportJobCommandInput, StartAudienceExportJobCommandOutput, CleanRoomsMLClientResolvedConfig> {
|
|
74
|
+
readonly input: StartAudienceExportJobCommandInput;
|
|
75
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
constructor(input: StartAudienceExportJobCommandInput);
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CleanRoomsMLClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartAudienceExportJobCommandInput, StartAudienceExportJobCommandOutput>;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
private serialize;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private deserialize;
|
|
92
|
+
}
|