@aws-sdk/client-mediapackage 3.975.0 → 3.980.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 +12 -7
- package/dist-es/MediaPackage.js +9 -1
- package/dist-types/MediaPackage.d.ts +22 -1
- package/dist-types/ts3.4/MediaPackage.d.ts +26 -1
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -1099,6 +1099,12 @@ class UpdateOriginEndpointCommand extends smithyClient.Command
|
|
|
1099
1099
|
.build() {
|
|
1100
1100
|
}
|
|
1101
1101
|
|
|
1102
|
+
const paginateListChannels = core.createPaginator(MediaPackageClient, ListChannelsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1103
|
+
|
|
1104
|
+
const paginateListHarvestJobs = core.createPaginator(MediaPackageClient, ListHarvestJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1105
|
+
|
|
1106
|
+
const paginateListOriginEndpoints = core.createPaginator(MediaPackageClient, ListOriginEndpointsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1107
|
+
|
|
1102
1108
|
const commands = {
|
|
1103
1109
|
ConfigureLogsCommand,
|
|
1104
1110
|
CreateChannelCommand,
|
|
@@ -1120,15 +1126,14 @@ const commands = {
|
|
|
1120
1126
|
UpdateChannelCommand,
|
|
1121
1127
|
UpdateOriginEndpointCommand,
|
|
1122
1128
|
};
|
|
1129
|
+
const paginators = {
|
|
1130
|
+
paginateListChannels,
|
|
1131
|
+
paginateListHarvestJobs,
|
|
1132
|
+
paginateListOriginEndpoints,
|
|
1133
|
+
};
|
|
1123
1134
|
class MediaPackage extends MediaPackageClient {
|
|
1124
1135
|
}
|
|
1125
|
-
smithyClient.createAggregatedClient(commands, MediaPackage);
|
|
1126
|
-
|
|
1127
|
-
const paginateListChannels = core.createPaginator(MediaPackageClient, ListChannelsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1128
|
-
|
|
1129
|
-
const paginateListHarvestJobs = core.createPaginator(MediaPackageClient, ListHarvestJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1130
|
-
|
|
1131
|
-
const paginateListOriginEndpoints = core.createPaginator(MediaPackageClient, ListOriginEndpointsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1136
|
+
smithyClient.createAggregatedClient(commands, MediaPackage, { paginators });
|
|
1132
1137
|
|
|
1133
1138
|
const __AdTriggersElement = {
|
|
1134
1139
|
BREAK: "BREAK",
|
package/dist-es/MediaPackage.js
CHANGED
|
@@ -19,6 +19,9 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
19
19
|
import { UpdateChannelCommand, } from "./commands/UpdateChannelCommand";
|
|
20
20
|
import { UpdateOriginEndpointCommand, } from "./commands/UpdateOriginEndpointCommand";
|
|
21
21
|
import { MediaPackageClient } from "./MediaPackageClient";
|
|
22
|
+
import { paginateListChannels } from "./pagination/ListChannelsPaginator";
|
|
23
|
+
import { paginateListHarvestJobs } from "./pagination/ListHarvestJobsPaginator";
|
|
24
|
+
import { paginateListOriginEndpoints } from "./pagination/ListOriginEndpointsPaginator";
|
|
22
25
|
const commands = {
|
|
23
26
|
ConfigureLogsCommand,
|
|
24
27
|
CreateChannelCommand,
|
|
@@ -40,6 +43,11 @@ const commands = {
|
|
|
40
43
|
UpdateChannelCommand,
|
|
41
44
|
UpdateOriginEndpointCommand,
|
|
42
45
|
};
|
|
46
|
+
const paginators = {
|
|
47
|
+
paginateListChannels,
|
|
48
|
+
paginateListHarvestJobs,
|
|
49
|
+
paginateListOriginEndpoints,
|
|
50
|
+
};
|
|
43
51
|
export class MediaPackage extends MediaPackageClient {
|
|
44
52
|
}
|
|
45
|
-
createAggregatedClient(commands, MediaPackage);
|
|
53
|
+
createAggregatedClient(commands, MediaPackage, { 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 { CreateChannelCommandInput, CreateChannelCommandOutput } from "./commands/CreateChannelCommand";
|
|
4
4
|
import { CreateHarvestJobCommandInput, CreateHarvestJobCommandOutput } from "./commands/CreateHarvestJobCommand";
|
|
@@ -137,6 +137,27 @@ export interface MediaPackage {
|
|
|
137
137
|
updateOriginEndpoint(args: UpdateOriginEndpointCommandInput, options?: __HttpHandlerOptions): Promise<UpdateOriginEndpointCommandOutput>;
|
|
138
138
|
updateOriginEndpoint(args: UpdateOriginEndpointCommandInput, cb: (err: any, data?: UpdateOriginEndpointCommandOutput) => void): void;
|
|
139
139
|
updateOriginEndpoint(args: UpdateOriginEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateOriginEndpointCommandOutput) => void): void;
|
|
140
|
+
/**
|
|
141
|
+
* @see {@link ListChannelsCommand}
|
|
142
|
+
* @param args - command input.
|
|
143
|
+
* @param paginationConfig - optional pagination config.
|
|
144
|
+
* @returns AsyncIterable of {@link ListChannelsCommandOutput}.
|
|
145
|
+
*/
|
|
146
|
+
paginateListChannels(args?: ListChannelsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListChannelsCommandOutput>;
|
|
147
|
+
/**
|
|
148
|
+
* @see {@link ListHarvestJobsCommand}
|
|
149
|
+
* @param args - command input.
|
|
150
|
+
* @param paginationConfig - optional pagination config.
|
|
151
|
+
* @returns AsyncIterable of {@link ListHarvestJobsCommandOutput}.
|
|
152
|
+
*/
|
|
153
|
+
paginateListHarvestJobs(args?: ListHarvestJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListHarvestJobsCommandOutput>;
|
|
154
|
+
/**
|
|
155
|
+
* @see {@link ListOriginEndpointsCommand}
|
|
156
|
+
* @param args - command input.
|
|
157
|
+
* @param paginationConfig - optional pagination config.
|
|
158
|
+
* @returns AsyncIterable of {@link ListOriginEndpointsCommandOutput}.
|
|
159
|
+
*/
|
|
160
|
+
paginateListOriginEndpoints(args?: ListOriginEndpointsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListOriginEndpointsCommandOutput>;
|
|
140
161
|
}
|
|
141
162
|
/**
|
|
142
163
|
* AWS Elemental MediaPackage
|
|
@@ -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,
|
|
@@ -327,6 +331,27 @@ export interface MediaPackage {
|
|
|
327
331
|
options: __HttpHandlerOptions,
|
|
328
332
|
cb: (err: any, data?: UpdateOriginEndpointCommandOutput) => void
|
|
329
333
|
): void;
|
|
334
|
+
paginateListChannels(
|
|
335
|
+
args?: ListChannelsCommandInput,
|
|
336
|
+
paginationConfig?: Pick<
|
|
337
|
+
PaginationConfiguration,
|
|
338
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
339
|
+
>
|
|
340
|
+
): Paginator<ListChannelsCommandOutput>;
|
|
341
|
+
paginateListHarvestJobs(
|
|
342
|
+
args?: ListHarvestJobsCommandInput,
|
|
343
|
+
paginationConfig?: Pick<
|
|
344
|
+
PaginationConfiguration,
|
|
345
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
346
|
+
>
|
|
347
|
+
): Paginator<ListHarvestJobsCommandOutput>;
|
|
348
|
+
paginateListOriginEndpoints(
|
|
349
|
+
args?: ListOriginEndpointsCommandInput,
|
|
350
|
+
paginationConfig?: Pick<
|
|
351
|
+
PaginationConfiguration,
|
|
352
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
353
|
+
>
|
|
354
|
+
): Paginator<ListOriginEndpointsCommandOutput>;
|
|
330
355
|
}
|
|
331
356
|
export declare class MediaPackage
|
|
332
357
|
extends MediaPackageClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediapackage",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediapackage Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.980.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",
|
|
@@ -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.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.5",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.4",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
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",
|