@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
|
@@ -602,6 +602,73 @@ export interface CreateCampaignResponse {
|
|
|
602
602
|
*/
|
|
603
603
|
campaignArn?: string;
|
|
604
604
|
}
|
|
605
|
+
/**
|
|
606
|
+
* <p>Describes the data source that contains the data to upload to a dataset, or the list of
|
|
607
|
+
* records to delete from Amazon Personalize.</p>
|
|
608
|
+
* @public
|
|
609
|
+
*/
|
|
610
|
+
export interface DataSource {
|
|
611
|
+
/**
|
|
612
|
+
* <p>For dataset import jobs, the path to the Amazon S3 bucket where the data that you want to upload to
|
|
613
|
+
* your dataset is stored. For data deletion jobs, the path to the Amazon S3 bucket that stores the list of records to delete.
|
|
614
|
+
* </p>
|
|
615
|
+
* <p>
|
|
616
|
+
* For example: </p>
|
|
617
|
+
* <p>
|
|
618
|
+
* <code>s3://bucket-name/folder-name/fileName.csv</code>
|
|
619
|
+
* </p>
|
|
620
|
+
* <p>If your CSV files are in a folder in your Amazon S3 bucket and you want your import job or data deletion job
|
|
621
|
+
* to consider multiple files, you can specify the path to the folder. With a data deletion job, Amazon Personalize uses all files in the folder and any sub folder. Use the following syntax with a <code>/</code> after the folder
|
|
622
|
+
* name:</p>
|
|
623
|
+
* <p>
|
|
624
|
+
* <code>s3://bucket-name/folder-name/</code>
|
|
625
|
+
* </p>
|
|
626
|
+
* @public
|
|
627
|
+
*/
|
|
628
|
+
dataLocation?: string;
|
|
629
|
+
}
|
|
630
|
+
/**
|
|
631
|
+
* @public
|
|
632
|
+
*/
|
|
633
|
+
export interface CreateDataDeletionJobRequest {
|
|
634
|
+
/**
|
|
635
|
+
* <p>The name for the data deletion job.</p>
|
|
636
|
+
* @public
|
|
637
|
+
*/
|
|
638
|
+
jobName: string | undefined;
|
|
639
|
+
/**
|
|
640
|
+
* <p>The Amazon Resource Name (ARN) of the dataset group that has the datasets you want to
|
|
641
|
+
* delete records from.</p>
|
|
642
|
+
* @public
|
|
643
|
+
*/
|
|
644
|
+
datasetGroupArn: string | undefined;
|
|
645
|
+
/**
|
|
646
|
+
* <p>The Amazon S3 bucket that contains the list of userIds of the users to delete.</p>
|
|
647
|
+
* @public
|
|
648
|
+
*/
|
|
649
|
+
dataSource: DataSource | undefined;
|
|
650
|
+
/**
|
|
651
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role that has permissions to read from the Amazon S3
|
|
652
|
+
* data source.</p>
|
|
653
|
+
* @public
|
|
654
|
+
*/
|
|
655
|
+
roleArn: string | undefined;
|
|
656
|
+
/**
|
|
657
|
+
* <p>A list of <a href="https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html">tags</a> to apply to the data deletion job.</p>
|
|
658
|
+
* @public
|
|
659
|
+
*/
|
|
660
|
+
tags?: Tag[];
|
|
661
|
+
}
|
|
662
|
+
/**
|
|
663
|
+
* @public
|
|
664
|
+
*/
|
|
665
|
+
export interface CreateDataDeletionJobResponse {
|
|
666
|
+
/**
|
|
667
|
+
* <p>The Amazon Resource Name (ARN) of the data deletion job.</p>
|
|
668
|
+
* @public
|
|
669
|
+
*/
|
|
670
|
+
dataDeletionJobArn?: string;
|
|
671
|
+
}
|
|
605
672
|
/**
|
|
606
673
|
* @public
|
|
607
674
|
*/
|
|
@@ -802,22 +869,6 @@ export interface CreateDatasetGroupResponse {
|
|
|
802
869
|
*/
|
|
803
870
|
domain?: Domain;
|
|
804
871
|
}
|
|
805
|
-
/**
|
|
806
|
-
* <p>Describes the data source that contains the data to upload to a
|
|
807
|
-
* dataset.</p>
|
|
808
|
-
* @public
|
|
809
|
-
*/
|
|
810
|
-
export interface DataSource {
|
|
811
|
-
/**
|
|
812
|
-
* <p>The path to the Amazon S3 bucket where the data that you want to upload to
|
|
813
|
-
* your dataset is stored. For example: </p>
|
|
814
|
-
* <p>
|
|
815
|
-
* <code>s3://bucket-name/folder-name/</code>
|
|
816
|
-
* </p>
|
|
817
|
-
* @public
|
|
818
|
-
*/
|
|
819
|
-
dataLocation?: string;
|
|
820
|
-
}
|
|
821
872
|
/**
|
|
822
873
|
* @public
|
|
823
874
|
* @enum
|
|
@@ -2077,6 +2128,108 @@ export interface DescribeCampaignResponse {
|
|
|
2077
2128
|
*/
|
|
2078
2129
|
campaign?: Campaign;
|
|
2079
2130
|
}
|
|
2131
|
+
/**
|
|
2132
|
+
* @public
|
|
2133
|
+
*/
|
|
2134
|
+
export interface DescribeDataDeletionJobRequest {
|
|
2135
|
+
/**
|
|
2136
|
+
* <p>The Amazon Resource Name (ARN) of the data deletion job.</p>
|
|
2137
|
+
* @public
|
|
2138
|
+
*/
|
|
2139
|
+
dataDeletionJobArn: string | undefined;
|
|
2140
|
+
}
|
|
2141
|
+
/**
|
|
2142
|
+
* <p>Describes a job that deletes all
|
|
2143
|
+
* references to specific users from an Amazon Personalize dataset group in batches. For information about creating a data deletion job,
|
|
2144
|
+
* see <a href="https://docs.aws.amazon.com/personalize/latest/dg/delete-records.html">Deleting users</a>.</p>
|
|
2145
|
+
* @public
|
|
2146
|
+
*/
|
|
2147
|
+
export interface DataDeletionJob {
|
|
2148
|
+
/**
|
|
2149
|
+
* <p>The name of the data deletion job.</p>
|
|
2150
|
+
* @public
|
|
2151
|
+
*/
|
|
2152
|
+
jobName?: string;
|
|
2153
|
+
/**
|
|
2154
|
+
* <p>The Amazon Resource Name (ARN) of the data deletion job.</p>
|
|
2155
|
+
* @public
|
|
2156
|
+
*/
|
|
2157
|
+
dataDeletionJobArn?: string;
|
|
2158
|
+
/**
|
|
2159
|
+
* <p>The Amazon Resource Name (ARN) of the dataset group the job deletes records from.</p>
|
|
2160
|
+
* @public
|
|
2161
|
+
*/
|
|
2162
|
+
datasetGroupArn?: string;
|
|
2163
|
+
/**
|
|
2164
|
+
* <p>Describes the data source that contains the data to upload to a dataset, or the list of
|
|
2165
|
+
* records to delete from Amazon Personalize.</p>
|
|
2166
|
+
* @public
|
|
2167
|
+
*/
|
|
2168
|
+
dataSource?: DataSource;
|
|
2169
|
+
/**
|
|
2170
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role that has permissions to read from the Amazon S3
|
|
2171
|
+
* data source.</p>
|
|
2172
|
+
* @public
|
|
2173
|
+
*/
|
|
2174
|
+
roleArn?: string;
|
|
2175
|
+
/**
|
|
2176
|
+
* <p>The status of the data deletion job.</p>
|
|
2177
|
+
* <p>A data deletion job can have one of the following statuses:</p>
|
|
2178
|
+
* <ul>
|
|
2179
|
+
* <li>
|
|
2180
|
+
* <p>PENDING > IN_PROGRESS > COMPLETED -or- FAILED</p>
|
|
2181
|
+
* </li>
|
|
2182
|
+
* </ul>
|
|
2183
|
+
* @public
|
|
2184
|
+
*/
|
|
2185
|
+
status?: string;
|
|
2186
|
+
/**
|
|
2187
|
+
* <p>The number of records deleted by a COMPLETED job.</p>
|
|
2188
|
+
* @public
|
|
2189
|
+
*/
|
|
2190
|
+
numDeleted?: number;
|
|
2191
|
+
/**
|
|
2192
|
+
* <p>The creation date and time (in Unix time) of the data deletion
|
|
2193
|
+
* job.</p>
|
|
2194
|
+
* @public
|
|
2195
|
+
*/
|
|
2196
|
+
creationDateTime?: Date;
|
|
2197
|
+
/**
|
|
2198
|
+
* <p>The date and time (in Unix time) the data deletion job was last updated.</p>
|
|
2199
|
+
* @public
|
|
2200
|
+
*/
|
|
2201
|
+
lastUpdatedDateTime?: Date;
|
|
2202
|
+
/**
|
|
2203
|
+
* <p>If a data deletion job fails, provides the reason why.</p>
|
|
2204
|
+
* @public
|
|
2205
|
+
*/
|
|
2206
|
+
failureReason?: string;
|
|
2207
|
+
}
|
|
2208
|
+
/**
|
|
2209
|
+
* @public
|
|
2210
|
+
*/
|
|
2211
|
+
export interface DescribeDataDeletionJobResponse {
|
|
2212
|
+
/**
|
|
2213
|
+
* <p>Information about the data deletion job, including the status.</p>
|
|
2214
|
+
* <p>The status is one of the following values:</p>
|
|
2215
|
+
* <ul>
|
|
2216
|
+
* <li>
|
|
2217
|
+
* <p>PENDING</p>
|
|
2218
|
+
* </li>
|
|
2219
|
+
* <li>
|
|
2220
|
+
* <p>IN_PROGRESS</p>
|
|
2221
|
+
* </li>
|
|
2222
|
+
* <li>
|
|
2223
|
+
* <p>COMPLETED</p>
|
|
2224
|
+
* </li>
|
|
2225
|
+
* <li>
|
|
2226
|
+
* <p>FAILED</p>
|
|
2227
|
+
* </li>
|
|
2228
|
+
* </ul>
|
|
2229
|
+
* @public
|
|
2230
|
+
*/
|
|
2231
|
+
dataDeletionJob?: DataDeletionJob;
|
|
2232
|
+
}
|
|
2080
2233
|
/**
|
|
2081
2234
|
* @public
|
|
2082
2235
|
*/
|
|
@@ -3778,6 +3931,92 @@ export interface ListCampaignsResponse {
|
|
|
3778
3931
|
*/
|
|
3779
3932
|
nextToken?: string;
|
|
3780
3933
|
}
|
|
3934
|
+
/**
|
|
3935
|
+
* @public
|
|
3936
|
+
*/
|
|
3937
|
+
export interface ListDataDeletionJobsRequest {
|
|
3938
|
+
/**
|
|
3939
|
+
* <p>The Amazon Resource Name (ARN) of the dataset group to list data deletion jobs for.</p>
|
|
3940
|
+
* @public
|
|
3941
|
+
*/
|
|
3942
|
+
datasetGroupArn?: string;
|
|
3943
|
+
/**
|
|
3944
|
+
* <p>A token returned from the previous call to
|
|
3945
|
+
* <code>ListDataDeletionJobs</code> for getting the next set of jobs (if they exist).</p>
|
|
3946
|
+
* @public
|
|
3947
|
+
*/
|
|
3948
|
+
nextToken?: string;
|
|
3949
|
+
/**
|
|
3950
|
+
* <p>The maximum number of data deletion jobs to return.</p>
|
|
3951
|
+
* @public
|
|
3952
|
+
*/
|
|
3953
|
+
maxResults?: number;
|
|
3954
|
+
}
|
|
3955
|
+
/**
|
|
3956
|
+
* <p>Provides a summary of the properties of a data deletion job. For a complete listing, call the <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeDataDeletionJob.html">DescribeDataDeletionJob</a>
|
|
3957
|
+
* API operation.</p>
|
|
3958
|
+
* @public
|
|
3959
|
+
*/
|
|
3960
|
+
export interface DataDeletionJobSummary {
|
|
3961
|
+
/**
|
|
3962
|
+
* <p>The Amazon Resource Name (ARN) of the data deletion job.</p>
|
|
3963
|
+
* @public
|
|
3964
|
+
*/
|
|
3965
|
+
dataDeletionJobArn?: string;
|
|
3966
|
+
/**
|
|
3967
|
+
* <p>The Amazon Resource Name (ARN) of the dataset group the job deleted records from.</p>
|
|
3968
|
+
* @public
|
|
3969
|
+
*/
|
|
3970
|
+
datasetGroupArn?: string;
|
|
3971
|
+
/**
|
|
3972
|
+
* <p>The name of the data deletion job.</p>
|
|
3973
|
+
* @public
|
|
3974
|
+
*/
|
|
3975
|
+
jobName?: string;
|
|
3976
|
+
/**
|
|
3977
|
+
* <p>The status of the data deletion job.</p>
|
|
3978
|
+
* <p>A data deletion job can have one of the following statuses:</p>
|
|
3979
|
+
* <ul>
|
|
3980
|
+
* <li>
|
|
3981
|
+
* <p>PENDING > IN_PROGRESS > COMPLETED -or- FAILED</p>
|
|
3982
|
+
* </li>
|
|
3983
|
+
* </ul>
|
|
3984
|
+
* @public
|
|
3985
|
+
*/
|
|
3986
|
+
status?: string;
|
|
3987
|
+
/**
|
|
3988
|
+
* <p>The creation date and time (in Unix time) of the data deletion
|
|
3989
|
+
* job.</p>
|
|
3990
|
+
* @public
|
|
3991
|
+
*/
|
|
3992
|
+
creationDateTime?: Date;
|
|
3993
|
+
/**
|
|
3994
|
+
* <p>The date and time (in Unix time) the data deletion job was last updated.</p>
|
|
3995
|
+
* @public
|
|
3996
|
+
*/
|
|
3997
|
+
lastUpdatedDateTime?: Date;
|
|
3998
|
+
/**
|
|
3999
|
+
* <p>If a data deletion job fails, provides the reason why.</p>
|
|
4000
|
+
* @public
|
|
4001
|
+
*/
|
|
4002
|
+
failureReason?: string;
|
|
4003
|
+
}
|
|
4004
|
+
/**
|
|
4005
|
+
* @public
|
|
4006
|
+
*/
|
|
4007
|
+
export interface ListDataDeletionJobsResponse {
|
|
4008
|
+
/**
|
|
4009
|
+
* <p>The list of data deletion jobs.</p>
|
|
4010
|
+
* @public
|
|
4011
|
+
*/
|
|
4012
|
+
dataDeletionJobs?: DataDeletionJobSummary[];
|
|
4013
|
+
/**
|
|
4014
|
+
* <p>A token for getting the next set of data deletion jobs (if they
|
|
4015
|
+
* exist).</p>
|
|
4016
|
+
* @public
|
|
4017
|
+
*/
|
|
4018
|
+
nextToken?: string;
|
|
4019
|
+
}
|
|
3781
4020
|
/**
|
|
3782
4021
|
* @public
|
|
3783
4022
|
*/
|
|
@@ -3,6 +3,7 @@ import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
|
3
3
|
import { CreateBatchInferenceJobCommandInput, CreateBatchInferenceJobCommandOutput } from "../commands/CreateBatchInferenceJobCommand";
|
|
4
4
|
import { CreateBatchSegmentJobCommandInput, CreateBatchSegmentJobCommandOutput } from "../commands/CreateBatchSegmentJobCommand";
|
|
5
5
|
import { CreateCampaignCommandInput, CreateCampaignCommandOutput } from "../commands/CreateCampaignCommand";
|
|
6
|
+
import { CreateDataDeletionJobCommandInput, CreateDataDeletionJobCommandOutput } from "../commands/CreateDataDeletionJobCommand";
|
|
6
7
|
import { CreateDatasetCommandInput, CreateDatasetCommandOutput } from "../commands/CreateDatasetCommand";
|
|
7
8
|
import { CreateDatasetExportJobCommandInput, CreateDatasetExportJobCommandOutput } from "../commands/CreateDatasetExportJobCommand";
|
|
8
9
|
import { CreateDatasetGroupCommandInput, CreateDatasetGroupCommandOutput } from "../commands/CreateDatasetGroupCommand";
|
|
@@ -27,6 +28,7 @@ import { DescribeAlgorithmCommandInput, DescribeAlgorithmCommandOutput } from ".
|
|
|
27
28
|
import { DescribeBatchInferenceJobCommandInput, DescribeBatchInferenceJobCommandOutput } from "../commands/DescribeBatchInferenceJobCommand";
|
|
28
29
|
import { DescribeBatchSegmentJobCommandInput, DescribeBatchSegmentJobCommandOutput } from "../commands/DescribeBatchSegmentJobCommand";
|
|
29
30
|
import { DescribeCampaignCommandInput, DescribeCampaignCommandOutput } from "../commands/DescribeCampaignCommand";
|
|
31
|
+
import { DescribeDataDeletionJobCommandInput, DescribeDataDeletionJobCommandOutput } from "../commands/DescribeDataDeletionJobCommand";
|
|
30
32
|
import { DescribeDatasetCommandInput, DescribeDatasetCommandOutput } from "../commands/DescribeDatasetCommand";
|
|
31
33
|
import { DescribeDatasetExportJobCommandInput, DescribeDatasetExportJobCommandOutput } from "../commands/DescribeDatasetExportJobCommand";
|
|
32
34
|
import { DescribeDatasetGroupCommandInput, DescribeDatasetGroupCommandOutput } from "../commands/DescribeDatasetGroupCommand";
|
|
@@ -44,6 +46,7 @@ import { GetSolutionMetricsCommandInput, GetSolutionMetricsCommandOutput } from
|
|
|
44
46
|
import { ListBatchInferenceJobsCommandInput, ListBatchInferenceJobsCommandOutput } from "../commands/ListBatchInferenceJobsCommand";
|
|
45
47
|
import { ListBatchSegmentJobsCommandInput, ListBatchSegmentJobsCommandOutput } from "../commands/ListBatchSegmentJobsCommand";
|
|
46
48
|
import { ListCampaignsCommandInput, ListCampaignsCommandOutput } from "../commands/ListCampaignsCommand";
|
|
49
|
+
import { ListDataDeletionJobsCommandInput, ListDataDeletionJobsCommandOutput } from "../commands/ListDataDeletionJobsCommand";
|
|
47
50
|
import { ListDatasetExportJobsCommandInput, ListDatasetExportJobsCommandOutput } from "../commands/ListDatasetExportJobsCommand";
|
|
48
51
|
import { ListDatasetGroupsCommandInput, ListDatasetGroupsCommandOutput } from "../commands/ListDatasetGroupsCommand";
|
|
49
52
|
import { ListDatasetImportJobsCommandInput, ListDatasetImportJobsCommandOutput } from "../commands/ListDatasetImportJobsCommand";
|
|
@@ -79,6 +82,10 @@ export declare const se_CreateBatchSegmentJobCommand: (input: CreateBatchSegment
|
|
|
79
82
|
* serializeAws_json1_1CreateCampaignCommand
|
|
80
83
|
*/
|
|
81
84
|
export declare const se_CreateCampaignCommand: (input: CreateCampaignCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
85
|
+
/**
|
|
86
|
+
* serializeAws_json1_1CreateDataDeletionJobCommand
|
|
87
|
+
*/
|
|
88
|
+
export declare const se_CreateDataDeletionJobCommand: (input: CreateDataDeletionJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
82
89
|
/**
|
|
83
90
|
* serializeAws_json1_1CreateDatasetCommand
|
|
84
91
|
*/
|
|
@@ -175,6 +182,10 @@ export declare const se_DescribeBatchSegmentJobCommand: (input: DescribeBatchSeg
|
|
|
175
182
|
* serializeAws_json1_1DescribeCampaignCommand
|
|
176
183
|
*/
|
|
177
184
|
export declare const se_DescribeCampaignCommand: (input: DescribeCampaignCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
185
|
+
/**
|
|
186
|
+
* serializeAws_json1_1DescribeDataDeletionJobCommand
|
|
187
|
+
*/
|
|
188
|
+
export declare const se_DescribeDataDeletionJobCommand: (input: DescribeDataDeletionJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
178
189
|
/**
|
|
179
190
|
* serializeAws_json1_1DescribeDatasetCommand
|
|
180
191
|
*/
|
|
@@ -243,6 +254,10 @@ export declare const se_ListBatchSegmentJobsCommand: (input: ListBatchSegmentJob
|
|
|
243
254
|
* serializeAws_json1_1ListCampaignsCommand
|
|
244
255
|
*/
|
|
245
256
|
export declare const se_ListCampaignsCommand: (input: ListCampaignsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
257
|
+
/**
|
|
258
|
+
* serializeAws_json1_1ListDataDeletionJobsCommand
|
|
259
|
+
*/
|
|
260
|
+
export declare const se_ListDataDeletionJobsCommand: (input: ListDataDeletionJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
246
261
|
/**
|
|
247
262
|
* serializeAws_json1_1ListDatasetExportJobsCommand
|
|
248
263
|
*/
|
|
@@ -347,6 +362,10 @@ export declare const de_CreateBatchSegmentJobCommand: (output: __HttpResponse, c
|
|
|
347
362
|
* deserializeAws_json1_1CreateCampaignCommand
|
|
348
363
|
*/
|
|
349
364
|
export declare const de_CreateCampaignCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateCampaignCommandOutput>;
|
|
365
|
+
/**
|
|
366
|
+
* deserializeAws_json1_1CreateDataDeletionJobCommand
|
|
367
|
+
*/
|
|
368
|
+
export declare const de_CreateDataDeletionJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateDataDeletionJobCommandOutput>;
|
|
350
369
|
/**
|
|
351
370
|
* deserializeAws_json1_1CreateDatasetCommand
|
|
352
371
|
*/
|
|
@@ -443,6 +462,10 @@ export declare const de_DescribeBatchSegmentJobCommand: (output: __HttpResponse,
|
|
|
443
462
|
* deserializeAws_json1_1DescribeCampaignCommand
|
|
444
463
|
*/
|
|
445
464
|
export declare const de_DescribeCampaignCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeCampaignCommandOutput>;
|
|
465
|
+
/**
|
|
466
|
+
* deserializeAws_json1_1DescribeDataDeletionJobCommand
|
|
467
|
+
*/
|
|
468
|
+
export declare const de_DescribeDataDeletionJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeDataDeletionJobCommandOutput>;
|
|
446
469
|
/**
|
|
447
470
|
* deserializeAws_json1_1DescribeDatasetCommand
|
|
448
471
|
*/
|
|
@@ -511,6 +534,10 @@ export declare const de_ListBatchSegmentJobsCommand: (output: __HttpResponse, co
|
|
|
511
534
|
* deserializeAws_json1_1ListCampaignsCommand
|
|
512
535
|
*/
|
|
513
536
|
export declare const de_ListCampaignsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCampaignsCommandOutput>;
|
|
537
|
+
/**
|
|
538
|
+
* deserializeAws_json1_1ListDataDeletionJobsCommand
|
|
539
|
+
*/
|
|
540
|
+
export declare const de_ListDataDeletionJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDataDeletionJobsCommandOutput>;
|
|
514
541
|
/**
|
|
515
542
|
* deserializeAws_json1_1ListDatasetExportJobsCommand
|
|
516
543
|
*/
|
|
@@ -11,6 +11,10 @@ import {
|
|
|
11
11
|
CreateCampaignCommandInput,
|
|
12
12
|
CreateCampaignCommandOutput,
|
|
13
13
|
} from "./commands/CreateCampaignCommand";
|
|
14
|
+
import {
|
|
15
|
+
CreateDataDeletionJobCommandInput,
|
|
16
|
+
CreateDataDeletionJobCommandOutput,
|
|
17
|
+
} from "./commands/CreateDataDeletionJobCommand";
|
|
14
18
|
import {
|
|
15
19
|
CreateDatasetCommandInput,
|
|
16
20
|
CreateDatasetCommandOutput,
|
|
@@ -107,6 +111,10 @@ import {
|
|
|
107
111
|
DescribeCampaignCommandInput,
|
|
108
112
|
DescribeCampaignCommandOutput,
|
|
109
113
|
} from "./commands/DescribeCampaignCommand";
|
|
114
|
+
import {
|
|
115
|
+
DescribeDataDeletionJobCommandInput,
|
|
116
|
+
DescribeDataDeletionJobCommandOutput,
|
|
117
|
+
} from "./commands/DescribeDataDeletionJobCommand";
|
|
110
118
|
import {
|
|
111
119
|
DescribeDatasetCommandInput,
|
|
112
120
|
DescribeDatasetCommandOutput,
|
|
@@ -175,6 +183,10 @@ import {
|
|
|
175
183
|
ListCampaignsCommandInput,
|
|
176
184
|
ListCampaignsCommandOutput,
|
|
177
185
|
} from "./commands/ListCampaignsCommand";
|
|
186
|
+
import {
|
|
187
|
+
ListDataDeletionJobsCommandInput,
|
|
188
|
+
ListDataDeletionJobsCommandOutput,
|
|
189
|
+
} from "./commands/ListDataDeletionJobsCommand";
|
|
178
190
|
import {
|
|
179
191
|
ListDatasetExportJobsCommandInput,
|
|
180
192
|
ListDatasetExportJobsCommandOutput,
|
|
@@ -308,6 +320,19 @@ export interface Personalize {
|
|
|
308
320
|
options: __HttpHandlerOptions,
|
|
309
321
|
cb: (err: any, data?: CreateCampaignCommandOutput) => void
|
|
310
322
|
): void;
|
|
323
|
+
createDataDeletionJob(
|
|
324
|
+
args: CreateDataDeletionJobCommandInput,
|
|
325
|
+
options?: __HttpHandlerOptions
|
|
326
|
+
): Promise<CreateDataDeletionJobCommandOutput>;
|
|
327
|
+
createDataDeletionJob(
|
|
328
|
+
args: CreateDataDeletionJobCommandInput,
|
|
329
|
+
cb: (err: any, data?: CreateDataDeletionJobCommandOutput) => void
|
|
330
|
+
): void;
|
|
331
|
+
createDataDeletionJob(
|
|
332
|
+
args: CreateDataDeletionJobCommandInput,
|
|
333
|
+
options: __HttpHandlerOptions,
|
|
334
|
+
cb: (err: any, data?: CreateDataDeletionJobCommandOutput) => void
|
|
335
|
+
): void;
|
|
311
336
|
createDataset(
|
|
312
337
|
args: CreateDatasetCommandInput,
|
|
313
338
|
options?: __HttpHandlerOptions
|
|
@@ -620,6 +645,19 @@ export interface Personalize {
|
|
|
620
645
|
options: __HttpHandlerOptions,
|
|
621
646
|
cb: (err: any, data?: DescribeCampaignCommandOutput) => void
|
|
622
647
|
): void;
|
|
648
|
+
describeDataDeletionJob(
|
|
649
|
+
args: DescribeDataDeletionJobCommandInput,
|
|
650
|
+
options?: __HttpHandlerOptions
|
|
651
|
+
): Promise<DescribeDataDeletionJobCommandOutput>;
|
|
652
|
+
describeDataDeletionJob(
|
|
653
|
+
args: DescribeDataDeletionJobCommandInput,
|
|
654
|
+
cb: (err: any, data?: DescribeDataDeletionJobCommandOutput) => void
|
|
655
|
+
): void;
|
|
656
|
+
describeDataDeletionJob(
|
|
657
|
+
args: DescribeDataDeletionJobCommandInput,
|
|
658
|
+
options: __HttpHandlerOptions,
|
|
659
|
+
cb: (err: any, data?: DescribeDataDeletionJobCommandOutput) => void
|
|
660
|
+
): void;
|
|
623
661
|
describeDataset(
|
|
624
662
|
args: DescribeDatasetCommandInput,
|
|
625
663
|
options?: __HttpHandlerOptions
|
|
@@ -844,6 +882,20 @@ export interface Personalize {
|
|
|
844
882
|
options: __HttpHandlerOptions,
|
|
845
883
|
cb: (err: any, data?: ListCampaignsCommandOutput) => void
|
|
846
884
|
): void;
|
|
885
|
+
listDataDeletionJobs(): Promise<ListDataDeletionJobsCommandOutput>;
|
|
886
|
+
listDataDeletionJobs(
|
|
887
|
+
args: ListDataDeletionJobsCommandInput,
|
|
888
|
+
options?: __HttpHandlerOptions
|
|
889
|
+
): Promise<ListDataDeletionJobsCommandOutput>;
|
|
890
|
+
listDataDeletionJobs(
|
|
891
|
+
args: ListDataDeletionJobsCommandInput,
|
|
892
|
+
cb: (err: any, data?: ListDataDeletionJobsCommandOutput) => void
|
|
893
|
+
): void;
|
|
894
|
+
listDataDeletionJobs(
|
|
895
|
+
args: ListDataDeletionJobsCommandInput,
|
|
896
|
+
options: __HttpHandlerOptions,
|
|
897
|
+
cb: (err: any, data?: ListDataDeletionJobsCommandOutput) => void
|
|
898
|
+
): void;
|
|
847
899
|
listDatasetExportJobs(): Promise<ListDatasetExportJobsCommandOutput>;
|
|
848
900
|
listDatasetExportJobs(
|
|
849
901
|
args: ListDatasetExportJobsCommandInput,
|
|
@@ -57,6 +57,10 @@ import {
|
|
|
57
57
|
CreateCampaignCommandInput,
|
|
58
58
|
CreateCampaignCommandOutput,
|
|
59
59
|
} from "./commands/CreateCampaignCommand";
|
|
60
|
+
import {
|
|
61
|
+
CreateDataDeletionJobCommandInput,
|
|
62
|
+
CreateDataDeletionJobCommandOutput,
|
|
63
|
+
} from "./commands/CreateDataDeletionJobCommand";
|
|
60
64
|
import {
|
|
61
65
|
CreateDatasetCommandInput,
|
|
62
66
|
CreateDatasetCommandOutput,
|
|
@@ -153,6 +157,10 @@ import {
|
|
|
153
157
|
DescribeCampaignCommandInput,
|
|
154
158
|
DescribeCampaignCommandOutput,
|
|
155
159
|
} from "./commands/DescribeCampaignCommand";
|
|
160
|
+
import {
|
|
161
|
+
DescribeDataDeletionJobCommandInput,
|
|
162
|
+
DescribeDataDeletionJobCommandOutput,
|
|
163
|
+
} from "./commands/DescribeDataDeletionJobCommand";
|
|
156
164
|
import {
|
|
157
165
|
DescribeDatasetCommandInput,
|
|
158
166
|
DescribeDatasetCommandOutput,
|
|
@@ -221,6 +229,10 @@ import {
|
|
|
221
229
|
ListCampaignsCommandInput,
|
|
222
230
|
ListCampaignsCommandOutput,
|
|
223
231
|
} from "./commands/ListCampaignsCommand";
|
|
232
|
+
import {
|
|
233
|
+
ListDataDeletionJobsCommandInput,
|
|
234
|
+
ListDataDeletionJobsCommandOutput,
|
|
235
|
+
} from "./commands/ListDataDeletionJobsCommand";
|
|
224
236
|
import {
|
|
225
237
|
ListDatasetExportJobsCommandInput,
|
|
226
238
|
ListDatasetExportJobsCommandOutput,
|
|
@@ -324,6 +336,7 @@ export type ServiceInputTypes =
|
|
|
324
336
|
| CreateBatchInferenceJobCommandInput
|
|
325
337
|
| CreateBatchSegmentJobCommandInput
|
|
326
338
|
| CreateCampaignCommandInput
|
|
339
|
+
| CreateDataDeletionJobCommandInput
|
|
327
340
|
| CreateDatasetCommandInput
|
|
328
341
|
| CreateDatasetExportJobCommandInput
|
|
329
342
|
| CreateDatasetGroupCommandInput
|
|
@@ -348,6 +361,7 @@ export type ServiceInputTypes =
|
|
|
348
361
|
| DescribeBatchInferenceJobCommandInput
|
|
349
362
|
| DescribeBatchSegmentJobCommandInput
|
|
350
363
|
| DescribeCampaignCommandInput
|
|
364
|
+
| DescribeDataDeletionJobCommandInput
|
|
351
365
|
| DescribeDatasetCommandInput
|
|
352
366
|
| DescribeDatasetExportJobCommandInput
|
|
353
367
|
| DescribeDatasetGroupCommandInput
|
|
@@ -365,6 +379,7 @@ export type ServiceInputTypes =
|
|
|
365
379
|
| ListBatchInferenceJobsCommandInput
|
|
366
380
|
| ListBatchSegmentJobsCommandInput
|
|
367
381
|
| ListCampaignsCommandInput
|
|
382
|
+
| ListDataDeletionJobsCommandInput
|
|
368
383
|
| ListDatasetExportJobsCommandInput
|
|
369
384
|
| ListDatasetGroupsCommandInput
|
|
370
385
|
| ListDatasetImportJobsCommandInput
|
|
@@ -392,6 +407,7 @@ export type ServiceOutputTypes =
|
|
|
392
407
|
| CreateBatchInferenceJobCommandOutput
|
|
393
408
|
| CreateBatchSegmentJobCommandOutput
|
|
394
409
|
| CreateCampaignCommandOutput
|
|
410
|
+
| CreateDataDeletionJobCommandOutput
|
|
395
411
|
| CreateDatasetCommandOutput
|
|
396
412
|
| CreateDatasetExportJobCommandOutput
|
|
397
413
|
| CreateDatasetGroupCommandOutput
|
|
@@ -416,6 +432,7 @@ export type ServiceOutputTypes =
|
|
|
416
432
|
| DescribeBatchInferenceJobCommandOutput
|
|
417
433
|
| DescribeBatchSegmentJobCommandOutput
|
|
418
434
|
| DescribeCampaignCommandOutput
|
|
435
|
+
| DescribeDataDeletionJobCommandOutput
|
|
419
436
|
| DescribeDatasetCommandOutput
|
|
420
437
|
| DescribeDatasetExportJobCommandOutput
|
|
421
438
|
| DescribeDatasetGroupCommandOutput
|
|
@@ -433,6 +450,7 @@ export type ServiceOutputTypes =
|
|
|
433
450
|
| ListBatchInferenceJobsCommandOutput
|
|
434
451
|
| ListBatchSegmentJobsCommandOutput
|
|
435
452
|
| ListCampaignsCommandOutput
|
|
453
|
+
| ListDataDeletionJobsCommandOutput
|
|
436
454
|
| ListDatasetExportJobsCommandOutput
|
|
437
455
|
| ListDatasetGroupsCommandOutput
|
|
438
456
|
| ListDatasetImportJobsCommandOutput
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CreateDataDeletionJobRequest,
|
|
5
|
+
CreateDataDeletionJobResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
PersonalizeClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../PersonalizeClient";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface CreateDataDeletionJobCommandInput
|
|
14
|
+
extends CreateDataDeletionJobRequest {}
|
|
15
|
+
export interface CreateDataDeletionJobCommandOutput
|
|
16
|
+
extends CreateDataDeletionJobResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const CreateDataDeletionJobCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: CreateDataDeletionJobCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
CreateDataDeletionJobCommandInput,
|
|
23
|
+
CreateDataDeletionJobCommandOutput,
|
|
24
|
+
PersonalizeClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: CreateDataDeletionJobCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
CreateDataDeletionJobCommandInput,
|
|
32
|
+
CreateDataDeletionJobCommandOutput,
|
|
33
|
+
PersonalizeClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class CreateDataDeletionJobCommand extends CreateDataDeletionJobCommand_base {}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DescribeDataDeletionJobRequest,
|
|
5
|
+
DescribeDataDeletionJobResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
PersonalizeClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../PersonalizeClient";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface DescribeDataDeletionJobCommandInput
|
|
14
|
+
extends DescribeDataDeletionJobRequest {}
|
|
15
|
+
export interface DescribeDataDeletionJobCommandOutput
|
|
16
|
+
extends DescribeDataDeletionJobResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const DescribeDataDeletionJobCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: DescribeDataDeletionJobCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
DescribeDataDeletionJobCommandInput,
|
|
23
|
+
DescribeDataDeletionJobCommandOutput,
|
|
24
|
+
PersonalizeClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: DescribeDataDeletionJobCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
DescribeDataDeletionJobCommandInput,
|
|
32
|
+
DescribeDataDeletionJobCommandOutput,
|
|
33
|
+
PersonalizeClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class DescribeDataDeletionJobCommand extends DescribeDataDeletionJobCommand_base {}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ListDataDeletionJobsRequest,
|
|
5
|
+
ListDataDeletionJobsResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
PersonalizeClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../PersonalizeClient";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface ListDataDeletionJobsCommandInput
|
|
14
|
+
extends ListDataDeletionJobsRequest {}
|
|
15
|
+
export interface ListDataDeletionJobsCommandOutput
|
|
16
|
+
extends ListDataDeletionJobsResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const ListDataDeletionJobsCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: ListDataDeletionJobsCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
ListDataDeletionJobsCommandInput,
|
|
23
|
+
ListDataDeletionJobsCommandOutput,
|
|
24
|
+
PersonalizeClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
...[input]: [] | [ListDataDeletionJobsCommandInput]
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
ListDataDeletionJobsCommandInput,
|
|
32
|
+
ListDataDeletionJobsCommandOutput,
|
|
33
|
+
PersonalizeClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class ListDataDeletionJobsCommand extends ListDataDeletionJobsCommand_base {}
|