aws-sdk-cloudsearchdomain 1.11.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c372f628efcdf73caa2dc287727e2d2ab6d6039e
4
- data.tar.gz: 7765e4e1433fb5205908433a36064e2aaa5ee479
3
+ metadata.gz: e0ee034fbf1946983dd487e58571f6e0ff792072
4
+ data.tar.gz: f577e3e09e334d342df31faa2b4c9aa1ac586f45
5
5
  SHA512:
6
- metadata.gz: 31777d732a36c4b0e7b93b13e93d15fca8dbb032b2e188a3d09434fd05824da8d62ade54f76ae7808bf7ebef36ff775d0c381566306ed0802a30e2cd7f4163d3
7
- data.tar.gz: 37785fbb67f0b1088277511612dad995efb8e5ad2f95fb276d75bc2575f4814c8f36da2047c21952c14cea3900383b657981ea6527f09303d4f0d1be9e9a405b
6
+ metadata.gz: afe83ea375c8b39cbe0a29053499b60c79f43da486241488d0422408a18d4d910fdc9ba4f73af6d8631d1bdbb18715815b0d6e32e9b0a84497648e235413a520
7
+ data.tar.gz: f84a18818baf0859608eca86255aee649f1e1c9640ad5f6eb6f44a204c16d504c500aaef51c1d30fcdcc154d0dba3c2a89c6ba2ed71f6ee5f21b4a72c93e2f7a
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-cloudsearchdomain/customizations'
42
42
  # @service
43
43
  module Aws::CloudSearchDomain
44
44
 
45
- GEM_VERSION = '1.11.0'
45
+ GEM_VERSION = '1.12.0'
46
46
 
47
47
  end
@@ -811,7 +811,7 @@ module Aws::CloudSearchDomain
811
811
  params: params,
812
812
  config: config)
813
813
  context[:gem_name] = 'aws-sdk-cloudsearchdomain'
814
- context[:gem_version] = '1.11.0'
814
+ context[:gem_version] = '1.12.0'
815
815
  Seahorse::Client::Request.new(handlers, context)
816
816
  end
817
817
 
@@ -72,6 +72,10 @@ module Aws::CloudSearchDomain
72
72
 
73
73
  BucketList.member = Shapes::ShapeRef.new(shape: Bucket)
74
74
 
75
+ DocumentServiceException.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
76
+ DocumentServiceException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
77
+ DocumentServiceException.struct_class = Types::DocumentServiceException
78
+
75
79
  DocumentServiceWarning.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
76
80
  DocumentServiceWarning.struct_class = Types::DocumentServiceWarning
77
81
 
@@ -115,6 +119,9 @@ module Aws::CloudSearchDomain
115
119
  Hits.add_member(:hit, Shapes::ShapeRef.new(shape: HitList, location_name: "hit"))
116
120
  Hits.struct_class = Types::Hits
117
121
 
122
+ SearchException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
123
+ SearchException.struct_class = Types::SearchException
124
+
118
125
  SearchRequest.add_member(:cursor, Shapes::ShapeRef.new(shape: Cursor, location: "querystring", location_name: "cursor"))
119
126
  SearchRequest.add_member(:expr, Shapes::ShapeRef.new(shape: Expr, location: "querystring", location_name: "expr"))
120
127
  SearchRequest.add_member(:facet, Shapes::ShapeRef.new(shape: Facet, location: "querystring", location_name: "facet"))
@@ -10,5 +10,42 @@ module Aws::CloudSearchDomain
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class DocumentServiceException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::CloudSearchDomain::Types::DocumentServiceException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def status
24
+ @data[:status]
25
+ end
26
+
27
+ # @return [String]
28
+ def message
29
+ @message || @data[:message]
30
+ end
31
+
32
+ end
33
+
34
+ class SearchException < ServiceError
35
+
36
+ # @param [Seahorse::Client::RequestContext] context
37
+ # @param [String] message
38
+ # @param [Aws::CloudSearchDomain::Types::SearchException] data
39
+ def initialize(context, message, data = Aws::EmptyStructure.new)
40
+ super(context, message, data)
41
+ end
42
+
43
+ # @return [String]
44
+ def message
45
+ @message || @data[:message]
46
+ end
47
+
48
+ end
49
+
13
50
  end
14
51
  end
@@ -36,6 +36,24 @@ module Aws::CloudSearchDomain
36
36
  include Aws::Structure
37
37
  end
38
38
 
39
+ # Information about any problems encountered while processing an upload
40
+ # request.
41
+ #
42
+ # @!attribute [rw] status
43
+ # The return status of a document upload request, `error` or
44
+ # `success`.
45
+ # @return [String]
46
+ #
47
+ # @!attribute [rw] message
48
+ # The description of the errors returned by the document service.
49
+ # @return [String]
50
+ #
51
+ class DocumentServiceException < Struct.new(
52
+ :status,
53
+ :message)
54
+ include Aws::Structure
55
+ end
56
+
39
57
  # A warning returned by the document service when an issue is discovered
40
58
  # while processing an upload request.
41
59
  #
@@ -187,6 +205,18 @@ module Aws::CloudSearchDomain
187
205
  include Aws::Structure
188
206
  end
189
207
 
208
+ # Information about any problems encountered while processing a search
209
+ # request.
210
+ #
211
+ # @!attribute [rw] message
212
+ # A description of the error returned by the search service.
213
+ # @return [String]
214
+ #
215
+ class SearchException < Struct.new(
216
+ :message)
217
+ include Aws::Structure
218
+ end
219
+
190
220
  # Container for the parameters to the `Search` request.
191
221
  #
192
222
  # @note When making an API call, you may pass SearchRequest
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.11.0
4
+ version: 1.12.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: 2019-05-15 00:00:00.000000000 Z
11
+ date: 2019-05-21 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.52.1
22
+ version: 3.53.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.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement