Skip to content

Commit 967c712

Browse files
author
awstools
committed
feat(client-medialive): AWS Elemental MediaLive - Added support for Elemental Inference for Smart Cropping and Clipping features for MediaLive.
1 parent bf80322 commit 967c712

16 files changed

+193
-60
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
55

66
import { commonParams } from "../endpoint/EndpointParameters";
77
import type { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
8-
import type { BatchStopRequest } from "../models/models_0";
9-
import type { BatchStopResponse } from "../models/models_1";
8+
import type { BatchStopRequest, BatchStopResponse } from "../models/models_1";
109
import { BatchStop$ } from "../schemas/schemas_0";
1110

1211
/**

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
11151115
* Height: Number("int"),
11161116
* Name: "STRING_VALUE", // required
11171117
* RespondToAfd: "NONE" || "PASSTHROUGH" || "RESPOND",
1118-
* ScalingBehavior: "DEFAULT" || "STRETCH_TO_OUTPUT",
1118+
* ScalingBehavior: "DEFAULT" || "STRETCH_TO_OUTPUT" || "SMART_CROP",
11191119
* Sharpness: Number("int"),
11201120
* Width: Number("int"),
11211121
* },
@@ -1311,6 +1311,9 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
13111311
* },
13121312
* },
13131313
* ChannelSecurityGroups: "<__listOf__string>",
1314+
* InferenceSettings: { // InferenceSettings
1315+
* FeedArn: "STRING_VALUE",
1316+
* },
13141317
* };
13151318
* const command = new CreateChannelCommand(input);
13161319
* const response = await client.send(command);
@@ -2400,7 +2403,7 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
24002403
* // Height: Number("int"),
24012404
* // Name: "STRING_VALUE", // required
24022405
* // RespondToAfd: "NONE" || "PASSTHROUGH" || "RESPOND",
2403-
* // ScalingBehavior: "DEFAULT" || "STRETCH_TO_OUTPUT",
2406+
* // ScalingBehavior: "DEFAULT" || "STRETCH_TO_OUTPUT" || "SMART_CROP",
24042407
* // Sharpness: Number("int"),
24052408
* // Width: Number("int"),
24062409
* // },
@@ -2614,6 +2617,9 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
26142617
* // },
26152618
* // },
26162619
* // ChannelSecurityGroups: "<__listOf__string>",
2620+
* // InferenceSettings: { // DescribeInferenceSettings
2621+
* // FeedArn: "STRING_VALUE",
2622+
* // },
26172623
* // },
26182624
* // };
26192625
*

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __Met
11261126
* // Height: Number("int"),
11271127
* // Name: "STRING_VALUE", // required
11281128
* // RespondToAfd: "NONE" || "PASSTHROUGH" || "RESPOND",
1129-
* // ScalingBehavior: "DEFAULT" || "STRETCH_TO_OUTPUT",
1129+
* // ScalingBehavior: "DEFAULT" || "STRETCH_TO_OUTPUT" || "SMART_CROP",
11301130
* // Sharpness: Number("int"),
11311131
* // Width: Number("int"),
11321132
* // },
@@ -1340,6 +1340,9 @@ export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __Met
13401340
* // },
13411341
* // },
13421342
* // ChannelSecurityGroups: "<__listOf__string>",
1343+
* // InferenceSettings: { // DescribeInferenceSettings
1344+
* // FeedArn: "STRING_VALUE",
1345+
* // },
13431346
* // };
13441347
*
13451348
* ```

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ export interface DescribeChannelCommandOutput extends DescribeChannelResponse, _
11261126
* // Height: Number("int"),
11271127
* // Name: "STRING_VALUE", // required
11281128
* // RespondToAfd: "NONE" || "PASSTHROUGH" || "RESPOND",
1129-
* // ScalingBehavior: "DEFAULT" || "STRETCH_TO_OUTPUT",
1129+
* // ScalingBehavior: "DEFAULT" || "STRETCH_TO_OUTPUT" || "SMART_CROP",
11301130
* // Sharpness: Number("int"),
11311131
* // Width: Number("int"),
11321132
* // },
@@ -1340,6 +1340,9 @@ export interface DescribeChannelCommandOutput extends DescribeChannelResponse, _
13401340
* // },
13411341
* // },
13421342
* // ChannelSecurityGroups: "<__listOf__string>",
1343+
* // InferenceSettings: { // DescribeInferenceSettings
1344+
* // FeedArn: "STRING_VALUE",
1345+
* // },
13431346
* // };
13441347
*
13451348
* ```

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,9 @@ export interface ListChannelsCommandOutput extends ListChannelsResponse, __Metad
288288
* // },
289289
* // },
290290
* // ChannelSecurityGroups: "<__listOf__string>",
291+
* // InferenceSettings: { // DescribeInferenceSettings
292+
* // FeedArn: "STRING_VALUE",
293+
* // },
291294
* // },
292295
* // ],
293296
* // NextToken: "STRING_VALUE",

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ export interface RestartChannelPipelinesCommandOutput extends RestartChannelPipe
11291129
* // Height: Number("int"),
11301130
* // Name: "STRING_VALUE", // required
11311131
* // RespondToAfd: "NONE" || "PASSTHROUGH" || "RESPOND",
1132-
* // ScalingBehavior: "DEFAULT" || "STRETCH_TO_OUTPUT",
1132+
* // ScalingBehavior: "DEFAULT" || "STRETCH_TO_OUTPUT" || "SMART_CROP",
11331133
* // Sharpness: Number("int"),
11341134
* // Width: Number("int"),
11351135
* // },
@@ -1344,6 +1344,9 @@ export interface RestartChannelPipelinesCommandOutput extends RestartChannelPipe
13441344
* // },
13451345
* // },
13461346
* // ChannelSecurityGroups: "<__listOf__string>",
1347+
* // InferenceSettings: { // DescribeInferenceSettings
1348+
* // FeedArn: "STRING_VALUE",
1349+
* // },
13471350
* // };
13481351
*
13491352
* ```

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ export interface StartChannelCommandOutput extends StartChannelResponse, __Metad
11261126
* // Height: Number("int"),
11271127
* // Name: "STRING_VALUE", // required
11281128
* // RespondToAfd: "NONE" || "PASSTHROUGH" || "RESPOND",
1129-
* // ScalingBehavior: "DEFAULT" || "STRETCH_TO_OUTPUT",
1129+
* // ScalingBehavior: "DEFAULT" || "STRETCH_TO_OUTPUT" || "SMART_CROP",
11301130
* // Sharpness: Number("int"),
11311131
* // Width: Number("int"),
11321132
* // },
@@ -1340,6 +1340,9 @@ export interface StartChannelCommandOutput extends StartChannelResponse, __Metad
13401340
* // },
13411341
* // },
13421342
* // ChannelSecurityGroups: "<__listOf__string>",
1343+
* // InferenceSettings: { // DescribeInferenceSettings
1344+
* // FeedArn: "STRING_VALUE",
1345+
* // },
13431346
* // };
13441347
*
13451348
* ```

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ export interface StopChannelCommandOutput extends StopChannelResponse, __Metadat
11261126
* // Height: Number("int"),
11271127
* // Name: "STRING_VALUE", // required
11281128
* // RespondToAfd: "NONE" || "PASSTHROUGH" || "RESPOND",
1129-
* // ScalingBehavior: "DEFAULT" || "STRETCH_TO_OUTPUT",
1129+
* // ScalingBehavior: "DEFAULT" || "STRETCH_TO_OUTPUT" || "SMART_CROP",
11301130
* // Sharpness: Number("int"),
11311131
* // Width: Number("int"),
11321132
* // },
@@ -1340,6 +1340,9 @@ export interface StopChannelCommandOutput extends StopChannelResponse, __Metadat
13401340
* // },
13411341
* // },
13421342
* // ChannelSecurityGroups: "<__listOf__string>",
1343+
* // InferenceSettings: { // DescribeInferenceSettings
1344+
* // FeedArn: "STRING_VALUE",
1345+
* // },
13431346
* // };
13441347
*
13451348
* ```

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ export interface UpdateChannelClassCommandOutput extends UpdateChannelClassRespo
11661166
* // Height: Number("int"),
11671167
* // Name: "STRING_VALUE", // required
11681168
* // RespondToAfd: "NONE" || "PASSTHROUGH" || "RESPOND",
1169-
* // ScalingBehavior: "DEFAULT" || "STRETCH_TO_OUTPUT",
1169+
* // ScalingBehavior: "DEFAULT" || "STRETCH_TO_OUTPUT" || "SMART_CROP",
11701170
* // Sharpness: Number("int"),
11711171
* // Width: Number("int"),
11721172
* // },
@@ -1380,6 +1380,9 @@ export interface UpdateChannelClassCommandOutput extends UpdateChannelClassRespo
13801380
* // },
13811381
* // },
13821382
* // ChannelSecurityGroups: "<__listOf__string>",
1383+
* // InferenceSettings: { // DescribeInferenceSettings
1384+
* // FeedArn: "STRING_VALUE",
1385+
* // },
13831386
* // },
13841387
* // };
13851388
*

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
11151115
* Height: Number("int"),
11161116
* Name: "STRING_VALUE", // required
11171117
* RespondToAfd: "NONE" || "PASSTHROUGH" || "RESPOND",
1118-
* ScalingBehavior: "DEFAULT" || "STRETCH_TO_OUTPUT",
1118+
* ScalingBehavior: "DEFAULT" || "STRETCH_TO_OUTPUT" || "SMART_CROP",
11191119
* Sharpness: Number("int"),
11201120
* Width: Number("int"),
11211121
* },
@@ -1302,6 +1302,9 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
13021302
* },
13031303
* },
13041304
* ChannelSecurityGroups: "<__listOf__string>",
1305+
* InferenceSettings: { // InferenceSettings
1306+
* FeedArn: "STRING_VALUE",
1307+
* },
13051308
* };
13061309
* const command = new UpdateChannelCommand(input);
13071310
* const response = await client.send(command);
@@ -2391,7 +2394,7 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
23912394
* // Height: Number("int"),
23922395
* // Name: "STRING_VALUE", // required
23932396
* // RespondToAfd: "NONE" || "PASSTHROUGH" || "RESPOND",
2394-
* // ScalingBehavior: "DEFAULT" || "STRETCH_TO_OUTPUT",
2397+
* // ScalingBehavior: "DEFAULT" || "STRETCH_TO_OUTPUT" || "SMART_CROP",
23952398
* // Sharpness: Number("int"),
23962399
* // Width: Number("int"),
23972400
* // },
@@ -2605,6 +2608,9 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
26052608
* // },
26062609
* // },
26072610
* // ChannelSecurityGroups: "<__listOf__string>",
2611+
* // InferenceSettings: { // DescribeInferenceSettings
2612+
* // FeedArn: "STRING_VALUE",
2613+
* // },
26082614
* // },
26092615
* // };
26102616
*

0 commit comments

Comments
 (0)