@aws-sdk/client-emr-serverless 3.1136.0 → 3.1138.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1135.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -457,10 +457,10 @@ const _wC = "workerCount";
457
457
  const _wCo = "workerConfiguration";
458
458
  const _wTS = "workerTypeSpecifications";
459
459
  const n0 = "com.amazonaws.emrserverless";
460
- const _s_registry = TypeRegistry.for(_s);
460
+ const _s_registry = new TypeRegistry(_s);
461
461
  var EMRServerlessServiceException$ = [-3, _s, "EMRServerlessServiceException", 0, [], []];
462
462
  _s_registry.registerError(EMRServerlessServiceException$, EMRServerlessServiceException);
463
- const n0_registry = TypeRegistry.for(n0);
463
+ const n0_registry = new TypeRegistry(n0);
464
464
  var ConflictException$ = [-3, n0, _CE,
465
465
  { [_e]: _c, [_hE]: 409 },
466
466
  [_m],
@@ -259,10 +259,10 @@ const n0 = "com.amazonaws.emrserverless";
259
259
  import { TypeRegistry } from "@smithy/core/schema";
260
260
  import { EMRServerlessServiceException } from "../models/EMRServerlessServiceException";
261
261
  import { ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/errors";
262
- const _s_registry = TypeRegistry.for(_s);
262
+ const _s_registry = new TypeRegistry(_s);
263
263
  export var EMRServerlessServiceException$ = [-3, _s, "EMRServerlessServiceException", 0, [], []];
264
264
  _s_registry.registerError(EMRServerlessServiceException$, EMRServerlessServiceException);
265
- const n0_registry = TypeRegistry.for(n0);
265
+ const n0_registry = new TypeRegistry(n0);
266
266
  export var ConflictException$ = [-3, n0, _CE,
267
267
  { [_e]: _c, [_hE]: 409 },
268
268
  [_m],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type CancelJobRunCommandInput, type CancelJobRunCommandOutput } from "./commands/CancelJobRunCommand";
3
3
  import { type CreateApplicationCommandInput, type CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
4
4
  import { type DeleteApplicationCommandInput, type DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
@@ -22,140 +22,146 @@ import { type TerminateSessionCommandInput, type TerminateSessionCommandOutput }
22
22
  import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
23
23
  import { type UpdateApplicationCommandInput, type UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
24
24
  import { EMRServerlessClient } from "./EMRServerlessClient";
25
+ /**
26
+ * @public
27
+ */
28
+ export interface EMRServerlessRequestOptions extends __HttpHandlerOptions {
29
+ metricsRecorder?: __MetricsRecorder<unknown>;
30
+ }
25
31
  export interface EMRServerless {
26
32
  /**
27
33
  * @see {@link CancelJobRunCommand}
28
34
  */
29
- cancelJobRun(args: CancelJobRunCommandInput, options?: __HttpHandlerOptions): Promise<CancelJobRunCommandOutput>;
35
+ cancelJobRun(args: CancelJobRunCommandInput, options?: EMRServerlessRequestOptions): Promise<CancelJobRunCommandOutput>;
30
36
  cancelJobRun(args: CancelJobRunCommandInput, cb: (err: any, data?: CancelJobRunCommandOutput) => void): void;
31
- cancelJobRun(args: CancelJobRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelJobRunCommandOutput) => void): void;
37
+ cancelJobRun(args: CancelJobRunCommandInput, options: EMRServerlessRequestOptions, cb: (err: any, data?: CancelJobRunCommandOutput) => void): void;
32
38
  /**
33
39
  * @see {@link CreateApplicationCommand}
34
40
  */
35
- createApplication(args: CreateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationCommandOutput>;
41
+ createApplication(args: CreateApplicationCommandInput, options?: EMRServerlessRequestOptions): Promise<CreateApplicationCommandOutput>;
36
42
  createApplication(args: CreateApplicationCommandInput, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
37
- createApplication(args: CreateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
43
+ createApplication(args: CreateApplicationCommandInput, options: EMRServerlessRequestOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
38
44
  /**
39
45
  * @see {@link DeleteApplicationCommand}
40
46
  */
41
- deleteApplication(args: DeleteApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApplicationCommandOutput>;
47
+ deleteApplication(args: DeleteApplicationCommandInput, options?: EMRServerlessRequestOptions): Promise<DeleteApplicationCommandOutput>;
42
48
  deleteApplication(args: DeleteApplicationCommandInput, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
43
- deleteApplication(args: DeleteApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
49
+ deleteApplication(args: DeleteApplicationCommandInput, options: EMRServerlessRequestOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
44
50
  /**
45
51
  * @see {@link GetApplicationCommand}
46
52
  */
47
- getApplication(args: GetApplicationCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationCommandOutput>;
53
+ getApplication(args: GetApplicationCommandInput, options?: EMRServerlessRequestOptions): Promise<GetApplicationCommandOutput>;
48
54
  getApplication(args: GetApplicationCommandInput, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
49
- getApplication(args: GetApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
55
+ getApplication(args: GetApplicationCommandInput, options: EMRServerlessRequestOptions, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
50
56
  /**
51
57
  * @see {@link GetDashboardForJobRunCommand}
52
58
  */
53
- getDashboardForJobRun(args: GetDashboardForJobRunCommandInput, options?: __HttpHandlerOptions): Promise<GetDashboardForJobRunCommandOutput>;
59
+ getDashboardForJobRun(args: GetDashboardForJobRunCommandInput, options?: EMRServerlessRequestOptions): Promise<GetDashboardForJobRunCommandOutput>;
54
60
  getDashboardForJobRun(args: GetDashboardForJobRunCommandInput, cb: (err: any, data?: GetDashboardForJobRunCommandOutput) => void): void;
55
- getDashboardForJobRun(args: GetDashboardForJobRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDashboardForJobRunCommandOutput) => void): void;
61
+ getDashboardForJobRun(args: GetDashboardForJobRunCommandInput, options: EMRServerlessRequestOptions, cb: (err: any, data?: GetDashboardForJobRunCommandOutput) => void): void;
56
62
  /**
57
63
  * @see {@link GetJobRunCommand}
58
64
  */
59
- getJobRun(args: GetJobRunCommandInput, options?: __HttpHandlerOptions): Promise<GetJobRunCommandOutput>;
65
+ getJobRun(args: GetJobRunCommandInput, options?: EMRServerlessRequestOptions): Promise<GetJobRunCommandOutput>;
60
66
  getJobRun(args: GetJobRunCommandInput, cb: (err: any, data?: GetJobRunCommandOutput) => void): void;
61
- getJobRun(args: GetJobRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetJobRunCommandOutput) => void): void;
67
+ getJobRun(args: GetJobRunCommandInput, options: EMRServerlessRequestOptions, cb: (err: any, data?: GetJobRunCommandOutput) => void): void;
62
68
  /**
63
69
  * @see {@link GetResourceDashboardCommand}
64
70
  */
65
- getResourceDashboard(args: GetResourceDashboardCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceDashboardCommandOutput>;
71
+ getResourceDashboard(args: GetResourceDashboardCommandInput, options?: EMRServerlessRequestOptions): Promise<GetResourceDashboardCommandOutput>;
66
72
  getResourceDashboard(args: GetResourceDashboardCommandInput, cb: (err: any, data?: GetResourceDashboardCommandOutput) => void): void;
67
- getResourceDashboard(args: GetResourceDashboardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceDashboardCommandOutput) => void): void;
73
+ getResourceDashboard(args: GetResourceDashboardCommandInput, options: EMRServerlessRequestOptions, cb: (err: any, data?: GetResourceDashboardCommandOutput) => void): void;
68
74
  /**
69
75
  * @see {@link GetSessionCommand}
70
76
  */
71
- getSession(args: GetSessionCommandInput, options?: __HttpHandlerOptions): Promise<GetSessionCommandOutput>;
77
+ getSession(args: GetSessionCommandInput, options?: EMRServerlessRequestOptions): Promise<GetSessionCommandOutput>;
72
78
  getSession(args: GetSessionCommandInput, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
73
- getSession(args: GetSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
79
+ getSession(args: GetSessionCommandInput, options: EMRServerlessRequestOptions, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
74
80
  /**
75
81
  * @see {@link GetSessionEndpointCommand}
76
82
  */
77
- getSessionEndpoint(args: GetSessionEndpointCommandInput, options?: __HttpHandlerOptions): Promise<GetSessionEndpointCommandOutput>;
83
+ getSessionEndpoint(args: GetSessionEndpointCommandInput, options?: EMRServerlessRequestOptions): Promise<GetSessionEndpointCommandOutput>;
78
84
  getSessionEndpoint(args: GetSessionEndpointCommandInput, cb: (err: any, data?: GetSessionEndpointCommandOutput) => void): void;
79
- getSessionEndpoint(args: GetSessionEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSessionEndpointCommandOutput) => void): void;
85
+ getSessionEndpoint(args: GetSessionEndpointCommandInput, options: EMRServerlessRequestOptions, cb: (err: any, data?: GetSessionEndpointCommandOutput) => void): void;
80
86
  /**
81
87
  * @see {@link ListApplicationsCommand}
82
88
  */
83
89
  listApplications(): Promise<ListApplicationsCommandOutput>;
84
- listApplications(args: ListApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationsCommandOutput>;
90
+ listApplications(args: ListApplicationsCommandInput, options?: EMRServerlessRequestOptions): Promise<ListApplicationsCommandOutput>;
85
91
  listApplications(args: ListApplicationsCommandInput, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
86
- listApplications(args: ListApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
92
+ listApplications(args: ListApplicationsCommandInput, options: EMRServerlessRequestOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
87
93
  /**
88
94
  * @see {@link ListJobRunAttemptsCommand}
89
95
  */
90
- listJobRunAttempts(args: ListJobRunAttemptsCommandInput, options?: __HttpHandlerOptions): Promise<ListJobRunAttemptsCommandOutput>;
96
+ listJobRunAttempts(args: ListJobRunAttemptsCommandInput, options?: EMRServerlessRequestOptions): Promise<ListJobRunAttemptsCommandOutput>;
91
97
  listJobRunAttempts(args: ListJobRunAttemptsCommandInput, cb: (err: any, data?: ListJobRunAttemptsCommandOutput) => void): void;
92
- listJobRunAttempts(args: ListJobRunAttemptsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobRunAttemptsCommandOutput) => void): void;
98
+ listJobRunAttempts(args: ListJobRunAttemptsCommandInput, options: EMRServerlessRequestOptions, cb: (err: any, data?: ListJobRunAttemptsCommandOutput) => void): void;
93
99
  /**
94
100
  * @see {@link ListJobRunsCommand}
95
101
  */
96
- listJobRuns(args: ListJobRunsCommandInput, options?: __HttpHandlerOptions): Promise<ListJobRunsCommandOutput>;
102
+ listJobRuns(args: ListJobRunsCommandInput, options?: EMRServerlessRequestOptions): Promise<ListJobRunsCommandOutput>;
97
103
  listJobRuns(args: ListJobRunsCommandInput, cb: (err: any, data?: ListJobRunsCommandOutput) => void): void;
98
- listJobRuns(args: ListJobRunsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobRunsCommandOutput) => void): void;
104
+ listJobRuns(args: ListJobRunsCommandInput, options: EMRServerlessRequestOptions, cb: (err: any, data?: ListJobRunsCommandOutput) => void): void;
99
105
  /**
100
106
  * @see {@link ListSessionsCommand}
101
107
  */
102
- listSessions(args: ListSessionsCommandInput, options?: __HttpHandlerOptions): Promise<ListSessionsCommandOutput>;
108
+ listSessions(args: ListSessionsCommandInput, options?: EMRServerlessRequestOptions): Promise<ListSessionsCommandOutput>;
103
109
  listSessions(args: ListSessionsCommandInput, cb: (err: any, data?: ListSessionsCommandOutput) => void): void;
104
- listSessions(args: ListSessionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSessionsCommandOutput) => void): void;
110
+ listSessions(args: ListSessionsCommandInput, options: EMRServerlessRequestOptions, cb: (err: any, data?: ListSessionsCommandOutput) => void): void;
105
111
  /**
106
112
  * @see {@link ListTagsForResourceCommand}
107
113
  */
108
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
114
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: EMRServerlessRequestOptions): Promise<ListTagsForResourceCommandOutput>;
109
115
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
110
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
116
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: EMRServerlessRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
111
117
  /**
112
118
  * @see {@link StartApplicationCommand}
113
119
  */
114
- startApplication(args: StartApplicationCommandInput, options?: __HttpHandlerOptions): Promise<StartApplicationCommandOutput>;
120
+ startApplication(args: StartApplicationCommandInput, options?: EMRServerlessRequestOptions): Promise<StartApplicationCommandOutput>;
115
121
  startApplication(args: StartApplicationCommandInput, cb: (err: any, data?: StartApplicationCommandOutput) => void): void;
116
- startApplication(args: StartApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartApplicationCommandOutput) => void): void;
122
+ startApplication(args: StartApplicationCommandInput, options: EMRServerlessRequestOptions, cb: (err: any, data?: StartApplicationCommandOutput) => void): void;
117
123
  /**
118
124
  * @see {@link StartJobRunCommand}
119
125
  */
120
- startJobRun(args: StartJobRunCommandInput, options?: __HttpHandlerOptions): Promise<StartJobRunCommandOutput>;
126
+ startJobRun(args: StartJobRunCommandInput, options?: EMRServerlessRequestOptions): Promise<StartJobRunCommandOutput>;
121
127
  startJobRun(args: StartJobRunCommandInput, cb: (err: any, data?: StartJobRunCommandOutput) => void): void;
122
- startJobRun(args: StartJobRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartJobRunCommandOutput) => void): void;
128
+ startJobRun(args: StartJobRunCommandInput, options: EMRServerlessRequestOptions, cb: (err: any, data?: StartJobRunCommandOutput) => void): void;
123
129
  /**
124
130
  * @see {@link StartSessionCommand}
125
131
  */
126
- startSession(args: StartSessionCommandInput, options?: __HttpHandlerOptions): Promise<StartSessionCommandOutput>;
132
+ startSession(args: StartSessionCommandInput, options?: EMRServerlessRequestOptions): Promise<StartSessionCommandOutput>;
127
133
  startSession(args: StartSessionCommandInput, cb: (err: any, data?: StartSessionCommandOutput) => void): void;
128
- startSession(args: StartSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSessionCommandOutput) => void): void;
134
+ startSession(args: StartSessionCommandInput, options: EMRServerlessRequestOptions, cb: (err: any, data?: StartSessionCommandOutput) => void): void;
129
135
  /**
130
136
  * @see {@link StopApplicationCommand}
131
137
  */
132
- stopApplication(args: StopApplicationCommandInput, options?: __HttpHandlerOptions): Promise<StopApplicationCommandOutput>;
138
+ stopApplication(args: StopApplicationCommandInput, options?: EMRServerlessRequestOptions): Promise<StopApplicationCommandOutput>;
133
139
  stopApplication(args: StopApplicationCommandInput, cb: (err: any, data?: StopApplicationCommandOutput) => void): void;
134
- stopApplication(args: StopApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopApplicationCommandOutput) => void): void;
140
+ stopApplication(args: StopApplicationCommandInput, options: EMRServerlessRequestOptions, cb: (err: any, data?: StopApplicationCommandOutput) => void): void;
135
141
  /**
136
142
  * @see {@link TagResourceCommand}
137
143
  */
138
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
144
+ tagResource(args: TagResourceCommandInput, options?: EMRServerlessRequestOptions): Promise<TagResourceCommandOutput>;
139
145
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
140
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
146
+ tagResource(args: TagResourceCommandInput, options: EMRServerlessRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
141
147
  /**
142
148
  * @see {@link TerminateSessionCommand}
143
149
  */
144
- terminateSession(args: TerminateSessionCommandInput, options?: __HttpHandlerOptions): Promise<TerminateSessionCommandOutput>;
150
+ terminateSession(args: TerminateSessionCommandInput, options?: EMRServerlessRequestOptions): Promise<TerminateSessionCommandOutput>;
145
151
  terminateSession(args: TerminateSessionCommandInput, cb: (err: any, data?: TerminateSessionCommandOutput) => void): void;
146
- terminateSession(args: TerminateSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TerminateSessionCommandOutput) => void): void;
152
+ terminateSession(args: TerminateSessionCommandInput, options: EMRServerlessRequestOptions, cb: (err: any, data?: TerminateSessionCommandOutput) => void): void;
147
153
  /**
148
154
  * @see {@link UntagResourceCommand}
149
155
  */
150
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
156
+ untagResource(args: UntagResourceCommandInput, options?: EMRServerlessRequestOptions): Promise<UntagResourceCommandOutput>;
151
157
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
152
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
158
+ untagResource(args: UntagResourceCommandInput, options: EMRServerlessRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
153
159
  /**
154
160
  * @see {@link UpdateApplicationCommand}
155
161
  */
156
- updateApplication(args: UpdateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApplicationCommandOutput>;
162
+ updateApplication(args: UpdateApplicationCommandInput, options?: EMRServerlessRequestOptions): Promise<UpdateApplicationCommandOutput>;
157
163
  updateApplication(args: UpdateApplicationCommandInput, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
158
- updateApplication(args: UpdateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
164
+ updateApplication(args: UpdateApplicationCommandInput, options: EMRServerlessRequestOptions, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
159
165
  /**
160
166
  * @see {@link ListApplicationsCommand}
161
167
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -77,10 +78,13 @@ import {
77
78
  UpdateApplicationCommandOutput,
78
79
  } from "./commands/UpdateApplicationCommand";
79
80
  import { EMRServerlessClient } from "./EMRServerlessClient";
81
+ export interface EMRServerlessRequestOptions extends __HttpHandlerOptions {
82
+ metricsRecorder?: __MetricsRecorder<unknown>;
83
+ }
80
84
  export interface EMRServerless {
81
85
  cancelJobRun(
82
86
  args: CancelJobRunCommandInput,
83
- options?: __HttpHandlerOptions,
87
+ options?: EMRServerlessRequestOptions,
84
88
  ): Promise<CancelJobRunCommandOutput>;
85
89
  cancelJobRun(
86
90
  args: CancelJobRunCommandInput,
@@ -88,12 +92,12 @@ export interface EMRServerless {
88
92
  ): void;
89
93
  cancelJobRun(
90
94
  args: CancelJobRunCommandInput,
91
- options: __HttpHandlerOptions,
95
+ options: EMRServerlessRequestOptions,
92
96
  cb: (err: any, data?: CancelJobRunCommandOutput) => void,
93
97
  ): void;
94
98
  createApplication(
95
99
  args: CreateApplicationCommandInput,
96
- options?: __HttpHandlerOptions,
100
+ options?: EMRServerlessRequestOptions,
97
101
  ): Promise<CreateApplicationCommandOutput>;
98
102
  createApplication(
99
103
  args: CreateApplicationCommandInput,
@@ -101,12 +105,12 @@ export interface EMRServerless {
101
105
  ): void;
102
106
  createApplication(
103
107
  args: CreateApplicationCommandInput,
104
- options: __HttpHandlerOptions,
108
+ options: EMRServerlessRequestOptions,
105
109
  cb: (err: any, data?: CreateApplicationCommandOutput) => void,
106
110
  ): void;
107
111
  deleteApplication(
108
112
  args: DeleteApplicationCommandInput,
109
- options?: __HttpHandlerOptions,
113
+ options?: EMRServerlessRequestOptions,
110
114
  ): Promise<DeleteApplicationCommandOutput>;
111
115
  deleteApplication(
112
116
  args: DeleteApplicationCommandInput,
@@ -114,12 +118,12 @@ export interface EMRServerless {
114
118
  ): void;
115
119
  deleteApplication(
116
120
  args: DeleteApplicationCommandInput,
117
- options: __HttpHandlerOptions,
121
+ options: EMRServerlessRequestOptions,
118
122
  cb: (err: any, data?: DeleteApplicationCommandOutput) => void,
119
123
  ): void;
120
124
  getApplication(
121
125
  args: GetApplicationCommandInput,
122
- options?: __HttpHandlerOptions,
126
+ options?: EMRServerlessRequestOptions,
123
127
  ): Promise<GetApplicationCommandOutput>;
124
128
  getApplication(
125
129
  args: GetApplicationCommandInput,
@@ -127,12 +131,12 @@ export interface EMRServerless {
127
131
  ): void;
128
132
  getApplication(
129
133
  args: GetApplicationCommandInput,
130
- options: __HttpHandlerOptions,
134
+ options: EMRServerlessRequestOptions,
131
135
  cb: (err: any, data?: GetApplicationCommandOutput) => void,
132
136
  ): void;
133
137
  getDashboardForJobRun(
134
138
  args: GetDashboardForJobRunCommandInput,
135
- options?: __HttpHandlerOptions,
139
+ options?: EMRServerlessRequestOptions,
136
140
  ): Promise<GetDashboardForJobRunCommandOutput>;
137
141
  getDashboardForJobRun(
138
142
  args: GetDashboardForJobRunCommandInput,
@@ -140,12 +144,12 @@ export interface EMRServerless {
140
144
  ): void;
141
145
  getDashboardForJobRun(
142
146
  args: GetDashboardForJobRunCommandInput,
143
- options: __HttpHandlerOptions,
147
+ options: EMRServerlessRequestOptions,
144
148
  cb: (err: any, data?: GetDashboardForJobRunCommandOutput) => void,
145
149
  ): void;
146
150
  getJobRun(
147
151
  args: GetJobRunCommandInput,
148
- options?: __HttpHandlerOptions,
152
+ options?: EMRServerlessRequestOptions,
149
153
  ): Promise<GetJobRunCommandOutput>;
150
154
  getJobRun(
151
155
  args: GetJobRunCommandInput,
@@ -153,12 +157,12 @@ export interface EMRServerless {
153
157
  ): void;
154
158
  getJobRun(
155
159
  args: GetJobRunCommandInput,
156
- options: __HttpHandlerOptions,
160
+ options: EMRServerlessRequestOptions,
157
161
  cb: (err: any, data?: GetJobRunCommandOutput) => void,
158
162
  ): void;
159
163
  getResourceDashboard(
160
164
  args: GetResourceDashboardCommandInput,
161
- options?: __HttpHandlerOptions,
165
+ options?: EMRServerlessRequestOptions,
162
166
  ): Promise<GetResourceDashboardCommandOutput>;
163
167
  getResourceDashboard(
164
168
  args: GetResourceDashboardCommandInput,
@@ -166,12 +170,12 @@ export interface EMRServerless {
166
170
  ): void;
167
171
  getResourceDashboard(
168
172
  args: GetResourceDashboardCommandInput,
169
- options: __HttpHandlerOptions,
173
+ options: EMRServerlessRequestOptions,
170
174
  cb: (err: any, data?: GetResourceDashboardCommandOutput) => void,
171
175
  ): void;
172
176
  getSession(
173
177
  args: GetSessionCommandInput,
174
- options?: __HttpHandlerOptions,
178
+ options?: EMRServerlessRequestOptions,
175
179
  ): Promise<GetSessionCommandOutput>;
176
180
  getSession(
177
181
  args: GetSessionCommandInput,
@@ -179,12 +183,12 @@ export interface EMRServerless {
179
183
  ): void;
180
184
  getSession(
181
185
  args: GetSessionCommandInput,
182
- options: __HttpHandlerOptions,
186
+ options: EMRServerlessRequestOptions,
183
187
  cb: (err: any, data?: GetSessionCommandOutput) => void,
184
188
  ): void;
185
189
  getSessionEndpoint(
186
190
  args: GetSessionEndpointCommandInput,
187
- options?: __HttpHandlerOptions,
191
+ options?: EMRServerlessRequestOptions,
188
192
  ): Promise<GetSessionEndpointCommandOutput>;
189
193
  getSessionEndpoint(
190
194
  args: GetSessionEndpointCommandInput,
@@ -192,13 +196,13 @@ export interface EMRServerless {
192
196
  ): void;
193
197
  getSessionEndpoint(
194
198
  args: GetSessionEndpointCommandInput,
195
- options: __HttpHandlerOptions,
199
+ options: EMRServerlessRequestOptions,
196
200
  cb: (err: any, data?: GetSessionEndpointCommandOutput) => void,
197
201
  ): void;
198
202
  listApplications(): Promise<ListApplicationsCommandOutput>;
199
203
  listApplications(
200
204
  args: ListApplicationsCommandInput,
201
- options?: __HttpHandlerOptions,
205
+ options?: EMRServerlessRequestOptions,
202
206
  ): Promise<ListApplicationsCommandOutput>;
203
207
  listApplications(
204
208
  args: ListApplicationsCommandInput,
@@ -206,12 +210,12 @@ export interface EMRServerless {
206
210
  ): void;
207
211
  listApplications(
208
212
  args: ListApplicationsCommandInput,
209
- options: __HttpHandlerOptions,
213
+ options: EMRServerlessRequestOptions,
210
214
  cb: (err: any, data?: ListApplicationsCommandOutput) => void,
211
215
  ): void;
212
216
  listJobRunAttempts(
213
217
  args: ListJobRunAttemptsCommandInput,
214
- options?: __HttpHandlerOptions,
218
+ options?: EMRServerlessRequestOptions,
215
219
  ): Promise<ListJobRunAttemptsCommandOutput>;
216
220
  listJobRunAttempts(
217
221
  args: ListJobRunAttemptsCommandInput,
@@ -219,12 +223,12 @@ export interface EMRServerless {
219
223
  ): void;
220
224
  listJobRunAttempts(
221
225
  args: ListJobRunAttemptsCommandInput,
222
- options: __HttpHandlerOptions,
226
+ options: EMRServerlessRequestOptions,
223
227
  cb: (err: any, data?: ListJobRunAttemptsCommandOutput) => void,
224
228
  ): void;
225
229
  listJobRuns(
226
230
  args: ListJobRunsCommandInput,
227
- options?: __HttpHandlerOptions,
231
+ options?: EMRServerlessRequestOptions,
228
232
  ): Promise<ListJobRunsCommandOutput>;
229
233
  listJobRuns(
230
234
  args: ListJobRunsCommandInput,
@@ -232,12 +236,12 @@ export interface EMRServerless {
232
236
  ): void;
233
237
  listJobRuns(
234
238
  args: ListJobRunsCommandInput,
235
- options: __HttpHandlerOptions,
239
+ options: EMRServerlessRequestOptions,
236
240
  cb: (err: any, data?: ListJobRunsCommandOutput) => void,
237
241
  ): void;
238
242
  listSessions(
239
243
  args: ListSessionsCommandInput,
240
- options?: __HttpHandlerOptions,
244
+ options?: EMRServerlessRequestOptions,
241
245
  ): Promise<ListSessionsCommandOutput>;
242
246
  listSessions(
243
247
  args: ListSessionsCommandInput,
@@ -245,12 +249,12 @@ export interface EMRServerless {
245
249
  ): void;
246
250
  listSessions(
247
251
  args: ListSessionsCommandInput,
248
- options: __HttpHandlerOptions,
252
+ options: EMRServerlessRequestOptions,
249
253
  cb: (err: any, data?: ListSessionsCommandOutput) => void,
250
254
  ): void;
251
255
  listTagsForResource(
252
256
  args: ListTagsForResourceCommandInput,
253
- options?: __HttpHandlerOptions,
257
+ options?: EMRServerlessRequestOptions,
254
258
  ): Promise<ListTagsForResourceCommandOutput>;
255
259
  listTagsForResource(
256
260
  args: ListTagsForResourceCommandInput,
@@ -258,12 +262,12 @@ export interface EMRServerless {
258
262
  ): void;
259
263
  listTagsForResource(
260
264
  args: ListTagsForResourceCommandInput,
261
- options: __HttpHandlerOptions,
265
+ options: EMRServerlessRequestOptions,
262
266
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
263
267
  ): void;
264
268
  startApplication(
265
269
  args: StartApplicationCommandInput,
266
- options?: __HttpHandlerOptions,
270
+ options?: EMRServerlessRequestOptions,
267
271
  ): Promise<StartApplicationCommandOutput>;
268
272
  startApplication(
269
273
  args: StartApplicationCommandInput,
@@ -271,12 +275,12 @@ export interface EMRServerless {
271
275
  ): void;
272
276
  startApplication(
273
277
  args: StartApplicationCommandInput,
274
- options: __HttpHandlerOptions,
278
+ options: EMRServerlessRequestOptions,
275
279
  cb: (err: any, data?: StartApplicationCommandOutput) => void,
276
280
  ): void;
277
281
  startJobRun(
278
282
  args: StartJobRunCommandInput,
279
- options?: __HttpHandlerOptions,
283
+ options?: EMRServerlessRequestOptions,
280
284
  ): Promise<StartJobRunCommandOutput>;
281
285
  startJobRun(
282
286
  args: StartJobRunCommandInput,
@@ -284,12 +288,12 @@ export interface EMRServerless {
284
288
  ): void;
285
289
  startJobRun(
286
290
  args: StartJobRunCommandInput,
287
- options: __HttpHandlerOptions,
291
+ options: EMRServerlessRequestOptions,
288
292
  cb: (err: any, data?: StartJobRunCommandOutput) => void,
289
293
  ): void;
290
294
  startSession(
291
295
  args: StartSessionCommandInput,
292
- options?: __HttpHandlerOptions,
296
+ options?: EMRServerlessRequestOptions,
293
297
  ): Promise<StartSessionCommandOutput>;
294
298
  startSession(
295
299
  args: StartSessionCommandInput,
@@ -297,12 +301,12 @@ export interface EMRServerless {
297
301
  ): void;
298
302
  startSession(
299
303
  args: StartSessionCommandInput,
300
- options: __HttpHandlerOptions,
304
+ options: EMRServerlessRequestOptions,
301
305
  cb: (err: any, data?: StartSessionCommandOutput) => void,
302
306
  ): void;
303
307
  stopApplication(
304
308
  args: StopApplicationCommandInput,
305
- options?: __HttpHandlerOptions,
309
+ options?: EMRServerlessRequestOptions,
306
310
  ): Promise<StopApplicationCommandOutput>;
307
311
  stopApplication(
308
312
  args: StopApplicationCommandInput,
@@ -310,12 +314,12 @@ export interface EMRServerless {
310
314
  ): void;
311
315
  stopApplication(
312
316
  args: StopApplicationCommandInput,
313
- options: __HttpHandlerOptions,
317
+ options: EMRServerlessRequestOptions,
314
318
  cb: (err: any, data?: StopApplicationCommandOutput) => void,
315
319
  ): void;
316
320
  tagResource(
317
321
  args: TagResourceCommandInput,
318
- options?: __HttpHandlerOptions,
322
+ options?: EMRServerlessRequestOptions,
319
323
  ): Promise<TagResourceCommandOutput>;
320
324
  tagResource(
321
325
  args: TagResourceCommandInput,
@@ -323,12 +327,12 @@ export interface EMRServerless {
323
327
  ): void;
324
328
  tagResource(
325
329
  args: TagResourceCommandInput,
326
- options: __HttpHandlerOptions,
330
+ options: EMRServerlessRequestOptions,
327
331
  cb: (err: any, data?: TagResourceCommandOutput) => void,
328
332
  ): void;
329
333
  terminateSession(
330
334
  args: TerminateSessionCommandInput,
331
- options?: __HttpHandlerOptions,
335
+ options?: EMRServerlessRequestOptions,
332
336
  ): Promise<TerminateSessionCommandOutput>;
333
337
  terminateSession(
334
338
  args: TerminateSessionCommandInput,
@@ -336,12 +340,12 @@ export interface EMRServerless {
336
340
  ): void;
337
341
  terminateSession(
338
342
  args: TerminateSessionCommandInput,
339
- options: __HttpHandlerOptions,
343
+ options: EMRServerlessRequestOptions,
340
344
  cb: (err: any, data?: TerminateSessionCommandOutput) => void,
341
345
  ): void;
342
346
  untagResource(
343
347
  args: UntagResourceCommandInput,
344
- options?: __HttpHandlerOptions,
348
+ options?: EMRServerlessRequestOptions,
345
349
  ): Promise<UntagResourceCommandOutput>;
346
350
  untagResource(
347
351
  args: UntagResourceCommandInput,
@@ -349,12 +353,12 @@ export interface EMRServerless {
349
353
  ): void;
350
354
  untagResource(
351
355
  args: UntagResourceCommandInput,
352
- options: __HttpHandlerOptions,
356
+ options: EMRServerlessRequestOptions,
353
357
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
354
358
  ): void;
355
359
  updateApplication(
356
360
  args: UpdateApplicationCommandInput,
357
- options?: __HttpHandlerOptions,
361
+ options?: EMRServerlessRequestOptions,
358
362
  ): Promise<UpdateApplicationCommandOutput>;
359
363
  updateApplication(
360
364
  args: UpdateApplicationCommandInput,
@@ -362,7 +366,7 @@ export interface EMRServerless {
362
366
  ): void;
363
367
  updateApplication(
364
368
  args: UpdateApplicationCommandInput,
365
- options: __HttpHandlerOptions,
369
+ options: EMRServerlessRequestOptions,
366
370
  cb: (err: any, data?: UpdateApplicationCommandOutput) => void,
367
371
  ): void;
368
372
  paginateListApplications(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-emr-serverless",
3
- "version": "3.1136.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Emr Serverless Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-emr-serverless",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {