@aws-sdk/client-mediaconnect 3.1036.0 → 3.1038.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.
Files changed (37) hide show
  1. package/dist-cjs/index.js +25 -25
  2. package/dist-es/waiters/waitForFlowActive.js +3 -3
  3. package/dist-es/waiters/waitForFlowDeleted.js +4 -4
  4. package/dist-es/waiters/waitForFlowStandby.js +3 -3
  5. package/dist-es/waiters/waitForInputActive.js +3 -3
  6. package/dist-es/waiters/waitForInputDeleted.js +4 -4
  7. package/dist-es/waiters/waitForInputStandby.js +3 -3
  8. package/dist-es/waiters/waitForOutputActive.js +3 -3
  9. package/dist-es/waiters/waitForOutputDeleted.js +4 -4
  10. package/dist-es/waiters/waitForOutputRouted.js +3 -3
  11. package/dist-es/waiters/waitForOutputStandby.js +3 -3
  12. package/dist-es/waiters/waitForOutputUnrouted.js +3 -3
  13. package/dist-types/MediaConnect.d.ts +12 -11
  14. package/dist-types/ts3.4/MediaConnect.d.ts +12 -11
  15. package/dist-types/ts3.4/waiters/waitForFlowActive.d.ts +9 -3
  16. package/dist-types/ts3.4/waiters/waitForFlowDeleted.d.ts +10 -3
  17. package/dist-types/ts3.4/waiters/waitForFlowStandby.d.ts +9 -3
  18. package/dist-types/ts3.4/waiters/waitForInputActive.d.ts +9 -3
  19. package/dist-types/ts3.4/waiters/waitForInputDeleted.d.ts +10 -3
  20. package/dist-types/ts3.4/waiters/waitForInputStandby.d.ts +9 -3
  21. package/dist-types/ts3.4/waiters/waitForOutputActive.d.ts +9 -3
  22. package/dist-types/ts3.4/waiters/waitForOutputDeleted.d.ts +10 -3
  23. package/dist-types/ts3.4/waiters/waitForOutputRouted.d.ts +9 -3
  24. package/dist-types/ts3.4/waiters/waitForOutputStandby.d.ts +9 -3
  25. package/dist-types/ts3.4/waiters/waitForOutputUnrouted.d.ts +9 -3
  26. package/dist-types/waiters/waitForFlowActive.d.ts +4 -3
  27. package/dist-types/waiters/waitForFlowDeleted.d.ts +5 -3
  28. package/dist-types/waiters/waitForFlowStandby.d.ts +4 -3
  29. package/dist-types/waiters/waitForInputActive.d.ts +4 -3
  30. package/dist-types/waiters/waitForInputDeleted.d.ts +5 -3
  31. package/dist-types/waiters/waitForInputStandby.d.ts +4 -3
  32. package/dist-types/waiters/waitForOutputActive.d.ts +4 -3
  33. package/dist-types/waiters/waitForOutputDeleted.d.ts +5 -3
  34. package/dist-types/waiters/waitForOutputRouted.d.ts +4 -3
  35. package/dist-types/waiters/waitForOutputStandby.d.ts +4 -3
  36. package/dist-types/waiters/waitForOutputUnrouted.d.ts +4 -3
  37. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1171,10 +1171,10 @@ const checkState$a = async (client, input) => {
1171
1171
  }
1172
1172
  catch (exception) {
1173
1173
  reason = exception;
1174
- if (exception.name && exception.name == "InternalServerErrorException") {
1174
+ if (exception.name === "InternalServerErrorException") {
1175
1175
  return { state: utilWaiter.WaiterState.RETRY, reason };
1176
1176
  }
1177
- if (exception.name && exception.name == "ServiceUnavailableException") {
1177
+ if (exception.name === "ServiceUnavailableException") {
1178
1178
  return { state: utilWaiter.WaiterState.RETRY, reason };
1179
1179
  }
1180
1180
  }
@@ -1216,13 +1216,13 @@ const checkState$9 = async (client, input) => {
1216
1216
  }
1217
1217
  catch (exception) {
1218
1218
  reason = exception;
1219
- if (exception.name && exception.name == "NotFoundException") {
1219
+ if (exception.name === "NotFoundException") {
1220
1220
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
1221
1221
  }
1222
- if (exception.name && exception.name == "InternalServerErrorException") {
1222
+ if (exception.name === "InternalServerErrorException") {
1223
1223
  return { state: utilWaiter.WaiterState.RETRY, reason };
1224
1224
  }
1225
- if (exception.name && exception.name == "ServiceUnavailableException") {
1225
+ if (exception.name === "ServiceUnavailableException") {
1226
1226
  return { state: utilWaiter.WaiterState.RETRY, reason };
1227
1227
  }
1228
1228
  }
@@ -1273,10 +1273,10 @@ const checkState$8 = async (client, input) => {
1273
1273
  }
1274
1274
  catch (exception) {
1275
1275
  reason = exception;
1276
- if (exception.name && exception.name == "InternalServerErrorException") {
1276
+ if (exception.name === "InternalServerErrorException") {
1277
1277
  return { state: utilWaiter.WaiterState.RETRY, reason };
1278
1278
  }
1279
- if (exception.name && exception.name == "ServiceUnavailableException") {
1279
+ if (exception.name === "ServiceUnavailableException") {
1280
1280
  return { state: utilWaiter.WaiterState.RETRY, reason };
1281
1281
  }
1282
1282
  }
@@ -1345,10 +1345,10 @@ const checkState$7 = async (client, input) => {
1345
1345
  }
1346
1346
  catch (exception) {
1347
1347
  reason = exception;
1348
- if (exception.name && exception.name == "InternalServerErrorException") {
1348
+ if (exception.name === "InternalServerErrorException") {
1349
1349
  return { state: utilWaiter.WaiterState.RETRY, reason };
1350
1350
  }
1351
- if (exception.name && exception.name == "ServiceUnavailableException") {
1351
+ if (exception.name === "ServiceUnavailableException") {
1352
1352
  return { state: utilWaiter.WaiterState.RETRY, reason };
1353
1353
  }
1354
1354
  }
@@ -1390,13 +1390,13 @@ const checkState$6 = async (client, input) => {
1390
1390
  }
1391
1391
  catch (exception) {
1392
1392
  reason = exception;
1393
- if (exception.name && exception.name == "InternalServerErrorException") {
1393
+ if (exception.name === "InternalServerErrorException") {
1394
1394
  return { state: utilWaiter.WaiterState.RETRY, reason };
1395
1395
  }
1396
- if (exception.name && exception.name == "ServiceUnavailableException") {
1396
+ if (exception.name === "ServiceUnavailableException") {
1397
1397
  return { state: utilWaiter.WaiterState.RETRY, reason };
1398
1398
  }
1399
- if (exception.name && exception.name == "NotFoundException") {
1399
+ if (exception.name === "NotFoundException") {
1400
1400
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
1401
1401
  }
1402
1402
  }
@@ -1447,10 +1447,10 @@ const checkState$5 = async (client, input) => {
1447
1447
  }
1448
1448
  catch (exception) {
1449
1449
  reason = exception;
1450
- if (exception.name && exception.name == "InternalServerErrorException") {
1450
+ if (exception.name === "InternalServerErrorException") {
1451
1451
  return { state: utilWaiter.WaiterState.RETRY, reason };
1452
1452
  }
1453
- if (exception.name && exception.name == "ServiceUnavailableException") {
1453
+ if (exception.name === "ServiceUnavailableException") {
1454
1454
  return { state: utilWaiter.WaiterState.RETRY, reason };
1455
1455
  }
1456
1456
  }
@@ -1519,10 +1519,10 @@ const checkState$4 = async (client, input) => {
1519
1519
  }
1520
1520
  catch (exception) {
1521
1521
  reason = exception;
1522
- if (exception.name && exception.name == "InternalServerErrorException") {
1522
+ if (exception.name === "InternalServerErrorException") {
1523
1523
  return { state: utilWaiter.WaiterState.RETRY, reason };
1524
1524
  }
1525
- if (exception.name && exception.name == "ServiceUnavailableException") {
1525
+ if (exception.name === "ServiceUnavailableException") {
1526
1526
  return { state: utilWaiter.WaiterState.RETRY, reason };
1527
1527
  }
1528
1528
  }
@@ -1564,13 +1564,13 @@ const checkState$3 = async (client, input) => {
1564
1564
  }
1565
1565
  catch (exception) {
1566
1566
  reason = exception;
1567
- if (exception.name && exception.name == "InternalServerErrorException") {
1567
+ if (exception.name === "InternalServerErrorException") {
1568
1568
  return { state: utilWaiter.WaiterState.RETRY, reason };
1569
1569
  }
1570
- if (exception.name && exception.name == "ServiceUnavailableException") {
1570
+ if (exception.name === "ServiceUnavailableException") {
1571
1571
  return { state: utilWaiter.WaiterState.RETRY, reason };
1572
1572
  }
1573
- if (exception.name && exception.name == "NotFoundException") {
1573
+ if (exception.name === "NotFoundException") {
1574
1574
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
1575
1575
  }
1576
1576
  }
@@ -1612,10 +1612,10 @@ const checkState$2 = async (client, input) => {
1612
1612
  }
1613
1613
  catch (exception) {
1614
1614
  reason = exception;
1615
- if (exception.name && exception.name == "InternalServerErrorException") {
1615
+ if (exception.name === "InternalServerErrorException") {
1616
1616
  return { state: utilWaiter.WaiterState.RETRY, reason };
1617
1617
  }
1618
- if (exception.name && exception.name == "ServiceUnavailableException") {
1618
+ if (exception.name === "ServiceUnavailableException") {
1619
1619
  return { state: utilWaiter.WaiterState.RETRY, reason };
1620
1620
  }
1621
1621
  }
@@ -1666,10 +1666,10 @@ const checkState$1 = async (client, input) => {
1666
1666
  }
1667
1667
  catch (exception) {
1668
1668
  reason = exception;
1669
- if (exception.name && exception.name == "InternalServerErrorException") {
1669
+ if (exception.name === "InternalServerErrorException") {
1670
1670
  return { state: utilWaiter.WaiterState.RETRY, reason };
1671
1671
  }
1672
- if (exception.name && exception.name == "ServiceUnavailableException") {
1672
+ if (exception.name === "ServiceUnavailableException") {
1673
1673
  return { state: utilWaiter.WaiterState.RETRY, reason };
1674
1674
  }
1675
1675
  }
@@ -1711,10 +1711,10 @@ const checkState = async (client, input) => {
1711
1711
  }
1712
1712
  catch (exception) {
1713
1713
  reason = exception;
1714
- if (exception.name && exception.name == "InternalServerErrorException") {
1714
+ if (exception.name === "InternalServerErrorException") {
1715
1715
  return { state: utilWaiter.WaiterState.RETRY, reason };
1716
1716
  }
1717
- if (exception.name && exception.name == "ServiceUnavailableException") {
1717
+ if (exception.name === "ServiceUnavailableException") {
1718
1718
  return { state: utilWaiter.WaiterState.RETRY, reason };
1719
1719
  }
1720
1720
  }
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { DescribeFlowCommand } from "../commands/DescribeFlowCommand";
2
+ import { DescribeFlowCommand, } from "../commands/DescribeFlowCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -53,10 +53,10 @@ const checkState = async (client, input) => {
53
53
  }
54
54
  catch (exception) {
55
55
  reason = exception;
56
- if (exception.name && exception.name == "InternalServerErrorException") {
56
+ if (exception.name === "InternalServerErrorException") {
57
57
  return { state: WaiterState.RETRY, reason };
58
58
  }
59
- if (exception.name && exception.name == "ServiceUnavailableException") {
59
+ if (exception.name === "ServiceUnavailableException") {
60
60
  return { state: WaiterState.RETRY, reason };
61
61
  }
62
62
  }
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { DescribeFlowCommand } from "../commands/DescribeFlowCommand";
2
+ import { DescribeFlowCommand, } from "../commands/DescribeFlowCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -26,13 +26,13 @@ const checkState = async (client, input) => {
26
26
  }
27
27
  catch (exception) {
28
28
  reason = exception;
29
- if (exception.name && exception.name == "NotFoundException") {
29
+ if (exception.name === "NotFoundException") {
30
30
  return { state: WaiterState.SUCCESS, reason };
31
31
  }
32
- if (exception.name && exception.name == "InternalServerErrorException") {
32
+ if (exception.name === "InternalServerErrorException") {
33
33
  return { state: WaiterState.RETRY, reason };
34
34
  }
35
- if (exception.name && exception.name == "ServiceUnavailableException") {
35
+ if (exception.name === "ServiceUnavailableException") {
36
36
  return { state: WaiterState.RETRY, reason };
37
37
  }
38
38
  }
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { DescribeFlowCommand } from "../commands/DescribeFlowCommand";
2
+ import { DescribeFlowCommand, } from "../commands/DescribeFlowCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -35,10 +35,10 @@ const checkState = async (client, input) => {
35
35
  }
36
36
  catch (exception) {
37
37
  reason = exception;
38
- if (exception.name && exception.name == "InternalServerErrorException") {
38
+ if (exception.name === "InternalServerErrorException") {
39
39
  return { state: WaiterState.RETRY, reason };
40
40
  }
41
- if (exception.name && exception.name == "ServiceUnavailableException") {
41
+ if (exception.name === "ServiceUnavailableException") {
42
42
  return { state: WaiterState.RETRY, reason };
43
43
  }
44
44
  }
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetRouterInputCommand } from "../commands/GetRouterInputCommand";
2
+ import { GetRouterInputCommand, } from "../commands/GetRouterInputCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -53,10 +53,10 @@ const checkState = async (client, input) => {
53
53
  }
54
54
  catch (exception) {
55
55
  reason = exception;
56
- if (exception.name && exception.name == "InternalServerErrorException") {
56
+ if (exception.name === "InternalServerErrorException") {
57
57
  return { state: WaiterState.RETRY, reason };
58
58
  }
59
- if (exception.name && exception.name == "ServiceUnavailableException") {
59
+ if (exception.name === "ServiceUnavailableException") {
60
60
  return { state: WaiterState.RETRY, reason };
61
61
  }
62
62
  }
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetRouterInputCommand } from "../commands/GetRouterInputCommand";
2
+ import { GetRouterInputCommand, } from "../commands/GetRouterInputCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -26,13 +26,13 @@ const checkState = async (client, input) => {
26
26
  }
27
27
  catch (exception) {
28
28
  reason = exception;
29
- if (exception.name && exception.name == "InternalServerErrorException") {
29
+ if (exception.name === "InternalServerErrorException") {
30
30
  return { state: WaiterState.RETRY, reason };
31
31
  }
32
- if (exception.name && exception.name == "ServiceUnavailableException") {
32
+ if (exception.name === "ServiceUnavailableException") {
33
33
  return { state: WaiterState.RETRY, reason };
34
34
  }
35
- if (exception.name && exception.name == "NotFoundException") {
35
+ if (exception.name === "NotFoundException") {
36
36
  return { state: WaiterState.SUCCESS, reason };
37
37
  }
38
38
  }
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetRouterInputCommand } from "../commands/GetRouterInputCommand";
2
+ import { GetRouterInputCommand, } from "../commands/GetRouterInputCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -35,10 +35,10 @@ const checkState = async (client, input) => {
35
35
  }
36
36
  catch (exception) {
37
37
  reason = exception;
38
- if (exception.name && exception.name == "InternalServerErrorException") {
38
+ if (exception.name === "InternalServerErrorException") {
39
39
  return { state: WaiterState.RETRY, reason };
40
40
  }
41
- if (exception.name && exception.name == "ServiceUnavailableException") {
41
+ if (exception.name === "ServiceUnavailableException") {
42
42
  return { state: WaiterState.RETRY, reason };
43
43
  }
44
44
  }
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetRouterOutputCommand } from "../commands/GetRouterOutputCommand";
2
+ import { GetRouterOutputCommand, } from "../commands/GetRouterOutputCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -53,10 +53,10 @@ const checkState = async (client, input) => {
53
53
  }
54
54
  catch (exception) {
55
55
  reason = exception;
56
- if (exception.name && exception.name == "InternalServerErrorException") {
56
+ if (exception.name === "InternalServerErrorException") {
57
57
  return { state: WaiterState.RETRY, reason };
58
58
  }
59
- if (exception.name && exception.name == "ServiceUnavailableException") {
59
+ if (exception.name === "ServiceUnavailableException") {
60
60
  return { state: WaiterState.RETRY, reason };
61
61
  }
62
62
  }
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetRouterOutputCommand } from "../commands/GetRouterOutputCommand";
2
+ import { GetRouterOutputCommand, } from "../commands/GetRouterOutputCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -26,13 +26,13 @@ const checkState = async (client, input) => {
26
26
  }
27
27
  catch (exception) {
28
28
  reason = exception;
29
- if (exception.name && exception.name == "InternalServerErrorException") {
29
+ if (exception.name === "InternalServerErrorException") {
30
30
  return { state: WaiterState.RETRY, reason };
31
31
  }
32
- if (exception.name && exception.name == "ServiceUnavailableException") {
32
+ if (exception.name === "ServiceUnavailableException") {
33
33
  return { state: WaiterState.RETRY, reason };
34
34
  }
35
- if (exception.name && exception.name == "NotFoundException") {
35
+ if (exception.name === "NotFoundException") {
36
36
  return { state: WaiterState.SUCCESS, reason };
37
37
  }
38
38
  }
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetRouterOutputCommand } from "../commands/GetRouterOutputCommand";
2
+ import { GetRouterOutputCommand, } from "../commands/GetRouterOutputCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -26,10 +26,10 @@ const checkState = async (client, input) => {
26
26
  }
27
27
  catch (exception) {
28
28
  reason = exception;
29
- if (exception.name && exception.name == "InternalServerErrorException") {
29
+ if (exception.name === "InternalServerErrorException") {
30
30
  return { state: WaiterState.RETRY, reason };
31
31
  }
32
- if (exception.name && exception.name == "ServiceUnavailableException") {
32
+ if (exception.name === "ServiceUnavailableException") {
33
33
  return { state: WaiterState.RETRY, reason };
34
34
  }
35
35
  }
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetRouterOutputCommand } from "../commands/GetRouterOutputCommand";
2
+ import { GetRouterOutputCommand, } from "../commands/GetRouterOutputCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -35,10 +35,10 @@ const checkState = async (client, input) => {
35
35
  }
36
36
  catch (exception) {
37
37
  reason = exception;
38
- if (exception.name && exception.name == "InternalServerErrorException") {
38
+ if (exception.name === "InternalServerErrorException") {
39
39
  return { state: WaiterState.RETRY, reason };
40
40
  }
41
- if (exception.name && exception.name == "ServiceUnavailableException") {
41
+ if (exception.name === "ServiceUnavailableException") {
42
42
  return { state: WaiterState.RETRY, reason };
43
43
  }
44
44
  }
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetRouterOutputCommand } from "../commands/GetRouterOutputCommand";
2
+ import { GetRouterOutputCommand, } from "../commands/GetRouterOutputCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -26,10 +26,10 @@ const checkState = async (client, input) => {
26
26
  }
27
27
  catch (exception) {
28
28
  reason = exception;
29
- if (exception.name && exception.name == "InternalServerErrorException") {
29
+ if (exception.name === "InternalServerErrorException") {
30
30
  return { state: WaiterState.RETRY, reason };
31
31
  }
32
- if (exception.name && exception.name == "ServiceUnavailableException") {
32
+ if (exception.name === "ServiceUnavailableException") {
33
33
  return { state: WaiterState.RETRY, reason };
34
34
  }
35
35
  }
@@ -83,6 +83,7 @@ import { type UpdateRouterInputCommandInput, type UpdateRouterInputCommandOutput
83
83
  import { type UpdateRouterNetworkInterfaceCommandInput, type UpdateRouterNetworkInterfaceCommandOutput } from "./commands/UpdateRouterNetworkInterfaceCommand";
84
84
  import { type UpdateRouterOutputCommandInput, type UpdateRouterOutputCommandOutput } from "./commands/UpdateRouterOutputCommand";
85
85
  import { MediaConnectClient } from "./MediaConnectClient";
86
+ import type { NotFoundException } from "./models/errors";
86
87
  export interface MediaConnect {
87
88
  /**
88
89
  * @see {@link AddBridgeOutputsCommand}
@@ -661,67 +662,67 @@ export interface MediaConnect {
661
662
  * @param args - command input.
662
663
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
663
664
  */
664
- waitUntilFlowActive(args: DescribeFlowCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">): Promise<WaiterResult>;
665
+ waitUntilFlowActive(args: DescribeFlowCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">): Promise<WaiterResult<DescribeFlowCommandOutput>>;
665
666
  /**
666
667
  * @see {@link DescribeFlowCommand}
667
668
  * @param args - command input.
668
669
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
669
670
  */
670
- waitUntilFlowStandby(args: DescribeFlowCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">): Promise<WaiterResult>;
671
+ waitUntilFlowStandby(args: DescribeFlowCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">): Promise<WaiterResult<DescribeFlowCommandOutput>>;
671
672
  /**
672
673
  * @see {@link DescribeFlowCommand}
673
674
  * @param args - command input.
674
675
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
675
676
  */
676
- waitUntilFlowDeleted(args: DescribeFlowCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">): Promise<WaiterResult>;
677
+ waitUntilFlowDeleted(args: DescribeFlowCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">): Promise<WaiterResult<NotFoundException>>;
677
678
  /**
678
679
  * @see {@link GetRouterInputCommand}
679
680
  * @param args - command input.
680
681
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
681
682
  */
682
- waitUntilInputActive(args: GetRouterInputCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">): Promise<WaiterResult>;
683
+ waitUntilInputActive(args: GetRouterInputCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">): Promise<WaiterResult<GetRouterInputCommandOutput>>;
683
684
  /**
684
685
  * @see {@link GetRouterInputCommand}
685
686
  * @param args - command input.
686
687
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
687
688
  */
688
- waitUntilInputStandby(args: GetRouterInputCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">): Promise<WaiterResult>;
689
+ waitUntilInputStandby(args: GetRouterInputCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">): Promise<WaiterResult<GetRouterInputCommandOutput>>;
689
690
  /**
690
691
  * @see {@link GetRouterInputCommand}
691
692
  * @param args - command input.
692
693
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
693
694
  */
694
- waitUntilInputDeleted(args: GetRouterInputCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">): Promise<WaiterResult>;
695
+ waitUntilInputDeleted(args: GetRouterInputCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">): Promise<WaiterResult<NotFoundException>>;
695
696
  /**
696
697
  * @see {@link GetRouterOutputCommand}
697
698
  * @param args - command input.
698
699
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
699
700
  */
700
- waitUntilOutputActive(args: GetRouterOutputCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">): Promise<WaiterResult>;
701
+ waitUntilOutputActive(args: GetRouterOutputCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">): Promise<WaiterResult<GetRouterOutputCommandOutput>>;
701
702
  /**
702
703
  * @see {@link GetRouterOutputCommand}
703
704
  * @param args - command input.
704
705
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
705
706
  */
706
- waitUntilOutputDeleted(args: GetRouterOutputCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">): Promise<WaiterResult>;
707
+ waitUntilOutputDeleted(args: GetRouterOutputCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">): Promise<WaiterResult<NotFoundException>>;
707
708
  /**
708
709
  * @see {@link GetRouterOutputCommand}
709
710
  * @param args - command input.
710
711
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
711
712
  */
712
- waitUntilOutputRouted(args: GetRouterOutputCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">): Promise<WaiterResult>;
713
+ waitUntilOutputRouted(args: GetRouterOutputCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">): Promise<WaiterResult<GetRouterOutputCommandOutput>>;
713
714
  /**
714
715
  * @see {@link GetRouterOutputCommand}
715
716
  * @param args - command input.
716
717
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
717
718
  */
718
- waitUntilOutputStandby(args: GetRouterOutputCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">): Promise<WaiterResult>;
719
+ waitUntilOutputStandby(args: GetRouterOutputCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">): Promise<WaiterResult<GetRouterOutputCommandOutput>>;
719
720
  /**
720
721
  * @see {@link GetRouterOutputCommand}
721
722
  * @param args - command input.
722
723
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
723
724
  */
724
- waitUntilOutputUnrouted(args: GetRouterOutputCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">): Promise<WaiterResult>;
725
+ waitUntilOutputUnrouted(args: GetRouterOutputCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">): Promise<WaiterResult<GetRouterOutputCommandOutput>>;
725
726
  }
726
727
  /**
727
728
  * <p>Welcome to the Elemental MediaConnect API reference. </p> <p>MediaConnect is a service that lets you ingest live video content into the cloud and distribute it to destinations all over the world, both inside and outside the Amazon Web Services cloud. This API reference provides descriptions, syntax, and usage examples for each of the actions and data types that are supported by MediaConnect. </p> <p>Use the following links to get started with the MediaConnect API:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/mediaconnect/latest/api/API_Operations.html">Actions</a>: An alphabetical list of all MediaConnect API operations.</p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mediaconnect/latest/api/API_Types.html">Data types</a>: An alphabetical list of all MediaConnect data types.</p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mediaconnect/latest/api/CommonParameters.html">Common parameters</a>: Parameters that all operations can use.</p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mediaconnect/latest/api/CommonErrors.html">Common errors</a>: Client and server errors that all operations can return.</p> </li> </ul>
@@ -334,6 +334,7 @@ import {
334
334
  UpdateRouterOutputCommandOutput,
335
335
  } from "./commands/UpdateRouterOutputCommand";
336
336
  import { MediaConnectClient } from "./MediaConnectClient";
337
+ import { NotFoundException } from "./models/errors";
337
338
  export interface MediaConnect {
338
339
  addBridgeOutputs(
339
340
  args: AddBridgeOutputsCommandInput,
@@ -1489,7 +1490,7 @@ export interface MediaConnect {
1489
1490
  WaiterConfiguration<MediaConnect>,
1490
1491
  Exclude<keyof WaiterConfiguration<MediaConnect>, "client">
1491
1492
  >
1492
- ): Promise<WaiterResult>;
1493
+ ): Promise<WaiterResult<DescribeFlowCommandOutput>>;
1493
1494
  waitUntilFlowStandby(
1494
1495
  args: DescribeFlowCommandInput,
1495
1496
  waiterConfig:
@@ -1498,7 +1499,7 @@ export interface MediaConnect {
1498
1499
  WaiterConfiguration<MediaConnect>,
1499
1500
  Exclude<keyof WaiterConfiguration<MediaConnect>, "client">
1500
1501
  >
1501
- ): Promise<WaiterResult>;
1502
+ ): Promise<WaiterResult<DescribeFlowCommandOutput>>;
1502
1503
  waitUntilFlowDeleted(
1503
1504
  args: DescribeFlowCommandInput,
1504
1505
  waiterConfig:
@@ -1507,7 +1508,7 @@ export interface MediaConnect {
1507
1508
  WaiterConfiguration<MediaConnect>,
1508
1509
  Exclude<keyof WaiterConfiguration<MediaConnect>, "client">
1509
1510
  >
1510
- ): Promise<WaiterResult>;
1511
+ ): Promise<WaiterResult<NotFoundException>>;
1511
1512
  waitUntilInputActive(
1512
1513
  args: GetRouterInputCommandInput,
1513
1514
  waiterConfig:
@@ -1516,7 +1517,7 @@ export interface MediaConnect {
1516
1517
  WaiterConfiguration<MediaConnect>,
1517
1518
  Exclude<keyof WaiterConfiguration<MediaConnect>, "client">
1518
1519
  >
1519
- ): Promise<WaiterResult>;
1520
+ ): Promise<WaiterResult<GetRouterInputCommandOutput>>;
1520
1521
  waitUntilInputStandby(
1521
1522
  args: GetRouterInputCommandInput,
1522
1523
  waiterConfig:
@@ -1525,7 +1526,7 @@ export interface MediaConnect {
1525
1526
  WaiterConfiguration<MediaConnect>,
1526
1527
  Exclude<keyof WaiterConfiguration<MediaConnect>, "client">
1527
1528
  >
1528
- ): Promise<WaiterResult>;
1529
+ ): Promise<WaiterResult<GetRouterInputCommandOutput>>;
1529
1530
  waitUntilInputDeleted(
1530
1531
  args: GetRouterInputCommandInput,
1531
1532
  waiterConfig:
@@ -1534,7 +1535,7 @@ export interface MediaConnect {
1534
1535
  WaiterConfiguration<MediaConnect>,
1535
1536
  Exclude<keyof WaiterConfiguration<MediaConnect>, "client">
1536
1537
  >
1537
- ): Promise<WaiterResult>;
1538
+ ): Promise<WaiterResult<NotFoundException>>;
1538
1539
  waitUntilOutputActive(
1539
1540
  args: GetRouterOutputCommandInput,
1540
1541
  waiterConfig:
@@ -1543,7 +1544,7 @@ export interface MediaConnect {
1543
1544
  WaiterConfiguration<MediaConnect>,
1544
1545
  Exclude<keyof WaiterConfiguration<MediaConnect>, "client">
1545
1546
  >
1546
- ): Promise<WaiterResult>;
1547
+ ): Promise<WaiterResult<GetRouterOutputCommandOutput>>;
1547
1548
  waitUntilOutputDeleted(
1548
1549
  args: GetRouterOutputCommandInput,
1549
1550
  waiterConfig:
@@ -1552,7 +1553,7 @@ export interface MediaConnect {
1552
1553
  WaiterConfiguration<MediaConnect>,
1553
1554
  Exclude<keyof WaiterConfiguration<MediaConnect>, "client">
1554
1555
  >
1555
- ): Promise<WaiterResult>;
1556
+ ): Promise<WaiterResult<NotFoundException>>;
1556
1557
  waitUntilOutputRouted(
1557
1558
  args: GetRouterOutputCommandInput,
1558
1559
  waiterConfig:
@@ -1561,7 +1562,7 @@ export interface MediaConnect {
1561
1562
  WaiterConfiguration<MediaConnect>,
1562
1563
  Exclude<keyof WaiterConfiguration<MediaConnect>, "client">
1563
1564
  >
1564
- ): Promise<WaiterResult>;
1565
+ ): Promise<WaiterResult<GetRouterOutputCommandOutput>>;
1565
1566
  waitUntilOutputStandby(
1566
1567
  args: GetRouterOutputCommandInput,
1567
1568
  waiterConfig:
@@ -1570,7 +1571,7 @@ export interface MediaConnect {
1570
1571
  WaiterConfiguration<MediaConnect>,
1571
1572
  Exclude<keyof WaiterConfiguration<MediaConnect>, "client">
1572
1573
  >
1573
- ): Promise<WaiterResult>;
1574
+ ): Promise<WaiterResult<GetRouterOutputCommandOutput>>;
1574
1575
  waitUntilOutputUnrouted(
1575
1576
  args: GetRouterOutputCommandInput,
1576
1577
  waiterConfig:
@@ -1579,7 +1580,7 @@ export interface MediaConnect {
1579
1580
  WaiterConfiguration<MediaConnect>,
1580
1581
  Exclude<keyof WaiterConfiguration<MediaConnect>, "client">
1581
1582
  >
1582
- ): Promise<WaiterResult>;
1583
+ ): Promise<WaiterResult<GetRouterOutputCommandOutput>>;
1583
1584
  }
1584
1585
  export declare class MediaConnect
1585
1586
  extends MediaConnectClient
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeFlowCommandInput } from "../commands/DescribeFlowCommand";
2
+ import {
3
+ DescribeFlowCommandInput,
4
+ DescribeFlowCommandOutput,
5
+ } from "../commands/DescribeFlowCommand";
3
6
  import { MediaConnectClient } from "../MediaConnectClient";
7
+ import { MediaConnectServiceException } from "../models/MediaConnectServiceException";
4
8
  export declare const waitForFlowActive: (
5
9
  params: WaiterConfiguration<MediaConnectClient>,
6
10
  input: DescribeFlowCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeFlowCommandOutput | MediaConnectServiceException>
13
+ >;
8
14
  export declare const waitUntilFlowActive: (
9
15
  params: WaiterConfiguration<MediaConnectClient>,
10
16
  input: DescribeFlowCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeFlowCommandOutput>>;
@@ -1,11 +1,18 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeFlowCommandInput } from "../commands/DescribeFlowCommand";
2
+ import {
3
+ DescribeFlowCommandInput,
4
+ DescribeFlowCommandOutput,
5
+ } from "../commands/DescribeFlowCommand";
3
6
  import { MediaConnectClient } from "../MediaConnectClient";
7
+ import { NotFoundException } from "../models/errors";
8
+ import { MediaConnectServiceException } from "../models/MediaConnectServiceException";
4
9
  export declare const waitForFlowDeleted: (
5
10
  params: WaiterConfiguration<MediaConnectClient>,
6
11
  input: DescribeFlowCommandInput
7
- ) => Promise<WaiterResult>;
12
+ ) => Promise<
13
+ WaiterResult<DescribeFlowCommandOutput | MediaConnectServiceException>
14
+ >;
8
15
  export declare const waitUntilFlowDeleted: (
9
16
  params: WaiterConfiguration<MediaConnectClient>,
10
17
  input: DescribeFlowCommandInput
11
- ) => Promise<WaiterResult>;
18
+ ) => Promise<WaiterResult<NotFoundException>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeFlowCommandInput } from "../commands/DescribeFlowCommand";
2
+ import {
3
+ DescribeFlowCommandInput,
4
+ DescribeFlowCommandOutput,
5
+ } from "../commands/DescribeFlowCommand";
3
6
  import { MediaConnectClient } from "../MediaConnectClient";
7
+ import { MediaConnectServiceException } from "../models/MediaConnectServiceException";
4
8
  export declare const waitForFlowStandby: (
5
9
  params: WaiterConfiguration<MediaConnectClient>,
6
10
  input: DescribeFlowCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeFlowCommandOutput | MediaConnectServiceException>
13
+ >;
8
14
  export declare const waitUntilFlowStandby: (
9
15
  params: WaiterConfiguration<MediaConnectClient>,
10
16
  input: DescribeFlowCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeFlowCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetRouterInputCommandInput } from "../commands/GetRouterInputCommand";
2
+ import {
3
+ GetRouterInputCommandInput,
4
+ GetRouterInputCommandOutput,
5
+ } from "../commands/GetRouterInputCommand";
3
6
  import { MediaConnectClient } from "../MediaConnectClient";
7
+ import { MediaConnectServiceException } from "../models/MediaConnectServiceException";
4
8
  export declare const waitForInputActive: (
5
9
  params: WaiterConfiguration<MediaConnectClient>,
6
10
  input: GetRouterInputCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<GetRouterInputCommandOutput | MediaConnectServiceException>
13
+ >;
8
14
  export declare const waitUntilInputActive: (
9
15
  params: WaiterConfiguration<MediaConnectClient>,
10
16
  input: GetRouterInputCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<GetRouterInputCommandOutput>>;
@@ -1,11 +1,18 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetRouterInputCommandInput } from "../commands/GetRouterInputCommand";
2
+ import {
3
+ GetRouterInputCommandInput,
4
+ GetRouterInputCommandOutput,
5
+ } from "../commands/GetRouterInputCommand";
3
6
  import { MediaConnectClient } from "../MediaConnectClient";
7
+ import { NotFoundException } from "../models/errors";
8
+ import { MediaConnectServiceException } from "../models/MediaConnectServiceException";
4
9
  export declare const waitForInputDeleted: (
5
10
  params: WaiterConfiguration<MediaConnectClient>,
6
11
  input: GetRouterInputCommandInput
7
- ) => Promise<WaiterResult>;
12
+ ) => Promise<
13
+ WaiterResult<GetRouterInputCommandOutput | MediaConnectServiceException>
14
+ >;
8
15
  export declare const waitUntilInputDeleted: (
9
16
  params: WaiterConfiguration<MediaConnectClient>,
10
17
  input: GetRouterInputCommandInput
11
- ) => Promise<WaiterResult>;
18
+ ) => Promise<WaiterResult<NotFoundException>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetRouterInputCommandInput } from "../commands/GetRouterInputCommand";
2
+ import {
3
+ GetRouterInputCommandInput,
4
+ GetRouterInputCommandOutput,
5
+ } from "../commands/GetRouterInputCommand";
3
6
  import { MediaConnectClient } from "../MediaConnectClient";
7
+ import { MediaConnectServiceException } from "../models/MediaConnectServiceException";
4
8
  export declare const waitForInputStandby: (
5
9
  params: WaiterConfiguration<MediaConnectClient>,
6
10
  input: GetRouterInputCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<GetRouterInputCommandOutput | MediaConnectServiceException>
13
+ >;
8
14
  export declare const waitUntilInputStandby: (
9
15
  params: WaiterConfiguration<MediaConnectClient>,
10
16
  input: GetRouterInputCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<GetRouterInputCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetRouterOutputCommandInput } from "../commands/GetRouterOutputCommand";
2
+ import {
3
+ GetRouterOutputCommandInput,
4
+ GetRouterOutputCommandOutput,
5
+ } from "../commands/GetRouterOutputCommand";
3
6
  import { MediaConnectClient } from "../MediaConnectClient";
7
+ import { MediaConnectServiceException } from "../models/MediaConnectServiceException";
4
8
  export declare const waitForOutputActive: (
5
9
  params: WaiterConfiguration<MediaConnectClient>,
6
10
  input: GetRouterOutputCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<GetRouterOutputCommandOutput | MediaConnectServiceException>
13
+ >;
8
14
  export declare const waitUntilOutputActive: (
9
15
  params: WaiterConfiguration<MediaConnectClient>,
10
16
  input: GetRouterOutputCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<GetRouterOutputCommandOutput>>;
@@ -1,11 +1,18 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetRouterOutputCommandInput } from "../commands/GetRouterOutputCommand";
2
+ import {
3
+ GetRouterOutputCommandInput,
4
+ GetRouterOutputCommandOutput,
5
+ } from "../commands/GetRouterOutputCommand";
3
6
  import { MediaConnectClient } from "../MediaConnectClient";
7
+ import { NotFoundException } from "../models/errors";
8
+ import { MediaConnectServiceException } from "../models/MediaConnectServiceException";
4
9
  export declare const waitForOutputDeleted: (
5
10
  params: WaiterConfiguration<MediaConnectClient>,
6
11
  input: GetRouterOutputCommandInput
7
- ) => Promise<WaiterResult>;
12
+ ) => Promise<
13
+ WaiterResult<GetRouterOutputCommandOutput | MediaConnectServiceException>
14
+ >;
8
15
  export declare const waitUntilOutputDeleted: (
9
16
  params: WaiterConfiguration<MediaConnectClient>,
10
17
  input: GetRouterOutputCommandInput
11
- ) => Promise<WaiterResult>;
18
+ ) => Promise<WaiterResult<NotFoundException>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetRouterOutputCommandInput } from "../commands/GetRouterOutputCommand";
2
+ import {
3
+ GetRouterOutputCommandInput,
4
+ GetRouterOutputCommandOutput,
5
+ } from "../commands/GetRouterOutputCommand";
3
6
  import { MediaConnectClient } from "../MediaConnectClient";
7
+ import { MediaConnectServiceException } from "../models/MediaConnectServiceException";
4
8
  export declare const waitForOutputRouted: (
5
9
  params: WaiterConfiguration<MediaConnectClient>,
6
10
  input: GetRouterOutputCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<GetRouterOutputCommandOutput | MediaConnectServiceException>
13
+ >;
8
14
  export declare const waitUntilOutputRouted: (
9
15
  params: WaiterConfiguration<MediaConnectClient>,
10
16
  input: GetRouterOutputCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<GetRouterOutputCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetRouterOutputCommandInput } from "../commands/GetRouterOutputCommand";
2
+ import {
3
+ GetRouterOutputCommandInput,
4
+ GetRouterOutputCommandOutput,
5
+ } from "../commands/GetRouterOutputCommand";
3
6
  import { MediaConnectClient } from "../MediaConnectClient";
7
+ import { MediaConnectServiceException } from "../models/MediaConnectServiceException";
4
8
  export declare const waitForOutputStandby: (
5
9
  params: WaiterConfiguration<MediaConnectClient>,
6
10
  input: GetRouterOutputCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<GetRouterOutputCommandOutput | MediaConnectServiceException>
13
+ >;
8
14
  export declare const waitUntilOutputStandby: (
9
15
  params: WaiterConfiguration<MediaConnectClient>,
10
16
  input: GetRouterOutputCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<GetRouterOutputCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetRouterOutputCommandInput } from "../commands/GetRouterOutputCommand";
2
+ import {
3
+ GetRouterOutputCommandInput,
4
+ GetRouterOutputCommandOutput,
5
+ } from "../commands/GetRouterOutputCommand";
3
6
  import { MediaConnectClient } from "../MediaConnectClient";
7
+ import { MediaConnectServiceException } from "../models/MediaConnectServiceException";
4
8
  export declare const waitForOutputUnrouted: (
5
9
  params: WaiterConfiguration<MediaConnectClient>,
6
10
  input: GetRouterOutputCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<GetRouterOutputCommandOutput | MediaConnectServiceException>
13
+ >;
8
14
  export declare const waitUntilOutputUnrouted: (
9
15
  params: WaiterConfiguration<MediaConnectClient>,
10
16
  input: GetRouterOutputCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<GetRouterOutputCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeFlowCommandInput } from "../commands/DescribeFlowCommand";
2
+ import { type DescribeFlowCommandInput, type DescribeFlowCommandOutput } from "../commands/DescribeFlowCommand";
3
3
  import type { MediaConnectClient } from "../MediaConnectClient";
4
+ import type { MediaConnectServiceException } from "../models/MediaConnectServiceException";
4
5
  /**
5
6
  * Wait until a flow is active
6
7
  * @deprecated Use waitUntilFlowActive instead. waitForFlowActive does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForFlowActive: (params: WaiterConfiguration<MediaConnectClient>, input: DescribeFlowCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForFlowActive: (params: WaiterConfiguration<MediaConnectClient>, input: DescribeFlowCommandInput) => Promise<WaiterResult<DescribeFlowCommandOutput | MediaConnectServiceException>>;
9
10
  /**
10
11
  * Wait until a flow is active
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeFlowCommand for polling.
13
14
  */
14
- export declare const waitUntilFlowActive: (params: WaiterConfiguration<MediaConnectClient>, input: DescribeFlowCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilFlowActive: (params: WaiterConfiguration<MediaConnectClient>, input: DescribeFlowCommandInput) => Promise<WaiterResult<DescribeFlowCommandOutput>>;
@@ -1,14 +1,16 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeFlowCommandInput } from "../commands/DescribeFlowCommand";
2
+ import { type DescribeFlowCommandInput, type DescribeFlowCommandOutput } from "../commands/DescribeFlowCommand";
3
3
  import type { MediaConnectClient } from "../MediaConnectClient";
4
+ import type { NotFoundException } from "../models/errors";
5
+ import type { MediaConnectServiceException } from "../models/MediaConnectServiceException";
4
6
  /**
5
7
  * Wait until a flow is deleted
6
8
  * @deprecated Use waitUntilFlowDeleted instead. waitForFlowDeleted does not throw error in non-success cases.
7
9
  */
8
- export declare const waitForFlowDeleted: (params: WaiterConfiguration<MediaConnectClient>, input: DescribeFlowCommandInput) => Promise<WaiterResult>;
10
+ export declare const waitForFlowDeleted: (params: WaiterConfiguration<MediaConnectClient>, input: DescribeFlowCommandInput) => Promise<WaiterResult<DescribeFlowCommandOutput | MediaConnectServiceException>>;
9
11
  /**
10
12
  * Wait until a flow is deleted
11
13
  * @param params - Waiter configuration options.
12
14
  * @param input - The input to DescribeFlowCommand for polling.
13
15
  */
14
- export declare const waitUntilFlowDeleted: (params: WaiterConfiguration<MediaConnectClient>, input: DescribeFlowCommandInput) => Promise<WaiterResult>;
16
+ export declare const waitUntilFlowDeleted: (params: WaiterConfiguration<MediaConnectClient>, input: DescribeFlowCommandInput) => Promise<WaiterResult<NotFoundException>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeFlowCommandInput } from "../commands/DescribeFlowCommand";
2
+ import { type DescribeFlowCommandInput, type DescribeFlowCommandOutput } from "../commands/DescribeFlowCommand";
3
3
  import type { MediaConnectClient } from "../MediaConnectClient";
4
+ import type { MediaConnectServiceException } from "../models/MediaConnectServiceException";
4
5
  /**
5
6
  * Wait until a flow is in standby mode
6
7
  * @deprecated Use waitUntilFlowStandby instead. waitForFlowStandby does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForFlowStandby: (params: WaiterConfiguration<MediaConnectClient>, input: DescribeFlowCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForFlowStandby: (params: WaiterConfiguration<MediaConnectClient>, input: DescribeFlowCommandInput) => Promise<WaiterResult<DescribeFlowCommandOutput | MediaConnectServiceException>>;
9
10
  /**
10
11
  * Wait until a flow is in standby mode
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeFlowCommand for polling.
13
14
  */
14
- export declare const waitUntilFlowStandby: (params: WaiterConfiguration<MediaConnectClient>, input: DescribeFlowCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilFlowStandby: (params: WaiterConfiguration<MediaConnectClient>, input: DescribeFlowCommandInput) => Promise<WaiterResult<DescribeFlowCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetRouterInputCommandInput } from "../commands/GetRouterInputCommand";
2
+ import { type GetRouterInputCommandInput, type GetRouterInputCommandOutput } from "../commands/GetRouterInputCommand";
3
3
  import type { MediaConnectClient } from "../MediaConnectClient";
4
+ import type { MediaConnectServiceException } from "../models/MediaConnectServiceException";
4
5
  /**
5
6
  * Wait until the Input is ACTIVE
6
7
  * @deprecated Use waitUntilInputActive instead. waitForInputActive does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForInputActive: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterInputCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForInputActive: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterInputCommandInput) => Promise<WaiterResult<GetRouterInputCommandOutput | MediaConnectServiceException>>;
9
10
  /**
10
11
  * Wait until the Input is ACTIVE
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetRouterInputCommand for polling.
13
14
  */
14
- export declare const waitUntilInputActive: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterInputCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilInputActive: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterInputCommandInput) => Promise<WaiterResult<GetRouterInputCommandOutput>>;
@@ -1,14 +1,16 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetRouterInputCommandInput } from "../commands/GetRouterInputCommand";
2
+ import { type GetRouterInputCommandInput, type GetRouterInputCommandOutput } from "../commands/GetRouterInputCommand";
3
3
  import type { MediaConnectClient } from "../MediaConnectClient";
4
+ import type { NotFoundException } from "../models/errors";
5
+ import type { MediaConnectServiceException } from "../models/MediaConnectServiceException";
4
6
  /**
5
7
  * Wait until the Input is deleted
6
8
  * @deprecated Use waitUntilInputDeleted instead. waitForInputDeleted does not throw error in non-success cases.
7
9
  */
8
- export declare const waitForInputDeleted: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterInputCommandInput) => Promise<WaiterResult>;
10
+ export declare const waitForInputDeleted: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterInputCommandInput) => Promise<WaiterResult<GetRouterInputCommandOutput | MediaConnectServiceException>>;
9
11
  /**
10
12
  * Wait until the Input is deleted
11
13
  * @param params - Waiter configuration options.
12
14
  * @param input - The input to GetRouterInputCommand for polling.
13
15
  */
14
- export declare const waitUntilInputDeleted: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterInputCommandInput) => Promise<WaiterResult>;
16
+ export declare const waitUntilInputDeleted: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterInputCommandInput) => Promise<WaiterResult<NotFoundException>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetRouterInputCommandInput } from "../commands/GetRouterInputCommand";
2
+ import { type GetRouterInputCommandInput, type GetRouterInputCommandOutput } from "../commands/GetRouterInputCommand";
3
3
  import type { MediaConnectClient } from "../MediaConnectClient";
4
+ import type { MediaConnectServiceException } from "../models/MediaConnectServiceException";
4
5
  /**
5
6
  * Wait until the Input is STANDBY
6
7
  * @deprecated Use waitUntilInputStandby instead. waitForInputStandby does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForInputStandby: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterInputCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForInputStandby: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterInputCommandInput) => Promise<WaiterResult<GetRouterInputCommandOutput | MediaConnectServiceException>>;
9
10
  /**
10
11
  * Wait until the Input is STANDBY
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetRouterInputCommand for polling.
13
14
  */
14
- export declare const waitUntilInputStandby: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterInputCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilInputStandby: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterInputCommandInput) => Promise<WaiterResult<GetRouterInputCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetRouterOutputCommandInput } from "../commands/GetRouterOutputCommand";
2
+ import { type GetRouterOutputCommandInput, type GetRouterOutputCommandOutput } from "../commands/GetRouterOutputCommand";
3
3
  import type { MediaConnectClient } from "../MediaConnectClient";
4
+ import type { MediaConnectServiceException } from "../models/MediaConnectServiceException";
4
5
  /**
5
6
  * Wait until the Output is ACTIVE
6
7
  * @deprecated Use waitUntilOutputActive instead. waitForOutputActive does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForOutputActive: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterOutputCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForOutputActive: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterOutputCommandInput) => Promise<WaiterResult<GetRouterOutputCommandOutput | MediaConnectServiceException>>;
9
10
  /**
10
11
  * Wait until the Output is ACTIVE
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetRouterOutputCommand for polling.
13
14
  */
14
- export declare const waitUntilOutputActive: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterOutputCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilOutputActive: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterOutputCommandInput) => Promise<WaiterResult<GetRouterOutputCommandOutput>>;
@@ -1,14 +1,16 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetRouterOutputCommandInput } from "../commands/GetRouterOutputCommand";
2
+ import { type GetRouterOutputCommandInput, type GetRouterOutputCommandOutput } from "../commands/GetRouterOutputCommand";
3
3
  import type { MediaConnectClient } from "../MediaConnectClient";
4
+ import type { NotFoundException } from "../models/errors";
5
+ import type { MediaConnectServiceException } from "../models/MediaConnectServiceException";
4
6
  /**
5
7
  * Wait until the Output is deleted
6
8
  * @deprecated Use waitUntilOutputDeleted instead. waitForOutputDeleted does not throw error in non-success cases.
7
9
  */
8
- export declare const waitForOutputDeleted: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterOutputCommandInput) => Promise<WaiterResult>;
10
+ export declare const waitForOutputDeleted: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterOutputCommandInput) => Promise<WaiterResult<GetRouterOutputCommandOutput | MediaConnectServiceException>>;
9
11
  /**
10
12
  * Wait until the Output is deleted
11
13
  * @param params - Waiter configuration options.
12
14
  * @param input - The input to GetRouterOutputCommand for polling.
13
15
  */
14
- export declare const waitUntilOutputDeleted: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterOutputCommandInput) => Promise<WaiterResult>;
16
+ export declare const waitUntilOutputDeleted: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterOutputCommandInput) => Promise<WaiterResult<NotFoundException>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetRouterOutputCommandInput } from "../commands/GetRouterOutputCommand";
2
+ import { type GetRouterOutputCommandInput, type GetRouterOutputCommandOutput } from "../commands/GetRouterOutputCommand";
3
3
  import type { MediaConnectClient } from "../MediaConnectClient";
4
+ import type { MediaConnectServiceException } from "../models/MediaConnectServiceException";
4
5
  /**
5
6
  * Wait until the Output is ROUTED
6
7
  * @deprecated Use waitUntilOutputRouted instead. waitForOutputRouted does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForOutputRouted: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterOutputCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForOutputRouted: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterOutputCommandInput) => Promise<WaiterResult<GetRouterOutputCommandOutput | MediaConnectServiceException>>;
9
10
  /**
10
11
  * Wait until the Output is ROUTED
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetRouterOutputCommand for polling.
13
14
  */
14
- export declare const waitUntilOutputRouted: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterOutputCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilOutputRouted: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterOutputCommandInput) => Promise<WaiterResult<GetRouterOutputCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetRouterOutputCommandInput } from "../commands/GetRouterOutputCommand";
2
+ import { type GetRouterOutputCommandInput, type GetRouterOutputCommandOutput } from "../commands/GetRouterOutputCommand";
3
3
  import type { MediaConnectClient } from "../MediaConnectClient";
4
+ import type { MediaConnectServiceException } from "../models/MediaConnectServiceException";
4
5
  /**
5
6
  * Wait until the Output is STANDBY
6
7
  * @deprecated Use waitUntilOutputStandby instead. waitForOutputStandby does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForOutputStandby: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterOutputCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForOutputStandby: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterOutputCommandInput) => Promise<WaiterResult<GetRouterOutputCommandOutput | MediaConnectServiceException>>;
9
10
  /**
10
11
  * Wait until the Output is STANDBY
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetRouterOutputCommand for polling.
13
14
  */
14
- export declare const waitUntilOutputStandby: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterOutputCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilOutputStandby: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterOutputCommandInput) => Promise<WaiterResult<GetRouterOutputCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetRouterOutputCommandInput } from "../commands/GetRouterOutputCommand";
2
+ import { type GetRouterOutputCommandInput, type GetRouterOutputCommandOutput } from "../commands/GetRouterOutputCommand";
3
3
  import type { MediaConnectClient } from "../MediaConnectClient";
4
+ import type { MediaConnectServiceException } from "../models/MediaConnectServiceException";
4
5
  /**
5
6
  * Wait until the Output is UNROUTED
6
7
  * @deprecated Use waitUntilOutputUnrouted instead. waitForOutputUnrouted does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForOutputUnrouted: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterOutputCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForOutputUnrouted: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterOutputCommandInput) => Promise<WaiterResult<GetRouterOutputCommandOutput | MediaConnectServiceException>>;
9
10
  /**
10
11
  * Wait until the Output is UNROUTED
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetRouterOutputCommand for polling.
13
14
  */
14
- export declare const waitUntilOutputUnrouted: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterOutputCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilOutputUnrouted: (params: WaiterConfiguration<MediaConnectClient>, input: GetRouterOutputCommandInput) => Promise<WaiterResult<GetRouterOutputCommandOutput>>;
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.1036.0",
4
+ "version": "3.1038.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.974.5",
25
- "@aws-sdk/credential-provider-node": "^3.972.36",
24
+ "@aws-sdk/core": "^3.974.6",
25
+ "@aws-sdk/credential-provider-node": "^3.972.37",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.10",
27
27
  "@aws-sdk/middleware-logger": "^3.972.10",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.11",
29
- "@aws-sdk/middleware-user-agent": "^3.972.35",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.36",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.13",
31
31
  "@aws-sdk/types": "^3.973.8",
32
32
  "@aws-sdk/util-endpoints": "^3.996.8",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.10",
34
- "@aws-sdk/util-user-agent-node": "^3.973.21",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.22",
35
35
  "@smithy/config-resolver": "^4.4.17",
36
36
  "@smithy/core": "^3.23.17",
37
37
  "@smithy/fetch-http-handler": "^5.3.17",
@@ -39,7 +39,7 @@
39
39
  "@smithy/invalid-dependency": "^4.2.14",
40
40
  "@smithy/middleware-content-length": "^4.2.14",
41
41
  "@smithy/middleware-endpoint": "^4.4.32",
42
- "@smithy/middleware-retry": "^4.5.5",
42
+ "@smithy/middleware-retry": "^4.5.6",
43
43
  "@smithy/middleware-serde": "^4.2.20",
44
44
  "@smithy/middleware-stack": "^4.2.14",
45
45
  "@smithy/node-config-provider": "^4.3.14",
@@ -55,9 +55,9 @@
55
55
  "@smithy/util-defaults-mode-node": "^4.2.54",
56
56
  "@smithy/util-endpoints": "^3.4.2",
57
57
  "@smithy/util-middleware": "^4.2.14",
58
- "@smithy/util-retry": "^4.3.4",
58
+ "@smithy/util-retry": "^4.3.5",
59
59
  "@smithy/util-utf8": "^4.2.2",
60
- "@smithy/util-waiter": "^4.2.16",
60
+ "@smithy/util-waiter": "^4.3.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {