@aws-sdk/client-mediatailor 3.476.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 +262 -581
  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 +263 -582
  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 +7 -6
@@ -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.476.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,20 +20,21 @@
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.476.0",
24
- "@aws-sdk/core": "3.476.0",
25
- "@aws-sdk/credential-provider-node": "3.476.0",
23
+ "@aws-sdk/client-sts": "3.478.0",
24
+ "@aws-sdk/core": "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",
37
+ "@smithy/core": "^1.2.0",
37
38
  "@smithy/fetch-http-handler": "^2.3.1",
38
39
  "@smithy/hash-node": "^2.0.17",
39
40
  "@smithy/invalid-dependency": "^2.0.15",