awscdk-construct-scte-scheduler
Version:
AWS CDK Construct for scheduling SCTE-35 events using the MediaLive schedule API
248 lines (247 loc) • 14.4 kB
JavaScript
import { createAggregatedClient } from "@smithy/smithy-client";
import { AcceptInputDeviceTransferCommand, } from "./commands/AcceptInputDeviceTransferCommand";
import { BatchDeleteCommand } from "./commands/BatchDeleteCommand";
import { BatchStartCommand } from "./commands/BatchStartCommand";
import { BatchStopCommand } from "./commands/BatchStopCommand";
import { BatchUpdateScheduleCommand, } from "./commands/BatchUpdateScheduleCommand";
import { CancelInputDeviceTransferCommand, } from "./commands/CancelInputDeviceTransferCommand";
import { ClaimDeviceCommand } from "./commands/ClaimDeviceCommand";
import { CreateChannelCommand, } from "./commands/CreateChannelCommand";
import { CreateChannelPlacementGroupCommand, } from "./commands/CreateChannelPlacementGroupCommand";
import { CreateCloudWatchAlarmTemplateCommand, } from "./commands/CreateCloudWatchAlarmTemplateCommand";
import { CreateCloudWatchAlarmTemplateGroupCommand, } from "./commands/CreateCloudWatchAlarmTemplateGroupCommand";
import { CreateClusterCommand, } from "./commands/CreateClusterCommand";
import { CreateEventBridgeRuleTemplateCommand, } from "./commands/CreateEventBridgeRuleTemplateCommand";
import { CreateEventBridgeRuleTemplateGroupCommand, } from "./commands/CreateEventBridgeRuleTemplateGroupCommand";
import { CreateInputCommand } from "./commands/CreateInputCommand";
import { CreateInputSecurityGroupCommand, } from "./commands/CreateInputSecurityGroupCommand";
import { CreateMultiplexCommand, } from "./commands/CreateMultiplexCommand";
import { CreateMultiplexProgramCommand, } from "./commands/CreateMultiplexProgramCommand";
import { CreateNetworkCommand, } from "./commands/CreateNetworkCommand";
import { CreateNodeCommand } from "./commands/CreateNodeCommand";
import { CreateNodeRegistrationScriptCommand, } from "./commands/CreateNodeRegistrationScriptCommand";
import { CreatePartnerInputCommand, } from "./commands/CreatePartnerInputCommand";
import { CreateSdiSourceCommand, } from "./commands/CreateSdiSourceCommand";
import { CreateSignalMapCommand, } from "./commands/CreateSignalMapCommand";
import { CreateTagsCommand } from "./commands/CreateTagsCommand";
import { DeleteChannelCommand, } from "./commands/DeleteChannelCommand";
import { DeleteChannelPlacementGroupCommand, } from "./commands/DeleteChannelPlacementGroupCommand";
import { DeleteCloudWatchAlarmTemplateCommand, } from "./commands/DeleteCloudWatchAlarmTemplateCommand";
import { DeleteCloudWatchAlarmTemplateGroupCommand, } from "./commands/DeleteCloudWatchAlarmTemplateGroupCommand";
import { DeleteClusterCommand, } from "./commands/DeleteClusterCommand";
import { DeleteEventBridgeRuleTemplateCommand, } from "./commands/DeleteEventBridgeRuleTemplateCommand";
import { DeleteEventBridgeRuleTemplateGroupCommand, } from "./commands/DeleteEventBridgeRuleTemplateGroupCommand";
import { DeleteInputCommand } from "./commands/DeleteInputCommand";
import { DeleteInputSecurityGroupCommand, } from "./commands/DeleteInputSecurityGroupCommand";
import { DeleteMultiplexCommand, } from "./commands/DeleteMultiplexCommand";
import { DeleteMultiplexProgramCommand, } from "./commands/DeleteMultiplexProgramCommand";
import { DeleteNetworkCommand, } from "./commands/DeleteNetworkCommand";
import { DeleteNodeCommand } from "./commands/DeleteNodeCommand";
import { DeleteReservationCommand, } from "./commands/DeleteReservationCommand";
import { DeleteScheduleCommand, } from "./commands/DeleteScheduleCommand";
import { DeleteSdiSourceCommand, } from "./commands/DeleteSdiSourceCommand";
import { DeleteSignalMapCommand, } from "./commands/DeleteSignalMapCommand";
import { DeleteTagsCommand } from "./commands/DeleteTagsCommand";
import { DescribeAccountConfigurationCommand, } from "./commands/DescribeAccountConfigurationCommand";
import { DescribeChannelCommand, } from "./commands/DescribeChannelCommand";
import { DescribeChannelPlacementGroupCommand, } from "./commands/DescribeChannelPlacementGroupCommand";
import { DescribeClusterCommand, } from "./commands/DescribeClusterCommand";
import { DescribeInputCommand, } from "./commands/DescribeInputCommand";
import { DescribeInputDeviceCommand, } from "./commands/DescribeInputDeviceCommand";
import { DescribeInputDeviceThumbnailCommand, } from "./commands/DescribeInputDeviceThumbnailCommand";
import { DescribeInputSecurityGroupCommand, } from "./commands/DescribeInputSecurityGroupCommand";
import { DescribeMultiplexCommand, } from "./commands/DescribeMultiplexCommand";
import { DescribeMultiplexProgramCommand, } from "./commands/DescribeMultiplexProgramCommand";
import { DescribeNetworkCommand, } from "./commands/DescribeNetworkCommand";
import { DescribeNodeCommand, } from "./commands/DescribeNodeCommand";
import { DescribeOfferingCommand, } from "./commands/DescribeOfferingCommand";
import { DescribeReservationCommand, } from "./commands/DescribeReservationCommand";
import { DescribeScheduleCommand, } from "./commands/DescribeScheduleCommand";
import { DescribeSdiSourceCommand, } from "./commands/DescribeSdiSourceCommand";
import { DescribeThumbnailsCommand, } from "./commands/DescribeThumbnailsCommand";
import { GetCloudWatchAlarmTemplateCommand, } from "./commands/GetCloudWatchAlarmTemplateCommand";
import { GetCloudWatchAlarmTemplateGroupCommand, } from "./commands/GetCloudWatchAlarmTemplateGroupCommand";
import { GetEventBridgeRuleTemplateCommand, } from "./commands/GetEventBridgeRuleTemplateCommand";
import { GetEventBridgeRuleTemplateGroupCommand, } from "./commands/GetEventBridgeRuleTemplateGroupCommand";
import { GetSignalMapCommand, } from "./commands/GetSignalMapCommand";
import { ListChannelPlacementGroupsCommand, } from "./commands/ListChannelPlacementGroupsCommand";
import { ListChannelsCommand, } from "./commands/ListChannelsCommand";
import { ListCloudWatchAlarmTemplateGroupsCommand, } from "./commands/ListCloudWatchAlarmTemplateGroupsCommand";
import { ListCloudWatchAlarmTemplatesCommand, } from "./commands/ListCloudWatchAlarmTemplatesCommand";
import { ListClustersCommand, } from "./commands/ListClustersCommand";
import { ListEventBridgeRuleTemplateGroupsCommand, } from "./commands/ListEventBridgeRuleTemplateGroupsCommand";
import { ListEventBridgeRuleTemplatesCommand, } from "./commands/ListEventBridgeRuleTemplatesCommand";
import { ListInputDevicesCommand, } from "./commands/ListInputDevicesCommand";
import { ListInputDeviceTransfersCommand, } from "./commands/ListInputDeviceTransfersCommand";
import { ListInputsCommand } from "./commands/ListInputsCommand";
import { ListInputSecurityGroupsCommand, } from "./commands/ListInputSecurityGroupsCommand";
import { ListMultiplexesCommand, } from "./commands/ListMultiplexesCommand";
import { ListMultiplexProgramsCommand, } from "./commands/ListMultiplexProgramsCommand";
import { ListNetworksCommand, } from "./commands/ListNetworksCommand";
import { ListNodesCommand } from "./commands/ListNodesCommand";
import { ListOfferingsCommand, } from "./commands/ListOfferingsCommand";
import { ListReservationsCommand, } from "./commands/ListReservationsCommand";
import { ListSdiSourcesCommand, } from "./commands/ListSdiSourcesCommand";
import { ListSignalMapsCommand, } from "./commands/ListSignalMapsCommand";
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
import { ListVersionsCommand, } from "./commands/ListVersionsCommand";
import { PurchaseOfferingCommand, } from "./commands/PurchaseOfferingCommand";
import { RebootInputDeviceCommand, } from "./commands/RebootInputDeviceCommand";
import { RejectInputDeviceTransferCommand, } from "./commands/RejectInputDeviceTransferCommand";
import { RestartChannelPipelinesCommand, } from "./commands/RestartChannelPipelinesCommand";
import { StartChannelCommand, } from "./commands/StartChannelCommand";
import { StartDeleteMonitorDeploymentCommand, } from "./commands/StartDeleteMonitorDeploymentCommand";
import { StartInputDeviceCommand, } from "./commands/StartInputDeviceCommand";
import { StartInputDeviceMaintenanceWindowCommand, } from "./commands/StartInputDeviceMaintenanceWindowCommand";
import { StartMonitorDeploymentCommand, } from "./commands/StartMonitorDeploymentCommand";
import { StartMultiplexCommand, } from "./commands/StartMultiplexCommand";
import { StartUpdateSignalMapCommand, } from "./commands/StartUpdateSignalMapCommand";
import { StopChannelCommand } from "./commands/StopChannelCommand";
import { StopInputDeviceCommand, } from "./commands/StopInputDeviceCommand";
import { StopMultiplexCommand, } from "./commands/StopMultiplexCommand";
import { TransferInputDeviceCommand, } from "./commands/TransferInputDeviceCommand";
import { UpdateAccountConfigurationCommand, } from "./commands/UpdateAccountConfigurationCommand";
import { UpdateChannelClassCommand, } from "./commands/UpdateChannelClassCommand";
import { UpdateChannelCommand, } from "./commands/UpdateChannelCommand";
import { UpdateChannelPlacementGroupCommand, } from "./commands/UpdateChannelPlacementGroupCommand";
import { UpdateCloudWatchAlarmTemplateCommand, } from "./commands/UpdateCloudWatchAlarmTemplateCommand";
import { UpdateCloudWatchAlarmTemplateGroupCommand, } from "./commands/UpdateCloudWatchAlarmTemplateGroupCommand";
import { UpdateClusterCommand, } from "./commands/UpdateClusterCommand";
import { UpdateEventBridgeRuleTemplateCommand, } from "./commands/UpdateEventBridgeRuleTemplateCommand";
import { UpdateEventBridgeRuleTemplateGroupCommand, } from "./commands/UpdateEventBridgeRuleTemplateGroupCommand";
import { UpdateInputCommand } from "./commands/UpdateInputCommand";
import { UpdateInputDeviceCommand, } from "./commands/UpdateInputDeviceCommand";
import { UpdateInputSecurityGroupCommand, } from "./commands/UpdateInputSecurityGroupCommand";
import { UpdateMultiplexCommand, } from "./commands/UpdateMultiplexCommand";
import { UpdateMultiplexProgramCommand, } from "./commands/UpdateMultiplexProgramCommand";
import { UpdateNetworkCommand, } from "./commands/UpdateNetworkCommand";
import { UpdateNodeCommand } from "./commands/UpdateNodeCommand";
import { UpdateNodeStateCommand, } from "./commands/UpdateNodeStateCommand";
import { UpdateReservationCommand, } from "./commands/UpdateReservationCommand";
import { UpdateSdiSourceCommand, } from "./commands/UpdateSdiSourceCommand";
import { MediaLiveClient } from "./MediaLiveClient";
const commands = {
AcceptInputDeviceTransferCommand,
BatchDeleteCommand,
BatchStartCommand,
BatchStopCommand,
BatchUpdateScheduleCommand,
CancelInputDeviceTransferCommand,
ClaimDeviceCommand,
CreateChannelCommand,
CreateChannelPlacementGroupCommand,
CreateCloudWatchAlarmTemplateCommand,
CreateCloudWatchAlarmTemplateGroupCommand,
CreateClusterCommand,
CreateEventBridgeRuleTemplateCommand,
CreateEventBridgeRuleTemplateGroupCommand,
CreateInputCommand,
CreateInputSecurityGroupCommand,
CreateMultiplexCommand,
CreateMultiplexProgramCommand,
CreateNetworkCommand,
CreateNodeCommand,
CreateNodeRegistrationScriptCommand,
CreatePartnerInputCommand,
CreateSdiSourceCommand,
CreateSignalMapCommand,
CreateTagsCommand,
DeleteChannelCommand,
DeleteChannelPlacementGroupCommand,
DeleteCloudWatchAlarmTemplateCommand,
DeleteCloudWatchAlarmTemplateGroupCommand,
DeleteClusterCommand,
DeleteEventBridgeRuleTemplateCommand,
DeleteEventBridgeRuleTemplateGroupCommand,
DeleteInputCommand,
DeleteInputSecurityGroupCommand,
DeleteMultiplexCommand,
DeleteMultiplexProgramCommand,
DeleteNetworkCommand,
DeleteNodeCommand,
DeleteReservationCommand,
DeleteScheduleCommand,
DeleteSdiSourceCommand,
DeleteSignalMapCommand,
DeleteTagsCommand,
DescribeAccountConfigurationCommand,
DescribeChannelCommand,
DescribeChannelPlacementGroupCommand,
DescribeClusterCommand,
DescribeInputCommand,
DescribeInputDeviceCommand,
DescribeInputDeviceThumbnailCommand,
DescribeInputSecurityGroupCommand,
DescribeMultiplexCommand,
DescribeMultiplexProgramCommand,
DescribeNetworkCommand,
DescribeNodeCommand,
DescribeOfferingCommand,
DescribeReservationCommand,
DescribeScheduleCommand,
DescribeSdiSourceCommand,
DescribeThumbnailsCommand,
GetCloudWatchAlarmTemplateCommand,
GetCloudWatchAlarmTemplateGroupCommand,
GetEventBridgeRuleTemplateCommand,
GetEventBridgeRuleTemplateGroupCommand,
GetSignalMapCommand,
ListChannelPlacementGroupsCommand,
ListChannelsCommand,
ListCloudWatchAlarmTemplateGroupsCommand,
ListCloudWatchAlarmTemplatesCommand,
ListClustersCommand,
ListEventBridgeRuleTemplateGroupsCommand,
ListEventBridgeRuleTemplatesCommand,
ListInputDevicesCommand,
ListInputDeviceTransfersCommand,
ListInputsCommand,
ListInputSecurityGroupsCommand,
ListMultiplexesCommand,
ListMultiplexProgramsCommand,
ListNetworksCommand,
ListNodesCommand,
ListOfferingsCommand,
ListReservationsCommand,
ListSdiSourcesCommand,
ListSignalMapsCommand,
ListTagsForResourceCommand,
ListVersionsCommand,
PurchaseOfferingCommand,
RebootInputDeviceCommand,
RejectInputDeviceTransferCommand,
RestartChannelPipelinesCommand,
StartChannelCommand,
StartDeleteMonitorDeploymentCommand,
StartInputDeviceCommand,
StartInputDeviceMaintenanceWindowCommand,
StartMonitorDeploymentCommand,
StartMultiplexCommand,
StartUpdateSignalMapCommand,
StopChannelCommand,
StopInputDeviceCommand,
StopMultiplexCommand,
TransferInputDeviceCommand,
UpdateAccountConfigurationCommand,
UpdateChannelCommand,
UpdateChannelClassCommand,
UpdateChannelPlacementGroupCommand,
UpdateCloudWatchAlarmTemplateCommand,
UpdateCloudWatchAlarmTemplateGroupCommand,
UpdateClusterCommand,
UpdateEventBridgeRuleTemplateCommand,
UpdateEventBridgeRuleTemplateGroupCommand,
UpdateInputCommand,
UpdateInputDeviceCommand,
UpdateInputSecurityGroupCommand,
UpdateMultiplexCommand,
UpdateMultiplexProgramCommand,
UpdateNetworkCommand,
UpdateNodeCommand,
UpdateNodeStateCommand,
UpdateReservationCommand,
UpdateSdiSourceCommand,
};
export class MediaLive extends MediaLiveClient {
}
createAggregatedClient(commands, MediaLive);