@aws-sdk/client-medialive 3.959.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
@@ -8016,10 +8016,10 @@ const paginateListSignalMaps = core.createPaginator(MediaLiveClient, ListSignalM
8016
8016
  const checkState$l = async (client, input) => {
8017
8017
  let reason;
8018
8018
  try {
8019
- const result = await client.send(new DescribeChannelCommand(input));
8019
+ let result = await client.send(new DescribeChannelCommand(input));
8020
8020
  reason = result;
8021
8021
  try {
8022
- let returnComparator = () => {
8022
+ const returnComparator = () => {
8023
8023
  return result.State;
8024
8024
  };
8025
8025
  if (returnComparator() === "IDLE") {
@@ -8028,7 +8028,7 @@ const checkState$l = async (client, input) => {
8028
8028
  }
8029
8029
  catch (e) { }
8030
8030
  try {
8031
- let returnComparator = () => {
8031
+ const returnComparator = () => {
8032
8032
  return result.State;
8033
8033
  };
8034
8034
  if (returnComparator() === "CREATING") {
@@ -8037,7 +8037,7 @@ const checkState$l = async (client, input) => {
8037
8037
  }
8038
8038
  catch (e) { }
8039
8039
  try {
8040
- let returnComparator = () => {
8040
+ const returnComparator = () => {
8041
8041
  return result.State;
8042
8042
  };
8043
8043
  if (returnComparator() === "CREATE_FAILED") {
@@ -8067,10 +8067,10 @@ const waitUntilChannelCreated = async (params, input) => {
8067
8067
  const checkState$k = async (client, input) => {
8068
8068
  let reason;
8069
8069
  try {
8070
- const result = await client.send(new DescribeChannelCommand(input));
8070
+ let result = await client.send(new DescribeChannelCommand(input));
8071
8071
  reason = result;
8072
8072
  try {
8073
- let returnComparator = () => {
8073
+ const returnComparator = () => {
8074
8074
  return result.State;
8075
8075
  };
8076
8076
  if (returnComparator() === "DELETED") {
@@ -8079,7 +8079,7 @@ const checkState$k = async (client, input) => {
8079
8079
  }
8080
8080
  catch (e) { }
8081
8081
  try {
8082
- let returnComparator = () => {
8082
+ const returnComparator = () => {
8083
8083
  return result.State;
8084
8084
  };
8085
8085
  if (returnComparator() === "DELETING") {
@@ -8109,10 +8109,10 @@ const waitUntilChannelDeleted = async (params, input) => {
8109
8109
  const checkState$j = async (client, input) => {
8110
8110
  let reason;
8111
8111
  try {
8112
- const result = await client.send(new DescribeChannelCommand(input));
8112
+ let result = await client.send(new DescribeChannelCommand(input));
8113
8113
  reason = result;
8114
8114
  try {
8115
- let returnComparator = () => {
8115
+ const returnComparator = () => {
8116
8116
  return result.State;
8117
8117
  };
8118
8118
  if (returnComparator() === "RUNNING") {
@@ -8121,7 +8121,7 @@ const checkState$j = async (client, input) => {
8121
8121
  }
8122
8122
  catch (e) { }
8123
8123
  try {
8124
- let returnComparator = () => {
8124
+ const returnComparator = () => {
8125
8125
  return result.State;
8126
8126
  };
8127
8127
  if (returnComparator() === "STARTING") {
@@ -8151,10 +8151,10 @@ const waitUntilChannelRunning = async (params, input) => {
8151
8151
  const checkState$i = async (client, input) => {
8152
8152
  let reason;
8153
8153
  try {
8154
- const result = await client.send(new DescribeChannelCommand(input));
8154
+ let result = await client.send(new DescribeChannelCommand(input));
8155
8155
  reason = result;
8156
8156
  try {
8157
- let returnComparator = () => {
8157
+ const returnComparator = () => {
8158
8158
  return result.State;
8159
8159
  };
8160
8160
  if (returnComparator() === "IDLE") {
@@ -8163,7 +8163,7 @@ const checkState$i = async (client, input) => {
8163
8163
  }
8164
8164
  catch (e) { }
8165
8165
  try {
8166
- let returnComparator = () => {
8166
+ const returnComparator = () => {
8167
8167
  return result.State;
8168
8168
  };
8169
8169
  if (returnComparator() === "STOPPING") {
@@ -8193,10 +8193,10 @@ const waitUntilChannelStopped = async (params, input) => {
8193
8193
  const checkState$h = async (client, input) => {
8194
8194
  let reason;
8195
8195
  try {
8196
- const result = await client.send(new DescribeChannelPlacementGroupCommand(input));
8196
+ let result = await client.send(new DescribeChannelPlacementGroupCommand(input));
8197
8197
  reason = result;
8198
8198
  try {
8199
- let returnComparator = () => {
8199
+ const returnComparator = () => {
8200
8200
  return result.State;
8201
8201
  };
8202
8202
  if (returnComparator() === "ASSIGNED") {
@@ -8205,7 +8205,7 @@ const checkState$h = async (client, input) => {
8205
8205
  }
8206
8206
  catch (e) { }
8207
8207
  try {
8208
- let returnComparator = () => {
8208
+ const returnComparator = () => {
8209
8209
  return result.State;
8210
8210
  };
8211
8211
  if (returnComparator() === "ASSIGNING") {
@@ -8235,10 +8235,10 @@ const waitUntilChannelPlacementGroupAssigned = async (params, input) => {
8235
8235
  const checkState$g = async (client, input) => {
8236
8236
  let reason;
8237
8237
  try {
8238
- const result = await client.send(new DescribeChannelPlacementGroupCommand(input));
8238
+ let result = await client.send(new DescribeChannelPlacementGroupCommand(input));
8239
8239
  reason = result;
8240
8240
  try {
8241
- let returnComparator = () => {
8241
+ const returnComparator = () => {
8242
8242
  return result.State;
8243
8243
  };
8244
8244
  if (returnComparator() === "DELETED") {
@@ -8247,7 +8247,7 @@ const checkState$g = async (client, input) => {
8247
8247
  }
8248
8248
  catch (e) { }
8249
8249
  try {
8250
- let returnComparator = () => {
8250
+ const returnComparator = () => {
8251
8251
  return result.State;
8252
8252
  };
8253
8253
  if (returnComparator() === "DELETING") {
@@ -8277,10 +8277,10 @@ const waitUntilChannelPlacementGroupDeleted = async (params, input) => {
8277
8277
  const checkState$f = async (client, input) => {
8278
8278
  let reason;
8279
8279
  try {
8280
- const result = await client.send(new DescribeChannelPlacementGroupCommand(input));
8280
+ let result = await client.send(new DescribeChannelPlacementGroupCommand(input));
8281
8281
  reason = result;
8282
8282
  try {
8283
- let returnComparator = () => {
8283
+ const returnComparator = () => {
8284
8284
  return result.State;
8285
8285
  };
8286
8286
  if (returnComparator() === "UNASSIGNED") {
@@ -8289,7 +8289,7 @@ const checkState$f = async (client, input) => {
8289
8289
  }
8290
8290
  catch (e) { }
8291
8291
  try {
8292
- let returnComparator = () => {
8292
+ const returnComparator = () => {
8293
8293
  return result.State;
8294
8294
  };
8295
8295
  if (returnComparator() === "UNASSIGNING") {
@@ -8319,10 +8319,10 @@ const waitUntilChannelPlacementGroupUnassigned = async (params, input) => {
8319
8319
  const checkState$e = async (client, input) => {
8320
8320
  let reason;
8321
8321
  try {
8322
- const result = await client.send(new DescribeClusterCommand(input));
8322
+ let result = await client.send(new DescribeClusterCommand(input));
8323
8323
  reason = result;
8324
8324
  try {
8325
- let returnComparator = () => {
8325
+ const returnComparator = () => {
8326
8326
  return result.State;
8327
8327
  };
8328
8328
  if (returnComparator() === "ACTIVE") {
@@ -8331,7 +8331,7 @@ const checkState$e = async (client, input) => {
8331
8331
  }
8332
8332
  catch (e) { }
8333
8333
  try {
8334
- let returnComparator = () => {
8334
+ const returnComparator = () => {
8335
8335
  return result.State;
8336
8336
  };
8337
8337
  if (returnComparator() === "CREATING") {
@@ -8340,7 +8340,7 @@ const checkState$e = async (client, input) => {
8340
8340
  }
8341
8341
  catch (e) { }
8342
8342
  try {
8343
- let returnComparator = () => {
8343
+ const returnComparator = () => {
8344
8344
  return result.State;
8345
8345
  };
8346
8346
  if (returnComparator() === "CREATE_FAILED") {
@@ -8370,10 +8370,10 @@ const waitUntilClusterCreated = async (params, input) => {
8370
8370
  const checkState$d = async (client, input) => {
8371
8371
  let reason;
8372
8372
  try {
8373
- const result = await client.send(new DescribeClusterCommand(input));
8373
+ let result = await client.send(new DescribeClusterCommand(input));
8374
8374
  reason = result;
8375
8375
  try {
8376
- let returnComparator = () => {
8376
+ const returnComparator = () => {
8377
8377
  return result.State;
8378
8378
  };
8379
8379
  if (returnComparator() === "DELETED") {
@@ -8382,7 +8382,7 @@ const checkState$d = async (client, input) => {
8382
8382
  }
8383
8383
  catch (e) { }
8384
8384
  try {
8385
- let returnComparator = () => {
8385
+ const returnComparator = () => {
8386
8386
  return result.State;
8387
8387
  };
8388
8388
  if (returnComparator() === "DELETING") {
@@ -8412,10 +8412,10 @@ const waitUntilClusterDeleted = async (params, input) => {
8412
8412
  const checkState$c = async (client, input) => {
8413
8413
  let reason;
8414
8414
  try {
8415
- const result = await client.send(new DescribeInputCommand(input));
8415
+ let result = await client.send(new DescribeInputCommand(input));
8416
8416
  reason = result;
8417
8417
  try {
8418
- let returnComparator = () => {
8418
+ const returnComparator = () => {
8419
8419
  return result.State;
8420
8420
  };
8421
8421
  if (returnComparator() === "ATTACHED") {
@@ -8424,7 +8424,7 @@ const checkState$c = async (client, input) => {
8424
8424
  }
8425
8425
  catch (e) { }
8426
8426
  try {
8427
- let returnComparator = () => {
8427
+ const returnComparator = () => {
8428
8428
  return result.State;
8429
8429
  };
8430
8430
  if (returnComparator() === "DETACHED") {
@@ -8454,10 +8454,10 @@ const waitUntilInputAttached = async (params, input) => {
8454
8454
  const checkState$b = async (client, input) => {
8455
8455
  let reason;
8456
8456
  try {
8457
- const result = await client.send(new DescribeInputCommand(input));
8457
+ let result = await client.send(new DescribeInputCommand(input));
8458
8458
  reason = result;
8459
8459
  try {
8460
- let returnComparator = () => {
8460
+ const returnComparator = () => {
8461
8461
  return result.State;
8462
8462
  };
8463
8463
  if (returnComparator() === "DELETED") {
@@ -8466,7 +8466,7 @@ const checkState$b = async (client, input) => {
8466
8466
  }
8467
8467
  catch (e) { }
8468
8468
  try {
8469
- let returnComparator = () => {
8469
+ const returnComparator = () => {
8470
8470
  return result.State;
8471
8471
  };
8472
8472
  if (returnComparator() === "DELETING") {
@@ -8496,10 +8496,10 @@ const waitUntilInputDeleted = async (params, input) => {
8496
8496
  const checkState$a = async (client, input) => {
8497
8497
  let reason;
8498
8498
  try {
8499
- const result = await client.send(new DescribeInputCommand(input));
8499
+ let result = await client.send(new DescribeInputCommand(input));
8500
8500
  reason = result;
8501
8501
  try {
8502
- let returnComparator = () => {
8502
+ const returnComparator = () => {
8503
8503
  return result.State;
8504
8504
  };
8505
8505
  if (returnComparator() === "DETACHED") {
@@ -8508,7 +8508,7 @@ const checkState$a = async (client, input) => {
8508
8508
  }
8509
8509
  catch (e) { }
8510
8510
  try {
8511
- let returnComparator = () => {
8511
+ const returnComparator = () => {
8512
8512
  return result.State;
8513
8513
  };
8514
8514
  if (returnComparator() === "CREATING") {
@@ -8517,7 +8517,7 @@ const checkState$a = async (client, input) => {
8517
8517
  }
8518
8518
  catch (e) { }
8519
8519
  try {
8520
- let returnComparator = () => {
8520
+ const returnComparator = () => {
8521
8521
  return result.State;
8522
8522
  };
8523
8523
  if (returnComparator() === "ATTACHED") {
@@ -8547,10 +8547,10 @@ const waitUntilInputDetached = async (params, input) => {
8547
8547
  const checkState$9 = async (client, input) => {
8548
8548
  let reason;
8549
8549
  try {
8550
- const result = await client.send(new DescribeMultiplexCommand(input));
8550
+ let result = await client.send(new DescribeMultiplexCommand(input));
8551
8551
  reason = result;
8552
8552
  try {
8553
- let returnComparator = () => {
8553
+ const returnComparator = () => {
8554
8554
  return result.State;
8555
8555
  };
8556
8556
  if (returnComparator() === "IDLE") {
@@ -8559,7 +8559,7 @@ const checkState$9 = async (client, input) => {
8559
8559
  }
8560
8560
  catch (e) { }
8561
8561
  try {
8562
- let returnComparator = () => {
8562
+ const returnComparator = () => {
8563
8563
  return result.State;
8564
8564
  };
8565
8565
  if (returnComparator() === "CREATING") {
@@ -8568,7 +8568,7 @@ const checkState$9 = async (client, input) => {
8568
8568
  }
8569
8569
  catch (e) { }
8570
8570
  try {
8571
- let returnComparator = () => {
8571
+ const returnComparator = () => {
8572
8572
  return result.State;
8573
8573
  };
8574
8574
  if (returnComparator() === "CREATE_FAILED") {
@@ -8598,10 +8598,10 @@ const waitUntilMultiplexCreated = async (params, input) => {
8598
8598
  const checkState$8 = async (client, input) => {
8599
8599
  let reason;
8600
8600
  try {
8601
- const result = await client.send(new DescribeMultiplexCommand(input));
8601
+ let result = await client.send(new DescribeMultiplexCommand(input));
8602
8602
  reason = result;
8603
8603
  try {
8604
- let returnComparator = () => {
8604
+ const returnComparator = () => {
8605
8605
  return result.State;
8606
8606
  };
8607
8607
  if (returnComparator() === "DELETED") {
@@ -8610,7 +8610,7 @@ const checkState$8 = async (client, input) => {
8610
8610
  }
8611
8611
  catch (e) { }
8612
8612
  try {
8613
- let returnComparator = () => {
8613
+ const returnComparator = () => {
8614
8614
  return result.State;
8615
8615
  };
8616
8616
  if (returnComparator() === "DELETING") {
@@ -8640,10 +8640,10 @@ const waitUntilMultiplexDeleted = async (params, input) => {
8640
8640
  const checkState$7 = async (client, input) => {
8641
8641
  let reason;
8642
8642
  try {
8643
- const result = await client.send(new DescribeMultiplexCommand(input));
8643
+ let result = await client.send(new DescribeMultiplexCommand(input));
8644
8644
  reason = result;
8645
8645
  try {
8646
- let returnComparator = () => {
8646
+ const returnComparator = () => {
8647
8647
  return result.State;
8648
8648
  };
8649
8649
  if (returnComparator() === "RUNNING") {
@@ -8652,7 +8652,7 @@ const checkState$7 = async (client, input) => {
8652
8652
  }
8653
8653
  catch (e) { }
8654
8654
  try {
8655
- let returnComparator = () => {
8655
+ const returnComparator = () => {
8656
8656
  return result.State;
8657
8657
  };
8658
8658
  if (returnComparator() === "STARTING") {
@@ -8682,10 +8682,10 @@ const waitUntilMultiplexRunning = async (params, input) => {
8682
8682
  const checkState$6 = async (client, input) => {
8683
8683
  let reason;
8684
8684
  try {
8685
- const result = await client.send(new DescribeMultiplexCommand(input));
8685
+ let result = await client.send(new DescribeMultiplexCommand(input));
8686
8686
  reason = result;
8687
8687
  try {
8688
- let returnComparator = () => {
8688
+ const returnComparator = () => {
8689
8689
  return result.State;
8690
8690
  };
8691
8691
  if (returnComparator() === "IDLE") {
@@ -8694,7 +8694,7 @@ const checkState$6 = async (client, input) => {
8694
8694
  }
8695
8695
  catch (e) { }
8696
8696
  try {
8697
- let returnComparator = () => {
8697
+ const returnComparator = () => {
8698
8698
  return result.State;
8699
8699
  };
8700
8700
  if (returnComparator() === "STOPPING") {
@@ -8724,10 +8724,10 @@ const waitUntilMultiplexStopped = async (params, input) => {
8724
8724
  const checkState$5 = async (client, input) => {
8725
8725
  let reason;
8726
8726
  try {
8727
- const result = await client.send(new DescribeNodeCommand(input));
8727
+ let result = await client.send(new DescribeNodeCommand(input));
8728
8728
  reason = result;
8729
8729
  try {
8730
- let returnComparator = () => {
8730
+ const returnComparator = () => {
8731
8731
  return result.State;
8732
8732
  };
8733
8733
  if (returnComparator() === "DEREGISTERED") {
@@ -8736,7 +8736,7 @@ const checkState$5 = async (client, input) => {
8736
8736
  }
8737
8737
  catch (e) { }
8738
8738
  try {
8739
- let returnComparator = () => {
8739
+ const returnComparator = () => {
8740
8740
  return result.State;
8741
8741
  };
8742
8742
  if (returnComparator() === "DEREGISTERING") {
@@ -8745,7 +8745,7 @@ const checkState$5 = async (client, input) => {
8745
8745
  }
8746
8746
  catch (e) { }
8747
8747
  try {
8748
- let returnComparator = () => {
8748
+ const returnComparator = () => {
8749
8749
  return result.State;
8750
8750
  };
8751
8751
  if (returnComparator() === "DRAINING") {
@@ -8775,10 +8775,10 @@ const waitUntilNodeDeregistered = async (params, input) => {
8775
8775
  const checkState$4 = async (client, input) => {
8776
8776
  let reason;
8777
8777
  try {
8778
- const result = await client.send(new DescribeNodeCommand(input));
8778
+ let result = await client.send(new DescribeNodeCommand(input));
8779
8779
  reason = result;
8780
8780
  try {
8781
- let returnComparator = () => {
8781
+ const returnComparator = () => {
8782
8782
  return result.State;
8783
8783
  };
8784
8784
  if (returnComparator() === "ACTIVE") {
@@ -8787,7 +8787,7 @@ const checkState$4 = async (client, input) => {
8787
8787
  }
8788
8788
  catch (e) { }
8789
8789
  try {
8790
- let returnComparator = () => {
8790
+ const returnComparator = () => {
8791
8791
  return result.State;
8792
8792
  };
8793
8793
  if (returnComparator() === "REGISTERING") {
@@ -8796,7 +8796,7 @@ const checkState$4 = async (client, input) => {
8796
8796
  }
8797
8797
  catch (e) { }
8798
8798
  try {
8799
- let returnComparator = () => {
8799
+ const returnComparator = () => {
8800
8800
  return result.State;
8801
8801
  };
8802
8802
  if (returnComparator() === "REGISTRATION_FAILED") {
@@ -8829,10 +8829,10 @@ const waitUntilNodeRegistered = async (params, input) => {
8829
8829
  const checkState$3 = async (client, input) => {
8830
8830
  let reason;
8831
8831
  try {
8832
- const result = await client.send(new GetSignalMapCommand(input));
8832
+ let result = await client.send(new GetSignalMapCommand(input));
8833
8833
  reason = result;
8834
8834
  try {
8835
- let returnComparator = () => {
8835
+ const returnComparator = () => {
8836
8836
  return result.Status;
8837
8837
  };
8838
8838
  if (returnComparator() === "CREATE_COMPLETE") {
@@ -8841,7 +8841,7 @@ const checkState$3 = async (client, input) => {
8841
8841
  }
8842
8842
  catch (e) { }
8843
8843
  try {
8844
- let returnComparator = () => {
8844
+ const returnComparator = () => {
8845
8845
  return result.Status;
8846
8846
  };
8847
8847
  if (returnComparator() === "CREATE_IN_PROGRESS") {
@@ -8850,7 +8850,7 @@ const checkState$3 = async (client, input) => {
8850
8850
  }
8851
8851
  catch (e) { }
8852
8852
  try {
8853
- let returnComparator = () => {
8853
+ const returnComparator = () => {
8854
8854
  return result.Status;
8855
8855
  };
8856
8856
  if (returnComparator() === "CREATE_FAILED") {
@@ -8877,10 +8877,10 @@ const waitUntilSignalMapCreated = async (params, input) => {
8877
8877
  const checkState$2 = async (client, input) => {
8878
8878
  let reason;
8879
8879
  try {
8880
- const result = await client.send(new GetSignalMapCommand(input));
8880
+ let result = await client.send(new GetSignalMapCommand(input));
8881
8881
  reason = result;
8882
8882
  try {
8883
- let returnComparator = () => {
8883
+ const returnComparator = () => {
8884
8884
  return result.MonitorDeployment.Status;
8885
8885
  };
8886
8886
  if (returnComparator() === "DELETE_COMPLETE") {
@@ -8889,7 +8889,7 @@ const checkState$2 = async (client, input) => {
8889
8889
  }
8890
8890
  catch (e) { }
8891
8891
  try {
8892
- let returnComparator = () => {
8892
+ const returnComparator = () => {
8893
8893
  return result.MonitorDeployment.Status;
8894
8894
  };
8895
8895
  if (returnComparator() === "DELETE_IN_PROGRESS") {
@@ -8898,7 +8898,7 @@ const checkState$2 = async (client, input) => {
8898
8898
  }
8899
8899
  catch (e) { }
8900
8900
  try {
8901
- let returnComparator = () => {
8901
+ const returnComparator = () => {
8902
8902
  return result.MonitorDeployment.Status;
8903
8903
  };
8904
8904
  if (returnComparator() === "DELETE_FAILED") {
@@ -8925,10 +8925,10 @@ const waitUntilSignalMapMonitorDeleted = async (params, input) => {
8925
8925
  const checkState$1 = async (client, input) => {
8926
8926
  let reason;
8927
8927
  try {
8928
- const result = await client.send(new GetSignalMapCommand(input));
8928
+ let result = await client.send(new GetSignalMapCommand(input));
8929
8929
  reason = result;
8930
8930
  try {
8931
- let returnComparator = () => {
8931
+ const returnComparator = () => {
8932
8932
  return result.MonitorDeployment.Status;
8933
8933
  };
8934
8934
  if (returnComparator() === "DRY_RUN_DEPLOYMENT_COMPLETE") {
@@ -8937,7 +8937,7 @@ const checkState$1 = async (client, input) => {
8937
8937
  }
8938
8938
  catch (e) { }
8939
8939
  try {
8940
- let returnComparator = () => {
8940
+ const returnComparator = () => {
8941
8941
  return result.MonitorDeployment.Status;
8942
8942
  };
8943
8943
  if (returnComparator() === "DEPLOYMENT_COMPLETE") {
@@ -8946,7 +8946,7 @@ const checkState$1 = async (client, input) => {
8946
8946
  }
8947
8947
  catch (e) { }
8948
8948
  try {
8949
- let returnComparator = () => {
8949
+ const returnComparator = () => {
8950
8950
  return result.MonitorDeployment.Status;
8951
8951
  };
8952
8952
  if (returnComparator() === "DRY_RUN_DEPLOYMENT_IN_PROGRESS") {
@@ -8955,7 +8955,7 @@ const checkState$1 = async (client, input) => {
8955
8955
  }
8956
8956
  catch (e) { }
8957
8957
  try {
8958
- let returnComparator = () => {
8958
+ const returnComparator = () => {
8959
8959
  return result.MonitorDeployment.Status;
8960
8960
  };
8961
8961
  if (returnComparator() === "DEPLOYMENT_IN_PROGRESS") {
@@ -8964,7 +8964,7 @@ const checkState$1 = async (client, input) => {
8964
8964
  }
8965
8965
  catch (e) { }
8966
8966
  try {
8967
- let returnComparator = () => {
8967
+ const returnComparator = () => {
8968
8968
  return result.MonitorDeployment.Status;
8969
8969
  };
8970
8970
  if (returnComparator() === "DRY_RUN_DEPLOYMENT_FAILED") {
@@ -8973,7 +8973,7 @@ const checkState$1 = async (client, input) => {
8973
8973
  }
8974
8974
  catch (e) { }
8975
8975
  try {
8976
- let returnComparator = () => {
8976
+ const returnComparator = () => {
8977
8977
  return result.MonitorDeployment.Status;
8978
8978
  };
8979
8979
  if (returnComparator() === "DEPLOYMENT_FAILED") {
@@ -9000,10 +9000,10 @@ const waitUntilSignalMapMonitorDeployed = async (params, input) => {
9000
9000
  const checkState = async (client, input) => {
9001
9001
  let reason;
9002
9002
  try {
9003
- const result = await client.send(new GetSignalMapCommand(input));
9003
+ let result = await client.send(new GetSignalMapCommand(input));
9004
9004
  reason = result;
9005
9005
  try {
9006
- let returnComparator = () => {
9006
+ const returnComparator = () => {
9007
9007
  return result.Status;
9008
9008
  };
9009
9009
  if (returnComparator() === "UPDATE_COMPLETE") {
@@ -9012,7 +9012,7 @@ const checkState = async (client, input) => {
9012
9012
  }
9013
9013
  catch (e) { }
9014
9014
  try {
9015
- let returnComparator = () => {
9015
+ const returnComparator = () => {
9016
9016
  return result.Status;
9017
9017
  };
9018
9018
  if (returnComparator() === "UPDATE_IN_PROGRESS") {
@@ -9021,7 +9021,7 @@ const checkState = async (client, input) => {
9021
9021
  }
9022
9022
  catch (e) { }
9023
9023
  try {
9024
- let returnComparator = () => {
9024
+ const returnComparator = () => {
9025
9025
  return result.Status;
9026
9026
  };
9027
9027
  if (returnComparator() === "UPDATE_FAILED") {
@@ -9030,7 +9030,7 @@ const checkState = async (client, input) => {
9030
9030
  }
9031
9031
  catch (e) { }
9032
9032
  try {
9033
- let returnComparator = () => {
9033
+ const returnComparator = () => {
9034
9034
  return result.Status;
9035
9035
  };
9036
9036
  if (returnComparator() === "UPDATE_REVERTED") {
@@ -3,10 +3,10 @@ import { DescribeChannelCommand } from "../commands/DescribeChannelCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeChannelCommand(input));
6
+ let result = await client.send(new DescribeChannelCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.State;
11
11
  };
12
12
  if (returnComparator() === "IDLE") {
@@ -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.State;
20
20
  };
21
21
  if (returnComparator() === "CREATING") {
@@ -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.State;
29
29
  };
30
30
  if (returnComparator() === "CREATE_FAILED") {
@@ -3,10 +3,10 @@ import { DescribeChannelCommand } from "../commands/DescribeChannelCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeChannelCommand(input));
6
+ let result = await client.send(new DescribeChannelCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.State;
11
11
  };
12
12
  if (returnComparator() === "DELETED") {
@@ -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.State;
20
20
  };
21
21
  if (returnComparator() === "DELETING") {
@@ -3,10 +3,10 @@ import { DescribeChannelPlacementGroupCommand, } from "../commands/DescribeChann
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeChannelPlacementGroupCommand(input));
6
+ let result = await client.send(new DescribeChannelPlacementGroupCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.State;
11
11
  };
12
12
  if (returnComparator() === "ASSIGNED") {
@@ -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.State;
20
20
  };
21
21
  if (returnComparator() === "ASSIGNING") {
@@ -3,10 +3,10 @@ import { DescribeChannelPlacementGroupCommand, } from "../commands/DescribeChann
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeChannelPlacementGroupCommand(input));
6
+ let result = await client.send(new DescribeChannelPlacementGroupCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.State;
11
11
  };
12
12
  if (returnComparator() === "DELETED") {
@@ -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.State;
20
20
  };
21
21
  if (returnComparator() === "DELETING") {
@@ -3,10 +3,10 @@ import { DescribeChannelPlacementGroupCommand, } from "../commands/DescribeChann
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeChannelPlacementGroupCommand(input));
6
+ let result = await client.send(new DescribeChannelPlacementGroupCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.State;
11
11
  };
12
12
  if (returnComparator() === "UNASSIGNED") {
@@ -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.State;
20
20
  };
21
21
  if (returnComparator() === "UNASSIGNING") {
@@ -3,10 +3,10 @@ import { DescribeChannelCommand } from "../commands/DescribeChannelCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeChannelCommand(input));
6
+ let result = await client.send(new DescribeChannelCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.State;
11
11
  };
12
12
  if (returnComparator() === "RUNNING") {
@@ -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.State;
20
20
  };
21
21
  if (returnComparator() === "STARTING") {
@@ -3,10 +3,10 @@ import { DescribeChannelCommand } from "../commands/DescribeChannelCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeChannelCommand(input));
6
+ let result = await client.send(new DescribeChannelCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.State;
11
11
  };
12
12
  if (returnComparator() === "IDLE") {
@@ -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.State;
20
20
  };
21
21
  if (returnComparator() === "STOPPING") {
@@ -3,10 +3,10 @@ import { DescribeClusterCommand } from "../commands/DescribeClusterCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeClusterCommand(input));
6
+ let result = await client.send(new DescribeClusterCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.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.State;
20
20
  };
21
21
  if (returnComparator() === "CREATING") {
@@ -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.State;
29
29
  };
30
30
  if (returnComparator() === "CREATE_FAILED") {
@@ -3,10 +3,10 @@ import { DescribeClusterCommand } from "../commands/DescribeClusterCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeClusterCommand(input));
6
+ let result = await client.send(new DescribeClusterCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.State;
11
11
  };
12
12
  if (returnComparator() === "DELETED") {
@@ -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.State;
20
20
  };
21
21
  if (returnComparator() === "DELETING") {
@@ -3,10 +3,10 @@ import { DescribeInputCommand } from "../commands/DescribeInputCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeInputCommand(input));
6
+ let result = await client.send(new DescribeInputCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.State;
11
11
  };
12
12
  if (returnComparator() === "ATTACHED") {
@@ -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.State;
20
20
  };
21
21
  if (returnComparator() === "DETACHED") {
@@ -3,10 +3,10 @@ import { DescribeInputCommand } from "../commands/DescribeInputCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeInputCommand(input));
6
+ let result = await client.send(new DescribeInputCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.State;
11
11
  };
12
12
  if (returnComparator() === "DELETED") {
@@ -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.State;
20
20
  };
21
21
  if (returnComparator() === "DELETING") {
@@ -3,10 +3,10 @@ import { DescribeInputCommand } from "../commands/DescribeInputCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeInputCommand(input));
6
+ let result = await client.send(new DescribeInputCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.State;
11
11
  };
12
12
  if (returnComparator() === "DETACHED") {
@@ -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.State;
20
20
  };
21
21
  if (returnComparator() === "CREATING") {
@@ -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.State;
29
29
  };
30
30
  if (returnComparator() === "ATTACHED") {
@@ -3,10 +3,10 @@ import { DescribeMultiplexCommand } from "../commands/DescribeMultiplexCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeMultiplexCommand(input));
6
+ let result = await client.send(new DescribeMultiplexCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.State;
11
11
  };
12
12
  if (returnComparator() === "IDLE") {
@@ -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.State;
20
20
  };
21
21
  if (returnComparator() === "CREATING") {
@@ -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.State;
29
29
  };
30
30
  if (returnComparator() === "CREATE_FAILED") {
@@ -3,10 +3,10 @@ import { DescribeMultiplexCommand } from "../commands/DescribeMultiplexCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeMultiplexCommand(input));
6
+ let result = await client.send(new DescribeMultiplexCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.State;
11
11
  };
12
12
  if (returnComparator() === "DELETED") {
@@ -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.State;
20
20
  };
21
21
  if (returnComparator() === "DELETING") {
@@ -3,10 +3,10 @@ import { DescribeMultiplexCommand } from "../commands/DescribeMultiplexCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeMultiplexCommand(input));
6
+ let result = await client.send(new DescribeMultiplexCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.State;
11
11
  };
12
12
  if (returnComparator() === "RUNNING") {
@@ -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.State;
20
20
  };
21
21
  if (returnComparator() === "STARTING") {
@@ -3,10 +3,10 @@ import { DescribeMultiplexCommand } from "../commands/DescribeMultiplexCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeMultiplexCommand(input));
6
+ let result = await client.send(new DescribeMultiplexCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.State;
11
11
  };
12
12
  if (returnComparator() === "IDLE") {
@@ -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.State;
20
20
  };
21
21
  if (returnComparator() === "STOPPING") {
@@ -3,10 +3,10 @@ import { DescribeNodeCommand } from "../commands/DescribeNodeCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeNodeCommand(input));
6
+ let result = await client.send(new DescribeNodeCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.State;
11
11
  };
12
12
  if (returnComparator() === "DEREGISTERED") {
@@ -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.State;
20
20
  };
21
21
  if (returnComparator() === "DEREGISTERING") {
@@ -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.State;
29
29
  };
30
30
  if (returnComparator() === "DRAINING") {
@@ -3,10 +3,10 @@ import { DescribeNodeCommand } from "../commands/DescribeNodeCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeNodeCommand(input));
6
+ let result = await client.send(new DescribeNodeCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.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.State;
20
20
  };
21
21
  if (returnComparator() === "REGISTERING") {
@@ -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.State;
29
29
  };
30
30
  if (returnComparator() === "REGISTRATION_FAILED") {
@@ -3,10 +3,10 @@ import { GetSignalMapCommand } from "../commands/GetSignalMapCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetSignalMapCommand(input));
6
+ let result = await client.send(new GetSignalMapCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.Status;
11
11
  };
12
12
  if (returnComparator() === "CREATE_COMPLETE") {
@@ -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.Status;
20
20
  };
21
21
  if (returnComparator() === "CREATE_IN_PROGRESS") {
@@ -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.Status;
29
29
  };
30
30
  if (returnComparator() === "CREATE_FAILED") {
@@ -3,10 +3,10 @@ import { GetSignalMapCommand } from "../commands/GetSignalMapCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetSignalMapCommand(input));
6
+ let result = await client.send(new GetSignalMapCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.MonitorDeployment.Status;
11
11
  };
12
12
  if (returnComparator() === "DELETE_COMPLETE") {
@@ -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.MonitorDeployment.Status;
20
20
  };
21
21
  if (returnComparator() === "DELETE_IN_PROGRESS") {
@@ -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.MonitorDeployment.Status;
29
29
  };
30
30
  if (returnComparator() === "DELETE_FAILED") {
@@ -3,10 +3,10 @@ import { GetSignalMapCommand } from "../commands/GetSignalMapCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetSignalMapCommand(input));
6
+ let result = await client.send(new GetSignalMapCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.MonitorDeployment.Status;
11
11
  };
12
12
  if (returnComparator() === "DRY_RUN_DEPLOYMENT_COMPLETE") {
@@ -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.MonitorDeployment.Status;
20
20
  };
21
21
  if (returnComparator() === "DEPLOYMENT_COMPLETE") {
@@ -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.MonitorDeployment.Status;
29
29
  };
30
30
  if (returnComparator() === "DRY_RUN_DEPLOYMENT_IN_PROGRESS") {
@@ -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.MonitorDeployment.Status;
38
38
  };
39
39
  if (returnComparator() === "DEPLOYMENT_IN_PROGRESS") {
@@ -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.MonitorDeployment.Status;
47
47
  };
48
48
  if (returnComparator() === "DRY_RUN_DEPLOYMENT_FAILED") {
@@ -51,7 +51,7 @@ const checkState = async (client, input) => {
51
51
  }
52
52
  catch (e) { }
53
53
  try {
54
- let returnComparator = () => {
54
+ const returnComparator = () => {
55
55
  return result.MonitorDeployment.Status;
56
56
  };
57
57
  if (returnComparator() === "DEPLOYMENT_FAILED") {
@@ -3,10 +3,10 @@ import { GetSignalMapCommand } from "../commands/GetSignalMapCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetSignalMapCommand(input));
6
+ let result = await client.send(new GetSignalMapCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.Status;
11
11
  };
12
12
  if (returnComparator() === "UPDATE_COMPLETE") {
@@ -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.Status;
20
20
  };
21
21
  if (returnComparator() === "UPDATE_IN_PROGRESS") {
@@ -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.Status;
29
29
  };
30
30
  if (returnComparator() === "UPDATE_FAILED") {
@@ -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.Status;
38
38
  };
39
39
  if (returnComparator() === "UPDATE_REVERTED") {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-medialive",
3
3
  "description": "AWS SDK for JavaScript Medialive Client for Node.js, Browser and React Native",
4
- "version": "3.959.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-medialive",
@@ -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",