aws-sdk-kendra 1.38.0 → 1.42.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,6 +30,7 @@ module Aws::Kendra
30
30
  # * {AccessDeniedException}
31
31
  # * {ConflictException}
32
32
  # * {InternalServerException}
33
+ # * {InvalidRequestException}
33
34
  # * {ResourceAlreadyExistException}
34
35
  # * {ResourceInUseException}
35
36
  # * {ResourceNotFoundException}
@@ -89,6 +90,21 @@ module Aws::Kendra
89
90
  end
90
91
  end
91
92
 
93
+ class InvalidRequestException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::Kendra::Types::InvalidRequestException] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+ end
107
+
92
108
  class ResourceAlreadyExistException < ServiceError
93
109
 
94
110
  # @param [Seahorse::Client::RequestContext] context