@aws-sdk/client-medialive 3.515.0 → 3.519.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist-cjs/commands/RestartChannelPipelinesCommand.js +1 -0
- package/dist-cjs/index.js +74 -0
- package/dist-es/MediaLive.js +2 -0
- package/dist-es/commands/RestartChannelPipelinesCommand.js +24 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +46 -0
- package/dist-types/MediaLive.d.ts +7 -0
- package/dist-types/MediaLiveClient.d.ts +3 -2
- package/dist-types/commands/ListChannelsCommand.d.ts +1 -2
- package/dist-types/commands/RestartChannelPipelinesCommand.d.ts +1113 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +13 -32
- package/dist-types/models/models_1.d.ts +32 -17
- package/dist-types/models/models_2.d.ts +136 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/MediaLive.d.ts +17 -0
- package/dist-types/ts3.4/MediaLiveClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/RestartChannelPipelinesCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -7
- package/dist-types/ts3.4/models/models_1.d.ts +8 -5
- package/dist-types/ts3.4/models/models_2.d.ts +30 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +1 -1
|
@@ -45,6 +45,7 @@ export * from "./ListTagsForResourceCommand";
|
|
|
45
45
|
export * from "./PurchaseOfferingCommand";
|
|
46
46
|
export * from "./RebootInputDeviceCommand";
|
|
47
47
|
export * from "./RejectInputDeviceTransferCommand";
|
|
48
|
+
export * from "./RestartChannelPipelinesCommand";
|
|
48
49
|
export * from "./StartChannelCommand";
|
|
49
50
|
export * from "./StartInputDeviceCommand";
|
|
50
51
|
export * from "./StartInputDeviceMaintenanceWindowCommand";
|
|
@@ -1895,7 +1895,7 @@ export interface CaptionDestinationSettings {
|
|
|
1895
1895
|
export interface CaptionDescription {
|
|
1896
1896
|
/**
|
|
1897
1897
|
* @public
|
|
1898
|
-
* Indicates whether the caption track implements accessibility features such as written descriptions of spoken dialog, music, and sounds.
|
|
1898
|
+
* Indicates whether the caption track implements accessibility features such as written descriptions of spoken dialog, music, and sounds. This signaling is added to HLS output group and MediaPackage output group.
|
|
1899
1899
|
*/
|
|
1900
1900
|
Accessibility?: AccessibilityType;
|
|
1901
1901
|
/**
|
|
@@ -2234,6 +2234,18 @@ export interface ChannelEgressEndpoint {
|
|
|
2234
2234
|
*/
|
|
2235
2235
|
SourceIp?: string;
|
|
2236
2236
|
}
|
|
2237
|
+
/**
|
|
2238
|
+
* @public
|
|
2239
|
+
* @enum
|
|
2240
|
+
*/
|
|
2241
|
+
export declare const ChannelPipelineIdToRestart: {
|
|
2242
|
+
readonly PIPELINE_0: "PIPELINE_0";
|
|
2243
|
+
readonly PIPELINE_1: "PIPELINE_1";
|
|
2244
|
+
};
|
|
2245
|
+
/**
|
|
2246
|
+
* @public
|
|
2247
|
+
*/
|
|
2248
|
+
export type ChannelPipelineIdToRestart = (typeof ChannelPipelineIdToRestart)[keyof typeof ChannelPipelineIdToRestart];
|
|
2237
2249
|
/**
|
|
2238
2250
|
* @public
|
|
2239
2251
|
* @enum
|
|
@@ -5820,34 +5832,3 @@ export declare const HlsWebdavHttpTransferMode: {
|
|
|
5820
5832
|
* @public
|
|
5821
5833
|
*/
|
|
5822
5834
|
export type HlsWebdavHttpTransferMode = (typeof HlsWebdavHttpTransferMode)[keyof typeof HlsWebdavHttpTransferMode];
|
|
5823
|
-
/**
|
|
5824
|
-
* @public
|
|
5825
|
-
* Hls Webdav Settings
|
|
5826
|
-
*/
|
|
5827
|
-
export interface HlsWebdavSettings {
|
|
5828
|
-
/**
|
|
5829
|
-
* @public
|
|
5830
|
-
* Number of seconds to wait before retrying connection to the CDN if the connection is lost.
|
|
5831
|
-
*/
|
|
5832
|
-
ConnectionRetryInterval?: number;
|
|
5833
|
-
/**
|
|
5834
|
-
* @public
|
|
5835
|
-
* Size in seconds of file cache for streaming outputs.
|
|
5836
|
-
*/
|
|
5837
|
-
FilecacheDuration?: number;
|
|
5838
|
-
/**
|
|
5839
|
-
* @public
|
|
5840
|
-
* Specify whether or not to use chunked transfer encoding to WebDAV.
|
|
5841
|
-
*/
|
|
5842
|
-
HttpTransferMode?: HlsWebdavHttpTransferMode;
|
|
5843
|
-
/**
|
|
5844
|
-
* @public
|
|
5845
|
-
* Number of retry attempts that will be made before the Live Event is put into an error state. Applies only if the CDN destination URI begins with "s3" or "mediastore". For other URIs, the value is always 3.
|
|
5846
|
-
*/
|
|
5847
|
-
NumRetries?: number;
|
|
5848
|
-
/**
|
|
5849
|
-
* @public
|
|
5850
|
-
* If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0 means never restart.
|
|
5851
|
-
*/
|
|
5852
|
-
RestartDelay?: number;
|
|
5853
|
-
}
|
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { StreamingBlobTypes } from "@smithy/types";
|
|
3
3
|
import { MediaLiveServiceException as __BaseException } from "./MediaLiveServiceException";
|
|
4
|
-
import { ArchiveGroupSettings, AudioDescription, BatchFailedResultModel, BatchSuccessfulResultModel, CaptionDescription, CaptionLanguageMapping, CdiInputSpecification, ChannelClass, ChannelEgressEndpoint, ChannelState, ColorCorrection, DeviceSettingsSyncState, DeviceUpdateStatus, FrameCaptureGroupSettings, Hdr10Settings, HlsAdMarkers, HlsAkamaiSettings, HlsBasicPutSettings, HlsCaptionLanguageSetting, HlsClientCache, HlsCodecSpecification, HlsDirectoryStructure, HlsDiscontinuityTags, HlsEncryptionType, HlsMediaStoreSettings, HlsS3Settings,
|
|
4
|
+
import { ArchiveGroupSettings, AudioDescription, BatchFailedResultModel, BatchSuccessfulResultModel, CaptionDescription, CaptionLanguageMapping, CdiInputSpecification, ChannelClass, ChannelEgressEndpoint, ChannelState, ColorCorrection, DeviceSettingsSyncState, DeviceUpdateStatus, FrameCaptureGroupSettings, Hdr10Settings, HlsAdMarkers, HlsAkamaiSettings, HlsBasicPutSettings, HlsCaptionLanguageSetting, HlsClientCache, HlsCodecSpecification, HlsDirectoryStructure, HlsDiscontinuityTags, HlsEncryptionType, HlsMediaStoreSettings, HlsS3Settings, HlsWebdavHttpTransferMode, Input, InputAttachment, InputClass, InputDestination, InputDestinationRequest, InputDeviceCodec, InputDeviceConfigurableAudioChannelPairConfig, InputDeviceConfiguredInput, InputDeviceConnectionState, InputDeviceHdSettings, InputDeviceNetworkSettings, InputDeviceOutputType, InputDeviceSettings, InputDeviceType, InputDeviceUhdSettings, InputLocation, InputSecurityGroup, InputSecurityGroupState, InputSource, InputSourceRequest, InputSourceType, InputSpecification, InputState, InputType, InputWhitelistRule, InputWhitelistRuleCidr, LogLevel, MaintenanceDay, MaintenanceStatus, MediaConnectFlow, MediaConnectFlowRequest, MultiplexOutputDestination, MultiplexProgramPipelineDetail, MultiplexState, OfferingDurationUnits, OfferingType, Output, OutputDestination, OutputLocationRef, ReservationResourceSpecification, VpcOutputSettingsDescription } from "./models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
* Hls Webdav Settings
|
|
8
|
+
*/
|
|
9
|
+
export interface HlsWebdavSettings {
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
* Number of seconds to wait before retrying connection to the CDN if the connection is lost.
|
|
13
|
+
*/
|
|
14
|
+
ConnectionRetryInterval?: number;
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* Size in seconds of file cache for streaming outputs.
|
|
18
|
+
*/
|
|
19
|
+
FilecacheDuration?: number;
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* Specify whether or not to use chunked transfer encoding to WebDAV.
|
|
23
|
+
*/
|
|
24
|
+
HttpTransferMode?: HlsWebdavHttpTransferMode;
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
* Number of retry attempts that will be made before the Live Event is put into an error state. Applies only if the CDN destination URI begins with "s3" or "mediastore". For other URIs, the value is always 3.
|
|
28
|
+
*/
|
|
29
|
+
NumRetries?: number;
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
* If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0 means never restart.
|
|
33
|
+
*/
|
|
34
|
+
RestartDelay?: number;
|
|
35
|
+
}
|
|
5
36
|
/**
|
|
6
37
|
* @public
|
|
7
38
|
* Hls Cdn Settings
|
|
@@ -6620,22 +6651,6 @@ export interface InputDeviceConfigurableSettings {
|
|
|
6620
6651
|
*/
|
|
6621
6652
|
AudioChannelPairs?: InputDeviceConfigurableAudioChannelPairConfig[];
|
|
6622
6653
|
}
|
|
6623
|
-
/**
|
|
6624
|
-
* @public
|
|
6625
|
-
* Placeholder documentation for ListChannelsRequest
|
|
6626
|
-
*/
|
|
6627
|
-
export interface ListChannelsRequest {
|
|
6628
|
-
/**
|
|
6629
|
-
* @public
|
|
6630
|
-
* Placeholder documentation for MaxResults
|
|
6631
|
-
*/
|
|
6632
|
-
MaxResults?: number;
|
|
6633
|
-
/**
|
|
6634
|
-
* @public
|
|
6635
|
-
* Placeholder documentation for __string
|
|
6636
|
-
*/
|
|
6637
|
-
NextToken?: string;
|
|
6638
|
-
}
|
|
6639
6654
|
/**
|
|
6640
6655
|
* @internal
|
|
6641
6656
|
*/
|
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
import { CdiInputSpecification, ChannelClass, ChannelEgressEndpoint, ChannelState, ChannelSummary, DeviceSettingsSyncState, DeviceUpdateStatus, Input, InputAttachment, InputDestinationRequest, InputDeviceConnectionState, InputDeviceHdSettings, InputDeviceNetworkSettings, InputDeviceOutputType, InputDeviceRequest, InputDeviceSummary, InputDeviceType, InputDeviceUhdSettings, InputSecurityGroup, InputSourceRequest, InputSpecification, InputWhitelistRuleCidr, LogLevel, MaintenanceDay, MaintenanceStatus, MediaConnectFlowRequest, MultiplexOutputDestination, MultiplexProgramSummary, MultiplexState, MultiplexSummary, Offering, OutputDestination, VpcOutputSettingsDescription } from "./models_0";
|
|
1
|
+
import { CdiInputSpecification, ChannelClass, ChannelEgressEndpoint, ChannelPipelineIdToRestart, ChannelState, ChannelSummary, DeviceSettingsSyncState, DeviceUpdateStatus, Input, InputAttachment, InputDestinationRequest, InputDeviceConnectionState, InputDeviceHdSettings, InputDeviceNetworkSettings, InputDeviceOutputType, InputDeviceRequest, InputDeviceSummary, InputDeviceType, InputDeviceUhdSettings, InputSecurityGroup, InputSourceRequest, InputSpecification, InputWhitelistRuleCidr, LogLevel, MaintenanceDay, MaintenanceStatus, MediaConnectFlowRequest, MultiplexOutputDestination, MultiplexProgramSummary, MultiplexState, MultiplexSummary, Offering, OutputDestination, VpcOutputSettingsDescription } from "./models_0";
|
|
2
2
|
import { AccountConfiguration, Channel, EncoderSettings, InputDeviceConfigurableSettings, Multiplex, MultiplexProgram, MultiplexProgramSettings, MultiplexSettings, PipelineDetail, RenewalSettings, Reservation, TransferringInputDeviceSummary } from "./models_1";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
* Placeholder documentation for ListChannelsRequest
|
|
6
|
+
*/
|
|
7
|
+
export interface ListChannelsRequest {
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
* Placeholder documentation for MaxResults
|
|
11
|
+
*/
|
|
12
|
+
MaxResults?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* Placeholder documentation for __string
|
|
16
|
+
*/
|
|
17
|
+
NextToken?: string;
|
|
18
|
+
}
|
|
3
19
|
/**
|
|
4
20
|
* @public
|
|
5
21
|
* Placeholder documentation for ListChannelsResponse
|
|
@@ -518,6 +534,125 @@ export interface RejectInputDeviceTransferRequest {
|
|
|
518
534
|
*/
|
|
519
535
|
export interface RejectInputDeviceTransferResponse {
|
|
520
536
|
}
|
|
537
|
+
/**
|
|
538
|
+
* @public
|
|
539
|
+
* Pipelines to restart.
|
|
540
|
+
*/
|
|
541
|
+
export interface RestartChannelPipelinesRequest {
|
|
542
|
+
/**
|
|
543
|
+
* @public
|
|
544
|
+
* ID of channel
|
|
545
|
+
*/
|
|
546
|
+
ChannelId: string | undefined;
|
|
547
|
+
/**
|
|
548
|
+
* @public
|
|
549
|
+
* An array of pipelines to restart in this channel. Format PIPELINE_0 or PIPELINE_1.
|
|
550
|
+
*/
|
|
551
|
+
PipelineIds?: ChannelPipelineIdToRestart[];
|
|
552
|
+
}
|
|
553
|
+
/**
|
|
554
|
+
* @public
|
|
555
|
+
* Placeholder documentation for RestartChannelPipelinesResponse
|
|
556
|
+
*/
|
|
557
|
+
export interface RestartChannelPipelinesResponse {
|
|
558
|
+
/**
|
|
559
|
+
* @public
|
|
560
|
+
* The unique arn of the channel.
|
|
561
|
+
*/
|
|
562
|
+
Arn?: string;
|
|
563
|
+
/**
|
|
564
|
+
* @public
|
|
565
|
+
* Specification of CDI inputs for this channel
|
|
566
|
+
*/
|
|
567
|
+
CdiInputSpecification?: CdiInputSpecification;
|
|
568
|
+
/**
|
|
569
|
+
* @public
|
|
570
|
+
* The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
|
|
571
|
+
*/
|
|
572
|
+
ChannelClass?: ChannelClass;
|
|
573
|
+
/**
|
|
574
|
+
* @public
|
|
575
|
+
* A list of destinations of the channel. For UDP outputs, there is one
|
|
576
|
+
* destination per output. For other types (HLS, for example), there is
|
|
577
|
+
* one destination per packager.
|
|
578
|
+
*/
|
|
579
|
+
Destinations?: OutputDestination[];
|
|
580
|
+
/**
|
|
581
|
+
* @public
|
|
582
|
+
* The endpoints where outgoing connections initiate from
|
|
583
|
+
*/
|
|
584
|
+
EgressEndpoints?: ChannelEgressEndpoint[];
|
|
585
|
+
/**
|
|
586
|
+
* @public
|
|
587
|
+
* Encoder Settings
|
|
588
|
+
*/
|
|
589
|
+
EncoderSettings?: EncoderSettings;
|
|
590
|
+
/**
|
|
591
|
+
* @public
|
|
592
|
+
* The unique id of the channel.
|
|
593
|
+
*/
|
|
594
|
+
Id?: string;
|
|
595
|
+
/**
|
|
596
|
+
* @public
|
|
597
|
+
* List of input attachments for channel.
|
|
598
|
+
*/
|
|
599
|
+
InputAttachments?: InputAttachment[];
|
|
600
|
+
/**
|
|
601
|
+
* @public
|
|
602
|
+
* Specification of network and file inputs for this channel
|
|
603
|
+
*/
|
|
604
|
+
InputSpecification?: InputSpecification;
|
|
605
|
+
/**
|
|
606
|
+
* @public
|
|
607
|
+
* The log level being written to CloudWatch Logs.
|
|
608
|
+
*/
|
|
609
|
+
LogLevel?: LogLevel;
|
|
610
|
+
/**
|
|
611
|
+
* @public
|
|
612
|
+
* Maintenance settings for this channel.
|
|
613
|
+
*/
|
|
614
|
+
Maintenance?: MaintenanceStatus;
|
|
615
|
+
/**
|
|
616
|
+
* @public
|
|
617
|
+
* The time in milliseconds by when the PVRE restart must occur.
|
|
618
|
+
*/
|
|
619
|
+
MaintenanceStatus?: string;
|
|
620
|
+
/**
|
|
621
|
+
* @public
|
|
622
|
+
* The name of the channel. (user-mutable)
|
|
623
|
+
*/
|
|
624
|
+
Name?: string;
|
|
625
|
+
/**
|
|
626
|
+
* @public
|
|
627
|
+
* Runtime details for the pipelines of a running channel.
|
|
628
|
+
*/
|
|
629
|
+
PipelineDetails?: PipelineDetail[];
|
|
630
|
+
/**
|
|
631
|
+
* @public
|
|
632
|
+
* The number of currently healthy pipelines.
|
|
633
|
+
*/
|
|
634
|
+
PipelinesRunningCount?: number;
|
|
635
|
+
/**
|
|
636
|
+
* @public
|
|
637
|
+
* The Amazon Resource Name (ARN) of the role assumed when running the Channel.
|
|
638
|
+
*/
|
|
639
|
+
RoleArn?: string;
|
|
640
|
+
/**
|
|
641
|
+
* @public
|
|
642
|
+
* Placeholder documentation for ChannelState
|
|
643
|
+
*/
|
|
644
|
+
State?: ChannelState;
|
|
645
|
+
/**
|
|
646
|
+
* @public
|
|
647
|
+
* A collection of key-value pairs.
|
|
648
|
+
*/
|
|
649
|
+
Tags?: Record<string, string>;
|
|
650
|
+
/**
|
|
651
|
+
* @public
|
|
652
|
+
* Settings for VPC output
|
|
653
|
+
*/
|
|
654
|
+
Vpc?: VpcOutputSettingsDescription;
|
|
655
|
+
}
|
|
521
656
|
/**
|
|
522
657
|
* @public
|
|
523
658
|
* Placeholder documentation for StartChannelRequest
|
|
@@ -47,6 +47,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
47
47
|
import { PurchaseOfferingCommandInput, PurchaseOfferingCommandOutput } from "../commands/PurchaseOfferingCommand";
|
|
48
48
|
import { RebootInputDeviceCommandInput, RebootInputDeviceCommandOutput } from "../commands/RebootInputDeviceCommand";
|
|
49
49
|
import { RejectInputDeviceTransferCommandInput, RejectInputDeviceTransferCommandOutput } from "../commands/RejectInputDeviceTransferCommand";
|
|
50
|
+
import { RestartChannelPipelinesCommandInput, RestartChannelPipelinesCommandOutput } from "../commands/RestartChannelPipelinesCommand";
|
|
50
51
|
import { StartChannelCommandInput, StartChannelCommandOutput } from "../commands/StartChannelCommand";
|
|
51
52
|
import { StartInputDeviceCommandInput, StartInputDeviceCommandOutput } from "../commands/StartInputDeviceCommand";
|
|
52
53
|
import { StartInputDeviceMaintenanceWindowCommandInput, StartInputDeviceMaintenanceWindowCommandOutput } from "../commands/StartInputDeviceMaintenanceWindowCommand";
|
|
@@ -252,6 +253,10 @@ export declare const se_RebootInputDeviceCommand: (input: RebootInputDeviceComma
|
|
|
252
253
|
* serializeAws_restJson1RejectInputDeviceTransferCommand
|
|
253
254
|
*/
|
|
254
255
|
export declare const se_RejectInputDeviceTransferCommand: (input: RejectInputDeviceTransferCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
256
|
+
/**
|
|
257
|
+
* serializeAws_restJson1RestartChannelPipelinesCommand
|
|
258
|
+
*/
|
|
259
|
+
export declare const se_RestartChannelPipelinesCommand: (input: RestartChannelPipelinesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
255
260
|
/**
|
|
256
261
|
* serializeAws_restJson1StartChannelCommand
|
|
257
262
|
*/
|
|
@@ -508,6 +513,10 @@ export declare const de_RebootInputDeviceCommand: (output: __HttpResponse, conte
|
|
|
508
513
|
* deserializeAws_restJson1RejectInputDeviceTransferCommand
|
|
509
514
|
*/
|
|
510
515
|
export declare const de_RejectInputDeviceTransferCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RejectInputDeviceTransferCommandOutput>;
|
|
516
|
+
/**
|
|
517
|
+
* deserializeAws_restJson1RestartChannelPipelinesCommand
|
|
518
|
+
*/
|
|
519
|
+
export declare const de_RestartChannelPipelinesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RestartChannelPipelinesCommandOutput>;
|
|
511
520
|
/**
|
|
512
521
|
* deserializeAws_restJson1StartChannelCommand
|
|
513
522
|
*/
|
|
@@ -187,6 +187,10 @@ import {
|
|
|
187
187
|
RejectInputDeviceTransferCommandInput,
|
|
188
188
|
RejectInputDeviceTransferCommandOutput,
|
|
189
189
|
} from "./commands/RejectInputDeviceTransferCommand";
|
|
190
|
+
import {
|
|
191
|
+
RestartChannelPipelinesCommandInput,
|
|
192
|
+
RestartChannelPipelinesCommandOutput,
|
|
193
|
+
} from "./commands/RestartChannelPipelinesCommand";
|
|
190
194
|
import {
|
|
191
195
|
StartChannelCommandInput,
|
|
192
196
|
StartChannelCommandOutput,
|
|
@@ -868,6 +872,19 @@ export interface MediaLive {
|
|
|
868
872
|
options: __HttpHandlerOptions,
|
|
869
873
|
cb: (err: any, data?: RejectInputDeviceTransferCommandOutput) => void
|
|
870
874
|
): void;
|
|
875
|
+
restartChannelPipelines(
|
|
876
|
+
args: RestartChannelPipelinesCommandInput,
|
|
877
|
+
options?: __HttpHandlerOptions
|
|
878
|
+
): Promise<RestartChannelPipelinesCommandOutput>;
|
|
879
|
+
restartChannelPipelines(
|
|
880
|
+
args: RestartChannelPipelinesCommandInput,
|
|
881
|
+
cb: (err: any, data?: RestartChannelPipelinesCommandOutput) => void
|
|
882
|
+
): void;
|
|
883
|
+
restartChannelPipelines(
|
|
884
|
+
args: RestartChannelPipelinesCommandInput,
|
|
885
|
+
options: __HttpHandlerOptions,
|
|
886
|
+
cb: (err: any, data?: RestartChannelPipelinesCommandOutput) => void
|
|
887
|
+
): void;
|
|
871
888
|
startChannel(
|
|
872
889
|
args: StartChannelCommandInput,
|
|
873
890
|
options?: __HttpHandlerOptions
|
|
@@ -234,6 +234,10 @@ import {
|
|
|
234
234
|
RejectInputDeviceTransferCommandInput,
|
|
235
235
|
RejectInputDeviceTransferCommandOutput,
|
|
236
236
|
} from "./commands/RejectInputDeviceTransferCommand";
|
|
237
|
+
import {
|
|
238
|
+
RestartChannelPipelinesCommandInput,
|
|
239
|
+
RestartChannelPipelinesCommandOutput,
|
|
240
|
+
} from "./commands/RestartChannelPipelinesCommand";
|
|
237
241
|
import {
|
|
238
242
|
StartChannelCommandInput,
|
|
239
243
|
StartChannelCommandOutput,
|
|
@@ -357,6 +361,7 @@ export type ServiceInputTypes =
|
|
|
357
361
|
| PurchaseOfferingCommandInput
|
|
358
362
|
| RebootInputDeviceCommandInput
|
|
359
363
|
| RejectInputDeviceTransferCommandInput
|
|
364
|
+
| RestartChannelPipelinesCommandInput
|
|
360
365
|
| StartChannelCommandInput
|
|
361
366
|
| StartInputDeviceCommandInput
|
|
362
367
|
| StartInputDeviceMaintenanceWindowCommandInput
|
|
@@ -422,6 +427,7 @@ export type ServiceOutputTypes =
|
|
|
422
427
|
| PurchaseOfferingCommandOutput
|
|
423
428
|
| RebootInputDeviceCommandOutput
|
|
424
429
|
| RejectInputDeviceTransferCommandOutput
|
|
430
|
+
| RestartChannelPipelinesCommandOutput
|
|
425
431
|
| StartChannelCommandOutput
|
|
426
432
|
| StartInputDeviceCommandOutput
|
|
427
433
|
| StartInputDeviceMaintenanceWindowCommandOutput
|
|
@@ -5,8 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../MediaLiveClient";
|
|
8
|
-
import { ListChannelsRequest } from "../models/
|
|
9
|
-
import { ListChannelsResponse } from "../models/models_2";
|
|
8
|
+
import { ListChannelsRequest, ListChannelsResponse } from "../models/models_2";
|
|
10
9
|
export { __MetadataBearer, $Command };
|
|
11
10
|
export interface ListChannelsCommandInput extends ListChannelsRequest {}
|
|
12
11
|
export interface ListChannelsCommandOutput
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
MediaLiveClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../MediaLiveClient";
|
|
8
|
+
import {
|
|
9
|
+
RestartChannelPipelinesRequest,
|
|
10
|
+
RestartChannelPipelinesResponse,
|
|
11
|
+
} from "../models/models_2";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface RestartChannelPipelinesCommandInput
|
|
14
|
+
extends RestartChannelPipelinesRequest {}
|
|
15
|
+
export interface RestartChannelPipelinesCommandOutput
|
|
16
|
+
extends RestartChannelPipelinesResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const RestartChannelPipelinesCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: RestartChannelPipelinesCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
RestartChannelPipelinesCommandInput,
|
|
23
|
+
RestartChannelPipelinesCommandOutput,
|
|
24
|
+
MediaLiveClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class RestartChannelPipelinesCommand extends RestartChannelPipelinesCommand_base {}
|
|
@@ -45,6 +45,7 @@ export * from "./ListTagsForResourceCommand";
|
|
|
45
45
|
export * from "./PurchaseOfferingCommand";
|
|
46
46
|
export * from "./RebootInputDeviceCommand";
|
|
47
47
|
export * from "./RejectInputDeviceTransferCommand";
|
|
48
|
+
export * from "./RestartChannelPipelinesCommand";
|
|
48
49
|
export * from "./StartChannelCommand";
|
|
49
50
|
export * from "./StartInputDeviceCommand";
|
|
50
51
|
export * from "./StartInputDeviceMaintenanceWindowCommand";
|
|
@@ -756,6 +756,12 @@ export interface CaptionSelector {
|
|
|
756
756
|
export interface ChannelEgressEndpoint {
|
|
757
757
|
SourceIp?: string;
|
|
758
758
|
}
|
|
759
|
+
export declare const ChannelPipelineIdToRestart: {
|
|
760
|
+
readonly PIPELINE_0: "PIPELINE_0";
|
|
761
|
+
readonly PIPELINE_1: "PIPELINE_1";
|
|
762
|
+
};
|
|
763
|
+
export type ChannelPipelineIdToRestart =
|
|
764
|
+
(typeof ChannelPipelineIdToRestart)[keyof typeof ChannelPipelineIdToRestart];
|
|
759
765
|
export declare const CdiInputResolution: {
|
|
760
766
|
readonly FHD: "FHD";
|
|
761
767
|
readonly HD: "HD";
|
|
@@ -1912,10 +1918,3 @@ export declare const HlsWebdavHttpTransferMode: {
|
|
|
1912
1918
|
};
|
|
1913
1919
|
export type HlsWebdavHttpTransferMode =
|
|
1914
1920
|
(typeof HlsWebdavHttpTransferMode)[keyof typeof HlsWebdavHttpTransferMode];
|
|
1915
|
-
export interface HlsWebdavSettings {
|
|
1916
|
-
ConnectionRetryInterval?: number;
|
|
1917
|
-
FilecacheDuration?: number;
|
|
1918
|
-
HttpTransferMode?: HlsWebdavHttpTransferMode;
|
|
1919
|
-
NumRetries?: number;
|
|
1920
|
-
RestartDelay?: number;
|
|
1921
|
-
}
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
HlsEncryptionType,
|
|
29
29
|
HlsMediaStoreSettings,
|
|
30
30
|
HlsS3Settings,
|
|
31
|
-
|
|
31
|
+
HlsWebdavHttpTransferMode,
|
|
32
32
|
Input,
|
|
33
33
|
InputAttachment,
|
|
34
34
|
InputClass,
|
|
@@ -71,6 +71,13 @@ import {
|
|
|
71
71
|
ReservationResourceSpecification,
|
|
72
72
|
VpcOutputSettingsDescription,
|
|
73
73
|
} from "./models_0";
|
|
74
|
+
export interface HlsWebdavSettings {
|
|
75
|
+
ConnectionRetryInterval?: number;
|
|
76
|
+
FilecacheDuration?: number;
|
|
77
|
+
HttpTransferMode?: HlsWebdavHttpTransferMode;
|
|
78
|
+
NumRetries?: number;
|
|
79
|
+
RestartDelay?: number;
|
|
80
|
+
}
|
|
74
81
|
export interface HlsCdnSettings {
|
|
75
82
|
HlsAkamaiSettings?: HlsAkamaiSettings;
|
|
76
83
|
HlsBasicPutSettings?: HlsBasicPutSettings;
|
|
@@ -2007,10 +2014,6 @@ export interface InputDeviceConfigurableSettings {
|
|
|
2007
2014
|
MediaconnectSettings?: InputDeviceMediaConnectConfigurableSettings;
|
|
2008
2015
|
AudioChannelPairs?: InputDeviceConfigurableAudioChannelPairConfig[];
|
|
2009
2016
|
}
|
|
2010
|
-
export interface ListChannelsRequest {
|
|
2011
|
-
MaxResults?: number;
|
|
2012
|
-
NextToken?: string;
|
|
2013
|
-
}
|
|
2014
2017
|
export declare const DescribeInputDeviceThumbnailResponseFilterSensitiveLog: (
|
|
2015
2018
|
obj: DescribeInputDeviceThumbnailResponse
|
|
2016
2019
|
) => any;
|
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
CdiInputSpecification,
|
|
3
3
|
ChannelClass,
|
|
4
4
|
ChannelEgressEndpoint,
|
|
5
|
+
ChannelPipelineIdToRestart,
|
|
5
6
|
ChannelState,
|
|
6
7
|
ChannelSummary,
|
|
7
8
|
DeviceSettingsSyncState,
|
|
@@ -47,6 +48,10 @@ import {
|
|
|
47
48
|
Reservation,
|
|
48
49
|
TransferringInputDeviceSummary,
|
|
49
50
|
} from "./models_1";
|
|
51
|
+
export interface ListChannelsRequest {
|
|
52
|
+
MaxResults?: number;
|
|
53
|
+
NextToken?: string;
|
|
54
|
+
}
|
|
50
55
|
export interface ListChannelsResponse {
|
|
51
56
|
Channels?: ChannelSummary[];
|
|
52
57
|
NextToken?: string;
|
|
@@ -173,6 +178,31 @@ export interface RejectInputDeviceTransferRequest {
|
|
|
173
178
|
InputDeviceId: string | undefined;
|
|
174
179
|
}
|
|
175
180
|
export interface RejectInputDeviceTransferResponse {}
|
|
181
|
+
export interface RestartChannelPipelinesRequest {
|
|
182
|
+
ChannelId: string | undefined;
|
|
183
|
+
PipelineIds?: ChannelPipelineIdToRestart[];
|
|
184
|
+
}
|
|
185
|
+
export interface RestartChannelPipelinesResponse {
|
|
186
|
+
Arn?: string;
|
|
187
|
+
CdiInputSpecification?: CdiInputSpecification;
|
|
188
|
+
ChannelClass?: ChannelClass;
|
|
189
|
+
Destinations?: OutputDestination[];
|
|
190
|
+
EgressEndpoints?: ChannelEgressEndpoint[];
|
|
191
|
+
EncoderSettings?: EncoderSettings;
|
|
192
|
+
Id?: string;
|
|
193
|
+
InputAttachments?: InputAttachment[];
|
|
194
|
+
InputSpecification?: InputSpecification;
|
|
195
|
+
LogLevel?: LogLevel;
|
|
196
|
+
Maintenance?: MaintenanceStatus;
|
|
197
|
+
MaintenanceStatus?: string;
|
|
198
|
+
Name?: string;
|
|
199
|
+
PipelineDetails?: PipelineDetail[];
|
|
200
|
+
PipelinesRunningCount?: number;
|
|
201
|
+
RoleArn?: string;
|
|
202
|
+
State?: ChannelState;
|
|
203
|
+
Tags?: Record<string, string>;
|
|
204
|
+
Vpc?: VpcOutputSettingsDescription;
|
|
205
|
+
}
|
|
176
206
|
export interface StartChannelRequest {
|
|
177
207
|
ChannelId: string | undefined;
|
|
178
208
|
}
|
|
@@ -194,6 +194,10 @@ import {
|
|
|
194
194
|
RejectInputDeviceTransferCommandInput,
|
|
195
195
|
RejectInputDeviceTransferCommandOutput,
|
|
196
196
|
} from "../commands/RejectInputDeviceTransferCommand";
|
|
197
|
+
import {
|
|
198
|
+
RestartChannelPipelinesCommandInput,
|
|
199
|
+
RestartChannelPipelinesCommandOutput,
|
|
200
|
+
} from "../commands/RestartChannelPipelinesCommand";
|
|
197
201
|
import {
|
|
198
202
|
StartChannelCommandInput,
|
|
199
203
|
StartChannelCommandOutput,
|
|
@@ -450,6 +454,10 @@ export declare const se_RejectInputDeviceTransferCommand: (
|
|
|
450
454
|
input: RejectInputDeviceTransferCommandInput,
|
|
451
455
|
context: __SerdeContext
|
|
452
456
|
) => Promise<__HttpRequest>;
|
|
457
|
+
export declare const se_RestartChannelPipelinesCommand: (
|
|
458
|
+
input: RestartChannelPipelinesCommandInput,
|
|
459
|
+
context: __SerdeContext
|
|
460
|
+
) => Promise<__HttpRequest>;
|
|
453
461
|
export declare const se_StartChannelCommand: (
|
|
454
462
|
input: StartChannelCommandInput,
|
|
455
463
|
context: __SerdeContext
|
|
@@ -706,6 +714,10 @@ export declare const de_RejectInputDeviceTransferCommand: (
|
|
|
706
714
|
output: __HttpResponse,
|
|
707
715
|
context: __SerdeContext
|
|
708
716
|
) => Promise<RejectInputDeviceTransferCommandOutput>;
|
|
717
|
+
export declare const de_RestartChannelPipelinesCommand: (
|
|
718
|
+
output: __HttpResponse,
|
|
719
|
+
context: __SerdeContext
|
|
720
|
+
) => Promise<RestartChannelPipelinesCommandOutput>;
|
|
709
721
|
export declare const de_StartChannelCommand: (
|
|
710
722
|
output: __HttpResponse,
|
|
711
723
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-medialive",
|
|
3
3
|
"description": "AWS SDK for JavaScript Medialive Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.519.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-medialive",
|