aws-sdk-chatbot 1.9.0 → 1.10.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-chatbot/client.rb +224 -133
- 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/errors.rbs +31 -0
- data/sig/types.rbs +102 -40
- metadata +2 -2
@@ -70,6 +70,7 @@ module Aws::Chatbot
|
|
70
70
|
DescribeSlackWorkspacesException = Shapes::StructureShape.new(name: 'DescribeSlackWorkspacesException')
|
71
71
|
DescribeSlackWorkspacesRequest = Shapes::StructureShape.new(name: 'DescribeSlackWorkspacesRequest')
|
72
72
|
DescribeSlackWorkspacesResult = Shapes::StructureShape.new(name: 'DescribeSlackWorkspacesResult')
|
73
|
+
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
73
74
|
GetAccountPreferencesException = Shapes::StructureShape.new(name: 'GetAccountPreferencesException')
|
74
75
|
GetAccountPreferencesRequest = Shapes::StructureShape.new(name: 'GetAccountPreferencesRequest')
|
75
76
|
GetAccountPreferencesResult = Shapes::StructureShape.new(name: 'GetAccountPreferencesResult')
|
@@ -109,7 +110,6 @@ module Aws::Chatbot
|
|
109
110
|
SlackWorkspace = Shapes::StructureShape.new(name: 'SlackWorkspace')
|
110
111
|
SlackWorkspacesList = Shapes::ListShape.new(name: 'SlackWorkspacesList')
|
111
112
|
SnsTopicArnList = Shapes::ListShape.new(name: 'SnsTopicArnList')
|
112
|
-
String = Shapes::StringShape.new(name: 'String')
|
113
113
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
114
114
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
115
115
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -159,13 +159,15 @@ module Aws::Chatbot
|
|
159
159
|
|
160
160
|
ConfiguredTeam.add_member(:tenant_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "TenantId"))
|
161
161
|
ConfiguredTeam.add_member(:team_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "TeamId"))
|
162
|
-
ConfiguredTeam.add_member(:team_name, Shapes::ShapeRef.new(shape: UUID, location_name: "TeamName"
|
162
|
+
ConfiguredTeam.add_member(:team_name, Shapes::ShapeRef.new(shape: UUID, location_name: "TeamName"))
|
163
163
|
ConfiguredTeam.struct_class = Types::ConfiguredTeam
|
164
164
|
|
165
165
|
ConfiguredTeamsList.member = Shapes::ShapeRef.new(shape: ConfiguredTeam)
|
166
166
|
|
167
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
167
168
|
ConflictException.struct_class = Types::ConflictException
|
168
169
|
|
170
|
+
CreateChimeWebhookConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
169
171
|
CreateChimeWebhookConfigurationException.struct_class = Types::CreateChimeWebhookConfigurationException
|
170
172
|
|
171
173
|
CreateChimeWebhookConfigurationRequest.add_member(:webhook_description, Shapes::ShapeRef.new(shape: ChimeWebhookDescription, required: true, location_name: "WebhookDescription"))
|
@@ -180,6 +182,7 @@ module Aws::Chatbot
|
|
180
182
|
CreateChimeWebhookConfigurationResult.add_member(:webhook_configuration, Shapes::ShapeRef.new(shape: ChimeWebhookConfiguration, location_name: "WebhookConfiguration"))
|
181
183
|
CreateChimeWebhookConfigurationResult.struct_class = Types::CreateChimeWebhookConfigurationResult
|
182
184
|
|
185
|
+
CreateSlackChannelConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
183
186
|
CreateSlackChannelConfigurationException.struct_class = Types::CreateSlackChannelConfigurationException
|
184
187
|
|
185
188
|
CreateSlackChannelConfigurationRequest.add_member(:slack_team_id, Shapes::ShapeRef.new(shape: SlackTeamId, required: true, location_name: "SlackTeamId"))
|
@@ -197,6 +200,7 @@ module Aws::Chatbot
|
|
197
200
|
CreateSlackChannelConfigurationResult.add_member(:channel_configuration, Shapes::ShapeRef.new(shape: SlackChannelConfiguration, location_name: "ChannelConfiguration"))
|
198
201
|
CreateSlackChannelConfigurationResult.struct_class = Types::CreateSlackChannelConfigurationResult
|
199
202
|
|
203
|
+
CreateTeamsChannelConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
200
204
|
CreateTeamsChannelConfigurationException.struct_class = Types::CreateTeamsChannelConfigurationException
|
201
205
|
|
202
206
|
CreateTeamsChannelConfigurationRequest.add_member(:channel_id, Shapes::ShapeRef.new(shape: TeamsChannelId, required: true, location_name: "ChannelId"))
|
@@ -216,6 +220,7 @@ module Aws::Chatbot
|
|
216
220
|
CreateTeamsChannelConfigurationResult.add_member(:channel_configuration, Shapes::ShapeRef.new(shape: TeamsChannelConfiguration, location_name: "ChannelConfiguration"))
|
217
221
|
CreateTeamsChannelConfigurationResult.struct_class = Types::CreateTeamsChannelConfigurationResult
|
218
222
|
|
223
|
+
DeleteChimeWebhookConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
219
224
|
DeleteChimeWebhookConfigurationException.struct_class = Types::DeleteChimeWebhookConfigurationException
|
220
225
|
|
221
226
|
DeleteChimeWebhookConfigurationRequest.add_member(:chat_configuration_arn, Shapes::ShapeRef.new(shape: ChatConfigurationArn, required: true, location_name: "ChatConfigurationArn"))
|
@@ -223,6 +228,7 @@ module Aws::Chatbot
|
|
223
228
|
|
224
229
|
DeleteChimeWebhookConfigurationResult.struct_class = Types::DeleteChimeWebhookConfigurationResult
|
225
230
|
|
231
|
+
DeleteMicrosoftTeamsUserIdentityException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
226
232
|
DeleteMicrosoftTeamsUserIdentityException.struct_class = Types::DeleteMicrosoftTeamsUserIdentityException
|
227
233
|
|
228
234
|
DeleteMicrosoftTeamsUserIdentityRequest.add_member(:chat_configuration_arn, Shapes::ShapeRef.new(shape: ChatConfigurationArn, required: true, location_name: "ChatConfigurationArn"))
|
@@ -231,6 +237,7 @@ module Aws::Chatbot
|
|
231
237
|
|
232
238
|
DeleteMicrosoftTeamsUserIdentityResult.struct_class = Types::DeleteMicrosoftTeamsUserIdentityResult
|
233
239
|
|
240
|
+
DeleteSlackChannelConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
234
241
|
DeleteSlackChannelConfigurationException.struct_class = Types::DeleteSlackChannelConfigurationException
|
235
242
|
|
236
243
|
DeleteSlackChannelConfigurationRequest.add_member(:chat_configuration_arn, Shapes::ShapeRef.new(shape: ChatConfigurationArn, required: true, location_name: "ChatConfigurationArn"))
|
@@ -238,6 +245,7 @@ module Aws::Chatbot
|
|
238
245
|
|
239
246
|
DeleteSlackChannelConfigurationResult.struct_class = Types::DeleteSlackChannelConfigurationResult
|
240
247
|
|
248
|
+
DeleteSlackUserIdentityException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
241
249
|
DeleteSlackUserIdentityException.struct_class = Types::DeleteSlackUserIdentityException
|
242
250
|
|
243
251
|
DeleteSlackUserIdentityRequest.add_member(:chat_configuration_arn, Shapes::ShapeRef.new(shape: ChatConfigurationArn, required: true, location_name: "ChatConfigurationArn"))
|
@@ -247,6 +255,7 @@ module Aws::Chatbot
|
|
247
255
|
|
248
256
|
DeleteSlackUserIdentityResult.struct_class = Types::DeleteSlackUserIdentityResult
|
249
257
|
|
258
|
+
DeleteSlackWorkspaceAuthorizationFault.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
250
259
|
DeleteSlackWorkspaceAuthorizationFault.struct_class = Types::DeleteSlackWorkspaceAuthorizationFault
|
251
260
|
|
252
261
|
DeleteSlackWorkspaceAuthorizationRequest.add_member(:slack_team_id, Shapes::ShapeRef.new(shape: SlackTeamId, required: true, location_name: "SlackTeamId"))
|
@@ -254,6 +263,7 @@ module Aws::Chatbot
|
|
254
263
|
|
255
264
|
DeleteSlackWorkspaceAuthorizationResult.struct_class = Types::DeleteSlackWorkspaceAuthorizationResult
|
256
265
|
|
266
|
+
DeleteTeamsChannelConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
257
267
|
DeleteTeamsChannelConfigurationException.struct_class = Types::DeleteTeamsChannelConfigurationException
|
258
268
|
|
259
269
|
DeleteTeamsChannelConfigurationRequest.add_member(:chat_configuration_arn, Shapes::ShapeRef.new(shape: ChatConfigurationArn, required: true, location_name: "ChatConfigurationArn"))
|
@@ -261,6 +271,7 @@ module Aws::Chatbot
|
|
261
271
|
|
262
272
|
DeleteTeamsChannelConfigurationResult.struct_class = Types::DeleteTeamsChannelConfigurationResult
|
263
273
|
|
274
|
+
DeleteTeamsConfiguredTeamException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
264
275
|
DeleteTeamsConfiguredTeamException.struct_class = Types::DeleteTeamsConfiguredTeamException
|
265
276
|
|
266
277
|
DeleteTeamsConfiguredTeamRequest.add_member(:team_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "TeamId"))
|
@@ -268,28 +279,31 @@ module Aws::Chatbot
|
|
268
279
|
|
269
280
|
DeleteTeamsConfiguredTeamResult.struct_class = Types::DeleteTeamsConfiguredTeamResult
|
270
281
|
|
282
|
+
DescribeChimeWebhookConfigurationsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
271
283
|
DescribeChimeWebhookConfigurationsException.struct_class = Types::DescribeChimeWebhookConfigurationsException
|
272
284
|
|
273
|
-
DescribeChimeWebhookConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"
|
274
|
-
DescribeChimeWebhookConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"
|
275
|
-
DescribeChimeWebhookConfigurationsRequest.add_member(:chat_configuration_arn, Shapes::ShapeRef.new(shape: ChatConfigurationArn, location_name: "ChatConfigurationArn"
|
285
|
+
DescribeChimeWebhookConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
286
|
+
DescribeChimeWebhookConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
287
|
+
DescribeChimeWebhookConfigurationsRequest.add_member(:chat_configuration_arn, Shapes::ShapeRef.new(shape: ChatConfigurationArn, location_name: "ChatConfigurationArn"))
|
276
288
|
DescribeChimeWebhookConfigurationsRequest.struct_class = Types::DescribeChimeWebhookConfigurationsRequest
|
277
289
|
|
278
290
|
DescribeChimeWebhookConfigurationsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
279
291
|
DescribeChimeWebhookConfigurationsResult.add_member(:webhook_configurations, Shapes::ShapeRef.new(shape: ChimeWebhookConfigurationList, location_name: "WebhookConfigurations"))
|
280
292
|
DescribeChimeWebhookConfigurationsResult.struct_class = Types::DescribeChimeWebhookConfigurationsResult
|
281
293
|
|
294
|
+
DescribeSlackChannelConfigurationsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
282
295
|
DescribeSlackChannelConfigurationsException.struct_class = Types::DescribeSlackChannelConfigurationsException
|
283
296
|
|
284
|
-
DescribeSlackChannelConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"
|
285
|
-
DescribeSlackChannelConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"
|
286
|
-
DescribeSlackChannelConfigurationsRequest.add_member(:chat_configuration_arn, Shapes::ShapeRef.new(shape: ChatConfigurationArn, location_name: "ChatConfigurationArn"
|
297
|
+
DescribeSlackChannelConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
298
|
+
DescribeSlackChannelConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
299
|
+
DescribeSlackChannelConfigurationsRequest.add_member(:chat_configuration_arn, Shapes::ShapeRef.new(shape: ChatConfigurationArn, location_name: "ChatConfigurationArn"))
|
287
300
|
DescribeSlackChannelConfigurationsRequest.struct_class = Types::DescribeSlackChannelConfigurationsRequest
|
288
301
|
|
289
302
|
DescribeSlackChannelConfigurationsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
290
303
|
DescribeSlackChannelConfigurationsResult.add_member(:slack_channel_configurations, Shapes::ShapeRef.new(shape: SlackChannelConfigurationList, location_name: "SlackChannelConfigurations"))
|
291
304
|
DescribeSlackChannelConfigurationsResult.struct_class = Types::DescribeSlackChannelConfigurationsResult
|
292
305
|
|
306
|
+
DescribeSlackUserIdentitiesException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
293
307
|
DescribeSlackUserIdentitiesException.struct_class = Types::DescribeSlackUserIdentitiesException
|
294
308
|
|
295
309
|
DescribeSlackUserIdentitiesRequest.add_member(:chat_configuration_arn, Shapes::ShapeRef.new(shape: ChatConfigurationArn, location_name: "ChatConfigurationArn"))
|
@@ -301,6 +315,7 @@ module Aws::Chatbot
|
|
301
315
|
DescribeSlackUserIdentitiesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
302
316
|
DescribeSlackUserIdentitiesResult.struct_class = Types::DescribeSlackUserIdentitiesResult
|
303
317
|
|
318
|
+
DescribeSlackWorkspacesException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
304
319
|
DescribeSlackWorkspacesException.struct_class = Types::DescribeSlackWorkspacesException
|
305
320
|
|
306
321
|
DescribeSlackWorkspacesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
@@ -311,6 +326,7 @@ module Aws::Chatbot
|
|
311
326
|
DescribeSlackWorkspacesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
312
327
|
DescribeSlackWorkspacesResult.struct_class = Types::DescribeSlackWorkspacesResult
|
313
328
|
|
329
|
+
GetAccountPreferencesException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
314
330
|
GetAccountPreferencesException.struct_class = Types::GetAccountPreferencesException
|
315
331
|
|
316
332
|
GetAccountPreferencesRequest.struct_class = Types::GetAccountPreferencesRequest
|
@@ -318,6 +334,7 @@ module Aws::Chatbot
|
|
318
334
|
GetAccountPreferencesResult.add_member(:account_preferences, Shapes::ShapeRef.new(shape: AccountPreferences, location_name: "AccountPreferences"))
|
319
335
|
GetAccountPreferencesResult.struct_class = Types::GetAccountPreferencesResult
|
320
336
|
|
337
|
+
GetTeamsChannelConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
321
338
|
GetTeamsChannelConfigurationException.struct_class = Types::GetTeamsChannelConfigurationException
|
322
339
|
|
323
340
|
GetTeamsChannelConfigurationRequest.add_member(:chat_configuration_arn, Shapes::ShapeRef.new(shape: ChatConfigurationArn, required: true, location_name: "ChatConfigurationArn"))
|
@@ -328,14 +345,19 @@ module Aws::Chatbot
|
|
328
345
|
|
329
346
|
GuardrailPolicyArnList.member = Shapes::ShapeRef.new(shape: GuardrailPolicyArn)
|
330
347
|
|
348
|
+
InternalServiceError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
331
349
|
InternalServiceError.struct_class = Types::InternalServiceError
|
332
350
|
|
351
|
+
InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
333
352
|
InvalidParameterException.struct_class = Types::InvalidParameterException
|
334
353
|
|
354
|
+
InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
335
355
|
InvalidRequestException.struct_class = Types::InvalidRequestException
|
336
356
|
|
357
|
+
LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
337
358
|
LimitExceededException.struct_class = Types::LimitExceededException
|
338
359
|
|
360
|
+
ListMicrosoftTeamsConfiguredTeamsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
339
361
|
ListMicrosoftTeamsConfiguredTeamsException.struct_class = Types::ListMicrosoftTeamsConfiguredTeamsException
|
340
362
|
|
341
363
|
ListMicrosoftTeamsConfiguredTeamsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
@@ -346,6 +368,7 @@ module Aws::Chatbot
|
|
346
368
|
ListMicrosoftTeamsConfiguredTeamsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
347
369
|
ListMicrosoftTeamsConfiguredTeamsResult.struct_class = Types::ListMicrosoftTeamsConfiguredTeamsResult
|
348
370
|
|
371
|
+
ListMicrosoftTeamsUserIdentitiesException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
349
372
|
ListMicrosoftTeamsUserIdentitiesException.struct_class = Types::ListMicrosoftTeamsUserIdentitiesException
|
350
373
|
|
351
374
|
ListMicrosoftTeamsUserIdentitiesRequest.add_member(:chat_configuration_arn, Shapes::ShapeRef.new(shape: ChatConfigurationArn, location_name: "ChatConfigurationArn"))
|
@@ -363,19 +386,22 @@ module Aws::Chatbot
|
|
363
386
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
364
387
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
365
388
|
|
389
|
+
ListTeamsChannelConfigurationsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
366
390
|
ListTeamsChannelConfigurationsException.struct_class = Types::ListTeamsChannelConfigurationsException
|
367
391
|
|
368
|
-
ListTeamsChannelConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"
|
369
|
-
ListTeamsChannelConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"
|
370
|
-
ListTeamsChannelConfigurationsRequest.add_member(:team_id, Shapes::ShapeRef.new(shape: UUID, location_name: "TeamId"
|
392
|
+
ListTeamsChannelConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
393
|
+
ListTeamsChannelConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
394
|
+
ListTeamsChannelConfigurationsRequest.add_member(:team_id, Shapes::ShapeRef.new(shape: UUID, location_name: "TeamId"))
|
371
395
|
ListTeamsChannelConfigurationsRequest.struct_class = Types::ListTeamsChannelConfigurationsRequest
|
372
396
|
|
373
397
|
ListTeamsChannelConfigurationsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
374
398
|
ListTeamsChannelConfigurationsResult.add_member(:team_channel_configurations, Shapes::ShapeRef.new(shape: TeamChannelConfigurationsList, location_name: "TeamChannelConfigurations"))
|
375
399
|
ListTeamsChannelConfigurationsResult.struct_class = Types::ListTeamsChannelConfigurationsResult
|
376
400
|
|
401
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
377
402
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
378
403
|
|
404
|
+
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
379
405
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
380
406
|
|
381
407
|
SlackChannelConfiguration.add_member(:slack_team_name, Shapes::ShapeRef.new(shape: SlackTeamName, required: true, location_name: "SlackTeamName"))
|
@@ -384,7 +410,7 @@ module Aws::Chatbot
|
|
384
410
|
SlackChannelConfiguration.add_member(:slack_channel_name, Shapes::ShapeRef.new(shape: SlackChannelDisplayName, required: true, location_name: "SlackChannelName"))
|
385
411
|
SlackChannelConfiguration.add_member(:chat_configuration_arn, Shapes::ShapeRef.new(shape: ChatConfigurationArn, required: true, location_name: "ChatConfigurationArn"))
|
386
412
|
SlackChannelConfiguration.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "IamRoleArn"))
|
387
|
-
SlackChannelConfiguration.add_member(:sns_topic_arns, Shapes::ShapeRef.new(shape: SnsTopicArnList, required: true, location_name: "SnsTopicArns"
|
413
|
+
SlackChannelConfiguration.add_member(:sns_topic_arns, Shapes::ShapeRef.new(shape: SnsTopicArnList, required: true, location_name: "SnsTopicArns"))
|
388
414
|
SlackChannelConfiguration.add_member(:configuration_name, Shapes::ShapeRef.new(shape: ConfigurationName, location_name: "ConfigurationName"))
|
389
415
|
SlackChannelConfiguration.add_member(:logging_level, Shapes::ShapeRef.new(shape: CustomerCwLogLevel, location_name: "LoggingLevel"))
|
390
416
|
SlackChannelConfiguration.add_member(:guardrail_policy_arns, Shapes::ShapeRef.new(shape: GuardrailPolicyArnList, location_name: "GuardrailPolicyArns"))
|
@@ -432,11 +458,11 @@ module Aws::Chatbot
|
|
432
458
|
TeamsChannelConfiguration.add_member(:channel_id, Shapes::ShapeRef.new(shape: TeamsChannelId, required: true, location_name: "ChannelId"))
|
433
459
|
TeamsChannelConfiguration.add_member(:channel_name, Shapes::ShapeRef.new(shape: TeamsChannelName, location_name: "ChannelName"))
|
434
460
|
TeamsChannelConfiguration.add_member(:team_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "TeamId"))
|
435
|
-
TeamsChannelConfiguration.add_member(:team_name, Shapes::ShapeRef.new(shape:
|
461
|
+
TeamsChannelConfiguration.add_member(:team_name, Shapes::ShapeRef.new(shape: TeamName, location_name: "TeamName"))
|
436
462
|
TeamsChannelConfiguration.add_member(:tenant_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "TenantId"))
|
437
463
|
TeamsChannelConfiguration.add_member(:chat_configuration_arn, Shapes::ShapeRef.new(shape: ChatConfigurationArn, required: true, location_name: "ChatConfigurationArn"))
|
438
464
|
TeamsChannelConfiguration.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "IamRoleArn"))
|
439
|
-
TeamsChannelConfiguration.add_member(:sns_topic_arns, Shapes::ShapeRef.new(shape: SnsTopicArnList, required: true, location_name: "SnsTopicArns"
|
465
|
+
TeamsChannelConfiguration.add_member(:sns_topic_arns, Shapes::ShapeRef.new(shape: SnsTopicArnList, required: true, location_name: "SnsTopicArns"))
|
440
466
|
TeamsChannelConfiguration.add_member(:configuration_name, Shapes::ShapeRef.new(shape: ConfigurationName, location_name: "ConfigurationName"))
|
441
467
|
TeamsChannelConfiguration.add_member(:logging_level, Shapes::ShapeRef.new(shape: CustomerCwLogLevel, location_name: "LoggingLevel"))
|
442
468
|
TeamsChannelConfiguration.add_member(:guardrail_policy_arns, Shapes::ShapeRef.new(shape: GuardrailPolicyArnList, location_name: "GuardrailPolicyArns"))
|
@@ -455,6 +481,7 @@ module Aws::Chatbot
|
|
455
481
|
TeamsUserIdentity.add_member(:teams_tenant_id, Shapes::ShapeRef.new(shape: UUID, location_name: "TeamsTenantId"))
|
456
482
|
TeamsUserIdentity.struct_class = Types::TeamsUserIdentity
|
457
483
|
|
484
|
+
TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
458
485
|
TooManyTagsException.struct_class = Types::TooManyTagsException
|
459
486
|
|
460
487
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
@@ -463,6 +490,7 @@ module Aws::Chatbot
|
|
463
490
|
|
464
491
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
465
492
|
|
493
|
+
UpdateAccountPreferencesException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
466
494
|
UpdateAccountPreferencesException.struct_class = Types::UpdateAccountPreferencesException
|
467
495
|
|
468
496
|
UpdateAccountPreferencesRequest.add_member(:user_authorization_required, Shapes::ShapeRef.new(shape: BooleanAccountPreference, location_name: "UserAuthorizationRequired"))
|
@@ -472,6 +500,7 @@ module Aws::Chatbot
|
|
472
500
|
UpdateAccountPreferencesResult.add_member(:account_preferences, Shapes::ShapeRef.new(shape: AccountPreferences, location_name: "AccountPreferences"))
|
473
501
|
UpdateAccountPreferencesResult.struct_class = Types::UpdateAccountPreferencesResult
|
474
502
|
|
503
|
+
UpdateChimeWebhookConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
475
504
|
UpdateChimeWebhookConfigurationException.struct_class = Types::UpdateChimeWebhookConfigurationException
|
476
505
|
|
477
506
|
UpdateChimeWebhookConfigurationRequest.add_member(:chat_configuration_arn, Shapes::ShapeRef.new(shape: ChatConfigurationArn, required: true, location_name: "ChatConfigurationArn"))
|
@@ -485,6 +514,7 @@ module Aws::Chatbot
|
|
485
514
|
UpdateChimeWebhookConfigurationResult.add_member(:webhook_configuration, Shapes::ShapeRef.new(shape: ChimeWebhookConfiguration, location_name: "WebhookConfiguration"))
|
486
515
|
UpdateChimeWebhookConfigurationResult.struct_class = Types::UpdateChimeWebhookConfigurationResult
|
487
516
|
|
517
|
+
UpdateSlackChannelConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
488
518
|
UpdateSlackChannelConfigurationException.struct_class = Types::UpdateSlackChannelConfigurationException
|
489
519
|
|
490
520
|
UpdateSlackChannelConfigurationRequest.add_member(:chat_configuration_arn, Shapes::ShapeRef.new(shape: ChatConfigurationArn, required: true, location_name: "ChatConfigurationArn"))
|
@@ -500,6 +530,7 @@ module Aws::Chatbot
|
|
500
530
|
UpdateSlackChannelConfigurationResult.add_member(:channel_configuration, Shapes::ShapeRef.new(shape: SlackChannelConfiguration, location_name: "ChannelConfiguration"))
|
501
531
|
UpdateSlackChannelConfigurationResult.struct_class = Types::UpdateSlackChannelConfigurationResult
|
502
532
|
|
533
|
+
UpdateTeamsChannelConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
503
534
|
UpdateTeamsChannelConfigurationException.struct_class = Types::UpdateTeamsChannelConfigurationException
|
504
535
|
|
505
536
|
UpdateTeamsChannelConfigurationRequest.add_member(:chat_configuration_arn, Shapes::ShapeRef.new(shape: ChatConfigurationArn, required: true, location_name: "ChatConfigurationArn"))
|
@@ -525,12 +556,12 @@ module Aws::Chatbot
|
|
525
556
|
"apiVersion" => "2017-10-11",
|
526
557
|
"auth" => ["aws.auth#sigv4"],
|
527
558
|
"endpointPrefix" => "chatbot",
|
528
|
-
"jsonVersion" => "1.1",
|
529
559
|
"protocol" => "rest-json",
|
530
560
|
"protocols" => ["rest-json"],
|
531
561
|
"serviceFullName" => "AWS Chatbot",
|
532
562
|
"serviceId" => "chatbot",
|
533
563
|
"signatureVersion" => "v4",
|
564
|
+
"signingName" => "chatbot",
|
534
565
|
"uid" => "chatbot-2017-10-11",
|
535
566
|
}
|
536
567
|
|
@@ -541,10 +572,10 @@ module Aws::Chatbot
|
|
541
572
|
o.input = Shapes::ShapeRef.new(shape: CreateChimeWebhookConfigurationRequest)
|
542
573
|
o.output = Shapes::ShapeRef.new(shape: CreateChimeWebhookConfigurationResult)
|
543
574
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
544
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
545
575
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
546
|
-
o.errors << Shapes::ShapeRef.new(shape: CreateChimeWebhookConfigurationException)
|
547
576
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
577
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
578
|
+
o.errors << Shapes::ShapeRef.new(shape: CreateChimeWebhookConfigurationException)
|
548
579
|
end)
|
549
580
|
|
550
581
|
api.add_operation(:create_microsoft_teams_channel_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -554,10 +585,10 @@ module Aws::Chatbot
|
|
554
585
|
o.input = Shapes::ShapeRef.new(shape: CreateTeamsChannelConfigurationRequest)
|
555
586
|
o.output = Shapes::ShapeRef.new(shape: CreateTeamsChannelConfigurationResult)
|
556
587
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
557
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
558
588
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
559
|
-
o.errors << Shapes::ShapeRef.new(shape: CreateTeamsChannelConfigurationException)
|
560
589
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
590
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
591
|
+
o.errors << Shapes::ShapeRef.new(shape: CreateTeamsChannelConfigurationException)
|
561
592
|
end)
|
562
593
|
|
563
594
|
api.add_operation(:create_slack_channel_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -567,10 +598,10 @@ module Aws::Chatbot
|
|
567
598
|
o.input = Shapes::ShapeRef.new(shape: CreateSlackChannelConfigurationRequest)
|
568
599
|
o.output = Shapes::ShapeRef.new(shape: CreateSlackChannelConfigurationResult)
|
569
600
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
570
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
571
601
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
572
|
-
o.errors << Shapes::ShapeRef.new(shape: CreateSlackChannelConfigurationException)
|
573
602
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
603
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
604
|
+
o.errors << Shapes::ShapeRef.new(shape: CreateSlackChannelConfigurationException)
|
574
605
|
end)
|
575
606
|
|
576
607
|
api.add_operation(:delete_chime_webhook_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -579,9 +610,9 @@ module Aws::Chatbot
|
|
579
610
|
o.http_request_uri = "/delete-chime-webhook-configuration"
|
580
611
|
o.input = Shapes::ShapeRef.new(shape: DeleteChimeWebhookConfigurationRequest)
|
581
612
|
o.output = Shapes::ShapeRef.new(shape: DeleteChimeWebhookConfigurationResult)
|
582
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
583
613
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
584
614
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
615
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
585
616
|
o.errors << Shapes::ShapeRef.new(shape: DeleteChimeWebhookConfigurationException)
|
586
617
|
end)
|
587
618
|
|
@@ -591,9 +622,9 @@ module Aws::Chatbot
|
|
591
622
|
o.http_request_uri = "/delete-ms-teams-channel-configuration"
|
592
623
|
o.input = Shapes::ShapeRef.new(shape: DeleteTeamsChannelConfigurationRequest)
|
593
624
|
o.output = Shapes::ShapeRef.new(shape: DeleteTeamsChannelConfigurationResult)
|
594
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
595
625
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
596
626
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
627
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
597
628
|
o.errors << Shapes::ShapeRef.new(shape: DeleteTeamsChannelConfigurationException)
|
598
629
|
end)
|
599
630
|
|
@@ -624,10 +655,10 @@ module Aws::Chatbot
|
|
624
655
|
o.http_request_uri = "/delete-slack-channel-configuration"
|
625
656
|
o.input = Shapes::ShapeRef.new(shape: DeleteSlackChannelConfigurationRequest)
|
626
657
|
o.output = Shapes::ShapeRef.new(shape: DeleteSlackChannelConfigurationResult)
|
627
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
628
658
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
629
659
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
630
660
|
o.errors << Shapes::ShapeRef.new(shape: DeleteSlackChannelConfigurationException)
|
661
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
631
662
|
end)
|
632
663
|
|
633
664
|
api.add_operation(:delete_slack_user_identity, Seahorse::Model::Operation.new.tap do |o|
|
@@ -637,8 +668,8 @@ module Aws::Chatbot
|
|
637
668
|
o.input = Shapes::ShapeRef.new(shape: DeleteSlackUserIdentityRequest)
|
638
669
|
o.output = Shapes::ShapeRef.new(shape: DeleteSlackUserIdentityResult)
|
639
670
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
640
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
641
671
|
o.errors << Shapes::ShapeRef.new(shape: DeleteSlackUserIdentityException)
|
672
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
642
673
|
end)
|
643
674
|
|
644
675
|
api.add_operation(:delete_slack_workspace_authorization, Seahorse::Model::Operation.new.tap do |o|
|
@@ -657,9 +688,9 @@ module Aws::Chatbot
|
|
657
688
|
o.http_request_uri = "/describe-chime-webhook-configurations"
|
658
689
|
o.input = Shapes::ShapeRef.new(shape: DescribeChimeWebhookConfigurationsRequest)
|
659
690
|
o.output = Shapes::ShapeRef.new(shape: DescribeChimeWebhookConfigurationsResult)
|
660
|
-
o.errors << Shapes::ShapeRef.new(shape: DescribeChimeWebhookConfigurationsException)
|
661
691
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
662
692
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
693
|
+
o.errors << Shapes::ShapeRef.new(shape: DescribeChimeWebhookConfigurationsException)
|
663
694
|
o[:pager] = Aws::Pager.new(
|
664
695
|
limit_key: "max_results",
|
665
696
|
tokens: {
|
@@ -674,9 +705,9 @@ module Aws::Chatbot
|
|
674
705
|
o.http_request_uri = "/describe-slack-channel-configurations"
|
675
706
|
o.input = Shapes::ShapeRef.new(shape: DescribeSlackChannelConfigurationsRequest)
|
676
707
|
o.output = Shapes::ShapeRef.new(shape: DescribeSlackChannelConfigurationsResult)
|
677
|
-
o.errors << Shapes::ShapeRef.new(shape: DescribeSlackChannelConfigurationsException)
|
678
708
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
679
709
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
710
|
+
o.errors << Shapes::ShapeRef.new(shape: DescribeSlackChannelConfigurationsException)
|
680
711
|
o[:pager] = Aws::Pager.new(
|
681
712
|
limit_key: "max_results",
|
682
713
|
tokens: {
|
@@ -708,9 +739,9 @@ module Aws::Chatbot
|
|
708
739
|
o.http_request_uri = "/describe-slack-workspaces"
|
709
740
|
o.input = Shapes::ShapeRef.new(shape: DescribeSlackWorkspacesRequest)
|
710
741
|
o.output = Shapes::ShapeRef.new(shape: DescribeSlackWorkspacesResult)
|
742
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
711
743
|
o.errors << Shapes::ShapeRef.new(shape: DescribeSlackWorkspacesException)
|
712
744
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
713
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
714
745
|
o[:pager] = Aws::Pager.new(
|
715
746
|
limit_key: "max_results",
|
716
747
|
tokens: {
|
@@ -725,8 +756,8 @@ module Aws::Chatbot
|
|
725
756
|
o.http_request_uri = "/get-account-preferences"
|
726
757
|
o.input = Shapes::ShapeRef.new(shape: GetAccountPreferencesRequest)
|
727
758
|
o.output = Shapes::ShapeRef.new(shape: GetAccountPreferencesResult)
|
728
|
-
o.errors << Shapes::ShapeRef.new(shape: GetAccountPreferencesException)
|
729
759
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
760
|
+
o.errors << Shapes::ShapeRef.new(shape: GetAccountPreferencesException)
|
730
761
|
end)
|
731
762
|
|
732
763
|
api.add_operation(:get_microsoft_teams_channel_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -735,9 +766,9 @@ module Aws::Chatbot
|
|
735
766
|
o.http_request_uri = "/get-ms-teams-channel-configuration"
|
736
767
|
o.input = Shapes::ShapeRef.new(shape: GetTeamsChannelConfigurationRequest)
|
737
768
|
o.output = Shapes::ShapeRef.new(shape: GetTeamsChannelConfigurationResult)
|
738
|
-
o.errors << Shapes::ShapeRef.new(shape: GetTeamsChannelConfigurationException)
|
739
769
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
740
770
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
771
|
+
o.errors << Shapes::ShapeRef.new(shape: GetTeamsChannelConfigurationException)
|
741
772
|
end)
|
742
773
|
|
743
774
|
api.add_operation(:list_microsoft_teams_channel_configurations, Seahorse::Model::Operation.new.tap do |o|
|
@@ -746,8 +777,8 @@ module Aws::Chatbot
|
|
746
777
|
o.http_request_uri = "/list-ms-teams-channel-configurations"
|
747
778
|
o.input = Shapes::ShapeRef.new(shape: ListTeamsChannelConfigurationsRequest)
|
748
779
|
o.output = Shapes::ShapeRef.new(shape: ListTeamsChannelConfigurationsResult)
|
749
|
-
o.errors << Shapes::ShapeRef.new(shape: ListTeamsChannelConfigurationsException)
|
750
780
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
781
|
+
o.errors << Shapes::ShapeRef.new(shape: ListTeamsChannelConfigurationsException)
|
751
782
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
752
783
|
o[:pager] = Aws::Pager.new(
|
753
784
|
limit_key: "max_results",
|
@@ -763,9 +794,9 @@ module Aws::Chatbot
|
|
763
794
|
o.http_request_uri = "/list-ms-teams-configured-teams"
|
764
795
|
o.input = Shapes::ShapeRef.new(shape: ListMicrosoftTeamsConfiguredTeamsRequest)
|
765
796
|
o.output = Shapes::ShapeRef.new(shape: ListMicrosoftTeamsConfiguredTeamsResult)
|
766
|
-
o.errors << Shapes::ShapeRef.new(shape: ListMicrosoftTeamsConfiguredTeamsException)
|
767
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
768
797
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
798
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
799
|
+
o.errors << Shapes::ShapeRef.new(shape: ListMicrosoftTeamsConfiguredTeamsException)
|
769
800
|
o[:pager] = Aws::Pager.new(
|
770
801
|
limit_key: "max_results",
|
771
802
|
tokens: {
|
@@ -780,9 +811,9 @@ module Aws::Chatbot
|
|
780
811
|
o.http_request_uri = "/list-ms-teams-user-identities"
|
781
812
|
o.input = Shapes::ShapeRef.new(shape: ListMicrosoftTeamsUserIdentitiesRequest)
|
782
813
|
o.output = Shapes::ShapeRef.new(shape: ListMicrosoftTeamsUserIdentitiesResult)
|
783
|
-
o.errors << Shapes::ShapeRef.new(shape: ListMicrosoftTeamsUserIdentitiesException)
|
784
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
785
814
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
815
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
816
|
+
o.errors << Shapes::ShapeRef.new(shape: ListMicrosoftTeamsUserIdentitiesException)
|
786
817
|
o[:pager] = Aws::Pager.new(
|
787
818
|
limit_key: "max_results",
|
788
819
|
tokens: {
|
@@ -797,9 +828,9 @@ module Aws::Chatbot
|
|
797
828
|
o.http_request_uri = "/list-tags-for-resource"
|
798
829
|
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
799
830
|
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
800
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
801
831
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
802
832
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
833
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
803
834
|
end)
|
804
835
|
|
805
836
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -808,9 +839,9 @@ module Aws::Chatbot
|
|
808
839
|
o.http_request_uri = "/tag-resource"
|
809
840
|
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
810
841
|
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
811
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
812
842
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
813
843
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
844
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
814
845
|
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
815
846
|
end)
|
816
847
|
|
@@ -820,9 +851,9 @@ module Aws::Chatbot
|
|
820
851
|
o.http_request_uri = "/untag-resource"
|
821
852
|
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
822
853
|
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
823
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
824
854
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
825
855
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
856
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
826
857
|
end)
|
827
858
|
|
828
859
|
api.add_operation(:update_account_preferences, Seahorse::Model::Operation.new.tap do |o|
|
@@ -831,9 +862,9 @@ module Aws::Chatbot
|
|
831
862
|
o.http_request_uri = "/update-account-preferences"
|
832
863
|
o.input = Shapes::ShapeRef.new(shape: UpdateAccountPreferencesRequest)
|
833
864
|
o.output = Shapes::ShapeRef.new(shape: UpdateAccountPreferencesResult)
|
834
|
-
o.errors << Shapes::ShapeRef.new(shape: UpdateAccountPreferencesException)
|
835
865
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
836
866
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
867
|
+
o.errors << Shapes::ShapeRef.new(shape: UpdateAccountPreferencesException)
|
837
868
|
end)
|
838
869
|
|
839
870
|
api.add_operation(:update_chime_webhook_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -842,10 +873,10 @@ module Aws::Chatbot
|
|
842
873
|
o.http_request_uri = "/update-chime-webhook-configuration"
|
843
874
|
o.input = Shapes::ShapeRef.new(shape: UpdateChimeWebhookConfigurationRequest)
|
844
875
|
o.output = Shapes::ShapeRef.new(shape: UpdateChimeWebhookConfigurationResult)
|
845
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
846
876
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
847
877
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
848
878
|
o.errors << Shapes::ShapeRef.new(shape: UpdateChimeWebhookConfigurationException)
|
879
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
849
880
|
end)
|
850
881
|
|
851
882
|
api.add_operation(:update_microsoft_teams_channel_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -854,9 +885,9 @@ module Aws::Chatbot
|
|
854
885
|
o.http_request_uri = "/update-ms-teams-channel-configuration"
|
855
886
|
o.input = Shapes::ShapeRef.new(shape: UpdateTeamsChannelConfigurationRequest)
|
856
887
|
o.output = Shapes::ShapeRef.new(shape: UpdateTeamsChannelConfigurationResult)
|
857
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
858
888
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
859
889
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
890
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
860
891
|
o.errors << Shapes::ShapeRef.new(shape: UpdateTeamsChannelConfigurationException)
|
861
892
|
end)
|
862
893
|
|
@@ -866,9 +897,9 @@ module Aws::Chatbot
|
|
866
897
|
o.http_request_uri = "/update-slack-channel-configuration"
|
867
898
|
o.input = Shapes::ShapeRef.new(shape: UpdateSlackChannelConfigurationRequest)
|
868
899
|
o.output = Shapes::ShapeRef.new(shape: UpdateSlackChannelConfigurationResult)
|
869
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
870
900
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
871
901
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
902
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
872
903
|
o.errors << Shapes::ShapeRef.new(shape: UpdateSlackChannelConfigurationException)
|
873
904
|
end)
|
874
905
|
end
|