@aws-sdk/client-mediaconnect 3.934.0 → 3.936.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 (170) hide show
  1. package/README.md +240 -0
  2. package/dist-cjs/index.js +6833 -1636
  3. package/dist-es/MediaConnect.js +60 -0
  4. package/dist-es/commands/BatchGetRouterInputCommand.js +16 -0
  5. package/dist-es/commands/BatchGetRouterNetworkInterfaceCommand.js +16 -0
  6. package/dist-es/commands/BatchGetRouterOutputCommand.js +16 -0
  7. package/dist-es/commands/CreateRouterInputCommand.js +16 -0
  8. package/dist-es/commands/CreateRouterNetworkInterfaceCommand.js +16 -0
  9. package/dist-es/commands/CreateRouterOutputCommand.js +16 -0
  10. package/dist-es/commands/DeleteRouterInputCommand.js +16 -0
  11. package/dist-es/commands/DeleteRouterNetworkInterfaceCommand.js +16 -0
  12. package/dist-es/commands/DeleteRouterOutputCommand.js +16 -0
  13. package/dist-es/commands/GetRouterInputCommand.js +16 -0
  14. package/dist-es/commands/GetRouterInputSourceMetadataCommand.js +16 -0
  15. package/dist-es/commands/GetRouterInputThumbnailCommand.js +16 -0
  16. package/dist-es/commands/GetRouterNetworkInterfaceCommand.js +16 -0
  17. package/dist-es/commands/GetRouterOutputCommand.js +16 -0
  18. package/dist-es/commands/ListRouterInputsCommand.js +16 -0
  19. package/dist-es/commands/ListRouterNetworkInterfacesCommand.js +16 -0
  20. package/dist-es/commands/ListRouterOutputsCommand.js +16 -0
  21. package/dist-es/commands/ListTagsForGlobalResourceCommand.js +16 -0
  22. package/dist-es/commands/RestartRouterInputCommand.js +16 -0
  23. package/dist-es/commands/RestartRouterOutputCommand.js +16 -0
  24. package/dist-es/commands/StartRouterInputCommand.js +16 -0
  25. package/dist-es/commands/StartRouterOutputCommand.js +16 -0
  26. package/dist-es/commands/StopRouterInputCommand.js +16 -0
  27. package/dist-es/commands/StopRouterOutputCommand.js +16 -0
  28. package/dist-es/commands/TagGlobalResourceCommand.js +16 -0
  29. package/dist-es/commands/TakeRouterInputCommand.js +16 -0
  30. package/dist-es/commands/UntagGlobalResourceCommand.js +16 -0
  31. package/dist-es/commands/UpdateRouterInputCommand.js +16 -0
  32. package/dist-es/commands/UpdateRouterNetworkInterfaceCommand.js +16 -0
  33. package/dist-es/commands/UpdateRouterOutputCommand.js +16 -0
  34. package/dist-es/commands/index.js +30 -0
  35. package/dist-es/index.js +2 -1
  36. package/dist-es/models/enums.js +303 -0
  37. package/dist-es/models/errors.js +215 -0
  38. package/dist-es/models/models_0.js +1 -358
  39. package/dist-es/models/models_1.js +1 -0
  40. package/dist-es/pagination/ListRouterInputsPaginator.js +4 -0
  41. package/dist-es/pagination/ListRouterNetworkInterfacesPaginator.js +4 -0
  42. package/dist-es/pagination/ListRouterOutputsPaginator.js +4 -0
  43. package/dist-es/pagination/index.js +3 -0
  44. package/dist-es/schemas/schemas_0.js +5554 -1351
  45. package/dist-es/waiters/index.js +7 -0
  46. package/dist-es/waiters/waitForInputActive.js +64 -0
  47. package/dist-es/waiters/waitForInputDeleted.js +49 -0
  48. package/dist-es/waiters/waitForInputStandby.js +55 -0
  49. package/dist-es/waiters/waitForOutputActive.js +64 -0
  50. package/dist-es/waiters/waitForOutputDeleted.js +49 -0
  51. package/dist-es/waiters/waitForOutputRouted.js +46 -0
  52. package/dist-es/waiters/waitForOutputStandby.js +55 -0
  53. package/dist-types/MediaConnect.d.ts +213 -0
  54. package/dist-types/MediaConnectClient.d.ts +32 -2
  55. package/dist-types/commands/AddFlowOutputsCommand.d.ts +23 -0
  56. package/dist-types/commands/AddFlowSourcesCommand.d.ts +23 -0
  57. package/dist-types/commands/BatchGetRouterInputCommand.d.ts +278 -0
  58. package/dist-types/commands/BatchGetRouterNetworkInterfaceCommand.d.ts +129 -0
  59. package/dist-types/commands/BatchGetRouterOutputCommand.d.ts +215 -0
  60. package/dist-types/commands/CreateFlowCommand.d.ts +69 -0
  61. package/dist-types/commands/CreateRouterInputCommand.d.ts +400 -0
  62. package/dist-types/commands/CreateRouterNetworkInterfaceCommand.d.ts +144 -0
  63. package/dist-types/commands/CreateRouterOutputCommand.d.ts +293 -0
  64. package/dist-types/commands/DeleteRouterInputCommand.d.ts +97 -0
  65. package/dist-types/commands/DeleteRouterNetworkInterfaceCommand.d.ts +97 -0
  66. package/dist-types/commands/DeleteRouterOutputCommand.d.ts +97 -0
  67. package/dist-types/commands/DescribeFlowCommand.d.ts +36 -0
  68. package/dist-types/commands/GetRouterInputCommand.d.ts +273 -0
  69. package/dist-types/commands/GetRouterInputSourceMetadataCommand.d.ts +129 -0
  70. package/dist-types/commands/GetRouterInputThumbnailCommand.d.ts +104 -0
  71. package/dist-types/commands/GetRouterNetworkInterfaceCommand.d.ts +124 -0
  72. package/dist-types/commands/GetRouterOutputCommand.d.ts +210 -0
  73. package/dist-types/commands/ListRouterInputsCommand.d.ts +135 -0
  74. package/dist-types/commands/ListRouterNetworkInterfacesCommand.d.ts +117 -0
  75. package/dist-types/commands/ListRouterOutputsCommand.d.ts +139 -0
  76. package/dist-types/commands/ListTagsForGlobalResourceCommand.d.ts +85 -0
  77. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  78. package/dist-types/commands/RestartRouterInputCommand.d.ts +97 -0
  79. package/dist-types/commands/RestartRouterOutputCommand.d.ts +97 -0
  80. package/dist-types/commands/StartRouterInputCommand.d.ts +105 -0
  81. package/dist-types/commands/StartRouterOutputCommand.d.ts +105 -0
  82. package/dist-types/commands/StopRouterInputCommand.d.ts +97 -0
  83. package/dist-types/commands/StopRouterOutputCommand.d.ts +97 -0
  84. package/dist-types/commands/TagGlobalResourceCommand.d.ts +84 -0
  85. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  86. package/dist-types/commands/TakeRouterInputCommand.d.ts +100 -0
  87. package/dist-types/commands/UntagGlobalResourceCommand.d.ts +84 -0
  88. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  89. package/dist-types/commands/UpdateFlowCommand.d.ts +36 -0
  90. package/dist-types/commands/UpdateFlowOutputCommand.d.ts +23 -0
  91. package/dist-types/commands/UpdateFlowSourceCommand.d.ts +23 -0
  92. package/dist-types/commands/UpdateRouterInputCommand.d.ts +395 -0
  93. package/dist-types/commands/UpdateRouterNetworkInterfaceCommand.d.ts +137 -0
  94. package/dist-types/commands/UpdateRouterOutputCommand.d.ts +288 -0
  95. package/dist-types/commands/index.d.ts +30 -0
  96. package/dist-types/index.d.ts +4 -1
  97. package/dist-types/models/enums.d.ts +727 -0
  98. package/dist-types/models/errors.d.ts +201 -0
  99. package/dist-types/models/models_0.d.ts +4082 -1520
  100. package/dist-types/models/models_1.d.ts +287 -0
  101. package/dist-types/pagination/ListRouterInputsPaginator.d.ts +7 -0
  102. package/dist-types/pagination/ListRouterNetworkInterfacesPaginator.d.ts +7 -0
  103. package/dist-types/pagination/ListRouterOutputsPaginator.d.ts +7 -0
  104. package/dist-types/pagination/index.d.ts +3 -0
  105. package/dist-types/schemas/schemas_0.d.ts +185 -0
  106. package/dist-types/ts3.4/MediaConnect.d.ts +513 -0
  107. package/dist-types/ts3.4/MediaConnectClient.d.ts +182 -2
  108. package/dist-types/ts3.4/commands/BatchGetRouterInputCommand.d.ts +51 -0
  109. package/dist-types/ts3.4/commands/BatchGetRouterNetworkInterfaceCommand.d.ts +51 -0
  110. package/dist-types/ts3.4/commands/BatchGetRouterOutputCommand.d.ts +51 -0
  111. package/dist-types/ts3.4/commands/CreateRouterInputCommand.d.ts +51 -0
  112. package/dist-types/ts3.4/commands/CreateRouterNetworkInterfaceCommand.d.ts +51 -0
  113. package/dist-types/ts3.4/commands/CreateRouterOutputCommand.d.ts +51 -0
  114. package/dist-types/ts3.4/commands/DeleteRouterInputCommand.d.ts +51 -0
  115. package/dist-types/ts3.4/commands/DeleteRouterNetworkInterfaceCommand.d.ts +51 -0
  116. package/dist-types/ts3.4/commands/DeleteRouterOutputCommand.d.ts +51 -0
  117. package/dist-types/ts3.4/commands/GetRouterInputCommand.d.ts +50 -0
  118. package/dist-types/ts3.4/commands/GetRouterInputSourceMetadataCommand.d.ts +51 -0
  119. package/dist-types/ts3.4/commands/GetRouterInputThumbnailCommand.d.ts +51 -0
  120. package/dist-types/ts3.4/commands/GetRouterNetworkInterfaceCommand.d.ts +51 -0
  121. package/dist-types/ts3.4/commands/GetRouterOutputCommand.d.ts +50 -0
  122. package/dist-types/ts3.4/commands/ListRouterInputsCommand.d.ts +50 -0
  123. package/dist-types/ts3.4/commands/ListRouterNetworkInterfacesCommand.d.ts +51 -0
  124. package/dist-types/ts3.4/commands/ListRouterOutputsCommand.d.ts +51 -0
  125. package/dist-types/ts3.4/commands/ListTagsForGlobalResourceCommand.d.ts +51 -0
  126. package/dist-types/ts3.4/commands/RestartRouterInputCommand.d.ts +51 -0
  127. package/dist-types/ts3.4/commands/RestartRouterOutputCommand.d.ts +51 -0
  128. package/dist-types/ts3.4/commands/StartRouterInputCommand.d.ts +50 -0
  129. package/dist-types/ts3.4/commands/StartRouterOutputCommand.d.ts +51 -0
  130. package/dist-types/ts3.4/commands/StopRouterInputCommand.d.ts +50 -0
  131. package/dist-types/ts3.4/commands/StopRouterOutputCommand.d.ts +50 -0
  132. package/dist-types/ts3.4/commands/TagGlobalResourceCommand.d.ts +46 -0
  133. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/TakeRouterInputCommand.d.ts +50 -0
  135. package/dist-types/ts3.4/commands/UntagGlobalResourceCommand.d.ts +46 -0
  136. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/UpdateRouterInputCommand.d.ts +51 -0
  138. package/dist-types/ts3.4/commands/UpdateRouterNetworkInterfaceCommand.d.ts +51 -0
  139. package/dist-types/ts3.4/commands/UpdateRouterOutputCommand.d.ts +51 -0
  140. package/dist-types/ts3.4/commands/index.d.ts +30 -0
  141. package/dist-types/ts3.4/index.d.ts +4 -1
  142. package/dist-types/ts3.4/models/enums.d.ts +385 -0
  143. package/dist-types/ts3.4/models/errors.d.ts +132 -0
  144. package/dist-types/ts3.4/models/models_0.d.ts +1262 -332
  145. package/dist-types/ts3.4/models/models_1.d.ts +88 -0
  146. package/dist-types/ts3.4/pagination/ListRouterInputsPaginator.d.ts +11 -0
  147. package/dist-types/ts3.4/pagination/ListRouterNetworkInterfacesPaginator.d.ts +11 -0
  148. package/dist-types/ts3.4/pagination/ListRouterOutputsPaginator.d.ts +11 -0
  149. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  150. package/dist-types/ts3.4/schemas/schemas_0.d.ts +185 -0
  151. package/dist-types/ts3.4/waiters/index.d.ts +7 -0
  152. package/dist-types/ts3.4/waiters/waitForInputActive.d.ts +11 -0
  153. package/dist-types/ts3.4/waiters/waitForInputDeleted.d.ts +11 -0
  154. package/dist-types/ts3.4/waiters/waitForInputStandby.d.ts +11 -0
  155. package/dist-types/ts3.4/waiters/waitForOutputActive.d.ts +11 -0
  156. package/dist-types/ts3.4/waiters/waitForOutputDeleted.d.ts +11 -0
  157. package/dist-types/ts3.4/waiters/waitForOutputRouted.d.ts +11 -0
  158. package/dist-types/ts3.4/waiters/waitForOutputStandby.d.ts +11 -0
  159. package/dist-types/waiters/index.d.ts +7 -0
  160. package/dist-types/waiters/waitForInputActive.d.ts +14 -0
  161. package/dist-types/waiters/waitForInputDeleted.d.ts +14 -0
  162. package/dist-types/waiters/waitForInputStandby.d.ts +14 -0
  163. package/dist-types/waiters/waitForOutputActive.d.ts +14 -0
  164. package/dist-types/waiters/waitForOutputDeleted.d.ts +14 -0
  165. package/dist-types/waiters/waitForOutputRouted.d.ts +14 -0
  166. package/dist-types/waiters/waitForOutputStandby.d.ts +14 -0
  167. package/package.json +19 -19
  168. package/dist-es/models/index.js +0 -1
  169. package/dist-types/models/index.d.ts +0 -1
  170. package/dist-types/ts3.4/models/index.d.ts +0 -1
@@ -0,0 +1,395 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConnectClient";
4
+ import { UpdateRouterInputRequest, UpdateRouterInputResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateRouterInputCommand}.
14
+ */
15
+ export interface UpdateRouterInputCommandInput extends UpdateRouterInputRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateRouterInputCommand}.
21
+ */
22
+ export interface UpdateRouterInputCommandOutput extends UpdateRouterInputResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateRouterInputCommand_base: {
25
+ new (input: UpdateRouterInputCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRouterInputCommandInput, UpdateRouterInputCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateRouterInputCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRouterInputCommandInput, UpdateRouterInputCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates the configuration of an existing router input in AWS Elemental MediaConnect.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MediaConnectClient, UpdateRouterInputCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
35
+ * // const { MediaConnectClient, UpdateRouterInputCommand } = require("@aws-sdk/client-mediaconnect"); // CommonJS import
36
+ * // import type { MediaConnectClientConfig } from "@aws-sdk/client-mediaconnect";
37
+ * const config = {}; // type is MediaConnectClientConfig
38
+ * const client = new MediaConnectClient(config);
39
+ * const input = { // UpdateRouterInputRequest
40
+ * Arn: "STRING_VALUE", // required
41
+ * Name: "STRING_VALUE",
42
+ * Configuration: { // RouterInputConfiguration Union: only one key present
43
+ * Standard: { // StandardRouterInputConfiguration
44
+ * NetworkInterfaceArn: "STRING_VALUE", // required
45
+ * ProtocolConfiguration: { // RouterInputProtocolConfiguration Union: only one key present
46
+ * Rtp: { // RtpRouterInputConfiguration
47
+ * Port: Number("int"), // required
48
+ * ForwardErrorCorrection: "ENABLED" || "DISABLED",
49
+ * },
50
+ * Rist: { // RistRouterInputConfiguration
51
+ * Port: Number("int"), // required
52
+ * RecoveryLatencyMilliseconds: Number("long"), // required
53
+ * },
54
+ * SrtListener: { // SrtListenerRouterInputConfiguration
55
+ * Port: Number("int"), // required
56
+ * MinimumLatencyMilliseconds: Number("long"), // required
57
+ * DecryptionConfiguration: { // SrtDecryptionConfiguration
58
+ * EncryptionKey: { // SecretsManagerEncryptionKeyConfiguration
59
+ * SecretArn: "STRING_VALUE", // required
60
+ * RoleArn: "STRING_VALUE", // required
61
+ * },
62
+ * },
63
+ * },
64
+ * SrtCaller: { // SrtCallerRouterInputConfiguration
65
+ * SourceAddress: "STRING_VALUE", // required
66
+ * SourcePort: Number("int"), // required
67
+ * MinimumLatencyMilliseconds: Number("long"), // required
68
+ * StreamId: "STRING_VALUE",
69
+ * DecryptionConfiguration: {
70
+ * EncryptionKey: {
71
+ * SecretArn: "STRING_VALUE", // required
72
+ * RoleArn: "STRING_VALUE", // required
73
+ * },
74
+ * },
75
+ * },
76
+ * },
77
+ * Protocol: "RTP" || "RIST" || "SRT_CALLER" || "SRT_LISTENER",
78
+ * },
79
+ * Failover: { // FailoverRouterInputConfiguration
80
+ * NetworkInterfaceArn: "STRING_VALUE", // required
81
+ * ProtocolConfigurations: [ // FailoverRouterInputProtocolConfigurationList // required
82
+ * { // FailoverRouterInputProtocolConfiguration Union: only one key present
83
+ * Rtp: {
84
+ * Port: Number("int"), // required
85
+ * ForwardErrorCorrection: "ENABLED" || "DISABLED",
86
+ * },
87
+ * Rist: {
88
+ * Port: Number("int"), // required
89
+ * RecoveryLatencyMilliseconds: Number("long"), // required
90
+ * },
91
+ * SrtListener: {
92
+ * Port: Number("int"), // required
93
+ * MinimumLatencyMilliseconds: Number("long"), // required
94
+ * DecryptionConfiguration: {
95
+ * EncryptionKey: {
96
+ * SecretArn: "STRING_VALUE", // required
97
+ * RoleArn: "STRING_VALUE", // required
98
+ * },
99
+ * },
100
+ * },
101
+ * SrtCaller: {
102
+ * SourceAddress: "STRING_VALUE", // required
103
+ * SourcePort: Number("int"), // required
104
+ * MinimumLatencyMilliseconds: Number("long"), // required
105
+ * StreamId: "STRING_VALUE",
106
+ * DecryptionConfiguration: {
107
+ * EncryptionKey: {
108
+ * SecretArn: "STRING_VALUE", // required
109
+ * RoleArn: "STRING_VALUE", // required
110
+ * },
111
+ * },
112
+ * },
113
+ * },
114
+ * ],
115
+ * SourcePriorityMode: "NO_PRIORITY" || "PRIMARY_SECONDARY", // required
116
+ * PrimarySourceIndex: Number("int"),
117
+ * },
118
+ * Merge: { // MergeRouterInputConfiguration
119
+ * NetworkInterfaceArn: "STRING_VALUE", // required
120
+ * ProtocolConfigurations: [ // MergeRouterInputProtocolConfigurationList // required
121
+ * { // MergeRouterInputProtocolConfiguration Union: only one key present
122
+ * Rtp: {
123
+ * Port: Number("int"), // required
124
+ * ForwardErrorCorrection: "ENABLED" || "DISABLED",
125
+ * },
126
+ * Rist: {
127
+ * Port: Number("int"), // required
128
+ * RecoveryLatencyMilliseconds: Number("long"), // required
129
+ * },
130
+ * },
131
+ * ],
132
+ * MergeRecoveryWindowMilliseconds: Number("long"), // required
133
+ * },
134
+ * MediaConnectFlow: { // MediaConnectFlowRouterInputConfiguration
135
+ * FlowArn: "STRING_VALUE",
136
+ * FlowOutputArn: "STRING_VALUE",
137
+ * SourceTransitDecryption: { // FlowTransitEncryption
138
+ * EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
139
+ * EncryptionKeyConfiguration: { // FlowTransitEncryptionKeyConfiguration Union: only one key present
140
+ * SecretsManager: "<SecretsManagerEncryptionKeyConfiguration>",
141
+ * Automatic: {},
142
+ * },
143
+ * },
144
+ * },
145
+ * },
146
+ * MaximumBitrate: Number("long"),
147
+ * RoutingScope: "REGIONAL" || "GLOBAL",
148
+ * Tier: "INPUT_100" || "INPUT_50" || "INPUT_20",
149
+ * TransitEncryption: { // RouterInputTransitEncryption
150
+ * EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
151
+ * EncryptionKeyConfiguration: { // RouterInputTransitEncryptionKeyConfiguration Union: only one key present
152
+ * SecretsManager: "<SecretsManagerEncryptionKeyConfiguration>",
153
+ * Automatic: {},
154
+ * },
155
+ * },
156
+ * MaintenanceConfiguration: { // MaintenanceConfiguration Union: only one key present
157
+ * PreferredDayTime: { // PreferredDayTimeMaintenanceConfiguration
158
+ * Day: "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
159
+ * Time: "STRING_VALUE", // required
160
+ * },
161
+ * Default: {},
162
+ * },
163
+ * };
164
+ * const command = new UpdateRouterInputCommand(input);
165
+ * const response = await client.send(command);
166
+ * // { // UpdateRouterInputResponse
167
+ * // RouterInput: { // RouterInput
168
+ * // Name: "STRING_VALUE", // required
169
+ * // Arn: "STRING_VALUE", // required
170
+ * // Id: "STRING_VALUE", // required
171
+ * // State: "CREATING" || "STANDBY" || "STARTING" || "ACTIVE" || "STOPPING" || "DELETING" || "UPDATING" || "ERROR" || "RECOVERING" || "MIGRATING", // required
172
+ * // InputType: "STANDARD" || "FAILOVER" || "MERGE" || "MEDIACONNECT_FLOW", // required
173
+ * // Configuration: { // RouterInputConfiguration Union: only one key present
174
+ * // Standard: { // StandardRouterInputConfiguration
175
+ * // NetworkInterfaceArn: "STRING_VALUE", // required
176
+ * // ProtocolConfiguration: { // RouterInputProtocolConfiguration Union: only one key present
177
+ * // Rtp: { // RtpRouterInputConfiguration
178
+ * // Port: Number("int"), // required
179
+ * // ForwardErrorCorrection: "ENABLED" || "DISABLED",
180
+ * // },
181
+ * // Rist: { // RistRouterInputConfiguration
182
+ * // Port: Number("int"), // required
183
+ * // RecoveryLatencyMilliseconds: Number("long"), // required
184
+ * // },
185
+ * // SrtListener: { // SrtListenerRouterInputConfiguration
186
+ * // Port: Number("int"), // required
187
+ * // MinimumLatencyMilliseconds: Number("long"), // required
188
+ * // DecryptionConfiguration: { // SrtDecryptionConfiguration
189
+ * // EncryptionKey: { // SecretsManagerEncryptionKeyConfiguration
190
+ * // SecretArn: "STRING_VALUE", // required
191
+ * // RoleArn: "STRING_VALUE", // required
192
+ * // },
193
+ * // },
194
+ * // },
195
+ * // SrtCaller: { // SrtCallerRouterInputConfiguration
196
+ * // SourceAddress: "STRING_VALUE", // required
197
+ * // SourcePort: Number("int"), // required
198
+ * // MinimumLatencyMilliseconds: Number("long"), // required
199
+ * // StreamId: "STRING_VALUE",
200
+ * // DecryptionConfiguration: {
201
+ * // EncryptionKey: {
202
+ * // SecretArn: "STRING_VALUE", // required
203
+ * // RoleArn: "STRING_VALUE", // required
204
+ * // },
205
+ * // },
206
+ * // },
207
+ * // },
208
+ * // Protocol: "RTP" || "RIST" || "SRT_CALLER" || "SRT_LISTENER",
209
+ * // },
210
+ * // Failover: { // FailoverRouterInputConfiguration
211
+ * // NetworkInterfaceArn: "STRING_VALUE", // required
212
+ * // ProtocolConfigurations: [ // FailoverRouterInputProtocolConfigurationList // required
213
+ * // { // FailoverRouterInputProtocolConfiguration Union: only one key present
214
+ * // Rtp: {
215
+ * // Port: Number("int"), // required
216
+ * // ForwardErrorCorrection: "ENABLED" || "DISABLED",
217
+ * // },
218
+ * // Rist: {
219
+ * // Port: Number("int"), // required
220
+ * // RecoveryLatencyMilliseconds: Number("long"), // required
221
+ * // },
222
+ * // SrtListener: {
223
+ * // Port: Number("int"), // required
224
+ * // MinimumLatencyMilliseconds: Number("long"), // required
225
+ * // DecryptionConfiguration: {
226
+ * // EncryptionKey: {
227
+ * // SecretArn: "STRING_VALUE", // required
228
+ * // RoleArn: "STRING_VALUE", // required
229
+ * // },
230
+ * // },
231
+ * // },
232
+ * // SrtCaller: {
233
+ * // SourceAddress: "STRING_VALUE", // required
234
+ * // SourcePort: Number("int"), // required
235
+ * // MinimumLatencyMilliseconds: Number("long"), // required
236
+ * // StreamId: "STRING_VALUE",
237
+ * // DecryptionConfiguration: {
238
+ * // EncryptionKey: {
239
+ * // SecretArn: "STRING_VALUE", // required
240
+ * // RoleArn: "STRING_VALUE", // required
241
+ * // },
242
+ * // },
243
+ * // },
244
+ * // },
245
+ * // ],
246
+ * // SourcePriorityMode: "NO_PRIORITY" || "PRIMARY_SECONDARY", // required
247
+ * // PrimarySourceIndex: Number("int"),
248
+ * // },
249
+ * // Merge: { // MergeRouterInputConfiguration
250
+ * // NetworkInterfaceArn: "STRING_VALUE", // required
251
+ * // ProtocolConfigurations: [ // MergeRouterInputProtocolConfigurationList // required
252
+ * // { // MergeRouterInputProtocolConfiguration Union: only one key present
253
+ * // Rtp: {
254
+ * // Port: Number("int"), // required
255
+ * // ForwardErrorCorrection: "ENABLED" || "DISABLED",
256
+ * // },
257
+ * // Rist: {
258
+ * // Port: Number("int"), // required
259
+ * // RecoveryLatencyMilliseconds: Number("long"), // required
260
+ * // },
261
+ * // },
262
+ * // ],
263
+ * // MergeRecoveryWindowMilliseconds: Number("long"), // required
264
+ * // },
265
+ * // MediaConnectFlow: { // MediaConnectFlowRouterInputConfiguration
266
+ * // FlowArn: "STRING_VALUE",
267
+ * // FlowOutputArn: "STRING_VALUE",
268
+ * // SourceTransitDecryption: { // FlowTransitEncryption
269
+ * // EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
270
+ * // EncryptionKeyConfiguration: { // FlowTransitEncryptionKeyConfiguration Union: only one key present
271
+ * // SecretsManager: "<SecretsManagerEncryptionKeyConfiguration>",
272
+ * // Automatic: {},
273
+ * // },
274
+ * // },
275
+ * // },
276
+ * // },
277
+ * // RoutedOutputs: Number("int"), // required
278
+ * // MaximumRoutedOutputs: Number("int"),
279
+ * // RegionName: "STRING_VALUE", // required
280
+ * // AvailabilityZone: "STRING_VALUE", // required
281
+ * // MaximumBitrate: Number("long"), // required
282
+ * // Tier: "INPUT_100" || "INPUT_50" || "INPUT_20", // required
283
+ * // RoutingScope: "REGIONAL" || "GLOBAL", // required
284
+ * // CreatedAt: new Date("TIMESTAMP"), // required
285
+ * // UpdatedAt: new Date("TIMESTAMP"), // required
286
+ * // Messages: [ // RouterInputMessages // required
287
+ * // { // RouterInputMessage
288
+ * // Code: "STRING_VALUE", // required
289
+ * // Message: "STRING_VALUE", // required
290
+ * // },
291
+ * // ],
292
+ * // TransitEncryption: { // RouterInputTransitEncryption
293
+ * // EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
294
+ * // EncryptionKeyConfiguration: { // RouterInputTransitEncryptionKeyConfiguration Union: only one key present
295
+ * // SecretsManager: "<SecretsManagerEncryptionKeyConfiguration>",
296
+ * // Automatic: {},
297
+ * // },
298
+ * // },
299
+ * // Tags: { // __mapOfString // required
300
+ * // "<keys>": "STRING_VALUE",
301
+ * // },
302
+ * // StreamDetails: { // RouterInputStreamDetails Union: only one key present
303
+ * // Standard: { // StandardRouterInputStreamDetails
304
+ * // SourceIpAddress: "STRING_VALUE",
305
+ * // },
306
+ * // Failover: { // FailoverRouterInputStreamDetails
307
+ * // SourceIndexZeroStreamDetails: { // FailoverRouterInputIndexedStreamDetails
308
+ * // SourceIndex: Number("int"), // required
309
+ * // SourceIpAddress: "STRING_VALUE",
310
+ * // },
311
+ * // SourceIndexOneStreamDetails: {
312
+ * // SourceIndex: Number("int"), // required
313
+ * // SourceIpAddress: "STRING_VALUE",
314
+ * // },
315
+ * // },
316
+ * // Merge: { // MergeRouterInputStreamDetails
317
+ * // SourceIndexZeroStreamDetails: { // MergeRouterInputIndexedStreamDetails
318
+ * // SourceIndex: Number("int"), // required
319
+ * // SourceIpAddress: "STRING_VALUE",
320
+ * // },
321
+ * // SourceIndexOneStreamDetails: {
322
+ * // SourceIndex: Number("int"), // required
323
+ * // SourceIpAddress: "STRING_VALUE",
324
+ * // },
325
+ * // },
326
+ * // MediaConnectFlow: {},
327
+ * // },
328
+ * // IpAddress: "STRING_VALUE",
329
+ * // MaintenanceType: "PREFERRED_DAY_TIME" || "DEFAULT", // required
330
+ * // MaintenanceConfiguration: { // MaintenanceConfiguration Union: only one key present
331
+ * // PreferredDayTime: { // PreferredDayTimeMaintenanceConfiguration
332
+ * // Day: "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
333
+ * // Time: "STRING_VALUE", // required
334
+ * // },
335
+ * // Default: {},
336
+ * // },
337
+ * // MaintenanceScheduleType: "WINDOW",
338
+ * // MaintenanceSchedule: { // MaintenanceSchedule Union: only one key present
339
+ * // Window: { // WindowMaintenanceSchedule
340
+ * // Start: new Date("TIMESTAMP"), // required
341
+ * // End: new Date("TIMESTAMP"), // required
342
+ * // ScheduledTime: new Date("TIMESTAMP"), // required
343
+ * // },
344
+ * // },
345
+ * // },
346
+ * // };
347
+ *
348
+ * ```
349
+ *
350
+ * @param UpdateRouterInputCommandInput - {@link UpdateRouterInputCommandInput}
351
+ * @returns {@link UpdateRouterInputCommandOutput}
352
+ * @see {@link UpdateRouterInputCommandInput} for command's `input` shape.
353
+ * @see {@link UpdateRouterInputCommandOutput} for command's `response` shape.
354
+ * @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape.
355
+ *
356
+ * @throws {@link BadRequestException} (client fault)
357
+ * <p>This exception is thrown if the request contains a semantic error. The precise meaning depends on the API, and is documented in the error message. </p>
358
+ *
359
+ * @throws {@link ConflictException} (client fault)
360
+ * <p>The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. </p>
361
+ *
362
+ * @throws {@link ForbiddenException} (client fault)
363
+ * <p>You do not have sufficient access to perform this action. </p>
364
+ *
365
+ * @throws {@link InternalServerErrorException} (server fault)
366
+ * <p>The server encountered an internal error and is unable to complete the request. </p>
367
+ *
368
+ * @throws {@link NotFoundException} (client fault)
369
+ * <p>One or more of the resources in the request does not exist in the system. </p>
370
+ *
371
+ * @throws {@link ServiceUnavailableException} (server fault)
372
+ * <p>The service is currently unavailable or busy. </p>
373
+ *
374
+ * @throws {@link TooManyRequestsException} (client fault)
375
+ * <p>The request was denied due to request throttling. </p>
376
+ *
377
+ * @throws {@link MediaConnectServiceException}
378
+ * <p>Base exception class for all service exceptions from MediaConnect service.</p>
379
+ *
380
+ *
381
+ * @public
382
+ */
383
+ export declare class UpdateRouterInputCommand extends UpdateRouterInputCommand_base {
384
+ /** @internal type navigation helper, not in runtime. */
385
+ protected static __types: {
386
+ api: {
387
+ input: UpdateRouterInputRequest;
388
+ output: UpdateRouterInputResponse;
389
+ };
390
+ sdk: {
391
+ input: UpdateRouterInputCommandInput;
392
+ output: UpdateRouterInputCommandOutput;
393
+ };
394
+ };
395
+ }
@@ -0,0 +1,137 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConnectClient";
4
+ import { UpdateRouterNetworkInterfaceRequest, UpdateRouterNetworkInterfaceResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateRouterNetworkInterfaceCommand}.
14
+ */
15
+ export interface UpdateRouterNetworkInterfaceCommandInput extends UpdateRouterNetworkInterfaceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateRouterNetworkInterfaceCommand}.
21
+ */
22
+ export interface UpdateRouterNetworkInterfaceCommandOutput extends UpdateRouterNetworkInterfaceResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateRouterNetworkInterfaceCommand_base: {
25
+ new (input: UpdateRouterNetworkInterfaceCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRouterNetworkInterfaceCommandInput, UpdateRouterNetworkInterfaceCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateRouterNetworkInterfaceCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRouterNetworkInterfaceCommandInput, UpdateRouterNetworkInterfaceCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates the configuration of an existing router network interface in AWS Elemental MediaConnect.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MediaConnectClient, UpdateRouterNetworkInterfaceCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
35
+ * // const { MediaConnectClient, UpdateRouterNetworkInterfaceCommand } = require("@aws-sdk/client-mediaconnect"); // CommonJS import
36
+ * // import type { MediaConnectClientConfig } from "@aws-sdk/client-mediaconnect";
37
+ * const config = {}; // type is MediaConnectClientConfig
38
+ * const client = new MediaConnectClient(config);
39
+ * const input = { // UpdateRouterNetworkInterfaceRequest
40
+ * Arn: "STRING_VALUE", // required
41
+ * Name: "STRING_VALUE",
42
+ * Configuration: { // RouterNetworkInterfaceConfiguration Union: only one key present
43
+ * Public: { // PublicRouterNetworkInterfaceConfiguration
44
+ * AllowRules: [ // NetworkInterfaceRuleList // required
45
+ * { // PublicRouterNetworkInterfaceRule
46
+ * Cidr: "STRING_VALUE", // required
47
+ * },
48
+ * ],
49
+ * },
50
+ * Vpc: { // VpcRouterNetworkInterfaceConfiguration
51
+ * SecurityGroupIds: [ // SecurityGroupIdList // required
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * SubnetId: "STRING_VALUE", // required
55
+ * },
56
+ * },
57
+ * };
58
+ * const command = new UpdateRouterNetworkInterfaceCommand(input);
59
+ * const response = await client.send(command);
60
+ * // { // UpdateRouterNetworkInterfaceResponse
61
+ * // RouterNetworkInterface: { // RouterNetworkInterface
62
+ * // Name: "STRING_VALUE", // required
63
+ * // Arn: "STRING_VALUE", // required
64
+ * // Id: "STRING_VALUE", // required
65
+ * // State: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "ERROR" || "RECOVERING", // required
66
+ * // NetworkInterfaceType: "PUBLIC" || "VPC", // required
67
+ * // Configuration: { // RouterNetworkInterfaceConfiguration Union: only one key present
68
+ * // Public: { // PublicRouterNetworkInterfaceConfiguration
69
+ * // AllowRules: [ // NetworkInterfaceRuleList // required
70
+ * // { // PublicRouterNetworkInterfaceRule
71
+ * // Cidr: "STRING_VALUE", // required
72
+ * // },
73
+ * // ],
74
+ * // },
75
+ * // Vpc: { // VpcRouterNetworkInterfaceConfiguration
76
+ * // SecurityGroupIds: [ // SecurityGroupIdList // required
77
+ * // "STRING_VALUE",
78
+ * // ],
79
+ * // SubnetId: "STRING_VALUE", // required
80
+ * // },
81
+ * // },
82
+ * // AssociatedOutputCount: Number("int"), // required
83
+ * // AssociatedInputCount: Number("int"), // required
84
+ * // RegionName: "STRING_VALUE", // required
85
+ * // CreatedAt: new Date("TIMESTAMP"), // required
86
+ * // UpdatedAt: new Date("TIMESTAMP"), // required
87
+ * // Tags: { // __mapOfString // required
88
+ * // "<keys>": "STRING_VALUE",
89
+ * // },
90
+ * // },
91
+ * // };
92
+ *
93
+ * ```
94
+ *
95
+ * @param UpdateRouterNetworkInterfaceCommandInput - {@link UpdateRouterNetworkInterfaceCommandInput}
96
+ * @returns {@link UpdateRouterNetworkInterfaceCommandOutput}
97
+ * @see {@link UpdateRouterNetworkInterfaceCommandInput} for command's `input` shape.
98
+ * @see {@link UpdateRouterNetworkInterfaceCommandOutput} for command's `response` shape.
99
+ * @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape.
100
+ *
101
+ * @throws {@link BadRequestException} (client fault)
102
+ * <p>This exception is thrown if the request contains a semantic error. The precise meaning depends on the API, and is documented in the error message. </p>
103
+ *
104
+ * @throws {@link ConflictException} (client fault)
105
+ * <p>The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. </p>
106
+ *
107
+ * @throws {@link ForbiddenException} (client fault)
108
+ * <p>You do not have sufficient access to perform this action. </p>
109
+ *
110
+ * @throws {@link InternalServerErrorException} (server fault)
111
+ * <p>The server encountered an internal error and is unable to complete the request. </p>
112
+ *
113
+ * @throws {@link ServiceUnavailableException} (server fault)
114
+ * <p>The service is currently unavailable or busy. </p>
115
+ *
116
+ * @throws {@link TooManyRequestsException} (client fault)
117
+ * <p>The request was denied due to request throttling. </p>
118
+ *
119
+ * @throws {@link MediaConnectServiceException}
120
+ * <p>Base exception class for all service exceptions from MediaConnect service.</p>
121
+ *
122
+ *
123
+ * @public
124
+ */
125
+ export declare class UpdateRouterNetworkInterfaceCommand extends UpdateRouterNetworkInterfaceCommand_base {
126
+ /** @internal type navigation helper, not in runtime. */
127
+ protected static __types: {
128
+ api: {
129
+ input: UpdateRouterNetworkInterfaceRequest;
130
+ output: UpdateRouterNetworkInterfaceResponse;
131
+ };
132
+ sdk: {
133
+ input: UpdateRouterNetworkInterfaceCommandInput;
134
+ output: UpdateRouterNetworkInterfaceCommandOutput;
135
+ };
136
+ };
137
+ }