aws-sdk-chatbot 1.9.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-chatbot/client.rb +242 -134
- data/lib/aws-sdk-chatbot/client_api.rb +73 -42
- data/lib/aws-sdk-chatbot/errors.rb +155 -0
- data/lib/aws-sdk-chatbot/types.rb +620 -260
- data/lib/aws-sdk-chatbot.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/errors.rbs +31 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +102 -40
- metadata +4 -4
@@ -73,6 +73,11 @@ module Aws::Chatbot
|
|
73
73
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
74
74
|
super(context, message, data)
|
75
75
|
end
|
76
|
+
|
77
|
+
# @return [String]
|
78
|
+
def message
|
79
|
+
@message || @data[:message]
|
80
|
+
end
|
76
81
|
end
|
77
82
|
|
78
83
|
class CreateChimeWebhookConfigurationException < ServiceError
|
@@ -83,6 +88,11 @@ module Aws::Chatbot
|
|
83
88
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
84
89
|
super(context, message, data)
|
85
90
|
end
|
91
|
+
|
92
|
+
# @return [String]
|
93
|
+
def message
|
94
|
+
@message || @data[:message]
|
95
|
+
end
|
86
96
|
end
|
87
97
|
|
88
98
|
class CreateSlackChannelConfigurationException < ServiceError
|
@@ -93,6 +103,11 @@ module Aws::Chatbot
|
|
93
103
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
94
104
|
super(context, message, data)
|
95
105
|
end
|
106
|
+
|
107
|
+
# @return [String]
|
108
|
+
def message
|
109
|
+
@message || @data[:message]
|
110
|
+
end
|
96
111
|
end
|
97
112
|
|
98
113
|
class CreateTeamsChannelConfigurationException < ServiceError
|
@@ -103,6 +118,11 @@ module Aws::Chatbot
|
|
103
118
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
104
119
|
super(context, message, data)
|
105
120
|
end
|
121
|
+
|
122
|
+
# @return [String]
|
123
|
+
def message
|
124
|
+
@message || @data[:message]
|
125
|
+
end
|
106
126
|
end
|
107
127
|
|
108
128
|
class DeleteChimeWebhookConfigurationException < ServiceError
|
@@ -113,6 +133,11 @@ module Aws::Chatbot
|
|
113
133
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
114
134
|
super(context, message, data)
|
115
135
|
end
|
136
|
+
|
137
|
+
# @return [String]
|
138
|
+
def message
|
139
|
+
@message || @data[:message]
|
140
|
+
end
|
116
141
|
end
|
117
142
|
|
118
143
|
class DeleteMicrosoftTeamsUserIdentityException < ServiceError
|
@@ -123,6 +148,11 @@ module Aws::Chatbot
|
|
123
148
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
124
149
|
super(context, message, data)
|
125
150
|
end
|
151
|
+
|
152
|
+
# @return [String]
|
153
|
+
def message
|
154
|
+
@message || @data[:message]
|
155
|
+
end
|
126
156
|
end
|
127
157
|
|
128
158
|
class DeleteSlackChannelConfigurationException < ServiceError
|
@@ -133,6 +163,11 @@ module Aws::Chatbot
|
|
133
163
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
134
164
|
super(context, message, data)
|
135
165
|
end
|
166
|
+
|
167
|
+
# @return [String]
|
168
|
+
def message
|
169
|
+
@message || @data[:message]
|
170
|
+
end
|
136
171
|
end
|
137
172
|
|
138
173
|
class DeleteSlackUserIdentityException < ServiceError
|
@@ -143,6 +178,11 @@ module Aws::Chatbot
|
|
143
178
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
144
179
|
super(context, message, data)
|
145
180
|
end
|
181
|
+
|
182
|
+
# @return [String]
|
183
|
+
def message
|
184
|
+
@message || @data[:message]
|
185
|
+
end
|
146
186
|
end
|
147
187
|
|
148
188
|
class DeleteSlackWorkspaceAuthorizationFault < ServiceError
|
@@ -153,6 +193,11 @@ module Aws::Chatbot
|
|
153
193
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
154
194
|
super(context, message, data)
|
155
195
|
end
|
196
|
+
|
197
|
+
# @return [String]
|
198
|
+
def message
|
199
|
+
@message || @data[:message]
|
200
|
+
end
|
156
201
|
end
|
157
202
|
|
158
203
|
class DeleteTeamsChannelConfigurationException < ServiceError
|
@@ -163,6 +208,11 @@ module Aws::Chatbot
|
|
163
208
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
164
209
|
super(context, message, data)
|
165
210
|
end
|
211
|
+
|
212
|
+
# @return [String]
|
213
|
+
def message
|
214
|
+
@message || @data[:message]
|
215
|
+
end
|
166
216
|
end
|
167
217
|
|
168
218
|
class DeleteTeamsConfiguredTeamException < ServiceError
|
@@ -173,6 +223,11 @@ module Aws::Chatbot
|
|
173
223
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
174
224
|
super(context, message, data)
|
175
225
|
end
|
226
|
+
|
227
|
+
# @return [String]
|
228
|
+
def message
|
229
|
+
@message || @data[:message]
|
230
|
+
end
|
176
231
|
end
|
177
232
|
|
178
233
|
class DescribeChimeWebhookConfigurationsException < ServiceError
|
@@ -183,6 +238,11 @@ module Aws::Chatbot
|
|
183
238
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
184
239
|
super(context, message, data)
|
185
240
|
end
|
241
|
+
|
242
|
+
# @return [String]
|
243
|
+
def message
|
244
|
+
@message || @data[:message]
|
245
|
+
end
|
186
246
|
end
|
187
247
|
|
188
248
|
class DescribeSlackChannelConfigurationsException < ServiceError
|
@@ -193,6 +253,11 @@ module Aws::Chatbot
|
|
193
253
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
194
254
|
super(context, message, data)
|
195
255
|
end
|
256
|
+
|
257
|
+
# @return [String]
|
258
|
+
def message
|
259
|
+
@message || @data[:message]
|
260
|
+
end
|
196
261
|
end
|
197
262
|
|
198
263
|
class DescribeSlackUserIdentitiesException < ServiceError
|
@@ -203,6 +268,11 @@ module Aws::Chatbot
|
|
203
268
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
204
269
|
super(context, message, data)
|
205
270
|
end
|
271
|
+
|
272
|
+
# @return [String]
|
273
|
+
def message
|
274
|
+
@message || @data[:message]
|
275
|
+
end
|
206
276
|
end
|
207
277
|
|
208
278
|
class DescribeSlackWorkspacesException < ServiceError
|
@@ -213,6 +283,11 @@ module Aws::Chatbot
|
|
213
283
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
214
284
|
super(context, message, data)
|
215
285
|
end
|
286
|
+
|
287
|
+
# @return [String]
|
288
|
+
def message
|
289
|
+
@message || @data[:message]
|
290
|
+
end
|
216
291
|
end
|
217
292
|
|
218
293
|
class GetAccountPreferencesException < ServiceError
|
@@ -223,6 +298,11 @@ module Aws::Chatbot
|
|
223
298
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
224
299
|
super(context, message, data)
|
225
300
|
end
|
301
|
+
|
302
|
+
# @return [String]
|
303
|
+
def message
|
304
|
+
@message || @data[:message]
|
305
|
+
end
|
226
306
|
end
|
227
307
|
|
228
308
|
class GetTeamsChannelConfigurationException < ServiceError
|
@@ -233,6 +313,11 @@ module Aws::Chatbot
|
|
233
313
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
234
314
|
super(context, message, data)
|
235
315
|
end
|
316
|
+
|
317
|
+
# @return [String]
|
318
|
+
def message
|
319
|
+
@message || @data[:message]
|
320
|
+
end
|
236
321
|
end
|
237
322
|
|
238
323
|
class InternalServiceError < ServiceError
|
@@ -243,6 +328,11 @@ module Aws::Chatbot
|
|
243
328
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
244
329
|
super(context, message, data)
|
245
330
|
end
|
331
|
+
|
332
|
+
# @return [String]
|
333
|
+
def message
|
334
|
+
@message || @data[:message]
|
335
|
+
end
|
246
336
|
end
|
247
337
|
|
248
338
|
class InvalidParameterException < ServiceError
|
@@ -253,6 +343,11 @@ module Aws::Chatbot
|
|
253
343
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
254
344
|
super(context, message, data)
|
255
345
|
end
|
346
|
+
|
347
|
+
# @return [String]
|
348
|
+
def message
|
349
|
+
@message || @data[:message]
|
350
|
+
end
|
256
351
|
end
|
257
352
|
|
258
353
|
class InvalidRequestException < ServiceError
|
@@ -263,6 +358,11 @@ module Aws::Chatbot
|
|
263
358
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
264
359
|
super(context, message, data)
|
265
360
|
end
|
361
|
+
|
362
|
+
# @return [String]
|
363
|
+
def message
|
364
|
+
@message || @data[:message]
|
365
|
+
end
|
266
366
|
end
|
267
367
|
|
268
368
|
class LimitExceededException < ServiceError
|
@@ -273,6 +373,11 @@ module Aws::Chatbot
|
|
273
373
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
274
374
|
super(context, message, data)
|
275
375
|
end
|
376
|
+
|
377
|
+
# @return [String]
|
378
|
+
def message
|
379
|
+
@message || @data[:message]
|
380
|
+
end
|
276
381
|
end
|
277
382
|
|
278
383
|
class ListMicrosoftTeamsConfiguredTeamsException < ServiceError
|
@@ -283,6 +388,11 @@ module Aws::Chatbot
|
|
283
388
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
284
389
|
super(context, message, data)
|
285
390
|
end
|
391
|
+
|
392
|
+
# @return [String]
|
393
|
+
def message
|
394
|
+
@message || @data[:message]
|
395
|
+
end
|
286
396
|
end
|
287
397
|
|
288
398
|
class ListMicrosoftTeamsUserIdentitiesException < ServiceError
|
@@ -293,6 +403,11 @@ module Aws::Chatbot
|
|
293
403
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
294
404
|
super(context, message, data)
|
295
405
|
end
|
406
|
+
|
407
|
+
# @return [String]
|
408
|
+
def message
|
409
|
+
@message || @data[:message]
|
410
|
+
end
|
296
411
|
end
|
297
412
|
|
298
413
|
class ListTeamsChannelConfigurationsException < ServiceError
|
@@ -303,6 +418,11 @@ module Aws::Chatbot
|
|
303
418
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
304
419
|
super(context, message, data)
|
305
420
|
end
|
421
|
+
|
422
|
+
# @return [String]
|
423
|
+
def message
|
424
|
+
@message || @data[:message]
|
425
|
+
end
|
306
426
|
end
|
307
427
|
|
308
428
|
class ResourceNotFoundException < ServiceError
|
@@ -313,6 +433,11 @@ module Aws::Chatbot
|
|
313
433
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
314
434
|
super(context, message, data)
|
315
435
|
end
|
436
|
+
|
437
|
+
# @return [String]
|
438
|
+
def message
|
439
|
+
@message || @data[:message]
|
440
|
+
end
|
316
441
|
end
|
317
442
|
|
318
443
|
class ServiceUnavailableException < ServiceError
|
@@ -323,6 +448,11 @@ module Aws::Chatbot
|
|
323
448
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
324
449
|
super(context, message, data)
|
325
450
|
end
|
451
|
+
|
452
|
+
# @return [String]
|
453
|
+
def message
|
454
|
+
@message || @data[:message]
|
455
|
+
end
|
326
456
|
end
|
327
457
|
|
328
458
|
class TooManyTagsException < ServiceError
|
@@ -333,6 +463,11 @@ module Aws::Chatbot
|
|
333
463
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
334
464
|
super(context, message, data)
|
335
465
|
end
|
466
|
+
|
467
|
+
# @return [String]
|
468
|
+
def message
|
469
|
+
@message || @data[:message]
|
470
|
+
end
|
336
471
|
end
|
337
472
|
|
338
473
|
class UpdateAccountPreferencesException < ServiceError
|
@@ -343,6 +478,11 @@ module Aws::Chatbot
|
|
343
478
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
344
479
|
super(context, message, data)
|
345
480
|
end
|
481
|
+
|
482
|
+
# @return [String]
|
483
|
+
def message
|
484
|
+
@message || @data[:message]
|
485
|
+
end
|
346
486
|
end
|
347
487
|
|
348
488
|
class UpdateChimeWebhookConfigurationException < ServiceError
|
@@ -353,6 +493,11 @@ module Aws::Chatbot
|
|
353
493
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
354
494
|
super(context, message, data)
|
355
495
|
end
|
496
|
+
|
497
|
+
# @return [String]
|
498
|
+
def message
|
499
|
+
@message || @data[:message]
|
500
|
+
end
|
356
501
|
end
|
357
502
|
|
358
503
|
class UpdateSlackChannelConfigurationException < ServiceError
|
@@ -363,6 +508,11 @@ module Aws::Chatbot
|
|
363
508
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
364
509
|
super(context, message, data)
|
365
510
|
end
|
511
|
+
|
512
|
+
# @return [String]
|
513
|
+
def message
|
514
|
+
@message || @data[:message]
|
515
|
+
end
|
366
516
|
end
|
367
517
|
|
368
518
|
class UpdateTeamsChannelConfigurationException < ServiceError
|
@@ -373,6 +523,11 @@ module Aws::Chatbot
|
|
373
523
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
374
524
|
super(context, message, data)
|
375
525
|
end
|
526
|
+
|
527
|
+
# @return [String]
|
528
|
+
def message
|
529
|
+
@message || @data[:message]
|
530
|
+
end
|
376
531
|
end
|
377
532
|
|
378
533
|
end
|