@aws-sdk/client-cleanroomsml 3.614.0 → 3.618.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/dist-cjs/index.js +33 -8
- package/dist-es/CleanRoomsMLClient.js +5 -5
- package/dist-es/commands/GetAudienceGenerationJobCommand.js +2 -1
- package/dist-es/commands/StartAudienceGenerationJobCommand.js +2 -1
- package/dist-es/models/models_0.js +16 -0
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-types/CleanRoomsMLClient.d.ts +2 -2
- package/dist-types/commands/GetAudienceGenerationJobCommand.d.ts +8 -0
- package/dist-types/commands/StartAudienceGenerationJobCommand.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +52 -3
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/CleanRoomsMLClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +20 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -23,6 +23,7 @@ var src_exports = {};
|
|
|
23
23
|
__export(src_exports, {
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
25
|
AudienceExportJobStatus: () => AudienceExportJobStatus,
|
|
26
|
+
AudienceGenerationJobDataSourceFilterSensitiveLog: () => AudienceGenerationJobDataSourceFilterSensitiveLog,
|
|
26
27
|
AudienceGenerationJobStatus: () => AudienceGenerationJobStatus,
|
|
27
28
|
AudienceModelStatus: () => AudienceModelStatus,
|
|
28
29
|
AudienceSizeType: () => AudienceSizeType,
|
|
@@ -42,6 +43,7 @@ __export(src_exports, {
|
|
|
42
43
|
DeleteConfiguredAudienceModelPolicyCommand: () => DeleteConfiguredAudienceModelPolicyCommand,
|
|
43
44
|
DeleteTrainingDatasetCommand: () => DeleteTrainingDatasetCommand,
|
|
44
45
|
GetAudienceGenerationJobCommand: () => GetAudienceGenerationJobCommand,
|
|
46
|
+
GetAudienceGenerationJobResponseFilterSensitiveLog: () => GetAudienceGenerationJobResponseFilterSensitiveLog,
|
|
45
47
|
GetAudienceModelCommand: () => GetAudienceModelCommand,
|
|
46
48
|
GetConfiguredAudienceModelCommand: () => GetConfiguredAudienceModelCommand,
|
|
47
49
|
GetConfiguredAudienceModelPolicyCommand: () => GetConfiguredAudienceModelPolicyCommand,
|
|
@@ -53,12 +55,14 @@ __export(src_exports, {
|
|
|
53
55
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
54
56
|
ListTrainingDatasetsCommand: () => ListTrainingDatasetsCommand,
|
|
55
57
|
PolicyExistenceCondition: () => PolicyExistenceCondition,
|
|
58
|
+
ProtectedQuerySQLParametersFilterSensitiveLog: () => ProtectedQuerySQLParametersFilterSensitiveLog,
|
|
56
59
|
PutConfiguredAudienceModelPolicyCommand: () => PutConfiguredAudienceModelPolicyCommand,
|
|
57
60
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
58
61
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
59
62
|
SharedAudienceMetrics: () => SharedAudienceMetrics,
|
|
60
63
|
StartAudienceExportJobCommand: () => StartAudienceExportJobCommand,
|
|
61
64
|
StartAudienceGenerationJobCommand: () => StartAudienceGenerationJobCommand,
|
|
65
|
+
StartAudienceGenerationJobRequestFilterSensitiveLog: () => StartAudienceGenerationJobRequestFilterSensitiveLog,
|
|
62
66
|
TagOnCreatePolicy: () => TagOnCreatePolicy,
|
|
63
67
|
TagResourceCommand: () => TagResourceCommand,
|
|
64
68
|
TrainingDatasetStatus: () => TrainingDatasetStatus,
|
|
@@ -176,19 +180,19 @@ var _CleanRoomsMLClient = class _CleanRoomsMLClient extends import_smithy_client
|
|
|
176
180
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
177
181
|
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
178
182
|
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
179
|
-
const _config_4 = (0,
|
|
180
|
-
const _config_5 = (0,
|
|
181
|
-
const _config_6 = (0,
|
|
183
|
+
const _config_4 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_3);
|
|
184
|
+
const _config_5 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_4);
|
|
185
|
+
const _config_6 = (0, import_middleware_retry.resolveRetryConfig)(_config_5);
|
|
182
186
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
183
187
|
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
184
188
|
super(_config_8);
|
|
185
189
|
this.config = _config_8;
|
|
186
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
187
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
188
190
|
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
189
191
|
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
190
192
|
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
191
193
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
194
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
195
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
192
196
|
this.middlewareStack.use(
|
|
193
197
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
194
198
|
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
|
@@ -245,6 +249,7 @@ __name(_CleanRoomsMLServiceException, "CleanRoomsMLServiceException");
|
|
|
245
249
|
var CleanRoomsMLServiceException = _CleanRoomsMLServiceException;
|
|
246
250
|
|
|
247
251
|
// src/models/models_0.ts
|
|
252
|
+
|
|
248
253
|
var _AccessDeniedException = class _AccessDeniedException extends CleanRoomsMLServiceException {
|
|
249
254
|
/**
|
|
250
255
|
* @internal
|
|
@@ -386,6 +391,21 @@ var DatasetType = {
|
|
|
386
391
|
var TrainingDatasetStatus = {
|
|
387
392
|
ACTIVE: "ACTIVE"
|
|
388
393
|
};
|
|
394
|
+
var ProtectedQuerySQLParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
395
|
+
...obj
|
|
396
|
+
}), "ProtectedQuerySQLParametersFilterSensitiveLog");
|
|
397
|
+
var AudienceGenerationJobDataSourceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
398
|
+
...obj,
|
|
399
|
+
...obj.sqlParameters && { sqlParameters: import_smithy_client.SENSITIVE_STRING }
|
|
400
|
+
}), "AudienceGenerationJobDataSourceFilterSensitiveLog");
|
|
401
|
+
var GetAudienceGenerationJobResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
402
|
+
...obj,
|
|
403
|
+
...obj.seedAudience && { seedAudience: AudienceGenerationJobDataSourceFilterSensitiveLog(obj.seedAudience) }
|
|
404
|
+
}), "GetAudienceGenerationJobResponseFilterSensitiveLog");
|
|
405
|
+
var StartAudienceGenerationJobRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
406
|
+
...obj,
|
|
407
|
+
...obj.seedAudience && { seedAudience: AudienceGenerationJobDataSourceFilterSensitiveLog(obj.seedAudience) }
|
|
408
|
+
}), "StartAudienceGenerationJobRequestFilterSensitiveLog");
|
|
389
409
|
|
|
390
410
|
// src/protocols/Aws_restJson1.ts
|
|
391
411
|
var se_CreateAudienceModelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -831,6 +851,7 @@ var de_GetAudienceGenerationJobCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
831
851
|
includeSeedInOutput: import_smithy_client.expectBoolean,
|
|
832
852
|
metrics: (_) => de_AudienceQualityMetrics(_, context),
|
|
833
853
|
name: import_smithy_client.expectString,
|
|
854
|
+
protectedQueryIdentifier: import_smithy_client.expectString,
|
|
834
855
|
seedAudience: import_smithy_client._json,
|
|
835
856
|
startedBy: import_smithy_client.expectString,
|
|
836
857
|
status: import_smithy_client.expectString,
|
|
@@ -1445,7 +1466,7 @@ var _GetAudienceGenerationJobCommand = class _GetAudienceGenerationJobCommand ex
|
|
|
1445
1466
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1446
1467
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1447
1468
|
];
|
|
1448
|
-
}).s("AWSStarkControlService", "GetAudienceGenerationJob", {}).n("CleanRoomsMLClient", "GetAudienceGenerationJobCommand").f(void 0,
|
|
1469
|
+
}).s("AWSStarkControlService", "GetAudienceGenerationJob", {}).n("CleanRoomsMLClient", "GetAudienceGenerationJobCommand").f(void 0, GetAudienceGenerationJobResponseFilterSensitiveLog).ser(se_GetAudienceGenerationJobCommand).de(de_GetAudienceGenerationJobCommand).build() {
|
|
1449
1470
|
};
|
|
1450
1471
|
__name(_GetAudienceGenerationJobCommand, "GetAudienceGenerationJobCommand");
|
|
1451
1472
|
var GetAudienceGenerationJobCommand = _GetAudienceGenerationJobCommand;
|
|
@@ -1653,7 +1674,7 @@ var _StartAudienceGenerationJobCommand = class _StartAudienceGenerationJobComman
|
|
|
1653
1674
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1654
1675
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1655
1676
|
];
|
|
1656
|
-
}).s("AWSStarkControlService", "StartAudienceGenerationJob", {}).n("CleanRoomsMLClient", "StartAudienceGenerationJobCommand").f(
|
|
1677
|
+
}).s("AWSStarkControlService", "StartAudienceGenerationJob", {}).n("CleanRoomsMLClient", "StartAudienceGenerationJobCommand").f(StartAudienceGenerationJobRequestFilterSensitiveLog, void 0).ser(se_StartAudienceGenerationJobCommand).de(de_StartAudienceGenerationJobCommand).build() {
|
|
1657
1678
|
};
|
|
1658
1679
|
__name(_StartAudienceGenerationJobCommand, "StartAudienceGenerationJobCommand");
|
|
1659
1680
|
var StartAudienceGenerationJobCommand = _StartAudienceGenerationJobCommand;
|
|
@@ -1812,6 +1833,10 @@ var paginateListTrainingDatasets = (0, import_core.createPaginator)(CleanRoomsML
|
|
|
1812
1833
|
PolicyExistenceCondition,
|
|
1813
1834
|
ColumnType,
|
|
1814
1835
|
DatasetType,
|
|
1815
|
-
TrainingDatasetStatus
|
|
1836
|
+
TrainingDatasetStatus,
|
|
1837
|
+
ProtectedQuerySQLParametersFilterSensitiveLog,
|
|
1838
|
+
AudienceGenerationJobDataSourceFilterSensitiveLog,
|
|
1839
|
+
GetAudienceGenerationJobResponseFilterSensitiveLog,
|
|
1840
|
+
StartAudienceGenerationJobRequestFilterSensitiveLog
|
|
1816
1841
|
});
|
|
1817
1842
|
|
|
@@ -19,19 +19,19 @@ export class CleanRoomsMLClient extends __Client {
|
|
|
19
19
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
20
20
|
const _config_2 = resolveRegionConfig(_config_1);
|
|
21
21
|
const _config_3 = resolveEndpointConfig(_config_2);
|
|
22
|
-
const _config_4 =
|
|
23
|
-
const _config_5 =
|
|
24
|
-
const _config_6 =
|
|
22
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
23
|
+
const _config_5 = resolveUserAgentConfig(_config_4);
|
|
24
|
+
const _config_6 = resolveRetryConfig(_config_5);
|
|
25
25
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
26
26
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
27
27
|
super(_config_8);
|
|
28
28
|
this.config = _config_8;
|
|
29
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
30
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
31
29
|
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
32
30
|
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
33
31
|
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
34
32
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
33
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
34
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
35
35
|
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
36
36
|
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
|
37
37
|
identityProviderConfigProvider: this.getIdentityProviderConfigProvider(),
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { GetAudienceGenerationJobResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_GetAudienceGenerationJobCommand, se_GetAudienceGenerationJobCommand } from "../protocols/Aws_restJson1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class GetAudienceGenerationJobCommand extends $Command
|
|
@@ -17,7 +18,7 @@ export class GetAudienceGenerationJobCommand extends $Command
|
|
|
17
18
|
})
|
|
18
19
|
.s("AWSStarkControlService", "GetAudienceGenerationJob", {})
|
|
19
20
|
.n("CleanRoomsMLClient", "GetAudienceGenerationJobCommand")
|
|
20
|
-
.f(void 0,
|
|
21
|
+
.f(void 0, GetAudienceGenerationJobResponseFilterSensitiveLog)
|
|
21
22
|
.ser(se_GetAudienceGenerationJobCommand)
|
|
22
23
|
.de(de_GetAudienceGenerationJobCommand)
|
|
23
24
|
.build() {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { StartAudienceGenerationJobRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_StartAudienceGenerationJobCommand, se_StartAudienceGenerationJobCommand } from "../protocols/Aws_restJson1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class StartAudienceGenerationJobCommand extends $Command
|
|
@@ -17,7 +18,7 @@ export class StartAudienceGenerationJobCommand extends $Command
|
|
|
17
18
|
})
|
|
18
19
|
.s("AWSStarkControlService", "StartAudienceGenerationJob", {})
|
|
19
20
|
.n("CleanRoomsMLClient", "StartAudienceGenerationJobCommand")
|
|
20
|
-
.f(
|
|
21
|
+
.f(StartAudienceGenerationJobRequestFilterSensitiveLog, void 0)
|
|
21
22
|
.ser(se_StartAudienceGenerationJobCommand)
|
|
22
23
|
.de(de_StartAudienceGenerationJobCommand)
|
|
23
24
|
.build() {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
1
2
|
import { CleanRoomsMLServiceException as __BaseException } from "./CleanRoomsMLServiceException";
|
|
2
3
|
export class AccessDeniedException extends __BaseException {
|
|
3
4
|
constructor(opts) {
|
|
@@ -115,3 +116,18 @@ export const DatasetType = {
|
|
|
115
116
|
export const TrainingDatasetStatus = {
|
|
116
117
|
ACTIVE: "ACTIVE",
|
|
117
118
|
};
|
|
119
|
+
export const ProtectedQuerySQLParametersFilterSensitiveLog = (obj) => ({
|
|
120
|
+
...obj,
|
|
121
|
+
});
|
|
122
|
+
export const AudienceGenerationJobDataSourceFilterSensitiveLog = (obj) => ({
|
|
123
|
+
...obj,
|
|
124
|
+
...(obj.sqlParameters && { sqlParameters: SENSITIVE_STRING }),
|
|
125
|
+
});
|
|
126
|
+
export const GetAudienceGenerationJobResponseFilterSensitiveLog = (obj) => ({
|
|
127
|
+
...obj,
|
|
128
|
+
...(obj.seedAudience && { seedAudience: AudienceGenerationJobDataSourceFilterSensitiveLog(obj.seedAudience) }),
|
|
129
|
+
});
|
|
130
|
+
export const StartAudienceGenerationJobRequestFilterSensitiveLog = (obj) => ({
|
|
131
|
+
...obj,
|
|
132
|
+
...(obj.seedAudience && { seedAudience: AudienceGenerationJobDataSourceFilterSensitiveLog(obj.seedAudience) }),
|
|
133
|
+
});
|
|
@@ -430,6 +430,7 @@ export const de_GetAudienceGenerationJobCommand = async (output, context) => {
|
|
|
430
430
|
includeSeedInOutput: __expectBoolean,
|
|
431
431
|
metrics: (_) => de_AudienceQualityMetrics(_, context),
|
|
432
432
|
name: __expectString,
|
|
433
|
+
protectedQueryIdentifier: __expectString,
|
|
433
434
|
seedAudience: _json,
|
|
434
435
|
startedBy: __expectString,
|
|
435
436
|
status: __expectString,
|
|
@@ -156,7 +156,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
156
156
|
/**
|
|
157
157
|
* @public
|
|
158
158
|
*/
|
|
159
|
-
export type CleanRoomsMLClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> &
|
|
159
|
+
export type CleanRoomsMLClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & HostHeaderInputConfig & UserAgentInputConfig & RetryInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
160
160
|
/**
|
|
161
161
|
* @public
|
|
162
162
|
*
|
|
@@ -167,7 +167,7 @@ export interface CleanRoomsMLClientConfig extends CleanRoomsMLClientConfigType {
|
|
|
167
167
|
/**
|
|
168
168
|
* @public
|
|
169
169
|
*/
|
|
170
|
-
export type CleanRoomsMLClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> &
|
|
170
|
+
export type CleanRoomsMLClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HostHeaderResolvedConfig & UserAgentResolvedConfig & RetryResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
171
171
|
/**
|
|
172
172
|
* @public
|
|
173
173
|
*
|
|
@@ -56,6 +56,13 @@ declare const GetAudienceGenerationJobCommand_base: {
|
|
|
56
56
|
* // s3Uri: "STRING_VALUE", // required
|
|
57
57
|
* // },
|
|
58
58
|
* // roleArn: "STRING_VALUE", // required
|
|
59
|
+
* // sqlParameters: { // ProtectedQuerySQLParameters
|
|
60
|
+
* // queryString: "STRING_VALUE",
|
|
61
|
+
* // analysisTemplateArn: "STRING_VALUE",
|
|
62
|
+
* // parameters: { // ParameterMap
|
|
63
|
+
* // "<keys>": "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // },
|
|
59
66
|
* // },
|
|
60
67
|
* // includeSeedInOutput: true || false,
|
|
61
68
|
* // collaborationId: "STRING_VALUE",
|
|
@@ -75,6 +82,7 @@ declare const GetAudienceGenerationJobCommand_base: {
|
|
|
75
82
|
* // tags: { // TagMap
|
|
76
83
|
* // "<keys>": "STRING_VALUE",
|
|
77
84
|
* // },
|
|
85
|
+
* // protectedQueryIdentifier: "STRING_VALUE",
|
|
78
86
|
* // };
|
|
79
87
|
*
|
|
80
88
|
* ```
|
|
@@ -42,6 +42,13 @@ declare const StartAudienceGenerationJobCommand_base: {
|
|
|
42
42
|
* s3Uri: "STRING_VALUE", // required
|
|
43
43
|
* },
|
|
44
44
|
* roleArn: "STRING_VALUE", // required
|
|
45
|
+
* sqlParameters: { // ProtectedQuerySQLParameters
|
|
46
|
+
* queryString: "STRING_VALUE",
|
|
47
|
+
* analysisTemplateArn: "STRING_VALUE",
|
|
48
|
+
* parameters: { // ParameterMap
|
|
49
|
+
* "<keys>": "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
45
52
|
* },
|
|
46
53
|
* includeSeedInOutput: true || false,
|
|
47
54
|
* collaborationId: "STRING_VALUE",
|
|
@@ -306,6 +306,28 @@ export interface AudienceQualityMetrics {
|
|
|
306
306
|
*/
|
|
307
307
|
recallMetric?: number;
|
|
308
308
|
}
|
|
309
|
+
/**
|
|
310
|
+
* <p>The parameters for the SQL type Protected Query.</p>
|
|
311
|
+
* @public
|
|
312
|
+
*/
|
|
313
|
+
export interface ProtectedQuerySQLParameters {
|
|
314
|
+
/**
|
|
315
|
+
* <p>The query string to be submitted.</p>
|
|
316
|
+
* @public
|
|
317
|
+
*/
|
|
318
|
+
queryString?: string;
|
|
319
|
+
/**
|
|
320
|
+
* <p>The Amazon Resource Name (ARN) associated with the analysis template within a
|
|
321
|
+
* collaboration.</p>
|
|
322
|
+
* @public
|
|
323
|
+
*/
|
|
324
|
+
analysisTemplateArn?: string;
|
|
325
|
+
/**
|
|
326
|
+
* <p>The protected query SQL parameters.</p>
|
|
327
|
+
* @public
|
|
328
|
+
*/
|
|
329
|
+
parameters?: Record<string, string>;
|
|
330
|
+
}
|
|
309
331
|
/**
|
|
310
332
|
* <p>Defines the Amazon S3 bucket where the seed audience for the generating audience is stored.</p>
|
|
311
333
|
* @public
|
|
@@ -324,12 +346,17 @@ export interface AudienceGenerationJobDataSource {
|
|
|
324
346
|
* </p>
|
|
325
347
|
* @public
|
|
326
348
|
*/
|
|
327
|
-
dataSource
|
|
349
|
+
dataSource?: S3ConfigMap;
|
|
328
350
|
/**
|
|
329
|
-
* <p>The ARN of the IAM role that can read the Amazon S3 bucket where the
|
|
351
|
+
* <p>The ARN of the IAM role that can read the Amazon S3 bucket where the seed audience is stored.</p>
|
|
330
352
|
* @public
|
|
331
353
|
*/
|
|
332
354
|
roleArn: string | undefined;
|
|
355
|
+
/**
|
|
356
|
+
* <p>The protected SQL query parameters.</p>
|
|
357
|
+
* @public
|
|
358
|
+
*/
|
|
359
|
+
sqlParameters?: ProtectedQuerySQLParameters;
|
|
333
360
|
}
|
|
334
361
|
/**
|
|
335
362
|
* @public
|
|
@@ -422,6 +449,11 @@ export interface GetAudienceGenerationJobResponse {
|
|
|
422
449
|
* @public
|
|
423
450
|
*/
|
|
424
451
|
tags?: Record<string, string>;
|
|
452
|
+
/**
|
|
453
|
+
* <p>The unique identifier of the protected query for this audience generation job.</p>
|
|
454
|
+
* @public
|
|
455
|
+
*/
|
|
456
|
+
protectedQueryIdentifier?: string;
|
|
425
457
|
}
|
|
426
458
|
/**
|
|
427
459
|
* @public
|
|
@@ -836,7 +868,8 @@ export interface ListAudienceModelsResponse {
|
|
|
836
868
|
audienceModels: AudienceModelSummary[] | undefined;
|
|
837
869
|
}
|
|
838
870
|
/**
|
|
839
|
-
* <p>
|
|
871
|
+
* <p>Returns the relevance scores at these audience sizes when used in the <a>GetAudienceGenerationJob</a> for a specified audience generation job and configured audience model.</p>
|
|
872
|
+
* <p>Specifies the list of allowed <code>audienceSize</code> values when used in the <a>StartAudienceExportJob</a> for an audience generation job. You can use the <code>ABSOLUTE</code>
|
|
840
873
|
* <a>AudienceSize</a> to configure out audience sizes using the count of identifiers in the output. You can use the <code>Percentage</code>
|
|
841
874
|
* <a>AudienceSize</a> to configure sizes in the range 1-100 percent.</p>
|
|
842
875
|
* @public
|
|
@@ -1703,3 +1736,19 @@ export interface UntagResourceRequest {
|
|
|
1703
1736
|
*/
|
|
1704
1737
|
export interface UntagResourceResponse {
|
|
1705
1738
|
}
|
|
1739
|
+
/**
|
|
1740
|
+
* @internal
|
|
1741
|
+
*/
|
|
1742
|
+
export declare const ProtectedQuerySQLParametersFilterSensitiveLog: (obj: ProtectedQuerySQLParameters) => any;
|
|
1743
|
+
/**
|
|
1744
|
+
* @internal
|
|
1745
|
+
*/
|
|
1746
|
+
export declare const AudienceGenerationJobDataSourceFilterSensitiveLog: (obj: AudienceGenerationJobDataSource) => any;
|
|
1747
|
+
/**
|
|
1748
|
+
* @internal
|
|
1749
|
+
*/
|
|
1750
|
+
export declare const GetAudienceGenerationJobResponseFilterSensitiveLog: (obj: GetAudienceGenerationJobResponse) => any;
|
|
1751
|
+
/**
|
|
1752
|
+
* @internal
|
|
1753
|
+
*/
|
|
1754
|
+
export declare const StartAudienceGenerationJobRequestFilterSensitiveLog: (obj: StartAudienceGenerationJobRequest) => any;
|
|
@@ -32,8 +32,8 @@ export declare const getRuntimeConfig: (config: CleanRoomsMLClientConfig) => {
|
|
|
32
32
|
logger?: import("@smithy/types").Logger | undefined;
|
|
33
33
|
}) => import("@smithy/types").EndpointV2;
|
|
34
34
|
tls?: boolean | undefined;
|
|
35
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
36
35
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
36
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
37
37
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
38
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CleanRoomsMLHttpAuthSchemeProvider;
|
|
39
39
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -32,8 +32,8 @@ export declare const getRuntimeConfig: (config: CleanRoomsMLClientConfig) => {
|
|
|
32
32
|
logger?: import("@smithy/types").Logger | undefined;
|
|
33
33
|
}) => import("@smithy/types").EndpointV2;
|
|
34
34
|
tls?: boolean | undefined;
|
|
35
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
36
35
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
36
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
37
37
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
38
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CleanRoomsMLHttpAuthSchemeProvider;
|
|
39
39
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -31,8 +31,8 @@ export declare const getRuntimeConfig: (config: CleanRoomsMLClientConfig) => {
|
|
|
31
31
|
logger?: import("@smithy/types").Logger | undefined;
|
|
32
32
|
}) => import("@smithy/types").EndpointV2;
|
|
33
33
|
tls?: boolean | undefined;
|
|
34
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
35
34
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
35
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
36
36
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
37
37
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CleanRoomsMLHttpAuthSchemeProvider;
|
|
38
38
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -235,9 +235,9 @@ export type CleanRoomsMLClientConfigType = Partial<
|
|
|
235
235
|
ClientDefaults &
|
|
236
236
|
RegionInputConfig &
|
|
237
237
|
EndpointInputConfig<EndpointParameters> &
|
|
238
|
-
RetryInputConfig &
|
|
239
238
|
HostHeaderInputConfig &
|
|
240
239
|
UserAgentInputConfig &
|
|
240
|
+
RetryInputConfig &
|
|
241
241
|
HttpAuthSchemeInputConfig &
|
|
242
242
|
ClientInputEndpointParameters;
|
|
243
243
|
export interface CleanRoomsMLClientConfig
|
|
@@ -248,9 +248,9 @@ export type CleanRoomsMLClientResolvedConfigType =
|
|
|
248
248
|
RuntimeExtensionsConfig &
|
|
249
249
|
RegionResolvedConfig &
|
|
250
250
|
EndpointResolvedConfig<EndpointParameters> &
|
|
251
|
-
RetryResolvedConfig &
|
|
252
251
|
HostHeaderResolvedConfig &
|
|
253
252
|
UserAgentResolvedConfig &
|
|
253
|
+
RetryResolvedConfig &
|
|
254
254
|
HttpAuthSchemeResolvedConfig &
|
|
255
255
|
ClientResolvedEndpointParameters;
|
|
256
256
|
export interface CleanRoomsMLClientResolvedConfig
|
|
@@ -101,9 +101,15 @@ export interface AudienceQualityMetrics {
|
|
|
101
101
|
relevanceMetrics: RelevanceMetric[] | undefined;
|
|
102
102
|
recallMetric?: number;
|
|
103
103
|
}
|
|
104
|
+
export interface ProtectedQuerySQLParameters {
|
|
105
|
+
queryString?: string;
|
|
106
|
+
analysisTemplateArn?: string;
|
|
107
|
+
parameters?: Record<string, string>;
|
|
108
|
+
}
|
|
104
109
|
export interface AudienceGenerationJobDataSource {
|
|
105
|
-
dataSource
|
|
110
|
+
dataSource?: S3ConfigMap;
|
|
106
111
|
roleArn: string | undefined;
|
|
112
|
+
sqlParameters?: ProtectedQuerySQLParameters;
|
|
107
113
|
}
|
|
108
114
|
export declare const AudienceGenerationJobStatus: {
|
|
109
115
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -131,6 +137,7 @@ export interface GetAudienceGenerationJobResponse {
|
|
|
131
137
|
metrics?: AudienceQualityMetrics;
|
|
132
138
|
startedBy?: string;
|
|
133
139
|
tags?: Record<string, string>;
|
|
140
|
+
protectedQueryIdentifier?: string;
|
|
134
141
|
}
|
|
135
142
|
export interface ListAudienceGenerationJobsRequest {
|
|
136
143
|
nextToken?: string;
|
|
@@ -438,3 +445,15 @@ export interface UntagResourceRequest {
|
|
|
438
445
|
tagKeys: string[] | undefined;
|
|
439
446
|
}
|
|
440
447
|
export interface UntagResourceResponse {}
|
|
448
|
+
export declare const ProtectedQuerySQLParametersFilterSensitiveLog: (
|
|
449
|
+
obj: ProtectedQuerySQLParameters
|
|
450
|
+
) => any;
|
|
451
|
+
export declare const AudienceGenerationJobDataSourceFilterSensitiveLog: (
|
|
452
|
+
obj: AudienceGenerationJobDataSource
|
|
453
|
+
) => any;
|
|
454
|
+
export declare const GetAudienceGenerationJobResponseFilterSensitiveLog: (
|
|
455
|
+
obj: GetAudienceGenerationJobResponse
|
|
456
|
+
) => any;
|
|
457
|
+
export declare const StartAudienceGenerationJobRequestFilterSensitiveLog: (
|
|
458
|
+
obj: StartAudienceGenerationJobRequest
|
|
459
|
+
) => any;
|
|
@@ -56,11 +56,11 @@ export declare const getRuntimeConfig: (config: CleanRoomsMLClientConfig) => {
|
|
|
56
56
|
}
|
|
57
57
|
) => import("@smithy/types").EndpointV2;
|
|
58
58
|
tls?: boolean | undefined;
|
|
59
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
59
60
|
retryStrategy?:
|
|
60
61
|
| import("@smithy/types").RetryStrategy
|
|
61
62
|
| import("@smithy/types").RetryStrategyV2
|
|
62
63
|
| undefined;
|
|
63
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
64
64
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
65
65
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CleanRoomsMLHttpAuthSchemeProvider;
|
|
66
66
|
credentials?:
|
|
@@ -60,11 +60,11 @@ export declare const getRuntimeConfig: (config: CleanRoomsMLClientConfig) => {
|
|
|
60
60
|
}
|
|
61
61
|
) => import("@smithy/types").EndpointV2;
|
|
62
62
|
tls?: boolean | undefined;
|
|
63
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
63
64
|
retryStrategy?:
|
|
64
65
|
| import("@smithy/types").RetryStrategy
|
|
65
66
|
| import("@smithy/types").RetryStrategyV2
|
|
66
67
|
| undefined;
|
|
67
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
68
68
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
69
69
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CleanRoomsMLHttpAuthSchemeProvider;
|
|
70
70
|
credentials?:
|
|
@@ -50,11 +50,11 @@ export declare const getRuntimeConfig: (config: CleanRoomsMLClientConfig) => {
|
|
|
50
50
|
}
|
|
51
51
|
) => import("@smithy/types").EndpointV2;
|
|
52
52
|
tls?: boolean | undefined;
|
|
53
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
53
54
|
retryStrategy?:
|
|
54
55
|
| import("@smithy/types").RetryStrategy
|
|
55
56
|
| import("@smithy/types").RetryStrategyV2
|
|
56
57
|
| undefined;
|
|
57
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
58
58
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
59
59
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CleanRoomsMLHttpAuthSchemeProvider;
|
|
60
60
|
credentials?:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cleanroomsml",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cleanroomsml Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.618.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cleanroomsml",
|
|
@@ -20,40 +20,40 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.616.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.616.0",
|
|
25
|
+
"@aws-sdk/core": "3.616.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.616.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.616.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.616.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.616.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
32
32
|
"@aws-sdk/types": "3.609.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.614.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.5",
|
|
37
|
-
"@smithy/core": "^2.2.
|
|
38
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
37
|
+
"@smithy/core": "^2.2.7",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.2.2",
|
|
39
39
|
"@smithy/hash-node": "^3.0.3",
|
|
40
40
|
"@smithy/invalid-dependency": "^3.0.3",
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.4",
|
|
42
42
|
"@smithy/middleware-endpoint": "^3.0.5",
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.10",
|
|
44
44
|
"@smithy/middleware-serde": "^3.0.3",
|
|
45
45
|
"@smithy/middleware-stack": "^3.0.3",
|
|
46
46
|
"@smithy/node-config-provider": "^3.1.4",
|
|
47
|
-
"@smithy/node-http-handler": "^3.1.
|
|
48
|
-
"@smithy/protocol-http": "^4.0.
|
|
49
|
-
"@smithy/smithy-client": "^3.1.
|
|
47
|
+
"@smithy/node-http-handler": "^3.1.3",
|
|
48
|
+
"@smithy/protocol-http": "^4.0.4",
|
|
49
|
+
"@smithy/smithy-client": "^3.1.8",
|
|
50
50
|
"@smithy/types": "^3.3.0",
|
|
51
51
|
"@smithy/url-parser": "^3.0.3",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.10",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.10",
|
|
57
57
|
"@smithy/util-endpoints": "^2.0.5",
|
|
58
58
|
"@smithy/util-middleware": "^3.0.3",
|
|
59
59
|
"@smithy/util-retry": "^3.0.3",
|