Skip to content

Commit

Permalink
feat(client-medialive): MediaLive now supports the ability to restart…
Browse files Browse the repository at this point in the history
… pipelines in a running channel.
  • Loading branch information
awstools committed Feb 21, 2024
1 parent 76362fc commit edcc296
Show file tree
Hide file tree
Showing 11 changed files with 1,696 additions and 60 deletions.
8 changes: 8 additions & 0 deletions clients/client-medialive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,14 @@ RejectInputDeviceTransfer

[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/)

</details>
<details>
<summary>
RestartChannelPipelines
</summary>

[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/)

</details>
<details>
<summary>
Expand Down
23 changes: 23 additions & 0 deletions clients/client-medialive/src/MediaLive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,11 @@ import {
RejectInputDeviceTransferCommandInput,
RejectInputDeviceTransferCommandOutput,
} from "./commands/RejectInputDeviceTransferCommand";
import {
RestartChannelPipelinesCommand,
RestartChannelPipelinesCommandInput,
RestartChannelPipelinesCommandOutput,
} from "./commands/RestartChannelPipelinesCommand";
import {
StartChannelCommand,
StartChannelCommandInput,
Expand Down Expand Up @@ -328,6 +333,7 @@ const commands = {
PurchaseOfferingCommand,
RebootInputDeviceCommand,
RejectInputDeviceTransferCommand,
RestartChannelPipelinesCommand,
StartChannelCommand,
StartInputDeviceCommand,
StartInputDeviceMaintenanceWindowCommand,
Expand Down Expand Up @@ -1048,6 +1054,23 @@ export interface MediaLive {
cb: (err: any, data?: RejectInputDeviceTransferCommandOutput) => void
): void;

/**
* @see {@link RestartChannelPipelinesCommand}
*/
restartChannelPipelines(
args: RestartChannelPipelinesCommandInput,
options?: __HttpHandlerOptions
): Promise<RestartChannelPipelinesCommandOutput>;
restartChannelPipelines(
args: RestartChannelPipelinesCommandInput,
cb: (err: any, data?: RestartChannelPipelinesCommandOutput) => void
): void;
restartChannelPipelines(
args: RestartChannelPipelinesCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: RestartChannelPipelinesCommandOutput) => void
): void;

/**
* @see {@link StartChannelCommand}
*/
Expand Down
6 changes: 6 additions & 0 deletions clients/client-medialive/src/MediaLiveClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ import {
RejectInputDeviceTransferCommandInput,
RejectInputDeviceTransferCommandOutput,
} from "./commands/RejectInputDeviceTransferCommand";
import {
RestartChannelPipelinesCommandInput,
RestartChannelPipelinesCommandOutput,
} from "./commands/RestartChannelPipelinesCommand";
import { StartChannelCommandInput, StartChannelCommandOutput } from "./commands/StartChannelCommand";
import { StartInputDeviceCommandInput, StartInputDeviceCommandOutput } from "./commands/StartInputDeviceCommand";
import {
Expand Down Expand Up @@ -249,6 +253,7 @@ export type ServiceInputTypes =
| PurchaseOfferingCommandInput
| RebootInputDeviceCommandInput
| RejectInputDeviceTransferCommandInput
| RestartChannelPipelinesCommandInput
| StartChannelCommandInput
| StartInputDeviceCommandInput
| StartInputDeviceMaintenanceWindowCommandInput
Expand Down Expand Up @@ -318,6 +323,7 @@ export type ServiceOutputTypes =
| PurchaseOfferingCommandOutput
| RebootInputDeviceCommandOutput
| RejectInputDeviceTransferCommandOutput
| RestartChannelPipelinesCommandOutput
| StartChannelCommandOutput
| StartInputDeviceCommandOutput
| StartInputDeviceMaintenanceWindowCommandOutput
Expand Down
3 changes: 1 addition & 2 deletions clients/client-medialive/src/commands/ListChannelsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { commonParams } from "../endpoint/EndpointParameters";
import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
import { ListChannelsRequest } from "../models/models_1";
import { ListChannelsResponse } from "../models/models_2";
import { ListChannelsRequest, ListChannelsResponse } from "../models/models_2";
import { de_ListChannelsCommand, se_ListChannelsCommand } from "../protocols/Aws_restJson1";

/**
Expand Down
Loading

0 comments on commit edcc296

Please sign in to comment.