@aws-sdk/client-emr 3.312.0 → 3.316.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/EMR.js +57 -742
- package/dist-cjs/protocols/Aws_json1_1.js +852 -2561
- package/dist-es/EMR.js +57 -742
- package/dist-es/protocols/Aws_json1_1.js +853 -2562
- package/dist-types/EMR.d.ts +62 -289
- package/dist-types/ts3.4/EMR.d.ts +2 -1
- package/package.json +6 -6
package/dist-types/EMR.d.ts
CHANGED
|
@@ -53,558 +53,331 @@ import { TerminateJobFlowsCommandInput, TerminateJobFlowsCommandOutput } from ".
|
|
|
53
53
|
import { UpdateStudioCommandInput, UpdateStudioCommandOutput } from "./commands/UpdateStudioCommand";
|
|
54
54
|
import { UpdateStudioSessionMappingCommandInput, UpdateStudioSessionMappingCommandOutput } from "./commands/UpdateStudioSessionMappingCommand";
|
|
55
55
|
import { EMRClient } from "./EMRClient";
|
|
56
|
-
|
|
57
|
-
* @public
|
|
58
|
-
* <p>Amazon EMR is a web service that makes it easier to process large amounts of
|
|
59
|
-
* data efficiently. Amazon EMR uses Hadoop processing combined with several Amazon Web Services services to do tasks such as web indexing, data mining, log file analysis,
|
|
60
|
-
* machine learning, scientific simulation, and data warehouse management.</p>
|
|
61
|
-
*/
|
|
62
|
-
export declare class EMR extends EMRClient {
|
|
56
|
+
export interface EMR {
|
|
63
57
|
/**
|
|
64
|
-
* @
|
|
65
|
-
* <p>Adds an instance fleet to a running cluster.</p>
|
|
66
|
-
* <note>
|
|
67
|
-
* <p>The instance fleet configuration is available only in Amazon EMR versions
|
|
68
|
-
* 4.8.0 and later, excluding 5.0.x.</p>
|
|
69
|
-
* </note>
|
|
58
|
+
* @see {@link AddInstanceFleetCommand}
|
|
70
59
|
*/
|
|
71
60
|
addInstanceFleet(args: AddInstanceFleetCommandInput, options?: __HttpHandlerOptions): Promise<AddInstanceFleetCommandOutput>;
|
|
72
61
|
addInstanceFleet(args: AddInstanceFleetCommandInput, cb: (err: any, data?: AddInstanceFleetCommandOutput) => void): void;
|
|
73
62
|
addInstanceFleet(args: AddInstanceFleetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddInstanceFleetCommandOutput) => void): void;
|
|
74
63
|
/**
|
|
75
|
-
* @
|
|
76
|
-
* <p>Adds one or more instance groups to a running cluster.</p>
|
|
64
|
+
* @see {@link AddInstanceGroupsCommand}
|
|
77
65
|
*/
|
|
78
66
|
addInstanceGroups(args: AddInstanceGroupsCommandInput, options?: __HttpHandlerOptions): Promise<AddInstanceGroupsCommandOutput>;
|
|
79
67
|
addInstanceGroups(args: AddInstanceGroupsCommandInput, cb: (err: any, data?: AddInstanceGroupsCommandOutput) => void): void;
|
|
80
68
|
addInstanceGroups(args: AddInstanceGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddInstanceGroupsCommandOutput) => void): void;
|
|
81
69
|
/**
|
|
82
|
-
* @
|
|
83
|
-
* <p>AddJobFlowSteps adds new steps to a running cluster. A maximum of 256 steps are allowed
|
|
84
|
-
* in each job flow.</p>
|
|
85
|
-
* <p>If your cluster is long-running (such as a Hive data warehouse) or complex, you may
|
|
86
|
-
* require more than 256 steps to process your data. You can bypass the 256-step limitation in
|
|
87
|
-
* various ways, including using SSH to connect to the master node and submitting queries
|
|
88
|
-
* directly to the software running on the master node, such as Hive and Hadoop.</p>
|
|
89
|
-
* <p>A step specifies the location of a JAR file stored either on the master node of the
|
|
90
|
-
* cluster or in Amazon S3. Each step is performed by the main function of the main
|
|
91
|
-
* class of the JAR file. The main class can be specified either in the manifest of the JAR or
|
|
92
|
-
* by using the MainFunction parameter of the step.</p>
|
|
93
|
-
* <p>Amazon EMR executes each step in the order listed. For a step to be considered
|
|
94
|
-
* complete, the main function must exit with a zero exit code and all Hadoop jobs started
|
|
95
|
-
* while the step was running must have completed and run successfully.</p>
|
|
96
|
-
* <p>You can only add steps to a cluster that is in one of the following states: STARTING,
|
|
97
|
-
* BOOTSTRAPPING, RUNNING, or WAITING.</p>
|
|
98
|
-
* <note>
|
|
99
|
-
* <p>The string values passed into <code>HadoopJarStep</code> object cannot exceed a total
|
|
100
|
-
* of 10240 characters.</p>
|
|
101
|
-
* </note>
|
|
70
|
+
* @see {@link AddJobFlowStepsCommand}
|
|
102
71
|
*/
|
|
103
72
|
addJobFlowSteps(args: AddJobFlowStepsCommandInput, options?: __HttpHandlerOptions): Promise<AddJobFlowStepsCommandOutput>;
|
|
104
73
|
addJobFlowSteps(args: AddJobFlowStepsCommandInput, cb: (err: any, data?: AddJobFlowStepsCommandOutput) => void): void;
|
|
105
74
|
addJobFlowSteps(args: AddJobFlowStepsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddJobFlowStepsCommandOutput) => void): void;
|
|
106
75
|
/**
|
|
107
|
-
* @
|
|
108
|
-
* <p>Adds tags to an Amazon EMR resource, such as a cluster or an Amazon EMR
|
|
109
|
-
* Studio. Tags make it easier to associate resources in various ways, such as grouping
|
|
110
|
-
* clusters to track your Amazon EMR resource allocation costs. For more information,
|
|
111
|
-
* see <a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-tags.html">Tag
|
|
112
|
-
* Clusters</a>. </p>
|
|
76
|
+
* @see {@link AddTagsCommand}
|
|
113
77
|
*/
|
|
114
78
|
addTags(args: AddTagsCommandInput, options?: __HttpHandlerOptions): Promise<AddTagsCommandOutput>;
|
|
115
79
|
addTags(args: AddTagsCommandInput, cb: (err: any, data?: AddTagsCommandOutput) => void): void;
|
|
116
80
|
addTags(args: AddTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddTagsCommandOutput) => void): void;
|
|
117
81
|
/**
|
|
118
|
-
* @
|
|
119
|
-
* <p>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
|
|
120
|
-
* each CancelSteps request. CancelSteps is idempotent but asynchronous; it does not guarantee
|
|
121
|
-
* that a step will be canceled, even if the request is successfully submitted. When you use
|
|
122
|
-
* Amazon EMR versions 5.28.0 and later, you can cancel steps that are in a
|
|
123
|
-
* <code>PENDING</code> or <code>RUNNING</code> state. In earlier versions of Amazon EMR, you can only cancel steps that are in a <code>PENDING</code> state. </p>
|
|
82
|
+
* @see {@link CancelStepsCommand}
|
|
124
83
|
*/
|
|
125
84
|
cancelSteps(args: CancelStepsCommandInput, options?: __HttpHandlerOptions): Promise<CancelStepsCommandOutput>;
|
|
126
85
|
cancelSteps(args: CancelStepsCommandInput, cb: (err: any, data?: CancelStepsCommandOutput) => void): void;
|
|
127
86
|
cancelSteps(args: CancelStepsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelStepsCommandOutput) => void): void;
|
|
128
87
|
/**
|
|
129
|
-
* @
|
|
130
|
-
* <p>Creates a security configuration, which is stored in the service and can be specified
|
|
131
|
-
* when a cluster is created.</p>
|
|
88
|
+
* @see {@link CreateSecurityConfigurationCommand}
|
|
132
89
|
*/
|
|
133
90
|
createSecurityConfiguration(args: CreateSecurityConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateSecurityConfigurationCommandOutput>;
|
|
134
91
|
createSecurityConfiguration(args: CreateSecurityConfigurationCommandInput, cb: (err: any, data?: CreateSecurityConfigurationCommandOutput) => void): void;
|
|
135
92
|
createSecurityConfiguration(args: CreateSecurityConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSecurityConfigurationCommandOutput) => void): void;
|
|
136
93
|
/**
|
|
137
|
-
* @
|
|
138
|
-
* <p>Creates a new Amazon EMR Studio.</p>
|
|
94
|
+
* @see {@link CreateStudioCommand}
|
|
139
95
|
*/
|
|
140
96
|
createStudio(args: CreateStudioCommandInput, options?: __HttpHandlerOptions): Promise<CreateStudioCommandOutput>;
|
|
141
97
|
createStudio(args: CreateStudioCommandInput, cb: (err: any, data?: CreateStudioCommandOutput) => void): void;
|
|
142
98
|
createStudio(args: CreateStudioCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateStudioCommandOutput) => void): void;
|
|
143
99
|
/**
|
|
144
|
-
* @
|
|
145
|
-
* <p>Maps a user or group to the Amazon EMR Studio specified by
|
|
146
|
-
* <code>StudioId</code>, and applies a session policy to refine Studio permissions for that
|
|
147
|
-
* user or group. Use <code>CreateStudioSessionMapping</code> to assign users to a Studio when
|
|
148
|
-
* you use IAM Identity Center authentication. For instructions on how to assign users to a
|
|
149
|
-
* Studio when you use IAM authentication, see <a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-studio-manage-users.html#emr-studio-assign-users-groups">Assign a user or group to your EMR Studio</a>.</p>
|
|
100
|
+
* @see {@link CreateStudioSessionMappingCommand}
|
|
150
101
|
*/
|
|
151
102
|
createStudioSessionMapping(args: CreateStudioSessionMappingCommandInput, options?: __HttpHandlerOptions): Promise<CreateStudioSessionMappingCommandOutput>;
|
|
152
103
|
createStudioSessionMapping(args: CreateStudioSessionMappingCommandInput, cb: (err: any, data?: CreateStudioSessionMappingCommandOutput) => void): void;
|
|
153
104
|
createStudioSessionMapping(args: CreateStudioSessionMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateStudioSessionMappingCommandOutput) => void): void;
|
|
154
105
|
/**
|
|
155
|
-
* @
|
|
156
|
-
* <p>Deletes a security configuration.</p>
|
|
106
|
+
* @see {@link DeleteSecurityConfigurationCommand}
|
|
157
107
|
*/
|
|
158
108
|
deleteSecurityConfiguration(args: DeleteSecurityConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSecurityConfigurationCommandOutput>;
|
|
159
109
|
deleteSecurityConfiguration(args: DeleteSecurityConfigurationCommandInput, cb: (err: any, data?: DeleteSecurityConfigurationCommandOutput) => void): void;
|
|
160
110
|
deleteSecurityConfiguration(args: DeleteSecurityConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSecurityConfigurationCommandOutput) => void): void;
|
|
161
111
|
/**
|
|
162
|
-
* @
|
|
163
|
-
* <p>Removes an Amazon EMR Studio from the Studio metadata store.</p>
|
|
112
|
+
* @see {@link DeleteStudioCommand}
|
|
164
113
|
*/
|
|
165
114
|
deleteStudio(args: DeleteStudioCommandInput, options?: __HttpHandlerOptions): Promise<DeleteStudioCommandOutput>;
|
|
166
115
|
deleteStudio(args: DeleteStudioCommandInput, cb: (err: any, data?: DeleteStudioCommandOutput) => void): void;
|
|
167
116
|
deleteStudio(args: DeleteStudioCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteStudioCommandOutput) => void): void;
|
|
168
117
|
/**
|
|
169
|
-
* @
|
|
170
|
-
* <p>Removes a user or group from an Amazon EMR Studio.</p>
|
|
118
|
+
* @see {@link DeleteStudioSessionMappingCommand}
|
|
171
119
|
*/
|
|
172
120
|
deleteStudioSessionMapping(args: DeleteStudioSessionMappingCommandInput, options?: __HttpHandlerOptions): Promise<DeleteStudioSessionMappingCommandOutput>;
|
|
173
121
|
deleteStudioSessionMapping(args: DeleteStudioSessionMappingCommandInput, cb: (err: any, data?: DeleteStudioSessionMappingCommandOutput) => void): void;
|
|
174
122
|
deleteStudioSessionMapping(args: DeleteStudioSessionMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteStudioSessionMappingCommandOutput) => void): void;
|
|
175
123
|
/**
|
|
176
|
-
* @
|
|
177
|
-
* <p>Provides cluster-level details including status, hardware and software configuration,
|
|
178
|
-
* VPC settings, and so on.</p>
|
|
124
|
+
* @see {@link DescribeClusterCommand}
|
|
179
125
|
*/
|
|
180
126
|
describeCluster(args: DescribeClusterCommandInput, options?: __HttpHandlerOptions): Promise<DescribeClusterCommandOutput>;
|
|
181
127
|
describeCluster(args: DescribeClusterCommandInput, cb: (err: any, data?: DescribeClusterCommandOutput) => void): void;
|
|
182
128
|
describeCluster(args: DescribeClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeClusterCommandOutput) => void): void;
|
|
183
129
|
/**
|
|
184
|
-
* @
|
|
185
|
-
* @deprecated
|
|
186
|
-
*
|
|
187
|
-
* <p>This API is no longer supported and will eventually be removed. We recommend you use
|
|
188
|
-
* <a>ListClusters</a>, <a>DescribeCluster</a>, <a>ListSteps</a>, <a>ListInstanceGroups</a> and <a>ListBootstrapActions</a> instead.</p>
|
|
189
|
-
* <p>DescribeJobFlows returns a list of job flows that match all of the supplied parameters.
|
|
190
|
-
* The parameters can include a list of job flow IDs, job flow states, and restrictions on job
|
|
191
|
-
* flow creation date and time.</p>
|
|
192
|
-
* <p>Regardless of supplied parameters, only job flows created within the last two months are
|
|
193
|
-
* returned.</p>
|
|
194
|
-
* <p>If no parameters are supplied, then job flows matching either of the following criteria
|
|
195
|
-
* are returned:</p>
|
|
196
|
-
* <ul>
|
|
197
|
-
* <li>
|
|
198
|
-
* <p>Job flows created and completed in the last two weeks</p>
|
|
199
|
-
* </li>
|
|
200
|
-
* <li>
|
|
201
|
-
* <p> Job flows created within the last two months that are in one of the following
|
|
202
|
-
* states: <code>RUNNING</code>, <code>WAITING</code>, <code>SHUTTING_DOWN</code>,
|
|
203
|
-
* <code>STARTING</code>
|
|
204
|
-
* </p>
|
|
205
|
-
* </li>
|
|
206
|
-
* </ul>
|
|
207
|
-
* <p>Amazon EMR can return a maximum of 512 job flow descriptions.</p>
|
|
130
|
+
* @see {@link DescribeJobFlowsCommand}
|
|
208
131
|
*/
|
|
209
132
|
describeJobFlows(args: DescribeJobFlowsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeJobFlowsCommandOutput>;
|
|
210
133
|
describeJobFlows(args: DescribeJobFlowsCommandInput, cb: (err: any, data?: DescribeJobFlowsCommandOutput) => void): void;
|
|
211
134
|
describeJobFlows(args: DescribeJobFlowsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobFlowsCommandOutput) => void): void;
|
|
212
135
|
/**
|
|
213
|
-
* @
|
|
214
|
-
* <p>Provides details of a notebook execution.</p>
|
|
136
|
+
* @see {@link DescribeNotebookExecutionCommand}
|
|
215
137
|
*/
|
|
216
138
|
describeNotebookExecution(args: DescribeNotebookExecutionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeNotebookExecutionCommandOutput>;
|
|
217
139
|
describeNotebookExecution(args: DescribeNotebookExecutionCommandInput, cb: (err: any, data?: DescribeNotebookExecutionCommandOutput) => void): void;
|
|
218
140
|
describeNotebookExecution(args: DescribeNotebookExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeNotebookExecutionCommandOutput) => void): void;
|
|
219
141
|
/**
|
|
220
|
-
* @
|
|
221
|
-
* <p>Provides EMR release label details, such as releases available the region where the API
|
|
222
|
-
* request is run, and the available applications for a specific EMR release label. Can also
|
|
223
|
-
* list EMR release versions that support a specified version of Spark.</p>
|
|
142
|
+
* @see {@link DescribeReleaseLabelCommand}
|
|
224
143
|
*/
|
|
225
144
|
describeReleaseLabel(args: DescribeReleaseLabelCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReleaseLabelCommandOutput>;
|
|
226
145
|
describeReleaseLabel(args: DescribeReleaseLabelCommandInput, cb: (err: any, data?: DescribeReleaseLabelCommandOutput) => void): void;
|
|
227
146
|
describeReleaseLabel(args: DescribeReleaseLabelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeReleaseLabelCommandOutput) => void): void;
|
|
228
147
|
/**
|
|
229
|
-
* @
|
|
230
|
-
* <p>Provides the details of a security configuration by returning the configuration
|
|
231
|
-
* JSON.</p>
|
|
148
|
+
* @see {@link DescribeSecurityConfigurationCommand}
|
|
232
149
|
*/
|
|
233
150
|
describeSecurityConfiguration(args: DescribeSecurityConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSecurityConfigurationCommandOutput>;
|
|
234
151
|
describeSecurityConfiguration(args: DescribeSecurityConfigurationCommandInput, cb: (err: any, data?: DescribeSecurityConfigurationCommandOutput) => void): void;
|
|
235
152
|
describeSecurityConfiguration(args: DescribeSecurityConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSecurityConfigurationCommandOutput) => void): void;
|
|
236
153
|
/**
|
|
237
|
-
* @
|
|
238
|
-
* <p>Provides more detail about the cluster step.</p>
|
|
154
|
+
* @see {@link DescribeStepCommand}
|
|
239
155
|
*/
|
|
240
156
|
describeStep(args: DescribeStepCommandInput, options?: __HttpHandlerOptions): Promise<DescribeStepCommandOutput>;
|
|
241
157
|
describeStep(args: DescribeStepCommandInput, cb: (err: any, data?: DescribeStepCommandOutput) => void): void;
|
|
242
158
|
describeStep(args: DescribeStepCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeStepCommandOutput) => void): void;
|
|
243
159
|
/**
|
|
244
|
-
* @
|
|
245
|
-
* <p>Returns details for the specified Amazon EMR Studio including ID, Name, VPC,
|
|
246
|
-
* Studio access URL, and so on.</p>
|
|
160
|
+
* @see {@link DescribeStudioCommand}
|
|
247
161
|
*/
|
|
248
162
|
describeStudio(args: DescribeStudioCommandInput, options?: __HttpHandlerOptions): Promise<DescribeStudioCommandOutput>;
|
|
249
163
|
describeStudio(args: DescribeStudioCommandInput, cb: (err: any, data?: DescribeStudioCommandOutput) => void): void;
|
|
250
164
|
describeStudio(args: DescribeStudioCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeStudioCommandOutput) => void): void;
|
|
251
165
|
/**
|
|
252
|
-
* @
|
|
253
|
-
* <p>Returns the auto-termination policy for an Amazon EMR cluster.</p>
|
|
166
|
+
* @see {@link GetAutoTerminationPolicyCommand}
|
|
254
167
|
*/
|
|
255
168
|
getAutoTerminationPolicy(args: GetAutoTerminationPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetAutoTerminationPolicyCommandOutput>;
|
|
256
169
|
getAutoTerminationPolicy(args: GetAutoTerminationPolicyCommandInput, cb: (err: any, data?: GetAutoTerminationPolicyCommandOutput) => void): void;
|
|
257
170
|
getAutoTerminationPolicy(args: GetAutoTerminationPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAutoTerminationPolicyCommandOutput) => void): void;
|
|
258
171
|
/**
|
|
259
|
-
* @
|
|
260
|
-
* <p>Returns the Amazon EMR block public access configuration for your Amazon Web Services account in the current Region. For more information see <a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/configure-block-public-access.html">Configure Block
|
|
261
|
-
* Public Access for Amazon EMR</a> in the <i>Amazon EMR
|
|
262
|
-
* Management Guide</i>.</p>
|
|
172
|
+
* @see {@link GetBlockPublicAccessConfigurationCommand}
|
|
263
173
|
*/
|
|
264
174
|
getBlockPublicAccessConfiguration(args: GetBlockPublicAccessConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetBlockPublicAccessConfigurationCommandOutput>;
|
|
265
175
|
getBlockPublicAccessConfiguration(args: GetBlockPublicAccessConfigurationCommandInput, cb: (err: any, data?: GetBlockPublicAccessConfigurationCommandOutput) => void): void;
|
|
266
176
|
getBlockPublicAccessConfiguration(args: GetBlockPublicAccessConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBlockPublicAccessConfigurationCommandOutput) => void): void;
|
|
267
177
|
/**
|
|
268
|
-
* @
|
|
269
|
-
* <p>Provides temporary, HTTP basic credentials that are associated with a given runtime IAM role
|
|
270
|
-
* and used by a cluster with fine-grained access control activated. You can use these credentials to connect to cluster endpoints that support username and password authentication.</p>
|
|
178
|
+
* @see {@link GetClusterSessionCredentialsCommand}
|
|
271
179
|
*/
|
|
272
180
|
getClusterSessionCredentials(args: GetClusterSessionCredentialsCommandInput, options?: __HttpHandlerOptions): Promise<GetClusterSessionCredentialsCommandOutput>;
|
|
273
181
|
getClusterSessionCredentials(args: GetClusterSessionCredentialsCommandInput, cb: (err: any, data?: GetClusterSessionCredentialsCommandOutput) => void): void;
|
|
274
182
|
getClusterSessionCredentials(args: GetClusterSessionCredentialsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetClusterSessionCredentialsCommandOutput) => void): void;
|
|
275
183
|
/**
|
|
276
|
-
* @
|
|
277
|
-
* <p>Fetches the attached managed scaling policy for an Amazon EMR cluster. </p>
|
|
184
|
+
* @see {@link GetManagedScalingPolicyCommand}
|
|
278
185
|
*/
|
|
279
186
|
getManagedScalingPolicy(args: GetManagedScalingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetManagedScalingPolicyCommandOutput>;
|
|
280
187
|
getManagedScalingPolicy(args: GetManagedScalingPolicyCommandInput, cb: (err: any, data?: GetManagedScalingPolicyCommandOutput) => void): void;
|
|
281
188
|
getManagedScalingPolicy(args: GetManagedScalingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetManagedScalingPolicyCommandOutput) => void): void;
|
|
282
189
|
/**
|
|
283
|
-
* @
|
|
284
|
-
* <p>Fetches mapping details for the specified Amazon EMR Studio and identity (user
|
|
285
|
-
* or group).</p>
|
|
190
|
+
* @see {@link GetStudioSessionMappingCommand}
|
|
286
191
|
*/
|
|
287
192
|
getStudioSessionMapping(args: GetStudioSessionMappingCommandInput, options?: __HttpHandlerOptions): Promise<GetStudioSessionMappingCommandOutput>;
|
|
288
193
|
getStudioSessionMapping(args: GetStudioSessionMappingCommandInput, cb: (err: any, data?: GetStudioSessionMappingCommandOutput) => void): void;
|
|
289
194
|
getStudioSessionMapping(args: GetStudioSessionMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetStudioSessionMappingCommandOutput) => void): void;
|
|
290
195
|
/**
|
|
291
|
-
* @
|
|
292
|
-
* <p>Provides information about the bootstrap actions associated with a cluster.</p>
|
|
196
|
+
* @see {@link ListBootstrapActionsCommand}
|
|
293
197
|
*/
|
|
294
198
|
listBootstrapActions(args: ListBootstrapActionsCommandInput, options?: __HttpHandlerOptions): Promise<ListBootstrapActionsCommandOutput>;
|
|
295
199
|
listBootstrapActions(args: ListBootstrapActionsCommandInput, cb: (err: any, data?: ListBootstrapActionsCommandOutput) => void): void;
|
|
296
200
|
listBootstrapActions(args: ListBootstrapActionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBootstrapActionsCommandOutput) => void): void;
|
|
297
201
|
/**
|
|
298
|
-
* @
|
|
299
|
-
* <p>Provides the status of all clusters visible to this Amazon Web Services account. Allows
|
|
300
|
-
* you to filter the list of clusters based on certain criteria; for example, filtering by
|
|
301
|
-
* cluster creation date and time or by status. This call returns a maximum of 50 clusters in
|
|
302
|
-
* unsorted order per call, but returns a marker to track the paging of the cluster list
|
|
303
|
-
* across multiple ListClusters calls.</p>
|
|
202
|
+
* @see {@link ListClustersCommand}
|
|
304
203
|
*/
|
|
305
204
|
listClusters(args: ListClustersCommandInput, options?: __HttpHandlerOptions): Promise<ListClustersCommandOutput>;
|
|
306
205
|
listClusters(args: ListClustersCommandInput, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
|
|
307
206
|
listClusters(args: ListClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
|
|
308
207
|
/**
|
|
309
|
-
* @
|
|
310
|
-
* <p>Lists all available details about the instance fleets in a cluster.</p>
|
|
311
|
-
* <note>
|
|
312
|
-
* <p>The instance fleet configuration is available only in Amazon EMR versions
|
|
313
|
-
* 4.8.0 and later, excluding 5.0.x versions.</p>
|
|
314
|
-
* </note>
|
|
208
|
+
* @see {@link ListInstanceFleetsCommand}
|
|
315
209
|
*/
|
|
316
210
|
listInstanceFleets(args: ListInstanceFleetsCommandInput, options?: __HttpHandlerOptions): Promise<ListInstanceFleetsCommandOutput>;
|
|
317
211
|
listInstanceFleets(args: ListInstanceFleetsCommandInput, cb: (err: any, data?: ListInstanceFleetsCommandOutput) => void): void;
|
|
318
212
|
listInstanceFleets(args: ListInstanceFleetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInstanceFleetsCommandOutput) => void): void;
|
|
319
213
|
/**
|
|
320
|
-
* @
|
|
321
|
-
* <p>Provides all available details about the instance groups in a cluster.</p>
|
|
214
|
+
* @see {@link ListInstanceGroupsCommand}
|
|
322
215
|
*/
|
|
323
216
|
listInstanceGroups(args: ListInstanceGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListInstanceGroupsCommandOutput>;
|
|
324
217
|
listInstanceGroups(args: ListInstanceGroupsCommandInput, cb: (err: any, data?: ListInstanceGroupsCommandOutput) => void): void;
|
|
325
218
|
listInstanceGroups(args: ListInstanceGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInstanceGroupsCommandOutput) => void): void;
|
|
326
219
|
/**
|
|
327
|
-
* @
|
|
328
|
-
* <p>Provides information for all active EC2 instances and EC2 instances terminated in the
|
|
329
|
-
* last 30 days, up to a maximum of 2,000. EC2 instances in any of the following states are
|
|
330
|
-
* considered active: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING.</p>
|
|
220
|
+
* @see {@link ListInstancesCommand}
|
|
331
221
|
*/
|
|
332
222
|
listInstances(args: ListInstancesCommandInput, options?: __HttpHandlerOptions): Promise<ListInstancesCommandOutput>;
|
|
333
223
|
listInstances(args: ListInstancesCommandInput, cb: (err: any, data?: ListInstancesCommandOutput) => void): void;
|
|
334
224
|
listInstances(args: ListInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInstancesCommandOutput) => void): void;
|
|
335
225
|
/**
|
|
336
|
-
* @
|
|
337
|
-
* <p>Provides summaries of all notebook executions. You can filter the list based on multiple
|
|
338
|
-
* criteria such as status, time range, and editor id. Returns a maximum of 50 notebook
|
|
339
|
-
* executions and a marker to track the paging of a longer notebook execution list across
|
|
340
|
-
* multiple <code>ListNotebookExecution</code> calls.</p>
|
|
226
|
+
* @see {@link ListNotebookExecutionsCommand}
|
|
341
227
|
*/
|
|
342
228
|
listNotebookExecutions(args: ListNotebookExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<ListNotebookExecutionsCommandOutput>;
|
|
343
229
|
listNotebookExecutions(args: ListNotebookExecutionsCommandInput, cb: (err: any, data?: ListNotebookExecutionsCommandOutput) => void): void;
|
|
344
230
|
listNotebookExecutions(args: ListNotebookExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNotebookExecutionsCommandOutput) => void): void;
|
|
345
231
|
/**
|
|
346
|
-
* @
|
|
347
|
-
* <p>Retrieves release labels of EMR services in the region where the API is called.</p>
|
|
232
|
+
* @see {@link ListReleaseLabelsCommand}
|
|
348
233
|
*/
|
|
349
234
|
listReleaseLabels(args: ListReleaseLabelsCommandInput, options?: __HttpHandlerOptions): Promise<ListReleaseLabelsCommandOutput>;
|
|
350
235
|
listReleaseLabels(args: ListReleaseLabelsCommandInput, cb: (err: any, data?: ListReleaseLabelsCommandOutput) => void): void;
|
|
351
236
|
listReleaseLabels(args: ListReleaseLabelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReleaseLabelsCommandOutput) => void): void;
|
|
352
237
|
/**
|
|
353
|
-
* @
|
|
354
|
-
* <p>Lists all the security configurations visible to this account, providing their creation
|
|
355
|
-
* dates and times, and their names. This call returns a maximum of 50 clusters per call, but
|
|
356
|
-
* returns a marker to track the paging of the cluster list across multiple
|
|
357
|
-
* ListSecurityConfigurations calls.</p>
|
|
238
|
+
* @see {@link ListSecurityConfigurationsCommand}
|
|
358
239
|
*/
|
|
359
240
|
listSecurityConfigurations(args: ListSecurityConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListSecurityConfigurationsCommandOutput>;
|
|
360
241
|
listSecurityConfigurations(args: ListSecurityConfigurationsCommandInput, cb: (err: any, data?: ListSecurityConfigurationsCommandOutput) => void): void;
|
|
361
242
|
listSecurityConfigurations(args: ListSecurityConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSecurityConfigurationsCommandOutput) => void): void;
|
|
362
243
|
/**
|
|
363
|
-
* @
|
|
364
|
-
* <p>Provides a list of steps for the cluster in reverse order unless you specify
|
|
365
|
-
* <code>stepIds</code> with the request or filter by <code>StepStates</code>. You can
|
|
366
|
-
* specify a maximum of 10 <code>stepIDs</code>. The CLI automatically
|
|
367
|
-
* paginates results to return a list greater than 50 steps. To return more than 50 steps
|
|
368
|
-
* using the CLI, specify a <code>Marker</code>, which is a pagination token
|
|
369
|
-
* that indicates the next set of steps to retrieve.</p>
|
|
244
|
+
* @see {@link ListStepsCommand}
|
|
370
245
|
*/
|
|
371
246
|
listSteps(args: ListStepsCommandInput, options?: __HttpHandlerOptions): Promise<ListStepsCommandOutput>;
|
|
372
247
|
listSteps(args: ListStepsCommandInput, cb: (err: any, data?: ListStepsCommandOutput) => void): void;
|
|
373
248
|
listSteps(args: ListStepsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStepsCommandOutput) => void): void;
|
|
374
249
|
/**
|
|
375
|
-
* @
|
|
376
|
-
* <p>Returns a list of all Amazon EMR Studios associated with the Amazon Web Services account. The list includes details such as ID, Studio Access URL, and
|
|
377
|
-
* creation time for each Studio.</p>
|
|
250
|
+
* @see {@link ListStudiosCommand}
|
|
378
251
|
*/
|
|
379
252
|
listStudios(args: ListStudiosCommandInput, options?: __HttpHandlerOptions): Promise<ListStudiosCommandOutput>;
|
|
380
253
|
listStudios(args: ListStudiosCommandInput, cb: (err: any, data?: ListStudiosCommandOutput) => void): void;
|
|
381
254
|
listStudios(args: ListStudiosCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStudiosCommandOutput) => void): void;
|
|
382
255
|
/**
|
|
383
|
-
* @
|
|
384
|
-
* <p>Returns a list of all user or group session mappings for the Amazon EMR Studio
|
|
385
|
-
* specified by <code>StudioId</code>.</p>
|
|
256
|
+
* @see {@link ListStudioSessionMappingsCommand}
|
|
386
257
|
*/
|
|
387
258
|
listStudioSessionMappings(args: ListStudioSessionMappingsCommandInput, options?: __HttpHandlerOptions): Promise<ListStudioSessionMappingsCommandOutput>;
|
|
388
259
|
listStudioSessionMappings(args: ListStudioSessionMappingsCommandInput, cb: (err: any, data?: ListStudioSessionMappingsCommandOutput) => void): void;
|
|
389
260
|
listStudioSessionMappings(args: ListStudioSessionMappingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStudioSessionMappingsCommandOutput) => void): void;
|
|
390
261
|
/**
|
|
391
|
-
* @
|
|
392
|
-
* <p>Modifies the number of steps that can be executed concurrently for the cluster specified
|
|
393
|
-
* using ClusterID.</p>
|
|
262
|
+
* @see {@link ModifyClusterCommand}
|
|
394
263
|
*/
|
|
395
264
|
modifyCluster(args: ModifyClusterCommandInput, options?: __HttpHandlerOptions): Promise<ModifyClusterCommandOutput>;
|
|
396
265
|
modifyCluster(args: ModifyClusterCommandInput, cb: (err: any, data?: ModifyClusterCommandOutput) => void): void;
|
|
397
266
|
modifyCluster(args: ModifyClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyClusterCommandOutput) => void): void;
|
|
398
267
|
/**
|
|
399
|
-
* @
|
|
400
|
-
* <p>Modifies the target On-Demand and target Spot capacities for the instance fleet with the
|
|
401
|
-
* specified InstanceFleetID within the cluster specified using ClusterID. The call either
|
|
402
|
-
* succeeds or fails atomically.</p>
|
|
403
|
-
* <note>
|
|
404
|
-
* <p>The instance fleet configuration is available only in Amazon EMR versions
|
|
405
|
-
* 4.8.0 and later, excluding 5.0.x versions.</p>
|
|
406
|
-
* </note>
|
|
268
|
+
* @see {@link ModifyInstanceFleetCommand}
|
|
407
269
|
*/
|
|
408
270
|
modifyInstanceFleet(args: ModifyInstanceFleetCommandInput, options?: __HttpHandlerOptions): Promise<ModifyInstanceFleetCommandOutput>;
|
|
409
271
|
modifyInstanceFleet(args: ModifyInstanceFleetCommandInput, cb: (err: any, data?: ModifyInstanceFleetCommandOutput) => void): void;
|
|
410
272
|
modifyInstanceFleet(args: ModifyInstanceFleetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyInstanceFleetCommandOutput) => void): void;
|
|
411
273
|
/**
|
|
412
|
-
* @
|
|
413
|
-
* <p>ModifyInstanceGroups modifies the number of nodes and configuration settings of an
|
|
414
|
-
* instance group. The input parameters include the new target instance count for the group
|
|
415
|
-
* and the instance group ID. The call will either succeed or fail atomically.</p>
|
|
274
|
+
* @see {@link ModifyInstanceGroupsCommand}
|
|
416
275
|
*/
|
|
417
276
|
modifyInstanceGroups(args: ModifyInstanceGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ModifyInstanceGroupsCommandOutput>;
|
|
418
277
|
modifyInstanceGroups(args: ModifyInstanceGroupsCommandInput, cb: (err: any, data?: ModifyInstanceGroupsCommandOutput) => void): void;
|
|
419
278
|
modifyInstanceGroups(args: ModifyInstanceGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyInstanceGroupsCommandOutput) => void): void;
|
|
420
279
|
/**
|
|
421
|
-
* @
|
|
422
|
-
* <p>Creates or updates an automatic scaling policy for a core instance group or task
|
|
423
|
-
* instance group in an Amazon EMR cluster. The automatic scaling policy defines how
|
|
424
|
-
* an instance group dynamically adds and terminates EC2 instances in response to the value of
|
|
425
|
-
* a CloudWatch metric.</p>
|
|
280
|
+
* @see {@link PutAutoScalingPolicyCommand}
|
|
426
281
|
*/
|
|
427
282
|
putAutoScalingPolicy(args: PutAutoScalingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutAutoScalingPolicyCommandOutput>;
|
|
428
283
|
putAutoScalingPolicy(args: PutAutoScalingPolicyCommandInput, cb: (err: any, data?: PutAutoScalingPolicyCommandOutput) => void): void;
|
|
429
284
|
putAutoScalingPolicy(args: PutAutoScalingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAutoScalingPolicyCommandOutput) => void): void;
|
|
430
285
|
/**
|
|
431
|
-
* @
|
|
432
|
-
* <note>
|
|
433
|
-
* <p>Auto-termination is supported in Amazon EMR versions 5.30.0 and 6.1.0 and
|
|
434
|
-
* later. For more information, see <a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-auto-termination-policy.html">Using an
|
|
435
|
-
* auto-termination policy</a>.</p>
|
|
436
|
-
* </note>
|
|
437
|
-
* <p>Creates or updates an auto-termination policy for an Amazon EMR cluster. An
|
|
438
|
-
* auto-termination policy defines the amount of idle time in seconds after which a cluster
|
|
439
|
-
* automatically terminates. For alternative cluster termination options, see <a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-termination.html">Control
|
|
440
|
-
* cluster termination</a>.</p>
|
|
286
|
+
* @see {@link PutAutoTerminationPolicyCommand}
|
|
441
287
|
*/
|
|
442
288
|
putAutoTerminationPolicy(args: PutAutoTerminationPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutAutoTerminationPolicyCommandOutput>;
|
|
443
289
|
putAutoTerminationPolicy(args: PutAutoTerminationPolicyCommandInput, cb: (err: any, data?: PutAutoTerminationPolicyCommandOutput) => void): void;
|
|
444
290
|
putAutoTerminationPolicy(args: PutAutoTerminationPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAutoTerminationPolicyCommandOutput) => void): void;
|
|
445
291
|
/**
|
|
446
|
-
* @
|
|
447
|
-
* <p>Creates or updates an Amazon EMR block public access configuration for your
|
|
448
|
-
* Amazon Web Services account in the current Region. For more information see <a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/configure-block-public-access.html">Configure Block
|
|
449
|
-
* Public Access for Amazon EMR</a> in the <i>Amazon EMR
|
|
450
|
-
* Management Guide</i>.</p>
|
|
292
|
+
* @see {@link PutBlockPublicAccessConfigurationCommand}
|
|
451
293
|
*/
|
|
452
294
|
putBlockPublicAccessConfiguration(args: PutBlockPublicAccessConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutBlockPublicAccessConfigurationCommandOutput>;
|
|
453
295
|
putBlockPublicAccessConfiguration(args: PutBlockPublicAccessConfigurationCommandInput, cb: (err: any, data?: PutBlockPublicAccessConfigurationCommandOutput) => void): void;
|
|
454
296
|
putBlockPublicAccessConfiguration(args: PutBlockPublicAccessConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBlockPublicAccessConfigurationCommandOutput) => void): void;
|
|
455
297
|
/**
|
|
456
|
-
* @
|
|
457
|
-
* <p>Creates or updates a managed scaling policy for an Amazon EMR cluster. The
|
|
458
|
-
* managed scaling policy defines the limits for resources, such as EC2 instances that can be
|
|
459
|
-
* added or terminated from a cluster. The policy only applies to the core and task nodes. The
|
|
460
|
-
* master node cannot be scaled after initial configuration. </p>
|
|
298
|
+
* @see {@link PutManagedScalingPolicyCommand}
|
|
461
299
|
*/
|
|
462
300
|
putManagedScalingPolicy(args: PutManagedScalingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutManagedScalingPolicyCommandOutput>;
|
|
463
301
|
putManagedScalingPolicy(args: PutManagedScalingPolicyCommandInput, cb: (err: any, data?: PutManagedScalingPolicyCommandOutput) => void): void;
|
|
464
302
|
putManagedScalingPolicy(args: PutManagedScalingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutManagedScalingPolicyCommandOutput) => void): void;
|
|
465
303
|
/**
|
|
466
|
-
* @
|
|
467
|
-
* <p>Removes an automatic scaling policy from a specified instance group within an EMR
|
|
468
|
-
* cluster.</p>
|
|
304
|
+
* @see {@link RemoveAutoScalingPolicyCommand}
|
|
469
305
|
*/
|
|
470
306
|
removeAutoScalingPolicy(args: RemoveAutoScalingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<RemoveAutoScalingPolicyCommandOutput>;
|
|
471
307
|
removeAutoScalingPolicy(args: RemoveAutoScalingPolicyCommandInput, cb: (err: any, data?: RemoveAutoScalingPolicyCommandOutput) => void): void;
|
|
472
308
|
removeAutoScalingPolicy(args: RemoveAutoScalingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveAutoScalingPolicyCommandOutput) => void): void;
|
|
473
309
|
/**
|
|
474
|
-
* @
|
|
475
|
-
* <p>Removes an auto-termination policy from an Amazon EMR cluster.</p>
|
|
310
|
+
* @see {@link RemoveAutoTerminationPolicyCommand}
|
|
476
311
|
*/
|
|
477
312
|
removeAutoTerminationPolicy(args: RemoveAutoTerminationPolicyCommandInput, options?: __HttpHandlerOptions): Promise<RemoveAutoTerminationPolicyCommandOutput>;
|
|
478
313
|
removeAutoTerminationPolicy(args: RemoveAutoTerminationPolicyCommandInput, cb: (err: any, data?: RemoveAutoTerminationPolicyCommandOutput) => void): void;
|
|
479
314
|
removeAutoTerminationPolicy(args: RemoveAutoTerminationPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveAutoTerminationPolicyCommandOutput) => void): void;
|
|
480
315
|
/**
|
|
481
|
-
* @
|
|
482
|
-
* <p> Removes a managed scaling policy from a specified EMR cluster. </p>
|
|
316
|
+
* @see {@link RemoveManagedScalingPolicyCommand}
|
|
483
317
|
*/
|
|
484
318
|
removeManagedScalingPolicy(args: RemoveManagedScalingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<RemoveManagedScalingPolicyCommandOutput>;
|
|
485
319
|
removeManagedScalingPolicy(args: RemoveManagedScalingPolicyCommandInput, cb: (err: any, data?: RemoveManagedScalingPolicyCommandOutput) => void): void;
|
|
486
320
|
removeManagedScalingPolicy(args: RemoveManagedScalingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveManagedScalingPolicyCommandOutput) => void): void;
|
|
487
321
|
/**
|
|
488
|
-
* @
|
|
489
|
-
* <p>Removes tags from an Amazon EMR resource, such as a cluster or Amazon EMR Studio. Tags make it easier to associate resources in various ways, such as grouping
|
|
490
|
-
* clusters to track your Amazon EMR resource allocation costs. For more information,
|
|
491
|
-
* see <a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-tags.html">Tag
|
|
492
|
-
* Clusters</a>. </p>
|
|
493
|
-
* <p>The following example removes the stack tag with value Prod from a cluster:</p>
|
|
322
|
+
* @see {@link RemoveTagsCommand}
|
|
494
323
|
*/
|
|
495
324
|
removeTags(args: RemoveTagsCommandInput, options?: __HttpHandlerOptions): Promise<RemoveTagsCommandOutput>;
|
|
496
325
|
removeTags(args: RemoveTagsCommandInput, cb: (err: any, data?: RemoveTagsCommandOutput) => void): void;
|
|
497
326
|
removeTags(args: RemoveTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveTagsCommandOutput) => void): void;
|
|
498
327
|
/**
|
|
499
|
-
* @
|
|
500
|
-
* <p>RunJobFlow creates and starts running a new cluster (job flow). The cluster runs the
|
|
501
|
-
* steps specified. After the steps complete, the cluster stops and the HDFS partition is
|
|
502
|
-
* lost. To prevent loss of data, configure the last step of the job flow to store results in
|
|
503
|
-
* Amazon S3. If the <a>JobFlowInstancesConfig</a>
|
|
504
|
-
* <code>KeepJobFlowAliveWhenNoSteps</code> parameter is set to <code>TRUE</code>, the cluster
|
|
505
|
-
* transitions to the WAITING state rather than shutting down after the steps have completed. </p>
|
|
506
|
-
* <p>For additional protection, you can set the <a>JobFlowInstancesConfig</a>
|
|
507
|
-
* <code>TerminationProtected</code> parameter to <code>TRUE</code> to lock the cluster and
|
|
508
|
-
* prevent it from being terminated by API call, user intervention, or in the event of a job
|
|
509
|
-
* flow error.</p>
|
|
510
|
-
* <p>A maximum of 256 steps are allowed in each job flow.</p>
|
|
511
|
-
* <p>If your cluster is long-running (such as a Hive data warehouse) or complex, you may
|
|
512
|
-
* require more than 256 steps to process your data. You can bypass the 256-step limitation in
|
|
513
|
-
* various ways, including using the SSH shell to connect to the master node and submitting
|
|
514
|
-
* queries directly to the software running on the master node, such as Hive and
|
|
515
|
-
* Hadoop.</p>
|
|
516
|
-
* <p>For long-running clusters, we recommend that you periodically store your results.</p>
|
|
517
|
-
* <note>
|
|
518
|
-
* <p>The instance fleets configuration is available only in Amazon EMR versions
|
|
519
|
-
* 4.8.0 and later, excluding 5.0.x versions. The RunJobFlow request can contain
|
|
520
|
-
* InstanceFleets parameters or InstanceGroups parameters, but not both.</p>
|
|
521
|
-
* </note>
|
|
328
|
+
* @see {@link RunJobFlowCommand}
|
|
522
329
|
*/
|
|
523
330
|
runJobFlow(args: RunJobFlowCommandInput, options?: __HttpHandlerOptions): Promise<RunJobFlowCommandOutput>;
|
|
524
331
|
runJobFlow(args: RunJobFlowCommandInput, cb: (err: any, data?: RunJobFlowCommandOutput) => void): void;
|
|
525
332
|
runJobFlow(args: RunJobFlowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RunJobFlowCommandOutput) => void): void;
|
|
526
333
|
/**
|
|
527
|
-
* @
|
|
528
|
-
* <p>SetTerminationProtection locks a cluster (job flow) so the EC2 instances in the cluster
|
|
529
|
-
* cannot be terminated by user intervention, an API call, or in the event of a job-flow
|
|
530
|
-
* error. The cluster still terminates upon successful completion of the job flow. Calling
|
|
531
|
-
* <code>SetTerminationProtection</code> on a cluster is similar to calling the Amazon EC2
|
|
532
|
-
* <code>DisableAPITermination</code> API on all EC2 instances in a cluster.</p>
|
|
533
|
-
* <p>
|
|
534
|
-
* <code>SetTerminationProtection</code> is used to prevent accidental termination of a
|
|
535
|
-
* cluster and to ensure that in the event of an error, the instances persist so that you can
|
|
536
|
-
* recover any data stored in their ephemeral instance storage.</p>
|
|
537
|
-
* <p> To terminate a cluster that has been locked by setting
|
|
538
|
-
* <code>SetTerminationProtection</code> to <code>true</code>, you must first unlock the
|
|
539
|
-
* job flow by a subsequent call to <code>SetTerminationProtection</code> in which you set the
|
|
540
|
-
* value to <code>false</code>. </p>
|
|
541
|
-
* <p> For more information, see<a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/UsingEMR_TerminationProtection.html">Managing Cluster
|
|
542
|
-
* Termination</a> in the <i>Amazon EMR Management Guide</i>. </p>
|
|
334
|
+
* @see {@link SetTerminationProtectionCommand}
|
|
543
335
|
*/
|
|
544
336
|
setTerminationProtection(args: SetTerminationProtectionCommandInput, options?: __HttpHandlerOptions): Promise<SetTerminationProtectionCommandOutput>;
|
|
545
337
|
setTerminationProtection(args: SetTerminationProtectionCommandInput, cb: (err: any, data?: SetTerminationProtectionCommandOutput) => void): void;
|
|
546
338
|
setTerminationProtection(args: SetTerminationProtectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetTerminationProtectionCommandOutput) => void): void;
|
|
547
339
|
/**
|
|
548
|
-
* @
|
|
549
|
-
* <important>
|
|
550
|
-
* <p>The SetVisibleToAllUsers parameter is no longer supported. Your cluster may be
|
|
551
|
-
* visible to all users in your account. To restrict cluster access using an IAM policy, see <a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-access-iam.html">Identity and Access
|
|
552
|
-
* Management for EMR</a>. </p>
|
|
553
|
-
* </important>
|
|
554
|
-
* <p>Sets the <a>Cluster$VisibleToAllUsers</a> value for an EMR cluster. When
|
|
555
|
-
* <code>true</code>, IAM principals in the Amazon Web Services account can perform EMR
|
|
556
|
-
* cluster actions that their IAM policies allow. When <code>false</code>, only
|
|
557
|
-
* the IAM principal that created the cluster and the Amazon Web Services account root user can
|
|
558
|
-
* perform EMR actions on the cluster, regardless of IAM permissions policies attached to
|
|
559
|
-
* other IAM principals.</p>
|
|
560
|
-
* <p>This action works on running clusters. When you create a cluster, use the <a>RunJobFlowInput$VisibleToAllUsers</a> parameter.</p>
|
|
561
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/security_iam_emr-with-iam.html#security_set_visible_to_all_users">Understanding the EMR Cluster VisibleToAllUsers Setting</a> in the
|
|
562
|
-
* <i>Amazon EMRManagement Guide</i>.</p>
|
|
340
|
+
* @see {@link SetVisibleToAllUsersCommand}
|
|
563
341
|
*/
|
|
564
342
|
setVisibleToAllUsers(args: SetVisibleToAllUsersCommandInput, options?: __HttpHandlerOptions): Promise<SetVisibleToAllUsersCommandOutput>;
|
|
565
343
|
setVisibleToAllUsers(args: SetVisibleToAllUsersCommandInput, cb: (err: any, data?: SetVisibleToAllUsersCommandOutput) => void): void;
|
|
566
344
|
setVisibleToAllUsers(args: SetVisibleToAllUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetVisibleToAllUsersCommandOutput) => void): void;
|
|
567
345
|
/**
|
|
568
|
-
* @
|
|
569
|
-
* <p>Starts a notebook execution.</p>
|
|
346
|
+
* @see {@link StartNotebookExecutionCommand}
|
|
570
347
|
*/
|
|
571
348
|
startNotebookExecution(args: StartNotebookExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StartNotebookExecutionCommandOutput>;
|
|
572
349
|
startNotebookExecution(args: StartNotebookExecutionCommandInput, cb: (err: any, data?: StartNotebookExecutionCommandOutput) => void): void;
|
|
573
350
|
startNotebookExecution(args: StartNotebookExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartNotebookExecutionCommandOutput) => void): void;
|
|
574
351
|
/**
|
|
575
|
-
* @
|
|
576
|
-
* <p>Stops a notebook execution.</p>
|
|
352
|
+
* @see {@link StopNotebookExecutionCommand}
|
|
577
353
|
*/
|
|
578
354
|
stopNotebookExecution(args: StopNotebookExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StopNotebookExecutionCommandOutput>;
|
|
579
355
|
stopNotebookExecution(args: StopNotebookExecutionCommandInput, cb: (err: any, data?: StopNotebookExecutionCommandOutput) => void): void;
|
|
580
356
|
stopNotebookExecution(args: StopNotebookExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopNotebookExecutionCommandOutput) => void): void;
|
|
581
357
|
/**
|
|
582
|
-
* @
|
|
583
|
-
* <p>TerminateJobFlows shuts a list of clusters (job flows) down. When a job flow is shut
|
|
584
|
-
* down, any step not yet completed is canceled and the EC2 instances on which the cluster is
|
|
585
|
-
* running are stopped. Any log files not already saved are uploaded to Amazon S3 if a
|
|
586
|
-
* LogUri was specified when the cluster was created.</p>
|
|
587
|
-
* <p>The maximum number of clusters allowed is 10. The call to <code>TerminateJobFlows</code>
|
|
588
|
-
* is asynchronous. Depending on the configuration of the cluster, it may take up to 1-5
|
|
589
|
-
* minutes for the cluster to completely terminate and release allocated resources, such as
|
|
590
|
-
* Amazon EC2 instances.</p>
|
|
358
|
+
* @see {@link TerminateJobFlowsCommand}
|
|
591
359
|
*/
|
|
592
360
|
terminateJobFlows(args: TerminateJobFlowsCommandInput, options?: __HttpHandlerOptions): Promise<TerminateJobFlowsCommandOutput>;
|
|
593
361
|
terminateJobFlows(args: TerminateJobFlowsCommandInput, cb: (err: any, data?: TerminateJobFlowsCommandOutput) => void): void;
|
|
594
362
|
terminateJobFlows(args: TerminateJobFlowsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TerminateJobFlowsCommandOutput) => void): void;
|
|
595
363
|
/**
|
|
596
|
-
* @
|
|
597
|
-
* <p>Updates an Amazon EMR Studio configuration, including attributes such as name,
|
|
598
|
-
* description, and subnets.</p>
|
|
364
|
+
* @see {@link UpdateStudioCommand}
|
|
599
365
|
*/
|
|
600
366
|
updateStudio(args: UpdateStudioCommandInput, options?: __HttpHandlerOptions): Promise<UpdateStudioCommandOutput>;
|
|
601
367
|
updateStudio(args: UpdateStudioCommandInput, cb: (err: any, data?: UpdateStudioCommandOutput) => void): void;
|
|
602
368
|
updateStudio(args: UpdateStudioCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateStudioCommandOutput) => void): void;
|
|
603
369
|
/**
|
|
604
|
-
* @
|
|
605
|
-
* <p>Updates the session policy attached to the user or group for the specified Amazon EMR Studio.</p>
|
|
370
|
+
* @see {@link UpdateStudioSessionMappingCommand}
|
|
606
371
|
*/
|
|
607
372
|
updateStudioSessionMapping(args: UpdateStudioSessionMappingCommandInput, options?: __HttpHandlerOptions): Promise<UpdateStudioSessionMappingCommandOutput>;
|
|
608
373
|
updateStudioSessionMapping(args: UpdateStudioSessionMappingCommandInput, cb: (err: any, data?: UpdateStudioSessionMappingCommandOutput) => void): void;
|
|
609
374
|
updateStudioSessionMapping(args: UpdateStudioSessionMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateStudioSessionMappingCommandOutput) => void): void;
|
|
610
375
|
}
|
|
376
|
+
/**
|
|
377
|
+
* @public
|
|
378
|
+
* <p>Amazon EMR is a web service that makes it easier to process large amounts of
|
|
379
|
+
* data efficiently. Amazon EMR uses Hadoop processing combined with several Amazon Web Services services to do tasks such as web indexing, data mining, log file analysis,
|
|
380
|
+
* machine learning, scientific simulation, and data warehouse management.</p>
|
|
381
|
+
*/
|
|
382
|
+
export declare class EMR extends EMRClient implements EMR {
|
|
383
|
+
}
|