@aws-sdk/client-emr-containers 3.1094.0 → 3.1096.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 +7 -0
- package/dist-cjs/index.js +57 -13
- package/dist-es/EMRContainers.js +2 -0
- package/dist-es/commands/UpdateVirtualClusterCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +46 -12
- package/dist-types/EMRContainers.d.ts +7 -0
- package/dist-types/EMRContainersClient.d.ts +3 -2
- package/dist-types/commands/CreateVirtualClusterCommand.d.ts +5 -1
- package/dist-types/commands/DeleteVirtualClusterCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVirtualClusterCommand.d.ts +9 -1
- package/dist-types/commands/ListVirtualClustersCommand.d.ts +9 -1
- package/dist-types/commands/UpdateVirtualClusterCommand.d.ts +117 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +110 -16
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +5 -0
- package/dist-types/ts3.4/EMRContainers.d.ts +17 -0
- package/dist-types/ts3.4/EMRContainersClient.d.ts +8 -2
- package/dist-types/ts3.4/commands/UpdateVirtualClusterCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +19 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -370,3 +370,10 @@ UntagResource
|
|
|
370
370
|
|
|
371
371
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/emr-containers/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr-containers/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr-containers/Interface/UntagResourceCommandOutput/)
|
|
372
372
|
</details>
|
|
373
|
+
<details>
|
|
374
|
+
<summary>
|
|
375
|
+
UpdateVirtualCluster
|
|
376
|
+
</summary>
|
|
377
|
+
|
|
378
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/emr-containers/command/UpdateVirtualClusterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr-containers/Interface/UpdateVirtualClusterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr-containers/Interface/UpdateVirtualClusterCommandOutput/)
|
|
379
|
+
</details>
|
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1095.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -308,15 +308,17 @@ const _RNFE = "ResourceNotFoundException";
|
|
|
308
308
|
const _RPC = "RetryPolicyConfiguration";
|
|
309
309
|
const _RPE = "RetryPolicyExecution";
|
|
310
310
|
const _RTE = "RequestThrottledException";
|
|
311
|
-
const _SC = "
|
|
311
|
+
const _SC = "SchedulerConfiguration";
|
|
312
312
|
const _SCD = "SecurityConfigurationData";
|
|
313
|
-
const _SCe = "
|
|
313
|
+
const _SCe = "SecurityConfiguration";
|
|
314
|
+
const _SCec = "SecurityConfigurations";
|
|
314
315
|
const _SJR = "StartJobRun";
|
|
315
316
|
const _SJRR = "StartJobRunRequest";
|
|
316
317
|
const _SJRRt = "StartJobRunResponse";
|
|
317
318
|
const _SMC = "S3MonitoringConfiguration";
|
|
318
319
|
const _SNI = "SecureNamespaceInfo";
|
|
319
320
|
const _SPM = "SensitivePropertiesMap";
|
|
321
|
+
const _SS = "SchedulerStatus";
|
|
320
322
|
const _SSJD = "SparkSqlJobDriver";
|
|
321
323
|
const _SSJDp = "SparkSubmitJobDriver";
|
|
322
324
|
const _SSP = "SparkSqlParameters";
|
|
@@ -331,6 +333,9 @@ const _TRRa = "TagResourceResponse";
|
|
|
331
333
|
const _UR = "UntagResource";
|
|
332
334
|
const _URR = "UntagResourceRequest";
|
|
333
335
|
const _URRn = "UntagResourceResponse";
|
|
336
|
+
const _UVC = "UpdateVirtualCluster";
|
|
337
|
+
const _UVCR = "UpdateVirtualClusterRequest";
|
|
338
|
+
const _UVCRp = "UpdateVirtualClusterResponse";
|
|
334
339
|
const _VC = "VirtualCluster";
|
|
335
340
|
const _VCi = "VirtualClusters";
|
|
336
341
|
const _VE = "ValidationException";
|
|
@@ -349,8 +354,10 @@ const _cAr = "createdAt";
|
|
|
349
354
|
const _cAre = "createdAfter";
|
|
350
355
|
const _cB = "createdBy";
|
|
351
356
|
const _cBr = "createdBefore";
|
|
357
|
+
const _cCJR = "currentConcurrentJobRuns";
|
|
352
358
|
const _cD = "certificateData";
|
|
353
359
|
const _cI = "clusterId";
|
|
360
|
+
const _cIQJR = "currentInQueueJobRuns";
|
|
354
361
|
const _cLRC = "containerLogRotationConfiguration";
|
|
355
362
|
const _cO = "configurationOverrides";
|
|
356
363
|
const _cP = "containerProvider";
|
|
@@ -410,7 +417,9 @@ const _lU = "logUri";
|
|
|
410
417
|
const _m = "message";
|
|
411
418
|
const _mA = "maxAttempts";
|
|
412
419
|
const _mC = "monitoringConfiguration";
|
|
420
|
+
const _mCJR = "maxConcurrentJobRuns";
|
|
413
421
|
const _mFTK = "maxFilesToKeep";
|
|
422
|
+
const _mIQJR = "maxInQueueJobRuns";
|
|
414
423
|
const _mL = "managedLogs";
|
|
415
424
|
const _mR = "maxResults";
|
|
416
425
|
const _n = "name";
|
|
@@ -429,10 +438,11 @@ const _rPC = "retryPolicyConfiguration";
|
|
|
429
438
|
const _rPE = "retryPolicyExecution";
|
|
430
439
|
const _rS = "rotationSize";
|
|
431
440
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.emrcontainers";
|
|
432
|
-
const _sC = "
|
|
441
|
+
const _sC = "schedulerConfiguration";
|
|
433
442
|
const _sCD = "securityConfigurationData";
|
|
434
443
|
const _sCI = "securityConfigurationId";
|
|
435
|
-
const _sCe = "
|
|
444
|
+
const _sCe = "securityConfiguration";
|
|
445
|
+
const _sCec = "securityConfigurations";
|
|
436
446
|
const _sD = "stateDetails";
|
|
437
447
|
const _sE = "sessionEnabled";
|
|
438
448
|
const _sG = "securityGroup";
|
|
@@ -441,6 +451,7 @@ const _sITIM = "sessionIdleTimeoutInMinutes";
|
|
|
441
451
|
const _sMC = "s3MonitoringConfiguration";
|
|
442
452
|
const _sNI = "secureNamespaceInfo";
|
|
443
453
|
const _sR = "systemRole";
|
|
454
|
+
const _sS = "schedulerStatus";
|
|
444
455
|
const _sSJD = "sparkSubmitJobDriver";
|
|
445
456
|
const _sSJDp = "sparkSqlJobDriver";
|
|
446
457
|
const _sSP = "sparkSqlParameters";
|
|
@@ -586,8 +597,8 @@ var CreateSecurityConfigurationResponse$ = [3, n0, _CSCRr,
|
|
|
586
597
|
];
|
|
587
598
|
var CreateVirtualClusterRequest$ = [3, n0, _CVCR,
|
|
588
599
|
0,
|
|
589
|
-
[_n, _cP, _cT, _ta, _sCI, _sE],
|
|
590
|
-
[0, () => ContainerProvider$, [0, 4], 128 | 0, 0, 2], 2
|
|
600
|
+
[_n, _cP, _cT, _ta, _sCI, _sE, _sC],
|
|
601
|
+
[0, () => ContainerProvider$, [0, 4], 128 | 0, 0, 2, () => SchedulerConfiguration$], 2
|
|
591
602
|
];
|
|
592
603
|
var CreateVirtualClusterResponse$ = [3, n0, _CVCRr,
|
|
593
604
|
0,
|
|
@@ -671,7 +682,7 @@ var DescribeSecurityConfigurationRequest$ = [3, n0, _DSCRes,
|
|
|
671
682
|
];
|
|
672
683
|
var DescribeSecurityConfigurationResponse$ = [3, n0, _DSCResc,
|
|
673
684
|
0,
|
|
674
|
-
[
|
|
685
|
+
[_sCe],
|
|
675
686
|
[() => SecurityConfiguration$]
|
|
676
687
|
];
|
|
677
688
|
var DescribeVirtualClusterRequest$ = [3, n0, _DVCRes,
|
|
@@ -786,7 +797,7 @@ var ListSecurityConfigurationsRequest$ = [3, n0, _LSCR,
|
|
|
786
797
|
];
|
|
787
798
|
var ListSecurityConfigurationsResponse$ = [3, n0, _LSCRi,
|
|
788
799
|
0,
|
|
789
|
-
[
|
|
800
|
+
[_sCec, _nT],
|
|
790
801
|
[() => SecurityConfigurations, 0]
|
|
791
802
|
];
|
|
792
803
|
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
@@ -854,12 +865,22 @@ var S3MonitoringConfiguration$ = [3, n0, _SMC,
|
|
|
854
865
|
[_lU, _eKA],
|
|
855
866
|
[0, 0], 1
|
|
856
867
|
];
|
|
868
|
+
var SchedulerConfiguration$ = [3, n0, _SC,
|
|
869
|
+
0,
|
|
870
|
+
[_mIQJR, _mCJR],
|
|
871
|
+
[1, 1]
|
|
872
|
+
];
|
|
873
|
+
var SchedulerStatus$ = [3, n0, _SS,
|
|
874
|
+
0,
|
|
875
|
+
[_cIQJR, _cCJR],
|
|
876
|
+
[1, 1]
|
|
877
|
+
];
|
|
857
878
|
var SecureNamespaceInfo$ = [3, n0, _SNI,
|
|
858
879
|
0,
|
|
859
880
|
[_cI, _na],
|
|
860
881
|
[0, 0]
|
|
861
882
|
];
|
|
862
|
-
var SecurityConfiguration$ = [3, n0,
|
|
883
|
+
var SecurityConfiguration$ = [3, n0, _SCe,
|
|
863
884
|
0,
|
|
864
885
|
[_i, _n, _a, _cAr, _cB, _sCD, _ta],
|
|
865
886
|
[0, 0, 0, 5, 0, () => SecurityConfigurationData$, 128 | 0]
|
|
@@ -919,10 +940,20 @@ var UntagResourceResponse$ = [3, n0, _URRn,
|
|
|
919
940
|
[],
|
|
920
941
|
[]
|
|
921
942
|
];
|
|
943
|
+
var UpdateVirtualClusterRequest$ = [3, n0, _UVCR,
|
|
944
|
+
0,
|
|
945
|
+
[_i, _sC, _cT],
|
|
946
|
+
[[0, 1], () => SchedulerConfiguration$, [0, 4]], 1
|
|
947
|
+
];
|
|
948
|
+
var UpdateVirtualClusterResponse$ = [3, n0, _UVCRp,
|
|
949
|
+
0,
|
|
950
|
+
[_vC],
|
|
951
|
+
[() => VirtualCluster$]
|
|
952
|
+
];
|
|
922
953
|
var VirtualCluster$ = [3, n0, _VC,
|
|
923
954
|
0,
|
|
924
|
-
[_i, _n, _a, _st, _cP, _cAr, _ta, _sCI, _sE],
|
|
925
|
-
[0, 0, 0, 0, () => ContainerProvider$, 5, 128 | 0, 0, 2]
|
|
955
|
+
[_i, _n, _a, _st, _cP, _cAr, _ta, _sCI, _sE, _sC, _sS],
|
|
956
|
+
[0, 0, 0, 0, () => ContainerProvider$, 5, 128 | 0, 0, 2, () => SchedulerConfiguration$, () => SchedulerStatus$]
|
|
926
957
|
];
|
|
927
958
|
var ConfigurationList = [1, n0, _CL,
|
|
928
959
|
0, [() => Configuration$,
|
|
@@ -944,7 +975,7 @@ var JobTemplates = [1, n0, _JTo,
|
|
|
944
975
|
0, [() => JobTemplate$,
|
|
945
976
|
0]
|
|
946
977
|
];
|
|
947
|
-
var SecurityConfigurations = [1, n0,
|
|
978
|
+
var SecurityConfigurations = [1, n0, _SCec,
|
|
948
979
|
0, () => SecurityConfiguration$
|
|
949
980
|
];
|
|
950
981
|
var VirtualClusters = [1, n0, _VCi,
|
|
@@ -1038,6 +1069,9 @@ var TagResource$ = [9, n0, _TR,
|
|
|
1038
1069
|
var UntagResource$ = [9, n0, _UR,
|
|
1039
1070
|
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
1040
1071
|
];
|
|
1072
|
+
var UpdateVirtualCluster$ = [9, n0, _UVC,
|
|
1073
|
+
{ [_h]: ["PATCH", "/virtualclusters/{id}", 200] }, () => UpdateVirtualClusterRequest$, () => UpdateVirtualClusterResponse$
|
|
1074
|
+
];
|
|
1041
1075
|
|
|
1042
1076
|
const getRuntimeConfig$1 = (config) => {
|
|
1043
1077
|
return {
|
|
@@ -1261,6 +1295,9 @@ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$
|
|
|
1261
1295
|
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
1262
1296
|
}
|
|
1263
1297
|
|
|
1298
|
+
class UpdateVirtualClusterCommand extends command(_ep0, _mw0, "UpdateVirtualCluster", UpdateVirtualCluster$) {
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1264
1301
|
const paginateListJobRuns = createPaginator(EMRContainersClient, ListJobRunsCommand, "nextToken", "nextToken", "maxResults");
|
|
1265
1302
|
|
|
1266
1303
|
const paginateListJobTemplates = createPaginator(EMRContainersClient, ListJobTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1296,6 +1333,7 @@ const commands = {
|
|
|
1296
1333
|
StartJobRunCommand,
|
|
1297
1334
|
TagResourceCommand,
|
|
1298
1335
|
UntagResourceCommand,
|
|
1336
|
+
UpdateVirtualClusterCommand,
|
|
1299
1337
|
};
|
|
1300
1338
|
const paginators = {
|
|
1301
1339
|
paginateListJobRuns,
|
|
@@ -1488,6 +1526,8 @@ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
|
1488
1526
|
exports.RetryPolicyConfiguration$ = RetryPolicyConfiguration$;
|
|
1489
1527
|
exports.RetryPolicyExecution$ = RetryPolicyExecution$;
|
|
1490
1528
|
exports.S3MonitoringConfiguration$ = S3MonitoringConfiguration$;
|
|
1529
|
+
exports.SchedulerConfiguration$ = SchedulerConfiguration$;
|
|
1530
|
+
exports.SchedulerStatus$ = SchedulerStatus$;
|
|
1491
1531
|
exports.SecureNamespaceInfo$ = SecureNamespaceInfo$;
|
|
1492
1532
|
exports.SecurityConfiguration$ = SecurityConfiguration$;
|
|
1493
1533
|
exports.SecurityConfigurationData$ = SecurityConfigurationData$;
|
|
@@ -1508,6 +1548,10 @@ exports.UntagResource$ = UntagResource$;
|
|
|
1508
1548
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1509
1549
|
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
1510
1550
|
exports.UntagResourceResponse$ = UntagResourceResponse$;
|
|
1551
|
+
exports.UpdateVirtualCluster$ = UpdateVirtualCluster$;
|
|
1552
|
+
exports.UpdateVirtualClusterCommand = UpdateVirtualClusterCommand;
|
|
1553
|
+
exports.UpdateVirtualClusterRequest$ = UpdateVirtualClusterRequest$;
|
|
1554
|
+
exports.UpdateVirtualClusterResponse$ = UpdateVirtualClusterResponse$;
|
|
1511
1555
|
exports.ValidationException = ValidationException;
|
|
1512
1556
|
exports.ValidationException$ = ValidationException$;
|
|
1513
1557
|
exports.VirtualCluster$ = VirtualCluster$;
|
package/dist-es/EMRContainers.js
CHANGED
|
@@ -23,6 +23,7 @@ import { ListVirtualClustersCommand, } from "./commands/ListVirtualClustersComma
|
|
|
23
23
|
import { StartJobRunCommand, } from "./commands/StartJobRunCommand";
|
|
24
24
|
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
25
25
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
26
|
+
import { UpdateVirtualClusterCommand, } from "./commands/UpdateVirtualClusterCommand";
|
|
26
27
|
import { EMRContainersClient } from "./EMRContainersClient";
|
|
27
28
|
import { paginateListJobRuns } from "./pagination/ListJobRunsPaginator";
|
|
28
29
|
import { paginateListJobTemplates } from "./pagination/ListJobTemplatesPaginator";
|
|
@@ -54,6 +55,7 @@ const commands = {
|
|
|
54
55
|
StartJobRunCommand,
|
|
55
56
|
TagResourceCommand,
|
|
56
57
|
UntagResourceCommand,
|
|
58
|
+
UpdateVirtualClusterCommand,
|
|
57
59
|
};
|
|
58
60
|
const paginators = {
|
|
59
61
|
paginateListJobRuns,
|
|
@@ -101,15 +101,17 @@ const _RNFE = "ResourceNotFoundException";
|
|
|
101
101
|
const _RPC = "RetryPolicyConfiguration";
|
|
102
102
|
const _RPE = "RetryPolicyExecution";
|
|
103
103
|
const _RTE = "RequestThrottledException";
|
|
104
|
-
const _SC = "
|
|
104
|
+
const _SC = "SchedulerConfiguration";
|
|
105
105
|
const _SCD = "SecurityConfigurationData";
|
|
106
|
-
const _SCe = "
|
|
106
|
+
const _SCe = "SecurityConfiguration";
|
|
107
|
+
const _SCec = "SecurityConfigurations";
|
|
107
108
|
const _SJR = "StartJobRun";
|
|
108
109
|
const _SJRR = "StartJobRunRequest";
|
|
109
110
|
const _SJRRt = "StartJobRunResponse";
|
|
110
111
|
const _SMC = "S3MonitoringConfiguration";
|
|
111
112
|
const _SNI = "SecureNamespaceInfo";
|
|
112
113
|
const _SPM = "SensitivePropertiesMap";
|
|
114
|
+
const _SS = "SchedulerStatus";
|
|
113
115
|
const _SSJD = "SparkSqlJobDriver";
|
|
114
116
|
const _SSJDp = "SparkSubmitJobDriver";
|
|
115
117
|
const _SSP = "SparkSqlParameters";
|
|
@@ -124,6 +126,9 @@ const _TRRa = "TagResourceResponse";
|
|
|
124
126
|
const _UR = "UntagResource";
|
|
125
127
|
const _URR = "UntagResourceRequest";
|
|
126
128
|
const _URRn = "UntagResourceResponse";
|
|
129
|
+
const _UVC = "UpdateVirtualCluster";
|
|
130
|
+
const _UVCR = "UpdateVirtualClusterRequest";
|
|
131
|
+
const _UVCRp = "UpdateVirtualClusterResponse";
|
|
127
132
|
const _VC = "VirtualCluster";
|
|
128
133
|
const _VCi = "VirtualClusters";
|
|
129
134
|
const _VE = "ValidationException";
|
|
@@ -142,8 +147,10 @@ const _cAr = "createdAt";
|
|
|
142
147
|
const _cAre = "createdAfter";
|
|
143
148
|
const _cB = "createdBy";
|
|
144
149
|
const _cBr = "createdBefore";
|
|
150
|
+
const _cCJR = "currentConcurrentJobRuns";
|
|
145
151
|
const _cD = "certificateData";
|
|
146
152
|
const _cI = "clusterId";
|
|
153
|
+
const _cIQJR = "currentInQueueJobRuns";
|
|
147
154
|
const _cLRC = "containerLogRotationConfiguration";
|
|
148
155
|
const _cO = "configurationOverrides";
|
|
149
156
|
const _cP = "containerProvider";
|
|
@@ -203,7 +210,9 @@ const _lU = "logUri";
|
|
|
203
210
|
const _m = "message";
|
|
204
211
|
const _mA = "maxAttempts";
|
|
205
212
|
const _mC = "monitoringConfiguration";
|
|
213
|
+
const _mCJR = "maxConcurrentJobRuns";
|
|
206
214
|
const _mFTK = "maxFilesToKeep";
|
|
215
|
+
const _mIQJR = "maxInQueueJobRuns";
|
|
207
216
|
const _mL = "managedLogs";
|
|
208
217
|
const _mR = "maxResults";
|
|
209
218
|
const _n = "name";
|
|
@@ -222,10 +231,11 @@ const _rPC = "retryPolicyConfiguration";
|
|
|
222
231
|
const _rPE = "retryPolicyExecution";
|
|
223
232
|
const _rS = "rotationSize";
|
|
224
233
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.emrcontainers";
|
|
225
|
-
const _sC = "
|
|
234
|
+
const _sC = "schedulerConfiguration";
|
|
226
235
|
const _sCD = "securityConfigurationData";
|
|
227
236
|
const _sCI = "securityConfigurationId";
|
|
228
|
-
const _sCe = "
|
|
237
|
+
const _sCe = "securityConfiguration";
|
|
238
|
+
const _sCec = "securityConfigurations";
|
|
229
239
|
const _sD = "stateDetails";
|
|
230
240
|
const _sE = "sessionEnabled";
|
|
231
241
|
const _sG = "securityGroup";
|
|
@@ -234,6 +244,7 @@ const _sITIM = "sessionIdleTimeoutInMinutes";
|
|
|
234
244
|
const _sMC = "s3MonitoringConfiguration";
|
|
235
245
|
const _sNI = "secureNamespaceInfo";
|
|
236
246
|
const _sR = "systemRole";
|
|
247
|
+
const _sS = "schedulerStatus";
|
|
237
248
|
const _sSJD = "sparkSubmitJobDriver";
|
|
238
249
|
const _sSJDp = "sparkSqlJobDriver";
|
|
239
250
|
const _sSP = "sparkSqlParameters";
|
|
@@ -382,8 +393,8 @@ export var CreateSecurityConfigurationResponse$ = [3, n0, _CSCRr,
|
|
|
382
393
|
];
|
|
383
394
|
export var CreateVirtualClusterRequest$ = [3, n0, _CVCR,
|
|
384
395
|
0,
|
|
385
|
-
[_n, _cP, _cT, _ta, _sCI, _sE],
|
|
386
|
-
[0, () => ContainerProvider$, [0, 4], 128 | 0, 0, 2], 2
|
|
396
|
+
[_n, _cP, _cT, _ta, _sCI, _sE, _sC],
|
|
397
|
+
[0, () => ContainerProvider$, [0, 4], 128 | 0, 0, 2, () => SchedulerConfiguration$], 2
|
|
387
398
|
];
|
|
388
399
|
export var CreateVirtualClusterResponse$ = [3, n0, _CVCRr,
|
|
389
400
|
0,
|
|
@@ -467,7 +478,7 @@ export var DescribeSecurityConfigurationRequest$ = [3, n0, _DSCRes,
|
|
|
467
478
|
];
|
|
468
479
|
export var DescribeSecurityConfigurationResponse$ = [3, n0, _DSCResc,
|
|
469
480
|
0,
|
|
470
|
-
[
|
|
481
|
+
[_sCe],
|
|
471
482
|
[() => SecurityConfiguration$]
|
|
472
483
|
];
|
|
473
484
|
export var DescribeVirtualClusterRequest$ = [3, n0, _DVCRes,
|
|
@@ -582,7 +593,7 @@ export var ListSecurityConfigurationsRequest$ = [3, n0, _LSCR,
|
|
|
582
593
|
];
|
|
583
594
|
export var ListSecurityConfigurationsResponse$ = [3, n0, _LSCRi,
|
|
584
595
|
0,
|
|
585
|
-
[
|
|
596
|
+
[_sCec, _nT],
|
|
586
597
|
[() => SecurityConfigurations, 0]
|
|
587
598
|
];
|
|
588
599
|
export var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
@@ -650,12 +661,22 @@ export var S3MonitoringConfiguration$ = [3, n0, _SMC,
|
|
|
650
661
|
[_lU, _eKA],
|
|
651
662
|
[0, 0], 1
|
|
652
663
|
];
|
|
664
|
+
export var SchedulerConfiguration$ = [3, n0, _SC,
|
|
665
|
+
0,
|
|
666
|
+
[_mIQJR, _mCJR],
|
|
667
|
+
[1, 1]
|
|
668
|
+
];
|
|
669
|
+
export var SchedulerStatus$ = [3, n0, _SS,
|
|
670
|
+
0,
|
|
671
|
+
[_cIQJR, _cCJR],
|
|
672
|
+
[1, 1]
|
|
673
|
+
];
|
|
653
674
|
export var SecureNamespaceInfo$ = [3, n0, _SNI,
|
|
654
675
|
0,
|
|
655
676
|
[_cI, _na],
|
|
656
677
|
[0, 0]
|
|
657
678
|
];
|
|
658
|
-
export var SecurityConfiguration$ = [3, n0,
|
|
679
|
+
export var SecurityConfiguration$ = [3, n0, _SCe,
|
|
659
680
|
0,
|
|
660
681
|
[_i, _n, _a, _cAr, _cB, _sCD, _ta],
|
|
661
682
|
[0, 0, 0, 5, 0, () => SecurityConfigurationData$, 128 | 0]
|
|
@@ -715,10 +736,20 @@ export var UntagResourceResponse$ = [3, n0, _URRn,
|
|
|
715
736
|
[],
|
|
716
737
|
[]
|
|
717
738
|
];
|
|
739
|
+
export var UpdateVirtualClusterRequest$ = [3, n0, _UVCR,
|
|
740
|
+
0,
|
|
741
|
+
[_i, _sC, _cT],
|
|
742
|
+
[[0, 1], () => SchedulerConfiguration$, [0, 4]], 1
|
|
743
|
+
];
|
|
744
|
+
export var UpdateVirtualClusterResponse$ = [3, n0, _UVCRp,
|
|
745
|
+
0,
|
|
746
|
+
[_vC],
|
|
747
|
+
[() => VirtualCluster$]
|
|
748
|
+
];
|
|
718
749
|
export var VirtualCluster$ = [3, n0, _VC,
|
|
719
750
|
0,
|
|
720
|
-
[_i, _n, _a, _st, _cP, _cAr, _ta, _sCI, _sE],
|
|
721
|
-
[0, 0, 0, 0, () => ContainerProvider$, 5, 128 | 0, 0, 2]
|
|
751
|
+
[_i, _n, _a, _st, _cP, _cAr, _ta, _sCI, _sE, _sC, _sS],
|
|
752
|
+
[0, 0, 0, 0, () => ContainerProvider$, 5, 128 | 0, 0, 2, () => SchedulerConfiguration$, () => SchedulerStatus$]
|
|
722
753
|
];
|
|
723
754
|
var ConfigurationList = [1, n0, _CL,
|
|
724
755
|
0, [() => Configuration$,
|
|
@@ -743,7 +774,7 @@ var JobTemplates = [1, n0, _JTo,
|
|
|
743
774
|
0, [() => JobTemplate$,
|
|
744
775
|
0]
|
|
745
776
|
];
|
|
746
|
-
var SecurityConfigurations = [1, n0,
|
|
777
|
+
var SecurityConfigurations = [1, n0, _SCec,
|
|
747
778
|
0, () => SecurityConfiguration$
|
|
748
779
|
];
|
|
749
780
|
var SubnetIds = 64 | 0;
|
|
@@ -842,3 +873,6 @@ export var TagResource$ = [9, n0, _TR,
|
|
|
842
873
|
export var UntagResource$ = [9, n0, _UR,
|
|
843
874
|
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
844
875
|
];
|
|
876
|
+
export var UpdateVirtualCluster$ = [9, n0, _UVC,
|
|
877
|
+
{ [_h]: ["PATCH", "/virtualclusters/{id}", 200] }, () => UpdateVirtualClusterRequest$, () => UpdateVirtualClusterResponse$
|
|
878
|
+
];
|
|
@@ -23,6 +23,7 @@ import { type ListVirtualClustersCommandInput, type ListVirtualClustersCommandOu
|
|
|
23
23
|
import { type StartJobRunCommandInput, type StartJobRunCommandOutput } from "./commands/StartJobRunCommand";
|
|
24
24
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
25
25
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
26
|
+
import { type UpdateVirtualClusterCommandInput, type UpdateVirtualClusterCommandOutput } from "./commands/UpdateVirtualClusterCommand";
|
|
26
27
|
import { EMRContainersClient } from "./EMRContainersClient";
|
|
27
28
|
export interface EMRContainers {
|
|
28
29
|
/**
|
|
@@ -172,6 +173,12 @@ export interface EMRContainers {
|
|
|
172
173
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
173
174
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
174
175
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
176
|
+
/**
|
|
177
|
+
* @see {@link UpdateVirtualClusterCommand}
|
|
178
|
+
*/
|
|
179
|
+
updateVirtualCluster(args: UpdateVirtualClusterCommandInput, options?: __HttpHandlerOptions): Promise<UpdateVirtualClusterCommandOutput>;
|
|
180
|
+
updateVirtualCluster(args: UpdateVirtualClusterCommandInput, cb: (err: any, data?: UpdateVirtualClusterCommandOutput) => void): void;
|
|
181
|
+
updateVirtualCluster(args: UpdateVirtualClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateVirtualClusterCommandOutput) => void): void;
|
|
175
182
|
/**
|
|
176
183
|
* @see {@link ListJobRunsCommand}
|
|
177
184
|
* @param args - command input.
|
|
@@ -30,17 +30,18 @@ import type { ListVirtualClustersCommandInput, ListVirtualClustersCommandOutput
|
|
|
30
30
|
import type { StartJobRunCommandInput, StartJobRunCommandOutput } from "./commands/StartJobRunCommand";
|
|
31
31
|
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
32
32
|
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
33
|
+
import type { UpdateVirtualClusterCommandInput, UpdateVirtualClusterCommandOutput } from "./commands/UpdateVirtualClusterCommand";
|
|
33
34
|
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
34
35
|
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
35
36
|
export { __Client };
|
|
36
37
|
/**
|
|
37
38
|
* @public
|
|
38
39
|
*/
|
|
39
|
-
export type ServiceInputTypes = CancelJobRunCommandInput | CreateJobTemplateCommandInput | CreateManagedEndpointCommandInput | CreateSecurityConfigurationCommandInput | CreateVirtualClusterCommandInput | DeleteJobTemplateCommandInput | DeleteManagedEndpointCommandInput | DeleteSecurityConfigurationCommandInput | DeleteVirtualClusterCommandInput | DescribeJobRunCommandInput | DescribeJobTemplateCommandInput | DescribeManagedEndpointCommandInput | DescribeSecurityConfigurationCommandInput | DescribeVirtualClusterCommandInput | GetManagedEndpointSessionCredentialsCommandInput | ListJobRunsCommandInput | ListJobTemplatesCommandInput | ListManagedEndpointsCommandInput | ListSecurityConfigurationsCommandInput | ListTagsForResourceCommandInput | ListVirtualClustersCommandInput | StartJobRunCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
40
|
+
export type ServiceInputTypes = CancelJobRunCommandInput | CreateJobTemplateCommandInput | CreateManagedEndpointCommandInput | CreateSecurityConfigurationCommandInput | CreateVirtualClusterCommandInput | DeleteJobTemplateCommandInput | DeleteManagedEndpointCommandInput | DeleteSecurityConfigurationCommandInput | DeleteVirtualClusterCommandInput | DescribeJobRunCommandInput | DescribeJobTemplateCommandInput | DescribeManagedEndpointCommandInput | DescribeSecurityConfigurationCommandInput | DescribeVirtualClusterCommandInput | GetManagedEndpointSessionCredentialsCommandInput | ListJobRunsCommandInput | ListJobTemplatesCommandInput | ListManagedEndpointsCommandInput | ListSecurityConfigurationsCommandInput | ListTagsForResourceCommandInput | ListVirtualClustersCommandInput | StartJobRunCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateVirtualClusterCommandInput;
|
|
40
41
|
/**
|
|
41
42
|
* @public
|
|
42
43
|
*/
|
|
43
|
-
export type ServiceOutputTypes = CancelJobRunCommandOutput | CreateJobTemplateCommandOutput | CreateManagedEndpointCommandOutput | CreateSecurityConfigurationCommandOutput | CreateVirtualClusterCommandOutput | DeleteJobTemplateCommandOutput | DeleteManagedEndpointCommandOutput | DeleteSecurityConfigurationCommandOutput | DeleteVirtualClusterCommandOutput | DescribeJobRunCommandOutput | DescribeJobTemplateCommandOutput | DescribeManagedEndpointCommandOutput | DescribeSecurityConfigurationCommandOutput | DescribeVirtualClusterCommandOutput | GetManagedEndpointSessionCredentialsCommandOutput | ListJobRunsCommandOutput | ListJobTemplatesCommandOutput | ListManagedEndpointsCommandOutput | ListSecurityConfigurationsCommandOutput | ListTagsForResourceCommandOutput | ListVirtualClustersCommandOutput | StartJobRunCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
44
|
+
export type ServiceOutputTypes = CancelJobRunCommandOutput | CreateJobTemplateCommandOutput | CreateManagedEndpointCommandOutput | CreateSecurityConfigurationCommandOutput | CreateVirtualClusterCommandOutput | DeleteJobTemplateCommandOutput | DeleteManagedEndpointCommandOutput | DeleteSecurityConfigurationCommandOutput | DeleteVirtualClusterCommandOutput | DescribeJobRunCommandOutput | DescribeJobTemplateCommandOutput | DescribeManagedEndpointCommandOutput | DescribeSecurityConfigurationCommandOutput | DescribeVirtualClusterCommandOutput | GetManagedEndpointSessionCredentialsCommandOutput | ListJobRunsCommandOutput | ListJobTemplatesCommandOutput | ListManagedEndpointsCommandOutput | ListSecurityConfigurationsCommandOutput | ListTagsForResourceCommandOutput | ListVirtualClustersCommandOutput | StartJobRunCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateVirtualClusterCommandOutput;
|
|
44
45
|
/**
|
|
45
46
|
* @public
|
|
46
47
|
*/
|
|
@@ -24,7 +24,7 @@ declare const CreateVirtualClusterCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Creates a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any
|
|
27
|
+
* <p>Creates a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, update, describe, list and delete virtual clusters. They do not consume any
|
|
28
28
|
* additional resource in your system. A single virtual cluster maps to a single Kubernetes
|
|
29
29
|
* namespace. Given this relationship, you can model virtual clusters the same way you model
|
|
30
30
|
* Kubernetes namespaces to meet your requirements.</p>
|
|
@@ -54,6 +54,10 @@ declare const CreateVirtualClusterCommand_base: {
|
|
|
54
54
|
* },
|
|
55
55
|
* securityConfigurationId: "STRING_VALUE",
|
|
56
56
|
* sessionEnabled: true || false,
|
|
57
|
+
* schedulerConfiguration: { // SchedulerConfiguration
|
|
58
|
+
* maxInQueueJobRuns: Number("int"),
|
|
59
|
+
* maxConcurrentJobRuns: Number("int"),
|
|
60
|
+
* },
|
|
57
61
|
* };
|
|
58
62
|
* const command = new CreateVirtualClusterCommand(input);
|
|
59
63
|
* const response = await client.send(command);
|
|
@@ -24,7 +24,7 @@ declare const DeleteVirtualClusterCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Deletes a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any
|
|
27
|
+
* <p>Deletes a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, update, describe, list and delete virtual clusters. They do not consume any
|
|
28
28
|
* additional resource in your system. A single virtual cluster maps to a single Kubernetes
|
|
29
29
|
* namespace. Given this relationship, you can model virtual clusters the same way you model
|
|
30
30
|
* Kubernetes namespaces to meet your requirements.</p>
|
|
@@ -25,7 +25,7 @@ declare const DescribeVirtualClusterCommand_base: {
|
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* <p>Displays detailed information about a specified virtual cluster. Virtual cluster is a
|
|
28
|
-
* managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual
|
|
28
|
+
* managed entity on Amazon EMR on EKS. You can create, update, describe, list and delete virtual
|
|
29
29
|
* clusters. They do not consume any additional resource in your system. A single virtual
|
|
30
30
|
* cluster maps to a single Kubernetes namespace. Given this relationship, you can model
|
|
31
31
|
* virtual clusters the same way you model Kubernetes namespaces to meet your
|
|
@@ -65,6 +65,14 @@ declare const DescribeVirtualClusterCommand_base: {
|
|
|
65
65
|
* // },
|
|
66
66
|
* // securityConfigurationId: "STRING_VALUE",
|
|
67
67
|
* // sessionEnabled: true || false,
|
|
68
|
+
* // schedulerConfiguration: { // SchedulerConfiguration
|
|
69
|
+
* // maxInQueueJobRuns: Number("int"),
|
|
70
|
+
* // maxConcurrentJobRuns: Number("int"),
|
|
71
|
+
* // },
|
|
72
|
+
* // schedulerStatus: { // SchedulerStatus
|
|
73
|
+
* // currentInQueueJobRuns: Number("int"),
|
|
74
|
+
* // currentConcurrentJobRuns: Number("int"),
|
|
75
|
+
* // },
|
|
68
76
|
* // },
|
|
69
77
|
* // };
|
|
70
78
|
*
|
|
@@ -25,7 +25,7 @@ declare const ListVirtualClustersCommand_base: {
|
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* <p>Lists information about the specified virtual cluster. Virtual cluster is a managed
|
|
28
|
-
* entity on Amazon EMR on EKS. You can create, describe, list and delete virtual
|
|
28
|
+
* entity on Amazon EMR on EKS. You can create, update, describe, list and delete virtual
|
|
29
29
|
* clusters. They do not consume any additional resource in your system. A single virtual
|
|
30
30
|
* cluster maps to a single Kubernetes namespace. Given this relationship, you can model
|
|
31
31
|
* virtual clusters the same way you model Kubernetes namespaces to meet your
|
|
@@ -75,6 +75,14 @@ declare const ListVirtualClustersCommand_base: {
|
|
|
75
75
|
* // },
|
|
76
76
|
* // securityConfigurationId: "STRING_VALUE",
|
|
77
77
|
* // sessionEnabled: true || false,
|
|
78
|
+
* // schedulerConfiguration: { // SchedulerConfiguration
|
|
79
|
+
* // maxInQueueJobRuns: Number("int"),
|
|
80
|
+
* // maxConcurrentJobRuns: Number("int"),
|
|
81
|
+
* // },
|
|
82
|
+
* // schedulerStatus: { // SchedulerStatus
|
|
83
|
+
* // currentInQueueJobRuns: Number("int"),
|
|
84
|
+
* // currentConcurrentJobRuns: Number("int"),
|
|
85
|
+
* // },
|
|
78
86
|
* // },
|
|
79
87
|
* // ],
|
|
80
88
|
* // nextToken: "STRING_VALUE",
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdateVirtualClusterRequest, UpdateVirtualClusterResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UpdateVirtualClusterCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateVirtualClusterCommandInput extends UpdateVirtualClusterRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UpdateVirtualClusterCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateVirtualClusterCommandOutput extends UpdateVirtualClusterResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UpdateVirtualClusterCommand_base: {
|
|
22
|
+
new (input: UpdateVirtualClusterCommandInput): import("@smithy/core/client").CommandImpl<UpdateVirtualClusterCommandInput, UpdateVirtualClusterCommandOutput, import("..").EMRContainersClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateVirtualClusterCommandInput): import("@smithy/core/client").CommandImpl<UpdateVirtualClusterCommandInput, UpdateVirtualClusterCommandOutput, import("..").EMRContainersClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Updates a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, update, describe, list and delete virtual clusters. They do not consume any
|
|
28
|
+
* additional resource in your system. A single virtual cluster maps to a single Kubernetes
|
|
29
|
+
* namespace. Given this relationship, you can model virtual clusters the same way you model
|
|
30
|
+
* Kubernetes namespaces to meet your requirements.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EMRContainersClient, UpdateVirtualClusterCommand } from "@aws-sdk/client-emr-containers"; // ES Modules import
|
|
35
|
+
* // const { EMRContainersClient, UpdateVirtualClusterCommand } = require("@aws-sdk/client-emr-containers"); // CommonJS import
|
|
36
|
+
* // import type { EMRContainersClientConfig } from "@aws-sdk/client-emr-containers";
|
|
37
|
+
* const config = {}; // type is EMRContainersClientConfig
|
|
38
|
+
* const client = new EMRContainersClient(config);
|
|
39
|
+
* const input = { // UpdateVirtualClusterRequest
|
|
40
|
+
* id: "STRING_VALUE", // required
|
|
41
|
+
* schedulerConfiguration: { // SchedulerConfiguration
|
|
42
|
+
* maxInQueueJobRuns: Number("int"),
|
|
43
|
+
* maxConcurrentJobRuns: Number("int"),
|
|
44
|
+
* },
|
|
45
|
+
* clientToken: "STRING_VALUE", // required
|
|
46
|
+
* };
|
|
47
|
+
* const command = new UpdateVirtualClusterCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // UpdateVirtualClusterResponse
|
|
50
|
+
* // virtualCluster: { // VirtualCluster
|
|
51
|
+
* // id: "STRING_VALUE",
|
|
52
|
+
* // name: "STRING_VALUE",
|
|
53
|
+
* // arn: "STRING_VALUE",
|
|
54
|
+
* // state: "RUNNING" || "TERMINATING" || "TERMINATED" || "ARRESTED",
|
|
55
|
+
* // containerProvider: { // ContainerProvider
|
|
56
|
+
* // type: "EKS", // required
|
|
57
|
+
* // id: "STRING_VALUE", // required
|
|
58
|
+
* // info: { // ContainerInfo Union: only one key present
|
|
59
|
+
* // eksInfo: { // EksInfo
|
|
60
|
+
* // namespace: "STRING_VALUE",
|
|
61
|
+
* // nodeLabel: "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // },
|
|
64
|
+
* // },
|
|
65
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
66
|
+
* // tags: { // TagMap
|
|
67
|
+
* // "<keys>": "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // securityConfigurationId: "STRING_VALUE",
|
|
70
|
+
* // sessionEnabled: true || false,
|
|
71
|
+
* // schedulerConfiguration: { // SchedulerConfiguration
|
|
72
|
+
* // maxInQueueJobRuns: Number("int"),
|
|
73
|
+
* // maxConcurrentJobRuns: Number("int"),
|
|
74
|
+
* // },
|
|
75
|
+
* // schedulerStatus: { // SchedulerStatus
|
|
76
|
+
* // currentInQueueJobRuns: Number("int"),
|
|
77
|
+
* // currentConcurrentJobRuns: Number("int"),
|
|
78
|
+
* // },
|
|
79
|
+
* // },
|
|
80
|
+
* // };
|
|
81
|
+
*
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* @param UpdateVirtualClusterCommandInput - {@link UpdateVirtualClusterCommandInput}
|
|
85
|
+
* @returns {@link UpdateVirtualClusterCommandOutput}
|
|
86
|
+
* @see {@link UpdateVirtualClusterCommandInput} for command's `input` shape.
|
|
87
|
+
* @see {@link UpdateVirtualClusterCommandOutput} for command's `response` shape.
|
|
88
|
+
* @see {@link EMRContainersClientResolvedConfig | config} for EMRContainersClient's `config` shape.
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link InternalServerException} (server fault)
|
|
91
|
+
* <p>This is an internal server exception.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
94
|
+
* <p>The specified resource was not found.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ValidationException} (client fault)
|
|
97
|
+
* <p>There are invalid parameters in the client request.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link EMRContainersServiceException}
|
|
100
|
+
* <p>Base exception class for all service exceptions from EMRContainers service.</p>
|
|
101
|
+
*
|
|
102
|
+
*
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
export declare class UpdateVirtualClusterCommand extends UpdateVirtualClusterCommand_base {
|
|
106
|
+
/** @internal type navigation helper, not in runtime. */
|
|
107
|
+
protected static __types: {
|
|
108
|
+
api: {
|
|
109
|
+
input: UpdateVirtualClusterRequest;
|
|
110
|
+
output: UpdateVirtualClusterResponse;
|
|
111
|
+
};
|
|
112
|
+
sdk: {
|
|
113
|
+
input: UpdateVirtualClusterCommandInput;
|
|
114
|
+
output: UpdateVirtualClusterCommandOutput;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
}
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import type { AllowAWSToRetainLogs, CertificateProviderType, ContainerProviderType, EndpointState, FailureReason, JobRunState, PersistentAppUI, TemplateParameterDataType, VirtualClusterState } from "./enums";
|
|
2
2
|
/**
|
|
3
|
-
* <p>IAM
|
|
3
|
+
* <p>Contains the IAM settings for a security configuration, including the system role used for authentication.</p>
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
export interface IAMConfiguration {
|
|
7
7
|
/**
|
|
8
|
-
* <p>The ARN of the system role used by the security configuration.</p>
|
|
8
|
+
* <p>The Amazon Resource Name (ARN) of the system role used by the security configuration.</p>
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
11
|
systemRole?: string | undefined;
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
|
-
* <p>Identity Center
|
|
14
|
+
* <p>Contains the IAM Identity Center settings for a security configuration, including instance ARN, application assignment requirements, and application ARN.</p>
|
|
15
15
|
* @public
|
|
16
16
|
*/
|
|
17
17
|
export interface IdentityCenterConfiguration {
|
|
18
18
|
/**
|
|
19
|
-
* <p>
|
|
19
|
+
* <p>Specifies whether Identity Center is enabled for the security configuration.</p>
|
|
20
20
|
* @public
|
|
21
21
|
*/
|
|
22
22
|
enableIdentityCenter?: boolean | undefined;
|
|
23
23
|
/**
|
|
24
|
-
* <p>
|
|
24
|
+
* <p>Specifies whether user assignment is required for the Identity Center application.</p>
|
|
25
25
|
* @public
|
|
26
26
|
*/
|
|
27
27
|
identityCenterApplicationAssignmentRequired?: boolean | undefined;
|
|
28
28
|
/**
|
|
29
|
-
* <p>The ARN of the Identity Center instance.</p>
|
|
29
|
+
* <p>The Amazon Resource Name (ARN) of the Identity Center instance.</p>
|
|
30
30
|
* @public
|
|
31
31
|
*/
|
|
32
32
|
identityCenterInstanceARN?: string | undefined;
|
|
33
33
|
/**
|
|
34
|
-
* <p>The ARN of the EMR Identity Center application.</p>
|
|
34
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon EMR Identity Center application.</p>
|
|
35
35
|
* @public
|
|
36
36
|
*/
|
|
37
37
|
emrIdentityCenterApplicationARN?: string | undefined;
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
|
-
* <p>
|
|
40
|
+
* <p>Contains the authentication settings for a security configuration, including Identity Center and IAM configuration options.</p>
|
|
41
41
|
* @public
|
|
42
42
|
*/
|
|
43
43
|
export interface AuthenticationConfiguration {
|
|
44
44
|
/**
|
|
45
|
-
* <p>Identity Center configuration for authentication
|
|
45
|
+
* <p>The IAM Identity Center configuration to use for authentication.</p>
|
|
46
46
|
* @public
|
|
47
47
|
*/
|
|
48
48
|
identityCenterConfiguration?: IdentityCenterConfiguration | undefined;
|
|
49
49
|
/**
|
|
50
|
-
* <p>IAM configuration for authentication
|
|
50
|
+
* <p>The IAM configuration to use for authentication.</p>
|
|
51
51
|
* @public
|
|
52
52
|
*/
|
|
53
53
|
iamConfiguration?: IAMConfiguration | undefined;
|
|
@@ -394,7 +394,7 @@ export interface S3MonitoringConfiguration {
|
|
|
394
394
|
*/
|
|
395
395
|
logUri: string | undefined;
|
|
396
396
|
/**
|
|
397
|
-
* <p>The Amazon
|
|
397
|
+
* <p>The Amazon Resource Name (ARN) of the encryption key for logs.</p>
|
|
398
398
|
* @public
|
|
399
399
|
*/
|
|
400
400
|
encryptionKeyArn?: string | undefined;
|
|
@@ -592,6 +592,29 @@ export interface CreateSecurityConfigurationResponse {
|
|
|
592
592
|
*/
|
|
593
593
|
arn?: string | undefined;
|
|
594
594
|
}
|
|
595
|
+
/**
|
|
596
|
+
* <p>The scheduler configuration for a virtual cluster on Amazon EMR on EKS. It controls how
|
|
597
|
+
* many job runs can run concurrently and how many can wait in the queue. When not set, no
|
|
598
|
+
* concurrency or queue limits are applied.</p>
|
|
599
|
+
* @public
|
|
600
|
+
*/
|
|
601
|
+
export interface SchedulerConfiguration {
|
|
602
|
+
/**
|
|
603
|
+
* <p>The maximum number of job runs that can be in the <code>PENDING</code> or
|
|
604
|
+
* <code>SUBMITTED</code> state at any time for the virtual cluster. When the queue is full,
|
|
605
|
+
* the service rejects <code>StartJobRun</code> requests with a <code>ValidationException</code>. If you omit
|
|
606
|
+
* this field, the service applies no queue-depth limit.</p>
|
|
607
|
+
* @public
|
|
608
|
+
*/
|
|
609
|
+
maxInQueueJobRuns?: number | undefined;
|
|
610
|
+
/**
|
|
611
|
+
* <p>The maximum number of job runs that can be in the <code>RUNNING</code> state at any time
|
|
612
|
+
* for the virtual cluster. As running slots free up, queued job runs start automatically. If
|
|
613
|
+
* you omit this field, the service applies no concurrency limit.</p>
|
|
614
|
+
* @public
|
|
615
|
+
*/
|
|
616
|
+
maxConcurrentJobRuns?: number | undefined;
|
|
617
|
+
}
|
|
595
618
|
/**
|
|
596
619
|
* @public
|
|
597
620
|
*/
|
|
@@ -626,6 +649,12 @@ export interface CreateVirtualClusterRequest {
|
|
|
626
649
|
* @public
|
|
627
650
|
*/
|
|
628
651
|
sessionEnabled?: boolean | undefined;
|
|
652
|
+
/**
|
|
653
|
+
* <p>The scheduler configuration (concurrency and queue limits) to apply to the virtual
|
|
654
|
+
* cluster at creation time. When omitted, no limits are applied.</p>
|
|
655
|
+
* @public
|
|
656
|
+
*/
|
|
657
|
+
schedulerConfiguration?: SchedulerConfiguration | undefined;
|
|
629
658
|
}
|
|
630
659
|
/**
|
|
631
660
|
* @public
|
|
@@ -712,7 +741,7 @@ export interface DeleteSecurityConfigurationRequest {
|
|
|
712
741
|
*/
|
|
713
742
|
export interface DeleteSecurityConfigurationResponse {
|
|
714
743
|
/**
|
|
715
|
-
* <p>The ID of the security configuration
|
|
744
|
+
* <p>The ID of the deleted security configuration.</p>
|
|
716
745
|
* @public
|
|
717
746
|
*/
|
|
718
747
|
id?: string | undefined;
|
|
@@ -889,6 +918,25 @@ export interface DescribeVirtualClusterRequest {
|
|
|
889
918
|
*/
|
|
890
919
|
id: string | undefined;
|
|
891
920
|
}
|
|
921
|
+
/**
|
|
922
|
+
* <p>The current job-run counts for a virtual cluster, reflecting how much of the configured
|
|
923
|
+
* scheduler capacity is in use.</p>
|
|
924
|
+
* @public
|
|
925
|
+
*/
|
|
926
|
+
export interface SchedulerStatus {
|
|
927
|
+
/**
|
|
928
|
+
* <p>The number of job runs currently waiting in the queue (<code>PENDING</code> or
|
|
929
|
+
* <code>SUBMITTED</code>) for the virtual cluster.</p>
|
|
930
|
+
* @public
|
|
931
|
+
*/
|
|
932
|
+
currentInQueueJobRuns?: number | undefined;
|
|
933
|
+
/**
|
|
934
|
+
* <p>The number of job runs currently in the <code>RUNNING</code> state for the virtual
|
|
935
|
+
* cluster.</p>
|
|
936
|
+
* @public
|
|
937
|
+
*/
|
|
938
|
+
currentConcurrentJobRuns?: number | undefined;
|
|
939
|
+
}
|
|
892
940
|
/**
|
|
893
941
|
* <p>This entity describes a virtual cluster. A virtual cluster is a Kubernetes namespace
|
|
894
942
|
* that Amazon EMR is registered with. Amazon EMR uses virtual clusters to run
|
|
@@ -940,10 +988,21 @@ export interface VirtualCluster {
|
|
|
940
988
|
*/
|
|
941
989
|
securityConfigurationId?: string | undefined;
|
|
942
990
|
/**
|
|
943
|
-
* <p>
|
|
991
|
+
* <p>Specifies whether the virtual cluster has session support enabled. </p>
|
|
944
992
|
* @public
|
|
945
993
|
*/
|
|
946
994
|
sessionEnabled?: boolean | undefined;
|
|
995
|
+
/**
|
|
996
|
+
* <p>The scheduler configuration (concurrency and queue limits) applied to the virtual
|
|
997
|
+
* cluster. The service does not return this field when no scheduler limits are configured.</p>
|
|
998
|
+
* @public
|
|
999
|
+
*/
|
|
1000
|
+
schedulerConfiguration?: SchedulerConfiguration | undefined;
|
|
1001
|
+
/**
|
|
1002
|
+
* <p>The current in-queue and concurrent job-run counts for the virtual cluster.</p>
|
|
1003
|
+
* @public
|
|
1004
|
+
*/
|
|
1005
|
+
schedulerStatus?: SchedulerStatus | undefined;
|
|
947
1006
|
}
|
|
948
1007
|
/**
|
|
949
1008
|
* @public
|
|
@@ -1045,7 +1104,7 @@ export interface GetManagedEndpointSessionCredentialsResponse {
|
|
|
1045
1104
|
*/
|
|
1046
1105
|
credentials?: Credentials | undefined;
|
|
1047
1106
|
/**
|
|
1048
|
-
* <p>The
|
|
1107
|
+
* <p>The session credentials that the operation returns.</p>
|
|
1049
1108
|
* @public
|
|
1050
1109
|
*/
|
|
1051
1110
|
endpointCredentials?: Credentials | undefined;
|
|
@@ -1348,6 +1407,41 @@ export interface UntagResourceRequest {
|
|
|
1348
1407
|
*/
|
|
1349
1408
|
export interface UntagResourceResponse {
|
|
1350
1409
|
}
|
|
1410
|
+
/**
|
|
1411
|
+
* <p>Contains the parameters for a request to update a virtual cluster on Amazon EMR on EKS.</p>
|
|
1412
|
+
* @public
|
|
1413
|
+
*/
|
|
1414
|
+
export interface UpdateVirtualClusterRequest {
|
|
1415
|
+
/**
|
|
1416
|
+
* <p>The ID of the virtual cluster to update.</p>
|
|
1417
|
+
* @public
|
|
1418
|
+
*/
|
|
1419
|
+
id: string | undefined;
|
|
1420
|
+
/**
|
|
1421
|
+
* <p>The scheduler configuration to apply to the virtual cluster. The new configuration fully
|
|
1422
|
+
* replaces the existing one. If you omit a field, the corresponding limit is removed.</p>
|
|
1423
|
+
* @public
|
|
1424
|
+
*/
|
|
1425
|
+
schedulerConfiguration?: SchedulerConfiguration | undefined;
|
|
1426
|
+
/**
|
|
1427
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure that the operation
|
|
1428
|
+
* completes no more than one time. If this token matches a previous request, the service
|
|
1429
|
+
* ignores the request, but does not return an error.</p>
|
|
1430
|
+
* @public
|
|
1431
|
+
*/
|
|
1432
|
+
clientToken?: string | undefined;
|
|
1433
|
+
}
|
|
1434
|
+
/**
|
|
1435
|
+
* <p>Contains the virtual cluster returned after a successful update request.</p>
|
|
1436
|
+
* @public
|
|
1437
|
+
*/
|
|
1438
|
+
export interface UpdateVirtualClusterResponse {
|
|
1439
|
+
/**
|
|
1440
|
+
* <p>The updated virtual cluster.</p>
|
|
1441
|
+
* @public
|
|
1442
|
+
*/
|
|
1443
|
+
virtualCluster?: VirtualCluster | undefined;
|
|
1444
|
+
}
|
|
1351
1445
|
/**
|
|
1352
1446
|
* <p>A configuration specification to be used when provisioning virtual clusters, which can
|
|
1353
1447
|
* include configurations for applications and software bundled with Amazon EMR on EKS. A
|
|
@@ -1459,7 +1553,7 @@ export interface CreateManagedEndpointRequest {
|
|
|
1459
1553
|
*/
|
|
1460
1554
|
tags?: Record<string, string> | undefined;
|
|
1461
1555
|
/**
|
|
1462
|
-
* <p>The
|
|
1556
|
+
* <p>The number of idle minutes before the managed endpoint session times out.</p>
|
|
1463
1557
|
* @public
|
|
1464
1558
|
*/
|
|
1465
1559
|
sessionIdleTimeoutInMinutes?: number | undefined;
|
|
@@ -1535,7 +1629,7 @@ export interface Endpoint {
|
|
|
1535
1629
|
*/
|
|
1536
1630
|
serverUrl?: string | undefined;
|
|
1537
1631
|
/**
|
|
1538
|
-
* <p>The
|
|
1632
|
+
* <p>The authentication proxy URL of the endpoint.</p>
|
|
1539
1633
|
* @public
|
|
1540
1634
|
*/
|
|
1541
1635
|
authProxyUrl?: string | undefined;
|
|
@@ -42,6 +42,7 @@ export declare const getRuntimeConfig: (config: EMRContainersClientConfig) => {
|
|
|
42
42
|
logger?: import("@smithy/types").Logger;
|
|
43
43
|
}) => import("@smithy/types").EndpointV2;
|
|
44
44
|
tls?: boolean;
|
|
45
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
45
46
|
serviceConfiguredEndpoint?: never;
|
|
46
47
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
47
48
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
@@ -52,4 +53,5 @@ export declare const getRuntimeConfig: (config: EMRContainersClientConfig) => {
|
|
|
52
53
|
systemClockOffset?: number;
|
|
53
54
|
signingRegion?: string;
|
|
54
55
|
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
56
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
55
57
|
};
|
|
@@ -43,6 +43,7 @@ export declare const getRuntimeConfig: (config: EMRContainersClientConfig) => {
|
|
|
43
43
|
logger?: import("@smithy/types").Logger;
|
|
44
44
|
}) => import("@smithy/types").EndpointV2;
|
|
45
45
|
tls?: boolean;
|
|
46
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
46
47
|
serviceConfiguredEndpoint?: never;
|
|
47
48
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
48
49
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").EMRContainersHttpAuthSchemeProvider;
|
|
@@ -52,4 +53,5 @@ export declare const getRuntimeConfig: (config: EMRContainersClientConfig) => {
|
|
|
52
53
|
systemClockOffset?: number;
|
|
53
54
|
signingRegion?: string;
|
|
54
55
|
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
56
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
55
57
|
};
|
|
@@ -41,6 +41,7 @@ export declare const getRuntimeConfig: (config: EMRContainersClientConfig) => {
|
|
|
41
41
|
logger?: import("@smithy/types").Logger;
|
|
42
42
|
}) => import("@smithy/types").EndpointV2;
|
|
43
43
|
tls?: boolean;
|
|
44
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
44
45
|
serviceConfiguredEndpoint?: never;
|
|
45
46
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
46
47
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
@@ -51,4 +52,5 @@ export declare const getRuntimeConfig: (config: EMRContainersClientConfig) => {
|
|
|
51
52
|
systemClockOffset?: number;
|
|
52
53
|
signingRegion?: string;
|
|
53
54
|
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
55
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
54
56
|
};
|
|
@@ -82,6 +82,8 @@ export declare var ParametricS3MonitoringConfiguration$: StaticStructureSchema;
|
|
|
82
82
|
export declare var RetryPolicyConfiguration$: StaticStructureSchema;
|
|
83
83
|
export declare var RetryPolicyExecution$: StaticStructureSchema;
|
|
84
84
|
export declare var S3MonitoringConfiguration$: StaticStructureSchema;
|
|
85
|
+
export declare var SchedulerConfiguration$: StaticStructureSchema;
|
|
86
|
+
export declare var SchedulerStatus$: StaticStructureSchema;
|
|
85
87
|
export declare var SecureNamespaceInfo$: StaticStructureSchema;
|
|
86
88
|
export declare var SecurityConfiguration$: StaticStructureSchema;
|
|
87
89
|
export declare var SecurityConfigurationData$: StaticStructureSchema;
|
|
@@ -95,6 +97,8 @@ export declare var TemplateParameterConfiguration$: StaticStructureSchema;
|
|
|
95
97
|
export declare var TLSCertificateConfiguration$: StaticStructureSchema;
|
|
96
98
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
97
99
|
export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
100
|
+
export declare var UpdateVirtualClusterRequest$: StaticStructureSchema;
|
|
101
|
+
export declare var UpdateVirtualClusterResponse$: StaticStructureSchema;
|
|
98
102
|
export declare var VirtualCluster$: StaticStructureSchema;
|
|
99
103
|
export declare var ContainerInfo$: StaticUnionSchema;
|
|
100
104
|
export declare var Credentials$: StaticUnionSchema;
|
|
@@ -122,3 +126,4 @@ export declare var ListVirtualClusters$: StaticOperationSchema;
|
|
|
122
126
|
export declare var StartJobRun$: StaticOperationSchema;
|
|
123
127
|
export declare var TagResource$: StaticOperationSchema;
|
|
124
128
|
export declare var UntagResource$: StaticOperationSchema;
|
|
129
|
+
export declare var UpdateVirtualCluster$: StaticOperationSchema;
|
|
@@ -90,6 +90,10 @@ import {
|
|
|
90
90
|
UntagResourceCommandInput,
|
|
91
91
|
UntagResourceCommandOutput,
|
|
92
92
|
} from "./commands/UntagResourceCommand";
|
|
93
|
+
import {
|
|
94
|
+
UpdateVirtualClusterCommandInput,
|
|
95
|
+
UpdateVirtualClusterCommandOutput,
|
|
96
|
+
} from "./commands/UpdateVirtualClusterCommand";
|
|
93
97
|
import { EMRContainersClient } from "./EMRContainersClient";
|
|
94
98
|
export interface EMRContainers {
|
|
95
99
|
cancelJobRun(
|
|
@@ -407,6 +411,19 @@ export interface EMRContainers {
|
|
|
407
411
|
options: __HttpHandlerOptions,
|
|
408
412
|
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
409
413
|
): void;
|
|
414
|
+
updateVirtualCluster(
|
|
415
|
+
args: UpdateVirtualClusterCommandInput,
|
|
416
|
+
options?: __HttpHandlerOptions,
|
|
417
|
+
): Promise<UpdateVirtualClusterCommandOutput>;
|
|
418
|
+
updateVirtualCluster(
|
|
419
|
+
args: UpdateVirtualClusterCommandInput,
|
|
420
|
+
cb: (err: any, data?: UpdateVirtualClusterCommandOutput) => void,
|
|
421
|
+
): void;
|
|
422
|
+
updateVirtualCluster(
|
|
423
|
+
args: UpdateVirtualClusterCommandInput,
|
|
424
|
+
options: __HttpHandlerOptions,
|
|
425
|
+
cb: (err: any, data?: UpdateVirtualClusterCommandOutput) => void,
|
|
426
|
+
): void;
|
|
410
427
|
paginateListJobRuns(
|
|
411
428
|
args: ListJobRunsCommandInput,
|
|
412
429
|
paginationConfig?: Pick<
|
|
@@ -120,6 +120,10 @@ import {
|
|
|
120
120
|
UntagResourceCommandInput,
|
|
121
121
|
UntagResourceCommandOutput,
|
|
122
122
|
} from "./commands/UntagResourceCommand";
|
|
123
|
+
import {
|
|
124
|
+
UpdateVirtualClusterCommandInput,
|
|
125
|
+
UpdateVirtualClusterCommandOutput,
|
|
126
|
+
} from "./commands/UpdateVirtualClusterCommand";
|
|
123
127
|
import {
|
|
124
128
|
ClientInputEndpointParameters,
|
|
125
129
|
ClientResolvedEndpointParameters,
|
|
@@ -151,7 +155,8 @@ export type ServiceInputTypes =
|
|
|
151
155
|
| ListVirtualClustersCommandInput
|
|
152
156
|
| StartJobRunCommandInput
|
|
153
157
|
| TagResourceCommandInput
|
|
154
|
-
| UntagResourceCommandInput
|
|
158
|
+
| UntagResourceCommandInput
|
|
159
|
+
| UpdateVirtualClusterCommandInput;
|
|
155
160
|
export type ServiceOutputTypes =
|
|
156
161
|
| CancelJobRunCommandOutput
|
|
157
162
|
| CreateJobTemplateCommandOutput
|
|
@@ -176,7 +181,8 @@ export type ServiceOutputTypes =
|
|
|
176
181
|
| ListVirtualClustersCommandOutput
|
|
177
182
|
| StartJobRunCommandOutput
|
|
178
183
|
| TagResourceCommandOutput
|
|
179
|
-
| UntagResourceCommandOutput
|
|
184
|
+
| UntagResourceCommandOutput
|
|
185
|
+
| UpdateVirtualClusterCommandOutput;
|
|
180
186
|
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
181
187
|
requestHandler?: __HttpHandlerUserInput;
|
|
182
188
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import { UpdateVirtualClusterRequest, UpdateVirtualClusterResponse } from "../models/models_0";
|
|
3
|
+
export { __MetadataBearer };
|
|
4
|
+
export interface UpdateVirtualClusterCommandInput extends UpdateVirtualClusterRequest {}
|
|
5
|
+
export interface UpdateVirtualClusterCommandOutput
|
|
6
|
+
extends UpdateVirtualClusterResponse, __MetadataBearer {}
|
|
7
|
+
declare const UpdateVirtualClusterCommand_base: {
|
|
8
|
+
new (
|
|
9
|
+
input: UpdateVirtualClusterCommandInput,
|
|
10
|
+
): import("@smithy/core/client").CommandImpl<
|
|
11
|
+
UpdateVirtualClusterCommandInput,
|
|
12
|
+
UpdateVirtualClusterCommandOutput,
|
|
13
|
+
import("..").EMRContainersClientResolvedConfig,
|
|
14
|
+
import("..").ServiceInputTypes,
|
|
15
|
+
import("..").ServiceOutputTypes
|
|
16
|
+
>;
|
|
17
|
+
new (
|
|
18
|
+
input: UpdateVirtualClusterCommandInput,
|
|
19
|
+
): import("@smithy/core/client").CommandImpl<
|
|
20
|
+
UpdateVirtualClusterCommandInput,
|
|
21
|
+
UpdateVirtualClusterCommandOutput,
|
|
22
|
+
import("..").EMRContainersClientResolvedConfig,
|
|
23
|
+
import("..").ServiceInputTypes,
|
|
24
|
+
import("..").ServiceOutputTypes
|
|
25
|
+
>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
export declare class UpdateVirtualClusterCommand extends UpdateVirtualClusterCommand_base {
|
|
29
|
+
protected static __types: {
|
|
30
|
+
api: {
|
|
31
|
+
input: UpdateVirtualClusterRequest;
|
|
32
|
+
output: UpdateVirtualClusterResponse;
|
|
33
|
+
};
|
|
34
|
+
sdk: {
|
|
35
|
+
input: UpdateVirtualClusterCommandInput;
|
|
36
|
+
output: UpdateVirtualClusterCommandOutput;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
}
|
|
@@ -158,6 +158,10 @@ export interface CreateSecurityConfigurationResponse {
|
|
|
158
158
|
name?: string | undefined;
|
|
159
159
|
arn?: string | undefined;
|
|
160
160
|
}
|
|
161
|
+
export interface SchedulerConfiguration {
|
|
162
|
+
maxInQueueJobRuns?: number | undefined;
|
|
163
|
+
maxConcurrentJobRuns?: number | undefined;
|
|
164
|
+
}
|
|
161
165
|
export interface CreateVirtualClusterRequest {
|
|
162
166
|
name: string | undefined;
|
|
163
167
|
containerProvider: ContainerProvider | undefined;
|
|
@@ -165,6 +169,7 @@ export interface CreateVirtualClusterRequest {
|
|
|
165
169
|
tags?: Record<string, string> | undefined;
|
|
166
170
|
securityConfigurationId?: string | undefined;
|
|
167
171
|
sessionEnabled?: boolean | undefined;
|
|
172
|
+
schedulerConfiguration?: SchedulerConfiguration | undefined;
|
|
168
173
|
}
|
|
169
174
|
export interface CreateVirtualClusterResponse {
|
|
170
175
|
id?: string | undefined;
|
|
@@ -236,6 +241,10 @@ export interface DescribeSecurityConfigurationResponse {
|
|
|
236
241
|
export interface DescribeVirtualClusterRequest {
|
|
237
242
|
id: string | undefined;
|
|
238
243
|
}
|
|
244
|
+
export interface SchedulerStatus {
|
|
245
|
+
currentInQueueJobRuns?: number | undefined;
|
|
246
|
+
currentConcurrentJobRuns?: number | undefined;
|
|
247
|
+
}
|
|
239
248
|
export interface VirtualCluster {
|
|
240
249
|
id?: string | undefined;
|
|
241
250
|
name?: string | undefined;
|
|
@@ -246,6 +255,8 @@ export interface VirtualCluster {
|
|
|
246
255
|
tags?: Record<string, string> | undefined;
|
|
247
256
|
securityConfigurationId?: string | undefined;
|
|
248
257
|
sessionEnabled?: boolean | undefined;
|
|
258
|
+
schedulerConfiguration?: SchedulerConfiguration | undefined;
|
|
259
|
+
schedulerStatus?: SchedulerStatus | undefined;
|
|
249
260
|
}
|
|
250
261
|
export interface DescribeVirtualClusterResponse {
|
|
251
262
|
virtualCluster?: VirtualCluster | undefined;
|
|
@@ -350,6 +361,14 @@ export interface UntagResourceRequest {
|
|
|
350
361
|
tagKeys: string[] | undefined;
|
|
351
362
|
}
|
|
352
363
|
export interface UntagResourceResponse {}
|
|
364
|
+
export interface UpdateVirtualClusterRequest {
|
|
365
|
+
id: string | undefined;
|
|
366
|
+
schedulerConfiguration?: SchedulerConfiguration | undefined;
|
|
367
|
+
clientToken?: string | undefined;
|
|
368
|
+
}
|
|
369
|
+
export interface UpdateVirtualClusterResponse {
|
|
370
|
+
virtualCluster?: VirtualCluster | undefined;
|
|
371
|
+
}
|
|
353
372
|
export interface Configuration {
|
|
354
373
|
classification: string | undefined;
|
|
355
374
|
properties?: Record<string, string> | undefined;
|
|
@@ -71,6 +71,7 @@ export declare const getRuntimeConfig: (config: EMRContainersClientConfig) => {
|
|
|
71
71
|
},
|
|
72
72
|
) => import("@smithy/types").EndpointV2;
|
|
73
73
|
tls?: boolean;
|
|
74
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
74
75
|
serviceConfiguredEndpoint?: never;
|
|
75
76
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
76
77
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
@@ -90,4 +91,5 @@ export declare const getRuntimeConfig: (config: EMRContainersClientConfig) => {
|
|
|
90
91
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
91
92
|
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
92
93
|
) => import("@smithy/types").RequestSigner;
|
|
94
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
93
95
|
};
|
|
@@ -72,6 +72,7 @@ export declare const getRuntimeConfig: (config: EMRContainersClientConfig) => {
|
|
|
72
72
|
},
|
|
73
73
|
) => import("@smithy/types").EndpointV2;
|
|
74
74
|
tls?: boolean;
|
|
75
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
75
76
|
serviceConfiguredEndpoint?: never;
|
|
76
77
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
77
78
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").EMRContainersHttpAuthSchemeProvider;
|
|
@@ -90,4 +91,5 @@ export declare const getRuntimeConfig: (config: EMRContainersClientConfig) => {
|
|
|
90
91
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
91
92
|
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
92
93
|
) => import("@smithy/types").RequestSigner;
|
|
94
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
93
95
|
};
|
|
@@ -75,6 +75,7 @@ export declare const getRuntimeConfig: (config: EMRContainersClientConfig) => {
|
|
|
75
75
|
},
|
|
76
76
|
) => import("@smithy/types").EndpointV2;
|
|
77
77
|
tls?: boolean;
|
|
78
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
78
79
|
serviceConfiguredEndpoint?: never;
|
|
79
80
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
80
81
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
@@ -94,4 +95,5 @@ export declare const getRuntimeConfig: (config: EMRContainersClientConfig) => {
|
|
|
94
95
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
95
96
|
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
96
97
|
) => import("@smithy/types").RequestSigner;
|
|
98
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
97
99
|
};
|
|
@@ -82,6 +82,8 @@ export declare var ParametricS3MonitoringConfiguration$: StaticStructureSchema;
|
|
|
82
82
|
export declare var RetryPolicyConfiguration$: StaticStructureSchema;
|
|
83
83
|
export declare var RetryPolicyExecution$: StaticStructureSchema;
|
|
84
84
|
export declare var S3MonitoringConfiguration$: StaticStructureSchema;
|
|
85
|
+
export declare var SchedulerConfiguration$: StaticStructureSchema;
|
|
86
|
+
export declare var SchedulerStatus$: StaticStructureSchema;
|
|
85
87
|
export declare var SecureNamespaceInfo$: StaticStructureSchema;
|
|
86
88
|
export declare var SecurityConfiguration$: StaticStructureSchema;
|
|
87
89
|
export declare var SecurityConfigurationData$: StaticStructureSchema;
|
|
@@ -95,6 +97,8 @@ export declare var TemplateParameterConfiguration$: StaticStructureSchema;
|
|
|
95
97
|
export declare var TLSCertificateConfiguration$: StaticStructureSchema;
|
|
96
98
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
97
99
|
export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
100
|
+
export declare var UpdateVirtualClusterRequest$: StaticStructureSchema;
|
|
101
|
+
export declare var UpdateVirtualClusterResponse$: StaticStructureSchema;
|
|
98
102
|
export declare var VirtualCluster$: StaticStructureSchema;
|
|
99
103
|
export declare var ContainerInfo$: StaticUnionSchema;
|
|
100
104
|
export declare var Credentials$: StaticUnionSchema;
|
|
@@ -122,3 +126,4 @@ export declare var ListVirtualClusters$: StaticOperationSchema;
|
|
|
122
126
|
export declare var StartJobRun$: StaticOperationSchema;
|
|
123
127
|
export declare var TagResource$: StaticOperationSchema;
|
|
124
128
|
export declare var UntagResource$: StaticOperationSchema;
|
|
129
|
+
export declare var UpdateVirtualCluster$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-emr-containers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1096.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Emr Containers Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-emr-containers",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.977.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.73",
|
|
51
51
|
"@aws-sdk/types": "^3.974.2",
|
|
52
|
-
"@smithy/core": "^3.29.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
54
|
-
"@smithy/node-http-handler": "^4.9.
|
|
52
|
+
"@smithy/core": "^3.29.8",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.6.10",
|
|
54
|
+
"@smithy/node-http-handler": "^4.9.10",
|
|
55
55
|
"@smithy/types": "^4.16.1",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|