@aws-sdk/client-mediapackage 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.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/MediaPackageServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +87 -2
- package/dist-cjs/protocols/Aws_restJson1.js +226 -816
- package/dist-es/index.js +1 -0
- package/dist-es/models/MediaPackageServiceException.js +12 -0
- package/dist-es/models/models_0.js +80 -1
- package/dist-es/protocols/Aws_restJson1.js +451 -878
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/MediaPackageServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +44 -19
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/MediaPackageServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +32 -19
- package/package.json +25 -25
package/dist-types/index.d.ts
CHANGED
|
@@ -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 MediaPackage service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class MediaPackageServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { MediaPackageServiceException as __BaseException } from "./MediaPackageServiceException";
|
|
2
3
|
export declare enum __AdTriggersElement {
|
|
3
4
|
BREAK = "BREAK",
|
|
4
5
|
DISTRIBUTOR_ADVERTISEMENT = "DISTRIBUTOR_ADVERTISEMENT",
|
|
@@ -998,50 +999,74 @@ export declare namespace ConfigureLogsResponse {
|
|
|
998
999
|
/**
|
|
999
1000
|
* The client is not authorized to access the requested resource.
|
|
1000
1001
|
*/
|
|
1001
|
-
export
|
|
1002
|
-
name: "ForbiddenException";
|
|
1003
|
-
$fault: "client";
|
|
1002
|
+
export declare class ForbiddenException extends __BaseException {
|
|
1003
|
+
readonly name: "ForbiddenException";
|
|
1004
|
+
readonly $fault: "client";
|
|
1004
1005
|
Message?: string;
|
|
1006
|
+
/**
|
|
1007
|
+
* @internal
|
|
1008
|
+
*/
|
|
1009
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
1005
1010
|
}
|
|
1006
1011
|
/**
|
|
1007
1012
|
* An unexpected error occurred.
|
|
1008
1013
|
*/
|
|
1009
|
-
export
|
|
1010
|
-
name: "InternalServerErrorException";
|
|
1011
|
-
$fault: "server";
|
|
1014
|
+
export declare class InternalServerErrorException extends __BaseException {
|
|
1015
|
+
readonly name: "InternalServerErrorException";
|
|
1016
|
+
readonly $fault: "server";
|
|
1012
1017
|
Message?: string;
|
|
1018
|
+
/**
|
|
1019
|
+
* @internal
|
|
1020
|
+
*/
|
|
1021
|
+
constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
|
|
1013
1022
|
}
|
|
1014
1023
|
/**
|
|
1015
1024
|
* The requested resource does not exist.
|
|
1016
1025
|
*/
|
|
1017
|
-
export
|
|
1018
|
-
name: "NotFoundException";
|
|
1019
|
-
$fault: "client";
|
|
1026
|
+
export declare class NotFoundException extends __BaseException {
|
|
1027
|
+
readonly name: "NotFoundException";
|
|
1028
|
+
readonly $fault: "client";
|
|
1020
1029
|
Message?: string;
|
|
1030
|
+
/**
|
|
1031
|
+
* @internal
|
|
1032
|
+
*/
|
|
1033
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
1021
1034
|
}
|
|
1022
1035
|
/**
|
|
1023
1036
|
* An unexpected error occurred.
|
|
1024
1037
|
*/
|
|
1025
|
-
export
|
|
1026
|
-
name: "ServiceUnavailableException";
|
|
1027
|
-
$fault: "server";
|
|
1038
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
1039
|
+
readonly name: "ServiceUnavailableException";
|
|
1040
|
+
readonly $fault: "server";
|
|
1028
1041
|
Message?: string;
|
|
1042
|
+
/**
|
|
1043
|
+
* @internal
|
|
1044
|
+
*/
|
|
1045
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
1029
1046
|
}
|
|
1030
1047
|
/**
|
|
1031
1048
|
* The client has exceeded their resource or throttling limits.
|
|
1032
1049
|
*/
|
|
1033
|
-
export
|
|
1034
|
-
name: "TooManyRequestsException";
|
|
1035
|
-
$fault: "client";
|
|
1050
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
1051
|
+
readonly name: "TooManyRequestsException";
|
|
1052
|
+
readonly $fault: "client";
|
|
1036
1053
|
Message?: string;
|
|
1054
|
+
/**
|
|
1055
|
+
* @internal
|
|
1056
|
+
*/
|
|
1057
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
1037
1058
|
}
|
|
1038
1059
|
/**
|
|
1039
1060
|
* The parameters sent in the request are not valid.
|
|
1040
1061
|
*/
|
|
1041
|
-
export
|
|
1042
|
-
name: "UnprocessableEntityException";
|
|
1043
|
-
$fault: "client";
|
|
1062
|
+
export declare class UnprocessableEntityException extends __BaseException {
|
|
1063
|
+
readonly name: "UnprocessableEntityException";
|
|
1064
|
+
readonly $fault: "client";
|
|
1044
1065
|
Message?: string;
|
|
1066
|
+
/**
|
|
1067
|
+
* @internal
|
|
1068
|
+
*/
|
|
1069
|
+
constructor(opts: __ExceptionOptionType<UnprocessableEntityException, __BaseException>);
|
|
1045
1070
|
}
|
|
1046
1071
|
/**
|
|
1047
1072
|
* A new Channel configuration.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class MediaPackageServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { MediaPackageServiceException as __BaseException } from "./MediaPackageServiceException";
|
|
2
3
|
export declare enum __AdTriggersElement {
|
|
3
4
|
BREAK = "BREAK",
|
|
4
5
|
DISTRIBUTOR_ADVERTISEMENT = "DISTRIBUTOR_ADVERTISEMENT",
|
|
@@ -520,40 +521,52 @@ export declare namespace ConfigureLogsResponse {
|
|
|
520
521
|
const filterSensitiveLog: (obj: ConfigureLogsResponse) => any;
|
|
521
522
|
}
|
|
522
523
|
|
|
523
|
-
export
|
|
524
|
-
name: "ForbiddenException";
|
|
525
|
-
$fault: "client";
|
|
524
|
+
export declare class ForbiddenException extends __BaseException {
|
|
525
|
+
readonly name: "ForbiddenException";
|
|
526
|
+
readonly $fault: "client";
|
|
526
527
|
Message?: string;
|
|
528
|
+
|
|
529
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
527
530
|
}
|
|
528
531
|
|
|
529
|
-
export
|
|
530
|
-
name: "InternalServerErrorException";
|
|
531
|
-
$fault: "server";
|
|
532
|
+
export declare class InternalServerErrorException extends __BaseException {
|
|
533
|
+
readonly name: "InternalServerErrorException";
|
|
534
|
+
readonly $fault: "server";
|
|
532
535
|
Message?: string;
|
|
536
|
+
|
|
537
|
+
constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
|
|
533
538
|
}
|
|
534
539
|
|
|
535
|
-
export
|
|
536
|
-
name: "NotFoundException";
|
|
537
|
-
$fault: "client";
|
|
540
|
+
export declare class NotFoundException extends __BaseException {
|
|
541
|
+
readonly name: "NotFoundException";
|
|
542
|
+
readonly $fault: "client";
|
|
538
543
|
Message?: string;
|
|
544
|
+
|
|
545
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
539
546
|
}
|
|
540
547
|
|
|
541
|
-
export
|
|
542
|
-
name: "ServiceUnavailableException";
|
|
543
|
-
$fault: "server";
|
|
548
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
549
|
+
readonly name: "ServiceUnavailableException";
|
|
550
|
+
readonly $fault: "server";
|
|
544
551
|
Message?: string;
|
|
552
|
+
|
|
553
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
545
554
|
}
|
|
546
555
|
|
|
547
|
-
export
|
|
548
|
-
name: "TooManyRequestsException";
|
|
549
|
-
$fault: "client";
|
|
556
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
557
|
+
readonly name: "TooManyRequestsException";
|
|
558
|
+
readonly $fault: "client";
|
|
550
559
|
Message?: string;
|
|
560
|
+
|
|
561
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
551
562
|
}
|
|
552
563
|
|
|
553
|
-
export
|
|
554
|
-
name: "UnprocessableEntityException";
|
|
555
|
-
$fault: "client";
|
|
564
|
+
export declare class UnprocessableEntityException extends __BaseException {
|
|
565
|
+
readonly name: "UnprocessableEntityException";
|
|
566
|
+
readonly $fault: "client";
|
|
556
567
|
Message?: string;
|
|
568
|
+
|
|
569
|
+
constructor(opts: __ExceptionOptionType<UnprocessableEntityException, __BaseException>);
|
|
557
570
|
}
|
|
558
571
|
|
|
559
572
|
export interface CreateChannelRequest {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediapackage",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediapackage Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
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.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
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"
|