@aws-sdk/client-mediapackage-vod 3.52.0 → 3.53.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.
@@ -3,3 +3,4 @@ export * from "./MediaPackageVodClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { MediaPackageVodServiceException } from "./models/MediaPackageVodServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from MediaPackageVod service.
4
+ */
5
+ export declare class MediaPackageVodServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { MediaPackageVodServiceException as __BaseException } from "./MediaPackageVodServiceException";
2
3
  export declare enum __PeriodTriggersElement {
3
4
  ADS = "ADS"
4
5
  }
@@ -609,50 +610,74 @@ export declare namespace ConfigureLogsResponse {
609
610
  /**
610
611
  * The client is not authorized to access the requested resource.
611
612
  */
612
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
613
- name: "ForbiddenException";
614
- $fault: "client";
613
+ export declare class ForbiddenException extends __BaseException {
614
+ readonly name: "ForbiddenException";
615
+ readonly $fault: "client";
615
616
  Message?: string;
617
+ /**
618
+ * @internal
619
+ */
620
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
616
621
  }
617
622
  /**
618
623
  * An unexpected error occurred.
619
624
  */
620
- export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
621
- name: "InternalServerErrorException";
622
- $fault: "server";
625
+ export declare class InternalServerErrorException extends __BaseException {
626
+ readonly name: "InternalServerErrorException";
627
+ readonly $fault: "server";
623
628
  Message?: string;
629
+ /**
630
+ * @internal
631
+ */
632
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
624
633
  }
625
634
  /**
626
635
  * The requested resource does not exist.
627
636
  */
628
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
629
- name: "NotFoundException";
630
- $fault: "client";
637
+ export declare class NotFoundException extends __BaseException {
638
+ readonly name: "NotFoundException";
639
+ readonly $fault: "client";
631
640
  Message?: string;
641
+ /**
642
+ * @internal
643
+ */
644
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
632
645
  }
633
646
  /**
634
647
  * An unexpected error occurred.
635
648
  */
636
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
637
- name: "ServiceUnavailableException";
638
- $fault: "server";
649
+ export declare class ServiceUnavailableException extends __BaseException {
650
+ readonly name: "ServiceUnavailableException";
651
+ readonly $fault: "server";
639
652
  Message?: string;
653
+ /**
654
+ * @internal
655
+ */
656
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
640
657
  }
641
658
  /**
642
659
  * The client has exceeded their resource or throttling limits.
643
660
  */
644
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
645
- name: "TooManyRequestsException";
646
- $fault: "client";
661
+ export declare class TooManyRequestsException extends __BaseException {
662
+ readonly name: "TooManyRequestsException";
663
+ readonly $fault: "client";
647
664
  Message?: string;
665
+ /**
666
+ * @internal
667
+ */
668
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
648
669
  }
649
670
  /**
650
671
  * The parameters sent in the request are not valid.
651
672
  */
652
- export interface UnprocessableEntityException extends __SmithyException, $MetadataBearer {
653
- name: "UnprocessableEntityException";
654
- $fault: "client";
673
+ export declare class UnprocessableEntityException extends __BaseException {
674
+ readonly name: "UnprocessableEntityException";
675
+ readonly $fault: "client";
655
676
  Message?: string;
677
+ /**
678
+ * @internal
679
+ */
680
+ constructor(opts: __ExceptionOptionType<UnprocessableEntityException, __BaseException>);
656
681
  }
657
682
  /**
658
683
  * A new MediaPackage VOD Asset configuration.
@@ -3,3 +3,4 @@ export * from "./MediaPackageVodClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { MediaPackageVodServiceException } from "./models/MediaPackageVodServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class MediaPackageVodServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { MediaPackageVodServiceException as __BaseException } from "./MediaPackageVodServiceException";
2
3
  export declare enum __PeriodTriggersElement {
3
4
  ADS = "ADS"
4
5
  }
@@ -344,40 +345,52 @@ export declare namespace ConfigureLogsResponse {
344
345
  const filterSensitiveLog: (obj: ConfigureLogsResponse) => any;
345
346
  }
346
347
 
347
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
348
- name: "ForbiddenException";
349
- $fault: "client";
348
+ export declare class ForbiddenException extends __BaseException {
349
+ readonly name: "ForbiddenException";
350
+ readonly $fault: "client";
350
351
  Message?: string;
352
+
353
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
351
354
  }
352
355
 
353
- export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
354
- name: "InternalServerErrorException";
355
- $fault: "server";
356
+ export declare class InternalServerErrorException extends __BaseException {
357
+ readonly name: "InternalServerErrorException";
358
+ readonly $fault: "server";
356
359
  Message?: string;
360
+
361
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
357
362
  }
358
363
 
359
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
360
- name: "NotFoundException";
361
- $fault: "client";
364
+ export declare class NotFoundException extends __BaseException {
365
+ readonly name: "NotFoundException";
366
+ readonly $fault: "client";
362
367
  Message?: string;
368
+
369
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
363
370
  }
364
371
 
365
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
366
- name: "ServiceUnavailableException";
367
- $fault: "server";
372
+ export declare class ServiceUnavailableException extends __BaseException {
373
+ readonly name: "ServiceUnavailableException";
374
+ readonly $fault: "server";
368
375
  Message?: string;
376
+
377
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
369
378
  }
370
379
 
371
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
372
- name: "TooManyRequestsException";
373
- $fault: "client";
380
+ export declare class TooManyRequestsException extends __BaseException {
381
+ readonly name: "TooManyRequestsException";
382
+ readonly $fault: "client";
374
383
  Message?: string;
384
+
385
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
375
386
  }
376
387
 
377
- export interface UnprocessableEntityException extends __SmithyException, $MetadataBearer {
378
- name: "UnprocessableEntityException";
379
- $fault: "client";
388
+ export declare class UnprocessableEntityException extends __BaseException {
389
+ readonly name: "UnprocessableEntityException";
390
+ readonly $fault: "client";
380
391
  Message?: string;
392
+
393
+ constructor(opts: __ExceptionOptionType<UnprocessableEntityException, __BaseException>);
381
394
  }
382
395
 
383
396
  export interface CreateAssetRequest {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediapackage-vod",
3
3
  "description": "AWS SDK for JavaScript Mediapackage Vod Client for Node.js, Browser and React Native",
4
- "version": "3.52.0",
4
+ "version": "3.53.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,34 +18,34 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-serde": "3.53.0",
32
+ "@aws-sdk/middleware-signing": "3.53.0",
33
+ "@aws-sdk/middleware-stack": "3.53.0",
34
+ "@aws-sdk/middleware-user-agent": "3.53.0",
35
+ "@aws-sdk/node-config-provider": "3.53.0",
36
+ "@aws-sdk/node-http-handler": "3.53.0",
37
+ "@aws-sdk/protocol-http": "3.53.0",
38
+ "@aws-sdk/smithy-client": "3.53.0",
39
+ "@aws-sdk/types": "3.53.0",
40
+ "@aws-sdk/url-parser": "3.53.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.52.0",
44
44
  "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
48
+ "@aws-sdk/util-user-agent-node": "3.53.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"