@aws-sdk/client-medialive 3.252.0 → 3.254.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.
@@ -6558,6 +6558,9 @@ const serializeAws_restJson1M2tsSettings = (input, context) => {
6558
6558
  ...(input.Scte27Pids != null && { scte27Pids: input.Scte27Pids }),
6559
6559
  ...(input.Scte35Control != null && { scte35Control: input.Scte35Control }),
6560
6560
  ...(input.Scte35Pid != null && { scte35Pid: input.Scte35Pid }),
6561
+ ...(input.Scte35PrerollPullupMilliseconds != null && {
6562
+ scte35PrerollPullupMilliseconds: (0, smithy_client_1.serializeFloat)(input.Scte35PrerollPullupMilliseconds),
6563
+ }),
6561
6564
  ...(input.SegmentationMarkers != null && { segmentationMarkers: input.SegmentationMarkers }),
6562
6565
  ...(input.SegmentationStyle != null && { segmentationStyle: input.SegmentationStyle }),
6563
6566
  ...(input.SegmentationTime != null && { segmentationTime: (0, smithy_client_1.serializeFloat)(input.SegmentationTime) }),
@@ -9171,6 +9174,7 @@ const deserializeAws_restJson1M2tsSettings = (output, context) => {
9171
9174
  Scte27Pids: (0, smithy_client_1.expectString)(output.scte27Pids),
9172
9175
  Scte35Control: (0, smithy_client_1.expectString)(output.scte35Control),
9173
9176
  Scte35Pid: (0, smithy_client_1.expectString)(output.scte35Pid),
9177
+ Scte35PrerollPullupMilliseconds: (0, smithy_client_1.limitedParseDouble)(output.scte35PrerollPullupMilliseconds),
9174
9178
  SegmentationMarkers: (0, smithy_client_1.expectString)(output.segmentationMarkers),
9175
9179
  SegmentationStyle: (0, smithy_client_1.expectString)(output.segmentationStyle),
9176
9180
  SegmentationTime: (0, smithy_client_1.limitedParseDouble)(output.segmentationTime),
@@ -6435,6 +6435,9 @@ const serializeAws_restJson1M2tsSettings = (input, context) => {
6435
6435
  ...(input.Scte27Pids != null && { scte27Pids: input.Scte27Pids }),
6436
6436
  ...(input.Scte35Control != null && { scte35Control: input.Scte35Control }),
6437
6437
  ...(input.Scte35Pid != null && { scte35Pid: input.Scte35Pid }),
6438
+ ...(input.Scte35PrerollPullupMilliseconds != null && {
6439
+ scte35PrerollPullupMilliseconds: __serializeFloat(input.Scte35PrerollPullupMilliseconds),
6440
+ }),
6438
6441
  ...(input.SegmentationMarkers != null && { segmentationMarkers: input.SegmentationMarkers }),
6439
6442
  ...(input.SegmentationStyle != null && { segmentationStyle: input.SegmentationStyle }),
6440
6443
  ...(input.SegmentationTime != null && { segmentationTime: __serializeFloat(input.SegmentationTime) }),
@@ -9048,6 +9051,7 @@ const deserializeAws_restJson1M2tsSettings = (output, context) => {
9048
9051
  Scte27Pids: __expectString(output.scte27Pids),
9049
9052
  Scte35Control: __expectString(output.scte35Control),
9050
9053
  Scte35Pid: __expectString(output.scte35Pid),
9054
+ Scte35PrerollPullupMilliseconds: __limitedParseDouble(output.scte35PrerollPullupMilliseconds),
9051
9055
  SegmentationMarkers: __expectString(output.segmentationMarkers),
9052
9056
  SegmentationStyle: __expectString(output.segmentationStyle),
9053
9057
  SegmentationTime: __limitedParseDouble(output.segmentationTime),
@@ -6,7 +6,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
6
6
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
7
7
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
8
8
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
- import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
10
10
  import { AcceptInputDeviceTransferCommandInput, AcceptInputDeviceTransferCommandOutput } from "./commands/AcceptInputDeviceTransferCommand";
11
11
  import { BatchDeleteCommandInput, BatchDeleteCommandOutput } from "./commands/BatchDeleteCommand";
12
12
  import { BatchStartCommandInput, BatchStartCommandOutput } from "./commands/BatchStartCommand";
@@ -75,11 +75,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
75
75
  */
76
76
  requestHandler?: __HttpHandler;
77
77
  /**
78
- * A constructor for a class implementing the {@link __Hash} interface
78
+ * A constructor for a class implementing the {@link __Checksum} interface
79
79
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
80
80
  * @internal
81
81
  */
82
- sha256?: __HashConstructor;
82
+ sha256?: __ChecksumConstructor | __HashConstructor;
83
83
  /**
84
84
  * The function that will be used to convert strings into HTTP endpoints.
85
85
  * @internal
@@ -3054,6 +3054,10 @@ export interface M2tsSettings {
3054
3054
  * Packet Identifier (PID) of the elementary video stream in the transport stream. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
3055
3055
  */
3056
3056
  VideoPid?: string;
3057
+ /**
3058
+ * Defines the amount SCTE-35 preroll will be increased (in milliseconds) on the output. Preroll is the amount of time between the presence of a SCTE-35 indication in a transport stream and the PTS of the video frame it references. Zero means don't add pullup (it doesn't mean set the preroll to zero). Negative pullup is not supported, which means that you can't make the preroll shorter. Be aware that latency in the output will increase by the pullup amount.
3059
+ */
3060
+ Scte35PrerollPullupMilliseconds?: number;
3057
3061
  }
3058
3062
  /**
3059
3063
  * Raw Settings
@@ -31,6 +31,7 @@ import {
31
31
  } from "@aws-sdk/smithy-client";
32
32
  import {
33
33
  BodyLengthCalculator as __BodyLengthCalculator,
34
+ ChecksumConstructor as __ChecksumConstructor,
34
35
  Credentials as __Credentials,
35
36
  Decoder as __Decoder,
36
37
  Encoder as __Encoder,
@@ -408,7 +409,7 @@ export declare type ServiceOutputTypes =
408
409
  export interface ClientDefaults
409
410
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
410
411
  requestHandler?: __HttpHandler;
411
- sha256?: __HashConstructor;
412
+ sha256?: __ChecksumConstructor | __HashConstructor;
412
413
  urlParser?: __UrlParser;
413
414
  bodyLengthChecker?: __BodyLengthCalculator;
414
415
  streamCollector?: __StreamCollector;
@@ -1300,6 +1300,7 @@ export interface M2tsSettings {
1300
1300
  TimedMetadataPid?: string;
1301
1301
  TransportStreamId?: number;
1302
1302
  VideoPid?: string;
1303
+ Scte35PrerollPullupMilliseconds?: number;
1303
1304
  }
1304
1305
  export interface RawSettings {}
1305
1306
  export interface ArchiveContainerSettings {
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.252.0",
4
+ "version": "3.254.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,44 +18,44 @@
18
18
  "module": "./dist-es/index.js",
19
19
  "sideEffects": false,
20
20
  "dependencies": {
21
- "@aws-crypto/sha256-browser": "2.0.0",
22
- "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.252.0",
24
- "@aws-sdk/config-resolver": "3.234.0",
25
- "@aws-sdk/credential-provider-node": "3.252.0",
26
- "@aws-sdk/fetch-http-handler": "3.226.0",
27
- "@aws-sdk/hash-node": "3.226.0",
28
- "@aws-sdk/invalid-dependency": "3.226.0",
29
- "@aws-sdk/middleware-content-length": "3.226.0",
30
- "@aws-sdk/middleware-endpoint": "3.226.0",
31
- "@aws-sdk/middleware-host-header": "3.226.0",
32
- "@aws-sdk/middleware-logger": "3.226.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.226.0",
34
- "@aws-sdk/middleware-retry": "3.235.0",
35
- "@aws-sdk/middleware-serde": "3.226.0",
36
- "@aws-sdk/middleware-signing": "3.226.0",
37
- "@aws-sdk/middleware-stack": "3.226.0",
38
- "@aws-sdk/middleware-user-agent": "3.226.0",
39
- "@aws-sdk/node-config-provider": "3.226.0",
40
- "@aws-sdk/node-http-handler": "3.226.0",
41
- "@aws-sdk/protocol-http": "3.226.0",
42
- "@aws-sdk/smithy-client": "3.234.0",
43
- "@aws-sdk/types": "3.226.0",
44
- "@aws-sdk/url-parser": "3.226.0",
21
+ "@aws-crypto/sha256-browser": "3.0.0",
22
+ "@aws-crypto/sha256-js": "3.0.0",
23
+ "@aws-sdk/client-sts": "3.254.0",
24
+ "@aws-sdk/config-resolver": "3.254.0",
25
+ "@aws-sdk/credential-provider-node": "3.254.0",
26
+ "@aws-sdk/fetch-http-handler": "3.254.0",
27
+ "@aws-sdk/hash-node": "3.254.0",
28
+ "@aws-sdk/invalid-dependency": "3.254.0",
29
+ "@aws-sdk/middleware-content-length": "3.254.0",
30
+ "@aws-sdk/middleware-endpoint": "3.254.0",
31
+ "@aws-sdk/middleware-host-header": "3.254.0",
32
+ "@aws-sdk/middleware-logger": "3.254.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.254.0",
34
+ "@aws-sdk/middleware-retry": "3.254.0",
35
+ "@aws-sdk/middleware-serde": "3.254.0",
36
+ "@aws-sdk/middleware-signing": "3.254.0",
37
+ "@aws-sdk/middleware-stack": "3.254.0",
38
+ "@aws-sdk/middleware-user-agent": "3.254.0",
39
+ "@aws-sdk/node-config-provider": "3.254.0",
40
+ "@aws-sdk/node-http-handler": "3.254.0",
41
+ "@aws-sdk/protocol-http": "3.254.0",
42
+ "@aws-sdk/smithy-client": "3.254.0",
43
+ "@aws-sdk/types": "3.254.0",
44
+ "@aws-sdk/url-parser": "3.254.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.234.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.234.0",
50
- "@aws-sdk/util-endpoints": "3.245.0",
51
- "@aws-sdk/util-retry": "3.229.0",
52
- "@aws-sdk/util-stream-browser": "3.226.0",
53
- "@aws-sdk/util-stream-node": "3.226.0",
54
- "@aws-sdk/util-user-agent-browser": "3.226.0",
55
- "@aws-sdk/util-user-agent-node": "3.226.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.254.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.254.0",
50
+ "@aws-sdk/util-endpoints": "3.254.0",
51
+ "@aws-sdk/util-retry": "3.254.0",
52
+ "@aws-sdk/util-stream-browser": "3.254.0",
53
+ "@aws-sdk/util-stream-node": "3.254.0",
54
+ "@aws-sdk/util-user-agent-browser": "3.254.0",
55
+ "@aws-sdk/util-user-agent-node": "3.254.0",
56
56
  "@aws-sdk/util-utf8-browser": "3.188.0",
57
57
  "@aws-sdk/util-utf8-node": "3.208.0",
58
- "@aws-sdk/util-waiter": "3.226.0",
58
+ "@aws-sdk/util-waiter": "3.254.0",
59
59
  "tslib": "^2.3.1",
60
60
  "uuid": "^8.3.2"
61
61
  },