@aws-sdk/client-sagemaker-featurestore-runtime 3.422.1 → 3.423.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-types/ts3.4/SageMakerFeatureStoreRuntime.d.ts +75 -64
- package/dist-types/ts3.4/SageMakerFeatureStoreRuntimeClient.d.ts +145 -197
- package/dist-types/ts3.4/commands/BatchGetRecordCommand.d.ts +38 -131
- package/dist-types/ts3.4/commands/DeleteRecordCommand.d.ts +33 -115
- package/dist-types/ts3.4/commands/GetRecordCommand.d.ts +35 -105
- package/dist-types/ts3.4/commands/PutRecordCommand.d.ts +33 -115
- package/dist-types/ts3.4/commands/index.d.ts +4 -4
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -22
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -5
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
- package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -8
- package/dist-types/ts3.4/index.d.ts +6 -37
- package/dist-types/ts3.4/models/SageMakerFeatureStoreRuntimeServiceException.d.ts +8 -13
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +115 -410
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +53 -38
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +99 -46
- package/dist-types/ts3.4/runtimeConfig.d.ts +99 -46
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +90 -45
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -19
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -17
- package/package.json +3 -3
|
@@ -1,410 +1,115 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { SageMakerFeatureStoreRuntimeServiceException as __BaseException } from "./SageMakerFeatureStoreRuntimeServiceException";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
export
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
export interface
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
* <code>String</code>, <code>Integral</code>, or <code>Fractional</code>. This value
|
|
117
|
-
* represents all three types as a string.</p>
|
|
118
|
-
*/
|
|
119
|
-
ValueAsString?: string;
|
|
120
|
-
/**
|
|
121
|
-
* @public
|
|
122
|
-
* <p>The list of values in string format associated with a feature. Used when your
|
|
123
|
-
* <code>CollectionType</code> is a <code>List</code>, <code>Set</code>, or
|
|
124
|
-
* <code>Vector</code>. Note that features types can be <code>String</code>,
|
|
125
|
-
* <code>Integral</code>, or <code>Fractional</code>. These values represents all three
|
|
126
|
-
* types as a string.</p>
|
|
127
|
-
*/
|
|
128
|
-
ValueAsStringList?: string[];
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* @public
|
|
132
|
-
* <p>The output of records that have been retrieved in a batch.</p>
|
|
133
|
-
*/
|
|
134
|
-
export interface BatchGetRecordResultDetail {
|
|
135
|
-
/**
|
|
136
|
-
* @public
|
|
137
|
-
* <p>The <code>FeatureGroupName</code> containing Records you retrieved in a batch.</p>
|
|
138
|
-
*/
|
|
139
|
-
FeatureGroupName: string | undefined;
|
|
140
|
-
/**
|
|
141
|
-
* @public
|
|
142
|
-
* <p>The value of the record identifier in string format.</p>
|
|
143
|
-
*/
|
|
144
|
-
RecordIdentifierValueAsString: string | undefined;
|
|
145
|
-
/**
|
|
146
|
-
* @public
|
|
147
|
-
* <p>The <code>Record</code> retrieved.</p>
|
|
148
|
-
*/
|
|
149
|
-
Record: FeatureValue[] | undefined;
|
|
150
|
-
/**
|
|
151
|
-
* @public
|
|
152
|
-
* <p>The <code>ExpiresAt</code> ISO string of the requested record.</p>
|
|
153
|
-
*/
|
|
154
|
-
ExpiresAt?: string;
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
* @public
|
|
158
|
-
*/
|
|
159
|
-
export interface BatchGetRecordResponse {
|
|
160
|
-
/**
|
|
161
|
-
* @public
|
|
162
|
-
* <p>A list of Records you requested to be retrieved in batch.</p>
|
|
163
|
-
*/
|
|
164
|
-
Records: BatchGetRecordResultDetail[] | undefined;
|
|
165
|
-
/**
|
|
166
|
-
* @public
|
|
167
|
-
* <p>A list of errors that have occurred when retrieving a batch of Records.</p>
|
|
168
|
-
*/
|
|
169
|
-
Errors: BatchGetRecordError[] | undefined;
|
|
170
|
-
/**
|
|
171
|
-
* @public
|
|
172
|
-
* <p>A unprocessed list of <code>FeatureGroup</code> names, with their corresponding
|
|
173
|
-
* <code>RecordIdentifier</code> value, and Feature name.</p>
|
|
174
|
-
*/
|
|
175
|
-
UnprocessedIdentifiers: BatchGetRecordIdentifier[] | undefined;
|
|
176
|
-
}
|
|
177
|
-
/**
|
|
178
|
-
* @public
|
|
179
|
-
* <p>An internal failure occurred. Try your request again. If the problem persists, contact
|
|
180
|
-
* Amazon Web Services customer support.</p>
|
|
181
|
-
*/
|
|
182
|
-
export declare class InternalFailure extends __BaseException {
|
|
183
|
-
readonly name: "InternalFailure";
|
|
184
|
-
readonly $fault: "server";
|
|
185
|
-
Message?: string;
|
|
186
|
-
/**
|
|
187
|
-
* @internal
|
|
188
|
-
*/
|
|
189
|
-
constructor(opts: __ExceptionOptionType<InternalFailure, __BaseException>);
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* @public
|
|
193
|
-
* <p>The service is currently unavailable.</p>
|
|
194
|
-
*/
|
|
195
|
-
export declare class ServiceUnavailable extends __BaseException {
|
|
196
|
-
readonly name: "ServiceUnavailable";
|
|
197
|
-
readonly $fault: "server";
|
|
198
|
-
Message?: string;
|
|
199
|
-
/**
|
|
200
|
-
* @internal
|
|
201
|
-
*/
|
|
202
|
-
constructor(opts: __ExceptionOptionType<ServiceUnavailable, __BaseException>);
|
|
203
|
-
}
|
|
204
|
-
/**
|
|
205
|
-
* @public
|
|
206
|
-
* <p>There was an error validating your request.</p>
|
|
207
|
-
*/
|
|
208
|
-
export declare class ValidationError extends __BaseException {
|
|
209
|
-
readonly name: "ValidationError";
|
|
210
|
-
readonly $fault: "client";
|
|
211
|
-
Message?: string;
|
|
212
|
-
/**
|
|
213
|
-
* @internal
|
|
214
|
-
*/
|
|
215
|
-
constructor(opts: __ExceptionOptionType<ValidationError, __BaseException>);
|
|
216
|
-
}
|
|
217
|
-
/**
|
|
218
|
-
* @public
|
|
219
|
-
* @enum
|
|
220
|
-
*/
|
|
221
|
-
export declare const DeletionMode: {
|
|
222
|
-
readonly HARD_DELETE: "HardDelete";
|
|
223
|
-
readonly SOFT_DELETE: "SoftDelete";
|
|
224
|
-
};
|
|
225
|
-
/**
|
|
226
|
-
* @public
|
|
227
|
-
*/
|
|
228
|
-
export type DeletionMode = (typeof DeletionMode)[keyof typeof DeletionMode];
|
|
229
|
-
/**
|
|
230
|
-
* @public
|
|
231
|
-
* @enum
|
|
232
|
-
*/
|
|
233
|
-
export declare const TargetStore: {
|
|
234
|
-
readonly OFFLINE_STORE: "OfflineStore";
|
|
235
|
-
readonly ONLINE_STORE: "OnlineStore";
|
|
236
|
-
};
|
|
237
|
-
/**
|
|
238
|
-
* @public
|
|
239
|
-
*/
|
|
240
|
-
export type TargetStore = (typeof TargetStore)[keyof typeof TargetStore];
|
|
241
|
-
/**
|
|
242
|
-
* @public
|
|
243
|
-
*/
|
|
244
|
-
export interface DeleteRecordRequest {
|
|
245
|
-
/**
|
|
246
|
-
* @public
|
|
247
|
-
* <p>The name or Amazon Resource Name (ARN) of the feature group to delete the record from.
|
|
248
|
-
* </p>
|
|
249
|
-
*/
|
|
250
|
-
FeatureGroupName: string | undefined;
|
|
251
|
-
/**
|
|
252
|
-
* @public
|
|
253
|
-
* <p>The value for the <code>RecordIdentifier</code> that uniquely identifies the record, in
|
|
254
|
-
* string format. </p>
|
|
255
|
-
*/
|
|
256
|
-
RecordIdentifierValueAsString: string | undefined;
|
|
257
|
-
/**
|
|
258
|
-
* @public
|
|
259
|
-
* <p>Timestamp indicating when the deletion event occurred. <code>EventTime</code> can be
|
|
260
|
-
* used to query data at a certain point in time.</p>
|
|
261
|
-
*/
|
|
262
|
-
EventTime: string | undefined;
|
|
263
|
-
/**
|
|
264
|
-
* @public
|
|
265
|
-
* <p>A list of stores from which you're deleting the record. By default, Feature Store
|
|
266
|
-
* deletes the record from all of the stores that you're using for the
|
|
267
|
-
* <code>FeatureGroup</code>.</p>
|
|
268
|
-
*/
|
|
269
|
-
TargetStores?: (TargetStore | string)[];
|
|
270
|
-
/**
|
|
271
|
-
* @public
|
|
272
|
-
* <p>The name of the deletion mode for deleting the record. By default, the deletion mode is
|
|
273
|
-
* set to <code>SoftDelete</code>.</p>
|
|
274
|
-
*/
|
|
275
|
-
DeletionMode?: DeletionMode | string;
|
|
276
|
-
}
|
|
277
|
-
/**
|
|
278
|
-
* @public
|
|
279
|
-
*/
|
|
280
|
-
export interface GetRecordRequest {
|
|
281
|
-
/**
|
|
282
|
-
* @public
|
|
283
|
-
* <p>The name or Amazon Resource Name (ARN) of the feature group from which you want to
|
|
284
|
-
* retrieve a record.</p>
|
|
285
|
-
*/
|
|
286
|
-
FeatureGroupName: string | undefined;
|
|
287
|
-
/**
|
|
288
|
-
* @public
|
|
289
|
-
* <p>The value that corresponds to <code>RecordIdentifier</code> type and uniquely identifies
|
|
290
|
-
* the record in the <code>FeatureGroup</code>. </p>
|
|
291
|
-
*/
|
|
292
|
-
RecordIdentifierValueAsString: string | undefined;
|
|
293
|
-
/**
|
|
294
|
-
* @public
|
|
295
|
-
* <p>List of names of Features to be retrieved. If not specified, the latest value for all
|
|
296
|
-
* the Features are returned.</p>
|
|
297
|
-
*/
|
|
298
|
-
FeatureNames?: string[];
|
|
299
|
-
/**
|
|
300
|
-
* @public
|
|
301
|
-
* <p>Parameter to request <code>ExpiresAt</code> in response. If <code>Enabled</code>,
|
|
302
|
-
* <code>GetRecord</code> will return the value of <code>ExpiresAt</code>, if it is not
|
|
303
|
-
* null. If <code>Disabled</code> and null, <code>GetRecord</code> will return null.</p>
|
|
304
|
-
*/
|
|
305
|
-
ExpirationTimeResponse?: ExpirationTimeResponse | string;
|
|
306
|
-
}
|
|
307
|
-
/**
|
|
308
|
-
* @public
|
|
309
|
-
*/
|
|
310
|
-
export interface GetRecordResponse {
|
|
311
|
-
/**
|
|
312
|
-
* @public
|
|
313
|
-
* <p>The record you requested. A list of <code>FeatureValues</code>.</p>
|
|
314
|
-
*/
|
|
315
|
-
Record?: FeatureValue[];
|
|
316
|
-
/**
|
|
317
|
-
* @public
|
|
318
|
-
* <p>The <code>ExpiresAt</code> ISO string of the requested record.</p>
|
|
319
|
-
*/
|
|
320
|
-
ExpiresAt?: string;
|
|
321
|
-
}
|
|
322
|
-
/**
|
|
323
|
-
* @public
|
|
324
|
-
* <p>A resource that is required to perform an action was not found.</p>
|
|
325
|
-
*/
|
|
326
|
-
export declare class ResourceNotFound extends __BaseException {
|
|
327
|
-
readonly name: "ResourceNotFound";
|
|
328
|
-
readonly $fault: "client";
|
|
329
|
-
Message?: string;
|
|
330
|
-
/**
|
|
331
|
-
* @internal
|
|
332
|
-
*/
|
|
333
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFound, __BaseException>);
|
|
334
|
-
}
|
|
335
|
-
/**
|
|
336
|
-
* @public
|
|
337
|
-
* @enum
|
|
338
|
-
*/
|
|
339
|
-
export declare const TtlDurationUnit: {
|
|
340
|
-
readonly DAYS: "Days";
|
|
341
|
-
readonly HOURS: "Hours";
|
|
342
|
-
readonly MINUTES: "Minutes";
|
|
343
|
-
readonly SECONDS: "Seconds";
|
|
344
|
-
readonly WEEKS: "Weeks";
|
|
345
|
-
};
|
|
346
|
-
/**
|
|
347
|
-
* @public
|
|
348
|
-
*/
|
|
349
|
-
export type TtlDurationUnit = (typeof TtlDurationUnit)[keyof typeof TtlDurationUnit];
|
|
350
|
-
/**
|
|
351
|
-
* @public
|
|
352
|
-
* <p>Time to live duration, where the record is hard deleted after the expiration time is
|
|
353
|
-
* reached; <code>ExpiresAt</code> = <code>EventTime</code> + <code>TtlDuration</code>. For
|
|
354
|
-
* information on HardDelete, see the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_feature_store_DeleteRecord.html">DeleteRecord</a> API in the Amazon SageMaker API Reference guide.</p>
|
|
355
|
-
*/
|
|
356
|
-
export interface TtlDuration {
|
|
357
|
-
/**
|
|
358
|
-
* @public
|
|
359
|
-
* <p>
|
|
360
|
-
* <code>TtlDuration</code> time unit.</p>
|
|
361
|
-
*/
|
|
362
|
-
Unit: TtlDurationUnit | string | undefined;
|
|
363
|
-
/**
|
|
364
|
-
* @public
|
|
365
|
-
* <p>
|
|
366
|
-
* <code>TtlDuration</code> time value.</p>
|
|
367
|
-
*/
|
|
368
|
-
Value: number | undefined;
|
|
369
|
-
}
|
|
370
|
-
/**
|
|
371
|
-
* @public
|
|
372
|
-
*/
|
|
373
|
-
export interface PutRecordRequest {
|
|
374
|
-
/**
|
|
375
|
-
* @public
|
|
376
|
-
* <p>The name or Amazon Resource Name (ARN) of the feature group that you want to insert the
|
|
377
|
-
* record into.</p>
|
|
378
|
-
*/
|
|
379
|
-
FeatureGroupName: string | undefined;
|
|
380
|
-
/**
|
|
381
|
-
* @public
|
|
382
|
-
* <p>List of FeatureValues to be inserted. This will be a full over-write. If you only want
|
|
383
|
-
* to update few of the feature values, do the following:</p>
|
|
384
|
-
* <ul>
|
|
385
|
-
* <li>
|
|
386
|
-
* <p>Use <code>GetRecord</code> to retrieve the latest record.</p>
|
|
387
|
-
* </li>
|
|
388
|
-
* <li>
|
|
389
|
-
* <p>Update the record returned from <code>GetRecord</code>. </p>
|
|
390
|
-
* </li>
|
|
391
|
-
* <li>
|
|
392
|
-
* <p>Use <code>PutRecord</code> to update feature values.</p>
|
|
393
|
-
* </li>
|
|
394
|
-
* </ul>
|
|
395
|
-
*/
|
|
396
|
-
Record: FeatureValue[] | undefined;
|
|
397
|
-
/**
|
|
398
|
-
* @public
|
|
399
|
-
* <p>A list of stores to which you're adding the record. By default, Feature Store adds the
|
|
400
|
-
* record to all of the stores that you're using for the <code>FeatureGroup</code>.</p>
|
|
401
|
-
*/
|
|
402
|
-
TargetStores?: (TargetStore | string)[];
|
|
403
|
-
/**
|
|
404
|
-
* @public
|
|
405
|
-
* <p>Time to live duration, where the record is hard deleted after the expiration time is
|
|
406
|
-
* reached; <code>ExpiresAt</code> = <code>EventTime</code> + <code>TtlDuration</code>. For
|
|
407
|
-
* information on HardDelete, see the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_feature_store_DeleteRecord.html">DeleteRecord</a> API in the Amazon SageMaker API Reference guide.</p>
|
|
408
|
-
*/
|
|
409
|
-
TtlDuration?: TtlDuration;
|
|
410
|
-
}
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SageMakerFeatureStoreRuntimeServiceException as __BaseException } from "./SageMakerFeatureStoreRuntimeServiceException";
|
|
3
|
+
export declare class AccessForbidden extends __BaseException {
|
|
4
|
+
readonly name: "AccessForbidden";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
Message?: string;
|
|
7
|
+
constructor(opts: __ExceptionOptionType<AccessForbidden, __BaseException>);
|
|
8
|
+
}
|
|
9
|
+
export declare const ExpirationTimeResponse: {
|
|
10
|
+
readonly DISABLED: "Disabled";
|
|
11
|
+
readonly ENABLED: "Enabled";
|
|
12
|
+
};
|
|
13
|
+
export type ExpirationTimeResponse =
|
|
14
|
+
(typeof ExpirationTimeResponse)[keyof typeof ExpirationTimeResponse];
|
|
15
|
+
export interface BatchGetRecordIdentifier {
|
|
16
|
+
FeatureGroupName: string | undefined;
|
|
17
|
+
RecordIdentifiersValueAsString: string[] | undefined;
|
|
18
|
+
FeatureNames?: string[];
|
|
19
|
+
}
|
|
20
|
+
export interface BatchGetRecordRequest {
|
|
21
|
+
Identifiers: BatchGetRecordIdentifier[] | undefined;
|
|
22
|
+
ExpirationTimeResponse?: ExpirationTimeResponse | string;
|
|
23
|
+
}
|
|
24
|
+
export interface BatchGetRecordError {
|
|
25
|
+
FeatureGroupName: string | undefined;
|
|
26
|
+
RecordIdentifierValueAsString: string | undefined;
|
|
27
|
+
ErrorCode: string | undefined;
|
|
28
|
+
ErrorMessage: string | undefined;
|
|
29
|
+
}
|
|
30
|
+
export interface FeatureValue {
|
|
31
|
+
FeatureName: string | undefined;
|
|
32
|
+
ValueAsString?: string;
|
|
33
|
+
ValueAsStringList?: string[];
|
|
34
|
+
}
|
|
35
|
+
export interface BatchGetRecordResultDetail {
|
|
36
|
+
FeatureGroupName: string | undefined;
|
|
37
|
+
RecordIdentifierValueAsString: string | undefined;
|
|
38
|
+
Record: FeatureValue[] | undefined;
|
|
39
|
+
ExpiresAt?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface BatchGetRecordResponse {
|
|
42
|
+
Records: BatchGetRecordResultDetail[] | undefined;
|
|
43
|
+
Errors: BatchGetRecordError[] | undefined;
|
|
44
|
+
UnprocessedIdentifiers: BatchGetRecordIdentifier[] | undefined;
|
|
45
|
+
}
|
|
46
|
+
export declare class InternalFailure extends __BaseException {
|
|
47
|
+
readonly name: "InternalFailure";
|
|
48
|
+
readonly $fault: "server";
|
|
49
|
+
Message?: string;
|
|
50
|
+
constructor(opts: __ExceptionOptionType<InternalFailure, __BaseException>);
|
|
51
|
+
}
|
|
52
|
+
export declare class ServiceUnavailable extends __BaseException {
|
|
53
|
+
readonly name: "ServiceUnavailable";
|
|
54
|
+
readonly $fault: "server";
|
|
55
|
+
Message?: string;
|
|
56
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailable, __BaseException>);
|
|
57
|
+
}
|
|
58
|
+
export declare class ValidationError extends __BaseException {
|
|
59
|
+
readonly name: "ValidationError";
|
|
60
|
+
readonly $fault: "client";
|
|
61
|
+
Message?: string;
|
|
62
|
+
constructor(opts: __ExceptionOptionType<ValidationError, __BaseException>);
|
|
63
|
+
}
|
|
64
|
+
export declare const DeletionMode: {
|
|
65
|
+
readonly HARD_DELETE: "HardDelete";
|
|
66
|
+
readonly SOFT_DELETE: "SoftDelete";
|
|
67
|
+
};
|
|
68
|
+
export type DeletionMode = (typeof DeletionMode)[keyof typeof DeletionMode];
|
|
69
|
+
export declare const TargetStore: {
|
|
70
|
+
readonly OFFLINE_STORE: "OfflineStore";
|
|
71
|
+
readonly ONLINE_STORE: "OnlineStore";
|
|
72
|
+
};
|
|
73
|
+
export type TargetStore = (typeof TargetStore)[keyof typeof TargetStore];
|
|
74
|
+
export interface DeleteRecordRequest {
|
|
75
|
+
FeatureGroupName: string | undefined;
|
|
76
|
+
RecordIdentifierValueAsString: string | undefined;
|
|
77
|
+
EventTime: string | undefined;
|
|
78
|
+
TargetStores?: (TargetStore | string)[];
|
|
79
|
+
DeletionMode?: DeletionMode | string;
|
|
80
|
+
}
|
|
81
|
+
export interface GetRecordRequest {
|
|
82
|
+
FeatureGroupName: string | undefined;
|
|
83
|
+
RecordIdentifierValueAsString: string | undefined;
|
|
84
|
+
FeatureNames?: string[];
|
|
85
|
+
ExpirationTimeResponse?: ExpirationTimeResponse | string;
|
|
86
|
+
}
|
|
87
|
+
export interface GetRecordResponse {
|
|
88
|
+
Record?: FeatureValue[];
|
|
89
|
+
ExpiresAt?: string;
|
|
90
|
+
}
|
|
91
|
+
export declare class ResourceNotFound extends __BaseException {
|
|
92
|
+
readonly name: "ResourceNotFound";
|
|
93
|
+
readonly $fault: "client";
|
|
94
|
+
Message?: string;
|
|
95
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFound, __BaseException>);
|
|
96
|
+
}
|
|
97
|
+
export declare const TtlDurationUnit: {
|
|
98
|
+
readonly DAYS: "Days";
|
|
99
|
+
readonly HOURS: "Hours";
|
|
100
|
+
readonly MINUTES: "Minutes";
|
|
101
|
+
readonly SECONDS: "Seconds";
|
|
102
|
+
readonly WEEKS: "Weeks";
|
|
103
|
+
};
|
|
104
|
+
export type TtlDurationUnit =
|
|
105
|
+
(typeof TtlDurationUnit)[keyof typeof TtlDurationUnit];
|
|
106
|
+
export interface TtlDuration {
|
|
107
|
+
Unit: TtlDurationUnit | string | undefined;
|
|
108
|
+
Value: number | undefined;
|
|
109
|
+
}
|
|
110
|
+
export interface PutRecordRequest {
|
|
111
|
+
FeatureGroupName: string | undefined;
|
|
112
|
+
Record: FeatureValue[] | undefined;
|
|
113
|
+
TargetStores?: (TargetStore | string)[];
|
|
114
|
+
TtlDuration?: TtlDuration;
|
|
115
|
+
}
|
|
@@ -1,38 +1,53 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export declare const
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
export declare const
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
export declare const
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
export declare const
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
export declare const
|
|
1
|
+
import {
|
|
2
|
+
HttpRequest as __HttpRequest,
|
|
3
|
+
HttpResponse as __HttpResponse,
|
|
4
|
+
} from "@smithy/protocol-http";
|
|
5
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
+
import {
|
|
7
|
+
BatchGetRecordCommandInput,
|
|
8
|
+
BatchGetRecordCommandOutput,
|
|
9
|
+
} from "../commands/BatchGetRecordCommand";
|
|
10
|
+
import {
|
|
11
|
+
DeleteRecordCommandInput,
|
|
12
|
+
DeleteRecordCommandOutput,
|
|
13
|
+
} from "../commands/DeleteRecordCommand";
|
|
14
|
+
import {
|
|
15
|
+
GetRecordCommandInput,
|
|
16
|
+
GetRecordCommandOutput,
|
|
17
|
+
} from "../commands/GetRecordCommand";
|
|
18
|
+
import {
|
|
19
|
+
PutRecordCommandInput,
|
|
20
|
+
PutRecordCommandOutput,
|
|
21
|
+
} from "../commands/PutRecordCommand";
|
|
22
|
+
export declare const se_BatchGetRecordCommand: (
|
|
23
|
+
input: BatchGetRecordCommandInput,
|
|
24
|
+
context: __SerdeContext
|
|
25
|
+
) => Promise<__HttpRequest>;
|
|
26
|
+
export declare const se_DeleteRecordCommand: (
|
|
27
|
+
input: DeleteRecordCommandInput,
|
|
28
|
+
context: __SerdeContext
|
|
29
|
+
) => Promise<__HttpRequest>;
|
|
30
|
+
export declare const se_GetRecordCommand: (
|
|
31
|
+
input: GetRecordCommandInput,
|
|
32
|
+
context: __SerdeContext
|
|
33
|
+
) => Promise<__HttpRequest>;
|
|
34
|
+
export declare const se_PutRecordCommand: (
|
|
35
|
+
input: PutRecordCommandInput,
|
|
36
|
+
context: __SerdeContext
|
|
37
|
+
) => Promise<__HttpRequest>;
|
|
38
|
+
export declare const de_BatchGetRecordCommand: (
|
|
39
|
+
output: __HttpResponse,
|
|
40
|
+
context: __SerdeContext
|
|
41
|
+
) => Promise<BatchGetRecordCommandOutput>;
|
|
42
|
+
export declare const de_DeleteRecordCommand: (
|
|
43
|
+
output: __HttpResponse,
|
|
44
|
+
context: __SerdeContext
|
|
45
|
+
) => Promise<DeleteRecordCommandOutput>;
|
|
46
|
+
export declare const de_GetRecordCommand: (
|
|
47
|
+
output: __HttpResponse,
|
|
48
|
+
context: __SerdeContext
|
|
49
|
+
) => Promise<GetRecordCommandOutput>;
|
|
50
|
+
export declare const de_PutRecordCommand: (
|
|
51
|
+
output: __HttpResponse,
|
|
52
|
+
context: __SerdeContext
|
|
53
|
+
) => Promise<PutRecordCommandOutput>;
|