@aws-sdk/client-mediaconnect 3.958.0 → 3.964.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -4658,10 +4658,10 @@ const paginateListRouterOutputs = core.createPaginator(MediaConnectClient, ListR
4658
4658
  const checkState$9 = async (client, input) => {
4659
4659
  let reason;
4660
4660
  try {
4661
- const result = await client.send(new DescribeFlowCommand(input));
4661
+ let result = await client.send(new DescribeFlowCommand(input));
4662
4662
  reason = result;
4663
4663
  try {
4664
- let returnComparator = () => {
4664
+ const returnComparator = () => {
4665
4665
  return result.Flow.Status;
4666
4666
  };
4667
4667
  if (returnComparator() === "ACTIVE") {
@@ -4670,7 +4670,7 @@ const checkState$9 = async (client, input) => {
4670
4670
  }
4671
4671
  catch (e) { }
4672
4672
  try {
4673
- let returnComparator = () => {
4673
+ const returnComparator = () => {
4674
4674
  return result.Flow.Status;
4675
4675
  };
4676
4676
  if (returnComparator() === "STARTING") {
@@ -4679,7 +4679,7 @@ const checkState$9 = async (client, input) => {
4679
4679
  }
4680
4680
  catch (e) { }
4681
4681
  try {
4682
- let returnComparator = () => {
4682
+ const returnComparator = () => {
4683
4683
  return result.Flow.Status;
4684
4684
  };
4685
4685
  if (returnComparator() === "UPDATING") {
@@ -4688,7 +4688,7 @@ const checkState$9 = async (client, input) => {
4688
4688
  }
4689
4689
  catch (e) { }
4690
4690
  try {
4691
- let returnComparator = () => {
4691
+ const returnComparator = () => {
4692
4692
  return result.Flow.Status;
4693
4693
  };
4694
4694
  if (returnComparator() === "STANDBY") {
@@ -4697,7 +4697,7 @@ const checkState$9 = async (client, input) => {
4697
4697
  }
4698
4698
  catch (e) { }
4699
4699
  try {
4700
- let returnComparator = () => {
4700
+ const returnComparator = () => {
4701
4701
  return result.Flow.Status;
4702
4702
  };
4703
4703
  if (returnComparator() === "ERROR") {
@@ -4730,10 +4730,10 @@ const waitUntilFlowActive = async (params, input) => {
4730
4730
  const checkState$8 = async (client, input) => {
4731
4731
  let reason;
4732
4732
  try {
4733
- const result = await client.send(new DescribeFlowCommand(input));
4733
+ let result = await client.send(new DescribeFlowCommand(input));
4734
4734
  reason = result;
4735
4735
  try {
4736
- let returnComparator = () => {
4736
+ const returnComparator = () => {
4737
4737
  return result.Flow.Status;
4738
4738
  };
4739
4739
  if (returnComparator() === "DELETING") {
@@ -4742,7 +4742,7 @@ const checkState$8 = async (client, input) => {
4742
4742
  }
4743
4743
  catch (e) { }
4744
4744
  try {
4745
- let returnComparator = () => {
4745
+ const returnComparator = () => {
4746
4746
  return result.Flow.Status;
4747
4747
  };
4748
4748
  if (returnComparator() === "ERROR") {
@@ -4778,10 +4778,10 @@ const waitUntilFlowDeleted = async (params, input) => {
4778
4778
  const checkState$7 = async (client, input) => {
4779
4779
  let reason;
4780
4780
  try {
4781
- const result = await client.send(new DescribeFlowCommand(input));
4781
+ let result = await client.send(new DescribeFlowCommand(input));
4782
4782
  reason = result;
4783
4783
  try {
4784
- let returnComparator = () => {
4784
+ const returnComparator = () => {
4785
4785
  return result.Flow.Status;
4786
4786
  };
4787
4787
  if (returnComparator() === "STANDBY") {
@@ -4790,7 +4790,7 @@ const checkState$7 = async (client, input) => {
4790
4790
  }
4791
4791
  catch (e) { }
4792
4792
  try {
4793
- let returnComparator = () => {
4793
+ const returnComparator = () => {
4794
4794
  return result.Flow.Status;
4795
4795
  };
4796
4796
  if (returnComparator() === "STOPPING") {
@@ -4799,7 +4799,7 @@ const checkState$7 = async (client, input) => {
4799
4799
  }
4800
4800
  catch (e) { }
4801
4801
  try {
4802
- let returnComparator = () => {
4802
+ const returnComparator = () => {
4803
4803
  return result.Flow.Status;
4804
4804
  };
4805
4805
  if (returnComparator() === "ERROR") {
@@ -4832,10 +4832,10 @@ const waitUntilFlowStandby = async (params, input) => {
4832
4832
  const checkState$6 = async (client, input) => {
4833
4833
  let reason;
4834
4834
  try {
4835
- const result = await client.send(new GetRouterInputCommand(input));
4835
+ let result = await client.send(new GetRouterInputCommand(input));
4836
4836
  reason = result;
4837
4837
  try {
4838
- let returnComparator = () => {
4838
+ const returnComparator = () => {
4839
4839
  return result.RouterInput.State;
4840
4840
  };
4841
4841
  if (returnComparator() === "STANDBY") {
@@ -4844,7 +4844,7 @@ const checkState$6 = async (client, input) => {
4844
4844
  }
4845
4845
  catch (e) { }
4846
4846
  try {
4847
- let returnComparator = () => {
4847
+ const returnComparator = () => {
4848
4848
  return result.RouterInput.State;
4849
4849
  };
4850
4850
  if (returnComparator() === "STOPPING") {
@@ -4853,7 +4853,7 @@ const checkState$6 = async (client, input) => {
4853
4853
  }
4854
4854
  catch (e) { }
4855
4855
  try {
4856
- let returnComparator = () => {
4856
+ const returnComparator = () => {
4857
4857
  return result.RouterInput.State;
4858
4858
  };
4859
4859
  if (returnComparator() === "ERROR") {
@@ -4886,10 +4886,10 @@ const waitUntilInputStandby = async (params, input) => {
4886
4886
  const checkState$5 = async (client, input) => {
4887
4887
  let reason;
4888
4888
  try {
4889
- const result = await client.send(new GetRouterInputCommand(input));
4889
+ let result = await client.send(new GetRouterInputCommand(input));
4890
4890
  reason = result;
4891
4891
  try {
4892
- let returnComparator = () => {
4892
+ const returnComparator = () => {
4893
4893
  return result.RouterInput.State;
4894
4894
  };
4895
4895
  if (returnComparator() === "DELETING") {
@@ -4898,7 +4898,7 @@ const checkState$5 = async (client, input) => {
4898
4898
  }
4899
4899
  catch (e) { }
4900
4900
  try {
4901
- let returnComparator = () => {
4901
+ const returnComparator = () => {
4902
4902
  return result.RouterInput.State;
4903
4903
  };
4904
4904
  if (returnComparator() === "ERROR") {
@@ -4934,10 +4934,10 @@ const waitUntilInputDeleted = async (params, input) => {
4934
4934
  const checkState$4 = async (client, input) => {
4935
4935
  let reason;
4936
4936
  try {
4937
- const result = await client.send(new GetRouterInputCommand(input));
4937
+ let result = await client.send(new GetRouterInputCommand(input));
4938
4938
  reason = result;
4939
4939
  try {
4940
- let returnComparator = () => {
4940
+ const returnComparator = () => {
4941
4941
  return result.RouterInput.State;
4942
4942
  };
4943
4943
  if (returnComparator() === "ACTIVE") {
@@ -4946,7 +4946,7 @@ const checkState$4 = async (client, input) => {
4946
4946
  }
4947
4947
  catch (e) { }
4948
4948
  try {
4949
- let returnComparator = () => {
4949
+ const returnComparator = () => {
4950
4950
  return result.RouterInput.State;
4951
4951
  };
4952
4952
  if (returnComparator() === "STARTING") {
@@ -4955,7 +4955,7 @@ const checkState$4 = async (client, input) => {
4955
4955
  }
4956
4956
  catch (e) { }
4957
4957
  try {
4958
- let returnComparator = () => {
4958
+ const returnComparator = () => {
4959
4959
  return result.RouterInput.State;
4960
4960
  };
4961
4961
  if (returnComparator() === "UPDATING") {
@@ -4964,7 +4964,7 @@ const checkState$4 = async (client, input) => {
4964
4964
  }
4965
4965
  catch (e) { }
4966
4966
  try {
4967
- let returnComparator = () => {
4967
+ const returnComparator = () => {
4968
4968
  return result.RouterInput.State;
4969
4969
  };
4970
4970
  if (returnComparator() === "ERROR") {
@@ -4997,10 +4997,10 @@ const waitUntilInputActive = async (params, input) => {
4997
4997
  const checkState$3 = async (client, input) => {
4998
4998
  let reason;
4999
4999
  try {
5000
- const result = await client.send(new GetRouterOutputCommand(input));
5000
+ let result = await client.send(new GetRouterOutputCommand(input));
5001
5001
  reason = result;
5002
5002
  try {
5003
- let returnComparator = () => {
5003
+ const returnComparator = () => {
5004
5004
  return result.RouterOutput.State;
5005
5005
  };
5006
5006
  if (returnComparator() === "DELETING") {
@@ -5009,7 +5009,7 @@ const checkState$3 = async (client, input) => {
5009
5009
  }
5010
5010
  catch (e) { }
5011
5011
  try {
5012
- let returnComparator = () => {
5012
+ const returnComparator = () => {
5013
5013
  return result.RouterOutput.State;
5014
5014
  };
5015
5015
  if (returnComparator() === "ERROR") {
@@ -5045,10 +5045,10 @@ const waitUntilOutputDeleted = async (params, input) => {
5045
5045
  const checkState$2 = async (client, input) => {
5046
5046
  let reason;
5047
5047
  try {
5048
- const result = await client.send(new GetRouterOutputCommand(input));
5048
+ let result = await client.send(new GetRouterOutputCommand(input));
5049
5049
  reason = result;
5050
5050
  try {
5051
- let returnComparator = () => {
5051
+ const returnComparator = () => {
5052
5052
  return result.RouterOutput.State;
5053
5053
  };
5054
5054
  if (returnComparator() === "ACTIVE") {
@@ -5057,7 +5057,7 @@ const checkState$2 = async (client, input) => {
5057
5057
  }
5058
5058
  catch (e) { }
5059
5059
  try {
5060
- let returnComparator = () => {
5060
+ const returnComparator = () => {
5061
5061
  return result.RouterOutput.State;
5062
5062
  };
5063
5063
  if (returnComparator() === "STARTING") {
@@ -5066,7 +5066,7 @@ const checkState$2 = async (client, input) => {
5066
5066
  }
5067
5067
  catch (e) { }
5068
5068
  try {
5069
- let returnComparator = () => {
5069
+ const returnComparator = () => {
5070
5070
  return result.RouterOutput.State;
5071
5071
  };
5072
5072
  if (returnComparator() === "UPDATING") {
@@ -5075,7 +5075,7 @@ const checkState$2 = async (client, input) => {
5075
5075
  }
5076
5076
  catch (e) { }
5077
5077
  try {
5078
- let returnComparator = () => {
5078
+ const returnComparator = () => {
5079
5079
  return result.RouterOutput.State;
5080
5080
  };
5081
5081
  if (returnComparator() === "ERROR") {
@@ -5108,10 +5108,10 @@ const waitUntilOutputActive = async (params, input) => {
5108
5108
  const checkState$1 = async (client, input) => {
5109
5109
  let reason;
5110
5110
  try {
5111
- const result = await client.send(new GetRouterOutputCommand(input));
5111
+ let result = await client.send(new GetRouterOutputCommand(input));
5112
5112
  reason = result;
5113
5113
  try {
5114
- let returnComparator = () => {
5114
+ const returnComparator = () => {
5115
5115
  return result.RouterOutput.State;
5116
5116
  };
5117
5117
  if (returnComparator() === "STANDBY") {
@@ -5120,7 +5120,7 @@ const checkState$1 = async (client, input) => {
5120
5120
  }
5121
5121
  catch (e) { }
5122
5122
  try {
5123
- let returnComparator = () => {
5123
+ const returnComparator = () => {
5124
5124
  return result.RouterOutput.State;
5125
5125
  };
5126
5126
  if (returnComparator() === "STOPPING") {
@@ -5129,7 +5129,7 @@ const checkState$1 = async (client, input) => {
5129
5129
  }
5130
5130
  catch (e) { }
5131
5131
  try {
5132
- let returnComparator = () => {
5132
+ const returnComparator = () => {
5133
5133
  return result.RouterOutput.State;
5134
5134
  };
5135
5135
  if (returnComparator() === "ERROR") {
@@ -5162,10 +5162,10 @@ const waitUntilOutputStandby = async (params, input) => {
5162
5162
  const checkState = async (client, input) => {
5163
5163
  let reason;
5164
5164
  try {
5165
- const result = await client.send(new GetRouterOutputCommand(input));
5165
+ let result = await client.send(new GetRouterOutputCommand(input));
5166
5166
  reason = result;
5167
5167
  try {
5168
- let returnComparator = () => {
5168
+ const returnComparator = () => {
5169
5169
  return result.RouterOutput.RoutedState;
5170
5170
  };
5171
5171
  if (returnComparator() === "ROUTED") {
@@ -5174,7 +5174,7 @@ const checkState = async (client, input) => {
5174
5174
  }
5175
5175
  catch (e) { }
5176
5176
  try {
5177
- let returnComparator = () => {
5177
+ const returnComparator = () => {
5178
5178
  return result.RouterOutput.RoutedState;
5179
5179
  };
5180
5180
  if (returnComparator() === "ROUTING") {
@@ -3,10 +3,10 @@ import { DescribeFlowCommand } from "../commands/DescribeFlowCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeFlowCommand(input));
6
+ let result = await client.send(new DescribeFlowCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.Flow.Status;
11
11
  };
12
12
  if (returnComparator() === "ACTIVE") {
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
15
15
  }
16
16
  catch (e) { }
17
17
  try {
18
- let returnComparator = () => {
18
+ const returnComparator = () => {
19
19
  return result.Flow.Status;
20
20
  };
21
21
  if (returnComparator() === "STARTING") {
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
24
24
  }
25
25
  catch (e) { }
26
26
  try {
27
- let returnComparator = () => {
27
+ const returnComparator = () => {
28
28
  return result.Flow.Status;
29
29
  };
30
30
  if (returnComparator() === "UPDATING") {
@@ -33,7 +33,7 @@ const checkState = async (client, input) => {
33
33
  }
34
34
  catch (e) { }
35
35
  try {
36
- let returnComparator = () => {
36
+ const returnComparator = () => {
37
37
  return result.Flow.Status;
38
38
  };
39
39
  if (returnComparator() === "STANDBY") {
@@ -42,7 +42,7 @@ const checkState = async (client, input) => {
42
42
  }
43
43
  catch (e) { }
44
44
  try {
45
- let returnComparator = () => {
45
+ const returnComparator = () => {
46
46
  return result.Flow.Status;
47
47
  };
48
48
  if (returnComparator() === "ERROR") {
@@ -3,10 +3,10 @@ import { DescribeFlowCommand } from "../commands/DescribeFlowCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeFlowCommand(input));
6
+ let result = await client.send(new DescribeFlowCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.Flow.Status;
11
11
  };
12
12
  if (returnComparator() === "DELETING") {
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
15
15
  }
16
16
  catch (e) { }
17
17
  try {
18
- let returnComparator = () => {
18
+ const returnComparator = () => {
19
19
  return result.Flow.Status;
20
20
  };
21
21
  if (returnComparator() === "ERROR") {
@@ -3,10 +3,10 @@ import { DescribeFlowCommand } from "../commands/DescribeFlowCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeFlowCommand(input));
6
+ let result = await client.send(new DescribeFlowCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.Flow.Status;
11
11
  };
12
12
  if (returnComparator() === "STANDBY") {
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
15
15
  }
16
16
  catch (e) { }
17
17
  try {
18
- let returnComparator = () => {
18
+ const returnComparator = () => {
19
19
  return result.Flow.Status;
20
20
  };
21
21
  if (returnComparator() === "STOPPING") {
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
24
24
  }
25
25
  catch (e) { }
26
26
  try {
27
- let returnComparator = () => {
27
+ const returnComparator = () => {
28
28
  return result.Flow.Status;
29
29
  };
30
30
  if (returnComparator() === "ERROR") {
@@ -3,10 +3,10 @@ import { GetRouterInputCommand } from "../commands/GetRouterInputCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetRouterInputCommand(input));
6
+ let result = await client.send(new GetRouterInputCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.RouterInput.State;
11
11
  };
12
12
  if (returnComparator() === "ACTIVE") {
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
15
15
  }
16
16
  catch (e) { }
17
17
  try {
18
- let returnComparator = () => {
18
+ const returnComparator = () => {
19
19
  return result.RouterInput.State;
20
20
  };
21
21
  if (returnComparator() === "STARTING") {
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
24
24
  }
25
25
  catch (e) { }
26
26
  try {
27
- let returnComparator = () => {
27
+ const returnComparator = () => {
28
28
  return result.RouterInput.State;
29
29
  };
30
30
  if (returnComparator() === "UPDATING") {
@@ -33,7 +33,7 @@ const checkState = async (client, input) => {
33
33
  }
34
34
  catch (e) { }
35
35
  try {
36
- let returnComparator = () => {
36
+ const returnComparator = () => {
37
37
  return result.RouterInput.State;
38
38
  };
39
39
  if (returnComparator() === "ERROR") {
@@ -3,10 +3,10 @@ import { GetRouterInputCommand } from "../commands/GetRouterInputCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetRouterInputCommand(input));
6
+ let result = await client.send(new GetRouterInputCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.RouterInput.State;
11
11
  };
12
12
  if (returnComparator() === "DELETING") {
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
15
15
  }
16
16
  catch (e) { }
17
17
  try {
18
- let returnComparator = () => {
18
+ const returnComparator = () => {
19
19
  return result.RouterInput.State;
20
20
  };
21
21
  if (returnComparator() === "ERROR") {
@@ -3,10 +3,10 @@ import { GetRouterInputCommand } from "../commands/GetRouterInputCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetRouterInputCommand(input));
6
+ let result = await client.send(new GetRouterInputCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.RouterInput.State;
11
11
  };
12
12
  if (returnComparator() === "STANDBY") {
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
15
15
  }
16
16
  catch (e) { }
17
17
  try {
18
- let returnComparator = () => {
18
+ const returnComparator = () => {
19
19
  return result.RouterInput.State;
20
20
  };
21
21
  if (returnComparator() === "STOPPING") {
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
24
24
  }
25
25
  catch (e) { }
26
26
  try {
27
- let returnComparator = () => {
27
+ const returnComparator = () => {
28
28
  return result.RouterInput.State;
29
29
  };
30
30
  if (returnComparator() === "ERROR") {
@@ -3,10 +3,10 @@ import { GetRouterOutputCommand } from "../commands/GetRouterOutputCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetRouterOutputCommand(input));
6
+ let result = await client.send(new GetRouterOutputCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.RouterOutput.State;
11
11
  };
12
12
  if (returnComparator() === "ACTIVE") {
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
15
15
  }
16
16
  catch (e) { }
17
17
  try {
18
- let returnComparator = () => {
18
+ const returnComparator = () => {
19
19
  return result.RouterOutput.State;
20
20
  };
21
21
  if (returnComparator() === "STARTING") {
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
24
24
  }
25
25
  catch (e) { }
26
26
  try {
27
- let returnComparator = () => {
27
+ const returnComparator = () => {
28
28
  return result.RouterOutput.State;
29
29
  };
30
30
  if (returnComparator() === "UPDATING") {
@@ -33,7 +33,7 @@ const checkState = async (client, input) => {
33
33
  }
34
34
  catch (e) { }
35
35
  try {
36
- let returnComparator = () => {
36
+ const returnComparator = () => {
37
37
  return result.RouterOutput.State;
38
38
  };
39
39
  if (returnComparator() === "ERROR") {
@@ -3,10 +3,10 @@ import { GetRouterOutputCommand } from "../commands/GetRouterOutputCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetRouterOutputCommand(input));
6
+ let result = await client.send(new GetRouterOutputCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.RouterOutput.State;
11
11
  };
12
12
  if (returnComparator() === "DELETING") {
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
15
15
  }
16
16
  catch (e) { }
17
17
  try {
18
- let returnComparator = () => {
18
+ const returnComparator = () => {
19
19
  return result.RouterOutput.State;
20
20
  };
21
21
  if (returnComparator() === "ERROR") {
@@ -3,10 +3,10 @@ import { GetRouterOutputCommand } from "../commands/GetRouterOutputCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetRouterOutputCommand(input));
6
+ let result = await client.send(new GetRouterOutputCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.RouterOutput.RoutedState;
11
11
  };
12
12
  if (returnComparator() === "ROUTED") {
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
15
15
  }
16
16
  catch (e) { }
17
17
  try {
18
- let returnComparator = () => {
18
+ const returnComparator = () => {
19
19
  return result.RouterOutput.RoutedState;
20
20
  };
21
21
  if (returnComparator() === "ROUTING") {
@@ -3,10 +3,10 @@ import { GetRouterOutputCommand } from "../commands/GetRouterOutputCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetRouterOutputCommand(input));
6
+ let result = await client.send(new GetRouterOutputCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.RouterOutput.State;
11
11
  };
12
12
  if (returnComparator() === "STANDBY") {
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
15
15
  }
16
16
  catch (e) { }
17
17
  try {
18
- let returnComparator = () => {
18
+ const returnComparator = () => {
19
19
  return result.RouterOutput.State;
20
20
  };
21
21
  if (returnComparator() === "STOPPING") {
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
24
24
  }
25
25
  catch (e) { }
26
26
  try {
27
- let returnComparator = () => {
27
+ const returnComparator = () => {
28
28
  return result.RouterOutput.State;
29
29
  };
30
30
  if (returnComparator() === "ERROR") {
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.958.0",
4
+ "version": "3.964.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-mediaconnect",
@@ -21,17 +21,17 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "3.957.0",
25
- "@aws-sdk/credential-provider-node": "3.958.0",
24
+ "@aws-sdk/core": "3.964.0",
25
+ "@aws-sdk/credential-provider-node": "3.964.0",
26
26
  "@aws-sdk/middleware-host-header": "3.957.0",
27
27
  "@aws-sdk/middleware-logger": "3.957.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.957.0",
29
- "@aws-sdk/middleware-user-agent": "3.957.0",
29
+ "@aws-sdk/middleware-user-agent": "3.964.0",
30
30
  "@aws-sdk/region-config-resolver": "3.957.0",
31
31
  "@aws-sdk/types": "3.957.0",
32
32
  "@aws-sdk/util-endpoints": "3.957.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.957.0",
34
- "@aws-sdk/util-user-agent-node": "3.957.0",
34
+ "@aws-sdk/util-user-agent-node": "3.964.0",
35
35
  "@smithy/config-resolver": "^4.4.5",
36
36
  "@smithy/core": "^3.20.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.8",