@aws-sdk/client-mediapackage-vod 3.974.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
CHANGED
|
@@ -990,6 +990,12 @@ class UpdatePackagingGroupCommand extends smithyClient.Command
|
|
|
990
990
|
.build() {
|
|
991
991
|
}
|
|
992
992
|
|
|
993
|
+
const paginateListAssets = core.createPaginator(MediaPackageVodClient, ListAssetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
994
|
+
|
|
995
|
+
const paginateListPackagingConfigurations = core.createPaginator(MediaPackageVodClient, ListPackagingConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
996
|
+
|
|
997
|
+
const paginateListPackagingGroups = core.createPaginator(MediaPackageVodClient, ListPackagingGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
998
|
+
|
|
993
999
|
const commands = {
|
|
994
1000
|
ConfigureLogsCommand,
|
|
995
1001
|
CreateAssetCommand,
|
|
@@ -1009,15 +1015,14 @@ const commands = {
|
|
|
1009
1015
|
UntagResourceCommand,
|
|
1010
1016
|
UpdatePackagingGroupCommand,
|
|
1011
1017
|
};
|
|
1018
|
+
const paginators = {
|
|
1019
|
+
paginateListAssets,
|
|
1020
|
+
paginateListPackagingConfigurations,
|
|
1021
|
+
paginateListPackagingGroups,
|
|
1022
|
+
};
|
|
1012
1023
|
class MediaPackageVod extends MediaPackageVodClient {
|
|
1013
1024
|
}
|
|
1014
|
-
smithyClient.createAggregatedClient(commands, MediaPackageVod);
|
|
1015
|
-
|
|
1016
|
-
const paginateListAssets = core.createPaginator(MediaPackageVodClient, ListAssetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1017
|
-
|
|
1018
|
-
const paginateListPackagingConfigurations = core.createPaginator(MediaPackageVodClient, ListPackagingConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1019
|
-
|
|
1020
|
-
const paginateListPackagingGroups = core.createPaginator(MediaPackageVodClient, ListPackagingGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1025
|
+
smithyClient.createAggregatedClient(commands, MediaPackageVod, { paginators });
|
|
1021
1026
|
|
|
1022
1027
|
const __PeriodTriggersElement = {
|
|
1023
1028
|
ADS: "ADS",
|
|
@@ -17,6 +17,9 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
17
17
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
18
18
|
import { UpdatePackagingGroupCommand, } from "./commands/UpdatePackagingGroupCommand";
|
|
19
19
|
import { MediaPackageVodClient } from "./MediaPackageVodClient";
|
|
20
|
+
import { paginateListAssets } from "./pagination/ListAssetsPaginator";
|
|
21
|
+
import { paginateListPackagingConfigurations } from "./pagination/ListPackagingConfigurationsPaginator";
|
|
22
|
+
import { paginateListPackagingGroups } from "./pagination/ListPackagingGroupsPaginator";
|
|
20
23
|
const commands = {
|
|
21
24
|
ConfigureLogsCommand,
|
|
22
25
|
CreateAssetCommand,
|
|
@@ -36,6 +39,11 @@ const commands = {
|
|
|
36
39
|
UntagResourceCommand,
|
|
37
40
|
UpdatePackagingGroupCommand,
|
|
38
41
|
};
|
|
42
|
+
const paginators = {
|
|
43
|
+
paginateListAssets,
|
|
44
|
+
paginateListPackagingConfigurations,
|
|
45
|
+
paginateListPackagingGroups,
|
|
46
|
+
};
|
|
39
47
|
export class MediaPackageVod extends MediaPackageVodClient {
|
|
40
48
|
}
|
|
41
|
-
createAggregatedClient(commands, MediaPackageVod);
|
|
49
|
+
createAggregatedClient(commands, MediaPackageVod, { paginators });
|
|
@@ -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 { ConfigureLogsCommandInput, ConfigureLogsCommandOutput } from "./commands/ConfigureLogsCommand";
|
|
3
3
|
import { CreateAssetCommandInput, CreateAssetCommandOutput } from "./commands/CreateAssetCommand";
|
|
4
4
|
import { CreatePackagingConfigurationCommandInput, CreatePackagingConfigurationCommandOutput } from "./commands/CreatePackagingConfigurationCommand";
|
|
@@ -123,6 +123,27 @@ export interface MediaPackageVod {
|
|
|
123
123
|
updatePackagingGroup(args: UpdatePackagingGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePackagingGroupCommandOutput>;
|
|
124
124
|
updatePackagingGroup(args: UpdatePackagingGroupCommandInput, cb: (err: any, data?: UpdatePackagingGroupCommandOutput) => void): void;
|
|
125
125
|
updatePackagingGroup(args: UpdatePackagingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePackagingGroupCommandOutput) => void): void;
|
|
126
|
+
/**
|
|
127
|
+
* @see {@link ListAssetsCommand}
|
|
128
|
+
* @param args - command input.
|
|
129
|
+
* @param paginationConfig - optional pagination config.
|
|
130
|
+
* @returns AsyncIterable of {@link ListAssetsCommandOutput}.
|
|
131
|
+
*/
|
|
132
|
+
paginateListAssets(args?: ListAssetsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAssetsCommandOutput>;
|
|
133
|
+
/**
|
|
134
|
+
* @see {@link ListPackagingConfigurationsCommand}
|
|
135
|
+
* @param args - command input.
|
|
136
|
+
* @param paginationConfig - optional pagination config.
|
|
137
|
+
* @returns AsyncIterable of {@link ListPackagingConfigurationsCommandOutput}.
|
|
138
|
+
*/
|
|
139
|
+
paginateListPackagingConfigurations(args?: ListPackagingConfigurationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPackagingConfigurationsCommandOutput>;
|
|
140
|
+
/**
|
|
141
|
+
* @see {@link ListPackagingGroupsCommand}
|
|
142
|
+
* @param args - command input.
|
|
143
|
+
* @param paginationConfig - optional pagination config.
|
|
144
|
+
* @returns AsyncIterable of {@link ListPackagingGroupsCommandOutput}.
|
|
145
|
+
*/
|
|
146
|
+
paginateListPackagingGroups(args?: ListPackagingGroupsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPackagingGroupsCommandOutput>;
|
|
126
147
|
}
|
|
127
148
|
/**
|
|
128
149
|
* AWS Elemental MediaPackage VOD
|
|
@@ -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
|
ConfigureLogsCommandInput,
|
|
4
8
|
ConfigureLogsCommandOutput,
|
|
@@ -293,6 +297,27 @@ export interface MediaPackageVod {
|
|
|
293
297
|
options: __HttpHandlerOptions,
|
|
294
298
|
cb: (err: any, data?: UpdatePackagingGroupCommandOutput) => void
|
|
295
299
|
): void;
|
|
300
|
+
paginateListAssets(
|
|
301
|
+
args?: ListAssetsCommandInput,
|
|
302
|
+
paginationConfig?: Pick<
|
|
303
|
+
PaginationConfiguration,
|
|
304
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
305
|
+
>
|
|
306
|
+
): Paginator<ListAssetsCommandOutput>;
|
|
307
|
+
paginateListPackagingConfigurations(
|
|
308
|
+
args?: ListPackagingConfigurationsCommandInput,
|
|
309
|
+
paginationConfig?: Pick<
|
|
310
|
+
PaginationConfiguration,
|
|
311
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
312
|
+
>
|
|
313
|
+
): Paginator<ListPackagingConfigurationsCommandOutput>;
|
|
314
|
+
paginateListPackagingGroups(
|
|
315
|
+
args?: ListPackagingGroupsCommandInput,
|
|
316
|
+
paginationConfig?: Pick<
|
|
317
|
+
PaginationConfiguration,
|
|
318
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
319
|
+
>
|
|
320
|
+
): Paginator<ListPackagingGroupsCommandOutput>;
|
|
296
321
|
}
|
|
297
322
|
export declare class MediaPackageVod
|
|
298
323
|
extends MediaPackageVodClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediapackage-vod",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediapackage Vod 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-mediapackage-vod",
|
|
@@ -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",
|