@aws-sdk/client-kinesis-video-media 3.489.0 → 3.495.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/KinesisVideoMedia.js +1 -13
- package/dist-cjs/KinesisVideoMediaClient.js +1 -43
- package/dist-cjs/commands/GetMediaCommand.js +1 -29
- package/dist-cjs/commands/index.js +1 -4
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +516 -10
- package/dist-cjs/models/KinesisVideoMediaServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -100
- package/dist-cjs/protocols/Aws_restJson1.js +1 -212
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +41 -41
|
@@ -1,13 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.KinesisVideoMedia = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
const GetMediaCommand_1 = require("./commands/GetMediaCommand");
|
|
6
|
-
const KinesisVideoMediaClient_1 = require("./KinesisVideoMediaClient");
|
|
7
|
-
const commands = {
|
|
8
|
-
GetMediaCommand: GetMediaCommand_1.GetMediaCommand,
|
|
9
|
-
};
|
|
10
|
-
class KinesisVideoMedia extends KinesisVideoMediaClient_1.KinesisVideoMediaClient {
|
|
11
|
-
}
|
|
12
|
-
exports.KinesisVideoMedia = KinesisVideoMedia;
|
|
13
|
-
(0, smithy_client_1.createAggregatedClient)(commands, KinesisVideoMedia);
|
|
1
|
+
module.exports = require("./index.js");
|
|
@@ -1,43 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.KinesisVideoMediaClient = exports.__Client = void 0;
|
|
4
|
-
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
5
|
-
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
6
|
-
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
7
|
-
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
8
|
-
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
9
|
-
const config_resolver_1 = require("@smithy/config-resolver");
|
|
10
|
-
const middleware_content_length_1 = require("@smithy/middleware-content-length");
|
|
11
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
12
|
-
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
13
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
|
-
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
15
|
-
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
16
|
-
const runtimeConfig_1 = require("./runtimeConfig");
|
|
17
|
-
const runtimeExtensions_1 = require("./runtimeExtensions");
|
|
18
|
-
class KinesisVideoMediaClient extends smithy_client_1.Client {
|
|
19
|
-
constructor(...[configuration]) {
|
|
20
|
-
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
|
21
|
-
const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
|
|
22
|
-
const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1);
|
|
23
|
-
const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2);
|
|
24
|
-
const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3);
|
|
25
|
-
const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
|
|
26
|
-
const _config_6 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_5);
|
|
27
|
-
const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6);
|
|
28
|
-
const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
|
|
29
|
-
super(_config_8);
|
|
30
|
-
this.config = _config_8;
|
|
31
|
-
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
32
|
-
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
33
|
-
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
34
|
-
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
35
|
-
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
36
|
-
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
37
|
-
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
38
|
-
}
|
|
39
|
-
destroy() {
|
|
40
|
-
super.destroy();
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
exports.KinesisVideoMediaClient = KinesisVideoMediaClient;
|
|
1
|
+
module.exports = require("./index.js");
|
|
@@ -1,29 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetMediaCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const models_0_1 = require("../models/models_0");
|
|
10
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class GetMediaCommand extends smithy_client_1.Command
|
|
12
|
-
.classBuilder()
|
|
13
|
-
.ep({
|
|
14
|
-
...EndpointParameters_1.commonParams,
|
|
15
|
-
})
|
|
16
|
-
.m(function (Command, cs, config, o) {
|
|
17
|
-
return [
|
|
18
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
-
];
|
|
21
|
-
})
|
|
22
|
-
.s("AWSAcuityInletService", "GetMedia", {})
|
|
23
|
-
.n("KinesisVideoMediaClient", "GetMediaCommand")
|
|
24
|
-
.f(void 0, models_0_1.GetMediaOutputFilterSensitiveLog)
|
|
25
|
-
.ser(Aws_restJson1_1.se_GetMediaCommand)
|
|
26
|
-
.de(Aws_restJson1_1.de_GetMediaCommand)
|
|
27
|
-
.build() {
|
|
28
|
-
}
|
|
29
|
-
exports.GetMediaCommand = GetMediaCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,18 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
|
-
const resolveClientEndpointParameters = (options) => {
|
|
5
|
-
return {
|
|
6
|
-
...options,
|
|
7
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
8
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
9
|
-
defaultSigningName: "kinesisvideo",
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
-
exports.commonParams = {
|
|
14
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
-
Region: { type: "builtInParams", name: "region" },
|
|
17
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
-
};
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
module.exports = require("./index.js");
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,11 +1,517 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
$Command: () => import_smithy_client.Command,
|
|
25
|
+
ClientLimitExceededException: () => ClientLimitExceededException,
|
|
26
|
+
ConnectionLimitExceededException: () => ConnectionLimitExceededException,
|
|
27
|
+
GetMediaCommand: () => GetMediaCommand,
|
|
28
|
+
GetMediaOutputFilterSensitiveLog: () => GetMediaOutputFilterSensitiveLog,
|
|
29
|
+
InvalidArgumentException: () => InvalidArgumentException,
|
|
30
|
+
InvalidEndpointException: () => InvalidEndpointException,
|
|
31
|
+
KinesisVideoMedia: () => KinesisVideoMedia,
|
|
32
|
+
KinesisVideoMediaClient: () => KinesisVideoMediaClient,
|
|
33
|
+
KinesisVideoMediaServiceException: () => KinesisVideoMediaServiceException,
|
|
34
|
+
NotAuthorizedException: () => NotAuthorizedException,
|
|
35
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
36
|
+
StartSelectorType: () => StartSelectorType,
|
|
37
|
+
__Client: () => import_smithy_client.Client,
|
|
38
|
+
__MetadataBearer: () => import_types.MetadataBearer
|
|
39
|
+
});
|
|
40
|
+
module.exports = __toCommonJS(src_exports);
|
|
41
|
+
|
|
42
|
+
// src/KinesisVideoMediaClient.ts
|
|
43
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
44
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
45
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
46
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
47
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
48
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
49
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
50
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
51
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
// src/endpoint/EndpointParameters.ts
|
|
55
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
56
|
+
return {
|
|
57
|
+
...options,
|
|
58
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
59
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
60
|
+
defaultSigningName: "kinesisvideo"
|
|
61
|
+
};
|
|
62
|
+
}, "resolveClientEndpointParameters");
|
|
63
|
+
var commonParams = {
|
|
64
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
65
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
66
|
+
Region: { type: "builtInParams", name: "region" },
|
|
67
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
// src/KinesisVideoMediaClient.ts
|
|
71
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
72
|
+
|
|
73
|
+
// src/runtimeExtensions.ts
|
|
74
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
75
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
76
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
77
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
78
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
79
|
+
const extensionConfiguration = {
|
|
80
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
81
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
82
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
83
|
+
};
|
|
84
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
85
|
+
return {
|
|
86
|
+
...runtimeConfig,
|
|
87
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
88
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
89
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
90
|
+
};
|
|
91
|
+
}, "resolveRuntimeExtensions");
|
|
92
|
+
|
|
93
|
+
// src/KinesisVideoMediaClient.ts
|
|
94
|
+
var _KinesisVideoMediaClient = class _KinesisVideoMediaClient extends import_smithy_client.Client {
|
|
95
|
+
constructor(...[configuration]) {
|
|
96
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
97
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
98
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
99
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
100
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
101
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
102
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
103
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
104
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
105
|
+
super(_config_8);
|
|
106
|
+
this.config = _config_8;
|
|
107
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
108
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
109
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
110
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
111
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
112
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
113
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
117
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
118
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
119
|
+
*/
|
|
120
|
+
destroy() {
|
|
121
|
+
super.destroy();
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
__name(_KinesisVideoMediaClient, "KinesisVideoMediaClient");
|
|
125
|
+
var KinesisVideoMediaClient = _KinesisVideoMediaClient;
|
|
126
|
+
|
|
127
|
+
// src/KinesisVideoMedia.ts
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
// src/commands/GetMediaCommand.ts
|
|
131
|
+
|
|
132
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
133
|
+
|
|
134
|
+
var import_types = require("@smithy/types");
|
|
135
|
+
|
|
136
|
+
// src/models/KinesisVideoMediaServiceException.ts
|
|
137
|
+
|
|
138
|
+
var _KinesisVideoMediaServiceException = class _KinesisVideoMediaServiceException extends import_smithy_client.ServiceException {
|
|
139
|
+
/**
|
|
140
|
+
* @internal
|
|
141
|
+
*/
|
|
142
|
+
constructor(options) {
|
|
143
|
+
super(options);
|
|
144
|
+
Object.setPrototypeOf(this, _KinesisVideoMediaServiceException.prototype);
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
__name(_KinesisVideoMediaServiceException, "KinesisVideoMediaServiceException");
|
|
148
|
+
var KinesisVideoMediaServiceException = _KinesisVideoMediaServiceException;
|
|
149
|
+
|
|
150
|
+
// src/models/models_0.ts
|
|
151
|
+
var _ClientLimitExceededException = class _ClientLimitExceededException extends KinesisVideoMediaServiceException {
|
|
152
|
+
/**
|
|
153
|
+
* @internal
|
|
154
|
+
*/
|
|
155
|
+
constructor(opts) {
|
|
156
|
+
super({
|
|
157
|
+
name: "ClientLimitExceededException",
|
|
158
|
+
$fault: "client",
|
|
159
|
+
...opts
|
|
160
|
+
});
|
|
161
|
+
this.name = "ClientLimitExceededException";
|
|
162
|
+
this.$fault = "client";
|
|
163
|
+
Object.setPrototypeOf(this, _ClientLimitExceededException.prototype);
|
|
164
|
+
this.Message = opts.Message;
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
__name(_ClientLimitExceededException, "ClientLimitExceededException");
|
|
168
|
+
var ClientLimitExceededException = _ClientLimitExceededException;
|
|
169
|
+
var _ConnectionLimitExceededException = class _ConnectionLimitExceededException extends KinesisVideoMediaServiceException {
|
|
170
|
+
/**
|
|
171
|
+
* @internal
|
|
172
|
+
*/
|
|
173
|
+
constructor(opts) {
|
|
174
|
+
super({
|
|
175
|
+
name: "ConnectionLimitExceededException",
|
|
176
|
+
$fault: "client",
|
|
177
|
+
...opts
|
|
178
|
+
});
|
|
179
|
+
this.name = "ConnectionLimitExceededException";
|
|
180
|
+
this.$fault = "client";
|
|
181
|
+
Object.setPrototypeOf(this, _ConnectionLimitExceededException.prototype);
|
|
182
|
+
this.Message = opts.Message;
|
|
183
|
+
}
|
|
184
|
+
};
|
|
185
|
+
__name(_ConnectionLimitExceededException, "ConnectionLimitExceededException");
|
|
186
|
+
var ConnectionLimitExceededException = _ConnectionLimitExceededException;
|
|
187
|
+
var StartSelectorType = {
|
|
188
|
+
CONTINUATION_TOKEN: "CONTINUATION_TOKEN",
|
|
189
|
+
EARLIEST: "EARLIEST",
|
|
190
|
+
FRAGMENT_NUMBER: "FRAGMENT_NUMBER",
|
|
191
|
+
NOW: "NOW",
|
|
192
|
+
PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
|
|
193
|
+
SERVER_TIMESTAMP: "SERVER_TIMESTAMP"
|
|
194
|
+
};
|
|
195
|
+
var _InvalidArgumentException = class _InvalidArgumentException extends KinesisVideoMediaServiceException {
|
|
196
|
+
/**
|
|
197
|
+
* @internal
|
|
198
|
+
*/
|
|
199
|
+
constructor(opts) {
|
|
200
|
+
super({
|
|
201
|
+
name: "InvalidArgumentException",
|
|
202
|
+
$fault: "client",
|
|
203
|
+
...opts
|
|
204
|
+
});
|
|
205
|
+
this.name = "InvalidArgumentException";
|
|
206
|
+
this.$fault = "client";
|
|
207
|
+
Object.setPrototypeOf(this, _InvalidArgumentException.prototype);
|
|
208
|
+
this.Message = opts.Message;
|
|
209
|
+
}
|
|
210
|
+
};
|
|
211
|
+
__name(_InvalidArgumentException, "InvalidArgumentException");
|
|
212
|
+
var InvalidArgumentException = _InvalidArgumentException;
|
|
213
|
+
var _InvalidEndpointException = class _InvalidEndpointException extends KinesisVideoMediaServiceException {
|
|
214
|
+
/**
|
|
215
|
+
* @internal
|
|
216
|
+
*/
|
|
217
|
+
constructor(opts) {
|
|
218
|
+
super({
|
|
219
|
+
name: "InvalidEndpointException",
|
|
220
|
+
$fault: "client",
|
|
221
|
+
...opts
|
|
222
|
+
});
|
|
223
|
+
this.name = "InvalidEndpointException";
|
|
224
|
+
this.$fault = "client";
|
|
225
|
+
Object.setPrototypeOf(this, _InvalidEndpointException.prototype);
|
|
226
|
+
this.Message = opts.Message;
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
__name(_InvalidEndpointException, "InvalidEndpointException");
|
|
230
|
+
var InvalidEndpointException = _InvalidEndpointException;
|
|
231
|
+
var _NotAuthorizedException = class _NotAuthorizedException extends KinesisVideoMediaServiceException {
|
|
232
|
+
/**
|
|
233
|
+
* @internal
|
|
234
|
+
*/
|
|
235
|
+
constructor(opts) {
|
|
236
|
+
super({
|
|
237
|
+
name: "NotAuthorizedException",
|
|
238
|
+
$fault: "client",
|
|
239
|
+
...opts
|
|
240
|
+
});
|
|
241
|
+
this.name = "NotAuthorizedException";
|
|
242
|
+
this.$fault = "client";
|
|
243
|
+
Object.setPrototypeOf(this, _NotAuthorizedException.prototype);
|
|
244
|
+
this.Message = opts.Message;
|
|
245
|
+
}
|
|
246
|
+
};
|
|
247
|
+
__name(_NotAuthorizedException, "NotAuthorizedException");
|
|
248
|
+
var NotAuthorizedException = _NotAuthorizedException;
|
|
249
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends KinesisVideoMediaServiceException {
|
|
250
|
+
/**
|
|
251
|
+
* @internal
|
|
252
|
+
*/
|
|
253
|
+
constructor(opts) {
|
|
254
|
+
super({
|
|
255
|
+
name: "ResourceNotFoundException",
|
|
256
|
+
$fault: "client",
|
|
257
|
+
...opts
|
|
258
|
+
});
|
|
259
|
+
this.name = "ResourceNotFoundException";
|
|
260
|
+
this.$fault = "client";
|
|
261
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
262
|
+
this.Message = opts.Message;
|
|
263
|
+
}
|
|
264
|
+
};
|
|
265
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
266
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
267
|
+
var GetMediaOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
268
|
+
...obj
|
|
269
|
+
}), "GetMediaOutputFilterSensitiveLog");
|
|
270
|
+
|
|
271
|
+
// src/protocols/Aws_restJson1.ts
|
|
272
|
+
var import_core = require("@smithy/core");
|
|
273
|
+
|
|
274
|
+
var se_GetMediaCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
275
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
276
|
+
const headers = {
|
|
277
|
+
"content-type": "application/json"
|
|
278
|
+
};
|
|
279
|
+
b.bp("/getMedia");
|
|
280
|
+
let body;
|
|
281
|
+
body = JSON.stringify(
|
|
282
|
+
(0, import_smithy_client.take)(input, {
|
|
283
|
+
StartSelector: (_) => se_StartSelector(_, context),
|
|
284
|
+
StreamARN: [],
|
|
285
|
+
StreamName: []
|
|
286
|
+
})
|
|
287
|
+
);
|
|
288
|
+
b.m("POST").h(headers).b(body);
|
|
289
|
+
return b.build();
|
|
290
|
+
}, "se_GetMediaCommand");
|
|
291
|
+
var de_GetMediaCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
292
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
293
|
+
return de_GetMediaCommandError(output, context);
|
|
294
|
+
}
|
|
295
|
+
const contents = (0, import_smithy_client.map)({
|
|
296
|
+
$metadata: deserializeMetadata(output),
|
|
297
|
+
[_CT]: [, output.headers[_ct]]
|
|
298
|
+
});
|
|
299
|
+
const data = output.body;
|
|
300
|
+
context.sdkStreamMixin(data);
|
|
301
|
+
contents.Payload = data;
|
|
302
|
+
return contents;
|
|
303
|
+
}, "de_GetMediaCommand");
|
|
304
|
+
var de_GetMediaCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
305
|
+
const parsedOutput = {
|
|
306
|
+
...output,
|
|
307
|
+
body: await parseErrorBody(output.body, context)
|
|
308
|
+
};
|
|
309
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
310
|
+
switch (errorCode) {
|
|
311
|
+
case "ClientLimitExceededException":
|
|
312
|
+
case "com.amazonaws.kinesisvideomedia#ClientLimitExceededException":
|
|
313
|
+
throw await de_ClientLimitExceededExceptionRes(parsedOutput, context);
|
|
314
|
+
case "ConnectionLimitExceededException":
|
|
315
|
+
case "com.amazonaws.kinesisvideomedia#ConnectionLimitExceededException":
|
|
316
|
+
throw await de_ConnectionLimitExceededExceptionRes(parsedOutput, context);
|
|
317
|
+
case "InvalidArgumentException":
|
|
318
|
+
case "com.amazonaws.kinesisvideomedia#InvalidArgumentException":
|
|
319
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
320
|
+
case "InvalidEndpointException":
|
|
321
|
+
case "com.amazonaws.kinesisvideomedia#InvalidEndpointException":
|
|
322
|
+
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
323
|
+
case "NotAuthorizedException":
|
|
324
|
+
case "com.amazonaws.kinesisvideomedia#NotAuthorizedException":
|
|
325
|
+
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
326
|
+
case "ResourceNotFoundException":
|
|
327
|
+
case "com.amazonaws.kinesisvideomedia#ResourceNotFoundException":
|
|
328
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
329
|
+
default:
|
|
330
|
+
const parsedBody = parsedOutput.body;
|
|
331
|
+
return throwDefaultError({
|
|
332
|
+
output,
|
|
333
|
+
parsedBody,
|
|
334
|
+
errorCode
|
|
335
|
+
});
|
|
336
|
+
}
|
|
337
|
+
}, "de_GetMediaCommandError");
|
|
338
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(KinesisVideoMediaServiceException);
|
|
339
|
+
var de_ClientLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
340
|
+
const contents = (0, import_smithy_client.map)({});
|
|
341
|
+
const data = parsedOutput.body;
|
|
342
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
343
|
+
Message: import_smithy_client.expectString
|
|
344
|
+
});
|
|
345
|
+
Object.assign(contents, doc);
|
|
346
|
+
const exception = new ClientLimitExceededException({
|
|
347
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
348
|
+
...contents
|
|
349
|
+
});
|
|
350
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
351
|
+
}, "de_ClientLimitExceededExceptionRes");
|
|
352
|
+
var de_ConnectionLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
353
|
+
const contents = (0, import_smithy_client.map)({});
|
|
354
|
+
const data = parsedOutput.body;
|
|
355
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
356
|
+
Message: import_smithy_client.expectString
|
|
357
|
+
});
|
|
358
|
+
Object.assign(contents, doc);
|
|
359
|
+
const exception = new ConnectionLimitExceededException({
|
|
360
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
361
|
+
...contents
|
|
362
|
+
});
|
|
363
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
364
|
+
}, "de_ConnectionLimitExceededExceptionRes");
|
|
365
|
+
var de_InvalidArgumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
366
|
+
const contents = (0, import_smithy_client.map)({});
|
|
367
|
+
const data = parsedOutput.body;
|
|
368
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
369
|
+
Message: import_smithy_client.expectString
|
|
370
|
+
});
|
|
371
|
+
Object.assign(contents, doc);
|
|
372
|
+
const exception = new InvalidArgumentException({
|
|
373
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
374
|
+
...contents
|
|
375
|
+
});
|
|
376
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
377
|
+
}, "de_InvalidArgumentExceptionRes");
|
|
378
|
+
var de_InvalidEndpointExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
379
|
+
const contents = (0, import_smithy_client.map)({});
|
|
380
|
+
const data = parsedOutput.body;
|
|
381
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
382
|
+
Message: import_smithy_client.expectString
|
|
383
|
+
});
|
|
384
|
+
Object.assign(contents, doc);
|
|
385
|
+
const exception = new InvalidEndpointException({
|
|
386
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
387
|
+
...contents
|
|
388
|
+
});
|
|
389
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
390
|
+
}, "de_InvalidEndpointExceptionRes");
|
|
391
|
+
var de_NotAuthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
392
|
+
const contents = (0, import_smithy_client.map)({});
|
|
393
|
+
const data = parsedOutput.body;
|
|
394
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
395
|
+
Message: import_smithy_client.expectString
|
|
396
|
+
});
|
|
397
|
+
Object.assign(contents, doc);
|
|
398
|
+
const exception = new NotAuthorizedException({
|
|
399
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
400
|
+
...contents
|
|
401
|
+
});
|
|
402
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
403
|
+
}, "de_NotAuthorizedExceptionRes");
|
|
404
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
405
|
+
const contents = (0, import_smithy_client.map)({});
|
|
406
|
+
const data = parsedOutput.body;
|
|
407
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
408
|
+
Message: import_smithy_client.expectString
|
|
409
|
+
});
|
|
410
|
+
Object.assign(contents, doc);
|
|
411
|
+
const exception = new ResourceNotFoundException({
|
|
412
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
413
|
+
...contents
|
|
414
|
+
});
|
|
415
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
416
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
417
|
+
var se_StartSelector = /* @__PURE__ */ __name((input, context) => {
|
|
418
|
+
return (0, import_smithy_client.take)(input, {
|
|
419
|
+
AfterFragmentNumber: [],
|
|
420
|
+
ContinuationToken: [],
|
|
421
|
+
StartSelectorType: [],
|
|
422
|
+
StartTimestamp: (_) => Math.round(_.getTime() / 1e3)
|
|
423
|
+
});
|
|
424
|
+
}, "se_StartSelector");
|
|
425
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
426
|
+
httpStatusCode: output.statusCode,
|
|
427
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
428
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
429
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
430
|
+
}), "deserializeMetadata");
|
|
431
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
432
|
+
var _CT = "ContentType";
|
|
433
|
+
var _ct = "content-type";
|
|
434
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
435
|
+
if (encoded.length) {
|
|
436
|
+
return JSON.parse(encoded);
|
|
437
|
+
}
|
|
438
|
+
return {};
|
|
439
|
+
}), "parseBody");
|
|
440
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
441
|
+
const value = await parseBody(errorBody, context);
|
|
442
|
+
value.message = value.message ?? value.Message;
|
|
443
|
+
return value;
|
|
444
|
+
}, "parseErrorBody");
|
|
445
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
446
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
447
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
448
|
+
let cleanValue = rawValue;
|
|
449
|
+
if (typeof cleanValue === "number") {
|
|
450
|
+
cleanValue = cleanValue.toString();
|
|
451
|
+
}
|
|
452
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
453
|
+
cleanValue = cleanValue.split(",")[0];
|
|
454
|
+
}
|
|
455
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
456
|
+
cleanValue = cleanValue.split(":")[0];
|
|
457
|
+
}
|
|
458
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
459
|
+
cleanValue = cleanValue.split("#")[1];
|
|
460
|
+
}
|
|
461
|
+
return cleanValue;
|
|
462
|
+
}, "sanitizeErrorCode");
|
|
463
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
464
|
+
if (headerKey !== void 0) {
|
|
465
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
466
|
+
}
|
|
467
|
+
if (data.code !== void 0) {
|
|
468
|
+
return sanitizeErrorCode(data.code);
|
|
469
|
+
}
|
|
470
|
+
if (data["__type"] !== void 0) {
|
|
471
|
+
return sanitizeErrorCode(data["__type"]);
|
|
472
|
+
}
|
|
473
|
+
}, "loadRestJsonErrorCode");
|
|
474
|
+
|
|
475
|
+
// src/commands/GetMediaCommand.ts
|
|
476
|
+
var _GetMediaCommand = class _GetMediaCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
477
|
+
...commonParams
|
|
478
|
+
}).m(function(Command, cs, config, o) {
|
|
479
|
+
return [
|
|
480
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
481
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
482
|
+
];
|
|
483
|
+
}).s("AWSAcuityInletService", "GetMedia", {}).n("KinesisVideoMediaClient", "GetMediaCommand").f(void 0, GetMediaOutputFilterSensitiveLog).ser(se_GetMediaCommand).de(de_GetMediaCommand).build() {
|
|
484
|
+
};
|
|
485
|
+
__name(_GetMediaCommand, "GetMediaCommand");
|
|
486
|
+
var GetMediaCommand = _GetMediaCommand;
|
|
487
|
+
|
|
488
|
+
// src/KinesisVideoMedia.ts
|
|
489
|
+
var commands = {
|
|
490
|
+
GetMediaCommand
|
|
491
|
+
};
|
|
492
|
+
var _KinesisVideoMedia = class _KinesisVideoMedia extends KinesisVideoMediaClient {
|
|
493
|
+
};
|
|
494
|
+
__name(_KinesisVideoMedia, "KinesisVideoMedia");
|
|
495
|
+
var KinesisVideoMedia = _KinesisVideoMedia;
|
|
496
|
+
(0, import_smithy_client.createAggregatedClient)(commands, KinesisVideoMedia);
|
|
497
|
+
|
|
498
|
+
// src/index.ts
|
|
499
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
500
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
501
|
+
0 && (module.exports = {
|
|
502
|
+
$Command,
|
|
503
|
+
ClientLimitExceededException,
|
|
504
|
+
ConnectionLimitExceededException,
|
|
505
|
+
GetMediaCommand,
|
|
506
|
+
GetMediaOutputFilterSensitiveLog,
|
|
507
|
+
InvalidArgumentException,
|
|
508
|
+
InvalidEndpointException,
|
|
509
|
+
KinesisVideoMedia,
|
|
510
|
+
KinesisVideoMediaClient,
|
|
511
|
+
KinesisVideoMediaServiceException,
|
|
512
|
+
NotAuthorizedException,
|
|
513
|
+
ResourceNotFoundException,
|
|
514
|
+
StartSelectorType,
|
|
515
|
+
__Client,
|
|
516
|
+
__MetadataBearer
|
|
517
|
+
});
|
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.KinesisVideoMediaServiceException = 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 KinesisVideoMediaServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, KinesisVideoMediaServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.KinesisVideoMediaServiceException = KinesisVideoMediaServiceException;
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,100 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetMediaOutputFilterSensitiveLog = exports.ResourceNotFoundException = exports.NotAuthorizedException = exports.InvalidEndpointException = exports.InvalidArgumentException = exports.StartSelectorType = exports.ConnectionLimitExceededException = exports.ClientLimitExceededException = void 0;
|
|
4
|
-
const KinesisVideoMediaServiceException_1 = require("./KinesisVideoMediaServiceException");
|
|
5
|
-
class ClientLimitExceededException extends KinesisVideoMediaServiceException_1.KinesisVideoMediaServiceException {
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "ClientLimitExceededException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
this.name = "ClientLimitExceededException";
|
|
13
|
-
this.$fault = "client";
|
|
14
|
-
Object.setPrototypeOf(this, ClientLimitExceededException.prototype);
|
|
15
|
-
this.Message = opts.Message;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
exports.ClientLimitExceededException = ClientLimitExceededException;
|
|
19
|
-
class ConnectionLimitExceededException extends KinesisVideoMediaServiceException_1.KinesisVideoMediaServiceException {
|
|
20
|
-
constructor(opts) {
|
|
21
|
-
super({
|
|
22
|
-
name: "ConnectionLimitExceededException",
|
|
23
|
-
$fault: "client",
|
|
24
|
-
...opts,
|
|
25
|
-
});
|
|
26
|
-
this.name = "ConnectionLimitExceededException";
|
|
27
|
-
this.$fault = "client";
|
|
28
|
-
Object.setPrototypeOf(this, ConnectionLimitExceededException.prototype);
|
|
29
|
-
this.Message = opts.Message;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
exports.ConnectionLimitExceededException = ConnectionLimitExceededException;
|
|
33
|
-
exports.StartSelectorType = {
|
|
34
|
-
CONTINUATION_TOKEN: "CONTINUATION_TOKEN",
|
|
35
|
-
EARLIEST: "EARLIEST",
|
|
36
|
-
FRAGMENT_NUMBER: "FRAGMENT_NUMBER",
|
|
37
|
-
NOW: "NOW",
|
|
38
|
-
PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
|
|
39
|
-
SERVER_TIMESTAMP: "SERVER_TIMESTAMP",
|
|
40
|
-
};
|
|
41
|
-
class InvalidArgumentException extends KinesisVideoMediaServiceException_1.KinesisVideoMediaServiceException {
|
|
42
|
-
constructor(opts) {
|
|
43
|
-
super({
|
|
44
|
-
name: "InvalidArgumentException",
|
|
45
|
-
$fault: "client",
|
|
46
|
-
...opts,
|
|
47
|
-
});
|
|
48
|
-
this.name = "InvalidArgumentException";
|
|
49
|
-
this.$fault = "client";
|
|
50
|
-
Object.setPrototypeOf(this, InvalidArgumentException.prototype);
|
|
51
|
-
this.Message = opts.Message;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
exports.InvalidArgumentException = InvalidArgumentException;
|
|
55
|
-
class InvalidEndpointException extends KinesisVideoMediaServiceException_1.KinesisVideoMediaServiceException {
|
|
56
|
-
constructor(opts) {
|
|
57
|
-
super({
|
|
58
|
-
name: "InvalidEndpointException",
|
|
59
|
-
$fault: "client",
|
|
60
|
-
...opts,
|
|
61
|
-
});
|
|
62
|
-
this.name = "InvalidEndpointException";
|
|
63
|
-
this.$fault = "client";
|
|
64
|
-
Object.setPrototypeOf(this, InvalidEndpointException.prototype);
|
|
65
|
-
this.Message = opts.Message;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
exports.InvalidEndpointException = InvalidEndpointException;
|
|
69
|
-
class NotAuthorizedException extends KinesisVideoMediaServiceException_1.KinesisVideoMediaServiceException {
|
|
70
|
-
constructor(opts) {
|
|
71
|
-
super({
|
|
72
|
-
name: "NotAuthorizedException",
|
|
73
|
-
$fault: "client",
|
|
74
|
-
...opts,
|
|
75
|
-
});
|
|
76
|
-
this.name = "NotAuthorizedException";
|
|
77
|
-
this.$fault = "client";
|
|
78
|
-
Object.setPrototypeOf(this, NotAuthorizedException.prototype);
|
|
79
|
-
this.Message = opts.Message;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
exports.NotAuthorizedException = NotAuthorizedException;
|
|
83
|
-
class ResourceNotFoundException extends KinesisVideoMediaServiceException_1.KinesisVideoMediaServiceException {
|
|
84
|
-
constructor(opts) {
|
|
85
|
-
super({
|
|
86
|
-
name: "ResourceNotFoundException",
|
|
87
|
-
$fault: "client",
|
|
88
|
-
...opts,
|
|
89
|
-
});
|
|
90
|
-
this.name = "ResourceNotFoundException";
|
|
91
|
-
this.$fault = "client";
|
|
92
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
93
|
-
this.Message = opts.Message;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
97
|
-
const GetMediaOutputFilterSensitiveLog = (obj) => ({
|
|
98
|
-
...obj,
|
|
99
|
-
});
|
|
100
|
-
exports.GetMediaOutputFilterSensitiveLog = GetMediaOutputFilterSensitiveLog;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,212 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.de_GetMediaCommand = exports.se_GetMediaCommand = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
|
-
const KinesisVideoMediaServiceException_1 = require("../models/KinesisVideoMediaServiceException");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
|
-
const se_GetMediaCommand = async (input, context) => {
|
|
9
|
-
const b = (0, core_1.requestBuilder)(input, context);
|
|
10
|
-
const headers = {
|
|
11
|
-
"content-type": "application/json",
|
|
12
|
-
};
|
|
13
|
-
b.bp("/getMedia");
|
|
14
|
-
let body;
|
|
15
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
16
|
-
StartSelector: (_) => se_StartSelector(_, context),
|
|
17
|
-
StreamARN: [],
|
|
18
|
-
StreamName: [],
|
|
19
|
-
}));
|
|
20
|
-
b.m("POST").h(headers).b(body);
|
|
21
|
-
return b.build();
|
|
22
|
-
};
|
|
23
|
-
exports.se_GetMediaCommand = se_GetMediaCommand;
|
|
24
|
-
const de_GetMediaCommand = async (output, context) => {
|
|
25
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
26
|
-
return de_GetMediaCommandError(output, context);
|
|
27
|
-
}
|
|
28
|
-
const contents = (0, smithy_client_1.map)({
|
|
29
|
-
$metadata: deserializeMetadata(output),
|
|
30
|
-
[_CT]: [, output.headers[_ct]],
|
|
31
|
-
});
|
|
32
|
-
const data = output.body;
|
|
33
|
-
context.sdkStreamMixin(data);
|
|
34
|
-
contents.Payload = data;
|
|
35
|
-
return contents;
|
|
36
|
-
};
|
|
37
|
-
exports.de_GetMediaCommand = de_GetMediaCommand;
|
|
38
|
-
const de_GetMediaCommandError = async (output, context) => {
|
|
39
|
-
const parsedOutput = {
|
|
40
|
-
...output,
|
|
41
|
-
body: await parseErrorBody(output.body, context),
|
|
42
|
-
};
|
|
43
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
44
|
-
switch (errorCode) {
|
|
45
|
-
case "ClientLimitExceededException":
|
|
46
|
-
case "com.amazonaws.kinesisvideomedia#ClientLimitExceededException":
|
|
47
|
-
throw await de_ClientLimitExceededExceptionRes(parsedOutput, context);
|
|
48
|
-
case "ConnectionLimitExceededException":
|
|
49
|
-
case "com.amazonaws.kinesisvideomedia#ConnectionLimitExceededException":
|
|
50
|
-
throw await de_ConnectionLimitExceededExceptionRes(parsedOutput, context);
|
|
51
|
-
case "InvalidArgumentException":
|
|
52
|
-
case "com.amazonaws.kinesisvideomedia#InvalidArgumentException":
|
|
53
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
54
|
-
case "InvalidEndpointException":
|
|
55
|
-
case "com.amazonaws.kinesisvideomedia#InvalidEndpointException":
|
|
56
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
57
|
-
case "NotAuthorizedException":
|
|
58
|
-
case "com.amazonaws.kinesisvideomedia#NotAuthorizedException":
|
|
59
|
-
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
60
|
-
case "ResourceNotFoundException":
|
|
61
|
-
case "com.amazonaws.kinesisvideomedia#ResourceNotFoundException":
|
|
62
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
63
|
-
default:
|
|
64
|
-
const parsedBody = parsedOutput.body;
|
|
65
|
-
return throwDefaultError({
|
|
66
|
-
output,
|
|
67
|
-
parsedBody,
|
|
68
|
-
errorCode,
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
const throwDefaultError = (0, smithy_client_1.withBaseException)(KinesisVideoMediaServiceException_1.KinesisVideoMediaServiceException);
|
|
73
|
-
const de_ClientLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
74
|
-
const contents = (0, smithy_client_1.map)({});
|
|
75
|
-
const data = parsedOutput.body;
|
|
76
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
77
|
-
Message: smithy_client_1.expectString,
|
|
78
|
-
});
|
|
79
|
-
Object.assign(contents, doc);
|
|
80
|
-
const exception = new models_0_1.ClientLimitExceededException({
|
|
81
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
82
|
-
...contents,
|
|
83
|
-
});
|
|
84
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
85
|
-
};
|
|
86
|
-
const de_ConnectionLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
87
|
-
const contents = (0, smithy_client_1.map)({});
|
|
88
|
-
const data = parsedOutput.body;
|
|
89
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
90
|
-
Message: smithy_client_1.expectString,
|
|
91
|
-
});
|
|
92
|
-
Object.assign(contents, doc);
|
|
93
|
-
const exception = new models_0_1.ConnectionLimitExceededException({
|
|
94
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
95
|
-
...contents,
|
|
96
|
-
});
|
|
97
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
98
|
-
};
|
|
99
|
-
const de_InvalidArgumentExceptionRes = async (parsedOutput, context) => {
|
|
100
|
-
const contents = (0, smithy_client_1.map)({});
|
|
101
|
-
const data = parsedOutput.body;
|
|
102
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
103
|
-
Message: smithy_client_1.expectString,
|
|
104
|
-
});
|
|
105
|
-
Object.assign(contents, doc);
|
|
106
|
-
const exception = new models_0_1.InvalidArgumentException({
|
|
107
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
108
|
-
...contents,
|
|
109
|
-
});
|
|
110
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
111
|
-
};
|
|
112
|
-
const de_InvalidEndpointExceptionRes = async (parsedOutput, context) => {
|
|
113
|
-
const contents = (0, smithy_client_1.map)({});
|
|
114
|
-
const data = parsedOutput.body;
|
|
115
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
116
|
-
Message: smithy_client_1.expectString,
|
|
117
|
-
});
|
|
118
|
-
Object.assign(contents, doc);
|
|
119
|
-
const exception = new models_0_1.InvalidEndpointException({
|
|
120
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
121
|
-
...contents,
|
|
122
|
-
});
|
|
123
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
124
|
-
};
|
|
125
|
-
const de_NotAuthorizedExceptionRes = async (parsedOutput, context) => {
|
|
126
|
-
const contents = (0, smithy_client_1.map)({});
|
|
127
|
-
const data = parsedOutput.body;
|
|
128
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
129
|
-
Message: smithy_client_1.expectString,
|
|
130
|
-
});
|
|
131
|
-
Object.assign(contents, doc);
|
|
132
|
-
const exception = new models_0_1.NotAuthorizedException({
|
|
133
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
134
|
-
...contents,
|
|
135
|
-
});
|
|
136
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
137
|
-
};
|
|
138
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
139
|
-
const contents = (0, smithy_client_1.map)({});
|
|
140
|
-
const data = parsedOutput.body;
|
|
141
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
142
|
-
Message: smithy_client_1.expectString,
|
|
143
|
-
});
|
|
144
|
-
Object.assign(contents, doc);
|
|
145
|
-
const exception = new models_0_1.ResourceNotFoundException({
|
|
146
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
147
|
-
...contents,
|
|
148
|
-
});
|
|
149
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
150
|
-
};
|
|
151
|
-
const se_StartSelector = (input, context) => {
|
|
152
|
-
return (0, smithy_client_1.take)(input, {
|
|
153
|
-
AfterFragmentNumber: [],
|
|
154
|
-
ContinuationToken: [],
|
|
155
|
-
StartSelectorType: [],
|
|
156
|
-
StartTimestamp: (_) => Math.round(_.getTime() / 1000),
|
|
157
|
-
});
|
|
158
|
-
};
|
|
159
|
-
const deserializeMetadata = (output) => ({
|
|
160
|
-
httpStatusCode: output.statusCode,
|
|
161
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
162
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
163
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
164
|
-
});
|
|
165
|
-
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
166
|
-
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
167
|
-
value !== null &&
|
|
168
|
-
value !== "" &&
|
|
169
|
-
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
170
|
-
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
171
|
-
const _CT = "ContentType";
|
|
172
|
-
const _ct = "content-type";
|
|
173
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
174
|
-
if (encoded.length) {
|
|
175
|
-
return JSON.parse(encoded);
|
|
176
|
-
}
|
|
177
|
-
return {};
|
|
178
|
-
});
|
|
179
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
180
|
-
const value = await parseBody(errorBody, context);
|
|
181
|
-
value.message = value.message ?? value.Message;
|
|
182
|
-
return value;
|
|
183
|
-
};
|
|
184
|
-
const loadRestJsonErrorCode = (output, data) => {
|
|
185
|
-
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
186
|
-
const sanitizeErrorCode = (rawValue) => {
|
|
187
|
-
let cleanValue = rawValue;
|
|
188
|
-
if (typeof cleanValue === "number") {
|
|
189
|
-
cleanValue = cleanValue.toString();
|
|
190
|
-
}
|
|
191
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
192
|
-
cleanValue = cleanValue.split(",")[0];
|
|
193
|
-
}
|
|
194
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
195
|
-
cleanValue = cleanValue.split(":")[0];
|
|
196
|
-
}
|
|
197
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
198
|
-
cleanValue = cleanValue.split("#")[1];
|
|
199
|
-
}
|
|
200
|
-
return cleanValue;
|
|
201
|
-
};
|
|
202
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
203
|
-
if (headerKey !== undefined) {
|
|
204
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
205
|
-
}
|
|
206
|
-
if (data.code !== undefined) {
|
|
207
|
-
return sanitizeErrorCode(data.code);
|
|
208
|
-
}
|
|
209
|
-
if (data["__type"] !== undefined) {
|
|
210
|
-
return sanitizeErrorCode(data["__type"]);
|
|
211
|
-
}
|
|
212
|
-
};
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,22 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
-
const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
|
|
5
|
-
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
const asPartial = (t) => t;
|
|
8
|
-
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
9
|
-
const extensionConfiguration = {
|
|
10
|
-
...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
11
|
-
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
12
|
-
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
13
|
-
};
|
|
14
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
15
|
-
return {
|
|
16
|
-
...runtimeConfig,
|
|
17
|
-
...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
18
|
-
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
19
|
-
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
1
|
+
module.exports = require("./index.js");
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kinesis-video-media",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kinesis Video Media Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.495.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
-
"build:cjs": "
|
|
7
|
+
"build:cjs": "node ../../scripts/compilation/inline client-kinesis-video-media",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
@@ -20,48 +20,48 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0
|
|
37
|
-
"@smithy/core": "^1.
|
|
38
|
-
"@smithy/fetch-http-handler": "^2.
|
|
39
|
-
"@smithy/hash-node": "^2.0
|
|
40
|
-
"@smithy/invalid-dependency": "^2.0
|
|
41
|
-
"@smithy/middleware-content-length": "^2.0
|
|
42
|
-
"@smithy/middleware-endpoint": "^2.
|
|
43
|
-
"@smithy/middleware-retry": "^2.0
|
|
44
|
-
"@smithy/middleware-serde": "^2.0
|
|
45
|
-
"@smithy/middleware-stack": "^2.0
|
|
46
|
-
"@smithy/node-config-provider": "^2.
|
|
47
|
-
"@smithy/node-http-handler": "^2.
|
|
48
|
-
"@smithy/protocol-http": "^3.0
|
|
49
|
-
"@smithy/smithy-client": "^2.
|
|
50
|
-
"@smithy/types": "^2.
|
|
51
|
-
"@smithy/url-parser": "^2.0
|
|
52
|
-
"@smithy/util-base64": "^2.0
|
|
53
|
-
"@smithy/util-body-length-browser": "^2.0
|
|
54
|
-
"@smithy/util-body-length-node": "^2.
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^2.0
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^2.0
|
|
57
|
-
"@smithy/util-endpoints": "^1.0
|
|
58
|
-
"@smithy/util-retry": "^2.0
|
|
59
|
-
"@smithy/util-stream": "^2.0
|
|
60
|
-
"@smithy/util-utf8": "^2.0
|
|
23
|
+
"@aws-sdk/client-sts": "3.495.0",
|
|
24
|
+
"@aws-sdk/core": "3.495.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.495.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.495.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.495.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.495.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.495.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.495.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.495.0",
|
|
32
|
+
"@aws-sdk/types": "3.495.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.495.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.495.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.495.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.1.0",
|
|
37
|
+
"@smithy/core": "^1.3.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^2.4.0",
|
|
39
|
+
"@smithy/hash-node": "^2.1.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^2.1.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^2.1.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^2.4.0",
|
|
43
|
+
"@smithy/middleware-retry": "^2.1.0",
|
|
44
|
+
"@smithy/middleware-serde": "^2.1.0",
|
|
45
|
+
"@smithy/middleware-stack": "^2.1.0",
|
|
46
|
+
"@smithy/node-config-provider": "^2.2.0",
|
|
47
|
+
"@smithy/node-http-handler": "^2.3.0",
|
|
48
|
+
"@smithy/protocol-http": "^3.1.0",
|
|
49
|
+
"@smithy/smithy-client": "^2.3.0",
|
|
50
|
+
"@smithy/types": "^2.9.0",
|
|
51
|
+
"@smithy/url-parser": "^2.1.0",
|
|
52
|
+
"@smithy/util-base64": "^2.1.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^2.1.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^2.2.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^2.1.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^2.1.0",
|
|
57
|
+
"@smithy/util-endpoints": "^1.1.0",
|
|
58
|
+
"@smithy/util-retry": "^2.1.0",
|
|
59
|
+
"@smithy/util-stream": "^2.1.0",
|
|
60
|
+
"@smithy/util-utf8": "^2.1.0",
|
|
61
61
|
"tslib": "^2.5.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@smithy/service-client-documentation-generator": "^2.
|
|
64
|
+
"@smithy/service-client-documentation-generator": "^2.1.0",
|
|
65
65
|
"@tsconfig/node14": "1.0.3",
|
|
66
66
|
"@types/node": "^14.14.31",
|
|
67
67
|
"concurrently": "7.0.0",
|