@aws-sdk/client-cloudsearch 3.296.0 → 3.298.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 (88) hide show
  1. package/dist-cjs/commands/BuildSuggestersCommand.js +2 -3
  2. package/dist-cjs/commands/CreateDomainCommand.js +2 -3
  3. package/dist-cjs/commands/DefineAnalysisSchemeCommand.js +2 -3
  4. package/dist-cjs/commands/DefineExpressionCommand.js +2 -3
  5. package/dist-cjs/commands/DefineIndexFieldCommand.js +2 -3
  6. package/dist-cjs/commands/DefineSuggesterCommand.js +2 -3
  7. package/dist-cjs/commands/DeleteAnalysisSchemeCommand.js +2 -3
  8. package/dist-cjs/commands/DeleteDomainCommand.js +2 -3
  9. package/dist-cjs/commands/DeleteExpressionCommand.js +2 -3
  10. package/dist-cjs/commands/DeleteIndexFieldCommand.js +2 -3
  11. package/dist-cjs/commands/DeleteSuggesterCommand.js +2 -3
  12. package/dist-cjs/commands/DescribeAnalysisSchemesCommand.js +2 -3
  13. package/dist-cjs/commands/DescribeAvailabilityOptionsCommand.js +2 -3
  14. package/dist-cjs/commands/DescribeDomainEndpointOptionsCommand.js +2 -3
  15. package/dist-cjs/commands/DescribeDomainsCommand.js +2 -3
  16. package/dist-cjs/commands/DescribeExpressionsCommand.js +2 -3
  17. package/dist-cjs/commands/DescribeIndexFieldsCommand.js +2 -3
  18. package/dist-cjs/commands/DescribeScalingParametersCommand.js +2 -3
  19. package/dist-cjs/commands/DescribeServiceAccessPoliciesCommand.js +2 -3
  20. package/dist-cjs/commands/DescribeSuggestersCommand.js +2 -3
  21. package/dist-cjs/commands/IndexDocumentsCommand.js +2 -3
  22. package/dist-cjs/commands/ListDomainNamesCommand.js +2 -3
  23. package/dist-cjs/commands/UpdateAvailabilityOptionsCommand.js +2 -3
  24. package/dist-cjs/commands/UpdateDomainEndpointOptionsCommand.js +2 -3
  25. package/dist-cjs/commands/UpdateScalingParametersCommand.js +2 -3
  26. package/dist-cjs/commands/UpdateServiceAccessPoliciesCommand.js +2 -3
  27. package/dist-cjs/models/models_0.js +1 -330
  28. package/dist-cjs/protocols/Aws_query.js +65 -303
  29. package/dist-es/commands/BuildSuggestersCommand.js +2 -3
  30. package/dist-es/commands/CreateDomainCommand.js +2 -3
  31. package/dist-es/commands/DefineAnalysisSchemeCommand.js +2 -3
  32. package/dist-es/commands/DefineExpressionCommand.js +2 -3
  33. package/dist-es/commands/DefineIndexFieldCommand.js +2 -3
  34. package/dist-es/commands/DefineSuggesterCommand.js +2 -3
  35. package/dist-es/commands/DeleteAnalysisSchemeCommand.js +2 -3
  36. package/dist-es/commands/DeleteDomainCommand.js +2 -3
  37. package/dist-es/commands/DeleteExpressionCommand.js +2 -3
  38. package/dist-es/commands/DeleteIndexFieldCommand.js +2 -3
  39. package/dist-es/commands/DeleteSuggesterCommand.js +2 -3
  40. package/dist-es/commands/DescribeAnalysisSchemesCommand.js +2 -3
  41. package/dist-es/commands/DescribeAvailabilityOptionsCommand.js +2 -3
  42. package/dist-es/commands/DescribeDomainEndpointOptionsCommand.js +2 -3
  43. package/dist-es/commands/DescribeDomainsCommand.js +2 -3
  44. package/dist-es/commands/DescribeExpressionsCommand.js +2 -3
  45. package/dist-es/commands/DescribeIndexFieldsCommand.js +2 -3
  46. package/dist-es/commands/DescribeScalingParametersCommand.js +2 -3
  47. package/dist-es/commands/DescribeServiceAccessPoliciesCommand.js +2 -3
  48. package/dist-es/commands/DescribeSuggestersCommand.js +2 -3
  49. package/dist-es/commands/IndexDocumentsCommand.js +2 -3
  50. package/dist-es/commands/ListDomainNamesCommand.js +2 -3
  51. package/dist-es/commands/UpdateAvailabilityOptionsCommand.js +2 -3
  52. package/dist-es/commands/UpdateDomainEndpointOptionsCommand.js +2 -3
  53. package/dist-es/commands/UpdateScalingParametersCommand.js +2 -3
  54. package/dist-es/commands/UpdateServiceAccessPoliciesCommand.js +2 -3
  55. package/dist-es/models/models_0.js +0 -246
  56. package/dist-es/protocols/Aws_query.js +65 -303
  57. package/dist-types/CloudSearch.d.ts +27 -0
  58. package/dist-types/CloudSearchClient.d.ts +24 -4
  59. package/dist-types/commands/BuildSuggestersCommand.d.ts +16 -0
  60. package/dist-types/commands/CreateDomainCommand.d.ts +16 -0
  61. package/dist-types/commands/DefineAnalysisSchemeCommand.d.ts +16 -0
  62. package/dist-types/commands/DefineExpressionCommand.d.ts +16 -0
  63. package/dist-types/commands/DefineIndexFieldCommand.d.ts +16 -0
  64. package/dist-types/commands/DefineSuggesterCommand.d.ts +16 -0
  65. package/dist-types/commands/DeleteAnalysisSchemeCommand.d.ts +16 -0
  66. package/dist-types/commands/DeleteDomainCommand.d.ts +16 -0
  67. package/dist-types/commands/DeleteExpressionCommand.d.ts +16 -0
  68. package/dist-types/commands/DeleteIndexFieldCommand.d.ts +16 -0
  69. package/dist-types/commands/DeleteSuggesterCommand.d.ts +16 -0
  70. package/dist-types/commands/DescribeAnalysisSchemesCommand.d.ts +16 -0
  71. package/dist-types/commands/DescribeAvailabilityOptionsCommand.d.ts +16 -0
  72. package/dist-types/commands/DescribeDomainEndpointOptionsCommand.d.ts +16 -0
  73. package/dist-types/commands/DescribeDomainsCommand.d.ts +16 -0
  74. package/dist-types/commands/DescribeExpressionsCommand.d.ts +16 -0
  75. package/dist-types/commands/DescribeIndexFieldsCommand.d.ts +16 -0
  76. package/dist-types/commands/DescribeScalingParametersCommand.d.ts +16 -0
  77. package/dist-types/commands/DescribeServiceAccessPoliciesCommand.d.ts +16 -0
  78. package/dist-types/commands/DescribeSuggestersCommand.d.ts +16 -0
  79. package/dist-types/commands/IndexDocumentsCommand.d.ts +16 -0
  80. package/dist-types/commands/ListDomainNamesCommand.d.ts +16 -0
  81. package/dist-types/commands/UpdateAvailabilityOptionsCommand.d.ts +16 -0
  82. package/dist-types/commands/UpdateDomainEndpointOptionsCommand.d.ts +16 -0
  83. package/dist-types/commands/UpdateScalingParametersCommand.d.ts +16 -0
  84. package/dist-types/commands/UpdateServiceAccessPoliciesCommand.d.ts +16 -0
  85. package/dist-types/models/CloudSearchServiceException.d.ts +2 -0
  86. package/dist-types/models/models_0.d.ts +114 -329
  87. package/dist-types/ts3.4/models/models_0.d.ts +0 -228
  88. package/package.json +4 -3
@@ -2266,10 +2266,7 @@ const serializeAws_queryUpdateServiceAccessPoliciesRequest = (input, context) =>
2266
2266
  return entries;
2267
2267
  };
2268
2268
  const deserializeAws_queryAccessPoliciesStatus = (output, context) => {
2269
- const contents = {
2270
- Options: undefined,
2271
- Status: undefined,
2272
- };
2269
+ const contents = {};
2273
2270
  if (output["Options"] !== undefined) {
2274
2271
  contents.Options = __expectString(output["Options"]);
2275
2272
  }
@@ -2279,13 +2276,7 @@ const deserializeAws_queryAccessPoliciesStatus = (output, context) => {
2279
2276
  return contents;
2280
2277
  };
2281
2278
  const deserializeAws_queryAnalysisOptions = (output, context) => {
2282
- const contents = {
2283
- Synonyms: undefined,
2284
- Stopwords: undefined,
2285
- StemmingDictionary: undefined,
2286
- JapaneseTokenizationDictionary: undefined,
2287
- AlgorithmicStemming: undefined,
2288
- };
2279
+ const contents = {};
2289
2280
  if (output["Synonyms"] !== undefined) {
2290
2281
  contents.Synonyms = __expectString(output["Synonyms"]);
2291
2282
  }
@@ -2304,11 +2295,7 @@ const deserializeAws_queryAnalysisOptions = (output, context) => {
2304
2295
  return contents;
2305
2296
  };
2306
2297
  const deserializeAws_queryAnalysisScheme = (output, context) => {
2307
- const contents = {
2308
- AnalysisSchemeName: undefined,
2309
- AnalysisSchemeLanguage: undefined,
2310
- AnalysisOptions: undefined,
2311
- };
2298
+ const contents = {};
2312
2299
  if (output["AnalysisSchemeName"] !== undefined) {
2313
2300
  contents.AnalysisSchemeName = __expectString(output["AnalysisSchemeName"]);
2314
2301
  }
@@ -2321,10 +2308,7 @@ const deserializeAws_queryAnalysisScheme = (output, context) => {
2321
2308
  return contents;
2322
2309
  };
2323
2310
  const deserializeAws_queryAnalysisSchemeStatus = (output, context) => {
2324
- const contents = {
2325
- Options: undefined,
2326
- Status: undefined,
2327
- };
2311
+ const contents = {};
2328
2312
  if (output["Options"] !== undefined) {
2329
2313
  contents.Options = deserializeAws_queryAnalysisScheme(output["Options"], context);
2330
2314
  }
@@ -2341,10 +2325,7 @@ const deserializeAws_queryAnalysisSchemeStatusList = (output, context) => {
2341
2325
  });
2342
2326
  };
2343
2327
  const deserializeAws_queryAvailabilityOptionsStatus = (output, context) => {
2344
- const contents = {
2345
- Options: undefined,
2346
- Status: undefined,
2347
- };
2328
+ const contents = {};
2348
2329
  if (output["Options"] !== undefined) {
2349
2330
  contents.Options = __parseBoolean(output["Options"]);
2350
2331
  }
@@ -2354,10 +2335,7 @@ const deserializeAws_queryAvailabilityOptionsStatus = (output, context) => {
2354
2335
  return contents;
2355
2336
  };
2356
2337
  const deserializeAws_queryBaseException = (output, context) => {
2357
- const contents = {
2358
- Code: undefined,
2359
- Message: undefined,
2360
- };
2338
+ const contents = {};
2361
2339
  if (output["Code"] !== undefined) {
2362
2340
  contents.Code = __expectString(output["Code"]);
2363
2341
  }
@@ -2367,9 +2345,7 @@ const deserializeAws_queryBaseException = (output, context) => {
2367
2345
  return contents;
2368
2346
  };
2369
2347
  const deserializeAws_queryBuildSuggestersResponse = (output, context) => {
2370
- const contents = {
2371
- FieldNames: undefined,
2372
- };
2348
+ const contents = {};
2373
2349
  if (output.FieldNames === "") {
2374
2350
  contents.FieldNames = [];
2375
2351
  }
@@ -2379,22 +2355,14 @@ const deserializeAws_queryBuildSuggestersResponse = (output, context) => {
2379
2355
  return contents;
2380
2356
  };
2381
2357
  const deserializeAws_queryCreateDomainResponse = (output, context) => {
2382
- const contents = {
2383
- DomainStatus: undefined,
2384
- };
2358
+ const contents = {};
2385
2359
  if (output["DomainStatus"] !== undefined) {
2386
2360
  contents.DomainStatus = deserializeAws_queryDomainStatus(output["DomainStatus"], context);
2387
2361
  }
2388
2362
  return contents;
2389
2363
  };
2390
2364
  const deserializeAws_queryDateArrayOptions = (output, context) => {
2391
- const contents = {
2392
- DefaultValue: undefined,
2393
- SourceFields: undefined,
2394
- FacetEnabled: undefined,
2395
- SearchEnabled: undefined,
2396
- ReturnEnabled: undefined,
2397
- };
2365
+ const contents = {};
2398
2366
  if (output["DefaultValue"] !== undefined) {
2399
2367
  contents.DefaultValue = __expectString(output["DefaultValue"]);
2400
2368
  }
@@ -2413,14 +2381,7 @@ const deserializeAws_queryDateArrayOptions = (output, context) => {
2413
2381
  return contents;
2414
2382
  };
2415
2383
  const deserializeAws_queryDateOptions = (output, context) => {
2416
- const contents = {
2417
- DefaultValue: undefined,
2418
- SourceField: undefined,
2419
- FacetEnabled: undefined,
2420
- SearchEnabled: undefined,
2421
- ReturnEnabled: undefined,
2422
- SortEnabled: undefined,
2423
- };
2384
+ const contents = {};
2424
2385
  if (output["DefaultValue"] !== undefined) {
2425
2386
  contents.DefaultValue = __expectString(output["DefaultValue"]);
2426
2387
  }
@@ -2442,90 +2403,70 @@ const deserializeAws_queryDateOptions = (output, context) => {
2442
2403
  return contents;
2443
2404
  };
2444
2405
  const deserializeAws_queryDefineAnalysisSchemeResponse = (output, context) => {
2445
- const contents = {
2446
- AnalysisScheme: undefined,
2447
- };
2406
+ const contents = {};
2448
2407
  if (output["AnalysisScheme"] !== undefined) {
2449
2408
  contents.AnalysisScheme = deserializeAws_queryAnalysisSchemeStatus(output["AnalysisScheme"], context);
2450
2409
  }
2451
2410
  return contents;
2452
2411
  };
2453
2412
  const deserializeAws_queryDefineExpressionResponse = (output, context) => {
2454
- const contents = {
2455
- Expression: undefined,
2456
- };
2413
+ const contents = {};
2457
2414
  if (output["Expression"] !== undefined) {
2458
2415
  contents.Expression = deserializeAws_queryExpressionStatus(output["Expression"], context);
2459
2416
  }
2460
2417
  return contents;
2461
2418
  };
2462
2419
  const deserializeAws_queryDefineIndexFieldResponse = (output, context) => {
2463
- const contents = {
2464
- IndexField: undefined,
2465
- };
2420
+ const contents = {};
2466
2421
  if (output["IndexField"] !== undefined) {
2467
2422
  contents.IndexField = deserializeAws_queryIndexFieldStatus(output["IndexField"], context);
2468
2423
  }
2469
2424
  return contents;
2470
2425
  };
2471
2426
  const deserializeAws_queryDefineSuggesterResponse = (output, context) => {
2472
- const contents = {
2473
- Suggester: undefined,
2474
- };
2427
+ const contents = {};
2475
2428
  if (output["Suggester"] !== undefined) {
2476
2429
  contents.Suggester = deserializeAws_querySuggesterStatus(output["Suggester"], context);
2477
2430
  }
2478
2431
  return contents;
2479
2432
  };
2480
2433
  const deserializeAws_queryDeleteAnalysisSchemeResponse = (output, context) => {
2481
- const contents = {
2482
- AnalysisScheme: undefined,
2483
- };
2434
+ const contents = {};
2484
2435
  if (output["AnalysisScheme"] !== undefined) {
2485
2436
  contents.AnalysisScheme = deserializeAws_queryAnalysisSchemeStatus(output["AnalysisScheme"], context);
2486
2437
  }
2487
2438
  return contents;
2488
2439
  };
2489
2440
  const deserializeAws_queryDeleteDomainResponse = (output, context) => {
2490
- const contents = {
2491
- DomainStatus: undefined,
2492
- };
2441
+ const contents = {};
2493
2442
  if (output["DomainStatus"] !== undefined) {
2494
2443
  contents.DomainStatus = deserializeAws_queryDomainStatus(output["DomainStatus"], context);
2495
2444
  }
2496
2445
  return contents;
2497
2446
  };
2498
2447
  const deserializeAws_queryDeleteExpressionResponse = (output, context) => {
2499
- const contents = {
2500
- Expression: undefined,
2501
- };
2448
+ const contents = {};
2502
2449
  if (output["Expression"] !== undefined) {
2503
2450
  contents.Expression = deserializeAws_queryExpressionStatus(output["Expression"], context);
2504
2451
  }
2505
2452
  return contents;
2506
2453
  };
2507
2454
  const deserializeAws_queryDeleteIndexFieldResponse = (output, context) => {
2508
- const contents = {
2509
- IndexField: undefined,
2510
- };
2455
+ const contents = {};
2511
2456
  if (output["IndexField"] !== undefined) {
2512
2457
  contents.IndexField = deserializeAws_queryIndexFieldStatus(output["IndexField"], context);
2513
2458
  }
2514
2459
  return contents;
2515
2460
  };
2516
2461
  const deserializeAws_queryDeleteSuggesterResponse = (output, context) => {
2517
- const contents = {
2518
- Suggester: undefined,
2519
- };
2462
+ const contents = {};
2520
2463
  if (output["Suggester"] !== undefined) {
2521
2464
  contents.Suggester = deserializeAws_querySuggesterStatus(output["Suggester"], context);
2522
2465
  }
2523
2466
  return contents;
2524
2467
  };
2525
2468
  const deserializeAws_queryDescribeAnalysisSchemesResponse = (output, context) => {
2526
- const contents = {
2527
- AnalysisSchemes: undefined,
2528
- };
2469
+ const contents = {};
2529
2470
  if (output.AnalysisSchemes === "") {
2530
2471
  contents.AnalysisSchemes = [];
2531
2472
  }
@@ -2535,27 +2476,21 @@ const deserializeAws_queryDescribeAnalysisSchemesResponse = (output, context) =>
2535
2476
  return contents;
2536
2477
  };
2537
2478
  const deserializeAws_queryDescribeAvailabilityOptionsResponse = (output, context) => {
2538
- const contents = {
2539
- AvailabilityOptions: undefined,
2540
- };
2479
+ const contents = {};
2541
2480
  if (output["AvailabilityOptions"] !== undefined) {
2542
2481
  contents.AvailabilityOptions = deserializeAws_queryAvailabilityOptionsStatus(output["AvailabilityOptions"], context);
2543
2482
  }
2544
2483
  return contents;
2545
2484
  };
2546
2485
  const deserializeAws_queryDescribeDomainEndpointOptionsResponse = (output, context) => {
2547
- const contents = {
2548
- DomainEndpointOptions: undefined,
2549
- };
2486
+ const contents = {};
2550
2487
  if (output["DomainEndpointOptions"] !== undefined) {
2551
2488
  contents.DomainEndpointOptions = deserializeAws_queryDomainEndpointOptionsStatus(output["DomainEndpointOptions"], context);
2552
2489
  }
2553
2490
  return contents;
2554
2491
  };
2555
2492
  const deserializeAws_queryDescribeDomainsResponse = (output, context) => {
2556
- const contents = {
2557
- DomainStatusList: undefined,
2558
- };
2493
+ const contents = {};
2559
2494
  if (output.DomainStatusList === "") {
2560
2495
  contents.DomainStatusList = [];
2561
2496
  }
@@ -2565,9 +2500,7 @@ const deserializeAws_queryDescribeDomainsResponse = (output, context) => {
2565
2500
  return contents;
2566
2501
  };
2567
2502
  const deserializeAws_queryDescribeExpressionsResponse = (output, context) => {
2568
- const contents = {
2569
- Expressions: undefined,
2570
- };
2503
+ const contents = {};
2571
2504
  if (output.Expressions === "") {
2572
2505
  contents.Expressions = [];
2573
2506
  }
@@ -2577,9 +2510,7 @@ const deserializeAws_queryDescribeExpressionsResponse = (output, context) => {
2577
2510
  return contents;
2578
2511
  };
2579
2512
  const deserializeAws_queryDescribeIndexFieldsResponse = (output, context) => {
2580
- const contents = {
2581
- IndexFields: undefined,
2582
- };
2513
+ const contents = {};
2583
2514
  if (output.IndexFields === "") {
2584
2515
  contents.IndexFields = [];
2585
2516
  }
@@ -2589,27 +2520,21 @@ const deserializeAws_queryDescribeIndexFieldsResponse = (output, context) => {
2589
2520
  return contents;
2590
2521
  };
2591
2522
  const deserializeAws_queryDescribeScalingParametersResponse = (output, context) => {
2592
- const contents = {
2593
- ScalingParameters: undefined,
2594
- };
2523
+ const contents = {};
2595
2524
  if (output["ScalingParameters"] !== undefined) {
2596
2525
  contents.ScalingParameters = deserializeAws_queryScalingParametersStatus(output["ScalingParameters"], context);
2597
2526
  }
2598
2527
  return contents;
2599
2528
  };
2600
2529
  const deserializeAws_queryDescribeServiceAccessPoliciesResponse = (output, context) => {
2601
- const contents = {
2602
- AccessPolicies: undefined,
2603
- };
2530
+ const contents = {};
2604
2531
  if (output["AccessPolicies"] !== undefined) {
2605
2532
  contents.AccessPolicies = deserializeAws_queryAccessPoliciesStatus(output["AccessPolicies"], context);
2606
2533
  }
2607
2534
  return contents;
2608
2535
  };
2609
2536
  const deserializeAws_queryDescribeSuggestersResponse = (output, context) => {
2610
- const contents = {
2611
- Suggesters: undefined,
2612
- };
2537
+ const contents = {};
2613
2538
  if (output.Suggesters === "") {
2614
2539
  contents.Suggesters = [];
2615
2540
  }
@@ -2619,10 +2544,7 @@ const deserializeAws_queryDescribeSuggestersResponse = (output, context) => {
2619
2544
  return contents;
2620
2545
  };
2621
2546
  const deserializeAws_queryDisabledOperationException = (output, context) => {
2622
- const contents = {
2623
- Code: undefined,
2624
- Message: undefined,
2625
- };
2547
+ const contents = {};
2626
2548
  if (output["Code"] !== undefined) {
2627
2549
  contents.Code = __expectString(output["Code"]);
2628
2550
  }
@@ -2632,11 +2554,7 @@ const deserializeAws_queryDisabledOperationException = (output, context) => {
2632
2554
  return contents;
2633
2555
  };
2634
2556
  const deserializeAws_queryDocumentSuggesterOptions = (output, context) => {
2635
- const contents = {
2636
- SourceField: undefined,
2637
- FuzzyMatching: undefined,
2638
- SortExpression: undefined,
2639
- };
2557
+ const contents = {};
2640
2558
  if (output["SourceField"] !== undefined) {
2641
2559
  contents.SourceField = __expectString(output["SourceField"]);
2642
2560
  }
@@ -2649,10 +2567,7 @@ const deserializeAws_queryDocumentSuggesterOptions = (output, context) => {
2649
2567
  return contents;
2650
2568
  };
2651
2569
  const deserializeAws_queryDomainEndpointOptions = (output, context) => {
2652
- const contents = {
2653
- EnforceHTTPS: undefined,
2654
- TLSSecurityPolicy: undefined,
2655
- };
2570
+ const contents = {};
2656
2571
  if (output["EnforceHTTPS"] !== undefined) {
2657
2572
  contents.EnforceHTTPS = __parseBoolean(output["EnforceHTTPS"]);
2658
2573
  }
@@ -2662,10 +2577,7 @@ const deserializeAws_queryDomainEndpointOptions = (output, context) => {
2662
2577
  return contents;
2663
2578
  };
2664
2579
  const deserializeAws_queryDomainEndpointOptionsStatus = (output, context) => {
2665
- const contents = {
2666
- Options: undefined,
2667
- Status: undefined,
2668
- };
2580
+ const contents = {};
2669
2581
  if (output["Options"] !== undefined) {
2670
2582
  contents.Options = deserializeAws_queryDomainEndpointOptions(output["Options"], context);
2671
2583
  }
@@ -2684,21 +2596,7 @@ const deserializeAws_queryDomainNameMap = (output, context) => {
2684
2596
  }, {});
2685
2597
  };
2686
2598
  const deserializeAws_queryDomainStatus = (output, context) => {
2687
- const contents = {
2688
- DomainId: undefined,
2689
- DomainName: undefined,
2690
- ARN: undefined,
2691
- Created: undefined,
2692
- Deleted: undefined,
2693
- DocService: undefined,
2694
- SearchService: undefined,
2695
- RequiresIndexDocuments: undefined,
2696
- Processing: undefined,
2697
- SearchInstanceType: undefined,
2698
- SearchPartitionCount: undefined,
2699
- SearchInstanceCount: undefined,
2700
- Limits: undefined,
2701
- };
2599
+ const contents = {};
2702
2600
  if (output["DomainId"] !== undefined) {
2703
2601
  contents.DomainId = __expectString(output["DomainId"]);
2704
2602
  }
@@ -2748,13 +2646,7 @@ const deserializeAws_queryDomainStatusList = (output, context) => {
2748
2646
  });
2749
2647
  };
2750
2648
  const deserializeAws_queryDoubleArrayOptions = (output, context) => {
2751
- const contents = {
2752
- DefaultValue: undefined,
2753
- SourceFields: undefined,
2754
- FacetEnabled: undefined,
2755
- SearchEnabled: undefined,
2756
- ReturnEnabled: undefined,
2757
- };
2649
+ const contents = {};
2758
2650
  if (output["DefaultValue"] !== undefined) {
2759
2651
  contents.DefaultValue = __strictParseFloat(output["DefaultValue"]);
2760
2652
  }
@@ -2773,14 +2665,7 @@ const deserializeAws_queryDoubleArrayOptions = (output, context) => {
2773
2665
  return contents;
2774
2666
  };
2775
2667
  const deserializeAws_queryDoubleOptions = (output, context) => {
2776
- const contents = {
2777
- DefaultValue: undefined,
2778
- SourceField: undefined,
2779
- FacetEnabled: undefined,
2780
- SearchEnabled: undefined,
2781
- ReturnEnabled: undefined,
2782
- SortEnabled: undefined,
2783
- };
2668
+ const contents = {};
2784
2669
  if (output["DefaultValue"] !== undefined) {
2785
2670
  contents.DefaultValue = __strictParseFloat(output["DefaultValue"]);
2786
2671
  }
@@ -2802,10 +2687,7 @@ const deserializeAws_queryDoubleOptions = (output, context) => {
2802
2687
  return contents;
2803
2688
  };
2804
2689
  const deserializeAws_queryExpression = (output, context) => {
2805
- const contents = {
2806
- ExpressionName: undefined,
2807
- ExpressionValue: undefined,
2808
- };
2690
+ const contents = {};
2809
2691
  if (output["ExpressionName"] !== undefined) {
2810
2692
  contents.ExpressionName = __expectString(output["ExpressionName"]);
2811
2693
  }
@@ -2815,10 +2697,7 @@ const deserializeAws_queryExpression = (output, context) => {
2815
2697
  return contents;
2816
2698
  };
2817
2699
  const deserializeAws_queryExpressionStatus = (output, context) => {
2818
- const contents = {
2819
- Options: undefined,
2820
- Status: undefined,
2821
- };
2700
+ const contents = {};
2822
2701
  if (output["Options"] !== undefined) {
2823
2702
  contents.Options = deserializeAws_queryExpression(output["Options"], context);
2824
2703
  }
@@ -2842,9 +2721,7 @@ const deserializeAws_queryFieldNameList = (output, context) => {
2842
2721
  });
2843
2722
  };
2844
2723
  const deserializeAws_queryIndexDocumentsResponse = (output, context) => {
2845
- const contents = {
2846
- FieldNames: undefined,
2847
- };
2724
+ const contents = {};
2848
2725
  if (output.FieldNames === "") {
2849
2726
  contents.FieldNames = [];
2850
2727
  }
@@ -2854,21 +2731,7 @@ const deserializeAws_queryIndexDocumentsResponse = (output, context) => {
2854
2731
  return contents;
2855
2732
  };
2856
2733
  const deserializeAws_queryIndexField = (output, context) => {
2857
- const contents = {
2858
- IndexFieldName: undefined,
2859
- IndexFieldType: undefined,
2860
- IntOptions: undefined,
2861
- DoubleOptions: undefined,
2862
- LiteralOptions: undefined,
2863
- TextOptions: undefined,
2864
- DateOptions: undefined,
2865
- LatLonOptions: undefined,
2866
- IntArrayOptions: undefined,
2867
- DoubleArrayOptions: undefined,
2868
- LiteralArrayOptions: undefined,
2869
- TextArrayOptions: undefined,
2870
- DateArrayOptions: undefined,
2871
- };
2734
+ const contents = {};
2872
2735
  if (output["IndexFieldName"] !== undefined) {
2873
2736
  contents.IndexFieldName = __expectString(output["IndexFieldName"]);
2874
2737
  }
@@ -2911,10 +2774,7 @@ const deserializeAws_queryIndexField = (output, context) => {
2911
2774
  return contents;
2912
2775
  };
2913
2776
  const deserializeAws_queryIndexFieldStatus = (output, context) => {
2914
- const contents = {
2915
- Options: undefined,
2916
- Status: undefined,
2917
- };
2777
+ const contents = {};
2918
2778
  if (output["Options"] !== undefined) {
2919
2779
  contents.Options = deserializeAws_queryIndexField(output["Options"], context);
2920
2780
  }
@@ -2931,13 +2791,7 @@ const deserializeAws_queryIndexFieldStatusList = (output, context) => {
2931
2791
  });
2932
2792
  };
2933
2793
  const deserializeAws_queryIntArrayOptions = (output, context) => {
2934
- const contents = {
2935
- DefaultValue: undefined,
2936
- SourceFields: undefined,
2937
- FacetEnabled: undefined,
2938
- SearchEnabled: undefined,
2939
- ReturnEnabled: undefined,
2940
- };
2794
+ const contents = {};
2941
2795
  if (output["DefaultValue"] !== undefined) {
2942
2796
  contents.DefaultValue = __strictParseLong(output["DefaultValue"]);
2943
2797
  }
@@ -2956,10 +2810,7 @@ const deserializeAws_queryIntArrayOptions = (output, context) => {
2956
2810
  return contents;
2957
2811
  };
2958
2812
  const deserializeAws_queryInternalException = (output, context) => {
2959
- const contents = {
2960
- Code: undefined,
2961
- Message: undefined,
2962
- };
2813
+ const contents = {};
2963
2814
  if (output["Code"] !== undefined) {
2964
2815
  contents.Code = __expectString(output["Code"]);
2965
2816
  }
@@ -2969,14 +2820,7 @@ const deserializeAws_queryInternalException = (output, context) => {
2969
2820
  return contents;
2970
2821
  };
2971
2822
  const deserializeAws_queryIntOptions = (output, context) => {
2972
- const contents = {
2973
- DefaultValue: undefined,
2974
- SourceField: undefined,
2975
- FacetEnabled: undefined,
2976
- SearchEnabled: undefined,
2977
- ReturnEnabled: undefined,
2978
- SortEnabled: undefined,
2979
- };
2823
+ const contents = {};
2980
2824
  if (output["DefaultValue"] !== undefined) {
2981
2825
  contents.DefaultValue = __strictParseLong(output["DefaultValue"]);
2982
2826
  }
@@ -2998,10 +2842,7 @@ const deserializeAws_queryIntOptions = (output, context) => {
2998
2842
  return contents;
2999
2843
  };
3000
2844
  const deserializeAws_queryInvalidTypeException = (output, context) => {
3001
- const contents = {
3002
- Code: undefined,
3003
- Message: undefined,
3004
- };
2845
+ const contents = {};
3005
2846
  if (output["Code"] !== undefined) {
3006
2847
  contents.Code = __expectString(output["Code"]);
3007
2848
  }
@@ -3011,14 +2852,7 @@ const deserializeAws_queryInvalidTypeException = (output, context) => {
3011
2852
  return contents;
3012
2853
  };
3013
2854
  const deserializeAws_queryLatLonOptions = (output, context) => {
3014
- const contents = {
3015
- DefaultValue: undefined,
3016
- SourceField: undefined,
3017
- FacetEnabled: undefined,
3018
- SearchEnabled: undefined,
3019
- ReturnEnabled: undefined,
3020
- SortEnabled: undefined,
3021
- };
2855
+ const contents = {};
3022
2856
  if (output["DefaultValue"] !== undefined) {
3023
2857
  contents.DefaultValue = __expectString(output["DefaultValue"]);
3024
2858
  }
@@ -3040,10 +2874,7 @@ const deserializeAws_queryLatLonOptions = (output, context) => {
3040
2874
  return contents;
3041
2875
  };
3042
2876
  const deserializeAws_queryLimitExceededException = (output, context) => {
3043
- const contents = {
3044
- Code: undefined,
3045
- Message: undefined,
3046
- };
2877
+ const contents = {};
3047
2878
  if (output["Code"] !== undefined) {
3048
2879
  contents.Code = __expectString(output["Code"]);
3049
2880
  }
@@ -3053,10 +2884,7 @@ const deserializeAws_queryLimitExceededException = (output, context) => {
3053
2884
  return contents;
3054
2885
  };
3055
2886
  const deserializeAws_queryLimits = (output, context) => {
3056
- const contents = {
3057
- MaximumReplicationCount: undefined,
3058
- MaximumPartitionCount: undefined,
3059
- };
2887
+ const contents = {};
3060
2888
  if (output["MaximumReplicationCount"] !== undefined) {
3061
2889
  contents.MaximumReplicationCount = __strictParseInt32(output["MaximumReplicationCount"]);
3062
2890
  }
@@ -3066,9 +2894,7 @@ const deserializeAws_queryLimits = (output, context) => {
3066
2894
  return contents;
3067
2895
  };
3068
2896
  const deserializeAws_queryListDomainNamesResponse = (output, context) => {
3069
- const contents = {
3070
- DomainNames: undefined,
3071
- };
2897
+ const contents = {};
3072
2898
  if (output.DomainNames === "") {
3073
2899
  contents.DomainNames = {};
3074
2900
  }
@@ -3078,13 +2904,7 @@ const deserializeAws_queryListDomainNamesResponse = (output, context) => {
3078
2904
  return contents;
3079
2905
  };
3080
2906
  const deserializeAws_queryLiteralArrayOptions = (output, context) => {
3081
- const contents = {
3082
- DefaultValue: undefined,
3083
- SourceFields: undefined,
3084
- FacetEnabled: undefined,
3085
- SearchEnabled: undefined,
3086
- ReturnEnabled: undefined,
3087
- };
2907
+ const contents = {};
3088
2908
  if (output["DefaultValue"] !== undefined) {
3089
2909
  contents.DefaultValue = __expectString(output["DefaultValue"]);
3090
2910
  }
@@ -3103,14 +2923,7 @@ const deserializeAws_queryLiteralArrayOptions = (output, context) => {
3103
2923
  return contents;
3104
2924
  };
3105
2925
  const deserializeAws_queryLiteralOptions = (output, context) => {
3106
- const contents = {
3107
- DefaultValue: undefined,
3108
- SourceField: undefined,
3109
- FacetEnabled: undefined,
3110
- SearchEnabled: undefined,
3111
- ReturnEnabled: undefined,
3112
- SortEnabled: undefined,
3113
- };
2926
+ const contents = {};
3114
2927
  if (output["DefaultValue"] !== undefined) {
3115
2928
  contents.DefaultValue = __expectString(output["DefaultValue"]);
3116
2929
  }
@@ -3132,13 +2945,7 @@ const deserializeAws_queryLiteralOptions = (output, context) => {
3132
2945
  return contents;
3133
2946
  };
3134
2947
  const deserializeAws_queryOptionStatus = (output, context) => {
3135
- const contents = {
3136
- CreationDate: undefined,
3137
- UpdateDate: undefined,
3138
- UpdateVersion: undefined,
3139
- State: undefined,
3140
- PendingDeletion: undefined,
3141
- };
2948
+ const contents = {};
3142
2949
  if (output["CreationDate"] !== undefined) {
3143
2950
  contents.CreationDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreationDate"]));
3144
2951
  }
@@ -3157,10 +2964,7 @@ const deserializeAws_queryOptionStatus = (output, context) => {
3157
2964
  return contents;
3158
2965
  };
3159
2966
  const deserializeAws_queryResourceAlreadyExistsException = (output, context) => {
3160
- const contents = {
3161
- Code: undefined,
3162
- Message: undefined,
3163
- };
2967
+ const contents = {};
3164
2968
  if (output["Code"] !== undefined) {
3165
2969
  contents.Code = __expectString(output["Code"]);
3166
2970
  }
@@ -3170,10 +2974,7 @@ const deserializeAws_queryResourceAlreadyExistsException = (output, context) =>
3170
2974
  return contents;
3171
2975
  };
3172
2976
  const deserializeAws_queryResourceNotFoundException = (output, context) => {
3173
- const contents = {
3174
- Code: undefined,
3175
- Message: undefined,
3176
- };
2977
+ const contents = {};
3177
2978
  if (output["Code"] !== undefined) {
3178
2979
  contents.Code = __expectString(output["Code"]);
3179
2980
  }
@@ -3183,11 +2984,7 @@ const deserializeAws_queryResourceNotFoundException = (output, context) => {
3183
2984
  return contents;
3184
2985
  };
3185
2986
  const deserializeAws_queryScalingParameters = (output, context) => {
3186
- const contents = {
3187
- DesiredInstanceType: undefined,
3188
- DesiredReplicationCount: undefined,
3189
- DesiredPartitionCount: undefined,
3190
- };
2987
+ const contents = {};
3191
2988
  if (output["DesiredInstanceType"] !== undefined) {
3192
2989
  contents.DesiredInstanceType = __expectString(output["DesiredInstanceType"]);
3193
2990
  }
@@ -3200,10 +2997,7 @@ const deserializeAws_queryScalingParameters = (output, context) => {
3200
2997
  return contents;
3201
2998
  };
3202
2999
  const deserializeAws_queryScalingParametersStatus = (output, context) => {
3203
- const contents = {
3204
- Options: undefined,
3205
- Status: undefined,
3206
- };
3000
+ const contents = {};
3207
3001
  if (output["Options"] !== undefined) {
3208
3002
  contents.Options = deserializeAws_queryScalingParameters(output["Options"], context);
3209
3003
  }
@@ -3213,19 +3007,14 @@ const deserializeAws_queryScalingParametersStatus = (output, context) => {
3213
3007
  return contents;
3214
3008
  };
3215
3009
  const deserializeAws_queryServiceEndpoint = (output, context) => {
3216
- const contents = {
3217
- Endpoint: undefined,
3218
- };
3010
+ const contents = {};
3219
3011
  if (output["Endpoint"] !== undefined) {
3220
3012
  contents.Endpoint = __expectString(output["Endpoint"]);
3221
3013
  }
3222
3014
  return contents;
3223
3015
  };
3224
3016
  const deserializeAws_querySuggester = (output, context) => {
3225
- const contents = {
3226
- SuggesterName: undefined,
3227
- DocumentSuggesterOptions: undefined,
3228
- };
3017
+ const contents = {};
3229
3018
  if (output["SuggesterName"] !== undefined) {
3230
3019
  contents.SuggesterName = __expectString(output["SuggesterName"]);
3231
3020
  }
@@ -3235,10 +3024,7 @@ const deserializeAws_querySuggester = (output, context) => {
3235
3024
  return contents;
3236
3025
  };
3237
3026
  const deserializeAws_querySuggesterStatus = (output, context) => {
3238
- const contents = {
3239
- Options: undefined,
3240
- Status: undefined,
3241
- };
3027
+ const contents = {};
3242
3028
  if (output["Options"] !== undefined) {
3243
3029
  contents.Options = deserializeAws_querySuggester(output["Options"], context);
3244
3030
  }
@@ -3255,13 +3041,7 @@ const deserializeAws_querySuggesterStatusList = (output, context) => {
3255
3041
  });
3256
3042
  };
3257
3043
  const deserializeAws_queryTextArrayOptions = (output, context) => {
3258
- const contents = {
3259
- DefaultValue: undefined,
3260
- SourceFields: undefined,
3261
- ReturnEnabled: undefined,
3262
- HighlightEnabled: undefined,
3263
- AnalysisScheme: undefined,
3264
- };
3044
+ const contents = {};
3265
3045
  if (output["DefaultValue"] !== undefined) {
3266
3046
  contents.DefaultValue = __expectString(output["DefaultValue"]);
3267
3047
  }
@@ -3280,14 +3060,7 @@ const deserializeAws_queryTextArrayOptions = (output, context) => {
3280
3060
  return contents;
3281
3061
  };
3282
3062
  const deserializeAws_queryTextOptions = (output, context) => {
3283
- const contents = {
3284
- DefaultValue: undefined,
3285
- SourceField: undefined,
3286
- ReturnEnabled: undefined,
3287
- SortEnabled: undefined,
3288
- HighlightEnabled: undefined,
3289
- AnalysisScheme: undefined,
3290
- };
3063
+ const contents = {};
3291
3064
  if (output["DefaultValue"] !== undefined) {
3292
3065
  contents.DefaultValue = __expectString(output["DefaultValue"]);
3293
3066
  }
@@ -3309,46 +3082,35 @@ const deserializeAws_queryTextOptions = (output, context) => {
3309
3082
  return contents;
3310
3083
  };
3311
3084
  const deserializeAws_queryUpdateAvailabilityOptionsResponse = (output, context) => {
3312
- const contents = {
3313
- AvailabilityOptions: undefined,
3314
- };
3085
+ const contents = {};
3315
3086
  if (output["AvailabilityOptions"] !== undefined) {
3316
3087
  contents.AvailabilityOptions = deserializeAws_queryAvailabilityOptionsStatus(output["AvailabilityOptions"], context);
3317
3088
  }
3318
3089
  return contents;
3319
3090
  };
3320
3091
  const deserializeAws_queryUpdateDomainEndpointOptionsResponse = (output, context) => {
3321
- const contents = {
3322
- DomainEndpointOptions: undefined,
3323
- };
3092
+ const contents = {};
3324
3093
  if (output["DomainEndpointOptions"] !== undefined) {
3325
3094
  contents.DomainEndpointOptions = deserializeAws_queryDomainEndpointOptionsStatus(output["DomainEndpointOptions"], context);
3326
3095
  }
3327
3096
  return contents;
3328
3097
  };
3329
3098
  const deserializeAws_queryUpdateScalingParametersResponse = (output, context) => {
3330
- const contents = {
3331
- ScalingParameters: undefined,
3332
- };
3099
+ const contents = {};
3333
3100
  if (output["ScalingParameters"] !== undefined) {
3334
3101
  contents.ScalingParameters = deserializeAws_queryScalingParametersStatus(output["ScalingParameters"], context);
3335
3102
  }
3336
3103
  return contents;
3337
3104
  };
3338
3105
  const deserializeAws_queryUpdateServiceAccessPoliciesResponse = (output, context) => {
3339
- const contents = {
3340
- AccessPolicies: undefined,
3341
- };
3106
+ const contents = {};
3342
3107
  if (output["AccessPolicies"] !== undefined) {
3343
3108
  contents.AccessPolicies = deserializeAws_queryAccessPoliciesStatus(output["AccessPolicies"], context);
3344
3109
  }
3345
3110
  return contents;
3346
3111
  };
3347
3112
  const deserializeAws_queryValidationException = (output, context) => {
3348
- const contents = {
3349
- Code: undefined,
3350
- Message: undefined,
3351
- };
3113
+ const contents = {};
3352
3114
  if (output["Code"] !== undefined) {
3353
3115
  contents.Code = __expectString(output["Code"]);
3354
3116
  }