Skip to content

Commit 858c746

Browse files
author
awstools
committed
feat(client-mediaconnect): Adds support for MediaLive Channel-type Router Inputs.
1 parent 6ac1ecc commit 858c746

20 files changed

Lines changed: 921 additions & 664 deletions

clients/client-mediaconnect/src/MediaConnect.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -527,16 +527,16 @@ const paginators = {
527527
};
528528
const waiters = {
529529
waitUntilFlowActive,
530-
waitUntilFlowDeleted,
531530
waitUntilFlowStandby,
531+
waitUntilFlowDeleted,
532+
waitUntilInputActive,
532533
waitUntilInputStandby,
533534
waitUntilInputDeleted,
534-
waitUntilInputActive,
535-
waitUntilOutputUnrouted,
536-
waitUntilOutputDeleted,
537535
waitUntilOutputActive,
538-
waitUntilOutputStandby,
536+
waitUntilOutputDeleted,
539537
waitUntilOutputRouted,
538+
waitUntilOutputStandby,
539+
waitUntilOutputUnrouted,
540540
};
541541

542542
export interface MediaConnect {
@@ -2069,7 +2069,7 @@ export interface MediaConnect {
20692069
* @param args - command input.
20702070
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
20712071
*/
2072-
waitUntilFlowDeleted(
2072+
waitUntilFlowStandby(
20732073
args: DescribeFlowCommandInput,
20742074
waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">
20752075
): Promise<WaiterResult>;
@@ -2079,7 +2079,7 @@ export interface MediaConnect {
20792079
* @param args - command input.
20802080
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
20812081
*/
2082-
waitUntilFlowStandby(
2082+
waitUntilFlowDeleted(
20832083
args: DescribeFlowCommandInput,
20842084
waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">
20852085
): Promise<WaiterResult>;
@@ -2089,7 +2089,7 @@ export interface MediaConnect {
20892089
* @param args - command input.
20902090
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
20912091
*/
2092-
waitUntilInputStandby(
2092+
waitUntilInputActive(
20932093
args: GetRouterInputCommandInput,
20942094
waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">
20952095
): Promise<WaiterResult>;
@@ -2099,7 +2099,7 @@ export interface MediaConnect {
20992099
* @param args - command input.
21002100
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
21012101
*/
2102-
waitUntilInputDeleted(
2102+
waitUntilInputStandby(
21032103
args: GetRouterInputCommandInput,
21042104
waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">
21052105
): Promise<WaiterResult>;
@@ -2109,7 +2109,7 @@ export interface MediaConnect {
21092109
* @param args - command input.
21102110
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
21112111
*/
2112-
waitUntilInputActive(
2112+
waitUntilInputDeleted(
21132113
args: GetRouterInputCommandInput,
21142114
waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">
21152115
): Promise<WaiterResult>;
@@ -2119,7 +2119,7 @@ export interface MediaConnect {
21192119
* @param args - command input.
21202120
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
21212121
*/
2122-
waitUntilOutputUnrouted(
2122+
waitUntilOutputActive(
21232123
args: GetRouterOutputCommandInput,
21242124
waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">
21252125
): Promise<WaiterResult>;
@@ -2139,7 +2139,7 @@ export interface MediaConnect {
21392139
* @param args - command input.
21402140
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
21412141
*/
2142-
waitUntilOutputActive(
2142+
waitUntilOutputRouted(
21432143
args: GetRouterOutputCommandInput,
21442144
waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">
21452145
): Promise<WaiterResult>;
@@ -2159,7 +2159,7 @@ export interface MediaConnect {
21592159
* @param args - command input.
21602160
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
21612161
*/
2162-
waitUntilOutputRouted(
2162+
waitUntilOutputUnrouted(
21632163
args: GetRouterOutputCommandInput,
21642164
waiterConfig: number | Omit<WaiterConfiguration<MediaConnect>, "client">
21652165
): Promise<WaiterResult>;

clients/client-mediaconnect/src/commands/BatchGetRouterInputCommand.ts

Lines changed: 39 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,11 @@ export interface BatchGetRouterInputCommandOutput extends BatchGetRouterInputRes
5050
* // Arn: "STRING_VALUE", // required
5151
* // Id: "STRING_VALUE", // required
5252
* // State: "CREATING" || "STANDBY" || "STARTING" || "ACTIVE" || "STOPPING" || "DELETING" || "UPDATING" || "ERROR" || "RECOVERING" || "MIGRATING", // required
53-
* // InputType: "STANDARD" || "FAILOVER" || "MERGE" || "MEDIACONNECT_FLOW", // required
53+
* // InputType: "STANDARD" || "FAILOVER" || "MERGE" || "MEDIACONNECT_FLOW" || "MEDIALIVE_CHANNEL", // required
5454
* // Configuration: { // RouterInputConfiguration Union: only one key present
5555
* // Standard: { // StandardRouterInputConfiguration
5656
* // NetworkInterfaceArn: "STRING_VALUE", // required
5757
* // ProtocolConfiguration: { // RouterInputProtocolConfiguration Union: only one key present
58-
* // Rtp: { // RtpRouterInputConfiguration
59-
* // Port: Number("int"), // required
60-
* // ForwardErrorCorrection: "ENABLED" || "DISABLED",
61-
* // },
6258
* // Rist: { // RistRouterInputConfiguration
6359
* // Port: Number("int"), // required
6460
* // RecoveryLatencyMilliseconds: Number("long"), // required
@@ -85,17 +81,32 @@ export interface BatchGetRouterInputCommandOutput extends BatchGetRouterInputRes
8581
* // },
8682
* // },
8783
* // },
84+
* // Rtp: { // RtpRouterInputConfiguration
85+
* // Port: Number("int"), // required
86+
* // ForwardErrorCorrection: "ENABLED" || "DISABLED",
87+
* // },
8888
* // },
8989
* // Protocol: "RTP" || "RIST" || "SRT_CALLER" || "SRT_LISTENER",
9090
* // },
91+
* // MediaLiveChannel: { // MediaLiveChannelRouterInputConfiguration
92+
* // MediaLiveChannelArn: "STRING_VALUE",
93+
* // MediaLivePipelineId: "PIPELINE_0" || "PIPELINE_1",
94+
* // MediaLiveChannelOutputName: "STRING_VALUE",
95+
* // SourceTransitDecryption: { // MediaLiveTransitEncryption
96+
* // EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
97+
* // EncryptionKeyConfiguration: { // MediaLiveTransitEncryptionKeyConfiguration Union: only one key present
98+
* // SecretsManager: {
99+
* // SecretArn: "STRING_VALUE", // required
100+
* // RoleArn: "STRING_VALUE", // required
101+
* // },
102+
* // Automatic: {},
103+
* // },
104+
* // },
105+
* // },
91106
* // Failover: { // FailoverRouterInputConfiguration
92107
* // NetworkInterfaceArn: "STRING_VALUE", // required
93108
* // ProtocolConfigurations: [ // FailoverRouterInputProtocolConfigurationList // required
94109
* // { // FailoverRouterInputProtocolConfiguration Union: only one key present
95-
* // Rtp: {
96-
* // Port: Number("int"), // required
97-
* // ForwardErrorCorrection: "ENABLED" || "DISABLED",
98-
* // },
99110
* // Rist: {
100111
* // Port: Number("int"), // required
101112
* // RecoveryLatencyMilliseconds: Number("long"), // required
@@ -104,10 +115,7 @@ export interface BatchGetRouterInputCommandOutput extends BatchGetRouterInputRes
104115
* // Port: Number("int"), // required
105116
* // MinimumLatencyMilliseconds: Number("long"), // required
106117
* // DecryptionConfiguration: {
107-
* // EncryptionKey: {
108-
* // SecretArn: "STRING_VALUE", // required
109-
* // RoleArn: "STRING_VALUE", // required
110-
* // },
118+
* // EncryptionKey: "<SecretsManagerEncryptionKeyConfiguration>", // required
111119
* // },
112120
* // },
113121
* // SrtCaller: {
@@ -116,17 +124,29 @@ export interface BatchGetRouterInputCommandOutput extends BatchGetRouterInputRes
116124
* // MinimumLatencyMilliseconds: Number("long"), // required
117125
* // StreamId: "STRING_VALUE",
118126
* // DecryptionConfiguration: {
119-
* // EncryptionKey: {
120-
* // SecretArn: "STRING_VALUE", // required
121-
* // RoleArn: "STRING_VALUE", // required
122-
* // },
127+
* // EncryptionKey: "<SecretsManagerEncryptionKeyConfiguration>", // required
123128
* // },
124129
* // },
130+
* // Rtp: {
131+
* // Port: Number("int"), // required
132+
* // ForwardErrorCorrection: "ENABLED" || "DISABLED",
133+
* // },
125134
* // },
126135
* // ],
127136
* // SourcePriorityMode: "NO_PRIORITY" || "PRIMARY_SECONDARY", // required
128137
* // PrimarySourceIndex: Number("int"),
129138
* // },
139+
* // MediaConnectFlow: { // MediaConnectFlowRouterInputConfiguration
140+
* // FlowArn: "STRING_VALUE",
141+
* // FlowOutputArn: "STRING_VALUE",
142+
* // SourceTransitDecryption: { // FlowTransitEncryption
143+
* // EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
144+
* // EncryptionKeyConfiguration: { // FlowTransitEncryptionKeyConfiguration Union: only one key present
145+
* // SecretsManager: "<SecretsManagerEncryptionKeyConfiguration>",
146+
* // Automatic: {},
147+
* // },
148+
* // },
149+
* // },
130150
* // Merge: { // MergeRouterInputConfiguration
131151
* // NetworkInterfaceArn: "STRING_VALUE", // required
132152
* // ProtocolConfigurations: [ // MergeRouterInputProtocolConfigurationList // required
@@ -143,17 +163,6 @@ export interface BatchGetRouterInputCommandOutput extends BatchGetRouterInputRes
143163
* // ],
144164
* // MergeRecoveryWindowMilliseconds: Number("long"), // required
145165
* // },
146-
* // MediaConnectFlow: { // MediaConnectFlowRouterInputConfiguration
147-
* // FlowArn: "STRING_VALUE",
148-
* // FlowOutputArn: "STRING_VALUE",
149-
* // SourceTransitDecryption: { // FlowTransitEncryption
150-
* // EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
151-
* // EncryptionKeyConfiguration: { // FlowTransitEncryptionKeyConfiguration Union: only one key present
152-
* // SecretsManager: "<SecretsManagerEncryptionKeyConfiguration>",
153-
* // Automatic: {},
154-
* // },
155-
* // },
156-
* // },
157166
* // },
158167
* // RoutedOutputs: Number("int"), // required
159168
* // MaximumRoutedOutputs: Number("int"),
@@ -184,6 +193,7 @@ export interface BatchGetRouterInputCommandOutput extends BatchGetRouterInputRes
184193
* // Standard: { // StandardRouterInputStreamDetails
185194
* // SourceIpAddress: "STRING_VALUE",
186195
* // },
196+
* // MediaLiveChannel: {},
187197
* // Failover: { // FailoverRouterInputStreamDetails
188198
* // SourceIndexZeroStreamDetails: { // FailoverRouterInputIndexedStreamDetails
189199
* // SourceIndex: Number("int"), // required
@@ -194,6 +204,7 @@ export interface BatchGetRouterInputCommandOutput extends BatchGetRouterInputRes
194204
* // SourceIpAddress: "STRING_VALUE",
195205
* // },
196206
* // },
207+
* // MediaConnectFlow: {},
197208
* // Merge: { // MergeRouterInputStreamDetails
198209
* // SourceIndexZeroStreamDetails: { // MergeRouterInputIndexedStreamDetails
199210
* // SourceIndex: Number("int"), // required
@@ -204,7 +215,6 @@ export interface BatchGetRouterInputCommandOutput extends BatchGetRouterInputRes
204215
* // SourceIpAddress: "STRING_VALUE",
205216
* // },
206217
* // },
207-
* // MediaConnectFlow: {},
208218
* // },
209219
* // IpAddress: "STRING_VALUE",
210220
* // MaintenanceType: "PREFERRED_DAY_TIME" || "DEFAULT", // required

clients/client-mediaconnect/src/commands/BatchGetRouterOutputCommand.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,6 @@ export interface BatchGetRouterOutputCommandOutput extends BatchGetRouterOutputR
5555
* // Standard: { // StandardRouterOutputConfiguration
5656
* // NetworkInterfaceArn: "STRING_VALUE", // required
5757
* // ProtocolConfiguration: { // RouterOutputProtocolConfiguration Union: only one key present
58-
* // Rtp: { // RtpRouterOutputConfiguration
59-
* // DestinationAddress: "STRING_VALUE", // required
60-
* // DestinationPort: Number("int"), // required
61-
* // ForwardErrorCorrection: "ENABLED" || "DISABLED",
62-
* // },
6358
* // Rist: { // RistRouterOutputConfiguration
6459
* // DestinationAddress: "STRING_VALUE", // required
6560
* // DestinationPort: Number("int"), // required
@@ -86,6 +81,11 @@ export interface BatchGetRouterOutputCommandOutput extends BatchGetRouterOutputR
8681
* // },
8782
* // },
8883
* // },
84+
* // Rtp: { // RtpRouterOutputConfiguration
85+
* // DestinationAddress: "STRING_VALUE", // required
86+
* // DestinationPort: Number("int"), // required
87+
* // ForwardErrorCorrection: "ENABLED" || "DISABLED",
88+
* // },
8989
* // },
9090
* // Protocol: "RTP" || "RIST" || "SRT_CALLER" || "SRT_LISTENER",
9191
* // },

0 commit comments

Comments
 (0)