@aws-sdk/client-mediaconnect 3.171.0 → 3.174.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 +11 -0
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +6 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +6 -4
- package/dist-types/models/models_0.d.ts +25 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.174.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.173.0...v3.174.0) (2022-09-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-mediaconnect:** This change allows the customer to use the SRT Caller protocol as part of their flows ([6e0d3c0](https://github.com/aws/aws-sdk-js-v3/commit/6e0d3c05917c4aabb700e227bcd7797a18ef2e33))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-mediaconnect
|
|
@@ -75,6 +75,7 @@ var Protocol;
|
|
|
75
75
|
Protocol["rist"] = "rist";
|
|
76
76
|
Protocol["rtp"] = "rtp";
|
|
77
77
|
Protocol["rtp_fec"] = "rtp-fec";
|
|
78
|
+
Protocol["srt_caller"] = "srt-caller";
|
|
78
79
|
Protocol["srt_listener"] = "srt-listener";
|
|
79
80
|
Protocol["st2110_jpegxs"] = "st2110-jpegxs";
|
|
80
81
|
Protocol["zixi_pull"] = "zixi-pull";
|
|
@@ -675,6 +675,8 @@ const serializeAws_restJson1UpdateFlowSourceCommand = async (input, context) =>
|
|
|
675
675
|
...(input.Protocol != null && { protocol: input.Protocol }),
|
|
676
676
|
...(input.SenderControlPort != null && { senderControlPort: input.SenderControlPort }),
|
|
677
677
|
...(input.SenderIpAddress != null && { senderIpAddress: input.SenderIpAddress }),
|
|
678
|
+
...(input.SourceListenerAddress != null && { sourceListenerAddress: input.SourceListenerAddress }),
|
|
679
|
+
...(input.SourceListenerPort != null && { sourceListenerPort: input.SourceListenerPort }),
|
|
678
680
|
...(input.StreamId != null && { streamId: input.StreamId }),
|
|
679
681
|
...(input.VpcInterfaceName != null && { vpcInterfaceName: input.VpcInterfaceName }),
|
|
680
682
|
...(input.WhitelistCidr != null && { whitelistCidr: input.WhitelistCidr }),
|
|
@@ -2524,6 +2526,8 @@ const serializeAws_restJson1SetSourceRequest = (input, context) => {
|
|
|
2524
2526
|
...(input.Protocol != null && { protocol: input.Protocol }),
|
|
2525
2527
|
...(input.SenderControlPort != null && { senderControlPort: input.SenderControlPort }),
|
|
2526
2528
|
...(input.SenderIpAddress != null && { senderIpAddress: input.SenderIpAddress }),
|
|
2529
|
+
...(input.SourceListenerAddress != null && { sourceListenerAddress: input.SourceListenerAddress }),
|
|
2530
|
+
...(input.SourceListenerPort != null && { sourceListenerPort: input.SourceListenerPort }),
|
|
2527
2531
|
...(input.StreamId != null && { streamId: input.StreamId }),
|
|
2528
2532
|
...(input.VpcInterfaceName != null && { vpcInterfaceName: input.VpcInterfaceName }),
|
|
2529
2533
|
...(input.WhitelistCidr != null && { whitelistCidr: input.WhitelistCidr }),
|
|
@@ -3013,6 +3017,8 @@ const deserializeAws_restJson1Transport = (output, context) => {
|
|
|
3013
3017
|
SenderControlPort: (0, smithy_client_1.expectInt32)(output.senderControlPort),
|
|
3014
3018
|
SenderIpAddress: (0, smithy_client_1.expectString)(output.senderIpAddress),
|
|
3015
3019
|
SmoothingLatency: (0, smithy_client_1.expectInt32)(output.smoothingLatency),
|
|
3020
|
+
SourceListenerAddress: (0, smithy_client_1.expectString)(output.sourceListenerAddress),
|
|
3021
|
+
SourceListenerPort: (0, smithy_client_1.expectInt32)(output.sourceListenerPort),
|
|
3016
3022
|
StreamId: (0, smithy_client_1.expectString)(output.streamId),
|
|
3017
3023
|
};
|
|
3018
3024
|
};
|
|
@@ -71,6 +71,7 @@ export var Protocol;
|
|
|
71
71
|
Protocol["rist"] = "rist";
|
|
72
72
|
Protocol["rtp"] = "rtp";
|
|
73
73
|
Protocol["rtp_fec"] = "rtp-fec";
|
|
74
|
+
Protocol["srt_caller"] = "srt-caller";
|
|
74
75
|
Protocol["srt_listener"] = "srt-listener";
|
|
75
76
|
Protocol["st2110_jpegxs"] = "st2110-jpegxs";
|
|
76
77
|
Protocol["zixi_pull"] = "zixi-pull";
|
|
@@ -750,9 +750,9 @@ export var serializeAws_restJson1UpdateFlowSourceCommand = function (input, cont
|
|
|
750
750
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/flows/{FlowArn}/source/{SourceArn}";
|
|
751
751
|
resolvedPath = __resolvedPath(resolvedPath, input, "FlowArn", function () { return input.FlowArn; }, "{FlowArn}", false);
|
|
752
752
|
resolvedPath = __resolvedPath(resolvedPath, input, "SourceArn", function () { return input.SourceArn; }, "{SourceArn}", false);
|
|
753
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Decryption != null && { decryption: serializeAws_restJson1UpdateEncryption(input.Decryption, context) })), (input.Description != null && { description: input.Description })), (input.EntitlementArn != null && { entitlementArn: input.EntitlementArn })), (input.IngestPort != null && { ingestPort: input.IngestPort })), (input.MaxBitrate != null && { maxBitrate: input.MaxBitrate })), (input.MaxLatency != null && { maxLatency: input.MaxLatency })), (input.MaxSyncBuffer != null && { maxSyncBuffer: input.MaxSyncBuffer })), (input.MediaStreamSourceConfigurations != null && {
|
|
753
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Decryption != null && { decryption: serializeAws_restJson1UpdateEncryption(input.Decryption, context) })), (input.Description != null && { description: input.Description })), (input.EntitlementArn != null && { entitlementArn: input.EntitlementArn })), (input.IngestPort != null && { ingestPort: input.IngestPort })), (input.MaxBitrate != null && { maxBitrate: input.MaxBitrate })), (input.MaxLatency != null && { maxLatency: input.MaxLatency })), (input.MaxSyncBuffer != null && { maxSyncBuffer: input.MaxSyncBuffer })), (input.MediaStreamSourceConfigurations != null && {
|
|
754
754
|
mediaStreamSourceConfigurations: serializeAws_restJson1__listOfMediaStreamSourceConfigurationRequest(input.MediaStreamSourceConfigurations, context),
|
|
755
|
-
})), (input.MinLatency != null && { minLatency: input.MinLatency })), (input.Protocol != null && { protocol: input.Protocol })), (input.SenderControlPort != null && { senderControlPort: input.SenderControlPort })), (input.SenderIpAddress != null && { senderIpAddress: input.SenderIpAddress })), (input.StreamId != null && { streamId: input.StreamId })), (input.VpcInterfaceName != null && { vpcInterfaceName: input.VpcInterfaceName })), (input.WhitelistCidr != null && { whitelistCidr: input.WhitelistCidr })));
|
|
755
|
+
})), (input.MinLatency != null && { minLatency: input.MinLatency })), (input.Protocol != null && { protocol: input.Protocol })), (input.SenderControlPort != null && { senderControlPort: input.SenderControlPort })), (input.SenderIpAddress != null && { senderIpAddress: input.SenderIpAddress })), (input.SourceListenerAddress != null && { sourceListenerAddress: input.SourceListenerAddress })), (input.SourceListenerPort != null && { sourceListenerPort: input.SourceListenerPort })), (input.StreamId != null && { streamId: input.StreamId })), (input.VpcInterfaceName != null && { vpcInterfaceName: input.VpcInterfaceName })), (input.WhitelistCidr != null && { whitelistCidr: input.WhitelistCidr })));
|
|
756
756
|
return [2, new __HttpRequest({
|
|
757
757
|
protocol: protocol,
|
|
758
758
|
hostname: hostname,
|
|
@@ -3290,9 +3290,9 @@ var serializeAws_restJson1MediaStreamSourceConfigurationRequest = function (inpu
|
|
|
3290
3290
|
})), (input.MediaStreamName != null && { mediaStreamName: input.MediaStreamName }));
|
|
3291
3291
|
};
|
|
3292
3292
|
var serializeAws_restJson1SetSourceRequest = function (input, context) {
|
|
3293
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Decryption != null && { decryption: serializeAws_restJson1Encryption(input.Decryption, context) })), (input.Description != null && { description: input.Description })), (input.EntitlementArn != null && { entitlementArn: input.EntitlementArn })), (input.IngestPort != null && { ingestPort: input.IngestPort })), (input.MaxBitrate != null && { maxBitrate: input.MaxBitrate })), (input.MaxLatency != null && { maxLatency: input.MaxLatency })), (input.MaxSyncBuffer != null && { maxSyncBuffer: input.MaxSyncBuffer })), (input.MediaStreamSourceConfigurations != null && {
|
|
3293
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Decryption != null && { decryption: serializeAws_restJson1Encryption(input.Decryption, context) })), (input.Description != null && { description: input.Description })), (input.EntitlementArn != null && { entitlementArn: input.EntitlementArn })), (input.IngestPort != null && { ingestPort: input.IngestPort })), (input.MaxBitrate != null && { maxBitrate: input.MaxBitrate })), (input.MaxLatency != null && { maxLatency: input.MaxLatency })), (input.MaxSyncBuffer != null && { maxSyncBuffer: input.MaxSyncBuffer })), (input.MediaStreamSourceConfigurations != null && {
|
|
3294
3294
|
mediaStreamSourceConfigurations: serializeAws_restJson1__listOfMediaStreamSourceConfigurationRequest(input.MediaStreamSourceConfigurations, context),
|
|
3295
|
-
})), (input.MinLatency != null && { minLatency: input.MinLatency })), (input.Name != null && { name: input.Name })), (input.Protocol != null && { protocol: input.Protocol })), (input.SenderControlPort != null && { senderControlPort: input.SenderControlPort })), (input.SenderIpAddress != null && { senderIpAddress: input.SenderIpAddress })), (input.StreamId != null && { streamId: input.StreamId })), (input.VpcInterfaceName != null && { vpcInterfaceName: input.VpcInterfaceName })), (input.WhitelistCidr != null && { whitelistCidr: input.WhitelistCidr }));
|
|
3295
|
+
})), (input.MinLatency != null && { minLatency: input.MinLatency })), (input.Name != null && { name: input.Name })), (input.Protocol != null && { protocol: input.Protocol })), (input.SenderControlPort != null && { senderControlPort: input.SenderControlPort })), (input.SenderIpAddress != null && { senderIpAddress: input.SenderIpAddress })), (input.SourceListenerAddress != null && { sourceListenerAddress: input.SourceListenerAddress })), (input.SourceListenerPort != null && { sourceListenerPort: input.SourceListenerPort })), (input.StreamId != null && { streamId: input.StreamId })), (input.VpcInterfaceName != null && { vpcInterfaceName: input.VpcInterfaceName })), (input.WhitelistCidr != null && { whitelistCidr: input.WhitelistCidr }));
|
|
3296
3296
|
};
|
|
3297
3297
|
var serializeAws_restJson1SourcePriority = function (input, context) {
|
|
3298
3298
|
return __assign({}, (input.PrimarySource != null && { primarySource: input.PrimarySource }));
|
|
@@ -3748,6 +3748,8 @@ var deserializeAws_restJson1Transport = function (output, context) {
|
|
|
3748
3748
|
SenderControlPort: __expectInt32(output.senderControlPort),
|
|
3749
3749
|
SenderIpAddress: __expectString(output.senderIpAddress),
|
|
3750
3750
|
SmoothingLatency: __expectInt32(output.smoothingLatency),
|
|
3751
|
+
SourceListenerAddress: __expectString(output.sourceListenerAddress),
|
|
3752
|
+
SourceListenerPort: __expectInt32(output.sourceListenerPort),
|
|
3751
3753
|
StreamId: __expectString(output.streamId),
|
|
3752
3754
|
};
|
|
3753
3755
|
};
|
|
@@ -241,6 +241,7 @@ export declare enum Protocol {
|
|
|
241
241
|
rist = "rist",
|
|
242
242
|
rtp = "rtp",
|
|
243
243
|
rtp_fec = "rtp-fec",
|
|
244
|
+
srt_caller = "srt-caller",
|
|
244
245
|
srt_listener = "srt-listener",
|
|
245
246
|
st2110_jpegxs = "st2110-jpegxs",
|
|
246
247
|
zixi_pull = "zixi-pull",
|
|
@@ -793,6 +794,14 @@ export interface Transport {
|
|
|
793
794
|
* The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
|
|
794
795
|
*/
|
|
795
796
|
SmoothingLatency?: number;
|
|
797
|
+
/**
|
|
798
|
+
* Source IP or domain name for SRT-caller protocol.
|
|
799
|
+
*/
|
|
800
|
+
SourceListenerAddress?: string;
|
|
801
|
+
/**
|
|
802
|
+
* Source port for SRT-caller protocol.
|
|
803
|
+
*/
|
|
804
|
+
SourceListenerPort?: number;
|
|
796
805
|
/**
|
|
797
806
|
* The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.
|
|
798
807
|
*/
|
|
@@ -974,6 +983,14 @@ export interface SetSourceRequest {
|
|
|
974
983
|
* The IP address that the flow communicates with to initiate connection with the sender.
|
|
975
984
|
*/
|
|
976
985
|
SenderIpAddress?: string;
|
|
986
|
+
/**
|
|
987
|
+
* Source IP or domain name for SRT-caller protocol.
|
|
988
|
+
*/
|
|
989
|
+
SourceListenerAddress?: string;
|
|
990
|
+
/**
|
|
991
|
+
* Source port for SRT-caller protocol.
|
|
992
|
+
*/
|
|
993
|
+
SourceListenerPort?: number;
|
|
977
994
|
/**
|
|
978
995
|
* The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.
|
|
979
996
|
*/
|
|
@@ -2173,6 +2190,14 @@ export interface UpdateFlowSourceRequest {
|
|
|
2173
2190
|
* The ARN of the source that you want to update.
|
|
2174
2191
|
*/
|
|
2175
2192
|
SourceArn: string | undefined;
|
|
2193
|
+
/**
|
|
2194
|
+
* Source IP or domain name for SRT-caller protocol.
|
|
2195
|
+
*/
|
|
2196
|
+
SourceListenerAddress?: string;
|
|
2197
|
+
/**
|
|
2198
|
+
* Source port for SRT-caller protocol.
|
|
2199
|
+
*/
|
|
2200
|
+
SourceListenerPort?: number;
|
|
2176
2201
|
/**
|
|
2177
2202
|
* The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.
|
|
2178
2203
|
*/
|
|
@@ -112,6 +112,7 @@ export declare enum Protocol {
|
|
|
112
112
|
rist = "rist",
|
|
113
113
|
rtp = "rtp",
|
|
114
114
|
rtp_fec = "rtp-fec",
|
|
115
|
+
srt_caller = "srt-caller",
|
|
115
116
|
srt_listener = "srt-listener",
|
|
116
117
|
st2110_jpegxs = "st2110-jpegxs",
|
|
117
118
|
zixi_pull = "zixi-pull",
|
|
@@ -295,6 +296,8 @@ export interface Transport {
|
|
|
295
296
|
SenderControlPort?: number;
|
|
296
297
|
SenderIpAddress?: string;
|
|
297
298
|
SmoothingLatency?: number;
|
|
299
|
+
SourceListenerAddress?: string;
|
|
300
|
+
SourceListenerPort?: number;
|
|
298
301
|
StreamId?: string;
|
|
299
302
|
}
|
|
300
303
|
export interface Output {
|
|
@@ -347,6 +350,8 @@ export interface SetSourceRequest {
|
|
|
347
350
|
Protocol?: Protocol | string;
|
|
348
351
|
SenderControlPort?: number;
|
|
349
352
|
SenderIpAddress?: string;
|
|
353
|
+
SourceListenerAddress?: string;
|
|
354
|
+
SourceListenerPort?: number;
|
|
350
355
|
StreamId?: string;
|
|
351
356
|
VpcInterfaceName?: string;
|
|
352
357
|
WhitelistCidr?: string;
|
|
@@ -780,6 +785,8 @@ export interface UpdateFlowSourceRequest {
|
|
|
780
785
|
SenderControlPort?: number;
|
|
781
786
|
SenderIpAddress?: string;
|
|
782
787
|
SourceArn: string | undefined;
|
|
788
|
+
SourceListenerAddress?: string;
|
|
789
|
+
SourceListenerPort?: number;
|
|
783
790
|
StreamId?: string;
|
|
784
791
|
VpcInterfaceName?: string;
|
|
785
792
|
WhitelistCidr?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediaconnect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediaconnect Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.174.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",
|