@aws-sdk/client-personalize 3.567.0 → 3.568.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/README.md +24 -0
- package/dist-cjs/index.js +159 -0
- package/dist-es/Personalize.js +6 -0
- package/dist-es/commands/CreateDataDeletionJobCommand.js +24 -0
- package/dist-es/commands/DescribeDataDeletionJobCommand.js +24 -0
- package/dist-es/commands/ListDataDeletionJobsCommand.js +24 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +101 -0
- package/dist-types/Personalize.d.ts +22 -0
- package/dist-types/PersonalizeClient.d.ts +5 -2
- package/dist-types/commands/CreateDataDeletionJobCommand.d.ts +138 -0
- package/dist-types/commands/DescribeDataDeletionJobCommand.d.ts +78 -0
- package/dist-types/commands/ListDataDeletionJobsCommand.d.ts +84 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +255 -16
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/ts3.4/Personalize.d.ts +52 -0
- package/dist-types/ts3.4/PersonalizeClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateDataDeletionJobCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeDataDeletionJobCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListDataDeletionJobsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +49 -3
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +5 -5
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./CreateBatchInferenceJobCommand";
|
|
2
2
|
export * from "./CreateBatchSegmentJobCommand";
|
|
3
3
|
export * from "./CreateCampaignCommand";
|
|
4
|
+
export * from "./CreateDataDeletionJobCommand";
|
|
4
5
|
export * from "./CreateDatasetCommand";
|
|
5
6
|
export * from "./CreateDatasetExportJobCommand";
|
|
6
7
|
export * from "./CreateDatasetGroupCommand";
|
|
@@ -25,6 +26,7 @@ export * from "./DescribeAlgorithmCommand";
|
|
|
25
26
|
export * from "./DescribeBatchInferenceJobCommand";
|
|
26
27
|
export * from "./DescribeBatchSegmentJobCommand";
|
|
27
28
|
export * from "./DescribeCampaignCommand";
|
|
29
|
+
export * from "./DescribeDataDeletionJobCommand";
|
|
28
30
|
export * from "./DescribeDatasetCommand";
|
|
29
31
|
export * from "./DescribeDatasetExportJobCommand";
|
|
30
32
|
export * from "./DescribeDatasetGroupCommand";
|
|
@@ -42,6 +44,7 @@ export * from "./GetSolutionMetricsCommand";
|
|
|
42
44
|
export * from "./ListBatchInferenceJobsCommand";
|
|
43
45
|
export * from "./ListBatchSegmentJobsCommand";
|
|
44
46
|
export * from "./ListCampaignsCommand";
|
|
47
|
+
export * from "./ListDataDeletionJobsCommand";
|
|
45
48
|
export * from "./ListDatasetExportJobsCommand";
|
|
46
49
|
export * from "./ListDatasetGroupsCommand";
|
|
47
50
|
export * from "./ListDatasetImportJobsCommand";
|
|
@@ -159,6 +159,19 @@ export interface CreateCampaignRequest {
|
|
|
159
159
|
export interface CreateCampaignResponse {
|
|
160
160
|
campaignArn?: string;
|
|
161
161
|
}
|
|
162
|
+
export interface DataSource {
|
|
163
|
+
dataLocation?: string;
|
|
164
|
+
}
|
|
165
|
+
export interface CreateDataDeletionJobRequest {
|
|
166
|
+
jobName: string | undefined;
|
|
167
|
+
datasetGroupArn: string | undefined;
|
|
168
|
+
dataSource: DataSource | undefined;
|
|
169
|
+
roleArn: string | undefined;
|
|
170
|
+
tags?: Tag[];
|
|
171
|
+
}
|
|
172
|
+
export interface CreateDataDeletionJobResponse {
|
|
173
|
+
dataDeletionJobArn?: string;
|
|
174
|
+
}
|
|
162
175
|
export interface CreateDatasetRequest {
|
|
163
176
|
name: string | undefined;
|
|
164
177
|
schemaArn: string | undefined;
|
|
@@ -205,9 +218,6 @@ export interface CreateDatasetGroupResponse {
|
|
|
205
218
|
datasetGroupArn?: string;
|
|
206
219
|
domain?: Domain;
|
|
207
220
|
}
|
|
208
|
-
export interface DataSource {
|
|
209
|
-
dataLocation?: string;
|
|
210
|
-
}
|
|
211
221
|
export declare const ImportMode: {
|
|
212
222
|
readonly FULL: "FULL";
|
|
213
223
|
readonly INCREMENTAL: "INCREMENTAL";
|
|
@@ -482,6 +492,24 @@ export interface Campaign {
|
|
|
482
492
|
export interface DescribeCampaignResponse {
|
|
483
493
|
campaign?: Campaign;
|
|
484
494
|
}
|
|
495
|
+
export interface DescribeDataDeletionJobRequest {
|
|
496
|
+
dataDeletionJobArn: string | undefined;
|
|
497
|
+
}
|
|
498
|
+
export interface DataDeletionJob {
|
|
499
|
+
jobName?: string;
|
|
500
|
+
dataDeletionJobArn?: string;
|
|
501
|
+
datasetGroupArn?: string;
|
|
502
|
+
dataSource?: DataSource;
|
|
503
|
+
roleArn?: string;
|
|
504
|
+
status?: string;
|
|
505
|
+
numDeleted?: number;
|
|
506
|
+
creationDateTime?: Date;
|
|
507
|
+
lastUpdatedDateTime?: Date;
|
|
508
|
+
failureReason?: string;
|
|
509
|
+
}
|
|
510
|
+
export interface DescribeDataDeletionJobResponse {
|
|
511
|
+
dataDeletionJob?: DataDeletionJob;
|
|
512
|
+
}
|
|
485
513
|
export interface DescribeDatasetRequest {
|
|
486
514
|
datasetArn: string | undefined;
|
|
487
515
|
}
|
|
@@ -815,6 +843,24 @@ export interface ListCampaignsResponse {
|
|
|
815
843
|
campaigns?: CampaignSummary[];
|
|
816
844
|
nextToken?: string;
|
|
817
845
|
}
|
|
846
|
+
export interface ListDataDeletionJobsRequest {
|
|
847
|
+
datasetGroupArn?: string;
|
|
848
|
+
nextToken?: string;
|
|
849
|
+
maxResults?: number;
|
|
850
|
+
}
|
|
851
|
+
export interface DataDeletionJobSummary {
|
|
852
|
+
dataDeletionJobArn?: string;
|
|
853
|
+
datasetGroupArn?: string;
|
|
854
|
+
jobName?: string;
|
|
855
|
+
status?: string;
|
|
856
|
+
creationDateTime?: Date;
|
|
857
|
+
lastUpdatedDateTime?: Date;
|
|
858
|
+
failureReason?: string;
|
|
859
|
+
}
|
|
860
|
+
export interface ListDataDeletionJobsResponse {
|
|
861
|
+
dataDeletionJobs?: DataDeletionJobSummary[];
|
|
862
|
+
nextToken?: string;
|
|
863
|
+
}
|
|
818
864
|
export interface ListDatasetExportJobsRequest {
|
|
819
865
|
datasetArn?: string;
|
|
820
866
|
nextToken?: string;
|
|
@@ -15,6 +15,10 @@ import {
|
|
|
15
15
|
CreateCampaignCommandInput,
|
|
16
16
|
CreateCampaignCommandOutput,
|
|
17
17
|
} from "../commands/CreateCampaignCommand";
|
|
18
|
+
import {
|
|
19
|
+
CreateDataDeletionJobCommandInput,
|
|
20
|
+
CreateDataDeletionJobCommandOutput,
|
|
21
|
+
} from "../commands/CreateDataDeletionJobCommand";
|
|
18
22
|
import {
|
|
19
23
|
CreateDatasetCommandInput,
|
|
20
24
|
CreateDatasetCommandOutput,
|
|
@@ -111,6 +115,10 @@ import {
|
|
|
111
115
|
DescribeCampaignCommandInput,
|
|
112
116
|
DescribeCampaignCommandOutput,
|
|
113
117
|
} from "../commands/DescribeCampaignCommand";
|
|
118
|
+
import {
|
|
119
|
+
DescribeDataDeletionJobCommandInput,
|
|
120
|
+
DescribeDataDeletionJobCommandOutput,
|
|
121
|
+
} from "../commands/DescribeDataDeletionJobCommand";
|
|
114
122
|
import {
|
|
115
123
|
DescribeDatasetCommandInput,
|
|
116
124
|
DescribeDatasetCommandOutput,
|
|
@@ -179,6 +187,10 @@ import {
|
|
|
179
187
|
ListCampaignsCommandInput,
|
|
180
188
|
ListCampaignsCommandOutput,
|
|
181
189
|
} from "../commands/ListCampaignsCommand";
|
|
190
|
+
import {
|
|
191
|
+
ListDataDeletionJobsCommandInput,
|
|
192
|
+
ListDataDeletionJobsCommandOutput,
|
|
193
|
+
} from "../commands/ListDataDeletionJobsCommand";
|
|
182
194
|
import {
|
|
183
195
|
ListDatasetExportJobsCommandInput,
|
|
184
196
|
ListDatasetExportJobsCommandOutput,
|
|
@@ -283,6 +295,10 @@ export declare const se_CreateCampaignCommand: (
|
|
|
283
295
|
input: CreateCampaignCommandInput,
|
|
284
296
|
context: __SerdeContext
|
|
285
297
|
) => Promise<__HttpRequest>;
|
|
298
|
+
export declare const se_CreateDataDeletionJobCommand: (
|
|
299
|
+
input: CreateDataDeletionJobCommandInput,
|
|
300
|
+
context: __SerdeContext
|
|
301
|
+
) => Promise<__HttpRequest>;
|
|
286
302
|
export declare const se_CreateDatasetCommand: (
|
|
287
303
|
input: CreateDatasetCommandInput,
|
|
288
304
|
context: __SerdeContext
|
|
@@ -379,6 +395,10 @@ export declare const se_DescribeCampaignCommand: (
|
|
|
379
395
|
input: DescribeCampaignCommandInput,
|
|
380
396
|
context: __SerdeContext
|
|
381
397
|
) => Promise<__HttpRequest>;
|
|
398
|
+
export declare const se_DescribeDataDeletionJobCommand: (
|
|
399
|
+
input: DescribeDataDeletionJobCommandInput,
|
|
400
|
+
context: __SerdeContext
|
|
401
|
+
) => Promise<__HttpRequest>;
|
|
382
402
|
export declare const se_DescribeDatasetCommand: (
|
|
383
403
|
input: DescribeDatasetCommandInput,
|
|
384
404
|
context: __SerdeContext
|
|
@@ -447,6 +467,10 @@ export declare const se_ListCampaignsCommand: (
|
|
|
447
467
|
input: ListCampaignsCommandInput,
|
|
448
468
|
context: __SerdeContext
|
|
449
469
|
) => Promise<__HttpRequest>;
|
|
470
|
+
export declare const se_ListDataDeletionJobsCommand: (
|
|
471
|
+
input: ListDataDeletionJobsCommandInput,
|
|
472
|
+
context: __SerdeContext
|
|
473
|
+
) => Promise<__HttpRequest>;
|
|
450
474
|
export declare const se_ListDatasetExportJobsCommand: (
|
|
451
475
|
input: ListDatasetExportJobsCommandInput,
|
|
452
476
|
context: __SerdeContext
|
|
@@ -551,6 +575,10 @@ export declare const de_CreateCampaignCommand: (
|
|
|
551
575
|
output: __HttpResponse,
|
|
552
576
|
context: __SerdeContext
|
|
553
577
|
) => Promise<CreateCampaignCommandOutput>;
|
|
578
|
+
export declare const de_CreateDataDeletionJobCommand: (
|
|
579
|
+
output: __HttpResponse,
|
|
580
|
+
context: __SerdeContext
|
|
581
|
+
) => Promise<CreateDataDeletionJobCommandOutput>;
|
|
554
582
|
export declare const de_CreateDatasetCommand: (
|
|
555
583
|
output: __HttpResponse,
|
|
556
584
|
context: __SerdeContext
|
|
@@ -647,6 +675,10 @@ export declare const de_DescribeCampaignCommand: (
|
|
|
647
675
|
output: __HttpResponse,
|
|
648
676
|
context: __SerdeContext
|
|
649
677
|
) => Promise<DescribeCampaignCommandOutput>;
|
|
678
|
+
export declare const de_DescribeDataDeletionJobCommand: (
|
|
679
|
+
output: __HttpResponse,
|
|
680
|
+
context: __SerdeContext
|
|
681
|
+
) => Promise<DescribeDataDeletionJobCommandOutput>;
|
|
650
682
|
export declare const de_DescribeDatasetCommand: (
|
|
651
683
|
output: __HttpResponse,
|
|
652
684
|
context: __SerdeContext
|
|
@@ -715,6 +747,10 @@ export declare const de_ListCampaignsCommand: (
|
|
|
715
747
|
output: __HttpResponse,
|
|
716
748
|
context: __SerdeContext
|
|
717
749
|
) => Promise<ListCampaignsCommandOutput>;
|
|
750
|
+
export declare const de_ListDataDeletionJobsCommand: (
|
|
751
|
+
output: __HttpResponse,
|
|
752
|
+
context: __SerdeContext
|
|
753
|
+
) => Promise<ListDataDeletionJobsCommandOutput>;
|
|
718
754
|
export declare const de_ListDatasetExportJobsCommand: (
|
|
719
755
|
output: __HttpResponse,
|
|
720
756
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-personalize",
|
|
3
3
|
"description": "AWS SDK for JavaScript Personalize Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.568.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-personalize",
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
23
|
"@aws-sdk/core": "3.567.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.568.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.567.0",
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.568.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.567.0",
|
|
28
28
|
"@aws-sdk/middleware-user-agent": "3.567.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.567.0",
|
|
30
30
|
"@aws-sdk/types": "3.567.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.567.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.567.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.568.0",
|
|
34
34
|
"@smithy/config-resolver": "^2.2.0",
|
|
35
35
|
"@smithy/core": "^1.4.2",
|
|
36
36
|
"@smithy/fetch-http-handler": "^2.5.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@tsconfig/node16": "16.1.3",
|
|
63
|
-
"@types/node": "^
|
|
63
|
+
"@types/node": "^16.18.96",
|
|
64
64
|
"concurrently": "7.0.0",
|
|
65
65
|
"downlevel-dts": "0.10.1",
|
|
66
66
|
"rimraf": "3.0.2",
|