aws-sdk-chatbot 1.17.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs CHANGED
@@ -75,6 +75,16 @@ module Aws
75
75
  | (?Hash[Symbol, untyped]) -> instance
76
76
 
77
77
 
78
+ interface _AssociateToConfigurationResponseSuccess
79
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateToConfigurationResult]
80
+ end
81
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#associate_to_configuration-instance_method
82
+ def associate_to_configuration: (
83
+ resource: ::String,
84
+ chat_configuration: ::String
85
+ ) -> _AssociateToConfigurationResponseSuccess
86
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateToConfigurationResponseSuccess
87
+
78
88
  interface _CreateChimeWebhookConfigurationResponseSuccess
79
89
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateChimeWebhookConfigurationResult]
80
90
  def webhook_configuration: () -> Types::ChimeWebhookConfiguration
@@ -96,6 +106,41 @@ module Aws
96
106
  ) -> _CreateChimeWebhookConfigurationResponseSuccess
97
107
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChimeWebhookConfigurationResponseSuccess
98
108
 
109
+ interface _CreateCustomActionResponseSuccess
110
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCustomActionResult]
111
+ def custom_action_arn: () -> ::String
112
+ end
113
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#create_custom_action-instance_method
114
+ def create_custom_action: (
115
+ definition: {
116
+ command_text: ::String
117
+ },
118
+ ?alias_name: ::String,
119
+ ?attachments: Array[
120
+ {
121
+ notification_type: ::String?,
122
+ button_text: ::String?,
123
+ criteria: Array[
124
+ {
125
+ operator: ("HAS_VALUE" | "EQUALS"),
126
+ variable_name: ::String,
127
+ value: ::String?
128
+ },
129
+ ]?,
130
+ variables: Hash[::String, ::String]?
131
+ },
132
+ ],
133
+ ?tags: Array[
134
+ {
135
+ tag_key: ::String,
136
+ tag_value: ::String
137
+ },
138
+ ],
139
+ ?client_token: ::String,
140
+ action_name: ::String
141
+ ) -> _CreateCustomActionResponseSuccess
142
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCustomActionResponseSuccess
143
+
99
144
  interface _CreateMicrosoftTeamsChannelConfigurationResponseSuccess
100
145
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateTeamsChannelConfigurationResult]
101
146
  def channel_configuration: () -> Types::TeamsChannelConfiguration
@@ -155,6 +200,15 @@ module Aws
155
200
  ) -> _DeleteChimeWebhookConfigurationResponseSuccess
156
201
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteChimeWebhookConfigurationResponseSuccess
157
202
 
203
+ interface _DeleteCustomActionResponseSuccess
204
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCustomActionResult]
205
+ end
206
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#delete_custom_action-instance_method
207
+ def delete_custom_action: (
208
+ custom_action_arn: ::String
209
+ ) -> _DeleteCustomActionResponseSuccess
210
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCustomActionResponseSuccess
211
+
158
212
  interface _DeleteMicrosoftTeamsChannelConfigurationResponseSuccess
159
213
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTeamsChannelConfigurationResult]
160
214
  end
@@ -263,6 +317,16 @@ module Aws
263
317
  ) -> _DescribeSlackWorkspacesResponseSuccess
264
318
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSlackWorkspacesResponseSuccess
265
319
 
320
+ interface _DisassociateFromConfigurationResponseSuccess
321
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateFromConfigurationResult]
322
+ end
323
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#disassociate_from_configuration-instance_method
324
+ def disassociate_from_configuration: (
325
+ resource: ::String,
326
+ chat_configuration: ::String
327
+ ) -> _DisassociateFromConfigurationResponseSuccess
328
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateFromConfigurationResponseSuccess
329
+
266
330
  interface _GetAccountPreferencesResponseSuccess
267
331
  include ::Seahorse::Client::_ResponseSuccess[Types::GetAccountPreferencesResult]
268
332
  def account_preferences: () -> Types::AccountPreferences
@@ -272,6 +336,16 @@ module Aws
272
336
  ) -> _GetAccountPreferencesResponseSuccess
273
337
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAccountPreferencesResponseSuccess
274
338
 
339
+ interface _GetCustomActionResponseSuccess
340
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCustomActionResult]
341
+ def custom_action: () -> Types::CustomAction
342
+ end
343
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#get_custom_action-instance_method
344
+ def get_custom_action: (
345
+ custom_action_arn: ::String
346
+ ) -> _GetCustomActionResponseSuccess
347
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCustomActionResponseSuccess
348
+
275
349
  interface _GetMicrosoftTeamsChannelConfigurationResponseSuccess
276
350
  include ::Seahorse::Client::_ResponseSuccess[Types::GetTeamsChannelConfigurationResult]
277
351
  def channel_configuration: () -> Types::TeamsChannelConfiguration
@@ -282,6 +356,31 @@ module Aws
282
356
  ) -> _GetMicrosoftTeamsChannelConfigurationResponseSuccess
283
357
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMicrosoftTeamsChannelConfigurationResponseSuccess
284
358
 
359
+ interface _ListAssociationsResponseSuccess
360
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAssociationsResult]
361
+ def associations: () -> ::Array[Types::AssociationListing]
362
+ def next_token: () -> ::String
363
+ end
364
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#list_associations-instance_method
365
+ def list_associations: (
366
+ chat_configuration: ::String,
367
+ ?max_results: ::Integer,
368
+ ?next_token: ::String
369
+ ) -> _ListAssociationsResponseSuccess
370
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssociationsResponseSuccess
371
+
372
+ interface _ListCustomActionsResponseSuccess
373
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCustomActionsResult]
374
+ def custom_actions: () -> ::Array[::String]
375
+ def next_token: () -> ::String
376
+ end
377
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#list_custom_actions-instance_method
378
+ def list_custom_actions: (
379
+ ?max_results: ::Integer,
380
+ ?next_token: ::String
381
+ ) -> _ListCustomActionsResponseSuccess
382
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCustomActionsResponseSuccess
383
+
285
384
  interface _ListMicrosoftTeamsChannelConfigurationsResponseSuccess
286
385
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTeamsChannelConfigurationsResult]
287
386
  def next_token: () -> ::String
@@ -381,6 +480,34 @@ module Aws
381
480
  ) -> _UpdateChimeWebhookConfigurationResponseSuccess
382
481
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateChimeWebhookConfigurationResponseSuccess
383
482
 
483
+ interface _UpdateCustomActionResponseSuccess
484
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCustomActionResult]
485
+ def custom_action_arn: () -> ::String
486
+ end
487
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#update_custom_action-instance_method
488
+ def update_custom_action: (
489
+ custom_action_arn: ::String,
490
+ definition: {
491
+ command_text: ::String
492
+ },
493
+ ?alias_name: ::String,
494
+ ?attachments: Array[
495
+ {
496
+ notification_type: ::String?,
497
+ button_text: ::String?,
498
+ criteria: Array[
499
+ {
500
+ operator: ("HAS_VALUE" | "EQUALS"),
501
+ variable_name: ::String,
502
+ value: ::String?
503
+ },
504
+ ]?,
505
+ variables: Hash[::String, ::String]?
506
+ },
507
+ ]
508
+ ) -> _UpdateCustomActionResponseSuccess
509
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCustomActionResponseSuccess
510
+
384
511
  interface _UpdateMicrosoftTeamsChannelConfigurationResponseSuccess
385
512
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTeamsChannelConfigurationResult]
386
513
  def channel_configuration: () -> Types::TeamsChannelConfiguration
data/sig/errors.rbs CHANGED
@@ -92,6 +92,9 @@ module Aws
92
92
  class TooManyTagsException < ::Aws::Errors::ServiceError
93
93
  def message: () -> ::String
94
94
  end
95
+ class UnauthorizedException < ::Aws::Errors::ServiceError
96
+ def message: () -> ::String
97
+ end
95
98
  class UpdateAccountPreferencesException < ::Aws::Errors::ServiceError
96
99
  def message: () -> ::String
97
100
  end
data/sig/types.rbs CHANGED
@@ -14,6 +14,20 @@ module Aws::Chatbot
14
14
  SENSITIVE: []
15
15
  end
16
16
 
17
+ class AssociateToConfigurationRequest
18
+ attr_accessor resource: ::String
19
+ attr_accessor chat_configuration: ::String
20
+ SENSITIVE: []
21
+ end
22
+
23
+ class AssociateToConfigurationResult < Aws::EmptyStructure
24
+ end
25
+
26
+ class AssociationListing
27
+ attr_accessor resource: ::String
28
+ SENSITIVE: []
29
+ end
30
+
17
31
  class ChimeWebhookConfiguration
18
32
  attr_accessor webhook_description: ::String
19
33
  attr_accessor chat_configuration_arn: ::String
@@ -62,6 +76,21 @@ module Aws::Chatbot
62
76
  SENSITIVE: []
63
77
  end
64
78
 
79
+ class CreateCustomActionRequest
80
+ attr_accessor definition: Types::CustomActionDefinition
81
+ attr_accessor alias_name: ::String
82
+ attr_accessor attachments: ::Array[Types::CustomActionAttachment]
83
+ attr_accessor tags: ::Array[Types::Tag]
84
+ attr_accessor client_token: ::String
85
+ attr_accessor action_name: ::String
86
+ SENSITIVE: []
87
+ end
88
+
89
+ class CreateCustomActionResult
90
+ attr_accessor custom_action_arn: ::String
91
+ SENSITIVE: []
92
+ end
93
+
65
94
  class CreateSlackChannelConfigurationException
66
95
  attr_accessor message: ::String
67
96
  SENSITIVE: []
@@ -112,6 +141,35 @@ module Aws::Chatbot
112
141
  SENSITIVE: []
113
142
  end
114
143
 
144
+ class CustomAction
145
+ attr_accessor custom_action_arn: ::String
146
+ attr_accessor definition: Types::CustomActionDefinition
147
+ attr_accessor alias_name: ::String
148
+ attr_accessor attachments: ::Array[Types::CustomActionAttachment]
149
+ attr_accessor action_name: ::String
150
+ SENSITIVE: []
151
+ end
152
+
153
+ class CustomActionAttachment
154
+ attr_accessor notification_type: ::String
155
+ attr_accessor button_text: ::String
156
+ attr_accessor criteria: ::Array[Types::CustomActionAttachmentCriteria]
157
+ attr_accessor variables: ::Hash[::String, ::String]
158
+ SENSITIVE: []
159
+ end
160
+
161
+ class CustomActionAttachmentCriteria
162
+ attr_accessor operator: ("HAS_VALUE" | "EQUALS")
163
+ attr_accessor variable_name: ::String
164
+ attr_accessor value: ::String
165
+ SENSITIVE: []
166
+ end
167
+
168
+ class CustomActionDefinition
169
+ attr_accessor command_text: ::String
170
+ SENSITIVE: []
171
+ end
172
+
115
173
  class DeleteChimeWebhookConfigurationException
116
174
  attr_accessor message: ::String
117
175
  SENSITIVE: []
@@ -125,6 +183,14 @@ module Aws::Chatbot
125
183
  class DeleteChimeWebhookConfigurationResult < Aws::EmptyStructure
126
184
  end
127
185
 
186
+ class DeleteCustomActionRequest
187
+ attr_accessor custom_action_arn: ::String
188
+ SENSITIVE: []
189
+ end
190
+
191
+ class DeleteCustomActionResult < Aws::EmptyStructure
192
+ end
193
+
128
194
  class DeleteMicrosoftTeamsUserIdentityException
129
195
  attr_accessor message: ::String
130
196
  SENSITIVE: []
@@ -277,6 +343,15 @@ module Aws::Chatbot
277
343
  SENSITIVE: []
278
344
  end
279
345
 
346
+ class DisassociateFromConfigurationRequest
347
+ attr_accessor resource: ::String
348
+ attr_accessor chat_configuration: ::String
349
+ SENSITIVE: []
350
+ end
351
+
352
+ class DisassociateFromConfigurationResult < Aws::EmptyStructure
353
+ end
354
+
280
355
  class GetAccountPreferencesException
281
356
  attr_accessor message: ::String
282
357
  SENSITIVE: []
@@ -290,6 +365,16 @@ module Aws::Chatbot
290
365
  SENSITIVE: []
291
366
  end
292
367
 
368
+ class GetCustomActionRequest
369
+ attr_accessor custom_action_arn: ::String
370
+ SENSITIVE: []
371
+ end
372
+
373
+ class GetCustomActionResult
374
+ attr_accessor custom_action: Types::CustomAction
375
+ SENSITIVE: []
376
+ end
377
+
293
378
  class GetTeamsChannelConfigurationException
294
379
  attr_accessor message: ::String
295
380
  SENSITIVE: []
@@ -325,6 +410,31 @@ module Aws::Chatbot
325
410
  SENSITIVE: []
326
411
  end
327
412
 
413
+ class ListAssociationsRequest
414
+ attr_accessor chat_configuration: ::String
415
+ attr_accessor max_results: ::Integer
416
+ attr_accessor next_token: ::String
417
+ SENSITIVE: []
418
+ end
419
+
420
+ class ListAssociationsResult
421
+ attr_accessor associations: ::Array[Types::AssociationListing]
422
+ attr_accessor next_token: ::String
423
+ SENSITIVE: []
424
+ end
425
+
426
+ class ListCustomActionsRequest
427
+ attr_accessor max_results: ::Integer
428
+ attr_accessor next_token: ::String
429
+ SENSITIVE: []
430
+ end
431
+
432
+ class ListCustomActionsResult
433
+ attr_accessor custom_actions: ::Array[::String]
434
+ attr_accessor next_token: ::String
435
+ SENSITIVE: []
436
+ end
437
+
328
438
  class ListMicrosoftTeamsConfiguredTeamsException
329
439
  attr_accessor message: ::String
330
440
  SENSITIVE: []
@@ -483,6 +593,11 @@ module Aws::Chatbot
483
593
  SENSITIVE: []
484
594
  end
485
595
 
596
+ class UnauthorizedException
597
+ attr_accessor message: ::String
598
+ SENSITIVE: []
599
+ end
600
+
486
601
  class UntagResourceRequest
487
602
  attr_accessor resource_arn: ::String
488
603
  attr_accessor tag_keys: ::Array[::String]
@@ -528,6 +643,19 @@ module Aws::Chatbot
528
643
  SENSITIVE: []
529
644
  end
530
645
 
646
+ class UpdateCustomActionRequest
647
+ attr_accessor custom_action_arn: ::String
648
+ attr_accessor definition: Types::CustomActionDefinition
649
+ attr_accessor alias_name: ::String
650
+ attr_accessor attachments: ::Array[Types::CustomActionAttachment]
651
+ SENSITIVE: []
652
+ end
653
+
654
+ class UpdateCustomActionResult
655
+ attr_accessor custom_action_arn: ::String
656
+ SENSITIVE: []
657
+ end
658
+
531
659
  class UpdateSlackChannelConfigurationException
532
660
  attr_accessor message: ::String
533
661
  SENSITIVE: []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-chatbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.0
4
+ version: 1.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-26 00:00:00.000000000 Z
11
+ date: 2024-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.207.0
22
+ version: 3.210.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement