@aws-sdk/client-kinesis-video-archived-media 3.716.0 → 3.723.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/index.js CHANGED
@@ -158,7 +158,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
158
158
  }, "resolveRuntimeExtensions");
159
159
 
160
160
  // src/KinesisVideoArchivedMediaClient.ts
161
- var _KinesisVideoArchivedMediaClient = class _KinesisVideoArchivedMediaClient extends import_smithy_client.Client {
161
+ var KinesisVideoArchivedMediaClient = class extends import_smithy_client.Client {
162
+ static {
163
+ __name(this, "KinesisVideoArchivedMediaClient");
164
+ }
165
+ /**
166
+ * The resolved configuration of KinesisVideoArchivedMediaClient class. This is resolved and normalized from the {@link KinesisVideoArchivedMediaClientConfig | constructor configuration interface}.
167
+ */
168
+ config;
162
169
  constructor(...[configuration]) {
163
170
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
164
171
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -168,7 +175,7 @@ var _KinesisVideoArchivedMediaClient = class _KinesisVideoArchivedMediaClient ex
168
175
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
169
176
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
170
177
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
171
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
178
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
172
179
  super(_config_8);
173
180
  this.config = _config_8;
174
181
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -196,8 +203,6 @@ var _KinesisVideoArchivedMediaClient = class _KinesisVideoArchivedMediaClient ex
196
203
  super.destroy();
197
204
  }
198
205
  };
199
- __name(_KinesisVideoArchivedMediaClient, "KinesisVideoArchivedMediaClient");
200
- var KinesisVideoArchivedMediaClient = _KinesisVideoArchivedMediaClient;
201
206
 
202
207
  // src/KinesisVideoArchivedMedia.ts
203
208
 
@@ -209,7 +214,10 @@ var import_middleware_serde = require("@smithy/middleware-serde");
209
214
 
210
215
  // src/models/KinesisVideoArchivedMediaServiceException.ts
211
216
 
212
- var _KinesisVideoArchivedMediaServiceException = class _KinesisVideoArchivedMediaServiceException extends import_smithy_client.ServiceException {
217
+ var KinesisVideoArchivedMediaServiceException = class _KinesisVideoArchivedMediaServiceException extends import_smithy_client.ServiceException {
218
+ static {
219
+ __name(this, "KinesisVideoArchivedMediaServiceException");
220
+ }
213
221
  /**
214
222
  * @internal
215
223
  */
@@ -218,11 +226,15 @@ var _KinesisVideoArchivedMediaServiceException = class _KinesisVideoArchivedMedi
218
226
  Object.setPrototypeOf(this, _KinesisVideoArchivedMediaServiceException.prototype);
219
227
  }
220
228
  };
221
- __name(_KinesisVideoArchivedMediaServiceException, "KinesisVideoArchivedMediaServiceException");
222
- var KinesisVideoArchivedMediaServiceException = _KinesisVideoArchivedMediaServiceException;
223
229
 
224
230
  // src/models/models_0.ts
225
- var _ClientLimitExceededException = class _ClientLimitExceededException extends KinesisVideoArchivedMediaServiceException {
231
+ var ClientLimitExceededException = class _ClientLimitExceededException extends KinesisVideoArchivedMediaServiceException {
232
+ static {
233
+ __name(this, "ClientLimitExceededException");
234
+ }
235
+ name = "ClientLimitExceededException";
236
+ $fault = "client";
237
+ Message;
226
238
  /**
227
239
  * @internal
228
240
  */
@@ -232,19 +244,21 @@ var _ClientLimitExceededException = class _ClientLimitExceededException extends
232
244
  $fault: "client",
233
245
  ...opts
234
246
  });
235
- this.name = "ClientLimitExceededException";
236
- this.$fault = "client";
237
247
  Object.setPrototypeOf(this, _ClientLimitExceededException.prototype);
238
248
  this.Message = opts.Message;
239
249
  }
240
250
  };
241
- __name(_ClientLimitExceededException, "ClientLimitExceededException");
242
- var ClientLimitExceededException = _ClientLimitExceededException;
243
251
  var ClipFragmentSelectorType = {
244
252
  PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
245
253
  SERVER_TIMESTAMP: "SERVER_TIMESTAMP"
246
254
  };
247
- var _InvalidArgumentException = class _InvalidArgumentException extends KinesisVideoArchivedMediaServiceException {
255
+ var InvalidArgumentException = class _InvalidArgumentException extends KinesisVideoArchivedMediaServiceException {
256
+ static {
257
+ __name(this, "InvalidArgumentException");
258
+ }
259
+ name = "InvalidArgumentException";
260
+ $fault = "client";
261
+ Message;
248
262
  /**
249
263
  * @internal
250
264
  */
@@ -254,15 +268,17 @@ var _InvalidArgumentException = class _InvalidArgumentException extends KinesisV
254
268
  $fault: "client",
255
269
  ...opts
256
270
  });
257
- this.name = "InvalidArgumentException";
258
- this.$fault = "client";
259
271
  Object.setPrototypeOf(this, _InvalidArgumentException.prototype);
260
272
  this.Message = opts.Message;
261
273
  }
262
274
  };
263
- __name(_InvalidArgumentException, "InvalidArgumentException");
264
- var InvalidArgumentException = _InvalidArgumentException;
265
- var _InvalidCodecPrivateDataException = class _InvalidCodecPrivateDataException extends KinesisVideoArchivedMediaServiceException {
275
+ var InvalidCodecPrivateDataException = class _InvalidCodecPrivateDataException extends KinesisVideoArchivedMediaServiceException {
276
+ static {
277
+ __name(this, "InvalidCodecPrivateDataException");
278
+ }
279
+ name = "InvalidCodecPrivateDataException";
280
+ $fault = "client";
281
+ Message;
266
282
  /**
267
283
  * @internal
268
284
  */
@@ -272,15 +288,17 @@ var _InvalidCodecPrivateDataException = class _InvalidCodecPrivateDataException
272
288
  $fault: "client",
273
289
  ...opts
274
290
  });
275
- this.name = "InvalidCodecPrivateDataException";
276
- this.$fault = "client";
277
291
  Object.setPrototypeOf(this, _InvalidCodecPrivateDataException.prototype);
278
292
  this.Message = opts.Message;
279
293
  }
280
294
  };
281
- __name(_InvalidCodecPrivateDataException, "InvalidCodecPrivateDataException");
282
- var InvalidCodecPrivateDataException = _InvalidCodecPrivateDataException;
283
- var _InvalidMediaFrameException = class _InvalidMediaFrameException extends KinesisVideoArchivedMediaServiceException {
295
+ var InvalidMediaFrameException = class _InvalidMediaFrameException extends KinesisVideoArchivedMediaServiceException {
296
+ static {
297
+ __name(this, "InvalidMediaFrameException");
298
+ }
299
+ name = "InvalidMediaFrameException";
300
+ $fault = "client";
301
+ Message;
284
302
  /**
285
303
  * @internal
286
304
  */
@@ -290,15 +308,17 @@ var _InvalidMediaFrameException = class _InvalidMediaFrameException extends Kine
290
308
  $fault: "client",
291
309
  ...opts
292
310
  });
293
- this.name = "InvalidMediaFrameException";
294
- this.$fault = "client";
295
311
  Object.setPrototypeOf(this, _InvalidMediaFrameException.prototype);
296
312
  this.Message = opts.Message;
297
313
  }
298
314
  };
299
- __name(_InvalidMediaFrameException, "InvalidMediaFrameException");
300
- var InvalidMediaFrameException = _InvalidMediaFrameException;
301
- var _MissingCodecPrivateDataException = class _MissingCodecPrivateDataException extends KinesisVideoArchivedMediaServiceException {
315
+ var MissingCodecPrivateDataException = class _MissingCodecPrivateDataException extends KinesisVideoArchivedMediaServiceException {
316
+ static {
317
+ __name(this, "MissingCodecPrivateDataException");
318
+ }
319
+ name = "MissingCodecPrivateDataException";
320
+ $fault = "client";
321
+ Message;
302
322
  /**
303
323
  * @internal
304
324
  */
@@ -308,15 +328,17 @@ var _MissingCodecPrivateDataException = class _MissingCodecPrivateDataException
308
328
  $fault: "client",
309
329
  ...opts
310
330
  });
311
- this.name = "MissingCodecPrivateDataException";
312
- this.$fault = "client";
313
331
  Object.setPrototypeOf(this, _MissingCodecPrivateDataException.prototype);
314
332
  this.Message = opts.Message;
315
333
  }
316
334
  };
317
- __name(_MissingCodecPrivateDataException, "MissingCodecPrivateDataException");
318
- var MissingCodecPrivateDataException = _MissingCodecPrivateDataException;
319
- var _NoDataRetentionException = class _NoDataRetentionException extends KinesisVideoArchivedMediaServiceException {
335
+ var NoDataRetentionException = class _NoDataRetentionException extends KinesisVideoArchivedMediaServiceException {
336
+ static {
337
+ __name(this, "NoDataRetentionException");
338
+ }
339
+ name = "NoDataRetentionException";
340
+ $fault = "client";
341
+ Message;
320
342
  /**
321
343
  * @internal
322
344
  */
@@ -326,15 +348,17 @@ var _NoDataRetentionException = class _NoDataRetentionException extends KinesisV
326
348
  $fault: "client",
327
349
  ...opts
328
350
  });
329
- this.name = "NoDataRetentionException";
330
- this.$fault = "client";
331
351
  Object.setPrototypeOf(this, _NoDataRetentionException.prototype);
332
352
  this.Message = opts.Message;
333
353
  }
334
354
  };
335
- __name(_NoDataRetentionException, "NoDataRetentionException");
336
- var NoDataRetentionException = _NoDataRetentionException;
337
- var _NotAuthorizedException = class _NotAuthorizedException extends KinesisVideoArchivedMediaServiceException {
355
+ var NotAuthorizedException = class _NotAuthorizedException extends KinesisVideoArchivedMediaServiceException {
356
+ static {
357
+ __name(this, "NotAuthorizedException");
358
+ }
359
+ name = "NotAuthorizedException";
360
+ $fault = "client";
361
+ Message;
338
362
  /**
339
363
  * @internal
340
364
  */
@@ -344,15 +368,17 @@ var _NotAuthorizedException = class _NotAuthorizedException extends KinesisVideo
344
368
  $fault: "client",
345
369
  ...opts
346
370
  });
347
- this.name = "NotAuthorizedException";
348
- this.$fault = "client";
349
371
  Object.setPrototypeOf(this, _NotAuthorizedException.prototype);
350
372
  this.Message = opts.Message;
351
373
  }
352
374
  };
353
- __name(_NotAuthorizedException, "NotAuthorizedException");
354
- var NotAuthorizedException = _NotAuthorizedException;
355
- var _ResourceNotFoundException = class _ResourceNotFoundException extends KinesisVideoArchivedMediaServiceException {
375
+ var ResourceNotFoundException = class _ResourceNotFoundException extends KinesisVideoArchivedMediaServiceException {
376
+ static {
377
+ __name(this, "ResourceNotFoundException");
378
+ }
379
+ name = "ResourceNotFoundException";
380
+ $fault = "client";
381
+ Message;
356
382
  /**
357
383
  * @internal
358
384
  */
@@ -362,15 +388,17 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Kinesi
362
388
  $fault: "client",
363
389
  ...opts
364
390
  });
365
- this.name = "ResourceNotFoundException";
366
- this.$fault = "client";
367
391
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
368
392
  this.Message = opts.Message;
369
393
  }
370
394
  };
371
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
372
- var ResourceNotFoundException = _ResourceNotFoundException;
373
- var _UnsupportedStreamMediaTypeException = class _UnsupportedStreamMediaTypeException extends KinesisVideoArchivedMediaServiceException {
395
+ var UnsupportedStreamMediaTypeException = class _UnsupportedStreamMediaTypeException extends KinesisVideoArchivedMediaServiceException {
396
+ static {
397
+ __name(this, "UnsupportedStreamMediaTypeException");
398
+ }
399
+ name = "UnsupportedStreamMediaTypeException";
400
+ $fault = "client";
401
+ Message;
374
402
  /**
375
403
  * @internal
376
404
  */
@@ -380,14 +408,10 @@ var _UnsupportedStreamMediaTypeException = class _UnsupportedStreamMediaTypeExce
380
408
  $fault: "client",
381
409
  ...opts
382
410
  });
383
- this.name = "UnsupportedStreamMediaTypeException";
384
- this.$fault = "client";
385
411
  Object.setPrototypeOf(this, _UnsupportedStreamMediaTypeException.prototype);
386
412
  this.Message = opts.Message;
387
413
  }
388
414
  };
389
- __name(_UnsupportedStreamMediaTypeException, "UnsupportedStreamMediaTypeException");
390
- var UnsupportedStreamMediaTypeException = _UnsupportedStreamMediaTypeException;
391
415
  var DASHFragmentSelectorType = {
392
416
  PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
393
417
  SERVER_TIMESTAMP: "SERVER_TIMESTAMP"
@@ -912,85 +936,91 @@ var _CT = "ContentType";
912
936
  var _ct = "content-type";
913
937
 
914
938
  // src/commands/GetClipCommand.ts
915
- var _GetClipCommand = class _GetClipCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
939
+ var GetClipCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
916
940
  return [
917
941
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
918
942
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
919
943
  ];
920
944
  }).s("AWSAcuityReader", "GetClip", {}).n("KinesisVideoArchivedMediaClient", "GetClipCommand").f(void 0, GetClipOutputFilterSensitiveLog).ser(se_GetClipCommand).de(de_GetClipCommand).build() {
945
+ static {
946
+ __name(this, "GetClipCommand");
947
+ }
921
948
  };
922
- __name(_GetClipCommand, "GetClipCommand");
923
- var GetClipCommand = _GetClipCommand;
924
949
 
925
950
  // src/commands/GetDASHStreamingSessionURLCommand.ts
926
951
 
927
952
 
928
953
 
929
- var _GetDASHStreamingSessionURLCommand = class _GetDASHStreamingSessionURLCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
954
+ var GetDASHStreamingSessionURLCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
930
955
  return [
931
956
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
932
957
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
933
958
  ];
934
959
  }).s("AWSAcuityReader", "GetDASHStreamingSessionURL", {}).n("KinesisVideoArchivedMediaClient", "GetDASHStreamingSessionURLCommand").f(void 0, void 0).ser(se_GetDASHStreamingSessionURLCommand).de(de_GetDASHStreamingSessionURLCommand).build() {
960
+ static {
961
+ __name(this, "GetDASHStreamingSessionURLCommand");
962
+ }
935
963
  };
936
- __name(_GetDASHStreamingSessionURLCommand, "GetDASHStreamingSessionURLCommand");
937
- var GetDASHStreamingSessionURLCommand = _GetDASHStreamingSessionURLCommand;
938
964
 
939
965
  // src/commands/GetHLSStreamingSessionURLCommand.ts
940
966
 
941
967
 
942
968
 
943
- var _GetHLSStreamingSessionURLCommand = class _GetHLSStreamingSessionURLCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
969
+ var GetHLSStreamingSessionURLCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
944
970
  return [
945
971
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
946
972
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
947
973
  ];
948
974
  }).s("AWSAcuityReader", "GetHLSStreamingSessionURL", {}).n("KinesisVideoArchivedMediaClient", "GetHLSStreamingSessionURLCommand").f(void 0, void 0).ser(se_GetHLSStreamingSessionURLCommand).de(de_GetHLSStreamingSessionURLCommand).build() {
975
+ static {
976
+ __name(this, "GetHLSStreamingSessionURLCommand");
977
+ }
949
978
  };
950
- __name(_GetHLSStreamingSessionURLCommand, "GetHLSStreamingSessionURLCommand");
951
- var GetHLSStreamingSessionURLCommand = _GetHLSStreamingSessionURLCommand;
952
979
 
953
980
  // src/commands/GetImagesCommand.ts
954
981
 
955
982
 
956
983
 
957
- var _GetImagesCommand = class _GetImagesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
984
+ var GetImagesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
958
985
  return [
959
986
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
960
987
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
961
988
  ];
962
989
  }).s("AWSAcuityReader", "GetImages", {}).n("KinesisVideoArchivedMediaClient", "GetImagesCommand").f(void 0, void 0).ser(se_GetImagesCommand).de(de_GetImagesCommand).build() {
990
+ static {
991
+ __name(this, "GetImagesCommand");
992
+ }
963
993
  };
964
- __name(_GetImagesCommand, "GetImagesCommand");
965
- var GetImagesCommand = _GetImagesCommand;
966
994
 
967
995
  // src/commands/GetMediaForFragmentListCommand.ts
968
996
 
969
997
 
970
998
 
971
- var _GetMediaForFragmentListCommand = class _GetMediaForFragmentListCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
999
+ var GetMediaForFragmentListCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
972
1000
  return [
973
1001
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
974
1002
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
975
1003
  ];
976
1004
  }).s("AWSAcuityReader", "GetMediaForFragmentList", {}).n("KinesisVideoArchivedMediaClient", "GetMediaForFragmentListCommand").f(void 0, GetMediaForFragmentListOutputFilterSensitiveLog).ser(se_GetMediaForFragmentListCommand).de(de_GetMediaForFragmentListCommand).build() {
1005
+ static {
1006
+ __name(this, "GetMediaForFragmentListCommand");
1007
+ }
977
1008
  };
978
- __name(_GetMediaForFragmentListCommand, "GetMediaForFragmentListCommand");
979
- var GetMediaForFragmentListCommand = _GetMediaForFragmentListCommand;
980
1009
 
981
1010
  // src/commands/ListFragmentsCommand.ts
982
1011
 
983
1012
 
984
1013
 
985
- var _ListFragmentsCommand = class _ListFragmentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1014
+ var ListFragmentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
986
1015
  return [
987
1016
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
988
1017
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
989
1018
  ];
990
1019
  }).s("AWSAcuityReader", "ListFragments", {}).n("KinesisVideoArchivedMediaClient", "ListFragmentsCommand").f(void 0, void 0).ser(se_ListFragmentsCommand).de(de_ListFragmentsCommand).build() {
1020
+ static {
1021
+ __name(this, "ListFragmentsCommand");
1022
+ }
991
1023
  };
992
- __name(_ListFragmentsCommand, "ListFragmentsCommand");
993
- var ListFragmentsCommand = _ListFragmentsCommand;
994
1024
 
995
1025
  // src/KinesisVideoArchivedMedia.ts
996
1026
  var commands = {
@@ -1001,10 +1031,11 @@ var commands = {
1001
1031
  GetMediaForFragmentListCommand,
1002
1032
  ListFragmentsCommand
1003
1033
  };
1004
- var _KinesisVideoArchivedMedia = class _KinesisVideoArchivedMedia extends KinesisVideoArchivedMediaClient {
1034
+ var KinesisVideoArchivedMedia = class extends KinesisVideoArchivedMediaClient {
1035
+ static {
1036
+ __name(this, "KinesisVideoArchivedMedia");
1037
+ }
1005
1038
  };
1006
- __name(_KinesisVideoArchivedMedia, "KinesisVideoArchivedMedia");
1007
- var KinesisVideoArchivedMedia = _KinesisVideoArchivedMedia;
1008
1039
  (0, import_smithy_client.createAggregatedClient)(commands, KinesisVideoArchivedMedia);
1009
1040
 
1010
1041
  // src/pagination/GetImagesPaginator.ts
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class KinesisVideoArchivedMediaClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,13 +1,14 @@
1
1
  import { KinesisVideoArchivedMediaServiceException as __BaseException } from "./KinesisVideoArchivedMediaServiceException";
2
2
  export class ClientLimitExceededException extends __BaseException {
3
+ name = "ClientLimitExceededException";
4
+ $fault = "client";
5
+ Message;
3
6
  constructor(opts) {
4
7
  super({
5
8
  name: "ClientLimitExceededException",
6
9
  $fault: "client",
7
10
  ...opts,
8
11
  });
9
- this.name = "ClientLimitExceededException";
10
- this.$fault = "client";
11
12
  Object.setPrototypeOf(this, ClientLimitExceededException.prototype);
12
13
  this.Message = opts.Message;
13
14
  }
@@ -17,105 +18,113 @@ export const ClipFragmentSelectorType = {
17
18
  SERVER_TIMESTAMP: "SERVER_TIMESTAMP",
18
19
  };
19
20
  export class InvalidArgumentException extends __BaseException {
21
+ name = "InvalidArgumentException";
22
+ $fault = "client";
23
+ Message;
20
24
  constructor(opts) {
21
25
  super({
22
26
  name: "InvalidArgumentException",
23
27
  $fault: "client",
24
28
  ...opts,
25
29
  });
26
- this.name = "InvalidArgumentException";
27
- this.$fault = "client";
28
30
  Object.setPrototypeOf(this, InvalidArgumentException.prototype);
29
31
  this.Message = opts.Message;
30
32
  }
31
33
  }
32
34
  export class InvalidCodecPrivateDataException extends __BaseException {
35
+ name = "InvalidCodecPrivateDataException";
36
+ $fault = "client";
37
+ Message;
33
38
  constructor(opts) {
34
39
  super({
35
40
  name: "InvalidCodecPrivateDataException",
36
41
  $fault: "client",
37
42
  ...opts,
38
43
  });
39
- this.name = "InvalidCodecPrivateDataException";
40
- this.$fault = "client";
41
44
  Object.setPrototypeOf(this, InvalidCodecPrivateDataException.prototype);
42
45
  this.Message = opts.Message;
43
46
  }
44
47
  }
45
48
  export class InvalidMediaFrameException extends __BaseException {
49
+ name = "InvalidMediaFrameException";
50
+ $fault = "client";
51
+ Message;
46
52
  constructor(opts) {
47
53
  super({
48
54
  name: "InvalidMediaFrameException",
49
55
  $fault: "client",
50
56
  ...opts,
51
57
  });
52
- this.name = "InvalidMediaFrameException";
53
- this.$fault = "client";
54
58
  Object.setPrototypeOf(this, InvalidMediaFrameException.prototype);
55
59
  this.Message = opts.Message;
56
60
  }
57
61
  }
58
62
  export class MissingCodecPrivateDataException extends __BaseException {
63
+ name = "MissingCodecPrivateDataException";
64
+ $fault = "client";
65
+ Message;
59
66
  constructor(opts) {
60
67
  super({
61
68
  name: "MissingCodecPrivateDataException",
62
69
  $fault: "client",
63
70
  ...opts,
64
71
  });
65
- this.name = "MissingCodecPrivateDataException";
66
- this.$fault = "client";
67
72
  Object.setPrototypeOf(this, MissingCodecPrivateDataException.prototype);
68
73
  this.Message = opts.Message;
69
74
  }
70
75
  }
71
76
  export class NoDataRetentionException extends __BaseException {
77
+ name = "NoDataRetentionException";
78
+ $fault = "client";
79
+ Message;
72
80
  constructor(opts) {
73
81
  super({
74
82
  name: "NoDataRetentionException",
75
83
  $fault: "client",
76
84
  ...opts,
77
85
  });
78
- this.name = "NoDataRetentionException";
79
- this.$fault = "client";
80
86
  Object.setPrototypeOf(this, NoDataRetentionException.prototype);
81
87
  this.Message = opts.Message;
82
88
  }
83
89
  }
84
90
  export class NotAuthorizedException extends __BaseException {
91
+ name = "NotAuthorizedException";
92
+ $fault = "client";
93
+ Message;
85
94
  constructor(opts) {
86
95
  super({
87
96
  name: "NotAuthorizedException",
88
97
  $fault: "client",
89
98
  ...opts,
90
99
  });
91
- this.name = "NotAuthorizedException";
92
- this.$fault = "client";
93
100
  Object.setPrototypeOf(this, NotAuthorizedException.prototype);
94
101
  this.Message = opts.Message;
95
102
  }
96
103
  }
97
104
  export class ResourceNotFoundException extends __BaseException {
105
+ name = "ResourceNotFoundException";
106
+ $fault = "client";
107
+ Message;
98
108
  constructor(opts) {
99
109
  super({
100
110
  name: "ResourceNotFoundException",
101
111
  $fault: "client",
102
112
  ...opts,
103
113
  });
104
- this.name = "ResourceNotFoundException";
105
- this.$fault = "client";
106
114
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
107
115
  this.Message = opts.Message;
108
116
  }
109
117
  }
110
118
  export class UnsupportedStreamMediaTypeException extends __BaseException {
119
+ name = "UnsupportedStreamMediaTypeException";
120
+ $fault = "client";
121
+ Message;
111
122
  constructor(opts) {
112
123
  super({
113
124
  name: "UnsupportedStreamMediaTypeException",
114
125
  $fault: "client",
115
126
  ...opts,
116
127
  });
117
- this.name = "UnsupportedStreamMediaTypeException";
118
- this.$fault = "client";
119
128
  Object.setPrototypeOf(this, UnsupportedStreamMediaTypeException.prototype);
120
129
  this.Message = opts.Message;
121
130
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: KinesisVideoArchivedMediaClientC
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: KinesisVideoArchivedMediaClientC
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: KinesisVideoArchivedMediaClientC
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: KinesisVideoArchivedMediaClientC
32
32
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
33
33
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
34
34
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
35
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
35
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
36
36
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
37
37
  logger?: import("@smithy/types").Logger | undefined;
38
38
  }) => import("@smithy/types").EndpointV2;
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- input: any
13
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ _: unknown
15
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
16
  defaultUserAgentProvider: (
15
17
  config?:
16
18
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- init?:
13
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
- | undefined
15
- ) => import("@smithy/types").MemoizedProvider<
16
- import("@smithy/types").AwsCredentialIdentity
17
- >;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ init?:
15
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
+ | undefined
17
+ ) => import("@smithy/types").MemoizedProvider<
18
+ import("@smithy/types").AwsCredentialIdentity
19
+ >);
18
20
  defaultUserAgentProvider: (
19
21
  config?:
20
22
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
30
30
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
31
31
  | undefined
32
32
  ) => Promise<import("@smithy/types").UserAgent>;
33
- credentialDefaultProvider: (
34
- input: any
35
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
33
+ credentialDefaultProvider:
34
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
35
+ | ((
36
+ _: unknown
37
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
36
38
  maxAttempts: number | import("@smithy/types").Provider<number>;
37
39
  retryMode: string | import("@smithy/types").Provider<string>;
38
40
  logger: import("@smithy/types").Logger;
@@ -53,11 +55,21 @@ export declare const getRuntimeConfig: (
53
55
  | import("@smithy/types").RetryStrategyV2
54
56
  | undefined;
55
57
  endpoint?:
56
- | string
57
- | import("@smithy/types").Endpoint
58
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
- | import("@smithy/types").EndpointV2
60
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
58
+ | ((
59
+ | string
60
+ | import("@smithy/types").Endpoint
61
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
62
+ | import("@smithy/types").EndpointV2
63
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
64
+ ) &
65
+ (
66
+ | string
67
+ | import("@smithy/types").Provider<string>
68
+ | import("@smithy/types").Endpoint
69
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
70
+ | import("@smithy/types").EndpointV2
71
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
72
+ ))
61
73
  | undefined;
62
74
  endpointProvider: (
63
75
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kinesis-video-archived-media",
3
3
  "description": "AWS SDK for JavaScript Kinesis Video Archived Media Client for Node.js, Browser and React Native",
4
- "version": "3.716.0",
4
+ "version": "3.723.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-kinesis-video-archived-media",
@@ -20,57 +20,57 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.716.0",
24
- "@aws-sdk/client-sts": "3.716.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.716.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.716.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.716.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-stream": "^3.3.2",
61
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-stream": "^4.0.0",
61
+ "@smithy/util-utf8": "^4.0.0",
62
62
  "tslib": "^2.6.2"
63
63
  },
64
64
  "devDependencies": {
65
- "@tsconfig/node16": "16.1.3",
66
- "@types/node": "^16.18.96",
65
+ "@tsconfig/node18": "18.2.4",
66
+ "@types/node": "^18.19.69",
67
67
  "concurrently": "7.0.0",
68
68
  "downlevel-dts": "0.10.1",
69
69
  "rimraf": "3.0.2",
70
- "typescript": "~4.9.5"
70
+ "typescript": "~5.2.2"
71
71
  },
72
72
  "engines": {
73
- "node": ">=16.0.0"
73
+ "node": ">=18.0.0"
74
74
  },
75
75
  "typesVersions": {
76
76
  "<4.0": {