@aws-sdk/client-emr-serverless 3.414.0 → 3.419.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.
Files changed (40) hide show
  1. package/dist-cjs/commands/CancelJobRunCommand.js +5 -0
  2. package/dist-cjs/commands/CreateApplicationCommand.js +7 -1
  3. package/dist-cjs/commands/DeleteApplicationCommand.js +5 -0
  4. package/dist-cjs/commands/GetApplicationCommand.js +7 -1
  5. package/dist-cjs/commands/GetDashboardForJobRunCommand.js +5 -0
  6. package/dist-cjs/commands/GetJobRunCommand.js +5 -0
  7. package/dist-cjs/commands/ListApplicationsCommand.js +5 -0
  8. package/dist-cjs/commands/ListJobRunsCommand.js +5 -0
  9. package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
  10. package/dist-cjs/commands/StartApplicationCommand.js +5 -0
  11. package/dist-cjs/commands/StartJobRunCommand.js +5 -0
  12. package/dist-cjs/commands/StopApplicationCommand.js +5 -0
  13. package/dist-cjs/commands/TagResourceCommand.js +5 -0
  14. package/dist-cjs/commands/UntagResourceCommand.js +5 -0
  15. package/dist-cjs/commands/UpdateApplicationCommand.js +8 -2
  16. package/dist-cjs/models/models_0.js +32 -1
  17. package/dist-cjs/protocols/Aws_restJson1.js +6 -0
  18. package/dist-es/commands/CancelJobRunCommand.js +5 -0
  19. package/dist-es/commands/CreateApplicationCommand.js +7 -1
  20. package/dist-es/commands/DeleteApplicationCommand.js +5 -0
  21. package/dist-es/commands/GetApplicationCommand.js +7 -1
  22. package/dist-es/commands/GetDashboardForJobRunCommand.js +5 -0
  23. package/dist-es/commands/GetJobRunCommand.js +5 -0
  24. package/dist-es/commands/ListApplicationsCommand.js +5 -0
  25. package/dist-es/commands/ListJobRunsCommand.js +5 -0
  26. package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
  27. package/dist-es/commands/StartApplicationCommand.js +5 -0
  28. package/dist-es/commands/StartJobRunCommand.js +5 -0
  29. package/dist-es/commands/StopApplicationCommand.js +5 -0
  30. package/dist-es/commands/TagResourceCommand.js +5 -0
  31. package/dist-es/commands/UntagResourceCommand.js +5 -0
  32. package/dist-es/commands/UpdateApplicationCommand.js +8 -2
  33. package/dist-es/models/models_0.js +26 -0
  34. package/dist-es/protocols/Aws_restJson1.js +6 -0
  35. package/dist-types/commands/CreateApplicationCommand.d.ts +38 -0
  36. package/dist-types/commands/GetApplicationCommand.d.ts +38 -0
  37. package/dist-types/commands/UpdateApplicationCommand.d.ts +76 -0
  38. package/dist-types/models/models_0.d.ts +619 -562
  39. package/dist-types/ts3.4/models/models_0.d.ts +93 -74
  40. package/package.json +31 -31
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_StopApplicationCommand, se_StopApplicationCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class StopApplicationCommand extends $Command {
@@ -29,6 +30,10 @@ export class StopApplicationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AwsToledoWebService",
35
+ operation: "StopApplication",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class TagResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class TagResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AwsToledoWebService",
35
+ operation: "TagResource",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class UntagResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class UntagResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AwsToledoWebService",
35
+ operation: "UntagResource",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,8 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { UpdateApplicationRequestFilterSensitiveLog, UpdateApplicationResponseFilterSensitiveLog, } from "../models/models_0";
4
6
  import { de_UpdateApplicationCommand, se_UpdateApplicationCommand } from "../protocols/Aws_restJson1";
5
7
  export { $Command };
6
8
  export class UpdateApplicationCommand extends $Command {
@@ -27,8 +29,12 @@ export class UpdateApplicationCommand extends $Command {
27
29
  logger,
28
30
  clientName,
29
31
  commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
+ inputFilterSensitiveLog: UpdateApplicationRequestFilterSensitiveLog,
33
+ outputFilterSensitiveLog: UpdateApplicationResponseFilterSensitiveLog,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "AwsToledoWebService",
36
+ operation: "UpdateApplication",
37
+ },
32
38
  };
33
39
  const { requestHandler } = configuration;
34
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -120,12 +120,34 @@ export const ConfigurationFilterSensitiveLog = (obj) => ({
120
120
  configurations: obj.configurations.map((item) => ConfigurationFilterSensitiveLog(item)),
121
121
  }),
122
122
  });
123
+ export const ApplicationFilterSensitiveLog = (obj) => ({
124
+ ...obj,
125
+ ...(obj.runtimeConfiguration && {
126
+ runtimeConfiguration: obj.runtimeConfiguration.map((item) => ConfigurationFilterSensitiveLog(item)),
127
+ }),
128
+ });
123
129
  export const ConfigurationOverridesFilterSensitiveLog = (obj) => ({
124
130
  ...obj,
125
131
  ...(obj.applicationConfiguration && {
126
132
  applicationConfiguration: obj.applicationConfiguration.map((item) => ConfigurationFilterSensitiveLog(item)),
127
133
  }),
128
134
  });
135
+ export const CreateApplicationRequestFilterSensitiveLog = (obj) => ({
136
+ ...obj,
137
+ ...(obj.runtimeConfiguration && {
138
+ runtimeConfiguration: obj.runtimeConfiguration.map((item) => ConfigurationFilterSensitiveLog(item)),
139
+ }),
140
+ });
141
+ export const UpdateApplicationRequestFilterSensitiveLog = (obj) => ({
142
+ ...obj,
143
+ ...(obj.runtimeConfiguration && {
144
+ runtimeConfiguration: obj.runtimeConfiguration.map((item) => ConfigurationFilterSensitiveLog(item)),
145
+ }),
146
+ });
147
+ export const GetApplicationResponseFilterSensitiveLog = (obj) => ({
148
+ ...obj,
149
+ ...(obj.application && { application: ApplicationFilterSensitiveLog(obj.application) }),
150
+ });
129
151
  export const JobRunFilterSensitiveLog = (obj) => ({
130
152
  ...obj,
131
153
  ...(obj.configurationOverrides && {
@@ -140,6 +162,10 @@ export const StartJobRunRequestFilterSensitiveLog = (obj) => ({
140
162
  configurationOverrides: ConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides),
141
163
  }),
142
164
  });
165
+ export const UpdateApplicationResponseFilterSensitiveLog = (obj) => ({
166
+ ...obj,
167
+ ...(obj.application && { application: ApplicationFilterSensitiveLog(obj.application) }),
168
+ });
143
169
  export const GetJobRunResponseFilterSensitiveLog = (obj) => ({
144
170
  ...obj,
145
171
  ...(obj.jobRun && { jobRun: JobRunFilterSensitiveLog(obj.jobRun) }),
@@ -36,9 +36,11 @@ export const se_CreateApplicationCommand = async (input, context) => {
36
36
  imageConfiguration: (_) => _json(_),
37
37
  initialCapacity: (_) => _json(_),
38
38
  maximumCapacity: (_) => _json(_),
39
+ monitoringConfiguration: (_) => _json(_),
39
40
  name: [],
40
41
  networkConfiguration: (_) => _json(_),
41
42
  releaseLabel: [],
43
+ runtimeConfiguration: (_) => se_ConfigurationList(_, context),
42
44
  tags: (_) => _json(_),
43
45
  type: [],
44
46
  workerTypeSpecifications: (_) => _json(_),
@@ -307,8 +309,10 @@ export const se_UpdateApplicationCommand = async (input, context) => {
307
309
  imageConfiguration: (_) => _json(_),
308
310
  initialCapacity: (_) => _json(_),
309
311
  maximumCapacity: (_) => _json(_),
312
+ monitoringConfiguration: (_) => _json(_),
310
313
  networkConfiguration: (_) => _json(_),
311
314
  releaseLabel: [],
315
+ runtimeConfiguration: (_) => se_ConfigurationList(_, context),
312
316
  workerTypeSpecifications: (_) => _json(_),
313
317
  }));
314
318
  return new __HttpRequest({
@@ -993,9 +997,11 @@ const de_Application = (output, context) => {
993
997
  imageConfiguration: _json,
994
998
  initialCapacity: _json,
995
999
  maximumCapacity: _json,
1000
+ monitoringConfiguration: _json,
996
1001
  name: __expectString,
997
1002
  networkConfiguration: _json,
998
1003
  releaseLabel: __expectString,
1004
+ runtimeConfiguration: (_) => de_ConfigurationList(_, context),
999
1005
  state: __expectString,
1000
1006
  stateDetails: __expectString,
1001
1007
  tags: _json,
@@ -79,6 +79,44 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons
79
79
  * },
80
80
  * },
81
81
  * },
82
+ * runtimeConfiguration: [ // ConfigurationList
83
+ * { // Configuration
84
+ * classification: "STRING_VALUE", // required
85
+ * properties: { // SensitivePropertiesMap
86
+ * "<keys>": "STRING_VALUE",
87
+ * },
88
+ * configurations: [
89
+ * {
90
+ * classification: "STRING_VALUE", // required
91
+ * properties: {
92
+ * "<keys>": "STRING_VALUE",
93
+ * },
94
+ * configurations: "<ConfigurationList>",
95
+ * },
96
+ * ],
97
+ * },
98
+ * ],
99
+ * monitoringConfiguration: { // MonitoringConfiguration
100
+ * s3MonitoringConfiguration: { // S3MonitoringConfiguration
101
+ * logUri: "STRING_VALUE",
102
+ * encryptionKeyArn: "STRING_VALUE",
103
+ * },
104
+ * managedPersistenceMonitoringConfiguration: { // ManagedPersistenceMonitoringConfiguration
105
+ * enabled: true || false,
106
+ * encryptionKeyArn: "STRING_VALUE",
107
+ * },
108
+ * cloudWatchLoggingConfiguration: { // CloudWatchLoggingConfiguration
109
+ * enabled: true || false, // required
110
+ * logGroupName: "STRING_VALUE",
111
+ * logStreamNamePrefix: "STRING_VALUE",
112
+ * encryptionKeyArn: "STRING_VALUE",
113
+ * logTypes: { // LogTypeMap
114
+ * "<keys>": [ // LogTypeList
115
+ * "STRING_VALUE",
116
+ * ],
117
+ * },
118
+ * },
119
+ * },
82
120
  * };
83
121
  * const command = new CreateApplicationCommand(input);
84
122
  * const response = await client.send(command);
@@ -92,6 +92,44 @@ export interface GetApplicationCommandOutput extends GetApplicationResponse, __M
92
92
  * // },
93
93
  * // },
94
94
  * // },
95
+ * // runtimeConfiguration: [ // ConfigurationList
96
+ * // { // Configuration
97
+ * // classification: "STRING_VALUE", // required
98
+ * // properties: { // SensitivePropertiesMap
99
+ * // "<keys>": "STRING_VALUE",
100
+ * // },
101
+ * // configurations: [
102
+ * // {
103
+ * // classification: "STRING_VALUE", // required
104
+ * // properties: {
105
+ * // "<keys>": "STRING_VALUE",
106
+ * // },
107
+ * // configurations: "<ConfigurationList>",
108
+ * // },
109
+ * // ],
110
+ * // },
111
+ * // ],
112
+ * // monitoringConfiguration: { // MonitoringConfiguration
113
+ * // s3MonitoringConfiguration: { // S3MonitoringConfiguration
114
+ * // logUri: "STRING_VALUE",
115
+ * // encryptionKeyArn: "STRING_VALUE",
116
+ * // },
117
+ * // managedPersistenceMonitoringConfiguration: { // ManagedPersistenceMonitoringConfiguration
118
+ * // enabled: true || false,
119
+ * // encryptionKeyArn: "STRING_VALUE",
120
+ * // },
121
+ * // cloudWatchLoggingConfiguration: { // CloudWatchLoggingConfiguration
122
+ * // enabled: true || false, // required
123
+ * // logGroupName: "STRING_VALUE",
124
+ * // logStreamNamePrefix: "STRING_VALUE",
125
+ * // encryptionKeyArn: "STRING_VALUE",
126
+ * // logTypes: { // LogTypeMap
127
+ * // "<keys>": [ // LogTypeList
128
+ * // "STRING_VALUE",
129
+ * // ],
130
+ * // },
131
+ * // },
132
+ * // },
95
133
  * // },
96
134
  * // };
97
135
  *
@@ -76,6 +76,44 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons
76
76
  * },
77
77
  * },
78
78
  * releaseLabel: "STRING_VALUE",
79
+ * runtimeConfiguration: [ // ConfigurationList
80
+ * { // Configuration
81
+ * classification: "STRING_VALUE", // required
82
+ * properties: { // SensitivePropertiesMap
83
+ * "<keys>": "STRING_VALUE",
84
+ * },
85
+ * configurations: [
86
+ * {
87
+ * classification: "STRING_VALUE", // required
88
+ * properties: {
89
+ * "<keys>": "STRING_VALUE",
90
+ * },
91
+ * configurations: "<ConfigurationList>",
92
+ * },
93
+ * ],
94
+ * },
95
+ * ],
96
+ * monitoringConfiguration: { // MonitoringConfiguration
97
+ * s3MonitoringConfiguration: { // S3MonitoringConfiguration
98
+ * logUri: "STRING_VALUE",
99
+ * encryptionKeyArn: "STRING_VALUE",
100
+ * },
101
+ * managedPersistenceMonitoringConfiguration: { // ManagedPersistenceMonitoringConfiguration
102
+ * enabled: true || false,
103
+ * encryptionKeyArn: "STRING_VALUE",
104
+ * },
105
+ * cloudWatchLoggingConfiguration: { // CloudWatchLoggingConfiguration
106
+ * enabled: true || false, // required
107
+ * logGroupName: "STRING_VALUE",
108
+ * logStreamNamePrefix: "STRING_VALUE",
109
+ * encryptionKeyArn: "STRING_VALUE",
110
+ * logTypes: { // LogTypeMap
111
+ * "<keys>": [ // LogTypeList
112
+ * "STRING_VALUE",
113
+ * ],
114
+ * },
115
+ * },
116
+ * },
79
117
  * };
80
118
  * const command = new UpdateApplicationCommand(input);
81
119
  * const response = await client.send(command);
@@ -136,6 +174,44 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons
136
174
  * // },
137
175
  * // },
138
176
  * // },
177
+ * // runtimeConfiguration: [ // ConfigurationList
178
+ * // { // Configuration
179
+ * // classification: "STRING_VALUE", // required
180
+ * // properties: { // SensitivePropertiesMap
181
+ * // "<keys>": "STRING_VALUE",
182
+ * // },
183
+ * // configurations: [
184
+ * // {
185
+ * // classification: "STRING_VALUE", // required
186
+ * // properties: {
187
+ * // "<keys>": "STRING_VALUE",
188
+ * // },
189
+ * // configurations: "<ConfigurationList>",
190
+ * // },
191
+ * // ],
192
+ * // },
193
+ * // ],
194
+ * // monitoringConfiguration: { // MonitoringConfiguration
195
+ * // s3MonitoringConfiguration: { // S3MonitoringConfiguration
196
+ * // logUri: "STRING_VALUE",
197
+ * // encryptionKeyArn: "STRING_VALUE",
198
+ * // },
199
+ * // managedPersistenceMonitoringConfiguration: { // ManagedPersistenceMonitoringConfiguration
200
+ * // enabled: true || false,
201
+ * // encryptionKeyArn: "STRING_VALUE",
202
+ * // },
203
+ * // cloudWatchLoggingConfiguration: { // CloudWatchLoggingConfiguration
204
+ * // enabled: true || false, // required
205
+ * // logGroupName: "STRING_VALUE",
206
+ * // logStreamNamePrefix: "STRING_VALUE",
207
+ * // encryptionKeyArn: "STRING_VALUE",
208
+ * // logTypes: { // LogTypeMap
209
+ * // "<keys>": [ // LogTypeList
210
+ * // "STRING_VALUE",
211
+ * // ],
212
+ * // },
213
+ * // },
214
+ * // },
139
215
  * // },
140
216
  * // };
141
217
  *