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
-
#associate_to_configuration(params = {}) ⇒ Struct
Links a resource (for example, a custom action) to a channel configuration.
-
#create_chime_webhook_configuration(params = {}) ⇒ Types::CreateChimeWebhookConfigurationResult
Creates an AWS Chatbot configuration for Amazon Chime.
-
#create_custom_action(params = {}) ⇒ Types::CreateCustomActionResult
Creates a custom action that can be invoked as an alias or as a button on a notification.
-
#create_microsoft_teams_channel_configuration(params = {}) ⇒ Types::CreateTeamsChannelConfigurationResult
Creates an AWS Chatbot configuration for Microsoft Teams.
-
#create_slack_channel_configuration(params = {}) ⇒ Types::CreateSlackChannelConfigurationResult
Creates an AWS Chatbot confugration for Slack.
-
#delete_chime_webhook_configuration(params = {}) ⇒ Struct
Deletes a Amazon Chime webhook configuration for AWS Chatbot.
-
#delete_custom_action(params = {}) ⇒ Struct
Deletes a custom action.
-
#delete_microsoft_teams_channel_configuration(params = {}) ⇒ Struct
Deletes a Microsoft Teams channel configuration for AWS Chatbot.
-
#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
Identifes a user level permission for a channel configuration.
-
#delete_slack_channel_configuration(params = {}) ⇒ Struct
Deletes a Slack channel configuration for AWS Chatbot.
-
#delete_slack_user_identity(params = {}) ⇒ Struct
Deletes a user level permission for a Slack channel configuration.
-
#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 Amazon 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
List all authorized Slack workspaces connected to the AWS Account onboarded with AWS Chatbot.
-
#disassociate_from_configuration(params = {}) ⇒ Struct
Unlink a resource, for example a custom action, from a channel configuration.
-
#get_account_preferences(params = {}) ⇒ Types::GetAccountPreferencesResult
Returns AWS Chatbot account preferences.
-
#get_custom_action(params = {}) ⇒ Types::GetCustomActionResult
Returns a custom action.
-
#get_microsoft_teams_channel_configuration(params = {}) ⇒ Types::GetTeamsChannelConfigurationResult
Returns a Microsoft Teams channel configuration in an AWS account.
-
#list_associations(params = {}) ⇒ Types::ListAssociationsResult
Lists resources associated with a channel configuration.
-
#list_custom_actions(params = {}) ⇒ Types::ListCustomActionsResult
Lists custom actions defined in this account.
-
#list_microsoft_teams_channel_configurations(params = {}) ⇒ Types::ListTeamsChannelConfigurationsResult
Lists all AWS Chatbot Microsoft Teams channel configurations in an AWS account.
-
#list_microsoft_teams_configured_teams(params = {}) ⇒ Types::ListMicrosoftTeamsConfiguredTeamsResult
Lists all authorized Microsoft Teams for an AWS Account.
-
#list_microsoft_teams_user_identities(params = {}) ⇒ Types::ListMicrosoftTeamsUserIdentitiesResult
A list all Microsoft Teams user identities with a mapped role.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify.
-
#tag_resource(params = {}) ⇒ Struct
Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN).
-
#untag_resource(params = {}) ⇒ Struct
Detaches a key-value pair from a resource, as identified by its Amazon Resource Name (ARN).
-
#update_account_preferences(params = {}) ⇒ Types::UpdateAccountPreferencesResult
Updates AWS Chatbot account preferences.
-
#update_chime_webhook_configuration(params = {}) ⇒ Types::UpdateChimeWebhookConfigurationResult
Updates a Amazon Chime webhook configuration.
-
#update_custom_action(params = {}) ⇒ Types::UpdateCustomActionResult
Updates a custom action.
-
#update_microsoft_teams_channel_configuration(params = {}) ⇒ Types::UpdateTeamsChannelConfigurationResult
Updates an Microsoft Teams channel configuration.
-
#update_slack_channel_configuration(params = {}) ⇒ Types::UpdateSlackChannelConfigurationResult
Updates a 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.
473 474 475 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 473 def initialize(*args) super end |
Instance Method Details
#associate_to_configuration(params = {}) ⇒ Struct
Links a resource (for example, a custom action) to a channel configuration.
515 516 517 518 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 515 def associate_to_configuration(params = {}, = {}) req = build_request(:associate_to_configuration, params) req.send_request() end |
#create_chime_webhook_configuration(params = {}) ⇒ Types::CreateChimeWebhookConfigurationResult
Creates an AWS Chatbot configuration for Amazon Chime.
601 602 603 604 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 601 def create_chime_webhook_configuration(params = {}, = {}) req = build_request(:create_chime_webhook_configuration, params) req.send_request() end |
#create_custom_action(params = {}) ⇒ Types::CreateCustomActionResult
Creates a custom action that can be invoked as an alias or as a button on a notification.
728 729 730 731 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 728 def create_custom_action(params = {}, = {}) req = build_request(:create_custom_action, params) req.send_request() end |
#create_microsoft_teams_channel_configuration(params = {}) ⇒ Types::CreateTeamsChannelConfigurationResult
Creates an AWS Chatbot configuration for Microsoft Teams.
845 846 847 848 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 845 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 an AWS Chatbot confugration for Slack.
947 948 949 950 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 947 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 Amazon Chime webhook configuration for AWS Chatbot.
970 971 972 973 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 970 def delete_chime_webhook_configuration(params = {}, = {}) req = build_request(:delete_chime_webhook_configuration, params) req.send_request() end |
#delete_custom_action(params = {}) ⇒ Struct
Deletes a custom action.
1003 1004 1005 1006 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1003 def delete_custom_action(params = {}, = {}) req = build_request(:delete_custom_action, params) req.send_request() end |
#delete_microsoft_teams_channel_configuration(params = {}) ⇒ Struct
Deletes a Microsoft Teams channel configuration for AWS Chatbot
1027 1028 1029 1030 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1027 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.
1061 1062 1063 1064 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1061 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
Identifes a user level permission for a channel configuration.
1088 1089 1090 1091 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1088 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 a Slack channel configuration for AWS Chatbot
1111 1112 1113 1114 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1111 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 user level permission for a Slack channel configuration.
1142 1143 1144 1145 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1142 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.
1166 1167 1168 1169 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1166 def (params = {}, = {}) req = build_request(:delete_slack_workspace_authorization, params) req.send_request() end |
#describe_chime_webhook_configurations(params = {}) ⇒ Types::DescribeChimeWebhookConfigurationsResult
Lists Amazon Chime webhook configurations optionally filtered by ChatConfigurationArn
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1225 1226 1227 1228 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1225 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.
1290 1291 1292 1293 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1290 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.
1341 1342 1343 1344 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1341 def describe_slack_user_identities(params = {}, = {}) req = build_request(:describe_slack_user_identities, params) req.send_request() end |
#describe_slack_workspaces(params = {}) ⇒ Types::DescribeSlackWorkspacesResult
List all authorized Slack workspaces connected to the AWS Account onboarded with AWS Chatbot.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1387 1388 1389 1390 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1387 def describe_slack_workspaces(params = {}, = {}) req = build_request(:describe_slack_workspaces, params) req.send_request() end |
#disassociate_from_configuration(params = {}) ⇒ Struct
Unlink a resource, for example a custom action, from a channel configuration.
1427 1428 1429 1430 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1427 def disassociate_from_configuration(params = {}, = {}) req = build_request(:disassociate_from_configuration, params) req.send_request() end |
#get_account_preferences(params = {}) ⇒ Types::GetAccountPreferencesResult
Returns AWS Chatbot account preferences.
1447 1448 1449 1450 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1447 def get_account_preferences(params = {}, = {}) req = build_request(:get_account_preferences, params) req.send_request() end |
#get_custom_action(params = {}) ⇒ Types::GetCustomActionResult
Returns a custom action.
1506 1507 1508 1509 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1506 def get_custom_action(params = {}, = {}) req = build_request(:get_custom_action, params) req.send_request() end |
#get_microsoft_teams_channel_configuration(params = {}) ⇒ Types::GetTeamsChannelConfigurationResult
Returns a Microsoft Teams channel configuration in an AWS account.
1553 1554 1555 1556 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1553 def get_microsoft_teams_channel_configuration(params = {}, = {}) req = build_request(:get_microsoft_teams_channel_configuration, params) req.send_request() end |
#list_associations(params = {}) ⇒ Types::ListAssociationsResult
Lists resources associated with a channel configuration.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1615 1616 1617 1618 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1615 def list_associations(params = {}, = {}) req = build_request(:list_associations, params) req.send_request() end |
#list_custom_actions(params = {}) ⇒ Types::ListCustomActionsResult
Lists custom actions defined in this account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1670 1671 1672 1673 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1670 def list_custom_actions(params = {}, = {}) req = build_request(:list_custom_actions, params) req.send_request() end |
#list_microsoft_teams_channel_configurations(params = {}) ⇒ Types::ListTeamsChannelConfigurationsResult
Lists all AWS Chatbot Microsoft Teams channel configurations in an AWS account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1745 1746 1747 1748 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1745 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 Microsoft Teams for an AWS Account
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1791 1792 1793 1794 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1791 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
A list 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.
1845 1846 1847 1848 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1845 def list_microsoft_teams_user_identities(params = {}, = {}) req = build_request(:list_microsoft_teams_user_identities, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The resource can be a user, server, or role.
1876 1877 1878 1879 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1876 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN). Resources are users, servers, roles, and other entities.
1909 1910 1911 1912 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1909 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Detaches a key-value pair from a resource, as identified by its Amazon Resource Name (ARN). Resources are users, servers, roles, and other entities.
1941 1942 1943 1944 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1941 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_account_preferences(params = {}) ⇒ Types::UpdateAccountPreferencesResult
Updates AWS Chatbot account preferences.
1984 1985 1986 1987 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1984 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 Amazon Chime webhook configuration.
2060 2061 2062 2063 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 2060 def update_chime_webhook_configuration(params = {}, = {}) req = build_request(:update_chime_webhook_configuration, params) req.send_request() end |
#update_custom_action(params = {}) ⇒ Types::UpdateCustomActionResult
Updates a custom action.
2137 2138 2139 2140 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 2137 def update_custom_action(params = {}, = {}) req = build_request(:update_custom_action, params) req.send_request() end |
#update_microsoft_teams_channel_configuration(params = {}) ⇒ Types::UpdateTeamsChannelConfigurationResult
Updates an Microsoft Teams channel configuration.
2223 2224 2225 2226 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 2223 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 a Slack channel configuration.
2312 2313 2314 2315 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 2312 def update_slack_channel_configuration(params = {}, = {}) req = build_request(:update_slack_channel_configuration, params) req.send_request() end |