@aws-sdk/client-emr-containers 3.201.0 → 3.204.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/EMRContainers.js +60 -0
- package/dist-cjs/commands/CreateJobTemplateCommand.js +46 -0
- package/dist-cjs/commands/DeleteJobTemplateCommand.js +46 -0
- package/dist-cjs/commands/DescribeJobTemplateCommand.js +46 -0
- package/dist-cjs/commands/ListJobTemplatesCommand.js +46 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +102 -26
- package/dist-cjs/pagination/ListJobTemplatesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +424 -1
- package/dist-cjs/runtimeConfig.browser.js +0 -3
- package/dist-cjs/runtimeConfig.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +3 -0
- package/dist-es/EMRContainers.js +60 -0
- package/dist-es/commands/CreateJobTemplateCommand.js +42 -0
- package/dist-es/commands/DeleteJobTemplateCommand.js +42 -0
- package/dist-es/commands/DescribeJobTemplateCommand.js +42 -0
- package/dist-es/commands/ListJobTemplatesCommand.js +42 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +82 -21
- package/dist-es/pagination/ListJobTemplatesPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +415 -0
- package/dist-es/runtimeConfig.browser.js +0 -3
- package/dist-es/runtimeConfig.js +0 -3
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/EMRContainers.d.ts +51 -10
- package/dist-types/EMRContainersClient.d.ts +6 -2
- package/dist-types/commands/CreateJobTemplateCommand.d.ts +40 -0
- package/dist-types/commands/CreateManagedEndpointCommand.d.ts +2 -2
- package/dist-types/commands/DeleteJobTemplateCommand.d.ts +40 -0
- package/dist-types/commands/DeleteManagedEndpointCommand.d.ts +3 -2
- package/dist-types/commands/DescribeJobTemplateCommand.d.ts +40 -0
- package/dist-types/commands/DescribeManagedEndpointCommand.d.ts +3 -3
- package/dist-types/commands/ListJobTemplatesCommand.d.ts +40 -0
- package/dist-types/commands/ListManagedEndpointsCommand.d.ts +3 -3
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +382 -69
- package/dist-types/pagination/ListJobTemplatesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/EMRContainers.d.ts +68 -0
- package/dist-types/ts3.4/EMRContainersClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateJobTemplateCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteJobTemplateCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeJobTemplateCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListJobTemplatesCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +152 -29
- package/dist-types/ts3.4/pagination/ListJobTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +6 -5
- package/CHANGELOG.md +0 -1258
|
@@ -42,6 +42,140 @@ export declare class ValidationException extends __BaseException {
|
|
|
42
42
|
*/
|
|
43
43
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
44
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* <p> A configuration for CloudWatch monitoring. You can configure your jobs to send log
|
|
47
|
+
* information to CloudWatch Logs. This data type allows job template parameters to be
|
|
48
|
+
* specified within.</p>
|
|
49
|
+
*/
|
|
50
|
+
export interface ParametricCloudWatchMonitoringConfiguration {
|
|
51
|
+
/**
|
|
52
|
+
* <p> The name of the log group for log publishing.</p>
|
|
53
|
+
*/
|
|
54
|
+
logGroupName?: string;
|
|
55
|
+
/**
|
|
56
|
+
* <p> The specified name prefix for log streams.</p>
|
|
57
|
+
*/
|
|
58
|
+
logStreamNamePrefix?: string;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* <p> Amazon S3 configuration for monitoring log publishing. You can configure your jobs to
|
|
62
|
+
* send log information to Amazon S3. This data type allows job template parameters to be
|
|
63
|
+
* specified within.</p>
|
|
64
|
+
*/
|
|
65
|
+
export interface ParametricS3MonitoringConfiguration {
|
|
66
|
+
/**
|
|
67
|
+
* <p>Amazon S3 destination URI for log publishing.</p>
|
|
68
|
+
*/
|
|
69
|
+
logUri?: string;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* <p> Configuration setting for monitoring. This data type allows job template parameters to
|
|
73
|
+
* be specified within.</p>
|
|
74
|
+
*/
|
|
75
|
+
export interface ParametricMonitoringConfiguration {
|
|
76
|
+
/**
|
|
77
|
+
* <p> Monitoring configurations for the persistent application UI.</p>
|
|
78
|
+
*/
|
|
79
|
+
persistentAppUI?: string;
|
|
80
|
+
/**
|
|
81
|
+
* <p> Monitoring configurations for CloudWatch.</p>
|
|
82
|
+
*/
|
|
83
|
+
cloudWatchMonitoringConfiguration?: ParametricCloudWatchMonitoringConfiguration;
|
|
84
|
+
/**
|
|
85
|
+
* <p> Amazon S3 configuration for monitoring log publishing.</p>
|
|
86
|
+
*/
|
|
87
|
+
s3MonitoringConfiguration?: ParametricS3MonitoringConfiguration;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* <p>The job driver for job type.</p>
|
|
91
|
+
*/
|
|
92
|
+
export interface SparkSqlJobDriver {
|
|
93
|
+
/**
|
|
94
|
+
* <p>The SQL file to be executed.</p>
|
|
95
|
+
*/
|
|
96
|
+
entryPoint?: string;
|
|
97
|
+
/**
|
|
98
|
+
* <p>The Spark parameters to be included in the Spark SQL command.</p>
|
|
99
|
+
*/
|
|
100
|
+
sparkSqlParameters?: string;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* <p>The information about job driver for Spark submit.</p>
|
|
104
|
+
*/
|
|
105
|
+
export interface SparkSubmitJobDriver {
|
|
106
|
+
/**
|
|
107
|
+
* <p>The entry point of job application.</p>
|
|
108
|
+
*/
|
|
109
|
+
entryPoint: string | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* <p>The arguments for job application.</p>
|
|
112
|
+
*/
|
|
113
|
+
entryPointArguments?: string[];
|
|
114
|
+
/**
|
|
115
|
+
* <p>The Spark submit parameters that are used for job runs.</p>
|
|
116
|
+
*/
|
|
117
|
+
sparkSubmitParameters?: string;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* <p>Specify the driver that the job runs on. Exactly one of the two available job drivers is
|
|
121
|
+
* required, either sparkSqlJobDriver or sparkSubmitJobDriver.</p>
|
|
122
|
+
*/
|
|
123
|
+
export interface JobDriver {
|
|
124
|
+
/**
|
|
125
|
+
* <p>The job driver parameters specified for spark submit.</p>
|
|
126
|
+
*/
|
|
127
|
+
sparkSubmitJobDriver?: SparkSubmitJobDriver;
|
|
128
|
+
/**
|
|
129
|
+
* <p>The job driver for job type.</p>
|
|
130
|
+
*/
|
|
131
|
+
sparkSqlJobDriver?: SparkSqlJobDriver;
|
|
132
|
+
}
|
|
133
|
+
export declare enum TemplateParameterDataType {
|
|
134
|
+
NUMBER = "NUMBER",
|
|
135
|
+
STRING = "STRING"
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* <p>The configuration of a job template parameter.</p>
|
|
139
|
+
*/
|
|
140
|
+
export interface TemplateParameterConfiguration {
|
|
141
|
+
/**
|
|
142
|
+
* <p>The type of the job template parameter. Allowed values are: ‘String’, ‘Number’.</p>
|
|
143
|
+
*/
|
|
144
|
+
type?: TemplateParameterDataType | string;
|
|
145
|
+
/**
|
|
146
|
+
* <p>The default value for the job template parameter.</p>
|
|
147
|
+
*/
|
|
148
|
+
defaultValue?: string;
|
|
149
|
+
}
|
|
150
|
+
export interface CreateJobTemplateResponse {
|
|
151
|
+
/**
|
|
152
|
+
* <p>This output display the created job template ID.</p>
|
|
153
|
+
*/
|
|
154
|
+
id?: string;
|
|
155
|
+
/**
|
|
156
|
+
* <p>This output displays the name of the created job template.</p>
|
|
157
|
+
*/
|
|
158
|
+
name?: string;
|
|
159
|
+
/**
|
|
160
|
+
* <p>This output display the ARN of the created job template.</p>
|
|
161
|
+
*/
|
|
162
|
+
arn?: string;
|
|
163
|
+
/**
|
|
164
|
+
* <p>This output displays the date and time when the job template was created.</p>
|
|
165
|
+
*/
|
|
166
|
+
createdAt?: Date;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* <p>The specified resource was not found.</p>
|
|
170
|
+
*/
|
|
171
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
172
|
+
readonly name: "ResourceNotFoundException";
|
|
173
|
+
readonly $fault: "client";
|
|
174
|
+
/**
|
|
175
|
+
* @internal
|
|
176
|
+
*/
|
|
177
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
178
|
+
}
|
|
45
179
|
/**
|
|
46
180
|
* <p>A configuration for CloudWatch monitoring. You can configure your jobs to send log
|
|
47
181
|
* information to CloudWatch Logs.</p>
|
|
@@ -105,17 +239,6 @@ export interface CreateManagedEndpointResponse {
|
|
|
105
239
|
*/
|
|
106
240
|
virtualClusterId?: string;
|
|
107
241
|
}
|
|
108
|
-
/**
|
|
109
|
-
* <p>The specified resource was not found.</p>
|
|
110
|
-
*/
|
|
111
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
112
|
-
readonly name: "ResourceNotFoundException";
|
|
113
|
-
readonly $fault: "client";
|
|
114
|
-
/**
|
|
115
|
-
* @internal
|
|
116
|
-
*/
|
|
117
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
118
|
-
}
|
|
119
242
|
/**
|
|
120
243
|
* <p>The information about the EKS cluster.</p>
|
|
121
244
|
*/
|
|
@@ -199,6 +322,18 @@ export interface CreateVirtualClusterResponse {
|
|
|
199
322
|
*/
|
|
200
323
|
arn?: string;
|
|
201
324
|
}
|
|
325
|
+
export interface DeleteJobTemplateRequest {
|
|
326
|
+
/**
|
|
327
|
+
* <p>The ID of the job template that will be deleted.</p>
|
|
328
|
+
*/
|
|
329
|
+
id: string | undefined;
|
|
330
|
+
}
|
|
331
|
+
export interface DeleteJobTemplateResponse {
|
|
332
|
+
/**
|
|
333
|
+
* <p>This output contains the ID of the job template that was deleted.</p>
|
|
334
|
+
*/
|
|
335
|
+
id?: string;
|
|
336
|
+
}
|
|
202
337
|
export interface DeleteManagedEndpointRequest {
|
|
203
338
|
/**
|
|
204
339
|
* <p>The ID of the managed endpoint.</p>
|
|
@@ -247,49 +382,6 @@ export declare enum FailureReason {
|
|
|
247
382
|
USER_ERROR = "USER_ERROR",
|
|
248
383
|
VALIDATION_ERROR = "VALIDATION_ERROR"
|
|
249
384
|
}
|
|
250
|
-
/**
|
|
251
|
-
* <p>The job driver for job type.</p>
|
|
252
|
-
*/
|
|
253
|
-
export interface SparkSqlJobDriver {
|
|
254
|
-
/**
|
|
255
|
-
* <p>The SQL file to be executed.</p>
|
|
256
|
-
*/
|
|
257
|
-
entryPoint?: string;
|
|
258
|
-
/**
|
|
259
|
-
* <p>The Spark parameters to be included in the Spark SQL command.</p>
|
|
260
|
-
*/
|
|
261
|
-
sparkSqlParameters?: string;
|
|
262
|
-
}
|
|
263
|
-
/**
|
|
264
|
-
* <p>The information about job driver for Spark submit.</p>
|
|
265
|
-
*/
|
|
266
|
-
export interface SparkSubmitJobDriver {
|
|
267
|
-
/**
|
|
268
|
-
* <p>The entry point of job application.</p>
|
|
269
|
-
*/
|
|
270
|
-
entryPoint: string | undefined;
|
|
271
|
-
/**
|
|
272
|
-
* <p>The arguments for job application.</p>
|
|
273
|
-
*/
|
|
274
|
-
entryPointArguments?: string[];
|
|
275
|
-
/**
|
|
276
|
-
* <p>The Spark submit parameters that are used for job runs.</p>
|
|
277
|
-
*/
|
|
278
|
-
sparkSubmitParameters?: string;
|
|
279
|
-
}
|
|
280
|
-
/**
|
|
281
|
-
* <p>Specify the driver that the job runs on.</p>
|
|
282
|
-
*/
|
|
283
|
-
export interface JobDriver {
|
|
284
|
-
/**
|
|
285
|
-
* <p>The job driver parameters specified for spark submit.</p>
|
|
286
|
-
*/
|
|
287
|
-
sparkSubmitJobDriver?: SparkSubmitJobDriver;
|
|
288
|
-
/**
|
|
289
|
-
* <p>The job driver for job type.</p>
|
|
290
|
-
*/
|
|
291
|
-
sparkSqlJobDriver?: SparkSqlJobDriver;
|
|
292
|
-
}
|
|
293
385
|
export declare enum JobRunState {
|
|
294
386
|
CANCELLED = "CANCELLED",
|
|
295
387
|
CANCEL_PENDING = "CANCEL_PENDING",
|
|
@@ -299,6 +391,12 @@ export declare enum JobRunState {
|
|
|
299
391
|
RUNNING = "RUNNING",
|
|
300
392
|
SUBMITTED = "SUBMITTED"
|
|
301
393
|
}
|
|
394
|
+
export interface DescribeJobTemplateRequest {
|
|
395
|
+
/**
|
|
396
|
+
* <p>The ID of the job template that will be described.</p>
|
|
397
|
+
*/
|
|
398
|
+
id: string | undefined;
|
|
399
|
+
}
|
|
302
400
|
export interface DescribeManagedEndpointRequest {
|
|
303
401
|
/**
|
|
304
402
|
* <p>This output displays ID of the managed endpoint.</p>
|
|
@@ -415,6 +513,24 @@ export interface ListJobRunsRequest {
|
|
|
415
513
|
*/
|
|
416
514
|
nextToken?: string;
|
|
417
515
|
}
|
|
516
|
+
export interface ListJobTemplatesRequest {
|
|
517
|
+
/**
|
|
518
|
+
* <p>The date and time after which the job templates were created.</p>
|
|
519
|
+
*/
|
|
520
|
+
createdAfter?: Date;
|
|
521
|
+
/**
|
|
522
|
+
* <p> The date and time before which the job templates were created.</p>
|
|
523
|
+
*/
|
|
524
|
+
createdBefore?: Date;
|
|
525
|
+
/**
|
|
526
|
+
* <p> The maximum number of job templates that can be listed.</p>
|
|
527
|
+
*/
|
|
528
|
+
maxResults?: number;
|
|
529
|
+
/**
|
|
530
|
+
* <p> The token for the next set of job templates to return.</p>
|
|
531
|
+
*/
|
|
532
|
+
nextToken?: string;
|
|
533
|
+
}
|
|
418
534
|
export interface ListManagedEndpointsRequest {
|
|
419
535
|
/**
|
|
420
536
|
* <p>The ID of the virtual cluster.</p>
|
|
@@ -574,6 +690,20 @@ export interface ConfigurationOverrides {
|
|
|
574
690
|
*/
|
|
575
691
|
monitoringConfiguration?: MonitoringConfiguration;
|
|
576
692
|
}
|
|
693
|
+
/**
|
|
694
|
+
* <p> A configuration specification to be used to override existing configurations. This data
|
|
695
|
+
* type allows job template parameters to be specified within.</p>
|
|
696
|
+
*/
|
|
697
|
+
export interface ParametricConfigurationOverrides {
|
|
698
|
+
/**
|
|
699
|
+
* <p> The configurations for the application running by the job run.</p>
|
|
700
|
+
*/
|
|
701
|
+
applicationConfiguration?: Configuration[];
|
|
702
|
+
/**
|
|
703
|
+
* <p> The configurations for monitoring. </p>
|
|
704
|
+
*/
|
|
705
|
+
monitoringConfiguration?: ParametricMonitoringConfiguration;
|
|
706
|
+
}
|
|
577
707
|
export interface CreateManagedEndpointRequest {
|
|
578
708
|
/**
|
|
579
709
|
* <p>The name of the managed endpoint.</p>
|
|
@@ -598,8 +728,8 @@ export interface CreateManagedEndpointRequest {
|
|
|
598
728
|
/**
|
|
599
729
|
* @deprecated
|
|
600
730
|
*
|
|
601
|
-
* <p>The certificate ARN provided by users for the managed endpoint. This field
|
|
602
|
-
* deprecation and will be removed in future releases.</p>
|
|
731
|
+
* <p>The certificate ARN provided by users for the managed endpoint. This field
|
|
732
|
+
* is under deprecation and will be removed in future releases.</p>
|
|
603
733
|
*/
|
|
604
734
|
certificateArn?: string;
|
|
605
735
|
/**
|
|
@@ -611,7 +741,8 @@ export interface CreateManagedEndpointRequest {
|
|
|
611
741
|
*/
|
|
612
742
|
clientToken?: string;
|
|
613
743
|
/**
|
|
614
|
-
* <p>The tags of the managed endpoint.
|
|
744
|
+
* <p>The tags of the managed endpoint.
|
|
745
|
+
* </p>
|
|
615
746
|
*/
|
|
616
747
|
tags?: Record<string, string>;
|
|
617
748
|
}
|
|
@@ -659,7 +790,8 @@ export interface Endpoint {
|
|
|
659
790
|
*/
|
|
660
791
|
certificateArn?: string;
|
|
661
792
|
/**
|
|
662
|
-
* <p>The certificate generated by emr control plane on customer behalf to secure the managed
|
|
793
|
+
* <p>The certificate generated by emr control plane on customer behalf to secure the managed
|
|
794
|
+
* endpoint.</p>
|
|
663
795
|
*/
|
|
664
796
|
certificateAuthority?: Certificate;
|
|
665
797
|
/**
|
|
@@ -766,6 +898,37 @@ export interface JobRun {
|
|
|
766
898
|
*/
|
|
767
899
|
tags?: Record<string, string>;
|
|
768
900
|
}
|
|
901
|
+
/**
|
|
902
|
+
* <p>The values of StartJobRun API requests used in job runs started using the job
|
|
903
|
+
* template.</p>
|
|
904
|
+
*/
|
|
905
|
+
export interface JobTemplateData {
|
|
906
|
+
/**
|
|
907
|
+
* <p>The execution role ARN of the job run.</p>
|
|
908
|
+
*/
|
|
909
|
+
executionRoleArn: string | undefined;
|
|
910
|
+
/**
|
|
911
|
+
* <p> The release version of Amazon EMR.</p>
|
|
912
|
+
*/
|
|
913
|
+
releaseLabel: string | undefined;
|
|
914
|
+
/**
|
|
915
|
+
* <p> The configuration settings that are used to override defaults configuration.</p>
|
|
916
|
+
*/
|
|
917
|
+
configurationOverrides?: ParametricConfigurationOverrides;
|
|
918
|
+
/**
|
|
919
|
+
* <p>Specify the driver that the job runs on. Exactly one of the two available job drivers is
|
|
920
|
+
* required, either sparkSqlJobDriver or sparkSubmitJobDriver.</p>
|
|
921
|
+
*/
|
|
922
|
+
jobDriver: JobDriver | undefined;
|
|
923
|
+
/**
|
|
924
|
+
* <p>The configuration of parameters existing in the job template.</p>
|
|
925
|
+
*/
|
|
926
|
+
parameterConfiguration?: Record<string, TemplateParameterConfiguration>;
|
|
927
|
+
/**
|
|
928
|
+
* <p>The tags assigned to jobs started using the job template.</p>
|
|
929
|
+
*/
|
|
930
|
+
jobTags?: Record<string, string>;
|
|
931
|
+
}
|
|
769
932
|
export interface StartJobRunRequest {
|
|
770
933
|
/**
|
|
771
934
|
* <p>The name of the job run.</p>
|
|
@@ -782,15 +945,15 @@ export interface StartJobRunRequest {
|
|
|
782
945
|
/**
|
|
783
946
|
* <p>The execution role ARN for the job run.</p>
|
|
784
947
|
*/
|
|
785
|
-
executionRoleArn
|
|
948
|
+
executionRoleArn?: string;
|
|
786
949
|
/**
|
|
787
950
|
* <p>The Amazon EMR release version to use for the job run.</p>
|
|
788
951
|
*/
|
|
789
|
-
releaseLabel
|
|
952
|
+
releaseLabel?: string;
|
|
790
953
|
/**
|
|
791
954
|
* <p>The job driver for the job run.</p>
|
|
792
955
|
*/
|
|
793
|
-
jobDriver
|
|
956
|
+
jobDriver?: JobDriver;
|
|
794
957
|
/**
|
|
795
958
|
* <p>The configuration overrides for the job run.</p>
|
|
796
959
|
*/
|
|
@@ -799,6 +962,36 @@ export interface StartJobRunRequest {
|
|
|
799
962
|
* <p>The tags assigned to job runs.</p>
|
|
800
963
|
*/
|
|
801
964
|
tags?: Record<string, string>;
|
|
965
|
+
/**
|
|
966
|
+
* <p>The job template ID to be used to start the job run.</p>
|
|
967
|
+
*/
|
|
968
|
+
jobTemplateId?: string;
|
|
969
|
+
/**
|
|
970
|
+
* <p>The values of job template parameters to start a job run.</p>
|
|
971
|
+
*/
|
|
972
|
+
jobTemplateParameters?: Record<string, string>;
|
|
973
|
+
}
|
|
974
|
+
export interface CreateJobTemplateRequest {
|
|
975
|
+
/**
|
|
976
|
+
* <p>The specified name of the job template.</p>
|
|
977
|
+
*/
|
|
978
|
+
name: string | undefined;
|
|
979
|
+
/**
|
|
980
|
+
* <p>The client token of the job template.</p>
|
|
981
|
+
*/
|
|
982
|
+
clientToken?: string;
|
|
983
|
+
/**
|
|
984
|
+
* <p>The job template data which holds values of StartJobRun API request.</p>
|
|
985
|
+
*/
|
|
986
|
+
jobTemplateData: JobTemplateData | undefined;
|
|
987
|
+
/**
|
|
988
|
+
* <p>The tags that are associated with the job template.</p>
|
|
989
|
+
*/
|
|
990
|
+
tags?: Record<string, string>;
|
|
991
|
+
/**
|
|
992
|
+
* <p>The KMS key ARN used to encrypt the job template.</p>
|
|
993
|
+
*/
|
|
994
|
+
kmsKeyArn?: string;
|
|
802
995
|
}
|
|
803
996
|
export interface DescribeJobRunResponse {
|
|
804
997
|
/**
|
|
@@ -812,6 +1005,56 @@ export interface DescribeManagedEndpointResponse {
|
|
|
812
1005
|
*/
|
|
813
1006
|
endpoint?: Endpoint;
|
|
814
1007
|
}
|
|
1008
|
+
/**
|
|
1009
|
+
* <p>This entity describes a job template. Job template stores values of StartJobRun API
|
|
1010
|
+
* request in a template and can be used to start a job run. Job template allows two use
|
|
1011
|
+
* cases: avoid repeating recurring StartJobRun API request values, enforcing certain values
|
|
1012
|
+
* in StartJobRun API request.</p>
|
|
1013
|
+
*/
|
|
1014
|
+
export interface JobTemplate {
|
|
1015
|
+
/**
|
|
1016
|
+
* <p>The name of the job template.</p>
|
|
1017
|
+
*/
|
|
1018
|
+
name?: string;
|
|
1019
|
+
/**
|
|
1020
|
+
* <p>The ID of the job template.</p>
|
|
1021
|
+
*/
|
|
1022
|
+
id?: string;
|
|
1023
|
+
/**
|
|
1024
|
+
* <p>The ARN of the job template.</p>
|
|
1025
|
+
*/
|
|
1026
|
+
arn?: string;
|
|
1027
|
+
/**
|
|
1028
|
+
* <p> The date and time when the job template was created.</p>
|
|
1029
|
+
*/
|
|
1030
|
+
createdAt?: Date;
|
|
1031
|
+
/**
|
|
1032
|
+
* <p> The user who created the job template.</p>
|
|
1033
|
+
*/
|
|
1034
|
+
createdBy?: string;
|
|
1035
|
+
/**
|
|
1036
|
+
* <p>The tags assigned to the job template.</p>
|
|
1037
|
+
*/
|
|
1038
|
+
tags?: Record<string, string>;
|
|
1039
|
+
/**
|
|
1040
|
+
* <p>The job template data which holds values of StartJobRun API request.</p>
|
|
1041
|
+
*/
|
|
1042
|
+
jobTemplateData: JobTemplateData | undefined;
|
|
1043
|
+
/**
|
|
1044
|
+
* <p> The KMS key ARN used to encrypt the job template.</p>
|
|
1045
|
+
*/
|
|
1046
|
+
kmsKeyArn?: string;
|
|
1047
|
+
/**
|
|
1048
|
+
* <p>The error message in case the decryption of job template fails.</p>
|
|
1049
|
+
*/
|
|
1050
|
+
decryptionError?: string;
|
|
1051
|
+
}
|
|
1052
|
+
export interface DescribeJobTemplateResponse {
|
|
1053
|
+
/**
|
|
1054
|
+
* <p>This output displays information about the specified job template.</p>
|
|
1055
|
+
*/
|
|
1056
|
+
jobTemplate?: JobTemplate;
|
|
1057
|
+
}
|
|
815
1058
|
export interface ListJobRunsResponse {
|
|
816
1059
|
/**
|
|
817
1060
|
* <p>This output lists information about the specified job runs.</p>
|
|
@@ -832,6 +1075,16 @@ export interface ListManagedEndpointsResponse {
|
|
|
832
1075
|
*/
|
|
833
1076
|
nextToken?: string;
|
|
834
1077
|
}
|
|
1078
|
+
export interface ListJobTemplatesResponse {
|
|
1079
|
+
/**
|
|
1080
|
+
* <p>This output lists information about the specified job templates.</p>
|
|
1081
|
+
*/
|
|
1082
|
+
templates?: JobTemplate[];
|
|
1083
|
+
/**
|
|
1084
|
+
* <p> This output displays the token for the next set of job templates.</p>
|
|
1085
|
+
*/
|
|
1086
|
+
nextToken?: string;
|
|
1087
|
+
}
|
|
835
1088
|
/**
|
|
836
1089
|
* @internal
|
|
837
1090
|
*/
|
|
@@ -840,6 +1093,38 @@ export declare const CancelJobRunRequestFilterSensitiveLog: (obj: CancelJobRunRe
|
|
|
840
1093
|
* @internal
|
|
841
1094
|
*/
|
|
842
1095
|
export declare const CancelJobRunResponseFilterSensitiveLog: (obj: CancelJobRunResponse) => any;
|
|
1096
|
+
/**
|
|
1097
|
+
* @internal
|
|
1098
|
+
*/
|
|
1099
|
+
export declare const ParametricCloudWatchMonitoringConfigurationFilterSensitiveLog: (obj: ParametricCloudWatchMonitoringConfiguration) => any;
|
|
1100
|
+
/**
|
|
1101
|
+
* @internal
|
|
1102
|
+
*/
|
|
1103
|
+
export declare const ParametricS3MonitoringConfigurationFilterSensitiveLog: (obj: ParametricS3MonitoringConfiguration) => any;
|
|
1104
|
+
/**
|
|
1105
|
+
* @internal
|
|
1106
|
+
*/
|
|
1107
|
+
export declare const ParametricMonitoringConfigurationFilterSensitiveLog: (obj: ParametricMonitoringConfiguration) => any;
|
|
1108
|
+
/**
|
|
1109
|
+
* @internal
|
|
1110
|
+
*/
|
|
1111
|
+
export declare const SparkSqlJobDriverFilterSensitiveLog: (obj: SparkSqlJobDriver) => any;
|
|
1112
|
+
/**
|
|
1113
|
+
* @internal
|
|
1114
|
+
*/
|
|
1115
|
+
export declare const SparkSubmitJobDriverFilterSensitiveLog: (obj: SparkSubmitJobDriver) => any;
|
|
1116
|
+
/**
|
|
1117
|
+
* @internal
|
|
1118
|
+
*/
|
|
1119
|
+
export declare const JobDriverFilterSensitiveLog: (obj: JobDriver) => any;
|
|
1120
|
+
/**
|
|
1121
|
+
* @internal
|
|
1122
|
+
*/
|
|
1123
|
+
export declare const TemplateParameterConfigurationFilterSensitiveLog: (obj: TemplateParameterConfiguration) => any;
|
|
1124
|
+
/**
|
|
1125
|
+
* @internal
|
|
1126
|
+
*/
|
|
1127
|
+
export declare const CreateJobTemplateResponseFilterSensitiveLog: (obj: CreateJobTemplateResponse) => any;
|
|
843
1128
|
/**
|
|
844
1129
|
* @internal
|
|
845
1130
|
*/
|
|
@@ -879,35 +1164,35 @@ export declare const CreateVirtualClusterResponseFilterSensitiveLog: (obj: Creat
|
|
|
879
1164
|
/**
|
|
880
1165
|
* @internal
|
|
881
1166
|
*/
|
|
882
|
-
export declare const
|
|
1167
|
+
export declare const DeleteJobTemplateRequestFilterSensitiveLog: (obj: DeleteJobTemplateRequest) => any;
|
|
883
1168
|
/**
|
|
884
1169
|
* @internal
|
|
885
1170
|
*/
|
|
886
|
-
export declare const
|
|
1171
|
+
export declare const DeleteJobTemplateResponseFilterSensitiveLog: (obj: DeleteJobTemplateResponse) => any;
|
|
887
1172
|
/**
|
|
888
1173
|
* @internal
|
|
889
1174
|
*/
|
|
890
|
-
export declare const
|
|
1175
|
+
export declare const DeleteManagedEndpointRequestFilterSensitiveLog: (obj: DeleteManagedEndpointRequest) => any;
|
|
891
1176
|
/**
|
|
892
1177
|
* @internal
|
|
893
1178
|
*/
|
|
894
|
-
export declare const
|
|
1179
|
+
export declare const DeleteManagedEndpointResponseFilterSensitiveLog: (obj: DeleteManagedEndpointResponse) => any;
|
|
895
1180
|
/**
|
|
896
1181
|
* @internal
|
|
897
1182
|
*/
|
|
898
|
-
export declare const
|
|
1183
|
+
export declare const DeleteVirtualClusterRequestFilterSensitiveLog: (obj: DeleteVirtualClusterRequest) => any;
|
|
899
1184
|
/**
|
|
900
1185
|
* @internal
|
|
901
1186
|
*/
|
|
902
|
-
export declare const
|
|
1187
|
+
export declare const DeleteVirtualClusterResponseFilterSensitiveLog: (obj: DeleteVirtualClusterResponse) => any;
|
|
903
1188
|
/**
|
|
904
1189
|
* @internal
|
|
905
1190
|
*/
|
|
906
|
-
export declare const
|
|
1191
|
+
export declare const DescribeJobRunRequestFilterSensitiveLog: (obj: DescribeJobRunRequest) => any;
|
|
907
1192
|
/**
|
|
908
1193
|
* @internal
|
|
909
1194
|
*/
|
|
910
|
-
export declare const
|
|
1195
|
+
export declare const DescribeJobTemplateRequestFilterSensitiveLog: (obj: DescribeJobTemplateRequest) => any;
|
|
911
1196
|
/**
|
|
912
1197
|
* @internal
|
|
913
1198
|
*/
|
|
@@ -932,6 +1217,10 @@ export declare const DescribeVirtualClusterResponseFilterSensitiveLog: (obj: Des
|
|
|
932
1217
|
* @internal
|
|
933
1218
|
*/
|
|
934
1219
|
export declare const ListJobRunsRequestFilterSensitiveLog: (obj: ListJobRunsRequest) => any;
|
|
1220
|
+
/**
|
|
1221
|
+
* @internal
|
|
1222
|
+
*/
|
|
1223
|
+
export declare const ListJobTemplatesRequestFilterSensitiveLog: (obj: ListJobTemplatesRequest) => any;
|
|
935
1224
|
/**
|
|
936
1225
|
* @internal
|
|
937
1226
|
*/
|
|
@@ -980,6 +1269,10 @@ export declare const ConfigurationFilterSensitiveLog: (obj: Configuration) => an
|
|
|
980
1269
|
* @internal
|
|
981
1270
|
*/
|
|
982
1271
|
export declare const ConfigurationOverridesFilterSensitiveLog: (obj: ConfigurationOverrides) => any;
|
|
1272
|
+
/**
|
|
1273
|
+
* @internal
|
|
1274
|
+
*/
|
|
1275
|
+
export declare const ParametricConfigurationOverridesFilterSensitiveLog: (obj: ParametricConfigurationOverrides) => any;
|
|
983
1276
|
/**
|
|
984
1277
|
* @internal
|
|
985
1278
|
*/
|
|
@@ -992,10 +1285,18 @@ export declare const EndpointFilterSensitiveLog: (obj: Endpoint) => any;
|
|
|
992
1285
|
* @internal
|
|
993
1286
|
*/
|
|
994
1287
|
export declare const JobRunFilterSensitiveLog: (obj: JobRun) => any;
|
|
1288
|
+
/**
|
|
1289
|
+
* @internal
|
|
1290
|
+
*/
|
|
1291
|
+
export declare const JobTemplateDataFilterSensitiveLog: (obj: JobTemplateData) => any;
|
|
995
1292
|
/**
|
|
996
1293
|
* @internal
|
|
997
1294
|
*/
|
|
998
1295
|
export declare const StartJobRunRequestFilterSensitiveLog: (obj: StartJobRunRequest) => any;
|
|
1296
|
+
/**
|
|
1297
|
+
* @internal
|
|
1298
|
+
*/
|
|
1299
|
+
export declare const CreateJobTemplateRequestFilterSensitiveLog: (obj: CreateJobTemplateRequest) => any;
|
|
999
1300
|
/**
|
|
1000
1301
|
* @internal
|
|
1001
1302
|
*/
|
|
@@ -1004,6 +1305,14 @@ export declare const DescribeJobRunResponseFilterSensitiveLog: (obj: DescribeJob
|
|
|
1004
1305
|
* @internal
|
|
1005
1306
|
*/
|
|
1006
1307
|
export declare const DescribeManagedEndpointResponseFilterSensitiveLog: (obj: DescribeManagedEndpointResponse) => any;
|
|
1308
|
+
/**
|
|
1309
|
+
* @internal
|
|
1310
|
+
*/
|
|
1311
|
+
export declare const JobTemplateFilterSensitiveLog: (obj: JobTemplate) => any;
|
|
1312
|
+
/**
|
|
1313
|
+
* @internal
|
|
1314
|
+
*/
|
|
1315
|
+
export declare const DescribeJobTemplateResponseFilterSensitiveLog: (obj: DescribeJobTemplateResponse) => any;
|
|
1007
1316
|
/**
|
|
1008
1317
|
* @internal
|
|
1009
1318
|
*/
|
|
@@ -1012,3 +1321,7 @@ export declare const ListJobRunsResponseFilterSensitiveLog: (obj: ListJobRunsRes
|
|
|
1012
1321
|
* @internal
|
|
1013
1322
|
*/
|
|
1014
1323
|
export declare const ListManagedEndpointsResponseFilterSensitiveLog: (obj: ListManagedEndpointsResponse) => any;
|
|
1324
|
+
/**
|
|
1325
|
+
* @internal
|
|
1326
|
+
*/
|
|
1327
|
+
export declare const ListJobTemplatesResponseFilterSensitiveLog: (obj: ListJobTemplatesResponse) => any;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListJobTemplatesCommandInput, ListJobTemplatesCommandOutput } from "../commands/ListJobTemplatesCommand";
|
|
3
|
+
import { EMRContainersPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListJobTemplates(config: EMRContainersPaginationConfiguration, input: ListJobTemplatesCommandInput, ...additionalArguments: any): Paginator<ListJobTemplatesCommandOutput>;
|