cdk-comprehend-s3olap 2.0.150 → 2.0.151
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/.jsii +30 -4
- package/lib/cdk-comprehend-s3olap.js +2 -2
- package/lib/comprehend-lambdas.js +2 -2
- package/lib/iam-roles.js +4 -4
- package/node_modules/aws-sdk/CHANGELOG.md +7 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json +85 -37
- package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +9 -3
- package/node_modules/aws-sdk/apis/swf-2012-01-25.min.json +3 -0
- package/node_modules/aws-sdk/clients/emr.d.ts +228 -136
- package/node_modules/aws-sdk/clients/rds.d.ts +26 -10
- package/node_modules/aws-sdk/clients/swf.d.ts +26 -21
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +4 -4
- package/node_modules/aws-sdk/dist/aws-sdk.js +97 -43
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +55 -55
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/node_modules/aws-sdk/scripts/lib/ts-generator.js +1 -5
- package/package.json +7 -7
@@ -13,11 +13,11 @@ declare class EMR extends Service {
|
|
13
13
|
constructor(options?: EMR.Types.ClientConfiguration)
|
14
14
|
config: Config & EMR.Types.ClientConfiguration;
|
15
15
|
/**
|
16
|
-
* Adds an instance fleet to a running cluster. The instance fleet configuration is available only in Amazon EMR
|
16
|
+
* Adds an instance fleet to a running cluster. The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x.
|
17
17
|
*/
|
18
18
|
addInstanceFleet(params: EMR.Types.AddInstanceFleetInput, callback?: (err: AWSError, data: EMR.Types.AddInstanceFleetOutput) => void): Request<EMR.Types.AddInstanceFleetOutput, AWSError>;
|
19
19
|
/**
|
20
|
-
* Adds an instance fleet to a running cluster. The instance fleet configuration is available only in Amazon EMR
|
20
|
+
* Adds an instance fleet to a running cluster. The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x.
|
21
21
|
*/
|
22
22
|
addInstanceFleet(callback?: (err: AWSError, data: EMR.Types.AddInstanceFleetOutput) => void): Request<EMR.Types.AddInstanceFleetOutput, AWSError>;
|
23
23
|
/**
|
@@ -45,11 +45,11 @@ declare class EMR extends Service {
|
|
45
45
|
*/
|
46
46
|
addTags(callback?: (err: AWSError, data: EMR.Types.AddTagsOutput) => void): Request<EMR.Types.AddTagsOutput, AWSError>;
|
47
47
|
/**
|
48
|
-
* Cancels a pending step or steps in a running cluster. Available only in Amazon EMR versions 4.8.0 and later, excluding version 5.0.0. A maximum of 256 steps are allowed in each CancelSteps request. CancelSteps is idempotent but asynchronous; it does not guarantee that a step will be canceled, even if the request is successfully submitted. When you use Amazon EMR
|
48
|
+
* Cancels a pending step or steps in a running cluster. Available only in Amazon EMR versions 4.8.0 and later, excluding version 5.0.0. A maximum of 256 steps are allowed in each CancelSteps request. CancelSteps is idempotent but asynchronous; it does not guarantee that a step will be canceled, even if the request is successfully submitted. When you use Amazon EMR releases 5.28.0 and later, you can cancel steps that are in a PENDING or RUNNING state. In earlier versions of Amazon EMR, you can only cancel steps that are in a PENDING state.
|
49
49
|
*/
|
50
50
|
cancelSteps(params: EMR.Types.CancelStepsInput, callback?: (err: AWSError, data: EMR.Types.CancelStepsOutput) => void): Request<EMR.Types.CancelStepsOutput, AWSError>;
|
51
51
|
/**
|
52
|
-
* Cancels a pending step or steps in a running cluster. Available only in Amazon EMR versions 4.8.0 and later, excluding version 5.0.0. A maximum of 256 steps are allowed in each CancelSteps request. CancelSteps is idempotent but asynchronous; it does not guarantee that a step will be canceled, even if the request is successfully submitted. When you use Amazon EMR
|
52
|
+
* Cancels a pending step or steps in a running cluster. Available only in Amazon EMR versions 4.8.0 and later, excluding version 5.0.0. A maximum of 256 steps are allowed in each CancelSteps request. CancelSteps is idempotent but asynchronous; it does not guarantee that a step will be canceled, even if the request is successfully submitted. When you use Amazon EMR releases 5.28.0 and later, you can cancel steps that are in a PENDING or RUNNING state. In earlier versions of Amazon EMR, you can only cancel steps that are in a PENDING state.
|
53
53
|
*/
|
54
54
|
cancelSteps(callback?: (err: AWSError, data: EMR.Types.CancelStepsOutput) => void): Request<EMR.Types.CancelStepsOutput, AWSError>;
|
55
55
|
/**
|
@@ -125,11 +125,11 @@ declare class EMR extends Service {
|
|
125
125
|
*/
|
126
126
|
describeNotebookExecution(callback?: (err: AWSError, data: EMR.Types.DescribeNotebookExecutionOutput) => void): Request<EMR.Types.DescribeNotebookExecutionOutput, AWSError>;
|
127
127
|
/**
|
128
|
-
* Provides EMR release label details, such as releases available the
|
128
|
+
* Provides Amazon EMR release label details, such as the releases available the Region where the API request is run, and the available applications for a specific Amazon EMR release label. Can also list Amazon EMR releases that support a specified version of Spark.
|
129
129
|
*/
|
130
130
|
describeReleaseLabel(params: EMR.Types.DescribeReleaseLabelInput, callback?: (err: AWSError, data: EMR.Types.DescribeReleaseLabelOutput) => void): Request<EMR.Types.DescribeReleaseLabelOutput, AWSError>;
|
131
131
|
/**
|
132
|
-
* Provides EMR release label details, such as releases available the
|
132
|
+
* Provides Amazon EMR release label details, such as the releases available the Region where the API request is run, and the available applications for a specific Amazon EMR release label. Can also list Amazon EMR releases that support a specified version of Spark.
|
133
133
|
*/
|
134
134
|
describeReleaseLabel(callback?: (err: AWSError, data: EMR.Types.DescribeReleaseLabelOutput) => void): Request<EMR.Types.DescribeReleaseLabelOutput, AWSError>;
|
135
135
|
/**
|
@@ -213,11 +213,11 @@ declare class EMR extends Service {
|
|
213
213
|
*/
|
214
214
|
listClusters(callback?: (err: AWSError, data: EMR.Types.ListClustersOutput) => void): Request<EMR.Types.ListClustersOutput, AWSError>;
|
215
215
|
/**
|
216
|
-
* Lists all available details about the instance fleets in a cluster. The instance fleet configuration is available only in Amazon EMR
|
216
|
+
* Lists all available details about the instance fleets in a cluster. The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.
|
217
217
|
*/
|
218
218
|
listInstanceFleets(params: EMR.Types.ListInstanceFleetsInput, callback?: (err: AWSError, data: EMR.Types.ListInstanceFleetsOutput) => void): Request<EMR.Types.ListInstanceFleetsOutput, AWSError>;
|
219
219
|
/**
|
220
|
-
* Lists all available details about the instance fleets in a cluster. The instance fleet configuration is available only in Amazon EMR
|
220
|
+
* Lists all available details about the instance fleets in a cluster. The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.
|
221
221
|
*/
|
222
222
|
listInstanceFleets(callback?: (err: AWSError, data: EMR.Types.ListInstanceFleetsOutput) => void): Request<EMR.Types.ListInstanceFleetsOutput, AWSError>;
|
223
223
|
/**
|
@@ -229,27 +229,27 @@ declare class EMR extends Service {
|
|
229
229
|
*/
|
230
230
|
listInstanceGroups(callback?: (err: AWSError, data: EMR.Types.ListInstanceGroupsOutput) => void): Request<EMR.Types.ListInstanceGroupsOutput, AWSError>;
|
231
231
|
/**
|
232
|
-
* Provides information for all active EC2 instances and EC2 instances terminated in the last 30 days, up to a maximum of 2,000. EC2 instances in any of the following states are considered active: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING.
|
232
|
+
* Provides information for all active Amazon EC2 instances and Amazon EC2 instances terminated in the last 30 days, up to a maximum of 2,000. Amazon EC2 instances in any of the following states are considered active: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING.
|
233
233
|
*/
|
234
234
|
listInstances(params: EMR.Types.ListInstancesInput, callback?: (err: AWSError, data: EMR.Types.ListInstancesOutput) => void): Request<EMR.Types.ListInstancesOutput, AWSError>;
|
235
235
|
/**
|
236
|
-
* Provides information for all active EC2 instances and EC2 instances terminated in the last 30 days, up to a maximum of 2,000. EC2 instances in any of the following states are considered active: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING.
|
236
|
+
* Provides information for all active Amazon EC2 instances and Amazon EC2 instances terminated in the last 30 days, up to a maximum of 2,000. Amazon EC2 instances in any of the following states are considered active: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING.
|
237
237
|
*/
|
238
238
|
listInstances(callback?: (err: AWSError, data: EMR.Types.ListInstancesOutput) => void): Request<EMR.Types.ListInstancesOutput, AWSError>;
|
239
239
|
/**
|
240
|
-
* Provides summaries of all notebook executions. You can filter the list based on multiple criteria such as status, time range, and editor id. Returns a maximum of 50 notebook executions and a marker to track the paging of a longer notebook execution list across multiple
|
240
|
+
* Provides summaries of all notebook executions. You can filter the list based on multiple criteria such as status, time range, and editor id. Returns a maximum of 50 notebook executions and a marker to track the paging of a longer notebook execution list across multiple ListNotebookExecutions calls.
|
241
241
|
*/
|
242
242
|
listNotebookExecutions(params: EMR.Types.ListNotebookExecutionsInput, callback?: (err: AWSError, data: EMR.Types.ListNotebookExecutionsOutput) => void): Request<EMR.Types.ListNotebookExecutionsOutput, AWSError>;
|
243
243
|
/**
|
244
|
-
* Provides summaries of all notebook executions. You can filter the list based on multiple criteria such as status, time range, and editor id. Returns a maximum of 50 notebook executions and a marker to track the paging of a longer notebook execution list across multiple
|
244
|
+
* Provides summaries of all notebook executions. You can filter the list based on multiple criteria such as status, time range, and editor id. Returns a maximum of 50 notebook executions and a marker to track the paging of a longer notebook execution list across multiple ListNotebookExecutions calls.
|
245
245
|
*/
|
246
246
|
listNotebookExecutions(callback?: (err: AWSError, data: EMR.Types.ListNotebookExecutionsOutput) => void): Request<EMR.Types.ListNotebookExecutionsOutput, AWSError>;
|
247
247
|
/**
|
248
|
-
* Retrieves release labels of EMR services in the
|
248
|
+
* Retrieves release labels of Amazon EMR services in the Region where the API is called.
|
249
249
|
*/
|
250
250
|
listReleaseLabels(params: EMR.Types.ListReleaseLabelsInput, callback?: (err: AWSError, data: EMR.Types.ListReleaseLabelsOutput) => void): Request<EMR.Types.ListReleaseLabelsOutput, AWSError>;
|
251
251
|
/**
|
252
|
-
* Retrieves release labels of EMR services in the
|
252
|
+
* Retrieves release labels of Amazon EMR services in the Region where the API is called.
|
253
253
|
*/
|
254
254
|
listReleaseLabels(callback?: (err: AWSError, data: EMR.Types.ListReleaseLabelsOutput) => void): Request<EMR.Types.ListReleaseLabelsOutput, AWSError>;
|
255
255
|
/**
|
@@ -293,11 +293,11 @@ declare class EMR extends Service {
|
|
293
293
|
*/
|
294
294
|
modifyCluster(callback?: (err: AWSError, data: EMR.Types.ModifyClusterOutput) => void): Request<EMR.Types.ModifyClusterOutput, AWSError>;
|
295
295
|
/**
|
296
|
-
* Modifies the target On-Demand and target Spot capacities for the instance fleet with the specified InstanceFleetID within the cluster specified using ClusterID. The call either succeeds or fails atomically. The instance fleet configuration is available only in Amazon EMR
|
296
|
+
* Modifies the target On-Demand and target Spot capacities for the instance fleet with the specified InstanceFleetID within the cluster specified using ClusterID. The call either succeeds or fails atomically. The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.
|
297
297
|
*/
|
298
298
|
modifyInstanceFleet(params: EMR.Types.ModifyInstanceFleetInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
299
299
|
/**
|
300
|
-
* Modifies the target On-Demand and target Spot capacities for the instance fleet with the specified InstanceFleetID within the cluster specified using ClusterID. The call either succeeds or fails atomically. The instance fleet configuration is available only in Amazon EMR
|
300
|
+
* Modifies the target On-Demand and target Spot capacities for the instance fleet with the specified InstanceFleetID within the cluster specified using ClusterID. The call either succeeds or fails atomically. The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.
|
301
301
|
*/
|
302
302
|
modifyInstanceFleet(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
303
303
|
/**
|
@@ -309,19 +309,19 @@ declare class EMR extends Service {
|
|
309
309
|
*/
|
310
310
|
modifyInstanceGroups(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
311
311
|
/**
|
312
|
-
* Creates or updates an automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric.
|
312
|
+
* Creates or updates an automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates Amazon EC2 instances in response to the value of a CloudWatch metric.
|
313
313
|
*/
|
314
314
|
putAutoScalingPolicy(params: EMR.Types.PutAutoScalingPolicyInput, callback?: (err: AWSError, data: EMR.Types.PutAutoScalingPolicyOutput) => void): Request<EMR.Types.PutAutoScalingPolicyOutput, AWSError>;
|
315
315
|
/**
|
316
|
-
* Creates or updates an automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric.
|
316
|
+
* Creates or updates an automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates Amazon EC2 instances in response to the value of a CloudWatch metric.
|
317
317
|
*/
|
318
318
|
putAutoScalingPolicy(callback?: (err: AWSError, data: EMR.Types.PutAutoScalingPolicyOutput) => void): Request<EMR.Types.PutAutoScalingPolicyOutput, AWSError>;
|
319
319
|
/**
|
320
|
-
* Auto-termination is supported in Amazon EMR
|
320
|
+
* Auto-termination is supported in Amazon EMR releases 5.30.0 and 6.1.0 and later. For more information, see Using an auto-termination policy. Creates or updates an auto-termination policy for an Amazon EMR cluster. An auto-termination policy defines the amount of idle time in seconds after which a cluster automatically terminates. For alternative cluster termination options, see Control cluster termination.
|
321
321
|
*/
|
322
322
|
putAutoTerminationPolicy(params: EMR.Types.PutAutoTerminationPolicyInput, callback?: (err: AWSError, data: EMR.Types.PutAutoTerminationPolicyOutput) => void): Request<EMR.Types.PutAutoTerminationPolicyOutput, AWSError>;
|
323
323
|
/**
|
324
|
-
* Auto-termination is supported in Amazon EMR
|
324
|
+
* Auto-termination is supported in Amazon EMR releases 5.30.0 and 6.1.0 and later. For more information, see Using an auto-termination policy. Creates or updates an auto-termination policy for an Amazon EMR cluster. An auto-termination policy defines the amount of idle time in seconds after which a cluster automatically terminates. For alternative cluster termination options, see Control cluster termination.
|
325
325
|
*/
|
326
326
|
putAutoTerminationPolicy(callback?: (err: AWSError, data: EMR.Types.PutAutoTerminationPolicyOutput) => void): Request<EMR.Types.PutAutoTerminationPolicyOutput, AWSError>;
|
327
327
|
/**
|
@@ -333,19 +333,19 @@ declare class EMR extends Service {
|
|
333
333
|
*/
|
334
334
|
putBlockPublicAccessConfiguration(callback?: (err: AWSError, data: EMR.Types.PutBlockPublicAccessConfigurationOutput) => void): Request<EMR.Types.PutBlockPublicAccessConfigurationOutput, AWSError>;
|
335
335
|
/**
|
336
|
-
* Creates or updates a managed scaling policy for an Amazon EMR cluster. The managed scaling policy defines the limits for resources, such as EC2 instances that can be added or terminated from a cluster. The policy only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
|
336
|
+
* Creates or updates a managed scaling policy for an Amazon EMR cluster. The managed scaling policy defines the limits for resources, such as Amazon EC2 instances that can be added or terminated from a cluster. The policy only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
|
337
337
|
*/
|
338
338
|
putManagedScalingPolicy(params: EMR.Types.PutManagedScalingPolicyInput, callback?: (err: AWSError, data: EMR.Types.PutManagedScalingPolicyOutput) => void): Request<EMR.Types.PutManagedScalingPolicyOutput, AWSError>;
|
339
339
|
/**
|
340
|
-
* Creates or updates a managed scaling policy for an Amazon EMR cluster. The managed scaling policy defines the limits for resources, such as EC2 instances that can be added or terminated from a cluster. The policy only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
|
340
|
+
* Creates or updates a managed scaling policy for an Amazon EMR cluster. The managed scaling policy defines the limits for resources, such as Amazon EC2 instances that can be added or terminated from a cluster. The policy only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
|
341
341
|
*/
|
342
342
|
putManagedScalingPolicy(callback?: (err: AWSError, data: EMR.Types.PutManagedScalingPolicyOutput) => void): Request<EMR.Types.PutManagedScalingPolicyOutput, AWSError>;
|
343
343
|
/**
|
344
|
-
* Removes an automatic scaling policy from a specified instance group within an EMR cluster.
|
344
|
+
* Removes an automatic scaling policy from a specified instance group within an Amazon EMR cluster.
|
345
345
|
*/
|
346
346
|
removeAutoScalingPolicy(params: EMR.Types.RemoveAutoScalingPolicyInput, callback?: (err: AWSError, data: EMR.Types.RemoveAutoScalingPolicyOutput) => void): Request<EMR.Types.RemoveAutoScalingPolicyOutput, AWSError>;
|
347
347
|
/**
|
348
|
-
* Removes an automatic scaling policy from a specified instance group within an EMR cluster.
|
348
|
+
* Removes an automatic scaling policy from a specified instance group within an Amazon EMR cluster.
|
349
349
|
*/
|
350
350
|
removeAutoScalingPolicy(callback?: (err: AWSError, data: EMR.Types.RemoveAutoScalingPolicyOutput) => void): Request<EMR.Types.RemoveAutoScalingPolicyOutput, AWSError>;
|
351
351
|
/**
|
@@ -357,11 +357,11 @@ declare class EMR extends Service {
|
|
357
357
|
*/
|
358
358
|
removeAutoTerminationPolicy(callback?: (err: AWSError, data: EMR.Types.RemoveAutoTerminationPolicyOutput) => void): Request<EMR.Types.RemoveAutoTerminationPolicyOutput, AWSError>;
|
359
359
|
/**
|
360
|
-
* Removes a managed scaling policy from a specified EMR cluster.
|
360
|
+
* Removes a managed scaling policy from a specified Amazon EMR cluster.
|
361
361
|
*/
|
362
362
|
removeManagedScalingPolicy(params: EMR.Types.RemoveManagedScalingPolicyInput, callback?: (err: AWSError, data: EMR.Types.RemoveManagedScalingPolicyOutput) => void): Request<EMR.Types.RemoveManagedScalingPolicyOutput, AWSError>;
|
363
363
|
/**
|
364
|
-
* Removes a managed scaling policy from a specified EMR cluster.
|
364
|
+
* Removes a managed scaling policy from a specified Amazon EMR cluster.
|
365
365
|
*/
|
366
366
|
removeManagedScalingPolicy(callback?: (err: AWSError, data: EMR.Types.RemoveManagedScalingPolicyOutput) => void): Request<EMR.Types.RemoveManagedScalingPolicyOutput, AWSError>;
|
367
367
|
/**
|
@@ -373,27 +373,27 @@ declare class EMR extends Service {
|
|
373
373
|
*/
|
374
374
|
removeTags(callback?: (err: AWSError, data: EMR.Types.RemoveTagsOutput) => void): Request<EMR.Types.RemoveTagsOutput, AWSError>;
|
375
375
|
/**
|
376
|
-
* RunJobFlow creates and starts running a new cluster (job flow). The cluster runs the steps specified. After the steps complete, the cluster stops and the HDFS partition is lost. To prevent loss of data, configure the last step of the job flow to store results in Amazon S3. If the JobFlowInstancesConfig KeepJobFlowAliveWhenNoSteps parameter is set to TRUE, the cluster transitions to the WAITING state rather than shutting down after the steps have completed. For additional protection, you can set the JobFlowInstancesConfig TerminationProtected parameter to TRUE to lock the cluster and prevent it from being terminated by API call, user intervention, or in the event of a job flow error. A maximum of 256 steps are allowed in each job flow. If your cluster is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass the 256-step limitation in various ways, including using the SSH shell to connect to the master node and submitting queries directly to the software running on the master node, such as Hive and Hadoop. For long-running clusters, we recommend that you periodically store your results. The instance fleets configuration is available only in Amazon EMR
|
376
|
+
* RunJobFlow creates and starts running a new cluster (job flow). The cluster runs the steps specified. After the steps complete, the cluster stops and the HDFS partition is lost. To prevent loss of data, configure the last step of the job flow to store results in Amazon S3. If the JobFlowInstancesConfig KeepJobFlowAliveWhenNoSteps parameter is set to TRUE, the cluster transitions to the WAITING state rather than shutting down after the steps have completed. For additional protection, you can set the JobFlowInstancesConfig TerminationProtected parameter to TRUE to lock the cluster and prevent it from being terminated by API call, user intervention, or in the event of a job flow error. A maximum of 256 steps are allowed in each job flow. If your cluster is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass the 256-step limitation in various ways, including using the SSH shell to connect to the master node and submitting queries directly to the software running on the master node, such as Hive and Hadoop. For long-running clusters, we recommend that you periodically store your results. The instance fleets configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. The RunJobFlow request can contain InstanceFleets parameters or InstanceGroups parameters, but not both.
|
377
377
|
*/
|
378
378
|
runJobFlow(params: EMR.Types.RunJobFlowInput, callback?: (err: AWSError, data: EMR.Types.RunJobFlowOutput) => void): Request<EMR.Types.RunJobFlowOutput, AWSError>;
|
379
379
|
/**
|
380
|
-
* RunJobFlow creates and starts running a new cluster (job flow). The cluster runs the steps specified. After the steps complete, the cluster stops and the HDFS partition is lost. To prevent loss of data, configure the last step of the job flow to store results in Amazon S3. If the JobFlowInstancesConfig KeepJobFlowAliveWhenNoSteps parameter is set to TRUE, the cluster transitions to the WAITING state rather than shutting down after the steps have completed. For additional protection, you can set the JobFlowInstancesConfig TerminationProtected parameter to TRUE to lock the cluster and prevent it from being terminated by API call, user intervention, or in the event of a job flow error. A maximum of 256 steps are allowed in each job flow. If your cluster is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass the 256-step limitation in various ways, including using the SSH shell to connect to the master node and submitting queries directly to the software running on the master node, such as Hive and Hadoop. For long-running clusters, we recommend that you periodically store your results. The instance fleets configuration is available only in Amazon EMR
|
380
|
+
* RunJobFlow creates and starts running a new cluster (job flow). The cluster runs the steps specified. After the steps complete, the cluster stops and the HDFS partition is lost. To prevent loss of data, configure the last step of the job flow to store results in Amazon S3. If the JobFlowInstancesConfig KeepJobFlowAliveWhenNoSteps parameter is set to TRUE, the cluster transitions to the WAITING state rather than shutting down after the steps have completed. For additional protection, you can set the JobFlowInstancesConfig TerminationProtected parameter to TRUE to lock the cluster and prevent it from being terminated by API call, user intervention, or in the event of a job flow error. A maximum of 256 steps are allowed in each job flow. If your cluster is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass the 256-step limitation in various ways, including using the SSH shell to connect to the master node and submitting queries directly to the software running on the master node, such as Hive and Hadoop. For long-running clusters, we recommend that you periodically store your results. The instance fleets configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. The RunJobFlow request can contain InstanceFleets parameters or InstanceGroups parameters, but not both.
|
381
381
|
*/
|
382
382
|
runJobFlow(callback?: (err: AWSError, data: EMR.Types.RunJobFlowOutput) => void): Request<EMR.Types.RunJobFlowOutput, AWSError>;
|
383
383
|
/**
|
384
|
-
* SetTerminationProtection locks a cluster (job flow) so the EC2 instances in the cluster cannot be terminated by user intervention, an API call, or in the event of a job-flow error. The cluster still terminates upon successful completion of the job flow. Calling SetTerminationProtection on a cluster is similar to calling the Amazon EC2 DisableAPITermination API on all EC2 instances in a cluster. SetTerminationProtection is used to prevent accidental termination of a cluster and to ensure that in the event of an error, the instances persist so that you can recover any data stored in their ephemeral instance storage. To terminate a cluster that has been locked by setting SetTerminationProtection to true, you must first unlock the job flow by a subsequent call to SetTerminationProtection in which you set the value to false. For more information, seeManaging Cluster Termination in the Amazon EMR Management Guide.
|
384
|
+
* SetTerminationProtection locks a cluster (job flow) so the Amazon EC2 instances in the cluster cannot be terminated by user intervention, an API call, or in the event of a job-flow error. The cluster still terminates upon successful completion of the job flow. Calling SetTerminationProtection on a cluster is similar to calling the Amazon EC2 DisableAPITermination API on all Amazon EC2 instances in a cluster. SetTerminationProtection is used to prevent accidental termination of a cluster and to ensure that in the event of an error, the instances persist so that you can recover any data stored in their ephemeral instance storage. To terminate a cluster that has been locked by setting SetTerminationProtection to true, you must first unlock the job flow by a subsequent call to SetTerminationProtection in which you set the value to false. For more information, seeManaging Cluster Termination in the Amazon EMR Management Guide.
|
385
385
|
*/
|
386
386
|
setTerminationProtection(params: EMR.Types.SetTerminationProtectionInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
387
387
|
/**
|
388
|
-
* SetTerminationProtection locks a cluster (job flow) so the EC2 instances in the cluster cannot be terminated by user intervention, an API call, or in the event of a job-flow error. The cluster still terminates upon successful completion of the job flow. Calling SetTerminationProtection on a cluster is similar to calling the Amazon EC2 DisableAPITermination API on all EC2 instances in a cluster. SetTerminationProtection is used to prevent accidental termination of a cluster and to ensure that in the event of an error, the instances persist so that you can recover any data stored in their ephemeral instance storage. To terminate a cluster that has been locked by setting SetTerminationProtection to true, you must first unlock the job flow by a subsequent call to SetTerminationProtection in which you set the value to false. For more information, seeManaging Cluster Termination in the Amazon EMR Management Guide.
|
388
|
+
* SetTerminationProtection locks a cluster (job flow) so the Amazon EC2 instances in the cluster cannot be terminated by user intervention, an API call, or in the event of a job-flow error. The cluster still terminates upon successful completion of the job flow. Calling SetTerminationProtection on a cluster is similar to calling the Amazon EC2 DisableAPITermination API on all Amazon EC2 instances in a cluster. SetTerminationProtection is used to prevent accidental termination of a cluster and to ensure that in the event of an error, the instances persist so that you can recover any data stored in their ephemeral instance storage. To terminate a cluster that has been locked by setting SetTerminationProtection to true, you must first unlock the job flow by a subsequent call to SetTerminationProtection in which you set the value to false. For more information, seeManaging Cluster Termination in the Amazon EMR Management Guide.
|
389
389
|
*/
|
390
390
|
setTerminationProtection(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
391
391
|
/**
|
392
|
-
* The SetVisibleToAllUsers parameter is no longer supported. Your cluster may be visible to all users in your account. To restrict cluster access using an IAM policy, see Identity and Access Management for EMR. Sets the Cluster$VisibleToAllUsers value for an EMR cluster. When true, IAM principals in the Amazon Web Services account can perform EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform EMR actions on the cluster, regardless of IAM permissions policies attached to other IAM principals. This action works on running clusters. When you create a cluster, use the RunJobFlowInput$VisibleToAllUsers parameter. For more information, see Understanding the EMR Cluster VisibleToAllUsers Setting in the Amazon
|
392
|
+
* The SetVisibleToAllUsers parameter is no longer supported. Your cluster may be visible to all users in your account. To restrict cluster access using an IAM policy, see Identity and Access Management for Amazon EMR. Sets the Cluster$VisibleToAllUsers value for an Amazon EMR cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions on the cluster, regardless of IAM permissions policies attached to other IAM principals. This action works on running clusters. When you create a cluster, use the RunJobFlowInput$VisibleToAllUsers parameter. For more information, see Understanding the Amazon EMR Cluster VisibleToAllUsers Setting in the Amazon EMR Management Guide.
|
393
393
|
*/
|
394
394
|
setVisibleToAllUsers(params: EMR.Types.SetVisibleToAllUsersInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
395
395
|
/**
|
396
|
-
* The SetVisibleToAllUsers parameter is no longer supported. Your cluster may be visible to all users in your account. To restrict cluster access using an IAM policy, see Identity and Access Management for EMR. Sets the Cluster$VisibleToAllUsers value for an EMR cluster. When true, IAM principals in the Amazon Web Services account can perform EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform EMR actions on the cluster, regardless of IAM permissions policies attached to other IAM principals. This action works on running clusters. When you create a cluster, use the RunJobFlowInput$VisibleToAllUsers parameter. For more information, see Understanding the EMR Cluster VisibleToAllUsers Setting in the Amazon
|
396
|
+
* The SetVisibleToAllUsers parameter is no longer supported. Your cluster may be visible to all users in your account. To restrict cluster access using an IAM policy, see Identity and Access Management for Amazon EMR. Sets the Cluster$VisibleToAllUsers value for an Amazon EMR cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions on the cluster, regardless of IAM permissions policies attached to other IAM principals. This action works on running clusters. When you create a cluster, use the RunJobFlowInput$VisibleToAllUsers parameter. For more information, see Understanding the Amazon EMR Cluster VisibleToAllUsers Setting in the Amazon EMR Management Guide.
|
397
397
|
*/
|
398
398
|
setVisibleToAllUsers(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
399
399
|
/**
|
@@ -413,11 +413,11 @@ declare class EMR extends Service {
|
|
413
413
|
*/
|
414
414
|
stopNotebookExecution(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
415
415
|
/**
|
416
|
-
* TerminateJobFlows shuts a list of clusters (job flows) down. When a job flow is shut down, any step not yet completed is canceled and the EC2 instances on which the cluster is running are stopped. Any log files not already saved are uploaded to Amazon S3 if a LogUri was specified when the cluster was created. The maximum number of clusters allowed is 10. The call to TerminateJobFlows is asynchronous. Depending on the configuration of the cluster, it may take up to 1-5 minutes for the cluster to completely terminate and release allocated resources, such as Amazon EC2 instances.
|
416
|
+
* TerminateJobFlows shuts a list of clusters (job flows) down. When a job flow is shut down, any step not yet completed is canceled and the Amazon EC2 instances on which the cluster is running are stopped. Any log files not already saved are uploaded to Amazon S3 if a LogUri was specified when the cluster was created. The maximum number of clusters allowed is 10. The call to TerminateJobFlows is asynchronous. Depending on the configuration of the cluster, it may take up to 1-5 minutes for the cluster to completely terminate and release allocated resources, such as Amazon EC2 instances.
|
417
417
|
*/
|
418
418
|
terminateJobFlows(params: EMR.Types.TerminateJobFlowsInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
419
419
|
/**
|
420
|
-
* TerminateJobFlows shuts a list of clusters (job flows) down. When a job flow is shut down, any step not yet completed is canceled and the EC2 instances on which the cluster is running are stopped. Any log files not already saved are uploaded to Amazon S3 if a LogUri was specified when the cluster was created. The maximum number of clusters allowed is 10. The call to TerminateJobFlows is asynchronous. Depending on the configuration of the cluster, it may take up to 1-5 minutes for the cluster to completely terminate and release allocated resources, such as Amazon EC2 instances.
|
420
|
+
* TerminateJobFlows shuts a list of clusters (job flows) down. When a job flow is shut down, any step not yet completed is canceled and the Amazon EC2 instances on which the cluster is running are stopped. Any log files not already saved are uploaded to Amazon S3 if a LogUri was specified when the cluster was created. The maximum number of clusters allowed is 10. The call to TerminateJobFlows is asynchronous. Depending on the configuration of the cluster, it may take up to 1-5 minutes for the cluster to completely terminate and release allocated resources, such as Amazon EC2 instances.
|
421
421
|
*/
|
422
422
|
terminateJobFlows(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
423
423
|
/**
|
@@ -521,7 +521,7 @@ declare namespace EMR {
|
|
521
521
|
*/
|
522
522
|
Steps: StepConfigList;
|
523
523
|
/**
|
524
|
-
* The Amazon Resource Name (ARN) of the runtime role for a step on the cluster. The runtime role can be a cross-account IAM role. The runtime role ARN is a combination of account ID, role name, and role type using the following format: arn:partition:service:region:account:resource. For example, arn:aws:
|
524
|
+
* The Amazon Resource Name (ARN) of the runtime role for a step on the cluster. The runtime role can be a cross-account IAM role. The runtime role ARN is a combination of account ID, role name, and role type using the following format: arn:partition:service:region:account:resource. For example, arn:aws:IAM::1234567890:role/ReadOnly is a correctly formatted runtime role ARN.
|
525
525
|
*/
|
526
526
|
ExecutionRoleArn?: ArnType;
|
527
527
|
}
|
@@ -567,7 +567,7 @@ declare namespace EMR {
|
|
567
567
|
export type AuthMode = "SSO"|"IAM"|string;
|
568
568
|
export interface AutoScalingPolicy {
|
569
569
|
/**
|
570
|
-
* The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.
|
570
|
+
* The upper and lower Amazon EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.
|
571
571
|
*/
|
572
572
|
Constraints: ScalingConstraints;
|
573
573
|
/**
|
@@ -581,7 +581,7 @@ declare namespace EMR {
|
|
581
581
|
*/
|
582
582
|
Status?: AutoScalingPolicyStatus;
|
583
583
|
/**
|
584
|
-
* The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.
|
584
|
+
* The upper and lower Amazon EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.
|
585
585
|
*/
|
586
586
|
Constraints?: ScalingConstraints;
|
587
587
|
/**
|
@@ -619,11 +619,11 @@ declare namespace EMR {
|
|
619
619
|
}
|
620
620
|
export interface BlockPublicAccessConfiguration {
|
621
621
|
/**
|
622
|
-
* Indicates whether Amazon EMR block public access is enabled (true) or disabled (false). By default, the value is false for accounts that have created EMR clusters before July 2019. For accounts created after this, the default is true.
|
622
|
+
* Indicates whether Amazon EMR block public access is enabled (true) or disabled (false). By default, the value is false for accounts that have created Amazon EMR clusters before July 2019. For accounts created after this, the default is true.
|
623
623
|
*/
|
624
624
|
BlockPublicSecurityGroupRules: Boolean;
|
625
625
|
/**
|
626
|
-
* Specifies ports and port ranges that are permitted to have security group rules that allow inbound traffic from all public sources. For example, if Port 23 (Telnet) is specified for PermittedPublicSecurityGroupRuleRanges, Amazon EMR allows cluster creation if a security group associated with the cluster has a rule that allows inbound traffic on Port 23 from IPv4 0.0.0.0/0 or IPv6 port ::/0 as the source. By default, Port 22, which is used for SSH access to the cluster EC2 instances, is in the list of PermittedPublicSecurityGroupRuleRanges.
|
626
|
+
* Specifies ports and port ranges that are permitted to have security group rules that allow inbound traffic from all public sources. For example, if Port 23 (Telnet) is specified for PermittedPublicSecurityGroupRuleRanges, Amazon EMR allows cluster creation if a security group associated with the cluster has a rule that allows inbound traffic on Port 23 from IPv4 0.0.0.0/0 or IPv6 port ::/0 as the source. By default, Port 22, which is used for SSH access to the cluster Amazon EC2 instances, is in the list of PermittedPublicSecurityGroupRuleRanges.
|
627
627
|
*/
|
628
628
|
PermittedPublicSecurityGroupRuleRanges?: PortRanges;
|
629
629
|
}
|
@@ -711,7 +711,7 @@ declare namespace EMR {
|
|
711
711
|
*/
|
712
712
|
Namespace?: String;
|
713
713
|
/**
|
714
|
-
* The period, in seconds, over which the statistic is applied.
|
714
|
+
* The period, in seconds, over which the statistic is applied. CloudWatch metrics for Amazon EMR are emitted every five minutes (300 seconds), so if you specify a CloudWatch metric, specify 300.
|
715
715
|
*/
|
716
716
|
Period: Integer;
|
717
717
|
/**
|
@@ -745,11 +745,11 @@ declare namespace EMR {
|
|
745
745
|
*/
|
746
746
|
Status?: ClusterStatus;
|
747
747
|
/**
|
748
|
-
* Provides information about the EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on.
|
748
|
+
* Provides information about the Amazon EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on.
|
749
749
|
*/
|
750
750
|
Ec2InstanceAttributes?: Ec2InstanceAttributes;
|
751
751
|
/**
|
752
|
-
* The instance fleet configuration is available only in Amazon EMR
|
752
|
+
* The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. The instance group configuration of the cluster. A value of INSTANCE_GROUP indicates a uniform instance group configuration. A value of INSTANCE_FLEET indicates an instance fleets configuration.
|
753
753
|
*/
|
754
754
|
InstanceCollectionType?: InstanceCollectionType;
|
755
755
|
/**
|
@@ -757,7 +757,7 @@ declare namespace EMR {
|
|
757
757
|
*/
|
758
758
|
LogUri?: String;
|
759
759
|
/**
|
760
|
-
* The KMS key used for encrypting log files. This attribute is only available with EMR
|
760
|
+
* The KMS key used for encrypting log files. This attribute is only available with Amazon EMR 5.30.0 and later, excluding Amazon EMR 6.0.0.
|
761
761
|
*/
|
762
762
|
LogEncryptionKmsKeyId?: String;
|
763
763
|
/**
|
@@ -777,11 +777,11 @@ declare namespace EMR {
|
|
777
777
|
*/
|
778
778
|
AutoTerminate?: Boolean;
|
779
779
|
/**
|
780
|
-
* Indicates whether Amazon EMR will lock the cluster to prevent the EC2 instances from being terminated by an API call or user intervention, or in the event of a cluster error.
|
780
|
+
* Indicates whether Amazon EMR will lock the cluster to prevent the Amazon EC2 instances from being terminated by an API call or user intervention, or in the event of a cluster error.
|
781
781
|
*/
|
782
782
|
TerminationProtected?: Boolean;
|
783
783
|
/**
|
784
|
-
* Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform EMR cluster actions on the cluster that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform EMR actions, regardless of IAM permissions policies attached to other IAM principals. The default value is true if a value is not provided when creating a cluster using the EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.
|
784
|
+
* Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions on the cluster that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions, regardless of IAM permissions policies attached to other IAM principals. The default value is true if a value is not provided when creating a cluster using the Amazon EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.
|
785
785
|
*/
|
786
786
|
VisibleToAllUsers?: Boolean;
|
787
787
|
/**
|
@@ -797,7 +797,7 @@ declare namespace EMR {
|
|
797
797
|
*/
|
798
798
|
ServiceRole?: String;
|
799
799
|
/**
|
800
|
-
* An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.
|
800
|
+
* An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.
|
801
801
|
*/
|
802
802
|
NormalizedInstanceHours?: Integer;
|
803
803
|
/**
|
@@ -805,7 +805,7 @@ declare namespace EMR {
|
|
805
805
|
*/
|
806
806
|
MasterPublicDnsName?: String;
|
807
807
|
/**
|
808
|
-
* Applies only to Amazon EMR releases 4.x and later. The list of
|
808
|
+
* Applies only to Amazon EMR releases 4.x and later. The list of configurations that are supplied to the Amazon EMR cluster.
|
809
809
|
*/
|
810
810
|
Configurations?: ConfigurationList;
|
811
811
|
/**
|
@@ -813,23 +813,23 @@ declare namespace EMR {
|
|
813
813
|
*/
|
814
814
|
SecurityConfiguration?: XmlString;
|
815
815
|
/**
|
816
|
-
* An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM role provides permissions that the automatic scaling feature requires to launch and terminate EC2 instances in an instance group.
|
816
|
+
* An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM role provides permissions that the automatic scaling feature requires to launch and terminate Amazon EC2 instances in an instance group.
|
817
817
|
*/
|
818
818
|
AutoScalingRole?: XmlString;
|
819
819
|
/**
|
820
|
-
* The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION is available only in Amazon EMR
|
820
|
+
* The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION is available only in Amazon EMR releases 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.
|
821
821
|
*/
|
822
822
|
ScaleDownBehavior?: ScaleDownBehavior;
|
823
823
|
/**
|
824
|
-
* Available only in Amazon EMR
|
824
|
+
* Available only in Amazon EMR releases 5.7.0 and later. The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.
|
825
825
|
*/
|
826
826
|
CustomAmiId?: XmlStringMaxLen256;
|
827
827
|
/**
|
828
|
-
* The size, in GiB, of the Amazon EBS root device volume of the Linux AMI that is used for each EC2 instance. Available in Amazon EMR
|
828
|
+
* The size, in GiB, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases 4.x and later.
|
829
829
|
*/
|
830
830
|
EbsRootVolumeSize?: Integer;
|
831
831
|
/**
|
832
|
-
* Applies only when CustomAmiID is used. Specifies the type of updates that
|
832
|
+
* Applies only when CustomAmiID is used. Specifies the type of updates that the Amazon Linux AMI package repositories apply when an instance boots using the AMI.
|
833
833
|
*/
|
834
834
|
RepoUpgradeOnBoot?: RepoUpgradeOnBoot;
|
835
835
|
/**
|
@@ -885,7 +885,7 @@ declare namespace EMR {
|
|
885
885
|
*/
|
886
886
|
Timeline?: ClusterTimeline;
|
887
887
|
/**
|
888
|
-
* A list of tuples that
|
888
|
+
* A list of tuples that provides information about the errors that caused a cluster to terminate. This structure can contain up to 10 different ErrorDetail tuples.
|
889
889
|
*/
|
890
890
|
ErrorDetails?: ErrorDetailList;
|
891
891
|
}
|
@@ -903,7 +903,7 @@ declare namespace EMR {
|
|
903
903
|
*/
|
904
904
|
Status?: ClusterStatus;
|
905
905
|
/**
|
906
|
-
* An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.
|
906
|
+
* An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.
|
907
907
|
*/
|
908
908
|
NormalizedInstanceHours?: Integer;
|
909
909
|
/**
|
@@ -952,19 +952,19 @@ declare namespace EMR {
|
|
952
952
|
*/
|
953
953
|
UnitType: ComputeLimitsUnitType;
|
954
954
|
/**
|
955
|
-
* The lower boundary of EC2 units. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. Managed scaling activities are not allowed beyond this boundary. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
|
955
|
+
* The lower boundary of Amazon EC2 units. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. Managed scaling activities are not allowed beyond this boundary. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
|
956
956
|
*/
|
957
957
|
MinimumCapacityUnits: Integer;
|
958
958
|
/**
|
959
|
-
* The upper boundary of EC2 units. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. Managed scaling activities are not allowed beyond this boundary. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
|
959
|
+
* The upper boundary of Amazon EC2 units. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. Managed scaling activities are not allowed beyond this boundary. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
|
960
960
|
*/
|
961
961
|
MaximumCapacityUnits: Integer;
|
962
962
|
/**
|
963
|
-
* The upper boundary of On-Demand EC2 units. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. The On-Demand units are not allowed to scale beyond this boundary. The parameter is used to split capacity allocation between On-Demand and Spot Instances.
|
963
|
+
* The upper boundary of On-Demand Amazon EC2 units. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. The On-Demand units are not allowed to scale beyond this boundary. The parameter is used to split capacity allocation between On-Demand and Spot Instances.
|
964
964
|
*/
|
965
965
|
MaximumOnDemandCapacityUnits?: Integer;
|
966
966
|
/**
|
967
|
-
* The upper boundary of EC2 units for core node type in a cluster. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. The core units are not allowed to scale beyond this boundary. The parameter is used to split capacity allocation between core and task nodes.
|
967
|
+
* The upper boundary of Amazon EC2 units for core node type in a cluster. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. The core units are not allowed to scale beyond this boundary. The parameter is used to split capacity allocation between core and task nodes.
|
968
968
|
*/
|
969
969
|
MaximumCoreCapacityUnits?: Integer;
|
970
970
|
}
|
@@ -1086,7 +1086,7 @@ declare namespace EMR {
|
|
1086
1086
|
*/
|
1087
1087
|
IdentityType: IdentityType;
|
1088
1088
|
/**
|
1089
|
-
* The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. You should specify the ARN for the session policy that you want to apply, not the ARN of your user role. For more information, see Create an EMR Studio User Role with Session Policies.
|
1089
|
+
* The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. You should specify the ARN for the session policy that you want to apply, not the ARN of your user role. For more information, see Create an Amazon EMR Studio User Role with Session Policies.
|
1090
1090
|
*/
|
1091
1091
|
SessionPolicyArn: XmlStringMaxLen256;
|
1092
1092
|
}
|
@@ -1261,7 +1261,7 @@ declare namespace EMR {
|
|
1261
1261
|
export type EC2InstanceIdsToTerminateList = InstanceId[];
|
1262
1262
|
export interface EbsBlockDevice {
|
1263
1263
|
/**
|
1264
|
-
* EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are requested for the EBS volume attached to an EC2 instance in the cluster.
|
1264
|
+
* EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are requested for the EBS volume attached to an Amazon EC2 instance in the cluster.
|
1265
1265
|
*/
|
1266
1266
|
VolumeSpecification?: VolumeSpecification;
|
1267
1267
|
/**
|
@@ -1271,7 +1271,7 @@ declare namespace EMR {
|
|
1271
1271
|
}
|
1272
1272
|
export interface EbsBlockDeviceConfig {
|
1273
1273
|
/**
|
1274
|
-
* EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are requested for the EBS volume attached to an EC2 instance in the cluster.
|
1274
|
+
* EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are requested for the EBS volume attached to an Amazon EC2 instance in the cluster.
|
1275
1275
|
*/
|
1276
1276
|
VolumeSpecification: VolumeSpecification;
|
1277
1277
|
/**
|
@@ -1312,7 +1312,7 @@ declare namespace EMR {
|
|
1312
1312
|
*/
|
1313
1313
|
Ec2SubnetId?: String;
|
1314
1314
|
/**
|
1315
|
-
* Applies to clusters configured with the instance fleets option. Specifies the unique identifier of one or more Amazon EC2 subnets in which to launch EC2 cluster instances. Subnets must exist within the same VPC. Amazon EMR chooses the EC2 subnet with the best fit from among the list of RequestedEc2SubnetIds, and then launches all cluster instances within that Subnet. If this value is not specified, and the account and Region support EC2-Classic networks, the cluster launches instances in the EC2-Classic network and uses RequestedEc2AvailabilityZones instead of this setting. If EC2-Classic is not supported, and no Subnet is specified, Amazon EMR chooses the subnet for you. RequestedEc2SubnetIDs and RequestedEc2AvailabilityZones cannot be specified together.
|
1315
|
+
* Applies to clusters configured with the instance fleets option. Specifies the unique identifier of one or more Amazon EC2 subnets in which to launch Amazon EC2 cluster instances. Subnets must exist within the same VPC. Amazon EMR chooses the Amazon EC2 subnet with the best fit from among the list of RequestedEc2SubnetIds, and then launches all cluster instances within that Subnet. If this value is not specified, and the account and Region support EC2-Classic networks, the cluster launches instances in the EC2-Classic network and uses RequestedEc2AvailabilityZones instead of this setting. If EC2-Classic is not supported, and no Subnet is specified, Amazon EMR chooses the subnet for you. RequestedEc2SubnetIDs and RequestedEc2AvailabilityZones cannot be specified together.
|
1316
1316
|
*/
|
1317
1317
|
RequestedEc2SubnetIds?: XmlStringMaxLen256List;
|
1318
1318
|
/**
|
@@ -1320,11 +1320,11 @@ declare namespace EMR {
|
|
1320
1320
|
*/
|
1321
1321
|
Ec2AvailabilityZone?: String;
|
1322
1322
|
/**
|
1323
|
-
* Applies to clusters configured with the instance fleets option. Specifies one or more Availability Zones in which to launch EC2 cluster instances when the EC2-Classic network configuration is supported. Amazon EMR chooses the Availability Zone with the best fit from among the list of RequestedEc2AvailabilityZones, and then launches all cluster instances within that Availability Zone. If you do not specify this value, Amazon EMR chooses the Availability Zone for you. RequestedEc2SubnetIDs and RequestedEc2AvailabilityZones cannot be specified together.
|
1323
|
+
* Applies to clusters configured with the instance fleets option. Specifies one or more Availability Zones in which to launch Amazon EC2 cluster instances when the EC2-Classic network configuration is supported. Amazon EMR chooses the Availability Zone with the best fit from among the list of RequestedEc2AvailabilityZones, and then launches all cluster instances within that Availability Zone. If you do not specify this value, Amazon EMR chooses the Availability Zone for you. RequestedEc2SubnetIDs and RequestedEc2AvailabilityZones cannot be specified together.
|
1324
1324
|
*/
|
1325
1325
|
RequestedEc2AvailabilityZones?: XmlStringMaxLen256List;
|
1326
1326
|
/**
|
1327
|
-
* The IAM role that was specified when the cluster was launched. The EC2 instances of the cluster assume this role.
|
1327
|
+
* The IAM role that was specified when the cluster was launched. The Amazon EC2 instances of the cluster assume this role.
|
1328
1328
|
*/
|
1329
1329
|
IamInstanceProfile?: String;
|
1330
1330
|
/**
|
@@ -1348,35 +1348,40 @@ declare namespace EMR {
|
|
1348
1348
|
*/
|
1349
1349
|
AdditionalSlaveSecurityGroups?: StringList;
|
1350
1350
|
}
|
1351
|
+
export type EnvironmentVariablesMap = {[key: string]: XmlString};
|
1351
1352
|
export type ErrorData = StringMap[];
|
1352
1353
|
export interface ErrorDetail {
|
1353
1354
|
/**
|
1354
|
-
* The name or code
|
1355
|
+
* The name or code associated with the error.
|
1355
1356
|
*/
|
1356
1357
|
ErrorCode?: String;
|
1357
1358
|
/**
|
1358
|
-
* A list of key value pairs that
|
1359
|
+
* A list of key value pairs that provides contextual information about why an error occured.
|
1359
1360
|
*/
|
1360
1361
|
ErrorData?: ErrorData;
|
1361
1362
|
/**
|
1362
|
-
* A message
|
1363
|
+
* A message that describes the error.
|
1363
1364
|
*/
|
1364
1365
|
ErrorMessage?: String;
|
1365
1366
|
}
|
1366
1367
|
export type ErrorDetailList = ErrorDetail[];
|
1367
1368
|
export interface ExecutionEngineConfig {
|
1368
1369
|
/**
|
1369
|
-
* The unique identifier of the execution engine. For an EMR cluster, this is the cluster ID.
|
1370
|
+
* The unique identifier of the execution engine. For an Amazon EMR cluster, this is the cluster ID.
|
1370
1371
|
*/
|
1371
1372
|
Id: XmlStringMaxLen256;
|
1372
1373
|
/**
|
1373
|
-
* The type of execution engine. A value of EMR specifies an EMR cluster.
|
1374
|
+
* The type of execution engine. A value of EMR specifies an Amazon EMR cluster.
|
1374
1375
|
*/
|
1375
1376
|
Type?: ExecutionEngineType;
|
1376
1377
|
/**
|
1377
|
-
* An optional unique ID of an EC2 security group to associate with the master instance of the EMR cluster for this notebook execution. For more information see Specifying EC2 Security Groups for EMR Notebooks in the EMR Management Guide.
|
1378
|
+
* An optional unique ID of an Amazon EC2 security group to associate with the master instance of the Amazon EMR cluster for this notebook execution. For more information see Specifying Amazon EC2 Security Groups for Amazon EMR Notebooks in the EMR Management Guide.
|
1378
1379
|
*/
|
1379
1380
|
MasterInstanceSecurityGroupId?: XmlStringMaxLen256;
|
1381
|
+
/**
|
1382
|
+
* The execution role ARN required for the notebook execution.
|
1383
|
+
*/
|
1384
|
+
ExecutionRoleArn?: IAMRoleArn;
|
1380
1385
|
}
|
1381
1386
|
export type ExecutionEngineType = "EMR"|string;
|
1382
1387
|
export interface FailureDetails {
|
@@ -1409,7 +1414,7 @@ declare namespace EMR {
|
|
1409
1414
|
}
|
1410
1415
|
export interface GetBlockPublicAccessConfigurationOutput {
|
1411
1416
|
/**
|
1412
|
-
* A configuration for Amazon EMR block public access. The configuration applies to all clusters created in your account for the current Region. The configuration specifies whether block public access is enabled. If block public access is enabled, security groups associated with the cluster cannot have rules that allow inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless the port is specified as an exception using PermittedPublicSecurityGroupRuleRanges in the BlockPublicAccessConfiguration. By default, Port 22 (SSH) is an exception, and public access is allowed on this port. You can change this by updating the block public access configuration to remove the exception. For accounts that created clusters in a Region before November 25, 2019, block public access is disabled by default in that Region. To use this feature, you must manually enable and configure it. For accounts that did not create an EMR cluster in a Region before this date, block public access is enabled by default in that Region.
|
1417
|
+
* A configuration for Amazon EMR block public access. The configuration applies to all clusters created in your account for the current Region. The configuration specifies whether block public access is enabled. If block public access is enabled, security groups associated with the cluster cannot have rules that allow inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless the port is specified as an exception using PermittedPublicSecurityGroupRuleRanges in the BlockPublicAccessConfiguration. By default, Port 22 (SSH) is an exception, and public access is allowed on this port. You can change this by updating the block public access configuration to remove the exception. For accounts that created clusters in a Region before November 25, 2019, block public access is disabled by default in that Region. To use this feature, you must manually enable and configure it. For accounts that did not create an Amazon EMR cluster in a Region before this date, block public access is enabled by default in that Region.
|
1413
1418
|
*/
|
1414
1419
|
BlockPublicAccessConfiguration: BlockPublicAccessConfiguration;
|
1415
1420
|
/**
|
@@ -1509,6 +1514,7 @@ declare namespace EMR {
|
|
1509
1514
|
*/
|
1510
1515
|
Args?: StringList;
|
1511
1516
|
}
|
1517
|
+
export type IAMRoleArn = string;
|
1512
1518
|
export type IdentityType = "USER"|"GROUP"|string;
|
1513
1519
|
export interface Instance {
|
1514
1520
|
/**
|
@@ -1544,7 +1550,7 @@ declare namespace EMR {
|
|
1544
1550
|
*/
|
1545
1551
|
InstanceGroupId?: String;
|
1546
1552
|
/**
|
1547
|
-
* The unique identifier of the instance fleet to which an EC2 instance belongs.
|
1553
|
+
* The unique identifier of the instance fleet to which an Amazon EC2 instance belongs.
|
1548
1554
|
*/
|
1549
1555
|
InstanceFleetId?: InstanceFleetId;
|
1550
1556
|
/**
|
@@ -1552,7 +1558,7 @@ declare namespace EMR {
|
|
1552
1558
|
*/
|
1553
1559
|
Market?: MarketType;
|
1554
1560
|
/**
|
1555
|
-
* The EC2 instance type, for example m3.xlarge.
|
1561
|
+
* The Amazon EC2 instance type, for example m3.xlarge.
|
1556
1562
|
*/
|
1557
1563
|
InstanceType?: InstanceType;
|
1558
1564
|
/**
|
@@ -1625,7 +1631,7 @@ declare namespace EMR {
|
|
1625
1631
|
*/
|
1626
1632
|
TargetSpotCapacity?: WholeNumber;
|
1627
1633
|
/**
|
1628
|
-
* The instance type configurations that define the EC2 instances in the instance fleet.
|
1634
|
+
* The instance type configurations that define the Amazon EC2 instances in the instance fleet.
|
1629
1635
|
*/
|
1630
1636
|
InstanceTypeConfigs?: InstanceTypeConfigList;
|
1631
1637
|
/**
|
@@ -1664,7 +1670,7 @@ declare namespace EMR {
|
|
1664
1670
|
*/
|
1665
1671
|
SpotSpecification?: SpotProvisioningSpecification;
|
1666
1672
|
/**
|
1667
|
-
* The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy. The instance fleet configuration is available only in Amazon EMR
|
1673
|
+
* The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy. The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later.
|
1668
1674
|
*/
|
1669
1675
|
OnDemandSpecification?: OnDemandProvisioningSpecification;
|
1670
1676
|
}
|
@@ -1692,7 +1698,7 @@ declare namespace EMR {
|
|
1692
1698
|
export type InstanceFleetStateChangeReasonCode = "INTERNAL_ERROR"|"VALIDATION_ERROR"|"INSTANCE_FAILURE"|"CLUSTER_TERMINATED"|string;
|
1693
1699
|
export interface InstanceFleetStatus {
|
1694
1700
|
/**
|
1695
|
-
* A code representing the instance fleet status. PROVISIONING—The instance fleet is provisioning EC2 resources and is not yet ready to run jobs. BOOTSTRAPPING—EC2 instances and other resources have been provisioned and the bootstrap actions specified for the instances are underway. RUNNING—EC2 instances and other resources are running. They are either executing jobs or waiting to execute jobs. RESIZING—A resize operation is underway. EC2 instances are either being added or removed. SUSPENDED—A resize operation could not complete. Existing EC2 instances are running, but instances can't be added or removed. TERMINATING—The instance fleet is terminating EC2 instances. TERMINATED—The instance fleet is no longer active, and all EC2 instances have been terminated.
|
1701
|
+
* A code representing the instance fleet status. PROVISIONING—The instance fleet is provisioning Amazon EC2 resources and is not yet ready to run jobs. BOOTSTRAPPING—Amazon EC2 instances and other resources have been provisioned and the bootstrap actions specified for the instances are underway. RUNNING—Amazon EC2 instances and other resources are running. They are either executing jobs or waiting to execute jobs. RESIZING—A resize operation is underway. Amazon EC2 instances are either being added or removed. SUSPENDED—A resize operation could not complete. Existing Amazon EC2 instances are running, but instances can't be added or removed. TERMINATING—The instance fleet is terminating Amazon EC2 instances. TERMINATED—The instance fleet is no longer active, and all Amazon EC2 instances have been terminated.
|
1696
1702
|
*/
|
1697
1703
|
State?: InstanceFleetState;
|
1698
1704
|
/**
|
@@ -1741,7 +1747,7 @@ declare namespace EMR {
|
|
1741
1747
|
*/
|
1742
1748
|
BidPrice?: String;
|
1743
1749
|
/**
|
1744
|
-
* The EC2 instance type for all instances in the instance group.
|
1750
|
+
* The Amazon EC2 instance type for all instances in the instance group.
|
1745
1751
|
*/
|
1746
1752
|
InstanceType?: InstanceType;
|
1747
1753
|
/**
|
@@ -1785,7 +1791,7 @@ declare namespace EMR {
|
|
1785
1791
|
*/
|
1786
1792
|
ShrinkPolicy?: ShrinkPolicy;
|
1787
1793
|
/**
|
1788
|
-
* An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.
|
1794
|
+
* An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates Amazon EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.
|
1789
1795
|
*/
|
1790
1796
|
AutoScalingPolicy?: AutoScalingPolicyDescription;
|
1791
1797
|
/**
|
@@ -1799,7 +1805,7 @@ declare namespace EMR {
|
|
1799
1805
|
*/
|
1800
1806
|
Name?: XmlStringMaxLen256;
|
1801
1807
|
/**
|
1802
|
-
* Market type of the EC2 instances used to create a cluster node.
|
1808
|
+
* Market type of the Amazon EC2 instances used to create a cluster node.
|
1803
1809
|
*/
|
1804
1810
|
Market?: MarketType;
|
1805
1811
|
/**
|
@@ -1811,7 +1817,7 @@ declare namespace EMR {
|
|
1811
1817
|
*/
|
1812
1818
|
BidPrice?: XmlStringMaxLen256;
|
1813
1819
|
/**
|
1814
|
-
* The EC2 instance type for all instances in the instance group.
|
1820
|
+
* The Amazon EC2 instance type for all instances in the instance group.
|
1815
1821
|
*/
|
1816
1822
|
InstanceType: InstanceType;
|
1817
1823
|
/**
|
@@ -1819,15 +1825,15 @@ declare namespace EMR {
|
|
1819
1825
|
*/
|
1820
1826
|
InstanceCount: Integer;
|
1821
1827
|
/**
|
1822
|
-
* Amazon EMR releases 4.x or later. The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).
|
1828
|
+
* Amazon EMR releases 4.x or later. The list of configurations supplied for an Amazon EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).
|
1823
1829
|
*/
|
1824
1830
|
Configurations?: ConfigurationList;
|
1825
1831
|
/**
|
1826
|
-
* EBS configurations that will be attached to each EC2 instance in the instance group.
|
1832
|
+
* EBS configurations that will be attached to each Amazon EC2 instance in the instance group.
|
1827
1833
|
*/
|
1828
1834
|
EbsConfiguration?: EbsConfiguration;
|
1829
1835
|
/**
|
1830
|
-
* An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.
|
1836
|
+
* An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates Amazon EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.
|
1831
1837
|
*/
|
1832
1838
|
AutoScalingPolicy?: AutoScalingPolicy;
|
1833
1839
|
/**
|
@@ -1846,7 +1852,7 @@ declare namespace EMR {
|
|
1846
1852
|
*/
|
1847
1853
|
Name?: XmlStringMaxLen256;
|
1848
1854
|
/**
|
1849
|
-
* Market type of the EC2 instances used to create a cluster node.
|
1855
|
+
* Market type of the Amazon EC2 instances used to create a cluster node.
|
1850
1856
|
*/
|
1851
1857
|
Market: MarketType;
|
1852
1858
|
/**
|
@@ -1858,7 +1864,7 @@ declare namespace EMR {
|
|
1858
1864
|
*/
|
1859
1865
|
BidPrice?: XmlStringMaxLen256;
|
1860
1866
|
/**
|
1861
|
-
* EC2 instance type.
|
1867
|
+
* Amazon EC2 instance type.
|
1862
1868
|
*/
|
1863
1869
|
InstanceType: InstanceType;
|
1864
1870
|
/**
|
@@ -1912,7 +1918,7 @@ declare namespace EMR {
|
|
1912
1918
|
*/
|
1913
1919
|
InstanceCount?: Integer;
|
1914
1920
|
/**
|
1915
|
-
* The EC2 InstanceIds to terminate. After you terminate the instances, the instance group will not return to its original requested size.
|
1921
|
+
* The Amazon EC2 InstanceIds to terminate. After you terminate the instances, the instance group will not return to its original requested size.
|
1916
1922
|
*/
|
1917
1923
|
EC2InstanceIdsToTerminate?: EC2InstanceIdsToTerminateList;
|
1918
1924
|
/**
|
@@ -2032,7 +2038,7 @@ declare namespace EMR {
|
|
2032
2038
|
export type InstanceType = string;
|
2033
2039
|
export interface InstanceTypeConfig {
|
2034
2040
|
/**
|
2035
|
-
* An EC2 instance type, such as m3.xlarge.
|
2041
|
+
* An Amazon EC2 instance type, such as m3.xlarge.
|
2036
2042
|
*/
|
2037
2043
|
InstanceType: InstanceType;
|
2038
2044
|
/**
|
@@ -2040,11 +2046,11 @@ declare namespace EMR {
|
|
2040
2046
|
*/
|
2041
2047
|
WeightedCapacity?: WholeNumber;
|
2042
2048
|
/**
|
2043
|
-
* The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.
|
2049
|
+
* The bid price for each Amazon EC2 Spot Instance type as defined by InstanceType. Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.
|
2044
2050
|
*/
|
2045
2051
|
BidPrice?: XmlStringMaxLen256;
|
2046
2052
|
/**
|
2047
|
-
* The bid price, as a percentage of On-Demand price, for each EC2 Spot Instance as defined by InstanceType. Expressed as a number (for example, 20 specifies 20%). If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.
|
2053
|
+
* The bid price, as a percentage of On-Demand price, for each Amazon EC2 Spot Instance as defined by InstanceType. Expressed as a number (for example, 20 specifies 20%). If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.
|
2048
2054
|
*/
|
2049
2055
|
BidPriceAsPercentageOfOnDemandPrice?: NonNegativeDouble;
|
2050
2056
|
/**
|
@@ -2063,7 +2069,7 @@ declare namespace EMR {
|
|
2063
2069
|
export type InstanceTypeConfigList = InstanceTypeConfig[];
|
2064
2070
|
export interface InstanceTypeSpecification {
|
2065
2071
|
/**
|
2066
|
-
* The EC2 instance type, for example m3.xlarge.
|
2072
|
+
* The Amazon EC2 instance type, for example m3.xlarge.
|
2067
2073
|
*/
|
2068
2074
|
InstanceType?: InstanceType;
|
2069
2075
|
/**
|
@@ -2071,11 +2077,11 @@ declare namespace EMR {
|
|
2071
2077
|
*/
|
2072
2078
|
WeightedCapacity?: WholeNumber;
|
2073
2079
|
/**
|
2074
|
-
* The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD.
|
2080
|
+
* The bid price for each Amazon EC2 Spot Instance type as defined by InstanceType. Expressed in USD.
|
2075
2081
|
*/
|
2076
2082
|
BidPrice?: XmlStringMaxLen256;
|
2077
2083
|
/**
|
2078
|
-
* The bid price, as a percentage of On-Demand price, for each EC2 Spot Instance as defined by InstanceType. Expressed as a number (for example, 20 specifies 20%).
|
2084
|
+
* The bid price, as a percentage of On-Demand price, for each Amazon EC2 Spot Instance as defined by InstanceType. Expressed as a number (for example, 20 specifies 20%).
|
2079
2085
|
*/
|
2080
2086
|
BidPriceAsPercentageOfOnDemandPrice?: NonNegativeDouble;
|
2081
2087
|
/**
|
@@ -2111,7 +2117,7 @@ declare namespace EMR {
|
|
2111
2117
|
*/
|
2112
2118
|
LogUri?: XmlString;
|
2113
2119
|
/**
|
2114
|
-
* The KMS key used for encrypting log files. This attribute is only available with EMR
|
2120
|
+
* The KMS key used for encrypting log files. This attribute is only available with Amazon EMR 5.30.0 and later, excluding 6.0.0.
|
2115
2121
|
*/
|
2116
2122
|
LogEncryptionKmsKeyId?: XmlString;
|
2117
2123
|
/**
|
@@ -2139,11 +2145,11 @@ declare namespace EMR {
|
|
2139
2145
|
*/
|
2140
2146
|
SupportedProducts?: SupportedProductsList;
|
2141
2147
|
/**
|
2142
|
-
* Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform EMR actions, regardless of IAM permissions policies attached to other IAM principals. The default value is true if a value is not provided when creating a cluster using the EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.
|
2148
|
+
* Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions, regardless of IAM permissions policies attached to other IAM principals. The default value is true if a value is not provided when creating a cluster using the Amazon EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.
|
2143
2149
|
*/
|
2144
2150
|
VisibleToAllUsers?: Boolean;
|
2145
2151
|
/**
|
2146
|
-
* The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.
|
2152
|
+
* The IAM role that was specified when the job flow was launched. The Amazon EC2 instances of the job flow assume this role.
|
2147
2153
|
*/
|
2148
2154
|
JobFlowRole?: XmlString;
|
2149
2155
|
/**
|
@@ -2151,11 +2157,11 @@ declare namespace EMR {
|
|
2151
2157
|
*/
|
2152
2158
|
ServiceRole?: XmlString;
|
2153
2159
|
/**
|
2154
|
-
* An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM role provides a way for the automatic scaling feature to get the required permissions it needs to launch and terminate EC2 instances in an instance group.
|
2160
|
+
* An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM role provides a way for the automatic scaling feature to get the required permissions it needs to launch and terminate Amazon EC2 instances in an instance group.
|
2155
2161
|
*/
|
2156
2162
|
AutoScalingRole?: XmlString;
|
2157
2163
|
/**
|
2158
|
-
* The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR
|
2164
|
+
* The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR releases 4.1.0 and later, and is the default for releases of Amazon EMR earlier than 5.1.0.
|
2159
2165
|
*/
|
2160
2166
|
ScaleDownBehavior?: ScaleDownBehavior;
|
2161
2167
|
}
|
@@ -2190,15 +2196,15 @@ declare namespace EMR {
|
|
2190
2196
|
}
|
2191
2197
|
export interface JobFlowInstancesConfig {
|
2192
2198
|
/**
|
2193
|
-
* The EC2 instance type of the master node.
|
2199
|
+
* The Amazon EC2 instance type of the master node.
|
2194
2200
|
*/
|
2195
2201
|
MasterInstanceType?: InstanceType;
|
2196
2202
|
/**
|
2197
|
-
* The EC2 instance type of the core and task nodes.
|
2203
|
+
* The Amazon EC2 instance type of the core and task nodes.
|
2198
2204
|
*/
|
2199
2205
|
SlaveInstanceType?: InstanceType;
|
2200
2206
|
/**
|
2201
|
-
* The number of EC2 instances in the cluster.
|
2207
|
+
* The number of Amazon EC2 instances in the cluster.
|
2202
2208
|
*/
|
2203
2209
|
InstanceCount?: Integer;
|
2204
2210
|
/**
|
@@ -2206,11 +2212,11 @@ declare namespace EMR {
|
|
2206
2212
|
*/
|
2207
2213
|
InstanceGroups?: InstanceGroupConfigList;
|
2208
2214
|
/**
|
2209
|
-
* The instance fleet configuration is available only in Amazon EMR
|
2215
|
+
* The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. Describes the Amazon EC2 instances and instance configurations for clusters that use the instance fleet configuration.
|
2210
2216
|
*/
|
2211
2217
|
InstanceFleets?: InstanceFleetConfigList;
|
2212
2218
|
/**
|
2213
|
-
* The name of the EC2 key pair that can be used to connect to the master node using SSH as the user called "hadoop."
|
2219
|
+
* The name of the Amazon EC2 key pair that can be used to connect to the master node using SSH as the user called "hadoop."
|
2214
2220
|
*/
|
2215
2221
|
Ec2KeyName?: XmlStringMaxLen256;
|
2216
2222
|
/**
|
@@ -2234,7 +2240,7 @@ declare namespace EMR {
|
|
2234
2240
|
*/
|
2235
2241
|
Ec2SubnetId?: XmlStringMaxLen256;
|
2236
2242
|
/**
|
2237
|
-
* Applies to clusters that use the instance fleet configuration. When multiple EC2 subnet IDs are specified, Amazon EMR evaluates them and launches instances in the optimal subnet. The instance fleet configuration is available only in Amazon EMR
|
2243
|
+
* Applies to clusters that use the instance fleet configuration. When multiple Amazon EC2 subnet IDs are specified, Amazon EMR evaluates them and launches instances in the optimal subnet. The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.
|
2238
2244
|
*/
|
2239
2245
|
Ec2SubnetIds?: XmlStringMaxLen256List;
|
2240
2246
|
/**
|
@@ -2494,6 +2500,10 @@ declare namespace EMR {
|
|
2494
2500
|
* The pagination token, returned by a previous ListNotebookExecutions call, that indicates the start of the list for this ListNotebookExecutions call.
|
2495
2501
|
*/
|
2496
2502
|
Marker?: Marker;
|
2503
|
+
/**
|
2504
|
+
* The unique ID of the execution engine.
|
2505
|
+
*/
|
2506
|
+
ExecutionEngineId?: XmlString;
|
2497
2507
|
}
|
2498
2508
|
export interface ListNotebookExecutionsOutput {
|
2499
2509
|
/**
|
@@ -2616,7 +2626,7 @@ declare namespace EMR {
|
|
2616
2626
|
export type Long = number;
|
2617
2627
|
export interface ManagedScalingPolicy {
|
2618
2628
|
/**
|
2619
|
-
* The EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster is not allowed to go above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
|
2629
|
+
* The Amazon EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster is not allowed to go above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
|
2620
2630
|
*/
|
2621
2631
|
ComputeLimits?: ComputeLimits;
|
2622
2632
|
}
|
@@ -2678,11 +2688,11 @@ declare namespace EMR {
|
|
2678
2688
|
*/
|
2679
2689
|
NotebookExecutionId?: XmlStringMaxLen256;
|
2680
2690
|
/**
|
2681
|
-
* The unique identifier of the EMR Notebook that is used for the notebook execution.
|
2691
|
+
* The unique identifier of the Amazon EMR Notebook that is used for the notebook execution.
|
2682
2692
|
*/
|
2683
2693
|
EditorId?: XmlStringMaxLen256;
|
2684
2694
|
/**
|
2685
|
-
* The execution engine, such as an EMR cluster, used to run the EMR notebook and perform the notebook execution.
|
2695
|
+
* The execution engine, such as an Amazon EMR cluster, used to run the Amazon EMR notebook and perform the notebook execution.
|
2686
2696
|
*/
|
2687
2697
|
ExecutionEngine?: ExecutionEngineConfig;
|
2688
2698
|
/**
|
@@ -2690,7 +2700,7 @@ declare namespace EMR {
|
|
2690
2700
|
*/
|
2691
2701
|
NotebookExecutionName?: XmlStringMaxLen256;
|
2692
2702
|
/**
|
2693
|
-
* Input parameters in JSON format passed to the EMR Notebook at runtime for execution.
|
2703
|
+
* Input parameters in JSON format passed to the Amazon EMR Notebook at runtime for execution.
|
2694
2704
|
*/
|
2695
2705
|
NotebookParams?: XmlString;
|
2696
2706
|
/**
|
@@ -2718,13 +2728,29 @@ declare namespace EMR {
|
|
2718
2728
|
*/
|
2719
2729
|
LastStateChangeReason?: XmlString;
|
2720
2730
|
/**
|
2721
|
-
* The unique identifier of the EC2 security group associated with the EMR Notebook instance. For more information see Specifying EC2 Security Groups for EMR Notebooks in the EMR Management Guide.
|
2731
|
+
* The unique identifier of the Amazon EC2 security group associated with the Amazon EMR Notebook instance. For more information see Specifying Amazon EC2 Security Groups for Amazon EMR Notebooks in the Amazon EMR Management Guide.
|
2722
2732
|
*/
|
2723
2733
|
NotebookInstanceSecurityGroupId?: XmlStringMaxLen256;
|
2724
2734
|
/**
|
2725
2735
|
* A list of tags associated with a notebook execution. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters and an optional value string with a maximum of 256 characters.
|
2726
2736
|
*/
|
2727
2737
|
Tags?: TagList;
|
2738
|
+
/**
|
2739
|
+
* The Amazon S3 location that stores the notebook execution input.
|
2740
|
+
*/
|
2741
|
+
NotebookS3Location?: NotebookS3LocationForOutput;
|
2742
|
+
/**
|
2743
|
+
* The Amazon S3 location for the notebook execution output.
|
2744
|
+
*/
|
2745
|
+
OutputNotebookS3Location?: OutputNotebookS3LocationForOutput;
|
2746
|
+
/**
|
2747
|
+
* The output format for the notebook execution.
|
2748
|
+
*/
|
2749
|
+
OutputNotebookFormat?: OutputNotebookFormat;
|
2750
|
+
/**
|
2751
|
+
* The environment variables associated with the notebook execution.
|
2752
|
+
*/
|
2753
|
+
EnvironmentVariables?: EnvironmentVariablesMap;
|
2728
2754
|
}
|
2729
2755
|
export type NotebookExecutionStatus = "START_PENDING"|"STARTING"|"RUNNING"|"FINISHING"|"FINISHED"|"FAILING"|"FAILED"|"STOP_PENDING"|"STOPPING"|"STOPPED"|string;
|
2730
2756
|
export interface NotebookExecutionSummary {
|
@@ -2752,8 +2778,36 @@ declare namespace EMR {
|
|
2752
2778
|
* The timestamp when notebook execution started.
|
2753
2779
|
*/
|
2754
2780
|
EndTime?: _Date;
|
2781
|
+
/**
|
2782
|
+
* The Amazon S3 location that stores the notebook execution input.
|
2783
|
+
*/
|
2784
|
+
NotebookS3Location?: NotebookS3LocationForOutput;
|
2785
|
+
/**
|
2786
|
+
* The unique ID of the execution engine for the notebook execution.
|
2787
|
+
*/
|
2788
|
+
ExecutionEngineId?: XmlString;
|
2755
2789
|
}
|
2756
2790
|
export type NotebookExecutionSummaryList = NotebookExecutionSummary[];
|
2791
|
+
export interface NotebookS3LocationForOutput {
|
2792
|
+
/**
|
2793
|
+
* The Amazon S3 bucket that stores the notebook execution input.
|
2794
|
+
*/
|
2795
|
+
Bucket?: XmlStringMaxLen256;
|
2796
|
+
/**
|
2797
|
+
* The key to the Amazon S3 location that stores the notebook execution input.
|
2798
|
+
*/
|
2799
|
+
Key?: UriString;
|
2800
|
+
}
|
2801
|
+
export interface NotebookS3LocationFromInput {
|
2802
|
+
/**
|
2803
|
+
* The Amazon S3 bucket that stores the notebook execution input.
|
2804
|
+
*/
|
2805
|
+
Bucket?: XmlStringMaxLen256;
|
2806
|
+
/**
|
2807
|
+
* The key to the Amazon S3 location that stores the notebook execution input.
|
2808
|
+
*/
|
2809
|
+
Key?: UriString;
|
2810
|
+
}
|
2757
2811
|
export interface OSRelease {
|
2758
2812
|
/**
|
2759
2813
|
* The Amazon Linux release specified for a cluster in the RunJobFlow request. The format is as shown in Amazon Linux 2 Release Notes . For example, 2.0.20220218.1.
|
@@ -2795,13 +2849,34 @@ declare namespace EMR {
|
|
2795
2849
|
TimeoutDurationMinutes: WholeNumber;
|
2796
2850
|
}
|
2797
2851
|
export type OptionalArnType = string;
|
2852
|
+
export type OutputNotebookFormat = "HTML"|string;
|
2853
|
+
export interface OutputNotebookS3LocationForOutput {
|
2854
|
+
/**
|
2855
|
+
* The Amazon S3 bucket that stores the notebook execution output.
|
2856
|
+
*/
|
2857
|
+
Bucket?: XmlStringMaxLen256;
|
2858
|
+
/**
|
2859
|
+
* The key to the Amazon S3 location that stores the notebook execution output.
|
2860
|
+
*/
|
2861
|
+
Key?: UriString;
|
2862
|
+
}
|
2863
|
+
export interface OutputNotebookS3LocationFromInput {
|
2864
|
+
/**
|
2865
|
+
* The Amazon S3 bucket that stores the notebook execution output.
|
2866
|
+
*/
|
2867
|
+
Bucket?: XmlStringMaxLen256;
|
2868
|
+
/**
|
2869
|
+
* The key to the Amazon S3 location that stores the notebook execution output.
|
2870
|
+
*/
|
2871
|
+
Key?: UriString;
|
2872
|
+
}
|
2798
2873
|
export interface PlacementGroupConfig {
|
2799
2874
|
/**
|
2800
|
-
* Role of the instance in the cluster. Starting with Amazon EMR
|
2875
|
+
* Role of the instance in the cluster. Starting with Amazon EMR release 5.23.0, the only supported instance role is MASTER.
|
2801
2876
|
*/
|
2802
2877
|
InstanceRole: InstanceRoleType;
|
2803
2878
|
/**
|
2804
|
-
* EC2 Placement Group strategy associated with instance role. Starting with Amazon EMR
|
2879
|
+
* Amazon EC2 Placement Group strategy associated with instance role. Starting with Amazon EMR release 5.23.0, the only supported placement strategy is SPREAD for the MASTER instance role.
|
2805
2880
|
*/
|
2806
2881
|
PlacementStrategy?: PlacementGroupStrategy;
|
2807
2882
|
}
|
@@ -2813,7 +2888,7 @@ declare namespace EMR {
|
|
2813
2888
|
*/
|
2814
2889
|
AvailabilityZone?: XmlString;
|
2815
2890
|
/**
|
2816
|
-
* When multiple Availability Zones are specified, Amazon EMR evaluates them and launches instances in the optimal Availability Zone. AvailabilityZones is used for instance fleets, while AvailabilityZone (singular) is used for uniform instance groups. The instance fleet configuration is available only in Amazon EMR
|
2891
|
+
* When multiple Availability Zones are specified, Amazon EMR evaluates them and launches instances in the optimal Availability Zone. AvailabilityZones is used for instance fleets, while AvailabilityZone (singular) is used for uniform instance groups. The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.
|
2817
2892
|
*/
|
2818
2893
|
AvailabilityZones?: XmlStringMaxLen256List;
|
2819
2894
|
}
|
@@ -2875,7 +2950,7 @@ declare namespace EMR {
|
|
2875
2950
|
}
|
2876
2951
|
export interface PutBlockPublicAccessConfigurationInput {
|
2877
2952
|
/**
|
2878
|
-
* A configuration for Amazon EMR block public access. The configuration applies to all clusters created in your account for the current Region. The configuration specifies whether block public access is enabled. If block public access is enabled, security groups associated with the cluster cannot have rules that allow inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless the port is specified as an exception using PermittedPublicSecurityGroupRuleRanges in the BlockPublicAccessConfiguration. By default, Port 22 (SSH) is an exception, and public access is allowed on this port. You can change this by updating BlockPublicSecurityGroupRules to remove the exception. For accounts that created clusters in a Region before November 25, 2019, block public access is disabled by default in that Region. To use this feature, you must manually enable and configure it. For accounts that did not create an EMR cluster in a Region before this date, block public access is enabled by default in that Region.
|
2953
|
+
* A configuration for Amazon EMR block public access. The configuration applies to all clusters created in your account for the current Region. The configuration specifies whether block public access is enabled. If block public access is enabled, security groups associated with the cluster cannot have rules that allow inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless the port is specified as an exception using PermittedPublicSecurityGroupRuleRanges in the BlockPublicAccessConfiguration. By default, Port 22 (SSH) is an exception, and public access is allowed on this port. You can change this by updating BlockPublicSecurityGroupRules to remove the exception. For accounts that created clusters in a Region before November 25, 2019, block public access is disabled by default in that Region. To use this feature, you must manually enable and configure it. For accounts that did not create an Amazon EMR cluster in a Region before this date, block public access is enabled by default in that Region.
|
2879
2954
|
*/
|
2880
2955
|
BlockPublicAccessConfiguration: BlockPublicAccessConfiguration;
|
2881
2956
|
}
|
@@ -2883,7 +2958,7 @@ declare namespace EMR {
|
|
2883
2958
|
}
|
2884
2959
|
export interface PutManagedScalingPolicyInput {
|
2885
2960
|
/**
|
2886
|
-
* Specifies the ID of an EMR cluster where the managed scaling policy is attached.
|
2961
|
+
* Specifies the ID of an Amazon EMR cluster where the managed scaling policy is attached.
|
2887
2962
|
*/
|
2888
2963
|
ClusterId: ClusterId;
|
2889
2964
|
/**
|
@@ -2956,7 +3031,7 @@ declare namespace EMR {
|
|
2956
3031
|
*/
|
2957
3032
|
LogUri?: XmlString;
|
2958
3033
|
/**
|
2959
|
-
* The KMS key used for encrypting log files. If a value is not provided, the logs remain encrypted by AES-256. This attribute is only available with Amazon EMR
|
3034
|
+
* The KMS key used for encrypting log files. If a value is not provided, the logs remain encrypted by AES-256. This attribute is only available with Amazon EMR releases 5.30.0 and later, excluding Amazon EMR 6.0.0.
|
2960
3035
|
*/
|
2961
3036
|
LogEncryptionKmsKeyId?: XmlString;
|
2962
3037
|
/**
|
@@ -2988,7 +3063,7 @@ declare namespace EMR {
|
|
2988
3063
|
*/
|
2989
3064
|
SupportedProducts?: SupportedProductsList;
|
2990
3065
|
/**
|
2991
|
-
* For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and later, use Applications. A list of strings that indicates third-party software to use with the job flow that accepts a user argument list. EMR accepts and forwards the argument list to the corresponding installation script as bootstrap action arguments. For more information, see "Launch a Job Flow on the MapR Distribution for Hadoop" in the Amazon EMR Developer Guide. Supported values are: "mapr-m3" - launch the cluster using MapR M3 Edition. "mapr-m5" - launch the cluster using MapR M5 Edition. "mapr" with the user arguments specifying "--edition,m3" or "--edition,m5" - launch the job flow using MapR M3 or M5 Edition respectively. "mapr-m7" - launch the cluster using MapR M7 Edition. "hunk" - launch the cluster with the Hunk Big Data Analytics Platform. "hue"- launch the cluster with Hue installed. "spark" - launch the cluster with Apache Spark installed. "ganglia" - launch the cluster with the Ganglia Monitoring System installed.
|
3066
|
+
* For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and later, use Applications. A list of strings that indicates third-party software to use with the job flow that accepts a user argument list. Amazon EMR accepts and forwards the argument list to the corresponding installation script as bootstrap action arguments. For more information, see "Launch a Job Flow on the MapR Distribution for Hadoop" in the Amazon EMR Developer Guide. Supported values are: "mapr-m3" - launch the cluster using MapR M3 Edition. "mapr-m5" - launch the cluster using MapR M5 Edition. "mapr" with the user arguments specifying "--edition,m3" or "--edition,m5" - launch the job flow using MapR M3 or M5 Edition respectively. "mapr-m7" - launch the cluster using MapR M7 Edition. "hunk" - launch the cluster with the Hunk Big Data Analytics Platform. "hue"- launch the cluster with Hue installed. "spark" - launch the cluster with Apache Spark installed. "ganglia" - launch the cluster with the Ganglia Monitoring System installed.
|
2992
3067
|
*/
|
2993
3068
|
NewSupportedProducts?: NewSupportedProductsList;
|
2994
3069
|
/**
|
@@ -2996,15 +3071,15 @@ declare namespace EMR {
|
|
2996
3071
|
*/
|
2997
3072
|
Applications?: ApplicationList;
|
2998
3073
|
/**
|
2999
|
-
* For Amazon EMR releases 4.0 and later. The list of configurations supplied for the EMR cluster you are creating.
|
3074
|
+
* For Amazon EMR releases 4.0 and later. The list of configurations supplied for the Amazon EMR cluster that you are creating.
|
3000
3075
|
*/
|
3001
3076
|
Configurations?: ConfigurationList;
|
3002
3077
|
/**
|
3003
|
-
* The VisibleToAllUsers parameter is no longer supported. By default, the value is set to true. Setting it to false now has no effect. Set this value to true so that IAM principals in the Amazon Web Services account associated with the cluster can perform EMR actions on the cluster that their IAM policies allow. This value defaults to true for clusters created using the EMR API or the CLI create-cluster command. When set to false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform EMR actions for the cluster, regardless of the IAM permissions policies attached to other IAM principals. For more information, see Understanding the EMR
|
3078
|
+
* The VisibleToAllUsers parameter is no longer supported. By default, the value is set to true. Setting it to false now has no effect. Set this value to true so that IAM principals in the Amazon Web Services account associated with the cluster can perform Amazon EMR actions on the cluster that their IAM policies allow. This value defaults to true for clusters created using the Amazon EMR API or the CLI create-cluster command. When set to false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions for the cluster, regardless of the IAM permissions policies attached to other IAM principals. For more information, see Understanding the Amazon EMR cluster VisibleToAllUsers setting in the Amazon EMR Management Guide.
|
3004
3079
|
*/
|
3005
3080
|
VisibleToAllUsers?: Boolean;
|
3006
3081
|
/**
|
3007
|
-
* Also called instance profile and EC2 role. An IAM role for an EMR cluster. The EC2 instances of the cluster assume this role. The default role is EMR_EC2_DefaultRole. In order to use the default role, you must have already created it using the CLI or console.
|
3082
|
+
* Also called instance profile and Amazon EC2 role. An IAM role for an Amazon EMR cluster. The Amazon EC2 instances of the cluster assume this role. The default role is EMR_EC2_DefaultRole. In order to use the default role, you must have already created it using the CLI or console.
|
3008
3083
|
*/
|
3009
3084
|
JobFlowRole?: XmlString;
|
3010
3085
|
/**
|
@@ -3020,19 +3095,19 @@ declare namespace EMR {
|
|
3020
3095
|
*/
|
3021
3096
|
SecurityConfiguration?: XmlString;
|
3022
3097
|
/**
|
3023
|
-
* An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM role provides permissions that the automatic scaling feature requires to launch and terminate EC2 instances in an instance group.
|
3098
|
+
* An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM role provides permissions that the automatic scaling feature requires to launch and terminate Amazon EC2 instances in an instance group.
|
3024
3099
|
*/
|
3025
3100
|
AutoScalingRole?: XmlString;
|
3026
3101
|
/**
|
3027
|
-
* Specifies the way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR
|
3102
|
+
* Specifies the way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR releases 4.1.0 and later, and is the default for releases of Amazon EMR earlier than 5.1.0.
|
3028
3103
|
*/
|
3029
3104
|
ScaleDownBehavior?: ScaleDownBehavior;
|
3030
3105
|
/**
|
3031
|
-
* Available only in Amazon EMR
|
3106
|
+
* Available only in Amazon EMR releases 5.7.0 and later. The ID of a custom Amazon EBS-backed Linux AMI. If specified, Amazon EMR uses this AMI when it launches cluster Amazon EC2 instances. For more information about custom AMIs in Amazon EMR, see Using a Custom AMI in the Amazon EMR Management Guide. If omitted, the cluster uses the base Linux AMI for the ReleaseLabel specified. For Amazon EMR releases 2.x and 3.x, use AmiVersion instead. For information about creating a custom AMI, see Creating an Amazon EBS-Backed Linux AMI in the Amazon Elastic Compute Cloud User Guide for Linux Instances. For information about finding an AMI ID, see Finding a Linux AMI.
|
3032
3107
|
*/
|
3033
3108
|
CustomAmiId?: XmlStringMaxLen256;
|
3034
3109
|
/**
|
3035
|
-
* The size, in GiB, of the Amazon EBS root device volume of the Linux AMI that is used for each EC2 instance. Available in Amazon EMR
|
3110
|
+
* The size, in GiB, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases 4.x and later.
|
3036
3111
|
*/
|
3037
3112
|
EbsRootVolumeSize?: Integer;
|
3038
3113
|
/**
|
@@ -3084,11 +3159,11 @@ declare namespace EMR {
|
|
3084
3159
|
}
|
3085
3160
|
export interface ScalingConstraints {
|
3086
3161
|
/**
|
3087
|
-
* The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to shrink. Scale-in activities will not terminate instances below this boundary.
|
3162
|
+
* The lower boundary of Amazon EC2 instances in an instance group below which scaling activities are not allowed to shrink. Scale-in activities will not terminate instances below this boundary.
|
3088
3163
|
*/
|
3089
3164
|
MinCapacity: Integer;
|
3090
3165
|
/**
|
3091
|
-
* The upper boundary of EC2 instances in an instance group beyond which scaling activities are not allowed to grow. Scale-out activities will not add instances beyond this boundary.
|
3166
|
+
* The upper boundary of Amazon EC2 instances in an instance group beyond which scaling activities are not allowed to grow. Scale-out activities will not add instances beyond this boundary.
|
3092
3167
|
*/
|
3093
3168
|
MaxCapacity: Integer;
|
3094
3169
|
}
|
@@ -3212,7 +3287,7 @@ declare namespace EMR {
|
|
3212
3287
|
*/
|
3213
3288
|
JobFlowIds: XmlStringList;
|
3214
3289
|
/**
|
3215
|
-
* A value of true indicates that an IAM principal in the Amazon Web Services account can perform EMR actions on the cluster that the IAM policies attached to the principal allow. A value of false indicates that only the IAM principal that created the cluster and the Amazon Web Services root user can perform EMR actions on the cluster.
|
3290
|
+
* A value of true indicates that an IAM principal in the Amazon Web Services account can perform Amazon EMR actions on the cluster that the IAM policies attached to the principal allow. A value of false indicates that only the IAM principal that created the cluster and the Amazon Web Services root user can perform Amazon EMR actions on the cluster.
|
3216
3291
|
*/
|
3217
3292
|
VisibleToAllUsers: Boolean;
|
3218
3293
|
}
|
@@ -3228,11 +3303,11 @@ declare namespace EMR {
|
|
3228
3303
|
}
|
3229
3304
|
export interface SimpleScalingPolicyConfiguration {
|
3230
3305
|
/**
|
3231
|
-
* The way in which EC2 instances are added (if ScalingAdjustment is a positive number) or terminated (if ScalingAdjustment is a negative number) each time the scaling activity is triggered. CHANGE_IN_CAPACITY is the default. CHANGE_IN_CAPACITY indicates that the EC2 instance count increments or decrements by ScalingAdjustment, which should be expressed as an integer. PERCENT_CHANGE_IN_CAPACITY indicates the instance count increments or decrements by the percentage specified by ScalingAdjustment, which should be expressed as an integer. For example, 20 indicates an increase in 20% increments of cluster capacity. EXACT_CAPACITY indicates the scaling activity results in an instance group with the number of EC2 instances specified by ScalingAdjustment, which should be expressed as a positive integer.
|
3306
|
+
* The way in which Amazon EC2 instances are added (if ScalingAdjustment is a positive number) or terminated (if ScalingAdjustment is a negative number) each time the scaling activity is triggered. CHANGE_IN_CAPACITY is the default. CHANGE_IN_CAPACITY indicates that the Amazon EC2 instance count increments or decrements by ScalingAdjustment, which should be expressed as an integer. PERCENT_CHANGE_IN_CAPACITY indicates the instance count increments or decrements by the percentage specified by ScalingAdjustment, which should be expressed as an integer. For example, 20 indicates an increase in 20% increments of cluster capacity. EXACT_CAPACITY indicates the scaling activity results in an instance group with the number of Amazon EC2 instances specified by ScalingAdjustment, which should be expressed as a positive integer.
|
3232
3307
|
*/
|
3233
3308
|
AdjustmentType?: AdjustmentType;
|
3234
3309
|
/**
|
3235
|
-
* The amount by which to scale in or scale out, based on the specified AdjustmentType. A positive value adds to the instance group's EC2 instance count while a negative number removes instances. If AdjustmentType is set to EXACT_CAPACITY, the number should only be a positive integer. If AdjustmentType is set to PERCENT_CHANGE_IN_CAPACITY, the value should express the percentage as an integer. For example, -20 indicates a decrease in 20% increments of cluster capacity.
|
3310
|
+
* The amount by which to scale in or scale out, based on the specified AdjustmentType. A positive value adds to the instance group's Amazon EC2 instance count while a negative number removes instances. If AdjustmentType is set to EXACT_CAPACITY, the number should only be a positive integer. If AdjustmentType is set to PERCENT_CHANGE_IN_CAPACITY, the value should express the percentage as an integer. For example, -20 indicates a decrease in 20% increments of cluster capacity.
|
3236
3311
|
*/
|
3237
3312
|
ScalingAdjustment: Integer;
|
3238
3313
|
/**
|
@@ -3279,19 +3354,19 @@ declare namespace EMR {
|
|
3279
3354
|
}
|
3280
3355
|
export interface StartNotebookExecutionInput {
|
3281
3356
|
/**
|
3282
|
-
* The unique identifier of the EMR Notebook to use for notebook execution.
|
3357
|
+
* The unique identifier of the Amazon EMR Notebook to use for notebook execution.
|
3283
3358
|
*/
|
3284
|
-
EditorId
|
3359
|
+
EditorId?: XmlStringMaxLen256;
|
3285
3360
|
/**
|
3286
|
-
* The path and file name of the notebook file for this execution, relative to the path specified for the EMR Notebook. For example, if you specify a path of s3://MyBucket/MyNotebooks when you create an EMR Notebook for a notebook with an ID of e-ABCDEFGHIJK1234567890ABCD (the EditorID of this request), and you specify a RelativePath of my_notebook_executions/notebook_execution.ipynb, the location of the file for the notebook execution is s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb.
|
3361
|
+
* The path and file name of the notebook file for this execution, relative to the path specified for the Amazon EMR Notebook. For example, if you specify a path of s3://MyBucket/MyNotebooks when you create an Amazon EMR Notebook for a notebook with an ID of e-ABCDEFGHIJK1234567890ABCD (the EditorID of this request), and you specify a RelativePath of my_notebook_executions/notebook_execution.ipynb, the location of the file for the notebook execution is s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb.
|
3287
3362
|
*/
|
3288
|
-
RelativePath
|
3363
|
+
RelativePath?: XmlString;
|
3289
3364
|
/**
|
3290
3365
|
* An optional name for the notebook execution.
|
3291
3366
|
*/
|
3292
3367
|
NotebookExecutionName?: XmlStringMaxLen256;
|
3293
3368
|
/**
|
3294
|
-
* Input parameters in JSON format passed to the EMR Notebook at runtime for execution.
|
3369
|
+
* Input parameters in JSON format passed to the Amazon EMR Notebook at runtime for execution.
|
3295
3370
|
*/
|
3296
3371
|
NotebookParams?: XmlString;
|
3297
3372
|
/**
|
@@ -3299,17 +3374,33 @@ declare namespace EMR {
|
|
3299
3374
|
*/
|
3300
3375
|
ExecutionEngine: ExecutionEngineConfig;
|
3301
3376
|
/**
|
3302
|
-
* The name or ARN of the IAM role that is used as the service role for Amazon EMR (the EMR role) for the notebook execution.
|
3377
|
+
* The name or ARN of the IAM role that is used as the service role for Amazon EMR (the Amazon EMR role) for the notebook execution.
|
3303
3378
|
*/
|
3304
3379
|
ServiceRole: XmlString;
|
3305
3380
|
/**
|
3306
|
-
* The unique identifier of the Amazon EC2 security group to associate with the EMR Notebook for this notebook execution.
|
3381
|
+
* The unique identifier of the Amazon EC2 security group to associate with the Amazon EMR Notebook for this notebook execution.
|
3307
3382
|
*/
|
3308
3383
|
NotebookInstanceSecurityGroupId?: XmlStringMaxLen256;
|
3309
3384
|
/**
|
3310
3385
|
* A list of tags associated with a notebook execution. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters and an optional value string with a maximum of 256 characters.
|
3311
3386
|
*/
|
3312
3387
|
Tags?: TagList;
|
3388
|
+
/**
|
3389
|
+
* The Amazon S3 location for the notebook execution input.
|
3390
|
+
*/
|
3391
|
+
NotebookS3Location?: NotebookS3LocationFromInput;
|
3392
|
+
/**
|
3393
|
+
* The Amazon S3 location for the notebook execution output.
|
3394
|
+
*/
|
3395
|
+
OutputNotebookS3Location?: OutputNotebookS3LocationFromInput;
|
3396
|
+
/**
|
3397
|
+
* The output format for the notebook execution.
|
3398
|
+
*/
|
3399
|
+
OutputNotebookFormat?: OutputNotebookFormat;
|
3400
|
+
/**
|
3401
|
+
* The environment variables associated with the notebook execution.
|
3402
|
+
*/
|
3403
|
+
EnvironmentVariables?: EnvironmentVariablesMap;
|
3313
3404
|
}
|
3314
3405
|
export interface StartNotebookExecutionOutput {
|
3315
3406
|
/**
|
@@ -3340,7 +3431,7 @@ declare namespace EMR {
|
|
3340
3431
|
*/
|
3341
3432
|
Status?: StepStatus;
|
3342
3433
|
/**
|
3343
|
-
* The Amazon Resource Name (ARN) of the runtime role for a step on the cluster. The runtime role can be a cross-account IAM role. The runtime role ARN is a combination of account ID, role name, and role type using the following format: arn:partition:service:region:account:resource. For example, arn:aws:
|
3434
|
+
* The Amazon Resource Name (ARN) of the runtime role for a step on the cluster. The runtime role can be a cross-account IAM role. The runtime role ARN is a combination of account ID, role name, and role type using the following format: arn:partition:service:region:account:resource. For example, arn:aws:IAM::1234567890:role/ReadOnly is a correctly formatted runtime role ARN.
|
3344
3435
|
*/
|
3345
3436
|
ExecutionRoleArn?: OptionalArnType;
|
3346
3437
|
}
|
@@ -3491,7 +3582,7 @@ declare namespace EMR {
|
|
3491
3582
|
*/
|
3492
3583
|
Description?: XmlStringMaxLen256;
|
3493
3584
|
/**
|
3494
|
-
* Specifies whether the Amazon EMR Studio authenticates users
|
3585
|
+
* Specifies whether the Amazon EMR Studio authenticates users with IAM or IAM Identity Center.
|
3495
3586
|
*/
|
3496
3587
|
AuthMode?: AuthMode;
|
3497
3588
|
/**
|
@@ -3649,6 +3740,7 @@ declare namespace EMR {
|
|
3649
3740
|
*/
|
3650
3741
|
SessionPolicyArn: XmlStringMaxLen256;
|
3651
3742
|
}
|
3743
|
+
export type UriString = string;
|
3652
3744
|
export interface UsernamePassword {
|
3653
3745
|
/**
|
3654
3746
|
* The username associated with the temporary credentials that you use to connect to cluster endpoints.
|