@aws-sdk/client-ivs 3.53.0 → 3.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist-cjs/IvsClient.js +13 -13
- package/dist-cjs/commands/BatchGetChannelCommand.js +3 -3
- package/dist-cjs/commands/BatchGetStreamKeyCommand.js +3 -3
- package/dist-cjs/commands/CreateChannelCommand.js +3 -3
- package/dist-cjs/commands/CreateRecordingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/CreateStreamKeyCommand.js +3 -3
- package/dist-cjs/commands/DeleteChannelCommand.js +3 -3
- package/dist-cjs/commands/DeletePlaybackKeyPairCommand.js +3 -3
- package/dist-cjs/commands/DeleteRecordingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DeleteStreamKeyCommand.js +3 -3
- package/dist-cjs/commands/GetChannelCommand.js +3 -3
- package/dist-cjs/commands/GetPlaybackKeyPairCommand.js +3 -3
- package/dist-cjs/commands/GetRecordingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetStreamCommand.js +3 -3
- package/dist-cjs/commands/GetStreamKeyCommand.js +3 -3
- package/dist-cjs/commands/GetStreamSessionCommand.js +3 -3
- package/dist-cjs/commands/ImportPlaybackKeyPairCommand.js +3 -3
- package/dist-cjs/commands/ListChannelsCommand.js +3 -3
- package/dist-cjs/commands/ListPlaybackKeyPairsCommand.js +3 -3
- package/dist-cjs/commands/ListRecordingConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/ListStreamKeysCommand.js +3 -3
- package/dist-cjs/commands/ListStreamSessionsCommand.js +3 -3
- package/dist-cjs/commands/ListStreamsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutMetadataCommand.js +3 -3
- package/dist-cjs/commands/StopStreamCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateChannelCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +148 -148
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Ivs.js +28 -28
- package/dist-es/pagination/ListChannelsPaginator.js +4 -4
- package/dist-es/pagination/ListPlaybackKeyPairsPaginator.js +4 -4
- package/dist-es/pagination/ListRecordingConfigurationsPaginator.js +4 -4
- package/dist-es/pagination/ListStreamKeysPaginator.js +4 -4
- package/dist-es/pagination/ListStreamSessionsPaginator.js +4 -4
- package/dist-es/pagination/ListStreamsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +28 -28
- package/dist-types/IvsClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/IvsClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -13,7 +13,7 @@ export var serializeAws_restJson1BatchGetChannelCommand = function (input, conte
|
|
|
13
13
|
headers = {
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
|
-
resolvedPath = ""
|
|
16
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/BatchGetChannel";
|
|
17
17
|
body = JSON.stringify(__assign({}, (input.arns !== undefined &&
|
|
18
18
|
input.arns !== null && { arns: serializeAws_restJson1ChannelArnList(input.arns, context) })));
|
|
19
19
|
return [2, new __HttpRequest({
|
|
@@ -38,7 +38,7 @@ export var serializeAws_restJson1BatchGetStreamKeyCommand = function (input, con
|
|
|
38
38
|
headers = {
|
|
39
39
|
"content-type": "application/json",
|
|
40
40
|
};
|
|
41
|
-
resolvedPath = ""
|
|
41
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/BatchGetStreamKey";
|
|
42
42
|
body = JSON.stringify(__assign({}, (input.arns !== undefined &&
|
|
43
43
|
input.arns !== null && { arns: serializeAws_restJson1StreamKeyArnList(input.arns, context) })));
|
|
44
44
|
return [2, new __HttpRequest({
|
|
@@ -63,7 +63,7 @@ export var serializeAws_restJson1CreateChannelCommand = function (input, context
|
|
|
63
63
|
headers = {
|
|
64
64
|
"content-type": "application/json",
|
|
65
65
|
};
|
|
66
|
-
resolvedPath = ""
|
|
66
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/CreateChannel";
|
|
67
67
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.authorized !== undefined && input.authorized !== null && { authorized: input.authorized })), (input.latencyMode !== undefined && input.latencyMode !== null && { latencyMode: input.latencyMode })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.recordingConfigurationArn !== undefined &&
|
|
68
68
|
input.recordingConfigurationArn !== null && { recordingConfigurationArn: input.recordingConfigurationArn })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1Tags(input.tags, context) })), (input.type !== undefined && input.type !== null && { type: input.type })));
|
|
69
69
|
return [2, new __HttpRequest({
|
|
@@ -88,7 +88,7 @@ export var serializeAws_restJson1CreateRecordingConfigurationCommand = function
|
|
|
88
88
|
headers = {
|
|
89
89
|
"content-type": "application/json",
|
|
90
90
|
};
|
|
91
|
-
resolvedPath = ""
|
|
91
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/CreateRecordingConfiguration";
|
|
92
92
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.destinationConfiguration !== undefined &&
|
|
93
93
|
input.destinationConfiguration !== null && {
|
|
94
94
|
destinationConfiguration: serializeAws_restJson1DestinationConfiguration(input.destinationConfiguration, context),
|
|
@@ -118,7 +118,7 @@ export var serializeAws_restJson1CreateStreamKeyCommand = function (input, conte
|
|
|
118
118
|
headers = {
|
|
119
119
|
"content-type": "application/json",
|
|
120
120
|
};
|
|
121
|
-
resolvedPath = ""
|
|
121
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/CreateStreamKey";
|
|
122
122
|
body = JSON.stringify(__assign(__assign({}, (input.channelArn !== undefined && input.channelArn !== null && { channelArn: input.channelArn })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1Tags(input.tags, context) })));
|
|
123
123
|
return [2, new __HttpRequest({
|
|
124
124
|
protocol: protocol,
|
|
@@ -142,7 +142,7 @@ export var serializeAws_restJson1DeleteChannelCommand = function (input, context
|
|
|
142
142
|
headers = {
|
|
143
143
|
"content-type": "application/json",
|
|
144
144
|
};
|
|
145
|
-
resolvedPath = ""
|
|
145
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteChannel";
|
|
146
146
|
body = JSON.stringify(__assign({}, (input.arn !== undefined && input.arn !== null && { arn: input.arn })));
|
|
147
147
|
return [2, new __HttpRequest({
|
|
148
148
|
protocol: protocol,
|
|
@@ -166,7 +166,7 @@ export var serializeAws_restJson1DeletePlaybackKeyPairCommand = function (input,
|
|
|
166
166
|
headers = {
|
|
167
167
|
"content-type": "application/json",
|
|
168
168
|
};
|
|
169
|
-
resolvedPath = ""
|
|
169
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeletePlaybackKeyPair";
|
|
170
170
|
body = JSON.stringify(__assign({}, (input.arn !== undefined && input.arn !== null && { arn: input.arn })));
|
|
171
171
|
return [2, new __HttpRequest({
|
|
172
172
|
protocol: protocol,
|
|
@@ -190,7 +190,7 @@ export var serializeAws_restJson1DeleteRecordingConfigurationCommand = function
|
|
|
190
190
|
headers = {
|
|
191
191
|
"content-type": "application/json",
|
|
192
192
|
};
|
|
193
|
-
resolvedPath = ""
|
|
193
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteRecordingConfiguration";
|
|
194
194
|
body = JSON.stringify(__assign({}, (input.arn !== undefined && input.arn !== null && { arn: input.arn })));
|
|
195
195
|
return [2, new __HttpRequest({
|
|
196
196
|
protocol: protocol,
|
|
@@ -214,7 +214,7 @@ export var serializeAws_restJson1DeleteStreamKeyCommand = function (input, conte
|
|
|
214
214
|
headers = {
|
|
215
215
|
"content-type": "application/json",
|
|
216
216
|
};
|
|
217
|
-
resolvedPath = ""
|
|
217
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteStreamKey";
|
|
218
218
|
body = JSON.stringify(__assign({}, (input.arn !== undefined && input.arn !== null && { arn: input.arn })));
|
|
219
219
|
return [2, new __HttpRequest({
|
|
220
220
|
protocol: protocol,
|
|
@@ -238,7 +238,7 @@ export var serializeAws_restJson1GetChannelCommand = function (input, context) {
|
|
|
238
238
|
headers = {
|
|
239
239
|
"content-type": "application/json",
|
|
240
240
|
};
|
|
241
|
-
resolvedPath = ""
|
|
241
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/GetChannel";
|
|
242
242
|
body = JSON.stringify(__assign({}, (input.arn !== undefined && input.arn !== null && { arn: input.arn })));
|
|
243
243
|
return [2, new __HttpRequest({
|
|
244
244
|
protocol: protocol,
|
|
@@ -262,7 +262,7 @@ export var serializeAws_restJson1GetPlaybackKeyPairCommand = function (input, co
|
|
|
262
262
|
headers = {
|
|
263
263
|
"content-type": "application/json",
|
|
264
264
|
};
|
|
265
|
-
resolvedPath = ""
|
|
265
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/GetPlaybackKeyPair";
|
|
266
266
|
body = JSON.stringify(__assign({}, (input.arn !== undefined && input.arn !== null && { arn: input.arn })));
|
|
267
267
|
return [2, new __HttpRequest({
|
|
268
268
|
protocol: protocol,
|
|
@@ -286,7 +286,7 @@ export var serializeAws_restJson1GetRecordingConfigurationCommand = function (in
|
|
|
286
286
|
headers = {
|
|
287
287
|
"content-type": "application/json",
|
|
288
288
|
};
|
|
289
|
-
resolvedPath = ""
|
|
289
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/GetRecordingConfiguration";
|
|
290
290
|
body = JSON.stringify(__assign({}, (input.arn !== undefined && input.arn !== null && { arn: input.arn })));
|
|
291
291
|
return [2, new __HttpRequest({
|
|
292
292
|
protocol: protocol,
|
|
@@ -310,7 +310,7 @@ export var serializeAws_restJson1GetStreamCommand = function (input, context) {
|
|
|
310
310
|
headers = {
|
|
311
311
|
"content-type": "application/json",
|
|
312
312
|
};
|
|
313
|
-
resolvedPath = ""
|
|
313
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/GetStream";
|
|
314
314
|
body = JSON.stringify(__assign({}, (input.channelArn !== undefined && input.channelArn !== null && { channelArn: input.channelArn })));
|
|
315
315
|
return [2, new __HttpRequest({
|
|
316
316
|
protocol: protocol,
|
|
@@ -334,7 +334,7 @@ export var serializeAws_restJson1GetStreamKeyCommand = function (input, context)
|
|
|
334
334
|
headers = {
|
|
335
335
|
"content-type": "application/json",
|
|
336
336
|
};
|
|
337
|
-
resolvedPath = ""
|
|
337
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/GetStreamKey";
|
|
338
338
|
body = JSON.stringify(__assign({}, (input.arn !== undefined && input.arn !== null && { arn: input.arn })));
|
|
339
339
|
return [2, new __HttpRequest({
|
|
340
340
|
protocol: protocol,
|
|
@@ -358,7 +358,7 @@ export var serializeAws_restJson1GetStreamSessionCommand = function (input, cont
|
|
|
358
358
|
headers = {
|
|
359
359
|
"content-type": "application/json",
|
|
360
360
|
};
|
|
361
|
-
resolvedPath = ""
|
|
361
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/GetStreamSession";
|
|
362
362
|
body = JSON.stringify(__assign(__assign({}, (input.channelArn !== undefined && input.channelArn !== null && { channelArn: input.channelArn })), (input.streamId !== undefined && input.streamId !== null && { streamId: input.streamId })));
|
|
363
363
|
return [2, new __HttpRequest({
|
|
364
364
|
protocol: protocol,
|
|
@@ -382,7 +382,7 @@ export var serializeAws_restJson1ImportPlaybackKeyPairCommand = function (input,
|
|
|
382
382
|
headers = {
|
|
383
383
|
"content-type": "application/json",
|
|
384
384
|
};
|
|
385
|
-
resolvedPath = ""
|
|
385
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/ImportPlaybackKeyPair";
|
|
386
386
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.name !== undefined && input.name !== null && { name: input.name })), (input.publicKeyMaterial !== undefined &&
|
|
387
387
|
input.publicKeyMaterial !== null && { publicKeyMaterial: input.publicKeyMaterial })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1Tags(input.tags, context) })));
|
|
388
388
|
return [2, new __HttpRequest({
|
|
@@ -407,7 +407,7 @@ export var serializeAws_restJson1ListChannelsCommand = function (input, context)
|
|
|
407
407
|
headers = {
|
|
408
408
|
"content-type": "application/json",
|
|
409
409
|
};
|
|
410
|
-
resolvedPath = ""
|
|
410
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/ListChannels";
|
|
411
411
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.filterByName !== undefined && input.filterByName !== null && { filterByName: input.filterByName })), (input.filterByRecordingConfigurationArn !== undefined &&
|
|
412
412
|
input.filterByRecordingConfigurationArn !== null && {
|
|
413
413
|
filterByRecordingConfigurationArn: input.filterByRecordingConfigurationArn,
|
|
@@ -434,7 +434,7 @@ export var serializeAws_restJson1ListPlaybackKeyPairsCommand = function (input,
|
|
|
434
434
|
headers = {
|
|
435
435
|
"content-type": "application/json",
|
|
436
436
|
};
|
|
437
|
-
resolvedPath = ""
|
|
437
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/ListPlaybackKeyPairs";
|
|
438
438
|
body = JSON.stringify(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
439
439
|
return [2, new __HttpRequest({
|
|
440
440
|
protocol: protocol,
|
|
@@ -458,7 +458,7 @@ export var serializeAws_restJson1ListRecordingConfigurationsCommand = function (
|
|
|
458
458
|
headers = {
|
|
459
459
|
"content-type": "application/json",
|
|
460
460
|
};
|
|
461
|
-
resolvedPath = ""
|
|
461
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/ListRecordingConfigurations";
|
|
462
462
|
body = JSON.stringify(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
463
463
|
return [2, new __HttpRequest({
|
|
464
464
|
protocol: protocol,
|
|
@@ -482,7 +482,7 @@ export var serializeAws_restJson1ListStreamKeysCommand = function (input, contex
|
|
|
482
482
|
headers = {
|
|
483
483
|
"content-type": "application/json",
|
|
484
484
|
};
|
|
485
|
-
resolvedPath = ""
|
|
485
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/ListStreamKeys";
|
|
486
486
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.channelArn !== undefined && input.channelArn !== null && { channelArn: input.channelArn })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
487
487
|
return [2, new __HttpRequest({
|
|
488
488
|
protocol: protocol,
|
|
@@ -506,7 +506,7 @@ export var serializeAws_restJson1ListStreamsCommand = function (input, context)
|
|
|
506
506
|
headers = {
|
|
507
507
|
"content-type": "application/json",
|
|
508
508
|
};
|
|
509
|
-
resolvedPath = ""
|
|
509
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/ListStreams";
|
|
510
510
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.filterBy !== undefined &&
|
|
511
511
|
input.filterBy !== null && { filterBy: serializeAws_restJson1StreamFilters(input.filterBy, context) })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
512
512
|
return [2, new __HttpRequest({
|
|
@@ -531,7 +531,7 @@ export var serializeAws_restJson1ListStreamSessionsCommand = function (input, co
|
|
|
531
531
|
headers = {
|
|
532
532
|
"content-type": "application/json",
|
|
533
533
|
};
|
|
534
|
-
resolvedPath = ""
|
|
534
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/ListStreamSessions";
|
|
535
535
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.channelArn !== undefined && input.channelArn !== null && { channelArn: input.channelArn })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
536
536
|
return [2, new __HttpRequest({
|
|
537
537
|
protocol: protocol,
|
|
@@ -553,7 +553,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
553
553
|
case 1:
|
|
554
554
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
555
555
|
headers = {};
|
|
556
|
-
resolvedPath = ""
|
|
556
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
557
557
|
if (input.resourceArn !== undefined) {
|
|
558
558
|
labelValue = input.resourceArn;
|
|
559
559
|
if (labelValue.length <= 0) {
|
|
@@ -586,7 +586,7 @@ export var serializeAws_restJson1PutMetadataCommand = function (input, context)
|
|
|
586
586
|
headers = {
|
|
587
587
|
"content-type": "application/json",
|
|
588
588
|
};
|
|
589
|
-
resolvedPath = ""
|
|
589
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/PutMetadata";
|
|
590
590
|
body = JSON.stringify(__assign(__assign({}, (input.channelArn !== undefined && input.channelArn !== null && { channelArn: input.channelArn })), (input.metadata !== undefined && input.metadata !== null && { metadata: input.metadata })));
|
|
591
591
|
return [2, new __HttpRequest({
|
|
592
592
|
protocol: protocol,
|
|
@@ -610,7 +610,7 @@ export var serializeAws_restJson1StopStreamCommand = function (input, context) {
|
|
|
610
610
|
headers = {
|
|
611
611
|
"content-type": "application/json",
|
|
612
612
|
};
|
|
613
|
-
resolvedPath = ""
|
|
613
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/StopStream";
|
|
614
614
|
body = JSON.stringify(__assign({}, (input.channelArn !== undefined && input.channelArn !== null && { channelArn: input.channelArn })));
|
|
615
615
|
return [2, new __HttpRequest({
|
|
616
616
|
protocol: protocol,
|
|
@@ -634,7 +634,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
634
634
|
headers = {
|
|
635
635
|
"content-type": "application/json",
|
|
636
636
|
};
|
|
637
|
-
resolvedPath = ""
|
|
637
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
638
638
|
if (input.resourceArn !== undefined) {
|
|
639
639
|
labelValue = input.resourceArn;
|
|
640
640
|
if (labelValue.length <= 0) {
|
|
@@ -666,7 +666,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
666
666
|
case 1:
|
|
667
667
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
668
668
|
headers = {};
|
|
669
|
-
resolvedPath = ""
|
|
669
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
670
670
|
if (input.resourceArn !== undefined) {
|
|
671
671
|
labelValue = input.resourceArn;
|
|
672
672
|
if (labelValue.length <= 0) {
|
|
@@ -701,7 +701,7 @@ export var serializeAws_restJson1UpdateChannelCommand = function (input, context
|
|
|
701
701
|
headers = {
|
|
702
702
|
"content-type": "application/json",
|
|
703
703
|
};
|
|
704
|
-
resolvedPath = ""
|
|
704
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/UpdateChannel";
|
|
705
705
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.arn !== undefined && input.arn !== null && { arn: input.arn })), (input.authorized !== undefined && input.authorized !== null && { authorized: input.authorized })), (input.latencyMode !== undefined && input.latencyMode !== null && { latencyMode: input.latencyMode })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.recordingConfigurationArn !== undefined &&
|
|
706
706
|
input.recordingConfigurationArn !== null && { recordingConfigurationArn: input.recordingConfigurationArn })), (input.type !== undefined && input.type !== null && { type: input.type })));
|
|
707
707
|
return [2, new __HttpRequest({
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { BatchGetChannelCommandInput, BatchGetChannelCommandOutput } from "./commands/BatchGetChannelCommand";
|
|
10
10
|
import { BatchGetStreamKeyCommandInput, BatchGetStreamKeyCommandOutput } from "./commands/BatchGetStreamKeyCommand";
|
|
11
11
|
import { CreateChannelCommandInput, CreateChannelCommandOutput } from "./commands/CreateChannelCommand";
|
|
@@ -56,7 +56,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
56
56
|
* A function that can calculate the length of a request body.
|
|
57
57
|
* @internal
|
|
58
58
|
*/
|
|
59
|
-
bodyLengthChecker?:
|
|
59
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
60
60
|
/**
|
|
61
61
|
* A function that converts a stream into an array of bytes.
|
|
62
62
|
* @internal
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: IvsClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: IvsClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: IvsClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: IvsClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { BatchGetChannelCommandInput, BatchGetChannelCommandOutput } from "./commands/BatchGetChannelCommand";
|
|
10
10
|
import { BatchGetStreamKeyCommandInput, BatchGetStreamKeyCommandOutput } from "./commands/BatchGetStreamKeyCommand";
|
|
11
11
|
import { CreateChannelCommandInput, CreateChannelCommandOutput } from "./commands/CreateChannelCommand";
|
|
@@ -44,7 +44,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
44
44
|
|
|
45
45
|
urlParser?: __UrlParser;
|
|
46
46
|
|
|
47
|
-
bodyLengthChecker?:
|
|
47
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
48
48
|
|
|
49
49
|
streamCollector?: __StreamCollector;
|
|
50
50
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: IvsClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: IvsClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: IvsClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: IvsClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ivs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ivs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.55.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,47 +18,47 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
51
|
-
"tslib": "^2.3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.55.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.55.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.55.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.55.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.55.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.55.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.55.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.55.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.55.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.55.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.55.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.55.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.55.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.55.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.55.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.55.0",
|
|
39
|
+
"@aws-sdk/types": "3.55.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.55.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.55.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.55.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.55.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.55.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.55.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
|
+
"tslib": "^2.3.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.55.0",
|
|
55
55
|
"@tsconfig/recommended": "1.0.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"concurrently": "7.0.0",
|
|
58
58
|
"downlevel-dts": "0.7.0",
|
|
59
59
|
"rimraf": "3.0.2",
|
|
60
60
|
"typedoc": "0.19.2",
|
|
61
|
-
"typescript": "~4.
|
|
61
|
+
"typescript": "~4.6.2"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=12.0.0"
|