cloudsearch.d.ts
55.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
import {Request} from '../lib/request';
import {Response} from '../lib/response';
import {AWSError} from '../lib/error';
import {Service} from '../lib/service';
import {ServiceConfigurationOptions} from '../lib/service';
import {ConfigBase as Config} from '../lib/config-base';
interface Blob {}
declare class CloudSearch extends Service {
/**
* Constructs a service object. This object has one method for each API operation.
*/
constructor(options?: CloudSearch.Types.ClientConfiguration)
config: Config & CloudSearch.Types.ClientConfiguration;
/**
* Indexes the search suggestions. For more information, see Configuring Suggesters in the Amazon CloudSearch Developer Guide.
*/
buildSuggesters(params: CloudSearch.Types.BuildSuggestersRequest, callback?: (err: AWSError, data: CloudSearch.Types.BuildSuggestersResponse) => void): Request<CloudSearch.Types.BuildSuggestersResponse, AWSError>;
/**
* Indexes the search suggestions. For more information, see Configuring Suggesters in the Amazon CloudSearch Developer Guide.
*/
buildSuggesters(callback?: (err: AWSError, data: CloudSearch.Types.BuildSuggestersResponse) => void): Request<CloudSearch.Types.BuildSuggestersResponse, AWSError>;
/**
* Creates a new search domain. For more information, see Creating a Search Domain in the Amazon CloudSearch Developer Guide.
*/
createDomain(params: CloudSearch.Types.CreateDomainRequest, callback?: (err: AWSError, data: CloudSearch.Types.CreateDomainResponse) => void): Request<CloudSearch.Types.CreateDomainResponse, AWSError>;
/**
* Creates a new search domain. For more information, see Creating a Search Domain in the Amazon CloudSearch Developer Guide.
*/
createDomain(callback?: (err: AWSError, data: CloudSearch.Types.CreateDomainResponse) => void): Request<CloudSearch.Types.CreateDomainResponse, AWSError>;
/**
* Configures an analysis scheme that can be applied to a text or text-array field to define language-specific text processing options. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide.
*/
defineAnalysisScheme(params: CloudSearch.Types.DefineAnalysisSchemeRequest, callback?: (err: AWSError, data: CloudSearch.Types.DefineAnalysisSchemeResponse) => void): Request<CloudSearch.Types.DefineAnalysisSchemeResponse, AWSError>;
/**
* Configures an analysis scheme that can be applied to a text or text-array field to define language-specific text processing options. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide.
*/
defineAnalysisScheme(callback?: (err: AWSError, data: CloudSearch.Types.DefineAnalysisSchemeResponse) => void): Request<CloudSearch.Types.DefineAnalysisSchemeResponse, AWSError>;
/**
* Configures an Expression for the search domain. Used to create new expressions and modify existing ones. If the expression exists, the new configuration replaces the old one. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide.
*/
defineExpression(params: CloudSearch.Types.DefineExpressionRequest, callback?: (err: AWSError, data: CloudSearch.Types.DefineExpressionResponse) => void): Request<CloudSearch.Types.DefineExpressionResponse, AWSError>;
/**
* Configures an Expression for the search domain. Used to create new expressions and modify existing ones. If the expression exists, the new configuration replaces the old one. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide.
*/
defineExpression(callback?: (err: AWSError, data: CloudSearch.Types.DefineExpressionResponse) => void): Request<CloudSearch.Types.DefineExpressionResponse, AWSError>;
/**
* Configures an IndexField for the search domain. Used to create new fields and modify existing ones. You must specify the name of the domain you are configuring and an index field configuration. The index field configuration specifies a unique name, the index field type, and the options you want to configure for the field. The options you can specify depend on the IndexFieldType. If the field exists, the new configuration replaces the old one. For more information, see Configuring Index Fields in the Amazon CloudSearch Developer Guide.
*/
defineIndexField(params: CloudSearch.Types.DefineIndexFieldRequest, callback?: (err: AWSError, data: CloudSearch.Types.DefineIndexFieldResponse) => void): Request<CloudSearch.Types.DefineIndexFieldResponse, AWSError>;
/**
* Configures an IndexField for the search domain. Used to create new fields and modify existing ones. You must specify the name of the domain you are configuring and an index field configuration. The index field configuration specifies a unique name, the index field type, and the options you want to configure for the field. The options you can specify depend on the IndexFieldType. If the field exists, the new configuration replaces the old one. For more information, see Configuring Index Fields in the Amazon CloudSearch Developer Guide.
*/
defineIndexField(callback?: (err: AWSError, data: CloudSearch.Types.DefineIndexFieldResponse) => void): Request<CloudSearch.Types.DefineIndexFieldResponse, AWSError>;
/**
* Configures a suggester for a domain. A suggester enables you to display possible matches before users finish typing their queries. When you configure a suggester, you must specify the name of the text field you want to search for possible matches and a unique name for the suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide.
*/
defineSuggester(params: CloudSearch.Types.DefineSuggesterRequest, callback?: (err: AWSError, data: CloudSearch.Types.DefineSuggesterResponse) => void): Request<CloudSearch.Types.DefineSuggesterResponse, AWSError>;
/**
* Configures a suggester for a domain. A suggester enables you to display possible matches before users finish typing their queries. When you configure a suggester, you must specify the name of the text field you want to search for possible matches and a unique name for the suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide.
*/
defineSuggester(callback?: (err: AWSError, data: CloudSearch.Types.DefineSuggesterResponse) => void): Request<CloudSearch.Types.DefineSuggesterResponse, AWSError>;
/**
* Deletes an analysis scheme. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide.
*/
deleteAnalysisScheme(params: CloudSearch.Types.DeleteAnalysisSchemeRequest, callback?: (err: AWSError, data: CloudSearch.Types.DeleteAnalysisSchemeResponse) => void): Request<CloudSearch.Types.DeleteAnalysisSchemeResponse, AWSError>;
/**
* Deletes an analysis scheme. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide.
*/
deleteAnalysisScheme(callback?: (err: AWSError, data: CloudSearch.Types.DeleteAnalysisSchemeResponse) => void): Request<CloudSearch.Types.DeleteAnalysisSchemeResponse, AWSError>;
/**
* Permanently deletes a search domain and all of its data. Once a domain has been deleted, it cannot be recovered. For more information, see Deleting a Search Domain in the Amazon CloudSearch Developer Guide.
*/
deleteDomain(params: CloudSearch.Types.DeleteDomainRequest, callback?: (err: AWSError, data: CloudSearch.Types.DeleteDomainResponse) => void): Request<CloudSearch.Types.DeleteDomainResponse, AWSError>;
/**
* Permanently deletes a search domain and all of its data. Once a domain has been deleted, it cannot be recovered. For more information, see Deleting a Search Domain in the Amazon CloudSearch Developer Guide.
*/
deleteDomain(callback?: (err: AWSError, data: CloudSearch.Types.DeleteDomainResponse) => void): Request<CloudSearch.Types.DeleteDomainResponse, AWSError>;
/**
* Removes an Expression from the search domain. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide.
*/
deleteExpression(params: CloudSearch.Types.DeleteExpressionRequest, callback?: (err: AWSError, data: CloudSearch.Types.DeleteExpressionResponse) => void): Request<CloudSearch.Types.DeleteExpressionResponse, AWSError>;
/**
* Removes an Expression from the search domain. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide.
*/
deleteExpression(callback?: (err: AWSError, data: CloudSearch.Types.DeleteExpressionResponse) => void): Request<CloudSearch.Types.DeleteExpressionResponse, AWSError>;
/**
* Removes an IndexField from the search domain. For more information, see Configuring Index Fields in the Amazon CloudSearch Developer Guide.
*/
deleteIndexField(params: CloudSearch.Types.DeleteIndexFieldRequest, callback?: (err: AWSError, data: CloudSearch.Types.DeleteIndexFieldResponse) => void): Request<CloudSearch.Types.DeleteIndexFieldResponse, AWSError>;
/**
* Removes an IndexField from the search domain. For more information, see Configuring Index Fields in the Amazon CloudSearch Developer Guide.
*/
deleteIndexField(callback?: (err: AWSError, data: CloudSearch.Types.DeleteIndexFieldResponse) => void): Request<CloudSearch.Types.DeleteIndexFieldResponse, AWSError>;
/**
* Deletes a suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide.
*/
deleteSuggester(params: CloudSearch.Types.DeleteSuggesterRequest, callback?: (err: AWSError, data: CloudSearch.Types.DeleteSuggesterResponse) => void): Request<CloudSearch.Types.DeleteSuggesterResponse, AWSError>;
/**
* Deletes a suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide.
*/
deleteSuggester(callback?: (err: AWSError, data: CloudSearch.Types.DeleteSuggesterResponse) => void): Request<CloudSearch.Types.DeleteSuggesterResponse, AWSError>;
/**
* Gets the analysis schemes configured for a domain. An analysis scheme defines language-specific text processing options for a text field. Can be limited to specific analysis schemes by name. By default, shows all analysis schemes and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide.
*/
describeAnalysisSchemes(params: CloudSearch.Types.DescribeAnalysisSchemesRequest, callback?: (err: AWSError, data: CloudSearch.Types.DescribeAnalysisSchemesResponse) => void): Request<CloudSearch.Types.DescribeAnalysisSchemesResponse, AWSError>;
/**
* Gets the analysis schemes configured for a domain. An analysis scheme defines language-specific text processing options for a text field. Can be limited to specific analysis schemes by name. By default, shows all analysis schemes and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide.
*/
describeAnalysisSchemes(callback?: (err: AWSError, data: CloudSearch.Types.DescribeAnalysisSchemesResponse) => void): Request<CloudSearch.Types.DescribeAnalysisSchemesResponse, AWSError>;
/**
* Gets the availability options configured for a domain. By default, shows the configuration with any pending changes. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Availability Options in the Amazon CloudSearch Developer Guide.
*/
describeAvailabilityOptions(params: CloudSearch.Types.DescribeAvailabilityOptionsRequest, callback?: (err: AWSError, data: CloudSearch.Types.DescribeAvailabilityOptionsResponse) => void): Request<CloudSearch.Types.DescribeAvailabilityOptionsResponse, AWSError>;
/**
* Gets the availability options configured for a domain. By default, shows the configuration with any pending changes. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Availability Options in the Amazon CloudSearch Developer Guide.
*/
describeAvailabilityOptions(callback?: (err: AWSError, data: CloudSearch.Types.DescribeAvailabilityOptionsResponse) => void): Request<CloudSearch.Types.DescribeAvailabilityOptionsResponse, AWSError>;
/**
* Returns the domain's endpoint options, specifically whether all requests to the domain must arrive over HTTPS. For more information, see Configuring Domain Endpoint Options in the Amazon CloudSearch Developer Guide.
*/
describeDomainEndpointOptions(params: CloudSearch.Types.DescribeDomainEndpointOptionsRequest, callback?: (err: AWSError, data: CloudSearch.Types.DescribeDomainEndpointOptionsResponse) => void): Request<CloudSearch.Types.DescribeDomainEndpointOptionsResponse, AWSError>;
/**
* Returns the domain's endpoint options, specifically whether all requests to the domain must arrive over HTTPS. For more information, see Configuring Domain Endpoint Options in the Amazon CloudSearch Developer Guide.
*/
describeDomainEndpointOptions(callback?: (err: AWSError, data: CloudSearch.Types.DescribeDomainEndpointOptionsResponse) => void): Request<CloudSearch.Types.DescribeDomainEndpointOptionsResponse, AWSError>;
/**
* Gets information about the search domains owned by this account. Can be limited to specific domains. Shows all domains by default. To get the number of searchable documents in a domain, use the console or submit a matchall request to your domain's search endpoint: q=matchall&amp;q.parser=structured&amp;size=0. For more information, see Getting Information about a Search Domain in the Amazon CloudSearch Developer Guide.
*/
describeDomains(params: CloudSearch.Types.DescribeDomainsRequest, callback?: (err: AWSError, data: CloudSearch.Types.DescribeDomainsResponse) => void): Request<CloudSearch.Types.DescribeDomainsResponse, AWSError>;
/**
* Gets information about the search domains owned by this account. Can be limited to specific domains. Shows all domains by default. To get the number of searchable documents in a domain, use the console or submit a matchall request to your domain's search endpoint: q=matchall&amp;q.parser=structured&amp;size=0. For more information, see Getting Information about a Search Domain in the Amazon CloudSearch Developer Guide.
*/
describeDomains(callback?: (err: AWSError, data: CloudSearch.Types.DescribeDomainsResponse) => void): Request<CloudSearch.Types.DescribeDomainsResponse, AWSError>;
/**
* Gets the expressions configured for the search domain. Can be limited to specific expressions by name. By default, shows all expressions and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide.
*/
describeExpressions(params: CloudSearch.Types.DescribeExpressionsRequest, callback?: (err: AWSError, data: CloudSearch.Types.DescribeExpressionsResponse) => void): Request<CloudSearch.Types.DescribeExpressionsResponse, AWSError>;
/**
* Gets the expressions configured for the search domain. Can be limited to specific expressions by name. By default, shows all expressions and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide.
*/
describeExpressions(callback?: (err: AWSError, data: CloudSearch.Types.DescribeExpressionsResponse) => void): Request<CloudSearch.Types.DescribeExpressionsResponse, AWSError>;
/**
* Gets information about the index fields configured for the search domain. Can be limited to specific fields by name. By default, shows all fields and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Getting Domain Information in the Amazon CloudSearch Developer Guide.
*/
describeIndexFields(params: CloudSearch.Types.DescribeIndexFieldsRequest, callback?: (err: AWSError, data: CloudSearch.Types.DescribeIndexFieldsResponse) => void): Request<CloudSearch.Types.DescribeIndexFieldsResponse, AWSError>;
/**
* Gets information about the index fields configured for the search domain. Can be limited to specific fields by name. By default, shows all fields and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Getting Domain Information in the Amazon CloudSearch Developer Guide.
*/
describeIndexFields(callback?: (err: AWSError, data: CloudSearch.Types.DescribeIndexFieldsResponse) => void): Request<CloudSearch.Types.DescribeIndexFieldsResponse, AWSError>;
/**
* Gets the scaling parameters configured for a domain. A domain's scaling parameters specify the desired search instance type and replication count. For more information, see Configuring Scaling Options in the Amazon CloudSearch Developer Guide.
*/
describeScalingParameters(params: CloudSearch.Types.DescribeScalingParametersRequest, callback?: (err: AWSError, data: CloudSearch.Types.DescribeScalingParametersResponse) => void): Request<CloudSearch.Types.DescribeScalingParametersResponse, AWSError>;
/**
* Gets the scaling parameters configured for a domain. A domain's scaling parameters specify the desired search instance type and replication count. For more information, see Configuring Scaling Options in the Amazon CloudSearch Developer Guide.
*/
describeScalingParameters(callback?: (err: AWSError, data: CloudSearch.Types.DescribeScalingParametersResponse) => void): Request<CloudSearch.Types.DescribeScalingParametersResponse, AWSError>;
/**
* Gets information about the access policies that control access to the domain's document and search endpoints. By default, shows the configuration with any pending changes. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Access for a Search Domain in the Amazon CloudSearch Developer Guide.
*/
describeServiceAccessPolicies(params: CloudSearch.Types.DescribeServiceAccessPoliciesRequest, callback?: (err: AWSError, data: CloudSearch.Types.DescribeServiceAccessPoliciesResponse) => void): Request<CloudSearch.Types.DescribeServiceAccessPoliciesResponse, AWSError>;
/**
* Gets information about the access policies that control access to the domain's document and search endpoints. By default, shows the configuration with any pending changes. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Access for a Search Domain in the Amazon CloudSearch Developer Guide.
*/
describeServiceAccessPolicies(callback?: (err: AWSError, data: CloudSearch.Types.DescribeServiceAccessPoliciesResponse) => void): Request<CloudSearch.Types.DescribeServiceAccessPoliciesResponse, AWSError>;
/**
* Gets the suggesters configured for a domain. A suggester enables you to display possible matches before users finish typing their queries. Can be limited to specific suggesters by name. By default, shows all suggesters and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide.
*/
describeSuggesters(params: CloudSearch.Types.DescribeSuggestersRequest, callback?: (err: AWSError, data: CloudSearch.Types.DescribeSuggestersResponse) => void): Request<CloudSearch.Types.DescribeSuggestersResponse, AWSError>;
/**
* Gets the suggesters configured for a domain. A suggester enables you to display possible matches before users finish typing their queries. Can be limited to specific suggesters by name. By default, shows all suggesters and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide.
*/
describeSuggesters(callback?: (err: AWSError, data: CloudSearch.Types.DescribeSuggestersResponse) => void): Request<CloudSearch.Types.DescribeSuggestersResponse, AWSError>;
/**
* Tells the search domain to start indexing its documents using the latest indexing options. This operation must be invoked to activate options whose OptionStatus is RequiresIndexDocuments.
*/
indexDocuments(params: CloudSearch.Types.IndexDocumentsRequest, callback?: (err: AWSError, data: CloudSearch.Types.IndexDocumentsResponse) => void): Request<CloudSearch.Types.IndexDocumentsResponse, AWSError>;
/**
* Tells the search domain to start indexing its documents using the latest indexing options. This operation must be invoked to activate options whose OptionStatus is RequiresIndexDocuments.
*/
indexDocuments(callback?: (err: AWSError, data: CloudSearch.Types.IndexDocumentsResponse) => void): Request<CloudSearch.Types.IndexDocumentsResponse, AWSError>;
/**
* Lists all search domains owned by an account.
*/
listDomainNames(callback?: (err: AWSError, data: CloudSearch.Types.ListDomainNamesResponse) => void): Request<CloudSearch.Types.ListDomainNamesResponse, AWSError>;
/**
* Configures the availability options for a domain. Enabling the Multi-AZ option expands an Amazon CloudSearch domain to an additional Availability Zone in the same Region to increase fault tolerance in the event of a service disruption. Changes to the Multi-AZ option can take about half an hour to become active. For more information, see Configuring Availability Options in the Amazon CloudSearch Developer Guide.
*/
updateAvailabilityOptions(params: CloudSearch.Types.UpdateAvailabilityOptionsRequest, callback?: (err: AWSError, data: CloudSearch.Types.UpdateAvailabilityOptionsResponse) => void): Request<CloudSearch.Types.UpdateAvailabilityOptionsResponse, AWSError>;
/**
* Configures the availability options for a domain. Enabling the Multi-AZ option expands an Amazon CloudSearch domain to an additional Availability Zone in the same Region to increase fault tolerance in the event of a service disruption. Changes to the Multi-AZ option can take about half an hour to become active. For more information, see Configuring Availability Options in the Amazon CloudSearch Developer Guide.
*/
updateAvailabilityOptions(callback?: (err: AWSError, data: CloudSearch.Types.UpdateAvailabilityOptionsResponse) => void): Request<CloudSearch.Types.UpdateAvailabilityOptionsResponse, AWSError>;
/**
* Updates the domain's endpoint options, specifically whether all requests to the domain must arrive over HTTPS. For more information, see Configuring Domain Endpoint Options in the Amazon CloudSearch Developer Guide.
*/
updateDomainEndpointOptions(params: CloudSearch.Types.UpdateDomainEndpointOptionsRequest, callback?: (err: AWSError, data: CloudSearch.Types.UpdateDomainEndpointOptionsResponse) => void): Request<CloudSearch.Types.UpdateDomainEndpointOptionsResponse, AWSError>;
/**
* Updates the domain's endpoint options, specifically whether all requests to the domain must arrive over HTTPS. For more information, see Configuring Domain Endpoint Options in the Amazon CloudSearch Developer Guide.
*/
updateDomainEndpointOptions(callback?: (err: AWSError, data: CloudSearch.Types.UpdateDomainEndpointOptionsResponse) => void): Request<CloudSearch.Types.UpdateDomainEndpointOptionsResponse, AWSError>;
/**
* Configures scaling parameters for a domain. A domain's scaling parameters specify the desired search instance type and replication count. Amazon CloudSearch will still automatically scale your domain based on the volume of data and traffic, but not below the desired instance type and replication count. If the Multi-AZ option is enabled, these values control the resources used per Availability Zone. For more information, see Configuring Scaling Options in the Amazon CloudSearch Developer Guide.
*/
updateScalingParameters(params: CloudSearch.Types.UpdateScalingParametersRequest, callback?: (err: AWSError, data: CloudSearch.Types.UpdateScalingParametersResponse) => void): Request<CloudSearch.Types.UpdateScalingParametersResponse, AWSError>;
/**
* Configures scaling parameters for a domain. A domain's scaling parameters specify the desired search instance type and replication count. Amazon CloudSearch will still automatically scale your domain based on the volume of data and traffic, but not below the desired instance type and replication count. If the Multi-AZ option is enabled, these values control the resources used per Availability Zone. For more information, see Configuring Scaling Options in the Amazon CloudSearch Developer Guide.
*/
updateScalingParameters(callback?: (err: AWSError, data: CloudSearch.Types.UpdateScalingParametersResponse) => void): Request<CloudSearch.Types.UpdateScalingParametersResponse, AWSError>;
/**
* Configures the access rules that control access to the domain's document and search endpoints. For more information, see Configuring Access for an Amazon CloudSearch Domain.
*/
updateServiceAccessPolicies(params: CloudSearch.Types.UpdateServiceAccessPoliciesRequest, callback?: (err: AWSError, data: CloudSearch.Types.UpdateServiceAccessPoliciesResponse) => void): Request<CloudSearch.Types.UpdateServiceAccessPoliciesResponse, AWSError>;
/**
* Configures the access rules that control access to the domain's document and search endpoints. For more information, see Configuring Access for an Amazon CloudSearch Domain.
*/
updateServiceAccessPolicies(callback?: (err: AWSError, data: CloudSearch.Types.UpdateServiceAccessPoliciesResponse) => void): Request<CloudSearch.Types.UpdateServiceAccessPoliciesResponse, AWSError>;
}
declare namespace CloudSearch {
export type APIVersion = string;
export type ARN = string;
export interface AccessPoliciesStatus {
Options: PolicyDocument;
Status: OptionStatus;
}
export type AlgorithmicStemming = "none"|"minimal"|"light"|"full"|string;
export interface AnalysisOptions {
/**
* A JSON object that defines synonym groups and aliases. A synonym group is an array of arrays, where each sub-array is a group of terms where each term in the group is considered a synonym of every other term in the group. The aliases value is an object that contains a collection of string:value pairs where the string specifies a term and the array of values specifies each of the aliases for that term. An alias is considered a synonym of the specified term, but the term is not considered a synonym of the alias. For more information about specifying synonyms, see Synonyms in the Amazon CloudSearch Developer Guide.
*/
Synonyms?: String;
/**
* A JSON array of terms to ignore during indexing and searching. For example, ["a", "an", "the", "of"]. The stopwords dictionary must explicitly list each word you want to ignore. Wildcards and regular expressions are not supported.
*/
Stopwords?: String;
/**
* A JSON object that contains a collection of string:value pairs that each map a term to its stem. For example, {"term1": "stem1", "term2": "stem2", "term3": "stem3"}. The stemming dictionary is applied in addition to any algorithmic stemming. This enables you to override the results of the algorithmic stemming to correct specific cases of overstemming or understemming. The maximum size of a stemming dictionary is 500 KB.
*/
StemmingDictionary?: String;
/**
* A JSON array that contains a collection of terms, tokens, readings and part of speech for Japanese Tokenizaiton. The Japanese tokenization dictionary enables you to override the default tokenization for selected terms. This is only valid for Japanese language fields.
*/
JapaneseTokenizationDictionary?: String;
/**
* The level of algorithmic stemming to perform: none, minimal, light, or full. The available levels vary depending on the language. For more information, see Language Specific Text Processing Settings in the Amazon CloudSearch Developer Guide
*/
AlgorithmicStemming?: AlgorithmicStemming;
}
export interface AnalysisScheme {
AnalysisSchemeName: StandardName;
AnalysisSchemeLanguage: AnalysisSchemeLanguage;
AnalysisOptions?: AnalysisOptions;
}
export type AnalysisSchemeLanguage = "ar"|"bg"|"ca"|"cs"|"da"|"de"|"el"|"en"|"es"|"eu"|"fa"|"fi"|"fr"|"ga"|"gl"|"he"|"hi"|"hu"|"hy"|"id"|"it"|"ja"|"ko"|"lv"|"mul"|"nl"|"no"|"pt"|"ro"|"ru"|"sv"|"th"|"tr"|"zh-Hans"|"zh-Hant"|string;
export interface AnalysisSchemeStatus {
Options: AnalysisScheme;
Status: OptionStatus;
}
export type AnalysisSchemeStatusList = AnalysisSchemeStatus[];
export interface AvailabilityOptionsStatus {
/**
* The availability options configured for the domain.
*/
Options: MultiAZ;
Status: OptionStatus;
}
export type Boolean = boolean;
export interface BuildSuggestersRequest {
DomainName: DomainName;
}
export interface BuildSuggestersResponse {
FieldNames?: FieldNameList;
}
export interface CreateDomainRequest {
/**
* A name for the domain you are creating. Allowed characters are a-z (lower-case letters), 0-9, and hyphen (-). Domain names must start with a letter or number and be at least 3 and no more than 28 characters long.
*/
DomainName: DomainName;
}
export interface CreateDomainResponse {
DomainStatus?: DomainStatus;
}
export interface DateArrayOptions {
/**
* A value to use for the field if the field isn't specified for a document.
*/
DefaultValue?: FieldValue;
/**
* A list of source fields to map to the field.
*/
SourceFields?: FieldNameCommaList;
/**
* Whether facet information can be returned for the field.
*/
FacetEnabled?: Boolean;
/**
* Whether the contents of the field are searchable.
*/
SearchEnabled?: Boolean;
/**
* Whether the contents of the field can be returned in the search results.
*/
ReturnEnabled?: Boolean;
}
export interface DateOptions {
/**
* A value to use for the field if the field isn't specified for a document.
*/
DefaultValue?: FieldValue;
SourceField?: FieldName;
/**
* Whether facet information can be returned for the field.
*/
FacetEnabled?: Boolean;
/**
* Whether the contents of the field are searchable.
*/
SearchEnabled?: Boolean;
/**
* Whether the contents of the field can be returned in the search results.
*/
ReturnEnabled?: Boolean;
/**
* Whether the field can be used to sort the search results.
*/
SortEnabled?: Boolean;
}
export interface DefineAnalysisSchemeRequest {
DomainName: DomainName;
AnalysisScheme: AnalysisScheme;
}
export interface DefineAnalysisSchemeResponse {
AnalysisScheme: AnalysisSchemeStatus;
}
export interface DefineExpressionRequest {
DomainName: DomainName;
Expression: Expression;
}
export interface DefineExpressionResponse {
Expression: ExpressionStatus;
}
export interface DefineIndexFieldRequest {
DomainName: DomainName;
/**
* The index field and field options you want to configure.
*/
IndexField: IndexField;
}
export interface DefineIndexFieldResponse {
IndexField: IndexFieldStatus;
}
export interface DefineSuggesterRequest {
DomainName: DomainName;
Suggester: Suggester;
}
export interface DefineSuggesterResponse {
Suggester: SuggesterStatus;
}
export interface DeleteAnalysisSchemeRequest {
DomainName: DomainName;
/**
* The name of the analysis scheme you want to delete.
*/
AnalysisSchemeName: StandardName;
}
export interface DeleteAnalysisSchemeResponse {
/**
* The status of the analysis scheme being deleted.
*/
AnalysisScheme: AnalysisSchemeStatus;
}
export interface DeleteDomainRequest {
/**
* The name of the domain you want to permanently delete.
*/
DomainName: DomainName;
}
export interface DeleteDomainResponse {
DomainStatus?: DomainStatus;
}
export interface DeleteExpressionRequest {
DomainName: DomainName;
/**
* The name of the Expression to delete.
*/
ExpressionName: StandardName;
}
export interface DeleteExpressionResponse {
/**
* The status of the expression being deleted.
*/
Expression: ExpressionStatus;
}
export interface DeleteIndexFieldRequest {
DomainName: DomainName;
/**
* The name of the index field your want to remove from the domain's indexing options.
*/
IndexFieldName: DynamicFieldName;
}
export interface DeleteIndexFieldResponse {
/**
* The status of the index field being deleted.
*/
IndexField: IndexFieldStatus;
}
export interface DeleteSuggesterRequest {
DomainName: DomainName;
/**
* Specifies the name of the suggester you want to delete.
*/
SuggesterName: StandardName;
}
export interface DeleteSuggesterResponse {
/**
* The status of the suggester being deleted.
*/
Suggester: SuggesterStatus;
}
export interface DescribeAnalysisSchemesRequest {
/**
* The name of the domain you want to describe.
*/
DomainName: DomainName;
/**
* The analysis schemes you want to describe.
*/
AnalysisSchemeNames?: StandardNameList;
/**
* Whether to display the deployed configuration (true) or include any pending changes (false). Defaults to false.
*/
Deployed?: Boolean;
}
export interface DescribeAnalysisSchemesResponse {
/**
* The analysis scheme descriptions.
*/
AnalysisSchemes: AnalysisSchemeStatusList;
}
export interface DescribeAvailabilityOptionsRequest {
/**
* The name of the domain you want to describe.
*/
DomainName: DomainName;
/**
* Whether to display the deployed configuration (true) or include any pending changes (false). Defaults to false.
*/
Deployed?: Boolean;
}
export interface DescribeAvailabilityOptionsResponse {
/**
* The availability options configured for the domain. Indicates whether Multi-AZ is enabled for the domain.
*/
AvailabilityOptions?: AvailabilityOptionsStatus;
}
export interface DescribeDomainEndpointOptionsRequest {
/**
* A string that represents the name of a domain.
*/
DomainName: DomainName;
/**
* Whether to retrieve the latest configuration (which might be in a Processing state) or the current, active configuration. Defaults to false.
*/
Deployed?: Boolean;
}
export interface DescribeDomainEndpointOptionsResponse {
/**
* The status and configuration of a search domain's endpoint options.
*/
DomainEndpointOptions?: DomainEndpointOptionsStatus;
}
export interface DescribeDomainsRequest {
/**
* The names of the domains you want to include in the response.
*/
DomainNames?: DomainNameList;
}
export interface DescribeDomainsResponse {
DomainStatusList: DomainStatusList;
}
export interface DescribeExpressionsRequest {
/**
* The name of the domain you want to describe.
*/
DomainName: DomainName;
/**
* Limits the DescribeExpressions response to the specified expressions. If not specified, all expressions are shown.
*/
ExpressionNames?: StandardNameList;
/**
* Whether to display the deployed configuration (true) or include any pending changes (false). Defaults to false.
*/
Deployed?: Boolean;
}
export interface DescribeExpressionsResponse {
/**
* The expressions configured for the domain.
*/
Expressions: ExpressionStatusList;
}
export interface DescribeIndexFieldsRequest {
/**
* The name of the domain you want to describe.
*/
DomainName: DomainName;
/**
* A list of the index fields you want to describe. If not specified, information is returned for all configured index fields.
*/
FieldNames?: DynamicFieldNameList;
/**
* Whether to display the deployed configuration (true) or include any pending changes (false). Defaults to false.
*/
Deployed?: Boolean;
}
export interface DescribeIndexFieldsResponse {
/**
* The index fields configured for the domain.
*/
IndexFields: IndexFieldStatusList;
}
export interface DescribeScalingParametersRequest {
DomainName: DomainName;
}
export interface DescribeScalingParametersResponse {
ScalingParameters: ScalingParametersStatus;
}
export interface DescribeServiceAccessPoliciesRequest {
/**
* The name of the domain you want to describe.
*/
DomainName: DomainName;
/**
* Whether to display the deployed configuration (true) or include any pending changes (false). Defaults to false.
*/
Deployed?: Boolean;
}
export interface DescribeServiceAccessPoliciesResponse {
/**
* The access rules configured for the domain specified in the request.
*/
AccessPolicies: AccessPoliciesStatus;
}
export interface DescribeSuggestersRequest {
/**
* The name of the domain you want to describe.
*/
DomainName: DomainName;
/**
* The suggesters you want to describe.
*/
SuggesterNames?: StandardNameList;
/**
* Whether to display the deployed configuration (true) or include any pending changes (false). Defaults to false.
*/
Deployed?: Boolean;
}
export interface DescribeSuggestersResponse {
/**
* The suggesters configured for the domain specified in the request.
*/
Suggesters: SuggesterStatusList;
}
export interface DocumentSuggesterOptions {
/**
* The name of the index field you want to use for suggestions.
*/
SourceField: FieldName;
/**
* The level of fuzziness allowed when suggesting matches for a string: none, low, or high. With none, the specified string is treated as an exact prefix. With low, suggestions must differ from the specified string by no more than one character. With high, suggestions can differ by up to two characters. The default is none.
*/
FuzzyMatching?: SuggesterFuzzyMatching;
/**
* An expression that computes a score for each suggestion to control how they are sorted. The scores are rounded to the nearest integer, with a floor of 0 and a ceiling of 2^31-1. A document's relevance score is not computed for suggestions, so sort expressions cannot reference the _score value. To sort suggestions using a numeric field or existing expression, simply specify the name of the field or expression. If no expression is configured for the suggester, the suggestions are sorted with the closest matches listed first.
*/
SortExpression?: String;
}
export interface DomainEndpointOptions {
/**
* Whether the domain is HTTPS only enabled.
*/
EnforceHTTPS?: Boolean;
/**
* The minimum required TLS version
*/
TLSSecurityPolicy?: TLSSecurityPolicy;
}
export interface DomainEndpointOptionsStatus {
/**
* The domain endpoint options configured for the domain.
*/
Options: DomainEndpointOptions;
/**
* The status of the configured domain endpoint options.
*/
Status: OptionStatus;
}
export type DomainId = string;
export type DomainName = string;
export type DomainNameList = DomainName[];
export type DomainNameMap = {[key: string]: APIVersion};
export interface DomainStatus {
DomainId: DomainId;
DomainName: DomainName;
ARN?: ARN;
/**
* True if the search domain is created. It can take several minutes to initialize a domain when CreateDomain is called. Newly created search domains are returned from DescribeDomains with a false value for Created until domain creation is complete.
*/
Created?: Boolean;
/**
* True if the search domain has been deleted. The system must clean up resources dedicated to the search domain when DeleteDomain is called. Newly deleted search domains are returned from DescribeDomains with a true value for IsDeleted for several minutes until resource cleanup is complete.
*/
Deleted?: Boolean;
/**
* The service endpoint for updating documents in a search domain.
*/
DocService?: ServiceEndpoint;
/**
* The service endpoint for requesting search results from a search domain.
*/
SearchService?: ServiceEndpoint;
/**
* True if IndexDocuments needs to be called to activate the current domain configuration.
*/
RequiresIndexDocuments: Boolean;
/**
* True if processing is being done to activate the current domain configuration.
*/
Processing?: Boolean;
/**
* The instance type that is being used to process search requests.
*/
SearchInstanceType?: SearchInstanceType;
/**
* The number of partitions across which the search index is spread.
*/
SearchPartitionCount?: PartitionCount;
/**
* The number of search instances that are available to process search requests.
*/
SearchInstanceCount?: InstanceCount;
Limits?: Limits;
}
export type DomainStatusList = DomainStatus[];
export type Double = number;
export interface DoubleArrayOptions {
/**
* A value to use for the field if the field isn't specified for a document.
*/
DefaultValue?: Double;
/**
* A list of source fields to map to the field.
*/
SourceFields?: FieldNameCommaList;
/**
* Whether facet information can be returned for the field.
*/
FacetEnabled?: Boolean;
/**
* Whether the contents of the field are searchable.
*/
SearchEnabled?: Boolean;
/**
* Whether the contents of the field can be returned in the search results.
*/
ReturnEnabled?: Boolean;
}
export interface DoubleOptions {
/**
* A value to use for the field if the field isn't specified for a document. This can be important if you are using the field in an expression and that field is not present in every document.
*/
DefaultValue?: Double;
/**
* The name of the source field to map to the field.
*/
SourceField?: FieldName;
/**
* Whether facet information can be returned for the field.
*/
FacetEnabled?: Boolean;
/**
* Whether the contents of the field are searchable.
*/
SearchEnabled?: Boolean;
/**
* Whether the contents of the field can be returned in the search results.
*/
ReturnEnabled?: Boolean;
/**
* Whether the field can be used to sort the search results.
*/
SortEnabled?: Boolean;
}
export type DynamicFieldName = string;
export type DynamicFieldNameList = DynamicFieldName[];
export interface Expression {
ExpressionName: StandardName;
ExpressionValue: ExpressionValue;
}
export interface ExpressionStatus {
/**
* The expression that is evaluated for sorting while processing a search request.
*/
Options: Expression;
Status: OptionStatus;
}
export type ExpressionStatusList = ExpressionStatus[];
export type ExpressionValue = string;
export type FieldName = string;
export type FieldNameCommaList = string;
export type FieldNameList = FieldName[];
export type FieldValue = string;
export interface IndexDocumentsRequest {
DomainName: DomainName;
}
export interface IndexDocumentsResponse {
/**
* The names of the fields that are currently being indexed.
*/
FieldNames?: FieldNameList;
}
export interface IndexField {
/**
* A string that represents the name of an index field. CloudSearch supports regular index fields as well as dynamic fields. A dynamic field's name defines a pattern that begins or ends with a wildcard. Any document fields that don't map to a regular index field but do match a dynamic field's pattern are configured with the dynamic field's indexing options. Regular field names begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). Dynamic field names must begin or end with a wildcard (*). The wildcard can also be the only character in a dynamic field name. Multiple wildcards, and wildcards embedded within a string are not supported. The name score is reserved and cannot be used as a field name. To reference a document's ID, you can use the name _id.
*/
IndexFieldName: DynamicFieldName;
IndexFieldType: IndexFieldType;
IntOptions?: IntOptions;
DoubleOptions?: DoubleOptions;
LiteralOptions?: LiteralOptions;
TextOptions?: TextOptions;
DateOptions?: DateOptions;
LatLonOptions?: LatLonOptions;
IntArrayOptions?: IntArrayOptions;
DoubleArrayOptions?: DoubleArrayOptions;
LiteralArrayOptions?: LiteralArrayOptions;
TextArrayOptions?: TextArrayOptions;
DateArrayOptions?: DateArrayOptions;
}
export interface IndexFieldStatus {
Options: IndexField;
Status: OptionStatus;
}
export type IndexFieldStatusList = IndexFieldStatus[];
export type IndexFieldType = "int"|"double"|"literal"|"text"|"date"|"latlon"|"int-array"|"double-array"|"literal-array"|"text-array"|"date-array"|string;
export type InstanceCount = number;
export interface IntArrayOptions {
/**
* A value to use for the field if the field isn't specified for a document.
*/
DefaultValue?: Long;
/**
* A list of source fields to map to the field.
*/
SourceFields?: FieldNameCommaList;
/**
* Whether facet information can be returned for the field.
*/
FacetEnabled?: Boolean;
/**
* Whether the contents of the field are searchable.
*/
SearchEnabled?: Boolean;
/**
* Whether the contents of the field can be returned in the search results.
*/
ReturnEnabled?: Boolean;
}
export interface IntOptions {
/**
* A value to use for the field if the field isn't specified for a document. This can be important if you are using the field in an expression and that field is not present in every document.
*/
DefaultValue?: Long;
/**
* The name of the source field to map to the field.
*/
SourceField?: FieldName;
/**
* Whether facet information can be returned for the field.
*/
FacetEnabled?: Boolean;
/**
* Whether the contents of the field are searchable.
*/
SearchEnabled?: Boolean;
/**
* Whether the contents of the field can be returned in the search results.
*/
ReturnEnabled?: Boolean;
/**
* Whether the field can be used to sort the search results.
*/
SortEnabled?: Boolean;
}
export interface LatLonOptions {
/**
* A value to use for the field if the field isn't specified for a document.
*/
DefaultValue?: FieldValue;
SourceField?: FieldName;
/**
* Whether facet information can be returned for the field.
*/
FacetEnabled?: Boolean;
/**
* Whether the contents of the field are searchable.
*/
SearchEnabled?: Boolean;
/**
* Whether the contents of the field can be returned in the search results.
*/
ReturnEnabled?: Boolean;
/**
* Whether the field can be used to sort the search results.
*/
SortEnabled?: Boolean;
}
export interface Limits {
MaximumReplicationCount: MaximumReplicationCount;
MaximumPartitionCount: MaximumPartitionCount;
}
export interface ListDomainNamesResponse {
/**
* The names of the search domains owned by an account.
*/
DomainNames?: DomainNameMap;
}
export interface LiteralArrayOptions {
/**
* A value to use for the field if the field isn't specified for a document.
*/
DefaultValue?: FieldValue;
/**
* A list of source fields to map to the field.
*/
SourceFields?: FieldNameCommaList;
/**
* Whether facet information can be returned for the field.
*/
FacetEnabled?: Boolean;
/**
* Whether the contents of the field are searchable.
*/
SearchEnabled?: Boolean;
/**
* Whether the contents of the field can be returned in the search results.
*/
ReturnEnabled?: Boolean;
}
export interface LiteralOptions {
/**
* A value to use for the field if the field isn't specified for a document.
*/
DefaultValue?: FieldValue;
SourceField?: FieldName;
/**
* Whether facet information can be returned for the field.
*/
FacetEnabled?: Boolean;
/**
* Whether the contents of the field are searchable.
*/
SearchEnabled?: Boolean;
/**
* Whether the contents of the field can be returned in the search results.
*/
ReturnEnabled?: Boolean;
/**
* Whether the field can be used to sort the search results.
*/
SortEnabled?: Boolean;
}
export type Long = number;
export type MaximumPartitionCount = number;
export type MaximumReplicationCount = number;
export type MultiAZ = boolean;
export type OptionState = "RequiresIndexDocuments"|"Processing"|"Active"|"FailedToValidate"|string;
export interface OptionStatus {
/**
* A timestamp for when this option was created.
*/
CreationDate: UpdateTimestamp;
/**
* A timestamp for when this option was last updated.
*/
UpdateDate: UpdateTimestamp;
/**
* A unique integer that indicates when this option was last updated.
*/
UpdateVersion?: UIntValue;
/**
* The state of processing a change to an option. Possible values: RequiresIndexDocuments: the option's latest value will not be deployed until IndexDocuments has been called and indexing is complete. Processing: the option's latest value is in the process of being activated. Active: the option's latest value is completely deployed. FailedToValidate: the option value is not compatible with the domain's data and cannot be used to index the data. You must either modify the option value or update or remove the incompatible documents.
*/
State: OptionState;
/**
* Indicates that the option will be deleted once processing is complete.
*/
PendingDeletion?: Boolean;
}
export type PartitionCount = number;
export type PartitionInstanceType = "search.m1.small"|"search.m1.large"|"search.m2.xlarge"|"search.m2.2xlarge"|"search.m3.medium"|"search.m3.large"|"search.m3.xlarge"|"search.m3.2xlarge"|string;
export type PolicyDocument = string;
export interface ScalingParameters {
/**
* The instance type that you want to preconfigure for your domain. For example, search.m1.small.
*/
DesiredInstanceType?: PartitionInstanceType;
/**
* The number of replicas you want to preconfigure for each index partition.
*/
DesiredReplicationCount?: UIntValue;
/**
* The number of partitions you want to preconfigure for your domain. Only valid when you select m2.2xlarge as the desired instance type.
*/
DesiredPartitionCount?: UIntValue;
}
export interface ScalingParametersStatus {
Options: ScalingParameters;
Status: OptionStatus;
}
export type SearchInstanceType = string;
export interface ServiceEndpoint {
Endpoint?: ServiceUrl;
}
export type ServiceUrl = string;
export type StandardName = string;
export type StandardNameList = StandardName[];
export type String = string;
export interface Suggester {
SuggesterName: StandardName;
DocumentSuggesterOptions: DocumentSuggesterOptions;
}
export type SuggesterFuzzyMatching = "none"|"low"|"high"|string;
export interface SuggesterStatus {
Options: Suggester;
Status: OptionStatus;
}
export type SuggesterStatusList = SuggesterStatus[];
export type TLSSecurityPolicy = "Policy-Min-TLS-1-0-2019-07"|"Policy-Min-TLS-1-2-2019-07"|string;
export interface TextArrayOptions {
/**
* A value to use for the field if the field isn't specified for a document.
*/
DefaultValue?: FieldValue;
/**
* A list of source fields to map to the field.
*/
SourceFields?: FieldNameCommaList;
/**
* Whether the contents of the field can be returned in the search results.
*/
ReturnEnabled?: Boolean;
/**
* Whether highlights can be returned for the field.
*/
HighlightEnabled?: Boolean;
/**
* The name of an analysis scheme for a text-array field.
*/
AnalysisScheme?: Word;
}
export interface TextOptions {
/**
* A value to use for the field if the field isn't specified for a document.
*/
DefaultValue?: FieldValue;
SourceField?: FieldName;
/**
* Whether the contents of the field can be returned in the search results.
*/
ReturnEnabled?: Boolean;
/**
* Whether the field can be used to sort the search results.
*/
SortEnabled?: Boolean;
/**
* Whether highlights can be returned for the field.
*/
HighlightEnabled?: Boolean;
/**
* The name of an analysis scheme for a text field.
*/
AnalysisScheme?: Word;
}
export type UIntValue = number;
export interface UpdateAvailabilityOptionsRequest {
DomainName: DomainName;
/**
* You expand an existing search domain to a second Availability Zone by setting the Multi-AZ option to true. Similarly, you can turn off the Multi-AZ option to downgrade the domain to a single Availability Zone by setting the Multi-AZ option to false.
*/
MultiAZ: Boolean;
}
export interface UpdateAvailabilityOptionsResponse {
/**
* The newly-configured availability options. Indicates whether Multi-AZ is enabled for the domain.
*/
AvailabilityOptions?: AvailabilityOptionsStatus;
}
export interface UpdateDomainEndpointOptionsRequest {
/**
* A string that represents the name of a domain.
*/
DomainName: DomainName;
/**
* Whether to require that all requests to the domain arrive over HTTPS. We recommend Policy-Min-TLS-1-2-2019-07 for TLSSecurityPolicy. For compatibility with older clients, the default is Policy-Min-TLS-1-0-2019-07.
*/
DomainEndpointOptions: DomainEndpointOptions;
}
export interface UpdateDomainEndpointOptionsResponse {
/**
* The newly-configured domain endpoint options.
*/
DomainEndpointOptions?: DomainEndpointOptionsStatus;
}
export interface UpdateScalingParametersRequest {
DomainName: DomainName;
ScalingParameters: ScalingParameters;
}
export interface UpdateScalingParametersResponse {
ScalingParameters: ScalingParametersStatus;
}
export interface UpdateServiceAccessPoliciesRequest {
DomainName: DomainName;
/**
* The access rules you want to configure. These rules replace any existing rules.
*/
AccessPolicies: PolicyDocument;
}
export interface UpdateServiceAccessPoliciesResponse {
/**
* The access rules configured for the domain.
*/
AccessPolicies: AccessPoliciesStatus;
}
export type UpdateTimestamp = Date;
export type Word = string;
/**
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
*/
export type apiVersion = "2011-02-01"|"2013-01-01"|"latest"|string;
export interface ClientApiVersions {
/**
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
*/
apiVersion?: apiVersion;
}
export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
/**
* Contains interfaces for use with the CloudSearch client.
*/
export import Types = CloudSearch;
}
export = CloudSearch;