@aws-sdk/client-mediaconnect 3.41.0 → 3.46.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 CHANGED
@@ -3,6 +3,50 @@
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.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
12
+
13
+
14
+ ### Features
15
+
16
+ * **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
17
+ * end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
18
+
19
+
20
+
21
+
22
+
23
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
24
+
25
+
26
+ ### Features
27
+
28
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
29
+
30
+
31
+
32
+
33
+
34
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
35
+
36
+ **Note:** Version bump only for package @aws-sdk/client-mediaconnect
37
+
38
+
39
+
40
+
41
+
42
+ # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
43
+
44
+ **Note:** Version bump only for package @aws-sdk/client-mediaconnect
45
+
46
+
47
+
48
+
49
+
6
50
  # [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
7
51
 
8
52
 
@@ -14,6 +14,7 @@ const partitionHash = {
14
14
  "ap-south-1",
15
15
  "ap-southeast-1",
16
16
  "ap-southeast-2",
17
+ "ap-southeast-3",
17
18
  "ca-central-1",
18
19
  "eu-central-1",
19
20
  "eu-north-1",
@@ -118,6 +118,7 @@ var MediaStreamOutputConfigurationRequest;
118
118
  var Protocol;
119
119
  (function (Protocol) {
120
120
  Protocol["cdi"] = "cdi";
121
+ Protocol["fujitsu_qos"] = "fujitsu-qos";
121
122
  Protocol["rist"] = "rist";
122
123
  Protocol["rtp"] = "rtp";
123
124
  Protocol["rtp_fec"] = "rtp-fec";
@@ -938,6 +938,10 @@ const serializeAws_restJson1UpdateFlowOutputCommand = async (input, context) =>
938
938
  ...(input.Port !== undefined && input.Port !== null && { port: input.Port }),
939
939
  ...(input.Protocol !== undefined && input.Protocol !== null && { protocol: input.Protocol }),
940
940
  ...(input.RemoteId !== undefined && input.RemoteId !== null && { remoteId: input.RemoteId }),
941
+ ...(input.SenderControlPort !== undefined &&
942
+ input.SenderControlPort !== null && { senderControlPort: input.SenderControlPort }),
943
+ ...(input.SenderIpAddress !== undefined &&
944
+ input.SenderIpAddress !== null && { senderIpAddress: input.SenderIpAddress }),
941
945
  ...(input.SmoothingLatency !== undefined &&
942
946
  input.SmoothingLatency !== null && { smoothingLatency: input.SmoothingLatency }),
943
947
  ...(input.StreamId !== undefined && input.StreamId !== null && { streamId: input.StreamId }),
@@ -1000,6 +1004,10 @@ const serializeAws_restJson1UpdateFlowSourceCommand = async (input, context) =>
1000
1004
  }),
1001
1005
  ...(input.MinLatency !== undefined && input.MinLatency !== null && { minLatency: input.MinLatency }),
1002
1006
  ...(input.Protocol !== undefined && input.Protocol !== null && { protocol: input.Protocol }),
1007
+ ...(input.SenderControlPort !== undefined &&
1008
+ input.SenderControlPort !== null && { senderControlPort: input.SenderControlPort }),
1009
+ ...(input.SenderIpAddress !== undefined &&
1010
+ input.SenderIpAddress !== null && { senderIpAddress: input.SenderIpAddress }),
1003
1011
  ...(input.StreamId !== undefined && input.StreamId !== null && { streamId: input.StreamId }),
1004
1012
  ...(input.VpcInterfaceName !== undefined &&
1005
1013
  input.VpcInterfaceName !== null && { vpcInterfaceName: input.VpcInterfaceName }),
@@ -3868,6 +3876,8 @@ const serializeAws_restJson1AddOutputRequest = (input, context) => {
3868
3876
  ...(input.Port !== undefined && input.Port !== null && { port: input.Port }),
3869
3877
  ...(input.Protocol !== undefined && input.Protocol !== null && { protocol: input.Protocol }),
3870
3878
  ...(input.RemoteId !== undefined && input.RemoteId !== null && { remoteId: input.RemoteId }),
3879
+ ...(input.SenderControlPort !== undefined &&
3880
+ input.SenderControlPort !== null && { senderControlPort: input.SenderControlPort }),
3871
3881
  ...(input.SmoothingLatency !== undefined &&
3872
3882
  input.SmoothingLatency !== null && { smoothingLatency: input.SmoothingLatency }),
3873
3883
  ...(input.StreamId !== undefined && input.StreamId !== null && { streamId: input.StreamId }),
@@ -4015,6 +4025,10 @@ const serializeAws_restJson1SetSourceRequest = (input, context) => {
4015
4025
  ...(input.MinLatency !== undefined && input.MinLatency !== null && { minLatency: input.MinLatency }),
4016
4026
  ...(input.Name !== undefined && input.Name !== null && { name: input.Name }),
4017
4027
  ...(input.Protocol !== undefined && input.Protocol !== null && { protocol: input.Protocol }),
4028
+ ...(input.SenderControlPort !== undefined &&
4029
+ input.SenderControlPort !== null && { senderControlPort: input.SenderControlPort }),
4030
+ ...(input.SenderIpAddress !== undefined &&
4031
+ input.SenderIpAddress !== null && { senderIpAddress: input.SenderIpAddress }),
4018
4032
  ...(input.StreamId !== undefined && input.StreamId !== null && { streamId: input.StreamId }),
4019
4033
  ...(input.VpcInterfaceName !== undefined &&
4020
4034
  input.VpcInterfaceName !== null && { vpcInterfaceName: input.VpcInterfaceName }),
@@ -4479,6 +4493,8 @@ const deserializeAws_restJson1Source = (output, context) => {
4479
4493
  ? deserializeAws_restJson1__listOfMediaStreamSourceConfiguration(output.mediaStreamSourceConfigurations, context)
4480
4494
  : undefined,
4481
4495
  Name: smithy_client_1.expectString(output.name),
4496
+ SenderControlPort: smithy_client_1.expectInt32(output.senderControlPort),
4497
+ SenderIpAddress: smithy_client_1.expectString(output.senderIpAddress),
4482
4498
  SourceArn: smithy_client_1.expectString(output.sourceArn),
4483
4499
  Transport: output.transport !== undefined && output.transport !== null
4484
4500
  ? deserializeAws_restJson1Transport(output.transport, context)
@@ -4503,6 +4519,8 @@ const deserializeAws_restJson1Transport = (output, context) => {
4503
4519
  MinLatency: smithy_client_1.expectInt32(output.minLatency),
4504
4520
  Protocol: smithy_client_1.expectString(output.protocol),
4505
4521
  RemoteId: smithy_client_1.expectString(output.remoteId),
4522
+ SenderControlPort: smithy_client_1.expectInt32(output.senderControlPort),
4523
+ SenderIpAddress: smithy_client_1.expectString(output.senderIpAddress),
4506
4524
  SmoothingLatency: smithy_client_1.expectInt32(output.smoothingLatency),
4507
4525
  StreamId: smithy_client_1.expectString(output.streamId),
4508
4526
  };
@@ -15,10 +15,8 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
15
15
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
- const smithy_client_1 = require("@aws-sdk/smithy-client");
19
18
  const getRuntimeConfig = (config) => {
20
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
20
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
21
  return {
24
22
  ...clientSharedValues,
@@ -12,6 +12,7 @@ var partitionHash = {
12
12
  "ap-south-1",
13
13
  "ap-southeast-1",
14
14
  "ap-southeast-2",
15
+ "ap-southeast-3",
15
16
  "ca-central-1",
16
17
  "eu-central-1",
17
18
  "eu-north-1",
@@ -98,6 +98,7 @@ export var MediaStreamOutputConfigurationRequest;
98
98
  export var Protocol;
99
99
  (function (Protocol) {
100
100
  Protocol["cdi"] = "cdi";
101
+ Protocol["fujitsu_qos"] = "fujitsu-qos";
101
102
  Protocol["rist"] = "rist";
102
103
  Protocol["rtp"] = "rtp";
103
104
  Protocol["rtp_fec"] = "rtp-fec";
@@ -1009,14 +1009,16 @@ export var serializeAws_restJson1UpdateFlowOutputCommand = function (input, cont
1009
1009
  else {
1010
1010
  throw new Error("No value provided for input HTTP label: OutputArn.");
1011
1011
  }
1012
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CidrAllowList !== undefined &&
1012
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CidrAllowList !== undefined &&
1013
1013
  input.CidrAllowList !== null && {
1014
1014
  cidrAllowList: serializeAws_restJson1__listOf__string(input.CidrAllowList, context),
1015
1015
  })), (input.Description !== undefined && input.Description !== null && { description: input.Description })), (input.Destination !== undefined && input.Destination !== null && { destination: input.Destination })), (input.Encryption !== undefined &&
1016
1016
  input.Encryption !== null && { encryption: serializeAws_restJson1UpdateEncryption(input.Encryption, context) })), (input.MaxLatency !== undefined && input.MaxLatency !== null && { maxLatency: input.MaxLatency })), (input.MediaStreamOutputConfigurations !== undefined &&
1017
1017
  input.MediaStreamOutputConfigurations !== null && {
1018
1018
  mediaStreamOutputConfigurations: serializeAws_restJson1__listOfMediaStreamOutputConfigurationRequest(input.MediaStreamOutputConfigurations, context),
1019
- })), (input.MinLatency !== undefined && input.MinLatency !== null && { minLatency: input.MinLatency })), (input.Port !== undefined && input.Port !== null && { port: input.Port })), (input.Protocol !== undefined && input.Protocol !== null && { protocol: input.Protocol })), (input.RemoteId !== undefined && input.RemoteId !== null && { remoteId: input.RemoteId })), (input.SmoothingLatency !== undefined &&
1019
+ })), (input.MinLatency !== undefined && input.MinLatency !== null && { minLatency: input.MinLatency })), (input.Port !== undefined && input.Port !== null && { port: input.Port })), (input.Protocol !== undefined && input.Protocol !== null && { protocol: input.Protocol })), (input.RemoteId !== undefined && input.RemoteId !== null && { remoteId: input.RemoteId })), (input.SenderControlPort !== undefined &&
1020
+ input.SenderControlPort !== null && { senderControlPort: input.SenderControlPort })), (input.SenderIpAddress !== undefined &&
1021
+ input.SenderIpAddress !== null && { senderIpAddress: input.SenderIpAddress })), (input.SmoothingLatency !== undefined &&
1020
1022
  input.SmoothingLatency !== null && { smoothingLatency: input.SmoothingLatency })), (input.StreamId !== undefined && input.StreamId !== null && { streamId: input.StreamId })), (input.VpcInterfaceAttachment !== undefined &&
1021
1023
  input.VpcInterfaceAttachment !== null && {
1022
1024
  vpcInterfaceAttachment: serializeAws_restJson1VpcInterfaceAttachment(input.VpcInterfaceAttachment, context),
@@ -1064,12 +1066,14 @@ export var serializeAws_restJson1UpdateFlowSourceCommand = function (input, cont
1064
1066
  else {
1065
1067
  throw new Error("No value provided for input HTTP label: SourceArn.");
1066
1068
  }
1067
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Decryption !== undefined &&
1069
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Decryption !== undefined &&
1068
1070
  input.Decryption !== null && { decryption: serializeAws_restJson1UpdateEncryption(input.Decryption, context) })), (input.Description !== undefined && input.Description !== null && { description: input.Description })), (input.EntitlementArn !== undefined &&
1069
1071
  input.EntitlementArn !== null && { entitlementArn: input.EntitlementArn })), (input.IngestPort !== undefined && input.IngestPort !== null && { ingestPort: input.IngestPort })), (input.MaxBitrate !== undefined && input.MaxBitrate !== null && { maxBitrate: input.MaxBitrate })), (input.MaxLatency !== undefined && input.MaxLatency !== null && { maxLatency: input.MaxLatency })), (input.MaxSyncBuffer !== undefined && input.MaxSyncBuffer !== null && { maxSyncBuffer: input.MaxSyncBuffer })), (input.MediaStreamSourceConfigurations !== undefined &&
1070
1072
  input.MediaStreamSourceConfigurations !== null && {
1071
1073
  mediaStreamSourceConfigurations: serializeAws_restJson1__listOfMediaStreamSourceConfigurationRequest(input.MediaStreamSourceConfigurations, context),
1072
- })), (input.MinLatency !== undefined && input.MinLatency !== null && { minLatency: input.MinLatency })), (input.Protocol !== undefined && input.Protocol !== null && { protocol: input.Protocol })), (input.StreamId !== undefined && input.StreamId !== null && { streamId: input.StreamId })), (input.VpcInterfaceName !== undefined &&
1074
+ })), (input.MinLatency !== undefined && input.MinLatency !== null && { minLatency: input.MinLatency })), (input.Protocol !== undefined && input.Protocol !== null && { protocol: input.Protocol })), (input.SenderControlPort !== undefined &&
1075
+ input.SenderControlPort !== null && { senderControlPort: input.SenderControlPort })), (input.SenderIpAddress !== undefined &&
1076
+ input.SenderIpAddress !== null && { senderIpAddress: input.SenderIpAddress })), (input.StreamId !== undefined && input.StreamId !== null && { streamId: input.StreamId })), (input.VpcInterfaceName !== undefined &&
1073
1077
  input.VpcInterfaceName !== null && { vpcInterfaceName: input.VpcInterfaceName })), (input.WhitelistCidr !== undefined && input.WhitelistCidr !== null && { whitelistCidr: input.WhitelistCidr })));
1074
1078
  return [2, new __HttpRequest({
1075
1079
  protocol: protocol,
@@ -4350,14 +4354,15 @@ var serializeAws_restJson1AddMediaStreamRequest = function (input, context) {
4350
4354
  input.MediaStreamType !== null && { mediaStreamType: input.MediaStreamType })), (input.VideoFormat !== undefined && input.VideoFormat !== null && { videoFormat: input.VideoFormat }));
4351
4355
  };
4352
4356
  var serializeAws_restJson1AddOutputRequest = function (input, context) {
4353
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CidrAllowList !== undefined &&
4357
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CidrAllowList !== undefined &&
4354
4358
  input.CidrAllowList !== null && {
4355
4359
  cidrAllowList: serializeAws_restJson1__listOf__string(input.CidrAllowList, context),
4356
4360
  })), (input.Description !== undefined && input.Description !== null && { description: input.Description })), (input.Destination !== undefined && input.Destination !== null && { destination: input.Destination })), (input.Encryption !== undefined &&
4357
4361
  input.Encryption !== null && { encryption: serializeAws_restJson1Encryption(input.Encryption, context) })), (input.MaxLatency !== undefined && input.MaxLatency !== null && { maxLatency: input.MaxLatency })), (input.MediaStreamOutputConfigurations !== undefined &&
4358
4362
  input.MediaStreamOutputConfigurations !== null && {
4359
4363
  mediaStreamOutputConfigurations: serializeAws_restJson1__listOfMediaStreamOutputConfigurationRequest(input.MediaStreamOutputConfigurations, context),
4360
- })), (input.MinLatency !== undefined && input.MinLatency !== null && { minLatency: input.MinLatency })), (input.Name !== undefined && input.Name !== null && { name: input.Name })), (input.Port !== undefined && input.Port !== null && { port: input.Port })), (input.Protocol !== undefined && input.Protocol !== null && { protocol: input.Protocol })), (input.RemoteId !== undefined && input.RemoteId !== null && { remoteId: input.RemoteId })), (input.SmoothingLatency !== undefined &&
4364
+ })), (input.MinLatency !== undefined && input.MinLatency !== null && { minLatency: input.MinLatency })), (input.Name !== undefined && input.Name !== null && { name: input.Name })), (input.Port !== undefined && input.Port !== null && { port: input.Port })), (input.Protocol !== undefined && input.Protocol !== null && { protocol: input.Protocol })), (input.RemoteId !== undefined && input.RemoteId !== null && { remoteId: input.RemoteId })), (input.SenderControlPort !== undefined &&
4365
+ input.SenderControlPort !== null && { senderControlPort: input.SenderControlPort })), (input.SmoothingLatency !== undefined &&
4361
4366
  input.SmoothingLatency !== null && { smoothingLatency: input.SmoothingLatency })), (input.StreamId !== undefined && input.StreamId !== null && { streamId: input.StreamId })), (input.VpcInterfaceAttachment !== undefined &&
4362
4367
  input.VpcInterfaceAttachment !== null && {
4363
4368
  vpcInterfaceAttachment: serializeAws_restJson1VpcInterfaceAttachment(input.VpcInterfaceAttachment, context),
@@ -4430,12 +4435,14 @@ var serializeAws_restJson1MediaStreamSourceConfigurationRequest = function (inpu
4430
4435
  input.MediaStreamName !== null && { mediaStreamName: input.MediaStreamName }));
4431
4436
  };
4432
4437
  var serializeAws_restJson1SetSourceRequest = function (input, context) {
4433
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Decryption !== undefined &&
4438
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Decryption !== undefined &&
4434
4439
  input.Decryption !== null && { decryption: serializeAws_restJson1Encryption(input.Decryption, context) })), (input.Description !== undefined && input.Description !== null && { description: input.Description })), (input.EntitlementArn !== undefined &&
4435
4440
  input.EntitlementArn !== null && { entitlementArn: input.EntitlementArn })), (input.IngestPort !== undefined && input.IngestPort !== null && { ingestPort: input.IngestPort })), (input.MaxBitrate !== undefined && input.MaxBitrate !== null && { maxBitrate: input.MaxBitrate })), (input.MaxLatency !== undefined && input.MaxLatency !== null && { maxLatency: input.MaxLatency })), (input.MaxSyncBuffer !== undefined && input.MaxSyncBuffer !== null && { maxSyncBuffer: input.MaxSyncBuffer })), (input.MediaStreamSourceConfigurations !== undefined &&
4436
4441
  input.MediaStreamSourceConfigurations !== null && {
4437
4442
  mediaStreamSourceConfigurations: serializeAws_restJson1__listOfMediaStreamSourceConfigurationRequest(input.MediaStreamSourceConfigurations, context),
4438
- })), (input.MinLatency !== undefined && input.MinLatency !== null && { minLatency: input.MinLatency })), (input.Name !== undefined && input.Name !== null && { name: input.Name })), (input.Protocol !== undefined && input.Protocol !== null && { protocol: input.Protocol })), (input.StreamId !== undefined && input.StreamId !== null && { streamId: input.StreamId })), (input.VpcInterfaceName !== undefined &&
4443
+ })), (input.MinLatency !== undefined && input.MinLatency !== null && { minLatency: input.MinLatency })), (input.Name !== undefined && input.Name !== null && { name: input.Name })), (input.Protocol !== undefined && input.Protocol !== null && { protocol: input.Protocol })), (input.SenderControlPort !== undefined &&
4444
+ input.SenderControlPort !== null && { senderControlPort: input.SenderControlPort })), (input.SenderIpAddress !== undefined &&
4445
+ input.SenderIpAddress !== null && { senderIpAddress: input.SenderIpAddress })), (input.StreamId !== undefined && input.StreamId !== null && { streamId: input.StreamId })), (input.VpcInterfaceName !== undefined &&
4439
4446
  input.VpcInterfaceName !== null && { vpcInterfaceName: input.VpcInterfaceName })), (input.WhitelistCidr !== undefined && input.WhitelistCidr !== null && { whitelistCidr: input.WhitelistCidr }));
4440
4447
  };
4441
4448
  var serializeAws_restJson1SourcePriority = function (input, context) {
@@ -4870,6 +4877,8 @@ var deserializeAws_restJson1Source = function (output, context) {
4870
4877
  ? deserializeAws_restJson1__listOfMediaStreamSourceConfiguration(output.mediaStreamSourceConfigurations, context)
4871
4878
  : undefined,
4872
4879
  Name: __expectString(output.name),
4880
+ SenderControlPort: __expectInt32(output.senderControlPort),
4881
+ SenderIpAddress: __expectString(output.senderIpAddress),
4873
4882
  SourceArn: __expectString(output.sourceArn),
4874
4883
  Transport: output.transport !== undefined && output.transport !== null
4875
4884
  ? deserializeAws_restJson1Transport(output.transport, context)
@@ -4894,6 +4903,8 @@ var deserializeAws_restJson1Transport = function (output, context) {
4894
4903
  MinLatency: __expectInt32(output.minLatency),
4895
4904
  Protocol: __expectString(output.protocol),
4896
4905
  RemoteId: __expectString(output.remoteId),
4906
+ SenderControlPort: __expectInt32(output.senderControlPort),
4907
+ SenderIpAddress: __expectString(output.senderIpAddress),
4897
4908
  SmoothingLatency: __expectInt32(output.smoothingLatency),
4898
4909
  StreamId: __expectString(output.streamId),
4899
4910
  };
@@ -12,10 +12,8 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
15
  export var getRuntimeConfig = function (config) {
17
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
- emitWarningIfUnsupportedVersion(process.version);
19
17
  var clientSharedValues = getSharedRuntimeConfig(config);
20
18
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
21
19
  };
@@ -284,6 +284,7 @@ export declare namespace MediaStreamOutputConfigurationRequest {
284
284
  }
285
285
  export declare enum Protocol {
286
286
  cdi = "cdi",
287
+ fujitsu_qos = "fujitsu-qos",
287
288
  rist = "rist",
288
289
  rtp = "rtp",
289
290
  rtp_fec = "rtp-fec",
@@ -328,7 +329,7 @@ export interface AddOutputRequest {
328
329
  */
329
330
  Encryption?: Encryption;
330
331
  /**
331
- * The maximum latency in milliseconds for Zixi-based streams.
332
+ * The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.
332
333
  */
333
334
  MaxLatency?: number;
334
335
  /**
@@ -355,6 +356,10 @@ export interface AddOutputRequest {
355
356
  * The remote ID for the Zixi-pull output stream.
356
357
  */
357
358
  RemoteId?: string;
359
+ /**
360
+ * The port that the flow uses to send outbound requests to initiate connection with the sender.
361
+ */
362
+ SenderControlPort?: number;
358
363
  /**
359
364
  * The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
360
365
  */
@@ -884,7 +889,7 @@ export interface Transport {
884
889
  */
885
890
  MaxBitrate?: number;
886
891
  /**
887
- * The maximum latency in milliseconds. This parameter applies only to RIST-based and Zixi-based streams.
892
+ * The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.
888
893
  */
889
894
  MaxLatency?: number;
890
895
  /**
@@ -903,6 +908,14 @@ export interface Transport {
903
908
  * The remote ID for the Zixi-pull stream.
904
909
  */
905
910
  RemoteId?: string;
911
+ /**
912
+ * The port that the flow uses to send outbound requests to initiate connection with the sender.
913
+ */
914
+ SenderControlPort?: number;
915
+ /**
916
+ * The IP address that the flow communicates with to initiate connection with the sender.
917
+ */
918
+ SenderIpAddress?: string;
906
919
  /**
907
920
  * The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
908
921
  */
@@ -1075,7 +1088,7 @@ export interface SetSourceRequest {
1075
1088
  */
1076
1089
  MaxBitrate?: number;
1077
1090
  /**
1078
- * The maximum latency in milliseconds. This parameter applies only to RIST-based and Zixi-based streams.
1091
+ * The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.
1079
1092
  */
1080
1093
  MaxLatency?: number;
1081
1094
  /**
@@ -1098,6 +1111,14 @@ export interface SetSourceRequest {
1098
1111
  * The protocol that is used by the source.
1099
1112
  */
1100
1113
  Protocol?: Protocol | string;
1114
+ /**
1115
+ * The port that the flow uses to send outbound requests to initiate connection with the sender.
1116
+ */
1117
+ SenderControlPort?: number;
1118
+ /**
1119
+ * The IP address that the flow communicates with to initiate connection with the sender.
1120
+ */
1121
+ SenderIpAddress?: string;
1101
1122
  /**
1102
1123
  * The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.
1103
1124
  */
@@ -1153,6 +1174,14 @@ export interface Source {
1153
1174
  * The name of the source.
1154
1175
  */
1155
1176
  Name: string | undefined;
1177
+ /**
1178
+ * The port that the flow uses to send outbound requests to initiate connection with the sender.
1179
+ */
1180
+ SenderControlPort?: number;
1181
+ /**
1182
+ * The IP address that the flow communicates with to initiate connection with the sender.
1183
+ */
1184
+ SenderIpAddress?: string;
1156
1185
  /**
1157
1186
  * The ARN of the source.
1158
1187
  */
@@ -1185,7 +1214,7 @@ export declare enum NetworkInterfaceType {
1185
1214
  */
1186
1215
  export interface VpcInterface {
1187
1216
  /**
1188
- * Immutable and has to be a unique against other VpcInterfaces in this Flow
1217
+ * Immutable and has to be a unique against other VpcInterfaces in this Flow.
1189
1218
  */
1190
1219
  Name: string | undefined;
1191
1220
  /**
@@ -1546,7 +1575,7 @@ export declare enum State {
1546
1575
  ENABLED = "ENABLED"
1547
1576
  }
1548
1577
  /**
1549
- * The settings for source failover
1578
+ * The settings for source failover.
1550
1579
  */
1551
1580
  export interface FailoverConfig {
1552
1581
  /**
@@ -1598,7 +1627,7 @@ export interface CreateFlowRequest {
1598
1627
  */
1599
1628
  Source?: SetSourceRequest;
1600
1629
  /**
1601
- * The settings for source failover
1630
+ * The settings for source failover.
1602
1631
  */
1603
1632
  SourceFailoverConfig?: FailoverConfig;
1604
1633
  Sources?: SetSourceRequest[];
@@ -1654,7 +1683,7 @@ export interface Flow {
1654
1683
  */
1655
1684
  Source: Source | undefined;
1656
1685
  /**
1657
- * The settings for source failover
1686
+ * The settings for source failover.
1658
1687
  */
1659
1688
  SourceFailoverConfig?: FailoverConfig;
1660
1689
  Sources?: Source[];
@@ -2303,7 +2332,7 @@ export declare namespace UntagResourceRequest {
2303
2332
  const filterSensitiveLog: (obj: UntagResourceRequest) => any;
2304
2333
  }
2305
2334
  /**
2306
- * The settings for source failover
2335
+ * The settings for source failover.
2307
2336
  */
2308
2337
  export interface UpdateFailoverConfig {
2309
2338
  /**
@@ -2335,7 +2364,7 @@ export interface UpdateFlowRequest {
2335
2364
  */
2336
2365
  FlowArn: string | undefined;
2337
2366
  /**
2338
- * The settings for source failover
2367
+ * The settings for source failover.
2339
2368
  */
2340
2369
  SourceFailoverConfig?: UpdateFailoverConfig;
2341
2370
  }
@@ -2535,7 +2564,7 @@ export interface UpdateFlowOutputRequest {
2535
2564
  */
2536
2565
  FlowArn: string | undefined;
2537
2566
  /**
2538
- * The maximum latency in milliseconds for Zixi-based streams.
2567
+ * The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.
2539
2568
  */
2540
2569
  MaxLatency?: number;
2541
2570
  /**
@@ -2562,6 +2591,14 @@ export interface UpdateFlowOutputRequest {
2562
2591
  * The remote ID for the Zixi-pull stream.
2563
2592
  */
2564
2593
  RemoteId?: string;
2594
+ /**
2595
+ * The port that the flow uses to send outbound requests to initiate connection with the sender.
2596
+ */
2597
+ SenderControlPort?: number;
2598
+ /**
2599
+ * The IP address that the flow communicates with to initiate connection with the sender.
2600
+ */
2601
+ SenderIpAddress?: string;
2565
2602
  /**
2566
2603
  * The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
2567
2604
  */
@@ -2626,7 +2663,7 @@ export interface UpdateFlowSourceRequest {
2626
2663
  */
2627
2664
  MaxBitrate?: number;
2628
2665
  /**
2629
- * The maximum latency in milliseconds. This parameter applies only to RIST-based and Zixi-based streams.
2666
+ * The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.
2630
2667
  */
2631
2668
  MaxLatency?: number;
2632
2669
  /**
@@ -2645,6 +2682,14 @@ export interface UpdateFlowSourceRequest {
2645
2682
  * The protocol that is used by the source.
2646
2683
  */
2647
2684
  Protocol?: Protocol | string;
2685
+ /**
2686
+ * The port that the flow uses to send outbound requests to initiate connection with the sender.
2687
+ */
2688
+ SenderControlPort?: number;
2689
+ /**
2690
+ * The IP address that the flow communicates with to initiate connection with the sender.
2691
+ */
2692
+ SenderIpAddress?: string;
2648
2693
  /**
2649
2694
  * The ARN of the source that you want to update.
2650
2695
  */
@@ -182,6 +182,7 @@ export declare namespace MediaStreamOutputConfigurationRequest {
182
182
  }
183
183
  export declare enum Protocol {
184
184
  cdi = "cdi",
185
+ fujitsu_qos = "fujitsu-qos",
185
186
  rist = "rist",
186
187
  rtp = "rtp",
187
188
  rtp_fec = "rtp-fec",
@@ -224,6 +225,8 @@ export interface AddOutputRequest {
224
225
 
225
226
  RemoteId?: string;
226
227
 
228
+ SenderControlPort?: number;
229
+
227
230
  SmoothingLatency?: number;
228
231
 
229
232
  StreamId?: string;
@@ -538,6 +541,10 @@ export interface Transport {
538
541
 
539
542
  RemoteId?: string;
540
543
 
544
+ SenderControlPort?: number;
545
+
546
+ SenderIpAddress?: string;
547
+
541
548
  SmoothingLatency?: number;
542
549
 
543
550
  StreamId?: string;
@@ -643,6 +650,10 @@ export interface SetSourceRequest {
643
650
 
644
651
  Protocol?: Protocol | string;
645
652
 
653
+ SenderControlPort?: number;
654
+
655
+ SenderIpAddress?: string;
656
+
646
657
  StreamId?: string;
647
658
 
648
659
  VpcInterfaceName?: string;
@@ -672,6 +683,10 @@ export interface Source {
672
683
 
673
684
  Name: string | undefined;
674
685
 
686
+ SenderControlPort?: number;
687
+
688
+ SenderIpAddress?: string;
689
+
675
690
  SourceArn: string | undefined;
676
691
 
677
692
  Transport?: Transport;
@@ -1525,6 +1540,10 @@ export interface UpdateFlowOutputRequest {
1525
1540
 
1526
1541
  RemoteId?: string;
1527
1542
 
1543
+ SenderControlPort?: number;
1544
+
1545
+ SenderIpAddress?: string;
1546
+
1528
1547
  SmoothingLatency?: number;
1529
1548
 
1530
1549
  StreamId?: string;
@@ -1570,6 +1589,10 @@ export interface UpdateFlowSourceRequest {
1570
1589
 
1571
1590
  Protocol?: Protocol | string;
1572
1591
 
1592
+ SenderControlPort?: number;
1593
+
1594
+ SenderIpAddress?: string;
1595
+
1573
1596
  SourceArn: string | undefined;
1574
1597
 
1575
1598
  StreamId?: string;
package/package.json CHANGED
@@ -1,18 +1,17 @@
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.41.0",
4
+ "version": "3.46.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
8
- "build:docs": "yarn clean:docs && typedoc ./",
8
+ "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
12
  "clean": "yarn clean:dist && yarn clean:docs",
12
- "clean:dist": "rimraf ./dist",
13
- "clean:docs": "rimraf ./docs",
14
- "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
- "test": "exit 0"
13
+ "clean:dist": "rimraf ./dist-*",
14
+ "clean:docs": "rimraf ./docs"
16
15
  },
17
16
  "main": "./dist-cjs/index.js",
18
17
  "types": "./dist-types/index.d.ts",
@@ -21,49 +20,43 @@
21
20
  "dependencies": {
22
21
  "@aws-crypto/sha256-browser": "2.0.0",
23
22
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.41.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.0",
27
- "@aws-sdk/fetch-http-handler": "3.40.0",
28
- "@aws-sdk/hash-node": "3.40.0",
29
- "@aws-sdk/invalid-dependency": "3.40.0",
30
- "@aws-sdk/middleware-content-length": "3.40.0",
31
- "@aws-sdk/middleware-host-header": "3.40.0",
32
- "@aws-sdk/middleware-logger": "3.40.0",
33
- "@aws-sdk/middleware-retry": "3.40.0",
34
- "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
36
- "@aws-sdk/middleware-stack": "3.40.0",
37
- "@aws-sdk/middleware-user-agent": "3.40.0",
38
- "@aws-sdk/node-config-provider": "3.40.0",
39
- "@aws-sdk/node-http-handler": "3.40.0",
40
- "@aws-sdk/protocol-http": "3.40.0",
41
- "@aws-sdk/smithy-client": "3.41.0",
42
- "@aws-sdk/types": "3.40.0",
43
- "@aws-sdk/url-parser": "3.40.0",
44
- "@aws-sdk/util-base64-browser": "3.37.0",
45
- "@aws-sdk/util-base64-node": "3.37.0",
46
- "@aws-sdk/util-body-length-browser": "3.37.0",
47
- "@aws-sdk/util-body-length-node": "3.37.0",
48
- "@aws-sdk/util-user-agent-browser": "3.40.0",
49
- "@aws-sdk/util-user-agent-node": "3.40.0",
50
- "@aws-sdk/util-utf8-browser": "3.37.0",
51
- "@aws-sdk/util-utf8-node": "3.37.0",
52
- "@aws-sdk/util-waiter": "3.40.0",
23
+ "@aws-sdk/client-sts": "3.46.0",
24
+ "@aws-sdk/config-resolver": "3.46.0",
25
+ "@aws-sdk/credential-provider-node": "3.46.0",
26
+ "@aws-sdk/fetch-http-handler": "3.46.0",
27
+ "@aws-sdk/hash-node": "3.46.0",
28
+ "@aws-sdk/invalid-dependency": "3.46.0",
29
+ "@aws-sdk/middleware-content-length": "3.46.0",
30
+ "@aws-sdk/middleware-host-header": "3.46.0",
31
+ "@aws-sdk/middleware-logger": "3.46.0",
32
+ "@aws-sdk/middleware-retry": "3.46.0",
33
+ "@aws-sdk/middleware-serde": "3.46.0",
34
+ "@aws-sdk/middleware-signing": "3.46.0",
35
+ "@aws-sdk/middleware-stack": "3.46.0",
36
+ "@aws-sdk/middleware-user-agent": "3.46.0",
37
+ "@aws-sdk/node-config-provider": "3.46.0",
38
+ "@aws-sdk/node-http-handler": "3.46.0",
39
+ "@aws-sdk/protocol-http": "3.46.0",
40
+ "@aws-sdk/smithy-client": "3.46.0",
41
+ "@aws-sdk/types": "3.46.0",
42
+ "@aws-sdk/url-parser": "3.46.0",
43
+ "@aws-sdk/util-base64-browser": "3.46.0",
44
+ "@aws-sdk/util-base64-node": "3.46.0",
45
+ "@aws-sdk/util-body-length-browser": "3.46.0",
46
+ "@aws-sdk/util-body-length-node": "3.46.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.46.0",
48
+ "@aws-sdk/util-user-agent-node": "3.46.0",
49
+ "@aws-sdk/util-utf8-browser": "3.46.0",
50
+ "@aws-sdk/util-utf8-node": "3.46.0",
51
+ "@aws-sdk/util-waiter": "3.46.0",
53
52
  "tslib": "^2.3.0"
54
53
  },
55
54
  "devDependencies": {
56
- "@aws-sdk/service-client-documentation-generator": "3.38.0",
57
- "@types/node": "^12.7.5",
58
- "downlevel-dts": "0.7.0",
59
- "jest": "^26.1.0",
60
- "rimraf": "^3.0.0",
61
- "ts-jest": "^26.4.1",
62
- "typedoc": "^0.19.2",
63
- "typescript": "~4.3.5"
55
+ "@aws-sdk/service-client-documentation-generator": "3.46.0",
56
+ "@types/node": "^12.7.5"
64
57
  },
65
58
  "engines": {
66
- "node": ">=10.0.0"
59
+ "node": ">=12.0.0"
67
60
  },
68
61
  "typesVersions": {
69
62
  "<4.0": {