@aws-sdk/client-medialive 3.299.0 → 3.301.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.
Files changed (68) hide show
  1. package/dist-cjs/protocols/Aws_restJson1.js +9 -0
  2. package/dist-es/protocols/Aws_restJson1.js +9 -0
  3. package/dist-types/commands/AcceptInputDeviceTransferCommand.d.ts +3 -0
  4. package/dist-types/commands/BatchDeleteCommand.d.ts +14 -0
  5. package/dist-types/commands/BatchStartCommand.d.ts +8 -0
  6. package/dist-types/commands/BatchStopCommand.d.ts +8 -0
  7. package/dist-types/commands/BatchUpdateScheduleCommand.d.ts +137 -0
  8. package/dist-types/commands/CancelInputDeviceTransferCommand.d.ts +3 -0
  9. package/dist-types/commands/ClaimDeviceCommand.d.ts +3 -0
  10. package/dist-types/commands/CreateChannelCommand.d.ts +987 -0
  11. package/dist-types/commands/CreateInputCommand.d.ts +42 -0
  12. package/dist-types/commands/CreateInputSecurityGroupCommand.d.ts +10 -0
  13. package/dist-types/commands/CreateMultiplexCommand.d.ts +16 -0
  14. package/dist-types/commands/CreateMultiplexProgramCommand.d.ts +21 -0
  15. package/dist-types/commands/CreatePartnerInputCommand.d.ts +7 -0
  16. package/dist-types/commands/CreateTagsCommand.d.ts +6 -0
  17. package/dist-types/commands/DeleteChannelCommand.d.ts +3 -0
  18. package/dist-types/commands/DeleteInputCommand.d.ts +3 -0
  19. package/dist-types/commands/DeleteInputSecurityGroupCommand.d.ts +3 -0
  20. package/dist-types/commands/DeleteMultiplexCommand.d.ts +3 -0
  21. package/dist-types/commands/DeleteMultiplexProgramCommand.d.ts +4 -0
  22. package/dist-types/commands/DeleteReservationCommand.d.ts +3 -0
  23. package/dist-types/commands/DeleteScheduleCommand.d.ts +3 -0
  24. package/dist-types/commands/DeleteTagsCommand.d.ts +6 -0
  25. package/dist-types/commands/DescribeChannelCommand.d.ts +3 -0
  26. package/dist-types/commands/DescribeInputCommand.d.ts +3 -0
  27. package/dist-types/commands/DescribeInputDeviceCommand.d.ts +3 -0
  28. package/dist-types/commands/DescribeInputDeviceThumbnailCommand.d.ts +4 -0
  29. package/dist-types/commands/DescribeInputSecurityGroupCommand.d.ts +3 -0
  30. package/dist-types/commands/DescribeMultiplexCommand.d.ts +3 -0
  31. package/dist-types/commands/DescribeMultiplexProgramCommand.d.ts +4 -0
  32. package/dist-types/commands/DescribeOfferingCommand.d.ts +3 -0
  33. package/dist-types/commands/DescribeReservationCommand.d.ts +3 -0
  34. package/dist-types/commands/DescribeScheduleCommand.d.ts +5 -0
  35. package/dist-types/commands/ListChannelsCommand.d.ts +4 -0
  36. package/dist-types/commands/ListInputDeviceTransfersCommand.d.ts +5 -0
  37. package/dist-types/commands/ListInputDevicesCommand.d.ts +4 -0
  38. package/dist-types/commands/ListInputSecurityGroupsCommand.d.ts +4 -0
  39. package/dist-types/commands/ListInputsCommand.d.ts +4 -0
  40. package/dist-types/commands/ListMultiplexProgramsCommand.d.ts +5 -0
  41. package/dist-types/commands/ListMultiplexesCommand.d.ts +4 -0
  42. package/dist-types/commands/ListOfferingsCommand.d.ts +14 -0
  43. package/dist-types/commands/ListReservationsCommand.d.ts +12 -0
  44. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  45. package/dist-types/commands/PurchaseOfferingCommand.d.ts +14 -0
  46. package/dist-types/commands/RebootInputDeviceCommand.d.ts +4 -0
  47. package/dist-types/commands/RejectInputDeviceTransferCommand.d.ts +3 -0
  48. package/dist-types/commands/StartChannelCommand.d.ts +3 -0
  49. package/dist-types/commands/StartInputDeviceMaintenanceWindowCommand.d.ts +3 -0
  50. package/dist-types/commands/StartMultiplexCommand.d.ts +3 -0
  51. package/dist-types/commands/StopChannelCommand.d.ts +3 -0
  52. package/dist-types/commands/StopMultiplexCommand.d.ts +3 -0
  53. package/dist-types/commands/TransferInputDeviceCommand.d.ts +6 -0
  54. package/dist-types/commands/UpdateChannelClassCommand.d.ts +26 -0
  55. package/dist-types/commands/UpdateChannelCommand.d.ts +972 -0
  56. package/dist-types/commands/UpdateInputCommand.d.ts +30 -0
  57. package/dist-types/commands/UpdateInputDeviceCommand.d.ts +14 -0
  58. package/dist-types/commands/UpdateInputSecurityGroupCommand.d.ts +11 -0
  59. package/dist-types/commands/UpdateMultiplexCommand.d.ts +10 -0
  60. package/dist-types/commands/UpdateMultiplexProgramCommand.d.ts +20 -0
  61. package/dist-types/commands/UpdateReservationCommand.d.ts +8 -0
  62. package/dist-types/models/models_0.d.ts +4 -0
  63. package/dist-types/models/models_1.d.ts +9 -1
  64. package/dist-types/models/models_2.d.ts +4 -0
  65. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  66. package/dist-types/ts3.4/models/models_1.d.ts +3 -1
  67. package/dist-types/ts3.4/models/models_2.d.ts +1 -0
  68. package/package.json +8 -8
@@ -2878,6 +2878,9 @@ const deserializeAws_restJson1DescribeInputDeviceCommand = async (output, contex
2878
2878
  if (data.serialNumber != null) {
2879
2879
  contents.SerialNumber = (0, smithy_client_1.expectString)(data.serialNumber);
2880
2880
  }
2881
+ if (data.tags != null) {
2882
+ contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
2883
+ }
2881
2884
  if (data.type != null) {
2882
2885
  contents.Type = (0, smithy_client_1.expectString)(data.type);
2883
2886
  }
@@ -4801,6 +4804,9 @@ const deserializeAws_restJson1UpdateInputDeviceCommand = async (output, context)
4801
4804
  if (data.serialNumber != null) {
4802
4805
  contents.SerialNumber = (0, smithy_client_1.expectString)(data.serialNumber);
4803
4806
  }
4807
+ if (data.tags != null) {
4808
+ contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
4809
+ }
4804
4810
  if (data.type != null) {
4805
4811
  contents.Type = (0, smithy_client_1.expectString)(data.type);
4806
4812
  }
@@ -6287,6 +6293,7 @@ const serializeAws_restJson1HlsGroupSettings = (input, context) => {
6287
6293
  };
6288
6294
  const serializeAws_restJson1HlsId3SegmentTaggingScheduleActionSettings = (input, context) => {
6289
6295
  return {
6296
+ ...(input.Id3 != null && { id3: input.Id3 }),
6290
6297
  ...(input.Tag != null && { tag: input.Tag }),
6291
6298
  };
6292
6299
  };
@@ -8826,6 +8833,7 @@ const deserializeAws_restJson1HlsGroupSettings = (output, context) => {
8826
8833
  };
8827
8834
  const deserializeAws_restJson1HlsId3SegmentTaggingScheduleActionSettings = (output, context) => {
8828
8835
  return {
8836
+ Id3: (0, smithy_client_1.expectString)(output.id3),
8829
8837
  Tag: (0, smithy_client_1.expectString)(output.tag),
8830
8838
  };
8831
8839
  };
@@ -9008,6 +9016,7 @@ const deserializeAws_restJson1InputDeviceSummary = (output, context) => {
9008
9016
  ? deserializeAws_restJson1InputDeviceNetworkSettings(output.networkSettings, context)
9009
9017
  : undefined,
9010
9018
  SerialNumber: (0, smithy_client_1.expectString)(output.serialNumber),
9019
+ Tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
9011
9020
  Type: (0, smithy_client_1.expectString)(output.type),
9012
9021
  UhdDeviceSettings: output.uhdDeviceSettings != null
9013
9022
  ? deserializeAws_restJson1InputDeviceUhdSettings(output.uhdDeviceSettings, context)
@@ -2790,6 +2790,9 @@ export const deserializeAws_restJson1DescribeInputDeviceCommand = async (output,
2790
2790
  if (data.serialNumber != null) {
2791
2791
  contents.SerialNumber = __expectString(data.serialNumber);
2792
2792
  }
2793
+ if (data.tags != null) {
2794
+ contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
2795
+ }
2793
2796
  if (data.type != null) {
2794
2797
  contents.Type = __expectString(data.type);
2795
2798
  }
@@ -4683,6 +4686,9 @@ export const deserializeAws_restJson1UpdateInputDeviceCommand = async (output, c
4683
4686
  if (data.serialNumber != null) {
4684
4687
  contents.SerialNumber = __expectString(data.serialNumber);
4685
4688
  }
4689
+ if (data.tags != null) {
4690
+ contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
4691
+ }
4686
4692
  if (data.type != null) {
4687
4693
  contents.Type = __expectString(data.type);
4688
4694
  }
@@ -6164,6 +6170,7 @@ const serializeAws_restJson1HlsGroupSettings = (input, context) => {
6164
6170
  };
6165
6171
  const serializeAws_restJson1HlsId3SegmentTaggingScheduleActionSettings = (input, context) => {
6166
6172
  return {
6173
+ ...(input.Id3 != null && { id3: input.Id3 }),
6167
6174
  ...(input.Tag != null && { tag: input.Tag }),
6168
6175
  };
6169
6176
  };
@@ -8703,6 +8710,7 @@ const deserializeAws_restJson1HlsGroupSettings = (output, context) => {
8703
8710
  };
8704
8711
  const deserializeAws_restJson1HlsId3SegmentTaggingScheduleActionSettings = (output, context) => {
8705
8712
  return {
8713
+ Id3: __expectString(output.id3),
8706
8714
  Tag: __expectString(output.tag),
8707
8715
  };
8708
8716
  };
@@ -8885,6 +8893,7 @@ const deserializeAws_restJson1InputDeviceSummary = (output, context) => {
8885
8893
  ? deserializeAws_restJson1InputDeviceNetworkSettings(output.networkSettings, context)
8886
8894
  : undefined,
8887
8895
  SerialNumber: __expectString(output.serialNumber),
8896
+ Tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
8888
8897
  Type: __expectString(output.type),
8889
8898
  UhdDeviceSettings: output.uhdDeviceSettings != null
8890
8899
  ? deserializeAws_restJson1InputDeviceUhdSettings(output.uhdDeviceSettings, context)
@@ -26,6 +26,9 @@ export interface AcceptInputDeviceTransferCommandOutput extends AcceptInputDevic
26
26
  * import { MediaLiveClient, AcceptInputDeviceTransferCommand } from "@aws-sdk/client-medialive"; // ES Modules import
27
27
  * // const { MediaLiveClient, AcceptInputDeviceTransferCommand } = require("@aws-sdk/client-medialive"); // CommonJS import
28
28
  * const client = new MediaLiveClient(config);
29
+ * const input = { // AcceptInputDeviceTransferRequest
30
+ * InputDeviceId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new AcceptInputDeviceTransferCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,20 @@ export interface BatchDeleteCommandOutput extends BatchDeleteResponse, __Metadat
26
26
  * import { MediaLiveClient, BatchDeleteCommand } from "@aws-sdk/client-medialive"; // ES Modules import
27
27
  * // const { MediaLiveClient, BatchDeleteCommand } = require("@aws-sdk/client-medialive"); // CommonJS import
28
28
  * const client = new MediaLiveClient(config);
29
+ * const input = { // BatchDeleteRequest
30
+ * ChannelIds: [ // __listOf__string
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * InputIds: [
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * InputSecurityGroupIds: [
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * MultiplexIds: [
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * };
29
43
  * const command = new BatchDeleteCommand(input);
30
44
  * const response = await client.send(command);
31
45
  * ```
@@ -26,6 +26,14 @@ export interface BatchStartCommandOutput extends BatchStartResponse, __MetadataB
26
26
  * import { MediaLiveClient, BatchStartCommand } from "@aws-sdk/client-medialive"; // ES Modules import
27
27
  * // const { MediaLiveClient, BatchStartCommand } = require("@aws-sdk/client-medialive"); // CommonJS import
28
28
  * const client = new MediaLiveClient(config);
29
+ * const input = { // BatchStartRequest
30
+ * ChannelIds: [ // __listOf__string
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * MultiplexIds: [
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * };
29
37
  * const command = new BatchStartCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -26,6 +26,14 @@ export interface BatchStopCommandOutput extends BatchStopResponse, __MetadataBea
26
26
  * import { MediaLiveClient, BatchStopCommand } from "@aws-sdk/client-medialive"; // ES Modules import
27
27
  * // const { MediaLiveClient, BatchStopCommand } = require("@aws-sdk/client-medialive"); // CommonJS import
28
28
  * const client = new MediaLiveClient(config);
29
+ * const input = { // BatchStopRequest
30
+ * ChannelIds: [ // __listOf__string
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * MultiplexIds: [
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * };
29
37
  * const command = new BatchStopCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -26,6 +26,143 @@ export interface BatchUpdateScheduleCommandOutput extends BatchUpdateScheduleRes
26
26
  * import { MediaLiveClient, BatchUpdateScheduleCommand } from "@aws-sdk/client-medialive"; // ES Modules import
27
27
  * // const { MediaLiveClient, BatchUpdateScheduleCommand } = require("@aws-sdk/client-medialive"); // CommonJS import
28
28
  * const client = new MediaLiveClient(config);
29
+ * const input = { // BatchUpdateScheduleRequest
30
+ * ChannelId: "STRING_VALUE", // required
31
+ * Creates: { // BatchScheduleActionCreateRequest
32
+ * ScheduleActions: [ // __listOfScheduleAction // required
33
+ * { // ScheduleAction
34
+ * ActionName: "STRING_VALUE", // required
35
+ * ScheduleActionSettings: { // ScheduleActionSettings
36
+ * HlsId3SegmentTaggingSettings: { // HlsId3SegmentTaggingScheduleActionSettings
37
+ * Tag: "STRING_VALUE",
38
+ * Id3: "STRING_VALUE",
39
+ * },
40
+ * HlsTimedMetadataSettings: { // HlsTimedMetadataScheduleActionSettings
41
+ * Id3: "STRING_VALUE", // required
42
+ * },
43
+ * InputPrepareSettings: { // InputPrepareScheduleActionSettings
44
+ * InputAttachmentNameReference: "STRING_VALUE",
45
+ * InputClippingSettings: { // InputClippingSettings
46
+ * InputTimecodeSource: "ZEROBASED" || "EMBEDDED", // required
47
+ * StartTimecode: { // StartTimecode
48
+ * Timecode: "STRING_VALUE",
49
+ * },
50
+ * StopTimecode: { // StopTimecode
51
+ * LastFrameClippingBehavior: "EXCLUDE_LAST_FRAME" || "INCLUDE_LAST_FRAME",
52
+ * Timecode: "STRING_VALUE",
53
+ * },
54
+ * },
55
+ * UrlPath: [ // __listOf__string
56
+ * "STRING_VALUE",
57
+ * ],
58
+ * },
59
+ * InputSwitchSettings: { // InputSwitchScheduleActionSettings
60
+ * InputAttachmentNameReference: "STRING_VALUE", // required
61
+ * InputClippingSettings: {
62
+ * InputTimecodeSource: "ZEROBASED" || "EMBEDDED", // required
63
+ * StartTimecode: {
64
+ * Timecode: "STRING_VALUE",
65
+ * },
66
+ * StopTimecode: {
67
+ * LastFrameClippingBehavior: "EXCLUDE_LAST_FRAME" || "INCLUDE_LAST_FRAME",
68
+ * Timecode: "STRING_VALUE",
69
+ * },
70
+ * },
71
+ * UrlPath: [
72
+ * "STRING_VALUE",
73
+ * ],
74
+ * },
75
+ * MotionGraphicsImageActivateSettings: { // MotionGraphicsActivateScheduleActionSettings
76
+ * Duration: Number("long"),
77
+ * PasswordParam: "STRING_VALUE",
78
+ * Url: "STRING_VALUE",
79
+ * Username: "STRING_VALUE",
80
+ * },
81
+ * MotionGraphicsImageDeactivateSettings: {},
82
+ * PauseStateSettings: { // PauseStateScheduleActionSettings
83
+ * Pipelines: [ // __listOfPipelinePauseStateSettings
84
+ * { // PipelinePauseStateSettings
85
+ * PipelineId: "PIPELINE_0" || "PIPELINE_1", // required
86
+ * },
87
+ * ],
88
+ * },
89
+ * Scte35InputSettings: { // Scte35InputScheduleActionSettings
90
+ * InputAttachmentNameReference: "STRING_VALUE",
91
+ * Mode: "FIXED" || "FOLLOW_ACTIVE", // required
92
+ * },
93
+ * Scte35ReturnToNetworkSettings: { // Scte35ReturnToNetworkScheduleActionSettings
94
+ * SpliceEventId: Number("long"), // required
95
+ * },
96
+ * Scte35SpliceInsertSettings: { // Scte35SpliceInsertScheduleActionSettings
97
+ * Duration: Number("long"),
98
+ * SpliceEventId: Number("long"), // required
99
+ * },
100
+ * Scte35TimeSignalSettings: { // Scte35TimeSignalScheduleActionSettings
101
+ * Scte35Descriptors: [ // __listOfScte35Descriptor // required
102
+ * { // Scte35Descriptor
103
+ * Scte35DescriptorSettings: { // Scte35DescriptorSettings
104
+ * SegmentationDescriptorScte35DescriptorSettings: { // Scte35SegmentationDescriptor
105
+ * DeliveryRestrictions: { // Scte35DeliveryRestrictions
106
+ * ArchiveAllowedFlag: "ARCHIVE_NOT_ALLOWED" || "ARCHIVE_ALLOWED", // required
107
+ * DeviceRestrictions: "NONE" || "RESTRICT_GROUP0" || "RESTRICT_GROUP1" || "RESTRICT_GROUP2", // required
108
+ * NoRegionalBlackoutFlag: "REGIONAL_BLACKOUT" || "NO_REGIONAL_BLACKOUT", // required
109
+ * WebDeliveryAllowedFlag: "WEB_DELIVERY_NOT_ALLOWED" || "WEB_DELIVERY_ALLOWED", // required
110
+ * },
111
+ * SegmentNum: Number("int"),
112
+ * SegmentationCancelIndicator: "SEGMENTATION_EVENT_NOT_CANCELED" || "SEGMENTATION_EVENT_CANCELED", // required
113
+ * SegmentationDuration: Number("long"),
114
+ * SegmentationEventId: Number("long"), // required
115
+ * SegmentationTypeId: Number("int"),
116
+ * SegmentationUpid: "STRING_VALUE",
117
+ * SegmentationUpidType: Number("int"),
118
+ * SegmentsExpected: Number("int"),
119
+ * SubSegmentNum: Number("int"),
120
+ * SubSegmentsExpected: Number("int"),
121
+ * },
122
+ * },
123
+ * },
124
+ * ],
125
+ * },
126
+ * StaticImageActivateSettings: { // StaticImageActivateScheduleActionSettings
127
+ * Duration: Number("int"),
128
+ * FadeIn: Number("int"),
129
+ * FadeOut: Number("int"),
130
+ * Height: Number("int"),
131
+ * Image: { // InputLocation
132
+ * PasswordParam: "STRING_VALUE",
133
+ * Uri: "STRING_VALUE", // required
134
+ * Username: "STRING_VALUE",
135
+ * },
136
+ * ImageX: Number("int"),
137
+ * ImageY: Number("int"),
138
+ * Layer: Number("int"),
139
+ * Opacity: Number("int"),
140
+ * Width: Number("int"),
141
+ * },
142
+ * StaticImageDeactivateSettings: { // StaticImageDeactivateScheduleActionSettings
143
+ * FadeOut: Number("int"),
144
+ * Layer: Number("int"),
145
+ * },
146
+ * },
147
+ * ScheduleActionStartSettings: { // ScheduleActionStartSettings
148
+ * FixedModeScheduleActionStartSettings: { // FixedModeScheduleActionStartSettings
149
+ * Time: "STRING_VALUE", // required
150
+ * },
151
+ * FollowModeScheduleActionStartSettings: { // FollowModeScheduleActionStartSettings
152
+ * FollowPoint: "END" || "START", // required
153
+ * ReferenceActionName: "STRING_VALUE", // required
154
+ * },
155
+ * ImmediateModeScheduleActionStartSettings: {},
156
+ * },
157
+ * },
158
+ * ],
159
+ * },
160
+ * Deletes: { // BatchScheduleActionDeleteRequest
161
+ * ActionNames: [ // required
162
+ * "STRING_VALUE",
163
+ * ],
164
+ * },
165
+ * };
29
166
  * const command = new BatchUpdateScheduleCommand(input);
30
167
  * const response = await client.send(command);
31
168
  * ```
@@ -26,6 +26,9 @@ export interface CancelInputDeviceTransferCommandOutput extends CancelInputDevic
26
26
  * import { MediaLiveClient, CancelInputDeviceTransferCommand } from "@aws-sdk/client-medialive"; // ES Modules import
27
27
  * // const { MediaLiveClient, CancelInputDeviceTransferCommand } = require("@aws-sdk/client-medialive"); // CommonJS import
28
28
  * const client = new MediaLiveClient(config);
29
+ * const input = { // CancelInputDeviceTransferRequest
30
+ * InputDeviceId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new CancelInputDeviceTransferCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface ClaimDeviceCommandOutput extends ClaimDeviceResponse, __Metadat
26
26
  * import { MediaLiveClient, ClaimDeviceCommand } from "@aws-sdk/client-medialive"; // ES Modules import
27
27
  * // const { MediaLiveClient, ClaimDeviceCommand } = require("@aws-sdk/client-medialive"); // CommonJS import
28
28
  * const client = new MediaLiveClient(config);
29
+ * const input = { // ClaimDeviceRequest
30
+ * Id: "STRING_VALUE",
31
+ * };
29
32
  * const command = new ClaimDeviceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```