@aws-sdk/client-ivs 3.975.0 → 3.978.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/dist-cjs/index.js +24 -15
- package/dist-es/Ivs.js +17 -1
- package/dist-types/Ivs.d.ts +50 -1
- package/dist-types/ts3.4/Ivs.d.ts +54 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -1629,6 +1629,20 @@ class UpdatePlaybackRestrictionPolicyCommand extends smithyClient.Command
|
|
|
1629
1629
|
.build() {
|
|
1630
1630
|
}
|
|
1631
1631
|
|
|
1632
|
+
const paginateListChannels = core.createPaginator(IvsClient, ListChannelsCommand, "nextToken", "nextToken", "maxResults");
|
|
1633
|
+
|
|
1634
|
+
const paginateListPlaybackKeyPairs = core.createPaginator(IvsClient, ListPlaybackKeyPairsCommand, "nextToken", "nextToken", "maxResults");
|
|
1635
|
+
|
|
1636
|
+
const paginateListPlaybackRestrictionPolicies = core.createPaginator(IvsClient, ListPlaybackRestrictionPoliciesCommand, "nextToken", "nextToken", "maxResults");
|
|
1637
|
+
|
|
1638
|
+
const paginateListRecordingConfigurations = core.createPaginator(IvsClient, ListRecordingConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1639
|
+
|
|
1640
|
+
const paginateListStreamKeys = core.createPaginator(IvsClient, ListStreamKeysCommand, "nextToken", "nextToken", "maxResults");
|
|
1641
|
+
|
|
1642
|
+
const paginateListStreamSessions = core.createPaginator(IvsClient, ListStreamSessionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1643
|
+
|
|
1644
|
+
const paginateListStreams = core.createPaginator(IvsClient, ListStreamsCommand, "nextToken", "nextToken", "maxResults");
|
|
1645
|
+
|
|
1632
1646
|
const commands = {
|
|
1633
1647
|
BatchGetChannelCommand,
|
|
1634
1648
|
BatchGetStreamKeyCommand,
|
|
@@ -1666,23 +1680,18 @@ const commands = {
|
|
|
1666
1680
|
UpdateChannelCommand,
|
|
1667
1681
|
UpdatePlaybackRestrictionPolicyCommand,
|
|
1668
1682
|
};
|
|
1683
|
+
const paginators = {
|
|
1684
|
+
paginateListChannels,
|
|
1685
|
+
paginateListPlaybackKeyPairs,
|
|
1686
|
+
paginateListPlaybackRestrictionPolicies,
|
|
1687
|
+
paginateListRecordingConfigurations,
|
|
1688
|
+
paginateListStreamKeys,
|
|
1689
|
+
paginateListStreams,
|
|
1690
|
+
paginateListStreamSessions,
|
|
1691
|
+
};
|
|
1669
1692
|
class Ivs extends IvsClient {
|
|
1670
1693
|
}
|
|
1671
|
-
smithyClient.createAggregatedClient(commands, Ivs);
|
|
1672
|
-
|
|
1673
|
-
const paginateListChannels = core.createPaginator(IvsClient, ListChannelsCommand, "nextToken", "nextToken", "maxResults");
|
|
1674
|
-
|
|
1675
|
-
const paginateListPlaybackKeyPairs = core.createPaginator(IvsClient, ListPlaybackKeyPairsCommand, "nextToken", "nextToken", "maxResults");
|
|
1676
|
-
|
|
1677
|
-
const paginateListPlaybackRestrictionPolicies = core.createPaginator(IvsClient, ListPlaybackRestrictionPoliciesCommand, "nextToken", "nextToken", "maxResults");
|
|
1678
|
-
|
|
1679
|
-
const paginateListRecordingConfigurations = core.createPaginator(IvsClient, ListRecordingConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1680
|
-
|
|
1681
|
-
const paginateListStreamKeys = core.createPaginator(IvsClient, ListStreamKeysCommand, "nextToken", "nextToken", "maxResults");
|
|
1682
|
-
|
|
1683
|
-
const paginateListStreams = core.createPaginator(IvsClient, ListStreamsCommand, "nextToken", "nextToken", "maxResults");
|
|
1684
|
-
|
|
1685
|
-
const paginateListStreamSessions = core.createPaginator(IvsClient, ListStreamSessionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1694
|
+
smithyClient.createAggregatedClient(commands, Ivs, { paginators });
|
|
1686
1695
|
|
|
1687
1696
|
const ContainerFormat = {
|
|
1688
1697
|
FragmentedMP4: "FRAGMENTED_MP4",
|
package/dist-es/Ivs.js
CHANGED
|
@@ -35,6 +35,13 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
35
35
|
import { UpdateChannelCommand, } from "./commands/UpdateChannelCommand";
|
|
36
36
|
import { UpdatePlaybackRestrictionPolicyCommand, } from "./commands/UpdatePlaybackRestrictionPolicyCommand";
|
|
37
37
|
import { IvsClient } from "./IvsClient";
|
|
38
|
+
import { paginateListChannels } from "./pagination/ListChannelsPaginator";
|
|
39
|
+
import { paginateListPlaybackKeyPairs } from "./pagination/ListPlaybackKeyPairsPaginator";
|
|
40
|
+
import { paginateListPlaybackRestrictionPolicies } from "./pagination/ListPlaybackRestrictionPoliciesPaginator";
|
|
41
|
+
import { paginateListRecordingConfigurations } from "./pagination/ListRecordingConfigurationsPaginator";
|
|
42
|
+
import { paginateListStreamKeys } from "./pagination/ListStreamKeysPaginator";
|
|
43
|
+
import { paginateListStreamSessions } from "./pagination/ListStreamSessionsPaginator";
|
|
44
|
+
import { paginateListStreams } from "./pagination/ListStreamsPaginator";
|
|
38
45
|
const commands = {
|
|
39
46
|
BatchGetChannelCommand,
|
|
40
47
|
BatchGetStreamKeyCommand,
|
|
@@ -72,6 +79,15 @@ const commands = {
|
|
|
72
79
|
UpdateChannelCommand,
|
|
73
80
|
UpdatePlaybackRestrictionPolicyCommand,
|
|
74
81
|
};
|
|
82
|
+
const paginators = {
|
|
83
|
+
paginateListChannels,
|
|
84
|
+
paginateListPlaybackKeyPairs,
|
|
85
|
+
paginateListPlaybackRestrictionPolicies,
|
|
86
|
+
paginateListRecordingConfigurations,
|
|
87
|
+
paginateListStreamKeys,
|
|
88
|
+
paginateListStreams,
|
|
89
|
+
paginateListStreamSessions,
|
|
90
|
+
};
|
|
75
91
|
export class Ivs extends IvsClient {
|
|
76
92
|
}
|
|
77
|
-
createAggregatedClient(commands, Ivs);
|
|
93
|
+
createAggregatedClient(commands, Ivs, { paginators });
|
package/dist-types/Ivs.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { BatchGetChannelCommandInput, BatchGetChannelCommandOutput } from "./commands/BatchGetChannelCommand";
|
|
3
3
|
import { BatchGetStreamKeyCommandInput, BatchGetStreamKeyCommandOutput } from "./commands/BatchGetStreamKeyCommand";
|
|
4
4
|
import { BatchStartViewerSessionRevocationCommandInput, BatchStartViewerSessionRevocationCommandOutput } from "./commands/BatchStartViewerSessionRevocationCommand";
|
|
@@ -253,6 +253,55 @@ export interface Ivs {
|
|
|
253
253
|
updatePlaybackRestrictionPolicy(args: UpdatePlaybackRestrictionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePlaybackRestrictionPolicyCommandOutput>;
|
|
254
254
|
updatePlaybackRestrictionPolicy(args: UpdatePlaybackRestrictionPolicyCommandInput, cb: (err: any, data?: UpdatePlaybackRestrictionPolicyCommandOutput) => void): void;
|
|
255
255
|
updatePlaybackRestrictionPolicy(args: UpdatePlaybackRestrictionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePlaybackRestrictionPolicyCommandOutput) => void): void;
|
|
256
|
+
/**
|
|
257
|
+
* @see {@link ListChannelsCommand}
|
|
258
|
+
* @param args - command input.
|
|
259
|
+
* @param paginationConfig - optional pagination config.
|
|
260
|
+
* @returns AsyncIterable of {@link ListChannelsCommandOutput}.
|
|
261
|
+
*/
|
|
262
|
+
paginateListChannels(args?: ListChannelsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListChannelsCommandOutput>;
|
|
263
|
+
/**
|
|
264
|
+
* @see {@link ListPlaybackKeyPairsCommand}
|
|
265
|
+
* @param args - command input.
|
|
266
|
+
* @param paginationConfig - optional pagination config.
|
|
267
|
+
* @returns AsyncIterable of {@link ListPlaybackKeyPairsCommandOutput}.
|
|
268
|
+
*/
|
|
269
|
+
paginateListPlaybackKeyPairs(args?: ListPlaybackKeyPairsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPlaybackKeyPairsCommandOutput>;
|
|
270
|
+
/**
|
|
271
|
+
* @see {@link ListPlaybackRestrictionPoliciesCommand}
|
|
272
|
+
* @param args - command input.
|
|
273
|
+
* @param paginationConfig - optional pagination config.
|
|
274
|
+
* @returns AsyncIterable of {@link ListPlaybackRestrictionPoliciesCommandOutput}.
|
|
275
|
+
*/
|
|
276
|
+
paginateListPlaybackRestrictionPolicies(args?: ListPlaybackRestrictionPoliciesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPlaybackRestrictionPoliciesCommandOutput>;
|
|
277
|
+
/**
|
|
278
|
+
* @see {@link ListRecordingConfigurationsCommand}
|
|
279
|
+
* @param args - command input.
|
|
280
|
+
* @param paginationConfig - optional pagination config.
|
|
281
|
+
* @returns AsyncIterable of {@link ListRecordingConfigurationsCommandOutput}.
|
|
282
|
+
*/
|
|
283
|
+
paginateListRecordingConfigurations(args?: ListRecordingConfigurationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRecordingConfigurationsCommandOutput>;
|
|
284
|
+
/**
|
|
285
|
+
* @see {@link ListStreamKeysCommand}
|
|
286
|
+
* @param args - command input.
|
|
287
|
+
* @param paginationConfig - optional pagination config.
|
|
288
|
+
* @returns AsyncIterable of {@link ListStreamKeysCommandOutput}.
|
|
289
|
+
*/
|
|
290
|
+
paginateListStreamKeys(args: ListStreamKeysCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListStreamKeysCommandOutput>;
|
|
291
|
+
/**
|
|
292
|
+
* @see {@link ListStreamsCommand}
|
|
293
|
+
* @param args - command input.
|
|
294
|
+
* @param paginationConfig - optional pagination config.
|
|
295
|
+
* @returns AsyncIterable of {@link ListStreamsCommandOutput}.
|
|
296
|
+
*/
|
|
297
|
+
paginateListStreams(args?: ListStreamsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListStreamsCommandOutput>;
|
|
298
|
+
/**
|
|
299
|
+
* @see {@link ListStreamSessionsCommand}
|
|
300
|
+
* @param args - command input.
|
|
301
|
+
* @param paginationConfig - optional pagination config.
|
|
302
|
+
* @returns AsyncIterable of {@link ListStreamSessionsCommandOutput}.
|
|
303
|
+
*/
|
|
304
|
+
paginateListStreamSessions(args: ListStreamSessionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListStreamSessionsCommandOutput>;
|
|
256
305
|
}
|
|
257
306
|
/**
|
|
258
307
|
* <p>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
BatchGetChannelCommandInput,
|
|
4
8
|
BatchGetChannelCommandOutput,
|
|
@@ -609,5 +613,54 @@ export interface Ivs {
|
|
|
609
613
|
options: __HttpHandlerOptions,
|
|
610
614
|
cb: (err: any, data?: UpdatePlaybackRestrictionPolicyCommandOutput) => void
|
|
611
615
|
): void;
|
|
616
|
+
paginateListChannels(
|
|
617
|
+
args?: ListChannelsCommandInput,
|
|
618
|
+
paginationConfig?: Pick<
|
|
619
|
+
PaginationConfiguration,
|
|
620
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
621
|
+
>
|
|
622
|
+
): Paginator<ListChannelsCommandOutput>;
|
|
623
|
+
paginateListPlaybackKeyPairs(
|
|
624
|
+
args?: ListPlaybackKeyPairsCommandInput,
|
|
625
|
+
paginationConfig?: Pick<
|
|
626
|
+
PaginationConfiguration,
|
|
627
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
628
|
+
>
|
|
629
|
+
): Paginator<ListPlaybackKeyPairsCommandOutput>;
|
|
630
|
+
paginateListPlaybackRestrictionPolicies(
|
|
631
|
+
args?: ListPlaybackRestrictionPoliciesCommandInput,
|
|
632
|
+
paginationConfig?: Pick<
|
|
633
|
+
PaginationConfiguration,
|
|
634
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
635
|
+
>
|
|
636
|
+
): Paginator<ListPlaybackRestrictionPoliciesCommandOutput>;
|
|
637
|
+
paginateListRecordingConfigurations(
|
|
638
|
+
args?: ListRecordingConfigurationsCommandInput,
|
|
639
|
+
paginationConfig?: Pick<
|
|
640
|
+
PaginationConfiguration,
|
|
641
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
642
|
+
>
|
|
643
|
+
): Paginator<ListRecordingConfigurationsCommandOutput>;
|
|
644
|
+
paginateListStreamKeys(
|
|
645
|
+
args: ListStreamKeysCommandInput,
|
|
646
|
+
paginationConfig?: Pick<
|
|
647
|
+
PaginationConfiguration,
|
|
648
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
649
|
+
>
|
|
650
|
+
): Paginator<ListStreamKeysCommandOutput>;
|
|
651
|
+
paginateListStreams(
|
|
652
|
+
args?: ListStreamsCommandInput,
|
|
653
|
+
paginationConfig?: Pick<
|
|
654
|
+
PaginationConfiguration,
|
|
655
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
656
|
+
>
|
|
657
|
+
): Paginator<ListStreamsCommandOutput>;
|
|
658
|
+
paginateListStreamSessions(
|
|
659
|
+
args: ListStreamSessionsCommandInput,
|
|
660
|
+
paginationConfig?: Pick<
|
|
661
|
+
PaginationConfiguration,
|
|
662
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
663
|
+
>
|
|
664
|
+
): Paginator<ListStreamSessionsCommandOutput>;
|
|
612
665
|
}
|
|
613
666
|
export declare class Ivs extends IvsClient implements Ivs {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ivs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ivs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ivs",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|