Skip to content

Commit

Permalink
feat(client-mediaconnect): AWS Elemental MediaConnect Gateway now sup…
Browse files Browse the repository at this point in the history
…ports Source Specific Multicast (SSM) for ingress bridges. This enables you to specify a source IP address in addition to a multicast IP when creating or updating an ingress bridge source.
  • Loading branch information
awstools committed Dec 13, 2024
1 parent ce39697 commit b525bd5
Show file tree
Hide file tree
Showing 8 changed files with 109 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ export interface AddBridgeSourcesCommandOutput extends AddBridgeSourcesResponse,
* },
* NetworkSource: { // AddBridgeNetworkSourceRequest
* MulticastIp: "STRING_VALUE", // required
* MulticastSourceSettings: { // MulticastSourceSettings
* MulticastSourceIp: "STRING_VALUE",
* },
* Name: "STRING_VALUE", // required
* NetworkName: "STRING_VALUE", // required
* Port: Number("int"), // required
Expand All @@ -72,6 +75,9 @@ export interface AddBridgeSourcesCommandOutput extends AddBridgeSourcesResponse,
* // },
* // NetworkSource: { // BridgeNetworkSource
* // MulticastIp: "STRING_VALUE", // required
* // MulticastSourceSettings: { // MulticastSourceSettings
* // MulticastSourceIp: "STRING_VALUE",
* // },
* // Name: "STRING_VALUE", // required
* // NetworkName: "STRING_VALUE", // required
* // Port: Number("int"), // required
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ export interface CreateBridgeCommandOutput extends CreateBridgeResponse, __Metad
* },
* NetworkSource: { // AddBridgeNetworkSourceRequest
* MulticastIp: "STRING_VALUE", // required
* MulticastSourceSettings: { // MulticastSourceSettings
* MulticastSourceIp: "STRING_VALUE",
* },
* Name: "STRING_VALUE", // required
* NetworkName: "STRING_VALUE", // required
* Port: Number("int"), // required
Expand Down Expand Up @@ -145,6 +148,9 @@ export interface CreateBridgeCommandOutput extends CreateBridgeResponse, __Metad
* // },
* // NetworkSource: { // BridgeNetworkSource
* // MulticastIp: "STRING_VALUE", // required
* // MulticastSourceSettings: { // MulticastSourceSettings
* // MulticastSourceIp: "STRING_VALUE",
* // },
* // Name: "STRING_VALUE", // required
* // NetworkName: "STRING_VALUE", // required
* // Port: Number("int"), // required
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ export interface DescribeBridgeCommandOutput extends DescribeBridgeResponse, __M
* // },
* // NetworkSource: { // BridgeNetworkSource
* // MulticastIp: "STRING_VALUE", // required
* // MulticastSourceSettings: { // MulticastSourceSettings
* // MulticastSourceIp: "STRING_VALUE",
* // },
* // Name: "STRING_VALUE", // required
* // NetworkName: "STRING_VALUE", // required
* // Port: Number("int"), // required
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ export interface UpdateBridgeCommandOutput extends UpdateBridgeResponse, __Metad
* // },
* // NetworkSource: { // BridgeNetworkSource
* // MulticastIp: "STRING_VALUE", // required
* // MulticastSourceSettings: { // MulticastSourceSettings
* // MulticastSourceIp: "STRING_VALUE",
* // },
* // Name: "STRING_VALUE", // required
* // NetworkName: "STRING_VALUE", // required
* // Port: Number("int"), // required
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ export interface UpdateBridgeSourceCommandOutput extends UpdateBridgeSourceRespo
* },
* NetworkSource: { // UpdateBridgeNetworkSourceRequest
* MulticastIp: "STRING_VALUE",
* MulticastSourceSettings: { // MulticastSourceSettings
* MulticastSourceIp: "STRING_VALUE",
* },
* NetworkName: "STRING_VALUE",
* Port: Number("int"),
* Protocol: "zixi-push" || "rtp-fec" || "rtp" || "zixi-pull" || "rist" || "st2110-jpegxs" || "cdi" || "srt-listener" || "srt-caller" || "fujitsu-qos" || "udp",
Expand All @@ -66,6 +69,9 @@ export interface UpdateBridgeSourceCommandOutput extends UpdateBridgeSourceRespo
* // },
* // NetworkSource: { // BridgeNetworkSource
* // MulticastIp: "STRING_VALUE", // required
* // MulticastSourceSettings: { // MulticastSourceSettings
* // MulticastSourceIp: "STRING_VALUE",
* // },
* // Name: "STRING_VALUE", // required
* // NetworkName: "STRING_VALUE", // required
* // Port: Number("int"), // required
Expand Down
30 changes: 30 additions & 0 deletions clients/client-mediaconnect/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,18 @@ export interface AddBridgeFlowSourceRequest {
Name: string | undefined;
}

/**
* The settings related to the multicast source.
* @public
*/
export interface MulticastSourceSettings {
/**
* The IP address of the source for source-specific multicast (SSM).
* @public
*/
MulticastSourceIp?: string | undefined;
}

/**
* Add a network source to an existing bridge.
* @public
Expand All @@ -127,6 +139,12 @@ export interface AddBridgeNetworkSourceRequest {
*/
MulticastIp: string | undefined;

/**
* The settings related to the multicast source.
* @public
*/
MulticastSourceSettings?: MulticastSourceSettings | undefined;

/**
* The name of the network source. This name is used to reference the source and must be unique among sources in this bridge.
* @public
Expand Down Expand Up @@ -814,6 +832,12 @@ export interface BridgeNetworkSource {
*/
MulticastIp: string | undefined;

/**
* The settings related to the multicast source.
* @public
*/
MulticastSourceSettings?: MulticastSourceSettings | undefined;

/**
* The name of the network source.
* @public
Expand Down Expand Up @@ -4799,6 +4823,12 @@ export interface UpdateBridgeNetworkSourceRequest {
*/
MulticastIp?: string | undefined;

/**
* The settings related to the multicast source.
* @public
*/
MulticastSourceSettings?: MulticastSourceSettings | undefined;

/**
* The network source's gateway network name.
* @public
Expand Down
22 changes: 22 additions & 0 deletions clients/client-mediaconnect/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ import {
MessageDetail,
Messages,
MonitoringConfig,
MulticastSourceSettings,
NotFoundException,
Offering,
Output,
Expand Down Expand Up @@ -2900,6 +2901,7 @@ const se_AddBridgeNetworkOutputRequest = (input: AddBridgeNetworkOutputRequest,
const se_AddBridgeNetworkSourceRequest = (input: AddBridgeNetworkSourceRequest, context: __SerdeContext): any => {
return take(input, {
multicastIp: [, , `MulticastIp`],
multicastSourceSettings: [, (_) => se_MulticastSourceSettings(_, context), `MulticastSourceSettings`],
name: [, , `Name`],
networkName: [, , `NetworkName`],
port: [, , `Port`],
Expand Down Expand Up @@ -3158,6 +3160,15 @@ const se_MonitoringConfig = (input: MonitoringConfig, context: __SerdeContext):
});
};

/**
* serializeAws_restJson1MulticastSourceSettings
*/
const se_MulticastSourceSettings = (input: MulticastSourceSettings, context: __SerdeContext): any => {
return take(input, {
multicastSourceIp: [, , `MulticastSourceIp`],
});
};

/**
* serializeAws_restJson1SetGatewayBridgeSourceRequest
*/
Expand Down Expand Up @@ -3237,6 +3248,7 @@ const se_UpdateBridgeNetworkOutputRequest = (input: UpdateBridgeNetworkOutputReq
const se_UpdateBridgeNetworkSourceRequest = (input: UpdateBridgeNetworkSourceRequest, context: __SerdeContext): any => {
return take(input, {
multicastIp: [, , `MulticastIp`],
multicastSourceSettings: [, (_) => se_MulticastSourceSettings(_, context), `MulticastSourceSettings`],
networkName: [, , `NetworkName`],
port: [, , `Port`],
protocol: [, , `Protocol`],
Expand Down Expand Up @@ -3674,6 +3686,7 @@ const de_BridgeNetworkOutput = (output: any, context: __SerdeContext): BridgeNet
const de_BridgeNetworkSource = (output: any, context: __SerdeContext): BridgeNetworkSource => {
return take(output, {
MulticastIp: [, __expectString, `multicastIp`],
MulticastSourceSettings: [, (_: any) => de_MulticastSourceSettings(_, context), `multicastSourceSettings`],
Name: [, __expectString, `name`],
NetworkName: [, __expectString, `networkName`],
Port: [, __expectInt32, `port`],
Expand Down Expand Up @@ -4062,6 +4075,15 @@ const de_MonitoringConfig = (output: any, context: __SerdeContext): MonitoringCo
}) as any;
};

/**
* deserializeAws_restJson1MulticastSourceSettings
*/
const de_MulticastSourceSettings = (output: any, context: __SerdeContext): MulticastSourceSettings => {
return take(output, {
MulticastSourceIp: [, __expectString, `multicastSourceIp`],
}) as any;
};

/**
* deserializeAws_restJson1Offering
*/
Expand Down
33 changes: 33 additions & 0 deletions codegen/sdk-codegen/aws-models/mediaconnect.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,12 @@
"smithy.api#required": {}
}
},
"MulticastSourceSettings": {
"target": "com.amazonaws.mediaconnect#MulticastSourceSettings",
"traits": {
"smithy.api#jsonName": "multicastSourceSettings"
}
},
"Name": {
"target": "com.amazonaws.mediaconnect#__string",
"traits": {
Expand Down Expand Up @@ -1276,6 +1282,12 @@
"smithy.api#required": {}
}
},
"MulticastSourceSettings": {
"target": "com.amazonaws.mediaconnect#MulticastSourceSettings",
"traits": {
"smithy.api#jsonName": "multicastSourceSettings"
}
},
"Name": {
"target": "com.amazonaws.mediaconnect#__string",
"traits": {
Expand Down Expand Up @@ -6592,6 +6604,21 @@
"smithy.api#documentation": "The settings for source monitoring."
}
},
"com.amazonaws.mediaconnect#MulticastSourceSettings": {
"type": "structure",
"members": {
"MulticastSourceIp": {
"target": "com.amazonaws.mediaconnect#__string",
"traits": {
"smithy.api#documentation": "The IP address of the source for source-specific multicast (SSM).",
"smithy.api#jsonName": "multicastSourceIp"
}
}
},
"traits": {
"smithy.api#documentation": "The settings related to the multicast source."
}
},
"com.amazonaws.mediaconnect#NetworkInterfaceType": {
"type": "enum",
"members": {
Expand Down Expand Up @@ -9004,6 +9031,12 @@
"smithy.api#jsonName": "multicastIp"
}
},
"MulticastSourceSettings": {
"target": "com.amazonaws.mediaconnect#MulticastSourceSettings",
"traits": {
"smithy.api#jsonName": "multicastSourceSettings"
}
},
"NetworkName": {
"target": "com.amazonaws.mediaconnect#__string",
"traits": {
Expand Down

0 comments on commit b525bd5

Please sign in to comment.