aws-sdk-qbusiness 1.22.0 → 1.24.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,8 +29,10 @@ module Aws::QBusiness
29
29
  # ## Error Classes
30
30
  # * {AccessDeniedException}
31
31
  # * {ConflictException}
32
+ # * {ExternalResourceException}
32
33
  # * {InternalServerException}
33
34
  # * {LicenseNotFoundException}
35
+ # * {MediaTooLargeException}
34
36
  # * {ResourceNotFoundException}
35
37
  # * {ServiceQuotaExceededException}
36
38
  # * {ThrottlingException}
@@ -82,6 +84,21 @@ module Aws::QBusiness
82
84
  end
83
85
  end
84
86
 
87
+ class ExternalResourceException < ServiceError
88
+
89
+ # @param [Seahorse::Client::RequestContext] context
90
+ # @param [String] message
91
+ # @param [Aws::QBusiness::Types::ExternalResourceException] data
92
+ def initialize(context, message, data = Aws::EmptyStructure.new)
93
+ super(context, message, data)
94
+ end
95
+
96
+ # @return [String]
97
+ def message
98
+ @message || @data[:message]
99
+ end
100
+ end
101
+
85
102
  class InternalServerException < ServiceError
86
103
 
87
104
  # @param [Seahorse::Client::RequestContext] context
@@ -112,6 +129,21 @@ module Aws::QBusiness
112
129
  end
113
130
  end
114
131
 
132
+ class MediaTooLargeException < ServiceError
133
+
134
+ # @param [Seahorse::Client::RequestContext] context
135
+ # @param [String] message
136
+ # @param [Aws::QBusiness::Types::MediaTooLargeException] data
137
+ def initialize(context, message, data = Aws::EmptyStructure.new)
138
+ super(context, message, data)
139
+ end
140
+
141
+ # @return [String]
142
+ def message
143
+ @message || @data[:message]
144
+ end
145
+ end
146
+
115
147
  class ResourceNotFoundException < ServiceError
116
148
 
117
149
  # @param [Seahorse::Client::RequestContext] context
@@ -66,7 +66,9 @@ module Aws::QBusiness
66
66
  end
67
67
 
68
68
  # @option params [Types::AttachmentInput] :attachment
69
- # A file directly uploaded into a web experience chat.
69
+ # This is either a file directly uploaded into a web experience chat or
70
+ # a reference to an existing attachment that is part of a web experience
71
+ # chat.
70
72
  #
71
73
  def signal_attachment_event_event(params = {})
72
74
  @event_emitter.emit(:attachment_event, params)