@aws-sdk/client-ivs 3.504.0 → 3.505.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.
- package/README.md +148 -72
- package/dist-cjs/commands/CreatePlaybackRestrictionPolicyCommand.js +1 -0
- package/dist-cjs/commands/DeletePlaybackRestrictionPolicyCommand.js +1 -0
- package/dist-cjs/commands/GetPlaybackRestrictionPolicyCommand.js +1 -0
- package/dist-cjs/commands/ListPlaybackRestrictionPoliciesCommand.js +1 -0
- package/dist-cjs/commands/UpdatePlaybackRestrictionPolicyCommand.js +1 -0
- package/dist-cjs/index.js +410 -1
- package/dist-cjs/pagination/ListPlaybackRestrictionPoliciesPaginator.js +1 -0
- package/dist-es/Ivs.js +10 -0
- package/dist-es/commands/CreatePlaybackRestrictionPolicyCommand.js +24 -0
- package/dist-es/commands/DeletePlaybackRestrictionPolicyCommand.js +24 -0
- package/dist-es/commands/GetPlaybackRestrictionPolicyCommand.js +24 -0
- package/dist-es/commands/ListPlaybackRestrictionPoliciesCommand.js +24 -0
- package/dist-es/commands/UpdatePlaybackRestrictionPolicyCommand.js +24 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/pagination/ListPlaybackRestrictionPoliciesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +293 -0
- package/dist-types/Ivs.d.ts +143 -72
- package/dist-types/IvsClient.d.ts +115 -74
- package/dist-types/commands/BatchGetChannelCommand.d.ts +1 -0
- package/dist-types/commands/CreateChannelCommand.d.ts +2 -0
- package/dist-types/commands/CreatePlaybackRestrictionPolicyCommand.d.ts +97 -0
- package/dist-types/commands/DeletePlaybackRestrictionPolicyCommand.d.ts +71 -0
- package/dist-types/commands/GetChannelCommand.d.ts +1 -0
- package/dist-types/commands/GetPlaybackRestrictionPolicyCommand.d.ts +83 -0
- package/dist-types/commands/GetStreamSessionCommand.d.ts +1 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +2 -0
- package/dist-types/commands/ListPlaybackRestrictionPoliciesCommand.d.ts +87 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +2 -0
- package/dist-types/commands/UpdatePlaybackRestrictionPolicyCommand.d.ts +94 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/index.d.ts +108 -72
- package/dist-types/models/models_0.d.ts +290 -16
- package/dist-types/pagination/ListPlaybackRestrictionPoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/Ivs.d.ts +85 -0
- package/dist-types/ts3.4/IvsClient.d.ts +32 -2
- package/dist-types/ts3.4/commands/CreatePlaybackRestrictionPolicyCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/DeletePlaybackRestrictionPolicyCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/GetPlaybackRestrictionPolicyCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/ListPlaybackRestrictionPoliciesCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/UpdatePlaybackRestrictionPolicyCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +58 -0
- package/dist-types/ts3.4/pagination/ListPlaybackRestrictionPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +1 -1
|
@@ -15,6 +15,10 @@ import {
|
|
|
15
15
|
CreateChannelCommandInput,
|
|
16
16
|
CreateChannelCommandOutput,
|
|
17
17
|
} from "./commands/CreateChannelCommand";
|
|
18
|
+
import {
|
|
19
|
+
CreatePlaybackRestrictionPolicyCommandInput,
|
|
20
|
+
CreatePlaybackRestrictionPolicyCommandOutput,
|
|
21
|
+
} from "./commands/CreatePlaybackRestrictionPolicyCommand";
|
|
18
22
|
import {
|
|
19
23
|
CreateRecordingConfigurationCommandInput,
|
|
20
24
|
CreateRecordingConfigurationCommandOutput,
|
|
@@ -31,6 +35,10 @@ import {
|
|
|
31
35
|
DeletePlaybackKeyPairCommandInput,
|
|
32
36
|
DeletePlaybackKeyPairCommandOutput,
|
|
33
37
|
} from "./commands/DeletePlaybackKeyPairCommand";
|
|
38
|
+
import {
|
|
39
|
+
DeletePlaybackRestrictionPolicyCommandInput,
|
|
40
|
+
DeletePlaybackRestrictionPolicyCommandOutput,
|
|
41
|
+
} from "./commands/DeletePlaybackRestrictionPolicyCommand";
|
|
34
42
|
import {
|
|
35
43
|
DeleteRecordingConfigurationCommandInput,
|
|
36
44
|
DeleteRecordingConfigurationCommandOutput,
|
|
@@ -47,6 +55,10 @@ import {
|
|
|
47
55
|
GetPlaybackKeyPairCommandInput,
|
|
48
56
|
GetPlaybackKeyPairCommandOutput,
|
|
49
57
|
} from "./commands/GetPlaybackKeyPairCommand";
|
|
58
|
+
import {
|
|
59
|
+
GetPlaybackRestrictionPolicyCommandInput,
|
|
60
|
+
GetPlaybackRestrictionPolicyCommandOutput,
|
|
61
|
+
} from "./commands/GetPlaybackRestrictionPolicyCommand";
|
|
50
62
|
import {
|
|
51
63
|
GetRecordingConfigurationCommandInput,
|
|
52
64
|
GetRecordingConfigurationCommandOutput,
|
|
@@ -75,6 +87,10 @@ import {
|
|
|
75
87
|
ListPlaybackKeyPairsCommandInput,
|
|
76
88
|
ListPlaybackKeyPairsCommandOutput,
|
|
77
89
|
} from "./commands/ListPlaybackKeyPairsCommand";
|
|
90
|
+
import {
|
|
91
|
+
ListPlaybackRestrictionPoliciesCommandInput,
|
|
92
|
+
ListPlaybackRestrictionPoliciesCommandOutput,
|
|
93
|
+
} from "./commands/ListPlaybackRestrictionPoliciesCommand";
|
|
78
94
|
import {
|
|
79
95
|
ListRecordingConfigurationsCommandInput,
|
|
80
96
|
ListRecordingConfigurationsCommandOutput,
|
|
@@ -119,6 +135,10 @@ import {
|
|
|
119
135
|
UpdateChannelCommandInput,
|
|
120
136
|
UpdateChannelCommandOutput,
|
|
121
137
|
} from "./commands/UpdateChannelCommand";
|
|
138
|
+
import {
|
|
139
|
+
UpdatePlaybackRestrictionPolicyCommandInput,
|
|
140
|
+
UpdatePlaybackRestrictionPolicyCommandOutput,
|
|
141
|
+
} from "./commands/UpdatePlaybackRestrictionPolicyCommand";
|
|
122
142
|
import { IvsClient } from "./IvsClient";
|
|
123
143
|
export interface Ivs {
|
|
124
144
|
batchGetChannel(
|
|
@@ -179,6 +199,19 @@ export interface Ivs {
|
|
|
179
199
|
options: __HttpHandlerOptions,
|
|
180
200
|
cb: (err: any, data?: CreateChannelCommandOutput) => void
|
|
181
201
|
): void;
|
|
202
|
+
createPlaybackRestrictionPolicy(
|
|
203
|
+
args: CreatePlaybackRestrictionPolicyCommandInput,
|
|
204
|
+
options?: __HttpHandlerOptions
|
|
205
|
+
): Promise<CreatePlaybackRestrictionPolicyCommandOutput>;
|
|
206
|
+
createPlaybackRestrictionPolicy(
|
|
207
|
+
args: CreatePlaybackRestrictionPolicyCommandInput,
|
|
208
|
+
cb: (err: any, data?: CreatePlaybackRestrictionPolicyCommandOutput) => void
|
|
209
|
+
): void;
|
|
210
|
+
createPlaybackRestrictionPolicy(
|
|
211
|
+
args: CreatePlaybackRestrictionPolicyCommandInput,
|
|
212
|
+
options: __HttpHandlerOptions,
|
|
213
|
+
cb: (err: any, data?: CreatePlaybackRestrictionPolicyCommandOutput) => void
|
|
214
|
+
): void;
|
|
182
215
|
createRecordingConfiguration(
|
|
183
216
|
args: CreateRecordingConfigurationCommandInput,
|
|
184
217
|
options?: __HttpHandlerOptions
|
|
@@ -231,6 +264,19 @@ export interface Ivs {
|
|
|
231
264
|
options: __HttpHandlerOptions,
|
|
232
265
|
cb: (err: any, data?: DeletePlaybackKeyPairCommandOutput) => void
|
|
233
266
|
): void;
|
|
267
|
+
deletePlaybackRestrictionPolicy(
|
|
268
|
+
args: DeletePlaybackRestrictionPolicyCommandInput,
|
|
269
|
+
options?: __HttpHandlerOptions
|
|
270
|
+
): Promise<DeletePlaybackRestrictionPolicyCommandOutput>;
|
|
271
|
+
deletePlaybackRestrictionPolicy(
|
|
272
|
+
args: DeletePlaybackRestrictionPolicyCommandInput,
|
|
273
|
+
cb: (err: any, data?: DeletePlaybackRestrictionPolicyCommandOutput) => void
|
|
274
|
+
): void;
|
|
275
|
+
deletePlaybackRestrictionPolicy(
|
|
276
|
+
args: DeletePlaybackRestrictionPolicyCommandInput,
|
|
277
|
+
options: __HttpHandlerOptions,
|
|
278
|
+
cb: (err: any, data?: DeletePlaybackRestrictionPolicyCommandOutput) => void
|
|
279
|
+
): void;
|
|
234
280
|
deleteRecordingConfiguration(
|
|
235
281
|
args: DeleteRecordingConfigurationCommandInput,
|
|
236
282
|
options?: __HttpHandlerOptions
|
|
@@ -283,6 +329,19 @@ export interface Ivs {
|
|
|
283
329
|
options: __HttpHandlerOptions,
|
|
284
330
|
cb: (err: any, data?: GetPlaybackKeyPairCommandOutput) => void
|
|
285
331
|
): void;
|
|
332
|
+
getPlaybackRestrictionPolicy(
|
|
333
|
+
args: GetPlaybackRestrictionPolicyCommandInput,
|
|
334
|
+
options?: __HttpHandlerOptions
|
|
335
|
+
): Promise<GetPlaybackRestrictionPolicyCommandOutput>;
|
|
336
|
+
getPlaybackRestrictionPolicy(
|
|
337
|
+
args: GetPlaybackRestrictionPolicyCommandInput,
|
|
338
|
+
cb: (err: any, data?: GetPlaybackRestrictionPolicyCommandOutput) => void
|
|
339
|
+
): void;
|
|
340
|
+
getPlaybackRestrictionPolicy(
|
|
341
|
+
args: GetPlaybackRestrictionPolicyCommandInput,
|
|
342
|
+
options: __HttpHandlerOptions,
|
|
343
|
+
cb: (err: any, data?: GetPlaybackRestrictionPolicyCommandOutput) => void
|
|
344
|
+
): void;
|
|
286
345
|
getRecordingConfiguration(
|
|
287
346
|
args: GetRecordingConfigurationCommandInput,
|
|
288
347
|
options?: __HttpHandlerOptions
|
|
@@ -374,6 +433,19 @@ export interface Ivs {
|
|
|
374
433
|
options: __HttpHandlerOptions,
|
|
375
434
|
cb: (err: any, data?: ListPlaybackKeyPairsCommandOutput) => void
|
|
376
435
|
): void;
|
|
436
|
+
listPlaybackRestrictionPolicies(
|
|
437
|
+
args: ListPlaybackRestrictionPoliciesCommandInput,
|
|
438
|
+
options?: __HttpHandlerOptions
|
|
439
|
+
): Promise<ListPlaybackRestrictionPoliciesCommandOutput>;
|
|
440
|
+
listPlaybackRestrictionPolicies(
|
|
441
|
+
args: ListPlaybackRestrictionPoliciesCommandInput,
|
|
442
|
+
cb: (err: any, data?: ListPlaybackRestrictionPoliciesCommandOutput) => void
|
|
443
|
+
): void;
|
|
444
|
+
listPlaybackRestrictionPolicies(
|
|
445
|
+
args: ListPlaybackRestrictionPoliciesCommandInput,
|
|
446
|
+
options: __HttpHandlerOptions,
|
|
447
|
+
cb: (err: any, data?: ListPlaybackRestrictionPoliciesCommandOutput) => void
|
|
448
|
+
): void;
|
|
377
449
|
listRecordingConfigurations(
|
|
378
450
|
args: ListRecordingConfigurationsCommandInput,
|
|
379
451
|
options?: __HttpHandlerOptions
|
|
@@ -517,5 +589,18 @@ export interface Ivs {
|
|
|
517
589
|
options: __HttpHandlerOptions,
|
|
518
590
|
cb: (err: any, data?: UpdateChannelCommandOutput) => void
|
|
519
591
|
): void;
|
|
592
|
+
updatePlaybackRestrictionPolicy(
|
|
593
|
+
args: UpdatePlaybackRestrictionPolicyCommandInput,
|
|
594
|
+
options?: __HttpHandlerOptions
|
|
595
|
+
): Promise<UpdatePlaybackRestrictionPolicyCommandOutput>;
|
|
596
|
+
updatePlaybackRestrictionPolicy(
|
|
597
|
+
args: UpdatePlaybackRestrictionPolicyCommandInput,
|
|
598
|
+
cb: (err: any, data?: UpdatePlaybackRestrictionPolicyCommandOutput) => void
|
|
599
|
+
): void;
|
|
600
|
+
updatePlaybackRestrictionPolicy(
|
|
601
|
+
args: UpdatePlaybackRestrictionPolicyCommandInput,
|
|
602
|
+
options: __HttpHandlerOptions,
|
|
603
|
+
cb: (err: any, data?: UpdatePlaybackRestrictionPolicyCommandOutput) => void
|
|
604
|
+
): void;
|
|
520
605
|
}
|
|
521
606
|
export declare class Ivs extends IvsClient implements Ivs {}
|
|
@@ -61,6 +61,10 @@ import {
|
|
|
61
61
|
CreateChannelCommandInput,
|
|
62
62
|
CreateChannelCommandOutput,
|
|
63
63
|
} from "./commands/CreateChannelCommand";
|
|
64
|
+
import {
|
|
65
|
+
CreatePlaybackRestrictionPolicyCommandInput,
|
|
66
|
+
CreatePlaybackRestrictionPolicyCommandOutput,
|
|
67
|
+
} from "./commands/CreatePlaybackRestrictionPolicyCommand";
|
|
64
68
|
import {
|
|
65
69
|
CreateRecordingConfigurationCommandInput,
|
|
66
70
|
CreateRecordingConfigurationCommandOutput,
|
|
@@ -77,6 +81,10 @@ import {
|
|
|
77
81
|
DeletePlaybackKeyPairCommandInput,
|
|
78
82
|
DeletePlaybackKeyPairCommandOutput,
|
|
79
83
|
} from "./commands/DeletePlaybackKeyPairCommand";
|
|
84
|
+
import {
|
|
85
|
+
DeletePlaybackRestrictionPolicyCommandInput,
|
|
86
|
+
DeletePlaybackRestrictionPolicyCommandOutput,
|
|
87
|
+
} from "./commands/DeletePlaybackRestrictionPolicyCommand";
|
|
80
88
|
import {
|
|
81
89
|
DeleteRecordingConfigurationCommandInput,
|
|
82
90
|
DeleteRecordingConfigurationCommandOutput,
|
|
@@ -93,6 +101,10 @@ import {
|
|
|
93
101
|
GetPlaybackKeyPairCommandInput,
|
|
94
102
|
GetPlaybackKeyPairCommandOutput,
|
|
95
103
|
} from "./commands/GetPlaybackKeyPairCommand";
|
|
104
|
+
import {
|
|
105
|
+
GetPlaybackRestrictionPolicyCommandInput,
|
|
106
|
+
GetPlaybackRestrictionPolicyCommandOutput,
|
|
107
|
+
} from "./commands/GetPlaybackRestrictionPolicyCommand";
|
|
96
108
|
import {
|
|
97
109
|
GetRecordingConfigurationCommandInput,
|
|
98
110
|
GetRecordingConfigurationCommandOutput,
|
|
@@ -121,6 +133,10 @@ import {
|
|
|
121
133
|
ListPlaybackKeyPairsCommandInput,
|
|
122
134
|
ListPlaybackKeyPairsCommandOutput,
|
|
123
135
|
} from "./commands/ListPlaybackKeyPairsCommand";
|
|
136
|
+
import {
|
|
137
|
+
ListPlaybackRestrictionPoliciesCommandInput,
|
|
138
|
+
ListPlaybackRestrictionPoliciesCommandOutput,
|
|
139
|
+
} from "./commands/ListPlaybackRestrictionPoliciesCommand";
|
|
124
140
|
import {
|
|
125
141
|
ListRecordingConfigurationsCommandInput,
|
|
126
142
|
ListRecordingConfigurationsCommandOutput,
|
|
@@ -165,6 +181,10 @@ import {
|
|
|
165
181
|
UpdateChannelCommandInput,
|
|
166
182
|
UpdateChannelCommandOutput,
|
|
167
183
|
} from "./commands/UpdateChannelCommand";
|
|
184
|
+
import {
|
|
185
|
+
UpdatePlaybackRestrictionPolicyCommandInput,
|
|
186
|
+
UpdatePlaybackRestrictionPolicyCommandOutput,
|
|
187
|
+
} from "./commands/UpdatePlaybackRestrictionPolicyCommand";
|
|
168
188
|
import {
|
|
169
189
|
ClientInputEndpointParameters,
|
|
170
190
|
ClientResolvedEndpointParameters,
|
|
@@ -177,14 +197,17 @@ export type ServiceInputTypes =
|
|
|
177
197
|
| BatchGetStreamKeyCommandInput
|
|
178
198
|
| BatchStartViewerSessionRevocationCommandInput
|
|
179
199
|
| CreateChannelCommandInput
|
|
200
|
+
| CreatePlaybackRestrictionPolicyCommandInput
|
|
180
201
|
| CreateRecordingConfigurationCommandInput
|
|
181
202
|
| CreateStreamKeyCommandInput
|
|
182
203
|
| DeleteChannelCommandInput
|
|
183
204
|
| DeletePlaybackKeyPairCommandInput
|
|
205
|
+
| DeletePlaybackRestrictionPolicyCommandInput
|
|
184
206
|
| DeleteRecordingConfigurationCommandInput
|
|
185
207
|
| DeleteStreamKeyCommandInput
|
|
186
208
|
| GetChannelCommandInput
|
|
187
209
|
| GetPlaybackKeyPairCommandInput
|
|
210
|
+
| GetPlaybackRestrictionPolicyCommandInput
|
|
188
211
|
| GetRecordingConfigurationCommandInput
|
|
189
212
|
| GetStreamCommandInput
|
|
190
213
|
| GetStreamKeyCommandInput
|
|
@@ -192,6 +215,7 @@ export type ServiceInputTypes =
|
|
|
192
215
|
| ImportPlaybackKeyPairCommandInput
|
|
193
216
|
| ListChannelsCommandInput
|
|
194
217
|
| ListPlaybackKeyPairsCommandInput
|
|
218
|
+
| ListPlaybackRestrictionPoliciesCommandInput
|
|
195
219
|
| ListRecordingConfigurationsCommandInput
|
|
196
220
|
| ListStreamKeysCommandInput
|
|
197
221
|
| ListStreamSessionsCommandInput
|
|
@@ -202,20 +226,24 @@ export type ServiceInputTypes =
|
|
|
202
226
|
| StopStreamCommandInput
|
|
203
227
|
| TagResourceCommandInput
|
|
204
228
|
| UntagResourceCommandInput
|
|
205
|
-
| UpdateChannelCommandInput
|
|
229
|
+
| UpdateChannelCommandInput
|
|
230
|
+
| UpdatePlaybackRestrictionPolicyCommandInput;
|
|
206
231
|
export type ServiceOutputTypes =
|
|
207
232
|
| BatchGetChannelCommandOutput
|
|
208
233
|
| BatchGetStreamKeyCommandOutput
|
|
209
234
|
| BatchStartViewerSessionRevocationCommandOutput
|
|
210
235
|
| CreateChannelCommandOutput
|
|
236
|
+
| CreatePlaybackRestrictionPolicyCommandOutput
|
|
211
237
|
| CreateRecordingConfigurationCommandOutput
|
|
212
238
|
| CreateStreamKeyCommandOutput
|
|
213
239
|
| DeleteChannelCommandOutput
|
|
214
240
|
| DeletePlaybackKeyPairCommandOutput
|
|
241
|
+
| DeletePlaybackRestrictionPolicyCommandOutput
|
|
215
242
|
| DeleteRecordingConfigurationCommandOutput
|
|
216
243
|
| DeleteStreamKeyCommandOutput
|
|
217
244
|
| GetChannelCommandOutput
|
|
218
245
|
| GetPlaybackKeyPairCommandOutput
|
|
246
|
+
| GetPlaybackRestrictionPolicyCommandOutput
|
|
219
247
|
| GetRecordingConfigurationCommandOutput
|
|
220
248
|
| GetStreamCommandOutput
|
|
221
249
|
| GetStreamKeyCommandOutput
|
|
@@ -223,6 +251,7 @@ export type ServiceOutputTypes =
|
|
|
223
251
|
| ImportPlaybackKeyPairCommandOutput
|
|
224
252
|
| ListChannelsCommandOutput
|
|
225
253
|
| ListPlaybackKeyPairsCommandOutput
|
|
254
|
+
| ListPlaybackRestrictionPoliciesCommandOutput
|
|
226
255
|
| ListRecordingConfigurationsCommandOutput
|
|
227
256
|
| ListStreamKeysCommandOutput
|
|
228
257
|
| ListStreamSessionsCommandOutput
|
|
@@ -233,7 +262,8 @@ export type ServiceOutputTypes =
|
|
|
233
262
|
| StopStreamCommandOutput
|
|
234
263
|
| TagResourceCommandOutput
|
|
235
264
|
| UntagResourceCommandOutput
|
|
236
|
-
| UpdateChannelCommandOutput
|
|
265
|
+
| UpdateChannelCommandOutput
|
|
266
|
+
| UpdatePlaybackRestrictionPolicyCommandOutput;
|
|
237
267
|
export interface ClientDefaults
|
|
238
268
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
239
269
|
requestHandler?: __HttpHandler;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
IvsClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../IvsClient";
|
|
8
|
+
import {
|
|
9
|
+
CreatePlaybackRestrictionPolicyRequest,
|
|
10
|
+
CreatePlaybackRestrictionPolicyResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface CreatePlaybackRestrictionPolicyCommandInput
|
|
14
|
+
extends CreatePlaybackRestrictionPolicyRequest {}
|
|
15
|
+
export interface CreatePlaybackRestrictionPolicyCommandOutput
|
|
16
|
+
extends CreatePlaybackRestrictionPolicyResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const CreatePlaybackRestrictionPolicyCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: CreatePlaybackRestrictionPolicyCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
CreatePlaybackRestrictionPolicyCommandInput,
|
|
23
|
+
CreatePlaybackRestrictionPolicyCommandOutput,
|
|
24
|
+
IvsClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class CreatePlaybackRestrictionPolicyCommand extends CreatePlaybackRestrictionPolicyCommand_base {}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
IvsClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../IvsClient";
|
|
8
|
+
import { DeletePlaybackRestrictionPolicyRequest } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
export interface DeletePlaybackRestrictionPolicyCommandInput
|
|
11
|
+
extends DeletePlaybackRestrictionPolicyRequest {}
|
|
12
|
+
export interface DeletePlaybackRestrictionPolicyCommandOutput
|
|
13
|
+
extends __MetadataBearer {}
|
|
14
|
+
declare const DeletePlaybackRestrictionPolicyCommand_base: {
|
|
15
|
+
new (
|
|
16
|
+
input: DeletePlaybackRestrictionPolicyCommandInput
|
|
17
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
18
|
+
DeletePlaybackRestrictionPolicyCommandInput,
|
|
19
|
+
DeletePlaybackRestrictionPolicyCommandOutput,
|
|
20
|
+
IvsClientResolvedConfig,
|
|
21
|
+
ServiceInputTypes,
|
|
22
|
+
ServiceOutputTypes
|
|
23
|
+
>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
export declare class DeletePlaybackRestrictionPolicyCommand extends DeletePlaybackRestrictionPolicyCommand_base {}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
IvsClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../IvsClient";
|
|
8
|
+
import {
|
|
9
|
+
GetPlaybackRestrictionPolicyRequest,
|
|
10
|
+
GetPlaybackRestrictionPolicyResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface GetPlaybackRestrictionPolicyCommandInput
|
|
14
|
+
extends GetPlaybackRestrictionPolicyRequest {}
|
|
15
|
+
export interface GetPlaybackRestrictionPolicyCommandOutput
|
|
16
|
+
extends GetPlaybackRestrictionPolicyResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const GetPlaybackRestrictionPolicyCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: GetPlaybackRestrictionPolicyCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
GetPlaybackRestrictionPolicyCommandInput,
|
|
23
|
+
GetPlaybackRestrictionPolicyCommandOutput,
|
|
24
|
+
IvsClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class GetPlaybackRestrictionPolicyCommand extends GetPlaybackRestrictionPolicyCommand_base {}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
IvsClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../IvsClient";
|
|
8
|
+
import {
|
|
9
|
+
ListPlaybackRestrictionPoliciesRequest,
|
|
10
|
+
ListPlaybackRestrictionPoliciesResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface ListPlaybackRestrictionPoliciesCommandInput
|
|
14
|
+
extends ListPlaybackRestrictionPoliciesRequest {}
|
|
15
|
+
export interface ListPlaybackRestrictionPoliciesCommandOutput
|
|
16
|
+
extends ListPlaybackRestrictionPoliciesResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const ListPlaybackRestrictionPoliciesCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: ListPlaybackRestrictionPoliciesCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
ListPlaybackRestrictionPoliciesCommandInput,
|
|
23
|
+
ListPlaybackRestrictionPoliciesCommandOutput,
|
|
24
|
+
IvsClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class ListPlaybackRestrictionPoliciesCommand extends ListPlaybackRestrictionPoliciesCommand_base {}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
IvsClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../IvsClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdatePlaybackRestrictionPolicyRequest,
|
|
10
|
+
UpdatePlaybackRestrictionPolicyResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface UpdatePlaybackRestrictionPolicyCommandInput
|
|
14
|
+
extends UpdatePlaybackRestrictionPolicyRequest {}
|
|
15
|
+
export interface UpdatePlaybackRestrictionPolicyCommandOutput
|
|
16
|
+
extends UpdatePlaybackRestrictionPolicyResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const UpdatePlaybackRestrictionPolicyCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: UpdatePlaybackRestrictionPolicyCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
UpdatePlaybackRestrictionPolicyCommandInput,
|
|
23
|
+
UpdatePlaybackRestrictionPolicyCommandOutput,
|
|
24
|
+
IvsClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class UpdatePlaybackRestrictionPolicyCommand extends UpdatePlaybackRestrictionPolicyCommand_base {}
|
|
@@ -2,14 +2,17 @@ export * from "./BatchGetChannelCommand";
|
|
|
2
2
|
export * from "./BatchGetStreamKeyCommand";
|
|
3
3
|
export * from "./BatchStartViewerSessionRevocationCommand";
|
|
4
4
|
export * from "./CreateChannelCommand";
|
|
5
|
+
export * from "./CreatePlaybackRestrictionPolicyCommand";
|
|
5
6
|
export * from "./CreateRecordingConfigurationCommand";
|
|
6
7
|
export * from "./CreateStreamKeyCommand";
|
|
7
8
|
export * from "./DeleteChannelCommand";
|
|
8
9
|
export * from "./DeletePlaybackKeyPairCommand";
|
|
10
|
+
export * from "./DeletePlaybackRestrictionPolicyCommand";
|
|
9
11
|
export * from "./DeleteRecordingConfigurationCommand";
|
|
10
12
|
export * from "./DeleteStreamKeyCommand";
|
|
11
13
|
export * from "./GetChannelCommand";
|
|
12
14
|
export * from "./GetPlaybackKeyPairCommand";
|
|
15
|
+
export * from "./GetPlaybackRestrictionPolicyCommand";
|
|
13
16
|
export * from "./GetRecordingConfigurationCommand";
|
|
14
17
|
export * from "./GetStreamCommand";
|
|
15
18
|
export * from "./GetStreamKeyCommand";
|
|
@@ -17,6 +20,7 @@ export * from "./GetStreamSessionCommand";
|
|
|
17
20
|
export * from "./ImportPlaybackKeyPairCommand";
|
|
18
21
|
export * from "./ListChannelsCommand";
|
|
19
22
|
export * from "./ListPlaybackKeyPairsCommand";
|
|
23
|
+
export * from "./ListPlaybackRestrictionPoliciesCommand";
|
|
20
24
|
export * from "./ListRecordingConfigurationsCommand";
|
|
21
25
|
export * from "./ListStreamKeysCommand";
|
|
22
26
|
export * from "./ListStreamSessionsCommand";
|
|
@@ -28,3 +32,4 @@ export * from "./StopStreamCommand";
|
|
|
28
32
|
export * from "./TagResourceCommand";
|
|
29
33
|
export * from "./UntagResourceCommand";
|
|
30
34
|
export * from "./UpdateChannelCommand";
|
|
35
|
+
export * from "./UpdatePlaybackRestrictionPolicyCommand";
|
|
@@ -42,6 +42,7 @@ export interface Channel {
|
|
|
42
42
|
tags?: Record<string, string>;
|
|
43
43
|
insecureIngest?: boolean;
|
|
44
44
|
preset?: TranscodePreset;
|
|
45
|
+
playbackRestrictionPolicyArn?: string;
|
|
45
46
|
}
|
|
46
47
|
export interface BatchError {
|
|
47
48
|
arn?: string;
|
|
@@ -115,6 +116,7 @@ export interface CreateChannelRequest {
|
|
|
115
116
|
tags?: Record<string, string>;
|
|
116
117
|
insecureIngest?: boolean;
|
|
117
118
|
preset?: TranscodePreset;
|
|
119
|
+
playbackRestrictionPolicyArn?: string;
|
|
118
120
|
}
|
|
119
121
|
export interface CreateChannelResponse {
|
|
120
122
|
channel?: Channel;
|
|
@@ -136,6 +138,24 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
136
138
|
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
137
139
|
);
|
|
138
140
|
}
|
|
141
|
+
export interface CreatePlaybackRestrictionPolicyRequest {
|
|
142
|
+
allowedCountries?: string[];
|
|
143
|
+
allowedOrigins?: string[];
|
|
144
|
+
enableStrictOriginEnforcement?: boolean;
|
|
145
|
+
name?: string;
|
|
146
|
+
tags?: Record<string, string>;
|
|
147
|
+
}
|
|
148
|
+
export interface PlaybackRestrictionPolicy {
|
|
149
|
+
arn: string | undefined;
|
|
150
|
+
allowedCountries: string[] | undefined;
|
|
151
|
+
allowedOrigins: string[] | undefined;
|
|
152
|
+
enableStrictOriginEnforcement?: boolean;
|
|
153
|
+
name?: string;
|
|
154
|
+
tags?: Record<string, string>;
|
|
155
|
+
}
|
|
156
|
+
export interface CreatePlaybackRestrictionPolicyResponse {
|
|
157
|
+
playbackRestrictionPolicy?: PlaybackRestrictionPolicy;
|
|
158
|
+
}
|
|
139
159
|
export declare class ConflictException extends __BaseException {
|
|
140
160
|
readonly name: "ConflictException";
|
|
141
161
|
readonly $fault: "client";
|
|
@@ -242,6 +262,9 @@ export interface DeletePlaybackKeyPairRequest {
|
|
|
242
262
|
arn: string | undefined;
|
|
243
263
|
}
|
|
244
264
|
export interface DeletePlaybackKeyPairResponse {}
|
|
265
|
+
export interface DeletePlaybackRestrictionPolicyRequest {
|
|
266
|
+
arn: string | undefined;
|
|
267
|
+
}
|
|
245
268
|
export interface DeleteRecordingConfigurationRequest {
|
|
246
269
|
arn: string | undefined;
|
|
247
270
|
}
|
|
@@ -266,6 +289,12 @@ export interface PlaybackKeyPair {
|
|
|
266
289
|
export interface GetPlaybackKeyPairResponse {
|
|
267
290
|
keyPair?: PlaybackKeyPair;
|
|
268
291
|
}
|
|
292
|
+
export interface GetPlaybackRestrictionPolicyRequest {
|
|
293
|
+
arn: string | undefined;
|
|
294
|
+
}
|
|
295
|
+
export interface GetPlaybackRestrictionPolicyResponse {
|
|
296
|
+
playbackRestrictionPolicy?: PlaybackRestrictionPolicy;
|
|
297
|
+
}
|
|
269
298
|
export interface GetRecordingConfigurationRequest {
|
|
270
299
|
arn: string | undefined;
|
|
271
300
|
}
|
|
@@ -364,6 +393,7 @@ export interface ImportPlaybackKeyPairResponse {
|
|
|
364
393
|
export interface ListChannelsRequest {
|
|
365
394
|
filterByName?: string;
|
|
366
395
|
filterByRecordingConfigurationArn?: string;
|
|
396
|
+
filterByPlaybackRestrictionPolicyArn?: string;
|
|
367
397
|
nextToken?: string;
|
|
368
398
|
maxResults?: number;
|
|
369
399
|
}
|
|
@@ -377,6 +407,7 @@ export interface ChannelSummary {
|
|
|
377
407
|
insecureIngest?: boolean;
|
|
378
408
|
type?: ChannelType;
|
|
379
409
|
preset?: TranscodePreset;
|
|
410
|
+
playbackRestrictionPolicyArn?: string;
|
|
380
411
|
}
|
|
381
412
|
export interface ListChannelsResponse {
|
|
382
413
|
channels: ChannelSummary[] | undefined;
|
|
@@ -395,6 +426,22 @@ export interface ListPlaybackKeyPairsResponse {
|
|
|
395
426
|
keyPairs: PlaybackKeyPairSummary[] | undefined;
|
|
396
427
|
nextToken?: string;
|
|
397
428
|
}
|
|
429
|
+
export interface ListPlaybackRestrictionPoliciesRequest {
|
|
430
|
+
nextToken?: string;
|
|
431
|
+
maxResults?: number;
|
|
432
|
+
}
|
|
433
|
+
export interface PlaybackRestrictionPolicySummary {
|
|
434
|
+
arn: string | undefined;
|
|
435
|
+
allowedCountries: string[] | undefined;
|
|
436
|
+
allowedOrigins: string[] | undefined;
|
|
437
|
+
enableStrictOriginEnforcement?: boolean;
|
|
438
|
+
name?: string;
|
|
439
|
+
tags?: Record<string, string>;
|
|
440
|
+
}
|
|
441
|
+
export interface ListPlaybackRestrictionPoliciesResponse {
|
|
442
|
+
playbackRestrictionPolicies: PlaybackRestrictionPolicySummary[] | undefined;
|
|
443
|
+
nextToken?: string;
|
|
444
|
+
}
|
|
398
445
|
export interface ListRecordingConfigurationsRequest {
|
|
399
446
|
nextToken?: string;
|
|
400
447
|
maxResults?: number;
|
|
@@ -504,10 +551,21 @@ export interface UpdateChannelRequest {
|
|
|
504
551
|
recordingConfigurationArn?: string;
|
|
505
552
|
insecureIngest?: boolean;
|
|
506
553
|
preset?: TranscodePreset;
|
|
554
|
+
playbackRestrictionPolicyArn?: string;
|
|
507
555
|
}
|
|
508
556
|
export interface UpdateChannelResponse {
|
|
509
557
|
channel?: Channel;
|
|
510
558
|
}
|
|
559
|
+
export interface UpdatePlaybackRestrictionPolicyRequest {
|
|
560
|
+
arn: string | undefined;
|
|
561
|
+
allowedCountries?: string[];
|
|
562
|
+
allowedOrigins?: string[];
|
|
563
|
+
enableStrictOriginEnforcement?: boolean;
|
|
564
|
+
name?: string;
|
|
565
|
+
}
|
|
566
|
+
export interface UpdatePlaybackRestrictionPolicyResponse {
|
|
567
|
+
playbackRestrictionPolicy?: PlaybackRestrictionPolicy;
|
|
568
|
+
}
|
|
511
569
|
export declare const StreamKeyFilterSensitiveLog: (obj: StreamKey) => any;
|
|
512
570
|
export declare const BatchGetStreamKeyResponseFilterSensitiveLog: (
|
|
513
571
|
obj: BatchGetStreamKeyResponse
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListPlaybackRestrictionPoliciesCommandInput,
|
|
4
|
+
ListPlaybackRestrictionPoliciesCommandOutput,
|
|
5
|
+
} from "../commands/ListPlaybackRestrictionPoliciesCommand";
|
|
6
|
+
import { IvsPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListPlaybackRestrictionPolicies: (
|
|
8
|
+
config: IvsPaginationConfiguration,
|
|
9
|
+
input: ListPlaybackRestrictionPoliciesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListPlaybackRestrictionPoliciesCommandOutput>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListChannelsPaginator";
|
|
3
3
|
export * from "./ListPlaybackKeyPairsPaginator";
|
|
4
|
+
export * from "./ListPlaybackRestrictionPoliciesPaginator";
|
|
4
5
|
export * from "./ListRecordingConfigurationsPaginator";
|
|
5
6
|
export * from "./ListStreamKeysPaginator";
|
|
6
7
|
export * from "./ListStreamSessionsPaginator";
|