@aws-sdk/client-kinesis-video-webrtc-storage 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 +335 -446
- package/package.json +37 -37
package/dist-cjs/index.js
CHANGED
|
@@ -1,473 +1,362 @@
|
|
|
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
|
-
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
-
ClientLimitExceededException: () => ClientLimitExceededException,
|
|
26
|
-
InvalidArgumentException: () => InvalidArgumentException,
|
|
27
|
-
JoinStorageSessionAsViewerCommand: () => JoinStorageSessionAsViewerCommand,
|
|
28
|
-
JoinStorageSessionCommand: () => JoinStorageSessionCommand,
|
|
29
|
-
KinesisVideoWebRTCStorage: () => KinesisVideoWebRTCStorage,
|
|
30
|
-
KinesisVideoWebRTCStorageClient: () => KinesisVideoWebRTCStorageClient,
|
|
31
|
-
KinesisVideoWebRTCStorageServiceException: () => KinesisVideoWebRTCStorageServiceException,
|
|
32
|
-
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
33
|
-
__Client: () => import_smithy_client.Client
|
|
34
|
-
});
|
|
35
|
-
module.exports = __toCommonJS(index_exports);
|
|
1
|
+
'use strict';
|
|
36
2
|
|
|
37
|
-
|
|
38
|
-
var
|
|
39
|
-
var
|
|
40
|
-
var
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
var
|
|
46
|
-
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');
|
|
47
19
|
|
|
48
|
-
|
|
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" },
|
|
32
|
+
};
|
|
49
33
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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
|
+
};
|
|
63
71
|
};
|
|
64
72
|
|
|
65
|
-
|
|
66
|
-
|
|
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
|
+
};
|
|
67
78
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
79
|
+
class KinesisVideoWebRTCStorageClient 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.defaultKinesisVideoWebRTCStorageHttpAuthSchemeParametersProvider,
|
|
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();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
72
112
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
let _credentials = runtimeConfig.credentials;
|
|
78
|
-
return {
|
|
79
|
-
setHttpAuthScheme(httpAuthScheme) {
|
|
80
|
-
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
81
|
-
if (index === -1) {
|
|
82
|
-
_httpAuthSchemes.push(httpAuthScheme);
|
|
83
|
-
} else {
|
|
84
|
-
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
httpAuthSchemes() {
|
|
88
|
-
return _httpAuthSchemes;
|
|
89
|
-
},
|
|
90
|
-
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
91
|
-
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
92
|
-
},
|
|
93
|
-
httpAuthSchemeProvider() {
|
|
94
|
-
return _httpAuthSchemeProvider;
|
|
95
|
-
},
|
|
96
|
-
setCredentials(credentials) {
|
|
97
|
-
_credentials = credentials;
|
|
98
|
-
},
|
|
99
|
-
credentials() {
|
|
100
|
-
return _credentials;
|
|
113
|
+
class KinesisVideoWebRTCStorageServiceException extends smithyClient.ServiceException {
|
|
114
|
+
constructor(options) {
|
|
115
|
+
super(options);
|
|
116
|
+
Object.setPrototypeOf(this, KinesisVideoWebRTCStorageServiceException.prototype);
|
|
101
117
|
}
|
|
102
|
-
|
|
103
|
-
}, "getHttpAuthExtensionConfiguration");
|
|
104
|
-
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
105
|
-
return {
|
|
106
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
107
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
108
|
-
credentials: config.credentials()
|
|
109
|
-
};
|
|
110
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
118
|
+
}
|
|
111
119
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
(
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
120
|
+
class AccessDeniedException extends KinesisVideoWebRTCStorageServiceException {
|
|
121
|
+
name = "AccessDeniedException";
|
|
122
|
+
$fault = "client";
|
|
123
|
+
constructor(opts) {
|
|
124
|
+
super({
|
|
125
|
+
name: "AccessDeniedException",
|
|
126
|
+
$fault: "client",
|
|
127
|
+
...opts,
|
|
128
|
+
});
|
|
129
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
class ClientLimitExceededException extends KinesisVideoWebRTCStorageServiceException {
|
|
133
|
+
name = "ClientLimitExceededException";
|
|
134
|
+
$fault = "client";
|
|
135
|
+
constructor(opts) {
|
|
136
|
+
super({
|
|
137
|
+
name: "ClientLimitExceededException",
|
|
138
|
+
$fault: "client",
|
|
139
|
+
...opts,
|
|
140
|
+
});
|
|
141
|
+
Object.setPrototypeOf(this, ClientLimitExceededException.prototype);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
class InvalidArgumentException extends KinesisVideoWebRTCStorageServiceException {
|
|
145
|
+
name = "InvalidArgumentException";
|
|
146
|
+
$fault = "client";
|
|
147
|
+
constructor(opts) {
|
|
148
|
+
super({
|
|
149
|
+
name: "InvalidArgumentException",
|
|
150
|
+
$fault: "client",
|
|
151
|
+
...opts,
|
|
152
|
+
});
|
|
153
|
+
Object.setPrototypeOf(this, InvalidArgumentException.prototype);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
class ResourceNotFoundException extends KinesisVideoWebRTCStorageServiceException {
|
|
157
|
+
name = "ResourceNotFoundException";
|
|
158
|
+
$fault = "client";
|
|
159
|
+
constructor(opts) {
|
|
160
|
+
super({
|
|
161
|
+
name: "ResourceNotFoundException",
|
|
162
|
+
$fault: "client",
|
|
163
|
+
...opts,
|
|
164
|
+
});
|
|
165
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
129
168
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
this.initConfig = _config_0;
|
|
143
|
-
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
144
|
-
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
145
|
-
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
146
|
-
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
147
|
-
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
148
|
-
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
149
|
-
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
150
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
151
|
-
this.config = _config_8;
|
|
152
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
153
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
154
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
155
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
156
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
157
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
158
|
-
this.middlewareStack.use(
|
|
159
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
160
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultKinesisVideoWebRTCStorageHttpAuthSchemeParametersProvider,
|
|
161
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
162
|
-
"aws.auth#sigv4": config.credentials
|
|
163
|
-
}), "identityProviderConfigProvider")
|
|
164
|
-
})
|
|
165
|
-
);
|
|
166
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
167
|
-
}
|
|
168
|
-
/**
|
|
169
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
170
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
171
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
172
|
-
*/
|
|
173
|
-
destroy() {
|
|
174
|
-
super.destroy();
|
|
175
|
-
}
|
|
169
|
+
const se_JoinStorageSessionCommand = async (input, context) => {
|
|
170
|
+
const b = core.requestBuilder(input, context);
|
|
171
|
+
const headers = {
|
|
172
|
+
"content-type": "application/json",
|
|
173
|
+
};
|
|
174
|
+
b.bp("/joinStorageSession");
|
|
175
|
+
let body;
|
|
176
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
177
|
+
channelArn: [],
|
|
178
|
+
}));
|
|
179
|
+
b.m("POST").h(headers).b(body);
|
|
180
|
+
return b.build();
|
|
176
181
|
};
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
// src/models/KinesisVideoWebRTCStorageServiceException.ts
|
|
192
|
-
|
|
193
|
-
var KinesisVideoWebRTCStorageServiceException = class _KinesisVideoWebRTCStorageServiceException extends import_smithy_client.ServiceException {
|
|
194
|
-
static {
|
|
195
|
-
__name(this, "KinesisVideoWebRTCStorageServiceException");
|
|
196
|
-
}
|
|
197
|
-
/**
|
|
198
|
-
* @internal
|
|
199
|
-
*/
|
|
200
|
-
constructor(options) {
|
|
201
|
-
super(options);
|
|
202
|
-
Object.setPrototypeOf(this, _KinesisVideoWebRTCStorageServiceException.prototype);
|
|
203
|
-
}
|
|
182
|
+
const se_JoinStorageSessionAsViewerCommand = async (input, context) => {
|
|
183
|
+
const b = core.requestBuilder(input, context);
|
|
184
|
+
const headers = {
|
|
185
|
+
"content-type": "application/json",
|
|
186
|
+
};
|
|
187
|
+
b.bp("/joinStorageSessionAsViewer");
|
|
188
|
+
let body;
|
|
189
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
190
|
+
channelArn: [],
|
|
191
|
+
clientId: [],
|
|
192
|
+
}));
|
|
193
|
+
b.m("POST").h(headers).b(body);
|
|
194
|
+
return b.build();
|
|
204
195
|
};
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
name = "AccessDeniedException";
|
|
212
|
-
$fault = "client";
|
|
213
|
-
/**
|
|
214
|
-
* @internal
|
|
215
|
-
*/
|
|
216
|
-
constructor(opts) {
|
|
217
|
-
super({
|
|
218
|
-
name: "AccessDeniedException",
|
|
219
|
-
$fault: "client",
|
|
220
|
-
...opts
|
|
196
|
+
const de_JoinStorageSessionCommand = async (output, context) => {
|
|
197
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
198
|
+
return de_CommandError(output, context);
|
|
199
|
+
}
|
|
200
|
+
const contents = smithyClient.map({
|
|
201
|
+
$metadata: deserializeMetadata(output),
|
|
221
202
|
});
|
|
222
|
-
|
|
223
|
-
|
|
203
|
+
await smithyClient.collectBody(output.body, context);
|
|
204
|
+
return contents;
|
|
224
205
|
};
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* @internal
|
|
233
|
-
*/
|
|
234
|
-
constructor(opts) {
|
|
235
|
-
super({
|
|
236
|
-
name: "ClientLimitExceededException",
|
|
237
|
-
$fault: "client",
|
|
238
|
-
...opts
|
|
206
|
+
const de_JoinStorageSessionAsViewerCommand = async (output, context) => {
|
|
207
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
208
|
+
return de_CommandError(output, context);
|
|
209
|
+
}
|
|
210
|
+
const contents = smithyClient.map({
|
|
211
|
+
$metadata: deserializeMetadata(output),
|
|
239
212
|
});
|
|
240
|
-
|
|
241
|
-
|
|
213
|
+
await smithyClient.collectBody(output.body, context);
|
|
214
|
+
return contents;
|
|
215
|
+
};
|
|
216
|
+
const de_CommandError = async (output, context) => {
|
|
217
|
+
const parsedOutput = {
|
|
218
|
+
...output,
|
|
219
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
220
|
+
};
|
|
221
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
222
|
+
switch (errorCode) {
|
|
223
|
+
case "AccessDeniedException":
|
|
224
|
+
case "com.amazonaws.kinesisvideowebrtcstorage#AccessDeniedException":
|
|
225
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
226
|
+
case "ClientLimitExceededException":
|
|
227
|
+
case "com.amazonaws.kinesisvideowebrtcstorage#ClientLimitExceededException":
|
|
228
|
+
throw await de_ClientLimitExceededExceptionRes(parsedOutput);
|
|
229
|
+
case "InvalidArgumentException":
|
|
230
|
+
case "com.amazonaws.kinesisvideowebrtcstorage#InvalidArgumentException":
|
|
231
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput);
|
|
232
|
+
case "ResourceNotFoundException":
|
|
233
|
+
case "com.amazonaws.kinesisvideowebrtcstorage#ResourceNotFoundException":
|
|
234
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
235
|
+
default:
|
|
236
|
+
const parsedBody = parsedOutput.body;
|
|
237
|
+
return throwDefaultError({
|
|
238
|
+
output,
|
|
239
|
+
parsedBody,
|
|
240
|
+
errorCode,
|
|
241
|
+
});
|
|
242
|
+
}
|
|
242
243
|
};
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
name: "InvalidArgumentException",
|
|
255
|
-
$fault: "client",
|
|
256
|
-
...opts
|
|
244
|
+
const throwDefaultError = smithyClient.withBaseException(KinesisVideoWebRTCStorageServiceException);
|
|
245
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
246
|
+
const contents = smithyClient.map({});
|
|
247
|
+
const data = parsedOutput.body;
|
|
248
|
+
const doc = smithyClient.take(data, {
|
|
249
|
+
message: smithyClient.expectString,
|
|
250
|
+
});
|
|
251
|
+
Object.assign(contents, doc);
|
|
252
|
+
const exception = new AccessDeniedException({
|
|
253
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
254
|
+
...contents,
|
|
257
255
|
});
|
|
258
|
-
|
|
259
|
-
}
|
|
256
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
260
257
|
};
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
super({
|
|
272
|
-
name: "ResourceNotFoundException",
|
|
273
|
-
$fault: "client",
|
|
274
|
-
...opts
|
|
258
|
+
const de_ClientLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
259
|
+
const contents = smithyClient.map({});
|
|
260
|
+
const data = parsedOutput.body;
|
|
261
|
+
const doc = smithyClient.take(data, {
|
|
262
|
+
message: smithyClient.expectString,
|
|
263
|
+
});
|
|
264
|
+
Object.assign(contents, doc);
|
|
265
|
+
const exception = new ClientLimitExceededException({
|
|
266
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
267
|
+
...contents,
|
|
275
268
|
});
|
|
276
|
-
|
|
277
|
-
}
|
|
269
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
278
270
|
};
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
})
|
|
292
|
-
);
|
|
293
|
-
b.m("POST").h(headers).b(body);
|
|
294
|
-
return b.build();
|
|
295
|
-
}, "se_JoinStorageSessionCommand");
|
|
296
|
-
var se_JoinStorageSessionAsViewerCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
297
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
298
|
-
const headers = {
|
|
299
|
-
"content-type": "application/json"
|
|
300
|
-
};
|
|
301
|
-
b.bp("/joinStorageSessionAsViewer");
|
|
302
|
-
let body;
|
|
303
|
-
body = JSON.stringify(
|
|
304
|
-
(0, import_smithy_client.take)(input, {
|
|
305
|
-
channelArn: [],
|
|
306
|
-
clientId: []
|
|
307
|
-
})
|
|
308
|
-
);
|
|
309
|
-
b.m("POST").h(headers).b(body);
|
|
310
|
-
return b.build();
|
|
311
|
-
}, "se_JoinStorageSessionAsViewerCommand");
|
|
312
|
-
var de_JoinStorageSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
313
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
314
|
-
return de_CommandError(output, context);
|
|
315
|
-
}
|
|
316
|
-
const contents = (0, import_smithy_client.map)({
|
|
317
|
-
$metadata: deserializeMetadata(output)
|
|
318
|
-
});
|
|
319
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
320
|
-
return contents;
|
|
321
|
-
}, "de_JoinStorageSessionCommand");
|
|
322
|
-
var de_JoinStorageSessionAsViewerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
323
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
324
|
-
return de_CommandError(output, context);
|
|
325
|
-
}
|
|
326
|
-
const contents = (0, import_smithy_client.map)({
|
|
327
|
-
$metadata: deserializeMetadata(output)
|
|
328
|
-
});
|
|
329
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
330
|
-
return contents;
|
|
331
|
-
}, "de_JoinStorageSessionAsViewerCommand");
|
|
332
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
333
|
-
const parsedOutput = {
|
|
334
|
-
...output,
|
|
335
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
336
|
-
};
|
|
337
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
338
|
-
switch (errorCode) {
|
|
339
|
-
case "AccessDeniedException":
|
|
340
|
-
case "com.amazonaws.kinesisvideowebrtcstorage#AccessDeniedException":
|
|
341
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
342
|
-
case "ClientLimitExceededException":
|
|
343
|
-
case "com.amazonaws.kinesisvideowebrtcstorage#ClientLimitExceededException":
|
|
344
|
-
throw await de_ClientLimitExceededExceptionRes(parsedOutput, context);
|
|
345
|
-
case "InvalidArgumentException":
|
|
346
|
-
case "com.amazonaws.kinesisvideowebrtcstorage#InvalidArgumentException":
|
|
347
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
348
|
-
case "ResourceNotFoundException":
|
|
349
|
-
case "com.amazonaws.kinesisvideowebrtcstorage#ResourceNotFoundException":
|
|
350
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
351
|
-
default:
|
|
352
|
-
const parsedBody = parsedOutput.body;
|
|
353
|
-
return throwDefaultError({
|
|
354
|
-
output,
|
|
355
|
-
parsedBody,
|
|
356
|
-
errorCode
|
|
357
|
-
});
|
|
358
|
-
}
|
|
359
|
-
}, "de_CommandError");
|
|
360
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(KinesisVideoWebRTCStorageServiceException);
|
|
361
|
-
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
362
|
-
const contents = (0, import_smithy_client.map)({});
|
|
363
|
-
const data = parsedOutput.body;
|
|
364
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
365
|
-
message: import_smithy_client.expectString
|
|
366
|
-
});
|
|
367
|
-
Object.assign(contents, doc);
|
|
368
|
-
const exception = new AccessDeniedException({
|
|
369
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
370
|
-
...contents
|
|
371
|
-
});
|
|
372
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
373
|
-
}, "de_AccessDeniedExceptionRes");
|
|
374
|
-
var de_ClientLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
375
|
-
const contents = (0, import_smithy_client.map)({});
|
|
376
|
-
const data = parsedOutput.body;
|
|
377
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
378
|
-
message: import_smithy_client.expectString
|
|
379
|
-
});
|
|
380
|
-
Object.assign(contents, doc);
|
|
381
|
-
const exception = new ClientLimitExceededException({
|
|
382
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
383
|
-
...contents
|
|
384
|
-
});
|
|
385
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
386
|
-
}, "de_ClientLimitExceededExceptionRes");
|
|
387
|
-
var de_InvalidArgumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
388
|
-
const contents = (0, import_smithy_client.map)({});
|
|
389
|
-
const data = parsedOutput.body;
|
|
390
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
391
|
-
message: import_smithy_client.expectString
|
|
392
|
-
});
|
|
393
|
-
Object.assign(contents, doc);
|
|
394
|
-
const exception = new InvalidArgumentException({
|
|
395
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
396
|
-
...contents
|
|
397
|
-
});
|
|
398
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
399
|
-
}, "de_InvalidArgumentExceptionRes");
|
|
400
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
401
|
-
const contents = (0, import_smithy_client.map)({});
|
|
402
|
-
const data = parsedOutput.body;
|
|
403
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
404
|
-
message: import_smithy_client.expectString
|
|
405
|
-
});
|
|
406
|
-
Object.assign(contents, doc);
|
|
407
|
-
const exception = new ResourceNotFoundException({
|
|
408
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
409
|
-
...contents
|
|
410
|
-
});
|
|
411
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
412
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
413
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
414
|
-
httpStatusCode: output.statusCode,
|
|
415
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
416
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
417
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
418
|
-
}), "deserializeMetadata");
|
|
419
|
-
|
|
420
|
-
// src/commands/JoinStorageSessionAsViewerCommand.ts
|
|
421
|
-
var JoinStorageSessionAsViewerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
422
|
-
return [
|
|
423
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
424
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
425
|
-
];
|
|
426
|
-
}).s("AWSAcuityRoutingServiceLambda", "JoinStorageSessionAsViewer", {}).n("KinesisVideoWebRTCStorageClient", "JoinStorageSessionAsViewerCommand").f(void 0, void 0).ser(se_JoinStorageSessionAsViewerCommand).de(de_JoinStorageSessionAsViewerCommand).build() {
|
|
427
|
-
static {
|
|
428
|
-
__name(this, "JoinStorageSessionAsViewerCommand");
|
|
429
|
-
}
|
|
271
|
+
const de_InvalidArgumentExceptionRes = async (parsedOutput, context) => {
|
|
272
|
+
const contents = smithyClient.map({});
|
|
273
|
+
const data = parsedOutput.body;
|
|
274
|
+
const doc = smithyClient.take(data, {
|
|
275
|
+
message: smithyClient.expectString,
|
|
276
|
+
});
|
|
277
|
+
Object.assign(contents, doc);
|
|
278
|
+
const exception = new InvalidArgumentException({
|
|
279
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
280
|
+
...contents,
|
|
281
|
+
});
|
|
282
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
430
283
|
};
|
|
284
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
285
|
+
const contents = smithyClient.map({});
|
|
286
|
+
const data = parsedOutput.body;
|
|
287
|
+
const doc = smithyClient.take(data, {
|
|
288
|
+
message: smithyClient.expectString,
|
|
289
|
+
});
|
|
290
|
+
Object.assign(contents, doc);
|
|
291
|
+
const exception = new ResourceNotFoundException({
|
|
292
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
293
|
+
...contents,
|
|
294
|
+
});
|
|
295
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
296
|
+
};
|
|
297
|
+
const deserializeMetadata = (output) => ({
|
|
298
|
+
httpStatusCode: output.statusCode,
|
|
299
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
300
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
301
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
302
|
+
});
|
|
431
303
|
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
304
|
+
class JoinStorageSessionAsViewerCommand extends smithyClient.Command
|
|
305
|
+
.classBuilder()
|
|
306
|
+
.ep(commonParams)
|
|
307
|
+
.m(function (Command, cs, config, o) {
|
|
308
|
+
return [
|
|
309
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
310
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
311
|
+
];
|
|
312
|
+
})
|
|
313
|
+
.s("AWSAcuityRoutingServiceLambda", "JoinStorageSessionAsViewer", {})
|
|
314
|
+
.n("KinesisVideoWebRTCStorageClient", "JoinStorageSessionAsViewerCommand")
|
|
315
|
+
.f(void 0, void 0)
|
|
316
|
+
.ser(se_JoinStorageSessionAsViewerCommand)
|
|
317
|
+
.de(de_JoinStorageSessionAsViewerCommand)
|
|
318
|
+
.build() {
|
|
319
|
+
}
|
|
435
320
|
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
(
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
}
|
|
321
|
+
class JoinStorageSessionCommand extends smithyClient.Command
|
|
322
|
+
.classBuilder()
|
|
323
|
+
.ep(commonParams)
|
|
324
|
+
.m(function (Command, cs, config, o) {
|
|
325
|
+
return [
|
|
326
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
327
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
328
|
+
];
|
|
329
|
+
})
|
|
330
|
+
.s("AWSAcuityRoutingServiceLambda", "JoinStorageSession", {})
|
|
331
|
+
.n("KinesisVideoWebRTCStorageClient", "JoinStorageSessionCommand")
|
|
332
|
+
.f(void 0, void 0)
|
|
333
|
+
.ser(se_JoinStorageSessionCommand)
|
|
334
|
+
.de(de_JoinStorageSessionCommand)
|
|
335
|
+
.build() {
|
|
336
|
+
}
|
|
446
337
|
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
JoinStorageSessionAsViewerCommand
|
|
451
|
-
};
|
|
452
|
-
var KinesisVideoWebRTCStorage = class extends KinesisVideoWebRTCStorageClient {
|
|
453
|
-
static {
|
|
454
|
-
__name(this, "KinesisVideoWebRTCStorage");
|
|
455
|
-
}
|
|
338
|
+
const commands = {
|
|
339
|
+
JoinStorageSessionCommand,
|
|
340
|
+
JoinStorageSessionAsViewerCommand,
|
|
456
341
|
};
|
|
457
|
-
|
|
458
|
-
|
|
342
|
+
class KinesisVideoWebRTCStorage extends KinesisVideoWebRTCStorageClient {
|
|
343
|
+
}
|
|
344
|
+
smithyClient.createAggregatedClient(commands, KinesisVideoWebRTCStorage);
|
|
459
345
|
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
KinesisVideoWebRTCStorageClient,
|
|
464
|
-
KinesisVideoWebRTCStorage,
|
|
465
|
-
$Command,
|
|
466
|
-
JoinStorageSessionAsViewerCommand,
|
|
467
|
-
JoinStorageSessionCommand,
|
|
468
|
-
AccessDeniedException,
|
|
469
|
-
ClientLimitExceededException,
|
|
470
|
-
InvalidArgumentException,
|
|
471
|
-
ResourceNotFoundException
|
|
346
|
+
Object.defineProperty(exports, "$Command", {
|
|
347
|
+
enumerable: true,
|
|
348
|
+
get: function () { return smithyClient.Command; }
|
|
472
349
|
});
|
|
473
|
-
|
|
350
|
+
Object.defineProperty(exports, "__Client", {
|
|
351
|
+
enumerable: true,
|
|
352
|
+
get: function () { return smithyClient.Client; }
|
|
353
|
+
});
|
|
354
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
355
|
+
exports.ClientLimitExceededException = ClientLimitExceededException;
|
|
356
|
+
exports.InvalidArgumentException = InvalidArgumentException;
|
|
357
|
+
exports.JoinStorageSessionAsViewerCommand = JoinStorageSessionAsViewerCommand;
|
|
358
|
+
exports.JoinStorageSessionCommand = JoinStorageSessionCommand;
|
|
359
|
+
exports.KinesisVideoWebRTCStorage = KinesisVideoWebRTCStorage;
|
|
360
|
+
exports.KinesisVideoWebRTCStorageClient = KinesisVideoWebRTCStorageClient;
|
|
361
|
+
exports.KinesisVideoWebRTCStorageServiceException = KinesisVideoWebRTCStorageServiceException;
|
|
362
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kinesis-video-webrtc-storage",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kinesis Video Webrtc Storage 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-webrtc-storage",
|
|
@@ -20,42 +20,42 @@
|
|
|
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-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-utf8": "^4.2.0",
|
|
59
59
|
"tslib": "^2.6.2"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|