@aws-sdk/client-emr-containers 3.245.0 → 3.252.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.
@@ -242,14 +242,8 @@ const serializeAws_restJson1ListJobRunsCommand = async (input, context) => {
242
242
  "/virtualclusters/{virtualClusterId}/jobruns";
243
243
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
244
244
  const query = map({
245
- createdBefore: [
246
- () => input.createdBefore !== void 0,
247
- () => (input.createdBefore.toISOString().split(".")[0] + "Z").toString(),
248
- ],
249
- createdAfter: [
250
- () => input.createdAfter !== void 0,
251
- () => (input.createdAfter.toISOString().split(".")[0] + "Z").toString(),
252
- ],
245
+ createdBefore: [() => input.createdBefore !== void 0, () => input.createdBefore.toISOString().split(".")[0] + "Z"],
246
+ createdAfter: [() => input.createdAfter !== void 0, () => input.createdAfter.toISOString().split(".")[0] + "Z"],
253
247
  name: [, input.name],
254
248
  states: [() => input.states !== void 0, () => (input.states || []).map((_entry) => _entry)],
255
249
  maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
@@ -273,14 +267,8 @@ const serializeAws_restJson1ListJobTemplatesCommand = async (input, context) =>
273
267
  const headers = {};
274
268
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/jobtemplates";
275
269
  const query = map({
276
- createdAfter: [
277
- () => input.createdAfter !== void 0,
278
- () => (input.createdAfter.toISOString().split(".")[0] + "Z").toString(),
279
- ],
280
- createdBefore: [
281
- () => input.createdBefore !== void 0,
282
- () => (input.createdBefore.toISOString().split(".")[0] + "Z").toString(),
283
- ],
270
+ createdAfter: [() => input.createdAfter !== void 0, () => input.createdAfter.toISOString().split(".")[0] + "Z"],
271
+ createdBefore: [() => input.createdBefore !== void 0, () => input.createdBefore.toISOString().split(".")[0] + "Z"],
284
272
  maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
285
273
  nextToken: [, input.nextToken],
286
274
  });
@@ -304,14 +292,8 @@ const serializeAws_restJson1ListManagedEndpointsCommand = async (input, context)
304
292
  "/virtualclusters/{virtualClusterId}/endpoints";
305
293
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
306
294
  const query = map({
307
- createdBefore: [
308
- () => input.createdBefore !== void 0,
309
- () => (input.createdBefore.toISOString().split(".")[0] + "Z").toString(),
310
- ],
311
- createdAfter: [
312
- () => input.createdAfter !== void 0,
313
- () => (input.createdAfter.toISOString().split(".")[0] + "Z").toString(),
314
- ],
295
+ createdBefore: [() => input.createdBefore !== void 0, () => input.createdBefore.toISOString().split(".")[0] + "Z"],
296
+ createdAfter: [() => input.createdAfter !== void 0, () => input.createdAfter.toISOString().split(".")[0] + "Z"],
315
297
  types: [() => input.types !== void 0, () => (input.types || []).map((_entry) => _entry)],
316
298
  states: [() => input.states !== void 0, () => (input.states || []).map((_entry) => _entry)],
317
299
  maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
@@ -354,14 +336,8 @@ const serializeAws_restJson1ListVirtualClustersCommand = async (input, context)
354
336
  const query = map({
355
337
  containerProviderId: [, input.containerProviderId],
356
338
  containerProviderType: [, input.containerProviderType],
357
- createdAfter: [
358
- () => input.createdAfter !== void 0,
359
- () => (input.createdAfter.toISOString().split(".")[0] + "Z").toString(),
360
- ],
361
- createdBefore: [
362
- () => input.createdBefore !== void 0,
363
- () => (input.createdBefore.toISOString().split(".")[0] + "Z").toString(),
364
- ],
339
+ createdAfter: [() => input.createdAfter !== void 0, () => input.createdAfter.toISOString().split(".")[0] + "Z"],
340
+ createdBefore: [() => input.createdBefore !== void 0, () => input.createdBefore.toISOString().split(".")[0] + "Z"],
365
341
  states: [() => input.states !== void 0, () => (input.states || []).map((_entry) => _entry)],
366
342
  maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
367
343
  nextToken: [, input.nextToken],
@@ -228,14 +228,8 @@ export const serializeAws_restJson1ListJobRunsCommand = async (input, context) =
228
228
  "/virtualclusters/{virtualClusterId}/jobruns";
229
229
  resolvedPath = __resolvedPath(resolvedPath, input, "virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
230
230
  const query = map({
231
- createdBefore: [
232
- () => input.createdBefore !== void 0,
233
- () => (input.createdBefore.toISOString().split(".")[0] + "Z").toString(),
234
- ],
235
- createdAfter: [
236
- () => input.createdAfter !== void 0,
237
- () => (input.createdAfter.toISOString().split(".")[0] + "Z").toString(),
238
- ],
231
+ createdBefore: [() => input.createdBefore !== void 0, () => input.createdBefore.toISOString().split(".")[0] + "Z"],
232
+ createdAfter: [() => input.createdAfter !== void 0, () => input.createdAfter.toISOString().split(".")[0] + "Z"],
239
233
  name: [, input.name],
240
234
  states: [() => input.states !== void 0, () => (input.states || []).map((_entry) => _entry)],
241
235
  maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
@@ -258,14 +252,8 @@ export const serializeAws_restJson1ListJobTemplatesCommand = async (input, conte
258
252
  const headers = {};
259
253
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/jobtemplates";
260
254
  const query = map({
261
- createdAfter: [
262
- () => input.createdAfter !== void 0,
263
- () => (input.createdAfter.toISOString().split(".")[0] + "Z").toString(),
264
- ],
265
- createdBefore: [
266
- () => input.createdBefore !== void 0,
267
- () => (input.createdBefore.toISOString().split(".")[0] + "Z").toString(),
268
- ],
255
+ createdAfter: [() => input.createdAfter !== void 0, () => input.createdAfter.toISOString().split(".")[0] + "Z"],
256
+ createdBefore: [() => input.createdBefore !== void 0, () => input.createdBefore.toISOString().split(".")[0] + "Z"],
269
257
  maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
270
258
  nextToken: [, input.nextToken],
271
259
  });
@@ -288,14 +276,8 @@ export const serializeAws_restJson1ListManagedEndpointsCommand = async (input, c
288
276
  "/virtualclusters/{virtualClusterId}/endpoints";
289
277
  resolvedPath = __resolvedPath(resolvedPath, input, "virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
290
278
  const query = map({
291
- createdBefore: [
292
- () => input.createdBefore !== void 0,
293
- () => (input.createdBefore.toISOString().split(".")[0] + "Z").toString(),
294
- ],
295
- createdAfter: [
296
- () => input.createdAfter !== void 0,
297
- () => (input.createdAfter.toISOString().split(".")[0] + "Z").toString(),
298
- ],
279
+ createdBefore: [() => input.createdBefore !== void 0, () => input.createdBefore.toISOString().split(".")[0] + "Z"],
280
+ createdAfter: [() => input.createdAfter !== void 0, () => input.createdAfter.toISOString().split(".")[0] + "Z"],
299
281
  types: [() => input.types !== void 0, () => (input.types || []).map((_entry) => _entry)],
300
282
  states: [() => input.states !== void 0, () => (input.states || []).map((_entry) => _entry)],
301
283
  maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
@@ -336,14 +318,8 @@ export const serializeAws_restJson1ListVirtualClustersCommand = async (input, co
336
318
  const query = map({
337
319
  containerProviderId: [, input.containerProviderId],
338
320
  containerProviderType: [, input.containerProviderType],
339
- createdAfter: [
340
- () => input.createdAfter !== void 0,
341
- () => (input.createdAfter.toISOString().split(".")[0] + "Z").toString(),
342
- ],
343
- createdBefore: [
344
- () => input.createdBefore !== void 0,
345
- () => (input.createdBefore.toISOString().split(".")[0] + "Z").toString(),
346
- ],
321
+ createdAfter: [() => input.createdAfter !== void 0, () => input.createdAfter.toISOString().split(".")[0] + "Z"],
322
+ createdBefore: [() => input.createdBefore !== void 0, () => input.createdBefore.toISOString().split(".")[0] + "Z"],
347
323
  states: [() => input.states !== void 0, () => (input.states || []).map((_entry) => _entry)],
348
324
  maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
349
325
  nextToken: [, input.nextToken],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-emr-containers",
3
3
  "description": "AWS SDK for JavaScript Emr Containers Client for Node.js, Browser and React Native",
4
- "version": "3.245.0",
4
+ "version": "3.252.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -11,7 +11,7 @@
11
11
  "build:types": "tsc -p tsconfig.types.json",
12
12
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
13
13
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
14
- "generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/emr-containers.json --keepFiles)"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo emr-containers"
15
15
  },
16
16
  "main": "./dist-cjs/index.js",
17
17
  "types": "./dist-types/index.d.ts",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "2.0.0",
22
22
  "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.245.0",
23
+ "@aws-sdk/client-sts": "3.252.0",
24
24
  "@aws-sdk/config-resolver": "3.234.0",
25
- "@aws-sdk/credential-provider-node": "3.245.0",
25
+ "@aws-sdk/credential-provider-node": "3.252.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.226.0",
27
27
  "@aws-sdk/hash-node": "3.226.0",
28
28
  "@aws-sdk/invalid-dependency": "3.226.0",