@aws-sdk/client-lex-models-v2 3.211.0 → 3.213.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.
@@ -6464,10 +6464,8 @@ const serializeAws_restJson1BotAliasLocaleSettingsMap = (input, context) => {
6464
6464
  if (value === null) {
6465
6465
  return acc;
6466
6466
  }
6467
- return {
6468
- ...acc,
6469
- [key]: serializeAws_restJson1BotAliasLocaleSettings(value, context),
6470
- };
6467
+ acc[key] = serializeAws_restJson1BotAliasLocaleSettings(value, context);
6468
+ return acc;
6471
6469
  }, {});
6472
6470
  };
6473
6471
  const serializeAws_restJson1BotExportSpecification = (input, context) => {
@@ -6558,10 +6556,8 @@ const serializeAws_restJson1BotVersionLocaleSpecification = (input, context) =>
6558
6556
  if (value === null) {
6559
6557
  return acc;
6560
6558
  }
6561
- return {
6562
- ...acc,
6563
- [key]: serializeAws_restJson1BotVersionLocaleDetails(value, context),
6564
- };
6559
+ acc[key] = serializeAws_restJson1BotVersionLocaleDetails(value, context);
6560
+ return acc;
6565
6561
  }, {});
6566
6562
  };
6567
6563
  const serializeAws_restJson1BotVersionSortBy = (input, context) => {
@@ -6649,10 +6645,8 @@ const serializeAws_restJson1ConditionKeyValueMap = (input, context) => {
6649
6645
  if (value === null) {
6650
6646
  return acc;
6651
6647
  }
6652
- return {
6653
- ...acc,
6654
- [key]: value,
6655
- };
6648
+ acc[key] = value;
6649
+ return acc;
6656
6650
  }, {});
6657
6651
  };
6658
6652
  const serializeAws_restJson1ConditionMap = (input, context) => {
@@ -6660,10 +6654,8 @@ const serializeAws_restJson1ConditionMap = (input, context) => {
6660
6654
  if (value === null) {
6661
6655
  return acc;
6662
6656
  }
6663
- return {
6664
- ...acc,
6665
- [key]: serializeAws_restJson1ConditionKeyValueMap(value, context),
6666
- };
6657
+ acc[key] = serializeAws_restJson1ConditionKeyValueMap(value, context);
6658
+ return acc;
6667
6659
  }, {});
6668
6660
  };
6669
6661
  const serializeAws_restJson1ConversationLogSettings = (input, context) => {
@@ -7249,10 +7241,8 @@ const serializeAws_restJson1PromptAttemptsSpecificationMap = (input, context) =>
7249
7241
  if (value === null) {
7250
7242
  return acc;
7251
7243
  }
7252
- return {
7253
- ...acc,
7254
- [key]: serializeAws_restJson1PromptAttemptSpecification(value, context),
7255
- };
7244
+ acc[key] = serializeAws_restJson1PromptAttemptSpecification(value, context);
7245
+ return acc;
7256
7246
  }, {});
7257
7247
  };
7258
7248
  const serializeAws_restJson1PromptSpecification = (input, context) => {
@@ -7472,10 +7462,8 @@ const serializeAws_restJson1SlotValueOverrideMap = (input, context) => {
7472
7462
  if (value === null) {
7473
7463
  return acc;
7474
7464
  }
7475
- return {
7476
- ...acc,
7477
- [key]: serializeAws_restJson1SlotValueOverride(value, context),
7478
- };
7465
+ acc[key] = serializeAws_restJson1SlotValueOverride(value, context);
7466
+ return acc;
7479
7467
  }, {});
7480
7468
  };
7481
7469
  const serializeAws_restJson1SlotValueRegexFilter = (input, context) => {
@@ -7529,10 +7517,8 @@ const serializeAws_restJson1StringMap = (input, context) => {
7529
7517
  if (value === null) {
7530
7518
  return acc;
7531
7519
  }
7532
- return {
7533
- ...acc,
7534
- [key]: value,
7535
- };
7520
+ acc[key] = value;
7521
+ return acc;
7536
7522
  }, {});
7537
7523
  };
7538
7524
  const serializeAws_restJson1SubSlotSetting = (input, context) => {
@@ -7548,10 +7534,8 @@ const serializeAws_restJson1SubSlotSpecificationMap = (input, context) => {
7548
7534
  if (value === null) {
7549
7535
  return acc;
7550
7536
  }
7551
- return {
7552
- ...acc,
7553
- [key]: serializeAws_restJson1Specifications(value, context),
7554
- };
7537
+ acc[key] = serializeAws_restJson1Specifications(value, context);
7538
+ return acc;
7555
7539
  }, {});
7556
7540
  };
7557
7541
  const serializeAws_restJson1SubSlotTypeComposition = (input, context) => {
@@ -7595,10 +7579,8 @@ const serializeAws_restJson1TagMap = (input, context) => {
7595
7579
  if (value === null) {
7596
7580
  return acc;
7597
7581
  }
7598
- return {
7599
- ...acc,
7600
- [key]: value,
7601
- };
7582
+ acc[key] = value;
7583
+ return acc;
7602
7584
  }, {});
7603
7585
  };
7604
7586
  const serializeAws_restJson1TextInputSpecification = (input, context) => {
@@ -7798,10 +7780,8 @@ const deserializeAws_restJson1BotAliasLocaleSettingsMap = (output, context) => {
7798
7780
  if (value === null) {
7799
7781
  return acc;
7800
7782
  }
7801
- return {
7802
- ...acc,
7803
- [key]: deserializeAws_restJson1BotAliasLocaleSettings(value, context),
7804
- };
7783
+ acc[key] = deserializeAws_restJson1BotAliasLocaleSettings(value, context);
7784
+ return acc;
7805
7785
  }, {});
7806
7786
  };
7807
7787
  const deserializeAws_restJson1BotAliasSummary = (output, context) => {
@@ -7975,10 +7955,8 @@ const deserializeAws_restJson1BotVersionLocaleSpecification = (output, context)
7975
7955
  if (value === null) {
7976
7956
  return acc;
7977
7957
  }
7978
- return {
7979
- ...acc,
7980
- [key]: deserializeAws_restJson1BotVersionLocaleDetails(value, context),
7981
- };
7958
+ acc[key] = deserializeAws_restJson1BotVersionLocaleDetails(value, context);
7959
+ return acc;
7982
7960
  }, {});
7983
7961
  };
7984
7962
  const deserializeAws_restJson1BotVersionSummary = (output, context) => {
@@ -8706,10 +8684,8 @@ const deserializeAws_restJson1PromptAttemptsSpecificationMap = (output, context)
8706
8684
  if (value === null) {
8707
8685
  return acc;
8708
8686
  }
8709
- return {
8710
- ...acc,
8711
- [key]: deserializeAws_restJson1PromptAttemptSpecification(value, context),
8712
- };
8687
+ acc[key] = deserializeAws_restJson1PromptAttemptSpecification(value, context);
8688
+ return acc;
8713
8689
  }, {});
8714
8690
  };
8715
8691
  const deserializeAws_restJson1PromptSpecification = (output, context) => {
@@ -8984,10 +8960,8 @@ const deserializeAws_restJson1SlotValueOverrideMap = (output, context) => {
8984
8960
  if (value === null) {
8985
8961
  return acc;
8986
8962
  }
8987
- return {
8988
- ...acc,
8989
- [key]: deserializeAws_restJson1SlotValueOverride(value, context),
8990
- };
8963
+ acc[key] = deserializeAws_restJson1SlotValueOverride(value, context);
8964
+ return acc;
8991
8965
  }, {});
8992
8966
  };
8993
8967
  const deserializeAws_restJson1SlotValueRegexFilter = (output, context) => {
@@ -9045,10 +9019,8 @@ const deserializeAws_restJson1StringMap = (output, context) => {
9045
9019
  if (value === null) {
9046
9020
  return acc;
9047
9021
  }
9048
- return {
9049
- ...acc,
9050
- [key]: (0, smithy_client_1.expectString)(value),
9051
- };
9022
+ acc[key] = (0, smithy_client_1.expectString)(value);
9023
+ return acc;
9052
9024
  }, {});
9053
9025
  };
9054
9026
  const deserializeAws_restJson1SubSlotSetting = (output, context) => {
@@ -9064,10 +9036,8 @@ const deserializeAws_restJson1SubSlotSpecificationMap = (output, context) => {
9064
9036
  if (value === null) {
9065
9037
  return acc;
9066
9038
  }
9067
- return {
9068
- ...acc,
9069
- [key]: deserializeAws_restJson1Specifications(value, context),
9070
- };
9039
+ acc[key] = deserializeAws_restJson1Specifications(value, context);
9040
+ return acc;
9071
9041
  }, {});
9072
9042
  };
9073
9043
  const deserializeAws_restJson1SubSlotTypeComposition = (output, context) => {
@@ -9119,10 +9089,8 @@ const deserializeAws_restJson1TagMap = (output, context) => {
9119
9089
  if (value === null) {
9120
9090
  return acc;
9121
9091
  }
9122
- return {
9123
- ...acc,
9124
- [key]: (0, smithy_client_1.expectString)(value),
9125
- };
9092
+ acc[key] = (0, smithy_client_1.expectString)(value);
9093
+ return acc;
9126
9094
  }, {});
9127
9095
  };
9128
9096
  const deserializeAws_restJson1TextInputSpecification = (output, context) => {
@@ -6317,10 +6317,8 @@ const serializeAws_restJson1BotAliasLocaleSettingsMap = (input, context) => {
6317
6317
  if (value === null) {
6318
6318
  return acc;
6319
6319
  }
6320
- return {
6321
- ...acc,
6322
- [key]: serializeAws_restJson1BotAliasLocaleSettings(value, context),
6323
- };
6320
+ acc[key] = serializeAws_restJson1BotAliasLocaleSettings(value, context);
6321
+ return acc;
6324
6322
  }, {});
6325
6323
  };
6326
6324
  const serializeAws_restJson1BotExportSpecification = (input, context) => {
@@ -6411,10 +6409,8 @@ const serializeAws_restJson1BotVersionLocaleSpecification = (input, context) =>
6411
6409
  if (value === null) {
6412
6410
  return acc;
6413
6411
  }
6414
- return {
6415
- ...acc,
6416
- [key]: serializeAws_restJson1BotVersionLocaleDetails(value, context),
6417
- };
6412
+ acc[key] = serializeAws_restJson1BotVersionLocaleDetails(value, context);
6413
+ return acc;
6418
6414
  }, {});
6419
6415
  };
6420
6416
  const serializeAws_restJson1BotVersionSortBy = (input, context) => {
@@ -6502,10 +6498,8 @@ const serializeAws_restJson1ConditionKeyValueMap = (input, context) => {
6502
6498
  if (value === null) {
6503
6499
  return acc;
6504
6500
  }
6505
- return {
6506
- ...acc,
6507
- [key]: value,
6508
- };
6501
+ acc[key] = value;
6502
+ return acc;
6509
6503
  }, {});
6510
6504
  };
6511
6505
  const serializeAws_restJson1ConditionMap = (input, context) => {
@@ -6513,10 +6507,8 @@ const serializeAws_restJson1ConditionMap = (input, context) => {
6513
6507
  if (value === null) {
6514
6508
  return acc;
6515
6509
  }
6516
- return {
6517
- ...acc,
6518
- [key]: serializeAws_restJson1ConditionKeyValueMap(value, context),
6519
- };
6510
+ acc[key] = serializeAws_restJson1ConditionKeyValueMap(value, context);
6511
+ return acc;
6520
6512
  }, {});
6521
6513
  };
6522
6514
  const serializeAws_restJson1ConversationLogSettings = (input, context) => {
@@ -7102,10 +7094,8 @@ const serializeAws_restJson1PromptAttemptsSpecificationMap = (input, context) =>
7102
7094
  if (value === null) {
7103
7095
  return acc;
7104
7096
  }
7105
- return {
7106
- ...acc,
7107
- [key]: serializeAws_restJson1PromptAttemptSpecification(value, context),
7108
- };
7097
+ acc[key] = serializeAws_restJson1PromptAttemptSpecification(value, context);
7098
+ return acc;
7109
7099
  }, {});
7110
7100
  };
7111
7101
  const serializeAws_restJson1PromptSpecification = (input, context) => {
@@ -7325,10 +7315,8 @@ const serializeAws_restJson1SlotValueOverrideMap = (input, context) => {
7325
7315
  if (value === null) {
7326
7316
  return acc;
7327
7317
  }
7328
- return {
7329
- ...acc,
7330
- [key]: serializeAws_restJson1SlotValueOverride(value, context),
7331
- };
7318
+ acc[key] = serializeAws_restJson1SlotValueOverride(value, context);
7319
+ return acc;
7332
7320
  }, {});
7333
7321
  };
7334
7322
  const serializeAws_restJson1SlotValueRegexFilter = (input, context) => {
@@ -7382,10 +7370,8 @@ const serializeAws_restJson1StringMap = (input, context) => {
7382
7370
  if (value === null) {
7383
7371
  return acc;
7384
7372
  }
7385
- return {
7386
- ...acc,
7387
- [key]: value,
7388
- };
7373
+ acc[key] = value;
7374
+ return acc;
7389
7375
  }, {});
7390
7376
  };
7391
7377
  const serializeAws_restJson1SubSlotSetting = (input, context) => {
@@ -7401,10 +7387,8 @@ const serializeAws_restJson1SubSlotSpecificationMap = (input, context) => {
7401
7387
  if (value === null) {
7402
7388
  return acc;
7403
7389
  }
7404
- return {
7405
- ...acc,
7406
- [key]: serializeAws_restJson1Specifications(value, context),
7407
- };
7390
+ acc[key] = serializeAws_restJson1Specifications(value, context);
7391
+ return acc;
7408
7392
  }, {});
7409
7393
  };
7410
7394
  const serializeAws_restJson1SubSlotTypeComposition = (input, context) => {
@@ -7448,10 +7432,8 @@ const serializeAws_restJson1TagMap = (input, context) => {
7448
7432
  if (value === null) {
7449
7433
  return acc;
7450
7434
  }
7451
- return {
7452
- ...acc,
7453
- [key]: value,
7454
- };
7435
+ acc[key] = value;
7436
+ return acc;
7455
7437
  }, {});
7456
7438
  };
7457
7439
  const serializeAws_restJson1TextInputSpecification = (input, context) => {
@@ -7651,10 +7633,8 @@ const deserializeAws_restJson1BotAliasLocaleSettingsMap = (output, context) => {
7651
7633
  if (value === null) {
7652
7634
  return acc;
7653
7635
  }
7654
- return {
7655
- ...acc,
7656
- [key]: deserializeAws_restJson1BotAliasLocaleSettings(value, context),
7657
- };
7636
+ acc[key] = deserializeAws_restJson1BotAliasLocaleSettings(value, context);
7637
+ return acc;
7658
7638
  }, {});
7659
7639
  };
7660
7640
  const deserializeAws_restJson1BotAliasSummary = (output, context) => {
@@ -7828,10 +7808,8 @@ const deserializeAws_restJson1BotVersionLocaleSpecification = (output, context)
7828
7808
  if (value === null) {
7829
7809
  return acc;
7830
7810
  }
7831
- return {
7832
- ...acc,
7833
- [key]: deserializeAws_restJson1BotVersionLocaleDetails(value, context),
7834
- };
7811
+ acc[key] = deserializeAws_restJson1BotVersionLocaleDetails(value, context);
7812
+ return acc;
7835
7813
  }, {});
7836
7814
  };
7837
7815
  const deserializeAws_restJson1BotVersionSummary = (output, context) => {
@@ -8559,10 +8537,8 @@ const deserializeAws_restJson1PromptAttemptsSpecificationMap = (output, context)
8559
8537
  if (value === null) {
8560
8538
  return acc;
8561
8539
  }
8562
- return {
8563
- ...acc,
8564
- [key]: deserializeAws_restJson1PromptAttemptSpecification(value, context),
8565
- };
8540
+ acc[key] = deserializeAws_restJson1PromptAttemptSpecification(value, context);
8541
+ return acc;
8566
8542
  }, {});
8567
8543
  };
8568
8544
  const deserializeAws_restJson1PromptSpecification = (output, context) => {
@@ -8837,10 +8813,8 @@ const deserializeAws_restJson1SlotValueOverrideMap = (output, context) => {
8837
8813
  if (value === null) {
8838
8814
  return acc;
8839
8815
  }
8840
- return {
8841
- ...acc,
8842
- [key]: deserializeAws_restJson1SlotValueOverride(value, context),
8843
- };
8816
+ acc[key] = deserializeAws_restJson1SlotValueOverride(value, context);
8817
+ return acc;
8844
8818
  }, {});
8845
8819
  };
8846
8820
  const deserializeAws_restJson1SlotValueRegexFilter = (output, context) => {
@@ -8898,10 +8872,8 @@ const deserializeAws_restJson1StringMap = (output, context) => {
8898
8872
  if (value === null) {
8899
8873
  return acc;
8900
8874
  }
8901
- return {
8902
- ...acc,
8903
- [key]: __expectString(value),
8904
- };
8875
+ acc[key] = __expectString(value);
8876
+ return acc;
8905
8877
  }, {});
8906
8878
  };
8907
8879
  const deserializeAws_restJson1SubSlotSetting = (output, context) => {
@@ -8917,10 +8889,8 @@ const deserializeAws_restJson1SubSlotSpecificationMap = (output, context) => {
8917
8889
  if (value === null) {
8918
8890
  return acc;
8919
8891
  }
8920
- return {
8921
- ...acc,
8922
- [key]: deserializeAws_restJson1Specifications(value, context),
8923
- };
8892
+ acc[key] = deserializeAws_restJson1Specifications(value, context);
8893
+ return acc;
8924
8894
  }, {});
8925
8895
  };
8926
8896
  const deserializeAws_restJson1SubSlotTypeComposition = (output, context) => {
@@ -8972,10 +8942,8 @@ const deserializeAws_restJson1TagMap = (output, context) => {
8972
8942
  if (value === null) {
8973
8943
  return acc;
8974
8944
  }
8975
- return {
8976
- ...acc,
8977
- [key]: __expectString(value),
8978
- };
8945
+ acc[key] = __expectString(value);
8946
+ return acc;
8979
8947
  }, {});
8980
8948
  };
8981
8949
  const deserializeAws_restJson1TextInputSpecification = (output, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lex-models-v2",
3
3
  "description": "AWS SDK for JavaScript Lex Models V2 Client for Node.js, Browser and React Native",
4
- "version": "3.211.0",
4
+ "version": "3.213.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",
@@ -19,39 +19,39 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.211.0",
23
- "@aws-sdk/config-resolver": "3.209.0",
24
- "@aws-sdk/credential-provider-node": "3.211.0",
25
- "@aws-sdk/fetch-http-handler": "3.208.0",
26
- "@aws-sdk/hash-node": "3.208.0",
27
- "@aws-sdk/invalid-dependency": "3.208.0",
28
- "@aws-sdk/middleware-content-length": "3.208.0",
29
- "@aws-sdk/middleware-endpoint": "3.208.0",
30
- "@aws-sdk/middleware-host-header": "3.208.0",
31
- "@aws-sdk/middleware-logger": "3.208.0",
32
- "@aws-sdk/middleware-recursion-detection": "3.208.0",
33
- "@aws-sdk/middleware-retry": "3.209.0",
34
- "@aws-sdk/middleware-serde": "3.208.0",
35
- "@aws-sdk/middleware-signing": "3.208.0",
36
- "@aws-sdk/middleware-stack": "3.208.0",
37
- "@aws-sdk/middleware-user-agent": "3.208.0",
38
- "@aws-sdk/node-config-provider": "3.209.0",
39
- "@aws-sdk/node-http-handler": "3.208.0",
40
- "@aws-sdk/protocol-http": "3.208.0",
41
- "@aws-sdk/smithy-client": "3.209.0",
42
- "@aws-sdk/types": "3.208.0",
43
- "@aws-sdk/url-parser": "3.208.0",
22
+ "@aws-sdk/client-sts": "3.213.0",
23
+ "@aws-sdk/config-resolver": "3.212.0",
24
+ "@aws-sdk/credential-provider-node": "3.212.0",
25
+ "@aws-sdk/fetch-http-handler": "3.212.0",
26
+ "@aws-sdk/hash-node": "3.212.0",
27
+ "@aws-sdk/invalid-dependency": "3.212.0",
28
+ "@aws-sdk/middleware-content-length": "3.212.0",
29
+ "@aws-sdk/middleware-endpoint": "3.212.0",
30
+ "@aws-sdk/middleware-host-header": "3.212.0",
31
+ "@aws-sdk/middleware-logger": "3.212.0",
32
+ "@aws-sdk/middleware-recursion-detection": "3.212.0",
33
+ "@aws-sdk/middleware-retry": "3.212.0",
34
+ "@aws-sdk/middleware-serde": "3.212.0",
35
+ "@aws-sdk/middleware-signing": "3.212.0",
36
+ "@aws-sdk/middleware-stack": "3.212.0",
37
+ "@aws-sdk/middleware-user-agent": "3.212.0",
38
+ "@aws-sdk/node-config-provider": "3.212.0",
39
+ "@aws-sdk/node-http-handler": "3.212.0",
40
+ "@aws-sdk/protocol-http": "3.212.0",
41
+ "@aws-sdk/smithy-client": "3.212.0",
42
+ "@aws-sdk/types": "3.212.0",
43
+ "@aws-sdk/url-parser": "3.212.0",
44
44
  "@aws-sdk/util-base64": "3.208.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.188.0",
46
46
  "@aws-sdk/util-body-length-node": "3.208.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.209.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.209.0",
49
- "@aws-sdk/util-endpoints": "3.211.0",
50
- "@aws-sdk/util-user-agent-browser": "3.208.0",
51
- "@aws-sdk/util-user-agent-node": "3.209.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.212.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.212.0",
49
+ "@aws-sdk/util-endpoints": "3.212.0",
50
+ "@aws-sdk/util-user-agent-browser": "3.212.0",
51
+ "@aws-sdk/util-user-agent-node": "3.212.0",
52
52
  "@aws-sdk/util-utf8-browser": "3.188.0",
53
53
  "@aws-sdk/util-utf8-node": "3.208.0",
54
- "@aws-sdk/util-waiter": "3.208.0",
54
+ "@aws-sdk/util-waiter": "3.212.0",
55
55
  "tslib": "^2.3.1"
56
56
  },
57
57
  "devDependencies": {