@aws-sdk/client-cloudsearch 3.296.0 → 3.297.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 (33) hide show
  1. package/dist-cjs/protocols/Aws_query.js +65 -303
  2. package/dist-es/protocols/Aws_query.js +65 -303
  3. package/dist-types/CloudSearch.d.ts +27 -0
  4. package/dist-types/CloudSearchClient.d.ts +24 -4
  5. package/dist-types/commands/BuildSuggestersCommand.d.ts +16 -0
  6. package/dist-types/commands/CreateDomainCommand.d.ts +16 -0
  7. package/dist-types/commands/DefineAnalysisSchemeCommand.d.ts +16 -0
  8. package/dist-types/commands/DefineExpressionCommand.d.ts +16 -0
  9. package/dist-types/commands/DefineIndexFieldCommand.d.ts +16 -0
  10. package/dist-types/commands/DefineSuggesterCommand.d.ts +16 -0
  11. package/dist-types/commands/DeleteAnalysisSchemeCommand.d.ts +16 -0
  12. package/dist-types/commands/DeleteDomainCommand.d.ts +16 -0
  13. package/dist-types/commands/DeleteExpressionCommand.d.ts +16 -0
  14. package/dist-types/commands/DeleteIndexFieldCommand.d.ts +16 -0
  15. package/dist-types/commands/DeleteSuggesterCommand.d.ts +16 -0
  16. package/dist-types/commands/DescribeAnalysisSchemesCommand.d.ts +16 -0
  17. package/dist-types/commands/DescribeAvailabilityOptionsCommand.d.ts +16 -0
  18. package/dist-types/commands/DescribeDomainEndpointOptionsCommand.d.ts +16 -0
  19. package/dist-types/commands/DescribeDomainsCommand.d.ts +16 -0
  20. package/dist-types/commands/DescribeExpressionsCommand.d.ts +16 -0
  21. package/dist-types/commands/DescribeIndexFieldsCommand.d.ts +16 -0
  22. package/dist-types/commands/DescribeScalingParametersCommand.d.ts +16 -0
  23. package/dist-types/commands/DescribeServiceAccessPoliciesCommand.d.ts +16 -0
  24. package/dist-types/commands/DescribeSuggestersCommand.d.ts +16 -0
  25. package/dist-types/commands/IndexDocumentsCommand.d.ts +16 -0
  26. package/dist-types/commands/ListDomainNamesCommand.d.ts +16 -0
  27. package/dist-types/commands/UpdateAvailabilityOptionsCommand.d.ts +16 -0
  28. package/dist-types/commands/UpdateDomainEndpointOptionsCommand.d.ts +16 -0
  29. package/dist-types/commands/UpdateScalingParametersCommand.d.ts +16 -0
  30. package/dist-types/commands/UpdateServiceAccessPoliciesCommand.d.ts +16 -0
  31. package/dist-types/models/CloudSearchServiceException.d.ts +2 -0
  32. package/dist-types/models/models_0.d.ts +114 -1
  33. package/package.json +3 -3
@@ -2322,10 +2322,7 @@ const serializeAws_queryUpdateServiceAccessPoliciesRequest = (input, context) =>
2322
2322
  return entries;
2323
2323
  };
2324
2324
  const deserializeAws_queryAccessPoliciesStatus = (output, context) => {
2325
- const contents = {
2326
- Options: undefined,
2327
- Status: undefined,
2328
- };
2325
+ const contents = {};
2329
2326
  if (output["Options"] !== undefined) {
2330
2327
  contents.Options = (0, smithy_client_1.expectString)(output["Options"]);
2331
2328
  }
@@ -2335,13 +2332,7 @@ const deserializeAws_queryAccessPoliciesStatus = (output, context) => {
2335
2332
  return contents;
2336
2333
  };
2337
2334
  const deserializeAws_queryAnalysisOptions = (output, context) => {
2338
- const contents = {
2339
- Synonyms: undefined,
2340
- Stopwords: undefined,
2341
- StemmingDictionary: undefined,
2342
- JapaneseTokenizationDictionary: undefined,
2343
- AlgorithmicStemming: undefined,
2344
- };
2335
+ const contents = {};
2345
2336
  if (output["Synonyms"] !== undefined) {
2346
2337
  contents.Synonyms = (0, smithy_client_1.expectString)(output["Synonyms"]);
2347
2338
  }
@@ -2360,11 +2351,7 @@ const deserializeAws_queryAnalysisOptions = (output, context) => {
2360
2351
  return contents;
2361
2352
  };
2362
2353
  const deserializeAws_queryAnalysisScheme = (output, context) => {
2363
- const contents = {
2364
- AnalysisSchemeName: undefined,
2365
- AnalysisSchemeLanguage: undefined,
2366
- AnalysisOptions: undefined,
2367
- };
2354
+ const contents = {};
2368
2355
  if (output["AnalysisSchemeName"] !== undefined) {
2369
2356
  contents.AnalysisSchemeName = (0, smithy_client_1.expectString)(output["AnalysisSchemeName"]);
2370
2357
  }
@@ -2377,10 +2364,7 @@ const deserializeAws_queryAnalysisScheme = (output, context) => {
2377
2364
  return contents;
2378
2365
  };
2379
2366
  const deserializeAws_queryAnalysisSchemeStatus = (output, context) => {
2380
- const contents = {
2381
- Options: undefined,
2382
- Status: undefined,
2383
- };
2367
+ const contents = {};
2384
2368
  if (output["Options"] !== undefined) {
2385
2369
  contents.Options = deserializeAws_queryAnalysisScheme(output["Options"], context);
2386
2370
  }
@@ -2397,10 +2381,7 @@ const deserializeAws_queryAnalysisSchemeStatusList = (output, context) => {
2397
2381
  });
2398
2382
  };
2399
2383
  const deserializeAws_queryAvailabilityOptionsStatus = (output, context) => {
2400
- const contents = {
2401
- Options: undefined,
2402
- Status: undefined,
2403
- };
2384
+ const contents = {};
2404
2385
  if (output["Options"] !== undefined) {
2405
2386
  contents.Options = (0, smithy_client_1.parseBoolean)(output["Options"]);
2406
2387
  }
@@ -2410,10 +2391,7 @@ const deserializeAws_queryAvailabilityOptionsStatus = (output, context) => {
2410
2391
  return contents;
2411
2392
  };
2412
2393
  const deserializeAws_queryBaseException = (output, context) => {
2413
- const contents = {
2414
- Code: undefined,
2415
- Message: undefined,
2416
- };
2394
+ const contents = {};
2417
2395
  if (output["Code"] !== undefined) {
2418
2396
  contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
2419
2397
  }
@@ -2423,9 +2401,7 @@ const deserializeAws_queryBaseException = (output, context) => {
2423
2401
  return contents;
2424
2402
  };
2425
2403
  const deserializeAws_queryBuildSuggestersResponse = (output, context) => {
2426
- const contents = {
2427
- FieldNames: undefined,
2428
- };
2404
+ const contents = {};
2429
2405
  if (output.FieldNames === "") {
2430
2406
  contents.FieldNames = [];
2431
2407
  }
@@ -2435,22 +2411,14 @@ const deserializeAws_queryBuildSuggestersResponse = (output, context) => {
2435
2411
  return contents;
2436
2412
  };
2437
2413
  const deserializeAws_queryCreateDomainResponse = (output, context) => {
2438
- const contents = {
2439
- DomainStatus: undefined,
2440
- };
2414
+ const contents = {};
2441
2415
  if (output["DomainStatus"] !== undefined) {
2442
2416
  contents.DomainStatus = deserializeAws_queryDomainStatus(output["DomainStatus"], context);
2443
2417
  }
2444
2418
  return contents;
2445
2419
  };
2446
2420
  const deserializeAws_queryDateArrayOptions = (output, context) => {
2447
- const contents = {
2448
- DefaultValue: undefined,
2449
- SourceFields: undefined,
2450
- FacetEnabled: undefined,
2451
- SearchEnabled: undefined,
2452
- ReturnEnabled: undefined,
2453
- };
2421
+ const contents = {};
2454
2422
  if (output["DefaultValue"] !== undefined) {
2455
2423
  contents.DefaultValue = (0, smithy_client_1.expectString)(output["DefaultValue"]);
2456
2424
  }
@@ -2469,14 +2437,7 @@ const deserializeAws_queryDateArrayOptions = (output, context) => {
2469
2437
  return contents;
2470
2438
  };
2471
2439
  const deserializeAws_queryDateOptions = (output, context) => {
2472
- const contents = {
2473
- DefaultValue: undefined,
2474
- SourceField: undefined,
2475
- FacetEnabled: undefined,
2476
- SearchEnabled: undefined,
2477
- ReturnEnabled: undefined,
2478
- SortEnabled: undefined,
2479
- };
2440
+ const contents = {};
2480
2441
  if (output["DefaultValue"] !== undefined) {
2481
2442
  contents.DefaultValue = (0, smithy_client_1.expectString)(output["DefaultValue"]);
2482
2443
  }
@@ -2498,90 +2459,70 @@ const deserializeAws_queryDateOptions = (output, context) => {
2498
2459
  return contents;
2499
2460
  };
2500
2461
  const deserializeAws_queryDefineAnalysisSchemeResponse = (output, context) => {
2501
- const contents = {
2502
- AnalysisScheme: undefined,
2503
- };
2462
+ const contents = {};
2504
2463
  if (output["AnalysisScheme"] !== undefined) {
2505
2464
  contents.AnalysisScheme = deserializeAws_queryAnalysisSchemeStatus(output["AnalysisScheme"], context);
2506
2465
  }
2507
2466
  return contents;
2508
2467
  };
2509
2468
  const deserializeAws_queryDefineExpressionResponse = (output, context) => {
2510
- const contents = {
2511
- Expression: undefined,
2512
- };
2469
+ const contents = {};
2513
2470
  if (output["Expression"] !== undefined) {
2514
2471
  contents.Expression = deserializeAws_queryExpressionStatus(output["Expression"], context);
2515
2472
  }
2516
2473
  return contents;
2517
2474
  };
2518
2475
  const deserializeAws_queryDefineIndexFieldResponse = (output, context) => {
2519
- const contents = {
2520
- IndexField: undefined,
2521
- };
2476
+ const contents = {};
2522
2477
  if (output["IndexField"] !== undefined) {
2523
2478
  contents.IndexField = deserializeAws_queryIndexFieldStatus(output["IndexField"], context);
2524
2479
  }
2525
2480
  return contents;
2526
2481
  };
2527
2482
  const deserializeAws_queryDefineSuggesterResponse = (output, context) => {
2528
- const contents = {
2529
- Suggester: undefined,
2530
- };
2483
+ const contents = {};
2531
2484
  if (output["Suggester"] !== undefined) {
2532
2485
  contents.Suggester = deserializeAws_querySuggesterStatus(output["Suggester"], context);
2533
2486
  }
2534
2487
  return contents;
2535
2488
  };
2536
2489
  const deserializeAws_queryDeleteAnalysisSchemeResponse = (output, context) => {
2537
- const contents = {
2538
- AnalysisScheme: undefined,
2539
- };
2490
+ const contents = {};
2540
2491
  if (output["AnalysisScheme"] !== undefined) {
2541
2492
  contents.AnalysisScheme = deserializeAws_queryAnalysisSchemeStatus(output["AnalysisScheme"], context);
2542
2493
  }
2543
2494
  return contents;
2544
2495
  };
2545
2496
  const deserializeAws_queryDeleteDomainResponse = (output, context) => {
2546
- const contents = {
2547
- DomainStatus: undefined,
2548
- };
2497
+ const contents = {};
2549
2498
  if (output["DomainStatus"] !== undefined) {
2550
2499
  contents.DomainStatus = deserializeAws_queryDomainStatus(output["DomainStatus"], context);
2551
2500
  }
2552
2501
  return contents;
2553
2502
  };
2554
2503
  const deserializeAws_queryDeleteExpressionResponse = (output, context) => {
2555
- const contents = {
2556
- Expression: undefined,
2557
- };
2504
+ const contents = {};
2558
2505
  if (output["Expression"] !== undefined) {
2559
2506
  contents.Expression = deserializeAws_queryExpressionStatus(output["Expression"], context);
2560
2507
  }
2561
2508
  return contents;
2562
2509
  };
2563
2510
  const deserializeAws_queryDeleteIndexFieldResponse = (output, context) => {
2564
- const contents = {
2565
- IndexField: undefined,
2566
- };
2511
+ const contents = {};
2567
2512
  if (output["IndexField"] !== undefined) {
2568
2513
  contents.IndexField = deserializeAws_queryIndexFieldStatus(output["IndexField"], context);
2569
2514
  }
2570
2515
  return contents;
2571
2516
  };
2572
2517
  const deserializeAws_queryDeleteSuggesterResponse = (output, context) => {
2573
- const contents = {
2574
- Suggester: undefined,
2575
- };
2518
+ const contents = {};
2576
2519
  if (output["Suggester"] !== undefined) {
2577
2520
  contents.Suggester = deserializeAws_querySuggesterStatus(output["Suggester"], context);
2578
2521
  }
2579
2522
  return contents;
2580
2523
  };
2581
2524
  const deserializeAws_queryDescribeAnalysisSchemesResponse = (output, context) => {
2582
- const contents = {
2583
- AnalysisSchemes: undefined,
2584
- };
2525
+ const contents = {};
2585
2526
  if (output.AnalysisSchemes === "") {
2586
2527
  contents.AnalysisSchemes = [];
2587
2528
  }
@@ -2591,27 +2532,21 @@ const deserializeAws_queryDescribeAnalysisSchemesResponse = (output, context) =>
2591
2532
  return contents;
2592
2533
  };
2593
2534
  const deserializeAws_queryDescribeAvailabilityOptionsResponse = (output, context) => {
2594
- const contents = {
2595
- AvailabilityOptions: undefined,
2596
- };
2535
+ const contents = {};
2597
2536
  if (output["AvailabilityOptions"] !== undefined) {
2598
2537
  contents.AvailabilityOptions = deserializeAws_queryAvailabilityOptionsStatus(output["AvailabilityOptions"], context);
2599
2538
  }
2600
2539
  return contents;
2601
2540
  };
2602
2541
  const deserializeAws_queryDescribeDomainEndpointOptionsResponse = (output, context) => {
2603
- const contents = {
2604
- DomainEndpointOptions: undefined,
2605
- };
2542
+ const contents = {};
2606
2543
  if (output["DomainEndpointOptions"] !== undefined) {
2607
2544
  contents.DomainEndpointOptions = deserializeAws_queryDomainEndpointOptionsStatus(output["DomainEndpointOptions"], context);
2608
2545
  }
2609
2546
  return contents;
2610
2547
  };
2611
2548
  const deserializeAws_queryDescribeDomainsResponse = (output, context) => {
2612
- const contents = {
2613
- DomainStatusList: undefined,
2614
- };
2549
+ const contents = {};
2615
2550
  if (output.DomainStatusList === "") {
2616
2551
  contents.DomainStatusList = [];
2617
2552
  }
@@ -2621,9 +2556,7 @@ const deserializeAws_queryDescribeDomainsResponse = (output, context) => {
2621
2556
  return contents;
2622
2557
  };
2623
2558
  const deserializeAws_queryDescribeExpressionsResponse = (output, context) => {
2624
- const contents = {
2625
- Expressions: undefined,
2626
- };
2559
+ const contents = {};
2627
2560
  if (output.Expressions === "") {
2628
2561
  contents.Expressions = [];
2629
2562
  }
@@ -2633,9 +2566,7 @@ const deserializeAws_queryDescribeExpressionsResponse = (output, context) => {
2633
2566
  return contents;
2634
2567
  };
2635
2568
  const deserializeAws_queryDescribeIndexFieldsResponse = (output, context) => {
2636
- const contents = {
2637
- IndexFields: undefined,
2638
- };
2569
+ const contents = {};
2639
2570
  if (output.IndexFields === "") {
2640
2571
  contents.IndexFields = [];
2641
2572
  }
@@ -2645,27 +2576,21 @@ const deserializeAws_queryDescribeIndexFieldsResponse = (output, context) => {
2645
2576
  return contents;
2646
2577
  };
2647
2578
  const deserializeAws_queryDescribeScalingParametersResponse = (output, context) => {
2648
- const contents = {
2649
- ScalingParameters: undefined,
2650
- };
2579
+ const contents = {};
2651
2580
  if (output["ScalingParameters"] !== undefined) {
2652
2581
  contents.ScalingParameters = deserializeAws_queryScalingParametersStatus(output["ScalingParameters"], context);
2653
2582
  }
2654
2583
  return contents;
2655
2584
  };
2656
2585
  const deserializeAws_queryDescribeServiceAccessPoliciesResponse = (output, context) => {
2657
- const contents = {
2658
- AccessPolicies: undefined,
2659
- };
2586
+ const contents = {};
2660
2587
  if (output["AccessPolicies"] !== undefined) {
2661
2588
  contents.AccessPolicies = deserializeAws_queryAccessPoliciesStatus(output["AccessPolicies"], context);
2662
2589
  }
2663
2590
  return contents;
2664
2591
  };
2665
2592
  const deserializeAws_queryDescribeSuggestersResponse = (output, context) => {
2666
- const contents = {
2667
- Suggesters: undefined,
2668
- };
2593
+ const contents = {};
2669
2594
  if (output.Suggesters === "") {
2670
2595
  contents.Suggesters = [];
2671
2596
  }
@@ -2675,10 +2600,7 @@ const deserializeAws_queryDescribeSuggestersResponse = (output, context) => {
2675
2600
  return contents;
2676
2601
  };
2677
2602
  const deserializeAws_queryDisabledOperationException = (output, context) => {
2678
- const contents = {
2679
- Code: undefined,
2680
- Message: undefined,
2681
- };
2603
+ const contents = {};
2682
2604
  if (output["Code"] !== undefined) {
2683
2605
  contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
2684
2606
  }
@@ -2688,11 +2610,7 @@ const deserializeAws_queryDisabledOperationException = (output, context) => {
2688
2610
  return contents;
2689
2611
  };
2690
2612
  const deserializeAws_queryDocumentSuggesterOptions = (output, context) => {
2691
- const contents = {
2692
- SourceField: undefined,
2693
- FuzzyMatching: undefined,
2694
- SortExpression: undefined,
2695
- };
2613
+ const contents = {};
2696
2614
  if (output["SourceField"] !== undefined) {
2697
2615
  contents.SourceField = (0, smithy_client_1.expectString)(output["SourceField"]);
2698
2616
  }
@@ -2705,10 +2623,7 @@ const deserializeAws_queryDocumentSuggesterOptions = (output, context) => {
2705
2623
  return contents;
2706
2624
  };
2707
2625
  const deserializeAws_queryDomainEndpointOptions = (output, context) => {
2708
- const contents = {
2709
- EnforceHTTPS: undefined,
2710
- TLSSecurityPolicy: undefined,
2711
- };
2626
+ const contents = {};
2712
2627
  if (output["EnforceHTTPS"] !== undefined) {
2713
2628
  contents.EnforceHTTPS = (0, smithy_client_1.parseBoolean)(output["EnforceHTTPS"]);
2714
2629
  }
@@ -2718,10 +2633,7 @@ const deserializeAws_queryDomainEndpointOptions = (output, context) => {
2718
2633
  return contents;
2719
2634
  };
2720
2635
  const deserializeAws_queryDomainEndpointOptionsStatus = (output, context) => {
2721
- const contents = {
2722
- Options: undefined,
2723
- Status: undefined,
2724
- };
2636
+ const contents = {};
2725
2637
  if (output["Options"] !== undefined) {
2726
2638
  contents.Options = deserializeAws_queryDomainEndpointOptions(output["Options"], context);
2727
2639
  }
@@ -2740,21 +2652,7 @@ const deserializeAws_queryDomainNameMap = (output, context) => {
2740
2652
  }, {});
2741
2653
  };
2742
2654
  const deserializeAws_queryDomainStatus = (output, context) => {
2743
- const contents = {
2744
- DomainId: undefined,
2745
- DomainName: undefined,
2746
- ARN: undefined,
2747
- Created: undefined,
2748
- Deleted: undefined,
2749
- DocService: undefined,
2750
- SearchService: undefined,
2751
- RequiresIndexDocuments: undefined,
2752
- Processing: undefined,
2753
- SearchInstanceType: undefined,
2754
- SearchPartitionCount: undefined,
2755
- SearchInstanceCount: undefined,
2756
- Limits: undefined,
2757
- };
2655
+ const contents = {};
2758
2656
  if (output["DomainId"] !== undefined) {
2759
2657
  contents.DomainId = (0, smithy_client_1.expectString)(output["DomainId"]);
2760
2658
  }
@@ -2804,13 +2702,7 @@ const deserializeAws_queryDomainStatusList = (output, context) => {
2804
2702
  });
2805
2703
  };
2806
2704
  const deserializeAws_queryDoubleArrayOptions = (output, context) => {
2807
- const contents = {
2808
- DefaultValue: undefined,
2809
- SourceFields: undefined,
2810
- FacetEnabled: undefined,
2811
- SearchEnabled: undefined,
2812
- ReturnEnabled: undefined,
2813
- };
2705
+ const contents = {};
2814
2706
  if (output["DefaultValue"] !== undefined) {
2815
2707
  contents.DefaultValue = (0, smithy_client_1.strictParseFloat)(output["DefaultValue"]);
2816
2708
  }
@@ -2829,14 +2721,7 @@ const deserializeAws_queryDoubleArrayOptions = (output, context) => {
2829
2721
  return contents;
2830
2722
  };
2831
2723
  const deserializeAws_queryDoubleOptions = (output, context) => {
2832
- const contents = {
2833
- DefaultValue: undefined,
2834
- SourceField: undefined,
2835
- FacetEnabled: undefined,
2836
- SearchEnabled: undefined,
2837
- ReturnEnabled: undefined,
2838
- SortEnabled: undefined,
2839
- };
2724
+ const contents = {};
2840
2725
  if (output["DefaultValue"] !== undefined) {
2841
2726
  contents.DefaultValue = (0, smithy_client_1.strictParseFloat)(output["DefaultValue"]);
2842
2727
  }
@@ -2858,10 +2743,7 @@ const deserializeAws_queryDoubleOptions = (output, context) => {
2858
2743
  return contents;
2859
2744
  };
2860
2745
  const deserializeAws_queryExpression = (output, context) => {
2861
- const contents = {
2862
- ExpressionName: undefined,
2863
- ExpressionValue: undefined,
2864
- };
2746
+ const contents = {};
2865
2747
  if (output["ExpressionName"] !== undefined) {
2866
2748
  contents.ExpressionName = (0, smithy_client_1.expectString)(output["ExpressionName"]);
2867
2749
  }
@@ -2871,10 +2753,7 @@ const deserializeAws_queryExpression = (output, context) => {
2871
2753
  return contents;
2872
2754
  };
2873
2755
  const deserializeAws_queryExpressionStatus = (output, context) => {
2874
- const contents = {
2875
- Options: undefined,
2876
- Status: undefined,
2877
- };
2756
+ const contents = {};
2878
2757
  if (output["Options"] !== undefined) {
2879
2758
  contents.Options = deserializeAws_queryExpression(output["Options"], context);
2880
2759
  }
@@ -2898,9 +2777,7 @@ const deserializeAws_queryFieldNameList = (output, context) => {
2898
2777
  });
2899
2778
  };
2900
2779
  const deserializeAws_queryIndexDocumentsResponse = (output, context) => {
2901
- const contents = {
2902
- FieldNames: undefined,
2903
- };
2780
+ const contents = {};
2904
2781
  if (output.FieldNames === "") {
2905
2782
  contents.FieldNames = [];
2906
2783
  }
@@ -2910,21 +2787,7 @@ const deserializeAws_queryIndexDocumentsResponse = (output, context) => {
2910
2787
  return contents;
2911
2788
  };
2912
2789
  const deserializeAws_queryIndexField = (output, context) => {
2913
- const contents = {
2914
- IndexFieldName: undefined,
2915
- IndexFieldType: undefined,
2916
- IntOptions: undefined,
2917
- DoubleOptions: undefined,
2918
- LiteralOptions: undefined,
2919
- TextOptions: undefined,
2920
- DateOptions: undefined,
2921
- LatLonOptions: undefined,
2922
- IntArrayOptions: undefined,
2923
- DoubleArrayOptions: undefined,
2924
- LiteralArrayOptions: undefined,
2925
- TextArrayOptions: undefined,
2926
- DateArrayOptions: undefined,
2927
- };
2790
+ const contents = {};
2928
2791
  if (output["IndexFieldName"] !== undefined) {
2929
2792
  contents.IndexFieldName = (0, smithy_client_1.expectString)(output["IndexFieldName"]);
2930
2793
  }
@@ -2967,10 +2830,7 @@ const deserializeAws_queryIndexField = (output, context) => {
2967
2830
  return contents;
2968
2831
  };
2969
2832
  const deserializeAws_queryIndexFieldStatus = (output, context) => {
2970
- const contents = {
2971
- Options: undefined,
2972
- Status: undefined,
2973
- };
2833
+ const contents = {};
2974
2834
  if (output["Options"] !== undefined) {
2975
2835
  contents.Options = deserializeAws_queryIndexField(output["Options"], context);
2976
2836
  }
@@ -2987,13 +2847,7 @@ const deserializeAws_queryIndexFieldStatusList = (output, context) => {
2987
2847
  });
2988
2848
  };
2989
2849
  const deserializeAws_queryIntArrayOptions = (output, context) => {
2990
- const contents = {
2991
- DefaultValue: undefined,
2992
- SourceFields: undefined,
2993
- FacetEnabled: undefined,
2994
- SearchEnabled: undefined,
2995
- ReturnEnabled: undefined,
2996
- };
2850
+ const contents = {};
2997
2851
  if (output["DefaultValue"] !== undefined) {
2998
2852
  contents.DefaultValue = (0, smithy_client_1.strictParseLong)(output["DefaultValue"]);
2999
2853
  }
@@ -3012,10 +2866,7 @@ const deserializeAws_queryIntArrayOptions = (output, context) => {
3012
2866
  return contents;
3013
2867
  };
3014
2868
  const deserializeAws_queryInternalException = (output, context) => {
3015
- const contents = {
3016
- Code: undefined,
3017
- Message: undefined,
3018
- };
2869
+ const contents = {};
3019
2870
  if (output["Code"] !== undefined) {
3020
2871
  contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
3021
2872
  }
@@ -3025,14 +2876,7 @@ const deserializeAws_queryInternalException = (output, context) => {
3025
2876
  return contents;
3026
2877
  };
3027
2878
  const deserializeAws_queryIntOptions = (output, context) => {
3028
- const contents = {
3029
- DefaultValue: undefined,
3030
- SourceField: undefined,
3031
- FacetEnabled: undefined,
3032
- SearchEnabled: undefined,
3033
- ReturnEnabled: undefined,
3034
- SortEnabled: undefined,
3035
- };
2879
+ const contents = {};
3036
2880
  if (output["DefaultValue"] !== undefined) {
3037
2881
  contents.DefaultValue = (0, smithy_client_1.strictParseLong)(output["DefaultValue"]);
3038
2882
  }
@@ -3054,10 +2898,7 @@ const deserializeAws_queryIntOptions = (output, context) => {
3054
2898
  return contents;
3055
2899
  };
3056
2900
  const deserializeAws_queryInvalidTypeException = (output, context) => {
3057
- const contents = {
3058
- Code: undefined,
3059
- Message: undefined,
3060
- };
2901
+ const contents = {};
3061
2902
  if (output["Code"] !== undefined) {
3062
2903
  contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
3063
2904
  }
@@ -3067,14 +2908,7 @@ const deserializeAws_queryInvalidTypeException = (output, context) => {
3067
2908
  return contents;
3068
2909
  };
3069
2910
  const deserializeAws_queryLatLonOptions = (output, context) => {
3070
- const contents = {
3071
- DefaultValue: undefined,
3072
- SourceField: undefined,
3073
- FacetEnabled: undefined,
3074
- SearchEnabled: undefined,
3075
- ReturnEnabled: undefined,
3076
- SortEnabled: undefined,
3077
- };
2911
+ const contents = {};
3078
2912
  if (output["DefaultValue"] !== undefined) {
3079
2913
  contents.DefaultValue = (0, smithy_client_1.expectString)(output["DefaultValue"]);
3080
2914
  }
@@ -3096,10 +2930,7 @@ const deserializeAws_queryLatLonOptions = (output, context) => {
3096
2930
  return contents;
3097
2931
  };
3098
2932
  const deserializeAws_queryLimitExceededException = (output, context) => {
3099
- const contents = {
3100
- Code: undefined,
3101
- Message: undefined,
3102
- };
2933
+ const contents = {};
3103
2934
  if (output["Code"] !== undefined) {
3104
2935
  contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
3105
2936
  }
@@ -3109,10 +2940,7 @@ const deserializeAws_queryLimitExceededException = (output, context) => {
3109
2940
  return contents;
3110
2941
  };
3111
2942
  const deserializeAws_queryLimits = (output, context) => {
3112
- const contents = {
3113
- MaximumReplicationCount: undefined,
3114
- MaximumPartitionCount: undefined,
3115
- };
2943
+ const contents = {};
3116
2944
  if (output["MaximumReplicationCount"] !== undefined) {
3117
2945
  contents.MaximumReplicationCount = (0, smithy_client_1.strictParseInt32)(output["MaximumReplicationCount"]);
3118
2946
  }
@@ -3122,9 +2950,7 @@ const deserializeAws_queryLimits = (output, context) => {
3122
2950
  return contents;
3123
2951
  };
3124
2952
  const deserializeAws_queryListDomainNamesResponse = (output, context) => {
3125
- const contents = {
3126
- DomainNames: undefined,
3127
- };
2953
+ const contents = {};
3128
2954
  if (output.DomainNames === "") {
3129
2955
  contents.DomainNames = {};
3130
2956
  }
@@ -3134,13 +2960,7 @@ const deserializeAws_queryListDomainNamesResponse = (output, context) => {
3134
2960
  return contents;
3135
2961
  };
3136
2962
  const deserializeAws_queryLiteralArrayOptions = (output, context) => {
3137
- const contents = {
3138
- DefaultValue: undefined,
3139
- SourceFields: undefined,
3140
- FacetEnabled: undefined,
3141
- SearchEnabled: undefined,
3142
- ReturnEnabled: undefined,
3143
- };
2963
+ const contents = {};
3144
2964
  if (output["DefaultValue"] !== undefined) {
3145
2965
  contents.DefaultValue = (0, smithy_client_1.expectString)(output["DefaultValue"]);
3146
2966
  }
@@ -3159,14 +2979,7 @@ const deserializeAws_queryLiteralArrayOptions = (output, context) => {
3159
2979
  return contents;
3160
2980
  };
3161
2981
  const deserializeAws_queryLiteralOptions = (output, context) => {
3162
- const contents = {
3163
- DefaultValue: undefined,
3164
- SourceField: undefined,
3165
- FacetEnabled: undefined,
3166
- SearchEnabled: undefined,
3167
- ReturnEnabled: undefined,
3168
- SortEnabled: undefined,
3169
- };
2982
+ const contents = {};
3170
2983
  if (output["DefaultValue"] !== undefined) {
3171
2984
  contents.DefaultValue = (0, smithy_client_1.expectString)(output["DefaultValue"]);
3172
2985
  }
@@ -3188,13 +3001,7 @@ const deserializeAws_queryLiteralOptions = (output, context) => {
3188
3001
  return contents;
3189
3002
  };
3190
3003
  const deserializeAws_queryOptionStatus = (output, context) => {
3191
- const contents = {
3192
- CreationDate: undefined,
3193
- UpdateDate: undefined,
3194
- UpdateVersion: undefined,
3195
- State: undefined,
3196
- PendingDeletion: undefined,
3197
- };
3004
+ const contents = {};
3198
3005
  if (output["CreationDate"] !== undefined) {
3199
3006
  contents.CreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreationDate"]));
3200
3007
  }
@@ -3213,10 +3020,7 @@ const deserializeAws_queryOptionStatus = (output, context) => {
3213
3020
  return contents;
3214
3021
  };
3215
3022
  const deserializeAws_queryResourceAlreadyExistsException = (output, context) => {
3216
- const contents = {
3217
- Code: undefined,
3218
- Message: undefined,
3219
- };
3023
+ const contents = {};
3220
3024
  if (output["Code"] !== undefined) {
3221
3025
  contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
3222
3026
  }
@@ -3226,10 +3030,7 @@ const deserializeAws_queryResourceAlreadyExistsException = (output, context) =>
3226
3030
  return contents;
3227
3031
  };
3228
3032
  const deserializeAws_queryResourceNotFoundException = (output, context) => {
3229
- const contents = {
3230
- Code: undefined,
3231
- Message: undefined,
3232
- };
3033
+ const contents = {};
3233
3034
  if (output["Code"] !== undefined) {
3234
3035
  contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
3235
3036
  }
@@ -3239,11 +3040,7 @@ const deserializeAws_queryResourceNotFoundException = (output, context) => {
3239
3040
  return contents;
3240
3041
  };
3241
3042
  const deserializeAws_queryScalingParameters = (output, context) => {
3242
- const contents = {
3243
- DesiredInstanceType: undefined,
3244
- DesiredReplicationCount: undefined,
3245
- DesiredPartitionCount: undefined,
3246
- };
3043
+ const contents = {};
3247
3044
  if (output["DesiredInstanceType"] !== undefined) {
3248
3045
  contents.DesiredInstanceType = (0, smithy_client_1.expectString)(output["DesiredInstanceType"]);
3249
3046
  }
@@ -3256,10 +3053,7 @@ const deserializeAws_queryScalingParameters = (output, context) => {
3256
3053
  return contents;
3257
3054
  };
3258
3055
  const deserializeAws_queryScalingParametersStatus = (output, context) => {
3259
- const contents = {
3260
- Options: undefined,
3261
- Status: undefined,
3262
- };
3056
+ const contents = {};
3263
3057
  if (output["Options"] !== undefined) {
3264
3058
  contents.Options = deserializeAws_queryScalingParameters(output["Options"], context);
3265
3059
  }
@@ -3269,19 +3063,14 @@ const deserializeAws_queryScalingParametersStatus = (output, context) => {
3269
3063
  return contents;
3270
3064
  };
3271
3065
  const deserializeAws_queryServiceEndpoint = (output, context) => {
3272
- const contents = {
3273
- Endpoint: undefined,
3274
- };
3066
+ const contents = {};
3275
3067
  if (output["Endpoint"] !== undefined) {
3276
3068
  contents.Endpoint = (0, smithy_client_1.expectString)(output["Endpoint"]);
3277
3069
  }
3278
3070
  return contents;
3279
3071
  };
3280
3072
  const deserializeAws_querySuggester = (output, context) => {
3281
- const contents = {
3282
- SuggesterName: undefined,
3283
- DocumentSuggesterOptions: undefined,
3284
- };
3073
+ const contents = {};
3285
3074
  if (output["SuggesterName"] !== undefined) {
3286
3075
  contents.SuggesterName = (0, smithy_client_1.expectString)(output["SuggesterName"]);
3287
3076
  }
@@ -3291,10 +3080,7 @@ const deserializeAws_querySuggester = (output, context) => {
3291
3080
  return contents;
3292
3081
  };
3293
3082
  const deserializeAws_querySuggesterStatus = (output, context) => {
3294
- const contents = {
3295
- Options: undefined,
3296
- Status: undefined,
3297
- };
3083
+ const contents = {};
3298
3084
  if (output["Options"] !== undefined) {
3299
3085
  contents.Options = deserializeAws_querySuggester(output["Options"], context);
3300
3086
  }
@@ -3311,13 +3097,7 @@ const deserializeAws_querySuggesterStatusList = (output, context) => {
3311
3097
  });
3312
3098
  };
3313
3099
  const deserializeAws_queryTextArrayOptions = (output, context) => {
3314
- const contents = {
3315
- DefaultValue: undefined,
3316
- SourceFields: undefined,
3317
- ReturnEnabled: undefined,
3318
- HighlightEnabled: undefined,
3319
- AnalysisScheme: undefined,
3320
- };
3100
+ const contents = {};
3321
3101
  if (output["DefaultValue"] !== undefined) {
3322
3102
  contents.DefaultValue = (0, smithy_client_1.expectString)(output["DefaultValue"]);
3323
3103
  }
@@ -3336,14 +3116,7 @@ const deserializeAws_queryTextArrayOptions = (output, context) => {
3336
3116
  return contents;
3337
3117
  };
3338
3118
  const deserializeAws_queryTextOptions = (output, context) => {
3339
- const contents = {
3340
- DefaultValue: undefined,
3341
- SourceField: undefined,
3342
- ReturnEnabled: undefined,
3343
- SortEnabled: undefined,
3344
- HighlightEnabled: undefined,
3345
- AnalysisScheme: undefined,
3346
- };
3119
+ const contents = {};
3347
3120
  if (output["DefaultValue"] !== undefined) {
3348
3121
  contents.DefaultValue = (0, smithy_client_1.expectString)(output["DefaultValue"]);
3349
3122
  }
@@ -3365,46 +3138,35 @@ const deserializeAws_queryTextOptions = (output, context) => {
3365
3138
  return contents;
3366
3139
  };
3367
3140
  const deserializeAws_queryUpdateAvailabilityOptionsResponse = (output, context) => {
3368
- const contents = {
3369
- AvailabilityOptions: undefined,
3370
- };
3141
+ const contents = {};
3371
3142
  if (output["AvailabilityOptions"] !== undefined) {
3372
3143
  contents.AvailabilityOptions = deserializeAws_queryAvailabilityOptionsStatus(output["AvailabilityOptions"], context);
3373
3144
  }
3374
3145
  return contents;
3375
3146
  };
3376
3147
  const deserializeAws_queryUpdateDomainEndpointOptionsResponse = (output, context) => {
3377
- const contents = {
3378
- DomainEndpointOptions: undefined,
3379
- };
3148
+ const contents = {};
3380
3149
  if (output["DomainEndpointOptions"] !== undefined) {
3381
3150
  contents.DomainEndpointOptions = deserializeAws_queryDomainEndpointOptionsStatus(output["DomainEndpointOptions"], context);
3382
3151
  }
3383
3152
  return contents;
3384
3153
  };
3385
3154
  const deserializeAws_queryUpdateScalingParametersResponse = (output, context) => {
3386
- const contents = {
3387
- ScalingParameters: undefined,
3388
- };
3155
+ const contents = {};
3389
3156
  if (output["ScalingParameters"] !== undefined) {
3390
3157
  contents.ScalingParameters = deserializeAws_queryScalingParametersStatus(output["ScalingParameters"], context);
3391
3158
  }
3392
3159
  return contents;
3393
3160
  };
3394
3161
  const deserializeAws_queryUpdateServiceAccessPoliciesResponse = (output, context) => {
3395
- const contents = {
3396
- AccessPolicies: undefined,
3397
- };
3162
+ const contents = {};
3398
3163
  if (output["AccessPolicies"] !== undefined) {
3399
3164
  contents.AccessPolicies = deserializeAws_queryAccessPoliciesStatus(output["AccessPolicies"], context);
3400
3165
  }
3401
3166
  return contents;
3402
3167
  };
3403
3168
  const deserializeAws_queryValidationException = (output, context) => {
3404
- const contents = {
3405
- Code: undefined,
3406
- Message: undefined,
3407
- };
3169
+ const contents = {};
3408
3170
  if (output["Code"] !== undefined) {
3409
3171
  contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
3410
3172
  }