@aws-sdk/client-kinesis-video-media 3.899.0 → 3.906.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 +387 -512
- package/package.json +38 -38
package/dist-cjs/index.js
CHANGED
|
@@ -1,542 +1,417 @@
|
|
|
1
|
-
|
|
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 index_exports = {};
|
|
23
|
-
__export(index_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
|
-
});
|
|
39
|
-
module.exports = __toCommonJS(index_exports);
|
|
40
|
-
|
|
41
|
-
// src/KinesisVideoMediaClient.ts
|
|
42
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
43
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
44
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
45
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
46
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
47
|
-
var import_core = require("@smithy/core");
|
|
48
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
49
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
50
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
1
|
+
'use strict';
|
|
51
2
|
|
|
52
|
-
var
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
53
19
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
20
|
+
const resolveClientEndpointParameters = (options) => {
|
|
21
|
+
return Object.assign(options, {
|
|
22
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
23
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
24
|
+
defaultSigningName: "kinesisvideo",
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
const commonParams = {
|
|
28
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
29
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
30
|
+
Region: { type: "builtInParams", name: "region" },
|
|
31
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
67
32
|
};
|
|
68
33
|
|
|
69
|
-
|
|
70
|
-
|
|
34
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
37
|
+
let _credentials = runtimeConfig.credentials;
|
|
38
|
+
return {
|
|
39
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
40
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
41
|
+
if (index === -1) {
|
|
42
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
httpAuthSchemes() {
|
|
49
|
+
return _httpAuthSchemes;
|
|
50
|
+
},
|
|
51
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
52
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
53
|
+
},
|
|
54
|
+
httpAuthSchemeProvider() {
|
|
55
|
+
return _httpAuthSchemeProvider;
|
|
56
|
+
},
|
|
57
|
+
setCredentials(credentials) {
|
|
58
|
+
_credentials = credentials;
|
|
59
|
+
},
|
|
60
|
+
credentials() {
|
|
61
|
+
return _credentials;
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
66
|
+
return {
|
|
67
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
68
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
69
|
+
credentials: config.credentials(),
|
|
70
|
+
};
|
|
71
|
+
};
|
|
71
72
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
74
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
75
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
76
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
77
|
+
};
|
|
76
78
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
79
|
+
class KinesisVideoMediaClient extends smithyClient.Client {
|
|
80
|
+
config;
|
|
81
|
+
constructor(...[configuration]) {
|
|
82
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
83
|
+
super(_config_0);
|
|
84
|
+
this.initConfig = _config_0;
|
|
85
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
86
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
|
+
this.config = _config_8;
|
|
94
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
101
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultKinesisVideoMediaHttpAuthSchemeParametersProvider,
|
|
102
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
103
|
+
"aws.auth#sigv4": config.credentials,
|
|
104
|
+
}),
|
|
105
|
+
}));
|
|
106
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
107
|
+
}
|
|
108
|
+
destroy() {
|
|
109
|
+
super.destroy();
|
|
105
110
|
}
|
|
106
|
-
|
|
107
|
-
}, "getHttpAuthExtensionConfiguration");
|
|
108
|
-
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
109
|
-
return {
|
|
110
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
111
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
112
|
-
credentials: config.credentials()
|
|
113
|
-
};
|
|
114
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
111
|
+
}
|
|
115
112
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
123
|
-
);
|
|
124
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
125
|
-
return Object.assign(
|
|
126
|
-
runtimeConfig,
|
|
127
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
128
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
129
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
130
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
131
|
-
);
|
|
132
|
-
}, "resolveRuntimeExtensions");
|
|
113
|
+
class KinesisVideoMediaServiceException extends smithyClient.ServiceException {
|
|
114
|
+
constructor(options) {
|
|
115
|
+
super(options);
|
|
116
|
+
Object.setPrototypeOf(this, KinesisVideoMediaServiceException.prototype);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
133
119
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
);
|
|
170
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
171
|
-
}
|
|
172
|
-
/**
|
|
173
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
174
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
175
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
176
|
-
*/
|
|
177
|
-
destroy() {
|
|
178
|
-
super.destroy();
|
|
179
|
-
}
|
|
120
|
+
class ClientLimitExceededException extends KinesisVideoMediaServiceException {
|
|
121
|
+
name = "ClientLimitExceededException";
|
|
122
|
+
$fault = "client";
|
|
123
|
+
Message;
|
|
124
|
+
constructor(opts) {
|
|
125
|
+
super({
|
|
126
|
+
name: "ClientLimitExceededException",
|
|
127
|
+
$fault: "client",
|
|
128
|
+
...opts,
|
|
129
|
+
});
|
|
130
|
+
Object.setPrototypeOf(this, ClientLimitExceededException.prototype);
|
|
131
|
+
this.Message = opts.Message;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
class ConnectionLimitExceededException extends KinesisVideoMediaServiceException {
|
|
135
|
+
name = "ConnectionLimitExceededException";
|
|
136
|
+
$fault = "client";
|
|
137
|
+
Message;
|
|
138
|
+
constructor(opts) {
|
|
139
|
+
super({
|
|
140
|
+
name: "ConnectionLimitExceededException",
|
|
141
|
+
$fault: "client",
|
|
142
|
+
...opts,
|
|
143
|
+
});
|
|
144
|
+
Object.setPrototypeOf(this, ConnectionLimitExceededException.prototype);
|
|
145
|
+
this.Message = opts.Message;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
const StartSelectorType = {
|
|
149
|
+
CONTINUATION_TOKEN: "CONTINUATION_TOKEN",
|
|
150
|
+
EARLIEST: "EARLIEST",
|
|
151
|
+
FRAGMENT_NUMBER: "FRAGMENT_NUMBER",
|
|
152
|
+
NOW: "NOW",
|
|
153
|
+
PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
|
|
154
|
+
SERVER_TIMESTAMP: "SERVER_TIMESTAMP",
|
|
180
155
|
};
|
|
156
|
+
class InvalidArgumentException extends KinesisVideoMediaServiceException {
|
|
157
|
+
name = "InvalidArgumentException";
|
|
158
|
+
$fault = "client";
|
|
159
|
+
Message;
|
|
160
|
+
constructor(opts) {
|
|
161
|
+
super({
|
|
162
|
+
name: "InvalidArgumentException",
|
|
163
|
+
$fault: "client",
|
|
164
|
+
...opts,
|
|
165
|
+
});
|
|
166
|
+
Object.setPrototypeOf(this, InvalidArgumentException.prototype);
|
|
167
|
+
this.Message = opts.Message;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
class InvalidEndpointException extends KinesisVideoMediaServiceException {
|
|
171
|
+
name = "InvalidEndpointException";
|
|
172
|
+
$fault = "client";
|
|
173
|
+
Message;
|
|
174
|
+
constructor(opts) {
|
|
175
|
+
super({
|
|
176
|
+
name: "InvalidEndpointException",
|
|
177
|
+
$fault: "client",
|
|
178
|
+
...opts,
|
|
179
|
+
});
|
|
180
|
+
Object.setPrototypeOf(this, InvalidEndpointException.prototype);
|
|
181
|
+
this.Message = opts.Message;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
class NotAuthorizedException extends KinesisVideoMediaServiceException {
|
|
185
|
+
name = "NotAuthorizedException";
|
|
186
|
+
$fault = "client";
|
|
187
|
+
Message;
|
|
188
|
+
constructor(opts) {
|
|
189
|
+
super({
|
|
190
|
+
name: "NotAuthorizedException",
|
|
191
|
+
$fault: "client",
|
|
192
|
+
...opts,
|
|
193
|
+
});
|
|
194
|
+
Object.setPrototypeOf(this, NotAuthorizedException.prototype);
|
|
195
|
+
this.Message = opts.Message;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
class ResourceNotFoundException extends KinesisVideoMediaServiceException {
|
|
199
|
+
name = "ResourceNotFoundException";
|
|
200
|
+
$fault = "client";
|
|
201
|
+
Message;
|
|
202
|
+
constructor(opts) {
|
|
203
|
+
super({
|
|
204
|
+
name: "ResourceNotFoundException",
|
|
205
|
+
$fault: "client",
|
|
206
|
+
...opts,
|
|
207
|
+
});
|
|
208
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
209
|
+
this.Message = opts.Message;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
const GetMediaOutputFilterSensitiveLog = (obj) => ({
|
|
213
|
+
...obj,
|
|
214
|
+
});
|
|
181
215
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* @internal
|
|
198
|
-
*/
|
|
199
|
-
constructor(options) {
|
|
200
|
-
super(options);
|
|
201
|
-
Object.setPrototypeOf(this, _KinesisVideoMediaServiceException.prototype);
|
|
202
|
-
}
|
|
216
|
+
const se_GetMediaCommand = async (input, context) => {
|
|
217
|
+
const b = core.requestBuilder(input, context);
|
|
218
|
+
const headers = {
|
|
219
|
+
"content-type": "application/json",
|
|
220
|
+
};
|
|
221
|
+
b.bp("/getMedia");
|
|
222
|
+
let body;
|
|
223
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
224
|
+
StartSelector: (_) => se_StartSelector(_),
|
|
225
|
+
StreamARN: [],
|
|
226
|
+
StreamName: [],
|
|
227
|
+
}));
|
|
228
|
+
b.m("POST").h(headers).b(body);
|
|
229
|
+
return b.build();
|
|
203
230
|
};
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
$fault = "client";
|
|
212
|
-
Message;
|
|
213
|
-
/**
|
|
214
|
-
* @internal
|
|
215
|
-
*/
|
|
216
|
-
constructor(opts) {
|
|
217
|
-
super({
|
|
218
|
-
name: "ClientLimitExceededException",
|
|
219
|
-
$fault: "client",
|
|
220
|
-
...opts
|
|
231
|
+
const de_GetMediaCommand = async (output, context) => {
|
|
232
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
233
|
+
return de_CommandError(output, context);
|
|
234
|
+
}
|
|
235
|
+
const contents = smithyClient.map({
|
|
236
|
+
$metadata: deserializeMetadata(output),
|
|
237
|
+
[_CT]: [, output.headers[_ct]],
|
|
221
238
|
});
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
239
|
+
const data = output.body;
|
|
240
|
+
context.sdkStreamMixin(data);
|
|
241
|
+
contents.Payload = data;
|
|
242
|
+
return contents;
|
|
243
|
+
};
|
|
244
|
+
const de_CommandError = async (output, context) => {
|
|
245
|
+
const parsedOutput = {
|
|
246
|
+
...output,
|
|
247
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
248
|
+
};
|
|
249
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
250
|
+
switch (errorCode) {
|
|
251
|
+
case "ClientLimitExceededException":
|
|
252
|
+
case "com.amazonaws.kinesisvideomedia#ClientLimitExceededException":
|
|
253
|
+
throw await de_ClientLimitExceededExceptionRes(parsedOutput);
|
|
254
|
+
case "ConnectionLimitExceededException":
|
|
255
|
+
case "com.amazonaws.kinesisvideomedia#ConnectionLimitExceededException":
|
|
256
|
+
throw await de_ConnectionLimitExceededExceptionRes(parsedOutput);
|
|
257
|
+
case "InvalidArgumentException":
|
|
258
|
+
case "com.amazonaws.kinesisvideomedia#InvalidArgumentException":
|
|
259
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput);
|
|
260
|
+
case "InvalidEndpointException":
|
|
261
|
+
case "com.amazonaws.kinesisvideomedia#InvalidEndpointException":
|
|
262
|
+
throw await de_InvalidEndpointExceptionRes(parsedOutput);
|
|
263
|
+
case "NotAuthorizedException":
|
|
264
|
+
case "com.amazonaws.kinesisvideomedia#NotAuthorizedException":
|
|
265
|
+
throw await de_NotAuthorizedExceptionRes(parsedOutput);
|
|
266
|
+
case "ResourceNotFoundException":
|
|
267
|
+
case "com.amazonaws.kinesisvideomedia#ResourceNotFoundException":
|
|
268
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
269
|
+
default:
|
|
270
|
+
const parsedBody = parsedOutput.body;
|
|
271
|
+
return throwDefaultError({
|
|
272
|
+
output,
|
|
273
|
+
parsedBody,
|
|
274
|
+
errorCode,
|
|
275
|
+
});
|
|
276
|
+
}
|
|
225
277
|
};
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
Message;
|
|
233
|
-
/**
|
|
234
|
-
* @internal
|
|
235
|
-
*/
|
|
236
|
-
constructor(opts) {
|
|
237
|
-
super({
|
|
238
|
-
name: "ConnectionLimitExceededException",
|
|
239
|
-
$fault: "client",
|
|
240
|
-
...opts
|
|
278
|
+
const throwDefaultError = smithyClient.withBaseException(KinesisVideoMediaServiceException);
|
|
279
|
+
const de_ClientLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
280
|
+
const contents = smithyClient.map({});
|
|
281
|
+
const data = parsedOutput.body;
|
|
282
|
+
const doc = smithyClient.take(data, {
|
|
283
|
+
Message: smithyClient.expectString,
|
|
241
284
|
});
|
|
242
|
-
Object.
|
|
243
|
-
|
|
244
|
-
|
|
285
|
+
Object.assign(contents, doc);
|
|
286
|
+
const exception = new ClientLimitExceededException({
|
|
287
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
288
|
+
...contents,
|
|
289
|
+
});
|
|
290
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
245
291
|
};
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
292
|
+
const de_ConnectionLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
293
|
+
const contents = smithyClient.map({});
|
|
294
|
+
const data = parsedOutput.body;
|
|
295
|
+
const doc = smithyClient.take(data, {
|
|
296
|
+
Message: smithyClient.expectString,
|
|
297
|
+
});
|
|
298
|
+
Object.assign(contents, doc);
|
|
299
|
+
const exception = new ConnectionLimitExceededException({
|
|
300
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
301
|
+
...contents,
|
|
302
|
+
});
|
|
303
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
253
304
|
};
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
$fault = "client";
|
|
260
|
-
Message;
|
|
261
|
-
/**
|
|
262
|
-
* @internal
|
|
263
|
-
*/
|
|
264
|
-
constructor(opts) {
|
|
265
|
-
super({
|
|
266
|
-
name: "InvalidArgumentException",
|
|
267
|
-
$fault: "client",
|
|
268
|
-
...opts
|
|
305
|
+
const de_InvalidArgumentExceptionRes = async (parsedOutput, context) => {
|
|
306
|
+
const contents = smithyClient.map({});
|
|
307
|
+
const data = parsedOutput.body;
|
|
308
|
+
const doc = smithyClient.take(data, {
|
|
309
|
+
Message: smithyClient.expectString,
|
|
269
310
|
});
|
|
270
|
-
Object.
|
|
271
|
-
|
|
272
|
-
|
|
311
|
+
Object.assign(contents, doc);
|
|
312
|
+
const exception = new InvalidArgumentException({
|
|
313
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
314
|
+
...contents,
|
|
315
|
+
});
|
|
316
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
273
317
|
};
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
constructor(opts) {
|
|
285
|
-
super({
|
|
286
|
-
name: "InvalidEndpointException",
|
|
287
|
-
$fault: "client",
|
|
288
|
-
...opts
|
|
318
|
+
const de_InvalidEndpointExceptionRes = async (parsedOutput, context) => {
|
|
319
|
+
const contents = smithyClient.map({});
|
|
320
|
+
const data = parsedOutput.body;
|
|
321
|
+
const doc = smithyClient.take(data, {
|
|
322
|
+
Message: smithyClient.expectString,
|
|
323
|
+
});
|
|
324
|
+
Object.assign(contents, doc);
|
|
325
|
+
const exception = new InvalidEndpointException({
|
|
326
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
327
|
+
...contents,
|
|
289
328
|
});
|
|
290
|
-
|
|
291
|
-
this.Message = opts.Message;
|
|
292
|
-
}
|
|
329
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
293
330
|
};
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
constructor(opts) {
|
|
305
|
-
super({
|
|
306
|
-
name: "NotAuthorizedException",
|
|
307
|
-
$fault: "client",
|
|
308
|
-
...opts
|
|
331
|
+
const de_NotAuthorizedExceptionRes = async (parsedOutput, context) => {
|
|
332
|
+
const contents = smithyClient.map({});
|
|
333
|
+
const data = parsedOutput.body;
|
|
334
|
+
const doc = smithyClient.take(data, {
|
|
335
|
+
Message: smithyClient.expectString,
|
|
336
|
+
});
|
|
337
|
+
Object.assign(contents, doc);
|
|
338
|
+
const exception = new NotAuthorizedException({
|
|
339
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
340
|
+
...contents,
|
|
309
341
|
});
|
|
310
|
-
|
|
311
|
-
this.Message = opts.Message;
|
|
312
|
-
}
|
|
342
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
313
343
|
};
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
$fault = "client";
|
|
320
|
-
Message;
|
|
321
|
-
/**
|
|
322
|
-
* @internal
|
|
323
|
-
*/
|
|
324
|
-
constructor(opts) {
|
|
325
|
-
super({
|
|
326
|
-
name: "ResourceNotFoundException",
|
|
327
|
-
$fault: "client",
|
|
328
|
-
...opts
|
|
344
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
345
|
+
const contents = smithyClient.map({});
|
|
346
|
+
const data = parsedOutput.body;
|
|
347
|
+
const doc = smithyClient.take(data, {
|
|
348
|
+
Message: smithyClient.expectString,
|
|
329
349
|
});
|
|
330
|
-
Object.
|
|
331
|
-
|
|
332
|
-
|
|
350
|
+
Object.assign(contents, doc);
|
|
351
|
+
const exception = new ResourceNotFoundException({
|
|
352
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
353
|
+
...contents,
|
|
354
|
+
});
|
|
355
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
333
356
|
};
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
var se_GetMediaCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
343
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
344
|
-
const headers = {
|
|
345
|
-
"content-type": "application/json"
|
|
346
|
-
};
|
|
347
|
-
b.bp("/getMedia");
|
|
348
|
-
let body;
|
|
349
|
-
body = JSON.stringify(
|
|
350
|
-
(0, import_smithy_client.take)(input, {
|
|
351
|
-
StartSelector: /* @__PURE__ */ __name((_) => se_StartSelector(_, context), "StartSelector"),
|
|
352
|
-
StreamARN: [],
|
|
353
|
-
StreamName: []
|
|
354
|
-
})
|
|
355
|
-
);
|
|
356
|
-
b.m("POST").h(headers).b(body);
|
|
357
|
-
return b.build();
|
|
358
|
-
}, "se_GetMediaCommand");
|
|
359
|
-
var de_GetMediaCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
360
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
361
|
-
return de_CommandError(output, context);
|
|
362
|
-
}
|
|
363
|
-
const contents = (0, import_smithy_client.map)({
|
|
364
|
-
$metadata: deserializeMetadata(output),
|
|
365
|
-
[_CT]: [, output.headers[_ct]]
|
|
366
|
-
});
|
|
367
|
-
const data = output.body;
|
|
368
|
-
context.sdkStreamMixin(data);
|
|
369
|
-
contents.Payload = data;
|
|
370
|
-
return contents;
|
|
371
|
-
}, "de_GetMediaCommand");
|
|
372
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
373
|
-
const parsedOutput = {
|
|
374
|
-
...output,
|
|
375
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
376
|
-
};
|
|
377
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
378
|
-
switch (errorCode) {
|
|
379
|
-
case "ClientLimitExceededException":
|
|
380
|
-
case "com.amazonaws.kinesisvideomedia#ClientLimitExceededException":
|
|
381
|
-
throw await de_ClientLimitExceededExceptionRes(parsedOutput, context);
|
|
382
|
-
case "ConnectionLimitExceededException":
|
|
383
|
-
case "com.amazonaws.kinesisvideomedia#ConnectionLimitExceededException":
|
|
384
|
-
throw await de_ConnectionLimitExceededExceptionRes(parsedOutput, context);
|
|
385
|
-
case "InvalidArgumentException":
|
|
386
|
-
case "com.amazonaws.kinesisvideomedia#InvalidArgumentException":
|
|
387
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
388
|
-
case "InvalidEndpointException":
|
|
389
|
-
case "com.amazonaws.kinesisvideomedia#InvalidEndpointException":
|
|
390
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
391
|
-
case "NotAuthorizedException":
|
|
392
|
-
case "com.amazonaws.kinesisvideomedia#NotAuthorizedException":
|
|
393
|
-
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
394
|
-
case "ResourceNotFoundException":
|
|
395
|
-
case "com.amazonaws.kinesisvideomedia#ResourceNotFoundException":
|
|
396
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
397
|
-
default:
|
|
398
|
-
const parsedBody = parsedOutput.body;
|
|
399
|
-
return throwDefaultError({
|
|
400
|
-
output,
|
|
401
|
-
parsedBody,
|
|
402
|
-
errorCode
|
|
403
|
-
});
|
|
404
|
-
}
|
|
405
|
-
}, "de_CommandError");
|
|
406
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(KinesisVideoMediaServiceException);
|
|
407
|
-
var de_ClientLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
408
|
-
const contents = (0, import_smithy_client.map)({});
|
|
409
|
-
const data = parsedOutput.body;
|
|
410
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
411
|
-
Message: import_smithy_client.expectString
|
|
412
|
-
});
|
|
413
|
-
Object.assign(contents, doc);
|
|
414
|
-
const exception = new ClientLimitExceededException({
|
|
415
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
416
|
-
...contents
|
|
417
|
-
});
|
|
418
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
419
|
-
}, "de_ClientLimitExceededExceptionRes");
|
|
420
|
-
var de_ConnectionLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
421
|
-
const contents = (0, import_smithy_client.map)({});
|
|
422
|
-
const data = parsedOutput.body;
|
|
423
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
424
|
-
Message: import_smithy_client.expectString
|
|
425
|
-
});
|
|
426
|
-
Object.assign(contents, doc);
|
|
427
|
-
const exception = new ConnectionLimitExceededException({
|
|
428
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
429
|
-
...contents
|
|
430
|
-
});
|
|
431
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
432
|
-
}, "de_ConnectionLimitExceededExceptionRes");
|
|
433
|
-
var de_InvalidArgumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
434
|
-
const contents = (0, import_smithy_client.map)({});
|
|
435
|
-
const data = parsedOutput.body;
|
|
436
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
437
|
-
Message: import_smithy_client.expectString
|
|
438
|
-
});
|
|
439
|
-
Object.assign(contents, doc);
|
|
440
|
-
const exception = new InvalidArgumentException({
|
|
441
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
442
|
-
...contents
|
|
443
|
-
});
|
|
444
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
445
|
-
}, "de_InvalidArgumentExceptionRes");
|
|
446
|
-
var de_InvalidEndpointExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
447
|
-
const contents = (0, import_smithy_client.map)({});
|
|
448
|
-
const data = parsedOutput.body;
|
|
449
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
450
|
-
Message: import_smithy_client.expectString
|
|
451
|
-
});
|
|
452
|
-
Object.assign(contents, doc);
|
|
453
|
-
const exception = new InvalidEndpointException({
|
|
454
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
455
|
-
...contents
|
|
456
|
-
});
|
|
457
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
458
|
-
}, "de_InvalidEndpointExceptionRes");
|
|
459
|
-
var de_NotAuthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
460
|
-
const contents = (0, import_smithy_client.map)({});
|
|
461
|
-
const data = parsedOutput.body;
|
|
462
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
463
|
-
Message: import_smithy_client.expectString
|
|
464
|
-
});
|
|
465
|
-
Object.assign(contents, doc);
|
|
466
|
-
const exception = new NotAuthorizedException({
|
|
467
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
468
|
-
...contents
|
|
469
|
-
});
|
|
470
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
471
|
-
}, "de_NotAuthorizedExceptionRes");
|
|
472
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
473
|
-
const contents = (0, import_smithy_client.map)({});
|
|
474
|
-
const data = parsedOutput.body;
|
|
475
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
476
|
-
Message: import_smithy_client.expectString
|
|
477
|
-
});
|
|
478
|
-
Object.assign(contents, doc);
|
|
479
|
-
const exception = new ResourceNotFoundException({
|
|
480
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
481
|
-
...contents
|
|
482
|
-
});
|
|
483
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
484
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
485
|
-
var se_StartSelector = /* @__PURE__ */ __name((input, context) => {
|
|
486
|
-
return (0, import_smithy_client.take)(input, {
|
|
487
|
-
AfterFragmentNumber: [],
|
|
488
|
-
ContinuationToken: [],
|
|
489
|
-
StartSelectorType: [],
|
|
490
|
-
StartTimestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTimestamp")
|
|
491
|
-
});
|
|
492
|
-
}, "se_StartSelector");
|
|
493
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
494
|
-
httpStatusCode: output.statusCode,
|
|
495
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
496
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
497
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
498
|
-
}), "deserializeMetadata");
|
|
499
|
-
var _CT = "ContentType";
|
|
500
|
-
var _ct = "content-type";
|
|
501
|
-
|
|
502
|
-
// src/commands/GetMediaCommand.ts
|
|
503
|
-
var GetMediaCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
504
|
-
return [
|
|
505
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
506
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
507
|
-
];
|
|
508
|
-
}).s("AWSAcuityInletService", "GetMedia", {}).n("KinesisVideoMediaClient", "GetMediaCommand").f(void 0, GetMediaOutputFilterSensitiveLog).ser(se_GetMediaCommand).de(de_GetMediaCommand).build() {
|
|
509
|
-
static {
|
|
510
|
-
__name(this, "GetMediaCommand");
|
|
511
|
-
}
|
|
357
|
+
const se_StartSelector = (input, context) => {
|
|
358
|
+
return smithyClient.take(input, {
|
|
359
|
+
AfterFragmentNumber: [],
|
|
360
|
+
ContinuationToken: [],
|
|
361
|
+
StartSelectorType: [],
|
|
362
|
+
StartTimestamp: (_) => _.getTime() / 1_000,
|
|
363
|
+
});
|
|
512
364
|
};
|
|
365
|
+
const deserializeMetadata = (output) => ({
|
|
366
|
+
httpStatusCode: output.statusCode,
|
|
367
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
368
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
369
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
370
|
+
});
|
|
371
|
+
const _CT = "ContentType";
|
|
372
|
+
const _ct = "content-type";
|
|
513
373
|
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
374
|
+
class GetMediaCommand extends smithyClient.Command
|
|
375
|
+
.classBuilder()
|
|
376
|
+
.ep(commonParams)
|
|
377
|
+
.m(function (Command, cs, config, o) {
|
|
378
|
+
return [
|
|
379
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
380
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
381
|
+
];
|
|
382
|
+
})
|
|
383
|
+
.s("AWSAcuityInletService", "GetMedia", {})
|
|
384
|
+
.n("KinesisVideoMediaClient", "GetMediaCommand")
|
|
385
|
+
.f(void 0, GetMediaOutputFilterSensitiveLog)
|
|
386
|
+
.ser(se_GetMediaCommand)
|
|
387
|
+
.de(de_GetMediaCommand)
|
|
388
|
+
.build() {
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
const commands = {
|
|
392
|
+
GetMediaCommand,
|
|
522
393
|
};
|
|
523
|
-
|
|
524
|
-
|
|
394
|
+
class KinesisVideoMedia extends KinesisVideoMediaClient {
|
|
395
|
+
}
|
|
396
|
+
smithyClient.createAggregatedClient(commands, KinesisVideoMedia);
|
|
525
397
|
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
KinesisVideoMediaClient,
|
|
530
|
-
KinesisVideoMedia,
|
|
531
|
-
$Command,
|
|
532
|
-
GetMediaCommand,
|
|
533
|
-
ClientLimitExceededException,
|
|
534
|
-
ConnectionLimitExceededException,
|
|
535
|
-
StartSelectorType,
|
|
536
|
-
InvalidArgumentException,
|
|
537
|
-
InvalidEndpointException,
|
|
538
|
-
NotAuthorizedException,
|
|
539
|
-
ResourceNotFoundException,
|
|
540
|
-
GetMediaOutputFilterSensitiveLog
|
|
398
|
+
Object.defineProperty(exports, "$Command", {
|
|
399
|
+
enumerable: true,
|
|
400
|
+
get: function () { return smithyClient.Command; }
|
|
541
401
|
});
|
|
542
|
-
|
|
402
|
+
Object.defineProperty(exports, "__Client", {
|
|
403
|
+
enumerable: true,
|
|
404
|
+
get: function () { return smithyClient.Client; }
|
|
405
|
+
});
|
|
406
|
+
exports.ClientLimitExceededException = ClientLimitExceededException;
|
|
407
|
+
exports.ConnectionLimitExceededException = ConnectionLimitExceededException;
|
|
408
|
+
exports.GetMediaCommand = GetMediaCommand;
|
|
409
|
+
exports.GetMediaOutputFilterSensitiveLog = GetMediaOutputFilterSensitiveLog;
|
|
410
|
+
exports.InvalidArgumentException = InvalidArgumentException;
|
|
411
|
+
exports.InvalidEndpointException = InvalidEndpointException;
|
|
412
|
+
exports.KinesisVideoMedia = KinesisVideoMedia;
|
|
413
|
+
exports.KinesisVideoMediaClient = KinesisVideoMediaClient;
|
|
414
|
+
exports.KinesisVideoMediaServiceException = KinesisVideoMediaServiceException;
|
|
415
|
+
exports.NotAuthorizedException = NotAuthorizedException;
|
|
416
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
417
|
+
exports.StartSelectorType = StartSelectorType;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.906.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-kinesis-video-media",
|
|
@@ -20,43 +20,43 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.
|
|
37
|
-
"@smithy/hash-node": "^4.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.
|
|
41
|
-
"@smithy/middleware-retry": "^4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.
|
|
43
|
-
"@smithy/middleware-stack": "^4.
|
|
44
|
-
"@smithy/node-config-provider": "^4.
|
|
45
|
-
"@smithy/node-http-handler": "^4.
|
|
46
|
-
"@smithy/protocol-http": "^5.
|
|
47
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
-
"@smithy/types": "^4.
|
|
49
|
-
"@smithy/url-parser": "^4.
|
|
50
|
-
"@smithy/util-base64": "^4.
|
|
51
|
-
"@smithy/util-body-length-browser": "^4.
|
|
52
|
-
"@smithy/util-body-length-node": "^4.
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.
|
|
55
|
-
"@smithy/util-endpoints": "^3.
|
|
56
|
-
"@smithy/util-middleware": "^4.
|
|
57
|
-
"@smithy/util-retry": "^4.
|
|
58
|
-
"@smithy/util-stream": "^4.
|
|
59
|
-
"@smithy/util-utf8": "^4.
|
|
23
|
+
"@aws-sdk/core": "3.906.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.906.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.901.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.901.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.901.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.906.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.901.0",
|
|
30
|
+
"@aws-sdk/types": "3.901.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.901.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.901.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.906.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.3.0",
|
|
35
|
+
"@smithy/core": "^3.14.0",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.3.0",
|
|
37
|
+
"@smithy/hash-node": "^4.2.0",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.2.0",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.2.0",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.0",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.0",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.0",
|
|
43
|
+
"@smithy/middleware-stack": "^4.2.0",
|
|
44
|
+
"@smithy/node-config-provider": "^4.3.0",
|
|
45
|
+
"@smithy/node-http-handler": "^4.3.0",
|
|
46
|
+
"@smithy/protocol-http": "^5.3.0",
|
|
47
|
+
"@smithy/smithy-client": "^4.7.0",
|
|
48
|
+
"@smithy/types": "^4.6.0",
|
|
49
|
+
"@smithy/url-parser": "^4.2.0",
|
|
50
|
+
"@smithy/util-base64": "^4.2.0",
|
|
51
|
+
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
|
+
"@smithy/util-body-length-node": "^4.2.0",
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.2.0",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.0",
|
|
55
|
+
"@smithy/util-endpoints": "^3.2.0",
|
|
56
|
+
"@smithy/util-middleware": "^4.2.0",
|
|
57
|
+
"@smithy/util-retry": "^4.2.0",
|
|
58
|
+
"@smithy/util-stream": "^4.4.0",
|
|
59
|
+
"@smithy/util-utf8": "^4.2.0",
|
|
60
60
|
"tslib": "^2.6.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|