@aws-sdk/client-mediapackage-vod 3.35.0 → 3.38.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 (201) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist-cjs/MediaPackageVod.js +0 -4
  3. package/dist-cjs/MediaPackageVodClient.js +0 -9
  4. package/dist-cjs/commands/ConfigureLogsCommand.js +0 -25
  5. package/dist-cjs/commands/CreateAssetCommand.js +0 -25
  6. package/dist-cjs/commands/CreatePackagingConfigurationCommand.js +0 -25
  7. package/dist-cjs/commands/CreatePackagingGroupCommand.js +0 -25
  8. package/dist-cjs/commands/DeleteAssetCommand.js +0 -25
  9. package/dist-cjs/commands/DeletePackagingConfigurationCommand.js +0 -25
  10. package/dist-cjs/commands/DeletePackagingGroupCommand.js +0 -25
  11. package/dist-cjs/commands/DescribeAssetCommand.js +0 -25
  12. package/dist-cjs/commands/DescribePackagingConfigurationCommand.js +0 -25
  13. package/dist-cjs/commands/DescribePackagingGroupCommand.js +0 -25
  14. package/dist-cjs/commands/ListAssetsCommand.js +0 -25
  15. package/dist-cjs/commands/ListPackagingConfigurationsCommand.js +0 -25
  16. package/dist-cjs/commands/ListPackagingGroupsCommand.js +0 -25
  17. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  18. package/dist-cjs/commands/TagResourceCommand.js +0 -25
  19. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  20. package/dist-cjs/commands/UpdatePackagingGroupCommand.js +0 -25
  21. package/dist-cjs/commands/index.js +20 -0
  22. package/dist-cjs/endpoints.js +1 -2
  23. package/dist-cjs/index.js +4 -24
  24. package/dist-cjs/models/index.js +0 -1
  25. package/dist-cjs/models/models_0.js +0 -172
  26. package/dist-cjs/pagination/Interfaces.js +0 -1
  27. package/dist-cjs/pagination/ListAssetsPaginator.js +0 -11
  28. package/dist-cjs/pagination/ListPackagingConfigurationsPaginator.js +0 -11
  29. package/dist-cjs/pagination/ListPackagingGroupsPaginator.js +0 -11
  30. package/dist-cjs/pagination/index.js +7 -0
  31. package/dist-cjs/protocols/Aws_restJson1.js +3 -6
  32. package/dist-cjs/runtimeConfig.browser.js +1 -6
  33. package/dist-cjs/runtimeConfig.js +2 -7
  34. package/dist-cjs/runtimeConfig.native.js +0 -4
  35. package/dist-cjs/runtimeConfig.shared.js +0 -4
  36. package/dist-es/MediaPackageVod.js +0 -1
  37. package/dist-es/MediaPackageVodClient.js +0 -1
  38. package/dist-es/commands/ConfigureLogsCommand.js +0 -1
  39. package/dist-es/commands/CreateAssetCommand.js +0 -1
  40. package/dist-es/commands/CreatePackagingConfigurationCommand.js +0 -1
  41. package/dist-es/commands/CreatePackagingGroupCommand.js +0 -1
  42. package/dist-es/commands/DeleteAssetCommand.js +0 -1
  43. package/dist-es/commands/DeletePackagingConfigurationCommand.js +0 -1
  44. package/dist-es/commands/DeletePackagingGroupCommand.js +0 -1
  45. package/dist-es/commands/DescribeAssetCommand.js +0 -1
  46. package/dist-es/commands/DescribePackagingConfigurationCommand.js +0 -1
  47. package/dist-es/commands/DescribePackagingGroupCommand.js +0 -1
  48. package/dist-es/commands/ListAssetsCommand.js +0 -1
  49. package/dist-es/commands/ListPackagingConfigurationsCommand.js +0 -1
  50. package/dist-es/commands/ListPackagingGroupsCommand.js +0 -1
  51. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  52. package/dist-es/commands/TagResourceCommand.js +0 -1
  53. package/dist-es/commands/UntagResourceCommand.js +0 -1
  54. package/dist-es/commands/UpdatePackagingGroupCommand.js +0 -1
  55. package/dist-es/commands/index.js +17 -0
  56. package/dist-es/endpoints.js +1 -2
  57. package/dist-es/index.js +4 -24
  58. package/dist-es/models/index.js +0 -1
  59. package/dist-es/models/models_0.js +0 -1
  60. package/dist-es/pagination/Interfaces.js +0 -1
  61. package/dist-es/pagination/ListAssetsPaginator.js +0 -1
  62. package/dist-es/pagination/ListPackagingConfigurationsPaginator.js +0 -1
  63. package/dist-es/pagination/ListPackagingGroupsPaginator.js +0 -1
  64. package/dist-es/pagination/index.js +4 -0
  65. package/dist-es/protocols/Aws_restJson1.js +4 -3
  66. package/dist-es/runtimeConfig.browser.js +1 -2
  67. package/dist-es/runtimeConfig.js +2 -3
  68. package/dist-es/runtimeConfig.native.js +0 -1
  69. package/dist-es/runtimeConfig.shared.js +0 -1
  70. package/dist-types/commands/index.d.ts +17 -0
  71. package/dist-types/index.d.ts +4 -23
  72. package/dist-types/models/models_0.d.ts +4 -0
  73. package/dist-types/pagination/index.d.ts +4 -0
  74. package/dist-types/ts3.4/MediaPackageVod.d.ts +18 -54
  75. package/dist-types/ts3.4/MediaPackageVodClient.d.ts +24 -89
  76. package/dist-types/ts3.4/commands/ConfigureLogsCommand.d.ts +2 -20
  77. package/dist-types/ts3.4/commands/CreateAssetCommand.d.ts +2 -20
  78. package/dist-types/ts3.4/commands/CreatePackagingConfigurationCommand.d.ts +2 -20
  79. package/dist-types/ts3.4/commands/CreatePackagingGroupCommand.d.ts +2 -20
  80. package/dist-types/ts3.4/commands/DeleteAssetCommand.d.ts +2 -20
  81. package/dist-types/ts3.4/commands/DeletePackagingConfigurationCommand.d.ts +2 -20
  82. package/dist-types/ts3.4/commands/DeletePackagingGroupCommand.d.ts +2 -20
  83. package/dist-types/ts3.4/commands/DescribeAssetCommand.d.ts +2 -20
  84. package/dist-types/ts3.4/commands/DescribePackagingConfigurationCommand.d.ts +2 -20
  85. package/dist-types/ts3.4/commands/DescribePackagingGroupCommand.d.ts +2 -20
  86. package/dist-types/ts3.4/commands/ListAssetsCommand.d.ts +2 -20
  87. package/dist-types/ts3.4/commands/ListPackagingConfigurationsCommand.d.ts +2 -20
  88. package/dist-types/ts3.4/commands/ListPackagingGroupsCommand.d.ts +2 -20
  89. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  90. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  91. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  92. package/dist-types/ts3.4/commands/UpdatePackagingGroupCommand.d.ts +2 -20
  93. package/dist-types/ts3.4/commands/index.d.ts +17 -0
  94. package/dist-types/ts3.4/index.d.ts +4 -23
  95. package/dist-types/ts3.4/models/models_0.d.ts +265 -810
  96. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  97. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  98. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  99. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  100. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  101. package/package.json +33 -30
  102. package/dist-cjs/MediaPackageVod.js.map +0 -1
  103. package/dist-cjs/MediaPackageVodClient.js.map +0 -1
  104. package/dist-cjs/commands/ConfigureLogsCommand.js.map +0 -1
  105. package/dist-cjs/commands/CreateAssetCommand.js.map +0 -1
  106. package/dist-cjs/commands/CreatePackagingConfigurationCommand.js.map +0 -1
  107. package/dist-cjs/commands/CreatePackagingGroupCommand.js.map +0 -1
  108. package/dist-cjs/commands/DeleteAssetCommand.js.map +0 -1
  109. package/dist-cjs/commands/DeletePackagingConfigurationCommand.js.map +0 -1
  110. package/dist-cjs/commands/DeletePackagingGroupCommand.js.map +0 -1
  111. package/dist-cjs/commands/DescribeAssetCommand.js.map +0 -1
  112. package/dist-cjs/commands/DescribePackagingConfigurationCommand.js.map +0 -1
  113. package/dist-cjs/commands/DescribePackagingGroupCommand.js.map +0 -1
  114. package/dist-cjs/commands/ListAssetsCommand.js.map +0 -1
  115. package/dist-cjs/commands/ListPackagingConfigurationsCommand.js.map +0 -1
  116. package/dist-cjs/commands/ListPackagingGroupsCommand.js.map +0 -1
  117. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  118. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  119. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  120. package/dist-cjs/commands/UpdatePackagingGroupCommand.js.map +0 -1
  121. package/dist-cjs/endpoints.js.map +0 -1
  122. package/dist-cjs/index.js.map +0 -1
  123. package/dist-cjs/models/index.js.map +0 -1
  124. package/dist-cjs/models/models_0.js.map +0 -1
  125. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  126. package/dist-cjs/pagination/ListAssetsPaginator.js.map +0 -1
  127. package/dist-cjs/pagination/ListPackagingConfigurationsPaginator.js.map +0 -1
  128. package/dist-cjs/pagination/ListPackagingGroupsPaginator.js.map +0 -1
  129. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  130. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  131. package/dist-cjs/runtimeConfig.js.map +0 -1
  132. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  133. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  134. package/dist-es/MediaPackageVod.js.map +0 -1
  135. package/dist-es/MediaPackageVodClient.js.map +0 -1
  136. package/dist-es/commands/ConfigureLogsCommand.js.map +0 -1
  137. package/dist-es/commands/CreateAssetCommand.js.map +0 -1
  138. package/dist-es/commands/CreatePackagingConfigurationCommand.js.map +0 -1
  139. package/dist-es/commands/CreatePackagingGroupCommand.js.map +0 -1
  140. package/dist-es/commands/DeleteAssetCommand.js.map +0 -1
  141. package/dist-es/commands/DeletePackagingConfigurationCommand.js.map +0 -1
  142. package/dist-es/commands/DeletePackagingGroupCommand.js.map +0 -1
  143. package/dist-es/commands/DescribeAssetCommand.js.map +0 -1
  144. package/dist-es/commands/DescribePackagingConfigurationCommand.js.map +0 -1
  145. package/dist-es/commands/DescribePackagingGroupCommand.js.map +0 -1
  146. package/dist-es/commands/ListAssetsCommand.js.map +0 -1
  147. package/dist-es/commands/ListPackagingConfigurationsCommand.js.map +0 -1
  148. package/dist-es/commands/ListPackagingGroupsCommand.js.map +0 -1
  149. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  150. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  151. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  152. package/dist-es/commands/UpdatePackagingGroupCommand.js.map +0 -1
  153. package/dist-es/endpoints.js.map +0 -1
  154. package/dist-es/index.js.map +0 -1
  155. package/dist-es/models/index.js.map +0 -1
  156. package/dist-es/models/models_0.js.map +0 -1
  157. package/dist-es/pagination/Interfaces.js.map +0 -1
  158. package/dist-es/pagination/ListAssetsPaginator.js.map +0 -1
  159. package/dist-es/pagination/ListPackagingConfigurationsPaginator.js.map +0 -1
  160. package/dist-es/pagination/ListPackagingGroupsPaginator.js.map +0 -1
  161. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  162. package/dist-es/runtimeConfig.browser.js.map +0 -1
  163. package/dist-es/runtimeConfig.js.map +0 -1
  164. package/dist-es/runtimeConfig.native.js.map +0 -1
  165. package/dist-es/runtimeConfig.shared.js.map +0 -1
  166. package/jest.config.js +0 -4
  167. package/src/MediaPackageVod.ts +0 -597
  168. package/src/MediaPackageVodClient.ts +0 -317
  169. package/src/commands/ConfigureLogsCommand.ts +0 -95
  170. package/src/commands/CreateAssetCommand.ts +0 -95
  171. package/src/commands/CreatePackagingConfigurationCommand.ts +0 -100
  172. package/src/commands/CreatePackagingGroupCommand.ts +0 -95
  173. package/src/commands/DeleteAssetCommand.ts +0 -95
  174. package/src/commands/DeletePackagingConfigurationCommand.ts +0 -100
  175. package/src/commands/DeletePackagingGroupCommand.ts +0 -95
  176. package/src/commands/DescribeAssetCommand.ts +0 -95
  177. package/src/commands/DescribePackagingConfigurationCommand.ts +0 -103
  178. package/src/commands/DescribePackagingGroupCommand.ts +0 -95
  179. package/src/commands/ListAssetsCommand.ts +0 -95
  180. package/src/commands/ListPackagingConfigurationsCommand.ts +0 -100
  181. package/src/commands/ListPackagingGroupsCommand.ts +0 -95
  182. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  183. package/src/commands/TagResourceCommand.ts +0 -95
  184. package/src/commands/UntagResourceCommand.ts +0 -95
  185. package/src/commands/UpdatePackagingGroupCommand.ts +0 -95
  186. package/src/endpoints.ts +0 -57
  187. package/src/index.ts +0 -24
  188. package/src/models/index.ts +0 -1
  189. package/src/models/models_0.ts +0 -1680
  190. package/src/pagination/Interfaces.ts +0 -8
  191. package/src/pagination/ListAssetsPaginator.ts +0 -55
  192. package/src/pagination/ListPackagingConfigurationsPaginator.ts +0 -59
  193. package/src/pagination/ListPackagingGroupsPaginator.ts +0 -59
  194. package/src/protocols/Aws_restJson1.ts +0 -3087
  195. package/src/runtimeConfig.browser.ts +0 -41
  196. package/src/runtimeConfig.native.ts +0 -17
  197. package/src/runtimeConfig.shared.ts +0 -17
  198. package/src/runtimeConfig.ts +0 -46
  199. package/tsconfig.es.json +0 -10
  200. package/tsconfig.json +0 -33
  201. package/tsconfig.types.json +0 -9
@@ -1,317 +0,0 @@
1
- import {
2
- EndpointsInputConfig,
3
- EndpointsResolvedConfig,
4
- RegionInputConfig,
5
- RegionResolvedConfig,
6
- resolveEndpointsConfig,
7
- resolveRegionConfig,
8
- } from "@aws-sdk/config-resolver";
9
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
10
- import {
11
- getHostHeaderPlugin,
12
- HostHeaderInputConfig,
13
- HostHeaderResolvedConfig,
14
- resolveHostHeaderConfig,
15
- } from "@aws-sdk/middleware-host-header";
16
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
17
- import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
18
- import {
19
- AwsAuthInputConfig,
20
- AwsAuthResolvedConfig,
21
- getAwsAuthPlugin,
22
- resolveAwsAuthConfig,
23
- } from "@aws-sdk/middleware-signing";
24
- import {
25
- getUserAgentPlugin,
26
- resolveUserAgentConfig,
27
- UserAgentInputConfig,
28
- UserAgentResolvedConfig,
29
- } from "@aws-sdk/middleware-user-agent";
30
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
31
- import {
32
- Client as __Client,
33
- SmithyConfiguration as __SmithyConfiguration,
34
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
35
- } from "@aws-sdk/smithy-client";
36
- import {
37
- Credentials as __Credentials,
38
- Decoder as __Decoder,
39
- Encoder as __Encoder,
40
- Hash as __Hash,
41
- HashConstructor as __HashConstructor,
42
- HttpHandlerOptions as __HttpHandlerOptions,
43
- Logger as __Logger,
44
- Provider as __Provider,
45
- Provider,
46
- RegionInfoProvider,
47
- StreamCollector as __StreamCollector,
48
- UrlParser as __UrlParser,
49
- UserAgent as __UserAgent,
50
- } from "@aws-sdk/types";
51
-
52
- import { ConfigureLogsCommandInput, ConfigureLogsCommandOutput } from "./commands/ConfigureLogsCommand";
53
- import { CreateAssetCommandInput, CreateAssetCommandOutput } from "./commands/CreateAssetCommand";
54
- import {
55
- CreatePackagingConfigurationCommandInput,
56
- CreatePackagingConfigurationCommandOutput,
57
- } from "./commands/CreatePackagingConfigurationCommand";
58
- import {
59
- CreatePackagingGroupCommandInput,
60
- CreatePackagingGroupCommandOutput,
61
- } from "./commands/CreatePackagingGroupCommand";
62
- import { DeleteAssetCommandInput, DeleteAssetCommandOutput } from "./commands/DeleteAssetCommand";
63
- import {
64
- DeletePackagingConfigurationCommandInput,
65
- DeletePackagingConfigurationCommandOutput,
66
- } from "./commands/DeletePackagingConfigurationCommand";
67
- import {
68
- DeletePackagingGroupCommandInput,
69
- DeletePackagingGroupCommandOutput,
70
- } from "./commands/DeletePackagingGroupCommand";
71
- import { DescribeAssetCommandInput, DescribeAssetCommandOutput } from "./commands/DescribeAssetCommand";
72
- import {
73
- DescribePackagingConfigurationCommandInput,
74
- DescribePackagingConfigurationCommandOutput,
75
- } from "./commands/DescribePackagingConfigurationCommand";
76
- import {
77
- DescribePackagingGroupCommandInput,
78
- DescribePackagingGroupCommandOutput,
79
- } from "./commands/DescribePackagingGroupCommand";
80
- import { ListAssetsCommandInput, ListAssetsCommandOutput } from "./commands/ListAssetsCommand";
81
- import {
82
- ListPackagingConfigurationsCommandInput,
83
- ListPackagingConfigurationsCommandOutput,
84
- } from "./commands/ListPackagingConfigurationsCommand";
85
- import {
86
- ListPackagingGroupsCommandInput,
87
- ListPackagingGroupsCommandOutput,
88
- } from "./commands/ListPackagingGroupsCommand";
89
- import {
90
- ListTagsForResourceCommandInput,
91
- ListTagsForResourceCommandOutput,
92
- } from "./commands/ListTagsForResourceCommand";
93
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
94
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
95
- import {
96
- UpdatePackagingGroupCommandInput,
97
- UpdatePackagingGroupCommandOutput,
98
- } from "./commands/UpdatePackagingGroupCommand";
99
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
100
-
101
- export type ServiceInputTypes =
102
- | ConfigureLogsCommandInput
103
- | CreateAssetCommandInput
104
- | CreatePackagingConfigurationCommandInput
105
- | CreatePackagingGroupCommandInput
106
- | DeleteAssetCommandInput
107
- | DeletePackagingConfigurationCommandInput
108
- | DeletePackagingGroupCommandInput
109
- | DescribeAssetCommandInput
110
- | DescribePackagingConfigurationCommandInput
111
- | DescribePackagingGroupCommandInput
112
- | ListAssetsCommandInput
113
- | ListPackagingConfigurationsCommandInput
114
- | ListPackagingGroupsCommandInput
115
- | ListTagsForResourceCommandInput
116
- | TagResourceCommandInput
117
- | UntagResourceCommandInput
118
- | UpdatePackagingGroupCommandInput;
119
-
120
- export type ServiceOutputTypes =
121
- | ConfigureLogsCommandOutput
122
- | CreateAssetCommandOutput
123
- | CreatePackagingConfigurationCommandOutput
124
- | CreatePackagingGroupCommandOutput
125
- | DeleteAssetCommandOutput
126
- | DeletePackagingConfigurationCommandOutput
127
- | DeletePackagingGroupCommandOutput
128
- | DescribeAssetCommandOutput
129
- | DescribePackagingConfigurationCommandOutput
130
- | DescribePackagingGroupCommandOutput
131
- | ListAssetsCommandOutput
132
- | ListPackagingConfigurationsCommandOutput
133
- | ListPackagingGroupsCommandOutput
134
- | ListTagsForResourceCommandOutput
135
- | TagResourceCommandOutput
136
- | UntagResourceCommandOutput
137
- | UpdatePackagingGroupCommandOutput;
138
-
139
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
140
- /**
141
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
142
- */
143
- requestHandler?: __HttpHandler;
144
-
145
- /**
146
- * A constructor for a class implementing the {@link __Hash} interface
147
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
148
- * @internal
149
- */
150
- sha256?: __HashConstructor;
151
-
152
- /**
153
- * The function that will be used to convert strings into HTTP endpoints.
154
- * @internal
155
- */
156
- urlParser?: __UrlParser;
157
-
158
- /**
159
- * A function that can calculate the length of a request body.
160
- * @internal
161
- */
162
- bodyLengthChecker?: (body: any) => number | undefined;
163
-
164
- /**
165
- * A function that converts a stream into an array of bytes.
166
- * @internal
167
- */
168
- streamCollector?: __StreamCollector;
169
-
170
- /**
171
- * The function that will be used to convert a base64-encoded string to a byte array.
172
- * @internal
173
- */
174
- base64Decoder?: __Decoder;
175
-
176
- /**
177
- * The function that will be used to convert binary data to a base64-encoded string.
178
- * @internal
179
- */
180
- base64Encoder?: __Encoder;
181
-
182
- /**
183
- * The function that will be used to convert a UTF8-encoded string to a byte array.
184
- * @internal
185
- */
186
- utf8Decoder?: __Decoder;
187
-
188
- /**
189
- * The function that will be used to convert binary data to a UTF-8 encoded string.
190
- * @internal
191
- */
192
- utf8Encoder?: __Encoder;
193
-
194
- /**
195
- * The runtime environment.
196
- * @internal
197
- */
198
- runtime?: string;
199
-
200
- /**
201
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
202
- * trait of an operation.
203
- */
204
- disableHostPrefix?: boolean;
205
-
206
- /**
207
- * Value for how many times a request will be made at most in case of retry.
208
- */
209
- maxAttempts?: number | __Provider<number>;
210
-
211
- /**
212
- * Specifies which retry algorithm to use.
213
- */
214
- retryMode?: string | __Provider<string>;
215
-
216
- /**
217
- * Optional logger for logging debug/info/warn/error.
218
- */
219
- logger?: __Logger;
220
-
221
- /**
222
- * Unique service identifier.
223
- * @internal
224
- */
225
- serviceId?: string;
226
-
227
- /**
228
- * The AWS region to which this client will send requests
229
- */
230
- region?: string | __Provider<string>;
231
-
232
- /**
233
- * Default credentials provider; Not available in browser runtime.
234
- * @internal
235
- */
236
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
237
-
238
- /**
239
- * Fetch related hostname, signing name or signing region with given region.
240
- * @internal
241
- */
242
- regionInfoProvider?: RegionInfoProvider;
243
-
244
- /**
245
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
246
- * @internal
247
- */
248
- defaultUserAgentProvider?: Provider<__UserAgent>;
249
- }
250
-
251
- type MediaPackageVodClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
252
- ClientDefaults &
253
- RegionInputConfig &
254
- EndpointsInputConfig &
255
- RetryInputConfig &
256
- HostHeaderInputConfig &
257
- AwsAuthInputConfig &
258
- UserAgentInputConfig;
259
- /**
260
- * The configuration interface of MediaPackageVodClient class constructor that set the region, credentials and other options.
261
- */
262
- export interface MediaPackageVodClientConfig extends MediaPackageVodClientConfigType {}
263
-
264
- type MediaPackageVodClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
265
- Required<ClientDefaults> &
266
- RegionResolvedConfig &
267
- EndpointsResolvedConfig &
268
- RetryResolvedConfig &
269
- HostHeaderResolvedConfig &
270
- AwsAuthResolvedConfig &
271
- UserAgentResolvedConfig;
272
- /**
273
- * The resolved configuration interface of MediaPackageVodClient class. This is resolved and normalized from the {@link MediaPackageVodClientConfig | constructor configuration interface}.
274
- */
275
- export interface MediaPackageVodClientResolvedConfig extends MediaPackageVodClientResolvedConfigType {}
276
-
277
- /**
278
- * AWS Elemental MediaPackage VOD
279
- */
280
- export class MediaPackageVodClient extends __Client<
281
- __HttpHandlerOptions,
282
- ServiceInputTypes,
283
- ServiceOutputTypes,
284
- MediaPackageVodClientResolvedConfig
285
- > {
286
- /**
287
- * The resolved configuration of MediaPackageVodClient class. This is resolved and normalized from the {@link MediaPackageVodClientConfig | constructor configuration interface}.
288
- */
289
- readonly config: MediaPackageVodClientResolvedConfig;
290
-
291
- constructor(configuration: MediaPackageVodClientConfig) {
292
- const _config_0 = __getRuntimeConfig(configuration);
293
- const _config_1 = resolveRegionConfig(_config_0);
294
- const _config_2 = resolveEndpointsConfig(_config_1);
295
- const _config_3 = resolveRetryConfig(_config_2);
296
- const _config_4 = resolveHostHeaderConfig(_config_3);
297
- const _config_5 = resolveAwsAuthConfig(_config_4);
298
- const _config_6 = resolveUserAgentConfig(_config_5);
299
- super(_config_6);
300
- this.config = _config_6;
301
- this.middlewareStack.use(getRetryPlugin(this.config));
302
- this.middlewareStack.use(getContentLengthPlugin(this.config));
303
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
304
- this.middlewareStack.use(getLoggerPlugin(this.config));
305
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
306
- this.middlewareStack.use(getUserAgentPlugin(this.config));
307
- }
308
-
309
- /**
310
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
311
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
312
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
313
- */
314
- destroy(): void {
315
- super.destroy();
316
- }
317
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageVodClient";
15
- import { ConfigureLogsRequest, ConfigureLogsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ConfigureLogsCommand,
18
- serializeAws_restJson1ConfigureLogsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ConfigureLogsCommandInput extends ConfigureLogsRequest {}
22
- export interface ConfigureLogsCommandOutput extends ConfigureLogsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * Changes the packaging group's properities to configure log subscription
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MediaPackageVodClient, ConfigureLogsCommand } from "@aws-sdk/client-mediapackage-vod"; // ES Modules import
30
- * // const { MediaPackageVodClient, ConfigureLogsCommand } = require("@aws-sdk/client-mediapackage-vod"); // CommonJS import
31
- * const client = new MediaPackageVodClient(config);
32
- * const command = new ConfigureLogsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ConfigureLogsCommandInput} for command's `input` shape.
37
- * @see {@link ConfigureLogsCommandOutput} for command's `response` shape.
38
- * @see {@link MediaPackageVodClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ConfigureLogsCommand extends $Command<
42
- ConfigureLogsCommandInput,
43
- ConfigureLogsCommandOutput,
44
- MediaPackageVodClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ConfigureLogsCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: MediaPackageVodClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ConfigureLogsCommandInput, ConfigureLogsCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "MediaPackageVodClient";
69
- const commandName = "ConfigureLogsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ConfigureLogsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ConfigureLogsResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ConfigureLogsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ConfigureLogsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ConfigureLogsCommandOutput> {
90
- return deserializeAws_restJson1ConfigureLogsCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageVodClient";
15
- import { CreateAssetRequest, CreateAssetResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1CreateAssetCommand,
18
- serializeAws_restJson1CreateAssetCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface CreateAssetCommandInput extends CreateAssetRequest {}
22
- export interface CreateAssetCommandOutput extends CreateAssetResponse, __MetadataBearer {}
23
-
24
- /**
25
- * Creates a new MediaPackage VOD Asset resource.
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MediaPackageVodClient, CreateAssetCommand } from "@aws-sdk/client-mediapackage-vod"; // ES Modules import
30
- * // const { MediaPackageVodClient, CreateAssetCommand } = require("@aws-sdk/client-mediapackage-vod"); // CommonJS import
31
- * const client = new MediaPackageVodClient(config);
32
- * const command = new CreateAssetCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link CreateAssetCommandInput} for command's `input` shape.
37
- * @see {@link CreateAssetCommandOutput} for command's `response` shape.
38
- * @see {@link MediaPackageVodClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class CreateAssetCommand extends $Command<
42
- CreateAssetCommandInput,
43
- CreateAssetCommandOutput,
44
- MediaPackageVodClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: CreateAssetCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: MediaPackageVodClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<CreateAssetCommandInput, CreateAssetCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "MediaPackageVodClient";
69
- const commandName = "CreateAssetCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: CreateAssetRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: CreateAssetResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: CreateAssetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1CreateAssetCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateAssetCommandOutput> {
90
- return deserializeAws_restJson1CreateAssetCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,100 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageVodClient";
15
- import { CreatePackagingConfigurationRequest, CreatePackagingConfigurationResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1CreatePackagingConfigurationCommand,
18
- serializeAws_restJson1CreatePackagingConfigurationCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface CreatePackagingConfigurationCommandInput extends CreatePackagingConfigurationRequest {}
22
- export interface CreatePackagingConfigurationCommandOutput
23
- extends CreatePackagingConfigurationResponse,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * Creates a new MediaPackage VOD PackagingConfiguration resource.
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { MediaPackageVodClient, CreatePackagingConfigurationCommand } from "@aws-sdk/client-mediapackage-vod"; // ES Modules import
32
- * // const { MediaPackageVodClient, CreatePackagingConfigurationCommand } = require("@aws-sdk/client-mediapackage-vod"); // CommonJS import
33
- * const client = new MediaPackageVodClient(config);
34
- * const command = new CreatePackagingConfigurationCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link CreatePackagingConfigurationCommandInput} for command's `input` shape.
39
- * @see {@link CreatePackagingConfigurationCommandOutput} for command's `response` shape.
40
- * @see {@link MediaPackageVodClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class CreatePackagingConfigurationCommand extends $Command<
44
- CreatePackagingConfigurationCommandInput,
45
- CreatePackagingConfigurationCommandOutput,
46
- MediaPackageVodClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: CreatePackagingConfigurationCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: MediaPackageVodClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<CreatePackagingConfigurationCommandInput, CreatePackagingConfigurationCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "MediaPackageVodClient";
71
- const commandName = "CreatePackagingConfigurationCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: CreatePackagingConfigurationRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: CreatePackagingConfigurationResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: CreatePackagingConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1CreatePackagingConfigurationCommand(input, context);
89
- }
90
-
91
- private deserialize(
92
- output: __HttpResponse,
93
- context: __SerdeContext
94
- ): Promise<CreatePackagingConfigurationCommandOutput> {
95
- return deserializeAws_restJson1CreatePackagingConfigurationCommand(output, context);
96
- }
97
-
98
- // Start section: command_body_extra
99
- // End section: command_body_extra
100
- }