@@ -46,16 +46,16 @@ using your favorite package manager:
46
46
47
47
The AWS SDK is modulized by clients and commands.
48
48
To send a request, you only need to import the ` ChatbotClient ` and
49
- the commands you need, for example ` ListTagsForResourceCommand ` :
49
+ the commands you need, for example ` ListCustomActionsCommand ` :
50
50
51
51
``` js
52
52
// ES5 example
53
- const { ChatbotClient , ListTagsForResourceCommand } = require (" @aws-sdk/client-chatbot" );
53
+ const { ChatbotClient , ListCustomActionsCommand } = require (" @aws-sdk/client-chatbot" );
54
54
```
55
55
56
56
``` ts
57
57
// ES6+ example
58
- import { ChatbotClient , ListTagsForResourceCommand } from " @aws-sdk/client-chatbot" ;
58
+ import { ChatbotClient , ListCustomActionsCommand } from " @aws-sdk/client-chatbot" ;
59
59
```
60
60
61
61
### Usage
@@ -74,7 +74,7 @@ const client = new ChatbotClient({ region: "REGION" });
74
74
const params = {
75
75
/** input parameters */
76
76
};
77
- const command = new ListTagsForResourceCommand (params);
77
+ const command = new ListCustomActionsCommand (params);
78
78
```
79
79
80
80
#### Async/await
@@ -153,15 +153,15 @@ const client = new AWS.Chatbot({ region: "REGION" });
153
153
154
154
// async/await.
155
155
try {
156
- const data = await client .listTagsForResource (params );
156
+ const data = await client .listCustomActions (params );
157
157
// process data.
158
158
} catch (error ) {
159
159
// error handling.
160
160
}
161
161
162
162
// Promises.
163
163
client
164
- .listTagsForResource (params )
164
+ .listCustomActions (params )
165
165
.then ((data ) => {
166
166
// process data.
167
167
})
@@ -170,7 +170,7 @@ client
170
170
});
171
171
172
172
// callbacks.
173
- client .listTagsForResource (params , (err , data ) => {
173
+ client .listCustomActions (params , (err , data ) => {
174
174
// process err and data.
175
175
});
176
176
```
@@ -226,13 +226,29 @@ see LICENSE for more information.
226
226
227
227
## Client Commands (Operations List)
228
228
229
+ <details >
230
+ <summary >
231
+ AssociateToConfiguration
232
+ </summary >
233
+
234
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chatbot/command/AssociateToConfigurationCommand/ ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/AssociateToConfigurationCommandInput/ ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/AssociateToConfigurationCommandOutput/ )
235
+
236
+ </details >
229
237
<details >
230
238
<summary >
231
239
CreateChimeWebhookConfiguration
232
240
</summary >
233
241
234
242
[ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chatbot/command/CreateChimeWebhookConfigurationCommand/ ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/CreateChimeWebhookConfigurationCommandInput/ ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/CreateChimeWebhookConfigurationCommandOutput/ )
235
243
244
+ </details >
245
+ <details >
246
+ <summary >
247
+ CreateCustomAction
248
+ </summary >
249
+
250
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chatbot/command/CreateCustomActionCommand/ ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/CreateCustomActionCommandInput/ ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/CreateCustomActionCommandOutput/ )
251
+
236
252
</details >
237
253
<details >
238
254
<summary >
@@ -257,6 +273,14 @@ DeleteChimeWebhookConfiguration
257
273
258
274
[ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chatbot/command/DeleteChimeWebhookConfigurationCommand/ ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/DeleteChimeWebhookConfigurationCommandInput/ ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/DeleteChimeWebhookConfigurationCommandOutput/ )
259
275
276
+ </details >
277
+ <details >
278
+ <summary >
279
+ DeleteCustomAction
280
+ </summary >
281
+
282
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chatbot/command/DeleteCustomActionCommand/ ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/DeleteCustomActionCommandInput/ ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/DeleteCustomActionCommandOutput/ )
283
+
260
284
</details >
261
285
<details >
262
286
<summary >
@@ -337,6 +361,14 @@ DescribeSlackWorkspaces
337
361
338
362
[ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chatbot/command/DescribeSlackWorkspacesCommand/ ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/DescribeSlackWorkspacesCommandInput/ ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/DescribeSlackWorkspacesCommandOutput/ )
339
363
364
+ </details >
365
+ <details >
366
+ <summary >
367
+ DisassociateFromConfiguration
368
+ </summary >
369
+
370
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chatbot/command/DisassociateFromConfigurationCommand/ ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/DisassociateFromConfigurationCommandInput/ ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/DisassociateFromConfigurationCommandOutput/ )
371
+
340
372
</details >
341
373
<details >
342
374
<summary >
@@ -345,6 +377,14 @@ GetAccountPreferences
345
377
346
378
[ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chatbot/command/GetAccountPreferencesCommand/ ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/GetAccountPreferencesCommandInput/ ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/GetAccountPreferencesCommandOutput/ )
347
379
380
+ </details >
381
+ <details >
382
+ <summary >
383
+ GetCustomAction
384
+ </summary >
385
+
386
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chatbot/command/GetCustomActionCommand/ ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/GetCustomActionCommandInput/ ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/GetCustomActionCommandOutput/ )
387
+
348
388
</details >
349
389
<details >
350
390
<summary >
@@ -353,6 +393,22 @@ GetMicrosoftTeamsChannelConfiguration
353
393
354
394
[ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chatbot/command/GetMicrosoftTeamsChannelConfigurationCommand/ ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/GetMicrosoftTeamsChannelConfigurationCommandInput/ ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/GetMicrosoftTeamsChannelConfigurationCommandOutput/ )
355
395
396
+ </details >
397
+ <details >
398
+ <summary >
399
+ ListAssociations
400
+ </summary >
401
+
402
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chatbot/command/ListAssociationsCommand/ ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/ListAssociationsCommandInput/ ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/ListAssociationsCommandOutput/ )
403
+
404
+ </details >
405
+ <details >
406
+ <summary >
407
+ ListCustomActions
408
+ </summary >
409
+
410
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chatbot/command/ListCustomActionsCommand/ ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/ListCustomActionsCommandInput/ ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/ListCustomActionsCommandOutput/ )
411
+
356
412
</details >
357
413
<details >
358
414
<summary >
@@ -417,6 +473,14 @@ UpdateChimeWebhookConfiguration
417
473
418
474
[ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chatbot/command/UpdateChimeWebhookConfigurationCommand/ ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/UpdateChimeWebhookConfigurationCommandInput/ ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/UpdateChimeWebhookConfigurationCommandOutput/ )
419
475
476
+ </details >
477
+ <details >
478
+ <summary >
479
+ UpdateCustomAction
480
+ </summary >
481
+
482
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chatbot/command/UpdateCustomActionCommand/ ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/UpdateCustomActionCommandInput/ ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/UpdateCustomActionCommandOutput/ )
483
+
420
484
</details >
421
485
<details >
422
486
<summary >
0 commit comments