@aws-sdk/client-medialive 3.986.0 → 3.988.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 +142 -7153
- package/dist-cjs/models/MediaLiveServiceException.js +12 -0
- package/dist-cjs/models/errors.js +141 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +6207 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +136 -130
- package/dist-types/schemas/schemas_0.d.ts +17 -10
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -10
- package/package.json +14 -14
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MediaLiveServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class MediaLiveServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, MediaLiveServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.MediaLiveServiceException = MediaLiveServiceException;
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UnprocessableEntityException = exports.TooManyRequestsException = exports.NotFoundException = exports.InternalServerErrorException = exports.GatewayTimeoutException = exports.ForbiddenException = exports.ConflictException = exports.BadRequestException = exports.BadGatewayException = void 0;
|
|
4
|
+
const MediaLiveServiceException_1 = require("./MediaLiveServiceException");
|
|
5
|
+
class BadGatewayException extends MediaLiveServiceException_1.MediaLiveServiceException {
|
|
6
|
+
name = "BadGatewayException";
|
|
7
|
+
$fault = "server";
|
|
8
|
+
Message;
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "BadGatewayException",
|
|
12
|
+
$fault: "server",
|
|
13
|
+
...opts,
|
|
14
|
+
});
|
|
15
|
+
Object.setPrototypeOf(this, BadGatewayException.prototype);
|
|
16
|
+
this.Message = opts.Message;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.BadGatewayException = BadGatewayException;
|
|
20
|
+
class BadRequestException extends MediaLiveServiceException_1.MediaLiveServiceException {
|
|
21
|
+
name = "BadRequestException";
|
|
22
|
+
$fault = "client";
|
|
23
|
+
Message;
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "BadRequestException",
|
|
27
|
+
$fault: "client",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.BadRequestException = BadRequestException;
|
|
35
|
+
class ConflictException extends MediaLiveServiceException_1.MediaLiveServiceException {
|
|
36
|
+
name = "ConflictException";
|
|
37
|
+
$fault = "client";
|
|
38
|
+
Message;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "ConflictException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
46
|
+
this.Message = opts.Message;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.ConflictException = ConflictException;
|
|
50
|
+
class ForbiddenException extends MediaLiveServiceException_1.MediaLiveServiceException {
|
|
51
|
+
name = "ForbiddenException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
Message;
|
|
54
|
+
constructor(opts) {
|
|
55
|
+
super({
|
|
56
|
+
name: "ForbiddenException",
|
|
57
|
+
$fault: "client",
|
|
58
|
+
...opts,
|
|
59
|
+
});
|
|
60
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
61
|
+
this.Message = opts.Message;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.ForbiddenException = ForbiddenException;
|
|
65
|
+
class GatewayTimeoutException extends MediaLiveServiceException_1.MediaLiveServiceException {
|
|
66
|
+
name = "GatewayTimeoutException";
|
|
67
|
+
$fault = "server";
|
|
68
|
+
Message;
|
|
69
|
+
constructor(opts) {
|
|
70
|
+
super({
|
|
71
|
+
name: "GatewayTimeoutException",
|
|
72
|
+
$fault: "server",
|
|
73
|
+
...opts,
|
|
74
|
+
});
|
|
75
|
+
Object.setPrototypeOf(this, GatewayTimeoutException.prototype);
|
|
76
|
+
this.Message = opts.Message;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.GatewayTimeoutException = GatewayTimeoutException;
|
|
80
|
+
class InternalServerErrorException extends MediaLiveServiceException_1.MediaLiveServiceException {
|
|
81
|
+
name = "InternalServerErrorException";
|
|
82
|
+
$fault = "server";
|
|
83
|
+
Message;
|
|
84
|
+
constructor(opts) {
|
|
85
|
+
super({
|
|
86
|
+
name: "InternalServerErrorException",
|
|
87
|
+
$fault: "server",
|
|
88
|
+
...opts,
|
|
89
|
+
});
|
|
90
|
+
Object.setPrototypeOf(this, InternalServerErrorException.prototype);
|
|
91
|
+
this.Message = opts.Message;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.InternalServerErrorException = InternalServerErrorException;
|
|
95
|
+
class NotFoundException extends MediaLiveServiceException_1.MediaLiveServiceException {
|
|
96
|
+
name = "NotFoundException";
|
|
97
|
+
$fault = "client";
|
|
98
|
+
Message;
|
|
99
|
+
constructor(opts) {
|
|
100
|
+
super({
|
|
101
|
+
name: "NotFoundException",
|
|
102
|
+
$fault: "client",
|
|
103
|
+
...opts,
|
|
104
|
+
});
|
|
105
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
106
|
+
this.Message = opts.Message;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.NotFoundException = NotFoundException;
|
|
110
|
+
class TooManyRequestsException extends MediaLiveServiceException_1.MediaLiveServiceException {
|
|
111
|
+
name = "TooManyRequestsException";
|
|
112
|
+
$fault = "client";
|
|
113
|
+
Message;
|
|
114
|
+
constructor(opts) {
|
|
115
|
+
super({
|
|
116
|
+
name: "TooManyRequestsException",
|
|
117
|
+
$fault: "client",
|
|
118
|
+
...opts,
|
|
119
|
+
});
|
|
120
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
121
|
+
this.Message = opts.Message;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
exports.TooManyRequestsException = TooManyRequestsException;
|
|
125
|
+
class UnprocessableEntityException extends MediaLiveServiceException_1.MediaLiveServiceException {
|
|
126
|
+
name = "UnprocessableEntityException";
|
|
127
|
+
$fault = "client";
|
|
128
|
+
Message;
|
|
129
|
+
ValidationErrors;
|
|
130
|
+
constructor(opts) {
|
|
131
|
+
super({
|
|
132
|
+
name: "UnprocessableEntityException",
|
|
133
|
+
$fault: "client",
|
|
134
|
+
...opts,
|
|
135
|
+
});
|
|
136
|
+
Object.setPrototypeOf(this, UnprocessableEntityException.prototype);
|
|
137
|
+
this.Message = opts.Message;
|
|
138
|
+
this.ValidationErrors = opts.ValidationErrors;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
exports.UnprocessableEntityException = UnprocessableEntityException;
|
|
@@ -10,6 +10,7 @@ const util_stream_1 = require("@smithy/util-stream");
|
|
|
10
10
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
11
11
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
12
12
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
13
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
13
14
|
const getRuntimeConfig = (config) => {
|
|
14
15
|
return {
|
|
15
16
|
apiVersion: "2017-10-14",
|
|
@@ -30,6 +31,7 @@ const getRuntimeConfig = (config) => {
|
|
|
30
31
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
31
32
|
protocolSettings: config?.protocolSettings ?? {
|
|
32
33
|
defaultNamespace: "com.amazonaws.medialive",
|
|
34
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
33
35
|
version: "2017-10-14",
|
|
34
36
|
serviceTarget: "MediaLive",
|
|
35
37
|
},
|