@aws-sdk/client-mediatailor 3.423.0 → 3.425.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_restJson1.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-types/MediaTailorClient.d.ts +2 -0
- package/dist-types/commands/DescribeVodSourceCommand.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +16 -0
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/package.json +31 -31
|
@@ -1564,6 +1564,7 @@ const de_DescribeVodSourceCommand = async (output, context) => {
|
|
|
1564
1564
|
});
|
|
1565
1565
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1566
1566
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1567
|
+
AdBreakOpportunities: smithy_client_1._json,
|
|
1567
1568
|
Arn: smithy_client_1.expectString,
|
|
1568
1569
|
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1569
1570
|
HttpPackageConfigurations: smithy_client_1._json,
|
|
@@ -1496,6 +1496,7 @@ export const de_DescribeVodSourceCommand = async (output, context) => {
|
|
|
1496
1496
|
});
|
|
1497
1497
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1498
1498
|
const doc = take(data, {
|
|
1499
|
+
AdBreakOpportunities: _json,
|
|
1499
1500
|
Arn: __expectString,
|
|
1500
1501
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1501
1502
|
HttpPackageConfigurations: _json,
|
|
@@ -155,6 +155,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
155
155
|
maxAttempts?: number | __Provider<number>;
|
|
156
156
|
/**
|
|
157
157
|
* Specifies which retry algorithm to use.
|
|
158
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
159
|
+
*
|
|
158
160
|
*/
|
|
159
161
|
retryMode?: string | __Provider<string>;
|
|
160
162
|
/**
|
|
@@ -37,6 +37,11 @@ export interface DescribeVodSourceCommandOutput extends DescribeVodSourceRespons
|
|
|
37
37
|
* const command = new DescribeVodSourceCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
39
|
* // { // DescribeVodSourceResponse
|
|
40
|
+
* // AdBreakOpportunities: [ // AdBreakOpportunities
|
|
41
|
+
* // { // AdBreakOpportunity
|
|
42
|
+
* // OffsetMillis: Number("long"), // required
|
|
43
|
+
* // },
|
|
44
|
+
* // ],
|
|
40
45
|
* // Arn: "STRING_VALUE",
|
|
41
46
|
* // CreationTime: new Date("TIMESTAMP"),
|
|
42
47
|
* // HttpPackageConfigurations: [ // HttpPackageConfigurations
|
|
@@ -1142,6 +1142,17 @@ export interface VodSource {
|
|
|
1142
1142
|
*/
|
|
1143
1143
|
VodSourceName: string | undefined;
|
|
1144
1144
|
}
|
|
1145
|
+
/**
|
|
1146
|
+
* @public
|
|
1147
|
+
* <p>A location at which a zero-duration ad marker was detected in a VOD source manifest.</p>
|
|
1148
|
+
*/
|
|
1149
|
+
export interface AdBreakOpportunity {
|
|
1150
|
+
/**
|
|
1151
|
+
* @public
|
|
1152
|
+
* <p>The offset in milliseconds from the start of the VOD source at which an ad marker was detected.</p>
|
|
1153
|
+
*/
|
|
1154
|
+
OffsetMillis: number | undefined;
|
|
1155
|
+
}
|
|
1145
1156
|
/**
|
|
1146
1157
|
* @public
|
|
1147
1158
|
* <p>A request contains unexpected data.</p>
|
|
@@ -2612,6 +2623,11 @@ export interface DescribeVodSourceRequest {
|
|
|
2612
2623
|
* @public
|
|
2613
2624
|
*/
|
|
2614
2625
|
export interface DescribeVodSourceResponse {
|
|
2626
|
+
/**
|
|
2627
|
+
* @public
|
|
2628
|
+
* <p>The ad break opportunities within the VOD source.</p>
|
|
2629
|
+
*/
|
|
2630
|
+
AdBreakOpportunities?: AdBreakOpportunity[];
|
|
2615
2631
|
/**
|
|
2616
2632
|
* @public
|
|
2617
2633
|
* <p>The ARN of the VOD source.</p>
|
|
@@ -282,6 +282,9 @@ export interface VodSource {
|
|
|
282
282
|
Tags?: Record<string, string>;
|
|
283
283
|
VodSourceName: string | undefined;
|
|
284
284
|
}
|
|
285
|
+
export interface AdBreakOpportunity {
|
|
286
|
+
OffsetMillis: number | undefined;
|
|
287
|
+
}
|
|
285
288
|
export declare class BadRequestException extends __BaseException {
|
|
286
289
|
readonly name: "BadRequestException";
|
|
287
290
|
readonly $fault: "client";
|
|
@@ -639,6 +642,7 @@ export interface DescribeVodSourceRequest {
|
|
|
639
642
|
VodSourceName: string | undefined;
|
|
640
643
|
}
|
|
641
644
|
export interface DescribeVodSourceResponse {
|
|
645
|
+
AdBreakOpportunities?: AdBreakOpportunity[];
|
|
642
646
|
Arn?: string;
|
|
643
647
|
CreationTime?: Date;
|
|
644
648
|
HttpPackageConfigurations?: HttpPackageConfiguration[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediatailor",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediatailor Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.425.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",
|
|
@@ -21,39 +21,39 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.1
|
|
38
|
-
"@smithy/hash-node": "^2.0.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.0.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
-
"@smithy/middleware-serde": "^2.0.
|
|
44
|
-
"@smithy/middleware-stack": "^2.0.
|
|
45
|
-
"@smithy/node-config-provider": "^2.0.
|
|
46
|
-
"@smithy/node-http-handler": "^2.1.
|
|
47
|
-
"@smithy/protocol-http": "^3.0.
|
|
48
|
-
"@smithy/smithy-client": "^2.1.
|
|
49
|
-
"@smithy/types": "^2.3.
|
|
50
|
-
"@smithy/url-parser": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.425.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.425.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.425.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.425.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.425.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.425.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.425.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.425.0",
|
|
32
|
+
"@aws-sdk/types": "3.425.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.425.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.425.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.425.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.11",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.2.1",
|
|
38
|
+
"@smithy/hash-node": "^2.0.10",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.10",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.12",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.0.10",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.13",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.10",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.4",
|
|
45
|
+
"@smithy/node-config-provider": "^2.0.13",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.6",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.6",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.9",
|
|
49
|
+
"@smithy/types": "^2.3.4",
|
|
50
|
+
"@smithy/url-parser": "^2.0.10",
|
|
51
51
|
"@smithy/util-base64": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
56
|
-
"@smithy/util-retry": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.13",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.15",
|
|
56
|
+
"@smithy/util-retry": "^2.0.3",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
58
|
"tslib": "^2.5.0"
|
|
59
59
|
},
|