@aws-sdk/client-sagemaker-featurestore-runtime 3.306.0 → 3.310.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/BatchGetRecordCommand.js +2 -2
- package/dist-cjs/commands/DeleteRecordCommand.js +2 -2
- package/dist-cjs/commands/GetRecordCommand.js +2 -2
- package/dist-cjs/commands/PutRecordCommand.js +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +82 -88
- package/dist-es/commands/BatchGetRecordCommand.js +3 -3
- package/dist-es/commands/DeleteRecordCommand.js +3 -3
- package/dist-es/commands/GetRecordCommand.js +3 -3
- package/dist-es/commands/PutRecordCommand.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +73 -79
- package/dist-types/protocols/Aws_restJson1.d.ts +32 -8
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +8 -8
- package/package.json +35 -35
|
@@ -36,10 +36,10 @@ class BatchGetRecordCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_BatchGetRecordCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_BatchGetRecordCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.BatchGetRecordCommand = BatchGetRecordCommand;
|
|
@@ -36,10 +36,10 @@ class DeleteRecordCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_DeleteRecordCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_DeleteRecordCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.DeleteRecordCommand = DeleteRecordCommand;
|
|
@@ -36,10 +36,10 @@ class GetRecordCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_GetRecordCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_GetRecordCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.GetRecordCommand = GetRecordCommand;
|
|
@@ -36,10 +36,10 @@ class PutRecordCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_PutRecordCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_PutRecordCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.PutRecordCommand = PutRecordCommand;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
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
4
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const SageMakerFeatureStoreRuntimeServiceException_1 = require("../models/SageMakerFeatureStoreRuntimeServiceException");
|
|
8
|
-
const
|
|
8
|
+
const se_BatchGetRecordCommand = async (input, context) => {
|
|
9
9
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
10
10
|
const headers = {
|
|
11
11
|
"content-type": "application/json",
|
|
@@ -13,9 +13,7 @@ const serializeAws_restJson1BatchGetRecordCommand = async (input, context) => {
|
|
|
13
13
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/BatchGetRecord";
|
|
14
14
|
let body;
|
|
15
15
|
body = JSON.stringify({
|
|
16
|
-
...(input.Identifiers != null && {
|
|
17
|
-
Identifiers: serializeAws_restJson1BatchGetRecordIdentifiers(input.Identifiers, context),
|
|
18
|
-
}),
|
|
16
|
+
...(input.Identifiers != null && { Identifiers: se_BatchGetRecordIdentifiers(input.Identifiers, context) }),
|
|
19
17
|
});
|
|
20
18
|
return new protocol_http_1.HttpRequest({
|
|
21
19
|
protocol,
|
|
@@ -27,8 +25,8 @@ const serializeAws_restJson1BatchGetRecordCommand = async (input, context) => {
|
|
|
27
25
|
body,
|
|
28
26
|
});
|
|
29
27
|
};
|
|
30
|
-
exports.
|
|
31
|
-
const
|
|
28
|
+
exports.se_BatchGetRecordCommand = se_BatchGetRecordCommand;
|
|
29
|
+
const se_DeleteRecordCommand = async (input, context) => {
|
|
32
30
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
33
31
|
const headers = {};
|
|
34
32
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/FeatureGroup/{FeatureGroupName}";
|
|
@@ -57,8 +55,8 @@ const serializeAws_restJson1DeleteRecordCommand = async (input, context) => {
|
|
|
57
55
|
body,
|
|
58
56
|
});
|
|
59
57
|
};
|
|
60
|
-
exports.
|
|
61
|
-
const
|
|
58
|
+
exports.se_DeleteRecordCommand = se_DeleteRecordCommand;
|
|
59
|
+
const se_GetRecordCommand = async (input, context) => {
|
|
62
60
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
63
61
|
const headers = {};
|
|
64
62
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/FeatureGroup/{FeatureGroupName}";
|
|
@@ -85,8 +83,8 @@ const serializeAws_restJson1GetRecordCommand = async (input, context) => {
|
|
|
85
83
|
body,
|
|
86
84
|
});
|
|
87
85
|
};
|
|
88
|
-
exports.
|
|
89
|
-
const
|
|
86
|
+
exports.se_GetRecordCommand = se_GetRecordCommand;
|
|
87
|
+
const se_PutRecordCommand = async (input, context) => {
|
|
90
88
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
91
89
|
const headers = {
|
|
92
90
|
"content-type": "application/json",
|
|
@@ -95,10 +93,8 @@ const serializeAws_restJson1PutRecordCommand = async (input, context) => {
|
|
|
95
93
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FeatureGroupName", () => input.FeatureGroupName, "{FeatureGroupName}", false);
|
|
96
94
|
let body;
|
|
97
95
|
body = JSON.stringify({
|
|
98
|
-
...(input.Record != null && { Record:
|
|
99
|
-
...(input.TargetStores != null && {
|
|
100
|
-
TargetStores: serializeAws_restJson1TargetStores(input.TargetStores, context),
|
|
101
|
-
}),
|
|
96
|
+
...(input.Record != null && { Record: se_Record(input.Record, context) }),
|
|
97
|
+
...(input.TargetStores != null && { TargetStores: se_TargetStores(input.TargetStores, context) }),
|
|
102
98
|
});
|
|
103
99
|
return new protocol_http_1.HttpRequest({
|
|
104
100
|
protocol,
|
|
@@ -110,28 +106,28 @@ const serializeAws_restJson1PutRecordCommand = async (input, context) => {
|
|
|
110
106
|
body,
|
|
111
107
|
});
|
|
112
108
|
};
|
|
113
|
-
exports.
|
|
114
|
-
const
|
|
109
|
+
exports.se_PutRecordCommand = se_PutRecordCommand;
|
|
110
|
+
const de_BatchGetRecordCommand = async (output, context) => {
|
|
115
111
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
116
|
-
return
|
|
112
|
+
return de_BatchGetRecordCommandError(output, context);
|
|
117
113
|
}
|
|
118
114
|
const contents = map({
|
|
119
115
|
$metadata: deserializeMetadata(output),
|
|
120
116
|
});
|
|
121
117
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
122
118
|
if (data.Errors != null) {
|
|
123
|
-
contents.Errors =
|
|
119
|
+
contents.Errors = de_BatchGetRecordErrors(data.Errors, context);
|
|
124
120
|
}
|
|
125
121
|
if (data.Records != null) {
|
|
126
|
-
contents.Records =
|
|
122
|
+
contents.Records = de_BatchGetRecordResultDetails(data.Records, context);
|
|
127
123
|
}
|
|
128
124
|
if (data.UnprocessedIdentifiers != null) {
|
|
129
|
-
contents.UnprocessedIdentifiers =
|
|
125
|
+
contents.UnprocessedIdentifiers = de_UnprocessedIdentifiers(data.UnprocessedIdentifiers, context);
|
|
130
126
|
}
|
|
131
127
|
return contents;
|
|
132
128
|
};
|
|
133
|
-
exports.
|
|
134
|
-
const
|
|
129
|
+
exports.de_BatchGetRecordCommand = de_BatchGetRecordCommand;
|
|
130
|
+
const de_BatchGetRecordCommandError = async (output, context) => {
|
|
135
131
|
const parsedOutput = {
|
|
136
132
|
...output,
|
|
137
133
|
body: await parseErrorBody(output.body, context),
|
|
@@ -140,16 +136,16 @@ const deserializeAws_restJson1BatchGetRecordCommandError = async (output, contex
|
|
|
140
136
|
switch (errorCode) {
|
|
141
137
|
case "AccessForbidden":
|
|
142
138
|
case "com.amazonaws.sagemakerfeaturestoreruntime#AccessForbidden":
|
|
143
|
-
throw await
|
|
139
|
+
throw await de_AccessForbiddenRes(parsedOutput, context);
|
|
144
140
|
case "InternalFailure":
|
|
145
141
|
case "com.amazonaws.sagemakerfeaturestoreruntime#InternalFailure":
|
|
146
|
-
throw await
|
|
142
|
+
throw await de_InternalFailureRes(parsedOutput, context);
|
|
147
143
|
case "ServiceUnavailable":
|
|
148
144
|
case "com.amazonaws.sagemakerfeaturestoreruntime#ServiceUnavailable":
|
|
149
|
-
throw await
|
|
145
|
+
throw await de_ServiceUnavailableRes(parsedOutput, context);
|
|
150
146
|
case "ValidationError":
|
|
151
147
|
case "com.amazonaws.sagemakerfeaturestoreruntime#ValidationError":
|
|
152
|
-
throw await
|
|
148
|
+
throw await de_ValidationErrorRes(parsedOutput, context);
|
|
153
149
|
default:
|
|
154
150
|
const parsedBody = parsedOutput.body;
|
|
155
151
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -160,9 +156,9 @@ const deserializeAws_restJson1BatchGetRecordCommandError = async (output, contex
|
|
|
160
156
|
});
|
|
161
157
|
}
|
|
162
158
|
};
|
|
163
|
-
const
|
|
159
|
+
const de_DeleteRecordCommand = async (output, context) => {
|
|
164
160
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
165
|
-
return
|
|
161
|
+
return de_DeleteRecordCommandError(output, context);
|
|
166
162
|
}
|
|
167
163
|
const contents = map({
|
|
168
164
|
$metadata: deserializeMetadata(output),
|
|
@@ -170,8 +166,8 @@ const deserializeAws_restJson1DeleteRecordCommand = async (output, context) => {
|
|
|
170
166
|
await collectBody(output.body, context);
|
|
171
167
|
return contents;
|
|
172
168
|
};
|
|
173
|
-
exports.
|
|
174
|
-
const
|
|
169
|
+
exports.de_DeleteRecordCommand = de_DeleteRecordCommand;
|
|
170
|
+
const de_DeleteRecordCommandError = async (output, context) => {
|
|
175
171
|
const parsedOutput = {
|
|
176
172
|
...output,
|
|
177
173
|
body: await parseErrorBody(output.body, context),
|
|
@@ -180,16 +176,16 @@ const deserializeAws_restJson1DeleteRecordCommandError = async (output, context)
|
|
|
180
176
|
switch (errorCode) {
|
|
181
177
|
case "AccessForbidden":
|
|
182
178
|
case "com.amazonaws.sagemakerfeaturestoreruntime#AccessForbidden":
|
|
183
|
-
throw await
|
|
179
|
+
throw await de_AccessForbiddenRes(parsedOutput, context);
|
|
184
180
|
case "InternalFailure":
|
|
185
181
|
case "com.amazonaws.sagemakerfeaturestoreruntime#InternalFailure":
|
|
186
|
-
throw await
|
|
182
|
+
throw await de_InternalFailureRes(parsedOutput, context);
|
|
187
183
|
case "ServiceUnavailable":
|
|
188
184
|
case "com.amazonaws.sagemakerfeaturestoreruntime#ServiceUnavailable":
|
|
189
|
-
throw await
|
|
185
|
+
throw await de_ServiceUnavailableRes(parsedOutput, context);
|
|
190
186
|
case "ValidationError":
|
|
191
187
|
case "com.amazonaws.sagemakerfeaturestoreruntime#ValidationError":
|
|
192
|
-
throw await
|
|
188
|
+
throw await de_ValidationErrorRes(parsedOutput, context);
|
|
193
189
|
default:
|
|
194
190
|
const parsedBody = parsedOutput.body;
|
|
195
191
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -200,21 +196,21 @@ const deserializeAws_restJson1DeleteRecordCommandError = async (output, context)
|
|
|
200
196
|
});
|
|
201
197
|
}
|
|
202
198
|
};
|
|
203
|
-
const
|
|
199
|
+
const de_GetRecordCommand = async (output, context) => {
|
|
204
200
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
205
|
-
return
|
|
201
|
+
return de_GetRecordCommandError(output, context);
|
|
206
202
|
}
|
|
207
203
|
const contents = map({
|
|
208
204
|
$metadata: deserializeMetadata(output),
|
|
209
205
|
});
|
|
210
206
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
211
207
|
if (data.Record != null) {
|
|
212
|
-
contents.Record =
|
|
208
|
+
contents.Record = de_Record(data.Record, context);
|
|
213
209
|
}
|
|
214
210
|
return contents;
|
|
215
211
|
};
|
|
216
|
-
exports.
|
|
217
|
-
const
|
|
212
|
+
exports.de_GetRecordCommand = de_GetRecordCommand;
|
|
213
|
+
const de_GetRecordCommandError = async (output, context) => {
|
|
218
214
|
const parsedOutput = {
|
|
219
215
|
...output,
|
|
220
216
|
body: await parseErrorBody(output.body, context),
|
|
@@ -223,19 +219,19 @@ const deserializeAws_restJson1GetRecordCommandError = async (output, context) =>
|
|
|
223
219
|
switch (errorCode) {
|
|
224
220
|
case "AccessForbidden":
|
|
225
221
|
case "com.amazonaws.sagemakerfeaturestoreruntime#AccessForbidden":
|
|
226
|
-
throw await
|
|
222
|
+
throw await de_AccessForbiddenRes(parsedOutput, context);
|
|
227
223
|
case "InternalFailure":
|
|
228
224
|
case "com.amazonaws.sagemakerfeaturestoreruntime#InternalFailure":
|
|
229
|
-
throw await
|
|
225
|
+
throw await de_InternalFailureRes(parsedOutput, context);
|
|
230
226
|
case "ResourceNotFound":
|
|
231
227
|
case "com.amazonaws.sagemakerfeaturestoreruntime#ResourceNotFound":
|
|
232
|
-
throw await
|
|
228
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
233
229
|
case "ServiceUnavailable":
|
|
234
230
|
case "com.amazonaws.sagemakerfeaturestoreruntime#ServiceUnavailable":
|
|
235
|
-
throw await
|
|
231
|
+
throw await de_ServiceUnavailableRes(parsedOutput, context);
|
|
236
232
|
case "ValidationError":
|
|
237
233
|
case "com.amazonaws.sagemakerfeaturestoreruntime#ValidationError":
|
|
238
|
-
throw await
|
|
234
|
+
throw await de_ValidationErrorRes(parsedOutput, context);
|
|
239
235
|
default:
|
|
240
236
|
const parsedBody = parsedOutput.body;
|
|
241
237
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -246,9 +242,9 @@ const deserializeAws_restJson1GetRecordCommandError = async (output, context) =>
|
|
|
246
242
|
});
|
|
247
243
|
}
|
|
248
244
|
};
|
|
249
|
-
const
|
|
245
|
+
const de_PutRecordCommand = async (output, context) => {
|
|
250
246
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
251
|
-
return
|
|
247
|
+
return de_PutRecordCommandError(output, context);
|
|
252
248
|
}
|
|
253
249
|
const contents = map({
|
|
254
250
|
$metadata: deserializeMetadata(output),
|
|
@@ -256,8 +252,8 @@ const deserializeAws_restJson1PutRecordCommand = async (output, context) => {
|
|
|
256
252
|
await collectBody(output.body, context);
|
|
257
253
|
return contents;
|
|
258
254
|
};
|
|
259
|
-
exports.
|
|
260
|
-
const
|
|
255
|
+
exports.de_PutRecordCommand = de_PutRecordCommand;
|
|
256
|
+
const de_PutRecordCommandError = async (output, context) => {
|
|
261
257
|
const parsedOutput = {
|
|
262
258
|
...output,
|
|
263
259
|
body: await parseErrorBody(output.body, context),
|
|
@@ -266,16 +262,16 @@ const deserializeAws_restJson1PutRecordCommandError = async (output, context) =>
|
|
|
266
262
|
switch (errorCode) {
|
|
267
263
|
case "AccessForbidden":
|
|
268
264
|
case "com.amazonaws.sagemakerfeaturestoreruntime#AccessForbidden":
|
|
269
|
-
throw await
|
|
265
|
+
throw await de_AccessForbiddenRes(parsedOutput, context);
|
|
270
266
|
case "InternalFailure":
|
|
271
267
|
case "com.amazonaws.sagemakerfeaturestoreruntime#InternalFailure":
|
|
272
|
-
throw await
|
|
268
|
+
throw await de_InternalFailureRes(parsedOutput, context);
|
|
273
269
|
case "ServiceUnavailable":
|
|
274
270
|
case "com.amazonaws.sagemakerfeaturestoreruntime#ServiceUnavailable":
|
|
275
|
-
throw await
|
|
271
|
+
throw await de_ServiceUnavailableRes(parsedOutput, context);
|
|
276
272
|
case "ValidationError":
|
|
277
273
|
case "com.amazonaws.sagemakerfeaturestoreruntime#ValidationError":
|
|
278
|
-
throw await
|
|
274
|
+
throw await de_ValidationErrorRes(parsedOutput, context);
|
|
279
275
|
default:
|
|
280
276
|
const parsedBody = parsedOutput.body;
|
|
281
277
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -287,7 +283,7 @@ const deserializeAws_restJson1PutRecordCommandError = async (output, context) =>
|
|
|
287
283
|
}
|
|
288
284
|
};
|
|
289
285
|
const map = smithy_client_1.map;
|
|
290
|
-
const
|
|
286
|
+
const de_AccessForbiddenRes = async (parsedOutput, context) => {
|
|
291
287
|
const contents = map({});
|
|
292
288
|
const data = parsedOutput.body;
|
|
293
289
|
if (data.Message != null) {
|
|
@@ -299,7 +295,7 @@ const deserializeAws_restJson1AccessForbiddenResponse = async (parsedOutput, con
|
|
|
299
295
|
});
|
|
300
296
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
301
297
|
};
|
|
302
|
-
const
|
|
298
|
+
const de_InternalFailureRes = async (parsedOutput, context) => {
|
|
303
299
|
const contents = map({});
|
|
304
300
|
const data = parsedOutput.body;
|
|
305
301
|
if (data.Message != null) {
|
|
@@ -311,7 +307,7 @@ const deserializeAws_restJson1InternalFailureResponse = async (parsedOutput, con
|
|
|
311
307
|
});
|
|
312
308
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
313
309
|
};
|
|
314
|
-
const
|
|
310
|
+
const de_ResourceNotFoundRes = async (parsedOutput, context) => {
|
|
315
311
|
const contents = map({});
|
|
316
312
|
const data = parsedOutput.body;
|
|
317
313
|
if (data.Message != null) {
|
|
@@ -323,7 +319,7 @@ const deserializeAws_restJson1ResourceNotFoundResponse = async (parsedOutput, co
|
|
|
323
319
|
});
|
|
324
320
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
325
321
|
};
|
|
326
|
-
const
|
|
322
|
+
const de_ServiceUnavailableRes = async (parsedOutput, context) => {
|
|
327
323
|
const contents = map({});
|
|
328
324
|
const data = parsedOutput.body;
|
|
329
325
|
if (data.Message != null) {
|
|
@@ -335,7 +331,7 @@ const deserializeAws_restJson1ServiceUnavailableResponse = async (parsedOutput,
|
|
|
335
331
|
});
|
|
336
332
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
337
333
|
};
|
|
338
|
-
const
|
|
334
|
+
const de_ValidationErrorRes = async (parsedOutput, context) => {
|
|
339
335
|
const contents = map({});
|
|
340
336
|
const data = parsedOutput.body;
|
|
341
337
|
if (data.Message != null) {
|
|
@@ -347,59 +343,57 @@ const deserializeAws_restJson1ValidationErrorResponse = async (parsedOutput, con
|
|
|
347
343
|
});
|
|
348
344
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
349
345
|
};
|
|
350
|
-
const
|
|
346
|
+
const se_BatchGetRecordIdentifier = (input, context) => {
|
|
351
347
|
return {
|
|
352
348
|
...(input.FeatureGroupName != null && { FeatureGroupName: input.FeatureGroupName }),
|
|
353
|
-
...(input.FeatureNames != null && {
|
|
354
|
-
FeatureNames: serializeAws_restJson1FeatureNames(input.FeatureNames, context),
|
|
355
|
-
}),
|
|
349
|
+
...(input.FeatureNames != null && { FeatureNames: se_FeatureNames(input.FeatureNames, context) }),
|
|
356
350
|
...(input.RecordIdentifiersValueAsString != null && {
|
|
357
|
-
RecordIdentifiersValueAsString:
|
|
351
|
+
RecordIdentifiersValueAsString: se_RecordIdentifiers(input.RecordIdentifiersValueAsString, context),
|
|
358
352
|
}),
|
|
359
353
|
};
|
|
360
354
|
};
|
|
361
|
-
const
|
|
355
|
+
const se_BatchGetRecordIdentifiers = (input, context) => {
|
|
362
356
|
return input
|
|
363
357
|
.filter((e) => e != null)
|
|
364
358
|
.map((entry) => {
|
|
365
|
-
return
|
|
359
|
+
return se_BatchGetRecordIdentifier(entry, context);
|
|
366
360
|
});
|
|
367
361
|
};
|
|
368
|
-
const
|
|
362
|
+
const se_FeatureNames = (input, context) => {
|
|
369
363
|
return input
|
|
370
364
|
.filter((e) => e != null)
|
|
371
365
|
.map((entry) => {
|
|
372
366
|
return entry;
|
|
373
367
|
});
|
|
374
368
|
};
|
|
375
|
-
const
|
|
369
|
+
const se_FeatureValue = (input, context) => {
|
|
376
370
|
return {
|
|
377
371
|
...(input.FeatureName != null && { FeatureName: input.FeatureName }),
|
|
378
372
|
...(input.ValueAsString != null && { ValueAsString: input.ValueAsString }),
|
|
379
373
|
};
|
|
380
374
|
};
|
|
381
|
-
const
|
|
375
|
+
const se_Record = (input, context) => {
|
|
382
376
|
return input
|
|
383
377
|
.filter((e) => e != null)
|
|
384
378
|
.map((entry) => {
|
|
385
|
-
return
|
|
379
|
+
return se_FeatureValue(entry, context);
|
|
386
380
|
});
|
|
387
381
|
};
|
|
388
|
-
const
|
|
382
|
+
const se_RecordIdentifiers = (input, context) => {
|
|
389
383
|
return input
|
|
390
384
|
.filter((e) => e != null)
|
|
391
385
|
.map((entry) => {
|
|
392
386
|
return entry;
|
|
393
387
|
});
|
|
394
388
|
};
|
|
395
|
-
const
|
|
389
|
+
const se_TargetStores = (input, context) => {
|
|
396
390
|
return input
|
|
397
391
|
.filter((e) => e != null)
|
|
398
392
|
.map((entry) => {
|
|
399
393
|
return entry;
|
|
400
394
|
});
|
|
401
395
|
};
|
|
402
|
-
const
|
|
396
|
+
const de_BatchGetRecordError = (output, context) => {
|
|
403
397
|
return {
|
|
404
398
|
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
405
399
|
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
@@ -407,45 +401,45 @@ const deserializeAws_restJson1BatchGetRecordError = (output, context) => {
|
|
|
407
401
|
RecordIdentifierValueAsString: (0, smithy_client_1.expectString)(output.RecordIdentifierValueAsString),
|
|
408
402
|
};
|
|
409
403
|
};
|
|
410
|
-
const
|
|
404
|
+
const de_BatchGetRecordErrors = (output, context) => {
|
|
411
405
|
const retVal = (output || [])
|
|
412
406
|
.filter((e) => e != null)
|
|
413
407
|
.map((entry) => {
|
|
414
408
|
if (entry === null) {
|
|
415
409
|
return null;
|
|
416
410
|
}
|
|
417
|
-
return
|
|
411
|
+
return de_BatchGetRecordError(entry, context);
|
|
418
412
|
});
|
|
419
413
|
return retVal;
|
|
420
414
|
};
|
|
421
|
-
const
|
|
415
|
+
const de_BatchGetRecordIdentifier = (output, context) => {
|
|
422
416
|
return {
|
|
423
417
|
FeatureGroupName: (0, smithy_client_1.expectString)(output.FeatureGroupName),
|
|
424
|
-
FeatureNames: output.FeatureNames != null ?
|
|
418
|
+
FeatureNames: output.FeatureNames != null ? de_FeatureNames(output.FeatureNames, context) : undefined,
|
|
425
419
|
RecordIdentifiersValueAsString: output.RecordIdentifiersValueAsString != null
|
|
426
|
-
?
|
|
420
|
+
? de_RecordIdentifiers(output.RecordIdentifiersValueAsString, context)
|
|
427
421
|
: undefined,
|
|
428
422
|
};
|
|
429
423
|
};
|
|
430
|
-
const
|
|
424
|
+
const de_BatchGetRecordResultDetail = (output, context) => {
|
|
431
425
|
return {
|
|
432
426
|
FeatureGroupName: (0, smithy_client_1.expectString)(output.FeatureGroupName),
|
|
433
|
-
Record: output.Record != null ?
|
|
427
|
+
Record: output.Record != null ? de_Record(output.Record, context) : undefined,
|
|
434
428
|
RecordIdentifierValueAsString: (0, smithy_client_1.expectString)(output.RecordIdentifierValueAsString),
|
|
435
429
|
};
|
|
436
430
|
};
|
|
437
|
-
const
|
|
431
|
+
const de_BatchGetRecordResultDetails = (output, context) => {
|
|
438
432
|
const retVal = (output || [])
|
|
439
433
|
.filter((e) => e != null)
|
|
440
434
|
.map((entry) => {
|
|
441
435
|
if (entry === null) {
|
|
442
436
|
return null;
|
|
443
437
|
}
|
|
444
|
-
return
|
|
438
|
+
return de_BatchGetRecordResultDetail(entry, context);
|
|
445
439
|
});
|
|
446
440
|
return retVal;
|
|
447
441
|
};
|
|
448
|
-
const
|
|
442
|
+
const de_FeatureNames = (output, context) => {
|
|
449
443
|
const retVal = (output || [])
|
|
450
444
|
.filter((e) => e != null)
|
|
451
445
|
.map((entry) => {
|
|
@@ -456,24 +450,24 @@ const deserializeAws_restJson1FeatureNames = (output, context) => {
|
|
|
456
450
|
});
|
|
457
451
|
return retVal;
|
|
458
452
|
};
|
|
459
|
-
const
|
|
453
|
+
const de_FeatureValue = (output, context) => {
|
|
460
454
|
return {
|
|
461
455
|
FeatureName: (0, smithy_client_1.expectString)(output.FeatureName),
|
|
462
456
|
ValueAsString: (0, smithy_client_1.expectString)(output.ValueAsString),
|
|
463
457
|
};
|
|
464
458
|
};
|
|
465
|
-
const
|
|
459
|
+
const de_Record = (output, context) => {
|
|
466
460
|
const retVal = (output || [])
|
|
467
461
|
.filter((e) => e != null)
|
|
468
462
|
.map((entry) => {
|
|
469
463
|
if (entry === null) {
|
|
470
464
|
return null;
|
|
471
465
|
}
|
|
472
|
-
return
|
|
466
|
+
return de_FeatureValue(entry, context);
|
|
473
467
|
});
|
|
474
468
|
return retVal;
|
|
475
469
|
};
|
|
476
|
-
const
|
|
470
|
+
const de_RecordIdentifiers = (output, context) => {
|
|
477
471
|
const retVal = (output || [])
|
|
478
472
|
.filter((e) => e != null)
|
|
479
473
|
.map((entry) => {
|
|
@@ -484,14 +478,14 @@ const deserializeAws_restJson1RecordIdentifiers = (output, context) => {
|
|
|
484
478
|
});
|
|
485
479
|
return retVal;
|
|
486
480
|
};
|
|
487
|
-
const
|
|
481
|
+
const de_UnprocessedIdentifiers = (output, context) => {
|
|
488
482
|
const retVal = (output || [])
|
|
489
483
|
.filter((e) => e != null)
|
|
490
484
|
.map((entry) => {
|
|
491
485
|
if (entry === null) {
|
|
492
486
|
return null;
|
|
493
487
|
}
|
|
494
|
-
return
|
|
488
|
+
return de_BatchGetRecordIdentifier(entry, context);
|
|
495
489
|
});
|
|
496
490
|
return retVal;
|
|
497
491
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_BatchGetRecordCommand, se_BatchGetRecordCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class BatchGetRecordCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class BatchGetRecordCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_BatchGetRecordCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_BatchGetRecordCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_DeleteRecordCommand, se_DeleteRecordCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class DeleteRecordCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DeleteRecordCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_DeleteRecordCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DeleteRecordCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_GetRecordCommand, se_GetRecordCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class GetRecordCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class GetRecordCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_GetRecordCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_GetRecordCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_PutRecordCommand, se_PutRecordCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class PutRecordCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class PutRecordCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_PutRecordCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_PutRecordCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { AccessForbidden, InternalFailure, ResourceNotFound, ServiceUnavailable, ValidationError, } from "../models/models_0";
|
|
4
4
|
import { SageMakerFeatureStoreRuntimeServiceException as __BaseException } from "../models/SageMakerFeatureStoreRuntimeServiceException";
|
|
5
|
-
export const
|
|
5
|
+
export const se_BatchGetRecordCommand = async (input, context) => {
|
|
6
6
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
7
7
|
const headers = {
|
|
8
8
|
"content-type": "application/json",
|
|
@@ -10,9 +10,7 @@ export const serializeAws_restJson1BatchGetRecordCommand = async (input, context
|
|
|
10
10
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/BatchGetRecord";
|
|
11
11
|
let body;
|
|
12
12
|
body = JSON.stringify({
|
|
13
|
-
...(input.Identifiers != null && {
|
|
14
|
-
Identifiers: serializeAws_restJson1BatchGetRecordIdentifiers(input.Identifiers, context),
|
|
15
|
-
}),
|
|
13
|
+
...(input.Identifiers != null && { Identifiers: se_BatchGetRecordIdentifiers(input.Identifiers, context) }),
|
|
16
14
|
});
|
|
17
15
|
return new __HttpRequest({
|
|
18
16
|
protocol,
|
|
@@ -24,7 +22,7 @@ export const serializeAws_restJson1BatchGetRecordCommand = async (input, context
|
|
|
24
22
|
body,
|
|
25
23
|
});
|
|
26
24
|
};
|
|
27
|
-
export const
|
|
25
|
+
export const se_DeleteRecordCommand = async (input, context) => {
|
|
28
26
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
29
27
|
const headers = {};
|
|
30
28
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/FeatureGroup/{FeatureGroupName}";
|
|
@@ -53,7 +51,7 @@ export const serializeAws_restJson1DeleteRecordCommand = async (input, context)
|
|
|
53
51
|
body,
|
|
54
52
|
});
|
|
55
53
|
};
|
|
56
|
-
export const
|
|
54
|
+
export const se_GetRecordCommand = async (input, context) => {
|
|
57
55
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
58
56
|
const headers = {};
|
|
59
57
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/FeatureGroup/{FeatureGroupName}";
|
|
@@ -80,7 +78,7 @@ export const serializeAws_restJson1GetRecordCommand = async (input, context) =>
|
|
|
80
78
|
body,
|
|
81
79
|
});
|
|
82
80
|
};
|
|
83
|
-
export const
|
|
81
|
+
export const se_PutRecordCommand = async (input, context) => {
|
|
84
82
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
85
83
|
const headers = {
|
|
86
84
|
"content-type": "application/json",
|
|
@@ -89,10 +87,8 @@ export const serializeAws_restJson1PutRecordCommand = async (input, context) =>
|
|
|
89
87
|
resolvedPath = __resolvedPath(resolvedPath, input, "FeatureGroupName", () => input.FeatureGroupName, "{FeatureGroupName}", false);
|
|
90
88
|
let body;
|
|
91
89
|
body = JSON.stringify({
|
|
92
|
-
...(input.Record != null && { Record:
|
|
93
|
-
...(input.TargetStores != null && {
|
|
94
|
-
TargetStores: serializeAws_restJson1TargetStores(input.TargetStores, context),
|
|
95
|
-
}),
|
|
90
|
+
...(input.Record != null && { Record: se_Record(input.Record, context) }),
|
|
91
|
+
...(input.TargetStores != null && { TargetStores: se_TargetStores(input.TargetStores, context) }),
|
|
96
92
|
});
|
|
97
93
|
return new __HttpRequest({
|
|
98
94
|
protocol,
|
|
@@ -104,26 +100,26 @@ export const serializeAws_restJson1PutRecordCommand = async (input, context) =>
|
|
|
104
100
|
body,
|
|
105
101
|
});
|
|
106
102
|
};
|
|
107
|
-
export const
|
|
103
|
+
export const de_BatchGetRecordCommand = async (output, context) => {
|
|
108
104
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
109
|
-
return
|
|
105
|
+
return de_BatchGetRecordCommandError(output, context);
|
|
110
106
|
}
|
|
111
107
|
const contents = map({
|
|
112
108
|
$metadata: deserializeMetadata(output),
|
|
113
109
|
});
|
|
114
110
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
115
111
|
if (data.Errors != null) {
|
|
116
|
-
contents.Errors =
|
|
112
|
+
contents.Errors = de_BatchGetRecordErrors(data.Errors, context);
|
|
117
113
|
}
|
|
118
114
|
if (data.Records != null) {
|
|
119
|
-
contents.Records =
|
|
115
|
+
contents.Records = de_BatchGetRecordResultDetails(data.Records, context);
|
|
120
116
|
}
|
|
121
117
|
if (data.UnprocessedIdentifiers != null) {
|
|
122
|
-
contents.UnprocessedIdentifiers =
|
|
118
|
+
contents.UnprocessedIdentifiers = de_UnprocessedIdentifiers(data.UnprocessedIdentifiers, context);
|
|
123
119
|
}
|
|
124
120
|
return contents;
|
|
125
121
|
};
|
|
126
|
-
const
|
|
122
|
+
const de_BatchGetRecordCommandError = async (output, context) => {
|
|
127
123
|
const parsedOutput = {
|
|
128
124
|
...output,
|
|
129
125
|
body: await parseErrorBody(output.body, context),
|
|
@@ -132,16 +128,16 @@ const deserializeAws_restJson1BatchGetRecordCommandError = async (output, contex
|
|
|
132
128
|
switch (errorCode) {
|
|
133
129
|
case "AccessForbidden":
|
|
134
130
|
case "com.amazonaws.sagemakerfeaturestoreruntime#AccessForbidden":
|
|
135
|
-
throw await
|
|
131
|
+
throw await de_AccessForbiddenRes(parsedOutput, context);
|
|
136
132
|
case "InternalFailure":
|
|
137
133
|
case "com.amazonaws.sagemakerfeaturestoreruntime#InternalFailure":
|
|
138
|
-
throw await
|
|
134
|
+
throw await de_InternalFailureRes(parsedOutput, context);
|
|
139
135
|
case "ServiceUnavailable":
|
|
140
136
|
case "com.amazonaws.sagemakerfeaturestoreruntime#ServiceUnavailable":
|
|
141
|
-
throw await
|
|
137
|
+
throw await de_ServiceUnavailableRes(parsedOutput, context);
|
|
142
138
|
case "ValidationError":
|
|
143
139
|
case "com.amazonaws.sagemakerfeaturestoreruntime#ValidationError":
|
|
144
|
-
throw await
|
|
140
|
+
throw await de_ValidationErrorRes(parsedOutput, context);
|
|
145
141
|
default:
|
|
146
142
|
const parsedBody = parsedOutput.body;
|
|
147
143
|
throwDefaultError({
|
|
@@ -152,9 +148,9 @@ const deserializeAws_restJson1BatchGetRecordCommandError = async (output, contex
|
|
|
152
148
|
});
|
|
153
149
|
}
|
|
154
150
|
};
|
|
155
|
-
export const
|
|
151
|
+
export const de_DeleteRecordCommand = async (output, context) => {
|
|
156
152
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
157
|
-
return
|
|
153
|
+
return de_DeleteRecordCommandError(output, context);
|
|
158
154
|
}
|
|
159
155
|
const contents = map({
|
|
160
156
|
$metadata: deserializeMetadata(output),
|
|
@@ -162,7 +158,7 @@ export const deserializeAws_restJson1DeleteRecordCommand = async (output, contex
|
|
|
162
158
|
await collectBody(output.body, context);
|
|
163
159
|
return contents;
|
|
164
160
|
};
|
|
165
|
-
const
|
|
161
|
+
const de_DeleteRecordCommandError = async (output, context) => {
|
|
166
162
|
const parsedOutput = {
|
|
167
163
|
...output,
|
|
168
164
|
body: await parseErrorBody(output.body, context),
|
|
@@ -171,16 +167,16 @@ const deserializeAws_restJson1DeleteRecordCommandError = async (output, context)
|
|
|
171
167
|
switch (errorCode) {
|
|
172
168
|
case "AccessForbidden":
|
|
173
169
|
case "com.amazonaws.sagemakerfeaturestoreruntime#AccessForbidden":
|
|
174
|
-
throw await
|
|
170
|
+
throw await de_AccessForbiddenRes(parsedOutput, context);
|
|
175
171
|
case "InternalFailure":
|
|
176
172
|
case "com.amazonaws.sagemakerfeaturestoreruntime#InternalFailure":
|
|
177
|
-
throw await
|
|
173
|
+
throw await de_InternalFailureRes(parsedOutput, context);
|
|
178
174
|
case "ServiceUnavailable":
|
|
179
175
|
case "com.amazonaws.sagemakerfeaturestoreruntime#ServiceUnavailable":
|
|
180
|
-
throw await
|
|
176
|
+
throw await de_ServiceUnavailableRes(parsedOutput, context);
|
|
181
177
|
case "ValidationError":
|
|
182
178
|
case "com.amazonaws.sagemakerfeaturestoreruntime#ValidationError":
|
|
183
|
-
throw await
|
|
179
|
+
throw await de_ValidationErrorRes(parsedOutput, context);
|
|
184
180
|
default:
|
|
185
181
|
const parsedBody = parsedOutput.body;
|
|
186
182
|
throwDefaultError({
|
|
@@ -191,20 +187,20 @@ const deserializeAws_restJson1DeleteRecordCommandError = async (output, context)
|
|
|
191
187
|
});
|
|
192
188
|
}
|
|
193
189
|
};
|
|
194
|
-
export const
|
|
190
|
+
export const de_GetRecordCommand = async (output, context) => {
|
|
195
191
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
196
|
-
return
|
|
192
|
+
return de_GetRecordCommandError(output, context);
|
|
197
193
|
}
|
|
198
194
|
const contents = map({
|
|
199
195
|
$metadata: deserializeMetadata(output),
|
|
200
196
|
});
|
|
201
197
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
202
198
|
if (data.Record != null) {
|
|
203
|
-
contents.Record =
|
|
199
|
+
contents.Record = de_Record(data.Record, context);
|
|
204
200
|
}
|
|
205
201
|
return contents;
|
|
206
202
|
};
|
|
207
|
-
const
|
|
203
|
+
const de_GetRecordCommandError = async (output, context) => {
|
|
208
204
|
const parsedOutput = {
|
|
209
205
|
...output,
|
|
210
206
|
body: await parseErrorBody(output.body, context),
|
|
@@ -213,19 +209,19 @@ const deserializeAws_restJson1GetRecordCommandError = async (output, context) =>
|
|
|
213
209
|
switch (errorCode) {
|
|
214
210
|
case "AccessForbidden":
|
|
215
211
|
case "com.amazonaws.sagemakerfeaturestoreruntime#AccessForbidden":
|
|
216
|
-
throw await
|
|
212
|
+
throw await de_AccessForbiddenRes(parsedOutput, context);
|
|
217
213
|
case "InternalFailure":
|
|
218
214
|
case "com.amazonaws.sagemakerfeaturestoreruntime#InternalFailure":
|
|
219
|
-
throw await
|
|
215
|
+
throw await de_InternalFailureRes(parsedOutput, context);
|
|
220
216
|
case "ResourceNotFound":
|
|
221
217
|
case "com.amazonaws.sagemakerfeaturestoreruntime#ResourceNotFound":
|
|
222
|
-
throw await
|
|
218
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
223
219
|
case "ServiceUnavailable":
|
|
224
220
|
case "com.amazonaws.sagemakerfeaturestoreruntime#ServiceUnavailable":
|
|
225
|
-
throw await
|
|
221
|
+
throw await de_ServiceUnavailableRes(parsedOutput, context);
|
|
226
222
|
case "ValidationError":
|
|
227
223
|
case "com.amazonaws.sagemakerfeaturestoreruntime#ValidationError":
|
|
228
|
-
throw await
|
|
224
|
+
throw await de_ValidationErrorRes(parsedOutput, context);
|
|
229
225
|
default:
|
|
230
226
|
const parsedBody = parsedOutput.body;
|
|
231
227
|
throwDefaultError({
|
|
@@ -236,9 +232,9 @@ const deserializeAws_restJson1GetRecordCommandError = async (output, context) =>
|
|
|
236
232
|
});
|
|
237
233
|
}
|
|
238
234
|
};
|
|
239
|
-
export const
|
|
235
|
+
export const de_PutRecordCommand = async (output, context) => {
|
|
240
236
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
241
|
-
return
|
|
237
|
+
return de_PutRecordCommandError(output, context);
|
|
242
238
|
}
|
|
243
239
|
const contents = map({
|
|
244
240
|
$metadata: deserializeMetadata(output),
|
|
@@ -246,7 +242,7 @@ export const deserializeAws_restJson1PutRecordCommand = async (output, context)
|
|
|
246
242
|
await collectBody(output.body, context);
|
|
247
243
|
return contents;
|
|
248
244
|
};
|
|
249
|
-
const
|
|
245
|
+
const de_PutRecordCommandError = async (output, context) => {
|
|
250
246
|
const parsedOutput = {
|
|
251
247
|
...output,
|
|
252
248
|
body: await parseErrorBody(output.body, context),
|
|
@@ -255,16 +251,16 @@ const deserializeAws_restJson1PutRecordCommandError = async (output, context) =>
|
|
|
255
251
|
switch (errorCode) {
|
|
256
252
|
case "AccessForbidden":
|
|
257
253
|
case "com.amazonaws.sagemakerfeaturestoreruntime#AccessForbidden":
|
|
258
|
-
throw await
|
|
254
|
+
throw await de_AccessForbiddenRes(parsedOutput, context);
|
|
259
255
|
case "InternalFailure":
|
|
260
256
|
case "com.amazonaws.sagemakerfeaturestoreruntime#InternalFailure":
|
|
261
|
-
throw await
|
|
257
|
+
throw await de_InternalFailureRes(parsedOutput, context);
|
|
262
258
|
case "ServiceUnavailable":
|
|
263
259
|
case "com.amazonaws.sagemakerfeaturestoreruntime#ServiceUnavailable":
|
|
264
|
-
throw await
|
|
260
|
+
throw await de_ServiceUnavailableRes(parsedOutput, context);
|
|
265
261
|
case "ValidationError":
|
|
266
262
|
case "com.amazonaws.sagemakerfeaturestoreruntime#ValidationError":
|
|
267
|
-
throw await
|
|
263
|
+
throw await de_ValidationErrorRes(parsedOutput, context);
|
|
268
264
|
default:
|
|
269
265
|
const parsedBody = parsedOutput.body;
|
|
270
266
|
throwDefaultError({
|
|
@@ -276,7 +272,7 @@ const deserializeAws_restJson1PutRecordCommandError = async (output, context) =>
|
|
|
276
272
|
}
|
|
277
273
|
};
|
|
278
274
|
const map = __map;
|
|
279
|
-
const
|
|
275
|
+
const de_AccessForbiddenRes = async (parsedOutput, context) => {
|
|
280
276
|
const contents = map({});
|
|
281
277
|
const data = parsedOutput.body;
|
|
282
278
|
if (data.Message != null) {
|
|
@@ -288,7 +284,7 @@ const deserializeAws_restJson1AccessForbiddenResponse = async (parsedOutput, con
|
|
|
288
284
|
});
|
|
289
285
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
290
286
|
};
|
|
291
|
-
const
|
|
287
|
+
const de_InternalFailureRes = async (parsedOutput, context) => {
|
|
292
288
|
const contents = map({});
|
|
293
289
|
const data = parsedOutput.body;
|
|
294
290
|
if (data.Message != null) {
|
|
@@ -300,7 +296,7 @@ const deserializeAws_restJson1InternalFailureResponse = async (parsedOutput, con
|
|
|
300
296
|
});
|
|
301
297
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
302
298
|
};
|
|
303
|
-
const
|
|
299
|
+
const de_ResourceNotFoundRes = async (parsedOutput, context) => {
|
|
304
300
|
const contents = map({});
|
|
305
301
|
const data = parsedOutput.body;
|
|
306
302
|
if (data.Message != null) {
|
|
@@ -312,7 +308,7 @@ const deserializeAws_restJson1ResourceNotFoundResponse = async (parsedOutput, co
|
|
|
312
308
|
});
|
|
313
309
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
314
310
|
};
|
|
315
|
-
const
|
|
311
|
+
const de_ServiceUnavailableRes = async (parsedOutput, context) => {
|
|
316
312
|
const contents = map({});
|
|
317
313
|
const data = parsedOutput.body;
|
|
318
314
|
if (data.Message != null) {
|
|
@@ -324,7 +320,7 @@ const deserializeAws_restJson1ServiceUnavailableResponse = async (parsedOutput,
|
|
|
324
320
|
});
|
|
325
321
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
326
322
|
};
|
|
327
|
-
const
|
|
323
|
+
const de_ValidationErrorRes = async (parsedOutput, context) => {
|
|
328
324
|
const contents = map({});
|
|
329
325
|
const data = parsedOutput.body;
|
|
330
326
|
if (data.Message != null) {
|
|
@@ -336,59 +332,57 @@ const deserializeAws_restJson1ValidationErrorResponse = async (parsedOutput, con
|
|
|
336
332
|
});
|
|
337
333
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
338
334
|
};
|
|
339
|
-
const
|
|
335
|
+
const se_BatchGetRecordIdentifier = (input, context) => {
|
|
340
336
|
return {
|
|
341
337
|
...(input.FeatureGroupName != null && { FeatureGroupName: input.FeatureGroupName }),
|
|
342
|
-
...(input.FeatureNames != null && {
|
|
343
|
-
FeatureNames: serializeAws_restJson1FeatureNames(input.FeatureNames, context),
|
|
344
|
-
}),
|
|
338
|
+
...(input.FeatureNames != null && { FeatureNames: se_FeatureNames(input.FeatureNames, context) }),
|
|
345
339
|
...(input.RecordIdentifiersValueAsString != null && {
|
|
346
|
-
RecordIdentifiersValueAsString:
|
|
340
|
+
RecordIdentifiersValueAsString: se_RecordIdentifiers(input.RecordIdentifiersValueAsString, context),
|
|
347
341
|
}),
|
|
348
342
|
};
|
|
349
343
|
};
|
|
350
|
-
const
|
|
344
|
+
const se_BatchGetRecordIdentifiers = (input, context) => {
|
|
351
345
|
return input
|
|
352
346
|
.filter((e) => e != null)
|
|
353
347
|
.map((entry) => {
|
|
354
|
-
return
|
|
348
|
+
return se_BatchGetRecordIdentifier(entry, context);
|
|
355
349
|
});
|
|
356
350
|
};
|
|
357
|
-
const
|
|
351
|
+
const se_FeatureNames = (input, context) => {
|
|
358
352
|
return input
|
|
359
353
|
.filter((e) => e != null)
|
|
360
354
|
.map((entry) => {
|
|
361
355
|
return entry;
|
|
362
356
|
});
|
|
363
357
|
};
|
|
364
|
-
const
|
|
358
|
+
const se_FeatureValue = (input, context) => {
|
|
365
359
|
return {
|
|
366
360
|
...(input.FeatureName != null && { FeatureName: input.FeatureName }),
|
|
367
361
|
...(input.ValueAsString != null && { ValueAsString: input.ValueAsString }),
|
|
368
362
|
};
|
|
369
363
|
};
|
|
370
|
-
const
|
|
364
|
+
const se_Record = (input, context) => {
|
|
371
365
|
return input
|
|
372
366
|
.filter((e) => e != null)
|
|
373
367
|
.map((entry) => {
|
|
374
|
-
return
|
|
368
|
+
return se_FeatureValue(entry, context);
|
|
375
369
|
});
|
|
376
370
|
};
|
|
377
|
-
const
|
|
371
|
+
const se_RecordIdentifiers = (input, context) => {
|
|
378
372
|
return input
|
|
379
373
|
.filter((e) => e != null)
|
|
380
374
|
.map((entry) => {
|
|
381
375
|
return entry;
|
|
382
376
|
});
|
|
383
377
|
};
|
|
384
|
-
const
|
|
378
|
+
const se_TargetStores = (input, context) => {
|
|
385
379
|
return input
|
|
386
380
|
.filter((e) => e != null)
|
|
387
381
|
.map((entry) => {
|
|
388
382
|
return entry;
|
|
389
383
|
});
|
|
390
384
|
};
|
|
391
|
-
const
|
|
385
|
+
const de_BatchGetRecordError = (output, context) => {
|
|
392
386
|
return {
|
|
393
387
|
ErrorCode: __expectString(output.ErrorCode),
|
|
394
388
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
@@ -396,45 +390,45 @@ const deserializeAws_restJson1BatchGetRecordError = (output, context) => {
|
|
|
396
390
|
RecordIdentifierValueAsString: __expectString(output.RecordIdentifierValueAsString),
|
|
397
391
|
};
|
|
398
392
|
};
|
|
399
|
-
const
|
|
393
|
+
const de_BatchGetRecordErrors = (output, context) => {
|
|
400
394
|
const retVal = (output || [])
|
|
401
395
|
.filter((e) => e != null)
|
|
402
396
|
.map((entry) => {
|
|
403
397
|
if (entry === null) {
|
|
404
398
|
return null;
|
|
405
399
|
}
|
|
406
|
-
return
|
|
400
|
+
return de_BatchGetRecordError(entry, context);
|
|
407
401
|
});
|
|
408
402
|
return retVal;
|
|
409
403
|
};
|
|
410
|
-
const
|
|
404
|
+
const de_BatchGetRecordIdentifier = (output, context) => {
|
|
411
405
|
return {
|
|
412
406
|
FeatureGroupName: __expectString(output.FeatureGroupName),
|
|
413
|
-
FeatureNames: output.FeatureNames != null ?
|
|
407
|
+
FeatureNames: output.FeatureNames != null ? de_FeatureNames(output.FeatureNames, context) : undefined,
|
|
414
408
|
RecordIdentifiersValueAsString: output.RecordIdentifiersValueAsString != null
|
|
415
|
-
?
|
|
409
|
+
? de_RecordIdentifiers(output.RecordIdentifiersValueAsString, context)
|
|
416
410
|
: undefined,
|
|
417
411
|
};
|
|
418
412
|
};
|
|
419
|
-
const
|
|
413
|
+
const de_BatchGetRecordResultDetail = (output, context) => {
|
|
420
414
|
return {
|
|
421
415
|
FeatureGroupName: __expectString(output.FeatureGroupName),
|
|
422
|
-
Record: output.Record != null ?
|
|
416
|
+
Record: output.Record != null ? de_Record(output.Record, context) : undefined,
|
|
423
417
|
RecordIdentifierValueAsString: __expectString(output.RecordIdentifierValueAsString),
|
|
424
418
|
};
|
|
425
419
|
};
|
|
426
|
-
const
|
|
420
|
+
const de_BatchGetRecordResultDetails = (output, context) => {
|
|
427
421
|
const retVal = (output || [])
|
|
428
422
|
.filter((e) => e != null)
|
|
429
423
|
.map((entry) => {
|
|
430
424
|
if (entry === null) {
|
|
431
425
|
return null;
|
|
432
426
|
}
|
|
433
|
-
return
|
|
427
|
+
return de_BatchGetRecordResultDetail(entry, context);
|
|
434
428
|
});
|
|
435
429
|
return retVal;
|
|
436
430
|
};
|
|
437
|
-
const
|
|
431
|
+
const de_FeatureNames = (output, context) => {
|
|
438
432
|
const retVal = (output || [])
|
|
439
433
|
.filter((e) => e != null)
|
|
440
434
|
.map((entry) => {
|
|
@@ -445,24 +439,24 @@ const deserializeAws_restJson1FeatureNames = (output, context) => {
|
|
|
445
439
|
});
|
|
446
440
|
return retVal;
|
|
447
441
|
};
|
|
448
|
-
const
|
|
442
|
+
const de_FeatureValue = (output, context) => {
|
|
449
443
|
return {
|
|
450
444
|
FeatureName: __expectString(output.FeatureName),
|
|
451
445
|
ValueAsString: __expectString(output.ValueAsString),
|
|
452
446
|
};
|
|
453
447
|
};
|
|
454
|
-
const
|
|
448
|
+
const de_Record = (output, context) => {
|
|
455
449
|
const retVal = (output || [])
|
|
456
450
|
.filter((e) => e != null)
|
|
457
451
|
.map((entry) => {
|
|
458
452
|
if (entry === null) {
|
|
459
453
|
return null;
|
|
460
454
|
}
|
|
461
|
-
return
|
|
455
|
+
return de_FeatureValue(entry, context);
|
|
462
456
|
});
|
|
463
457
|
return retVal;
|
|
464
458
|
};
|
|
465
|
-
const
|
|
459
|
+
const de_RecordIdentifiers = (output, context) => {
|
|
466
460
|
const retVal = (output || [])
|
|
467
461
|
.filter((e) => e != null)
|
|
468
462
|
.map((entry) => {
|
|
@@ -473,14 +467,14 @@ const deserializeAws_restJson1RecordIdentifiers = (output, context) => {
|
|
|
473
467
|
});
|
|
474
468
|
return retVal;
|
|
475
469
|
};
|
|
476
|
-
const
|
|
470
|
+
const de_UnprocessedIdentifiers = (output, context) => {
|
|
477
471
|
const retVal = (output || [])
|
|
478
472
|
.filter((e) => e != null)
|
|
479
473
|
.map((entry) => {
|
|
480
474
|
if (entry === null) {
|
|
481
475
|
return null;
|
|
482
476
|
}
|
|
483
|
-
return
|
|
477
|
+
return de_BatchGetRecordIdentifier(entry, context);
|
|
484
478
|
});
|
|
485
479
|
return retVal;
|
|
486
480
|
};
|
|
@@ -4,11 +4,35 @@ import { BatchGetRecordCommandInput, BatchGetRecordCommandOutput } from "../comm
|
|
|
4
4
|
import { DeleteRecordCommandInput, DeleteRecordCommandOutput } from "../commands/DeleteRecordCommand";
|
|
5
5
|
import { GetRecordCommandInput, GetRecordCommandOutput } from "../commands/GetRecordCommand";
|
|
6
6
|
import { PutRecordCommandInput, PutRecordCommandOutput } from "../commands/PutRecordCommand";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export declare const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export declare const
|
|
7
|
+
/**
|
|
8
|
+
* serializeAws_restJson1BatchGetRecordCommand
|
|
9
|
+
*/
|
|
10
|
+
export declare const se_BatchGetRecordCommand: (input: BatchGetRecordCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
11
|
+
/**
|
|
12
|
+
* serializeAws_restJson1DeleteRecordCommand
|
|
13
|
+
*/
|
|
14
|
+
export declare const se_DeleteRecordCommand: (input: DeleteRecordCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
15
|
+
/**
|
|
16
|
+
* serializeAws_restJson1GetRecordCommand
|
|
17
|
+
*/
|
|
18
|
+
export declare const se_GetRecordCommand: (input: GetRecordCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
19
|
+
/**
|
|
20
|
+
* serializeAws_restJson1PutRecordCommand
|
|
21
|
+
*/
|
|
22
|
+
export declare const se_PutRecordCommand: (input: PutRecordCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
23
|
+
/**
|
|
24
|
+
* deserializeAws_restJson1BatchGetRecordCommand
|
|
25
|
+
*/
|
|
26
|
+
export declare const de_BatchGetRecordCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetRecordCommandOutput>;
|
|
27
|
+
/**
|
|
28
|
+
* deserializeAws_restJson1DeleteRecordCommand
|
|
29
|
+
*/
|
|
30
|
+
export declare const de_DeleteRecordCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteRecordCommandOutput>;
|
|
31
|
+
/**
|
|
32
|
+
* deserializeAws_restJson1GetRecordCommand
|
|
33
|
+
*/
|
|
34
|
+
export declare const de_GetRecordCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRecordCommandOutput>;
|
|
35
|
+
/**
|
|
36
|
+
* deserializeAws_restJson1PutRecordCommand
|
|
37
|
+
*/
|
|
38
|
+
export declare const de_PutRecordCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutRecordCommandOutput>;
|
|
@@ -19,35 +19,35 @@ import {
|
|
|
19
19
|
PutRecordCommandInput,
|
|
20
20
|
PutRecordCommandOutput,
|
|
21
21
|
} from "../commands/PutRecordCommand";
|
|
22
|
-
export declare const
|
|
22
|
+
export declare const se_BatchGetRecordCommand: (
|
|
23
23
|
input: BatchGetRecordCommandInput,
|
|
24
24
|
context: __SerdeContext
|
|
25
25
|
) => Promise<__HttpRequest>;
|
|
26
|
-
export declare const
|
|
26
|
+
export declare const se_DeleteRecordCommand: (
|
|
27
27
|
input: DeleteRecordCommandInput,
|
|
28
28
|
context: __SerdeContext
|
|
29
29
|
) => Promise<__HttpRequest>;
|
|
30
|
-
export declare const
|
|
30
|
+
export declare const se_GetRecordCommand: (
|
|
31
31
|
input: GetRecordCommandInput,
|
|
32
32
|
context: __SerdeContext
|
|
33
33
|
) => Promise<__HttpRequest>;
|
|
34
|
-
export declare const
|
|
34
|
+
export declare const se_PutRecordCommand: (
|
|
35
35
|
input: PutRecordCommandInput,
|
|
36
36
|
context: __SerdeContext
|
|
37
37
|
) => Promise<__HttpRequest>;
|
|
38
|
-
export declare const
|
|
38
|
+
export declare const de_BatchGetRecordCommand: (
|
|
39
39
|
output: __HttpResponse,
|
|
40
40
|
context: __SerdeContext
|
|
41
41
|
) => Promise<BatchGetRecordCommandOutput>;
|
|
42
|
-
export declare const
|
|
42
|
+
export declare const de_DeleteRecordCommand: (
|
|
43
43
|
output: __HttpResponse,
|
|
44
44
|
context: __SerdeContext
|
|
45
45
|
) => Promise<DeleteRecordCommandOutput>;
|
|
46
|
-
export declare const
|
|
46
|
+
export declare const de_GetRecordCommand: (
|
|
47
47
|
output: __HttpResponse,
|
|
48
48
|
context: __SerdeContext
|
|
49
49
|
) => Promise<GetRecordCommandOutput>;
|
|
50
|
-
export declare const
|
|
50
|
+
export declare const de_PutRecordCommand: (
|
|
51
51
|
output: __HttpResponse,
|
|
52
52
|
context: __SerdeContext
|
|
53
53
|
) => Promise<PutRecordCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.
|
|
4
|
+
"version": "3.310.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.310.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.310.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.310.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.310.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.310.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.310.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.310.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.310.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.310.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.310.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.310.0",
|
|
44
|
+
"@aws-sdk/types": "3.310.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.310.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.310.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.310.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.310.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.310.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.310.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.310.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.310.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
78
|
"files": [
|
|
79
|
-
"dist
|
|
79
|
+
"dist-*/**"
|
|
80
80
|
],
|
|
81
81
|
"author": {
|
|
82
82
|
"name": "AWS SDK for JavaScript Team",
|