@aws-sdk/client-mediapackagev2 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
@@ -184,7 +184,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
184
184
  }, "resolveRuntimeExtensions");
185
185
 
186
186
  // src/MediaPackageV2Client.ts
187
- var _MediaPackageV2Client = class _MediaPackageV2Client extends import_smithy_client.Client {
187
+ var MediaPackageV2Client = class extends import_smithy_client.Client {
188
+ static {
189
+ __name(this, "MediaPackageV2Client");
190
+ }
191
+ /**
192
+ * The resolved configuration of MediaPackageV2Client class. This is resolved and normalized from the {@link MediaPackageV2ClientConfig | constructor configuration interface}.
193
+ */
194
+ config;
188
195
  constructor(...[configuration]) {
189
196
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
190
197
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -194,7 +201,7 @@ var _MediaPackageV2Client = class _MediaPackageV2Client extends import_smithy_cl
194
201
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
195
202
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
196
203
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
197
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
204
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
198
205
  super(_config_8);
199
206
  this.config = _config_8;
200
207
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -222,8 +229,6 @@ var _MediaPackageV2Client = class _MediaPackageV2Client extends import_smithy_cl
222
229
  super.destroy();
223
230
  }
224
231
  };
225
- __name(_MediaPackageV2Client, "MediaPackageV2Client");
226
- var MediaPackageV2Client = _MediaPackageV2Client;
227
232
 
228
233
  // src/MediaPackageV2.ts
229
234
 
@@ -241,7 +246,10 @@ var import_uuid = require("uuid");
241
246
 
242
247
  // src/models/MediaPackageV2ServiceException.ts
243
248
 
244
- var _MediaPackageV2ServiceException = class _MediaPackageV2ServiceException extends import_smithy_client.ServiceException {
249
+ var MediaPackageV2ServiceException = class _MediaPackageV2ServiceException extends import_smithy_client.ServiceException {
250
+ static {
251
+ __name(this, "MediaPackageV2ServiceException");
252
+ }
245
253
  /**
246
254
  * @internal
247
255
  */
@@ -250,11 +258,15 @@ var _MediaPackageV2ServiceException = class _MediaPackageV2ServiceException exte
250
258
  Object.setPrototypeOf(this, _MediaPackageV2ServiceException.prototype);
251
259
  }
252
260
  };
253
- __name(_MediaPackageV2ServiceException, "MediaPackageV2ServiceException");
254
- var MediaPackageV2ServiceException = _MediaPackageV2ServiceException;
255
261
 
256
262
  // src/models/models_0.ts
257
- var _AccessDeniedException = class _AccessDeniedException extends MediaPackageV2ServiceException {
263
+ var AccessDeniedException = class _AccessDeniedException extends MediaPackageV2ServiceException {
264
+ static {
265
+ __name(this, "AccessDeniedException");
266
+ }
267
+ name = "AccessDeniedException";
268
+ $fault = "client";
269
+ Message;
258
270
  /**
259
271
  * @internal
260
272
  */
@@ -264,14 +276,10 @@ var _AccessDeniedException = class _AccessDeniedException extends MediaPackageV2
264
276
  $fault: "client",
265
277
  ...opts
266
278
  });
267
- this.name = "AccessDeniedException";
268
- this.$fault = "client";
269
279
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
270
280
  this.Message = opts.Message;
271
281
  }
272
282
  };
273
- __name(_AccessDeniedException, "AccessDeniedException");
274
- var AccessDeniedException = _AccessDeniedException;
275
283
  var AdMarkerDash = {
276
284
  BINARY: "BINARY",
277
285
  XML: "XML"
@@ -285,7 +293,18 @@ var ConflictExceptionType = {
285
293
  RESOURCE_ALREADY_EXISTS: "RESOURCE_ALREADY_EXISTS",
286
294
  RESOURCE_IN_USE: "RESOURCE_IN_USE"
287
295
  };
288
- var _ConflictException = class _ConflictException extends MediaPackageV2ServiceException {
296
+ var ConflictException = class _ConflictException extends MediaPackageV2ServiceException {
297
+ static {
298
+ __name(this, "ConflictException");
299
+ }
300
+ name = "ConflictException";
301
+ $fault = "client";
302
+ Message;
303
+ /**
304
+ * <p>The type of ConflictException.</p>
305
+ * @public
306
+ */
307
+ ConflictExceptionType;
289
308
  /**
290
309
  * @internal
291
310
  */
@@ -295,16 +314,18 @@ var _ConflictException = class _ConflictException extends MediaPackageV2ServiceE
295
314
  $fault: "client",
296
315
  ...opts
297
316
  });
298
- this.name = "ConflictException";
299
- this.$fault = "client";
300
317
  Object.setPrototypeOf(this, _ConflictException.prototype);
301
318
  this.Message = opts.Message;
302
319
  this.ConflictExceptionType = opts.ConflictExceptionType;
303
320
  }
304
321
  };
305
- __name(_ConflictException, "ConflictException");
306
- var ConflictException = _ConflictException;
307
- var _InternalServerException = class _InternalServerException extends MediaPackageV2ServiceException {
322
+ var InternalServerException = class _InternalServerException extends MediaPackageV2ServiceException {
323
+ static {
324
+ __name(this, "InternalServerException");
325
+ }
326
+ name = "InternalServerException";
327
+ $fault = "server";
328
+ Message;
308
329
  /**
309
330
  * @internal
310
331
  */
@@ -314,21 +335,28 @@ var _InternalServerException = class _InternalServerException extends MediaPacka
314
335
  $fault: "server",
315
336
  ...opts
316
337
  });
317
- this.name = "InternalServerException";
318
- this.$fault = "server";
319
338
  Object.setPrototypeOf(this, _InternalServerException.prototype);
320
339
  this.Message = opts.Message;
321
340
  }
322
341
  };
323
- __name(_InternalServerException, "InternalServerException");
324
- var InternalServerException = _InternalServerException;
325
342
  var ResourceTypeNotFound = {
326
343
  CHANNEL: "CHANNEL",
327
344
  CHANNEL_GROUP: "CHANNEL_GROUP",
328
345
  HARVEST_JOB: "HARVEST_JOB",
329
346
  ORIGIN_ENDPOINT: "ORIGIN_ENDPOINT"
330
347
  };
331
- var _ResourceNotFoundException = class _ResourceNotFoundException extends MediaPackageV2ServiceException {
348
+ var ResourceNotFoundException = class _ResourceNotFoundException extends MediaPackageV2ServiceException {
349
+ static {
350
+ __name(this, "ResourceNotFoundException");
351
+ }
352
+ name = "ResourceNotFoundException";
353
+ $fault = "client";
354
+ Message;
355
+ /**
356
+ * <p>The specified resource type wasn't found.</p>
357
+ * @public
358
+ */
359
+ ResourceTypeNotFound;
332
360
  /**
333
361
  * @internal
334
362
  */
@@ -338,16 +366,18 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends MediaP
338
366
  $fault: "client",
339
367
  ...opts
340
368
  });
341
- this.name = "ResourceNotFoundException";
342
- this.$fault = "client";
343
369
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
344
370
  this.Message = opts.Message;
345
371
  this.ResourceTypeNotFound = opts.ResourceTypeNotFound;
346
372
  }
347
373
  };
348
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
349
- var ResourceNotFoundException = _ResourceNotFoundException;
350
- var _ThrottlingException = class _ThrottlingException extends MediaPackageV2ServiceException {
374
+ var ThrottlingException = class _ThrottlingException extends MediaPackageV2ServiceException {
375
+ static {
376
+ __name(this, "ThrottlingException");
377
+ }
378
+ name = "ThrottlingException";
379
+ $fault = "client";
380
+ Message;
351
381
  /**
352
382
  * @internal
353
383
  */
@@ -357,14 +387,10 @@ var _ThrottlingException = class _ThrottlingException extends MediaPackageV2Serv
357
387
  $fault: "client",
358
388
  ...opts
359
389
  });
360
- this.name = "ThrottlingException";
361
- this.$fault = "client";
362
390
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
363
391
  this.Message = opts.Message;
364
392
  }
365
393
  };
366
- __name(_ThrottlingException, "ThrottlingException");
367
- var ThrottlingException = _ThrottlingException;
368
394
  var ValidationExceptionType = {
369
395
  CENC_IV_INCOMPATIBLE: "CENC_IV_INCOMPATIBLE",
370
396
  CLIP_START_TIME_WITH_START_OR_END: "CLIP_START_TIME_WITH_START_OR_END",
@@ -426,7 +452,18 @@ var ValidationExceptionType = {
426
452
  URL_UNKNOWN_HOST: "URL_UNKNOWN_HOST",
427
453
  URL_USER_INFO: "URL_USER_INFO"
428
454
  };
429
- var _ValidationException = class _ValidationException extends MediaPackageV2ServiceException {
455
+ var ValidationException = class _ValidationException extends MediaPackageV2ServiceException {
456
+ static {
457
+ __name(this, "ValidationException");
458
+ }
459
+ name = "ValidationException";
460
+ $fault = "client";
461
+ Message;
462
+ /**
463
+ * <p>The type of ValidationException.</p>
464
+ * @public
465
+ */
466
+ ValidationExceptionType;
430
467
  /**
431
468
  * @internal
432
469
  */
@@ -436,20 +473,22 @@ var _ValidationException = class _ValidationException extends MediaPackageV2Serv
436
473
  $fault: "client",
437
474
  ...opts
438
475
  });
439
- this.name = "ValidationException";
440
- this.$fault = "client";
441
476
  Object.setPrototypeOf(this, _ValidationException.prototype);
442
477
  this.Message = opts.Message;
443
478
  this.ValidationExceptionType = opts.ValidationExceptionType;
444
479
  }
445
480
  };
446
- __name(_ValidationException, "ValidationException");
447
- var ValidationException = _ValidationException;
448
481
  var InputType = {
449
482
  CMAF: "CMAF",
450
483
  HLS: "HLS"
451
484
  };
452
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends MediaPackageV2ServiceException {
485
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends MediaPackageV2ServiceException {
486
+ static {
487
+ __name(this, "ServiceQuotaExceededException");
488
+ }
489
+ name = "ServiceQuotaExceededException";
490
+ $fault = "client";
491
+ Message;
453
492
  /**
454
493
  * @internal
455
494
  */
@@ -459,14 +498,10 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
459
498
  $fault: "client",
460
499
  ...opts
461
500
  });
462
- this.name = "ServiceQuotaExceededException";
463
- this.$fault = "client";
464
501
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
465
502
  this.Message = opts.Message;
466
503
  }
467
504
  };
468
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
469
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
470
505
  var ContainerType = {
471
506
  CMAF: "CMAF",
472
507
  TS: "TS"
@@ -1838,393 +1873,421 @@ var _xact = "x-amzn-client-token";
1838
1873
  var _xauim = "x-amzn-update-if-match";
1839
1874
 
1840
1875
  // src/commands/CancelHarvestJobCommand.ts
1841
- var _CancelHarvestJobCommand = class _CancelHarvestJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1876
+ var CancelHarvestJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1842
1877
  return [
1843
1878
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1844
1879
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1845
1880
  ];
1846
1881
  }).s("mediapackagev2", "CancelHarvestJob", {}).n("MediaPackageV2Client", "CancelHarvestJobCommand").f(void 0, void 0).ser(se_CancelHarvestJobCommand).de(de_CancelHarvestJobCommand).build() {
1882
+ static {
1883
+ __name(this, "CancelHarvestJobCommand");
1884
+ }
1847
1885
  };
1848
- __name(_CancelHarvestJobCommand, "CancelHarvestJobCommand");
1849
- var CancelHarvestJobCommand = _CancelHarvestJobCommand;
1850
1886
 
1851
1887
  // src/commands/CreateChannelCommand.ts
1852
1888
 
1853
1889
 
1854
1890
 
1855
- var _CreateChannelCommand = class _CreateChannelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1891
+ var CreateChannelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1856
1892
  return [
1857
1893
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1858
1894
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1859
1895
  ];
1860
1896
  }).s("mediapackagev2", "CreateChannel", {}).n("MediaPackageV2Client", "CreateChannelCommand").f(void 0, void 0).ser(se_CreateChannelCommand).de(de_CreateChannelCommand).build() {
1897
+ static {
1898
+ __name(this, "CreateChannelCommand");
1899
+ }
1861
1900
  };
1862
- __name(_CreateChannelCommand, "CreateChannelCommand");
1863
- var CreateChannelCommand = _CreateChannelCommand;
1864
1901
 
1865
1902
  // src/commands/CreateChannelGroupCommand.ts
1866
1903
 
1867
1904
 
1868
1905
 
1869
- var _CreateChannelGroupCommand = class _CreateChannelGroupCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1906
+ var CreateChannelGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1870
1907
  return [
1871
1908
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1872
1909
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1873
1910
  ];
1874
1911
  }).s("mediapackagev2", "CreateChannelGroup", {}).n("MediaPackageV2Client", "CreateChannelGroupCommand").f(void 0, void 0).ser(se_CreateChannelGroupCommand).de(de_CreateChannelGroupCommand).build() {
1912
+ static {
1913
+ __name(this, "CreateChannelGroupCommand");
1914
+ }
1875
1915
  };
1876
- __name(_CreateChannelGroupCommand, "CreateChannelGroupCommand");
1877
- var CreateChannelGroupCommand = _CreateChannelGroupCommand;
1878
1916
 
1879
1917
  // src/commands/CreateHarvestJobCommand.ts
1880
1918
 
1881
1919
 
1882
1920
 
1883
- var _CreateHarvestJobCommand = class _CreateHarvestJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1921
+ var CreateHarvestJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1884
1922
  return [
1885
1923
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1886
1924
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1887
1925
  ];
1888
1926
  }).s("mediapackagev2", "CreateHarvestJob", {}).n("MediaPackageV2Client", "CreateHarvestJobCommand").f(void 0, void 0).ser(se_CreateHarvestJobCommand).de(de_CreateHarvestJobCommand).build() {
1927
+ static {
1928
+ __name(this, "CreateHarvestJobCommand");
1929
+ }
1889
1930
  };
1890
- __name(_CreateHarvestJobCommand, "CreateHarvestJobCommand");
1891
- var CreateHarvestJobCommand = _CreateHarvestJobCommand;
1892
1931
 
1893
1932
  // src/commands/CreateOriginEndpointCommand.ts
1894
1933
 
1895
1934
 
1896
1935
 
1897
- var _CreateOriginEndpointCommand = class _CreateOriginEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1936
+ var CreateOriginEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1898
1937
  return [
1899
1938
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1900
1939
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1901
1940
  ];
1902
1941
  }).s("mediapackagev2", "CreateOriginEndpoint", {}).n("MediaPackageV2Client", "CreateOriginEndpointCommand").f(void 0, void 0).ser(se_CreateOriginEndpointCommand).de(de_CreateOriginEndpointCommand).build() {
1942
+ static {
1943
+ __name(this, "CreateOriginEndpointCommand");
1944
+ }
1903
1945
  };
1904
- __name(_CreateOriginEndpointCommand, "CreateOriginEndpointCommand");
1905
- var CreateOriginEndpointCommand = _CreateOriginEndpointCommand;
1906
1946
 
1907
1947
  // src/commands/DeleteChannelCommand.ts
1908
1948
 
1909
1949
 
1910
1950
 
1911
- var _DeleteChannelCommand = class _DeleteChannelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1951
+ var DeleteChannelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1912
1952
  return [
1913
1953
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1914
1954
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1915
1955
  ];
1916
1956
  }).s("mediapackagev2", "DeleteChannel", {}).n("MediaPackageV2Client", "DeleteChannelCommand").f(void 0, void 0).ser(se_DeleteChannelCommand).de(de_DeleteChannelCommand).build() {
1957
+ static {
1958
+ __name(this, "DeleteChannelCommand");
1959
+ }
1917
1960
  };
1918
- __name(_DeleteChannelCommand, "DeleteChannelCommand");
1919
- var DeleteChannelCommand = _DeleteChannelCommand;
1920
1961
 
1921
1962
  // src/commands/DeleteChannelGroupCommand.ts
1922
1963
 
1923
1964
 
1924
1965
 
1925
- var _DeleteChannelGroupCommand = class _DeleteChannelGroupCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1966
+ var DeleteChannelGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1926
1967
  return [
1927
1968
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1928
1969
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1929
1970
  ];
1930
1971
  }).s("mediapackagev2", "DeleteChannelGroup", {}).n("MediaPackageV2Client", "DeleteChannelGroupCommand").f(void 0, void 0).ser(se_DeleteChannelGroupCommand).de(de_DeleteChannelGroupCommand).build() {
1972
+ static {
1973
+ __name(this, "DeleteChannelGroupCommand");
1974
+ }
1931
1975
  };
1932
- __name(_DeleteChannelGroupCommand, "DeleteChannelGroupCommand");
1933
- var DeleteChannelGroupCommand = _DeleteChannelGroupCommand;
1934
1976
 
1935
1977
  // src/commands/DeleteChannelPolicyCommand.ts
1936
1978
 
1937
1979
 
1938
1980
 
1939
- var _DeleteChannelPolicyCommand = class _DeleteChannelPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1981
+ var DeleteChannelPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1940
1982
  return [
1941
1983
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1942
1984
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1943
1985
  ];
1944
1986
  }).s("mediapackagev2", "DeleteChannelPolicy", {}).n("MediaPackageV2Client", "DeleteChannelPolicyCommand").f(void 0, void 0).ser(se_DeleteChannelPolicyCommand).de(de_DeleteChannelPolicyCommand).build() {
1987
+ static {
1988
+ __name(this, "DeleteChannelPolicyCommand");
1989
+ }
1945
1990
  };
1946
- __name(_DeleteChannelPolicyCommand, "DeleteChannelPolicyCommand");
1947
- var DeleteChannelPolicyCommand = _DeleteChannelPolicyCommand;
1948
1991
 
1949
1992
  // src/commands/DeleteOriginEndpointCommand.ts
1950
1993
 
1951
1994
 
1952
1995
 
1953
- var _DeleteOriginEndpointCommand = class _DeleteOriginEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1996
+ var DeleteOriginEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1954
1997
  return [
1955
1998
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1956
1999
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1957
2000
  ];
1958
2001
  }).s("mediapackagev2", "DeleteOriginEndpoint", {}).n("MediaPackageV2Client", "DeleteOriginEndpointCommand").f(void 0, void 0).ser(se_DeleteOriginEndpointCommand).de(de_DeleteOriginEndpointCommand).build() {
2002
+ static {
2003
+ __name(this, "DeleteOriginEndpointCommand");
2004
+ }
1959
2005
  };
1960
- __name(_DeleteOriginEndpointCommand, "DeleteOriginEndpointCommand");
1961
- var DeleteOriginEndpointCommand = _DeleteOriginEndpointCommand;
1962
2006
 
1963
2007
  // src/commands/DeleteOriginEndpointPolicyCommand.ts
1964
2008
 
1965
2009
 
1966
2010
 
1967
- var _DeleteOriginEndpointPolicyCommand = class _DeleteOriginEndpointPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2011
+ var DeleteOriginEndpointPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1968
2012
  return [
1969
2013
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1970
2014
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1971
2015
  ];
1972
2016
  }).s("mediapackagev2", "DeleteOriginEndpointPolicy", {}).n("MediaPackageV2Client", "DeleteOriginEndpointPolicyCommand").f(void 0, void 0).ser(se_DeleteOriginEndpointPolicyCommand).de(de_DeleteOriginEndpointPolicyCommand).build() {
2017
+ static {
2018
+ __name(this, "DeleteOriginEndpointPolicyCommand");
2019
+ }
1973
2020
  };
1974
- __name(_DeleteOriginEndpointPolicyCommand, "DeleteOriginEndpointPolicyCommand");
1975
- var DeleteOriginEndpointPolicyCommand = _DeleteOriginEndpointPolicyCommand;
1976
2021
 
1977
2022
  // src/commands/GetChannelCommand.ts
1978
2023
 
1979
2024
 
1980
2025
 
1981
- var _GetChannelCommand = class _GetChannelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2026
+ var GetChannelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1982
2027
  return [
1983
2028
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1984
2029
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1985
2030
  ];
1986
2031
  }).s("mediapackagev2", "GetChannel", {}).n("MediaPackageV2Client", "GetChannelCommand").f(void 0, void 0).ser(se_GetChannelCommand).de(de_GetChannelCommand).build() {
2032
+ static {
2033
+ __name(this, "GetChannelCommand");
2034
+ }
1987
2035
  };
1988
- __name(_GetChannelCommand, "GetChannelCommand");
1989
- var GetChannelCommand = _GetChannelCommand;
1990
2036
 
1991
2037
  // src/commands/GetChannelGroupCommand.ts
1992
2038
 
1993
2039
 
1994
2040
 
1995
- var _GetChannelGroupCommand = class _GetChannelGroupCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2041
+ var GetChannelGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1996
2042
  return [
1997
2043
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1998
2044
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1999
2045
  ];
2000
2046
  }).s("mediapackagev2", "GetChannelGroup", {}).n("MediaPackageV2Client", "GetChannelGroupCommand").f(void 0, void 0).ser(se_GetChannelGroupCommand).de(de_GetChannelGroupCommand).build() {
2047
+ static {
2048
+ __name(this, "GetChannelGroupCommand");
2049
+ }
2001
2050
  };
2002
- __name(_GetChannelGroupCommand, "GetChannelGroupCommand");
2003
- var GetChannelGroupCommand = _GetChannelGroupCommand;
2004
2051
 
2005
2052
  // src/commands/GetChannelPolicyCommand.ts
2006
2053
 
2007
2054
 
2008
2055
 
2009
- var _GetChannelPolicyCommand = class _GetChannelPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2056
+ var GetChannelPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2010
2057
  return [
2011
2058
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2012
2059
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2013
2060
  ];
2014
2061
  }).s("mediapackagev2", "GetChannelPolicy", {}).n("MediaPackageV2Client", "GetChannelPolicyCommand").f(void 0, void 0).ser(se_GetChannelPolicyCommand).de(de_GetChannelPolicyCommand).build() {
2062
+ static {
2063
+ __name(this, "GetChannelPolicyCommand");
2064
+ }
2015
2065
  };
2016
- __name(_GetChannelPolicyCommand, "GetChannelPolicyCommand");
2017
- var GetChannelPolicyCommand = _GetChannelPolicyCommand;
2018
2066
 
2019
2067
  // src/commands/GetHarvestJobCommand.ts
2020
2068
 
2021
2069
 
2022
2070
 
2023
- var _GetHarvestJobCommand = class _GetHarvestJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2071
+ var GetHarvestJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2024
2072
  return [
2025
2073
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2026
2074
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2027
2075
  ];
2028
2076
  }).s("mediapackagev2", "GetHarvestJob", {}).n("MediaPackageV2Client", "GetHarvestJobCommand").f(void 0, void 0).ser(se_GetHarvestJobCommand).de(de_GetHarvestJobCommand).build() {
2077
+ static {
2078
+ __name(this, "GetHarvestJobCommand");
2079
+ }
2029
2080
  };
2030
- __name(_GetHarvestJobCommand, "GetHarvestJobCommand");
2031
- var GetHarvestJobCommand = _GetHarvestJobCommand;
2032
2081
 
2033
2082
  // src/commands/GetOriginEndpointCommand.ts
2034
2083
 
2035
2084
 
2036
2085
 
2037
- var _GetOriginEndpointCommand = class _GetOriginEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2086
+ var GetOriginEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2038
2087
  return [
2039
2088
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2040
2089
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2041
2090
  ];
2042
2091
  }).s("mediapackagev2", "GetOriginEndpoint", {}).n("MediaPackageV2Client", "GetOriginEndpointCommand").f(void 0, void 0).ser(se_GetOriginEndpointCommand).de(de_GetOriginEndpointCommand).build() {
2092
+ static {
2093
+ __name(this, "GetOriginEndpointCommand");
2094
+ }
2043
2095
  };
2044
- __name(_GetOriginEndpointCommand, "GetOriginEndpointCommand");
2045
- var GetOriginEndpointCommand = _GetOriginEndpointCommand;
2046
2096
 
2047
2097
  // src/commands/GetOriginEndpointPolicyCommand.ts
2048
2098
 
2049
2099
 
2050
2100
 
2051
- var _GetOriginEndpointPolicyCommand = class _GetOriginEndpointPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2101
+ var GetOriginEndpointPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2052
2102
  return [
2053
2103
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2054
2104
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2055
2105
  ];
2056
2106
  }).s("mediapackagev2", "GetOriginEndpointPolicy", {}).n("MediaPackageV2Client", "GetOriginEndpointPolicyCommand").f(void 0, void 0).ser(se_GetOriginEndpointPolicyCommand).de(de_GetOriginEndpointPolicyCommand).build() {
2107
+ static {
2108
+ __name(this, "GetOriginEndpointPolicyCommand");
2109
+ }
2057
2110
  };
2058
- __name(_GetOriginEndpointPolicyCommand, "GetOriginEndpointPolicyCommand");
2059
- var GetOriginEndpointPolicyCommand = _GetOriginEndpointPolicyCommand;
2060
2111
 
2061
2112
  // src/commands/ListChannelGroupsCommand.ts
2062
2113
 
2063
2114
 
2064
2115
 
2065
- var _ListChannelGroupsCommand = class _ListChannelGroupsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2116
+ var ListChannelGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2066
2117
  return [
2067
2118
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2068
2119
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2069
2120
  ];
2070
2121
  }).s("mediapackagev2", "ListChannelGroups", {}).n("MediaPackageV2Client", "ListChannelGroupsCommand").f(void 0, void 0).ser(se_ListChannelGroupsCommand).de(de_ListChannelGroupsCommand).build() {
2122
+ static {
2123
+ __name(this, "ListChannelGroupsCommand");
2124
+ }
2071
2125
  };
2072
- __name(_ListChannelGroupsCommand, "ListChannelGroupsCommand");
2073
- var ListChannelGroupsCommand = _ListChannelGroupsCommand;
2074
2126
 
2075
2127
  // src/commands/ListChannelsCommand.ts
2076
2128
 
2077
2129
 
2078
2130
 
2079
- var _ListChannelsCommand = class _ListChannelsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2131
+ var ListChannelsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2080
2132
  return [
2081
2133
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2082
2134
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2083
2135
  ];
2084
2136
  }).s("mediapackagev2", "ListChannels", {}).n("MediaPackageV2Client", "ListChannelsCommand").f(void 0, void 0).ser(se_ListChannelsCommand).de(de_ListChannelsCommand).build() {
2137
+ static {
2138
+ __name(this, "ListChannelsCommand");
2139
+ }
2085
2140
  };
2086
- __name(_ListChannelsCommand, "ListChannelsCommand");
2087
- var ListChannelsCommand = _ListChannelsCommand;
2088
2141
 
2089
2142
  // src/commands/ListHarvestJobsCommand.ts
2090
2143
 
2091
2144
 
2092
2145
 
2093
- var _ListHarvestJobsCommand = class _ListHarvestJobsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2146
+ var ListHarvestJobsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2094
2147
  return [
2095
2148
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2096
2149
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2097
2150
  ];
2098
2151
  }).s("mediapackagev2", "ListHarvestJobs", {}).n("MediaPackageV2Client", "ListHarvestJobsCommand").f(void 0, void 0).ser(se_ListHarvestJobsCommand).de(de_ListHarvestJobsCommand).build() {
2152
+ static {
2153
+ __name(this, "ListHarvestJobsCommand");
2154
+ }
2099
2155
  };
2100
- __name(_ListHarvestJobsCommand, "ListHarvestJobsCommand");
2101
- var ListHarvestJobsCommand = _ListHarvestJobsCommand;
2102
2156
 
2103
2157
  // src/commands/ListOriginEndpointsCommand.ts
2104
2158
 
2105
2159
 
2106
2160
 
2107
- var _ListOriginEndpointsCommand = class _ListOriginEndpointsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2161
+ var ListOriginEndpointsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2108
2162
  return [
2109
2163
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2110
2164
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2111
2165
  ];
2112
2166
  }).s("mediapackagev2", "ListOriginEndpoints", {}).n("MediaPackageV2Client", "ListOriginEndpointsCommand").f(void 0, void 0).ser(se_ListOriginEndpointsCommand).de(de_ListOriginEndpointsCommand).build() {
2167
+ static {
2168
+ __name(this, "ListOriginEndpointsCommand");
2169
+ }
2113
2170
  };
2114
- __name(_ListOriginEndpointsCommand, "ListOriginEndpointsCommand");
2115
- var ListOriginEndpointsCommand = _ListOriginEndpointsCommand;
2116
2171
 
2117
2172
  // src/commands/ListTagsForResourceCommand.ts
2118
2173
 
2119
2174
 
2120
2175
 
2121
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2176
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2122
2177
  return [
2123
2178
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2124
2179
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2125
2180
  ];
2126
2181
  }).s("mediapackagev2", "ListTagsForResource", {}).n("MediaPackageV2Client", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
2182
+ static {
2183
+ __name(this, "ListTagsForResourceCommand");
2184
+ }
2127
2185
  };
2128
- __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
2129
- var ListTagsForResourceCommand = _ListTagsForResourceCommand;
2130
2186
 
2131
2187
  // src/commands/PutChannelPolicyCommand.ts
2132
2188
 
2133
2189
 
2134
2190
 
2135
- var _PutChannelPolicyCommand = class _PutChannelPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2191
+ var PutChannelPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2136
2192
  return [
2137
2193
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2138
2194
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2139
2195
  ];
2140
2196
  }).s("mediapackagev2", "PutChannelPolicy", {}).n("MediaPackageV2Client", "PutChannelPolicyCommand").f(void 0, void 0).ser(se_PutChannelPolicyCommand).de(de_PutChannelPolicyCommand).build() {
2197
+ static {
2198
+ __name(this, "PutChannelPolicyCommand");
2199
+ }
2141
2200
  };
2142
- __name(_PutChannelPolicyCommand, "PutChannelPolicyCommand");
2143
- var PutChannelPolicyCommand = _PutChannelPolicyCommand;
2144
2201
 
2145
2202
  // src/commands/PutOriginEndpointPolicyCommand.ts
2146
2203
 
2147
2204
 
2148
2205
 
2149
- var _PutOriginEndpointPolicyCommand = class _PutOriginEndpointPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2206
+ var PutOriginEndpointPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2150
2207
  return [
2151
2208
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2152
2209
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2153
2210
  ];
2154
2211
  }).s("mediapackagev2", "PutOriginEndpointPolicy", {}).n("MediaPackageV2Client", "PutOriginEndpointPolicyCommand").f(void 0, void 0).ser(se_PutOriginEndpointPolicyCommand).de(de_PutOriginEndpointPolicyCommand).build() {
2212
+ static {
2213
+ __name(this, "PutOriginEndpointPolicyCommand");
2214
+ }
2155
2215
  };
2156
- __name(_PutOriginEndpointPolicyCommand, "PutOriginEndpointPolicyCommand");
2157
- var PutOriginEndpointPolicyCommand = _PutOriginEndpointPolicyCommand;
2158
2216
 
2159
2217
  // src/commands/TagResourceCommand.ts
2160
2218
 
2161
2219
 
2162
2220
 
2163
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2221
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2164
2222
  return [
2165
2223
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2166
2224
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2167
2225
  ];
2168
2226
  }).s("mediapackagev2", "TagResource", {}).n("MediaPackageV2Client", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
2227
+ static {
2228
+ __name(this, "TagResourceCommand");
2229
+ }
2169
2230
  };
2170
- __name(_TagResourceCommand, "TagResourceCommand");
2171
- var TagResourceCommand = _TagResourceCommand;
2172
2231
 
2173
2232
  // src/commands/UntagResourceCommand.ts
2174
2233
 
2175
2234
 
2176
2235
 
2177
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2236
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2178
2237
  return [
2179
2238
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2180
2239
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2181
2240
  ];
2182
2241
  }).s("mediapackagev2", "UntagResource", {}).n("MediaPackageV2Client", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
2242
+ static {
2243
+ __name(this, "UntagResourceCommand");
2244
+ }
2183
2245
  };
2184
- __name(_UntagResourceCommand, "UntagResourceCommand");
2185
- var UntagResourceCommand = _UntagResourceCommand;
2186
2246
 
2187
2247
  // src/commands/UpdateChannelCommand.ts
2188
2248
 
2189
2249
 
2190
2250
 
2191
- var _UpdateChannelCommand = class _UpdateChannelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2251
+ var UpdateChannelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2192
2252
  return [
2193
2253
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2194
2254
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2195
2255
  ];
2196
2256
  }).s("mediapackagev2", "UpdateChannel", {}).n("MediaPackageV2Client", "UpdateChannelCommand").f(void 0, void 0).ser(se_UpdateChannelCommand).de(de_UpdateChannelCommand).build() {
2257
+ static {
2258
+ __name(this, "UpdateChannelCommand");
2259
+ }
2197
2260
  };
2198
- __name(_UpdateChannelCommand, "UpdateChannelCommand");
2199
- var UpdateChannelCommand = _UpdateChannelCommand;
2200
2261
 
2201
2262
  // src/commands/UpdateChannelGroupCommand.ts
2202
2263
 
2203
2264
 
2204
2265
 
2205
- var _UpdateChannelGroupCommand = class _UpdateChannelGroupCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2266
+ var UpdateChannelGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2206
2267
  return [
2207
2268
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2208
2269
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2209
2270
  ];
2210
2271
  }).s("mediapackagev2", "UpdateChannelGroup", {}).n("MediaPackageV2Client", "UpdateChannelGroupCommand").f(void 0, void 0).ser(se_UpdateChannelGroupCommand).de(de_UpdateChannelGroupCommand).build() {
2272
+ static {
2273
+ __name(this, "UpdateChannelGroupCommand");
2274
+ }
2211
2275
  };
2212
- __name(_UpdateChannelGroupCommand, "UpdateChannelGroupCommand");
2213
- var UpdateChannelGroupCommand = _UpdateChannelGroupCommand;
2214
2276
 
2215
2277
  // src/commands/UpdateOriginEndpointCommand.ts
2216
2278
 
2217
2279
 
2218
2280
 
2219
- var _UpdateOriginEndpointCommand = class _UpdateOriginEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2281
+ var UpdateOriginEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2220
2282
  return [
2221
2283
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2222
2284
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2223
2285
  ];
2224
2286
  }).s("mediapackagev2", "UpdateOriginEndpoint", {}).n("MediaPackageV2Client", "UpdateOriginEndpointCommand").f(void 0, void 0).ser(se_UpdateOriginEndpointCommand).de(de_UpdateOriginEndpointCommand).build() {
2287
+ static {
2288
+ __name(this, "UpdateOriginEndpointCommand");
2289
+ }
2225
2290
  };
2226
- __name(_UpdateOriginEndpointCommand, "UpdateOriginEndpointCommand");
2227
- var UpdateOriginEndpointCommand = _UpdateOriginEndpointCommand;
2228
2291
 
2229
2292
  // src/MediaPackageV2.ts
2230
2293
  var commands = {
@@ -2257,10 +2320,11 @@ var commands = {
2257
2320
  UpdateChannelGroupCommand,
2258
2321
  UpdateOriginEndpointCommand
2259
2322
  };
2260
- var _MediaPackageV2 = class _MediaPackageV2 extends MediaPackageV2Client {
2323
+ var MediaPackageV2 = class extends MediaPackageV2Client {
2324
+ static {
2325
+ __name(this, "MediaPackageV2");
2326
+ }
2261
2327
  };
2262
- __name(_MediaPackageV2, "MediaPackageV2");
2263
- var MediaPackageV2 = _MediaPackageV2;
2264
2328
  (0, import_smithy_client.createAggregatedClient)(commands, MediaPackageV2);
2265
2329
 
2266
2330
  // src/pagination/ListChannelGroupsPaginator.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 MediaPackageV2Client 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 { MediaPackageV2ServiceException as __BaseException } from "./MediaPackageV2ServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ Message;
3
6
  constructor(opts) {
4
7
  super({
5
8
  name: "AccessDeniedException",
6
9
  $fault: "client",
7
10
  ...opts,
8
11
  });
9
- this.name = "AccessDeniedException";
10
- this.$fault = "client";
11
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
13
  this.Message = opts.Message;
13
14
  }
@@ -26,28 +27,31 @@ export const ConflictExceptionType = {
26
27
  RESOURCE_IN_USE: "RESOURCE_IN_USE",
27
28
  };
28
29
  export class ConflictException extends __BaseException {
30
+ name = "ConflictException";
31
+ $fault = "client";
32
+ Message;
33
+ ConflictExceptionType;
29
34
  constructor(opts) {
30
35
  super({
31
36
  name: "ConflictException",
32
37
  $fault: "client",
33
38
  ...opts,
34
39
  });
35
- this.name = "ConflictException";
36
- this.$fault = "client";
37
40
  Object.setPrototypeOf(this, ConflictException.prototype);
38
41
  this.Message = opts.Message;
39
42
  this.ConflictExceptionType = opts.ConflictExceptionType;
40
43
  }
41
44
  }
42
45
  export class InternalServerException extends __BaseException {
46
+ name = "InternalServerException";
47
+ $fault = "server";
48
+ Message;
43
49
  constructor(opts) {
44
50
  super({
45
51
  name: "InternalServerException",
46
52
  $fault: "server",
47
53
  ...opts,
48
54
  });
49
- this.name = "InternalServerException";
50
- this.$fault = "server";
51
55
  Object.setPrototypeOf(this, InternalServerException.prototype);
52
56
  this.Message = opts.Message;
53
57
  }
@@ -59,28 +63,31 @@ export const ResourceTypeNotFound = {
59
63
  ORIGIN_ENDPOINT: "ORIGIN_ENDPOINT",
60
64
  };
61
65
  export class ResourceNotFoundException extends __BaseException {
66
+ name = "ResourceNotFoundException";
67
+ $fault = "client";
68
+ Message;
69
+ ResourceTypeNotFound;
62
70
  constructor(opts) {
63
71
  super({
64
72
  name: "ResourceNotFoundException",
65
73
  $fault: "client",
66
74
  ...opts,
67
75
  });
68
- this.name = "ResourceNotFoundException";
69
- this.$fault = "client";
70
76
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
71
77
  this.Message = opts.Message;
72
78
  this.ResourceTypeNotFound = opts.ResourceTypeNotFound;
73
79
  }
74
80
  }
75
81
  export class ThrottlingException extends __BaseException {
82
+ name = "ThrottlingException";
83
+ $fault = "client";
84
+ Message;
76
85
  constructor(opts) {
77
86
  super({
78
87
  name: "ThrottlingException",
79
88
  $fault: "client",
80
89
  ...opts,
81
90
  });
82
- this.name = "ThrottlingException";
83
- this.$fault = "client";
84
91
  Object.setPrototypeOf(this, ThrottlingException.prototype);
85
92
  this.Message = opts.Message;
86
93
  }
@@ -147,14 +154,16 @@ export const ValidationExceptionType = {
147
154
  URL_USER_INFO: "URL_USER_INFO",
148
155
  };
149
156
  export class ValidationException extends __BaseException {
157
+ name = "ValidationException";
158
+ $fault = "client";
159
+ Message;
160
+ ValidationExceptionType;
150
161
  constructor(opts) {
151
162
  super({
152
163
  name: "ValidationException",
153
164
  $fault: "client",
154
165
  ...opts,
155
166
  });
156
- this.name = "ValidationException";
157
- this.$fault = "client";
158
167
  Object.setPrototypeOf(this, ValidationException.prototype);
159
168
  this.Message = opts.Message;
160
169
  this.ValidationExceptionType = opts.ValidationExceptionType;
@@ -165,14 +174,15 @@ export const InputType = {
165
174
  HLS: "HLS",
166
175
  };
167
176
  export class ServiceQuotaExceededException extends __BaseException {
177
+ name = "ServiceQuotaExceededException";
178
+ $fault = "client";
179
+ Message;
168
180
  constructor(opts) {
169
181
  super({
170
182
  name: "ServiceQuotaExceededException",
171
183
  $fault: "client",
172
184
  ...opts,
173
185
  });
174
- this.name = "ServiceQuotaExceededException";
175
- this.$fault = "client";
176
186
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
177
187
  this.Message = opts.Message;
178
188
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: MediaPackageV2ClientConfig) => {
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: MediaPackageV2ClientConfig) => {
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: MediaPackageV2ClientConfig) => {
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;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: MediaPackageV2ClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- 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;
34
+ 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;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: MediaPackageV2ClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: MediaPackageV2ClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: MediaPackageV2ClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: MediaPackageV2ClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
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>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediapackagev2",
3
3
  "description": "AWS SDK for JavaScript Mediapackagev2 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-mediapackagev2",
@@ -20,59 +20,59 @@
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-utf8": "^3.0.0",
61
- "@smithy/util-waiter": "^3.2.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-utf8": "^4.0.0",
61
+ "@smithy/util-waiter": "^4.0.0",
62
62
  "@types/uuid": "^9.0.1",
63
63
  "tslib": "^2.6.2",
64
64
  "uuid": "^9.0.1"
65
65
  },
66
66
  "devDependencies": {
67
- "@tsconfig/node16": "16.1.3",
68
- "@types/node": "^16.18.96",
67
+ "@tsconfig/node18": "18.2.4",
68
+ "@types/node": "^18.19.69",
69
69
  "concurrently": "7.0.0",
70
70
  "downlevel-dts": "0.10.1",
71
71
  "rimraf": "3.0.2",
72
- "typescript": "~4.9.5"
72
+ "typescript": "~5.2.2"
73
73
  },
74
74
  "engines": {
75
- "node": ">=16.0.0"
75
+ "node": ">=18.0.0"
76
76
  },
77
77
  "typesVersions": {
78
78
  "<4.0": {