Skip to content

Commit

Permalink
feat(client-medialive): This release enables the use of Thumbnails in…
Browse files Browse the repository at this point in the history
… AWS Elemental MediaLive.
  • Loading branch information
awstools committed Jul 7, 2023
1 parent f4ee5d6 commit cf90da6
Show file tree
Hide file tree
Showing 22 changed files with 1,901 additions and 650 deletions.
24 changes: 24 additions & 0 deletions clients/client-medialive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,14 @@ DeleteTags

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/classes/deletetagscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/interfaces/deletetagscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/interfaces/deletetagscommandoutput.html)

</details>
<details>
<summary>
DescribeAccountConfiguration
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/classes/describeaccountconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/interfaces/describeaccountconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/interfaces/describeaccountconfigurationcommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -458,6 +466,14 @@ DescribeSchedule

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/classes/describeschedulecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/interfaces/describeschedulecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/interfaces/describeschedulecommandoutput.html)

</details>
<details>
<summary>
DescribeThumbnails
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/classes/describethumbnailscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/interfaces/describethumbnailscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/interfaces/describethumbnailscommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -610,6 +626,14 @@ TransferInputDevice

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/classes/transferinputdevicecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/interfaces/transferinputdevicecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/interfaces/transferinputdevicecommandoutput.html)

</details>
<details>
<summary>
UpdateAccountConfiguration
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/classes/updateaccountconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/interfaces/updateaccountconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/interfaces/updateaccountconfigurationcommandoutput.html)

</details>
<details>
<summary>
Expand Down
69 changes: 69 additions & 0 deletions clients/client-medialive/src/MediaLive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ import {
DeleteScheduleCommandOutput,
} from "./commands/DeleteScheduleCommand";
import { DeleteTagsCommand, DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
import {
DescribeAccountConfigurationCommand,
DescribeAccountConfigurationCommandInput,
DescribeAccountConfigurationCommandOutput,
} from "./commands/DescribeAccountConfigurationCommand";
import {
DescribeChannelCommand,
DescribeChannelCommandInput,
Expand Down Expand Up @@ -130,6 +135,11 @@ import {
DescribeScheduleCommandInput,
DescribeScheduleCommandOutput,
} from "./commands/DescribeScheduleCommand";
import {
DescribeThumbnailsCommand,
DescribeThumbnailsCommandInput,
DescribeThumbnailsCommandOutput,
} from "./commands/DescribeThumbnailsCommand";
import {
ListChannelsCommand,
ListChannelsCommandInput,
Expand Down Expand Up @@ -217,6 +227,11 @@ import {
TransferInputDeviceCommandInput,
TransferInputDeviceCommandOutput,
} from "./commands/TransferInputDeviceCommand";
import {
UpdateAccountConfigurationCommand,
UpdateAccountConfigurationCommandInput,
UpdateAccountConfigurationCommandOutput,
} from "./commands/UpdateAccountConfigurationCommand";
import {
UpdateChannelClassCommand,
UpdateChannelClassCommandInput,
Expand Down Expand Up @@ -278,6 +293,7 @@ const commands = {
DeleteReservationCommand,
DeleteScheduleCommand,
DeleteTagsCommand,
DescribeAccountConfigurationCommand,
DescribeChannelCommand,
DescribeInputCommand,
DescribeInputDeviceCommand,
Expand All @@ -288,6 +304,7 @@ const commands = {
DescribeOfferingCommand,
DescribeReservationCommand,
DescribeScheduleCommand,
DescribeThumbnailsCommand,
ListChannelsCommand,
ListInputDevicesCommand,
ListInputDeviceTransfersCommand,
Expand All @@ -307,6 +324,7 @@ const commands = {
StopChannelCommand,
StopMultiplexCommand,
TransferInputDeviceCommand,
UpdateAccountConfigurationCommand,
UpdateChannelCommand,
UpdateChannelClassCommand,
UpdateInputCommand,
Expand Down Expand Up @@ -623,6 +641,23 @@ export interface MediaLive {
cb: (err: any, data?: DeleteTagsCommandOutput) => void
): void;

/**
* @see {@link DescribeAccountConfigurationCommand}
*/
describeAccountConfiguration(
args: DescribeAccountConfigurationCommandInput,
options?: __HttpHandlerOptions
): Promise<DescribeAccountConfigurationCommandOutput>;
describeAccountConfiguration(
args: DescribeAccountConfigurationCommandInput,
cb: (err: any, data?: DescribeAccountConfigurationCommandOutput) => void
): void;
describeAccountConfiguration(
args: DescribeAccountConfigurationCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DescribeAccountConfigurationCommandOutput) => void
): void;

/**
* @see {@link DescribeChannelCommand}
*/
Expand Down Expand Up @@ -784,6 +819,23 @@ export interface MediaLive {
cb: (err: any, data?: DescribeScheduleCommandOutput) => void
): void;

/**
* @see {@link DescribeThumbnailsCommand}
*/
describeThumbnails(
args: DescribeThumbnailsCommandInput,
options?: __HttpHandlerOptions
): Promise<DescribeThumbnailsCommandOutput>;
describeThumbnails(
args: DescribeThumbnailsCommandInput,
cb: (err: any, data?: DescribeThumbnailsCommandOutput) => void
): void;
describeThumbnails(
args: DescribeThumbnailsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DescribeThumbnailsCommandOutput) => void
): void;

/**
* @see {@link ListChannelsCommand}
*/
Expand Down Expand Up @@ -1065,6 +1117,23 @@ export interface MediaLive {
cb: (err: any, data?: TransferInputDeviceCommandOutput) => void
): void;

/**
* @see {@link UpdateAccountConfigurationCommand}
*/
updateAccountConfiguration(
args: UpdateAccountConfigurationCommandInput,
options?: __HttpHandlerOptions
): Promise<UpdateAccountConfigurationCommandOutput>;
updateAccountConfiguration(
args: UpdateAccountConfigurationCommandInput,
cb: (err: any, data?: UpdateAccountConfigurationCommandOutput) => void
): void;
updateAccountConfiguration(
args: UpdateAccountConfigurationCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: UpdateAccountConfigurationCommandOutput) => void
): void;

/**
* @see {@link UpdateChannelCommand}
*/
Expand Down
15 changes: 15 additions & 0 deletions clients/client-medialive/src/MediaLiveClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ import {
import { DeleteReservationCommandInput, DeleteReservationCommandOutput } from "./commands/DeleteReservationCommand";
import { DeleteScheduleCommandInput, DeleteScheduleCommandOutput } from "./commands/DeleteScheduleCommand";
import { DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
import {
DescribeAccountConfigurationCommandInput,
DescribeAccountConfigurationCommandOutput,
} from "./commands/DescribeAccountConfigurationCommand";
import { DescribeChannelCommandInput, DescribeChannelCommandOutput } from "./commands/DescribeChannelCommand";
import { DescribeInputCommandInput, DescribeInputCommandOutput } from "./commands/DescribeInputCommand";
import {
Expand All @@ -118,6 +122,7 @@ import {
DescribeReservationCommandOutput,
} from "./commands/DescribeReservationCommand";
import { DescribeScheduleCommandInput, DescribeScheduleCommandOutput } from "./commands/DescribeScheduleCommand";
import { DescribeThumbnailsCommandInput, DescribeThumbnailsCommandOutput } from "./commands/DescribeThumbnailsCommand";
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
import { ListInputDevicesCommandInput, ListInputDevicesCommandOutput } from "./commands/ListInputDevicesCommand";
import {
Expand Down Expand Up @@ -158,6 +163,10 @@ import {
TransferInputDeviceCommandInput,
TransferInputDeviceCommandOutput,
} from "./commands/TransferInputDeviceCommand";
import {
UpdateAccountConfigurationCommandInput,
UpdateAccountConfigurationCommandOutput,
} from "./commands/UpdateAccountConfigurationCommand";
import { UpdateChannelClassCommandInput, UpdateChannelClassCommandOutput } from "./commands/UpdateChannelClassCommand";
import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
import { UpdateInputCommandInput, UpdateInputCommandOutput } from "./commands/UpdateInputCommand";
Expand Down Expand Up @@ -208,6 +217,7 @@ export type ServiceInputTypes =
| DeleteReservationCommandInput
| DeleteScheduleCommandInput
| DeleteTagsCommandInput
| DescribeAccountConfigurationCommandInput
| DescribeChannelCommandInput
| DescribeInputCommandInput
| DescribeInputDeviceCommandInput
Expand All @@ -218,6 +228,7 @@ export type ServiceInputTypes =
| DescribeOfferingCommandInput
| DescribeReservationCommandInput
| DescribeScheduleCommandInput
| DescribeThumbnailsCommandInput
| ListChannelsCommandInput
| ListInputDeviceTransfersCommandInput
| ListInputDevicesCommandInput
Expand All @@ -237,6 +248,7 @@ export type ServiceInputTypes =
| StopChannelCommandInput
| StopMultiplexCommandInput
| TransferInputDeviceCommandInput
| UpdateAccountConfigurationCommandInput
| UpdateChannelClassCommandInput
| UpdateChannelCommandInput
| UpdateInputCommandInput
Expand Down Expand Up @@ -272,6 +284,7 @@ export type ServiceOutputTypes =
| DeleteReservationCommandOutput
| DeleteScheduleCommandOutput
| DeleteTagsCommandOutput
| DescribeAccountConfigurationCommandOutput
| DescribeChannelCommandOutput
| DescribeInputCommandOutput
| DescribeInputDeviceCommandOutput
Expand All @@ -282,6 +295,7 @@ export type ServiceOutputTypes =
| DescribeOfferingCommandOutput
| DescribeReservationCommandOutput
| DescribeScheduleCommandOutput
| DescribeThumbnailsCommandOutput
| ListChannelsCommandOutput
| ListInputDeviceTransfersCommandOutput
| ListInputDevicesCommandOutput
Expand All @@ -301,6 +315,7 @@ export type ServiceOutputTypes =
| StopChannelCommandOutput
| StopMultiplexCommandOutput
| TransferInputDeviceCommandOutput
| UpdateAccountConfigurationCommandOutput
| UpdateChannelClassCommandOutput
| UpdateChannelCommandOutput
| UpdateInputCommandOutput
Expand Down
6 changes: 6 additions & 0 deletions clients/client-medialive/src/commands/CreateChannelCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,9 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
* Width: Number("int"),
* },
* ],
* ThumbnailConfiguration: { // ThumbnailConfiguration
* State: "AUTO" || "DISABLED", // required
* },
* },
* InputAttachments: [ // __listOfInputAttachment
* { // InputAttachment
Expand Down Expand Up @@ -1864,6 +1867,9 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
* // Width: Number("int"),
* // },
* // ],
* // ThumbnailConfiguration: { // ThumbnailConfiguration
* // State: "AUTO" || "DISABLED", // required
* // },
* // },
* // Id: "STRING_VALUE",
* // InputAttachments: [ // __listOfInputAttachment
Expand Down
3 changes: 3 additions & 0 deletions clients/client-medialive/src/commands/DeleteChannelCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,9 @@ export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __Met
* // Width: Number("int"),
* // },
* // ],
* // ThumbnailConfiguration: { // ThumbnailConfiguration
* // State: "AUTO" || "DISABLED", // required
* // },
* // },
* // Id: "STRING_VALUE",
* // InputAttachments: [ // __listOfInputAttachment
Expand Down
Loading

0 comments on commit cf90da6

Please sign in to comment.