aws-sdk-cloudsearchdomain 1.17.0 → 1.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-cloudsearchdomain.rb +5 -2
- data/lib/aws-sdk-cloudsearchdomain/client.rb +48 -26
- data/lib/aws-sdk-cloudsearchdomain/client_api.rb +2 -0
- data/lib/aws-sdk-cloudsearchdomain/customizations.rb +1 -0
- data/lib/aws-sdk-cloudsearchdomain/errors.rb +2 -0
- data/lib/aws-sdk-cloudsearchdomain/plugins/conditional_signing.rb +2 -0
- data/lib/aws-sdk-cloudsearchdomain/plugins/switch_to_post.rb +2 -0
- data/lib/aws-sdk-cloudsearchdomain/resource.rb +3 -7
- data/lib/aws-sdk-cloudsearchdomain/types.rb +20 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2e2b4ecf282da9dbb6ec61977db3ca0414329e097b08737e1bc14f1a06fac39b
|
4
|
+
data.tar.gz: bac14b58f349c8233bf25f04d28b1fa391f2c17f29b3a97d0d01901a6affb564
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95946584496dec8c304a896cdd3542d7fbd1e084d23293544a9f63d6d2e58bc18c287d4086b3e0896aab40dc59ca8d7cf699206118178d5f7162a4fd9674c5e7
|
7
|
+
data.tar.gz: 89ba6ed948d6bd38d22da276e564bc8720e2c389ee2da88352dbaae5a2e15623953374cfaec7d427445ed195a0067b17c8f271884c7979b83edd39c605014ef6
|
@@ -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:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-cloudsearchdomain/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::CloudSearchDomain
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.22.0'
|
49
52
|
|
50
53
|
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:
|
@@ -21,6 +23,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
21
23
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
22
24
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
23
25
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
26
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
24
27
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
25
28
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
26
29
|
require 'aws-sdk-cloudsearchdomain/plugins/conditional_signing.rb'
|
@@ -31,11 +34,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:cloudsearchdomain)
|
|
31
34
|
module Aws::CloudSearchDomain
|
32
35
|
# An API client for CloudSearchDomain. To construct a client, you need to configure a `:region` and `:credentials`.
|
33
36
|
#
|
34
|
-
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
37
|
+
# client = Aws::CloudSearchDomain::Client.new(
|
38
|
+
# region: region_name,
|
39
|
+
# credentials: credentials,
|
40
|
+
# # ...
|
41
|
+
# )
|
39
42
|
#
|
40
43
|
# For details on configuring region and credentials see
|
41
44
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -65,6 +68,7 @@ module Aws::CloudSearchDomain
|
|
65
68
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
66
69
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
67
70
|
add_plugin(Aws::Plugins::TransferEncoding)
|
71
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
68
72
|
add_plugin(Aws::Plugins::SignatureV4)
|
69
73
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
70
74
|
add_plugin(Aws::CloudSearchDomain::Plugins::ConditionalSigning)
|
@@ -79,13 +83,28 @@ module Aws::CloudSearchDomain
|
|
79
83
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
80
84
|
# credentials.
|
81
85
|
#
|
86
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
87
|
+
# shared file, such as `~/.aws/config`.
|
88
|
+
#
|
89
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
92
|
+
# assume a role after providing credentials via the web.
|
93
|
+
#
|
94
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
95
|
+
# access token generated from `aws login`.
|
96
|
+
#
|
97
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
98
|
+
# process that outputs to stdout.
|
99
|
+
#
|
82
100
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
83
101
|
# from an EC2 IMDS on an EC2 instance.
|
84
102
|
#
|
85
|
-
# * `Aws::
|
86
|
-
#
|
103
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
104
|
+
# instances running in ECS.
|
87
105
|
#
|
88
|
-
# * `Aws::
|
106
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
107
|
+
# from the Cognito Identity service.
|
89
108
|
#
|
90
109
|
# When `:credentials` are not configured directly, the following
|
91
110
|
# locations will be searched for credentials:
|
@@ -95,10 +114,10 @@ module Aws::CloudSearchDomain
|
|
95
114
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
96
115
|
# * `~/.aws/credentials`
|
97
116
|
# * `~/.aws/config`
|
98
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
99
|
-
# very aggressive. Construct and pass an instance of
|
100
|
-
# `Aws::InstanceProfileCredentails`
|
101
|
-
# timeouts.
|
117
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
118
|
+
# are very aggressive. Construct and pass an instance of
|
119
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
120
|
+
# enable retries and extended timeouts.
|
102
121
|
#
|
103
122
|
# @option options [String] :access_key_id
|
104
123
|
#
|
@@ -187,15 +206,19 @@ module Aws::CloudSearchDomain
|
|
187
206
|
#
|
188
207
|
# @option options [String] :retry_mode ("legacy")
|
189
208
|
# Specifies which retry algorithm to use. Values are:
|
190
|
-
#
|
191
|
-
#
|
192
|
-
#
|
193
|
-
#
|
194
|
-
#
|
195
|
-
#
|
196
|
-
#
|
197
|
-
#
|
198
|
-
#
|
209
|
+
#
|
210
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
211
|
+
# no retry mode is provided.
|
212
|
+
#
|
213
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
214
|
+
# This includes support for retry quotas, which limit the number of
|
215
|
+
# unsuccessful retries a client can make.
|
216
|
+
#
|
217
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
218
|
+
# functionality of `standard` mode along with automatic client side
|
219
|
+
# throttling. This is a provisional mode that may change behavior
|
220
|
+
# in the future.
|
221
|
+
#
|
199
222
|
#
|
200
223
|
# @option options [String] :secret_access_key
|
201
224
|
#
|
@@ -227,8 +250,7 @@ module Aws::CloudSearchDomain
|
|
227
250
|
#
|
228
251
|
# @option options [Integer] :http_read_timeout (60) The default
|
229
252
|
# number of seconds to wait for response data. This value can
|
230
|
-
# safely be set
|
231
|
-
# per-request on the session yielded by {#session_for}.
|
253
|
+
# safely be set per-request on the session.
|
232
254
|
#
|
233
255
|
# @option options [Float] :http_idle_timeout (5) The number of
|
234
256
|
# seconds a connection is allowed to sit idle before it is
|
@@ -240,7 +262,7 @@ module Aws::CloudSearchDomain
|
|
240
262
|
# request body. This option has no effect unless the request has
|
241
263
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
242
264
|
# disables this behaviour. This value can safely be set per
|
243
|
-
# request on the session
|
265
|
+
# request on the session.
|
244
266
|
#
|
245
267
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
246
268
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -814,7 +836,7 @@ module Aws::CloudSearchDomain
|
|
814
836
|
# [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/preparing-data.html
|
815
837
|
# [2]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/uploading-data.html
|
816
838
|
#
|
817
|
-
# @option params [required, String,
|
839
|
+
# @option params [required, String, StringIO, File] :documents
|
818
840
|
# A batch of documents formatted in JSON or HTML.
|
819
841
|
#
|
820
842
|
# @option params [required, String] :content_type
|
@@ -866,7 +888,7 @@ module Aws::CloudSearchDomain
|
|
866
888
|
params: params,
|
867
889
|
config: config)
|
868
890
|
context[:gem_name] = 'aws-sdk-cloudsearchdomain'
|
869
|
-
context[:gem_version] = '1.
|
891
|
+
context[:gem_version] = '1.22.0'
|
870
892
|
Seahorse::Client::Request.new(handlers, context)
|
871
893
|
end
|
872
894
|
|
@@ -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,13 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::CloudSearchDomain
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::CloudSearchDomain::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::CloudSearchDomain::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::CloudSearchDomain::Resource.new(client: client)
|
11
|
+
|
16
12
|
class Resource
|
17
13
|
|
18
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:
|
@@ -22,6 +24,7 @@ module Aws::CloudSearchDomain
|
|
22
24
|
class Bucket < Struct.new(
|
23
25
|
:value,
|
24
26
|
:count)
|
27
|
+
SENSITIVE = []
|
25
28
|
include Aws::Structure
|
26
29
|
end
|
27
30
|
|
@@ -33,6 +36,7 @@ module Aws::CloudSearchDomain
|
|
33
36
|
#
|
34
37
|
class BucketInfo < Struct.new(
|
35
38
|
:buckets)
|
39
|
+
SENSITIVE = []
|
36
40
|
include Aws::Structure
|
37
41
|
end
|
38
42
|
|
@@ -51,6 +55,7 @@ module Aws::CloudSearchDomain
|
|
51
55
|
class DocumentServiceException < Struct.new(
|
52
56
|
:status,
|
53
57
|
:message)
|
58
|
+
SENSITIVE = []
|
54
59
|
include Aws::Structure
|
55
60
|
end
|
56
61
|
|
@@ -63,6 +68,7 @@ module Aws::CloudSearchDomain
|
|
63
68
|
#
|
64
69
|
class DocumentServiceWarning < Struct.new(
|
65
70
|
:message)
|
71
|
+
SENSITIVE = []
|
66
72
|
include Aws::Structure
|
67
73
|
end
|
68
74
|
|
@@ -147,6 +153,7 @@ module Aws::CloudSearchDomain
|
|
147
153
|
:sum_of_squares,
|
148
154
|
:mean,
|
149
155
|
:stddev)
|
156
|
+
SENSITIVE = []
|
150
157
|
include Aws::Structure
|
151
158
|
end
|
152
159
|
|
@@ -175,6 +182,7 @@ module Aws::CloudSearchDomain
|
|
175
182
|
:fields,
|
176
183
|
:exprs,
|
177
184
|
:highlights)
|
185
|
+
SENSITIVE = []
|
178
186
|
include Aws::Structure
|
179
187
|
end
|
180
188
|
|
@@ -202,6 +210,7 @@ module Aws::CloudSearchDomain
|
|
202
210
|
:start,
|
203
211
|
:cursor,
|
204
212
|
:hit)
|
213
|
+
SENSITIVE = []
|
205
214
|
include Aws::Structure
|
206
215
|
end
|
207
216
|
|
@@ -214,6 +223,7 @@ module Aws::CloudSearchDomain
|
|
214
223
|
#
|
215
224
|
class SearchException < Struct.new(
|
216
225
|
:message)
|
226
|
+
SENSITIVE = []
|
217
227
|
include Aws::Structure
|
218
228
|
end
|
219
229
|
|
@@ -635,6 +645,7 @@ module Aws::CloudSearchDomain
|
|
635
645
|
:sort,
|
636
646
|
:start,
|
637
647
|
:stats)
|
648
|
+
SENSITIVE = []
|
638
649
|
include Aws::Structure
|
639
650
|
end
|
640
651
|
|
@@ -663,6 +674,7 @@ module Aws::CloudSearchDomain
|
|
663
674
|
:hits,
|
664
675
|
:facets,
|
665
676
|
:stats)
|
677
|
+
SENSITIVE = []
|
666
678
|
include Aws::Structure
|
667
679
|
end
|
668
680
|
|
@@ -680,6 +692,7 @@ module Aws::CloudSearchDomain
|
|
680
692
|
class SearchStatus < Struct.new(
|
681
693
|
:timems,
|
682
694
|
:rid)
|
695
|
+
SENSITIVE = []
|
683
696
|
include Aws::Structure
|
684
697
|
end
|
685
698
|
|
@@ -702,6 +715,7 @@ module Aws::CloudSearchDomain
|
|
702
715
|
:query,
|
703
716
|
:found,
|
704
717
|
:suggestions)
|
718
|
+
SENSITIVE = []
|
705
719
|
include Aws::Structure
|
706
720
|
end
|
707
721
|
|
@@ -733,6 +747,7 @@ module Aws::CloudSearchDomain
|
|
733
747
|
:query,
|
734
748
|
:suggester,
|
735
749
|
:size)
|
750
|
+
SENSITIVE = []
|
736
751
|
include Aws::Structure
|
737
752
|
end
|
738
753
|
|
@@ -750,6 +765,7 @@ module Aws::CloudSearchDomain
|
|
750
765
|
class SuggestResponse < Struct.new(
|
751
766
|
:status,
|
752
767
|
:suggest)
|
768
|
+
SENSITIVE = []
|
753
769
|
include Aws::Structure
|
754
770
|
end
|
755
771
|
|
@@ -767,6 +783,7 @@ module Aws::CloudSearchDomain
|
|
767
783
|
class SuggestStatus < Struct.new(
|
768
784
|
:timems,
|
769
785
|
:rid)
|
786
|
+
SENSITIVE = []
|
770
787
|
include Aws::Structure
|
771
788
|
end
|
772
789
|
|
@@ -790,6 +807,7 @@ module Aws::CloudSearchDomain
|
|
790
807
|
:suggestion,
|
791
808
|
:score,
|
792
809
|
:id)
|
810
|
+
SENSITIVE = []
|
793
811
|
include Aws::Structure
|
794
812
|
end
|
795
813
|
|
@@ -818,6 +836,7 @@ module Aws::CloudSearchDomain
|
|
818
836
|
class UploadDocumentsRequest < Struct.new(
|
819
837
|
:documents,
|
820
838
|
:content_type)
|
839
|
+
SENSITIVE = []
|
821
840
|
include Aws::Structure
|
822
841
|
end
|
823
842
|
|
@@ -845,6 +864,7 @@ module Aws::CloudSearchDomain
|
|
845
864
|
:adds,
|
846
865
|
:deletes,
|
847
866
|
:warnings)
|
867
|
+
SENSITIVE = []
|
848
868
|
include Aws::Structure
|
849
869
|
end
|
850
870
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudsearchdomain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.22.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.109.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
version: '0'
|
84
84
|
requirements: []
|
85
85
|
rubyforge_project:
|
86
|
-
rubygems_version: 2.
|
86
|
+
rubygems_version: 2.7.6.2
|
87
87
|
signing_key:
|
88
88
|
specification_version: 4
|
89
89
|
summary: AWS SDK for Ruby - Amazon CloudSearch Domain
|