aws-sdk-chatbot 1.18.0 → 1.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/sig/client.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -75,6 +77,16 @@ module Aws
75
77
  | (?Hash[Symbol, untyped]) -> instance
76
78
 
77
79
 
80
+ interface _AssociateToConfigurationResponseSuccess
81
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateToConfigurationResult]
82
+ end
83
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#associate_to_configuration-instance_method
84
+ def associate_to_configuration: (
85
+ resource: ::String,
86
+ chat_configuration: ::String
87
+ ) -> _AssociateToConfigurationResponseSuccess
88
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateToConfigurationResponseSuccess
89
+
78
90
  interface _CreateChimeWebhookConfigurationResponseSuccess
79
91
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateChimeWebhookConfigurationResult]
80
92
  def webhook_configuration: () -> Types::ChimeWebhookConfiguration
@@ -96,6 +108,41 @@ module Aws
96
108
  ) -> _CreateChimeWebhookConfigurationResponseSuccess
97
109
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChimeWebhookConfigurationResponseSuccess
98
110
 
111
+ interface _CreateCustomActionResponseSuccess
112
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCustomActionResult]
113
+ def custom_action_arn: () -> ::String
114
+ end
115
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#create_custom_action-instance_method
116
+ def create_custom_action: (
117
+ definition: {
118
+ command_text: ::String
119
+ },
120
+ ?alias_name: ::String,
121
+ ?attachments: Array[
122
+ {
123
+ notification_type: ::String?,
124
+ button_text: ::String?,
125
+ criteria: Array[
126
+ {
127
+ operator: ("HAS_VALUE" | "EQUALS"),
128
+ variable_name: ::String,
129
+ value: ::String?
130
+ },
131
+ ]?,
132
+ variables: Hash[::String, ::String]?
133
+ },
134
+ ],
135
+ ?tags: Array[
136
+ {
137
+ tag_key: ::String,
138
+ tag_value: ::String
139
+ },
140
+ ],
141
+ ?client_token: ::String,
142
+ action_name: ::String
143
+ ) -> _CreateCustomActionResponseSuccess
144
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCustomActionResponseSuccess
145
+
99
146
  interface _CreateMicrosoftTeamsChannelConfigurationResponseSuccess
100
147
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateTeamsChannelConfigurationResult]
101
148
  def channel_configuration: () -> Types::TeamsChannelConfiguration
@@ -155,6 +202,15 @@ module Aws
155
202
  ) -> _DeleteChimeWebhookConfigurationResponseSuccess
156
203
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteChimeWebhookConfigurationResponseSuccess
157
204
 
205
+ interface _DeleteCustomActionResponseSuccess
206
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCustomActionResult]
207
+ end
208
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#delete_custom_action-instance_method
209
+ def delete_custom_action: (
210
+ custom_action_arn: ::String
211
+ ) -> _DeleteCustomActionResponseSuccess
212
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCustomActionResponseSuccess
213
+
158
214
  interface _DeleteMicrosoftTeamsChannelConfigurationResponseSuccess
159
215
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTeamsChannelConfigurationResult]
160
216
  end
@@ -263,6 +319,16 @@ module Aws
263
319
  ) -> _DescribeSlackWorkspacesResponseSuccess
264
320
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSlackWorkspacesResponseSuccess
265
321
 
322
+ interface _DisassociateFromConfigurationResponseSuccess
323
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateFromConfigurationResult]
324
+ end
325
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#disassociate_from_configuration-instance_method
326
+ def disassociate_from_configuration: (
327
+ resource: ::String,
328
+ chat_configuration: ::String
329
+ ) -> _DisassociateFromConfigurationResponseSuccess
330
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateFromConfigurationResponseSuccess
331
+
266
332
  interface _GetAccountPreferencesResponseSuccess
267
333
  include ::Seahorse::Client::_ResponseSuccess[Types::GetAccountPreferencesResult]
268
334
  def account_preferences: () -> Types::AccountPreferences
@@ -272,6 +338,16 @@ module Aws
272
338
  ) -> _GetAccountPreferencesResponseSuccess
273
339
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAccountPreferencesResponseSuccess
274
340
 
341
+ interface _GetCustomActionResponseSuccess
342
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCustomActionResult]
343
+ def custom_action: () -> Types::CustomAction
344
+ end
345
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#get_custom_action-instance_method
346
+ def get_custom_action: (
347
+ custom_action_arn: ::String
348
+ ) -> _GetCustomActionResponseSuccess
349
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCustomActionResponseSuccess
350
+
275
351
  interface _GetMicrosoftTeamsChannelConfigurationResponseSuccess
276
352
  include ::Seahorse::Client::_ResponseSuccess[Types::GetTeamsChannelConfigurationResult]
277
353
  def channel_configuration: () -> Types::TeamsChannelConfiguration
@@ -282,6 +358,31 @@ module Aws
282
358
  ) -> _GetMicrosoftTeamsChannelConfigurationResponseSuccess
283
359
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMicrosoftTeamsChannelConfigurationResponseSuccess
284
360
 
361
+ interface _ListAssociationsResponseSuccess
362
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAssociationsResult]
363
+ def associations: () -> ::Array[Types::AssociationListing]
364
+ def next_token: () -> ::String
365
+ end
366
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#list_associations-instance_method
367
+ def list_associations: (
368
+ chat_configuration: ::String,
369
+ ?max_results: ::Integer,
370
+ ?next_token: ::String
371
+ ) -> _ListAssociationsResponseSuccess
372
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssociationsResponseSuccess
373
+
374
+ interface _ListCustomActionsResponseSuccess
375
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCustomActionsResult]
376
+ def custom_actions: () -> ::Array[::String]
377
+ def next_token: () -> ::String
378
+ end
379
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#list_custom_actions-instance_method
380
+ def list_custom_actions: (
381
+ ?max_results: ::Integer,
382
+ ?next_token: ::String
383
+ ) -> _ListCustomActionsResponseSuccess
384
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCustomActionsResponseSuccess
385
+
285
386
  interface _ListMicrosoftTeamsChannelConfigurationsResponseSuccess
286
387
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTeamsChannelConfigurationsResult]
287
388
  def next_token: () -> ::String
@@ -381,6 +482,34 @@ module Aws
381
482
  ) -> _UpdateChimeWebhookConfigurationResponseSuccess
382
483
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateChimeWebhookConfigurationResponseSuccess
383
484
 
485
+ interface _UpdateCustomActionResponseSuccess
486
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCustomActionResult]
487
+ def custom_action_arn: () -> ::String
488
+ end
489
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#update_custom_action-instance_method
490
+ def update_custom_action: (
491
+ custom_action_arn: ::String,
492
+ definition: {
493
+ command_text: ::String
494
+ },
495
+ ?alias_name: ::String,
496
+ ?attachments: Array[
497
+ {
498
+ notification_type: ::String?,
499
+ button_text: ::String?,
500
+ criteria: Array[
501
+ {
502
+ operator: ("HAS_VALUE" | "EQUALS"),
503
+ variable_name: ::String,
504
+ value: ::String?
505
+ },
506
+ ]?,
507
+ variables: Hash[::String, ::String]?
508
+ },
509
+ ]
510
+ ) -> _UpdateCustomActionResponseSuccess
511
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCustomActionResponseSuccess
512
+
384
513
  interface _UpdateMicrosoftTeamsChannelConfigurationResponseSuccess
385
514
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTeamsChannelConfigurationResult]
386
515
  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/resource.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
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.18.0
4
+ version: 1.20.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-10-18 00:00:00.000000000 Z
11
+ date: 2025-01-15 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.210.0
22
+ version: 3.216.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.210.0
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement