@aws-sdk/client-sagemaker-featurestore-runtime 3.489.0 → 3.495.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.
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SageMakerFeatureStoreRuntimeServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class SageMakerFeatureStoreRuntimeServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, SageMakerFeatureStoreRuntimeServiceException.prototype);
10
- }
11
- }
12
- exports.SageMakerFeatureStoreRuntimeServiceException = SageMakerFeatureStoreRuntimeServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,93 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TtlDurationUnit = exports.ResourceNotFound = exports.TargetStore = exports.DeletionMode = exports.ValidationError = exports.ServiceUnavailable = exports.InternalFailure = exports.ExpirationTimeResponse = exports.AccessForbidden = void 0;
4
- const SageMakerFeatureStoreRuntimeServiceException_1 = require("./SageMakerFeatureStoreRuntimeServiceException");
5
- class AccessForbidden extends SageMakerFeatureStoreRuntimeServiceException_1.SageMakerFeatureStoreRuntimeServiceException {
6
- constructor(opts) {
7
- super({
8
- name: "AccessForbidden",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- this.name = "AccessForbidden";
13
- this.$fault = "client";
14
- Object.setPrototypeOf(this, AccessForbidden.prototype);
15
- this.Message = opts.Message;
16
- }
17
- }
18
- exports.AccessForbidden = AccessForbidden;
19
- exports.ExpirationTimeResponse = {
20
- DISABLED: "Disabled",
21
- ENABLED: "Enabled",
22
- };
23
- class InternalFailure extends SageMakerFeatureStoreRuntimeServiceException_1.SageMakerFeatureStoreRuntimeServiceException {
24
- constructor(opts) {
25
- super({
26
- name: "InternalFailure",
27
- $fault: "server",
28
- ...opts,
29
- });
30
- this.name = "InternalFailure";
31
- this.$fault = "server";
32
- Object.setPrototypeOf(this, InternalFailure.prototype);
33
- this.Message = opts.Message;
34
- }
35
- }
36
- exports.InternalFailure = InternalFailure;
37
- class ServiceUnavailable extends SageMakerFeatureStoreRuntimeServiceException_1.SageMakerFeatureStoreRuntimeServiceException {
38
- constructor(opts) {
39
- super({
40
- name: "ServiceUnavailable",
41
- $fault: "server",
42
- ...opts,
43
- });
44
- this.name = "ServiceUnavailable";
45
- this.$fault = "server";
46
- Object.setPrototypeOf(this, ServiceUnavailable.prototype);
47
- this.Message = opts.Message;
48
- }
49
- }
50
- exports.ServiceUnavailable = ServiceUnavailable;
51
- class ValidationError extends SageMakerFeatureStoreRuntimeServiceException_1.SageMakerFeatureStoreRuntimeServiceException {
52
- constructor(opts) {
53
- super({
54
- name: "ValidationError",
55
- $fault: "client",
56
- ...opts,
57
- });
58
- this.name = "ValidationError";
59
- this.$fault = "client";
60
- Object.setPrototypeOf(this, ValidationError.prototype);
61
- this.Message = opts.Message;
62
- }
63
- }
64
- exports.ValidationError = ValidationError;
65
- exports.DeletionMode = {
66
- HARD_DELETE: "HardDelete",
67
- SOFT_DELETE: "SoftDelete",
68
- };
69
- exports.TargetStore = {
70
- OFFLINE_STORE: "OfflineStore",
71
- ONLINE_STORE: "OnlineStore",
72
- };
73
- class ResourceNotFound extends SageMakerFeatureStoreRuntimeServiceException_1.SageMakerFeatureStoreRuntimeServiceException {
74
- constructor(opts) {
75
- super({
76
- name: "ResourceNotFound",
77
- $fault: "client",
78
- ...opts,
79
- });
80
- this.name = "ResourceNotFound";
81
- this.$fault = "client";
82
- Object.setPrototypeOf(this, ResourceNotFound.prototype);
83
- this.Message = opts.Message;
84
- }
85
- }
86
- exports.ResourceNotFound = ResourceNotFound;
87
- exports.TtlDurationUnit = {
88
- DAYS: "Days",
89
- HOURS: "Hours",
90
- MINUTES: "Minutes",
91
- SECONDS: "Seconds",
92
- WEEKS: "Weeks",
93
- };
1
+ module.exports = require("../index.js");
@@ -1,365 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_PutRecordCommand = exports.de_GetRecordCommand = exports.de_DeleteRecordCommand = exports.de_BatchGetRecordCommand = exports.se_PutRecordCommand = exports.se_GetRecordCommand = exports.se_DeleteRecordCommand = exports.se_BatchGetRecordCommand = void 0;
4
- const core_1 = require("@smithy/core");
5
- const smithy_client_1 = require("@smithy/smithy-client");
6
- const models_0_1 = require("../models/models_0");
7
- const SageMakerFeatureStoreRuntimeServiceException_1 = require("../models/SageMakerFeatureStoreRuntimeServiceException");
8
- const se_BatchGetRecordCommand = async (input, context) => {
9
- const b = (0, core_1.requestBuilder)(input, context);
10
- const headers = {
11
- "content-type": "application/json",
12
- };
13
- b.bp("/BatchGetRecord");
14
- let body;
15
- body = JSON.stringify((0, smithy_client_1.take)(input, {
16
- ExpirationTimeResponse: [],
17
- Identifiers: (_) => (0, smithy_client_1._json)(_),
18
- }));
19
- b.m("POST").h(headers).b(body);
20
- return b.build();
21
- };
22
- exports.se_BatchGetRecordCommand = se_BatchGetRecordCommand;
23
- const se_DeleteRecordCommand = async (input, context) => {
24
- const b = (0, core_1.requestBuilder)(input, context);
25
- const headers = {};
26
- b.bp("/FeatureGroup/{FeatureGroupName}");
27
- b.p("FeatureGroupName", () => input.FeatureGroupName, "{FeatureGroupName}", false);
28
- const query = (0, smithy_client_1.map)({
29
- [_RIVAS]: [, (0, smithy_client_1.expectNonNull)(input[_RIVAS], `RecordIdentifierValueAsString`)],
30
- [_ET]: [, (0, smithy_client_1.expectNonNull)(input[_ET], `EventTime`)],
31
- [_TS]: [() => input.TargetStores !== void 0, () => (input[_TS] || []).map((_entry) => _entry)],
32
- [_DM]: [, input[_DM]],
33
- });
34
- let body;
35
- b.m("DELETE").h(headers).q(query).b(body);
36
- return b.build();
37
- };
38
- exports.se_DeleteRecordCommand = se_DeleteRecordCommand;
39
- const se_GetRecordCommand = async (input, context) => {
40
- const b = (0, core_1.requestBuilder)(input, context);
41
- const headers = {};
42
- b.bp("/FeatureGroup/{FeatureGroupName}");
43
- b.p("FeatureGroupName", () => input.FeatureGroupName, "{FeatureGroupName}", false);
44
- const query = (0, smithy_client_1.map)({
45
- [_RIVAS]: [, (0, smithy_client_1.expectNonNull)(input[_RIVAS], `RecordIdentifierValueAsString`)],
46
- [_FNe]: [() => input.FeatureNames !== void 0, () => (input[_FN] || []).map((_entry) => _entry)],
47
- [_ETR]: [, input[_ETR]],
48
- });
49
- let body;
50
- b.m("GET").h(headers).q(query).b(body);
51
- return b.build();
52
- };
53
- exports.se_GetRecordCommand = se_GetRecordCommand;
54
- const se_PutRecordCommand = async (input, context) => {
55
- const b = (0, core_1.requestBuilder)(input, context);
56
- const headers = {
57
- "content-type": "application/json",
58
- };
59
- b.bp("/FeatureGroup/{FeatureGroupName}");
60
- b.p("FeatureGroupName", () => input.FeatureGroupName, "{FeatureGroupName}", false);
61
- let body;
62
- body = JSON.stringify((0, smithy_client_1.take)(input, {
63
- Record: (_) => (0, smithy_client_1._json)(_),
64
- TargetStores: (_) => (0, smithy_client_1._json)(_),
65
- TtlDuration: (_) => (0, smithy_client_1._json)(_),
66
- }));
67
- b.m("PUT").h(headers).b(body);
68
- return b.build();
69
- };
70
- exports.se_PutRecordCommand = se_PutRecordCommand;
71
- const de_BatchGetRecordCommand = async (output, context) => {
72
- if (output.statusCode !== 200 && output.statusCode >= 300) {
73
- return de_BatchGetRecordCommandError(output, context);
74
- }
75
- const contents = (0, smithy_client_1.map)({
76
- $metadata: deserializeMetadata(output),
77
- });
78
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
79
- const doc = (0, smithy_client_1.take)(data, {
80
- Errors: smithy_client_1._json,
81
- Records: smithy_client_1._json,
82
- UnprocessedIdentifiers: smithy_client_1._json,
83
- });
84
- Object.assign(contents, doc);
85
- return contents;
86
- };
87
- exports.de_BatchGetRecordCommand = de_BatchGetRecordCommand;
88
- const de_BatchGetRecordCommandError = async (output, context) => {
89
- const parsedOutput = {
90
- ...output,
91
- body: await parseErrorBody(output.body, context),
92
- };
93
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
94
- switch (errorCode) {
95
- case "AccessForbidden":
96
- case "com.amazonaws.sagemakerfeaturestoreruntime#AccessForbidden":
97
- throw await de_AccessForbiddenRes(parsedOutput, context);
98
- case "InternalFailure":
99
- case "com.amazonaws.sagemakerfeaturestoreruntime#InternalFailure":
100
- throw await de_InternalFailureRes(parsedOutput, context);
101
- case "ServiceUnavailable":
102
- case "com.amazonaws.sagemakerfeaturestoreruntime#ServiceUnavailable":
103
- throw await de_ServiceUnavailableRes(parsedOutput, context);
104
- case "ValidationError":
105
- case "com.amazonaws.sagemakerfeaturestoreruntime#ValidationError":
106
- throw await de_ValidationErrorRes(parsedOutput, context);
107
- default:
108
- const parsedBody = parsedOutput.body;
109
- return throwDefaultError({
110
- output,
111
- parsedBody,
112
- errorCode,
113
- });
114
- }
115
- };
116
- const de_DeleteRecordCommand = async (output, context) => {
117
- if (output.statusCode !== 200 && output.statusCode >= 300) {
118
- return de_DeleteRecordCommandError(output, context);
119
- }
120
- const contents = (0, smithy_client_1.map)({
121
- $metadata: deserializeMetadata(output),
122
- });
123
- await (0, smithy_client_1.collectBody)(output.body, context);
124
- return contents;
125
- };
126
- exports.de_DeleteRecordCommand = de_DeleteRecordCommand;
127
- const de_DeleteRecordCommandError = async (output, context) => {
128
- const parsedOutput = {
129
- ...output,
130
- body: await parseErrorBody(output.body, context),
131
- };
132
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
133
- switch (errorCode) {
134
- case "AccessForbidden":
135
- case "com.amazonaws.sagemakerfeaturestoreruntime#AccessForbidden":
136
- throw await de_AccessForbiddenRes(parsedOutput, context);
137
- case "InternalFailure":
138
- case "com.amazonaws.sagemakerfeaturestoreruntime#InternalFailure":
139
- throw await de_InternalFailureRes(parsedOutput, context);
140
- case "ServiceUnavailable":
141
- case "com.amazonaws.sagemakerfeaturestoreruntime#ServiceUnavailable":
142
- throw await de_ServiceUnavailableRes(parsedOutput, context);
143
- case "ValidationError":
144
- case "com.amazonaws.sagemakerfeaturestoreruntime#ValidationError":
145
- throw await de_ValidationErrorRes(parsedOutput, context);
146
- default:
147
- const parsedBody = parsedOutput.body;
148
- return throwDefaultError({
149
- output,
150
- parsedBody,
151
- errorCode,
152
- });
153
- }
154
- };
155
- const de_GetRecordCommand = async (output, context) => {
156
- if (output.statusCode !== 200 && output.statusCode >= 300) {
157
- return de_GetRecordCommandError(output, context);
158
- }
159
- const contents = (0, smithy_client_1.map)({
160
- $metadata: deserializeMetadata(output),
161
- });
162
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
163
- const doc = (0, smithy_client_1.take)(data, {
164
- ExpiresAt: smithy_client_1.expectString,
165
- Record: smithy_client_1._json,
166
- });
167
- Object.assign(contents, doc);
168
- return contents;
169
- };
170
- exports.de_GetRecordCommand = de_GetRecordCommand;
171
- const de_GetRecordCommandError = async (output, context) => {
172
- const parsedOutput = {
173
- ...output,
174
- body: await parseErrorBody(output.body, context),
175
- };
176
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
177
- switch (errorCode) {
178
- case "AccessForbidden":
179
- case "com.amazonaws.sagemakerfeaturestoreruntime#AccessForbidden":
180
- throw await de_AccessForbiddenRes(parsedOutput, context);
181
- case "InternalFailure":
182
- case "com.amazonaws.sagemakerfeaturestoreruntime#InternalFailure":
183
- throw await de_InternalFailureRes(parsedOutput, context);
184
- case "ResourceNotFound":
185
- case "com.amazonaws.sagemakerfeaturestoreruntime#ResourceNotFound":
186
- throw await de_ResourceNotFoundRes(parsedOutput, context);
187
- case "ServiceUnavailable":
188
- case "com.amazonaws.sagemakerfeaturestoreruntime#ServiceUnavailable":
189
- throw await de_ServiceUnavailableRes(parsedOutput, context);
190
- case "ValidationError":
191
- case "com.amazonaws.sagemakerfeaturestoreruntime#ValidationError":
192
- throw await de_ValidationErrorRes(parsedOutput, context);
193
- default:
194
- const parsedBody = parsedOutput.body;
195
- return throwDefaultError({
196
- output,
197
- parsedBody,
198
- errorCode,
199
- });
200
- }
201
- };
202
- const de_PutRecordCommand = async (output, context) => {
203
- if (output.statusCode !== 200 && output.statusCode >= 300) {
204
- return de_PutRecordCommandError(output, context);
205
- }
206
- const contents = (0, smithy_client_1.map)({
207
- $metadata: deserializeMetadata(output),
208
- });
209
- await (0, smithy_client_1.collectBody)(output.body, context);
210
- return contents;
211
- };
212
- exports.de_PutRecordCommand = de_PutRecordCommand;
213
- const de_PutRecordCommandError = async (output, context) => {
214
- const parsedOutput = {
215
- ...output,
216
- body: await parseErrorBody(output.body, context),
217
- };
218
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
219
- switch (errorCode) {
220
- case "AccessForbidden":
221
- case "com.amazonaws.sagemakerfeaturestoreruntime#AccessForbidden":
222
- throw await de_AccessForbiddenRes(parsedOutput, context);
223
- case "InternalFailure":
224
- case "com.amazonaws.sagemakerfeaturestoreruntime#InternalFailure":
225
- throw await de_InternalFailureRes(parsedOutput, context);
226
- case "ServiceUnavailable":
227
- case "com.amazonaws.sagemakerfeaturestoreruntime#ServiceUnavailable":
228
- throw await de_ServiceUnavailableRes(parsedOutput, context);
229
- case "ValidationError":
230
- case "com.amazonaws.sagemakerfeaturestoreruntime#ValidationError":
231
- throw await de_ValidationErrorRes(parsedOutput, context);
232
- default:
233
- const parsedBody = parsedOutput.body;
234
- return throwDefaultError({
235
- output,
236
- parsedBody,
237
- errorCode,
238
- });
239
- }
240
- };
241
- const throwDefaultError = (0, smithy_client_1.withBaseException)(SageMakerFeatureStoreRuntimeServiceException_1.SageMakerFeatureStoreRuntimeServiceException);
242
- const de_AccessForbiddenRes = async (parsedOutput, context) => {
243
- const contents = (0, smithy_client_1.map)({});
244
- const data = parsedOutput.body;
245
- const doc = (0, smithy_client_1.take)(data, {
246
- Message: smithy_client_1.expectString,
247
- });
248
- Object.assign(contents, doc);
249
- const exception = new models_0_1.AccessForbidden({
250
- $metadata: deserializeMetadata(parsedOutput),
251
- ...contents,
252
- });
253
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
254
- };
255
- const de_InternalFailureRes = async (parsedOutput, context) => {
256
- const contents = (0, smithy_client_1.map)({});
257
- const data = parsedOutput.body;
258
- const doc = (0, smithy_client_1.take)(data, {
259
- Message: smithy_client_1.expectString,
260
- });
261
- Object.assign(contents, doc);
262
- const exception = new models_0_1.InternalFailure({
263
- $metadata: deserializeMetadata(parsedOutput),
264
- ...contents,
265
- });
266
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
267
- };
268
- const de_ResourceNotFoundRes = async (parsedOutput, context) => {
269
- const contents = (0, smithy_client_1.map)({});
270
- const data = parsedOutput.body;
271
- const doc = (0, smithy_client_1.take)(data, {
272
- Message: smithy_client_1.expectString,
273
- });
274
- Object.assign(contents, doc);
275
- const exception = new models_0_1.ResourceNotFound({
276
- $metadata: deserializeMetadata(parsedOutput),
277
- ...contents,
278
- });
279
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
280
- };
281
- const de_ServiceUnavailableRes = async (parsedOutput, context) => {
282
- const contents = (0, smithy_client_1.map)({});
283
- const data = parsedOutput.body;
284
- const doc = (0, smithy_client_1.take)(data, {
285
- Message: smithy_client_1.expectString,
286
- });
287
- Object.assign(contents, doc);
288
- const exception = new models_0_1.ServiceUnavailable({
289
- $metadata: deserializeMetadata(parsedOutput),
290
- ...contents,
291
- });
292
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
293
- };
294
- const de_ValidationErrorRes = async (parsedOutput, context) => {
295
- const contents = (0, smithy_client_1.map)({});
296
- const data = parsedOutput.body;
297
- const doc = (0, smithy_client_1.take)(data, {
298
- Message: smithy_client_1.expectString,
299
- });
300
- Object.assign(contents, doc);
301
- const exception = new models_0_1.ValidationError({
302
- $metadata: deserializeMetadata(parsedOutput),
303
- ...contents,
304
- });
305
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
306
- };
307
- const deserializeMetadata = (output) => ({
308
- httpStatusCode: output.statusCode,
309
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
310
- extendedRequestId: output.headers["x-amz-id-2"],
311
- cfId: output.headers["x-amz-cf-id"],
312
- });
313
- const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
314
- const isSerializableHeaderValue = (value) => value !== undefined &&
315
- value !== null &&
316
- value !== "" &&
317
- (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
318
- (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
319
- const _DM = "DeletionMode";
320
- const _ET = "EventTime";
321
- const _ETR = "ExpirationTimeResponse";
322
- const _FN = "FeatureNames";
323
- const _FNe = "FeatureName";
324
- const _RIVAS = "RecordIdentifierValueAsString";
325
- const _TS = "TargetStores";
326
- const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
327
- if (encoded.length) {
328
- return JSON.parse(encoded);
329
- }
330
- return {};
331
- });
332
- const parseErrorBody = async (errorBody, context) => {
333
- const value = await parseBody(errorBody, context);
334
- value.message = value.message ?? value.Message;
335
- return value;
336
- };
337
- const loadRestJsonErrorCode = (output, data) => {
338
- const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
339
- const sanitizeErrorCode = (rawValue) => {
340
- let cleanValue = rawValue;
341
- if (typeof cleanValue === "number") {
342
- cleanValue = cleanValue.toString();
343
- }
344
- if (cleanValue.indexOf(",") >= 0) {
345
- cleanValue = cleanValue.split(",")[0];
346
- }
347
- if (cleanValue.indexOf(":") >= 0) {
348
- cleanValue = cleanValue.split(":")[0];
349
- }
350
- if (cleanValue.indexOf("#") >= 0) {
351
- cleanValue = cleanValue.split("#")[1];
352
- }
353
- return cleanValue;
354
- };
355
- const headerKey = findKey(output.headers, "x-amzn-errortype");
356
- if (headerKey !== undefined) {
357
- return sanitizeErrorCode(output.headers[headerKey]);
358
- }
359
- if (data.code !== undefined) {
360
- return sanitizeErrorCode(data.code);
361
- }
362
- if (data["__type"] !== undefined) {
363
- return sanitizeErrorCode(data["__type"]);
364
- }
365
- };
1
+ module.exports = require("../index.js");
@@ -1,22 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveRuntimeExtensions = void 0;
4
- const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
5
- const protocol_http_1 = require("@smithy/protocol-http");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- const asPartial = (t) => t;
8
- const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
9
- const extensionConfiguration = {
10
- ...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
11
- ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
12
- ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
13
- };
14
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
15
- return {
16
- ...runtimeConfig,
17
- ...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
18
- ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
19
- ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
20
- };
21
- };
22
- exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
1
+ module.exports = require("./index.js");
@@ -32,16 +32,18 @@ declare const DeleteRecordCommand_base: {
32
32
  * to <code>null</code> and the record is no longer retrievable by <code>GetRecord</code> or
33
33
  * <code>BatchGetRecord</code>. For <code>HardDelete</code>, the complete
34
34
  * <code>Record</code> is removed from the <code>OnlineStore</code>. In both cases, Feature
35
- * Store appends the deleted record marker to the <code>OfflineStore</code> with feature
36
- * values set to <code>null</code>, <code>is_deleted</code> value set to <code>True</code>,
37
- * and <code>EventTime</code> set to the delete input <code>EventTime</code>.</p>
35
+ * Store appends the deleted record marker to the <code>OfflineStore</code>. The deleted
36
+ * record marker is a record with the same <code>RecordIdentifer</code> as the original, but
37
+ * with <code>is_deleted</code> value set to <code>True</code>, <code>EventTime</code> set to
38
+ * the delete input <code>EventTime</code>, and other feature values set to
39
+ * <code>null</code>.</p>
38
40
  * <p>Note that the <code>EventTime</code> specified in <code>DeleteRecord</code> should be
39
41
  * set later than the <code>EventTime</code> of the existing record in the
40
42
  * <code>OnlineStore</code> for that <code>RecordIdentifer</code>. If it is not, the
41
43
  * deletion does not occur:</p>
42
44
  * <ul>
43
45
  * <li>
44
- * <p>For <code>SoftDelete</code>, the existing (undeleted) record remains in the
46
+ * <p>For <code>SoftDelete</code>, the existing (not deleted) record remains in the
45
47
  * <code>OnlineStore</code>, though the delete record marker is still written to the
46
48
  * <code>OfflineStore</code>.</p>
47
49
  * </li>
@@ -52,6 +54,12 @@ declare const DeleteRecordCommand_base: {
52
54
  * record marker is written to the <code>OfflineStore</code>.</p>
53
55
  * </li>
54
56
  * </ul>
57
+ * <p>When a record is deleted from the <code>OnlineStore</code>, the deleted record marker is
58
+ * appended to the <code>OfflineStore</code>. If you have the Iceberg table format enabled for
59
+ * your <code>OfflineStore</code>, you can remove all history of a record from the
60
+ * <code>OfflineStore</code> using Amazon Athena or Apache Spark. For information on how to
61
+ * hard delete a record from the <code>OfflineStore</code> with the Iceberg table format
62
+ * enabled, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/feature-store-delete-records-offline-store.html#feature-store-delete-records-offline-store">Delete records from the offline store</a>.</p>
55
63
  * @example
56
64
  * Use a bare-bones client and the command you need to make an API call.
57
65
  * ```javascript
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sagemaker-featurestore-runtime",
3
3
  "description": "AWS SDK for JavaScript Sagemaker Featurestore Runtime Client for Node.js, Browser and React Native",
4
- "version": "3.489.0",
4
+ "version": "3.495.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
- "build:cjs": "tsc -p tsconfig.cjs.json",
7
+ "build:cjs": "node ../../scripts/compilation/inline client-sagemaker-featurestore-runtime",
8
8
  "build:es": "tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
10
10
  "build:types": "tsc -p tsconfig.types.json",
@@ -20,47 +20,47 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.489.0",
24
- "@aws-sdk/core": "3.485.0",
25
- "@aws-sdk/credential-provider-node": "3.489.0",
26
- "@aws-sdk/middleware-host-header": "3.489.0",
27
- "@aws-sdk/middleware-logger": "3.489.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.489.0",
29
- "@aws-sdk/middleware-signing": "3.489.0",
30
- "@aws-sdk/middleware-user-agent": "3.489.0",
31
- "@aws-sdk/region-config-resolver": "3.489.0",
32
- "@aws-sdk/types": "3.489.0",
33
- "@aws-sdk/util-endpoints": "3.489.0",
34
- "@aws-sdk/util-user-agent-browser": "3.489.0",
35
- "@aws-sdk/util-user-agent-node": "3.489.0",
36
- "@smithy/config-resolver": "^2.0.23",
37
- "@smithy/core": "^1.2.2",
38
- "@smithy/fetch-http-handler": "^2.3.2",
39
- "@smithy/hash-node": "^2.0.18",
40
- "@smithy/invalid-dependency": "^2.0.16",
41
- "@smithy/middleware-content-length": "^2.0.18",
42
- "@smithy/middleware-endpoint": "^2.3.0",
43
- "@smithy/middleware-retry": "^2.0.26",
44
- "@smithy/middleware-serde": "^2.0.16",
45
- "@smithy/middleware-stack": "^2.0.10",
46
- "@smithy/node-config-provider": "^2.1.9",
47
- "@smithy/node-http-handler": "^2.2.2",
48
- "@smithy/protocol-http": "^3.0.12",
49
- "@smithy/smithy-client": "^2.2.1",
50
- "@smithy/types": "^2.8.0",
51
- "@smithy/url-parser": "^2.0.16",
52
- "@smithy/util-base64": "^2.0.1",
53
- "@smithy/util-body-length-browser": "^2.0.1",
54
- "@smithy/util-body-length-node": "^2.1.0",
55
- "@smithy/util-defaults-mode-browser": "^2.0.24",
56
- "@smithy/util-defaults-mode-node": "^2.0.32",
57
- "@smithy/util-endpoints": "^1.0.8",
58
- "@smithy/util-retry": "^2.0.9",
59
- "@smithy/util-utf8": "^2.0.2",
23
+ "@aws-sdk/client-sts": "3.495.0",
24
+ "@aws-sdk/core": "3.495.0",
25
+ "@aws-sdk/credential-provider-node": "3.495.0",
26
+ "@aws-sdk/middleware-host-header": "3.495.0",
27
+ "@aws-sdk/middleware-logger": "3.495.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.495.0",
29
+ "@aws-sdk/middleware-signing": "3.495.0",
30
+ "@aws-sdk/middleware-user-agent": "3.495.0",
31
+ "@aws-sdk/region-config-resolver": "3.495.0",
32
+ "@aws-sdk/types": "3.495.0",
33
+ "@aws-sdk/util-endpoints": "3.495.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.495.0",
35
+ "@aws-sdk/util-user-agent-node": "3.495.0",
36
+ "@smithy/config-resolver": "^2.1.0",
37
+ "@smithy/core": "^1.3.0",
38
+ "@smithy/fetch-http-handler": "^2.4.0",
39
+ "@smithy/hash-node": "^2.1.0",
40
+ "@smithy/invalid-dependency": "^2.1.0",
41
+ "@smithy/middleware-content-length": "^2.1.0",
42
+ "@smithy/middleware-endpoint": "^2.4.0",
43
+ "@smithy/middleware-retry": "^2.1.0",
44
+ "@smithy/middleware-serde": "^2.1.0",
45
+ "@smithy/middleware-stack": "^2.1.0",
46
+ "@smithy/node-config-provider": "^2.2.0",
47
+ "@smithy/node-http-handler": "^2.3.0",
48
+ "@smithy/protocol-http": "^3.1.0",
49
+ "@smithy/smithy-client": "^2.3.0",
50
+ "@smithy/types": "^2.9.0",
51
+ "@smithy/url-parser": "^2.1.0",
52
+ "@smithy/util-base64": "^2.1.0",
53
+ "@smithy/util-body-length-browser": "^2.1.0",
54
+ "@smithy/util-body-length-node": "^2.2.0",
55
+ "@smithy/util-defaults-mode-browser": "^2.1.0",
56
+ "@smithy/util-defaults-mode-node": "^2.1.0",
57
+ "@smithy/util-endpoints": "^1.1.0",
58
+ "@smithy/util-retry": "^2.1.0",
59
+ "@smithy/util-utf8": "^2.1.0",
60
60
  "tslib": "^2.5.0"
61
61
  },
62
62
  "devDependencies": {
63
- "@smithy/service-client-documentation-generator": "^2.0.0",
63
+ "@smithy/service-client-documentation-generator": "^2.1.0",
64
64
  "@tsconfig/node14": "1.0.3",
65
65
  "@types/node": "^14.14.31",
66
66
  "concurrently": "7.0.0",