@aws-sdk/client-medialive 3.781.0 → 3.784.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 (57) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +332 -14
  3. package/dist-es/MediaLive.js +10 -0
  4. package/dist-es/commands/CreateSdiSourceCommand.js +22 -0
  5. package/dist-es/commands/DeleteSdiSourceCommand.js +22 -0
  6. package/dist-es/commands/DescribeSdiSourceCommand.js +22 -0
  7. package/dist-es/commands/ListSdiSourcesCommand.js +22 -0
  8. package/dist-es/commands/UpdateSdiSourceCommand.js +22 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +1 -4
  11. package/dist-es/models/models_1.js +17 -8
  12. package/dist-es/models/models_2.js +8 -0
  13. package/dist-es/pagination/ListSdiSourcesPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/protocols/Aws_restJson1.js +204 -0
  16. package/dist-types/MediaLive.d.ts +37 -0
  17. package/dist-types/MediaLiveClient.d.ts +7 -2
  18. package/dist-types/commands/CancelInputDeviceTransferCommand.d.ts +1 -1
  19. package/dist-types/commands/CreateInputCommand.d.ts +8 -2
  20. package/dist-types/commands/CreateNodeCommand.d.ts +7 -0
  21. package/dist-types/commands/CreatePartnerInputCommand.d.ts +4 -1
  22. package/dist-types/commands/CreateSdiSourceCommand.d.ts +109 -0
  23. package/dist-types/commands/DeleteNodeCommand.d.ts +7 -0
  24. package/dist-types/commands/DeleteSdiSourceCommand.d.ts +106 -0
  25. package/dist-types/commands/DescribeInputCommand.d.ts +4 -1
  26. package/dist-types/commands/DescribeNodeCommand.d.ts +7 -0
  27. package/dist-types/commands/DescribeSdiSourceCommand.d.ts +103 -0
  28. package/dist-types/commands/ListInputsCommand.d.ts +4 -1
  29. package/dist-types/commands/ListNodesCommand.d.ts +7 -0
  30. package/dist-types/commands/ListSdiSourcesCommand.d.ts +104 -0
  31. package/dist-types/commands/UpdateInputCommand.d.ts +7 -1
  32. package/dist-types/commands/UpdateNodeCommand.d.ts +14 -0
  33. package/dist-types/commands/UpdateNodeStateCommand.d.ts +7 -0
  34. package/dist-types/commands/UpdateSdiSourceCommand.d.ts +106 -0
  35. package/dist-types/commands/index.d.ts +5 -0
  36. package/dist-types/models/models_0.d.ts +32 -12
  37. package/dist-types/models/models_1.d.ts +91 -53
  38. package/dist-types/models/models_2.d.ts +316 -2
  39. package/dist-types/pagination/ListSdiSourcesPaginator.d.ts +7 -0
  40. package/dist-types/pagination/index.d.ts +1 -0
  41. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  42. package/dist-types/ts3.4/MediaLive.d.ts +87 -0
  43. package/dist-types/ts3.4/MediaLiveClient.d.ts +32 -2
  44. package/dist-types/ts3.4/commands/CancelInputDeviceTransferCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/CreateSdiSourceCommand.d.ts +50 -0
  46. package/dist-types/ts3.4/commands/DeleteSdiSourceCommand.d.ts +50 -0
  47. package/dist-types/ts3.4/commands/DescribeSdiSourceCommand.d.ts +51 -0
  48. package/dist-types/ts3.4/commands/ListSdiSourcesCommand.d.ts +50 -0
  49. package/dist-types/ts3.4/commands/UpdateSdiSourceCommand.d.ts +50 -0
  50. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  51. package/dist-types/ts3.4/models/models_0.d.ts +8 -6
  52. package/dist-types/ts3.4/models/models_1.d.ts +32 -21
  53. package/dist-types/ts3.4/models/models_2.d.ts +87 -3
  54. package/dist-types/ts3.4/pagination/ListSdiSourcesPaginator.d.ts +11 -0
  55. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  56. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  57. package/package.json +5 -5
@@ -21,6 +21,7 @@ import { CreateNetworkCommand, } from "./commands/CreateNetworkCommand";
21
21
  import { CreateNodeCommand } from "./commands/CreateNodeCommand";
22
22
  import { CreateNodeRegistrationScriptCommand, } from "./commands/CreateNodeRegistrationScriptCommand";
23
23
  import { CreatePartnerInputCommand, } from "./commands/CreatePartnerInputCommand";
24
+ import { CreateSdiSourceCommand, } from "./commands/CreateSdiSourceCommand";
24
25
  import { CreateSignalMapCommand, } from "./commands/CreateSignalMapCommand";
25
26
  import { CreateTagsCommand } from "./commands/CreateTagsCommand";
26
27
  import { DeleteChannelCommand, } from "./commands/DeleteChannelCommand";
@@ -38,6 +39,7 @@ import { DeleteNetworkCommand, } from "./commands/DeleteNetworkCommand";
38
39
  import { DeleteNodeCommand } from "./commands/DeleteNodeCommand";
39
40
  import { DeleteReservationCommand, } from "./commands/DeleteReservationCommand";
40
41
  import { DeleteScheduleCommand, } from "./commands/DeleteScheduleCommand";
42
+ import { DeleteSdiSourceCommand, } from "./commands/DeleteSdiSourceCommand";
41
43
  import { DeleteSignalMapCommand, } from "./commands/DeleteSignalMapCommand";
42
44
  import { DeleteTagsCommand } from "./commands/DeleteTagsCommand";
43
45
  import { DescribeAccountConfigurationCommand, } from "./commands/DescribeAccountConfigurationCommand";
@@ -55,6 +57,7 @@ import { DescribeNodeCommand, } from "./commands/DescribeNodeCommand";
55
57
  import { DescribeOfferingCommand, } from "./commands/DescribeOfferingCommand";
56
58
  import { DescribeReservationCommand, } from "./commands/DescribeReservationCommand";
57
59
  import { DescribeScheduleCommand, } from "./commands/DescribeScheduleCommand";
60
+ import { DescribeSdiSourceCommand, } from "./commands/DescribeSdiSourceCommand";
58
61
  import { DescribeThumbnailsCommand, } from "./commands/DescribeThumbnailsCommand";
59
62
  import { GetCloudWatchAlarmTemplateCommand, } from "./commands/GetCloudWatchAlarmTemplateCommand";
60
63
  import { GetCloudWatchAlarmTemplateGroupCommand, } from "./commands/GetCloudWatchAlarmTemplateGroupCommand";
@@ -78,6 +81,7 @@ import { ListNetworksCommand, } from "./commands/ListNetworksCommand";
78
81
  import { ListNodesCommand } from "./commands/ListNodesCommand";
79
82
  import { ListOfferingsCommand, } from "./commands/ListOfferingsCommand";
80
83
  import { ListReservationsCommand, } from "./commands/ListReservationsCommand";
84
+ import { ListSdiSourcesCommand, } from "./commands/ListSdiSourcesCommand";
81
85
  import { ListSignalMapsCommand, } from "./commands/ListSignalMapsCommand";
82
86
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
83
87
  import { ListVersionsCommand, } from "./commands/ListVersionsCommand";
@@ -114,6 +118,7 @@ import { UpdateNetworkCommand, } from "./commands/UpdateNetworkCommand";
114
118
  import { UpdateNodeCommand } from "./commands/UpdateNodeCommand";
115
119
  import { UpdateNodeStateCommand, } from "./commands/UpdateNodeStateCommand";
116
120
  import { UpdateReservationCommand, } from "./commands/UpdateReservationCommand";
121
+ import { UpdateSdiSourceCommand, } from "./commands/UpdateSdiSourceCommand";
117
122
  import { MediaLiveClient } from "./MediaLiveClient";
118
123
  const commands = {
119
124
  AcceptInputDeviceTransferCommand,
@@ -138,6 +143,7 @@ const commands = {
138
143
  CreateNodeCommand,
139
144
  CreateNodeRegistrationScriptCommand,
140
145
  CreatePartnerInputCommand,
146
+ CreateSdiSourceCommand,
141
147
  CreateSignalMapCommand,
142
148
  CreateTagsCommand,
143
149
  DeleteChannelCommand,
@@ -155,6 +161,7 @@ const commands = {
155
161
  DeleteNodeCommand,
156
162
  DeleteReservationCommand,
157
163
  DeleteScheduleCommand,
164
+ DeleteSdiSourceCommand,
158
165
  DeleteSignalMapCommand,
159
166
  DeleteTagsCommand,
160
167
  DescribeAccountConfigurationCommand,
@@ -172,6 +179,7 @@ const commands = {
172
179
  DescribeOfferingCommand,
173
180
  DescribeReservationCommand,
174
181
  DescribeScheduleCommand,
182
+ DescribeSdiSourceCommand,
175
183
  DescribeThumbnailsCommand,
176
184
  GetCloudWatchAlarmTemplateCommand,
177
185
  GetCloudWatchAlarmTemplateGroupCommand,
@@ -195,6 +203,7 @@ const commands = {
195
203
  ListNodesCommand,
196
204
  ListOfferingsCommand,
197
205
  ListReservationsCommand,
206
+ ListSdiSourcesCommand,
198
207
  ListSignalMapsCommand,
199
208
  ListTagsForResourceCommand,
200
209
  ListVersionsCommand,
@@ -231,6 +240,7 @@ const commands = {
231
240
  UpdateNodeCommand,
232
241
  UpdateNodeStateCommand,
233
242
  UpdateReservationCommand,
243
+ UpdateSdiSourceCommand,
234
244
  };
235
245
  export class MediaLive extends MediaLiveClient {
236
246
  }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateSdiSourceCommand, se_CreateSdiSourceCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CreateSdiSourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("MediaLive", "CreateSdiSource", {})
17
+ .n("MediaLiveClient", "CreateSdiSourceCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_CreateSdiSourceCommand)
20
+ .de(de_CreateSdiSourceCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteSdiSourceCommand, se_DeleteSdiSourceCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteSdiSourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("MediaLive", "DeleteSdiSource", {})
17
+ .n("MediaLiveClient", "DeleteSdiSourceCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteSdiSourceCommand)
20
+ .de(de_DeleteSdiSourceCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DescribeSdiSourceCommand, se_DescribeSdiSourceCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DescribeSdiSourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("MediaLive", "DescribeSdiSource", {})
17
+ .n("MediaLiveClient", "DescribeSdiSourceCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DescribeSdiSourceCommand)
20
+ .de(de_DescribeSdiSourceCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListSdiSourcesCommand, se_ListSdiSourcesCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListSdiSourcesCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("MediaLive", "ListSdiSources", {})
17
+ .n("MediaLiveClient", "ListSdiSourcesCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListSdiSourcesCommand)
20
+ .de(de_ListSdiSourcesCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateSdiSourceCommand, se_UpdateSdiSourceCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateSdiSourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("MediaLive", "UpdateSdiSource", {})
17
+ .n("MediaLiveClient", "UpdateSdiSourceCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateSdiSourceCommand)
20
+ .de(de_UpdateSdiSourceCommand)
21
+ .build() {
22
+ }
@@ -20,6 +20,7 @@ export * from "./CreateNetworkCommand";
20
20
  export * from "./CreateNodeCommand";
21
21
  export * from "./CreateNodeRegistrationScriptCommand";
22
22
  export * from "./CreatePartnerInputCommand";
23
+ export * from "./CreateSdiSourceCommand";
23
24
  export * from "./CreateSignalMapCommand";
24
25
  export * from "./CreateTagsCommand";
25
26
  export * from "./DeleteChannelCommand";
@@ -37,6 +38,7 @@ export * from "./DeleteNetworkCommand";
37
38
  export * from "./DeleteNodeCommand";
38
39
  export * from "./DeleteReservationCommand";
39
40
  export * from "./DeleteScheduleCommand";
41
+ export * from "./DeleteSdiSourceCommand";
40
42
  export * from "./DeleteSignalMapCommand";
41
43
  export * from "./DeleteTagsCommand";
42
44
  export * from "./DescribeAccountConfigurationCommand";
@@ -54,6 +56,7 @@ export * from "./DescribeNodeCommand";
54
56
  export * from "./DescribeOfferingCommand";
55
57
  export * from "./DescribeReservationCommand";
56
58
  export * from "./DescribeScheduleCommand";
59
+ export * from "./DescribeSdiSourceCommand";
57
60
  export * from "./DescribeThumbnailsCommand";
58
61
  export * from "./GetCloudWatchAlarmTemplateCommand";
59
62
  export * from "./GetCloudWatchAlarmTemplateGroupCommand";
@@ -77,6 +80,7 @@ export * from "./ListNetworksCommand";
77
80
  export * from "./ListNodesCommand";
78
81
  export * from "./ListOfferingsCommand";
79
82
  export * from "./ListReservationsCommand";
83
+ export * from "./ListSdiSourcesCommand";
80
84
  export * from "./ListSignalMapsCommand";
81
85
  export * from "./ListTagsForResourceCommand";
82
86
  export * from "./ListVersionsCommand";
@@ -113,3 +117,4 @@ export * from "./UpdateNetworkCommand";
113
117
  export * from "./UpdateNodeCommand";
114
118
  export * from "./UpdateNodeStateCommand";
115
119
  export * from "./UpdateReservationCommand";
120
+ export * from "./UpdateSdiSourceCommand";
@@ -624,6 +624,7 @@ export const InputType = {
624
624
  RTMP_PULL: "RTMP_PULL",
625
625
  RTMP_PUSH: "RTMP_PUSH",
626
626
  RTP_PUSH: "RTP_PUSH",
627
+ SDI: "SDI",
627
628
  SMPTE_2110_RECEIVER_GROUP: "SMPTE_2110_RECEIVER_GROUP",
628
629
  SRT_CALLER: "SRT_CALLER",
629
630
  TS_FILE: "TS_FILE",
@@ -842,7 +843,3 @@ export const M2tsSegmentationStyle = {
842
843
  MAINTAIN_CADENCE: "MAINTAIN_CADENCE",
843
844
  RESET_CADENCE: "RESET_CADENCE",
844
845
  };
845
- export const M2tsTimedMetadataBehavior = {
846
- NO_PASSTHROUGH: "NO_PASSTHROUGH",
847
- PASSTHROUGH: "PASSTHROUGH",
848
- };
@@ -1,4 +1,8 @@
1
1
  import { MediaLiveServiceException as __BaseException } from "./MediaLiveServiceException";
2
+ export const M2tsTimedMetadataBehavior = {
3
+ NO_PASSTHROUGH: "NO_PASSTHROUGH",
4
+ PASSTHROUGH: "PASSTHROUGH",
5
+ };
2
6
  export const HlsH265PackagingType = {
3
7
  HEV1: "HEV1",
4
8
  HVC1: "HVC1",
@@ -316,6 +320,19 @@ export const FollowPoint = {
316
320
  END: "END",
317
321
  START: "START",
318
322
  };
323
+ export const SdiSourceMode = {
324
+ INTERLEAVE: "INTERLEAVE",
325
+ QUADRANT: "QUADRANT",
326
+ };
327
+ export const SdiSourceState = {
328
+ DELETED: "DELETED",
329
+ IDLE: "IDLE",
330
+ IN_USE: "IN_USE",
331
+ };
332
+ export const SdiSourceType = {
333
+ QUAD: "QUAD",
334
+ SINGLE: "SINGLE",
335
+ };
319
336
  export const SignalMapMonitorDeploymentStatus = {
320
337
  DELETE_COMPLETE: "DELETE_COMPLETE",
321
338
  DELETE_FAILED: "DELETE_FAILED",
@@ -862,11 +879,3 @@ export const BlackoutSlateState = {
862
879
  DISABLED: "DISABLED",
863
880
  ENABLED: "ENABLED",
864
881
  };
865
- export const FeatureActivationsInputPrepareScheduleActions = {
866
- DISABLED: "DISABLED",
867
- ENABLED: "ENABLED",
868
- };
869
- export const FeatureActivationsOutputStaticImageOverlayScheduleActions = {
870
- DISABLED: "DISABLED",
871
- ENABLED: "ENABLED",
872
- };
@@ -1,3 +1,11 @@
1
+ export const FeatureActivationsInputPrepareScheduleActions = {
2
+ DISABLED: "DISABLED",
3
+ ENABLED: "ENABLED",
4
+ };
5
+ export const FeatureActivationsOutputStaticImageOverlayScheduleActions = {
6
+ DISABLED: "DISABLED",
7
+ ENABLED: "ENABLED",
8
+ };
1
9
  export const GlobalConfigurationInputEndAction = {
2
10
  NONE: "NONE",
3
11
  SWITCH_AND_LOOP_INPUTS: "SWITCH_AND_LOOP_INPUTS",
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListSdiSourcesCommand, } from "../commands/ListSdiSourcesCommand";
3
+ import { MediaLiveClient } from "../MediaLiveClient";
4
+ export const paginateListSdiSources = createPaginator(MediaLiveClient, ListSdiSourcesCommand, "NextToken", "NextToken", "MaxResults");
@@ -17,4 +17,5 @@ export * from "./ListNetworksPaginator";
17
17
  export * from "./ListNodesPaginator";
18
18
  export * from "./ListOfferingsPaginator";
19
19
  export * from "./ListReservationsPaginator";
20
+ export * from "./ListSdiSourcesPaginator";
20
21
  export * from "./ListSignalMapsPaginator";
@@ -252,6 +252,7 @@ export const se_CreateInputCommand = async (input, context) => {
252
252
  name: [, , `Name`],
253
253
  requestId: [true, (_) => _ ?? generateIdempotencyToken(), `RequestId`],
254
254
  roleArn: [, , `RoleArn`],
255
+ sdiSources: [, (_) => _json(_), `SdiSources`],
255
256
  smpte2110ReceiverGroupSettings: [
256
257
  ,
257
258
  (_) => se_Smpte2110ReceiverGroupSettings(_, context),
@@ -385,6 +386,23 @@ export const se_CreatePartnerInputCommand = async (input, context) => {
385
386
  b.m("POST").h(headers).b(body);
386
387
  return b.build();
387
388
  };
389
+ export const se_CreateSdiSourceCommand = async (input, context) => {
390
+ const b = rb(input, context);
391
+ const headers = {
392
+ "content-type": "application/json",
393
+ };
394
+ b.bp("/prod/sdiSources");
395
+ let body;
396
+ body = JSON.stringify(take(input, {
397
+ mode: [, , `Mode`],
398
+ name: [, , `Name`],
399
+ requestId: [true, (_) => _ ?? generateIdempotencyToken(), `RequestId`],
400
+ tags: [, (_) => _json(_), `Tags`],
401
+ type: [, , `Type`],
402
+ }));
403
+ b.m("POST").h(headers).b(body);
404
+ return b.build();
405
+ };
388
406
  export const se_CreateSignalMapCommand = async (input, context) => {
389
407
  const b = rb(input, context);
390
408
  const headers = {
@@ -556,6 +574,15 @@ export const se_DeleteScheduleCommand = async (input, context) => {
556
574
  b.m("DELETE").h(headers).b(body);
557
575
  return b.build();
558
576
  };
577
+ export const se_DeleteSdiSourceCommand = async (input, context) => {
578
+ const b = rb(input, context);
579
+ const headers = {};
580
+ b.bp("/prod/sdiSources/{SdiSourceId}");
581
+ b.p("SdiSourceId", () => input.SdiSourceId, "{SdiSourceId}", false);
582
+ let body;
583
+ b.m("DELETE").h(headers).b(body);
584
+ return b.build();
585
+ };
559
586
  export const se_DeleteSignalMapCommand = async (input, context) => {
560
587
  const b = rb(input, context);
561
588
  const headers = {};
@@ -720,6 +747,15 @@ export const se_DescribeScheduleCommand = async (input, context) => {
720
747
  b.m("GET").h(headers).q(query).b(body);
721
748
  return b.build();
722
749
  };
750
+ export const se_DescribeSdiSourceCommand = async (input, context) => {
751
+ const b = rb(input, context);
752
+ const headers = {};
753
+ b.bp("/prod/sdiSources/{SdiSourceId}");
754
+ b.p("SdiSourceId", () => input.SdiSourceId, "{SdiSourceId}", false);
755
+ let body;
756
+ b.m("GET").h(headers).b(body);
757
+ return b.build();
758
+ };
723
759
  export const se_DescribeThumbnailsCommand = async (input, context) => {
724
760
  const b = rb(input, context);
725
761
  const headers = {};
@@ -1012,6 +1048,18 @@ export const se_ListReservationsCommand = async (input, context) => {
1012
1048
  b.m("GET").h(headers).q(query).b(body);
1013
1049
  return b.build();
1014
1050
  };
1051
+ export const se_ListSdiSourcesCommand = async (input, context) => {
1052
+ const b = rb(input, context);
1053
+ const headers = {};
1054
+ b.bp("/prod/sdiSources");
1055
+ const query = map({
1056
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
1057
+ [_nT]: [, input[_NT]],
1058
+ });
1059
+ let body;
1060
+ b.m("GET").h(headers).q(query).b(body);
1061
+ return b.build();
1062
+ };
1015
1063
  export const se_ListSignalMapsCommand = async (input, context) => {
1016
1064
  const b = rb(input, context);
1017
1065
  const headers = {};
@@ -1390,6 +1438,7 @@ export const se_UpdateInputCommand = async (input, context) => {
1390
1438
  multicastSettings: [, (_) => se_MulticastSettingsUpdateRequest(_, context), `MulticastSettings`],
1391
1439
  name: [, , `Name`],
1392
1440
  roleArn: [, , `RoleArn`],
1441
+ sdiSources: [, (_) => _json(_), `SdiSources`],
1393
1442
  smpte2110ReceiverGroupSettings: [
1394
1443
  ,
1395
1444
  (_) => se_Smpte2110ReceiverGroupSettings(_, context),
@@ -1492,6 +1541,7 @@ export const se_UpdateNodeCommand = async (input, context) => {
1492
1541
  body = JSON.stringify(take(input, {
1493
1542
  name: [, , `Name`],
1494
1543
  role: [, , `Role`],
1544
+ sdiSourceMappings: [, (_) => se_SdiSourceMappingsUpdateRequest(_, context), `SdiSourceMappings`],
1495
1545
  }));
1496
1546
  b.m("PUT").h(headers).b(body);
1497
1547
  return b.build();
@@ -1526,6 +1576,22 @@ export const se_UpdateReservationCommand = async (input, context) => {
1526
1576
  b.m("PUT").h(headers).b(body);
1527
1577
  return b.build();
1528
1578
  };
1579
+ export const se_UpdateSdiSourceCommand = async (input, context) => {
1580
+ const b = rb(input, context);
1581
+ const headers = {
1582
+ "content-type": "application/json",
1583
+ };
1584
+ b.bp("/prod/sdiSources/{SdiSourceId}");
1585
+ b.p("SdiSourceId", () => input.SdiSourceId, "{SdiSourceId}", false);
1586
+ let body;
1587
+ body = JSON.stringify(take(input, {
1588
+ mode: [, , `Mode`],
1589
+ name: [, , `Name`],
1590
+ type: [, , `Type`],
1591
+ }));
1592
+ b.m("PUT").h(headers).b(body);
1593
+ return b.build();
1594
+ };
1529
1595
  export const de_AcceptInputDeviceTransferCommand = async (output, context) => {
1530
1596
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1531
1597
  return de_CommandError(output, context);
@@ -1858,6 +1924,7 @@ export const de_CreateNodeCommand = async (output, context) => {
1858
1924
  Name: [, __expectString, `name`],
1859
1925
  NodeInterfaceMappings: [, (_) => de___listOfNodeInterfaceMapping(_, context), `nodeInterfaceMappings`],
1860
1926
  Role: [, __expectString, `role`],
1927
+ SdiSourceMappings: [, (_) => de_SdiSourceMappings(_, context), `sdiSourceMappings`],
1861
1928
  State: [, __expectString, `state`],
1862
1929
  });
1863
1930
  Object.assign(contents, doc);
@@ -1891,6 +1958,20 @@ export const de_CreatePartnerInputCommand = async (output, context) => {
1891
1958
  Object.assign(contents, doc);
1892
1959
  return contents;
1893
1960
  };
1961
+ export const de_CreateSdiSourceCommand = async (output, context) => {
1962
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1963
+ return de_CommandError(output, context);
1964
+ }
1965
+ const contents = map({
1966
+ $metadata: deserializeMetadata(output),
1967
+ });
1968
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1969
+ const doc = take(data, {
1970
+ SdiSource: [, (_) => de_SdiSource(_, context), `sdiSource`],
1971
+ });
1972
+ Object.assign(contents, doc);
1973
+ return contents;
1974
+ };
1894
1975
  export const de_CreateSignalMapCommand = async (output, context) => {
1895
1976
  if (output.statusCode !== 201 && output.statusCode >= 300) {
1896
1977
  return de_CommandError(output, context);
@@ -2149,6 +2230,7 @@ export const de_DeleteNodeCommand = async (output, context) => {
2149
2230
  Name: [, __expectString, `name`],
2150
2231
  NodeInterfaceMappings: [, (_) => de___listOfNodeInterfaceMapping(_, context), `nodeInterfaceMappings`],
2151
2232
  Role: [, __expectString, `role`],
2233
+ SdiSourceMappings: [, (_) => de_SdiSourceMappings(_, context), `sdiSourceMappings`],
2152
2234
  State: [, __expectString, `state`],
2153
2235
  });
2154
2236
  Object.assign(contents, doc);
@@ -2196,6 +2278,20 @@ export const de_DeleteScheduleCommand = async (output, context) => {
2196
2278
  await collectBody(output.body, context);
2197
2279
  return contents;
2198
2280
  };
2281
+ export const de_DeleteSdiSourceCommand = async (output, context) => {
2282
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
2283
+ return de_CommandError(output, context);
2284
+ }
2285
+ const contents = map({
2286
+ $metadata: deserializeMetadata(output),
2287
+ });
2288
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2289
+ const doc = take(data, {
2290
+ SdiSource: [, (_) => de_SdiSource(_, context), `sdiSource`],
2291
+ });
2292
+ Object.assign(contents, doc);
2293
+ return contents;
2294
+ };
2199
2295
  export const de_DeleteSignalMapCommand = async (output, context) => {
2200
2296
  if (output.statusCode !== 204 && output.statusCode >= 300) {
2201
2297
  return de_CommandError(output, context);
@@ -2326,6 +2422,7 @@ export const de_DescribeInputCommand = async (output, context) => {
2326
2422
  MulticastSettings: [, (_) => de_MulticastSettings(_, context), `multicastSettings`],
2327
2423
  Name: [, __expectString, `name`],
2328
2424
  RoleArn: [, __expectString, `roleArn`],
2425
+ SdiSources: [, _json, `sdiSources`],
2329
2426
  SecurityGroups: [, _json, `securityGroups`],
2330
2427
  Smpte2110ReceiverGroupSettings: [
2331
2428
  ,
@@ -2484,6 +2581,7 @@ export const de_DescribeNodeCommand = async (output, context) => {
2484
2581
  Name: [, __expectString, `name`],
2485
2582
  NodeInterfaceMappings: [, (_) => de___listOfNodeInterfaceMapping(_, context), `nodeInterfaceMappings`],
2486
2583
  Role: [, __expectString, `role`],
2584
+ SdiSourceMappings: [, (_) => de_SdiSourceMappings(_, context), `sdiSourceMappings`],
2487
2585
  State: [, __expectString, `state`],
2488
2586
  });
2489
2587
  Object.assign(contents, doc);
@@ -2560,6 +2658,20 @@ export const de_DescribeScheduleCommand = async (output, context) => {
2560
2658
  Object.assign(contents, doc);
2561
2659
  return contents;
2562
2660
  };
2661
+ export const de_DescribeSdiSourceCommand = async (output, context) => {
2662
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2663
+ return de_CommandError(output, context);
2664
+ }
2665
+ const contents = map({
2666
+ $metadata: deserializeMetadata(output),
2667
+ });
2668
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2669
+ const doc = take(data, {
2670
+ SdiSource: [, (_) => de_SdiSource(_, context), `sdiSource`],
2671
+ });
2672
+ Object.assign(contents, doc);
2673
+ return contents;
2674
+ };
2563
2675
  export const de_DescribeThumbnailsCommand = async (output, context) => {
2564
2676
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2565
2677
  return de_CommandError(output, context);
@@ -2977,6 +3089,21 @@ export const de_ListReservationsCommand = async (output, context) => {
2977
3089
  Object.assign(contents, doc);
2978
3090
  return contents;
2979
3091
  };
3092
+ export const de_ListSdiSourcesCommand = async (output, context) => {
3093
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3094
+ return de_CommandError(output, context);
3095
+ }
3096
+ const contents = map({
3097
+ $metadata: deserializeMetadata(output),
3098
+ });
3099
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3100
+ const doc = take(data, {
3101
+ NextToken: [, __expectString, `nextToken`],
3102
+ SdiSources: [, (_) => de___listOfSdiSourceSummary(_, context), `sdiSources`],
3103
+ });
3104
+ Object.assign(contents, doc);
3105
+ return contents;
3106
+ };
2980
3107
  export const de_ListSignalMapsCommand = async (output, context) => {
2981
3108
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2982
3109
  return de_CommandError(output, context);
@@ -3643,6 +3770,7 @@ export const de_UpdateNodeCommand = async (output, context) => {
3643
3770
  Name: [, __expectString, `name`],
3644
3771
  NodeInterfaceMappings: [, (_) => de___listOfNodeInterfaceMapping(_, context), `nodeInterfaceMappings`],
3645
3772
  Role: [, __expectString, `role`],
3773
+ SdiSourceMappings: [, (_) => de_SdiSourceMappings(_, context), `sdiSourceMappings`],
3646
3774
  State: [, __expectString, `state`],
3647
3775
  });
3648
3776
  Object.assign(contents, doc);
@@ -3666,6 +3794,7 @@ export const de_UpdateNodeStateCommand = async (output, context) => {
3666
3794
  Name: [, __expectString, `name`],
3667
3795
  NodeInterfaceMappings: [, (_) => de___listOfNodeInterfaceMapping(_, context), `nodeInterfaceMappings`],
3668
3796
  Role: [, __expectString, `role`],
3797
+ SdiSourceMappings: [, (_) => de_SdiSourceMappings(_, context), `sdiSourceMappings`],
3669
3798
  State: [, __expectString, `state`],
3670
3799
  });
3671
3800
  Object.assign(contents, doc);
@@ -3685,6 +3814,20 @@ export const de_UpdateReservationCommand = async (output, context) => {
3685
3814
  Object.assign(contents, doc);
3686
3815
  return contents;
3687
3816
  };
3817
+ export const de_UpdateSdiSourceCommand = async (output, context) => {
3818
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3819
+ return de_CommandError(output, context);
3820
+ }
3821
+ const contents = map({
3822
+ $metadata: deserializeMetadata(output),
3823
+ });
3824
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3825
+ const doc = take(data, {
3826
+ SdiSource: [, (_) => de_SdiSource(_, context), `sdiSource`],
3827
+ });
3828
+ Object.assign(contents, doc);
3829
+ return contents;
3830
+ };
3688
3831
  const de_CommandError = async (output, context) => {
3689
3832
  const parsedOutput = {
3690
3833
  ...output,
@@ -5887,6 +6030,20 @@ const se_Scte35TimeSignalScheduleActionSettings = (input, context) => {
5887
6030
  scte35Descriptors: [, (_) => se___listOfScte35Descriptor(_, context), `Scte35Descriptors`],
5888
6031
  });
5889
6032
  };
6033
+ const se_SdiSourceMappingsUpdateRequest = (input, context) => {
6034
+ return input
6035
+ .filter((e) => e != null)
6036
+ .map((entry) => {
6037
+ return se_SdiSourceMappingUpdateRequest(entry, context);
6038
+ });
6039
+ };
6040
+ const se_SdiSourceMappingUpdateRequest = (input, context) => {
6041
+ return take(input, {
6042
+ cardNumber: [, , `CardNumber`],
6043
+ channelNumber: [, , `ChannelNumber`],
6044
+ sdiSource: [, , `SdiSource`],
6045
+ });
6046
+ };
5890
6047
  const se_Smpte2110ReceiverGroup = (input, context) => {
5891
6048
  return take(input, {
5892
6049
  sdpSettings: [, (_) => se_Smpte2110ReceiverGroupSdpSettings(_, context), `SdpSettings`],
@@ -6600,6 +6757,14 @@ const de___listOfScte35Descriptor = (output, context) => {
6600
6757
  });
6601
6758
  return retVal;
6602
6759
  };
6760
+ const de___listOfSdiSourceSummary = (output, context) => {
6761
+ const retVal = (output || [])
6762
+ .filter((e) => e != null)
6763
+ .map((entry) => {
6764
+ return de_SdiSourceSummary(entry, context);
6765
+ });
6766
+ return retVal;
6767
+ };
6603
6768
  const de___listOfSignalMapSummary = (output, context) => {
6604
6769
  const retVal = (output || [])
6605
6770
  .filter((e) => e != null)
@@ -7214,6 +7379,7 @@ const de_DescribeNodeSummary = (output, context) => {
7214
7379
  Name: [, __expectString, `name`],
7215
7380
  NodeInterfaceMappings: [, (_) => de___listOfNodeInterfaceMapping(_, context), `nodeInterfaceMappings`],
7216
7381
  Role: [, __expectString, `role`],
7382
+ SdiSourceMappings: [, (_) => de_SdiSourceMappings(_, context), `sdiSourceMappings`],
7217
7383
  State: [, __expectString, `state`],
7218
7384
  });
7219
7385
  };
@@ -7763,6 +7929,7 @@ const de_Input = (output, context) => {
7763
7929
  MulticastSettings: [, (_) => de_MulticastSettings(_, context), `multicastSettings`],
7764
7930
  Name: [, __expectString, `name`],
7765
7931
  RoleArn: [, __expectString, `roleArn`],
7932
+ SdiSources: [, _json, `sdiSources`],
7766
7933
  SecurityGroups: [, _json, `securityGroups`],
7767
7934
  Smpte2110ReceiverGroupSettings: [
7768
7935
  ,
@@ -8788,6 +8955,43 @@ const de_Scte35TimeSignalScheduleActionSettings = (output, context) => {
8788
8955
  Scte35Descriptors: [, (_) => de___listOfScte35Descriptor(_, context), `scte35Descriptors`],
8789
8956
  });
8790
8957
  };
8958
+ const de_SdiSource = (output, context) => {
8959
+ return take(output, {
8960
+ Arn: [, __expectString, `arn`],
8961
+ Id: [, __expectString, `id`],
8962
+ Inputs: [, _json, `inputs`],
8963
+ Mode: [, __expectString, `mode`],
8964
+ Name: [, __expectString, `name`],
8965
+ State: [, __expectString, `state`],
8966
+ Type: [, __expectString, `type`],
8967
+ });
8968
+ };
8969
+ const de_SdiSourceMapping = (output, context) => {
8970
+ return take(output, {
8971
+ CardNumber: [, __expectInt32, `cardNumber`],
8972
+ ChannelNumber: [, __expectInt32, `channelNumber`],
8973
+ SdiSource: [, __expectString, `sdiSource`],
8974
+ });
8975
+ };
8976
+ const de_SdiSourceMappings = (output, context) => {
8977
+ const retVal = (output || [])
8978
+ .filter((e) => e != null)
8979
+ .map((entry) => {
8980
+ return de_SdiSourceMapping(entry, context);
8981
+ });
8982
+ return retVal;
8983
+ };
8984
+ const de_SdiSourceSummary = (output, context) => {
8985
+ return take(output, {
8986
+ Arn: [, __expectString, `arn`],
8987
+ Id: [, __expectString, `id`],
8988
+ Inputs: [, _json, `inputs`],
8989
+ Mode: [, __expectString, `mode`],
8990
+ Name: [, __expectString, `name`],
8991
+ State: [, __expectString, `state`],
8992
+ Type: [, __expectString, `type`],
8993
+ });
8994
+ };
8791
8995
  const de_SignalMapSummary = (output, context) => {
8792
8996
  return take(output, {
8793
8997
  Arn: [, __expectString, `arn`],