@aws-sdk/client-mediapackage-vod 3.282.0 → 3.288.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/endpoint/ruleset.js +3 -3
- package/dist-cjs/pagination/ListAssetsPaginator.js +1 -8
- package/dist-cjs/pagination/ListPackagingConfigurationsPaginator.js +1 -8
- package/dist-cjs/pagination/ListPackagingGroupsPaginator.js +1 -8
- package/dist-cjs/protocols/Aws_restJson1.js +20 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/pagination/ListAssetsPaginator.js +1 -8
- package/dist-es/pagination/ListPackagingConfigurationsPaginator.js +1 -8
- package/dist-es/pagination/ListPackagingGroupsPaginator.js +1 -8
- package/dist-es/protocols/Aws_restJson1.js +20 -0
- package/dist-types/models/models_0.d.ts +33 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/package.json +9 -9
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://mediapackage-vod-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://mediapackage-vod-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://mediapackage-vod.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://mediapackage-vod.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAssets = void 0;
|
|
4
4
|
const ListAssetsCommand_1 = require("../commands/ListAssetsCommand");
|
|
5
|
-
const MediaPackageVod_1 = require("../MediaPackageVod");
|
|
6
5
|
const MediaPackageVodClient_1 = require("../MediaPackageVodClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListAssetsCommand_1.ListAssetsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listAssets(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListAssets(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListAssets(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof MediaPackageVodClient_1.MediaPackageVodClient) {
|
|
16
|
+
if (config.client instanceof MediaPackageVodClient_1.MediaPackageVodClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListPackagingConfigurations = void 0;
|
|
4
4
|
const ListPackagingConfigurationsCommand_1 = require("../commands/ListPackagingConfigurationsCommand");
|
|
5
|
-
const MediaPackageVod_1 = require("../MediaPackageVod");
|
|
6
5
|
const MediaPackageVodClient_1 = require("../MediaPackageVodClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListPackagingConfigurationsCommand_1.ListPackagingConfigurationsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listPackagingConfigurations(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListPackagingConfigurations(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListPackagingConfigurations(config, input, ...additional
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof MediaPackageVodClient_1.MediaPackageVodClient) {
|
|
16
|
+
if (config.client instanceof MediaPackageVodClient_1.MediaPackageVodClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListPackagingGroups = void 0;
|
|
4
4
|
const ListPackagingGroupsCommand_1 = require("../commands/ListPackagingGroupsCommand");
|
|
5
|
-
const MediaPackageVod_1 = require("../MediaPackageVod");
|
|
6
5
|
const MediaPackageVodClient_1 = require("../MediaPackageVodClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListPackagingGroupsCommand_1.ListPackagingGroupsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listPackagingGroups(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListPackagingGroups(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListPackagingGroups(config, input, ...additionalArgument
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof MediaPackageVodClient_1.MediaPackageVodClient) {
|
|
16
|
+
if (config.client instanceof MediaPackageVodClient_1.MediaPackageVodClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -378,6 +378,9 @@ const deserializeAws_restJson1ConfigureLogsCommand = async (output, context) =>
|
|
|
378
378
|
if (data.authorization != null) {
|
|
379
379
|
contents.Authorization = deserializeAws_restJson1Authorization(data.authorization, context);
|
|
380
380
|
}
|
|
381
|
+
if (data.createdAt != null) {
|
|
382
|
+
contents.CreatedAt = (0, smithy_client_1.expectString)(data.createdAt);
|
|
383
|
+
}
|
|
381
384
|
if (data.domainName != null) {
|
|
382
385
|
contents.DomainName = (0, smithy_client_1.expectString)(data.domainName);
|
|
383
386
|
}
|
|
@@ -515,6 +518,9 @@ const deserializeAws_restJson1CreatePackagingConfigurationCommand = async (outpu
|
|
|
515
518
|
if (data.cmafPackage != null) {
|
|
516
519
|
contents.CmafPackage = deserializeAws_restJson1CmafPackage(data.cmafPackage, context);
|
|
517
520
|
}
|
|
521
|
+
if (data.createdAt != null) {
|
|
522
|
+
contents.CreatedAt = (0, smithy_client_1.expectString)(data.createdAt);
|
|
523
|
+
}
|
|
518
524
|
if (data.dashPackage != null) {
|
|
519
525
|
contents.DashPackage = deserializeAws_restJson1DashPackage(data.dashPackage, context);
|
|
520
526
|
}
|
|
@@ -585,6 +591,9 @@ const deserializeAws_restJson1CreatePackagingGroupCommand = async (output, conte
|
|
|
585
591
|
if (data.authorization != null) {
|
|
586
592
|
contents.Authorization = deserializeAws_restJson1Authorization(data.authorization, context);
|
|
587
593
|
}
|
|
594
|
+
if (data.createdAt != null) {
|
|
595
|
+
contents.CreatedAt = (0, smithy_client_1.expectString)(data.createdAt);
|
|
596
|
+
}
|
|
588
597
|
if (data.domainName != null) {
|
|
589
598
|
contents.DomainName = (0, smithy_client_1.expectString)(data.domainName);
|
|
590
599
|
}
|
|
@@ -860,6 +869,9 @@ const deserializeAws_restJson1DescribePackagingConfigurationCommand = async (out
|
|
|
860
869
|
if (data.cmafPackage != null) {
|
|
861
870
|
contents.CmafPackage = deserializeAws_restJson1CmafPackage(data.cmafPackage, context);
|
|
862
871
|
}
|
|
872
|
+
if (data.createdAt != null) {
|
|
873
|
+
contents.CreatedAt = (0, smithy_client_1.expectString)(data.createdAt);
|
|
874
|
+
}
|
|
863
875
|
if (data.dashPackage != null) {
|
|
864
876
|
contents.DashPackage = deserializeAws_restJson1DashPackage(data.dashPackage, context);
|
|
865
877
|
}
|
|
@@ -933,6 +945,9 @@ const deserializeAws_restJson1DescribePackagingGroupCommand = async (output, con
|
|
|
933
945
|
if (data.authorization != null) {
|
|
934
946
|
contents.Authorization = deserializeAws_restJson1Authorization(data.authorization, context);
|
|
935
947
|
}
|
|
948
|
+
if (data.createdAt != null) {
|
|
949
|
+
contents.CreatedAt = (0, smithy_client_1.expectString)(data.createdAt);
|
|
950
|
+
}
|
|
936
951
|
if (data.domainName != null) {
|
|
937
952
|
contents.DomainName = (0, smithy_client_1.expectString)(data.domainName);
|
|
938
953
|
}
|
|
@@ -1234,6 +1249,9 @@ const deserializeAws_restJson1UpdatePackagingGroupCommand = async (output, conte
|
|
|
1234
1249
|
if (data.authorization != null) {
|
|
1235
1250
|
contents.Authorization = deserializeAws_restJson1Authorization(data.authorization, context);
|
|
1236
1251
|
}
|
|
1252
|
+
if (data.createdAt != null) {
|
|
1253
|
+
contents.CreatedAt = (0, smithy_client_1.expectString)(data.createdAt);
|
|
1254
|
+
}
|
|
1237
1255
|
if (data.domainName != null) {
|
|
1238
1256
|
contents.DomainName = (0, smithy_client_1.expectString)(data.domainName);
|
|
1239
1257
|
}
|
|
@@ -1818,6 +1836,7 @@ const deserializeAws_restJson1PackagingConfiguration = (output, context) => {
|
|
|
1818
1836
|
return {
|
|
1819
1837
|
Arn: (0, smithy_client_1.expectString)(output.arn),
|
|
1820
1838
|
CmafPackage: output.cmafPackage != null ? deserializeAws_restJson1CmafPackage(output.cmafPackage, context) : undefined,
|
|
1839
|
+
CreatedAt: (0, smithy_client_1.expectString)(output.createdAt),
|
|
1821
1840
|
DashPackage: output.dashPackage != null ? deserializeAws_restJson1DashPackage(output.dashPackage, context) : undefined,
|
|
1822
1841
|
HlsPackage: output.hlsPackage != null ? deserializeAws_restJson1HlsPackage(output.hlsPackage, context) : undefined,
|
|
1823
1842
|
Id: (0, smithy_client_1.expectString)(output.id),
|
|
@@ -1831,6 +1850,7 @@ const deserializeAws_restJson1PackagingGroup = (output, context) => {
|
|
|
1831
1850
|
ApproximateAssetCount: (0, smithy_client_1.expectInt32)(output.approximateAssetCount),
|
|
1832
1851
|
Arn: (0, smithy_client_1.expectString)(output.arn),
|
|
1833
1852
|
Authorization: output.authorization != null ? deserializeAws_restJson1Authorization(output.authorization, context) : undefined,
|
|
1853
|
+
CreatedAt: (0, smithy_client_1.expectString)(output.createdAt),
|
|
1834
1854
|
DomainName: (0, smithy_client_1.expectString)(output.domainName),
|
|
1835
1855
|
EgressAccessLogs: output.egressAccessLogs != null
|
|
1836
1856
|
? deserializeAws_restJson1EgressAccessLogs(output.egressAccessLogs, context)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://mediapackage-vod-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://mediapackage-vod-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://mediapackage-vod.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://mediapackage-vod.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListAssetsCommand } from "../commands/ListAssetsCommand";
|
|
2
|
-
import { MediaPackageVod } from "../MediaPackageVod";
|
|
3
2
|
import { MediaPackageVodClient } from "../MediaPackageVodClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAssetsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAssets(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAssets(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAssets(config, input, ...additionalArguments)
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof MediaPackageVodClient) {
|
|
13
|
+
if (config.client instanceof MediaPackageVodClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListPackagingConfigurationsCommand, } from "../commands/ListPackagingConfigurationsCommand";
|
|
2
|
-
import { MediaPackageVod } from "../MediaPackageVod";
|
|
3
2
|
import { MediaPackageVodClient } from "../MediaPackageVodClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListPackagingConfigurationsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listPackagingConfigurations(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListPackagingConfigurations(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListPackagingConfigurations(config, input, ...add
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof MediaPackageVodClient) {
|
|
13
|
+
if (config.client instanceof MediaPackageVodClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListPackagingGroupsCommand, } from "../commands/ListPackagingGroupsCommand";
|
|
2
|
-
import { MediaPackageVod } from "../MediaPackageVod";
|
|
3
2
|
import { MediaPackageVodClient } from "../MediaPackageVodClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListPackagingGroupsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listPackagingGroups(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListPackagingGroups(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListPackagingGroups(config, input, ...additionalA
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof MediaPackageVodClient) {
|
|
13
|
+
if (config.client instanceof MediaPackageVodClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -358,6 +358,9 @@ export const deserializeAws_restJson1ConfigureLogsCommand = async (output, conte
|
|
|
358
358
|
if (data.authorization != null) {
|
|
359
359
|
contents.Authorization = deserializeAws_restJson1Authorization(data.authorization, context);
|
|
360
360
|
}
|
|
361
|
+
if (data.createdAt != null) {
|
|
362
|
+
contents.CreatedAt = __expectString(data.createdAt);
|
|
363
|
+
}
|
|
361
364
|
if (data.domainName != null) {
|
|
362
365
|
contents.DomainName = __expectString(data.domainName);
|
|
363
366
|
}
|
|
@@ -493,6 +496,9 @@ export const deserializeAws_restJson1CreatePackagingConfigurationCommand = async
|
|
|
493
496
|
if (data.cmafPackage != null) {
|
|
494
497
|
contents.CmafPackage = deserializeAws_restJson1CmafPackage(data.cmafPackage, context);
|
|
495
498
|
}
|
|
499
|
+
if (data.createdAt != null) {
|
|
500
|
+
contents.CreatedAt = __expectString(data.createdAt);
|
|
501
|
+
}
|
|
496
502
|
if (data.dashPackage != null) {
|
|
497
503
|
contents.DashPackage = deserializeAws_restJson1DashPackage(data.dashPackage, context);
|
|
498
504
|
}
|
|
@@ -562,6 +568,9 @@ export const deserializeAws_restJson1CreatePackagingGroupCommand = async (output
|
|
|
562
568
|
if (data.authorization != null) {
|
|
563
569
|
contents.Authorization = deserializeAws_restJson1Authorization(data.authorization, context);
|
|
564
570
|
}
|
|
571
|
+
if (data.createdAt != null) {
|
|
572
|
+
contents.CreatedAt = __expectString(data.createdAt);
|
|
573
|
+
}
|
|
565
574
|
if (data.domainName != null) {
|
|
566
575
|
contents.DomainName = __expectString(data.domainName);
|
|
567
576
|
}
|
|
@@ -832,6 +841,9 @@ export const deserializeAws_restJson1DescribePackagingConfigurationCommand = asy
|
|
|
832
841
|
if (data.cmafPackage != null) {
|
|
833
842
|
contents.CmafPackage = deserializeAws_restJson1CmafPackage(data.cmafPackage, context);
|
|
834
843
|
}
|
|
844
|
+
if (data.createdAt != null) {
|
|
845
|
+
contents.CreatedAt = __expectString(data.createdAt);
|
|
846
|
+
}
|
|
835
847
|
if (data.dashPackage != null) {
|
|
836
848
|
contents.DashPackage = deserializeAws_restJson1DashPackage(data.dashPackage, context);
|
|
837
849
|
}
|
|
@@ -904,6 +916,9 @@ export const deserializeAws_restJson1DescribePackagingGroupCommand = async (outp
|
|
|
904
916
|
if (data.authorization != null) {
|
|
905
917
|
contents.Authorization = deserializeAws_restJson1Authorization(data.authorization, context);
|
|
906
918
|
}
|
|
919
|
+
if (data.createdAt != null) {
|
|
920
|
+
contents.CreatedAt = __expectString(data.createdAt);
|
|
921
|
+
}
|
|
907
922
|
if (data.domainName != null) {
|
|
908
923
|
contents.DomainName = __expectString(data.domainName);
|
|
909
924
|
}
|
|
@@ -1198,6 +1213,9 @@ export const deserializeAws_restJson1UpdatePackagingGroupCommand = async (output
|
|
|
1198
1213
|
if (data.authorization != null) {
|
|
1199
1214
|
contents.Authorization = deserializeAws_restJson1Authorization(data.authorization, context);
|
|
1200
1215
|
}
|
|
1216
|
+
if (data.createdAt != null) {
|
|
1217
|
+
contents.CreatedAt = __expectString(data.createdAt);
|
|
1218
|
+
}
|
|
1201
1219
|
if (data.domainName != null) {
|
|
1202
1220
|
contents.DomainName = __expectString(data.domainName);
|
|
1203
1221
|
}
|
|
@@ -1781,6 +1799,7 @@ const deserializeAws_restJson1PackagingConfiguration = (output, context) => {
|
|
|
1781
1799
|
return {
|
|
1782
1800
|
Arn: __expectString(output.arn),
|
|
1783
1801
|
CmafPackage: output.cmafPackage != null ? deserializeAws_restJson1CmafPackage(output.cmafPackage, context) : undefined,
|
|
1802
|
+
CreatedAt: __expectString(output.createdAt),
|
|
1784
1803
|
DashPackage: output.dashPackage != null ? deserializeAws_restJson1DashPackage(output.dashPackage, context) : undefined,
|
|
1785
1804
|
HlsPackage: output.hlsPackage != null ? deserializeAws_restJson1HlsPackage(output.hlsPackage, context) : undefined,
|
|
1786
1805
|
Id: __expectString(output.id),
|
|
@@ -1794,6 +1813,7 @@ const deserializeAws_restJson1PackagingGroup = (output, context) => {
|
|
|
1794
1813
|
ApproximateAssetCount: __expectInt32(output.approximateAssetCount),
|
|
1795
1814
|
Arn: __expectString(output.arn),
|
|
1796
1815
|
Authorization: output.authorization != null ? deserializeAws_restJson1Authorization(output.authorization, context) : undefined,
|
|
1816
|
+
CreatedAt: __expectString(output.createdAt),
|
|
1797
1817
|
DomainName: __expectString(output.domainName),
|
|
1798
1818
|
EgressAccessLogs: output.egressAccessLogs != null
|
|
1799
1819
|
? deserializeAws_restJson1EgressAccessLogs(output.egressAccessLogs, context)
|
|
@@ -95,7 +95,7 @@ export interface DashManifest {
|
|
|
95
95
|
*/
|
|
96
96
|
Profile?: Profile | string;
|
|
97
97
|
/**
|
|
98
|
-
* The source of scte markers used. When set to SEGMENTS, the scte markers are sourced from the segments of the ingested content. When set to MANIFEST, the scte markers are sourced from the manifest of the ingested content.
|
|
98
|
+
* The source of scte markers used. When set to SEGMENTS, the scte markers are sourced from the segments of the ingested content. When set to MANIFEST, the scte markers are sourced from the manifest of the ingested content.
|
|
99
99
|
*/
|
|
100
100
|
ScteMarkersSource?: ScteMarkersSource | string;
|
|
101
101
|
/**
|
|
@@ -416,6 +416,10 @@ export interface PackagingConfiguration {
|
|
|
416
416
|
* A CMAF packaging configuration.
|
|
417
417
|
*/
|
|
418
418
|
CmafPackage?: CmafPackage;
|
|
419
|
+
/**
|
|
420
|
+
* The time the PackagingConfiguration was created.
|
|
421
|
+
*/
|
|
422
|
+
CreatedAt?: string;
|
|
419
423
|
/**
|
|
420
424
|
* A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
|
|
421
425
|
*/
|
|
@@ -479,6 +483,10 @@ export interface PackagingGroup {
|
|
|
479
483
|
* CDN Authorization credentials
|
|
480
484
|
*/
|
|
481
485
|
Authorization?: Authorization;
|
|
486
|
+
/**
|
|
487
|
+
* The time the PackagingGroup was created.
|
|
488
|
+
*/
|
|
489
|
+
CreatedAt?: string;
|
|
482
490
|
/**
|
|
483
491
|
* The fully qualified domain name for Assets in the PackagingGroup.
|
|
484
492
|
*/
|
|
@@ -518,6 +526,10 @@ export interface ConfigureLogsResponse {
|
|
|
518
526
|
* CDN Authorization credentials
|
|
519
527
|
*/
|
|
520
528
|
Authorization?: Authorization;
|
|
529
|
+
/**
|
|
530
|
+
* The time the PackagingGroup was created.
|
|
531
|
+
*/
|
|
532
|
+
CreatedAt?: string;
|
|
521
533
|
/**
|
|
522
534
|
* The fully qualified domain name for Assets in the PackagingGroup.
|
|
523
535
|
*/
|
|
@@ -716,6 +728,10 @@ export interface CreatePackagingConfigurationResponse {
|
|
|
716
728
|
* A CMAF packaging configuration.
|
|
717
729
|
*/
|
|
718
730
|
CmafPackage?: CmafPackage;
|
|
731
|
+
/**
|
|
732
|
+
* The time the PackagingConfiguration was created.
|
|
733
|
+
*/
|
|
734
|
+
CreatedAt?: string;
|
|
719
735
|
/**
|
|
720
736
|
* A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
|
|
721
737
|
*/
|
|
@@ -771,6 +787,10 @@ export interface CreatePackagingGroupResponse {
|
|
|
771
787
|
* CDN Authorization credentials
|
|
772
788
|
*/
|
|
773
789
|
Authorization?: Authorization;
|
|
790
|
+
/**
|
|
791
|
+
* The time the PackagingGroup was created.
|
|
792
|
+
*/
|
|
793
|
+
CreatedAt?: string;
|
|
774
794
|
/**
|
|
775
795
|
* The fully qualified domain name for Assets in the PackagingGroup.
|
|
776
796
|
*/
|
|
@@ -871,6 +891,10 @@ export interface DescribePackagingConfigurationResponse {
|
|
|
871
891
|
* A CMAF packaging configuration.
|
|
872
892
|
*/
|
|
873
893
|
CmafPackage?: CmafPackage;
|
|
894
|
+
/**
|
|
895
|
+
* The time the PackagingConfiguration was created.
|
|
896
|
+
*/
|
|
897
|
+
CreatedAt?: string;
|
|
874
898
|
/**
|
|
875
899
|
* A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
|
|
876
900
|
*/
|
|
@@ -915,6 +939,10 @@ export interface DescribePackagingGroupResponse {
|
|
|
915
939
|
* CDN Authorization credentials
|
|
916
940
|
*/
|
|
917
941
|
Authorization?: Authorization;
|
|
942
|
+
/**
|
|
943
|
+
* The time the PackagingGroup was created.
|
|
944
|
+
*/
|
|
945
|
+
CreatedAt?: string;
|
|
918
946
|
/**
|
|
919
947
|
* The fully qualified domain name for Assets in the PackagingGroup.
|
|
920
948
|
*/
|
|
@@ -1058,6 +1086,10 @@ export interface UpdatePackagingGroupResponse {
|
|
|
1058
1086
|
* CDN Authorization credentials
|
|
1059
1087
|
*/
|
|
1060
1088
|
Authorization?: Authorization;
|
|
1089
|
+
/**
|
|
1090
|
+
* The time the PackagingGroup was created.
|
|
1091
|
+
*/
|
|
1092
|
+
CreatedAt?: string;
|
|
1061
1093
|
/**
|
|
1062
1094
|
* The fully qualified domain name for Assets in the PackagingGroup.
|
|
1063
1095
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { MediaPackageVod } from "../MediaPackageVod";
|
|
3
2
|
import { MediaPackageVodClient } from "../MediaPackageVodClient";
|
|
4
3
|
export interface MediaPackageVodPaginationConfiguration extends PaginationConfiguration {
|
|
5
|
-
client:
|
|
4
|
+
client: MediaPackageVodClient;
|
|
6
5
|
}
|
|
@@ -148,6 +148,7 @@ export interface MssPackage {
|
|
|
148
148
|
export interface PackagingConfiguration {
|
|
149
149
|
Arn?: string;
|
|
150
150
|
CmafPackage?: CmafPackage;
|
|
151
|
+
CreatedAt?: string;
|
|
151
152
|
DashPackage?: DashPackage;
|
|
152
153
|
HlsPackage?: HlsPackage;
|
|
153
154
|
Id?: string;
|
|
@@ -166,6 +167,7 @@ export interface PackagingGroup {
|
|
|
166
167
|
ApproximateAssetCount?: number;
|
|
167
168
|
Arn?: string;
|
|
168
169
|
Authorization?: Authorization;
|
|
170
|
+
CreatedAt?: string;
|
|
169
171
|
DomainName?: string;
|
|
170
172
|
EgressAccessLogs?: EgressAccessLogs;
|
|
171
173
|
Id?: string;
|
|
@@ -178,6 +180,7 @@ export interface ConfigureLogsRequest {
|
|
|
178
180
|
export interface ConfigureLogsResponse {
|
|
179
181
|
Arn?: string;
|
|
180
182
|
Authorization?: Authorization;
|
|
183
|
+
CreatedAt?: string;
|
|
181
184
|
DomainName?: string;
|
|
182
185
|
EgressAccessLogs?: EgressAccessLogs;
|
|
183
186
|
Id?: string;
|
|
@@ -258,6 +261,7 @@ export interface CreatePackagingConfigurationRequest {
|
|
|
258
261
|
export interface CreatePackagingConfigurationResponse {
|
|
259
262
|
Arn?: string;
|
|
260
263
|
CmafPackage?: CmafPackage;
|
|
264
|
+
CreatedAt?: string;
|
|
261
265
|
DashPackage?: DashPackage;
|
|
262
266
|
HlsPackage?: HlsPackage;
|
|
263
267
|
Id?: string;
|
|
@@ -274,6 +278,7 @@ export interface CreatePackagingGroupRequest {
|
|
|
274
278
|
export interface CreatePackagingGroupResponse {
|
|
275
279
|
Arn?: string;
|
|
276
280
|
Authorization?: Authorization;
|
|
281
|
+
CreatedAt?: string;
|
|
277
282
|
DomainName?: string;
|
|
278
283
|
EgressAccessLogs?: EgressAccessLogs;
|
|
279
284
|
Id?: string;
|
|
@@ -311,6 +316,7 @@ export interface DescribePackagingConfigurationRequest {
|
|
|
311
316
|
export interface DescribePackagingConfigurationResponse {
|
|
312
317
|
Arn?: string;
|
|
313
318
|
CmafPackage?: CmafPackage;
|
|
319
|
+
CreatedAt?: string;
|
|
314
320
|
DashPackage?: DashPackage;
|
|
315
321
|
HlsPackage?: HlsPackage;
|
|
316
322
|
Id?: string;
|
|
@@ -325,6 +331,7 @@ export interface DescribePackagingGroupResponse {
|
|
|
325
331
|
ApproximateAssetCount?: number;
|
|
326
332
|
Arn?: string;
|
|
327
333
|
Authorization?: Authorization;
|
|
334
|
+
CreatedAt?: string;
|
|
328
335
|
DomainName?: string;
|
|
329
336
|
EgressAccessLogs?: EgressAccessLogs;
|
|
330
337
|
Id?: string;
|
|
@@ -378,6 +385,7 @@ export interface UpdatePackagingGroupResponse {
|
|
|
378
385
|
ApproximateAssetCount?: number;
|
|
379
386
|
Arn?: string;
|
|
380
387
|
Authorization?: Authorization;
|
|
388
|
+
CreatedAt?: string;
|
|
381
389
|
DomainName?: string;
|
|
382
390
|
EgressAccessLogs?: EgressAccessLogs;
|
|
383
391
|
Id?: string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { MediaPackageVod } from "../MediaPackageVod";
|
|
3
2
|
import { MediaPackageVodClient } from "../MediaPackageVodClient";
|
|
4
3
|
export interface MediaPackageVodPaginationConfiguration
|
|
5
4
|
extends PaginationConfiguration {
|
|
6
|
-
client:
|
|
5
|
+
client: MediaPackageVodClient;
|
|
7
6
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediapackage-vod",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediapackage Vod Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.288.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",
|
|
@@ -20,23 +20,23 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.288.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.287.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.288.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.282.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.272.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.272.0",
|
|
29
29
|
"@aws-sdk/middleware-content-length": "3.282.0",
|
|
30
30
|
"@aws-sdk/middleware-endpoint": "3.282.0",
|
|
31
31
|
"@aws-sdk/middleware-host-header": "3.282.0",
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.288.0",
|
|
33
33
|
"@aws-sdk/middleware-recursion-detection": "3.282.0",
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.287.0",
|
|
35
35
|
"@aws-sdk/middleware-serde": "3.272.0",
|
|
36
36
|
"@aws-sdk/middleware-signing": "3.282.0",
|
|
37
37
|
"@aws-sdk/middleware-stack": "3.272.0",
|
|
38
38
|
"@aws-sdk/middleware-user-agent": "3.282.0",
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.287.0",
|
|
40
40
|
"@aws-sdk/node-http-handler": "3.282.0",
|
|
41
41
|
"@aws-sdk/protocol-http": "3.282.0",
|
|
42
42
|
"@aws-sdk/smithy-client": "3.279.0",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-browser": "3.279.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.287.0",
|
|
50
50
|
"@aws-sdk/util-endpoints": "3.272.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.272.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-browser": "3.282.0",
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.287.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
55
55
|
"tslib": "^2.3.1"
|
|
56
56
|
},
|