@aws-sdk/client-emr 3.300.0 → 3.303.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/models/models_0.js +258 -298
- package/dist-cjs/protocols/Aws_json1_1.js +30 -0
- package/dist-es/models/models_0.js +258 -298
- package/dist-es/protocols/Aws_json1_1.js +30 -0
- package/dist-types/commands/AddInstanceFleetCommand.d.ts +19 -21
- package/dist-types/commands/AddInstanceGroupsCommand.d.ts +21 -23
- package/dist-types/commands/AddJobFlowStepsCommand.d.ts +7 -7
- package/dist-types/commands/AddTagsCommand.d.ts +3 -3
- package/dist-types/commands/CancelStepsCommand.d.ts +2 -2
- package/dist-types/commands/CreateSecurityConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/CreateStudioCommand.d.ts +4 -4
- package/dist-types/commands/CreateStudioSessionMappingCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSecurityConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteStudioCommand.d.ts +1 -1
- package/dist-types/commands/DeleteStudioSessionMappingCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobFlowsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeNotebookExecutionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReleaseLabelCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeStepCommand.d.ts +1 -1
- package/dist-types/commands/DescribeStudioCommand.d.ts +1 -1
- package/dist-types/commands/GetAutoTerminationPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetClusterSessionCredentialsCommand.d.ts +1 -1
- package/dist-types/commands/GetManagedScalingPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetStudioSessionMappingCommand.d.ts +1 -1
- package/dist-types/commands/ListBootstrapActionsCommand.d.ts +1 -1
- package/dist-types/commands/ListClustersCommand.d.ts +2 -2
- package/dist-types/commands/ListInstanceFleetsCommand.d.ts +1 -1
- package/dist-types/commands/ListInstanceGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListInstancesCommand.d.ts +3 -3
- package/dist-types/commands/ListNotebookExecutionsCommand.d.ts +1 -1
- package/dist-types/commands/ListReleaseLabelsCommand.d.ts +2 -2
- package/dist-types/commands/ListSecurityConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListStepsCommand.d.ts +3 -3
- package/dist-types/commands/ListStudioSessionMappingsCommand.d.ts +1 -1
- package/dist-types/commands/ListStudiosCommand.d.ts +1 -1
- package/dist-types/commands/ModifyClusterCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceFleetCommand.d.ts +5 -5
- package/dist-types/commands/ModifyInstanceGroupsCommand.d.ts +11 -13
- package/dist-types/commands/PutAutoScalingPolicyCommand.d.ts +11 -11
- package/dist-types/commands/PutAutoTerminationPolicyCommand.d.ts +2 -2
- package/dist-types/commands/PutBlockPublicAccessConfigurationCommand.d.ts +9 -13
- package/dist-types/commands/PutManagedScalingPolicyCommand.d.ts +3 -3
- package/dist-types/commands/RemoveAutoScalingPolicyCommand.d.ts +1 -1
- package/dist-types/commands/RemoveAutoTerminationPolicyCommand.d.ts +1 -1
- package/dist-types/commands/RemoveManagedScalingPolicyCommand.d.ts +1 -1
- package/dist-types/commands/RemoveTagsCommand.d.ts +2 -2
- package/dist-types/commands/RunJobFlowCommand.d.ts +62 -70
- package/dist-types/commands/SetTerminationProtectionCommand.d.ts +2 -2
- package/dist-types/commands/SetVisibleToAllUsersCommand.d.ts +2 -2
- package/dist-types/commands/StartNotebookExecutionCommand.d.ts +4 -4
- package/dist-types/commands/StopNotebookExecutionCommand.d.ts +1 -1
- package/dist-types/commands/TerminateJobFlowsCommand.d.ts +2 -2
- package/dist-types/commands/UpdateStudioCommand.d.ts +2 -2
- package/dist-types/commands/UpdateStudioSessionMappingCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +479 -257
- package/dist-types/ts3.4/models/models_0.d.ts +336 -258
- package/package.json +35 -35
|
@@ -3562,6 +3562,7 @@ const deserializeAws_json1_1ClusterStateChangeReason = (output, context) => {
|
|
|
3562
3562
|
};
|
|
3563
3563
|
const deserializeAws_json1_1ClusterStatus = (output, context) => {
|
|
3564
3564
|
return {
|
|
3565
|
+
ErrorDetails: output.ErrorDetails != null ? deserializeAws_json1_1ErrorDetailList(output.ErrorDetails, context) : undefined,
|
|
3565
3566
|
State: __expectString(output.State),
|
|
3566
3567
|
StateChangeReason: output.StateChangeReason != null
|
|
3567
3568
|
? deserializeAws_json1_1ClusterStateChangeReason(output.StateChangeReason, context)
|
|
@@ -3793,6 +3794,35 @@ const deserializeAws_json1_1EC2InstanceIdsList = (output, context) => {
|
|
|
3793
3794
|
});
|
|
3794
3795
|
return retVal;
|
|
3795
3796
|
};
|
|
3797
|
+
const deserializeAws_json1_1ErrorData = (output, context) => {
|
|
3798
|
+
const retVal = (output || [])
|
|
3799
|
+
.filter((e) => e != null)
|
|
3800
|
+
.map((entry) => {
|
|
3801
|
+
if (entry === null) {
|
|
3802
|
+
return null;
|
|
3803
|
+
}
|
|
3804
|
+
return deserializeAws_json1_1StringMap(entry, context);
|
|
3805
|
+
});
|
|
3806
|
+
return retVal;
|
|
3807
|
+
};
|
|
3808
|
+
const deserializeAws_json1_1ErrorDetail = (output, context) => {
|
|
3809
|
+
return {
|
|
3810
|
+
ErrorCode: __expectString(output.ErrorCode),
|
|
3811
|
+
ErrorData: output.ErrorData != null ? deserializeAws_json1_1ErrorData(output.ErrorData, context) : undefined,
|
|
3812
|
+
ErrorMessage: __expectString(output.ErrorMessage),
|
|
3813
|
+
};
|
|
3814
|
+
};
|
|
3815
|
+
const deserializeAws_json1_1ErrorDetailList = (output, context) => {
|
|
3816
|
+
const retVal = (output || [])
|
|
3817
|
+
.filter((e) => e != null)
|
|
3818
|
+
.map((entry) => {
|
|
3819
|
+
if (entry === null) {
|
|
3820
|
+
return null;
|
|
3821
|
+
}
|
|
3822
|
+
return deserializeAws_json1_1ErrorDetail(entry, context);
|
|
3823
|
+
});
|
|
3824
|
+
return retVal;
|
|
3825
|
+
};
|
|
3796
3826
|
const deserializeAws_json1_1ExecutionEngineConfig = (output, context) => {
|
|
3797
3827
|
return {
|
|
3798
3828
|
Id: __expectString(output.Id),
|
|
@@ -30,23 +30,23 @@ export interface AddInstanceFleetCommandOutput extends AddInstanceFleetOutput, _
|
|
|
30
30
|
* import { EMRClient, AddInstanceFleetCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
31
31
|
* // const { EMRClient, AddInstanceFleetCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
32
32
|
* const client = new EMRClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // AddInstanceFleetInput
|
|
34
34
|
* ClusterId: "STRING_VALUE", // required
|
|
35
|
-
* InstanceFleet: {
|
|
35
|
+
* InstanceFleet: { // InstanceFleetConfig
|
|
36
36
|
* Name: "STRING_VALUE",
|
|
37
37
|
* InstanceFleetType: "MASTER" || "CORE" || "TASK", // required
|
|
38
38
|
* TargetOnDemandCapacity: Number("int"),
|
|
39
39
|
* TargetSpotCapacity: Number("int"),
|
|
40
|
-
* InstanceTypeConfigs: [
|
|
41
|
-
* {
|
|
40
|
+
* InstanceTypeConfigs: [ // InstanceTypeConfigList
|
|
41
|
+
* { // InstanceTypeConfig
|
|
42
42
|
* InstanceType: "STRING_VALUE", // required
|
|
43
43
|
* WeightedCapacity: Number("int"),
|
|
44
44
|
* BidPrice: "STRING_VALUE",
|
|
45
45
|
* BidPriceAsPercentageOfOnDemandPrice: Number("double"),
|
|
46
|
-
* EbsConfiguration: {
|
|
47
|
-
* EbsBlockDeviceConfigs: [
|
|
48
|
-
* {
|
|
49
|
-
* VolumeSpecification: {
|
|
46
|
+
* EbsConfiguration: { // EbsConfiguration
|
|
47
|
+
* EbsBlockDeviceConfigs: [ // EbsBlockDeviceConfigList
|
|
48
|
+
* { // EbsBlockDeviceConfig
|
|
49
|
+
* VolumeSpecification: { // VolumeSpecification
|
|
50
50
|
* VolumeType: "STRING_VALUE", // required
|
|
51
51
|
* Iops: Number("int"),
|
|
52
52
|
* SizeInGB: Number("int"), // required
|
|
@@ -57,16 +57,14 @@ export interface AddInstanceFleetCommandOutput extends AddInstanceFleetOutput, _
|
|
|
57
57
|
* ],
|
|
58
58
|
* EbsOptimized: true || false,
|
|
59
59
|
* },
|
|
60
|
-
* Configurations: [
|
|
61
|
-
* {
|
|
60
|
+
* Configurations: [ // ConfigurationList
|
|
61
|
+
* { // Configuration
|
|
62
62
|
* Classification: "STRING_VALUE",
|
|
63
63
|
* Configurations: [
|
|
64
64
|
* {
|
|
65
65
|
* Classification: "STRING_VALUE",
|
|
66
|
-
* Configurations:
|
|
67
|
-
*
|
|
68
|
-
* ],
|
|
69
|
-
* Properties: {
|
|
66
|
+
* Configurations: "<ConfigurationList>",
|
|
67
|
+
* Properties: { // StringMap
|
|
70
68
|
* "<keys>": "STRING_VALUE",
|
|
71
69
|
* },
|
|
72
70
|
* },
|
|
@@ -79,27 +77,27 @@ export interface AddInstanceFleetCommandOutput extends AddInstanceFleetOutput, _
|
|
|
79
77
|
* CustomAmiId: "STRING_VALUE",
|
|
80
78
|
* },
|
|
81
79
|
* ],
|
|
82
|
-
* LaunchSpecifications: {
|
|
83
|
-
* SpotSpecification: {
|
|
80
|
+
* LaunchSpecifications: { // InstanceFleetProvisioningSpecifications
|
|
81
|
+
* SpotSpecification: { // SpotProvisioningSpecification
|
|
84
82
|
* TimeoutDurationMinutes: Number("int"), // required
|
|
85
83
|
* TimeoutAction: "SWITCH_TO_ON_DEMAND" || "TERMINATE_CLUSTER", // required
|
|
86
84
|
* BlockDurationMinutes: Number("int"),
|
|
87
85
|
* AllocationStrategy: "capacity-optimized",
|
|
88
86
|
* },
|
|
89
|
-
* OnDemandSpecification: {
|
|
87
|
+
* OnDemandSpecification: { // OnDemandProvisioningSpecification
|
|
90
88
|
* AllocationStrategy: "lowest-price", // required
|
|
91
|
-
* CapacityReservationOptions: {
|
|
89
|
+
* CapacityReservationOptions: { // OnDemandCapacityReservationOptions
|
|
92
90
|
* UsageStrategy: "use-capacity-reservations-first",
|
|
93
91
|
* CapacityReservationPreference: "open" || "none",
|
|
94
92
|
* CapacityReservationResourceGroupArn: "STRING_VALUE",
|
|
95
93
|
* },
|
|
96
94
|
* },
|
|
97
95
|
* },
|
|
98
|
-
* ResizeSpecifications: {
|
|
99
|
-
* SpotResizeSpecification: {
|
|
96
|
+
* ResizeSpecifications: { // InstanceFleetResizingSpecifications
|
|
97
|
+
* SpotResizeSpecification: { // SpotResizingSpecification
|
|
100
98
|
* TimeoutDurationMinutes: Number("int"), // required
|
|
101
99
|
* },
|
|
102
|
-
* OnDemandResizeSpecification: {
|
|
100
|
+
* OnDemandResizeSpecification: { // OnDemandResizingSpecification
|
|
103
101
|
* TimeoutDurationMinutes: Number("int"), // required
|
|
104
102
|
* },
|
|
105
103
|
* },
|
|
@@ -26,25 +26,23 @@ export interface AddInstanceGroupsCommandOutput extends AddInstanceGroupsOutput,
|
|
|
26
26
|
* import { EMRClient, AddInstanceGroupsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, AddInstanceGroupsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* InstanceGroups: [ // required
|
|
31
|
-
* {
|
|
29
|
+
* const input = { // AddInstanceGroupsInput
|
|
30
|
+
* InstanceGroups: [ // InstanceGroupConfigList // required
|
|
31
|
+
* { // InstanceGroupConfig
|
|
32
32
|
* Name: "STRING_VALUE",
|
|
33
33
|
* Market: "ON_DEMAND" || "SPOT",
|
|
34
34
|
* InstanceRole: "MASTER" || "CORE" || "TASK", // required
|
|
35
35
|
* BidPrice: "STRING_VALUE",
|
|
36
36
|
* InstanceType: "STRING_VALUE", // required
|
|
37
37
|
* InstanceCount: Number("int"), // required
|
|
38
|
-
* Configurations: [
|
|
39
|
-
* {
|
|
38
|
+
* Configurations: [ // ConfigurationList
|
|
39
|
+
* { // Configuration
|
|
40
40
|
* Classification: "STRING_VALUE",
|
|
41
41
|
* Configurations: [
|
|
42
42
|
* {
|
|
43
43
|
* Classification: "STRING_VALUE",
|
|
44
|
-
* Configurations:
|
|
45
|
-
*
|
|
46
|
-
* ],
|
|
47
|
-
* Properties: {
|
|
44
|
+
* Configurations: "<ConfigurationList>",
|
|
45
|
+
* Properties: { // StringMap
|
|
48
46
|
* "<keys>": "STRING_VALUE",
|
|
49
47
|
* },
|
|
50
48
|
* },
|
|
@@ -54,10 +52,10 @@ export interface AddInstanceGroupsCommandOutput extends AddInstanceGroupsOutput,
|
|
|
54
52
|
* },
|
|
55
53
|
* },
|
|
56
54
|
* ],
|
|
57
|
-
* EbsConfiguration: {
|
|
58
|
-
* EbsBlockDeviceConfigs: [
|
|
59
|
-
* {
|
|
60
|
-
* VolumeSpecification: {
|
|
55
|
+
* EbsConfiguration: { // EbsConfiguration
|
|
56
|
+
* EbsBlockDeviceConfigs: [ // EbsBlockDeviceConfigList
|
|
57
|
+
* { // EbsBlockDeviceConfig
|
|
58
|
+
* VolumeSpecification: { // VolumeSpecification
|
|
61
59
|
* VolumeType: "STRING_VALUE", // required
|
|
62
60
|
* Iops: Number("int"),
|
|
63
61
|
* SizeInGB: Number("int"), // required
|
|
@@ -68,25 +66,25 @@ export interface AddInstanceGroupsCommandOutput extends AddInstanceGroupsOutput,
|
|
|
68
66
|
* ],
|
|
69
67
|
* EbsOptimized: true || false,
|
|
70
68
|
* },
|
|
71
|
-
* AutoScalingPolicy: {
|
|
72
|
-
* Constraints: {
|
|
69
|
+
* AutoScalingPolicy: { // AutoScalingPolicy
|
|
70
|
+
* Constraints: { // ScalingConstraints
|
|
73
71
|
* MinCapacity: Number("int"), // required
|
|
74
72
|
* MaxCapacity: Number("int"), // required
|
|
75
73
|
* },
|
|
76
|
-
* Rules: [ // required
|
|
77
|
-
* {
|
|
74
|
+
* Rules: [ // ScalingRuleList // required
|
|
75
|
+
* { // ScalingRule
|
|
78
76
|
* Name: "STRING_VALUE", // required
|
|
79
77
|
* Description: "STRING_VALUE",
|
|
80
|
-
* Action: {
|
|
78
|
+
* Action: { // ScalingAction
|
|
81
79
|
* Market: "ON_DEMAND" || "SPOT",
|
|
82
|
-
* SimpleScalingPolicyConfiguration: {
|
|
80
|
+
* SimpleScalingPolicyConfiguration: { // SimpleScalingPolicyConfiguration
|
|
83
81
|
* AdjustmentType: "CHANGE_IN_CAPACITY" || "PERCENT_CHANGE_IN_CAPACITY" || "EXACT_CAPACITY",
|
|
84
82
|
* ScalingAdjustment: Number("int"), // required
|
|
85
83
|
* CoolDown: Number("int"),
|
|
86
84
|
* },
|
|
87
85
|
* },
|
|
88
|
-
* Trigger: {
|
|
89
|
-
* CloudWatchAlarmDefinition: {
|
|
86
|
+
* Trigger: { // ScalingTrigger
|
|
87
|
+
* CloudWatchAlarmDefinition: { // CloudWatchAlarmDefinition
|
|
90
88
|
* ComparisonOperator: "GREATER_THAN_OR_EQUAL" || "GREATER_THAN" || "LESS_THAN" || "LESS_THAN_OR_EQUAL", // required
|
|
91
89
|
* EvaluationPeriods: Number("int"),
|
|
92
90
|
* MetricName: "STRING_VALUE", // required
|
|
@@ -95,8 +93,8 @@ export interface AddInstanceGroupsCommandOutput extends AddInstanceGroupsOutput,
|
|
|
95
93
|
* Statistic: "SAMPLE_COUNT" || "AVERAGE" || "SUM" || "MINIMUM" || "MAXIMUM",
|
|
96
94
|
* Threshold: Number("double"), // required
|
|
97
95
|
* Unit: "NONE" || "SECONDS" || "MICRO_SECONDS" || "MILLI_SECONDS" || "BYTES" || "KILO_BYTES" || "MEGA_BYTES" || "GIGA_BYTES" || "TERA_BYTES" || "BITS" || "KILO_BITS" || "MEGA_BITS" || "GIGA_BITS" || "TERA_BITS" || "PERCENT" || "COUNT" || "BYTES_PER_SECOND" || "KILO_BYTES_PER_SECOND" || "MEGA_BYTES_PER_SECOND" || "GIGA_BYTES_PER_SECOND" || "TERA_BYTES_PER_SECOND" || "BITS_PER_SECOND" || "KILO_BITS_PER_SECOND" || "MEGA_BITS_PER_SECOND" || "GIGA_BITS_PER_SECOND" || "TERA_BITS_PER_SECOND" || "COUNT_PER_SECOND",
|
|
98
|
-
* Dimensions: [
|
|
99
|
-
* {
|
|
96
|
+
* Dimensions: [ // MetricDimensionList
|
|
97
|
+
* { // MetricDimension
|
|
100
98
|
* Key: "STRING_VALUE",
|
|
101
99
|
* Value: "STRING_VALUE",
|
|
102
100
|
* },
|
|
@@ -44,22 +44,22 @@ export interface AddJobFlowStepsCommandOutput extends AddJobFlowStepsOutput, __M
|
|
|
44
44
|
* import { EMRClient, AddJobFlowStepsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
45
45
|
* // const { EMRClient, AddJobFlowStepsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
46
46
|
* const client = new EMRClient(config);
|
|
47
|
-
* const input = {
|
|
47
|
+
* const input = { // AddJobFlowStepsInput
|
|
48
48
|
* JobFlowId: "STRING_VALUE", // required
|
|
49
|
-
* Steps: [ // required
|
|
50
|
-
* {
|
|
49
|
+
* Steps: [ // StepConfigList // required
|
|
50
|
+
* { // StepConfig
|
|
51
51
|
* Name: "STRING_VALUE", // required
|
|
52
52
|
* ActionOnFailure: "TERMINATE_JOB_FLOW" || "TERMINATE_CLUSTER" || "CANCEL_AND_WAIT" || "CONTINUE",
|
|
53
|
-
* HadoopJarStep: {
|
|
54
|
-
* Properties: [
|
|
55
|
-
* {
|
|
53
|
+
* HadoopJarStep: { // HadoopJarStepConfig
|
|
54
|
+
* Properties: [ // KeyValueList
|
|
55
|
+
* { // KeyValue
|
|
56
56
|
* Key: "STRING_VALUE",
|
|
57
57
|
* Value: "STRING_VALUE",
|
|
58
58
|
* },
|
|
59
59
|
* ],
|
|
60
60
|
* Jar: "STRING_VALUE", // required
|
|
61
61
|
* MainClass: "STRING_VALUE",
|
|
62
|
-
* Args: [
|
|
62
|
+
* Args: [ // XmlStringList
|
|
63
63
|
* "STRING_VALUE",
|
|
64
64
|
* ],
|
|
65
65
|
* },
|
|
@@ -30,10 +30,10 @@ export interface AddTagsCommandOutput extends AddTagsOutput, __MetadataBearer {
|
|
|
30
30
|
* import { EMRClient, AddTagsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
31
31
|
* // const { EMRClient, AddTagsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
32
32
|
* const client = new EMRClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // AddTagsInput
|
|
34
34
|
* ResourceId: "STRING_VALUE", // required
|
|
35
|
-
* Tags: [ // required
|
|
36
|
-
* {
|
|
35
|
+
* Tags: [ // TagList // required
|
|
36
|
+
* { // Tag
|
|
37
37
|
* Key: "STRING_VALUE",
|
|
38
38
|
* Value: "STRING_VALUE",
|
|
39
39
|
* },
|
|
@@ -30,9 +30,9 @@ export interface CancelStepsCommandOutput extends CancelStepsOutput, __MetadataB
|
|
|
30
30
|
* import { EMRClient, CancelStepsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
31
31
|
* // const { EMRClient, CancelStepsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
32
32
|
* const client = new EMRClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // CancelStepsInput
|
|
34
34
|
* ClusterId: "STRING_VALUE", // required
|
|
35
|
-
* StepIds: [ // required
|
|
35
|
+
* StepIds: [ // StepIdsList // required
|
|
36
36
|
* "STRING_VALUE",
|
|
37
37
|
* ],
|
|
38
38
|
* StepCancellationOption: "SEND_INTERRUPT" || "TERMINATE_PROCESS",
|
|
@@ -27,7 +27,7 @@ export interface CreateSecurityConfigurationCommandOutput extends CreateSecurity
|
|
|
27
27
|
* import { EMRClient, CreateSecurityConfigurationCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
28
28
|
* // const { EMRClient, CreateSecurityConfigurationCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
29
29
|
* const client = new EMRClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // CreateSecurityConfigurationInput
|
|
31
31
|
* Name: "STRING_VALUE", // required
|
|
32
32
|
* SecurityConfiguration: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
@@ -26,12 +26,12 @@ export interface CreateStudioCommandOutput extends CreateStudioOutput, __Metadat
|
|
|
26
26
|
* import { EMRClient, CreateStudioCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, CreateStudioCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateStudioInput
|
|
30
30
|
* Name: "STRING_VALUE", // required
|
|
31
31
|
* Description: "STRING_VALUE",
|
|
32
32
|
* AuthMode: "SSO" || "IAM", // required
|
|
33
33
|
* VpcId: "STRING_VALUE", // required
|
|
34
|
-
* SubnetIds: [ // required
|
|
34
|
+
* SubnetIds: [ // SubnetIdList // required
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* ServiceRole: "STRING_VALUE", // required
|
|
@@ -41,8 +41,8 @@ export interface CreateStudioCommandOutput extends CreateStudioOutput, __Metadat
|
|
|
41
41
|
* DefaultS3Location: "STRING_VALUE", // required
|
|
42
42
|
* IdpAuthUrl: "STRING_VALUE",
|
|
43
43
|
* IdpRelayStateParameterName: "STRING_VALUE",
|
|
44
|
-
* Tags: [
|
|
45
|
-
* {
|
|
44
|
+
* Tags: [ // TagList
|
|
45
|
+
* { // Tag
|
|
46
46
|
* Key: "STRING_VALUE",
|
|
47
47
|
* Value: "STRING_VALUE",
|
|
48
48
|
* },
|
|
@@ -30,7 +30,7 @@ export interface CreateStudioSessionMappingCommandOutput extends __MetadataBeare
|
|
|
30
30
|
* import { EMRClient, CreateStudioSessionMappingCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
31
31
|
* // const { EMRClient, CreateStudioSessionMappingCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
32
32
|
* const client = new EMRClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // CreateStudioSessionMappingInput
|
|
34
34
|
* StudioId: "STRING_VALUE", // required
|
|
35
35
|
* IdentityId: "STRING_VALUE",
|
|
36
36
|
* IdentityName: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface DeleteSecurityConfigurationCommandOutput extends DeleteSecurity
|
|
|
26
26
|
* import { EMRClient, DeleteSecurityConfigurationCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, DeleteSecurityConfigurationCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteSecurityConfigurationInput
|
|
30
30
|
* Name: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteSecurityConfigurationCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DeleteStudioCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { EMRClient, DeleteStudioCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, DeleteStudioCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteStudioInput
|
|
30
30
|
* StudioId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteStudioCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DeleteStudioSessionMappingCommandOutput extends __MetadataBeare
|
|
|
26
26
|
* import { EMRClient, DeleteStudioSessionMappingCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, DeleteStudioSessionMappingCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteStudioSessionMappingInput
|
|
30
30
|
* StudioId: "STRING_VALUE", // required
|
|
31
31
|
* IdentityId: "STRING_VALUE",
|
|
32
32
|
* IdentityName: "STRING_VALUE",
|
|
@@ -27,7 +27,7 @@ export interface DescribeClusterCommandOutput extends DescribeClusterOutput, __M
|
|
|
27
27
|
* import { EMRClient, DescribeClusterCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
28
28
|
* // const { EMRClient, DescribeClusterCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
29
29
|
* const client = new EMRClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DescribeClusterInput
|
|
31
31
|
* ClusterId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DescribeClusterCommand(input);
|
|
@@ -48,13 +48,13 @@ export interface DescribeJobFlowsCommandOutput extends DescribeJobFlowsOutput, _
|
|
|
48
48
|
* import { EMRClient, DescribeJobFlowsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
49
49
|
* // const { EMRClient, DescribeJobFlowsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
50
50
|
* const client = new EMRClient(config);
|
|
51
|
-
* const input = {
|
|
51
|
+
* const input = { // DescribeJobFlowsInput
|
|
52
52
|
* CreatedAfter: new Date("TIMESTAMP"),
|
|
53
53
|
* CreatedBefore: new Date("TIMESTAMP"),
|
|
54
|
-
* JobFlowIds: [
|
|
54
|
+
* JobFlowIds: [ // XmlStringList
|
|
55
55
|
* "STRING_VALUE",
|
|
56
56
|
* ],
|
|
57
|
-
* JobFlowStates: [
|
|
57
|
+
* JobFlowStates: [ // JobFlowExecutionStateList
|
|
58
58
|
* "STARTING" || "BOOTSTRAPPING" || "RUNNING" || "WAITING" || "SHUTTING_DOWN" || "TERMINATED" || "COMPLETED" || "FAILED",
|
|
59
59
|
* ],
|
|
60
60
|
* };
|
|
@@ -26,7 +26,7 @@ export interface DescribeNotebookExecutionCommandOutput extends DescribeNotebook
|
|
|
26
26
|
* import { EMRClient, DescribeNotebookExecutionCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, DescribeNotebookExecutionCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeNotebookExecutionInput
|
|
30
30
|
* NotebookExecutionId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DescribeNotebookExecutionCommand(input);
|
|
@@ -28,7 +28,7 @@ export interface DescribeReleaseLabelCommandOutput extends DescribeReleaseLabelO
|
|
|
28
28
|
* import { EMRClient, DescribeReleaseLabelCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
29
29
|
* // const { EMRClient, DescribeReleaseLabelCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
30
30
|
* const client = new EMRClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DescribeReleaseLabelInput
|
|
32
32
|
* ReleaseLabel: "STRING_VALUE",
|
|
33
33
|
* NextToken: "STRING_VALUE",
|
|
34
34
|
* MaxResults: Number("int"),
|
|
@@ -27,7 +27,7 @@ export interface DescribeSecurityConfigurationCommandOutput extends DescribeSecu
|
|
|
27
27
|
* import { EMRClient, DescribeSecurityConfigurationCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
28
28
|
* // const { EMRClient, DescribeSecurityConfigurationCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
29
29
|
* const client = new EMRClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DescribeSecurityConfigurationInput
|
|
31
31
|
* Name: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DescribeSecurityConfigurationCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DescribeStepCommandOutput extends DescribeStepOutput, __Metadat
|
|
|
26
26
|
* import { EMRClient, DescribeStepCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, DescribeStepCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeStepInput
|
|
30
30
|
* ClusterId: "STRING_VALUE", // required
|
|
31
31
|
* StepId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -27,7 +27,7 @@ export interface DescribeStudioCommandOutput extends DescribeStudioOutput, __Met
|
|
|
27
27
|
* import { EMRClient, DescribeStudioCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
28
28
|
* // const { EMRClient, DescribeStudioCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
29
29
|
* const client = new EMRClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DescribeStudioInput
|
|
31
31
|
* StudioId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DescribeStudioCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface GetAutoTerminationPolicyCommandOutput extends GetAutoTerminatio
|
|
|
26
26
|
* import { EMRClient, GetAutoTerminationPolicyCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, GetAutoTerminationPolicyCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetAutoTerminationPolicyInput
|
|
30
30
|
* ClusterId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetAutoTerminationPolicyCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface GetClusterSessionCredentialsCommandOutput extends GetClusterSes
|
|
|
27
27
|
* import { EMRClient, GetClusterSessionCredentialsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
28
28
|
* // const { EMRClient, GetClusterSessionCredentialsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
29
29
|
* const client = new EMRClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // GetClusterSessionCredentialsInput
|
|
31
31
|
* ClusterId: "STRING_VALUE", // required
|
|
32
32
|
* ExecutionRoleArn: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
@@ -26,7 +26,7 @@ export interface GetManagedScalingPolicyCommandOutput extends GetManagedScalingP
|
|
|
26
26
|
* import { EMRClient, GetManagedScalingPolicyCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, GetManagedScalingPolicyCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetManagedScalingPolicyInput
|
|
30
30
|
* ClusterId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetManagedScalingPolicyCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface GetStudioSessionMappingCommandOutput extends GetStudioSessionMa
|
|
|
27
27
|
* import { EMRClient, GetStudioSessionMappingCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
28
28
|
* // const { EMRClient, GetStudioSessionMappingCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
29
29
|
* const client = new EMRClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // GetStudioSessionMappingInput
|
|
31
31
|
* StudioId: "STRING_VALUE", // required
|
|
32
32
|
* IdentityId: "STRING_VALUE",
|
|
33
33
|
* IdentityName: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface ListBootstrapActionsCommandOutput extends ListBootstrapActionsO
|
|
|
26
26
|
* import { EMRClient, ListBootstrapActionsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, ListBootstrapActionsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListBootstrapActionsInput
|
|
30
30
|
* ClusterId: "STRING_VALUE", // required
|
|
31
31
|
* Marker: "STRING_VALUE",
|
|
32
32
|
* };
|
|
@@ -30,10 +30,10 @@ export interface ListClustersCommandOutput extends ListClustersOutput, __Metadat
|
|
|
30
30
|
* import { EMRClient, ListClustersCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
31
31
|
* // const { EMRClient, ListClustersCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
32
32
|
* const client = new EMRClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // ListClustersInput
|
|
34
34
|
* CreatedAfter: new Date("TIMESTAMP"),
|
|
35
35
|
* CreatedBefore: new Date("TIMESTAMP"),
|
|
36
|
-
* ClusterStates: [
|
|
36
|
+
* ClusterStates: [ // ClusterStateList
|
|
37
37
|
* "STARTING" || "BOOTSTRAPPING" || "RUNNING" || "WAITING" || "TERMINATING" || "TERMINATED" || "TERMINATED_WITH_ERRORS",
|
|
38
38
|
* ],
|
|
39
39
|
* Marker: "STRING_VALUE",
|
|
@@ -30,7 +30,7 @@ export interface ListInstanceFleetsCommandOutput extends ListInstanceFleetsOutpu
|
|
|
30
30
|
* import { EMRClient, ListInstanceFleetsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
31
31
|
* // const { EMRClient, ListInstanceFleetsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
32
32
|
* const client = new EMRClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // ListInstanceFleetsInput
|
|
34
34
|
* ClusterId: "STRING_VALUE", // required
|
|
35
35
|
* Marker: "STRING_VALUE",
|
|
36
36
|
* };
|
|
@@ -26,7 +26,7 @@ export interface ListInstanceGroupsCommandOutput extends ListInstanceGroupsOutpu
|
|
|
26
26
|
* import { EMRClient, ListInstanceGroupsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, ListInstanceGroupsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListInstanceGroupsInput
|
|
30
30
|
* ClusterId: "STRING_VALUE", // required
|
|
31
31
|
* Marker: "STRING_VALUE",
|
|
32
32
|
* };
|
|
@@ -28,15 +28,15 @@ export interface ListInstancesCommandOutput extends ListInstancesOutput, __Metad
|
|
|
28
28
|
* import { EMRClient, ListInstancesCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
29
29
|
* // const { EMRClient, ListInstancesCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
30
30
|
* const client = new EMRClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // ListInstancesInput
|
|
32
32
|
* ClusterId: "STRING_VALUE", // required
|
|
33
33
|
* InstanceGroupId: "STRING_VALUE",
|
|
34
|
-
* InstanceGroupTypes: [
|
|
34
|
+
* InstanceGroupTypes: [ // InstanceGroupTypeList
|
|
35
35
|
* "MASTER" || "CORE" || "TASK",
|
|
36
36
|
* ],
|
|
37
37
|
* InstanceFleetId: "STRING_VALUE",
|
|
38
38
|
* InstanceFleetType: "MASTER" || "CORE" || "TASK",
|
|
39
|
-
* InstanceStates: [
|
|
39
|
+
* InstanceStates: [ // InstanceStateList
|
|
40
40
|
* "AWAITING_FULFILLMENT" || "PROVISIONING" || "BOOTSTRAPPING" || "RUNNING" || "TERMINATED",
|
|
41
41
|
* ],
|
|
42
42
|
* Marker: "STRING_VALUE",
|
|
@@ -29,7 +29,7 @@ export interface ListNotebookExecutionsCommandOutput extends ListNotebookExecuti
|
|
|
29
29
|
* import { EMRClient, ListNotebookExecutionsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
30
30
|
* // const { EMRClient, ListNotebookExecutionsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
31
31
|
* const client = new EMRClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // ListNotebookExecutionsInput
|
|
33
33
|
* EditorId: "STRING_VALUE",
|
|
34
34
|
* Status: "START_PENDING" || "STARTING" || "RUNNING" || "FINISHING" || "FINISHED" || "FAILING" || "FAILED" || "STOP_PENDING" || "STOPPING" || "STOPPED",
|
|
35
35
|
* From: new Date("TIMESTAMP"),
|
|
@@ -26,8 +26,8 @@ export interface ListReleaseLabelsCommandOutput extends ListReleaseLabelsOutput,
|
|
|
26
26
|
* import { EMRClient, ListReleaseLabelsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
27
27
|
* // const { EMRClient, ListReleaseLabelsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
28
28
|
* const client = new EMRClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* Filters: {
|
|
29
|
+
* const input = { // ListReleaseLabelsInput
|
|
30
|
+
* Filters: { // ReleaseLabelFilter
|
|
31
31
|
* Prefix: "STRING_VALUE",
|
|
32
32
|
* Application: "STRING_VALUE",
|
|
33
33
|
* },
|
|
@@ -29,7 +29,7 @@ export interface ListSecurityConfigurationsCommandOutput extends ListSecurityCon
|
|
|
29
29
|
* import { EMRClient, ListSecurityConfigurationsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
30
30
|
* // const { EMRClient, ListSecurityConfigurationsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
31
31
|
* const client = new EMRClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // ListSecurityConfigurationsInput
|
|
33
33
|
* Marker: "STRING_VALUE",
|
|
34
34
|
* };
|
|
35
35
|
* const command = new ListSecurityConfigurationsCommand(input);
|
|
@@ -31,12 +31,12 @@ export interface ListStepsCommandOutput extends ListStepsOutput, __MetadataBeare
|
|
|
31
31
|
* import { EMRClient, ListStepsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
32
32
|
* // const { EMRClient, ListStepsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
33
33
|
* const client = new EMRClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // ListStepsInput
|
|
35
35
|
* ClusterId: "STRING_VALUE", // required
|
|
36
|
-
* StepStates: [
|
|
36
|
+
* StepStates: [ // StepStateList
|
|
37
37
|
* "PENDING" || "CANCEL_PENDING" || "RUNNING" || "COMPLETED" || "CANCELLED" || "FAILED" || "INTERRUPTED",
|
|
38
38
|
* ],
|
|
39
|
-
* StepIds: [
|
|
39
|
+
* StepIds: [ // XmlStringList
|
|
40
40
|
* "STRING_VALUE",
|
|
41
41
|
* ],
|
|
42
42
|
* Marker: "STRING_VALUE",
|
|
@@ -27,7 +27,7 @@ export interface ListStudioSessionMappingsCommandOutput extends ListStudioSessio
|
|
|
27
27
|
* import { EMRClient, ListStudioSessionMappingsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
28
28
|
* // const { EMRClient, ListStudioSessionMappingsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
29
29
|
* const client = new EMRClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListStudioSessionMappingsInput
|
|
31
31
|
* StudioId: "STRING_VALUE",
|
|
32
32
|
* IdentityType: "USER" || "GROUP",
|
|
33
33
|
* Marker: "STRING_VALUE",
|
|
@@ -27,7 +27,7 @@ export interface ListStudiosCommandOutput extends ListStudiosOutput, __MetadataB
|
|
|
27
27
|
* import { EMRClient, ListStudiosCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
28
28
|
* // const { EMRClient, ListStudiosCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
29
29
|
* const client = new EMRClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListStudiosInput
|
|
31
31
|
* Marker: "STRING_VALUE",
|
|
32
32
|
* };
|
|
33
33
|
* const command = new ListStudiosCommand(input);
|