aws-sdk-chatbot 1.0.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.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-chatbot/client.rb +1511 -0
- data/lib/aws-sdk-chatbot/client_api.rb +785 -0
- data/lib/aws-sdk-chatbot/customizations.rb +0 -0
- data/lib/aws-sdk-chatbot/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-chatbot/endpoint_provider.rb +54 -0
- data/lib/aws-sdk-chatbot/endpoints.rb +338 -0
- data/lib/aws-sdk-chatbot/errors.rb +346 -0
- data/lib/aws-sdk-chatbot/plugins/endpoints.rb +116 -0
- data/lib/aws-sdk-chatbot/resource.rb +26 -0
- data/lib/aws-sdk-chatbot/types.rb +1529 -0
- data/lib/aws-sdk-chatbot.rb +57 -0
- data/sig/client.rbs +364 -0
- data/sig/errors.rbs +72 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +454 -0
- data/sig/waiters.rbs +13 -0
- metadata +99 -0
@@ -0,0 +1,57 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
require 'aws-sdk-core'
|
12
|
+
require 'aws-sigv4'
|
13
|
+
|
14
|
+
require_relative 'aws-sdk-chatbot/types'
|
15
|
+
require_relative 'aws-sdk-chatbot/client_api'
|
16
|
+
require_relative 'aws-sdk-chatbot/plugins/endpoints.rb'
|
17
|
+
require_relative 'aws-sdk-chatbot/client'
|
18
|
+
require_relative 'aws-sdk-chatbot/errors'
|
19
|
+
require_relative 'aws-sdk-chatbot/resource'
|
20
|
+
require_relative 'aws-sdk-chatbot/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-chatbot/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-chatbot/endpoints'
|
23
|
+
require_relative 'aws-sdk-chatbot/customizations'
|
24
|
+
|
25
|
+
# This module provides support for chatbot. This module is available in the
|
26
|
+
# `aws-sdk-chatbot` gem.
|
27
|
+
#
|
28
|
+
# # Client
|
29
|
+
#
|
30
|
+
# The {Client} class provides one method for each API operation. Operation
|
31
|
+
# methods each accept a hash of request parameters and return a response
|
32
|
+
# structure.
|
33
|
+
#
|
34
|
+
# chatbot = Aws::Chatbot::Client.new
|
35
|
+
# resp = chatbot.create_chime_webhook_configuration(params)
|
36
|
+
#
|
37
|
+
# See {Client} for more information.
|
38
|
+
#
|
39
|
+
# # Errors
|
40
|
+
#
|
41
|
+
# Errors returned from chatbot are defined in the
|
42
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
43
|
+
#
|
44
|
+
# begin
|
45
|
+
# # do stuff
|
46
|
+
# rescue Aws::Chatbot::Errors::ServiceError
|
47
|
+
# # rescues all chatbot API errors
|
48
|
+
# end
|
49
|
+
#
|
50
|
+
# See {Errors} for more information.
|
51
|
+
#
|
52
|
+
# @!group service
|
53
|
+
module Aws::Chatbot
|
54
|
+
|
55
|
+
GEM_VERSION = '1.0.0'
|
56
|
+
|
57
|
+
end
|
data/sig/client.rbs
ADDED
@@ -0,0 +1,364 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module Chatbot
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> instance
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
73
|
+
|
74
|
+
|
75
|
+
interface _CreateChimeWebhookConfigurationResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateChimeWebhookConfigurationResult]
|
77
|
+
def webhook_configuration: () -> Types::ChimeWebhookConfiguration
|
78
|
+
end
|
79
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#create_chime_webhook_configuration-instance_method
|
80
|
+
def create_chime_webhook_configuration: (
|
81
|
+
webhook_description: ::String,
|
82
|
+
webhook_url: ::String,
|
83
|
+
sns_topic_arns: Array[::String],
|
84
|
+
iam_role_arn: ::String,
|
85
|
+
configuration_name: ::String,
|
86
|
+
?logging_level: ::String
|
87
|
+
) -> _CreateChimeWebhookConfigurationResponseSuccess
|
88
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChimeWebhookConfigurationResponseSuccess
|
89
|
+
|
90
|
+
interface _CreateMicrosoftTeamsChannelConfigurationResponseSuccess
|
91
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateTeamsChannelConfigurationResult]
|
92
|
+
def channel_configuration: () -> Types::TeamsChannelConfiguration
|
93
|
+
end
|
94
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#create_microsoft_teams_channel_configuration-instance_method
|
95
|
+
def create_microsoft_teams_channel_configuration: (
|
96
|
+
channel_id: ::String,
|
97
|
+
?channel_name: ::String,
|
98
|
+
team_id: ::String,
|
99
|
+
?team_name: ::String,
|
100
|
+
tenant_id: ::String,
|
101
|
+
?sns_topic_arns: Array[::String],
|
102
|
+
iam_role_arn: ::String,
|
103
|
+
configuration_name: ::String,
|
104
|
+
?logging_level: ::String,
|
105
|
+
?guardrail_policy_arns: Array[::String],
|
106
|
+
?user_authorization_required: bool
|
107
|
+
) -> _CreateMicrosoftTeamsChannelConfigurationResponseSuccess
|
108
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMicrosoftTeamsChannelConfigurationResponseSuccess
|
109
|
+
|
110
|
+
interface _CreateSlackChannelConfigurationResponseSuccess
|
111
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateSlackChannelConfigurationResult]
|
112
|
+
def channel_configuration: () -> Types::SlackChannelConfiguration
|
113
|
+
end
|
114
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#create_slack_channel_configuration-instance_method
|
115
|
+
def create_slack_channel_configuration: (
|
116
|
+
slack_team_id: ::String,
|
117
|
+
slack_channel_id: ::String,
|
118
|
+
?slack_channel_name: ::String,
|
119
|
+
?sns_topic_arns: Array[::String],
|
120
|
+
iam_role_arn: ::String,
|
121
|
+
configuration_name: ::String,
|
122
|
+
?logging_level: ::String,
|
123
|
+
?guardrail_policy_arns: Array[::String],
|
124
|
+
?user_authorization_required: bool
|
125
|
+
) -> _CreateSlackChannelConfigurationResponseSuccess
|
126
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSlackChannelConfigurationResponseSuccess
|
127
|
+
|
128
|
+
interface _DeleteChimeWebhookConfigurationResponseSuccess
|
129
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteChimeWebhookConfigurationResult]
|
130
|
+
end
|
131
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#delete_chime_webhook_configuration-instance_method
|
132
|
+
def delete_chime_webhook_configuration: (
|
133
|
+
chat_configuration_arn: ::String
|
134
|
+
) -> _DeleteChimeWebhookConfigurationResponseSuccess
|
135
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteChimeWebhookConfigurationResponseSuccess
|
136
|
+
|
137
|
+
interface _DeleteMicrosoftTeamsChannelConfigurationResponseSuccess
|
138
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTeamsChannelConfigurationResult]
|
139
|
+
end
|
140
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#delete_microsoft_teams_channel_configuration-instance_method
|
141
|
+
def delete_microsoft_teams_channel_configuration: (
|
142
|
+
chat_configuration_arn: ::String
|
143
|
+
) -> _DeleteMicrosoftTeamsChannelConfigurationResponseSuccess
|
144
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMicrosoftTeamsChannelConfigurationResponseSuccess
|
145
|
+
|
146
|
+
interface _DeleteMicrosoftTeamsConfiguredTeamResponseSuccess
|
147
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTeamsConfiguredTeamResult]
|
148
|
+
end
|
149
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#delete_microsoft_teams_configured_team-instance_method
|
150
|
+
def delete_microsoft_teams_configured_team: (
|
151
|
+
team_id: ::String
|
152
|
+
) -> _DeleteMicrosoftTeamsConfiguredTeamResponseSuccess
|
153
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMicrosoftTeamsConfiguredTeamResponseSuccess
|
154
|
+
|
155
|
+
interface _DeleteMicrosoftTeamsUserIdentityResponseSuccess
|
156
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMicrosoftTeamsUserIdentityResult]
|
157
|
+
end
|
158
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#delete_microsoft_teams_user_identity-instance_method
|
159
|
+
def delete_microsoft_teams_user_identity: (
|
160
|
+
chat_configuration_arn: ::String,
|
161
|
+
user_id: ::String
|
162
|
+
) -> _DeleteMicrosoftTeamsUserIdentityResponseSuccess
|
163
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMicrosoftTeamsUserIdentityResponseSuccess
|
164
|
+
|
165
|
+
interface _DeleteSlackChannelConfigurationResponseSuccess
|
166
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSlackChannelConfigurationResult]
|
167
|
+
end
|
168
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#delete_slack_channel_configuration-instance_method
|
169
|
+
def delete_slack_channel_configuration: (
|
170
|
+
chat_configuration_arn: ::String
|
171
|
+
) -> _DeleteSlackChannelConfigurationResponseSuccess
|
172
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSlackChannelConfigurationResponseSuccess
|
173
|
+
|
174
|
+
interface _DeleteSlackUserIdentityResponseSuccess
|
175
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSlackUserIdentityResult]
|
176
|
+
end
|
177
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#delete_slack_user_identity-instance_method
|
178
|
+
def delete_slack_user_identity: (
|
179
|
+
chat_configuration_arn: ::String,
|
180
|
+
slack_team_id: ::String,
|
181
|
+
slack_user_id: ::String
|
182
|
+
) -> _DeleteSlackUserIdentityResponseSuccess
|
183
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSlackUserIdentityResponseSuccess
|
184
|
+
|
185
|
+
interface _DeleteSlackWorkspaceAuthorizationResponseSuccess
|
186
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSlackWorkspaceAuthorizationResult]
|
187
|
+
end
|
188
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#delete_slack_workspace_authorization-instance_method
|
189
|
+
def delete_slack_workspace_authorization: (
|
190
|
+
slack_team_id: ::String
|
191
|
+
) -> _DeleteSlackWorkspaceAuthorizationResponseSuccess
|
192
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSlackWorkspaceAuthorizationResponseSuccess
|
193
|
+
|
194
|
+
interface _DescribeChimeWebhookConfigurationsResponseSuccess
|
195
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeChimeWebhookConfigurationsResult]
|
196
|
+
def next_token: () -> ::String
|
197
|
+
def webhook_configurations: () -> ::Array[Types::ChimeWebhookConfiguration]
|
198
|
+
end
|
199
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#describe_chime_webhook_configurations-instance_method
|
200
|
+
def describe_chime_webhook_configurations: (
|
201
|
+
?max_results: ::Integer,
|
202
|
+
?next_token: ::String,
|
203
|
+
?chat_configuration_arn: ::String
|
204
|
+
) -> _DescribeChimeWebhookConfigurationsResponseSuccess
|
205
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeChimeWebhookConfigurationsResponseSuccess
|
206
|
+
|
207
|
+
interface _DescribeSlackChannelConfigurationsResponseSuccess
|
208
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSlackChannelConfigurationsResult]
|
209
|
+
def next_token: () -> ::String
|
210
|
+
def slack_channel_configurations: () -> ::Array[Types::SlackChannelConfiguration]
|
211
|
+
end
|
212
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#describe_slack_channel_configurations-instance_method
|
213
|
+
def describe_slack_channel_configurations: (
|
214
|
+
?max_results: ::Integer,
|
215
|
+
?next_token: ::String,
|
216
|
+
?chat_configuration_arn: ::String
|
217
|
+
) -> _DescribeSlackChannelConfigurationsResponseSuccess
|
218
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSlackChannelConfigurationsResponseSuccess
|
219
|
+
|
220
|
+
interface _DescribeSlackUserIdentitiesResponseSuccess
|
221
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSlackUserIdentitiesResult]
|
222
|
+
def slack_user_identities: () -> ::Array[Types::SlackUserIdentity]
|
223
|
+
def next_token: () -> ::String
|
224
|
+
end
|
225
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#describe_slack_user_identities-instance_method
|
226
|
+
def describe_slack_user_identities: (
|
227
|
+
?chat_configuration_arn: ::String,
|
228
|
+
?next_token: ::String,
|
229
|
+
?max_results: ::Integer
|
230
|
+
) -> _DescribeSlackUserIdentitiesResponseSuccess
|
231
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSlackUserIdentitiesResponseSuccess
|
232
|
+
|
233
|
+
interface _DescribeSlackWorkspacesResponseSuccess
|
234
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSlackWorkspacesResult]
|
235
|
+
def slack_workspaces: () -> ::Array[Types::SlackWorkspace]
|
236
|
+
def next_token: () -> ::String
|
237
|
+
end
|
238
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#describe_slack_workspaces-instance_method
|
239
|
+
def describe_slack_workspaces: (
|
240
|
+
?max_results: ::Integer,
|
241
|
+
?next_token: ::String
|
242
|
+
) -> _DescribeSlackWorkspacesResponseSuccess
|
243
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSlackWorkspacesResponseSuccess
|
244
|
+
|
245
|
+
interface _GetAccountPreferencesResponseSuccess
|
246
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetAccountPreferencesResult]
|
247
|
+
def account_preferences: () -> Types::AccountPreferences
|
248
|
+
end
|
249
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#get_account_preferences-instance_method
|
250
|
+
def get_account_preferences: (
|
251
|
+
) -> _GetAccountPreferencesResponseSuccess
|
252
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAccountPreferencesResponseSuccess
|
253
|
+
|
254
|
+
interface _GetMicrosoftTeamsChannelConfigurationResponseSuccess
|
255
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetTeamsChannelConfigurationResult]
|
256
|
+
def channel_configuration: () -> Types::TeamsChannelConfiguration
|
257
|
+
end
|
258
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#get_microsoft_teams_channel_configuration-instance_method
|
259
|
+
def get_microsoft_teams_channel_configuration: (
|
260
|
+
chat_configuration_arn: ::String
|
261
|
+
) -> _GetMicrosoftTeamsChannelConfigurationResponseSuccess
|
262
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMicrosoftTeamsChannelConfigurationResponseSuccess
|
263
|
+
|
264
|
+
interface _ListMicrosoftTeamsChannelConfigurationsResponseSuccess
|
265
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTeamsChannelConfigurationsResult]
|
266
|
+
def next_token: () -> ::String
|
267
|
+
def team_channel_configurations: () -> ::Array[Types::TeamsChannelConfiguration]
|
268
|
+
end
|
269
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#list_microsoft_teams_channel_configurations-instance_method
|
270
|
+
def list_microsoft_teams_channel_configurations: (
|
271
|
+
?max_results: ::Integer,
|
272
|
+
?next_token: ::String,
|
273
|
+
?team_id: ::String
|
274
|
+
) -> _ListMicrosoftTeamsChannelConfigurationsResponseSuccess
|
275
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMicrosoftTeamsChannelConfigurationsResponseSuccess
|
276
|
+
|
277
|
+
interface _ListMicrosoftTeamsConfiguredTeamsResponseSuccess
|
278
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListMicrosoftTeamsConfiguredTeamsResult]
|
279
|
+
def configured_teams: () -> ::Array[Types::ConfiguredTeam]
|
280
|
+
def next_token: () -> ::String
|
281
|
+
end
|
282
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#list_microsoft_teams_configured_teams-instance_method
|
283
|
+
def list_microsoft_teams_configured_teams: (
|
284
|
+
?max_results: ::Integer,
|
285
|
+
?next_token: ::String
|
286
|
+
) -> _ListMicrosoftTeamsConfiguredTeamsResponseSuccess
|
287
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMicrosoftTeamsConfiguredTeamsResponseSuccess
|
288
|
+
|
289
|
+
interface _ListMicrosoftTeamsUserIdentitiesResponseSuccess
|
290
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListMicrosoftTeamsUserIdentitiesResult]
|
291
|
+
def teams_user_identities: () -> ::Array[Types::TeamsUserIdentity]
|
292
|
+
def next_token: () -> ::String
|
293
|
+
end
|
294
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#list_microsoft_teams_user_identities-instance_method
|
295
|
+
def list_microsoft_teams_user_identities: (
|
296
|
+
?chat_configuration_arn: ::String,
|
297
|
+
?next_token: ::String,
|
298
|
+
?max_results: ::Integer
|
299
|
+
) -> _ListMicrosoftTeamsUserIdentitiesResponseSuccess
|
300
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMicrosoftTeamsUserIdentitiesResponseSuccess
|
301
|
+
|
302
|
+
interface _UpdateAccountPreferencesResponseSuccess
|
303
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAccountPreferencesResult]
|
304
|
+
def account_preferences: () -> Types::AccountPreferences
|
305
|
+
end
|
306
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#update_account_preferences-instance_method
|
307
|
+
def update_account_preferences: (
|
308
|
+
?user_authorization_required: bool,
|
309
|
+
?training_data_collection_enabled: bool
|
310
|
+
) -> _UpdateAccountPreferencesResponseSuccess
|
311
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAccountPreferencesResponseSuccess
|
312
|
+
|
313
|
+
interface _UpdateChimeWebhookConfigurationResponseSuccess
|
314
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateChimeWebhookConfigurationResult]
|
315
|
+
def webhook_configuration: () -> Types::ChimeWebhookConfiguration
|
316
|
+
end
|
317
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#update_chime_webhook_configuration-instance_method
|
318
|
+
def update_chime_webhook_configuration: (
|
319
|
+
chat_configuration_arn: ::String,
|
320
|
+
?webhook_description: ::String,
|
321
|
+
?webhook_url: ::String,
|
322
|
+
?sns_topic_arns: Array[::String],
|
323
|
+
?iam_role_arn: ::String,
|
324
|
+
?logging_level: ::String
|
325
|
+
) -> _UpdateChimeWebhookConfigurationResponseSuccess
|
326
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateChimeWebhookConfigurationResponseSuccess
|
327
|
+
|
328
|
+
interface _UpdateMicrosoftTeamsChannelConfigurationResponseSuccess
|
329
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTeamsChannelConfigurationResult]
|
330
|
+
def channel_configuration: () -> Types::TeamsChannelConfiguration
|
331
|
+
end
|
332
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#update_microsoft_teams_channel_configuration-instance_method
|
333
|
+
def update_microsoft_teams_channel_configuration: (
|
334
|
+
chat_configuration_arn: ::String,
|
335
|
+
channel_id: ::String,
|
336
|
+
?channel_name: ::String,
|
337
|
+
?sns_topic_arns: Array[::String],
|
338
|
+
?iam_role_arn: ::String,
|
339
|
+
?logging_level: ::String,
|
340
|
+
?guardrail_policy_arns: Array[::String],
|
341
|
+
?user_authorization_required: bool
|
342
|
+
) -> _UpdateMicrosoftTeamsChannelConfigurationResponseSuccess
|
343
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMicrosoftTeamsChannelConfigurationResponseSuccess
|
344
|
+
|
345
|
+
interface _UpdateSlackChannelConfigurationResponseSuccess
|
346
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSlackChannelConfigurationResult]
|
347
|
+
def channel_configuration: () -> Types::SlackChannelConfiguration
|
348
|
+
end
|
349
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#update_slack_channel_configuration-instance_method
|
350
|
+
def update_slack_channel_configuration: (
|
351
|
+
chat_configuration_arn: ::String,
|
352
|
+
slack_channel_id: ::String,
|
353
|
+
?slack_channel_name: ::String,
|
354
|
+
?sns_topic_arns: Array[::String],
|
355
|
+
?iam_role_arn: ::String,
|
356
|
+
?logging_level: ::String,
|
357
|
+
?guardrail_policy_arns: Array[::String],
|
358
|
+
?user_authorization_required: bool
|
359
|
+
) -> _UpdateSlackChannelConfigurationResponseSuccess
|
360
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSlackChannelConfigurationResponseSuccess
|
361
|
+
end
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,72 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module Chatbot
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
15
|
+
end
|
16
|
+
class CreateChimeWebhookConfigurationException < ::Aws::Errors::ServiceError
|
17
|
+
end
|
18
|
+
class CreateSlackChannelConfigurationException < ::Aws::Errors::ServiceError
|
19
|
+
end
|
20
|
+
class CreateTeamsChannelConfigurationException < ::Aws::Errors::ServiceError
|
21
|
+
end
|
22
|
+
class DeleteChimeWebhookConfigurationException < ::Aws::Errors::ServiceError
|
23
|
+
end
|
24
|
+
class DeleteMicrosoftTeamsUserIdentityException < ::Aws::Errors::ServiceError
|
25
|
+
end
|
26
|
+
class DeleteSlackChannelConfigurationException < ::Aws::Errors::ServiceError
|
27
|
+
end
|
28
|
+
class DeleteSlackUserIdentityException < ::Aws::Errors::ServiceError
|
29
|
+
end
|
30
|
+
class DeleteSlackWorkspaceAuthorizationFault < ::Aws::Errors::ServiceError
|
31
|
+
end
|
32
|
+
class DeleteTeamsChannelConfigurationException < ::Aws::Errors::ServiceError
|
33
|
+
end
|
34
|
+
class DeleteTeamsConfiguredTeamException < ::Aws::Errors::ServiceError
|
35
|
+
end
|
36
|
+
class DescribeChimeWebhookConfigurationsException < ::Aws::Errors::ServiceError
|
37
|
+
end
|
38
|
+
class DescribeSlackChannelConfigurationsException < ::Aws::Errors::ServiceError
|
39
|
+
end
|
40
|
+
class DescribeSlackUserIdentitiesException < ::Aws::Errors::ServiceError
|
41
|
+
end
|
42
|
+
class DescribeSlackWorkspacesException < ::Aws::Errors::ServiceError
|
43
|
+
end
|
44
|
+
class GetAccountPreferencesException < ::Aws::Errors::ServiceError
|
45
|
+
end
|
46
|
+
class GetTeamsChannelConfigurationException < ::Aws::Errors::ServiceError
|
47
|
+
end
|
48
|
+
class InvalidParameterException < ::Aws::Errors::ServiceError
|
49
|
+
end
|
50
|
+
class InvalidRequestException < ::Aws::Errors::ServiceError
|
51
|
+
end
|
52
|
+
class LimitExceededException < ::Aws::Errors::ServiceError
|
53
|
+
end
|
54
|
+
class ListMicrosoftTeamsConfiguredTeamsException < ::Aws::Errors::ServiceError
|
55
|
+
end
|
56
|
+
class ListMicrosoftTeamsUserIdentitiesException < ::Aws::Errors::ServiceError
|
57
|
+
end
|
58
|
+
class ListTeamsChannelConfigurationsException < ::Aws::Errors::ServiceError
|
59
|
+
end
|
60
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
61
|
+
end
|
62
|
+
class UpdateAccountPreferencesException < ::Aws::Errors::ServiceError
|
63
|
+
end
|
64
|
+
class UpdateChimeWebhookConfigurationException < ::Aws::Errors::ServiceError
|
65
|
+
end
|
66
|
+
class UpdateSlackChannelConfigurationException < ::Aws::Errors::ServiceError
|
67
|
+
end
|
68
|
+
class UpdateTeamsChannelConfigurationException < ::Aws::Errors::ServiceError
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module Chatbot
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> void
|
72
|
+
| (?Hash[Symbol, untyped]) -> void
|
73
|
+
|
74
|
+
def client: () -> Client
|
75
|
+
|
76
|
+
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|