@aws-sdk/client-mediaconvert 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 "./MediaConvertClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { MediaConvertServiceException } from "./models/MediaConvertServiceException";
@@ -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 MediaConvert service.
4
+ */
5
+ export declare class MediaConvertServiceException 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 { MediaConvertServiceException as __BaseException } from "./MediaConvertServiceException";
2
3
  import { AccelerationSettings, AccelerationStatus, AudioDescription, AutomatedEncodingSettings, AvailBlanking, BillingTagsSource, CaptionDescription, CaptionDescriptionPreset, CmfcAudioDuration, CmfcSettings, ContainerType, Endpoint, EsamSettings, ExtendedDataServices, F4vSettings, Hdr10Metadata, HopDestination, Id3Insertion, ImageInserter, Input, InputTemplate, JobMessages, JobPhase, KantarWatermarkSettings, M2tsSettings, M3u8AudioDuration, M3u8DataPtsControl, M3u8NielsenId3, M3u8PcrControl, M3u8Scte35Source, MotionImageInserter, NielsenConfiguration, NielsenNonLinearWatermarkSettings, OutputGroupDetail, OutputGroupSettings, QueueTransition, Rectangle } from "./models_0";
3
4
  export declare enum TimedMetadata {
4
5
  NONE = "NONE",
@@ -3447,50 +3448,74 @@ export declare namespace AssociateCertificateResponse {
3447
3448
  /**
3448
3449
  * The service can't process your request because of a problem in the request. Please check your request form and syntax.
3449
3450
  */
3450
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
3451
- name: "BadRequestException";
3452
- $fault: "client";
3451
+ export declare class BadRequestException extends __BaseException {
3452
+ readonly name: "BadRequestException";
3453
+ readonly $fault: "client";
3453
3454
  Message?: string;
3455
+ /**
3456
+ * @internal
3457
+ */
3458
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
3454
3459
  }
3455
3460
  /**
3456
3461
  * The service couldn't complete your request because there is a conflict with the current state of the resource.
3457
3462
  */
3458
- export interface ConflictException extends __SmithyException, $MetadataBearer {
3459
- name: "ConflictException";
3460
- $fault: "client";
3463
+ export declare class ConflictException extends __BaseException {
3464
+ readonly name: "ConflictException";
3465
+ readonly $fault: "client";
3461
3466
  Message?: string;
3467
+ /**
3468
+ * @internal
3469
+ */
3470
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
3462
3471
  }
3463
3472
  /**
3464
3473
  * You don't have permissions for this action with the credentials you sent.
3465
3474
  */
3466
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
3467
- name: "ForbiddenException";
3468
- $fault: "client";
3475
+ export declare class ForbiddenException extends __BaseException {
3476
+ readonly name: "ForbiddenException";
3477
+ readonly $fault: "client";
3469
3478
  Message?: string;
3479
+ /**
3480
+ * @internal
3481
+ */
3482
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
3470
3483
  }
3471
3484
  /**
3472
3485
  * The service encountered an unexpected condition and can't fulfill your request.
3473
3486
  */
3474
- export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
3475
- name: "InternalServerErrorException";
3476
- $fault: "server";
3487
+ export declare class InternalServerErrorException extends __BaseException {
3488
+ readonly name: "InternalServerErrorException";
3489
+ readonly $fault: "server";
3477
3490
  Message?: string;
3491
+ /**
3492
+ * @internal
3493
+ */
3494
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
3478
3495
  }
3479
3496
  /**
3480
3497
  * The resource you requested doesn't exist.
3481
3498
  */
3482
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
3483
- name: "NotFoundException";
3484
- $fault: "client";
3499
+ export declare class NotFoundException extends __BaseException {
3500
+ readonly name: "NotFoundException";
3501
+ readonly $fault: "client";
3485
3502
  Message?: string;
3503
+ /**
3504
+ * @internal
3505
+ */
3506
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
3486
3507
  }
3487
3508
  /**
3488
3509
  * Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
3489
3510
  */
3490
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
3491
- name: "TooManyRequestsException";
3492
- $fault: "client";
3511
+ export declare class TooManyRequestsException extends __BaseException {
3512
+ readonly name: "TooManyRequestsException";
3513
+ readonly $fault: "client";
3493
3514
  Message?: string;
3515
+ /**
3516
+ * @internal
3517
+ */
3518
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
3494
3519
  }
3495
3520
  export interface CancelJobRequest {
3496
3521
  /**
@@ -3,3 +3,4 @@ export * from "./MediaConvertClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { MediaConvertServiceException } from "./models/MediaConvertServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class MediaConvertServiceException 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 { MediaConvertServiceException as __BaseException } from "./MediaConvertServiceException";
2
3
  import { AccelerationSettings, AccelerationStatus, AudioDescription, AutomatedEncodingSettings, AvailBlanking, BillingTagsSource, CaptionDescription, CaptionDescriptionPreset, CmfcAudioDuration, CmfcSettings, ContainerType, Endpoint, EsamSettings, ExtendedDataServices, F4vSettings, Hdr10Metadata, HopDestination, Id3Insertion, ImageInserter, Input, InputTemplate, JobMessages, JobPhase, KantarWatermarkSettings, M2tsSettings, M3u8AudioDuration, M3u8DataPtsControl, M3u8NielsenId3, M3u8PcrControl, M3u8Scte35Source, MotionImageInserter, NielsenConfiguration, NielsenNonLinearWatermarkSettings, OutputGroupDetail, OutputGroupSettings, QueueTransition, Rectangle } from "./models_0";
3
4
  export declare enum TimedMetadata {
4
5
  NONE = "NONE",
@@ -2261,40 +2262,52 @@ export declare namespace AssociateCertificateResponse {
2261
2262
  const filterSensitiveLog: (obj: AssociateCertificateResponse) => any;
2262
2263
  }
2263
2264
 
2264
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
2265
- name: "BadRequestException";
2266
- $fault: "client";
2265
+ export declare class BadRequestException extends __BaseException {
2266
+ readonly name: "BadRequestException";
2267
+ readonly $fault: "client";
2267
2268
  Message?: string;
2269
+
2270
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
2268
2271
  }
2269
2272
 
2270
- export interface ConflictException extends __SmithyException, $MetadataBearer {
2271
- name: "ConflictException";
2272
- $fault: "client";
2273
+ export declare class ConflictException extends __BaseException {
2274
+ readonly name: "ConflictException";
2275
+ readonly $fault: "client";
2273
2276
  Message?: string;
2277
+
2278
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
2274
2279
  }
2275
2280
 
2276
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
2277
- name: "ForbiddenException";
2278
- $fault: "client";
2281
+ export declare class ForbiddenException extends __BaseException {
2282
+ readonly name: "ForbiddenException";
2283
+ readonly $fault: "client";
2279
2284
  Message?: string;
2285
+
2286
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
2280
2287
  }
2281
2288
 
2282
- export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
2283
- name: "InternalServerErrorException";
2284
- $fault: "server";
2289
+ export declare class InternalServerErrorException extends __BaseException {
2290
+ readonly name: "InternalServerErrorException";
2291
+ readonly $fault: "server";
2285
2292
  Message?: string;
2293
+
2294
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
2286
2295
  }
2287
2296
 
2288
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
2289
- name: "NotFoundException";
2290
- $fault: "client";
2297
+ export declare class NotFoundException extends __BaseException {
2298
+ readonly name: "NotFoundException";
2299
+ readonly $fault: "client";
2291
2300
  Message?: string;
2301
+
2302
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
2292
2303
  }
2293
2304
 
2294
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
2295
- name: "TooManyRequestsException";
2296
- $fault: "client";
2305
+ export declare class TooManyRequestsException extends __BaseException {
2306
+ readonly name: "TooManyRequestsException";
2307
+ readonly $fault: "client";
2297
2308
  Message?: string;
2309
+
2310
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
2298
2311
  }
2299
2312
  export interface CancelJobRequest {
2300
2313
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediaconvert",
3
3
  "description": "AWS SDK for JavaScript Mediaconvert 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",