aws-sdk-bedrock 1.31.0 → 1.33.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,6 +32,7 @@ module Aws::Bedrock
32
32
  # * {InternalServerException}
33
33
  # * {ResourceNotFoundException}
34
34
  # * {ServiceQuotaExceededException}
35
+ # * {ServiceUnavailableException}
35
36
  # * {ThrottlingException}
36
37
  # * {TooManyTagsException}
37
38
  # * {ValidationException}
@@ -117,6 +118,21 @@ module Aws::Bedrock
117
118
  end
118
119
  end
119
120
 
121
+ class ServiceUnavailableException < ServiceError
122
+
123
+ # @param [Seahorse::Client::RequestContext] context
124
+ # @param [String] message
125
+ # @param [Aws::Bedrock::Types::ServiceUnavailableException] data
126
+ def initialize(context, message, data = Aws::EmptyStructure.new)
127
+ super(context, message, data)
128
+ end
129
+
130
+ # @return [String]
131
+ def message
132
+ @message || @data[:message]
133
+ end
134
+ end
135
+
120
136
  class ThrottlingException < ServiceError
121
137
 
122
138
  # @param [Seahorse::Client::RequestContext] context