@aws-sdk/client-medialive 3.614.0 → 3.620.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 (31) hide show
  1. package/dist-cjs/index.js +73 -10
  2. package/dist-es/MediaLiveClient.js +5 -5
  3. package/dist-es/models/models_0.js +6 -4
  4. package/dist-es/models/models_1.js +4 -0
  5. package/dist-es/protocols/Aws_restJson1.js +59 -0
  6. package/dist-types/MediaLiveClient.d.ts +2 -2
  7. package/dist-types/commands/CreateInputCommand.d.ts +30 -2
  8. package/dist-types/commands/CreatePartnerInputCommand.d.ts +15 -1
  9. package/dist-types/commands/CreateSignalMapCommand.d.ts +1 -1
  10. package/dist-types/commands/CreateTagsCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteChannelCommand.d.ts +1 -2
  12. package/dist-types/commands/DescribeInputCommand.d.ts +15 -1
  13. package/dist-types/commands/ListInputsCommand.d.ts +15 -1
  14. package/dist-types/commands/UpdateInputCommand.d.ts +29 -1
  15. package/dist-types/models/models_0.d.ts +77 -56
  16. package/dist-types/models/models_1.d.ts +135 -220
  17. package/dist-types/models/models_2.d.ts +229 -2
  18. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  19. package/dist-types/runtimeConfig.d.ts +1 -1
  20. package/dist-types/runtimeConfig.native.d.ts +1 -1
  21. package/dist-types/ts3.4/MediaLiveClient.d.ts +2 -2
  22. package/dist-types/ts3.4/commands/CreateSignalMapCommand.d.ts +1 -1
  23. package/dist-types/ts3.4/commands/CreateTagsCommand.d.ts +1 -1
  24. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +4 -2
  25. package/dist-types/ts3.4/models/models_0.d.ts +22 -17
  26. package/dist-types/ts3.4/models/models_1.d.ts +33 -52
  27. package/dist-types/ts3.4/models/models_2.d.ts +55 -3
  28. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  29. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  30. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  31. package/package.json +19 -19
package/dist-cjs/index.js CHANGED
@@ -38,6 +38,7 @@ __export(src_exports, {
38
38
  AcceptInputDeviceTransferCommand: () => AcceptInputDeviceTransferCommand,
39
39
  AccessibilityType: () => AccessibilityType,
40
40
  AfdSignaling: () => AfdSignaling,
41
+ Algorithm: () => Algorithm,
41
42
  AudioDescriptionAudioTypeControl: () => AudioDescriptionAudioTypeControl,
42
43
  AudioDescriptionLanguageCodeControl: () => AudioDescriptionLanguageCodeControl,
43
44
  AudioLanguageSelectionPolicy: () => AudioLanguageSelectionPolicy,
@@ -572,19 +573,19 @@ var _MediaLiveClient = class _MediaLiveClient extends import_smithy_client.Clien
572
573
  const _config_1 = resolveClientEndpointParameters(_config_0);
573
574
  const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
574
575
  const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
575
- const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
576
- const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
577
- const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5);
576
+ const _config_4 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_3);
577
+ const _config_5 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_4);
578
+ const _config_6 = (0, import_middleware_retry.resolveRetryConfig)(_config_5);
578
579
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
579
580
  const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
580
581
  super(_config_8);
581
582
  this.config = _config_8;
582
- this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
583
- this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
584
583
  this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
585
584
  this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
586
585
  this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
587
586
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
587
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
588
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
588
589
  this.middlewareStack.use(
589
590
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
590
591
  httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
@@ -642,6 +643,10 @@ __name(_MediaLiveServiceException, "MediaLiveServiceException");
642
643
  var MediaLiveServiceException = _MediaLiveServiceException;
643
644
 
644
645
  // src/models/models_1.ts
646
+ var CmafNielsenId3Behavior = {
647
+ NO_PASSTHROUGH: "NO_PASSTHROUGH",
648
+ PASSTHROUGH: "PASSTHROUGH"
649
+ };
645
650
  var Scte35Type = {
646
651
  NONE: "NONE",
647
652
  SCTE_35_WITHOUT_SEGMENTATION: "SCTE_35_WITHOUT_SEGMENTATION"
@@ -1697,6 +1702,7 @@ var se_CreateInputCommand = /* @__PURE__ */ __name(async (input, context) => {
1697
1702
  requestId: [true, (_) => _ ?? (0, import_uuid.v4)(), `RequestId`],
1698
1703
  roleArn: [, , `RoleArn`],
1699
1704
  sources: [, (_) => se___listOfInputSourceRequest(_, context), `Sources`],
1705
+ srtSettings: [, (_) => se_SrtSettingsRequest(_, context), `SrtSettings`],
1700
1706
  tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`],
1701
1707
  type: [, , `Type`],
1702
1708
  vpc: [, (_) => se_InputVpcRequest(_, context), `Vpc`]
@@ -2645,7 +2651,8 @@ var se_UpdateInputCommand = /* @__PURE__ */ __name(async (input, context) => {
2645
2651
  mediaConnectFlows: [, (_) => se___listOfMediaConnectFlowRequest(_, context), `MediaConnectFlows`],
2646
2652
  name: [, , `Name`],
2647
2653
  roleArn: [, , `RoleArn`],
2648
- sources: [, (_) => se___listOfInputSourceRequest(_, context), `Sources`]
2654
+ sources: [, (_) => se___listOfInputSourceRequest(_, context), `Sources`],
2655
+ srtSettings: [, (_) => se_SrtSettingsRequest(_, context), `SrtSettings`]
2649
2656
  })
2650
2657
  );
2651
2658
  b.m("PUT").h(headers).b(body);
@@ -3311,6 +3318,7 @@ var de_DescribeInputCommand = /* @__PURE__ */ __name(async (output, context) =>
3311
3318
  RoleArn: [, import_smithy_client.expectString, `roleArn`],
3312
3319
  SecurityGroups: [, import_smithy_client._json, `securityGroups`],
3313
3320
  Sources: [, (_) => de___listOfInputSource(_, context), `sources`],
3321
+ SrtSettings: [, (_) => de_SrtSettings(_, context), `srtSettings`],
3314
3322
  State: [, import_smithy_client.expectString, `state`],
3315
3323
  Tags: [, import_smithy_client._json, `tags`],
3316
3324
  Type: [, import_smithy_client.expectString, `type`]
@@ -4726,6 +4734,11 @@ var se___listOfScte35Descriptor = /* @__PURE__ */ __name((input, context) => {
4726
4734
  return se_Scte35Descriptor(entry, context);
4727
4735
  });
4728
4736
  }, "se___listOfScte35Descriptor");
4737
+ var se___listOfSrtCallerSourceRequest = /* @__PURE__ */ __name((input, context) => {
4738
+ return input.filter((e) => e != null).map((entry) => {
4739
+ return se_SrtCallerSourceRequest(entry, context);
4740
+ });
4741
+ }, "se___listOfSrtCallerSourceRequest");
4729
4742
  var se___listOfVideoDescription = /* @__PURE__ */ __name((input, context) => {
4730
4743
  return input.filter((e) => e != null).map((entry) => {
4731
4744
  return se_VideoDescription(entry, context);
@@ -6228,6 +6241,26 @@ var se_Scte35TimeSignalScheduleActionSettings = /* @__PURE__ */ __name((input, c
6228
6241
  scte35Descriptors: [, (_) => se___listOfScte35Descriptor(_, context), `Scte35Descriptors`]
6229
6242
  });
6230
6243
  }, "se_Scte35TimeSignalScheduleActionSettings");
6244
+ var se_SrtCallerDecryptionRequest = /* @__PURE__ */ __name((input, context) => {
6245
+ return (0, import_smithy_client.take)(input, {
6246
+ algorithm: [, , `Algorithm`],
6247
+ passphraseSecretArn: [, , `PassphraseSecretArn`]
6248
+ });
6249
+ }, "se_SrtCallerDecryptionRequest");
6250
+ var se_SrtCallerSourceRequest = /* @__PURE__ */ __name((input, context) => {
6251
+ return (0, import_smithy_client.take)(input, {
6252
+ decryption: [, (_) => se_SrtCallerDecryptionRequest(_, context), `Decryption`],
6253
+ minimumLatency: [, , `MinimumLatency`],
6254
+ srtListenerAddress: [, , `SrtListenerAddress`],
6255
+ srtListenerPort: [, , `SrtListenerPort`],
6256
+ streamId: [, , `StreamId`]
6257
+ });
6258
+ }, "se_SrtCallerSourceRequest");
6259
+ var se_SrtSettingsRequest = /* @__PURE__ */ __name((input, context) => {
6260
+ return (0, import_smithy_client.take)(input, {
6261
+ srtCallerSources: [, (_) => se___listOfSrtCallerSourceRequest(_, context), `SrtCallerSources`]
6262
+ });
6263
+ }, "se_SrtSettingsRequest");
6231
6264
  var se_StandardHlsSettings = /* @__PURE__ */ __name((input, context) => {
6232
6265
  return (0, import_smithy_client.take)(input, {
6233
6266
  audioRenditionSets: [, , `AudioRenditionSets`],
@@ -6697,6 +6730,12 @@ var de___listOfSignalMapSummary = /* @__PURE__ */ __name((output, context) => {
6697
6730
  });
6698
6731
  return retVal;
6699
6732
  }, "de___listOfSignalMapSummary");
6733
+ var de___listOfSrtCallerSource = /* @__PURE__ */ __name((output, context) => {
6734
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
6735
+ return de_SrtCallerSource(entry, context);
6736
+ });
6737
+ return retVal;
6738
+ }, "de___listOfSrtCallerSource");
6700
6739
  var de___listOfThumbnail = /* @__PURE__ */ __name((output, context) => {
6701
6740
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
6702
6741
  return de_Thumbnail(entry, context);
@@ -7680,6 +7719,7 @@ var de_Input = /* @__PURE__ */ __name((output, context) => {
7680
7719
  RoleArn: [, import_smithy_client.expectString, `roleArn`],
7681
7720
  SecurityGroups: [, import_smithy_client._json, `securityGroups`],
7682
7721
  Sources: [, (_) => de___listOfInputSource(_, context), `sources`],
7722
+ SrtSettings: [, (_) => de_SrtSettings(_, context), `srtSettings`],
7683
7723
  State: [, import_smithy_client.expectString, `state`],
7684
7724
  Tags: [, import_smithy_client._json, `tags`],
7685
7725
  Type: [, import_smithy_client.expectString, `type`]
@@ -8614,6 +8654,26 @@ var de_SignalMapSummary = /* @__PURE__ */ __name((output, context) => {
8614
8654
  Tags: [, import_smithy_client._json, `tags`]
8615
8655
  });
8616
8656
  }, "de_SignalMapSummary");
8657
+ var de_SrtCallerDecryption = /* @__PURE__ */ __name((output, context) => {
8658
+ return (0, import_smithy_client.take)(output, {
8659
+ Algorithm: [, import_smithy_client.expectString, `algorithm`],
8660
+ PassphraseSecretArn: [, import_smithy_client.expectString, `passphraseSecretArn`]
8661
+ });
8662
+ }, "de_SrtCallerDecryption");
8663
+ var de_SrtCallerSource = /* @__PURE__ */ __name((output, context) => {
8664
+ return (0, import_smithy_client.take)(output, {
8665
+ Decryption: [, (_) => de_SrtCallerDecryption(_, context), `decryption`],
8666
+ MinimumLatency: [, import_smithy_client.expectInt32, `minimumLatency`],
8667
+ SrtListenerAddress: [, import_smithy_client.expectString, `srtListenerAddress`],
8668
+ SrtListenerPort: [, import_smithy_client.expectString, `srtListenerPort`],
8669
+ StreamId: [, import_smithy_client.expectString, `streamId`]
8670
+ });
8671
+ }, "de_SrtCallerSource");
8672
+ var de_SrtSettings = /* @__PURE__ */ __name((output, context) => {
8673
+ return (0, import_smithy_client.take)(output, {
8674
+ SrtCallerSources: [, (_) => de___listOfSrtCallerSource(_, context), `srtCallerSources`]
8675
+ });
8676
+ }, "de_SrtSettings");
8617
8677
  var de_StandardHlsSettings = /* @__PURE__ */ __name((output, context) => {
8618
8678
  return (0, import_smithy_client.take)(output, {
8619
8679
  AudioRenditionSets: [, import_smithy_client.expectString, `audioRenditionSets`],
@@ -11819,6 +11879,11 @@ var InputSourceType = {
11819
11879
  DYNAMIC: "DYNAMIC",
11820
11880
  STATIC: "STATIC"
11821
11881
  };
11882
+ var Algorithm = {
11883
+ AES128: "AES128",
11884
+ AES192: "AES192",
11885
+ AES256: "AES256"
11886
+ };
11822
11887
  var InputState = {
11823
11888
  ATTACHED: "ATTACHED",
11824
11889
  CREATING: "CREATING",
@@ -11834,6 +11899,7 @@ var InputType = {
11834
11899
  RTMP_PULL: "RTMP_PULL",
11835
11900
  RTMP_PUSH: "RTMP_PUSH",
11836
11901
  RTP_PUSH: "RTP_PUSH",
11902
+ SRT_CALLER: "SRT_CALLER",
11837
11903
  TS_FILE: "TS_FILE",
11838
11904
  UDP_PUSH: "UDP_PUSH",
11839
11905
  URL_PULL: "URL_PULL"
@@ -12113,10 +12179,6 @@ var S3CannedAcl = {
12113
12179
  BUCKET_OWNER_READ: "BUCKET_OWNER_READ",
12114
12180
  PUBLIC_READ: "PUBLIC_READ"
12115
12181
  };
12116
- var CmafNielsenId3Behavior = {
12117
- NO_PASSTHROUGH: "NO_PASSTHROUGH",
12118
- PASSTHROUGH: "PASSTHROUGH"
12119
- };
12120
12182
  // Annotate the CommonJS export names for ESM import in node:
12121
12183
 
12122
12184
  0 && (module.exports = {
@@ -12357,6 +12419,7 @@ var CmafNielsenId3Behavior = {
12357
12419
  HlsAdMarkers,
12358
12420
  InputClass,
12359
12421
  InputSourceType,
12422
+ Algorithm,
12360
12423
  InputState,
12361
12424
  InputType,
12362
12425
  InputDeviceConfigurableAudioChannelPairProfile,
@@ -19,19 +19,19 @@ export class MediaLiveClient extends __Client {
19
19
  const _config_1 = resolveClientEndpointParameters(_config_0);
20
20
  const _config_2 = resolveRegionConfig(_config_1);
21
21
  const _config_3 = resolveEndpointConfig(_config_2);
22
- const _config_4 = resolveRetryConfig(_config_3);
23
- const _config_5 = resolveHostHeaderConfig(_config_4);
24
- const _config_6 = resolveUserAgentConfig(_config_5);
22
+ const _config_4 = resolveHostHeaderConfig(_config_3);
23
+ const _config_5 = resolveUserAgentConfig(_config_4);
24
+ const _config_6 = resolveRetryConfig(_config_5);
25
25
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
26
26
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
27
27
  super(_config_8);
28
28
  this.config = _config_8;
29
- this.middlewareStack.use(getRetryPlugin(this.config));
30
- this.middlewareStack.use(getContentLengthPlugin(this.config));
31
29
  this.middlewareStack.use(getHostHeaderPlugin(this.config));
32
30
  this.middlewareStack.use(getLoggerPlugin(this.config));
33
31
  this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
34
32
  this.middlewareStack.use(getUserAgentPlugin(this.config));
33
+ this.middlewareStack.use(getRetryPlugin(this.config));
34
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
35
35
  this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
36
36
  httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
37
37
  identityProviderConfigProvider: this.getIdentityProviderConfigProvider(),
@@ -541,6 +541,11 @@ export const InputSourceType = {
541
541
  DYNAMIC: "DYNAMIC",
542
542
  STATIC: "STATIC",
543
543
  };
544
+ export const Algorithm = {
545
+ AES128: "AES128",
546
+ AES192: "AES192",
547
+ AES256: "AES256",
548
+ };
544
549
  export const InputState = {
545
550
  ATTACHED: "ATTACHED",
546
551
  CREATING: "CREATING",
@@ -556,6 +561,7 @@ export const InputType = {
556
561
  RTMP_PULL: "RTMP_PULL",
557
562
  RTMP_PUSH: "RTMP_PUSH",
558
563
  RTP_PUSH: "RTP_PUSH",
564
+ SRT_CALLER: "SRT_CALLER",
559
565
  TS_FILE: "TS_FILE",
560
566
  UDP_PUSH: "UDP_PUSH",
561
567
  URL_PULL: "URL_PULL",
@@ -835,7 +841,3 @@ export const S3CannedAcl = {
835
841
  BUCKET_OWNER_READ: "BUCKET_OWNER_READ",
836
842
  PUBLIC_READ: "PUBLIC_READ",
837
843
  };
838
- export const CmafNielsenId3Behavior = {
839
- NO_PASSTHROUGH: "NO_PASSTHROUGH",
840
- PASSTHROUGH: "PASSTHROUGH",
841
- };
@@ -1,4 +1,8 @@
1
1
  import { MediaLiveServiceException as __BaseException } from "./MediaLiveServiceException";
2
+ export const CmafNielsenId3Behavior = {
3
+ NO_PASSTHROUGH: "NO_PASSTHROUGH",
4
+ PASSTHROUGH: "PASSTHROUGH",
5
+ };
2
6
  export const Scte35Type = {
3
7
  NONE: "NONE",
4
8
  SCTE_35_WITHOUT_SEGMENTATION: "SCTE_35_WITHOUT_SEGMENTATION",
@@ -209,6 +209,7 @@ export const se_CreateInputCommand = async (input, context) => {
209
209
  requestId: [true, (_) => _ ?? generateIdempotencyToken(), `RequestId`],
210
210
  roleArn: [, , `RoleArn`],
211
211
  sources: [, (_) => se___listOfInputSourceRequest(_, context), `Sources`],
212
+ srtSettings: [, (_) => se_SrtSettingsRequest(_, context), `SrtSettings`],
212
213
  tags: [, (_) => _json(_), `Tags`],
213
214
  type: [, , `Type`],
214
215
  vpc: [, (_) => se_InputVpcRequest(_, context), `Vpc`],
@@ -1118,6 +1119,7 @@ export const se_UpdateInputCommand = async (input, context) => {
1118
1119
  name: [, , `Name`],
1119
1120
  roleArn: [, , `RoleArn`],
1120
1121
  sources: [, (_) => se___listOfInputSourceRequest(_, context), `Sources`],
1122
+ srtSettings: [, (_) => se_SrtSettingsRequest(_, context), `SrtSettings`],
1121
1123
  }));
1122
1124
  b.m("PUT").h(headers).b(body);
1123
1125
  return b.build();
@@ -1772,6 +1774,7 @@ export const de_DescribeInputCommand = async (output, context) => {
1772
1774
  RoleArn: [, __expectString, `roleArn`],
1773
1775
  SecurityGroups: [, _json, `securityGroups`],
1774
1776
  Sources: [, (_) => de___listOfInputSource(_, context), `sources`],
1777
+ SrtSettings: [, (_) => de_SrtSettings(_, context), `srtSettings`],
1775
1778
  State: [, __expectString, `state`],
1776
1779
  Tags: [, _json, `tags`],
1777
1780
  Type: [, __expectString, `type`],
@@ -3241,6 +3244,13 @@ const se___listOfScte35Descriptor = (input, context) => {
3241
3244
  return se_Scte35Descriptor(entry, context);
3242
3245
  });
3243
3246
  };
3247
+ const se___listOfSrtCallerSourceRequest = (input, context) => {
3248
+ return input
3249
+ .filter((e) => e != null)
3250
+ .map((entry) => {
3251
+ return se_SrtCallerSourceRequest(entry, context);
3252
+ });
3253
+ };
3244
3254
  const se___listOfVideoDescription = (input, context) => {
3245
3255
  return input
3246
3256
  .filter((e) => e != null)
@@ -4745,6 +4755,26 @@ const se_Scte35TimeSignalScheduleActionSettings = (input, context) => {
4745
4755
  scte35Descriptors: [, (_) => se___listOfScte35Descriptor(_, context), `Scte35Descriptors`],
4746
4756
  });
4747
4757
  };
4758
+ const se_SrtCallerDecryptionRequest = (input, context) => {
4759
+ return take(input, {
4760
+ algorithm: [, , `Algorithm`],
4761
+ passphraseSecretArn: [, , `PassphraseSecretArn`],
4762
+ });
4763
+ };
4764
+ const se_SrtCallerSourceRequest = (input, context) => {
4765
+ return take(input, {
4766
+ decryption: [, (_) => se_SrtCallerDecryptionRequest(_, context), `Decryption`],
4767
+ minimumLatency: [, , `MinimumLatency`],
4768
+ srtListenerAddress: [, , `SrtListenerAddress`],
4769
+ srtListenerPort: [, , `SrtListenerPort`],
4770
+ streamId: [, , `StreamId`],
4771
+ });
4772
+ };
4773
+ const se_SrtSettingsRequest = (input, context) => {
4774
+ return take(input, {
4775
+ srtCallerSources: [, (_) => se___listOfSrtCallerSourceRequest(_, context), `SrtCallerSources`],
4776
+ });
4777
+ };
4748
4778
  const se_StandardHlsSettings = (input, context) => {
4749
4779
  return take(input, {
4750
4780
  audioRenditionSets: [, , `AudioRenditionSets`],
@@ -5306,6 +5336,14 @@ const de___listOfSignalMapSummary = (output, context) => {
5306
5336
  });
5307
5337
  return retVal;
5308
5338
  };
5339
+ const de___listOfSrtCallerSource = (output, context) => {
5340
+ const retVal = (output || [])
5341
+ .filter((e) => e != null)
5342
+ .map((entry) => {
5343
+ return de_SrtCallerSource(entry, context);
5344
+ });
5345
+ return retVal;
5346
+ };
5309
5347
  const de___listOfThumbnail = (output, context) => {
5310
5348
  const retVal = (output || [])
5311
5349
  .filter((e) => e != null)
@@ -6299,6 +6337,7 @@ const de_Input = (output, context) => {
6299
6337
  RoleArn: [, __expectString, `roleArn`],
6300
6338
  SecurityGroups: [, _json, `securityGroups`],
6301
6339
  Sources: [, (_) => de___listOfInputSource(_, context), `sources`],
6340
+ SrtSettings: [, (_) => de_SrtSettings(_, context), `srtSettings`],
6302
6341
  State: [, __expectString, `state`],
6303
6342
  Tags: [, _json, `tags`],
6304
6343
  Type: [, __expectString, `type`],
@@ -7233,6 +7272,26 @@ const de_SignalMapSummary = (output, context) => {
7233
7272
  Tags: [, _json, `tags`],
7234
7273
  });
7235
7274
  };
7275
+ const de_SrtCallerDecryption = (output, context) => {
7276
+ return take(output, {
7277
+ Algorithm: [, __expectString, `algorithm`],
7278
+ PassphraseSecretArn: [, __expectString, `passphraseSecretArn`],
7279
+ });
7280
+ };
7281
+ const de_SrtCallerSource = (output, context) => {
7282
+ return take(output, {
7283
+ Decryption: [, (_) => de_SrtCallerDecryption(_, context), `decryption`],
7284
+ MinimumLatency: [, __expectInt32, `minimumLatency`],
7285
+ SrtListenerAddress: [, __expectString, `srtListenerAddress`],
7286
+ SrtListenerPort: [, __expectString, `srtListenerPort`],
7287
+ StreamId: [, __expectString, `streamId`],
7288
+ });
7289
+ };
7290
+ const de_SrtSettings = (output, context) => {
7291
+ return take(output, {
7292
+ SrtCallerSources: [, (_) => de___listOfSrtCallerSource(_, context), `srtCallerSources`],
7293
+ });
7294
+ };
7236
7295
  const de_StandardHlsSettings = (output, context) => {
7237
7296
  return take(output, {
7238
7297
  AudioRenditionSets: [, __expectString, `audioRenditionSets`],
@@ -228,7 +228,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
228
228
  /**
229
229
  * @public
230
230
  */
231
- export type MediaLiveClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & UserAgentInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
231
+ export type MediaLiveClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & HostHeaderInputConfig & UserAgentInputConfig & RetryInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
232
232
  /**
233
233
  * @public
234
234
  *
@@ -239,7 +239,7 @@ export interface MediaLiveClientConfig extends MediaLiveClientConfigType {
239
239
  /**
240
240
  * @public
241
241
  */
242
- export type MediaLiveClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & UserAgentResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
242
+ export type MediaLiveClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HostHeaderResolvedConfig & UserAgentResolvedConfig & RetryResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
243
243
  /**
244
244
  * @public
245
245
  *
@@ -66,7 +66,7 @@ declare const CreateInputCommand_base: {
66
66
  * Tags: { // Tags
67
67
  * "<keys>": "STRING_VALUE",
68
68
  * },
69
- * Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE",
69
+ * Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE" || "SRT_CALLER",
70
70
  * Vpc: { // InputVpcRequest
71
71
  * SecurityGroupIds: [
72
72
  * "STRING_VALUE",
@@ -75,6 +75,20 @@ declare const CreateInputCommand_base: {
75
75
  * "STRING_VALUE",
76
76
  * ],
77
77
  * },
78
+ * SrtSettings: { // SrtSettingsRequest
79
+ * SrtCallerSources: [ // __listOfSrtCallerSourceRequest
80
+ * { // SrtCallerSourceRequest
81
+ * Decryption: { // SrtCallerDecryptionRequest
82
+ * Algorithm: "AES128" || "AES192" || "AES256",
83
+ * PassphraseSecretArn: "STRING_VALUE",
84
+ * },
85
+ * MinimumLatency: Number("int"),
86
+ * SrtListenerAddress: "STRING_VALUE",
87
+ * SrtListenerPort: "STRING_VALUE",
88
+ * StreamId: "STRING_VALUE",
89
+ * },
90
+ * ],
91
+ * },
78
92
  * };
79
93
  * const command = new CreateInputCommand(input);
80
94
  * const response = await client.send(command);
@@ -127,7 +141,21 @@ declare const CreateInputCommand_base: {
127
141
  * // Tags: { // Tags
128
142
  * // "<keys>": "STRING_VALUE",
129
143
  * // },
130
- * // Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE",
144
+ * // Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE" || "SRT_CALLER",
145
+ * // SrtSettings: { // SrtSettings
146
+ * // SrtCallerSources: [ // __listOfSrtCallerSource
147
+ * // { // SrtCallerSource
148
+ * // Decryption: { // SrtCallerDecryption
149
+ * // Algorithm: "AES128" || "AES192" || "AES256",
150
+ * // PassphraseSecretArn: "STRING_VALUE",
151
+ * // },
152
+ * // MinimumLatency: Number("int"),
153
+ * // SrtListenerAddress: "STRING_VALUE",
154
+ * // SrtListenerPort: "STRING_VALUE",
155
+ * // StreamId: "STRING_VALUE",
156
+ * // },
157
+ * // ],
158
+ * // },
131
159
  * // },
132
160
  * // };
133
161
  *
@@ -92,7 +92,21 @@ declare const CreatePartnerInputCommand_base: {
92
92
  * // Tags: { // Tags
93
93
  * // "<keys>": "STRING_VALUE",
94
94
  * // },
95
- * // Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE",
95
+ * // Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE" || "SRT_CALLER",
96
+ * // SrtSettings: { // SrtSettings
97
+ * // SrtCallerSources: [ // __listOfSrtCallerSource
98
+ * // { // SrtCallerSource
99
+ * // Decryption: { // SrtCallerDecryption
100
+ * // Algorithm: "AES128" || "AES192" || "AES256",
101
+ * // PassphraseSecretArn: "STRING_VALUE",
102
+ * // },
103
+ * // MinimumLatency: Number("int"),
104
+ * // SrtListenerAddress: "STRING_VALUE",
105
+ * // SrtListenerPort: "STRING_VALUE",
106
+ * // StreamId: "STRING_VALUE",
107
+ * // },
108
+ * // ],
109
+ * // },
96
110
  * // },
97
111
  * // };
98
112
  *
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
4
- import { CreateSignalMapRequest, CreateSignalMapResponse } from "../models/models_1";
4
+ import { CreateSignalMapRequest, CreateSignalMapResponse } from "../models/models_2";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
4
- import { CreateTagsRequest } from "../models/models_1";
4
+ import { CreateTagsRequest } from "../models/models_2";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
4
- import { DeleteChannelRequest } from "../models/models_1";
5
- import { DeleteChannelResponse } from "../models/models_2";
4
+ import { DeleteChannelRequest, DeleteChannelResponse } from "../models/models_2";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -87,7 +87,21 @@ declare const DescribeInputCommand_base: {
87
87
  * // Tags: { // Tags
88
88
  * // "<keys>": "STRING_VALUE",
89
89
  * // },
90
- * // Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE",
90
+ * // Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE" || "SRT_CALLER",
91
+ * // SrtSettings: { // SrtSettings
92
+ * // SrtCallerSources: [ // __listOfSrtCallerSource
93
+ * // { // SrtCallerSource
94
+ * // Decryption: { // SrtCallerDecryption
95
+ * // Algorithm: "AES128" || "AES192" || "AES256",
96
+ * // PassphraseSecretArn: "STRING_VALUE",
97
+ * // },
98
+ * // MinimumLatency: Number("int"),
99
+ * // SrtListenerAddress: "STRING_VALUE",
100
+ * // SrtListenerPort: "STRING_VALUE",
101
+ * // StreamId: "STRING_VALUE",
102
+ * // },
103
+ * // ],
104
+ * // },
91
105
  * // };
92
106
  *
93
107
  * ```
@@ -90,7 +90,21 @@ declare const ListInputsCommand_base: {
90
90
  * // Tags: { // Tags
91
91
  * // "<keys>": "STRING_VALUE",
92
92
  * // },
93
- * // Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE",
93
+ * // Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE" || "SRT_CALLER",
94
+ * // SrtSettings: { // SrtSettings
95
+ * // SrtCallerSources: [ // __listOfSrtCallerSource
96
+ * // { // SrtCallerSource
97
+ * // Decryption: { // SrtCallerDecryption
98
+ * // Algorithm: "AES128" || "AES192" || "AES256",
99
+ * // PassphraseSecretArn: "STRING_VALUE",
100
+ * // },
101
+ * // MinimumLatency: Number("int"),
102
+ * // SrtListenerAddress: "STRING_VALUE",
103
+ * // SrtListenerPort: "STRING_VALUE",
104
+ * // StreamId: "STRING_VALUE",
105
+ * // },
106
+ * // ],
107
+ * // },
94
108
  * // },
95
109
  * // ],
96
110
  * // NextToken: "STRING_VALUE",
@@ -63,6 +63,20 @@ declare const UpdateInputCommand_base: {
63
63
  * Username: "STRING_VALUE",
64
64
  * },
65
65
  * ],
66
+ * SrtSettings: { // SrtSettingsRequest
67
+ * SrtCallerSources: [ // __listOfSrtCallerSourceRequest
68
+ * { // SrtCallerSourceRequest
69
+ * Decryption: { // SrtCallerDecryptionRequest
70
+ * Algorithm: "AES128" || "AES192" || "AES256",
71
+ * PassphraseSecretArn: "STRING_VALUE",
72
+ * },
73
+ * MinimumLatency: Number("int"),
74
+ * SrtListenerAddress: "STRING_VALUE",
75
+ * SrtListenerPort: "STRING_VALUE",
76
+ * StreamId: "STRING_VALUE",
77
+ * },
78
+ * ],
79
+ * },
66
80
  * };
67
81
  * const command = new UpdateInputCommand(input);
68
82
  * const response = await client.send(command);
@@ -115,7 +129,21 @@ declare const UpdateInputCommand_base: {
115
129
  * // Tags: { // Tags
116
130
  * // "<keys>": "STRING_VALUE",
117
131
  * // },
118
- * // Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE",
132
+ * // Type: "UDP_PUSH" || "RTP_PUSH" || "RTMP_PUSH" || "RTMP_PULL" || "URL_PULL" || "MP4_FILE" || "MEDIACONNECT" || "INPUT_DEVICE" || "AWS_CDI" || "TS_FILE" || "SRT_CALLER",
133
+ * // SrtSettings: { // SrtSettings
134
+ * // SrtCallerSources: [ // __listOfSrtCallerSource
135
+ * // { // SrtCallerSource
136
+ * // Decryption: { // SrtCallerDecryption
137
+ * // Algorithm: "AES128" || "AES192" || "AES256",
138
+ * // PassphraseSecretArn: "STRING_VALUE",
139
+ * // },
140
+ * // MinimumLatency: Number("int"),
141
+ * // SrtListenerAddress: "STRING_VALUE",
142
+ * // SrtListenerPort: "STRING_VALUE",
143
+ * // StreamId: "STRING_VALUE",
144
+ * // },
145
+ * // ],
146
+ * // },
119
147
  * // },
120
148
  * // };
121
149
  *