Skip to content

Commit 8dca8a0

Browse files
author
awstools
committed
feat(client-mediaconnect): Enabling Tag-on-Create for AWS Elemental MediaConnect flow-based resource types
1 parent befe787 commit 8dca8a0

File tree

10 files changed

+11678
-11422
lines changed

10 files changed

+11678
-11422
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ export interface AddFlowMediaStreamsCommandOutput extends AddFlowMediaStreamsRes
5959
* MediaStreamName: "STRING_VALUE", // required
6060
* MediaStreamType: "video" || "audio" || "ancillary-data", // required
6161
* VideoFormat: "STRING_VALUE",
62+
* MediaStreamTags: { // __mapOfString
63+
* "<keys>": "STRING_VALUE",
64+
* },
6265
* },
6366
* ],
6467
* };

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export interface AddFlowOutputsCommandOutput extends AddFlowOutputsResponse, __M
8080
* MinLatency: Number("int"),
8181
* Name: "STRING_VALUE",
8282
* Port: Number("int"),
83-
* Protocol: "zixi-push" || "rtp-fec" || "rtp" || "zixi-pull" || "rist" || "st2110-jpegxs" || "cdi" || "srt-listener" || "srt-caller" || "fujitsu-qos" || "udp" || "ndi-speed-hq", // required
83+
* Protocol: "zixi-push" || "rtp-fec" || "rtp" || "zixi-pull" || "rist" || "st2110-jpegxs" || "cdi" || "srt-listener" || "srt-caller" || "fujitsu-qos" || "udp" || "ndi-speed-hq",
8484
* RemoteId: "STRING_VALUE",
8585
* SenderControlPort: Number("int"),
8686
* SmoothingLatency: Number("int"),
@@ -91,6 +91,9 @@ export interface AddFlowOutputsCommandOutput extends AddFlowOutputsResponse, __M
9191
* OutputStatus: "ENABLED" || "DISABLED",
9292
* NdiSpeedHqQuality: Number("int"),
9393
* NdiProgramName: "STRING_VALUE",
94+
* OutputTags: { // __mapOfString
95+
* "<keys>": "STRING_VALUE",
96+
* },
9497
* },
9598
* ],
9699
* };

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ export interface AddFlowSourcesCommandOutput extends AddFlowSourcesResponse, __M
8888
* VpcInterfaceName: "STRING_VALUE",
8989
* },
9090
* },
91+
* SourceTags: { // __mapOfString
92+
* "<keys>": "STRING_VALUE",
93+
* },
9194
* },
9295
* ],
9396
* };

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ export interface AddFlowVpcInterfacesCommandOutput extends AddFlowVpcInterfacesR
4848
* "STRING_VALUE",
4949
* ],
5050
* SubnetId: "STRING_VALUE", // required
51+
* VpcInterfaceTags: { // __mapOfString
52+
* "<keys>": "STRING_VALUE",
53+
* },
5154
* },
5255
* ],
5356
* };

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

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ export interface CreateFlowCommandOutput extends CreateFlowResponse, __MetadataB
5959
* Subscribers: [ // __listOfString // required
6060
* "STRING_VALUE",
6161
* ],
62+
* EntitlementTags: { // __mapOfString
63+
* "<keys>": "STRING_VALUE",
64+
* },
6265
* },
6366
* ],
6467
* MediaStreams: [ // __listOfAddMediaStreamRequest
@@ -81,6 +84,9 @@ export interface CreateFlowCommandOutput extends CreateFlowResponse, __MetadataB
8184
* MediaStreamName: "STRING_VALUE", // required
8285
* MediaStreamType: "video" || "audio" || "ancillary-data", // required
8386
* VideoFormat: "STRING_VALUE",
87+
* MediaStreamTags: {
88+
* "<keys>": "STRING_VALUE",
89+
* },
8490
* },
8591
* ],
8692
* Name: "STRING_VALUE", // required
@@ -125,7 +131,7 @@ export interface CreateFlowCommandOutput extends CreateFlowResponse, __MetadataB
125131
* MinLatency: Number("int"),
126132
* Name: "STRING_VALUE",
127133
* Port: Number("int"),
128-
* Protocol: "zixi-push" || "rtp-fec" || "rtp" || "zixi-pull" || "rist" || "st2110-jpegxs" || "cdi" || "srt-listener" || "srt-caller" || "fujitsu-qos" || "udp" || "ndi-speed-hq", // required
134+
* Protocol: "zixi-push" || "rtp-fec" || "rtp" || "zixi-pull" || "rist" || "st2110-jpegxs" || "cdi" || "srt-listener" || "srt-caller" || "fujitsu-qos" || "udp" || "ndi-speed-hq",
129135
* RemoteId: "STRING_VALUE",
130136
* SenderControlPort: Number("int"),
131137
* SmoothingLatency: Number("int"),
@@ -136,6 +142,9 @@ export interface CreateFlowCommandOutput extends CreateFlowResponse, __MetadataB
136142
* OutputStatus: "ENABLED" || "DISABLED",
137143
* NdiSpeedHqQuality: Number("int"),
138144
* NdiProgramName: "STRING_VALUE",
145+
* OutputTags: {
146+
* "<keys>": "STRING_VALUE",
147+
* },
139148
* },
140149
* ],
141150
* Source: { // SetSourceRequest
@@ -186,6 +195,9 @@ export interface CreateFlowCommandOutput extends CreateFlowResponse, __MetadataB
186195
* VpcInterfaceName: "STRING_VALUE",
187196
* },
188197
* },
198+
* SourceTags: {
199+
* "<keys>": "STRING_VALUE",
200+
* },
189201
* },
190202
* SourceFailoverConfig: { // FailoverConfig
191203
* FailoverMode: "MERGE" || "FAILOVER",
@@ -244,6 +256,9 @@ export interface CreateFlowCommandOutput extends CreateFlowResponse, __MetadataB
244256
* VpcInterfaceName: "STRING_VALUE",
245257
* },
246258
* },
259+
* SourceTags: {
260+
* "<keys>": "STRING_VALUE",
261+
* },
247262
* },
248263
* ],
249264
* VpcInterfaces: [ // __listOfVpcInterfaceRequest
@@ -255,6 +270,7 @@ export interface CreateFlowCommandOutput extends CreateFlowResponse, __MetadataB
255270
* "STRING_VALUE",
256271
* ],
257272
* SubnetId: "STRING_VALUE", // required
273+
* VpcInterfaceTags: "<__mapOfString>",
258274
* },
259275
* ],
260276
* Maintenance: { // AddMaintenance
@@ -297,6 +313,7 @@ export interface CreateFlowCommandOutput extends CreateFlowResponse, __MetadataB
297313
* },
298314
* ],
299315
* },
316+
* FlowTags: "<__mapOfString>",
300317
* };
301318
* const command = new CreateFlowCommand(input);
302319
* const response = await client.send(command);

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ export interface GrantFlowEntitlementsCommandOutput extends GrantFlowEntitlement
5858
* Subscribers: [ // __listOfString // required
5959
* "STRING_VALUE",
6060
* ],
61+
* EntitlementTags: { // __mapOfString
62+
* "<keys>": "STRING_VALUE",
63+
* },
6164
* },
6265
* ],
6366
* FlowArn: "STRING_VALUE", // required

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ export interface UpdateFlowCommandOutput extends UpdateFlowResponse, __MetadataB
8787
* },
8888
* ],
8989
* },
90+
* FlowSize: "MEDIUM" || "LARGE",
9091
* };
9192
* const command = new UpdateFlowCommand(input);
9293
* const response = await client.send(command);

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

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,12 @@ export interface AddMediaStreamRequest {
386386
* @public
387387
*/
388388
VideoFormat?: string | undefined;
389+
390+
/**
391+
* <p> The key-value pairs that can be used to tag and organize the media stream. </p>
392+
* @public
393+
*/
394+
MediaStreamTags?: Record<string, string> | undefined;
389395
}
390396

391397
/**
@@ -669,7 +675,7 @@ export interface AddOutputRequest {
669675
* <p> The protocol to use for the output.</p> <note> <p>Elemental MediaConnect no longer supports the Fujitsu QoS protocol. This reference is maintained for legacy purposes only.</p> </note>
670676
* @public
671677
*/
672-
Protocol: Protocol | undefined;
678+
Protocol?: Protocol | undefined;
673679

674680
/**
675681
* <p> The remote ID for the Zixi-pull output stream.</p>
@@ -718,6 +724,12 @@ export interface AddOutputRequest {
718724
* @public
719725
*/
720726
NdiProgramName?: string | undefined;
727+
728+
/**
729+
* <p> The key-value pairs that can be used to tag and organize the output. </p>
730+
* @public
731+
*/
732+
OutputTags?: Record<string, string> | undefined;
721733
}
722734

723735
/**
@@ -1100,6 +1112,12 @@ export interface GrantEntitlementRequest {
11001112
* @public
11011113
*/
11021114
Subscribers: string[] | undefined;
1115+
1116+
/**
1117+
* <p> The key-value pairs that can be used to tag and organize the entitlement. </p>
1118+
* @public
1119+
*/
1120+
EntitlementTags?: Record<string, string> | undefined;
11031121
}
11041122

11051123
/**
@@ -2263,6 +2281,12 @@ export interface SetSourceRequest {
22632281
* @public
22642282
*/
22652283
GatewayBridgeSource?: SetGatewayBridgeSourceRequest | undefined;
2284+
2285+
/**
2286+
* <p> The key-value pairs that can be used to tag and organize the source. </p>
2287+
* @public
2288+
*/
2289+
SourceTags?: Record<string, string> | undefined;
22662290
}
22672291

22682292
/**
@@ -2637,6 +2661,12 @@ export interface VpcInterfaceRequest {
26372661
* @public
26382662
*/
26392663
SubnetId: string | undefined;
2664+
2665+
/**
2666+
* <p> The key-value pairs that can be used to tag and organize the VPC network interface. </p>
2667+
* @public
2668+
*/
2669+
VpcInterfaceTags?: Record<string, string> | undefined;
26402670
}
26412671

26422672
/**
@@ -4034,6 +4064,12 @@ export interface CreateFlowRequest {
40344064
* @public
40354065
*/
40364066
NdiConfig?: NdiConfig | undefined;
4067+
4068+
/**
4069+
* <p> The key-value pairs that can be used to tag and organize the flow. </p>
4070+
* @public
4071+
*/
4072+
FlowTags?: Record<string, string> | undefined;
40374073
}
40384074

40394075
/**
@@ -5008,6 +5044,12 @@ export interface UpdateFlowRequest {
50085044
* @public
50095045
*/
50105046
NdiConfig?: NdiConfig | undefined;
5047+
5048+
/**
5049+
* <p> Determines the processing capacity and feature set of the flow. </p>
5050+
* @public
5051+
*/
5052+
FlowSize?: FlowSize | undefined;
50115053
}
50125054

50135055
/**

clients/client-mediaconnect/src/protocols/Aws_restJson1.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,7 @@ export const se_CreateFlowCommand = async (
413413
availabilityZone: [, , `AvailabilityZone`],
414414
entitlements: [, (_) => se___listOfGrantEntitlementRequest(_, context), `Entitlements`],
415415
flowSize: [, , `FlowSize`],
416+
flowTags: [, (_) => _json(_), `FlowTags`],
416417
maintenance: [, (_) => se_AddMaintenance(_, context), `Maintenance`],
417418
mediaStreams: [, (_) => se___listOfAddMediaStreamRequest(_, context), `MediaStreams`],
418419
name: [, , `Name`],
@@ -1152,6 +1153,7 @@ export const se_UpdateFlowCommand = async (
11521153
let body: any;
11531154
body = JSON.stringify(
11541155
take(input, {
1156+
flowSize: [, , `FlowSize`],
11551157
maintenance: [, (_) => se_UpdateMaintenance(_, context), `Maintenance`],
11561158
ndiConfig: [, (_) => se_NdiConfig(_, context), `NdiConfig`],
11571159
sourceFailoverConfig: [, (_) => se_UpdateFailoverConfig(_, context), `SourceFailoverConfig`],
@@ -3012,6 +3014,7 @@ const se_AddMediaStreamRequest = (input: AddMediaStreamRequest, context: __Serde
30123014
description: [, , `Description`],
30133015
mediaStreamId: [, , `MediaStreamId`],
30143016
mediaStreamName: [, , `MediaStreamName`],
3017+
mediaStreamTags: [, _json, `MediaStreamTags`],
30153018
mediaStreamType: [, , `MediaStreamType`],
30163019
videoFormat: [, , `VideoFormat`],
30173020
});
@@ -3037,6 +3040,7 @@ const se_AddOutputRequest = (input: AddOutputRequest, context: __SerdeContext):
30373040
ndiProgramName: [, , `NdiProgramName`],
30383041
ndiSpeedHqQuality: [, , `NdiSpeedHqQuality`],
30393042
outputStatus: [, , `OutputStatus`],
3043+
outputTags: [, _json, `OutputTags`],
30403044
port: [, , `Port`],
30413045
protocol: [, , `Protocol`],
30423046
remoteId: [, , `RemoteId`],
@@ -3160,6 +3164,7 @@ const se_GrantEntitlementRequest = (input: GrantEntitlementRequest, context: __S
31603164
description: [, , `Description`],
31613165
encryption: [, (_) => se_Encryption(_, context), `Encryption`],
31623166
entitlementStatus: [, , `EntitlementStatus`],
3167+
entitlementTags: [, _json, `EntitlementTags`],
31633168
name: [, , `Name`],
31643169
subscribers: [, _json, `Subscribers`],
31653170
});
@@ -3305,6 +3310,7 @@ const se_SetSourceRequest = (input: SetSourceRequest, context: __SerdeContext):
33053310
senderIpAddress: [, , `SenderIpAddress`],
33063311
sourceListenerAddress: [, , `SourceListenerAddress`],
33073312
sourceListenerPort: [, , `SourceListenerPort`],
3313+
sourceTags: [, _json, `SourceTags`],
33083314
streamId: [, , `StreamId`],
33093315
vpcInterfaceName: [, , `VpcInterfaceName`],
33103316
whitelistCidr: [, , `WhitelistCidr`],
@@ -3467,6 +3473,7 @@ const se_VpcInterfaceRequest = (input: VpcInterfaceRequest, context: __SerdeCont
34673473
roleArn: [, , `RoleArn`],
34683474
securityGroupIds: [, _json, `SecurityGroupIds`],
34693475
subnetId: [, , `SubnetId`],
3476+
vpcInterfaceTags: [, _json, `VpcInterfaceTags`],
34703477
});
34713478
};
34723479

0 commit comments

Comments
 (0)