@aws-sdk/client-mediatailor 3.477.0 → 3.478.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 (40) hide show
  1. package/dist-cjs/pagination/GetChannelSchedulePaginator.js +2 -24
  2. package/dist-cjs/pagination/ListAlertsPaginator.js +2 -24
  3. package/dist-cjs/pagination/ListChannelsPaginator.js +2 -24
  4. package/dist-cjs/pagination/ListLiveSourcesPaginator.js +2 -24
  5. package/dist-cjs/pagination/ListPlaybackConfigurationsPaginator.js +2 -24
  6. package/dist-cjs/pagination/ListPrefetchSchedulesPaginator.js +2 -24
  7. package/dist-cjs/pagination/ListSourceLocationsPaginator.js +2 -24
  8. package/dist-cjs/pagination/ListVodSourcesPaginator.js +2 -24
  9. package/dist-cjs/protocols/Aws_restJson1.js +5 -0
  10. package/dist-es/pagination/GetChannelSchedulePaginator.js +2 -23
  11. package/dist-es/pagination/ListAlertsPaginator.js +2 -23
  12. package/dist-es/pagination/ListChannelsPaginator.js +2 -23
  13. package/dist-es/pagination/ListLiveSourcesPaginator.js +2 -23
  14. package/dist-es/pagination/ListPlaybackConfigurationsPaginator.js +2 -23
  15. package/dist-es/pagination/ListPrefetchSchedulesPaginator.js +2 -23
  16. package/dist-es/pagination/ListSourceLocationsPaginator.js +2 -23
  17. package/dist-es/pagination/ListVodSourcesPaginator.js +2 -23
  18. package/dist-es/protocols/Aws_restJson1.js +5 -0
  19. package/dist-types/commands/CreateChannelCommand.d.ts +6 -0
  20. package/dist-types/commands/DescribeChannelCommand.d.ts +3 -0
  21. package/dist-types/commands/UpdateChannelCommand.d.ts +6 -0
  22. package/dist-types/models/models_0.d.ts +51 -0
  23. package/dist-types/pagination/GetChannelSchedulePaginator.d.ts +1 -1
  24. package/dist-types/pagination/ListAlertsPaginator.d.ts +1 -1
  25. package/dist-types/pagination/ListChannelsPaginator.d.ts +1 -1
  26. package/dist-types/pagination/ListLiveSourcesPaginator.d.ts +1 -1
  27. package/dist-types/pagination/ListPlaybackConfigurationsPaginator.d.ts +1 -1
  28. package/dist-types/pagination/ListPrefetchSchedulesPaginator.d.ts +1 -1
  29. package/dist-types/pagination/ListSourceLocationsPaginator.d.ts +1 -1
  30. package/dist-types/pagination/ListVodSourcesPaginator.d.ts +1 -1
  31. package/dist-types/ts3.4/models/models_0.d.ts +8 -0
  32. package/dist-types/ts3.4/pagination/GetChannelSchedulePaginator.d.ts +3 -3
  33. package/dist-types/ts3.4/pagination/ListAlertsPaginator.d.ts +3 -3
  34. package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +3 -3
  35. package/dist-types/ts3.4/pagination/ListLiveSourcesPaginator.d.ts +3 -3
  36. package/dist-types/ts3.4/pagination/ListPlaybackConfigurationsPaginator.d.ts +3 -3
  37. package/dist-types/ts3.4/pagination/ListPrefetchSchedulesPaginator.d.ts +3 -3
  38. package/dist-types/ts3.4/pagination/ListSourceLocationsPaginator.d.ts +3 -3
  39. package/dist-types/ts3.4/pagination/ListVodSourcesPaginator.d.ts +3 -3
  40. package/package.json +5 -5
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetChannelSchedule = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetChannelScheduleCommand_1 = require("../commands/GetChannelScheduleCommand");
5
6
  const MediaTailorClient_1 = require("../MediaTailorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetChannelScheduleCommand_1.GetChannelScheduleCommand(input), ...args);
8
- };
9
- async function* paginateGetChannelSchedule(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof MediaTailorClient_1.MediaTailorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetChannelSchedule = paginateGetChannelSchedule;
7
+ exports.paginateGetChannelSchedule = (0, core_1.createPaginator)(MediaTailorClient_1.MediaTailorClient, GetChannelScheduleCommand_1.GetChannelScheduleCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListAlerts = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListAlertsCommand_1 = require("../commands/ListAlertsCommand");
5
6
  const MediaTailorClient_1 = require("../MediaTailorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListAlertsCommand_1.ListAlertsCommand(input), ...args);
8
- };
9
- async function* paginateListAlerts(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof MediaTailorClient_1.MediaTailorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListAlerts = paginateListAlerts;
7
+ exports.paginateListAlerts = (0, core_1.createPaginator)(MediaTailorClient_1.MediaTailorClient, ListAlertsCommand_1.ListAlertsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListChannels = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListChannelsCommand_1 = require("../commands/ListChannelsCommand");
5
6
  const MediaTailorClient_1 = require("../MediaTailorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListChannelsCommand_1.ListChannelsCommand(input), ...args);
8
- };
9
- async function* paginateListChannels(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof MediaTailorClient_1.MediaTailorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListChannels = paginateListChannels;
7
+ exports.paginateListChannels = (0, core_1.createPaginator)(MediaTailorClient_1.MediaTailorClient, ListChannelsCommand_1.ListChannelsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListLiveSources = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListLiveSourcesCommand_1 = require("../commands/ListLiveSourcesCommand");
5
6
  const MediaTailorClient_1 = require("../MediaTailorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListLiveSourcesCommand_1.ListLiveSourcesCommand(input), ...args);
8
- };
9
- async function* paginateListLiveSources(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof MediaTailorClient_1.MediaTailorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListLiveSources = paginateListLiveSources;
7
+ exports.paginateListLiveSources = (0, core_1.createPaginator)(MediaTailorClient_1.MediaTailorClient, ListLiveSourcesCommand_1.ListLiveSourcesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListPlaybackConfigurations = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListPlaybackConfigurationsCommand_1 = require("../commands/ListPlaybackConfigurationsCommand");
5
6
  const MediaTailorClient_1 = require("../MediaTailorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListPlaybackConfigurationsCommand_1.ListPlaybackConfigurationsCommand(input), ...args);
8
- };
9
- async function* paginateListPlaybackConfigurations(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof MediaTailorClient_1.MediaTailorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListPlaybackConfigurations = paginateListPlaybackConfigurations;
7
+ exports.paginateListPlaybackConfigurations = (0, core_1.createPaginator)(MediaTailorClient_1.MediaTailorClient, ListPlaybackConfigurationsCommand_1.ListPlaybackConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListPrefetchSchedules = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListPrefetchSchedulesCommand_1 = require("../commands/ListPrefetchSchedulesCommand");
5
6
  const MediaTailorClient_1 = require("../MediaTailorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListPrefetchSchedulesCommand_1.ListPrefetchSchedulesCommand(input), ...args);
8
- };
9
- async function* paginateListPrefetchSchedules(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof MediaTailorClient_1.MediaTailorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListPrefetchSchedules = paginateListPrefetchSchedules;
7
+ exports.paginateListPrefetchSchedules = (0, core_1.createPaginator)(MediaTailorClient_1.MediaTailorClient, ListPrefetchSchedulesCommand_1.ListPrefetchSchedulesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListSourceLocations = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListSourceLocationsCommand_1 = require("../commands/ListSourceLocationsCommand");
5
6
  const MediaTailorClient_1 = require("../MediaTailorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListSourceLocationsCommand_1.ListSourceLocationsCommand(input), ...args);
8
- };
9
- async function* paginateListSourceLocations(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof MediaTailorClient_1.MediaTailorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListSourceLocations = paginateListSourceLocations;
7
+ exports.paginateListSourceLocations = (0, core_1.createPaginator)(MediaTailorClient_1.MediaTailorClient, ListSourceLocationsCommand_1.ListSourceLocationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListVodSources = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListVodSourcesCommand_1 = require("../commands/ListVodSourcesCommand");
5
6
  const MediaTailorClient_1 = require("../MediaTailorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListVodSourcesCommand_1.ListVodSourcesCommand(input), ...args);
8
- };
9
- async function* paginateListVodSources(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof MediaTailorClient_1.MediaTailorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListVodSources = paginateListVodSources;
7
+ exports.paginateListVodSources = (0, core_1.createPaginator)(MediaTailorClient_1.MediaTailorClient, ListVodSourcesCommand_1.ListVodSourcesCommand, "NextToken", "NextToken", "MaxResults");
@@ -50,6 +50,7 @@ const se_CreateChannelCommand = async (input, context) => {
50
50
  PlaybackMode: [],
51
51
  tags: [, (_) => (0, smithy_client_1._json)(_), `Tags`],
52
52
  Tier: [],
53
+ TimeShiftConfiguration: (_) => (0, smithy_client_1._json)(_),
53
54
  }));
54
55
  b.m("POST").h(headers).b(body);
55
56
  return b.build();
@@ -541,6 +542,7 @@ const se_UpdateChannelCommand = async (input, context) => {
541
542
  body = JSON.stringify((0, smithy_client_1.take)(input, {
542
543
  FillerSlate: (_) => (0, smithy_client_1._json)(_),
543
544
  Outputs: (_) => (0, smithy_client_1._json)(_),
545
+ TimeShiftConfiguration: (_) => (0, smithy_client_1._json)(_),
544
546
  }));
545
547
  b.m("PUT").h(headers).b(body);
546
548
  return b.build();
@@ -690,6 +692,7 @@ const de_CreateChannelCommand = async (output, context) => {
690
692
  PlaybackMode: smithy_client_1.expectString,
691
693
  Tags: [, smithy_client_1._json, `tags`],
692
694
  Tier: smithy_client_1.expectString,
695
+ TimeShiftConfiguration: smithy_client_1._json,
693
696
  });
694
697
  Object.assign(contents, doc);
695
698
  return contents;
@@ -1095,6 +1098,7 @@ const de_DescribeChannelCommand = async (output, context) => {
1095
1098
  PlaybackMode: smithy_client_1.expectString,
1096
1099
  Tags: [, smithy_client_1._json, `tags`],
1097
1100
  Tier: smithy_client_1.expectString,
1101
+ TimeShiftConfiguration: smithy_client_1._json,
1098
1102
  });
1099
1103
  Object.assign(contents, doc);
1100
1104
  return contents;
@@ -1826,6 +1830,7 @@ const de_UpdateChannelCommand = async (output, context) => {
1826
1830
  PlaybackMode: smithy_client_1.expectString,
1827
1831
  Tags: [, smithy_client_1._json, `tags`],
1828
1832
  Tier: smithy_client_1.expectString,
1833
+ TimeShiftConfiguration: smithy_client_1._json,
1829
1834
  });
1830
1835
  Object.assign(contents, doc);
1831
1836
  return contents;
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetChannelScheduleCommand, } from "../commands/GetChannelScheduleCommand";
2
3
  import { MediaTailorClient } from "../MediaTailorClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetChannelScheduleCommand(input), ...args);
5
- };
6
- export async function* paginateGetChannelSchedule(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof MediaTailorClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetChannelSchedule = createPaginator(MediaTailorClient, GetChannelScheduleCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListAlertsCommand } from "../commands/ListAlertsCommand";
2
3
  import { MediaTailorClient } from "../MediaTailorClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListAlertsCommand(input), ...args);
5
- };
6
- export async function* paginateListAlerts(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof MediaTailorClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListAlerts = createPaginator(MediaTailorClient, ListAlertsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListChannelsCommand, } from "../commands/ListChannelsCommand";
2
3
  import { MediaTailorClient } from "../MediaTailorClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListChannelsCommand(input), ...args);
5
- };
6
- export async function* paginateListChannels(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof MediaTailorClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListChannels = createPaginator(MediaTailorClient, ListChannelsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListLiveSourcesCommand, } from "../commands/ListLiveSourcesCommand";
2
3
  import { MediaTailorClient } from "../MediaTailorClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListLiveSourcesCommand(input), ...args);
5
- };
6
- export async function* paginateListLiveSources(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof MediaTailorClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListLiveSources = createPaginator(MediaTailorClient, ListLiveSourcesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListPlaybackConfigurationsCommand, } from "../commands/ListPlaybackConfigurationsCommand";
2
3
  import { MediaTailorClient } from "../MediaTailorClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListPlaybackConfigurationsCommand(input), ...args);
5
- };
6
- export async function* paginateListPlaybackConfigurations(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof MediaTailorClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListPlaybackConfigurations = createPaginator(MediaTailorClient, ListPlaybackConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListPrefetchSchedulesCommand, } from "../commands/ListPrefetchSchedulesCommand";
2
3
  import { MediaTailorClient } from "../MediaTailorClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListPrefetchSchedulesCommand(input), ...args);
5
- };
6
- export async function* paginateListPrefetchSchedules(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof MediaTailorClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListPrefetchSchedules = createPaginator(MediaTailorClient, ListPrefetchSchedulesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListSourceLocationsCommand, } from "../commands/ListSourceLocationsCommand";
2
3
  import { MediaTailorClient } from "../MediaTailorClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListSourceLocationsCommand(input), ...args);
5
- };
6
- export async function* paginateListSourceLocations(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof MediaTailorClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListSourceLocations = createPaginator(MediaTailorClient, ListSourceLocationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListVodSourcesCommand, } from "../commands/ListVodSourcesCommand";
2
3
  import { MediaTailorClient } from "../MediaTailorClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListVodSourcesCommand(input), ...args);
5
- };
6
- export async function* paginateListVodSources(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof MediaTailorClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListVodSources = createPaginator(MediaTailorClient, ListVodSourcesCommand, "NextToken", "NextToken", "MaxResults");
@@ -44,6 +44,7 @@ export const se_CreateChannelCommand = async (input, context) => {
44
44
  PlaybackMode: [],
45
45
  tags: [, (_) => _json(_), `Tags`],
46
46
  Tier: [],
47
+ TimeShiftConfiguration: (_) => _json(_),
47
48
  }));
48
49
  b.m("POST").h(headers).b(body);
49
50
  return b.build();
@@ -498,6 +499,7 @@ export const se_UpdateChannelCommand = async (input, context) => {
498
499
  body = JSON.stringify(take(input, {
499
500
  FillerSlate: (_) => _json(_),
500
501
  Outputs: (_) => _json(_),
502
+ TimeShiftConfiguration: (_) => _json(_),
501
503
  }));
502
504
  b.m("PUT").h(headers).b(body);
503
505
  return b.build();
@@ -640,6 +642,7 @@ export const de_CreateChannelCommand = async (output, context) => {
640
642
  PlaybackMode: __expectString,
641
643
  Tags: [, _json, `tags`],
642
644
  Tier: __expectString,
645
+ TimeShiftConfiguration: _json,
643
646
  });
644
647
  Object.assign(contents, doc);
645
648
  return contents;
@@ -1031,6 +1034,7 @@ export const de_DescribeChannelCommand = async (output, context) => {
1031
1034
  PlaybackMode: __expectString,
1032
1035
  Tags: [, _json, `tags`],
1033
1036
  Tier: __expectString,
1037
+ TimeShiftConfiguration: _json,
1034
1038
  });
1035
1039
  Object.assign(contents, doc);
1036
1040
  return contents;
@@ -1739,6 +1743,7 @@ export const de_UpdateChannelCommand = async (output, context) => {
1739
1743
  PlaybackMode: __expectString,
1740
1744
  Tags: [, _json, `tags`],
1741
1745
  Tier: __expectString,
1746
+ TimeShiftConfiguration: _json,
1742
1747
  });
1743
1748
  Object.assign(contents, doc);
1744
1749
  return contents;
@@ -59,6 +59,9 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
59
59
  * "<keys>": "STRING_VALUE",
60
60
  * },
61
61
  * Tier: "BASIC" || "STANDARD",
62
+ * TimeShiftConfiguration: { // TimeShiftConfiguration
63
+ * MaxTimeDelaySeconds: Number("int"), // required
64
+ * },
62
65
  * };
63
66
  * const command = new CreateChannelCommand(input);
64
67
  * const response = await client.send(command);
@@ -96,6 +99,9 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
96
99
  * // "<keys>": "STRING_VALUE",
97
100
  * // },
98
101
  * // Tier: "STRING_VALUE",
102
+ * // TimeShiftConfiguration: { // TimeShiftConfiguration
103
+ * // MaxTimeDelaySeconds: Number("int"), // required
104
+ * // },
99
105
  * // };
100
106
  *
101
107
  * ```
@@ -74,6 +74,9 @@ export interface DescribeChannelCommandOutput extends DescribeChannelResponse, _
74
74
  * // "AS_RUN",
75
75
  * // ],
76
76
  * // },
77
+ * // TimeShiftConfiguration: { // TimeShiftConfiguration
78
+ * // MaxTimeDelaySeconds: Number("int"), // required
79
+ * // },
77
80
  * // };
78
81
  *
79
82
  * ```
@@ -54,6 +54,9 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
54
54
  * SourceGroup: "STRING_VALUE", // required
55
55
  * },
56
56
  * ],
57
+ * TimeShiftConfiguration: { // TimeShiftConfiguration
58
+ * MaxTimeDelaySeconds: Number("int"), // required
59
+ * },
57
60
  * };
58
61
  * const command = new UpdateChannelCommand(input);
59
62
  * const response = await client.send(command);
@@ -91,6 +94,9 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
91
94
  * // "<keys>": "STRING_VALUE",
92
95
  * // },
93
96
  * // Tier: "STRING_VALUE",
97
+ * // TimeShiftConfiguration: { // TimeShiftConfiguration
98
+ * // MaxTimeDelaySeconds: Number("int"), // required
99
+ * // },
94
100
  * // };
95
101
  *
96
102
  * ```
@@ -1301,6 +1301,22 @@ export declare const Tier: {
1301
1301
  * @public
1302
1302
  */
1303
1303
  export type Tier = (typeof Tier)[keyof typeof Tier];
1304
+ /**
1305
+ * @public
1306
+ * <p>
1307
+ * The configuration for time-shifted viewing.
1308
+ * </p>
1309
+ */
1310
+ export interface TimeShiftConfiguration {
1311
+ /**
1312
+ * @public
1313
+ * <p>
1314
+ * The maximum time delay for time-shifted viewing. The minimum allowed maximum time delay is 0 seconds,
1315
+ * and the maximum allowed maximum time delay is 21600 seconds (6 hours).
1316
+ * </p>
1317
+ */
1318
+ MaxTimeDelaySeconds: number | undefined;
1319
+ }
1304
1320
  /**
1305
1321
  * @public
1306
1322
  */
@@ -1341,6 +1357,13 @@ export interface CreateChannelRequest {
1341
1357
  * <p>The tier of the channel.</p>
1342
1358
  */
1343
1359
  Tier?: Tier;
1360
+ /**
1361
+ * @public
1362
+ * <p>
1363
+ * The time-shifted viewing configuration you want to associate to the channel.
1364
+ * </p>
1365
+ */
1366
+ TimeShiftConfiguration?: TimeShiftConfiguration;
1344
1367
  }
1345
1368
  /**
1346
1369
  * @public
@@ -1408,6 +1431,13 @@ export interface CreateChannelResponse {
1408
1431
  * <p>The tier of the channel.</p>
1409
1432
  */
1410
1433
  Tier?: string;
1434
+ /**
1435
+ * @public
1436
+ * <p>
1437
+ * The time-shifted viewing configuration assigned to the channel.
1438
+ * </p>
1439
+ */
1440
+ TimeShiftConfiguration?: TimeShiftConfiguration;
1411
1441
  }
1412
1442
  /**
1413
1443
  * @public
@@ -1493,6 +1523,13 @@ export interface DescribeChannelResponse {
1493
1523
  * <p>The log configuration for the channel.</p>
1494
1524
  */
1495
1525
  LogConfiguration: LogConfigurationForChannel | undefined;
1526
+ /**
1527
+ * @public
1528
+ * <p>
1529
+ * The time-shifted viewing configuration for the channel.
1530
+ * </p>
1531
+ */
1532
+ TimeShiftConfiguration?: TimeShiftConfiguration;
1496
1533
  }
1497
1534
  /**
1498
1535
  * @public
@@ -2008,6 +2045,13 @@ export interface UpdateChannelRequest {
2008
2045
  * <p>The channel's output properties.</p>
2009
2046
  */
2010
2047
  Outputs: RequestOutputItem[] | undefined;
2048
+ /**
2049
+ * @public
2050
+ * <p>
2051
+ * The time-shifted viewing configuration you want to associate to the channel.
2052
+ * </p>
2053
+ */
2054
+ TimeShiftConfiguration?: TimeShiftConfiguration;
2011
2055
  }
2012
2056
  /**
2013
2057
  * @public
@@ -2069,6 +2113,13 @@ export interface UpdateChannelResponse {
2069
2113
  * <p>The tier associated with this Channel.</p>
2070
2114
  */
2071
2115
  Tier?: string;
2116
+ /**
2117
+ * @public
2118
+ * <p>
2119
+ * The time-shifted viewing configuration for the channel.
2120
+ * </p>
2121
+ */
2122
+ TimeShiftConfiguration?: TimeShiftConfiguration;
2072
2123
  }
2073
2124
  /**
2074
2125
  * @public
@@ -4,4 +4,4 @@ import { MediaTailorPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetChannelSchedule(config: MediaTailorPaginationConfiguration, input: GetChannelScheduleCommandInput, ...additionalArguments: any): Paginator<GetChannelScheduleCommandOutput>;
7
+ export declare const paginateGetChannelSchedule: (config: MediaTailorPaginationConfiguration, input: GetChannelScheduleCommandInput, ...rest: any[]) => Paginator<GetChannelScheduleCommandOutput>;
@@ -4,4 +4,4 @@ import { MediaTailorPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListAlerts(config: MediaTailorPaginationConfiguration, input: ListAlertsCommandInput, ...additionalArguments: any): Paginator<ListAlertsCommandOutput>;
7
+ export declare const paginateListAlerts: (config: MediaTailorPaginationConfiguration, input: ListAlertsCommandInput, ...rest: any[]) => Paginator<ListAlertsCommandOutput>;
@@ -4,4 +4,4 @@ import { MediaTailorPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListChannels(config: MediaTailorPaginationConfiguration, input: ListChannelsCommandInput, ...additionalArguments: any): Paginator<ListChannelsCommandOutput>;
7
+ export declare const paginateListChannels: (config: MediaTailorPaginationConfiguration, input: ListChannelsCommandInput, ...rest: any[]) => Paginator<ListChannelsCommandOutput>;
@@ -4,4 +4,4 @@ import { MediaTailorPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListLiveSources(config: MediaTailorPaginationConfiguration, input: ListLiveSourcesCommandInput, ...additionalArguments: any): Paginator<ListLiveSourcesCommandOutput>;
7
+ export declare const paginateListLiveSources: (config: MediaTailorPaginationConfiguration, input: ListLiveSourcesCommandInput, ...rest: any[]) => Paginator<ListLiveSourcesCommandOutput>;
@@ -4,4 +4,4 @@ import { MediaTailorPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListPlaybackConfigurations(config: MediaTailorPaginationConfiguration, input: ListPlaybackConfigurationsCommandInput, ...additionalArguments: any): Paginator<ListPlaybackConfigurationsCommandOutput>;
7
+ export declare const paginateListPlaybackConfigurations: (config: MediaTailorPaginationConfiguration, input: ListPlaybackConfigurationsCommandInput, ...rest: any[]) => Paginator<ListPlaybackConfigurationsCommandOutput>;
@@ -4,4 +4,4 @@ import { MediaTailorPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListPrefetchSchedules(config: MediaTailorPaginationConfiguration, input: ListPrefetchSchedulesCommandInput, ...additionalArguments: any): Paginator<ListPrefetchSchedulesCommandOutput>;
7
+ export declare const paginateListPrefetchSchedules: (config: MediaTailorPaginationConfiguration, input: ListPrefetchSchedulesCommandInput, ...rest: any[]) => Paginator<ListPrefetchSchedulesCommandOutput>;
@@ -4,4 +4,4 @@ import { MediaTailorPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListSourceLocations(config: MediaTailorPaginationConfiguration, input: ListSourceLocationsCommandInput, ...additionalArguments: any): Paginator<ListSourceLocationsCommandOutput>;
7
+ export declare const paginateListSourceLocations: (config: MediaTailorPaginationConfiguration, input: ListSourceLocationsCommandInput, ...rest: any[]) => Paginator<ListSourceLocationsCommandOutput>;
@@ -4,4 +4,4 @@ import { MediaTailorPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListVodSources(config: MediaTailorPaginationConfiguration, input: ListVodSourcesCommandInput, ...additionalArguments: any): Paginator<ListVodSourcesCommandOutput>;
7
+ export declare const paginateListVodSources: (config: MediaTailorPaginationConfiguration, input: ListVodSourcesCommandInput, ...rest: any[]) => Paginator<ListVodSourcesCommandOutput>;
@@ -332,6 +332,9 @@ export declare const Tier: {
332
332
  readonly STANDARD: "STANDARD";
333
333
  };
334
334
  export type Tier = (typeof Tier)[keyof typeof Tier];
335
+ export interface TimeShiftConfiguration {
336
+ MaxTimeDelaySeconds: number | undefined;
337
+ }
335
338
  export interface CreateChannelRequest {
336
339
  ChannelName: string | undefined;
337
340
  FillerSlate?: SlateSource;
@@ -339,6 +342,7 @@ export interface CreateChannelRequest {
339
342
  PlaybackMode: PlaybackMode | undefined;
340
343
  Tags?: Record<string, string>;
341
344
  Tier?: Tier;
345
+ TimeShiftConfiguration?: TimeShiftConfiguration;
342
346
  }
343
347
  export declare const ChannelState: {
344
348
  readonly RUNNING: "RUNNING";
@@ -356,6 +360,7 @@ export interface CreateChannelResponse {
356
360
  PlaybackMode?: string;
357
361
  Tags?: Record<string, string>;
358
362
  Tier?: string;
363
+ TimeShiftConfiguration?: TimeShiftConfiguration;
359
364
  }
360
365
  export interface DeleteChannelRequest {
361
366
  ChannelName: string | undefined;
@@ -376,6 +381,7 @@ export interface DescribeChannelResponse {
376
381
  Tags?: Record<string, string>;
377
382
  Tier?: string;
378
383
  LogConfiguration: LogConfigurationForChannel | undefined;
384
+ TimeShiftConfiguration?: TimeShiftConfiguration;
379
385
  }
380
386
  export interface GetChannelScheduleRequest {
381
387
  ChannelName: string | undefined;
@@ -498,6 +504,7 @@ export interface UpdateChannelRequest {
498
504
  ChannelName: string | undefined;
499
505
  FillerSlate?: SlateSource;
500
506
  Outputs: RequestOutputItem[] | undefined;
507
+ TimeShiftConfiguration?: TimeShiftConfiguration;
501
508
  }
502
509
  export interface UpdateChannelResponse {
503
510
  Arn?: string;
@@ -510,6 +517,7 @@ export interface UpdateChannelResponse {
510
517
  PlaybackMode?: string;
511
518
  Tags?: Record<string, string>;
512
519
  Tier?: string;
520
+ TimeShiftConfiguration?: TimeShiftConfiguration;
513
521
  }
514
522
  export interface ConfigureLogsForPlaybackConfigurationRequest {
515
523
  PercentEnabled: number | undefined;
@@ -4,8 +4,8 @@ import {
4
4
  GetChannelScheduleCommandOutput,
5
5
  } from "../commands/GetChannelScheduleCommand";
6
6
  import { MediaTailorPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetChannelSchedule(
7
+ export declare const paginateGetChannelSchedule: (
8
8
  config: MediaTailorPaginationConfiguration,
9
9
  input: GetChannelScheduleCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetChannelScheduleCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetChannelScheduleCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListAlertsCommandOutput,
5
5
  } from "../commands/ListAlertsCommand";
6
6
  import { MediaTailorPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListAlerts(
7
+ export declare const paginateListAlerts: (
8
8
  config: MediaTailorPaginationConfiguration,
9
9
  input: ListAlertsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListAlertsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListAlertsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListChannelsCommandOutput,
5
5
  } from "../commands/ListChannelsCommand";
6
6
  import { MediaTailorPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListChannels(
7
+ export declare const paginateListChannels: (
8
8
  config: MediaTailorPaginationConfiguration,
9
9
  input: ListChannelsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListChannelsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListChannelsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListLiveSourcesCommandOutput,
5
5
  } from "../commands/ListLiveSourcesCommand";
6
6
  import { MediaTailorPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListLiveSources(
7
+ export declare const paginateListLiveSources: (
8
8
  config: MediaTailorPaginationConfiguration,
9
9
  input: ListLiveSourcesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListLiveSourcesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListLiveSourcesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListPlaybackConfigurationsCommandOutput,
5
5
  } from "../commands/ListPlaybackConfigurationsCommand";
6
6
  import { MediaTailorPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListPlaybackConfigurations(
7
+ export declare const paginateListPlaybackConfigurations: (
8
8
  config: MediaTailorPaginationConfiguration,
9
9
  input: ListPlaybackConfigurationsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListPlaybackConfigurationsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListPlaybackConfigurationsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListPrefetchSchedulesCommandOutput,
5
5
  } from "../commands/ListPrefetchSchedulesCommand";
6
6
  import { MediaTailorPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListPrefetchSchedules(
7
+ export declare const paginateListPrefetchSchedules: (
8
8
  config: MediaTailorPaginationConfiguration,
9
9
  input: ListPrefetchSchedulesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListPrefetchSchedulesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListPrefetchSchedulesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListSourceLocationsCommandOutput,
5
5
  } from "../commands/ListSourceLocationsCommand";
6
6
  import { MediaTailorPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListSourceLocations(
7
+ export declare const paginateListSourceLocations: (
8
8
  config: MediaTailorPaginationConfiguration,
9
9
  input: ListSourceLocationsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListSourceLocationsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListSourceLocationsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListVodSourcesCommandOutput,
5
5
  } from "../commands/ListVodSourcesCommand";
6
6
  import { MediaTailorPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListVodSources(
7
+ export declare const paginateListVodSources: (
8
8
  config: MediaTailorPaginationConfiguration,
9
9
  input: ListVodSourcesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListVodSourcesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListVodSourcesCommandOutput>;
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.477.0",
4
+ "version": "3.478.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,17 +20,17 @@
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.477.0",
23
+ "@aws-sdk/client-sts": "3.478.0",
24
24
  "@aws-sdk/core": "3.477.0",
25
- "@aws-sdk/credential-provider-node": "3.477.0",
25
+ "@aws-sdk/credential-provider-node": "3.478.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
29
29
  "@aws-sdk/middleware-signing": "3.468.0",
30
- "@aws-sdk/middleware-user-agent": "3.470.0",
30
+ "@aws-sdk/middleware-user-agent": "3.478.0",
31
31
  "@aws-sdk/region-config-resolver": "3.470.0",
32
32
  "@aws-sdk/types": "3.468.0",
33
- "@aws-sdk/util-endpoints": "3.470.0",
33
+ "@aws-sdk/util-endpoints": "3.478.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.468.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.470.0",
36
36
  "@smithy/config-resolver": "^2.0.21",