@aws-sdk/client-mediatailor 3.1042.0 → 3.1044.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 (42) hide show
  1. package/README.md +28 -0
  2. package/dist-cjs/index.js +91 -0
  3. package/dist-cjs/schemas/schemas_0.js +135 -17
  4. package/dist-es/MediaTailor.js +10 -0
  5. package/dist-es/commands/DeleteFunctionCommand.js +16 -0
  6. package/dist-es/commands/GetFunctionCommand.js +16 -0
  7. package/dist-es/commands/ListFunctionsCommand.js +16 -0
  8. package/dist-es/commands/PutFunctionCommand.js +16 -0
  9. package/dist-es/commands/index.js +4 -0
  10. package/dist-es/models/enums.js +26 -0
  11. package/dist-es/pagination/ListFunctionsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +130 -13
  14. package/dist-types/MediaTailor.d.ts +36 -0
  15. package/dist-types/MediaTailorClient.d.ts +6 -2
  16. package/dist-types/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +12 -6
  17. package/dist-types/commands/DeleteFunctionCommand.d.ts +72 -0
  18. package/dist-types/commands/GetFunctionCommand.d.ts +112 -0
  19. package/dist-types/commands/GetPlaybackConfigurationCommand.d.ts +9 -3
  20. package/dist-types/commands/ListFunctionsCommand.d.ts +118 -0
  21. package/dist-types/commands/ListPlaybackConfigurationsCommand.d.ts +9 -3
  22. package/dist-types/commands/PutFunctionCommand.d.ts +149 -0
  23. package/dist-types/commands/PutPlaybackConfigurationCommand.d.ts +12 -3
  24. package/dist-types/commands/index.d.ts +4 -0
  25. package/dist-types/models/enums.d.ts +66 -0
  26. package/dist-types/models/models_0.d.ts +362 -3
  27. package/dist-types/pagination/ListFunctionsPaginator.d.ts +7 -0
  28. package/dist-types/pagination/index.d.ts +1 -0
  29. package/dist-types/schemas/schemas_0.d.ts +17 -0
  30. package/dist-types/ts3.4/MediaTailor.d.ts +76 -0
  31. package/dist-types/ts3.4/MediaTailorClient.d.ts +24 -0
  32. package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +50 -0
  33. package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +47 -0
  34. package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +50 -0
  35. package/dist-types/ts3.4/commands/PutFunctionCommand.d.ts +47 -0
  36. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  37. package/dist-types/ts3.4/models/enums.d.ts +32 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +87 -0
  39. package/dist-types/ts3.4/pagination/ListFunctionsPaginator.d.ts +11 -0
  40. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  41. package/dist-types/ts3.4/schemas/schemas_0.d.ts +17 -0
  42. package/package.json +1 -1
@@ -40,6 +40,7 @@ export declare var CreateSourceLocationRequest$: StaticStructureSchema;
40
40
  export declare var CreateSourceLocationResponse$: StaticStructureSchema;
41
41
  export declare var CreateVodSourceRequest$: StaticStructureSchema;
42
42
  export declare var CreateVodSourceResponse$: StaticStructureSchema;
43
+ export declare var CustomOutputConfiguration$: StaticStructureSchema;
43
44
  export declare var DashConfiguration$: StaticStructureSchema;
44
45
  export declare var DashConfigurationForPut$: StaticStructureSchema;
45
46
  export declare var DashPlaylistSettings$: StaticStructureSchema;
@@ -48,6 +49,8 @@ export declare var DeleteChannelPolicyRequest$: StaticStructureSchema;
48
49
  export declare var DeleteChannelPolicyResponse$: StaticStructureSchema;
49
50
  export declare var DeleteChannelRequest$: StaticStructureSchema;
50
51
  export declare var DeleteChannelResponse$: StaticStructureSchema;
52
+ export declare var DeleteFunctionRequest$: StaticStructureSchema;
53
+ export declare var DeleteFunctionResponse$: StaticStructureSchema;
51
54
  export declare var DeleteLiveSourceRequest$: StaticStructureSchema;
52
55
  export declare var DeleteLiveSourceResponse$: StaticStructureSchema;
53
56
  export declare var DeletePlaybackConfigurationRequest$: StaticStructureSchema;
@@ -70,10 +73,14 @@ export declare var DescribeSourceLocationRequest$: StaticStructureSchema;
70
73
  export declare var DescribeSourceLocationResponse$: StaticStructureSchema;
71
74
  export declare var DescribeVodSourceRequest$: StaticStructureSchema;
72
75
  export declare var DescribeVodSourceResponse$: StaticStructureSchema;
76
+ export declare var Function$: StaticStructureSchema;
77
+ export declare var FunctionRef$: StaticStructureSchema;
73
78
  export declare var GetChannelPolicyRequest$: StaticStructureSchema;
74
79
  export declare var GetChannelPolicyResponse$: StaticStructureSchema;
75
80
  export declare var GetChannelScheduleRequest$: StaticStructureSchema;
76
81
  export declare var GetChannelScheduleResponse$: StaticStructureSchema;
82
+ export declare var GetFunctionRequest$: StaticStructureSchema;
83
+ export declare var GetFunctionResponse$: StaticStructureSchema;
77
84
  export declare var GetPlaybackConfigurationRequest$: StaticStructureSchema;
78
85
  export declare var GetPlaybackConfigurationResponse$: StaticStructureSchema;
79
86
  export declare var GetPrefetchScheduleRequest$: StaticStructureSchema;
@@ -83,11 +90,14 @@ export declare var HlsPlaylistSettings$: StaticStructureSchema;
83
90
  export declare var HttpConfiguration$: StaticStructureSchema;
84
91
  export declare var HttpPackageConfiguration$: StaticStructureSchema;
85
92
  export declare var HttpRequest$: StaticStructureSchema;
93
+ export declare var HttpRequestConfiguration$: StaticStructureSchema;
86
94
  export declare var KeyValuePair$: StaticStructureSchema;
87
95
  export declare var ListAlertsRequest$: StaticStructureSchema;
88
96
  export declare var ListAlertsResponse$: StaticStructureSchema;
89
97
  export declare var ListChannelsRequest$: StaticStructureSchema;
90
98
  export declare var ListChannelsResponse$: StaticStructureSchema;
99
+ export declare var ListFunctionsRequest$: StaticStructureSchema;
100
+ export declare var ListFunctionsResponse$: StaticStructureSchema;
91
101
  export declare var ListLiveSourcesRequest$: StaticStructureSchema;
92
102
  export declare var ListLiveSourcesResponse$: StaticStructureSchema;
93
103
  export declare var ListPlaybackConfigurationsRequest$: StaticStructureSchema;
@@ -112,6 +122,8 @@ export declare var PrefetchRetrieval$: StaticStructureSchema;
112
122
  export declare var PrefetchSchedule$: StaticStructureSchema;
113
123
  export declare var PutChannelPolicyRequest$: StaticStructureSchema;
114
124
  export declare var PutChannelPolicyResponse$: StaticStructureSchema;
125
+ export declare var PutFunctionRequest$: StaticStructureSchema;
126
+ export declare var PutFunctionResponse$: StaticStructureSchema;
115
127
  export declare var PutPlaybackConfigurationRequest$: StaticStructureSchema;
116
128
  export declare var PutPlaybackConfigurationResponse$: StaticStructureSchema;
117
129
  export declare var RecurringConsumption$: StaticStructureSchema;
@@ -125,6 +137,7 @@ export declare var ScheduleEntry$: StaticStructureSchema;
125
137
  export declare var SecretsManagerAccessTokenConfiguration$: StaticStructureSchema;
126
138
  export declare var SegmentationDescriptor$: StaticStructureSchema;
127
139
  export declare var SegmentDeliveryConfiguration$: StaticStructureSchema;
140
+ export declare var SequentialExecutorConfiguration$: StaticStructureSchema;
128
141
  export declare var SlateSource$: StaticStructureSchema;
129
142
  export declare var SourceLocation$: StaticStructureSchema;
130
143
  export declare var SpliceInsertMessage$: StaticStructureSchema;
@@ -162,6 +175,7 @@ export declare var CreateSourceLocation$: StaticOperationSchema;
162
175
  export declare var CreateVodSource$: StaticOperationSchema;
163
176
  export declare var DeleteChannel$: StaticOperationSchema;
164
177
  export declare var DeleteChannelPolicy$: StaticOperationSchema;
178
+ export declare var DeleteFunction$: StaticOperationSchema;
165
179
  export declare var DeleteLiveSource$: StaticOperationSchema;
166
180
  export declare var DeletePlaybackConfiguration$: StaticOperationSchema;
167
181
  export declare var DeletePrefetchSchedule$: StaticOperationSchema;
@@ -175,10 +189,12 @@ export declare var DescribeSourceLocation$: StaticOperationSchema;
175
189
  export declare var DescribeVodSource$: StaticOperationSchema;
176
190
  export declare var GetChannelPolicy$: StaticOperationSchema;
177
191
  export declare var GetChannelSchedule$: StaticOperationSchema;
192
+ export declare var GetFunction$: StaticOperationSchema;
178
193
  export declare var GetPlaybackConfiguration$: StaticOperationSchema;
179
194
  export declare var GetPrefetchSchedule$: StaticOperationSchema;
180
195
  export declare var ListAlerts$: StaticOperationSchema;
181
196
  export declare var ListChannels$: StaticOperationSchema;
197
+ export declare var ListFunctions$: StaticOperationSchema;
182
198
  export declare var ListLiveSources$: StaticOperationSchema;
183
199
  export declare var ListPlaybackConfigurations$: StaticOperationSchema;
184
200
  export declare var ListPrefetchSchedules$: StaticOperationSchema;
@@ -186,6 +202,7 @@ export declare var ListSourceLocations$: StaticOperationSchema;
186
202
  export declare var ListTagsForResource$: StaticOperationSchema;
187
203
  export declare var ListVodSources$: StaticOperationSchema;
188
204
  export declare var PutChannelPolicy$: StaticOperationSchema;
205
+ export declare var PutFunction$: StaticOperationSchema;
189
206
  export declare var PutPlaybackConfiguration$: StaticOperationSchema;
190
207
  export declare var StartChannel$: StaticOperationSchema;
191
208
  export declare var StopChannel$: StaticOperationSchema;
@@ -43,6 +43,10 @@ import {
43
43
  DeleteChannelPolicyCommandInput,
44
44
  DeleteChannelPolicyCommandOutput,
45
45
  } from "./commands/DeleteChannelPolicyCommand";
46
+ import {
47
+ DeleteFunctionCommandInput,
48
+ DeleteFunctionCommandOutput,
49
+ } from "./commands/DeleteFunctionCommand";
46
50
  import {
47
51
  DeleteLiveSourceCommandInput,
48
52
  DeleteLiveSourceCommandOutput,
@@ -95,6 +99,10 @@ import {
95
99
  GetChannelScheduleCommandInput,
96
100
  GetChannelScheduleCommandOutput,
97
101
  } from "./commands/GetChannelScheduleCommand";
102
+ import {
103
+ GetFunctionCommandInput,
104
+ GetFunctionCommandOutput,
105
+ } from "./commands/GetFunctionCommand";
98
106
  import {
99
107
  GetPlaybackConfigurationCommandInput,
100
108
  GetPlaybackConfigurationCommandOutput,
@@ -111,6 +119,10 @@ import {
111
119
  ListChannelsCommandInput,
112
120
  ListChannelsCommandOutput,
113
121
  } from "./commands/ListChannelsCommand";
122
+ import {
123
+ ListFunctionsCommandInput,
124
+ ListFunctionsCommandOutput,
125
+ } from "./commands/ListFunctionsCommand";
114
126
  import {
115
127
  ListLiveSourcesCommandInput,
116
128
  ListLiveSourcesCommandOutput,
@@ -139,6 +151,10 @@ import {
139
151
  PutChannelPolicyCommandInput,
140
152
  PutChannelPolicyCommandOutput,
141
153
  } from "./commands/PutChannelPolicyCommand";
154
+ import {
155
+ PutFunctionCommandInput,
156
+ PutFunctionCommandOutput,
157
+ } from "./commands/PutFunctionCommand";
142
158
  import {
143
159
  PutPlaybackConfigurationCommandInput,
144
160
  PutPlaybackConfigurationCommandOutput,
@@ -317,6 +333,19 @@ export interface MediaTailor {
317
333
  options: __HttpHandlerOptions,
318
334
  cb: (err: any, data?: DeleteChannelPolicyCommandOutput) => void
319
335
  ): void;
336
+ deleteFunction(
337
+ args: DeleteFunctionCommandInput,
338
+ options?: __HttpHandlerOptions
339
+ ): Promise<DeleteFunctionCommandOutput>;
340
+ deleteFunction(
341
+ args: DeleteFunctionCommandInput,
342
+ cb: (err: any, data?: DeleteFunctionCommandOutput) => void
343
+ ): void;
344
+ deleteFunction(
345
+ args: DeleteFunctionCommandInput,
346
+ options: __HttpHandlerOptions,
347
+ cb: (err: any, data?: DeleteFunctionCommandOutput) => void
348
+ ): void;
320
349
  deleteLiveSource(
321
350
  args: DeleteLiveSourceCommandInput,
322
351
  options?: __HttpHandlerOptions
@@ -486,6 +515,19 @@ export interface MediaTailor {
486
515
  options: __HttpHandlerOptions,
487
516
  cb: (err: any, data?: GetChannelScheduleCommandOutput) => void
488
517
  ): void;
518
+ getFunction(
519
+ args: GetFunctionCommandInput,
520
+ options?: __HttpHandlerOptions
521
+ ): Promise<GetFunctionCommandOutput>;
522
+ getFunction(
523
+ args: GetFunctionCommandInput,
524
+ cb: (err: any, data?: GetFunctionCommandOutput) => void
525
+ ): void;
526
+ getFunction(
527
+ args: GetFunctionCommandInput,
528
+ options: __HttpHandlerOptions,
529
+ cb: (err: any, data?: GetFunctionCommandOutput) => void
530
+ ): void;
489
531
  getPlaybackConfiguration(
490
532
  args: GetPlaybackConfigurationCommandInput,
491
533
  options?: __HttpHandlerOptions
@@ -539,6 +581,20 @@ export interface MediaTailor {
539
581
  options: __HttpHandlerOptions,
540
582
  cb: (err: any, data?: ListChannelsCommandOutput) => void
541
583
  ): void;
584
+ listFunctions(): Promise<ListFunctionsCommandOutput>;
585
+ listFunctions(
586
+ args: ListFunctionsCommandInput,
587
+ options?: __HttpHandlerOptions
588
+ ): Promise<ListFunctionsCommandOutput>;
589
+ listFunctions(
590
+ args: ListFunctionsCommandInput,
591
+ cb: (err: any, data?: ListFunctionsCommandOutput) => void
592
+ ): void;
593
+ listFunctions(
594
+ args: ListFunctionsCommandInput,
595
+ options: __HttpHandlerOptions,
596
+ cb: (err: any, data?: ListFunctionsCommandOutput) => void
597
+ ): void;
542
598
  listLiveSources(
543
599
  args: ListLiveSourcesCommandInput,
544
600
  options?: __HttpHandlerOptions
@@ -632,6 +688,19 @@ export interface MediaTailor {
632
688
  options: __HttpHandlerOptions,
633
689
  cb: (err: any, data?: PutChannelPolicyCommandOutput) => void
634
690
  ): void;
691
+ putFunction(
692
+ args: PutFunctionCommandInput,
693
+ options?: __HttpHandlerOptions
694
+ ): Promise<PutFunctionCommandOutput>;
695
+ putFunction(
696
+ args: PutFunctionCommandInput,
697
+ cb: (err: any, data?: PutFunctionCommandOutput) => void
698
+ ): void;
699
+ putFunction(
700
+ args: PutFunctionCommandInput,
701
+ options: __HttpHandlerOptions,
702
+ cb: (err: any, data?: PutFunctionCommandOutput) => void
703
+ ): void;
635
704
  putPlaybackConfiguration(
636
705
  args: PutPlaybackConfigurationCommandInput,
637
706
  options?: __HttpHandlerOptions
@@ -783,6 +852,13 @@ export interface MediaTailor {
783
852
  Exclude<keyof PaginationConfiguration, "client">
784
853
  >
785
854
  ): Paginator<ListChannelsCommandOutput>;
855
+ paginateListFunctions(
856
+ args?: ListFunctionsCommandInput,
857
+ paginationConfig?: Pick<
858
+ PaginationConfiguration,
859
+ Exclude<keyof PaginationConfiguration, "client">
860
+ >
861
+ ): Paginator<ListFunctionsCommandOutput>;
786
862
  paginateListLiveSources(
787
863
  args: ListLiveSourcesCommandInput,
788
864
  paginationConfig?: Pick<
@@ -84,6 +84,10 @@ import {
84
84
  DeleteChannelPolicyCommandInput,
85
85
  DeleteChannelPolicyCommandOutput,
86
86
  } from "./commands/DeleteChannelPolicyCommand";
87
+ import {
88
+ DeleteFunctionCommandInput,
89
+ DeleteFunctionCommandOutput,
90
+ } from "./commands/DeleteFunctionCommand";
87
91
  import {
88
92
  DeleteLiveSourceCommandInput,
89
93
  DeleteLiveSourceCommandOutput,
@@ -136,6 +140,10 @@ import {
136
140
  GetChannelScheduleCommandInput,
137
141
  GetChannelScheduleCommandOutput,
138
142
  } from "./commands/GetChannelScheduleCommand";
143
+ import {
144
+ GetFunctionCommandInput,
145
+ GetFunctionCommandOutput,
146
+ } from "./commands/GetFunctionCommand";
139
147
  import {
140
148
  GetPlaybackConfigurationCommandInput,
141
149
  GetPlaybackConfigurationCommandOutput,
@@ -152,6 +160,10 @@ import {
152
160
  ListChannelsCommandInput,
153
161
  ListChannelsCommandOutput,
154
162
  } from "./commands/ListChannelsCommand";
163
+ import {
164
+ ListFunctionsCommandInput,
165
+ ListFunctionsCommandOutput,
166
+ } from "./commands/ListFunctionsCommand";
155
167
  import {
156
168
  ListLiveSourcesCommandInput,
157
169
  ListLiveSourcesCommandOutput,
@@ -180,6 +192,10 @@ import {
180
192
  PutChannelPolicyCommandInput,
181
193
  PutChannelPolicyCommandOutput,
182
194
  } from "./commands/PutChannelPolicyCommand";
195
+ import {
196
+ PutFunctionCommandInput,
197
+ PutFunctionCommandOutput,
198
+ } from "./commands/PutFunctionCommand";
183
199
  import {
184
200
  PutPlaybackConfigurationCommandInput,
185
201
  PutPlaybackConfigurationCommandOutput,
@@ -238,6 +254,7 @@ export type ServiceInputTypes =
238
254
  | CreateVodSourceCommandInput
239
255
  | DeleteChannelCommandInput
240
256
  | DeleteChannelPolicyCommandInput
257
+ | DeleteFunctionCommandInput
241
258
  | DeleteLiveSourceCommandInput
242
259
  | DeletePlaybackConfigurationCommandInput
243
260
  | DeletePrefetchScheduleCommandInput
@@ -251,10 +268,12 @@ export type ServiceInputTypes =
251
268
  | DescribeVodSourceCommandInput
252
269
  | GetChannelPolicyCommandInput
253
270
  | GetChannelScheduleCommandInput
271
+ | GetFunctionCommandInput
254
272
  | GetPlaybackConfigurationCommandInput
255
273
  | GetPrefetchScheduleCommandInput
256
274
  | ListAlertsCommandInput
257
275
  | ListChannelsCommandInput
276
+ | ListFunctionsCommandInput
258
277
  | ListLiveSourcesCommandInput
259
278
  | ListPlaybackConfigurationsCommandInput
260
279
  | ListPrefetchSchedulesCommandInput
@@ -262,6 +281,7 @@ export type ServiceInputTypes =
262
281
  | ListTagsForResourceCommandInput
263
282
  | ListVodSourcesCommandInput
264
283
  | PutChannelPolicyCommandInput
284
+ | PutFunctionCommandInput
265
285
  | PutPlaybackConfigurationCommandInput
266
286
  | StartChannelCommandInput
267
287
  | StopChannelCommandInput
@@ -283,6 +303,7 @@ export type ServiceOutputTypes =
283
303
  | CreateVodSourceCommandOutput
284
304
  | DeleteChannelCommandOutput
285
305
  | DeleteChannelPolicyCommandOutput
306
+ | DeleteFunctionCommandOutput
286
307
  | DeleteLiveSourceCommandOutput
287
308
  | DeletePlaybackConfigurationCommandOutput
288
309
  | DeletePrefetchScheduleCommandOutput
@@ -296,10 +317,12 @@ export type ServiceOutputTypes =
296
317
  | DescribeVodSourceCommandOutput
297
318
  | GetChannelPolicyCommandOutput
298
319
  | GetChannelScheduleCommandOutput
320
+ | GetFunctionCommandOutput
299
321
  | GetPlaybackConfigurationCommandOutput
300
322
  | GetPrefetchScheduleCommandOutput
301
323
  | ListAlertsCommandOutput
302
324
  | ListChannelsCommandOutput
325
+ | ListFunctionsCommandOutput
303
326
  | ListLiveSourcesCommandOutput
304
327
  | ListPlaybackConfigurationsCommandOutput
305
328
  | ListPrefetchSchedulesCommandOutput
@@ -307,6 +330,7 @@ export type ServiceOutputTypes =
307
330
  | ListTagsForResourceCommandOutput
308
331
  | ListVodSourcesCommandOutput
309
332
  | PutChannelPolicyCommandOutput
333
+ | PutFunctionCommandOutput
310
334
  | PutPlaybackConfigurationCommandOutput
311
335
  | StartChannelCommandOutput
312
336
  | StopChannelCommandOutput
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ MediaTailorClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../MediaTailorClient";
8
+ import {
9
+ DeleteFunctionRequest,
10
+ DeleteFunctionResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DeleteFunctionCommandInput extends DeleteFunctionRequest {}
15
+ export interface DeleteFunctionCommandOutput
16
+ extends DeleteFunctionResponse,
17
+ __MetadataBearer {}
18
+ declare const DeleteFunctionCommand_base: {
19
+ new (
20
+ input: DeleteFunctionCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ DeleteFunctionCommandInput,
23
+ DeleteFunctionCommandOutput,
24
+ MediaTailorClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: DeleteFunctionCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DeleteFunctionCommandInput,
32
+ DeleteFunctionCommandOutput,
33
+ MediaTailorClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class DeleteFunctionCommand extends DeleteFunctionCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: DeleteFunctionRequest;
43
+ output: {};
44
+ };
45
+ sdk: {
46
+ input: DeleteFunctionCommandInput;
47
+ output: DeleteFunctionCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ MediaTailorClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../MediaTailorClient";
8
+ import { GetFunctionRequest, GetFunctionResponse } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface GetFunctionCommandInput extends GetFunctionRequest {}
12
+ export interface GetFunctionCommandOutput
13
+ extends GetFunctionResponse,
14
+ __MetadataBearer {}
15
+ declare const GetFunctionCommand_base: {
16
+ new (
17
+ input: GetFunctionCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ GetFunctionCommandInput,
20
+ GetFunctionCommandOutput,
21
+ MediaTailorClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: GetFunctionCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ GetFunctionCommandInput,
29
+ GetFunctionCommandOutput,
30
+ MediaTailorClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class GetFunctionCommand extends GetFunctionCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: GetFunctionRequest;
40
+ output: GetFunctionResponse;
41
+ };
42
+ sdk: {
43
+ input: GetFunctionCommandInput;
44
+ output: GetFunctionCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ MediaTailorClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../MediaTailorClient";
8
+ import {
9
+ ListFunctionsRequest,
10
+ ListFunctionsResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListFunctionsCommandInput extends ListFunctionsRequest {}
15
+ export interface ListFunctionsCommandOutput
16
+ extends ListFunctionsResponse,
17
+ __MetadataBearer {}
18
+ declare const ListFunctionsCommand_base: {
19
+ new (
20
+ input: ListFunctionsCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ ListFunctionsCommandInput,
23
+ ListFunctionsCommandOutput,
24
+ MediaTailorClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ ...[input]: [] | [ListFunctionsCommandInput]
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ListFunctionsCommandInput,
32
+ ListFunctionsCommandOutput,
33
+ MediaTailorClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class ListFunctionsCommand extends ListFunctionsCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: ListFunctionsRequest;
43
+ output: ListFunctionsResponse;
44
+ };
45
+ sdk: {
46
+ input: ListFunctionsCommandInput;
47
+ output: ListFunctionsCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ MediaTailorClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../MediaTailorClient";
8
+ import { PutFunctionRequest, PutFunctionResponse } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface PutFunctionCommandInput extends PutFunctionRequest {}
12
+ export interface PutFunctionCommandOutput
13
+ extends PutFunctionResponse,
14
+ __MetadataBearer {}
15
+ declare const PutFunctionCommand_base: {
16
+ new (
17
+ input: PutFunctionCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ PutFunctionCommandInput,
20
+ PutFunctionCommandOutput,
21
+ MediaTailorClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: PutFunctionCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ PutFunctionCommandInput,
29
+ PutFunctionCommandOutput,
30
+ MediaTailorClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class PutFunctionCommand extends PutFunctionCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: PutFunctionRequest;
40
+ output: PutFunctionResponse;
41
+ };
42
+ sdk: {
43
+ input: PutFunctionCommandInput;
44
+ output: PutFunctionCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -8,6 +8,7 @@ export * from "./CreateSourceLocationCommand";
8
8
  export * from "./CreateVodSourceCommand";
9
9
  export * from "./DeleteChannelCommand";
10
10
  export * from "./DeleteChannelPolicyCommand";
11
+ export * from "./DeleteFunctionCommand";
11
12
  export * from "./DeleteLiveSourceCommand";
12
13
  export * from "./DeletePlaybackConfigurationCommand";
13
14
  export * from "./DeletePrefetchScheduleCommand";
@@ -21,10 +22,12 @@ export * from "./DescribeSourceLocationCommand";
21
22
  export * from "./DescribeVodSourceCommand";
22
23
  export * from "./GetChannelPolicyCommand";
23
24
  export * from "./GetChannelScheduleCommand";
25
+ export * from "./GetFunctionCommand";
24
26
  export * from "./GetPlaybackConfigurationCommand";
25
27
  export * from "./GetPrefetchScheduleCommand";
26
28
  export * from "./ListAlertsCommand";
27
29
  export * from "./ListChannelsCommand";
30
+ export * from "./ListFunctionsCommand";
28
31
  export * from "./ListLiveSourcesCommand";
29
32
  export * from "./ListPlaybackConfigurationsCommand";
30
33
  export * from "./ListPrefetchSchedulesCommand";
@@ -32,6 +35,7 @@ export * from "./ListSourceLocationsCommand";
32
35
  export * from "./ListTagsForResourceCommand";
33
36
  export * from "./ListVodSourcesCommand";
34
37
  export * from "./PutChannelPolicyCommand";
38
+ export * from "./PutFunctionCommand";
35
39
  export * from "./PutPlaybackConfigurationCommand";
36
40
  export * from "./StartChannelCommand";
37
41
  export * from "./StopChannelCommand";
@@ -31,6 +31,8 @@ export declare const AdsInteractionExcludeEventType: {
31
31
  readonly MAKING_ADS_REQUEST: "MAKING_ADS_REQUEST";
32
32
  readonly MODIFIED_TARGET_URL: "MODIFIED_TARGET_URL";
33
33
  readonly NON_AD_MARKER_FOUND: "NON_AD_MARKER_FOUND";
34
+ readonly PRE_ADS_REQUEST_FUNCTION_ERROR: "PRE_ADS_REQUEST_FUNCTION_ERROR";
35
+ readonly PRE_ADS_REQUEST_HOOK_ERROR: "PRE_ADS_REQUEST_HOOK_ERROR";
34
36
  readonly REDIRECTED_VAST_RESPONSE: "REDIRECTED_VAST_RESPONSE";
35
37
  readonly VAST_REDIRECT: "VAST_REDIRECT";
36
38
  readonly VAST_RESPONSE: "VAST_RESPONSE";
@@ -44,6 +46,8 @@ export declare const AdsInteractionExcludeEventType: {
44
46
  export type AdsInteractionExcludeEventType =
45
47
  (typeof AdsInteractionExcludeEventType)[keyof typeof AdsInteractionExcludeEventType];
46
48
  export declare const AdsInteractionPublishOptInEventType: {
49
+ readonly PRE_ADS_REQUEST_FUNCTION_COMPLETED: "PRE_ADS_REQUEST_FUNCTION_COMPLETED";
50
+ readonly PRE_ADS_REQUEST_HOOK_SUMMARY: "PRE_ADS_REQUEST_HOOK_SUMMARY";
47
51
  readonly RAW_ADS_REQUEST: "RAW_ADS_REQUEST";
48
52
  readonly RAW_ADS_RESPONSE: "RAW_ADS_RESPONSE";
49
53
  };
@@ -73,6 +77,21 @@ export declare const AdMarkupType: {
73
77
  readonly SCTE35_ENHANCED: "SCTE35_ENHANCED";
74
78
  };
75
79
  export type AdMarkupType = (typeof AdMarkupType)[keyof typeof AdMarkupType];
80
+ export declare const RuntimeType: {
81
+ readonly JSONATA: "JSONATA";
82
+ };
83
+ export type RuntimeType = (typeof RuntimeType)[keyof typeof RuntimeType];
84
+ export declare const FunctionType: {
85
+ readonly CUSTOM_OUTPUT: "CUSTOM_OUTPUT";
86
+ readonly HTTP_REQUEST: "HTTP_REQUEST";
87
+ readonly SEQUENTIAL_EXECUTOR: "SEQUENTIAL_EXECUTOR";
88
+ };
89
+ export type FunctionType = (typeof FunctionType)[keyof typeof FunctionType];
90
+ export declare const MethodType: {
91
+ readonly GET: "GET";
92
+ readonly POST: "POST";
93
+ };
94
+ export type MethodType = (typeof MethodType)[keyof typeof MethodType];
76
95
  export declare const Type: {
77
96
  readonly DASH: "DASH";
78
97
  readonly HLS: "HLS";
@@ -118,6 +137,11 @@ export declare const OriginManifestType: {
118
137
  };
119
138
  export type OriginManifestType =
120
139
  (typeof OriginManifestType)[keyof typeof OriginManifestType];
140
+ export declare const EventName: {
141
+ readonly PRE_ADS_REQUEST: "PRE_ADS_REQUEST";
142
+ readonly PRE_SESSION_INITIALIZATION: "PRE_SESSION_INITIALIZATION";
143
+ };
144
+ export type EventName = (typeof EventName)[keyof typeof EventName];
121
145
  export declare const InsertionMode: {
122
146
  readonly PLAYER_SELECT: "PLAYER_SELECT";
123
147
  readonly STITCHED_ONLY: "STITCHED_ONLY";
@@ -149,6 +173,8 @@ export declare const ManifestServiceExcludeEventType: {
149
173
  readonly NO_MEDIA_PLAYLIST: "NO_MEDIA_PLAYLIST";
150
174
  readonly ORIGIN_MANIFEST: "ORIGIN_MANIFEST";
151
175
  readonly PARSING_ERROR: "PARSING_ERROR";
176
+ readonly PRE_SESSION_INIT_FUNCTION_ERROR: "PRE_SESSION_INIT_FUNCTION_ERROR";
177
+ readonly PRE_SESSION_INIT_HOOK_ERROR: "PRE_SESSION_INIT_HOOK_ERROR";
152
178
  readonly SCTE35_PARSING_ERROR: "SCTE35_PARSING_ERROR";
153
179
  readonly SESSION_INITIALIZED: "SESSION_INITIALIZED";
154
180
  readonly TIMEOUT_ERROR: "TIMEOUT_ERROR";
@@ -159,6 +185,12 @@ export declare const ManifestServiceExcludeEventType: {
159
185
  };
160
186
  export type ManifestServiceExcludeEventType =
161
187
  (typeof ManifestServiceExcludeEventType)[keyof typeof ManifestServiceExcludeEventType];
188
+ export declare const ManifestServicePublishOptInEventType: {
189
+ readonly PRE_SESSION_INIT_FUNCTION_COMPLETED: "PRE_SESSION_INIT_FUNCTION_COMPLETED";
190
+ readonly PRE_SESSION_INIT_HOOK_SUMMARY: "PRE_SESSION_INIT_HOOK_SUMMARY";
191
+ };
192
+ export type ManifestServicePublishOptInEventType =
193
+ (typeof ManifestServicePublishOptInEventType)[keyof typeof ManifestServicePublishOptInEventType];
162
194
  export declare const TrafficShapingType: {
163
195
  readonly RETRIEVAL_WINDOW: "RETRIEVAL_WINDOW";
164
196
  readonly TPS: "TPS";