@aws-sdk/client-mediaconnect 3.934.0 → 3.935.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 +12 -12
  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,273 @@
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 { GetRouterInputRequest, GetRouterInputResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetRouterInputCommand}.
14
+ */
15
+ export interface GetRouterInputCommandInput extends GetRouterInputRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetRouterInputCommand}.
21
+ */
22
+ export interface GetRouterInputCommandOutput extends GetRouterInputResponse, __MetadataBearer {
23
+ }
24
+ declare const GetRouterInputCommand_base: {
25
+ new (input: GetRouterInputCommandInput): import("@smithy/smithy-client").CommandImpl<GetRouterInputCommandInput, GetRouterInputCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetRouterInputCommandInput): import("@smithy/smithy-client").CommandImpl<GetRouterInputCommandInput, GetRouterInputCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves information about a specific 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, GetRouterInputCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
35
+ * // const { MediaConnectClient, GetRouterInputCommand } = 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 = { // GetRouterInputRequest
40
+ * Arn: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetRouterInputCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetRouterInputResponse
45
+ * // RouterInput: { // RouterInput
46
+ * // Name: "STRING_VALUE", // required
47
+ * // Arn: "STRING_VALUE", // required
48
+ * // Id: "STRING_VALUE", // required
49
+ * // State: "CREATING" || "STANDBY" || "STARTING" || "ACTIVE" || "STOPPING" || "DELETING" || "UPDATING" || "ERROR" || "RECOVERING" || "MIGRATING", // required
50
+ * // InputType: "STANDARD" || "FAILOVER" || "MERGE" || "MEDIACONNECT_FLOW", // required
51
+ * // Configuration: { // RouterInputConfiguration Union: only one key present
52
+ * // Standard: { // StandardRouterInputConfiguration
53
+ * // NetworkInterfaceArn: "STRING_VALUE", // required
54
+ * // ProtocolConfiguration: { // RouterInputProtocolConfiguration Union: only one key present
55
+ * // Rtp: { // RtpRouterInputConfiguration
56
+ * // Port: Number("int"), // required
57
+ * // ForwardErrorCorrection: "ENABLED" || "DISABLED",
58
+ * // },
59
+ * // Rist: { // RistRouterInputConfiguration
60
+ * // Port: Number("int"), // required
61
+ * // RecoveryLatencyMilliseconds: Number("long"), // required
62
+ * // },
63
+ * // SrtListener: { // SrtListenerRouterInputConfiguration
64
+ * // Port: Number("int"), // required
65
+ * // MinimumLatencyMilliseconds: Number("long"), // required
66
+ * // DecryptionConfiguration: { // SrtDecryptionConfiguration
67
+ * // EncryptionKey: { // SecretsManagerEncryptionKeyConfiguration
68
+ * // SecretArn: "STRING_VALUE", // required
69
+ * // RoleArn: "STRING_VALUE", // required
70
+ * // },
71
+ * // },
72
+ * // },
73
+ * // SrtCaller: { // SrtCallerRouterInputConfiguration
74
+ * // SourceAddress: "STRING_VALUE", // required
75
+ * // SourcePort: Number("int"), // required
76
+ * // MinimumLatencyMilliseconds: Number("long"), // required
77
+ * // StreamId: "STRING_VALUE",
78
+ * // DecryptionConfiguration: {
79
+ * // EncryptionKey: {
80
+ * // SecretArn: "STRING_VALUE", // required
81
+ * // RoleArn: "STRING_VALUE", // required
82
+ * // },
83
+ * // },
84
+ * // },
85
+ * // },
86
+ * // Protocol: "RTP" || "RIST" || "SRT_CALLER" || "SRT_LISTENER",
87
+ * // },
88
+ * // Failover: { // FailoverRouterInputConfiguration
89
+ * // NetworkInterfaceArn: "STRING_VALUE", // required
90
+ * // ProtocolConfigurations: [ // FailoverRouterInputProtocolConfigurationList // required
91
+ * // { // FailoverRouterInputProtocolConfiguration Union: only one key present
92
+ * // Rtp: {
93
+ * // Port: Number("int"), // required
94
+ * // ForwardErrorCorrection: "ENABLED" || "DISABLED",
95
+ * // },
96
+ * // Rist: {
97
+ * // Port: Number("int"), // required
98
+ * // RecoveryLatencyMilliseconds: Number("long"), // required
99
+ * // },
100
+ * // SrtListener: {
101
+ * // Port: Number("int"), // required
102
+ * // MinimumLatencyMilliseconds: Number("long"), // required
103
+ * // DecryptionConfiguration: {
104
+ * // EncryptionKey: {
105
+ * // SecretArn: "STRING_VALUE", // required
106
+ * // RoleArn: "STRING_VALUE", // required
107
+ * // },
108
+ * // },
109
+ * // },
110
+ * // SrtCaller: {
111
+ * // SourceAddress: "STRING_VALUE", // required
112
+ * // SourcePort: Number("int"), // required
113
+ * // MinimumLatencyMilliseconds: Number("long"), // required
114
+ * // StreamId: "STRING_VALUE",
115
+ * // DecryptionConfiguration: {
116
+ * // EncryptionKey: {
117
+ * // SecretArn: "STRING_VALUE", // required
118
+ * // RoleArn: "STRING_VALUE", // required
119
+ * // },
120
+ * // },
121
+ * // },
122
+ * // },
123
+ * // ],
124
+ * // SourcePriorityMode: "NO_PRIORITY" || "PRIMARY_SECONDARY", // required
125
+ * // PrimarySourceIndex: Number("int"),
126
+ * // },
127
+ * // Merge: { // MergeRouterInputConfiguration
128
+ * // NetworkInterfaceArn: "STRING_VALUE", // required
129
+ * // ProtocolConfigurations: [ // MergeRouterInputProtocolConfigurationList // required
130
+ * // { // MergeRouterInputProtocolConfiguration Union: only one key present
131
+ * // Rtp: {
132
+ * // Port: Number("int"), // required
133
+ * // ForwardErrorCorrection: "ENABLED" || "DISABLED",
134
+ * // },
135
+ * // Rist: {
136
+ * // Port: Number("int"), // required
137
+ * // RecoveryLatencyMilliseconds: Number("long"), // required
138
+ * // },
139
+ * // },
140
+ * // ],
141
+ * // MergeRecoveryWindowMilliseconds: Number("long"), // required
142
+ * // },
143
+ * // MediaConnectFlow: { // MediaConnectFlowRouterInputConfiguration
144
+ * // FlowArn: "STRING_VALUE",
145
+ * // FlowOutputArn: "STRING_VALUE",
146
+ * // SourceTransitDecryption: { // FlowTransitEncryption
147
+ * // EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
148
+ * // EncryptionKeyConfiguration: { // FlowTransitEncryptionKeyConfiguration Union: only one key present
149
+ * // SecretsManager: "<SecretsManagerEncryptionKeyConfiguration>",
150
+ * // Automatic: {},
151
+ * // },
152
+ * // },
153
+ * // },
154
+ * // },
155
+ * // RoutedOutputs: Number("int"), // required
156
+ * // MaximumRoutedOutputs: Number("int"),
157
+ * // RegionName: "STRING_VALUE", // required
158
+ * // AvailabilityZone: "STRING_VALUE", // required
159
+ * // MaximumBitrate: Number("long"), // required
160
+ * // Tier: "INPUT_100" || "INPUT_50" || "INPUT_20", // required
161
+ * // RoutingScope: "REGIONAL" || "GLOBAL", // required
162
+ * // CreatedAt: new Date("TIMESTAMP"), // required
163
+ * // UpdatedAt: new Date("TIMESTAMP"), // required
164
+ * // Messages: [ // RouterInputMessages // required
165
+ * // { // RouterInputMessage
166
+ * // Code: "STRING_VALUE", // required
167
+ * // Message: "STRING_VALUE", // required
168
+ * // },
169
+ * // ],
170
+ * // TransitEncryption: { // RouterInputTransitEncryption
171
+ * // EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
172
+ * // EncryptionKeyConfiguration: { // RouterInputTransitEncryptionKeyConfiguration Union: only one key present
173
+ * // SecretsManager: "<SecretsManagerEncryptionKeyConfiguration>",
174
+ * // Automatic: {},
175
+ * // },
176
+ * // },
177
+ * // Tags: { // __mapOfString // required
178
+ * // "<keys>": "STRING_VALUE",
179
+ * // },
180
+ * // StreamDetails: { // RouterInputStreamDetails Union: only one key present
181
+ * // Standard: { // StandardRouterInputStreamDetails
182
+ * // SourceIpAddress: "STRING_VALUE",
183
+ * // },
184
+ * // Failover: { // FailoverRouterInputStreamDetails
185
+ * // SourceIndexZeroStreamDetails: { // FailoverRouterInputIndexedStreamDetails
186
+ * // SourceIndex: Number("int"), // required
187
+ * // SourceIpAddress: "STRING_VALUE",
188
+ * // },
189
+ * // SourceIndexOneStreamDetails: {
190
+ * // SourceIndex: Number("int"), // required
191
+ * // SourceIpAddress: "STRING_VALUE",
192
+ * // },
193
+ * // },
194
+ * // Merge: { // MergeRouterInputStreamDetails
195
+ * // SourceIndexZeroStreamDetails: { // MergeRouterInputIndexedStreamDetails
196
+ * // SourceIndex: Number("int"), // required
197
+ * // SourceIpAddress: "STRING_VALUE",
198
+ * // },
199
+ * // SourceIndexOneStreamDetails: {
200
+ * // SourceIndex: Number("int"), // required
201
+ * // SourceIpAddress: "STRING_VALUE",
202
+ * // },
203
+ * // },
204
+ * // MediaConnectFlow: {},
205
+ * // },
206
+ * // IpAddress: "STRING_VALUE",
207
+ * // MaintenanceType: "PREFERRED_DAY_TIME" || "DEFAULT", // required
208
+ * // MaintenanceConfiguration: { // MaintenanceConfiguration Union: only one key present
209
+ * // PreferredDayTime: { // PreferredDayTimeMaintenanceConfiguration
210
+ * // Day: "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
211
+ * // Time: "STRING_VALUE", // required
212
+ * // },
213
+ * // Default: {},
214
+ * // },
215
+ * // MaintenanceScheduleType: "WINDOW",
216
+ * // MaintenanceSchedule: { // MaintenanceSchedule Union: only one key present
217
+ * // Window: { // WindowMaintenanceSchedule
218
+ * // Start: new Date("TIMESTAMP"), // required
219
+ * // End: new Date("TIMESTAMP"), // required
220
+ * // ScheduledTime: new Date("TIMESTAMP"), // required
221
+ * // },
222
+ * // },
223
+ * // },
224
+ * // };
225
+ *
226
+ * ```
227
+ *
228
+ * @param GetRouterInputCommandInput - {@link GetRouterInputCommandInput}
229
+ * @returns {@link GetRouterInputCommandOutput}
230
+ * @see {@link GetRouterInputCommandInput} for command's `input` shape.
231
+ * @see {@link GetRouterInputCommandOutput} for command's `response` shape.
232
+ * @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape.
233
+ *
234
+ * @throws {@link BadRequestException} (client fault)
235
+ * <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>
236
+ *
237
+ * @throws {@link ConflictException} (client fault)
238
+ * <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>
239
+ *
240
+ * @throws {@link ForbiddenException} (client fault)
241
+ * <p>You do not have sufficient access to perform this action. </p>
242
+ *
243
+ * @throws {@link InternalServerErrorException} (server fault)
244
+ * <p>The server encountered an internal error and is unable to complete the request. </p>
245
+ *
246
+ * @throws {@link NotFoundException} (client fault)
247
+ * <p>One or more of the resources in the request does not exist in the system. </p>
248
+ *
249
+ * @throws {@link ServiceUnavailableException} (server fault)
250
+ * <p>The service is currently unavailable or busy. </p>
251
+ *
252
+ * @throws {@link TooManyRequestsException} (client fault)
253
+ * <p>The request was denied due to request throttling. </p>
254
+ *
255
+ * @throws {@link MediaConnectServiceException}
256
+ * <p>Base exception class for all service exceptions from MediaConnect service.</p>
257
+ *
258
+ *
259
+ * @public
260
+ */
261
+ export declare class GetRouterInputCommand extends GetRouterInputCommand_base {
262
+ /** @internal type navigation helper, not in runtime. */
263
+ protected static __types: {
264
+ api: {
265
+ input: GetRouterInputRequest;
266
+ output: GetRouterInputResponse;
267
+ };
268
+ sdk: {
269
+ input: GetRouterInputCommandInput;
270
+ output: GetRouterInputCommandOutput;
271
+ };
272
+ };
273
+ }
@@ -0,0 +1,129 @@
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 { GetRouterInputSourceMetadataRequest, GetRouterInputSourceMetadataResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetRouterInputSourceMetadataCommand}.
14
+ */
15
+ export interface GetRouterInputSourceMetadataCommandInput extends GetRouterInputSourceMetadataRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetRouterInputSourceMetadataCommand}.
21
+ */
22
+ export interface GetRouterInputSourceMetadataCommandOutput extends GetRouterInputSourceMetadataResponse, __MetadataBearer {
23
+ }
24
+ declare const GetRouterInputSourceMetadataCommand_base: {
25
+ new (input: GetRouterInputSourceMetadataCommandInput): import("@smithy/smithy-client").CommandImpl<GetRouterInputSourceMetadataCommandInput, GetRouterInputSourceMetadataCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetRouterInputSourceMetadataCommandInput): import("@smithy/smithy-client").CommandImpl<GetRouterInputSourceMetadataCommandInput, GetRouterInputSourceMetadataCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves detailed metadata information about a specific router input source, including stream details and connection state.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MediaConnectClient, GetRouterInputSourceMetadataCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
35
+ * // const { MediaConnectClient, GetRouterInputSourceMetadataCommand } = 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 = { // GetRouterInputSourceMetadataRequest
40
+ * Arn: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetRouterInputSourceMetadataCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetRouterInputSourceMetadataResponse
45
+ * // Arn: "STRING_VALUE", // required
46
+ * // Name: "STRING_VALUE", // required
47
+ * // SourceMetadataDetails: { // RouterInputSourceMetadataDetails
48
+ * // SourceMetadataMessages: [ // RouterInputMessages // required
49
+ * // { // RouterInputMessage
50
+ * // Code: "STRING_VALUE", // required
51
+ * // Message: "STRING_VALUE", // required
52
+ * // },
53
+ * // ],
54
+ * // Timestamp: new Date("TIMESTAMP"), // required
55
+ * // RouterInputMetadata: { // RouterInputMetadata Union: only one key present
56
+ * // TransportStreamMediaInfo: { // TransportMediaInfo
57
+ * // Programs: [ // __listOfTransportStreamProgram // required
58
+ * // { // TransportStreamProgram
59
+ * // PcrPid: Number("int"), // required
60
+ * // ProgramName: "STRING_VALUE",
61
+ * // ProgramNumber: Number("int"), // required
62
+ * // ProgramPid: Number("int"), // required
63
+ * // Streams: [ // __listOfTransportStream // required
64
+ * // { // TransportStream
65
+ * // Channels: Number("int"),
66
+ * // Codec: "STRING_VALUE",
67
+ * // FrameRate: "STRING_VALUE",
68
+ * // FrameResolution: { // FrameResolution
69
+ * // FrameHeight: Number("int"), // required
70
+ * // FrameWidth: Number("int"), // required
71
+ * // },
72
+ * // Pid: Number("int"), // required
73
+ * // SampleRate: Number("int"),
74
+ * // SampleSize: Number("int"),
75
+ * // StreamType: "STRING_VALUE", // required
76
+ * // },
77
+ * // ],
78
+ * // },
79
+ * // ],
80
+ * // },
81
+ * // },
82
+ * // },
83
+ * // };
84
+ *
85
+ * ```
86
+ *
87
+ * @param GetRouterInputSourceMetadataCommandInput - {@link GetRouterInputSourceMetadataCommandInput}
88
+ * @returns {@link GetRouterInputSourceMetadataCommandOutput}
89
+ * @see {@link GetRouterInputSourceMetadataCommandInput} for command's `input` shape.
90
+ * @see {@link GetRouterInputSourceMetadataCommandOutput} for command's `response` shape.
91
+ * @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape.
92
+ *
93
+ * @throws {@link BadRequestException} (client fault)
94
+ * <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>
95
+ *
96
+ * @throws {@link ForbiddenException} (client fault)
97
+ * <p>You do not have sufficient access to perform this action. </p>
98
+ *
99
+ * @throws {@link InternalServerErrorException} (server fault)
100
+ * <p>The server encountered an internal error and is unable to complete the request. </p>
101
+ *
102
+ * @throws {@link NotFoundException} (client fault)
103
+ * <p>One or more of the resources in the request does not exist in the system. </p>
104
+ *
105
+ * @throws {@link ServiceUnavailableException} (server fault)
106
+ * <p>The service is currently unavailable or busy. </p>
107
+ *
108
+ * @throws {@link TooManyRequestsException} (client fault)
109
+ * <p>The request was denied due to request throttling. </p>
110
+ *
111
+ * @throws {@link MediaConnectServiceException}
112
+ * <p>Base exception class for all service exceptions from MediaConnect service.</p>
113
+ *
114
+ *
115
+ * @public
116
+ */
117
+ export declare class GetRouterInputSourceMetadataCommand extends GetRouterInputSourceMetadataCommand_base {
118
+ /** @internal type navigation helper, not in runtime. */
119
+ protected static __types: {
120
+ api: {
121
+ input: GetRouterInputSourceMetadataRequest;
122
+ output: GetRouterInputSourceMetadataResponse;
123
+ };
124
+ sdk: {
125
+ input: GetRouterInputSourceMetadataCommandInput;
126
+ output: GetRouterInputSourceMetadataCommandOutput;
127
+ };
128
+ };
129
+ }
@@ -0,0 +1,104 @@
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 { GetRouterInputThumbnailRequest, GetRouterInputThumbnailResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetRouterInputThumbnailCommand}.
14
+ */
15
+ export interface GetRouterInputThumbnailCommandInput extends GetRouterInputThumbnailRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetRouterInputThumbnailCommand}.
21
+ */
22
+ export interface GetRouterInputThumbnailCommandOutput extends GetRouterInputThumbnailResponse, __MetadataBearer {
23
+ }
24
+ declare const GetRouterInputThumbnailCommand_base: {
25
+ new (input: GetRouterInputThumbnailCommandInput): import("@smithy/smithy-client").CommandImpl<GetRouterInputThumbnailCommandInput, GetRouterInputThumbnailCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetRouterInputThumbnailCommandInput): import("@smithy/smithy-client").CommandImpl<GetRouterInputThumbnailCommandInput, GetRouterInputThumbnailCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves the thumbnail for a 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, GetRouterInputThumbnailCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
35
+ * // const { MediaConnectClient, GetRouterInputThumbnailCommand } = 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 = { // GetRouterInputThumbnailRequest
40
+ * Arn: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetRouterInputThumbnailCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetRouterInputThumbnailResponse
45
+ * // Arn: "STRING_VALUE", // required
46
+ * // Name: "STRING_VALUE", // required
47
+ * // ThumbnailDetails: { // RouterInputThumbnailDetails
48
+ * // ThumbnailMessages: [ // RouterInputMessages // required
49
+ * // { // RouterInputMessage
50
+ * // Code: "STRING_VALUE", // required
51
+ * // Message: "STRING_VALUE", // required
52
+ * // },
53
+ * // ],
54
+ * // Thumbnail: new Uint8Array(),
55
+ * // Timecode: "STRING_VALUE",
56
+ * // Timestamp: new Date("TIMESTAMP"),
57
+ * // },
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param GetRouterInputThumbnailCommandInput - {@link GetRouterInputThumbnailCommandInput}
63
+ * @returns {@link GetRouterInputThumbnailCommandOutput}
64
+ * @see {@link GetRouterInputThumbnailCommandInput} for command's `input` shape.
65
+ * @see {@link GetRouterInputThumbnailCommandOutput} for command's `response` shape.
66
+ * @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape.
67
+ *
68
+ * @throws {@link BadRequestException} (client fault)
69
+ * <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>
70
+ *
71
+ * @throws {@link ForbiddenException} (client fault)
72
+ * <p>You do not have sufficient access to perform this action. </p>
73
+ *
74
+ * @throws {@link InternalServerErrorException} (server fault)
75
+ * <p>The server encountered an internal error and is unable to complete the request. </p>
76
+ *
77
+ * @throws {@link NotFoundException} (client fault)
78
+ * <p>One or more of the resources in the request does not exist in the system. </p>
79
+ *
80
+ * @throws {@link ServiceUnavailableException} (server fault)
81
+ * <p>The service is currently unavailable or busy. </p>
82
+ *
83
+ * @throws {@link TooManyRequestsException} (client fault)
84
+ * <p>The request was denied due to request throttling. </p>
85
+ *
86
+ * @throws {@link MediaConnectServiceException}
87
+ * <p>Base exception class for all service exceptions from MediaConnect service.</p>
88
+ *
89
+ *
90
+ * @public
91
+ */
92
+ export declare class GetRouterInputThumbnailCommand extends GetRouterInputThumbnailCommand_base {
93
+ /** @internal type navigation helper, not in runtime. */
94
+ protected static __types: {
95
+ api: {
96
+ input: GetRouterInputThumbnailRequest;
97
+ output: GetRouterInputThumbnailResponse;
98
+ };
99
+ sdk: {
100
+ input: GetRouterInputThumbnailCommandInput;
101
+ output: GetRouterInputThumbnailCommandOutput;
102
+ };
103
+ };
104
+ }
@@ -0,0 +1,124 @@
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 { GetRouterNetworkInterfaceRequest, GetRouterNetworkInterfaceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetRouterNetworkInterfaceCommand}.
14
+ */
15
+ export interface GetRouterNetworkInterfaceCommandInput extends GetRouterNetworkInterfaceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetRouterNetworkInterfaceCommand}.
21
+ */
22
+ export interface GetRouterNetworkInterfaceCommandOutput extends GetRouterNetworkInterfaceResponse, __MetadataBearer {
23
+ }
24
+ declare const GetRouterNetworkInterfaceCommand_base: {
25
+ new (input: GetRouterNetworkInterfaceCommandInput): import("@smithy/smithy-client").CommandImpl<GetRouterNetworkInterfaceCommandInput, GetRouterNetworkInterfaceCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetRouterNetworkInterfaceCommandInput): import("@smithy/smithy-client").CommandImpl<GetRouterNetworkInterfaceCommandInput, GetRouterNetworkInterfaceCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves information about a specific 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, GetRouterNetworkInterfaceCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
35
+ * // const { MediaConnectClient, GetRouterNetworkInterfaceCommand } = 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 = { // GetRouterNetworkInterfaceRequest
40
+ * Arn: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetRouterNetworkInterfaceCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetRouterNetworkInterfaceResponse
45
+ * // RouterNetworkInterface: { // RouterNetworkInterface
46
+ * // Name: "STRING_VALUE", // required
47
+ * // Arn: "STRING_VALUE", // required
48
+ * // Id: "STRING_VALUE", // required
49
+ * // State: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "ERROR" || "RECOVERING", // required
50
+ * // NetworkInterfaceType: "PUBLIC" || "VPC", // required
51
+ * // Configuration: { // RouterNetworkInterfaceConfiguration Union: only one key present
52
+ * // Public: { // PublicRouterNetworkInterfaceConfiguration
53
+ * // AllowRules: [ // NetworkInterfaceRuleList // required
54
+ * // { // PublicRouterNetworkInterfaceRule
55
+ * // Cidr: "STRING_VALUE", // required
56
+ * // },
57
+ * // ],
58
+ * // },
59
+ * // Vpc: { // VpcRouterNetworkInterfaceConfiguration
60
+ * // SecurityGroupIds: [ // SecurityGroupIdList // required
61
+ * // "STRING_VALUE",
62
+ * // ],
63
+ * // SubnetId: "STRING_VALUE", // required
64
+ * // },
65
+ * // },
66
+ * // AssociatedOutputCount: Number("int"), // required
67
+ * // AssociatedInputCount: Number("int"), // required
68
+ * // RegionName: "STRING_VALUE", // required
69
+ * // CreatedAt: new Date("TIMESTAMP"), // required
70
+ * // UpdatedAt: new Date("TIMESTAMP"), // required
71
+ * // Tags: { // __mapOfString // required
72
+ * // "<keys>": "STRING_VALUE",
73
+ * // },
74
+ * // },
75
+ * // };
76
+ *
77
+ * ```
78
+ *
79
+ * @param GetRouterNetworkInterfaceCommandInput - {@link GetRouterNetworkInterfaceCommandInput}
80
+ * @returns {@link GetRouterNetworkInterfaceCommandOutput}
81
+ * @see {@link GetRouterNetworkInterfaceCommandInput} for command's `input` shape.
82
+ * @see {@link GetRouterNetworkInterfaceCommandOutput} for command's `response` shape.
83
+ * @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape.
84
+ *
85
+ * @throws {@link BadRequestException} (client fault)
86
+ * <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>
87
+ *
88
+ * @throws {@link ConflictException} (client fault)
89
+ * <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>
90
+ *
91
+ * @throws {@link ForbiddenException} (client fault)
92
+ * <p>You do not have sufficient access to perform this action. </p>
93
+ *
94
+ * @throws {@link InternalServerErrorException} (server fault)
95
+ * <p>The server encountered an internal error and is unable to complete the request. </p>
96
+ *
97
+ * @throws {@link NotFoundException} (client fault)
98
+ * <p>One or more of the resources in the request does not exist in the system. </p>
99
+ *
100
+ * @throws {@link ServiceUnavailableException} (server fault)
101
+ * <p>The service is currently unavailable or busy. </p>
102
+ *
103
+ * @throws {@link TooManyRequestsException} (client fault)
104
+ * <p>The request was denied due to request throttling. </p>
105
+ *
106
+ * @throws {@link MediaConnectServiceException}
107
+ * <p>Base exception class for all service exceptions from MediaConnect service.</p>
108
+ *
109
+ *
110
+ * @public
111
+ */
112
+ export declare class GetRouterNetworkInterfaceCommand extends GetRouterNetworkInterfaceCommand_base {
113
+ /** @internal type navigation helper, not in runtime. */
114
+ protected static __types: {
115
+ api: {
116
+ input: GetRouterNetworkInterfaceRequest;
117
+ output: GetRouterNetworkInterfaceResponse;
118
+ };
119
+ sdk: {
120
+ input: GetRouterNetworkInterfaceCommandInput;
121
+ output: GetRouterNetworkInterfaceCommandOutput;
122
+ };
123
+ };
124
+ }