@aws-sdk/client-mediatailor 3.193.0 → 3.196.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 (206) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +2 -1
  3. package/dist-cjs/MediaTailorClient.js +11 -8
  4. package/dist-cjs/commands/ConfigureLogsForPlaybackConfigurationCommand.js +10 -0
  5. package/dist-cjs/commands/CreateChannelCommand.js +10 -0
  6. package/dist-cjs/commands/CreateLiveSourceCommand.js +10 -0
  7. package/dist-cjs/commands/CreatePrefetchScheduleCommand.js +10 -0
  8. package/dist-cjs/commands/CreateProgramCommand.js +10 -0
  9. package/dist-cjs/commands/CreateSourceLocationCommand.js +10 -0
  10. package/dist-cjs/commands/CreateVodSourceCommand.js +10 -0
  11. package/dist-cjs/commands/DeleteChannelCommand.js +10 -0
  12. package/dist-cjs/commands/DeleteChannelPolicyCommand.js +10 -0
  13. package/dist-cjs/commands/DeleteLiveSourceCommand.js +10 -0
  14. package/dist-cjs/commands/DeletePlaybackConfigurationCommand.js +10 -0
  15. package/dist-cjs/commands/DeletePrefetchScheduleCommand.js +10 -0
  16. package/dist-cjs/commands/DeleteProgramCommand.js +10 -0
  17. package/dist-cjs/commands/DeleteSourceLocationCommand.js +10 -0
  18. package/dist-cjs/commands/DeleteVodSourceCommand.js +10 -0
  19. package/dist-cjs/commands/DescribeChannelCommand.js +10 -0
  20. package/dist-cjs/commands/DescribeLiveSourceCommand.js +10 -0
  21. package/dist-cjs/commands/DescribeProgramCommand.js +10 -0
  22. package/dist-cjs/commands/DescribeSourceLocationCommand.js +10 -0
  23. package/dist-cjs/commands/DescribeVodSourceCommand.js +10 -0
  24. package/dist-cjs/commands/GetChannelPolicyCommand.js +10 -0
  25. package/dist-cjs/commands/GetChannelScheduleCommand.js +10 -0
  26. package/dist-cjs/commands/GetPlaybackConfigurationCommand.js +10 -0
  27. package/dist-cjs/commands/GetPrefetchScheduleCommand.js +10 -0
  28. package/dist-cjs/commands/ListAlertsCommand.js +10 -0
  29. package/dist-cjs/commands/ListChannelsCommand.js +10 -0
  30. package/dist-cjs/commands/ListLiveSourcesCommand.js +10 -0
  31. package/dist-cjs/commands/ListPlaybackConfigurationsCommand.js +10 -0
  32. package/dist-cjs/commands/ListPrefetchSchedulesCommand.js +10 -0
  33. package/dist-cjs/commands/ListSourceLocationsCommand.js +10 -0
  34. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  35. package/dist-cjs/commands/ListVodSourcesCommand.js +10 -0
  36. package/dist-cjs/commands/PutChannelPolicyCommand.js +10 -0
  37. package/dist-cjs/commands/PutPlaybackConfigurationCommand.js +10 -0
  38. package/dist-cjs/commands/StartChannelCommand.js +10 -0
  39. package/dist-cjs/commands/StopChannelCommand.js +10 -0
  40. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  41. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  42. package/dist-cjs/commands/UpdateChannelCommand.js +10 -0
  43. package/dist-cjs/commands/UpdateLiveSourceCommand.js +10 -0
  44. package/dist-cjs/commands/UpdateSourceLocationCommand.js +10 -0
  45. package/dist-cjs/commands/UpdateVodSourceCommand.js +10 -0
  46. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  47. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  48. package/dist-cjs/endpoint/ruleset.js +318 -0
  49. package/dist-cjs/models/models_0.js +124 -124
  50. package/dist-cjs/runtimeConfig.shared.js +3 -3
  51. package/dist-es/MediaTailorClient.js +12 -9
  52. package/dist-es/commands/ConfigureLogsForPlaybackConfigurationCommand.js +10 -0
  53. package/dist-es/commands/CreateChannelCommand.js +10 -0
  54. package/dist-es/commands/CreateLiveSourceCommand.js +10 -0
  55. package/dist-es/commands/CreatePrefetchScheduleCommand.js +10 -0
  56. package/dist-es/commands/CreateProgramCommand.js +10 -0
  57. package/dist-es/commands/CreateSourceLocationCommand.js +10 -0
  58. package/dist-es/commands/CreateVodSourceCommand.js +10 -0
  59. package/dist-es/commands/DeleteChannelCommand.js +10 -0
  60. package/dist-es/commands/DeleteChannelPolicyCommand.js +10 -0
  61. package/dist-es/commands/DeleteLiveSourceCommand.js +10 -0
  62. package/dist-es/commands/DeletePlaybackConfigurationCommand.js +10 -0
  63. package/dist-es/commands/DeletePrefetchScheduleCommand.js +10 -0
  64. package/dist-es/commands/DeleteProgramCommand.js +10 -0
  65. package/dist-es/commands/DeleteSourceLocationCommand.js +10 -0
  66. package/dist-es/commands/DeleteVodSourceCommand.js +10 -0
  67. package/dist-es/commands/DescribeChannelCommand.js +10 -0
  68. package/dist-es/commands/DescribeLiveSourceCommand.js +10 -0
  69. package/dist-es/commands/DescribeProgramCommand.js +10 -0
  70. package/dist-es/commands/DescribeSourceLocationCommand.js +10 -0
  71. package/dist-es/commands/DescribeVodSourceCommand.js +10 -0
  72. package/dist-es/commands/GetChannelPolicyCommand.js +10 -0
  73. package/dist-es/commands/GetChannelScheduleCommand.js +10 -0
  74. package/dist-es/commands/GetPlaybackConfigurationCommand.js +10 -0
  75. package/dist-es/commands/GetPrefetchScheduleCommand.js +10 -0
  76. package/dist-es/commands/ListAlertsCommand.js +10 -0
  77. package/dist-es/commands/ListChannelsCommand.js +10 -0
  78. package/dist-es/commands/ListLiveSourcesCommand.js +10 -0
  79. package/dist-es/commands/ListPlaybackConfigurationsCommand.js +10 -0
  80. package/dist-es/commands/ListPrefetchSchedulesCommand.js +10 -0
  81. package/dist-es/commands/ListSourceLocationsCommand.js +10 -0
  82. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  83. package/dist-es/commands/ListVodSourcesCommand.js +10 -0
  84. package/dist-es/commands/PutChannelPolicyCommand.js +10 -0
  85. package/dist-es/commands/PutPlaybackConfigurationCommand.js +10 -0
  86. package/dist-es/commands/StartChannelCommand.js +10 -0
  87. package/dist-es/commands/StopChannelCommand.js +10 -0
  88. package/dist-es/commands/TagResourceCommand.js +10 -0
  89. package/dist-es/commands/UntagResourceCommand.js +10 -0
  90. package/dist-es/commands/UpdateChannelCommand.js +10 -0
  91. package/dist-es/commands/UpdateLiveSourceCommand.js +10 -0
  92. package/dist-es/commands/UpdateSourceLocationCommand.js +10 -0
  93. package/dist-es/commands/UpdateVodSourceCommand.js +10 -0
  94. package/dist-es/endpoint/EndpointParameters.js +8 -0
  95. package/dist-es/endpoint/endpointResolver.js +8 -0
  96. package/dist-es/endpoint/ruleset.js +315 -0
  97. package/dist-es/models/models_0.js +80 -80
  98. package/dist-es/runtimeConfig.shared.js +2 -2
  99. package/dist-types/MediaTailor.d.ts +43 -42
  100. package/dist-types/MediaTailorClient.d.ts +8 -10
  101. package/dist-types/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +3 -1
  102. package/dist-types/commands/CreateChannelCommand.d.ts +3 -1
  103. package/dist-types/commands/CreateLiveSourceCommand.d.ts +3 -1
  104. package/dist-types/commands/CreatePrefetchScheduleCommand.d.ts +3 -1
  105. package/dist-types/commands/CreateProgramCommand.d.ts +3 -1
  106. package/dist-types/commands/CreateSourceLocationCommand.d.ts +3 -1
  107. package/dist-types/commands/CreateVodSourceCommand.d.ts +3 -1
  108. package/dist-types/commands/DeleteChannelCommand.d.ts +3 -1
  109. package/dist-types/commands/DeleteChannelPolicyCommand.d.ts +3 -1
  110. package/dist-types/commands/DeleteLiveSourceCommand.d.ts +3 -1
  111. package/dist-types/commands/DeletePlaybackConfigurationCommand.d.ts +3 -1
  112. package/dist-types/commands/DeletePrefetchScheduleCommand.d.ts +3 -1
  113. package/dist-types/commands/DeleteProgramCommand.d.ts +3 -1
  114. package/dist-types/commands/DeleteSourceLocationCommand.d.ts +3 -1
  115. package/dist-types/commands/DeleteVodSourceCommand.d.ts +3 -1
  116. package/dist-types/commands/DescribeChannelCommand.d.ts +3 -1
  117. package/dist-types/commands/DescribeLiveSourceCommand.d.ts +3 -1
  118. package/dist-types/commands/DescribeProgramCommand.d.ts +3 -1
  119. package/dist-types/commands/DescribeSourceLocationCommand.d.ts +3 -1
  120. package/dist-types/commands/DescribeVodSourceCommand.d.ts +3 -1
  121. package/dist-types/commands/GetChannelPolicyCommand.d.ts +3 -1
  122. package/dist-types/commands/GetChannelScheduleCommand.d.ts +2 -0
  123. package/dist-types/commands/GetPlaybackConfigurationCommand.d.ts +3 -1
  124. package/dist-types/commands/GetPrefetchScheduleCommand.d.ts +3 -1
  125. package/dist-types/commands/ListAlertsCommand.d.ts +3 -1
  126. package/dist-types/commands/ListChannelsCommand.d.ts +3 -1
  127. package/dist-types/commands/ListLiveSourcesCommand.d.ts +3 -1
  128. package/dist-types/commands/ListPlaybackConfigurationsCommand.d.ts +3 -1
  129. package/dist-types/commands/ListPrefetchSchedulesCommand.d.ts +3 -1
  130. package/dist-types/commands/ListSourceLocationsCommand.d.ts +3 -1
  131. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -1
  132. package/dist-types/commands/ListVodSourcesCommand.d.ts +3 -1
  133. package/dist-types/commands/PutChannelPolicyCommand.d.ts +3 -1
  134. package/dist-types/commands/PutPlaybackConfigurationCommand.d.ts +3 -1
  135. package/dist-types/commands/StartChannelCommand.d.ts +3 -1
  136. package/dist-types/commands/StopChannelCommand.d.ts +3 -1
  137. package/dist-types/commands/TagResourceCommand.d.ts +3 -1
  138. package/dist-types/commands/UntagResourceCommand.d.ts +3 -1
  139. package/dist-types/commands/UpdateChannelCommand.d.ts +3 -1
  140. package/dist-types/commands/UpdateLiveSourceCommand.d.ts +3 -1
  141. package/dist-types/commands/UpdateSourceLocationCommand.d.ts +3 -1
  142. package/dist-types/commands/UpdateVodSourceCommand.d.ts +3 -1
  143. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  144. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  145. package/dist-types/endpoint/ruleset.d.ts +2 -0
  146. package/dist-types/models/models_0.d.ts +709 -659
  147. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  148. package/dist-types/runtimeConfig.d.ts +4 -2
  149. package/dist-types/runtimeConfig.native.d.ts +4 -2
  150. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  151. package/dist-types/ts3.4/MediaTailorClient.d.ts +15 -8
  152. package/dist-types/ts3.4/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +2 -0
  153. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +2 -0
  154. package/dist-types/ts3.4/commands/CreateLiveSourceCommand.d.ts +2 -0
  155. package/dist-types/ts3.4/commands/CreatePrefetchScheduleCommand.d.ts +2 -0
  156. package/dist-types/ts3.4/commands/CreateProgramCommand.d.ts +2 -0
  157. package/dist-types/ts3.4/commands/CreateSourceLocationCommand.d.ts +2 -0
  158. package/dist-types/ts3.4/commands/CreateVodSourceCommand.d.ts +2 -0
  159. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +2 -0
  160. package/dist-types/ts3.4/commands/DeleteChannelPolicyCommand.d.ts +2 -0
  161. package/dist-types/ts3.4/commands/DeleteLiveSourceCommand.d.ts +2 -0
  162. package/dist-types/ts3.4/commands/DeletePlaybackConfigurationCommand.d.ts +2 -0
  163. package/dist-types/ts3.4/commands/DeletePrefetchScheduleCommand.d.ts +2 -0
  164. package/dist-types/ts3.4/commands/DeleteProgramCommand.d.ts +2 -0
  165. package/dist-types/ts3.4/commands/DeleteSourceLocationCommand.d.ts +2 -0
  166. package/dist-types/ts3.4/commands/DeleteVodSourceCommand.d.ts +2 -0
  167. package/dist-types/ts3.4/commands/DescribeChannelCommand.d.ts +2 -0
  168. package/dist-types/ts3.4/commands/DescribeLiveSourceCommand.d.ts +2 -0
  169. package/dist-types/ts3.4/commands/DescribeProgramCommand.d.ts +2 -0
  170. package/dist-types/ts3.4/commands/DescribeSourceLocationCommand.d.ts +2 -0
  171. package/dist-types/ts3.4/commands/DescribeVodSourceCommand.d.ts +2 -0
  172. package/dist-types/ts3.4/commands/GetChannelPolicyCommand.d.ts +2 -0
  173. package/dist-types/ts3.4/commands/GetChannelScheduleCommand.d.ts +2 -0
  174. package/dist-types/ts3.4/commands/GetPlaybackConfigurationCommand.d.ts +2 -0
  175. package/dist-types/ts3.4/commands/GetPrefetchScheduleCommand.d.ts +2 -0
  176. package/dist-types/ts3.4/commands/ListAlertsCommand.d.ts +2 -0
  177. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +2 -0
  178. package/dist-types/ts3.4/commands/ListLiveSourcesCommand.d.ts +2 -0
  179. package/dist-types/ts3.4/commands/ListPlaybackConfigurationsCommand.d.ts +2 -0
  180. package/dist-types/ts3.4/commands/ListPrefetchSchedulesCommand.d.ts +2 -0
  181. package/dist-types/ts3.4/commands/ListSourceLocationsCommand.d.ts +2 -0
  182. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  183. package/dist-types/ts3.4/commands/ListVodSourcesCommand.d.ts +2 -0
  184. package/dist-types/ts3.4/commands/PutChannelPolicyCommand.d.ts +2 -0
  185. package/dist-types/ts3.4/commands/PutPlaybackConfigurationCommand.d.ts +2 -0
  186. package/dist-types/ts3.4/commands/StartChannelCommand.d.ts +2 -0
  187. package/dist-types/ts3.4/commands/StopChannelCommand.d.ts +2 -0
  188. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  189. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  190. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +2 -0
  191. package/dist-types/ts3.4/commands/UpdateLiveSourceCommand.d.ts +2 -0
  192. package/dist-types/ts3.4/commands/UpdateSourceLocationCommand.d.ts +2 -0
  193. package/dist-types/ts3.4/commands/UpdateVodSourceCommand.d.ts +2 -0
  194. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  195. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  196. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  197. package/dist-types/ts3.4/models/models_0.d.ts +242 -242
  198. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  199. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  200. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  201. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  202. package/package.json +5 -3
  203. package/dist-cjs/endpoints.js +0 -132
  204. package/dist-es/endpoints.js +0 -128
  205. package/dist-types/endpoints.d.ts +0 -2
  206. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -19,6 +20,7 @@ export declare class UntagResourceCommand extends $Command<
19
20
  MediaTailorClientResolvedConfig
20
21
  > {
21
22
  readonly input: UntagResourceCommandInput;
23
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
22
24
  constructor(input: UntagResourceCommandInput);
23
25
  resolveMiddleware(
24
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class UpdateChannelCommand extends $Command<
24
25
  MediaTailorClientResolvedConfig
25
26
  > {
26
27
  readonly input: UpdateChannelCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: UpdateChannelCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class UpdateLiveSourceCommand extends $Command<
24
25
  MediaTailorClientResolvedConfig
25
26
  > {
26
27
  readonly input: UpdateLiveSourceCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: UpdateLiveSourceCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class UpdateSourceLocationCommand extends $Command<
25
26
  MediaTailorClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateSourceLocationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateSourceLocationCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class UpdateVodSourceCommand extends $Command<
24
25
  MediaTailorClientResolvedConfig
25
26
  > {
26
27
  readonly input: UpdateVodSourceCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: UpdateVodSourceCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -0,0 +1,26 @@
1
+ import {
2
+ EndpointParameters as __EndpointParameters,
3
+ Provider,
4
+ } from "@aws-sdk/types";
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | Provider<string>;
7
+ useDualstackEndpoint?: boolean | Provider<boolean>;
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?: string | Provider<string>;
10
+ }
11
+ export declare type ClientResolvedEndpointParameters =
12
+ ClientInputEndpointParameters & {
13
+ defaultSigningName: string;
14
+ };
15
+ export declare const resolveClientEndpointParameters: <T>(
16
+ options: T & ClientInputEndpointParameters
17
+ ) => T &
18
+ ClientInputEndpointParameters & {
19
+ defaultSigningName: string;
20
+ };
21
+ export interface EndpointParameters extends __EndpointParameters {
22
+ Region?: string;
23
+ UseDualStack?: boolean;
24
+ UseFIPS?: boolean;
25
+ Endpoint?: string;
26
+ }
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;