Class: AWS.Chatbot
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.Chatbot
- Identifier:
- chatbot
- API Version:
- 2017-10-11
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
The AWS Chatbot API Reference provides descriptions, API request parameters, and the XML response for each of the AWS Chatbot API actions.
AWS Chatbot APIs are currently available in the following Regions:
-
US East (Ohio) -
us-east-2 -
US West (Oregon) -
us-west-2 -
Asia Pacific (Singapore) -
ap-southeast-1 -
Europe (Ireland) -
eu-west-1
The AWS Chatbot console can only be used in US East (Ohio). Your configuration data however, is stored in each of the relevant available Regions.
Sending a Request Using Chatbot
var chatbot = new AWS.Chatbot();
chatbot.createChimeWebhookConfiguration(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the Chatbot object uses this specific API, you can
construct the object by passing the apiVersion option to the constructor:
var chatbot = new AWS.Chatbot({apiVersion: '2017-10-11'});
You can also set the API version globally in AWS.config.apiVersions using
the chatbot service identifier:
AWS.config.apiVersions = {
chatbot: '2017-10-11',
// other service API versions
};
var chatbot = new AWS.Chatbot();
Constructor Summary collapse
-
new AWS.Chatbot(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
createChimeWebhookConfiguration(params = {}, callback) ⇒ AWS.Request
Creates an AWS Chatbot configuration for Amazon Chime.
.
-
createMicrosoftTeamsChannelConfiguration(params = {}, callback) ⇒ AWS.Request
Creates an AWS Chatbot configuration for Microsoft Teams.
.
-
createSlackChannelConfiguration(params = {}, callback) ⇒ AWS.Request
Creates an AWS Chatbot confugration for Slack.
.
-
deleteChimeWebhookConfiguration(params = {}, callback) ⇒ AWS.Request
Deletes a Amazon Chime webhook configuration for AWS Chatbot.
.
-
deleteMicrosoftTeamsChannelConfiguration(params = {}, callback) ⇒ AWS.Request
Deletes a Microsoft Teams channel configuration for AWS Chatbot
.
-
deleteMicrosoftTeamsConfiguredTeam(params = {}, callback) ⇒ AWS.Request
Deletes the Microsoft Teams team authorization allowing for channels to be configured in that Microsoft Teams team.
-
deleteMicrosoftTeamsUserIdentity(params = {}, callback) ⇒ AWS.Request
Identifes a user level permission for a channel configuration.
.
-
deleteSlackChannelConfiguration(params = {}, callback) ⇒ AWS.Request
Deletes a Slack channel configuration for AWS Chatbot
.
-
deleteSlackUserIdentity(params = {}, callback) ⇒ AWS.Request
Deletes a user level permission for a Slack channel configuration.
.
-
deleteSlackWorkspaceAuthorization(params = {}, callback) ⇒ AWS.Request
Deletes the Slack workspace authorization that allows channels to be configured in that workspace.
-
describeChimeWebhookConfigurations(params = {}, callback) ⇒ AWS.Request
Lists Amazon Chime webhook configurations optionally filtered by ChatConfigurationArn
.
-
describeSlackChannelConfigurations(params = {}, callback) ⇒ AWS.Request
Lists Slack channel configurations optionally filtered by ChatConfigurationArn
.
-
describeSlackUserIdentities(params = {}, callback) ⇒ AWS.Request
Lists all Slack user identities with a mapped role.
.
-
describeSlackWorkspaces(params = {}, callback) ⇒ AWS.Request
List all authorized Slack workspaces connected to the AWS Account onboarded with AWS Chatbot.
.
-
getAccountPreferences(params = {}, callback) ⇒ AWS.Request
Returns AWS Chatbot account preferences.
.
-
getMicrosoftTeamsChannelConfiguration(params = {}, callback) ⇒ AWS.Request
Returns a Microsoft Teams channel configuration in an AWS account.
.
-
listMicrosoftTeamsChannelConfigurations(params = {}, callback) ⇒ AWS.Request
Lists all AWS Chatbot Microsoft Teams channel configurations in an AWS account.
.
-
listMicrosoftTeamsConfiguredTeams(params = {}, callback) ⇒ AWS.Request
Lists all authorized Microsoft Teams for an AWS Account
.
-
listMicrosoftTeamsUserIdentities(params = {}, callback) ⇒ AWS.Request
A list all Microsoft Teams user identities with a mapped role.
.
-
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify.
-
tagResource(params = {}, callback) ⇒ AWS.Request
Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN).
-
untagResource(params = {}, callback) ⇒ AWS.Request
Detaches a key-value pair from a resource, as identified by its Amazon Resource Name (ARN).
-
updateAccountPreferences(params = {}, callback) ⇒ AWS.Request
Updates AWS Chatbot account preferences.
.
-
updateChimeWebhookConfiguration(params = {}, callback) ⇒ AWS.Request
Updates a Amazon Chime webhook configuration.
.
-
updateMicrosoftTeamsChannelConfiguration(params = {}, callback) ⇒ AWS.Request
Updates an Microsoft Teams channel configuration.
.
-
updateSlackChannelConfiguration(params = {}, callback) ⇒ AWS.Request
Updates a Slack channel configuration.
.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.Chatbot(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Property Details
Method Details
createChimeWebhookConfiguration(params = {}, callback) ⇒ AWS.Request
Creates an AWS Chatbot configuration for Amazon Chime.
createMicrosoftTeamsChannelConfiguration(params = {}, callback) ⇒ AWS.Request
Creates an AWS Chatbot configuration for Microsoft Teams.
createSlackChannelConfiguration(params = {}, callback) ⇒ AWS.Request
Creates an AWS Chatbot confugration for Slack.
deleteChimeWebhookConfiguration(params = {}, callback) ⇒ AWS.Request
Deletes a Amazon Chime webhook configuration for AWS Chatbot.
deleteMicrosoftTeamsChannelConfiguration(params = {}, callback) ⇒ AWS.Request
Deletes a Microsoft Teams channel configuration for AWS Chatbot
deleteMicrosoftTeamsConfiguredTeam(params = {}, callback) ⇒ AWS.Request
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.
deleteMicrosoftTeamsUserIdentity(params = {}, callback) ⇒ AWS.Request
Identifes a user level permission for a channel configuration.
deleteSlackChannelConfiguration(params = {}, callback) ⇒ AWS.Request
Deletes a Slack channel configuration for AWS Chatbot
deleteSlackUserIdentity(params = {}, callback) ⇒ AWS.Request
Deletes a user level permission for a Slack channel configuration.
deleteSlackWorkspaceAuthorization(params = {}, callback) ⇒ AWS.Request
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.