@aws-sdk/client-rekognitionstreaming 3.308.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.
@@ -10,7 +10,6 @@ const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
10
10
  const middleware_logger_1 = require("@aws-sdk/middleware-logger");
11
11
  const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
12
12
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
13
- const middleware_sdk_rekognitionstreaming_1 = require("@aws-sdk/middleware-sdk-rekognitionstreaming");
14
13
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
15
14
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
16
15
  const middleware_websocket_1 = require("@aws-sdk/middleware-websocket");
@@ -38,7 +37,6 @@ class RekognitionStreamingClient extends smithy_client_1.Client {
38
37
  this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
39
38
  this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
40
39
  this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
41
- this.middlewareStack.use((0, middleware_sdk_rekognitionstreaming_1.getRekognitionStreamingPlugin)(this.config));
42
40
  this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
43
41
  }
44
42
  destroy() {
@@ -41,10 +41,10 @@ class StartFaceLivenessSessionCommand extends smithy_client_1.Command {
41
41
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
42
  }
43
43
  serialize(input, context) {
44
- return (0, Aws_restJson1_1.serializeAws_restJson1StartFaceLivenessSessionCommand)(input, context);
44
+ return (0, Aws_restJson1_1.se_StartFaceLivenessSessionCommand)(input, context);
45
45
  }
46
46
  deserialize(output, context) {
47
- return (0, Aws_restJson1_1.deserializeAws_restJson1StartFaceLivenessSessionCommand)(output, context);
47
+ return (0, Aws_restJson1_1.de_StartFaceLivenessSessionCommand)(output, context);
48
48
  }
49
49
  }
50
50
  exports.StartFaceLivenessSessionCommand = StartFaceLivenessSessionCommand;
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1StartFaceLivenessSessionCommand = exports.serializeAws_restJson1StartFaceLivenessSessionCommand = void 0;
3
+ exports.de_StartFaceLivenessSessionCommand = exports.se_StartFaceLivenessSessionCommand = 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 RekognitionStreamingServiceException_1 = require("../models/RekognitionStreamingServiceException");
8
- const serializeAws_restJson1StartFaceLivenessSessionCommand = async (input, context) => {
8
+ const se_StartFaceLivenessSessionCommand = async (input, context) => {
9
9
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
10
10
  const headers = map({}, isSerializableHeaderValue, {
11
11
  "x-amz-rekognition-streaming-liveness-session-id": input.SessionId,
@@ -16,7 +16,7 @@ const serializeAws_restJson1StartFaceLivenessSessionCommand = async (input, cont
16
16
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/start-face-liveness-session";
17
17
  let body;
18
18
  if (input.LivenessRequestStream !== undefined) {
19
- body = serializeAws_restJson1LivenessRequestStream(input.LivenessRequestStream, context);
19
+ body = se_LivenessRequestStream(input.LivenessRequestStream, context);
20
20
  }
21
21
  return new protocol_http_1.HttpRequest({
22
22
  protocol,
@@ -28,21 +28,21 @@ const serializeAws_restJson1StartFaceLivenessSessionCommand = async (input, cont
28
28
  body,
29
29
  });
30
30
  };
31
- exports.serializeAws_restJson1StartFaceLivenessSessionCommand = serializeAws_restJson1StartFaceLivenessSessionCommand;
32
- const deserializeAws_restJson1StartFaceLivenessSessionCommand = async (output, context) => {
31
+ exports.se_StartFaceLivenessSessionCommand = se_StartFaceLivenessSessionCommand;
32
+ const de_StartFaceLivenessSessionCommand = async (output, context) => {
33
33
  if (output.statusCode !== 200 && output.statusCode >= 300) {
34
- return deserializeAws_restJson1StartFaceLivenessSessionCommandError(output, context);
34
+ return de_StartFaceLivenessSessionCommandError(output, context);
35
35
  }
36
36
  const contents = map({
37
37
  $metadata: deserializeMetadata(output),
38
38
  SessionId: [, output.headers["x-amz-rekognition-streaming-liveness-session-id"]],
39
39
  });
40
40
  const data = output.body;
41
- contents.LivenessResponseStream = deserializeAws_restJson1LivenessResponseStream(data, context);
41
+ contents.LivenessResponseStream = de_LivenessResponseStream(data, context);
42
42
  return contents;
43
43
  };
44
- exports.deserializeAws_restJson1StartFaceLivenessSessionCommand = deserializeAws_restJson1StartFaceLivenessSessionCommand;
45
- const deserializeAws_restJson1StartFaceLivenessSessionCommandError = async (output, context) => {
44
+ exports.de_StartFaceLivenessSessionCommand = de_StartFaceLivenessSessionCommand;
45
+ const de_StartFaceLivenessSessionCommandError = async (output, context) => {
46
46
  const parsedOutput = {
47
47
  ...output,
48
48
  body: await parseErrorBody(output.body, context),
@@ -51,25 +51,25 @@ const deserializeAws_restJson1StartFaceLivenessSessionCommandError = async (outp
51
51
  switch (errorCode) {
52
52
  case "AccessDeniedException":
53
53
  case "com.amazonaws.rekognitionstreaming#AccessDeniedException":
54
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
54
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
55
55
  case "InternalServerException":
56
56
  case "com.amazonaws.rekognitionstreaming#InternalServerException":
57
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
57
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
58
58
  case "ServiceQuotaExceededException":
59
59
  case "com.amazonaws.rekognitionstreaming#ServiceQuotaExceededException":
60
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
60
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
61
61
  case "ServiceUnavailableException":
62
62
  case "com.amazonaws.rekognitionstreaming#ServiceUnavailableException":
63
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
63
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
64
64
  case "SessionNotFoundException":
65
65
  case "com.amazonaws.rekognitionstreaming#SessionNotFoundException":
66
- throw await deserializeAws_restJson1SessionNotFoundExceptionResponse(parsedOutput, context);
66
+ throw await de_SessionNotFoundExceptionRes(parsedOutput, context);
67
67
  case "ThrottlingException":
68
68
  case "com.amazonaws.rekognitionstreaming#ThrottlingException":
69
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
69
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
70
70
  case "ValidationException":
71
71
  case "com.amazonaws.rekognitionstreaming#ValidationException":
72
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
72
+ throw await de_ValidationExceptionRes(parsedOutput, context);
73
73
  default:
74
74
  const parsedBody = parsedOutput.body;
75
75
  (0, smithy_client_1.throwDefaultError)({
@@ -81,7 +81,7 @@ const deserializeAws_restJson1StartFaceLivenessSessionCommandError = async (outp
81
81
  }
82
82
  };
83
83
  const map = smithy_client_1.map;
84
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
84
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
85
85
  const contents = map({});
86
86
  const data = parsedOutput.body;
87
87
  if (data.Code != null) {
@@ -96,7 +96,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
96
96
  });
97
97
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
98
98
  };
99
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
99
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
100
100
  const contents = map({});
101
101
  const data = parsedOutput.body;
102
102
  if (data.Code != null) {
@@ -111,7 +111,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
111
111
  });
112
112
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
113
113
  };
114
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
114
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
115
115
  const contents = map({});
116
116
  const data = parsedOutput.body;
117
117
  if (data.Code != null) {
@@ -126,7 +126,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
126
126
  });
127
127
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
128
128
  };
129
- const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
129
+ const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
130
130
  const contents = map({});
131
131
  const data = parsedOutput.body;
132
132
  if (data.Code != null) {
@@ -141,7 +141,7 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse
141
141
  });
142
142
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
143
143
  };
144
- const deserializeAws_restJson1SessionNotFoundExceptionResponse = async (parsedOutput, context) => {
144
+ const de_SessionNotFoundExceptionRes = async (parsedOutput, context) => {
145
145
  const contents = map({});
146
146
  const data = parsedOutput.body;
147
147
  if (data.Code != null) {
@@ -156,7 +156,7 @@ const deserializeAws_restJson1SessionNotFoundExceptionResponse = async (parsedOu
156
156
  });
157
157
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
158
158
  };
159
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
159
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
160
160
  const contents = map({});
161
161
  const data = parsedOutput.body;
162
162
  if (data.Code != null) {
@@ -171,7 +171,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
171
171
  });
172
172
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
173
173
  };
174
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
174
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
175
175
  const contents = map({});
176
176
  const data = parsedOutput.body;
177
177
  if (data.Code != null) {
@@ -186,124 +186,124 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
186
186
  });
187
187
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
188
188
  };
189
- const serializeAws_restJson1LivenessRequestStream = (input, context) => {
189
+ const se_LivenessRequestStream = (input, context) => {
190
190
  const eventMarshallingVisitor = (event) => models_0_1.LivenessRequestStream.visit(event, {
191
- VideoEvent: (value) => serializeAws_restJson1VideoEvent_event(value, context),
192
- ClientSessionInformationEvent: (value) => serializeAws_restJson1ClientSessionInformationEvent_event(value, context),
191
+ VideoEvent: (value) => se_VideoEvent_event(value, context),
192
+ ClientSessionInformationEvent: (value) => se_ClientSessionInformationEvent_event(value, context),
193
193
  _: (value) => value,
194
194
  });
195
195
  return context.eventStreamMarshaller.serialize(input, eventMarshallingVisitor);
196
196
  };
197
- const serializeAws_restJson1ClientSessionInformationEvent_event = (input, context) => {
197
+ const se_ClientSessionInformationEvent_event = (input, context) => {
198
198
  const headers = {
199
199
  ":event-type": { type: "string", value: "ClientSessionInformationEvent" },
200
200
  ":message-type": { type: "string", value: "event" },
201
201
  ":content-type": { type: "string", value: "application/json" },
202
202
  };
203
203
  let body = new Uint8Array();
204
- body = serializeAws_restJson1ClientSessionInformationEvent(input, context);
204
+ body = se_ClientSessionInformationEvent(input, context);
205
205
  body = context.utf8Decoder(JSON.stringify(body));
206
206
  return { headers, body };
207
207
  };
208
- const serializeAws_restJson1VideoEvent_event = (input, context) => {
208
+ const se_VideoEvent_event = (input, context) => {
209
209
  const headers = {
210
210
  ":event-type": { type: "string", value: "VideoEvent" },
211
211
  ":message-type": { type: "string", value: "event" },
212
212
  ":content-type": { type: "string", value: "application/json" },
213
213
  };
214
214
  let body = new Uint8Array();
215
- body = serializeAws_restJson1VideoEvent(input, context);
215
+ body = se_VideoEvent(input, context);
216
216
  body = context.utf8Decoder(JSON.stringify(body));
217
217
  return { headers, body };
218
218
  };
219
- const deserializeAws_restJson1LivenessResponseStream = (output, context) => {
219
+ const de_LivenessResponseStream = (output, context) => {
220
220
  return context.eventStreamMarshaller.deserialize(output, async (event) => {
221
221
  if (event["ServerSessionInformationEvent"] != null) {
222
222
  return {
223
- ServerSessionInformationEvent: await deserializeAws_restJson1ServerSessionInformationEvent_event(event["ServerSessionInformationEvent"], context),
223
+ ServerSessionInformationEvent: await de_ServerSessionInformationEvent_event(event["ServerSessionInformationEvent"], context),
224
224
  };
225
225
  }
226
226
  if (event["DisconnectionEvent"] != null) {
227
227
  return {
228
- DisconnectionEvent: await deserializeAws_restJson1DisconnectionEvent_event(event["DisconnectionEvent"], context),
228
+ DisconnectionEvent: await de_DisconnectionEvent_event(event["DisconnectionEvent"], context),
229
229
  };
230
230
  }
231
231
  if (event["ValidationException"] != null) {
232
232
  return {
233
- ValidationException: await deserializeAws_restJson1ValidationException_event(event["ValidationException"], context),
233
+ ValidationException: await de_ValidationException_event(event["ValidationException"], context),
234
234
  };
235
235
  }
236
236
  if (event["InternalServerException"] != null) {
237
237
  return {
238
- InternalServerException: await deserializeAws_restJson1InternalServerException_event(event["InternalServerException"], context),
238
+ InternalServerException: await de_InternalServerException_event(event["InternalServerException"], context),
239
239
  };
240
240
  }
241
241
  if (event["ThrottlingException"] != null) {
242
242
  return {
243
- ThrottlingException: await deserializeAws_restJson1ThrottlingException_event(event["ThrottlingException"], context),
243
+ ThrottlingException: await de_ThrottlingException_event(event["ThrottlingException"], context),
244
244
  };
245
245
  }
246
246
  if (event["ServiceQuotaExceededException"] != null) {
247
247
  return {
248
- ServiceQuotaExceededException: await deserializeAws_restJson1ServiceQuotaExceededException_event(event["ServiceQuotaExceededException"], context),
248
+ ServiceQuotaExceededException: await de_ServiceQuotaExceededException_event(event["ServiceQuotaExceededException"], context),
249
249
  };
250
250
  }
251
251
  if (event["ServiceUnavailableException"] != null) {
252
252
  return {
253
- ServiceUnavailableException: await deserializeAws_restJson1ServiceUnavailableException_event(event["ServiceUnavailableException"], context),
253
+ ServiceUnavailableException: await de_ServiceUnavailableException_event(event["ServiceUnavailableException"], context),
254
254
  };
255
255
  }
256
256
  return { $unknown: output };
257
257
  });
258
258
  };
259
- const deserializeAws_restJson1DisconnectionEvent_event = async (output, context) => {
259
+ const de_DisconnectionEvent_event = async (output, context) => {
260
260
  const contents = {};
261
261
  const data = await parseBody(output.body, context);
262
- Object.assign(contents, deserializeAws_restJson1DisconnectionEvent(data, context));
262
+ Object.assign(contents, de_DisconnectionEvent(data, context));
263
263
  return contents;
264
264
  };
265
- const deserializeAws_restJson1InternalServerException_event = async (output, context) => {
265
+ const de_InternalServerException_event = async (output, context) => {
266
266
  const parsedOutput = {
267
267
  ...output,
268
268
  body: await parseBody(output.body, context),
269
269
  };
270
- return deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
270
+ return de_InternalServerExceptionRes(parsedOutput, context);
271
271
  };
272
- const deserializeAws_restJson1ServerSessionInformationEvent_event = async (output, context) => {
272
+ const de_ServerSessionInformationEvent_event = async (output, context) => {
273
273
  const contents = {};
274
274
  const data = await parseBody(output.body, context);
275
- Object.assign(contents, deserializeAws_restJson1ServerSessionInformationEvent(data, context));
275
+ Object.assign(contents, de_ServerSessionInformationEvent(data, context));
276
276
  return contents;
277
277
  };
278
- const deserializeAws_restJson1ServiceQuotaExceededException_event = async (output, context) => {
278
+ const de_ServiceQuotaExceededException_event = async (output, context) => {
279
279
  const parsedOutput = {
280
280
  ...output,
281
281
  body: await parseBody(output.body, context),
282
282
  };
283
- return deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
283
+ return de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
284
284
  };
285
- const deserializeAws_restJson1ServiceUnavailableException_event = async (output, context) => {
285
+ const de_ServiceUnavailableException_event = async (output, context) => {
286
286
  const parsedOutput = {
287
287
  ...output,
288
288
  body: await parseBody(output.body, context),
289
289
  };
290
- return deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
290
+ return de_ServiceUnavailableExceptionRes(parsedOutput, context);
291
291
  };
292
- const deserializeAws_restJson1ThrottlingException_event = async (output, context) => {
292
+ const de_ThrottlingException_event = async (output, context) => {
293
293
  const parsedOutput = {
294
294
  ...output,
295
295
  body: await parseBody(output.body, context),
296
296
  };
297
- return deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
297
+ return de_ThrottlingExceptionRes(parsedOutput, context);
298
298
  };
299
- const deserializeAws_restJson1ValidationException_event = async (output, context) => {
299
+ const de_ValidationException_event = async (output, context) => {
300
300
  const parsedOutput = {
301
301
  ...output,
302
302
  body: await parseBody(output.body, context),
303
303
  };
304
- return deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
304
+ return de_ValidationExceptionRes(parsedOutput, context);
305
305
  };
306
- const serializeAws_restJson1BoundingBox = (input, context) => {
306
+ const se_BoundingBox = (input, context) => {
307
307
  return {
308
308
  ...(input.Height != null && { Height: (0, smithy_client_1.serializeFloat)(input.Height) }),
309
309
  ...(input.Left != null && { Left: (0, smithy_client_1.serializeFloat)(input.Left) }),
@@ -311,66 +311,60 @@ const serializeAws_restJson1BoundingBox = (input, context) => {
311
311
  ...(input.Width != null && { Width: (0, smithy_client_1.serializeFloat)(input.Width) }),
312
312
  };
313
313
  };
314
- const serializeAws_restJson1ClientChallenge = (input, context) => {
314
+ const se_ClientChallenge = (input, context) => {
315
315
  return models_0_1.ClientChallenge.visit(input, {
316
316
  FaceMovementAndLightChallenge: (value) => ({
317
- FaceMovementAndLightChallenge: serializeAws_restJson1FaceMovementAndLightClientChallenge(value, context),
317
+ FaceMovementAndLightChallenge: se_FaceMovementAndLightClientChallenge(value, context),
318
318
  }),
319
319
  _: (name, value) => ({ name: value }),
320
320
  });
321
321
  };
322
- const serializeAws_restJson1ClientSessionInformationEvent = (input, context) => {
322
+ const se_ClientSessionInformationEvent = (input, context) => {
323
323
  return {
324
- ...(input.Challenge != null && { Challenge: serializeAws_restJson1ClientChallenge(input.Challenge, context) }),
324
+ ...(input.Challenge != null && { Challenge: se_ClientChallenge(input.Challenge, context) }),
325
325
  };
326
326
  };
327
- const serializeAws_restJson1ColorComponentList = (input, context) => {
327
+ const se_ColorComponentList = (input, context) => {
328
328
  return input
329
329
  .filter((e) => e != null)
330
330
  .map((entry) => {
331
331
  return entry;
332
332
  });
333
333
  };
334
- const serializeAws_restJson1ColorDisplayed = (input, context) => {
334
+ const se_ColorDisplayed = (input, context) => {
335
335
  return {
336
- ...(input.CurrentColor != null && {
337
- CurrentColor: serializeAws_restJson1FreshnessColor(input.CurrentColor, context),
338
- }),
336
+ ...(input.CurrentColor != null && { CurrentColor: se_FreshnessColor(input.CurrentColor, context) }),
339
337
  ...(input.CurrentColorStartTimestamp != null && { CurrentColorStartTimestamp: input.CurrentColorStartTimestamp }),
340
- ...(input.PreviousColor != null && {
341
- PreviousColor: serializeAws_restJson1FreshnessColor(input.PreviousColor, context),
342
- }),
338
+ ...(input.PreviousColor != null && { PreviousColor: se_FreshnessColor(input.PreviousColor, context) }),
343
339
  ...(input.SequenceNumber != null && { SequenceNumber: input.SequenceNumber }),
344
340
  };
345
341
  };
346
- const serializeAws_restJson1FaceMovementAndLightClientChallenge = (input, context) => {
342
+ const se_FaceMovementAndLightClientChallenge = (input, context) => {
347
343
  return {
348
344
  ...(input.ChallengeId != null && { ChallengeId: input.ChallengeId }),
349
- ...(input.ColorDisplayed != null && {
350
- ColorDisplayed: serializeAws_restJson1ColorDisplayed(input.ColorDisplayed, context),
351
- }),
352
- ...(input.InitialFace != null && { InitialFace: serializeAws_restJson1InitialFace(input.InitialFace, context) }),
353
- ...(input.TargetFace != null && { TargetFace: serializeAws_restJson1TargetFace(input.TargetFace, context) }),
345
+ ...(input.ColorDisplayed != null && { ColorDisplayed: se_ColorDisplayed(input.ColorDisplayed, context) }),
346
+ ...(input.InitialFace != null && { InitialFace: se_InitialFace(input.InitialFace, context) }),
347
+ ...(input.TargetFace != null && { TargetFace: se_TargetFace(input.TargetFace, context) }),
354
348
  ...(input.VideoEndTimestamp != null && { VideoEndTimestamp: input.VideoEndTimestamp }),
355
349
  ...(input.VideoStartTimestamp != null && { VideoStartTimestamp: input.VideoStartTimestamp }),
356
350
  };
357
351
  };
358
- const serializeAws_restJson1FreshnessColor = (input, context) => {
352
+ const se_FreshnessColor = (input, context) => {
359
353
  return {
360
- ...(input.RGB != null && { RGB: serializeAws_restJson1ColorComponentList(input.RGB, context) }),
354
+ ...(input.RGB != null && { RGB: se_ColorComponentList(input.RGB, context) }),
361
355
  };
362
356
  };
363
- const serializeAws_restJson1InitialFace = (input, context) => {
357
+ const se_InitialFace = (input, context) => {
364
358
  return {
365
- ...(input.BoundingBox != null && { BoundingBox: serializeAws_restJson1BoundingBox(input.BoundingBox, context) }),
359
+ ...(input.BoundingBox != null && { BoundingBox: se_BoundingBox(input.BoundingBox, context) }),
366
360
  ...(input.InitialFaceDetectedTimestamp != null && {
367
361
  InitialFaceDetectedTimestamp: input.InitialFaceDetectedTimestamp,
368
362
  }),
369
363
  };
370
364
  };
371
- const serializeAws_restJson1TargetFace = (input, context) => {
365
+ const se_TargetFace = (input, context) => {
372
366
  return {
373
- ...(input.BoundingBox != null && { BoundingBox: serializeAws_restJson1BoundingBox(input.BoundingBox, context) }),
367
+ ...(input.BoundingBox != null && { BoundingBox: se_BoundingBox(input.BoundingBox, context) }),
374
368
  ...(input.FaceDetectedInTargetPositionEndTimestamp != null && {
375
369
  FaceDetectedInTargetPositionEndTimestamp: input.FaceDetectedInTargetPositionEndTimestamp,
376
370
  }),
@@ -379,13 +373,13 @@ const serializeAws_restJson1TargetFace = (input, context) => {
379
373
  }),
380
374
  };
381
375
  };
382
- const serializeAws_restJson1VideoEvent = (input, context) => {
376
+ const se_VideoEvent = (input, context) => {
383
377
  return {
384
378
  ...(input.TimestampMillis != null && { TimestampMillis: input.TimestampMillis }),
385
379
  ...(input.VideoChunk != null && { VideoChunk: context.base64Encoder(input.VideoChunk) }),
386
380
  };
387
381
  };
388
- const deserializeAws_restJson1ChallengeConfig = (output, context) => {
382
+ const de_ChallengeConfig = (output, context) => {
389
383
  return {
390
384
  BlazeFaceDetectionThreshold: (0, smithy_client_1.limitedParseFloat32)(output.BlazeFaceDetectionThreshold),
391
385
  FaceDistanceThreshold: (0, smithy_client_1.limitedParseFloat32)(output.FaceDistanceThreshold),
@@ -399,7 +393,7 @@ const deserializeAws_restJson1ChallengeConfig = (output, context) => {
399
393
  OvalIouWidthThreshold: (0, smithy_client_1.limitedParseFloat32)(output.OvalIouWidthThreshold),
400
394
  };
401
395
  };
402
- const deserializeAws_restJson1ColorComponentList = (output, context) => {
396
+ const de_ColorComponentList = (output, context) => {
403
397
  const retVal = (output || [])
404
398
  .filter((e) => e != null)
405
399
  .map((entry) => {
@@ -410,51 +404,43 @@ const deserializeAws_restJson1ColorComponentList = (output, context) => {
410
404
  });
411
405
  return retVal;
412
406
  };
413
- const deserializeAws_restJson1ColorSequence = (output, context) => {
407
+ const de_ColorSequence = (output, context) => {
414
408
  return {
415
409
  DownscrollDuration: (0, smithy_client_1.limitedParseFloat32)(output.DownscrollDuration),
416
410
  FlatDisplayDuration: (0, smithy_client_1.limitedParseFloat32)(output.FlatDisplayDuration),
417
- FreshnessColor: output.FreshnessColor != null
418
- ? deserializeAws_restJson1FreshnessColor(output.FreshnessColor, context)
419
- : undefined,
411
+ FreshnessColor: output.FreshnessColor != null ? de_FreshnessColor(output.FreshnessColor, context) : undefined,
420
412
  };
421
413
  };
422
- const deserializeAws_restJson1ColorSequences = (output, context) => {
414
+ const de_ColorSequences = (output, context) => {
423
415
  const retVal = (output || [])
424
416
  .filter((e) => e != null)
425
417
  .map((entry) => {
426
418
  if (entry === null) {
427
419
  return null;
428
420
  }
429
- return deserializeAws_restJson1ColorSequence(entry, context);
421
+ return de_ColorSequence(entry, context);
430
422
  });
431
423
  return retVal;
432
424
  };
433
- const deserializeAws_restJson1DisconnectionEvent = (output, context) => {
425
+ const de_DisconnectionEvent = (output, context) => {
434
426
  return {
435
427
  TimestampMillis: (0, smithy_client_1.expectLong)(output.TimestampMillis),
436
428
  };
437
429
  };
438
- const deserializeAws_restJson1FaceMovementAndLightServerChallenge = (output, context) => {
430
+ const de_FaceMovementAndLightServerChallenge = (output, context) => {
439
431
  return {
440
- ChallengeConfig: output.ChallengeConfig != null
441
- ? deserializeAws_restJson1ChallengeConfig(output.ChallengeConfig, context)
442
- : undefined,
443
- ColorSequences: output.ColorSequences != null
444
- ? deserializeAws_restJson1ColorSequences(output.ColorSequences, context)
445
- : undefined,
432
+ ChallengeConfig: output.ChallengeConfig != null ? de_ChallengeConfig(output.ChallengeConfig, context) : undefined,
433
+ ColorSequences: output.ColorSequences != null ? de_ColorSequences(output.ColorSequences, context) : undefined,
446
434
  LightChallengeType: (0, smithy_client_1.expectString)(output.LightChallengeType),
447
- OvalParameters: output.OvalParameters != null
448
- ? deserializeAws_restJson1OvalParameters(output.OvalParameters, context)
449
- : undefined,
435
+ OvalParameters: output.OvalParameters != null ? de_OvalParameters(output.OvalParameters, context) : undefined,
450
436
  };
451
437
  };
452
- const deserializeAws_restJson1FreshnessColor = (output, context) => {
438
+ const de_FreshnessColor = (output, context) => {
453
439
  return {
454
- RGB: output.RGB != null ? deserializeAws_restJson1ColorComponentList(output.RGB, context) : undefined,
440
+ RGB: output.RGB != null ? de_ColorComponentList(output.RGB, context) : undefined,
455
441
  };
456
442
  };
457
- const deserializeAws_restJson1OvalParameters = (output, context) => {
443
+ const de_OvalParameters = (output, context) => {
458
444
  return {
459
445
  CenterX: (0, smithy_client_1.limitedParseFloat32)(output.CenterX),
460
446
  CenterY: (0, smithy_client_1.limitedParseFloat32)(output.CenterY),
@@ -462,26 +448,22 @@ const deserializeAws_restJson1OvalParameters = (output, context) => {
462
448
  Width: (0, smithy_client_1.limitedParseFloat32)(output.Width),
463
449
  };
464
450
  };
465
- const deserializeAws_restJson1ServerChallenge = (output, context) => {
451
+ const de_ServerChallenge = (output, context) => {
466
452
  if (output.FaceMovementAndLightChallenge != null) {
467
453
  return {
468
- FaceMovementAndLightChallenge: deserializeAws_restJson1FaceMovementAndLightServerChallenge(output.FaceMovementAndLightChallenge, context),
454
+ FaceMovementAndLightChallenge: de_FaceMovementAndLightServerChallenge(output.FaceMovementAndLightChallenge, context),
469
455
  };
470
456
  }
471
457
  return { $unknown: Object.entries(output)[0] };
472
458
  };
473
- const deserializeAws_restJson1ServerSessionInformationEvent = (output, context) => {
459
+ const de_ServerSessionInformationEvent = (output, context) => {
474
460
  return {
475
- SessionInformation: output.SessionInformation != null
476
- ? deserializeAws_restJson1SessionInformation(output.SessionInformation, context)
477
- : undefined,
461
+ SessionInformation: output.SessionInformation != null ? de_SessionInformation(output.SessionInformation, context) : undefined,
478
462
  };
479
463
  };
480
- const deserializeAws_restJson1SessionInformation = (output, context) => {
464
+ const de_SessionInformation = (output, context) => {
481
465
  return {
482
- Challenge: output.Challenge != null
483
- ? deserializeAws_restJson1ServerChallenge((0, smithy_client_1.expectUnion)(output.Challenge), context)
484
- : undefined,
466
+ Challenge: output.Challenge != null ? de_ServerChallenge((0, smithy_client_1.expectUnion)(output.Challenge), context) : undefined,
485
467
  };
486
468
  };
487
469
  const deserializeMetadata = (output) => ({
@@ -7,7 +7,6 @@ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middlewa
7
7
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
8
8
  import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
9
9
  import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
10
- import { getRekognitionStreamingPlugin } from "@aws-sdk/middleware-sdk-rekognitionstreaming";
11
10
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
12
11
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
13
12
  import { resolveWebSocketConfig } from "@aws-sdk/middleware-websocket";
@@ -35,7 +34,6 @@ export class RekognitionStreamingClient extends __Client {
35
34
  this.middlewareStack.use(getLoggerPlugin(this.config));
36
35
  this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
37
36
  this.middlewareStack.use(getAwsAuthPlugin(this.config));
38
- this.middlewareStack.use(getRekognitionStreamingPlugin(this.config));
39
37
  this.middlewareStack.use(getUserAgentPlugin(this.config));
40
38
  }
41
39
  destroy() {
@@ -4,7 +4,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
4
4
  import { getWebSocketPlugin } from "@aws-sdk/middleware-websocket";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
6
  import { StartFaceLivenessSessionRequestFilterSensitiveLog, StartFaceLivenessSessionResponseFilterSensitiveLog, } from "../models/models_0";
7
- import { deserializeAws_restJson1StartFaceLivenessSessionCommand, serializeAws_restJson1StartFaceLivenessSessionCommand, } from "../protocols/Aws_restJson1";
7
+ import { de_StartFaceLivenessSessionCommand, se_StartFaceLivenessSessionCommand } from "../protocols/Aws_restJson1";
8
8
  export class StartFaceLivenessSessionCommand extends $Command {
9
9
  static getEndpointParameterInstructions() {
10
10
  return {
@@ -38,9 +38,9 @@ export class StartFaceLivenessSessionCommand extends $Command {
38
38
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
39
  }
40
40
  serialize(input, context) {
41
- return serializeAws_restJson1StartFaceLivenessSessionCommand(input, context);
41
+ return se_StartFaceLivenessSessionCommand(input, context);
42
42
  }
43
43
  deserialize(output, context) {
44
- return deserializeAws_restJson1StartFaceLivenessSessionCommand(output, context);
44
+ return de_StartFaceLivenessSessionCommand(output, context);
45
45
  }
46
46
  }
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
2
  import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectString as __expectString, expectUnion as __expectUnion, limitedParseFloat32 as __limitedParseFloat32, map as __map, serializeFloat as __serializeFloat, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { AccessDeniedException, ClientChallenge, InternalServerException, LivenessRequestStream, ServiceQuotaExceededException, ServiceUnavailableException, SessionNotFoundException, ThrottlingException, ValidationException, } from "../models/models_0";
4
4
  import { RekognitionStreamingServiceException as __BaseException } from "../models/RekognitionStreamingServiceException";
5
- export const serializeAws_restJson1StartFaceLivenessSessionCommand = async (input, context) => {
5
+ export const se_StartFaceLivenessSessionCommand = async (input, context) => {
6
6
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
7
7
  const headers = map({}, isSerializableHeaderValue, {
8
8
  "x-amz-rekognition-streaming-liveness-session-id": input.SessionId,
@@ -13,7 +13,7 @@ export const serializeAws_restJson1StartFaceLivenessSessionCommand = async (inpu
13
13
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/start-face-liveness-session";
14
14
  let body;
15
15
  if (input.LivenessRequestStream !== undefined) {
16
- body = serializeAws_restJson1LivenessRequestStream(input.LivenessRequestStream, context);
16
+ body = se_LivenessRequestStream(input.LivenessRequestStream, context);
17
17
  }
18
18
  return new __HttpRequest({
19
19
  protocol,
@@ -25,19 +25,19 @@ export const serializeAws_restJson1StartFaceLivenessSessionCommand = async (inpu
25
25
  body,
26
26
  });
27
27
  };
28
- export const deserializeAws_restJson1StartFaceLivenessSessionCommand = async (output, context) => {
28
+ export const de_StartFaceLivenessSessionCommand = async (output, context) => {
29
29
  if (output.statusCode !== 200 && output.statusCode >= 300) {
30
- return deserializeAws_restJson1StartFaceLivenessSessionCommandError(output, context);
30
+ return de_StartFaceLivenessSessionCommandError(output, context);
31
31
  }
32
32
  const contents = map({
33
33
  $metadata: deserializeMetadata(output),
34
34
  SessionId: [, output.headers["x-amz-rekognition-streaming-liveness-session-id"]],
35
35
  });
36
36
  const data = output.body;
37
- contents.LivenessResponseStream = deserializeAws_restJson1LivenessResponseStream(data, context);
37
+ contents.LivenessResponseStream = de_LivenessResponseStream(data, context);
38
38
  return contents;
39
39
  };
40
- const deserializeAws_restJson1StartFaceLivenessSessionCommandError = async (output, context) => {
40
+ const de_StartFaceLivenessSessionCommandError = async (output, context) => {
41
41
  const parsedOutput = {
42
42
  ...output,
43
43
  body: await parseErrorBody(output.body, context),
@@ -46,25 +46,25 @@ const deserializeAws_restJson1StartFaceLivenessSessionCommandError = async (outp
46
46
  switch (errorCode) {
47
47
  case "AccessDeniedException":
48
48
  case "com.amazonaws.rekognitionstreaming#AccessDeniedException":
49
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
49
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
50
50
  case "InternalServerException":
51
51
  case "com.amazonaws.rekognitionstreaming#InternalServerException":
52
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
52
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
53
53
  case "ServiceQuotaExceededException":
54
54
  case "com.amazonaws.rekognitionstreaming#ServiceQuotaExceededException":
55
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
55
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
56
56
  case "ServiceUnavailableException":
57
57
  case "com.amazonaws.rekognitionstreaming#ServiceUnavailableException":
58
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
58
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
59
59
  case "SessionNotFoundException":
60
60
  case "com.amazonaws.rekognitionstreaming#SessionNotFoundException":
61
- throw await deserializeAws_restJson1SessionNotFoundExceptionResponse(parsedOutput, context);
61
+ throw await de_SessionNotFoundExceptionRes(parsedOutput, context);
62
62
  case "ThrottlingException":
63
63
  case "com.amazonaws.rekognitionstreaming#ThrottlingException":
64
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
64
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
65
65
  case "ValidationException":
66
66
  case "com.amazonaws.rekognitionstreaming#ValidationException":
67
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
67
+ throw await de_ValidationExceptionRes(parsedOutput, context);
68
68
  default:
69
69
  const parsedBody = parsedOutput.body;
70
70
  throwDefaultError({
@@ -76,7 +76,7 @@ const deserializeAws_restJson1StartFaceLivenessSessionCommandError = async (outp
76
76
  }
77
77
  };
78
78
  const map = __map;
79
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
79
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
80
80
  const contents = map({});
81
81
  const data = parsedOutput.body;
82
82
  if (data.Code != null) {
@@ -91,7 +91,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
91
91
  });
92
92
  return __decorateServiceException(exception, parsedOutput.body);
93
93
  };
94
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
94
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
95
95
  const contents = map({});
96
96
  const data = parsedOutput.body;
97
97
  if (data.Code != null) {
@@ -106,7 +106,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
106
106
  });
107
107
  return __decorateServiceException(exception, parsedOutput.body);
108
108
  };
109
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
109
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
110
110
  const contents = map({});
111
111
  const data = parsedOutput.body;
112
112
  if (data.Code != null) {
@@ -121,7 +121,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
121
121
  });
122
122
  return __decorateServiceException(exception, parsedOutput.body);
123
123
  };
124
- const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
124
+ const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
125
125
  const contents = map({});
126
126
  const data = parsedOutput.body;
127
127
  if (data.Code != null) {
@@ -136,7 +136,7 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse
136
136
  });
137
137
  return __decorateServiceException(exception, parsedOutput.body);
138
138
  };
139
- const deserializeAws_restJson1SessionNotFoundExceptionResponse = async (parsedOutput, context) => {
139
+ const de_SessionNotFoundExceptionRes = async (parsedOutput, context) => {
140
140
  const contents = map({});
141
141
  const data = parsedOutput.body;
142
142
  if (data.Code != null) {
@@ -151,7 +151,7 @@ const deserializeAws_restJson1SessionNotFoundExceptionResponse = async (parsedOu
151
151
  });
152
152
  return __decorateServiceException(exception, parsedOutput.body);
153
153
  };
154
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
154
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
155
155
  const contents = map({});
156
156
  const data = parsedOutput.body;
157
157
  if (data.Code != null) {
@@ -166,7 +166,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
166
166
  });
167
167
  return __decorateServiceException(exception, parsedOutput.body);
168
168
  };
169
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
169
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
170
170
  const contents = map({});
171
171
  const data = parsedOutput.body;
172
172
  if (data.Code != null) {
@@ -181,124 +181,124 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
181
181
  });
182
182
  return __decorateServiceException(exception, parsedOutput.body);
183
183
  };
184
- const serializeAws_restJson1LivenessRequestStream = (input, context) => {
184
+ const se_LivenessRequestStream = (input, context) => {
185
185
  const eventMarshallingVisitor = (event) => LivenessRequestStream.visit(event, {
186
- VideoEvent: (value) => serializeAws_restJson1VideoEvent_event(value, context),
187
- ClientSessionInformationEvent: (value) => serializeAws_restJson1ClientSessionInformationEvent_event(value, context),
186
+ VideoEvent: (value) => se_VideoEvent_event(value, context),
187
+ ClientSessionInformationEvent: (value) => se_ClientSessionInformationEvent_event(value, context),
188
188
  _: (value) => value,
189
189
  });
190
190
  return context.eventStreamMarshaller.serialize(input, eventMarshallingVisitor);
191
191
  };
192
- const serializeAws_restJson1ClientSessionInformationEvent_event = (input, context) => {
192
+ const se_ClientSessionInformationEvent_event = (input, context) => {
193
193
  const headers = {
194
194
  ":event-type": { type: "string", value: "ClientSessionInformationEvent" },
195
195
  ":message-type": { type: "string", value: "event" },
196
196
  ":content-type": { type: "string", value: "application/json" },
197
197
  };
198
198
  let body = new Uint8Array();
199
- body = serializeAws_restJson1ClientSessionInformationEvent(input, context);
199
+ body = se_ClientSessionInformationEvent(input, context);
200
200
  body = context.utf8Decoder(JSON.stringify(body));
201
201
  return { headers, body };
202
202
  };
203
- const serializeAws_restJson1VideoEvent_event = (input, context) => {
203
+ const se_VideoEvent_event = (input, context) => {
204
204
  const headers = {
205
205
  ":event-type": { type: "string", value: "VideoEvent" },
206
206
  ":message-type": { type: "string", value: "event" },
207
207
  ":content-type": { type: "string", value: "application/json" },
208
208
  };
209
209
  let body = new Uint8Array();
210
- body = serializeAws_restJson1VideoEvent(input, context);
210
+ body = se_VideoEvent(input, context);
211
211
  body = context.utf8Decoder(JSON.stringify(body));
212
212
  return { headers, body };
213
213
  };
214
- const deserializeAws_restJson1LivenessResponseStream = (output, context) => {
214
+ const de_LivenessResponseStream = (output, context) => {
215
215
  return context.eventStreamMarshaller.deserialize(output, async (event) => {
216
216
  if (event["ServerSessionInformationEvent"] != null) {
217
217
  return {
218
- ServerSessionInformationEvent: await deserializeAws_restJson1ServerSessionInformationEvent_event(event["ServerSessionInformationEvent"], context),
218
+ ServerSessionInformationEvent: await de_ServerSessionInformationEvent_event(event["ServerSessionInformationEvent"], context),
219
219
  };
220
220
  }
221
221
  if (event["DisconnectionEvent"] != null) {
222
222
  return {
223
- DisconnectionEvent: await deserializeAws_restJson1DisconnectionEvent_event(event["DisconnectionEvent"], context),
223
+ DisconnectionEvent: await de_DisconnectionEvent_event(event["DisconnectionEvent"], context),
224
224
  };
225
225
  }
226
226
  if (event["ValidationException"] != null) {
227
227
  return {
228
- ValidationException: await deserializeAws_restJson1ValidationException_event(event["ValidationException"], context),
228
+ ValidationException: await de_ValidationException_event(event["ValidationException"], context),
229
229
  };
230
230
  }
231
231
  if (event["InternalServerException"] != null) {
232
232
  return {
233
- InternalServerException: await deserializeAws_restJson1InternalServerException_event(event["InternalServerException"], context),
233
+ InternalServerException: await de_InternalServerException_event(event["InternalServerException"], context),
234
234
  };
235
235
  }
236
236
  if (event["ThrottlingException"] != null) {
237
237
  return {
238
- ThrottlingException: await deserializeAws_restJson1ThrottlingException_event(event["ThrottlingException"], context),
238
+ ThrottlingException: await de_ThrottlingException_event(event["ThrottlingException"], context),
239
239
  };
240
240
  }
241
241
  if (event["ServiceQuotaExceededException"] != null) {
242
242
  return {
243
- ServiceQuotaExceededException: await deserializeAws_restJson1ServiceQuotaExceededException_event(event["ServiceQuotaExceededException"], context),
243
+ ServiceQuotaExceededException: await de_ServiceQuotaExceededException_event(event["ServiceQuotaExceededException"], context),
244
244
  };
245
245
  }
246
246
  if (event["ServiceUnavailableException"] != null) {
247
247
  return {
248
- ServiceUnavailableException: await deserializeAws_restJson1ServiceUnavailableException_event(event["ServiceUnavailableException"], context),
248
+ ServiceUnavailableException: await de_ServiceUnavailableException_event(event["ServiceUnavailableException"], context),
249
249
  };
250
250
  }
251
251
  return { $unknown: output };
252
252
  });
253
253
  };
254
- const deserializeAws_restJson1DisconnectionEvent_event = async (output, context) => {
254
+ const de_DisconnectionEvent_event = async (output, context) => {
255
255
  const contents = {};
256
256
  const data = await parseBody(output.body, context);
257
- Object.assign(contents, deserializeAws_restJson1DisconnectionEvent(data, context));
257
+ Object.assign(contents, de_DisconnectionEvent(data, context));
258
258
  return contents;
259
259
  };
260
- const deserializeAws_restJson1InternalServerException_event = async (output, context) => {
260
+ const de_InternalServerException_event = async (output, context) => {
261
261
  const parsedOutput = {
262
262
  ...output,
263
263
  body: await parseBody(output.body, context),
264
264
  };
265
- return deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
265
+ return de_InternalServerExceptionRes(parsedOutput, context);
266
266
  };
267
- const deserializeAws_restJson1ServerSessionInformationEvent_event = async (output, context) => {
267
+ const de_ServerSessionInformationEvent_event = async (output, context) => {
268
268
  const contents = {};
269
269
  const data = await parseBody(output.body, context);
270
- Object.assign(contents, deserializeAws_restJson1ServerSessionInformationEvent(data, context));
270
+ Object.assign(contents, de_ServerSessionInformationEvent(data, context));
271
271
  return contents;
272
272
  };
273
- const deserializeAws_restJson1ServiceQuotaExceededException_event = async (output, context) => {
273
+ const de_ServiceQuotaExceededException_event = async (output, context) => {
274
274
  const parsedOutput = {
275
275
  ...output,
276
276
  body: await parseBody(output.body, context),
277
277
  };
278
- return deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
278
+ return de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
279
279
  };
280
- const deserializeAws_restJson1ServiceUnavailableException_event = async (output, context) => {
280
+ const de_ServiceUnavailableException_event = async (output, context) => {
281
281
  const parsedOutput = {
282
282
  ...output,
283
283
  body: await parseBody(output.body, context),
284
284
  };
285
- return deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
285
+ return de_ServiceUnavailableExceptionRes(parsedOutput, context);
286
286
  };
287
- const deserializeAws_restJson1ThrottlingException_event = async (output, context) => {
287
+ const de_ThrottlingException_event = async (output, context) => {
288
288
  const parsedOutput = {
289
289
  ...output,
290
290
  body: await parseBody(output.body, context),
291
291
  };
292
- return deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
292
+ return de_ThrottlingExceptionRes(parsedOutput, context);
293
293
  };
294
- const deserializeAws_restJson1ValidationException_event = async (output, context) => {
294
+ const de_ValidationException_event = async (output, context) => {
295
295
  const parsedOutput = {
296
296
  ...output,
297
297
  body: await parseBody(output.body, context),
298
298
  };
299
- return deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
299
+ return de_ValidationExceptionRes(parsedOutput, context);
300
300
  };
301
- const serializeAws_restJson1BoundingBox = (input, context) => {
301
+ const se_BoundingBox = (input, context) => {
302
302
  return {
303
303
  ...(input.Height != null && { Height: __serializeFloat(input.Height) }),
304
304
  ...(input.Left != null && { Left: __serializeFloat(input.Left) }),
@@ -306,66 +306,60 @@ const serializeAws_restJson1BoundingBox = (input, context) => {
306
306
  ...(input.Width != null && { Width: __serializeFloat(input.Width) }),
307
307
  };
308
308
  };
309
- const serializeAws_restJson1ClientChallenge = (input, context) => {
309
+ const se_ClientChallenge = (input, context) => {
310
310
  return ClientChallenge.visit(input, {
311
311
  FaceMovementAndLightChallenge: (value) => ({
312
- FaceMovementAndLightChallenge: serializeAws_restJson1FaceMovementAndLightClientChallenge(value, context),
312
+ FaceMovementAndLightChallenge: se_FaceMovementAndLightClientChallenge(value, context),
313
313
  }),
314
314
  _: (name, value) => ({ name: value }),
315
315
  });
316
316
  };
317
- const serializeAws_restJson1ClientSessionInformationEvent = (input, context) => {
317
+ const se_ClientSessionInformationEvent = (input, context) => {
318
318
  return {
319
- ...(input.Challenge != null && { Challenge: serializeAws_restJson1ClientChallenge(input.Challenge, context) }),
319
+ ...(input.Challenge != null && { Challenge: se_ClientChallenge(input.Challenge, context) }),
320
320
  };
321
321
  };
322
- const serializeAws_restJson1ColorComponentList = (input, context) => {
322
+ const se_ColorComponentList = (input, context) => {
323
323
  return input
324
324
  .filter((e) => e != null)
325
325
  .map((entry) => {
326
326
  return entry;
327
327
  });
328
328
  };
329
- const serializeAws_restJson1ColorDisplayed = (input, context) => {
329
+ const se_ColorDisplayed = (input, context) => {
330
330
  return {
331
- ...(input.CurrentColor != null && {
332
- CurrentColor: serializeAws_restJson1FreshnessColor(input.CurrentColor, context),
333
- }),
331
+ ...(input.CurrentColor != null && { CurrentColor: se_FreshnessColor(input.CurrentColor, context) }),
334
332
  ...(input.CurrentColorStartTimestamp != null && { CurrentColorStartTimestamp: input.CurrentColorStartTimestamp }),
335
- ...(input.PreviousColor != null && {
336
- PreviousColor: serializeAws_restJson1FreshnessColor(input.PreviousColor, context),
337
- }),
333
+ ...(input.PreviousColor != null && { PreviousColor: se_FreshnessColor(input.PreviousColor, context) }),
338
334
  ...(input.SequenceNumber != null && { SequenceNumber: input.SequenceNumber }),
339
335
  };
340
336
  };
341
- const serializeAws_restJson1FaceMovementAndLightClientChallenge = (input, context) => {
337
+ const se_FaceMovementAndLightClientChallenge = (input, context) => {
342
338
  return {
343
339
  ...(input.ChallengeId != null && { ChallengeId: input.ChallengeId }),
344
- ...(input.ColorDisplayed != null && {
345
- ColorDisplayed: serializeAws_restJson1ColorDisplayed(input.ColorDisplayed, context),
346
- }),
347
- ...(input.InitialFace != null && { InitialFace: serializeAws_restJson1InitialFace(input.InitialFace, context) }),
348
- ...(input.TargetFace != null && { TargetFace: serializeAws_restJson1TargetFace(input.TargetFace, context) }),
340
+ ...(input.ColorDisplayed != null && { ColorDisplayed: se_ColorDisplayed(input.ColorDisplayed, context) }),
341
+ ...(input.InitialFace != null && { InitialFace: se_InitialFace(input.InitialFace, context) }),
342
+ ...(input.TargetFace != null && { TargetFace: se_TargetFace(input.TargetFace, context) }),
349
343
  ...(input.VideoEndTimestamp != null && { VideoEndTimestamp: input.VideoEndTimestamp }),
350
344
  ...(input.VideoStartTimestamp != null && { VideoStartTimestamp: input.VideoStartTimestamp }),
351
345
  };
352
346
  };
353
- const serializeAws_restJson1FreshnessColor = (input, context) => {
347
+ const se_FreshnessColor = (input, context) => {
354
348
  return {
355
- ...(input.RGB != null && { RGB: serializeAws_restJson1ColorComponentList(input.RGB, context) }),
349
+ ...(input.RGB != null && { RGB: se_ColorComponentList(input.RGB, context) }),
356
350
  };
357
351
  };
358
- const serializeAws_restJson1InitialFace = (input, context) => {
352
+ const se_InitialFace = (input, context) => {
359
353
  return {
360
- ...(input.BoundingBox != null && { BoundingBox: serializeAws_restJson1BoundingBox(input.BoundingBox, context) }),
354
+ ...(input.BoundingBox != null && { BoundingBox: se_BoundingBox(input.BoundingBox, context) }),
361
355
  ...(input.InitialFaceDetectedTimestamp != null && {
362
356
  InitialFaceDetectedTimestamp: input.InitialFaceDetectedTimestamp,
363
357
  }),
364
358
  };
365
359
  };
366
- const serializeAws_restJson1TargetFace = (input, context) => {
360
+ const se_TargetFace = (input, context) => {
367
361
  return {
368
- ...(input.BoundingBox != null && { BoundingBox: serializeAws_restJson1BoundingBox(input.BoundingBox, context) }),
362
+ ...(input.BoundingBox != null && { BoundingBox: se_BoundingBox(input.BoundingBox, context) }),
369
363
  ...(input.FaceDetectedInTargetPositionEndTimestamp != null && {
370
364
  FaceDetectedInTargetPositionEndTimestamp: input.FaceDetectedInTargetPositionEndTimestamp,
371
365
  }),
@@ -374,13 +368,13 @@ const serializeAws_restJson1TargetFace = (input, context) => {
374
368
  }),
375
369
  };
376
370
  };
377
- const serializeAws_restJson1VideoEvent = (input, context) => {
371
+ const se_VideoEvent = (input, context) => {
378
372
  return {
379
373
  ...(input.TimestampMillis != null && { TimestampMillis: input.TimestampMillis }),
380
374
  ...(input.VideoChunk != null && { VideoChunk: context.base64Encoder(input.VideoChunk) }),
381
375
  };
382
376
  };
383
- const deserializeAws_restJson1ChallengeConfig = (output, context) => {
377
+ const de_ChallengeConfig = (output, context) => {
384
378
  return {
385
379
  BlazeFaceDetectionThreshold: __limitedParseFloat32(output.BlazeFaceDetectionThreshold),
386
380
  FaceDistanceThreshold: __limitedParseFloat32(output.FaceDistanceThreshold),
@@ -394,7 +388,7 @@ const deserializeAws_restJson1ChallengeConfig = (output, context) => {
394
388
  OvalIouWidthThreshold: __limitedParseFloat32(output.OvalIouWidthThreshold),
395
389
  };
396
390
  };
397
- const deserializeAws_restJson1ColorComponentList = (output, context) => {
391
+ const de_ColorComponentList = (output, context) => {
398
392
  const retVal = (output || [])
399
393
  .filter((e) => e != null)
400
394
  .map((entry) => {
@@ -405,51 +399,43 @@ const deserializeAws_restJson1ColorComponentList = (output, context) => {
405
399
  });
406
400
  return retVal;
407
401
  };
408
- const deserializeAws_restJson1ColorSequence = (output, context) => {
402
+ const de_ColorSequence = (output, context) => {
409
403
  return {
410
404
  DownscrollDuration: __limitedParseFloat32(output.DownscrollDuration),
411
405
  FlatDisplayDuration: __limitedParseFloat32(output.FlatDisplayDuration),
412
- FreshnessColor: output.FreshnessColor != null
413
- ? deserializeAws_restJson1FreshnessColor(output.FreshnessColor, context)
414
- : undefined,
406
+ FreshnessColor: output.FreshnessColor != null ? de_FreshnessColor(output.FreshnessColor, context) : undefined,
415
407
  };
416
408
  };
417
- const deserializeAws_restJson1ColorSequences = (output, context) => {
409
+ const de_ColorSequences = (output, context) => {
418
410
  const retVal = (output || [])
419
411
  .filter((e) => e != null)
420
412
  .map((entry) => {
421
413
  if (entry === null) {
422
414
  return null;
423
415
  }
424
- return deserializeAws_restJson1ColorSequence(entry, context);
416
+ return de_ColorSequence(entry, context);
425
417
  });
426
418
  return retVal;
427
419
  };
428
- const deserializeAws_restJson1DisconnectionEvent = (output, context) => {
420
+ const de_DisconnectionEvent = (output, context) => {
429
421
  return {
430
422
  TimestampMillis: __expectLong(output.TimestampMillis),
431
423
  };
432
424
  };
433
- const deserializeAws_restJson1FaceMovementAndLightServerChallenge = (output, context) => {
425
+ const de_FaceMovementAndLightServerChallenge = (output, context) => {
434
426
  return {
435
- ChallengeConfig: output.ChallengeConfig != null
436
- ? deserializeAws_restJson1ChallengeConfig(output.ChallengeConfig, context)
437
- : undefined,
438
- ColorSequences: output.ColorSequences != null
439
- ? deserializeAws_restJson1ColorSequences(output.ColorSequences, context)
440
- : undefined,
427
+ ChallengeConfig: output.ChallengeConfig != null ? de_ChallengeConfig(output.ChallengeConfig, context) : undefined,
428
+ ColorSequences: output.ColorSequences != null ? de_ColorSequences(output.ColorSequences, context) : undefined,
441
429
  LightChallengeType: __expectString(output.LightChallengeType),
442
- OvalParameters: output.OvalParameters != null
443
- ? deserializeAws_restJson1OvalParameters(output.OvalParameters, context)
444
- : undefined,
430
+ OvalParameters: output.OvalParameters != null ? de_OvalParameters(output.OvalParameters, context) : undefined,
445
431
  };
446
432
  };
447
- const deserializeAws_restJson1FreshnessColor = (output, context) => {
433
+ const de_FreshnessColor = (output, context) => {
448
434
  return {
449
- RGB: output.RGB != null ? deserializeAws_restJson1ColorComponentList(output.RGB, context) : undefined,
435
+ RGB: output.RGB != null ? de_ColorComponentList(output.RGB, context) : undefined,
450
436
  };
451
437
  };
452
- const deserializeAws_restJson1OvalParameters = (output, context) => {
438
+ const de_OvalParameters = (output, context) => {
453
439
  return {
454
440
  CenterX: __limitedParseFloat32(output.CenterX),
455
441
  CenterY: __limitedParseFloat32(output.CenterY),
@@ -457,26 +443,22 @@ const deserializeAws_restJson1OvalParameters = (output, context) => {
457
443
  Width: __limitedParseFloat32(output.Width),
458
444
  };
459
445
  };
460
- const deserializeAws_restJson1ServerChallenge = (output, context) => {
446
+ const de_ServerChallenge = (output, context) => {
461
447
  if (output.FaceMovementAndLightChallenge != null) {
462
448
  return {
463
- FaceMovementAndLightChallenge: deserializeAws_restJson1FaceMovementAndLightServerChallenge(output.FaceMovementAndLightChallenge, context),
449
+ FaceMovementAndLightChallenge: de_FaceMovementAndLightServerChallenge(output.FaceMovementAndLightChallenge, context),
464
450
  };
465
451
  }
466
452
  return { $unknown: Object.entries(output)[0] };
467
453
  };
468
- const deserializeAws_restJson1ServerSessionInformationEvent = (output, context) => {
454
+ const de_ServerSessionInformationEvent = (output, context) => {
469
455
  return {
470
- SessionInformation: output.SessionInformation != null
471
- ? deserializeAws_restJson1SessionInformation(output.SessionInformation, context)
472
- : undefined,
456
+ SessionInformation: output.SessionInformation != null ? de_SessionInformation(output.SessionInformation, context) : undefined,
473
457
  };
474
458
  };
475
- const deserializeAws_restJson1SessionInformation = (output, context) => {
459
+ const de_SessionInformation = (output, context) => {
476
460
  return {
477
- Challenge: output.Challenge != null
478
- ? deserializeAws_restJson1ServerChallenge(__expectUnion(output.Challenge), context)
479
- : undefined,
461
+ Challenge: output.Challenge != null ? de_ServerChallenge(__expectUnion(output.Challenge), context) : undefined,
480
462
  };
481
463
  };
482
464
  const deserializeMetadata = (output) => ({
@@ -1,5 +1,11 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
2
  import { EventStreamSerdeContext as __EventStreamSerdeContext, SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
3
  import { StartFaceLivenessSessionCommandInput, StartFaceLivenessSessionCommandOutput } from "../commands/StartFaceLivenessSessionCommand";
4
- export declare const serializeAws_restJson1StartFaceLivenessSessionCommand: (input: StartFaceLivenessSessionCommandInput, context: __SerdeContext & __EventStreamSerdeContext) => Promise<__HttpRequest>;
5
- export declare const deserializeAws_restJson1StartFaceLivenessSessionCommand: (output: __HttpResponse, context: __SerdeContext & __EventStreamSerdeContext) => Promise<StartFaceLivenessSessionCommandOutput>;
4
+ /**
5
+ * serializeAws_restJson1StartFaceLivenessSessionCommand
6
+ */
7
+ export declare const se_StartFaceLivenessSessionCommand: (input: StartFaceLivenessSessionCommandInput, context: __SerdeContext & __EventStreamSerdeContext) => Promise<__HttpRequest>;
8
+ /**
9
+ * deserializeAws_restJson1StartFaceLivenessSessionCommand
10
+ */
11
+ export declare const de_StartFaceLivenessSessionCommand: (output: __HttpResponse, context: __SerdeContext & __EventStreamSerdeContext) => Promise<StartFaceLivenessSessionCommandOutput>;
@@ -10,11 +10,11 @@ import {
10
10
  StartFaceLivenessSessionCommandInput,
11
11
  StartFaceLivenessSessionCommandOutput,
12
12
  } from "../commands/StartFaceLivenessSessionCommand";
13
- export declare const serializeAws_restJson1StartFaceLivenessSessionCommand: (
13
+ export declare const se_StartFaceLivenessSessionCommand: (
14
14
  input: StartFaceLivenessSessionCommandInput,
15
15
  context: __SerdeContext & __EventStreamSerdeContext
16
16
  ) => Promise<__HttpRequest>;
17
- export declare const deserializeAws_restJson1StartFaceLivenessSessionCommand: (
17
+ export declare const de_StartFaceLivenessSessionCommand: (
18
18
  output: __HttpResponse,
19
19
  context: __SerdeContext & __EventStreamSerdeContext
20
20
  ) => Promise<StartFaceLivenessSessionCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rekognitionstreaming",
3
3
  "description": "AWS SDK for JavaScript Rekognitionstreaming Client for Node.js, Browser and React Native",
4
- "version": "3.308.0",
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,49 +21,48 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "2.0.0",
23
23
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.306.0",
25
- "@aws-sdk/config-resolver": "3.306.0",
26
- "@aws-sdk/credential-provider-node": "3.306.0",
27
- "@aws-sdk/eventstream-handler-node": "3.306.0",
28
- "@aws-sdk/eventstream-serde-browser": "3.306.0",
29
- "@aws-sdk/eventstream-serde-config-resolver": "3.306.0",
30
- "@aws-sdk/eventstream-serde-node": "3.306.0",
31
- "@aws-sdk/fetch-http-handler": "3.306.0",
32
- "@aws-sdk/hash-node": "3.306.0",
33
- "@aws-sdk/invalid-dependency": "3.306.0",
34
- "@aws-sdk/middleware-content-length": "3.306.0",
35
- "@aws-sdk/middleware-endpoint": "3.306.0",
36
- "@aws-sdk/middleware-eventstream": "3.306.0",
37
- "@aws-sdk/middleware-host-header": "3.306.0",
38
- "@aws-sdk/middleware-logger": "3.306.0",
39
- "@aws-sdk/middleware-recursion-detection": "3.306.0",
40
- "@aws-sdk/middleware-retry": "3.306.0",
41
- "@aws-sdk/middleware-sdk-rekognitionstreaming": "3.308.0",
42
- "@aws-sdk/middleware-serde": "3.306.0",
43
- "@aws-sdk/middleware-signing": "3.306.0",
44
- "@aws-sdk/middleware-stack": "3.306.0",
45
- "@aws-sdk/middleware-user-agent": "3.306.0",
46
- "@aws-sdk/middleware-websocket": "3.306.0",
47
- "@aws-sdk/node-config-provider": "3.306.0",
48
- "@aws-sdk/node-http-handler": "3.306.0",
49
- "@aws-sdk/protocol-http": "3.306.0",
50
- "@aws-sdk/smithy-client": "3.306.0",
51
- "@aws-sdk/types": "3.306.0",
52
- "@aws-sdk/url-parser": "3.306.0",
53
- "@aws-sdk/util-base64": "3.303.0",
54
- "@aws-sdk/util-body-length-browser": "3.303.0",
55
- "@aws-sdk/util-body-length-node": "3.303.0",
56
- "@aws-sdk/util-defaults-mode-browser": "3.306.0",
57
- "@aws-sdk/util-defaults-mode-node": "3.306.0",
58
- "@aws-sdk/util-endpoints": "3.306.0",
59
- "@aws-sdk/util-retry": "3.306.0",
60
- "@aws-sdk/util-user-agent-browser": "3.306.0",
61
- "@aws-sdk/util-user-agent-node": "3.306.0",
62
- "@aws-sdk/util-utf8": "3.303.0",
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/eventstream-handler-node": "3.310.0",
28
+ "@aws-sdk/eventstream-serde-browser": "3.310.0",
29
+ "@aws-sdk/eventstream-serde-config-resolver": "3.310.0",
30
+ "@aws-sdk/eventstream-serde-node": "3.310.0",
31
+ "@aws-sdk/fetch-http-handler": "3.310.0",
32
+ "@aws-sdk/hash-node": "3.310.0",
33
+ "@aws-sdk/invalid-dependency": "3.310.0",
34
+ "@aws-sdk/middleware-content-length": "3.310.0",
35
+ "@aws-sdk/middleware-endpoint": "3.310.0",
36
+ "@aws-sdk/middleware-eventstream": "3.310.0",
37
+ "@aws-sdk/middleware-host-header": "3.310.0",
38
+ "@aws-sdk/middleware-logger": "3.310.0",
39
+ "@aws-sdk/middleware-recursion-detection": "3.310.0",
40
+ "@aws-sdk/middleware-retry": "3.310.0",
41
+ "@aws-sdk/middleware-serde": "3.310.0",
42
+ "@aws-sdk/middleware-signing": "3.310.0",
43
+ "@aws-sdk/middleware-stack": "3.310.0",
44
+ "@aws-sdk/middleware-user-agent": "3.310.0",
45
+ "@aws-sdk/middleware-websocket": "3.310.0",
46
+ "@aws-sdk/node-config-provider": "3.310.0",
47
+ "@aws-sdk/node-http-handler": "3.310.0",
48
+ "@aws-sdk/protocol-http": "3.310.0",
49
+ "@aws-sdk/smithy-client": "3.310.0",
50
+ "@aws-sdk/types": "3.310.0",
51
+ "@aws-sdk/url-parser": "3.310.0",
52
+ "@aws-sdk/util-base64": "3.310.0",
53
+ "@aws-sdk/util-body-length-browser": "3.310.0",
54
+ "@aws-sdk/util-body-length-node": "3.310.0",
55
+ "@aws-sdk/util-defaults-mode-browser": "3.310.0",
56
+ "@aws-sdk/util-defaults-mode-node": "3.310.0",
57
+ "@aws-sdk/util-endpoints": "3.310.0",
58
+ "@aws-sdk/util-retry": "3.310.0",
59
+ "@aws-sdk/util-user-agent-browser": "3.310.0",
60
+ "@aws-sdk/util-user-agent-node": "3.310.0",
61
+ "@aws-sdk/util-utf8": "3.310.0",
63
62
  "tslib": "^2.5.0"
64
63
  },
65
64
  "devDependencies": {
66
- "@aws-sdk/service-client-documentation-generator": "3.303.0",
65
+ "@aws-sdk/service-client-documentation-generator": "3.310.0",
67
66
  "@tsconfig/node14": "1.0.3",
68
67
  "@types/node": "^14.14.31",
69
68
  "concurrently": "7.0.0",
@@ -83,7 +82,7 @@
83
82
  }
84
83
  },
85
84
  "files": [
86
- "dist-*"
85
+ "dist-*/**"
87
86
  ],
88
87
  "author": {
89
88
  "name": "AWS SDK for JavaScript Team",