Skip to content

Commit 1667189

Browse files
author
awstools
committed
feat(client-medialive): MediaLive is adding support for MediaConnect Router by supporting a new input type called MEDIACONNECT_ROUTER. This new input type will provide seamless encrypted transport between MediaConnect Router and your MediaLive channel.
1 parent e0dc140 commit 1667189

File tree

10 files changed

+660
-84
lines changed

10 files changed

+660
-84
lines changed

clients/client-medialive/src/commands/CreateInputCommand.ts

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export interface CreateInputCommandOutput extends CreateInputResponse, __Metadat
7676
* Tags: { // Tags
7777
* "<keys>": "STRING_VALUE",
7878
* },
79-
* Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE" || "SRT_CALLER" || "MULTICAST" || "SMPTE_2110_RECEIVER_GROUP" || "SDI",
79+
* Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE" || "SRT_CALLER" || "MULTICAST" || "SMPTE_2110_RECEIVER_GROUP" || "SDI" || "MEDIACONNECT_ROUTER",
8080
* Vpc: { // InputVpcRequest
8181
* SecurityGroupIds: [
8282
* "STRING_VALUE",
@@ -135,6 +135,15 @@ export interface CreateInputCommandOutput extends CreateInputResponse, __Metadat
135135
* SdiSources: [ // InputSdiSources
136136
* "STRING_VALUE",
137137
* ],
138+
* RouterSettings: { // RouterSettings
139+
* Destinations: [ // __listOfRouterDestinationSettings
140+
* { // RouterDestinationSettings
141+
* AvailabilityZoneName: "STRING_VALUE", // required
142+
* },
143+
* ],
144+
* EncryptionType: "AUTOMATIC" || "SECRETS_MANAGER",
145+
* SecretArn: "STRING_VALUE",
146+
* },
138147
* };
139148
* const command = new CreateInputCommand(input);
140149
* const response = await client.send(command);
@@ -194,7 +203,7 @@ export interface CreateInputCommandOutput extends CreateInputResponse, __Metadat
194203
* // Tags: { // Tags
195204
* // "<keys>": "STRING_VALUE",
196205
* // },
197-
* // Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE" || "SRT_CALLER" || "MULTICAST" || "SMPTE_2110_RECEIVER_GROUP" || "SDI",
206+
* // Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE" || "SRT_CALLER" || "MULTICAST" || "SMPTE_2110_RECEIVER_GROUP" || "SDI" || "MEDIACONNECT_ROUTER",
198207
* // SrtSettings: { // SrtSettings
199208
* // SrtCallerSources: [ // __listOfSrtCallerSource
200209
* // { // SrtCallerSource
@@ -245,6 +254,16 @@ export interface CreateInputCommandOutput extends CreateInputResponse, __Metadat
245254
* // SdiSources: [ // InputSdiSources
246255
* // "STRING_VALUE",
247256
* // ],
257+
* // RouterSettings: { // RouterInputSettings
258+
* // Destinations: [ // __listOfRouterDestination
259+
* // { // RouterDestination
260+
* // AvailabilityZoneName: "STRING_VALUE",
261+
* // RouterOutputArn: "STRING_VALUE",
262+
* // },
263+
* // ],
264+
* // EncryptionType: "AUTOMATIC" || "SECRETS_MANAGER",
265+
* // SecretArn: "STRING_VALUE",
266+
* // },
248267
* // },
249268
* // };
250269
*

clients/client-medialive/src/commands/CreatePartnerInputCommand.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export interface CreatePartnerInputCommandOutput extends CreatePartnerInputRespo
101101
* // Tags: { // Tags
102102
* // "<keys>": "STRING_VALUE",
103103
* // },
104-
* // Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE" || "SRT_CALLER" || "MULTICAST" || "SMPTE_2110_RECEIVER_GROUP" || "SDI",
104+
* // Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE" || "SRT_CALLER" || "MULTICAST" || "SMPTE_2110_RECEIVER_GROUP" || "SDI" || "MEDIACONNECT_ROUTER",
105105
* // SrtSettings: { // SrtSettings
106106
* // SrtCallerSources: [ // __listOfSrtCallerSource
107107
* // { // SrtCallerSource
@@ -152,6 +152,16 @@ export interface CreatePartnerInputCommandOutput extends CreatePartnerInputRespo
152152
* // SdiSources: [ // InputSdiSources
153153
* // "STRING_VALUE",
154154
* // ],
155+
* // RouterSettings: { // RouterInputSettings
156+
* // Destinations: [ // __listOfRouterDestination
157+
* // { // RouterDestination
158+
* // AvailabilityZoneName: "STRING_VALUE",
159+
* // RouterOutputArn: "STRING_VALUE",
160+
* // },
161+
* // ],
162+
* // EncryptionType: "AUTOMATIC" || "SECRETS_MANAGER",
163+
* // SecretArn: "STRING_VALUE",
164+
* // },
155165
* // },
156166
* // };
157167
*

clients/client-medialive/src/commands/DescribeInputCommand.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export interface DescribeInputCommandOutput extends DescribeInputResponse, __Met
9696
* // Tags: { // Tags
9797
* // "<keys>": "STRING_VALUE",
9898
* // },
99-
* // Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE" || "SRT_CALLER" || "MULTICAST" || "SMPTE_2110_RECEIVER_GROUP" || "SDI",
99+
* // Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE" || "SRT_CALLER" || "MULTICAST" || "SMPTE_2110_RECEIVER_GROUP" || "SDI" || "MEDIACONNECT_ROUTER",
100100
* // SrtSettings: { // SrtSettings
101101
* // SrtCallerSources: [ // __listOfSrtCallerSource
102102
* // { // SrtCallerSource
@@ -147,6 +147,16 @@ export interface DescribeInputCommandOutput extends DescribeInputResponse, __Met
147147
* // SdiSources: [ // InputSdiSources
148148
* // "STRING_VALUE",
149149
* // ],
150+
* // RouterSettings: { // RouterInputSettings
151+
* // Destinations: [ // __listOfRouterDestination
152+
* // { // RouterDestination
153+
* // AvailabilityZoneName: "STRING_VALUE",
154+
* // RouterOutputArn: "STRING_VALUE",
155+
* // },
156+
* // ],
157+
* // EncryptionType: "AUTOMATIC" || "SECRETS_MANAGER",
158+
* // SecretArn: "STRING_VALUE",
159+
* // },
150160
* // };
151161
*
152162
* ```

clients/client-medialive/src/commands/ListInputsCommand.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export interface ListInputsCommandOutput extends ListInputsResponse, __MetadataB
9999
* // Tags: { // Tags
100100
* // "<keys>": "STRING_VALUE",
101101
* // },
102-
* // Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE" || "SRT_CALLER" || "MULTICAST" || "SMPTE_2110_RECEIVER_GROUP" || "SDI",
102+
* // Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE" || "SRT_CALLER" || "MULTICAST" || "SMPTE_2110_RECEIVER_GROUP" || "SDI" || "MEDIACONNECT_ROUTER",
103103
* // SrtSettings: { // SrtSettings
104104
* // SrtCallerSources: [ // __listOfSrtCallerSource
105105
* // { // SrtCallerSource
@@ -150,6 +150,16 @@ export interface ListInputsCommandOutput extends ListInputsResponse, __MetadataB
150150
* // SdiSources: [ // InputSdiSources
151151
* // "STRING_VALUE",
152152
* // ],
153+
* // RouterSettings: { // RouterInputSettings
154+
* // Destinations: [ // __listOfRouterDestination
155+
* // { // RouterDestination
156+
* // AvailabilityZoneName: "STRING_VALUE",
157+
* // RouterOutputArn: "STRING_VALUE",
158+
* // },
159+
* // ],
160+
* // EncryptionType: "AUTOMATIC" || "SECRETS_MANAGER",
161+
* // SecretArn: "STRING_VALUE",
162+
* // },
153163
* // },
154164
* // ],
155165
* // NextToken: "STRING_VALUE",

clients/client-medialive/src/commands/UpdateInputCommand.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ export interface UpdateInputCommandOutput extends UpdateInputResponse, __Metadat
122122
* SdiSources: [ // InputSdiSources
123123
* "STRING_VALUE",
124124
* ],
125+
* SpecialRouterSettings: { // SpecialRouterSettings
126+
* RouterArn: "STRING_VALUE",
127+
* },
125128
* };
126129
* const command = new UpdateInputCommand(input);
127130
* const response = await client.send(command);
@@ -181,7 +184,7 @@ export interface UpdateInputCommandOutput extends UpdateInputResponse, __Metadat
181184
* // Tags: { // Tags
182185
* // "<keys>": "STRING_VALUE",
183186
* // },
184-
* // Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE" || "SRT_CALLER" || "MULTICAST" || "SMPTE_2110_RECEIVER_GROUP" || "SDI",
187+
* // Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE" || "SRT_CALLER" || "MULTICAST" || "SMPTE_2110_RECEIVER_GROUP" || "SDI" || "MEDIACONNECT_ROUTER",
185188
* // SrtSettings: { // SrtSettings
186189
* // SrtCallerSources: [ // __listOfSrtCallerSource
187190
* // { // SrtCallerSource
@@ -232,6 +235,16 @@ export interface UpdateInputCommandOutput extends UpdateInputResponse, __Metadat
232235
* // SdiSources: [ // InputSdiSources
233236
* // "STRING_VALUE",
234237
* // ],
238+
* // RouterSettings: { // RouterInputSettings
239+
* // Destinations: [ // __listOfRouterDestination
240+
* // { // RouterDestination
241+
* // AvailabilityZoneName: "STRING_VALUE",
242+
* // RouterOutputArn: "STRING_VALUE",
243+
* // },
244+
* // ],
245+
* // EncryptionType: "AUTOMATIC" || "SECRETS_MANAGER",
246+
* // SecretArn: "STRING_VALUE",
247+
* // },
235248
* // },
236249
* // };
237250
*

clients/client-medialive/src/models/enums.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1617,6 +1617,19 @@ export const InputSourceType = {
16171617
*/
16181618
export type InputSourceType = (typeof InputSourceType)[keyof typeof InputSourceType];
16191619

1620+
/**
1621+
* @public
1622+
* @enum
1623+
*/
1624+
export const RouterEncryptionType = {
1625+
AUTOMATIC: "AUTOMATIC",
1626+
SECRETS_MANAGER: "SECRETS_MANAGER",
1627+
} as const;
1628+
/**
1629+
* @public
1630+
*/
1631+
export type RouterEncryptionType = (typeof RouterEncryptionType)[keyof typeof RouterEncryptionType];
1632+
16201633
/**
16211634
* @public
16221635
* @enum
@@ -1655,6 +1668,7 @@ export const InputType = {
16551668
AWS_CDI: "AWS_CDI",
16561669
INPUT_DEVICE: "INPUT_DEVICE",
16571670
MEDIACONNECT: "MEDIACONNECT",
1671+
MEDIACONNECT_ROUTER: "MEDIACONNECT_ROUTER",
16581672
MP4_FILE: "MP4_FILE",
16591673
MULTICAST: "MULTICAST",
16601674
RTMP_PULL: "RTMP_PULL",

clients/client-medialive/src/models/models_0.ts

Lines changed: 61 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ import {
100100
EmbeddedConvert608To708,
101101
EmbeddedScte20Detection,
102102
EventBridgeRuleTemplateEventType,
103-
FeatureActivationsInputPrepareScheduleActions,
104-
FeatureActivationsOutputStaticImageOverlayScheduleActions,
105103
FecOutputIncludeFec,
106104
FixedAfd,
107105
Fmp4NielsenId3Behavior,
@@ -201,7 +199,6 @@ import {
201199
InputLossActionForMsSmoothOut,
202200
InputLossActionForRtmpOut,
203201
InputLossActionForUdpOut,
204-
InputLossImageType,
205202
InputMaximumBitrate,
206203
InputNetworkLocation,
207204
InputPreference,
@@ -272,6 +269,7 @@ import {
272269
ReservationSpecialFeature,
273270
ReservationState,
274271
ReservationVideoQuality,
272+
RouterEncryptionType,
275273
RtmpAdMarkers,
276274
RtmpCacheFullBehavior,
277275
RtmpCaptionData,
@@ -3681,6 +3679,48 @@ export interface MulticastSettings {
36813679
Sources?: MulticastSource[] | undefined;
36823680
}
36833681

3682+
/**
3683+
* Placeholder documentation for RouterDestination
3684+
* @public
3685+
*/
3686+
export interface RouterDestination {
3687+
/**
3688+
* The Availability Zone (AZ) names of the AZs this destination is created in.
3689+
* @public
3690+
*/
3691+
AvailabilityZoneName?: string | undefined;
3692+
3693+
/**
3694+
* ARN of the output from MediaConnect Router currently connected to this input.
3695+
* @public
3696+
*/
3697+
RouterOutputArn?: string | undefined;
3698+
}
3699+
3700+
/**
3701+
* The settings for a MediaConnect Router Input.
3702+
* @public
3703+
*/
3704+
export interface RouterInputSettings {
3705+
/**
3706+
* MediaConnect Router destinations associated with the MediaLive Input.
3707+
* @public
3708+
*/
3709+
Destinations?: RouterDestination[] | undefined;
3710+
3711+
/**
3712+
* Encryption configuration for MediaConnect router. When using SECRETS_MANAGER encryption, you must provide the ARN of the secret used to encrypt data in transit. When using AUTOMATIC encryption, a service-managed secret will be used instead.
3713+
* @public
3714+
*/
3715+
EncryptionType?: RouterEncryptionType | undefined;
3716+
3717+
/**
3718+
* ARN of the secret used to encrypt this input.
3719+
* @public
3720+
*/
3721+
SecretArn?: string | undefined;
3722+
}
3723+
36843724
/**
36853725
* The location of the SDP file for one of the SMPTE 2110 streams in a receiver group.
36863726
* @public
@@ -3972,6 +4012,12 @@ export interface Input {
39724012
* @public
39734013
*/
39744014
SdiSources?: string[] | undefined;
4015+
4016+
/**
4017+
* Information about any MediaConnect router association with this input.
4018+
* @public
4019+
*/
4020+
RouterSettings?: RouterInputSettings | undefined;
39754021
}
39764022

39774023
/**
@@ -7398,6 +7444,18 @@ export interface RouteCreateRequest {
73987444
Gateway?: string | undefined;
73997445
}
74007446

7447+
/**
7448+
* Placeholder documentation for RouterDestinationSettings
7449+
* @public
7450+
*/
7451+
export interface RouterDestinationSettings {
7452+
/**
7453+
* Availability Zone for this MediaConnect Router destination.
7454+
* @public
7455+
*/
7456+
AvailabilityZoneName: string | undefined;
7457+
}
7458+
74017459
/**
74027460
* Used in UpdateNetworkRequest.
74037461
* @public
@@ -10154,71 +10212,3 @@ export interface CancelInputDeviceTransferRequest {
1015410212
* @public
1015510213
*/
1015610214
export interface CancelInputDeviceTransferResponse {}
10157-
10158-
/**
10159-
* Property of encoderSettings. Controls color conversion when you are using 3D LUT files to perform color conversion on video.
10160-
* @public
10161-
*/
10162-
export interface ColorCorrectionSettings {
10163-
/**
10164-
* An array of colorCorrections that applies when you are using 3D LUT files to perform color conversion on video. Each colorCorrection contains one 3D LUT file (that defines the color mapping for converting an input color space to an output color space), and the input/output combination that this 3D LUT file applies to. MediaLive reads the color space in the input metadata, determines the color space that you have specified for the output, and finds and uses the LUT file that applies to this combination.
10165-
* @public
10166-
*/
10167-
GlobalColorCorrections: ColorCorrection[] | undefined;
10168-
}
10169-
10170-
/**
10171-
* Feature Activations
10172-
* @public
10173-
*/
10174-
export interface FeatureActivations {
10175-
/**
10176-
* Enables the Input Prepare feature. You can create Input Prepare actions in the schedule only if this feature is enabled.
10177-
* If you disable the feature on an existing schedule, make sure that you first delete all input prepare actions from the schedule.
10178-
* @public
10179-
*/
10180-
InputPrepareScheduleActions?: FeatureActivationsInputPrepareScheduleActions | undefined;
10181-
10182-
/**
10183-
* Enables the output static image overlay feature. Enabling this feature allows you to send channel schedule updates
10184-
* to display/clear/modify image overlays on an output-by-output bases.
10185-
* @public
10186-
*/
10187-
OutputStaticImageOverlayScheduleActions?: FeatureActivationsOutputStaticImageOverlayScheduleActions | undefined;
10188-
}
10189-
10190-
/**
10191-
* Input Loss Behavior
10192-
* @public
10193-
*/
10194-
export interface InputLossBehavior {
10195-
/**
10196-
* Documentation update needed
10197-
* @public
10198-
*/
10199-
BlackFrameMsec?: number | undefined;
10200-
10201-
/**
10202-
* When input loss image type is "color" this field specifies the color to use. Value: 6 hex characters representing the values of RGB.
10203-
* @public
10204-
*/
10205-
InputLossImageColor?: string | undefined;
10206-
10207-
/**
10208-
* When input loss image type is "slate" these fields specify the parameters for accessing the slate.
10209-
* @public
10210-
*/
10211-
InputLossImageSlate?: InputLocation | undefined;
10212-
10213-
/**
10214-
* Indicates whether to substitute a solid color or a slate into the output after input loss exceeds blackFrameMsec.
10215-
* @public
10216-
*/
10217-
InputLossImageType?: InputLossImageType | undefined;
10218-
10219-
/**
10220-
* Documentation update needed
10221-
* @public
10222-
*/
10223-
RepeatFrameMsec?: number | undefined;
10224-
}

0 commit comments

Comments
 (0)