Skip to content

Commit edcc296

Browse files
author
awstools
committed
feat(client-medialive): MediaLive now supports the ability to restart pipelines in a running channel.
1 parent 76362fc commit edcc296

File tree

11 files changed

+1696
-60
lines changed

11 files changed

+1696
-60
lines changed

clients/client-medialive/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,14 @@ RejectInputDeviceTransfer
578578

579579
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/medialive/command/RejectInputDeviceTransferCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-medialive/Interface/RejectInputDeviceTransferCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-medialive/Interface/RejectInputDeviceTransferCommandOutput/)
580580

581+
</details>
582+
<details>
583+
<summary>
584+
RestartChannelPipelines
585+
</summary>
586+
587+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/medialive/command/RestartChannelPipelinesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-medialive/Interface/RestartChannelPipelinesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-medialive/Interface/RestartChannelPipelinesCommandOutput/)
588+
581589
</details>
582590
<details>
583591
<summary>

clients/client-medialive/src/MediaLive.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,11 @@ import {
201201
RejectInputDeviceTransferCommandInput,
202202
RejectInputDeviceTransferCommandOutput,
203203
} from "./commands/RejectInputDeviceTransferCommand";
204+
import {
205+
RestartChannelPipelinesCommand,
206+
RestartChannelPipelinesCommandInput,
207+
RestartChannelPipelinesCommandOutput,
208+
} from "./commands/RestartChannelPipelinesCommand";
204209
import {
205210
StartChannelCommand,
206211
StartChannelCommandInput,
@@ -328,6 +333,7 @@ const commands = {
328333
PurchaseOfferingCommand,
329334
RebootInputDeviceCommand,
330335
RejectInputDeviceTransferCommand,
336+
RestartChannelPipelinesCommand,
331337
StartChannelCommand,
332338
StartInputDeviceCommand,
333339
StartInputDeviceMaintenanceWindowCommand,
@@ -1048,6 +1054,23 @@ export interface MediaLive {
10481054
cb: (err: any, data?: RejectInputDeviceTransferCommandOutput) => void
10491055
): void;
10501056

1057+
/**
1058+
* @see {@link RestartChannelPipelinesCommand}
1059+
*/
1060+
restartChannelPipelines(
1061+
args: RestartChannelPipelinesCommandInput,
1062+
options?: __HttpHandlerOptions
1063+
): Promise<RestartChannelPipelinesCommandOutput>;
1064+
restartChannelPipelines(
1065+
args: RestartChannelPipelinesCommandInput,
1066+
cb: (err: any, data?: RestartChannelPipelinesCommandOutput) => void
1067+
): void;
1068+
restartChannelPipelines(
1069+
args: RestartChannelPipelinesCommandInput,
1070+
options: __HttpHandlerOptions,
1071+
cb: (err: any, data?: RestartChannelPipelinesCommandOutput) => void
1072+
): void;
1073+
10511074
/**
10521075
* @see {@link StartChannelCommand}
10531076
*/

clients/client-medialive/src/MediaLiveClient.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ import {
155155
RejectInputDeviceTransferCommandInput,
156156
RejectInputDeviceTransferCommandOutput,
157157
} from "./commands/RejectInputDeviceTransferCommand";
158+
import {
159+
RestartChannelPipelinesCommandInput,
160+
RestartChannelPipelinesCommandOutput,
161+
} from "./commands/RestartChannelPipelinesCommand";
158162
import { StartChannelCommandInput, StartChannelCommandOutput } from "./commands/StartChannelCommand";
159163
import { StartInputDeviceCommandInput, StartInputDeviceCommandOutput } from "./commands/StartInputDeviceCommand";
160164
import {
@@ -249,6 +253,7 @@ export type ServiceInputTypes =
249253
| PurchaseOfferingCommandInput
250254
| RebootInputDeviceCommandInput
251255
| RejectInputDeviceTransferCommandInput
256+
| RestartChannelPipelinesCommandInput
252257
| StartChannelCommandInput
253258
| StartInputDeviceCommandInput
254259
| StartInputDeviceMaintenanceWindowCommandInput
@@ -318,6 +323,7 @@ export type ServiceOutputTypes =
318323
| PurchaseOfferingCommandOutput
319324
| RebootInputDeviceCommandOutput
320325
| RejectInputDeviceTransferCommandOutput
326+
| RestartChannelPipelinesCommandOutput
321327
| StartChannelCommandOutput
322328
| StartInputDeviceCommandOutput
323329
| StartInputDeviceMaintenanceWindowCommandOutput

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

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

77
import { commonParams } from "../endpoint/EndpointParameters";
88
import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
9-
import { ListChannelsRequest } from "../models/models_1";
10-
import { ListChannelsResponse } from "../models/models_2";
9+
import { ListChannelsRequest, ListChannelsResponse } from "../models/models_2";
1110
import { de_ListChannelsCommand, se_ListChannelsCommand } from "../protocols/Aws_restJson1";
1211

1312
/**

0 commit comments

Comments
 (0)