@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,210 @@
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 { GetRouterOutputRequest, GetRouterOutputResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetRouterOutputCommand}.
14
+ */
15
+ export interface GetRouterOutputCommandInput extends GetRouterOutputRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetRouterOutputCommand}.
21
+ */
22
+ export interface GetRouterOutputCommandOutput extends GetRouterOutputResponse, __MetadataBearer {
23
+ }
24
+ declare const GetRouterOutputCommand_base: {
25
+ new (input: GetRouterOutputCommandInput): import("@smithy/smithy-client").CommandImpl<GetRouterOutputCommandInput, GetRouterOutputCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetRouterOutputCommandInput): import("@smithy/smithy-client").CommandImpl<GetRouterOutputCommandInput, GetRouterOutputCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves information about a specific router output 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, GetRouterOutputCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
35
+ * // const { MediaConnectClient, GetRouterOutputCommand } = 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 = { // GetRouterOutputRequest
40
+ * Arn: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetRouterOutputCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetRouterOutputResponse
45
+ * // RouterOutput: { // RouterOutput
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
+ * // OutputType: "STANDARD" || "MEDIACONNECT_FLOW" || "MEDIALIVE_INPUT", // required
51
+ * // Configuration: { // RouterOutputConfiguration Union: only one key present
52
+ * // Standard: { // StandardRouterOutputConfiguration
53
+ * // NetworkInterfaceArn: "STRING_VALUE", // required
54
+ * // ProtocolConfiguration: { // RouterOutputProtocolConfiguration Union: only one key present
55
+ * // Rtp: { // RtpRouterOutputConfiguration
56
+ * // DestinationAddress: "STRING_VALUE", // required
57
+ * // DestinationPort: Number("int"), // required
58
+ * // ForwardErrorCorrection: "ENABLED" || "DISABLED",
59
+ * // },
60
+ * // Rist: { // RistRouterOutputConfiguration
61
+ * // DestinationAddress: "STRING_VALUE", // required
62
+ * // DestinationPort: Number("int"), // required
63
+ * // },
64
+ * // SrtListener: { // SrtListenerRouterOutputConfiguration
65
+ * // Port: Number("int"), // required
66
+ * // MinimumLatencyMilliseconds: Number("long"), // required
67
+ * // EncryptionConfiguration: { // SrtEncryptionConfiguration
68
+ * // EncryptionKey: { // SecretsManagerEncryptionKeyConfiguration
69
+ * // SecretArn: "STRING_VALUE", // required
70
+ * // RoleArn: "STRING_VALUE", // required
71
+ * // },
72
+ * // },
73
+ * // },
74
+ * // SrtCaller: { // SrtCallerRouterOutputConfiguration
75
+ * // DestinationAddress: "STRING_VALUE", // required
76
+ * // DestinationPort: Number("int"), // required
77
+ * // MinimumLatencyMilliseconds: Number("long"), // required
78
+ * // StreamId: "STRING_VALUE",
79
+ * // EncryptionConfiguration: {
80
+ * // EncryptionKey: {
81
+ * // SecretArn: "STRING_VALUE", // required
82
+ * // RoleArn: "STRING_VALUE", // required
83
+ * // },
84
+ * // },
85
+ * // },
86
+ * // },
87
+ * // Protocol: "RTP" || "RIST" || "SRT_CALLER" || "SRT_LISTENER",
88
+ * // },
89
+ * // MediaConnectFlow: { // MediaConnectFlowRouterOutputConfiguration
90
+ * // FlowArn: "STRING_VALUE",
91
+ * // FlowSourceArn: "STRING_VALUE",
92
+ * // DestinationTransitEncryption: { // FlowTransitEncryption
93
+ * // EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
94
+ * // EncryptionKeyConfiguration: { // FlowTransitEncryptionKeyConfiguration Union: only one key present
95
+ * // SecretsManager: {
96
+ * // SecretArn: "STRING_VALUE", // required
97
+ * // RoleArn: "STRING_VALUE", // required
98
+ * // },
99
+ * // Automatic: {},
100
+ * // },
101
+ * // },
102
+ * // },
103
+ * // MediaLiveInput: { // MediaLiveInputRouterOutputConfiguration
104
+ * // MediaLiveInputArn: "STRING_VALUE",
105
+ * // MediaLivePipelineId: "PIPELINE_0" || "PIPELINE_1",
106
+ * // DestinationTransitEncryption: { // MediaLiveTransitEncryption
107
+ * // EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
108
+ * // EncryptionKeyConfiguration: { // MediaLiveTransitEncryptionKeyConfiguration Union: only one key present
109
+ * // SecretsManager: {
110
+ * // SecretArn: "STRING_VALUE", // required
111
+ * // RoleArn: "STRING_VALUE", // required
112
+ * // },
113
+ * // Automatic: {},
114
+ * // },
115
+ * // },
116
+ * // },
117
+ * // },
118
+ * // RoutedState: "ROUTED" || "ROUTING" || "UNROUTED", // required
119
+ * // RegionName: "STRING_VALUE", // required
120
+ * // AvailabilityZone: "STRING_VALUE", // required
121
+ * // MaximumBitrate: Number("long"), // required
122
+ * // RoutingScope: "REGIONAL" || "GLOBAL", // required
123
+ * // Tier: "OUTPUT_100" || "OUTPUT_50" || "OUTPUT_20", // required
124
+ * // CreatedAt: new Date("TIMESTAMP"), // required
125
+ * // UpdatedAt: new Date("TIMESTAMP"), // required
126
+ * // Messages: [ // RouterOutputMessages // required
127
+ * // { // RouterOutputMessage
128
+ * // Code: "STRING_VALUE", // required
129
+ * // Message: "STRING_VALUE", // required
130
+ * // },
131
+ * // ],
132
+ * // Tags: { // __mapOfString // required
133
+ * // "<keys>": "STRING_VALUE",
134
+ * // },
135
+ * // StreamDetails: { // RouterOutputStreamDetails Union: only one key present
136
+ * // Standard: { // StandardRouterOutputStreamDetails
137
+ * // DestinationIpAddress: "STRING_VALUE",
138
+ * // },
139
+ * // MediaConnectFlow: {},
140
+ * // MediaLiveInput: {},
141
+ * // },
142
+ * // IpAddress: "STRING_VALUE",
143
+ * // RoutedInputArn: "STRING_VALUE",
144
+ * // MaintenanceType: "PREFERRED_DAY_TIME" || "DEFAULT", // required
145
+ * // MaintenanceConfiguration: { // MaintenanceConfiguration Union: only one key present
146
+ * // PreferredDayTime: { // PreferredDayTimeMaintenanceConfiguration
147
+ * // Day: "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
148
+ * // Time: "STRING_VALUE", // required
149
+ * // },
150
+ * // Default: {},
151
+ * // },
152
+ * // MaintenanceScheduleType: "WINDOW",
153
+ * // MaintenanceSchedule: { // MaintenanceSchedule Union: only one key present
154
+ * // Window: { // WindowMaintenanceSchedule
155
+ * // Start: new Date("TIMESTAMP"), // required
156
+ * // End: new Date("TIMESTAMP"), // required
157
+ * // ScheduledTime: new Date("TIMESTAMP"), // required
158
+ * // },
159
+ * // },
160
+ * // },
161
+ * // };
162
+ *
163
+ * ```
164
+ *
165
+ * @param GetRouterOutputCommandInput - {@link GetRouterOutputCommandInput}
166
+ * @returns {@link GetRouterOutputCommandOutput}
167
+ * @see {@link GetRouterOutputCommandInput} for command's `input` shape.
168
+ * @see {@link GetRouterOutputCommandOutput} for command's `response` shape.
169
+ * @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape.
170
+ *
171
+ * @throws {@link BadRequestException} (client fault)
172
+ * <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>
173
+ *
174
+ * @throws {@link ConflictException} (client fault)
175
+ * <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>
176
+ *
177
+ * @throws {@link ForbiddenException} (client fault)
178
+ * <p>You do not have sufficient access to perform this action. </p>
179
+ *
180
+ * @throws {@link InternalServerErrorException} (server fault)
181
+ * <p>The server encountered an internal error and is unable to complete the request. </p>
182
+ *
183
+ * @throws {@link NotFoundException} (client fault)
184
+ * <p>One or more of the resources in the request does not exist in the system. </p>
185
+ *
186
+ * @throws {@link ServiceUnavailableException} (server fault)
187
+ * <p>The service is currently unavailable or busy. </p>
188
+ *
189
+ * @throws {@link TooManyRequestsException} (client fault)
190
+ * <p>The request was denied due to request throttling. </p>
191
+ *
192
+ * @throws {@link MediaConnectServiceException}
193
+ * <p>Base exception class for all service exceptions from MediaConnect service.</p>
194
+ *
195
+ *
196
+ * @public
197
+ */
198
+ export declare class GetRouterOutputCommand extends GetRouterOutputCommand_base {
199
+ /** @internal type navigation helper, not in runtime. */
200
+ protected static __types: {
201
+ api: {
202
+ input: GetRouterOutputRequest;
203
+ output: GetRouterOutputResponse;
204
+ };
205
+ sdk: {
206
+ input: GetRouterOutputCommandInput;
207
+ output: GetRouterOutputCommandOutput;
208
+ };
209
+ };
210
+ }
@@ -0,0 +1,135 @@
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 { ListRouterInputsRequest, ListRouterInputsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListRouterInputsCommand}.
14
+ */
15
+ export interface ListRouterInputsCommandInput extends ListRouterInputsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListRouterInputsCommand}.
21
+ */
22
+ export interface ListRouterInputsCommandOutput extends ListRouterInputsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListRouterInputsCommand_base: {
25
+ new (input: ListRouterInputsCommandInput): import("@smithy/smithy-client").CommandImpl<ListRouterInputsCommandInput, ListRouterInputsCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListRouterInputsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListRouterInputsCommandInput, ListRouterInputsCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves a list of router inputs 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, ListRouterInputsCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
35
+ * // const { MediaConnectClient, ListRouterInputsCommand } = 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 = { // ListRouterInputsRequest
40
+ * MaxResults: Number("int"),
41
+ * NextToken: "STRING_VALUE",
42
+ * Filters: [ // RouterInputFilterList
43
+ * { // RouterInputFilter Union: only one key present
44
+ * RegionNames: [ // StringList
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * InputTypes: [ // RouterInputTypeList
48
+ * "STANDARD" || "FAILOVER" || "MERGE" || "MEDIACONNECT_FLOW",
49
+ * ],
50
+ * NameContains: [
51
+ * "STRING_VALUE",
52
+ * ],
53
+ * NetworkInterfaceArns: [ // RouterNetworkInterfaceArnList
54
+ * "STRING_VALUE",
55
+ * ],
56
+ * RoutingScopes: [ // RoutingScopeList
57
+ * "REGIONAL" || "GLOBAL",
58
+ * ],
59
+ * },
60
+ * ],
61
+ * };
62
+ * const command = new ListRouterInputsCommand(input);
63
+ * const response = await client.send(command);
64
+ * // { // ListRouterInputsResponse
65
+ * // RouterInputs: [ // ListedRouterInputList // required
66
+ * // { // ListedRouterInput
67
+ * // Name: "STRING_VALUE", // required
68
+ * // Arn: "STRING_VALUE", // required
69
+ * // Id: "STRING_VALUE", // required
70
+ * // InputType: "STANDARD" || "FAILOVER" || "MERGE" || "MEDIACONNECT_FLOW", // required
71
+ * // State: "CREATING" || "STANDBY" || "STARTING" || "ACTIVE" || "STOPPING" || "DELETING" || "UPDATING" || "ERROR" || "RECOVERING" || "MIGRATING", // required
72
+ * // RoutedOutputs: Number("int"), // required
73
+ * // RegionName: "STRING_VALUE", // required
74
+ * // AvailabilityZone: "STRING_VALUE", // required
75
+ * // MaximumBitrate: Number("long"), // required
76
+ * // RoutingScope: "REGIONAL" || "GLOBAL", // required
77
+ * // CreatedAt: new Date("TIMESTAMP"), // required
78
+ * // UpdatedAt: new Date("TIMESTAMP"), // required
79
+ * // MessageCount: Number("int"), // required
80
+ * // NetworkInterfaceArn: "STRING_VALUE",
81
+ * // MaintenanceScheduleType: "WINDOW",
82
+ * // MaintenanceSchedule: { // MaintenanceSchedule Union: only one key present
83
+ * // Window: { // WindowMaintenanceSchedule
84
+ * // Start: new Date("TIMESTAMP"), // required
85
+ * // End: new Date("TIMESTAMP"), // required
86
+ * // ScheduledTime: new Date("TIMESTAMP"), // required
87
+ * // },
88
+ * // },
89
+ * // },
90
+ * // ],
91
+ * // NextToken: "STRING_VALUE",
92
+ * // };
93
+ *
94
+ * ```
95
+ *
96
+ * @param ListRouterInputsCommandInput - {@link ListRouterInputsCommandInput}
97
+ * @returns {@link ListRouterInputsCommandOutput}
98
+ * @see {@link ListRouterInputsCommandInput} for command's `input` shape.
99
+ * @see {@link ListRouterInputsCommandOutput} for command's `response` shape.
100
+ * @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape.
101
+ *
102
+ * @throws {@link BadRequestException} (client fault)
103
+ * <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>
104
+ *
105
+ * @throws {@link ConflictException} (client fault)
106
+ * <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>
107
+ *
108
+ * @throws {@link InternalServerErrorException} (server fault)
109
+ * <p>The server encountered an internal error and is unable to complete the request. </p>
110
+ *
111
+ * @throws {@link ServiceUnavailableException} (server fault)
112
+ * <p>The service is currently unavailable or busy. </p>
113
+ *
114
+ * @throws {@link TooManyRequestsException} (client fault)
115
+ * <p>The request was denied due to request throttling. </p>
116
+ *
117
+ * @throws {@link MediaConnectServiceException}
118
+ * <p>Base exception class for all service exceptions from MediaConnect service.</p>
119
+ *
120
+ *
121
+ * @public
122
+ */
123
+ export declare class ListRouterInputsCommand extends ListRouterInputsCommand_base {
124
+ /** @internal type navigation helper, not in runtime. */
125
+ protected static __types: {
126
+ api: {
127
+ input: ListRouterInputsRequest;
128
+ output: ListRouterInputsResponse;
129
+ };
130
+ sdk: {
131
+ input: ListRouterInputsCommandInput;
132
+ output: ListRouterInputsCommandOutput;
133
+ };
134
+ };
135
+ }
@@ -0,0 +1,117 @@
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 { ListRouterNetworkInterfacesRequest, ListRouterNetworkInterfacesResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListRouterNetworkInterfacesCommand}.
14
+ */
15
+ export interface ListRouterNetworkInterfacesCommandInput extends ListRouterNetworkInterfacesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListRouterNetworkInterfacesCommand}.
21
+ */
22
+ export interface ListRouterNetworkInterfacesCommandOutput extends ListRouterNetworkInterfacesResponse, __MetadataBearer {
23
+ }
24
+ declare const ListRouterNetworkInterfacesCommand_base: {
25
+ new (input: ListRouterNetworkInterfacesCommandInput): import("@smithy/smithy-client").CommandImpl<ListRouterNetworkInterfacesCommandInput, ListRouterNetworkInterfacesCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListRouterNetworkInterfacesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListRouterNetworkInterfacesCommandInput, ListRouterNetworkInterfacesCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves a list of router network interfaces 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, ListRouterNetworkInterfacesCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
35
+ * // const { MediaConnectClient, ListRouterNetworkInterfacesCommand } = 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 = { // ListRouterNetworkInterfacesRequest
40
+ * MaxResults: Number("int"),
41
+ * NextToken: "STRING_VALUE",
42
+ * Filters: [ // RouterNetworkInterfaceFilterList
43
+ * { // RouterNetworkInterfaceFilter Union: only one key present
44
+ * RegionNames: [ // StringList
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * NetworkInterfaceTypes: [ // RouterNetworkInterfaceTypeList
48
+ * "PUBLIC" || "VPC",
49
+ * ],
50
+ * NameContains: [
51
+ * "STRING_VALUE",
52
+ * ],
53
+ * },
54
+ * ],
55
+ * };
56
+ * const command = new ListRouterNetworkInterfacesCommand(input);
57
+ * const response = await client.send(command);
58
+ * // { // ListRouterNetworkInterfacesResponse
59
+ * // RouterNetworkInterfaces: [ // ListedRouterNetworkInterfaceList // required
60
+ * // { // ListedRouterNetworkInterface
61
+ * // Name: "STRING_VALUE", // required
62
+ * // Arn: "STRING_VALUE", // required
63
+ * // Id: "STRING_VALUE", // required
64
+ * // NetworkInterfaceType: "PUBLIC" || "VPC", // required
65
+ * // AssociatedOutputCount: Number("int"), // required
66
+ * // AssociatedInputCount: Number("int"), // required
67
+ * // State: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "ERROR" || "RECOVERING", // required
68
+ * // RegionName: "STRING_VALUE", // required
69
+ * // CreatedAt: new Date("TIMESTAMP"), // required
70
+ * // UpdatedAt: new Date("TIMESTAMP"), // required
71
+ * // },
72
+ * // ],
73
+ * // NextToken: "STRING_VALUE",
74
+ * // };
75
+ *
76
+ * ```
77
+ *
78
+ * @param ListRouterNetworkInterfacesCommandInput - {@link ListRouterNetworkInterfacesCommandInput}
79
+ * @returns {@link ListRouterNetworkInterfacesCommandOutput}
80
+ * @see {@link ListRouterNetworkInterfacesCommandInput} for command's `input` shape.
81
+ * @see {@link ListRouterNetworkInterfacesCommandOutput} for command's `response` shape.
82
+ * @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape.
83
+ *
84
+ * @throws {@link BadRequestException} (client fault)
85
+ * <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>
86
+ *
87
+ * @throws {@link ConflictException} (client fault)
88
+ * <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>
89
+ *
90
+ * @throws {@link InternalServerErrorException} (server fault)
91
+ * <p>The server encountered an internal error and is unable to complete the request. </p>
92
+ *
93
+ * @throws {@link ServiceUnavailableException} (server fault)
94
+ * <p>The service is currently unavailable or busy. </p>
95
+ *
96
+ * @throws {@link TooManyRequestsException} (client fault)
97
+ * <p>The request was denied due to request throttling. </p>
98
+ *
99
+ * @throws {@link MediaConnectServiceException}
100
+ * <p>Base exception class for all service exceptions from MediaConnect service.</p>
101
+ *
102
+ *
103
+ * @public
104
+ */
105
+ export declare class ListRouterNetworkInterfacesCommand extends ListRouterNetworkInterfacesCommand_base {
106
+ /** @internal type navigation helper, not in runtime. */
107
+ protected static __types: {
108
+ api: {
109
+ input: ListRouterNetworkInterfacesRequest;
110
+ output: ListRouterNetworkInterfacesResponse;
111
+ };
112
+ sdk: {
113
+ input: ListRouterNetworkInterfacesCommandInput;
114
+ output: ListRouterNetworkInterfacesCommandOutput;
115
+ };
116
+ };
117
+ }
@@ -0,0 +1,139 @@
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 { ListRouterOutputsRequest, ListRouterOutputsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListRouterOutputsCommand}.
14
+ */
15
+ export interface ListRouterOutputsCommandInput extends ListRouterOutputsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListRouterOutputsCommand}.
21
+ */
22
+ export interface ListRouterOutputsCommandOutput extends ListRouterOutputsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListRouterOutputsCommand_base: {
25
+ new (input: ListRouterOutputsCommandInput): import("@smithy/smithy-client").CommandImpl<ListRouterOutputsCommandInput, ListRouterOutputsCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListRouterOutputsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListRouterOutputsCommandInput, ListRouterOutputsCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves a list of router outputs 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, ListRouterOutputsCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
35
+ * // const { MediaConnectClient, ListRouterOutputsCommand } = 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 = { // ListRouterOutputsRequest
40
+ * MaxResults: Number("int"),
41
+ * NextToken: "STRING_VALUE",
42
+ * Filters: [ // RouterOutputFilterList
43
+ * { // RouterOutputFilter Union: only one key present
44
+ * RegionNames: [ // StringList
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * OutputTypes: [ // RouterOutputTypeList
48
+ * "STANDARD" || "MEDIACONNECT_FLOW" || "MEDIALIVE_INPUT",
49
+ * ],
50
+ * NameContains: [
51
+ * "STRING_VALUE",
52
+ * ],
53
+ * NetworkInterfaceArns: [ // RouterNetworkInterfaceArnList
54
+ * "STRING_VALUE",
55
+ * ],
56
+ * RoutedInputArns: [ // RouterInputArnList
57
+ * "STRING_VALUE",
58
+ * ],
59
+ * RoutingScopes: [ // RoutingScopeList
60
+ * "REGIONAL" || "GLOBAL",
61
+ * ],
62
+ * },
63
+ * ],
64
+ * };
65
+ * const command = new ListRouterOutputsCommand(input);
66
+ * const response = await client.send(command);
67
+ * // { // ListRouterOutputsResponse
68
+ * // RouterOutputs: [ // ListedRouterOutputList // required
69
+ * // { // ListedRouterOutput
70
+ * // Name: "STRING_VALUE", // required
71
+ * // Arn: "STRING_VALUE", // required
72
+ * // Id: "STRING_VALUE", // required
73
+ * // OutputType: "STANDARD" || "MEDIACONNECT_FLOW" || "MEDIALIVE_INPUT", // required
74
+ * // State: "CREATING" || "STANDBY" || "STARTING" || "ACTIVE" || "STOPPING" || "DELETING" || "UPDATING" || "ERROR" || "RECOVERING" || "MIGRATING", // required
75
+ * // RoutedState: "ROUTED" || "ROUTING" || "UNROUTED", // required
76
+ * // RegionName: "STRING_VALUE", // required
77
+ * // AvailabilityZone: "STRING_VALUE", // required
78
+ * // MaximumBitrate: Number("long"), // required
79
+ * // RoutingScope: "REGIONAL" || "GLOBAL", // required
80
+ * // CreatedAt: new Date("TIMESTAMP"), // required
81
+ * // UpdatedAt: new Date("TIMESTAMP"), // required
82
+ * // MessageCount: Number("int"), // required
83
+ * // RoutedInputArn: "STRING_VALUE",
84
+ * // NetworkInterfaceArn: "STRING_VALUE",
85
+ * // MaintenanceScheduleType: "WINDOW",
86
+ * // MaintenanceSchedule: { // MaintenanceSchedule Union: only one key present
87
+ * // Window: { // WindowMaintenanceSchedule
88
+ * // Start: new Date("TIMESTAMP"), // required
89
+ * // End: new Date("TIMESTAMP"), // required
90
+ * // ScheduledTime: new Date("TIMESTAMP"), // required
91
+ * // },
92
+ * // },
93
+ * // },
94
+ * // ],
95
+ * // NextToken: "STRING_VALUE",
96
+ * // };
97
+ *
98
+ * ```
99
+ *
100
+ * @param ListRouterOutputsCommandInput - {@link ListRouterOutputsCommandInput}
101
+ * @returns {@link ListRouterOutputsCommandOutput}
102
+ * @see {@link ListRouterOutputsCommandInput} for command's `input` shape.
103
+ * @see {@link ListRouterOutputsCommandOutput} for command's `response` shape.
104
+ * @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape.
105
+ *
106
+ * @throws {@link BadRequestException} (client fault)
107
+ * <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>
108
+ *
109
+ * @throws {@link ConflictException} (client fault)
110
+ * <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>
111
+ *
112
+ * @throws {@link InternalServerErrorException} (server fault)
113
+ * <p>The server encountered an internal error and is unable to complete the request. </p>
114
+ *
115
+ * @throws {@link ServiceUnavailableException} (server fault)
116
+ * <p>The service is currently unavailable or busy. </p>
117
+ *
118
+ * @throws {@link TooManyRequestsException} (client fault)
119
+ * <p>The request was denied due to request throttling. </p>
120
+ *
121
+ * @throws {@link MediaConnectServiceException}
122
+ * <p>Base exception class for all service exceptions from MediaConnect service.</p>
123
+ *
124
+ *
125
+ * @public
126
+ */
127
+ export declare class ListRouterOutputsCommand extends ListRouterOutputsCommand_base {
128
+ /** @internal type navigation helper, not in runtime. */
129
+ protected static __types: {
130
+ api: {
131
+ input: ListRouterOutputsRequest;
132
+ output: ListRouterOutputsResponse;
133
+ };
134
+ sdk: {
135
+ input: ListRouterOutputsCommandInput;
136
+ output: ListRouterOutputsCommandOutput;
137
+ };
138
+ };
139
+ }