@aws-sdk/client-emr 3.934.0 → 3.936.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 +326 -298
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +293 -0
- package/dist-es/models/errors.js +43 -0
- package/dist-es/models/models_0.js +1 -336
- package/dist-es/schemas/schemas_0.js +34 -6
- package/dist-types/commands/DescribeClusterCommand.d.ts +13 -0
- package/dist-types/commands/RunJobFlowCommand.d.ts +13 -0
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +661 -0
- package/dist-types/models/errors.d.ts +55 -0
- package/dist-types/models/models_0.d.ts +65 -723
- package/dist-types/schemas/schemas_0.d.ts +4 -1
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +376 -0
- package/dist-types/ts3.4/models/errors.d.ts +26 -0
- package/dist-types/ts3.4/models/models_0.d.ts +60 -402
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -94,6 +94,7 @@ const _CT = "ClusterTimeline";
|
|
|
94
94
|
const _CTr = "CreationTime";
|
|
95
95
|
const _CV = "ConfigurationsVersion";
|
|
96
96
|
const _CWAD = "CloudWatchAlarmDefinition";
|
|
97
|
+
const _CWLC = "CloudWatchLogConfiguration";
|
|
97
98
|
const _Cl = "Classification";
|
|
98
99
|
const _Clu = "Cluster";
|
|
99
100
|
const _Clus = "Clusters";
|
|
@@ -141,6 +142,7 @@ const _DSes = "DescribeStudio";
|
|
|
141
142
|
const _DT = "DecommissionTimeout";
|
|
142
143
|
const _De = "Description";
|
|
143
144
|
const _Dev = "Device";
|
|
145
|
+
const _E = "Enabled";
|
|
144
146
|
const _EA = "ExpiresAt";
|
|
145
147
|
const _EAZ = "Ec2AvailabilityZone";
|
|
146
148
|
const _EBD = "EbsBlockDevice";
|
|
@@ -311,6 +313,7 @@ const _LCI = "ListClustersInput";
|
|
|
311
313
|
const _LCO = "ListClustersOutput";
|
|
312
314
|
const _LEKKI = "LogEncryptionKmsKeyId";
|
|
313
315
|
const _LF = "LogFile";
|
|
316
|
+
const _LGN = "LogGroupName";
|
|
314
317
|
const _LI = "ListInstances";
|
|
315
318
|
const _LIF = "ListInstanceFleets";
|
|
316
319
|
const _LIFI = "ListInstanceFleetsInput";
|
|
@@ -339,6 +342,7 @@ const _LSIT = "ListSupportedInstanceTypes";
|
|
|
339
342
|
const _LSITI = "ListSupportedInstanceTypesInput";
|
|
340
343
|
const _LSITO = "ListSupportedInstanceTypesOutput";
|
|
341
344
|
const _LSIi = "ListStudiosInput";
|
|
345
|
+
const _LSNP = "LogStreamNamePrefix";
|
|
342
346
|
const _LSO = "ListStepsOutput";
|
|
343
347
|
const _LSOi = "ListStudiosOutput";
|
|
344
348
|
const _LSSM = "ListStudioSessionMappings";
|
|
@@ -346,15 +350,18 @@ const _LSSMI = "ListStudioSessionMappingsInput";
|
|
|
346
350
|
const _LSSMO = "ListStudioSessionMappingsOutput";
|
|
347
351
|
const _LSi = "ListSteps";
|
|
348
352
|
const _LSis = "ListStudios";
|
|
353
|
+
const _LT = "LogTypes";
|
|
354
|
+
const _LTM = "LogTypesMap";
|
|
349
355
|
const _LU = "LogUri";
|
|
350
356
|
const _M = "Message";
|
|
351
|
-
const _MC = "
|
|
357
|
+
const _MC = "MonitoringConfiguration";
|
|
352
358
|
const _MCCU = "MaximumCoreCapacityUnits";
|
|
353
359
|
const _MCI = "ModifyClusterInput";
|
|
354
360
|
const _MCO = "ModifyClusterOutput";
|
|
355
361
|
const _MCU = "MinimumCapacityUnits";
|
|
356
362
|
const _MCUa = "MaximumCapacityUnits";
|
|
357
|
-
const _MCa = "
|
|
363
|
+
const _MCa = "MainClass";
|
|
364
|
+
const _MCax = "MaxCapacity";
|
|
358
365
|
const _MCi = "MinCapacity";
|
|
359
366
|
const _MCo = "ModifyCluster";
|
|
360
367
|
const _MD = "MetricDimension";
|
|
@@ -620,7 +627,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.emr";
|
|
|
620
627
|
const n0 = "com.amazonaws.emr";
|
|
621
628
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
622
629
|
import { EMRServiceException as __EMRServiceException } from "../models/EMRServiceException";
|
|
623
|
-
import { InternalServerError as __InternalServerError, InternalServerException as __InternalServerException, InvalidRequestException as __InvalidRequestException, } from "../models/
|
|
630
|
+
import { InternalServerError as __InternalServerError, InternalServerException as __InternalServerException, InvalidRequestException as __InvalidRequestException, } from "../models/errors";
|
|
624
631
|
export var AddInstanceFleetInput = [3, n0, _AIFI, 0, [_CI, _IF], [0, () => InstanceFleetConfig]];
|
|
625
632
|
export var AddInstanceFleetOutput = [3, n0, _AIFO, 0, [_CI, _IFI, _CA], [0, 0, 0]];
|
|
626
633
|
export var AddInstanceGroupsInput = [
|
|
@@ -699,6 +706,14 @@ export var CloudWatchAlarmDefinition = [
|
|
|
699
706
|
[_CO, _EP, _MN, _Na, _Pe, _Stat, _Th, _U, _D],
|
|
700
707
|
[0, 1, 0, 0, 1, 0, 1, 0, () => MetricDimensionList],
|
|
701
708
|
];
|
|
709
|
+
export var CloudWatchLogConfiguration = [
|
|
710
|
+
3,
|
|
711
|
+
n0,
|
|
712
|
+
_CWLC,
|
|
713
|
+
0,
|
|
714
|
+
[_E, _LGN, _LSNP, _EKA, _LT],
|
|
715
|
+
[2, 0, 0, 0, [2, n0, _LTM, 0, 0, 64 | 0]],
|
|
716
|
+
];
|
|
702
717
|
export var Cluster = [
|
|
703
718
|
3,
|
|
704
719
|
n0,
|
|
@@ -740,6 +755,7 @@ export var Cluster = [
|
|
|
740
755
|
_ERVI,
|
|
741
756
|
_ERVT,
|
|
742
757
|
_ES,
|
|
758
|
+
_MC,
|
|
743
759
|
],
|
|
744
760
|
[
|
|
745
761
|
0,
|
|
@@ -777,6 +793,7 @@ export var Cluster = [
|
|
|
777
793
|
1,
|
|
778
794
|
1,
|
|
779
795
|
2,
|
|
796
|
+
() => MonitoringConfiguration,
|
|
780
797
|
],
|
|
781
798
|
];
|
|
782
799
|
export var ClusterStateChangeReason = [3, n0, _CSCR, 0, [_Co, _M], [0, 0]];
|
|
@@ -995,10 +1012,10 @@ export var HadoopJarStepConfig = [
|
|
|
995
1012
|
n0,
|
|
996
1013
|
_HJSC,
|
|
997
1014
|
0,
|
|
998
|
-
[_P, _J,
|
|
1015
|
+
[_P, _J, _MCa, _Ar],
|
|
999
1016
|
[() => KeyValueList, 0, 0, 64 | 0],
|
|
1000
1017
|
];
|
|
1001
|
-
export var HadoopStepConfig = [3, n0, _HSC, 0, [_J, _P,
|
|
1018
|
+
export var HadoopStepConfig = [3, n0, _HSC, 0, [_J, _P, _MCa, _Ar], [0, 128 | 0, 0, 64 | 0]];
|
|
1002
1019
|
export var Instance = [
|
|
1003
1020
|
3,
|
|
1004
1021
|
n0,
|
|
@@ -1392,6 +1409,14 @@ export var ModifyInstanceGroupsInput = [
|
|
|
1392
1409
|
[_CI, _IG],
|
|
1393
1410
|
[0, () => InstanceGroupModifyConfigList],
|
|
1394
1411
|
];
|
|
1412
|
+
export var MonitoringConfiguration = [
|
|
1413
|
+
3,
|
|
1414
|
+
n0,
|
|
1415
|
+
_MC,
|
|
1416
|
+
0,
|
|
1417
|
+
[_CWLC],
|
|
1418
|
+
[() => CloudWatchLogConfiguration],
|
|
1419
|
+
];
|
|
1395
1420
|
export var NotebookExecution = [
|
|
1396
1421
|
3,
|
|
1397
1422
|
n0,
|
|
@@ -1556,6 +1581,7 @@ export var RunJobFlowInput = [
|
|
|
1556
1581
|
_ERVI,
|
|
1557
1582
|
_ERVT,
|
|
1558
1583
|
_ES,
|
|
1584
|
+
_MC,
|
|
1559
1585
|
],
|
|
1560
1586
|
[
|
|
1561
1587
|
0,
|
|
@@ -1590,6 +1616,7 @@ export var RunJobFlowInput = [
|
|
|
1590
1616
|
1,
|
|
1591
1617
|
1,
|
|
1592
1618
|
2,
|
|
1619
|
+
() => MonitoringConfiguration,
|
|
1593
1620
|
],
|
|
1594
1621
|
];
|
|
1595
1622
|
export var RunJobFlowOutput = [3, n0, _RJFO, 0, [_JFI, _CA], [0, 0]];
|
|
@@ -1601,7 +1628,7 @@ export var ScalingAction = [
|
|
|
1601
1628
|
[_Ma, _SSPC],
|
|
1602
1629
|
[0, () => SimpleScalingPolicyConfiguration],
|
|
1603
1630
|
];
|
|
1604
|
-
export var ScalingConstraints = [3, n0, _SCc, 0, [_MCi,
|
|
1631
|
+
export var ScalingConstraints = [3, n0, _SCc, 0, [_MCi, _MCax], [1, 1]];
|
|
1605
1632
|
export var ScalingRule = [
|
|
1606
1633
|
3,
|
|
1607
1634
|
n0,
|
|
@@ -1844,6 +1871,7 @@ export var TagList = [1, n0, _TL, 0, () => Tag];
|
|
|
1844
1871
|
export var XmlStringList = 64 | 0;
|
|
1845
1872
|
export var XmlStringMaxLen256List = 64 | 0;
|
|
1846
1873
|
export var EnvironmentVariablesMap = 128 | 0;
|
|
1874
|
+
export var LogTypesMap = [2, n0, _LTM, 0, 0, 64 | 0];
|
|
1847
1875
|
export var StringMap = 128 | 0;
|
|
1848
1876
|
export var Credentials = [3, n0, _Cr, 0, [_UP], [[() => UsernamePassword, 0]]];
|
|
1849
1877
|
export var AddInstanceFleet = [
|
|
@@ -164,6 +164,19 @@ declare const DescribeClusterCommand_base: {
|
|
|
164
164
|
* // EbsRootVolumeIops: Number("int"),
|
|
165
165
|
* // EbsRootVolumeThroughput: Number("int"),
|
|
166
166
|
* // ExtendedSupport: true || false,
|
|
167
|
+
* // MonitoringConfiguration: { // MonitoringConfiguration
|
|
168
|
+
* // CloudWatchLogConfiguration: { // CloudWatchLogConfiguration
|
|
169
|
+
* // Enabled: true || false, // required
|
|
170
|
+
* // LogGroupName: "STRING_VALUE",
|
|
171
|
+
* // LogStreamNamePrefix: "STRING_VALUE",
|
|
172
|
+
* // EncryptionKeyArn: "STRING_VALUE",
|
|
173
|
+
* // LogTypes: { // LogTypesMap
|
|
174
|
+
* // "<keys>": [ // XmlStringList
|
|
175
|
+
* // "STRING_VALUE",
|
|
176
|
+
* // ],
|
|
177
|
+
* // },
|
|
178
|
+
* // },
|
|
179
|
+
* // },
|
|
167
180
|
* // },
|
|
168
181
|
* // };
|
|
169
182
|
*
|
|
@@ -337,6 +337,19 @@ declare const RunJobFlowCommand_base: {
|
|
|
337
337
|
* EbsRootVolumeIops: Number("int"),
|
|
338
338
|
* EbsRootVolumeThroughput: Number("int"),
|
|
339
339
|
* ExtendedSupport: true || false,
|
|
340
|
+
* MonitoringConfiguration: { // MonitoringConfiguration
|
|
341
|
+
* CloudWatchLogConfiguration: { // CloudWatchLogConfiguration
|
|
342
|
+
* Enabled: true || false, // required
|
|
343
|
+
* LogGroupName: "STRING_VALUE",
|
|
344
|
+
* LogStreamNamePrefix: "STRING_VALUE",
|
|
345
|
+
* EncryptionKeyArn: "STRING_VALUE",
|
|
346
|
+
* LogTypes: { // LogTypesMap
|
|
347
|
+
* "<keys>": [
|
|
348
|
+
* "STRING_VALUE",
|
|
349
|
+
* ],
|
|
350
|
+
* },
|
|
351
|
+
* },
|
|
352
|
+
* },
|
|
340
353
|
* };
|
|
341
354
|
* const command = new RunJobFlowCommand(input);
|
|
342
355
|
* const response = await client.send(command);
|
package/dist-types/index.d.ts
CHANGED
|
@@ -13,5 +13,7 @@ export type { EMRExtensionConfiguration } from "./extensionConfiguration";
|
|
|
13
13
|
export * from "./commands";
|
|
14
14
|
export * from "./pagination";
|
|
15
15
|
export * from "./waiters";
|
|
16
|
-
export * from "./models";
|
|
16
|
+
export * from "./models/enums";
|
|
17
|
+
export * from "./models/errors";
|
|
18
|
+
export type * from "./models/models_0";
|
|
17
19
|
export { EMRServiceException } from "./models/EMRServiceException";
|