aws-sdk-cloudsearch 1.9.0 → 1.23.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.
- checksums.yaml +5 -5
- data/lib/aws-sdk-cloudsearch.rb +9 -4
- data/lib/aws-sdk-cloudsearch/client.rb +210 -9
- data/lib/aws-sdk-cloudsearch/client_api.rb +78 -0
- data/lib/aws-sdk-cloudsearch/customizations.rb +1 -0
- data/lib/aws-sdk-cloudsearch/errors.rb +111 -0
- data/lib/aws-sdk-cloudsearch/resource.rb +3 -0
- data/lib/aws-sdk-cloudsearch/types.rb +260 -0
- metadata +6 -6
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,9 +8,118 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::CloudSearch
|
11
|
+
|
12
|
+
# When CloudSearch returns an error response, the Ruby SDK constructs and raises an error.
|
13
|
+
# These errors all extend Aws::CloudSearch::Errors::ServiceError < {Aws::Errors::ServiceError}
|
14
|
+
#
|
15
|
+
# You can rescue all CloudSearch errors using ServiceError:
|
16
|
+
#
|
17
|
+
# begin
|
18
|
+
# # do stuff
|
19
|
+
# rescue Aws::CloudSearch::Errors::ServiceError
|
20
|
+
# # rescues all CloudSearch API errors
|
21
|
+
# end
|
22
|
+
#
|
23
|
+
#
|
24
|
+
# ## Request Context
|
25
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
26
|
+
# information about the request that generated the error.
|
27
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
28
|
+
#
|
29
|
+
# ## Error Classes
|
30
|
+
# * {BaseException}
|
31
|
+
# * {DisabledOperationException}
|
32
|
+
# * {InternalException}
|
33
|
+
# * {InvalidTypeException}
|
34
|
+
# * {LimitExceededException}
|
35
|
+
# * {ResourceNotFoundException}
|
36
|
+
# * {ValidationException}
|
37
|
+
#
|
38
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
39
|
+
# if they are not defined above.
|
9
40
|
module Errors
|
10
41
|
|
11
42
|
extend Aws::Errors::DynamicErrors
|
12
43
|
|
44
|
+
class BaseException < ServiceError
|
45
|
+
|
46
|
+
# @param [Seahorse::Client::RequestContext] context
|
47
|
+
# @param [String] message
|
48
|
+
# @param [Aws::CloudSearch::Types::BaseException] data
|
49
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
50
|
+
super(context, message, data)
|
51
|
+
end
|
52
|
+
|
53
|
+
# @return [String]
|
54
|
+
def code
|
55
|
+
@code || @data[:code]
|
56
|
+
end
|
57
|
+
|
58
|
+
# @return [String]
|
59
|
+
def message
|
60
|
+
@message || @data[:message]
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
class DisabledOperationException < ServiceError
|
65
|
+
|
66
|
+
# @param [Seahorse::Client::RequestContext] context
|
67
|
+
# @param [String] message
|
68
|
+
# @param [Aws::CloudSearch::Types::DisabledOperationException] data
|
69
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
70
|
+
super(context, message, data)
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
class InternalException < ServiceError
|
75
|
+
|
76
|
+
# @param [Seahorse::Client::RequestContext] context
|
77
|
+
# @param [String] message
|
78
|
+
# @param [Aws::CloudSearch::Types::InternalException] data
|
79
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
80
|
+
super(context, message, data)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
class InvalidTypeException < ServiceError
|
85
|
+
|
86
|
+
# @param [Seahorse::Client::RequestContext] context
|
87
|
+
# @param [String] message
|
88
|
+
# @param [Aws::CloudSearch::Types::InvalidTypeException] data
|
89
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
90
|
+
super(context, message, data)
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
class LimitExceededException < ServiceError
|
95
|
+
|
96
|
+
# @param [Seahorse::Client::RequestContext] context
|
97
|
+
# @param [String] message
|
98
|
+
# @param [Aws::CloudSearch::Types::LimitExceededException] data
|
99
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
100
|
+
super(context, message, data)
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
class ResourceNotFoundException < ServiceError
|
105
|
+
|
106
|
+
# @param [Seahorse::Client::RequestContext] context
|
107
|
+
# @param [String] message
|
108
|
+
# @param [Aws::CloudSearch::Types::ResourceNotFoundException] data
|
109
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
110
|
+
super(context, message, data)
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
class ValidationException < ServiceError
|
115
|
+
|
116
|
+
# @param [Seahorse::Client::RequestContext] context
|
117
|
+
# @param [String] message
|
118
|
+
# @param [Aws::CloudSearch::Types::ValidationException] data
|
119
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
120
|
+
super(context, message, data)
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
13
124
|
end
|
14
125
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,6 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::CloudSearch
|
11
|
+
|
9
12
|
class Resource
|
10
13
|
|
11
14
|
# @param options ({})
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -29,6 +31,7 @@ module Aws::CloudSearch
|
|
29
31
|
class AccessPoliciesStatus < Struct.new(
|
30
32
|
:options,
|
31
33
|
:status)
|
34
|
+
SENSITIVE = []
|
32
35
|
include Aws::Structure
|
33
36
|
end
|
34
37
|
|
@@ -105,6 +108,7 @@ module Aws::CloudSearch
|
|
105
108
|
:stemming_dictionary,
|
106
109
|
:japanese_tokenization_dictionary,
|
107
110
|
:algorithmic_stemming)
|
111
|
+
SENSITIVE = []
|
108
112
|
include Aws::Structure
|
109
113
|
end
|
110
114
|
|
@@ -151,6 +155,7 @@ module Aws::CloudSearch
|
|
151
155
|
:analysis_scheme_name,
|
152
156
|
:analysis_scheme_language,
|
153
157
|
:analysis_options)
|
158
|
+
SENSITIVE = []
|
154
159
|
include Aws::Structure
|
155
160
|
end
|
156
161
|
|
@@ -171,6 +176,7 @@ module Aws::CloudSearch
|
|
171
176
|
class AnalysisSchemeStatus < Struct.new(
|
172
177
|
:options,
|
173
178
|
:status)
|
179
|
+
SENSITIVE = []
|
174
180
|
include Aws::Structure
|
175
181
|
end
|
176
182
|
|
@@ -187,6 +193,24 @@ module Aws::CloudSearch
|
|
187
193
|
class AvailabilityOptionsStatus < Struct.new(
|
188
194
|
:options,
|
189
195
|
:status)
|
196
|
+
SENSITIVE = []
|
197
|
+
include Aws::Structure
|
198
|
+
end
|
199
|
+
|
200
|
+
# An error occurred while processing the request.
|
201
|
+
#
|
202
|
+
# @!attribute [rw] code
|
203
|
+
# A machine-parsable string error or warning code.
|
204
|
+
# @return [String]
|
205
|
+
#
|
206
|
+
# @!attribute [rw] message
|
207
|
+
# A human-readable string error or warning message.
|
208
|
+
# @return [String]
|
209
|
+
#
|
210
|
+
class BaseException < Struct.new(
|
211
|
+
:code,
|
212
|
+
:message)
|
213
|
+
SENSITIVE = []
|
190
214
|
include Aws::Structure
|
191
215
|
end
|
192
216
|
|
@@ -209,6 +233,7 @@ module Aws::CloudSearch
|
|
209
233
|
#
|
210
234
|
class BuildSuggestersRequest < Struct.new(
|
211
235
|
:domain_name)
|
236
|
+
SENSITIVE = []
|
212
237
|
include Aws::Structure
|
213
238
|
end
|
214
239
|
|
@@ -221,6 +246,7 @@ module Aws::CloudSearch
|
|
221
246
|
#
|
222
247
|
class BuildSuggestersResponse < Struct.new(
|
223
248
|
:field_names)
|
249
|
+
SENSITIVE = []
|
224
250
|
include Aws::Structure
|
225
251
|
end
|
226
252
|
|
@@ -243,6 +269,7 @@ module Aws::CloudSearch
|
|
243
269
|
#
|
244
270
|
class CreateDomainRequest < Struct.new(
|
245
271
|
:domain_name)
|
272
|
+
SENSITIVE = []
|
246
273
|
include Aws::Structure
|
247
274
|
end
|
248
275
|
|
@@ -255,6 +282,7 @@ module Aws::CloudSearch
|
|
255
282
|
#
|
256
283
|
class CreateDomainResponse < Struct.new(
|
257
284
|
:domain_status)
|
285
|
+
SENSITIVE = []
|
258
286
|
include Aws::Structure
|
259
287
|
end
|
260
288
|
|
@@ -301,6 +329,7 @@ module Aws::CloudSearch
|
|
301
329
|
:facet_enabled,
|
302
330
|
:search_enabled,
|
303
331
|
:return_enabled)
|
332
|
+
SENSITIVE = []
|
304
333
|
include Aws::Structure
|
305
334
|
end
|
306
335
|
|
@@ -369,6 +398,7 @@ module Aws::CloudSearch
|
|
369
398
|
:search_enabled,
|
370
399
|
:return_enabled,
|
371
400
|
:sort_enabled)
|
401
|
+
SENSITIVE = []
|
372
402
|
include Aws::Structure
|
373
403
|
end
|
374
404
|
|
@@ -412,6 +442,7 @@ module Aws::CloudSearch
|
|
412
442
|
class DefineAnalysisSchemeRequest < Struct.new(
|
413
443
|
:domain_name,
|
414
444
|
:analysis_scheme)
|
445
|
+
SENSITIVE = []
|
415
446
|
include Aws::Structure
|
416
447
|
end
|
417
448
|
|
@@ -424,6 +455,7 @@ module Aws::CloudSearch
|
|
424
455
|
#
|
425
456
|
class DefineAnalysisSchemeResponse < Struct.new(
|
426
457
|
:analysis_scheme)
|
458
|
+
SENSITIVE = []
|
427
459
|
include Aws::Structure
|
428
460
|
end
|
429
461
|
|
@@ -458,6 +490,7 @@ module Aws::CloudSearch
|
|
458
490
|
class DefineExpressionRequest < Struct.new(
|
459
491
|
:domain_name,
|
460
492
|
:expression)
|
493
|
+
SENSITIVE = []
|
461
494
|
include Aws::Structure
|
462
495
|
end
|
463
496
|
|
@@ -470,6 +503,7 @@ module Aws::CloudSearch
|
|
470
503
|
#
|
471
504
|
class DefineExpressionResponse < Struct.new(
|
472
505
|
:expression)
|
506
|
+
SENSITIVE = []
|
473
507
|
include Aws::Structure
|
474
508
|
end
|
475
509
|
|
@@ -585,6 +619,7 @@ module Aws::CloudSearch
|
|
585
619
|
class DefineIndexFieldRequest < Struct.new(
|
586
620
|
:domain_name,
|
587
621
|
:index_field)
|
622
|
+
SENSITIVE = []
|
588
623
|
include Aws::Structure
|
589
624
|
end
|
590
625
|
|
@@ -597,6 +632,7 @@ module Aws::CloudSearch
|
|
597
632
|
#
|
598
633
|
class DefineIndexFieldResponse < Struct.new(
|
599
634
|
:index_field)
|
635
|
+
SENSITIVE = []
|
600
636
|
include Aws::Structure
|
601
637
|
end
|
602
638
|
|
@@ -636,6 +672,7 @@ module Aws::CloudSearch
|
|
636
672
|
class DefineSuggesterRequest < Struct.new(
|
637
673
|
:domain_name,
|
638
674
|
:suggester)
|
675
|
+
SENSITIVE = []
|
639
676
|
include Aws::Structure
|
640
677
|
end
|
641
678
|
|
@@ -648,6 +685,7 @@ module Aws::CloudSearch
|
|
648
685
|
#
|
649
686
|
class DefineSuggesterResponse < Struct.new(
|
650
687
|
:suggester)
|
688
|
+
SENSITIVE = []
|
651
689
|
include Aws::Structure
|
652
690
|
end
|
653
691
|
|
@@ -677,6 +715,7 @@ module Aws::CloudSearch
|
|
677
715
|
class DeleteAnalysisSchemeRequest < Struct.new(
|
678
716
|
:domain_name,
|
679
717
|
:analysis_scheme_name)
|
718
|
+
SENSITIVE = []
|
680
719
|
include Aws::Structure
|
681
720
|
end
|
682
721
|
|
@@ -689,6 +728,7 @@ module Aws::CloudSearch
|
|
689
728
|
#
|
690
729
|
class DeleteAnalysisSchemeResponse < Struct.new(
|
691
730
|
:analysis_scheme)
|
731
|
+
SENSITIVE = []
|
692
732
|
include Aws::Structure
|
693
733
|
end
|
694
734
|
|
@@ -708,6 +748,7 @@ module Aws::CloudSearch
|
|
708
748
|
#
|
709
749
|
class DeleteDomainRequest < Struct.new(
|
710
750
|
:domain_name)
|
751
|
+
SENSITIVE = []
|
711
752
|
include Aws::Structure
|
712
753
|
end
|
713
754
|
|
@@ -721,6 +762,7 @@ module Aws::CloudSearch
|
|
721
762
|
#
|
722
763
|
class DeleteDomainResponse < Struct.new(
|
723
764
|
:domain_status)
|
765
|
+
SENSITIVE = []
|
724
766
|
include Aws::Structure
|
725
767
|
end
|
726
768
|
|
@@ -750,6 +792,7 @@ module Aws::CloudSearch
|
|
750
792
|
class DeleteExpressionRequest < Struct.new(
|
751
793
|
:domain_name,
|
752
794
|
:expression_name)
|
795
|
+
SENSITIVE = []
|
753
796
|
include Aws::Structure
|
754
797
|
end
|
755
798
|
|
@@ -762,6 +805,7 @@ module Aws::CloudSearch
|
|
762
805
|
#
|
763
806
|
class DeleteExpressionResponse < Struct.new(
|
764
807
|
:expression)
|
808
|
+
SENSITIVE = []
|
765
809
|
include Aws::Structure
|
766
810
|
end
|
767
811
|
|
@@ -792,6 +836,7 @@ module Aws::CloudSearch
|
|
792
836
|
class DeleteIndexFieldRequest < Struct.new(
|
793
837
|
:domain_name,
|
794
838
|
:index_field_name)
|
839
|
+
SENSITIVE = []
|
795
840
|
include Aws::Structure
|
796
841
|
end
|
797
842
|
|
@@ -803,6 +848,7 @@ module Aws::CloudSearch
|
|
803
848
|
#
|
804
849
|
class DeleteIndexFieldResponse < Struct.new(
|
805
850
|
:index_field)
|
851
|
+
SENSITIVE = []
|
806
852
|
include Aws::Structure
|
807
853
|
end
|
808
854
|
|
@@ -832,6 +878,7 @@ module Aws::CloudSearch
|
|
832
878
|
class DeleteSuggesterRequest < Struct.new(
|
833
879
|
:domain_name,
|
834
880
|
:suggester_name)
|
881
|
+
SENSITIVE = []
|
835
882
|
include Aws::Structure
|
836
883
|
end
|
837
884
|
|
@@ -844,6 +891,7 @@ module Aws::CloudSearch
|
|
844
891
|
#
|
845
892
|
class DeleteSuggesterResponse < Struct.new(
|
846
893
|
:suggester)
|
894
|
+
SENSITIVE = []
|
847
895
|
include Aws::Structure
|
848
896
|
end
|
849
897
|
|
@@ -880,6 +928,7 @@ module Aws::CloudSearch
|
|
880
928
|
:domain_name,
|
881
929
|
:analysis_scheme_names,
|
882
930
|
:deployed)
|
931
|
+
SENSITIVE = []
|
883
932
|
include Aws::Structure
|
884
933
|
end
|
885
934
|
|
@@ -892,6 +941,7 @@ module Aws::CloudSearch
|
|
892
941
|
#
|
893
942
|
class DescribeAnalysisSchemesResponse < Struct.new(
|
894
943
|
:analysis_schemes)
|
944
|
+
SENSITIVE = []
|
895
945
|
include Aws::Structure
|
896
946
|
end
|
897
947
|
|
@@ -920,6 +970,7 @@ module Aws::CloudSearch
|
|
920
970
|
class DescribeAvailabilityOptionsRequest < Struct.new(
|
921
971
|
:domain_name,
|
922
972
|
:deployed)
|
973
|
+
SENSITIVE = []
|
923
974
|
include Aws::Structure
|
924
975
|
end
|
925
976
|
|
@@ -934,6 +985,50 @@ module Aws::CloudSearch
|
|
934
985
|
#
|
935
986
|
class DescribeAvailabilityOptionsResponse < Struct.new(
|
936
987
|
:availability_options)
|
988
|
+
SENSITIVE = []
|
989
|
+
include Aws::Structure
|
990
|
+
end
|
991
|
+
|
992
|
+
# Container for the parameters to the `DescribeDomainEndpointOptions`
|
993
|
+
# operation. Specify the name of the domain you want to describe. To
|
994
|
+
# show the active configuration and exclude any pending changes, set the
|
995
|
+
# Deployed option to `true`.
|
996
|
+
#
|
997
|
+
# @note When making an API call, you may pass DescribeDomainEndpointOptionsRequest
|
998
|
+
# data as a hash:
|
999
|
+
#
|
1000
|
+
# {
|
1001
|
+
# domain_name: "DomainName", # required
|
1002
|
+
# deployed: false,
|
1003
|
+
# }
|
1004
|
+
#
|
1005
|
+
# @!attribute [rw] domain_name
|
1006
|
+
# A string that represents the name of a domain.
|
1007
|
+
# @return [String]
|
1008
|
+
#
|
1009
|
+
# @!attribute [rw] deployed
|
1010
|
+
# Whether to retrieve the latest configuration (which might be in a
|
1011
|
+
# Processing state) or the current, active configuration. Defaults to
|
1012
|
+
# `false`.
|
1013
|
+
# @return [Boolean]
|
1014
|
+
#
|
1015
|
+
class DescribeDomainEndpointOptionsRequest < Struct.new(
|
1016
|
+
:domain_name,
|
1017
|
+
:deployed)
|
1018
|
+
SENSITIVE = []
|
1019
|
+
include Aws::Structure
|
1020
|
+
end
|
1021
|
+
|
1022
|
+
# The result of a `DescribeDomainEndpointOptions` request. Contains the
|
1023
|
+
# status and configuration of a search domain's endpoint options.
|
1024
|
+
#
|
1025
|
+
# @!attribute [rw] domain_endpoint_options
|
1026
|
+
# The status and configuration of a search domain's endpoint options.
|
1027
|
+
# @return [Types::DomainEndpointOptionsStatus]
|
1028
|
+
#
|
1029
|
+
class DescribeDomainEndpointOptionsResponse < Struct.new(
|
1030
|
+
:domain_endpoint_options)
|
1031
|
+
SENSITIVE = []
|
937
1032
|
include Aws::Structure
|
938
1033
|
end
|
939
1034
|
|
@@ -955,6 +1050,7 @@ module Aws::CloudSearch
|
|
955
1050
|
#
|
956
1051
|
class DescribeDomainsRequest < Struct.new(
|
957
1052
|
:domain_names)
|
1053
|
+
SENSITIVE = []
|
958
1054
|
include Aws::Structure
|
959
1055
|
end
|
960
1056
|
|
@@ -967,6 +1063,7 @@ module Aws::CloudSearch
|
|
967
1063
|
#
|
968
1064
|
class DescribeDomainsResponse < Struct.new(
|
969
1065
|
:domain_status_list)
|
1066
|
+
SENSITIVE = []
|
970
1067
|
include Aws::Structure
|
971
1068
|
end
|
972
1069
|
|
@@ -1003,6 +1100,7 @@ module Aws::CloudSearch
|
|
1003
1100
|
:domain_name,
|
1004
1101
|
:expression_names,
|
1005
1102
|
:deployed)
|
1103
|
+
SENSITIVE = []
|
1006
1104
|
include Aws::Structure
|
1007
1105
|
end
|
1008
1106
|
|
@@ -1015,6 +1113,7 @@ module Aws::CloudSearch
|
|
1015
1113
|
#
|
1016
1114
|
class DescribeExpressionsResponse < Struct.new(
|
1017
1115
|
:expressions)
|
1116
|
+
SENSITIVE = []
|
1018
1117
|
include Aws::Structure
|
1019
1118
|
end
|
1020
1119
|
|
@@ -1051,6 +1150,7 @@ module Aws::CloudSearch
|
|
1051
1150
|
:domain_name,
|
1052
1151
|
:field_names,
|
1053
1152
|
:deployed)
|
1153
|
+
SENSITIVE = []
|
1054
1154
|
include Aws::Structure
|
1055
1155
|
end
|
1056
1156
|
|
@@ -1063,6 +1163,7 @@ module Aws::CloudSearch
|
|
1063
1163
|
#
|
1064
1164
|
class DescribeIndexFieldsResponse < Struct.new(
|
1065
1165
|
:index_fields)
|
1166
|
+
SENSITIVE = []
|
1066
1167
|
include Aws::Structure
|
1067
1168
|
end
|
1068
1169
|
|
@@ -1085,6 +1186,7 @@ module Aws::CloudSearch
|
|
1085
1186
|
#
|
1086
1187
|
class DescribeScalingParametersRequest < Struct.new(
|
1087
1188
|
:domain_name)
|
1189
|
+
SENSITIVE = []
|
1088
1190
|
include Aws::Structure
|
1089
1191
|
end
|
1090
1192
|
|
@@ -1098,6 +1200,7 @@ module Aws::CloudSearch
|
|
1098
1200
|
#
|
1099
1201
|
class DescribeScalingParametersResponse < Struct.new(
|
1100
1202
|
:scaling_parameters)
|
1203
|
+
SENSITIVE = []
|
1101
1204
|
include Aws::Structure
|
1102
1205
|
end
|
1103
1206
|
|
@@ -1126,6 +1229,7 @@ module Aws::CloudSearch
|
|
1126
1229
|
class DescribeServiceAccessPoliciesRequest < Struct.new(
|
1127
1230
|
:domain_name,
|
1128
1231
|
:deployed)
|
1232
|
+
SENSITIVE = []
|
1129
1233
|
include Aws::Structure
|
1130
1234
|
end
|
1131
1235
|
|
@@ -1137,6 +1241,7 @@ module Aws::CloudSearch
|
|
1137
1241
|
#
|
1138
1242
|
class DescribeServiceAccessPoliciesResponse < Struct.new(
|
1139
1243
|
:access_policies)
|
1244
|
+
SENSITIVE = []
|
1140
1245
|
include Aws::Structure
|
1141
1246
|
end
|
1142
1247
|
|
@@ -1172,6 +1277,7 @@ module Aws::CloudSearch
|
|
1172
1277
|
:domain_name,
|
1173
1278
|
:suggester_names,
|
1174
1279
|
:deployed)
|
1280
|
+
SENSITIVE = []
|
1175
1281
|
include Aws::Structure
|
1176
1282
|
end
|
1177
1283
|
|
@@ -1183,9 +1289,15 @@ module Aws::CloudSearch
|
|
1183
1289
|
#
|
1184
1290
|
class DescribeSuggestersResponse < Struct.new(
|
1185
1291
|
:suggesters)
|
1292
|
+
SENSITIVE = []
|
1186
1293
|
include Aws::Structure
|
1187
1294
|
end
|
1188
1295
|
|
1296
|
+
# The request was rejected because it attempted an operation which is
|
1297
|
+
# not enabled.
|
1298
|
+
#
|
1299
|
+
class DisabledOperationException < Aws::EmptyStructure; end
|
1300
|
+
|
1189
1301
|
# Options for a search suggester.
|
1190
1302
|
#
|
1191
1303
|
# @note When making an API call, you may pass DocumentSuggesterOptions
|
@@ -1224,6 +1336,49 @@ module Aws::CloudSearch
|
|
1224
1336
|
:source_field,
|
1225
1337
|
:fuzzy_matching,
|
1226
1338
|
:sort_expression)
|
1339
|
+
SENSITIVE = []
|
1340
|
+
include Aws::Structure
|
1341
|
+
end
|
1342
|
+
|
1343
|
+
# The domain's endpoint options.
|
1344
|
+
#
|
1345
|
+
# @note When making an API call, you may pass DomainEndpointOptions
|
1346
|
+
# data as a hash:
|
1347
|
+
#
|
1348
|
+
# {
|
1349
|
+
# enforce_https: false,
|
1350
|
+
# tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
|
1351
|
+
# }
|
1352
|
+
#
|
1353
|
+
# @!attribute [rw] enforce_https
|
1354
|
+
# Whether the domain is HTTPS only enabled.
|
1355
|
+
# @return [Boolean]
|
1356
|
+
#
|
1357
|
+
# @!attribute [rw] tls_security_policy
|
1358
|
+
# The minimum required TLS version
|
1359
|
+
# @return [String]
|
1360
|
+
#
|
1361
|
+
class DomainEndpointOptions < Struct.new(
|
1362
|
+
:enforce_https,
|
1363
|
+
:tls_security_policy)
|
1364
|
+
SENSITIVE = []
|
1365
|
+
include Aws::Structure
|
1366
|
+
end
|
1367
|
+
|
1368
|
+
# The configuration and status of the domain's endpoint options.
|
1369
|
+
#
|
1370
|
+
# @!attribute [rw] options
|
1371
|
+
# The domain endpoint options configured for the domain.
|
1372
|
+
# @return [Types::DomainEndpointOptions]
|
1373
|
+
#
|
1374
|
+
# @!attribute [rw] status
|
1375
|
+
# The status of the configured domain endpoint options.
|
1376
|
+
# @return [Types::OptionStatus]
|
1377
|
+
#
|
1378
|
+
class DomainEndpointOptionsStatus < Struct.new(
|
1379
|
+
:options,
|
1380
|
+
:status)
|
1381
|
+
SENSITIVE = []
|
1227
1382
|
include Aws::Structure
|
1228
1383
|
end
|
1229
1384
|
|
@@ -1314,6 +1469,7 @@ module Aws::CloudSearch
|
|
1314
1469
|
:search_partition_count,
|
1315
1470
|
:search_instance_count,
|
1316
1471
|
:limits)
|
1472
|
+
SENSITIVE = []
|
1317
1473
|
include Aws::Structure
|
1318
1474
|
end
|
1319
1475
|
|
@@ -1360,6 +1516,7 @@ module Aws::CloudSearch
|
|
1360
1516
|
:facet_enabled,
|
1361
1517
|
:search_enabled,
|
1362
1518
|
:return_enabled)
|
1519
|
+
SENSITIVE = []
|
1363
1520
|
include Aws::Structure
|
1364
1521
|
end
|
1365
1522
|
|
@@ -1413,6 +1570,7 @@ module Aws::CloudSearch
|
|
1413
1570
|
:search_enabled,
|
1414
1571
|
:return_enabled,
|
1415
1572
|
:sort_enabled)
|
1573
|
+
SENSITIVE = []
|
1416
1574
|
include Aws::Structure
|
1417
1575
|
end
|
1418
1576
|
|
@@ -1447,6 +1605,7 @@ module Aws::CloudSearch
|
|
1447
1605
|
class Expression < Struct.new(
|
1448
1606
|
:expression_name,
|
1449
1607
|
:expression_value)
|
1608
|
+
SENSITIVE = []
|
1450
1609
|
include Aws::Structure
|
1451
1610
|
end
|
1452
1611
|
|
@@ -1464,6 +1623,7 @@ module Aws::CloudSearch
|
|
1464
1623
|
class ExpressionStatus < Struct.new(
|
1465
1624
|
:options,
|
1466
1625
|
:status)
|
1626
|
+
SENSITIVE = []
|
1467
1627
|
include Aws::Structure
|
1468
1628
|
end
|
1469
1629
|
|
@@ -1486,6 +1646,7 @@ module Aws::CloudSearch
|
|
1486
1646
|
#
|
1487
1647
|
class IndexDocumentsRequest < Struct.new(
|
1488
1648
|
:domain_name)
|
1649
|
+
SENSITIVE = []
|
1489
1650
|
include Aws::Structure
|
1490
1651
|
end
|
1491
1652
|
|
@@ -1498,6 +1659,7 @@ module Aws::CloudSearch
|
|
1498
1659
|
#
|
1499
1660
|
class IndexDocumentsResponse < Struct.new(
|
1500
1661
|
:field_names)
|
1662
|
+
SENSITIVE = []
|
1501
1663
|
include Aws::Structure
|
1502
1664
|
end
|
1503
1665
|
|
@@ -1709,6 +1871,7 @@ module Aws::CloudSearch
|
|
1709
1871
|
:literal_array_options,
|
1710
1872
|
:text_array_options,
|
1711
1873
|
:date_array_options)
|
1874
|
+
SENSITIVE = []
|
1712
1875
|
include Aws::Structure
|
1713
1876
|
end
|
1714
1877
|
|
@@ -1727,6 +1890,7 @@ module Aws::CloudSearch
|
|
1727
1890
|
class IndexFieldStatus < Struct.new(
|
1728
1891
|
:options,
|
1729
1892
|
:status)
|
1893
|
+
SENSITIVE = []
|
1730
1894
|
include Aws::Structure
|
1731
1895
|
end
|
1732
1896
|
|
@@ -1773,6 +1937,7 @@ module Aws::CloudSearch
|
|
1773
1937
|
:facet_enabled,
|
1774
1938
|
:search_enabled,
|
1775
1939
|
:return_enabled)
|
1940
|
+
SENSITIVE = []
|
1776
1941
|
include Aws::Structure
|
1777
1942
|
end
|
1778
1943
|
|
@@ -1826,9 +1991,25 @@ module Aws::CloudSearch
|
|
1826
1991
|
:search_enabled,
|
1827
1992
|
:return_enabled,
|
1828
1993
|
:sort_enabled)
|
1994
|
+
SENSITIVE = []
|
1829
1995
|
include Aws::Structure
|
1830
1996
|
end
|
1831
1997
|
|
1998
|
+
# An internal error occurred while processing the request. If this
|
1999
|
+
# problem persists, report an issue from the [Service Health
|
2000
|
+
# Dashboard][1].
|
2001
|
+
#
|
2002
|
+
#
|
2003
|
+
#
|
2004
|
+
# [1]: http://status.aws.amazon.com/
|
2005
|
+
#
|
2006
|
+
class InternalException < Aws::EmptyStructure; end
|
2007
|
+
|
2008
|
+
# The request was rejected because it specified an invalid type
|
2009
|
+
# definition.
|
2010
|
+
#
|
2011
|
+
class InvalidTypeException < Aws::EmptyStructure; end
|
2012
|
+
|
1832
2013
|
# Options for a latlon field. A latlon field contains a location stored
|
1833
2014
|
# as a latitude and longitude value pair. Present if `IndexFieldType`
|
1834
2015
|
# specifies the field is of type `latlon`. All options are enabled by
|
@@ -1894,9 +2075,15 @@ module Aws::CloudSearch
|
|
1894
2075
|
:search_enabled,
|
1895
2076
|
:return_enabled,
|
1896
2077
|
:sort_enabled)
|
2078
|
+
SENSITIVE = []
|
1897
2079
|
include Aws::Structure
|
1898
2080
|
end
|
1899
2081
|
|
2082
|
+
# The request was rejected because a resource limit has already been
|
2083
|
+
# met.
|
2084
|
+
#
|
2085
|
+
class LimitExceededException < Aws::EmptyStructure; end
|
2086
|
+
|
1900
2087
|
# @!attribute [rw] maximum_replication_count
|
1901
2088
|
# @return [Integer]
|
1902
2089
|
#
|
@@ -1906,6 +2093,7 @@ module Aws::CloudSearch
|
|
1906
2093
|
class Limits < Struct.new(
|
1907
2094
|
:maximum_replication_count,
|
1908
2095
|
:maximum_partition_count)
|
2096
|
+
SENSITIVE = []
|
1909
2097
|
include Aws::Structure
|
1910
2098
|
end
|
1911
2099
|
|
@@ -1918,6 +2106,7 @@ module Aws::CloudSearch
|
|
1918
2106
|
#
|
1919
2107
|
class ListDomainNamesResponse < Struct.new(
|
1920
2108
|
:domain_names)
|
2109
|
+
SENSITIVE = []
|
1921
2110
|
include Aws::Structure
|
1922
2111
|
end
|
1923
2112
|
|
@@ -1964,6 +2153,7 @@ module Aws::CloudSearch
|
|
1964
2153
|
:facet_enabled,
|
1965
2154
|
:search_enabled,
|
1966
2155
|
:return_enabled)
|
2156
|
+
SENSITIVE = []
|
1967
2157
|
include Aws::Structure
|
1968
2158
|
end
|
1969
2159
|
|
@@ -2030,6 +2220,7 @@ module Aws::CloudSearch
|
|
2030
2220
|
:search_enabled,
|
2031
2221
|
:return_enabled,
|
2032
2222
|
:sort_enabled)
|
2223
|
+
SENSITIVE = []
|
2033
2224
|
include Aws::Structure
|
2034
2225
|
end
|
2035
2226
|
|
@@ -2073,9 +2264,15 @@ module Aws::CloudSearch
|
|
2073
2264
|
:update_version,
|
2074
2265
|
:state,
|
2075
2266
|
:pending_deletion)
|
2267
|
+
SENSITIVE = []
|
2076
2268
|
include Aws::Structure
|
2077
2269
|
end
|
2078
2270
|
|
2271
|
+
# The request was rejected because it attempted to reference a resource
|
2272
|
+
# that does not exist.
|
2273
|
+
#
|
2274
|
+
class ResourceNotFoundException < Aws::EmptyStructure; end
|
2275
|
+
|
2079
2276
|
# The desired instance type and desired number of replicas of each index
|
2080
2277
|
# partition.
|
2081
2278
|
#
|
@@ -2108,6 +2305,7 @@ module Aws::CloudSearch
|
|
2108
2305
|
:desired_instance_type,
|
2109
2306
|
:desired_replication_count,
|
2110
2307
|
:desired_partition_count)
|
2308
|
+
SENSITIVE = []
|
2111
2309
|
include Aws::Structure
|
2112
2310
|
end
|
2113
2311
|
|
@@ -2125,6 +2323,7 @@ module Aws::CloudSearch
|
|
2125
2323
|
class ScalingParametersStatus < Struct.new(
|
2126
2324
|
:options,
|
2127
2325
|
:status)
|
2326
|
+
SENSITIVE = []
|
2128
2327
|
include Aws::Structure
|
2129
2328
|
end
|
2130
2329
|
|
@@ -2140,6 +2339,7 @@ module Aws::CloudSearch
|
|
2140
2339
|
#
|
2141
2340
|
class ServiceEndpoint < Struct.new(
|
2142
2341
|
:endpoint)
|
2342
|
+
SENSITIVE = []
|
2143
2343
|
include Aws::Structure
|
2144
2344
|
end
|
2145
2345
|
|
@@ -2172,6 +2372,7 @@ module Aws::CloudSearch
|
|
2172
2372
|
class Suggester < Struct.new(
|
2173
2373
|
:suggester_name,
|
2174
2374
|
:document_suggester_options)
|
2375
|
+
SENSITIVE = []
|
2175
2376
|
include Aws::Structure
|
2176
2377
|
end
|
2177
2378
|
|
@@ -2191,6 +2392,7 @@ module Aws::CloudSearch
|
|
2191
2392
|
class SuggesterStatus < Struct.new(
|
2192
2393
|
:options,
|
2193
2394
|
:status)
|
2395
|
+
SENSITIVE = []
|
2194
2396
|
include Aws::Structure
|
2195
2397
|
end
|
2196
2398
|
|
@@ -2238,6 +2440,7 @@ module Aws::CloudSearch
|
|
2238
2440
|
:return_enabled,
|
2239
2441
|
:highlight_enabled,
|
2240
2442
|
:analysis_scheme)
|
2443
|
+
SENSITIVE = []
|
2241
2444
|
include Aws::Structure
|
2242
2445
|
end
|
2243
2446
|
|
@@ -2305,6 +2508,7 @@ module Aws::CloudSearch
|
|
2305
2508
|
:sort_enabled,
|
2306
2509
|
:highlight_enabled,
|
2307
2510
|
:analysis_scheme)
|
2511
|
+
SENSITIVE = []
|
2308
2512
|
include Aws::Structure
|
2309
2513
|
end
|
2310
2514
|
|
@@ -2337,6 +2541,7 @@ module Aws::CloudSearch
|
|
2337
2541
|
class UpdateAvailabilityOptionsRequest < Struct.new(
|
2338
2542
|
:domain_name,
|
2339
2543
|
:multi_az)
|
2544
|
+
SENSITIVE = []
|
2340
2545
|
include Aws::Structure
|
2341
2546
|
end
|
2342
2547
|
|
@@ -2350,6 +2555,53 @@ module Aws::CloudSearch
|
|
2350
2555
|
#
|
2351
2556
|
class UpdateAvailabilityOptionsResponse < Struct.new(
|
2352
2557
|
:availability_options)
|
2558
|
+
SENSITIVE = []
|
2559
|
+
include Aws::Structure
|
2560
|
+
end
|
2561
|
+
|
2562
|
+
# Container for the parameters to the `UpdateDomainEndpointOptions`
|
2563
|
+
# operation. Specifies the name of the domain you want to update and the
|
2564
|
+
# domain endpoint options.
|
2565
|
+
#
|
2566
|
+
# @note When making an API call, you may pass UpdateDomainEndpointOptionsRequest
|
2567
|
+
# data as a hash:
|
2568
|
+
#
|
2569
|
+
# {
|
2570
|
+
# domain_name: "DomainName", # required
|
2571
|
+
# domain_endpoint_options: { # required
|
2572
|
+
# enforce_https: false,
|
2573
|
+
# tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
|
2574
|
+
# },
|
2575
|
+
# }
|
2576
|
+
#
|
2577
|
+
# @!attribute [rw] domain_name
|
2578
|
+
# A string that represents the name of a domain.
|
2579
|
+
# @return [String]
|
2580
|
+
#
|
2581
|
+
# @!attribute [rw] domain_endpoint_options
|
2582
|
+
# Whether to require that all requests to the domain arrive over
|
2583
|
+
# HTTPS. We recommend Policy-Min-TLS-1-2-2019-07 for
|
2584
|
+
# TLSSecurityPolicy. For compatibility with older clients, the default
|
2585
|
+
# is Policy-Min-TLS-1-0-2019-07.
|
2586
|
+
# @return [Types::DomainEndpointOptions]
|
2587
|
+
#
|
2588
|
+
class UpdateDomainEndpointOptionsRequest < Struct.new(
|
2589
|
+
:domain_name,
|
2590
|
+
:domain_endpoint_options)
|
2591
|
+
SENSITIVE = []
|
2592
|
+
include Aws::Structure
|
2593
|
+
end
|
2594
|
+
|
2595
|
+
# The result of a `UpdateDomainEndpointOptions` request. Contains the
|
2596
|
+
# configuration and status of the domain's endpoint options.
|
2597
|
+
#
|
2598
|
+
# @!attribute [rw] domain_endpoint_options
|
2599
|
+
# The newly-configured domain endpoint options.
|
2600
|
+
# @return [Types::DomainEndpointOptionsStatus]
|
2601
|
+
#
|
2602
|
+
class UpdateDomainEndpointOptionsResponse < Struct.new(
|
2603
|
+
:domain_endpoint_options)
|
2604
|
+
SENSITIVE = []
|
2353
2605
|
include Aws::Structure
|
2354
2606
|
end
|
2355
2607
|
|
@@ -2384,6 +2636,7 @@ module Aws::CloudSearch
|
|
2384
2636
|
class UpdateScalingParametersRequest < Struct.new(
|
2385
2637
|
:domain_name,
|
2386
2638
|
:scaling_parameters)
|
2639
|
+
SENSITIVE = []
|
2387
2640
|
include Aws::Structure
|
2388
2641
|
end
|
2389
2642
|
|
@@ -2397,6 +2650,7 @@ module Aws::CloudSearch
|
|
2397
2650
|
#
|
2398
2651
|
class UpdateScalingParametersResponse < Struct.new(
|
2399
2652
|
:scaling_parameters)
|
2653
|
+
SENSITIVE = []
|
2400
2654
|
include Aws::Structure
|
2401
2655
|
end
|
2402
2656
|
|
@@ -2427,6 +2681,7 @@ module Aws::CloudSearch
|
|
2427
2681
|
class UpdateServiceAccessPoliciesRequest < Struct.new(
|
2428
2682
|
:domain_name,
|
2429
2683
|
:access_policies)
|
2684
|
+
SENSITIVE = []
|
2430
2685
|
include Aws::Structure
|
2431
2686
|
end
|
2432
2687
|
|
@@ -2439,8 +2694,13 @@ module Aws::CloudSearch
|
|
2439
2694
|
#
|
2440
2695
|
class UpdateServiceAccessPoliciesResponse < Struct.new(
|
2441
2696
|
:access_policies)
|
2697
|
+
SENSITIVE = []
|
2442
2698
|
include Aws::Structure
|
2443
2699
|
end
|
2444
2700
|
|
2701
|
+
# The request was rejected because it has invalid parameters.
|
2702
|
+
#
|
2703
|
+
class ValidationException < Aws::EmptyStructure; end
|
2704
|
+
|
2445
2705
|
end
|
2446
2706
|
end
|