@aws-sdk/client-emr-containers 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 +18 -11
- package/dist-es/EMRContainers.js +13 -1
- package/dist-types/EMRContainers.d.ts +36 -1
- package/dist-types/ts3.4/EMRContainers.d.ts +40 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -1236,6 +1236,16 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
1236
1236
|
.build() {
|
|
1237
1237
|
}
|
|
1238
1238
|
|
|
1239
|
+
const paginateListJobRuns = core.createPaginator(EMRContainersClient, ListJobRunsCommand, "nextToken", "nextToken", "maxResults");
|
|
1240
|
+
|
|
1241
|
+
const paginateListJobTemplates = core.createPaginator(EMRContainersClient, ListJobTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
1242
|
+
|
|
1243
|
+
const paginateListManagedEndpoints = core.createPaginator(EMRContainersClient, ListManagedEndpointsCommand, "nextToken", "nextToken", "maxResults");
|
|
1244
|
+
|
|
1245
|
+
const paginateListSecurityConfigurations = core.createPaginator(EMRContainersClient, ListSecurityConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1246
|
+
|
|
1247
|
+
const paginateListVirtualClusters = core.createPaginator(EMRContainersClient, ListVirtualClustersCommand, "nextToken", "nextToken", "maxResults");
|
|
1248
|
+
|
|
1239
1249
|
const commands = {
|
|
1240
1250
|
CancelJobRunCommand,
|
|
1241
1251
|
CreateJobTemplateCommand,
|
|
@@ -1261,19 +1271,16 @@ const commands = {
|
|
|
1261
1271
|
TagResourceCommand,
|
|
1262
1272
|
UntagResourceCommand,
|
|
1263
1273
|
};
|
|
1274
|
+
const paginators = {
|
|
1275
|
+
paginateListJobRuns,
|
|
1276
|
+
paginateListJobTemplates,
|
|
1277
|
+
paginateListManagedEndpoints,
|
|
1278
|
+
paginateListSecurityConfigurations,
|
|
1279
|
+
paginateListVirtualClusters,
|
|
1280
|
+
};
|
|
1264
1281
|
class EMRContainers extends EMRContainersClient {
|
|
1265
1282
|
}
|
|
1266
|
-
smithyClient.createAggregatedClient(commands, EMRContainers);
|
|
1267
|
-
|
|
1268
|
-
const paginateListJobRuns = core.createPaginator(EMRContainersClient, ListJobRunsCommand, "nextToken", "nextToken", "maxResults");
|
|
1269
|
-
|
|
1270
|
-
const paginateListJobTemplates = core.createPaginator(EMRContainersClient, ListJobTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
1271
|
-
|
|
1272
|
-
const paginateListManagedEndpoints = core.createPaginator(EMRContainersClient, ListManagedEndpointsCommand, "nextToken", "nextToken", "maxResults");
|
|
1273
|
-
|
|
1274
|
-
const paginateListSecurityConfigurations = core.createPaginator(EMRContainersClient, ListSecurityConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1275
|
-
|
|
1276
|
-
const paginateListVirtualClusters = core.createPaginator(EMRContainersClient, ListVirtualClustersCommand, "nextToken", "nextToken", "maxResults");
|
|
1283
|
+
smithyClient.createAggregatedClient(commands, EMRContainers, { paginators });
|
|
1277
1284
|
|
|
1278
1285
|
const AllowAWSToRetainLogs = {
|
|
1279
1286
|
DISABLED: "DISABLED",
|
package/dist-es/EMRContainers.js
CHANGED
|
@@ -23,6 +23,11 @@ import { StartJobRunCommand } from "./commands/StartJobRunCommand";
|
|
|
23
23
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
24
24
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
25
25
|
import { EMRContainersClient } from "./EMRContainersClient";
|
|
26
|
+
import { paginateListJobRuns } from "./pagination/ListJobRunsPaginator";
|
|
27
|
+
import { paginateListJobTemplates } from "./pagination/ListJobTemplatesPaginator";
|
|
28
|
+
import { paginateListManagedEndpoints } from "./pagination/ListManagedEndpointsPaginator";
|
|
29
|
+
import { paginateListSecurityConfigurations } from "./pagination/ListSecurityConfigurationsPaginator";
|
|
30
|
+
import { paginateListVirtualClusters } from "./pagination/ListVirtualClustersPaginator";
|
|
26
31
|
const commands = {
|
|
27
32
|
CancelJobRunCommand,
|
|
28
33
|
CreateJobTemplateCommand,
|
|
@@ -48,6 +53,13 @@ const commands = {
|
|
|
48
53
|
TagResourceCommand,
|
|
49
54
|
UntagResourceCommand,
|
|
50
55
|
};
|
|
56
|
+
const paginators = {
|
|
57
|
+
paginateListJobRuns,
|
|
58
|
+
paginateListJobTemplates,
|
|
59
|
+
paginateListManagedEndpoints,
|
|
60
|
+
paginateListSecurityConfigurations,
|
|
61
|
+
paginateListVirtualClusters,
|
|
62
|
+
};
|
|
51
63
|
export class EMRContainers extends EMRContainersClient {
|
|
52
64
|
}
|
|
53
|
-
createAggregatedClient(commands, EMRContainers);
|
|
65
|
+
createAggregatedClient(commands, EMRContainers, { 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 { CancelJobRunCommandInput, CancelJobRunCommandOutput } from "./commands/CancelJobRunCommand";
|
|
3
3
|
import { CreateJobTemplateCommandInput, CreateJobTemplateCommandOutput } from "./commands/CreateJobTemplateCommand";
|
|
4
4
|
import { CreateManagedEndpointCommandInput, CreateManagedEndpointCommandOutput } from "./commands/CreateManagedEndpointCommand";
|
|
@@ -165,6 +165,41 @@ export interface EMRContainers {
|
|
|
165
165
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
166
166
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
167
167
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
168
|
+
/**
|
|
169
|
+
* @see {@link ListJobRunsCommand}
|
|
170
|
+
* @param args - command input.
|
|
171
|
+
* @param paginationConfig - optional pagination config.
|
|
172
|
+
* @returns AsyncIterable of {@link ListJobRunsCommandOutput}.
|
|
173
|
+
*/
|
|
174
|
+
paginateListJobRuns(args: ListJobRunsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListJobRunsCommandOutput>;
|
|
175
|
+
/**
|
|
176
|
+
* @see {@link ListJobTemplatesCommand}
|
|
177
|
+
* @param args - command input.
|
|
178
|
+
* @param paginationConfig - optional pagination config.
|
|
179
|
+
* @returns AsyncIterable of {@link ListJobTemplatesCommandOutput}.
|
|
180
|
+
*/
|
|
181
|
+
paginateListJobTemplates(args?: ListJobTemplatesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListJobTemplatesCommandOutput>;
|
|
182
|
+
/**
|
|
183
|
+
* @see {@link ListManagedEndpointsCommand}
|
|
184
|
+
* @param args - command input.
|
|
185
|
+
* @param paginationConfig - optional pagination config.
|
|
186
|
+
* @returns AsyncIterable of {@link ListManagedEndpointsCommandOutput}.
|
|
187
|
+
*/
|
|
188
|
+
paginateListManagedEndpoints(args: ListManagedEndpointsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListManagedEndpointsCommandOutput>;
|
|
189
|
+
/**
|
|
190
|
+
* @see {@link ListSecurityConfigurationsCommand}
|
|
191
|
+
* @param args - command input.
|
|
192
|
+
* @param paginationConfig - optional pagination config.
|
|
193
|
+
* @returns AsyncIterable of {@link ListSecurityConfigurationsCommandOutput}.
|
|
194
|
+
*/
|
|
195
|
+
paginateListSecurityConfigurations(args?: ListSecurityConfigurationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSecurityConfigurationsCommandOutput>;
|
|
196
|
+
/**
|
|
197
|
+
* @see {@link ListVirtualClustersCommand}
|
|
198
|
+
* @param args - command input.
|
|
199
|
+
* @param paginationConfig - optional pagination config.
|
|
200
|
+
* @returns AsyncIterable of {@link ListVirtualClustersCommandOutput}.
|
|
201
|
+
*/
|
|
202
|
+
paginateListVirtualClusters(args?: ListVirtualClustersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListVirtualClustersCommandOutput>;
|
|
168
203
|
}
|
|
169
204
|
/**
|
|
170
205
|
* <p>Amazon EMR on EKS provides a deployment option for Amazon EMR that allows
|
|
@@ -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
|
CancelJobRunCommandInput,
|
|
4
8
|
CancelJobRunCommandOutput,
|
|
@@ -401,6 +405,41 @@ export interface EMRContainers {
|
|
|
401
405
|
options: __HttpHandlerOptions,
|
|
402
406
|
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
403
407
|
): void;
|
|
408
|
+
paginateListJobRuns(
|
|
409
|
+
args: ListJobRunsCommandInput,
|
|
410
|
+
paginationConfig?: Pick<
|
|
411
|
+
PaginationConfiguration,
|
|
412
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
413
|
+
>
|
|
414
|
+
): Paginator<ListJobRunsCommandOutput>;
|
|
415
|
+
paginateListJobTemplates(
|
|
416
|
+
args?: ListJobTemplatesCommandInput,
|
|
417
|
+
paginationConfig?: Pick<
|
|
418
|
+
PaginationConfiguration,
|
|
419
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
420
|
+
>
|
|
421
|
+
): Paginator<ListJobTemplatesCommandOutput>;
|
|
422
|
+
paginateListManagedEndpoints(
|
|
423
|
+
args: ListManagedEndpointsCommandInput,
|
|
424
|
+
paginationConfig?: Pick<
|
|
425
|
+
PaginationConfiguration,
|
|
426
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
427
|
+
>
|
|
428
|
+
): Paginator<ListManagedEndpointsCommandOutput>;
|
|
429
|
+
paginateListSecurityConfigurations(
|
|
430
|
+
args?: ListSecurityConfigurationsCommandInput,
|
|
431
|
+
paginationConfig?: Pick<
|
|
432
|
+
PaginationConfiguration,
|
|
433
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
434
|
+
>
|
|
435
|
+
): Paginator<ListSecurityConfigurationsCommandOutput>;
|
|
436
|
+
paginateListVirtualClusters(
|
|
437
|
+
args?: ListVirtualClustersCommandInput,
|
|
438
|
+
paginationConfig?: Pick<
|
|
439
|
+
PaginationConfiguration,
|
|
440
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
441
|
+
>
|
|
442
|
+
): Paginator<ListVirtualClustersCommandOutput>;
|
|
404
443
|
}
|
|
405
444
|
export declare class EMRContainers
|
|
406
445
|
extends EMRContainersClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-emr-containers",
|
|
3
3
|
"description": "AWS SDK for JavaScript Emr Containers 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-emr-containers",
|
|
@@ -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",
|