Class: Aws::Chatbot::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Chatbot::Client
- Includes:
- Aws::ClientStubs
- Defined in:
- gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb
Overview
An API client for Chatbot. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::Chatbot::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#create_chime_webhook_configuration(params = {}) ⇒ Types::CreateChimeWebhookConfigurationResult
Creates Chime Webhook Configuration.
-
#create_microsoft_teams_channel_configuration(params = {}) ⇒ Types::CreateTeamsChannelConfigurationResult
Creates MS Teams Channel Configuration.
-
#create_slack_channel_configuration(params = {}) ⇒ Types::CreateSlackChannelConfigurationResult
Creates Slack Channel Configuration.
-
#delete_chime_webhook_configuration(params = {}) ⇒ Struct
Deletes a Chime Webhook Configuration.
-
#delete_microsoft_teams_channel_configuration(params = {}) ⇒ Struct
Deletes MS Teams Channel Configuration.
-
#delete_microsoft_teams_configured_team(params = {}) ⇒ Struct
Deletes the Microsoft Teams team authorization allowing for channels to be configured in that Microsoft Teams team.
-
#delete_microsoft_teams_user_identity(params = {}) ⇒ Struct
Deletes a Teams user identity.
-
#delete_slack_channel_configuration(params = {}) ⇒ Struct
Deletes Slack Channel Configuration.
-
#delete_slack_user_identity(params = {}) ⇒ Struct
Deletes a Slack user identity.
-
#delete_slack_workspace_authorization(params = {}) ⇒ Struct
Deletes the Slack workspace authorization that allows channels to be configured in that workspace.
-
#describe_chime_webhook_configurations(params = {}) ⇒ Types::DescribeChimeWebhookConfigurationsResult
Lists Chime Webhook Configurations optionally filtered by ChatConfigurationArn.
-
#describe_slack_channel_configurations(params = {}) ⇒ Types::DescribeSlackChannelConfigurationsResult
Lists Slack Channel Configurations optionally filtered by ChatConfigurationArn.
-
#describe_slack_user_identities(params = {}) ⇒ Types::DescribeSlackUserIdentitiesResult
Lists all Slack user identities with a mapped role.
-
#describe_slack_workspaces(params = {}) ⇒ Types::DescribeSlackWorkspacesResult
Lists all authorized Slack Workspaces for AWS Account.
-
#get_account_preferences(params = {}) ⇒ Types::GetAccountPreferencesResult
Get Chatbot account level preferences.
-
#get_microsoft_teams_channel_configuration(params = {}) ⇒ Types::GetTeamsChannelConfigurationResult
Get a single MS Teams Channel Configurations.
-
#list_microsoft_teams_channel_configurations(params = {}) ⇒ Types::ListTeamsChannelConfigurationsResult
Lists MS Teams Channel Configurations optionally filtered by TeamId.
-
#list_microsoft_teams_configured_teams(params = {}) ⇒ Types::ListMicrosoftTeamsConfiguredTeamsResult
Lists all authorized MS teams for AWS Account.
-
#list_microsoft_teams_user_identities(params = {}) ⇒ Types::ListMicrosoftTeamsUserIdentitiesResult
Lists all Microsoft Teams user identities with a mapped role.
-
#update_account_preferences(params = {}) ⇒ Types::UpdateAccountPreferencesResult
Update Chatbot account level preferences.
-
#update_chime_webhook_configuration(params = {}) ⇒ Types::UpdateChimeWebhookConfigurationResult
Updates a Chime Webhook Configuration.
-
#update_microsoft_teams_channel_configuration(params = {}) ⇒ Types::UpdateTeamsChannelConfigurationResult
Updates MS Teams Channel Configuration.
-
#update_slack_channel_configuration(params = {}) ⇒ Types::UpdateSlackChannelConfigurationResult
Updates Slack Channel Configuration.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from Aws::ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
410 411 412 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 410 def initialize(*args) super end |
Instance Method Details
#create_chime_webhook_configuration(params = {}) ⇒ Types::CreateChimeWebhookConfigurationResult
Creates Chime Webhook Configuration
469 470 471 472 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 469 def create_chime_webhook_configuration(params = {}, = {}) req = build_request(:create_chime_webhook_configuration, params) req.send_request() end |
#create_microsoft_teams_channel_configuration(params = {}) ⇒ Types::CreateTeamsChannelConfigurationResult
Creates MS Teams Channel Configuration
560 561 562 563 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 560 def create_microsoft_teams_channel_configuration(params = {}, = {}) req = build_request(:create_microsoft_teams_channel_configuration, params) req.send_request() end |
#create_slack_channel_configuration(params = {}) ⇒ Types::CreateSlackChannelConfigurationResult
Creates Slack Channel Configuration
640 641 642 643 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 640 def create_slack_channel_configuration(params = {}, = {}) req = build_request(:create_slack_channel_configuration, params) req.send_request() end |
#delete_chime_webhook_configuration(params = {}) ⇒ Struct
Deletes a Chime Webhook Configuration
662 663 664 665 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 662 def delete_chime_webhook_configuration(params = {}, = {}) req = build_request(:delete_chime_webhook_configuration, params) req.send_request() end |
#delete_microsoft_teams_channel_configuration(params = {}) ⇒ Struct
Deletes MS Teams Channel Configuration
684 685 686 687 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 684 def delete_microsoft_teams_channel_configuration(params = {}, = {}) req = build_request(:delete_microsoft_teams_channel_configuration, params) req.send_request() end |
#delete_microsoft_teams_configured_team(params = {}) ⇒ Struct
Deletes the Microsoft Teams team authorization allowing for channels to be configured in that Microsoft Teams team. Note that the Microsoft Teams team must have no channels configured to remove it.
713 714 715 716 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 713 def delete_microsoft_teams_configured_team(params = {}, = {}) req = build_request(:delete_microsoft_teams_configured_team, params) req.send_request() end |
#delete_microsoft_teams_user_identity(params = {}) ⇒ Struct
Deletes a Teams user identity
740 741 742 743 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 740 def delete_microsoft_teams_user_identity(params = {}, = {}) req = build_request(:delete_microsoft_teams_user_identity, params) req.send_request() end |
#delete_slack_channel_configuration(params = {}) ⇒ Struct
Deletes Slack Channel Configuration
762 763 764 765 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 762 def delete_slack_channel_configuration(params = {}, = {}) req = build_request(:delete_slack_channel_configuration, params) req.send_request() end |
#delete_slack_user_identity(params = {}) ⇒ Struct
Deletes a Slack user identity
793 794 795 796 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 793 def delete_slack_user_identity(params = {}, = {}) req = build_request(:delete_slack_user_identity, params) req.send_request() end |
#delete_slack_workspace_authorization(params = {}) ⇒ Struct
Deletes the Slack workspace authorization that allows channels to be configured in that workspace. This requires all configured channels in the workspace to be deleted.
817 818 819 820 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 817 def (params = {}, = {}) req = build_request(:delete_slack_workspace_authorization, params) req.send_request() end |
#describe_chime_webhook_configurations(params = {}) ⇒ Types::DescribeChimeWebhookConfigurationsResult
Lists Chime Webhook Configurations optionally filtered by ChatConfigurationArn
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
870 871 872 873 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 870 def describe_chime_webhook_configurations(params = {}, = {}) req = build_request(:describe_chime_webhook_configurations, params) req.send_request() end |
#describe_slack_channel_configurations(params = {}) ⇒ Types::DescribeSlackChannelConfigurationsResult
Lists Slack Channel Configurations optionally filtered by ChatConfigurationArn
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
929 930 931 932 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 929 def describe_slack_channel_configurations(params = {}, = {}) req = build_request(:describe_slack_channel_configurations, params) req.send_request() end |
#describe_slack_user_identities(params = {}) ⇒ Types::DescribeSlackUserIdentitiesResult
Lists all Slack user identities with a mapped role.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
980 981 982 983 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 980 def describe_slack_user_identities(params = {}, = {}) req = build_request(:describe_slack_user_identities, params) req.send_request() end |
#describe_slack_workspaces(params = {}) ⇒ Types::DescribeSlackWorkspacesResult
Lists all authorized Slack Workspaces for AWS Account
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1023 1024 1025 1026 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1023 def describe_slack_workspaces(params = {}, = {}) req = build_request(:describe_slack_workspaces, params) req.send_request() end |
#get_account_preferences(params = {}) ⇒ Types::GetAccountPreferencesResult
Get Chatbot account level preferences
1043 1044 1045 1046 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1043 def get_account_preferences(params = {}, = {}) req = build_request(:get_account_preferences, params) req.send_request() end |
#get_microsoft_teams_channel_configuration(params = {}) ⇒ Types::GetTeamsChannelConfigurationResult
Get a single MS Teams Channel Configurations
1084 1085 1086 1087 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1084 def get_microsoft_teams_channel_configuration(params = {}, = {}) req = build_request(:get_microsoft_teams_channel_configuration, params) req.send_request() end |
#list_microsoft_teams_channel_configurations(params = {}) ⇒ Types::ListTeamsChannelConfigurationsResult
Lists MS Teams Channel Configurations optionally filtered by TeamId
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1148 1149 1150 1151 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1148 def list_microsoft_teams_channel_configurations(params = {}, = {}) req = build_request(:list_microsoft_teams_channel_configurations, params) req.send_request() end |
#list_microsoft_teams_configured_teams(params = {}) ⇒ Types::ListMicrosoftTeamsConfiguredTeamsResult
Lists all authorized MS teams for AWS Account
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1192 1193 1194 1195 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1192 def list_microsoft_teams_configured_teams(params = {}, = {}) req = build_request(:list_microsoft_teams_configured_teams, params) req.send_request() end |
#list_microsoft_teams_user_identities(params = {}) ⇒ Types::ListMicrosoftTeamsUserIdentitiesResult
Lists all Microsoft Teams user identities with a mapped role.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1245 1246 1247 1248 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1245 def list_microsoft_teams_user_identities(params = {}, = {}) req = build_request(:list_microsoft_teams_user_identities, params) req.send_request() end |
#update_account_preferences(params = {}) ⇒ Types::UpdateAccountPreferencesResult
Update Chatbot account level preferences
1287 1288 1289 1290 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1287 def update_account_preferences(params = {}, = {}) req = build_request(:update_account_preferences, params) req.send_request() end |
#update_chime_webhook_configuration(params = {}) ⇒ Types::UpdateChimeWebhookConfigurationResult
Updates a Chime Webhook Configuration
1346 1347 1348 1349 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1346 def update_chime_webhook_configuration(params = {}, = {}) req = build_request(:update_chime_webhook_configuration, params) req.send_request() end |
#update_microsoft_teams_channel_configuration(params = {}) ⇒ Types::UpdateTeamsChannelConfigurationResult
Updates MS Teams Channel Configuration
1420 1421 1422 1423 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1420 def update_microsoft_teams_channel_configuration(params = {}, = {}) req = build_request(:update_microsoft_teams_channel_configuration, params) req.send_request() end |
#update_slack_channel_configuration(params = {}) ⇒ Types::UpdateSlackChannelConfigurationResult
Updates Slack Channel Configuration
1496 1497 1498 1499 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1496 def update_slack_channel_configuration(params = {}, = {}) req = build_request(:update_slack_channel_configuration, params) req.send_request() end |