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 an AWS Chatbot configuration for Amazon Chime.
-
#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_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.
-
#get_account_preferences(params = {}) ⇒ Types::GetAccountPreferencesResult
Returns AWS Chatbot account preferences.
-
#get_microsoft_teams_channel_configuration(params = {}) ⇒ Types::GetTeamsChannelConfigurationResult
Returns a Microsoft Teams channel configuration in an AWS 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_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.
434 435 436 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 434 def initialize(*args) super end |
Instance Method Details
#create_chime_webhook_configuration(params = {}) ⇒ Types::CreateChimeWebhookConfigurationResult
Creates an AWS Chatbot configuration for Amazon Chime.
519 520 521 522 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 519 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 an AWS Chatbot configuration for Microsoft Teams.
634 635 636 637 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 634 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.
734 735 736 737 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 734 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.
757 758 759 760 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 757 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 a Microsoft Teams channel configuration for AWS Chatbot
781 782 783 784 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 781 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.
815 816 817 818 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 815 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.
842 843 844 845 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 842 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
865 866 867 868 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 865 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.
896 897 898 899 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 896 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.
920 921 922 923 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 920 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.
977 978 979 980 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 977 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.
1040 1041 1042 1043 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1040 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.
1091 1092 1093 1094 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1091 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.
1135 1136 1137 1138 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1135 def describe_slack_workspaces(params = {}, = {}) req = build_request(:describe_slack_workspaces, params) req.send_request() end |
#get_account_preferences(params = {}) ⇒ Types::GetAccountPreferencesResult
Returns AWS Chatbot account preferences.
1155 1156 1157 1158 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1155 def get_account_preferences(params = {}, = {}) req = build_request(:get_account_preferences, params) req.send_request() end |
#get_microsoft_teams_channel_configuration(params = {}) ⇒ Types::GetTeamsChannelConfigurationResult
Returns a Microsoft Teams channel configuration in an AWS account.
1200 1201 1202 1203 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1200 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 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.
1273 1274 1275 1276 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1273 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.
1317 1318 1319 1320 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1317 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.
1371 1372 1373 1374 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1371 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.
1402 1403 1404 1405 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1402 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.
1435 1436 1437 1438 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1435 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.
1467 1468 1469 1470 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1467 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.
1510 1511 1512 1513 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1510 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.
1584 1585 1586 1587 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1584 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 an Microsoft Teams channel configuration.
1668 1669 1670 1671 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1668 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.
1755 1756 1757 1758 |
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb', line 1755 def update_slack_channel_configuration(params = {}, = {}) req = build_request(:update_slack_channel_configuration, params) req.send_request() end |