@aws-sdk/client-chatbot 3.696.0 → 3.700.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +71 -7
- package/dist-cjs/Chatbot.js +16 -0
- package/dist-cjs/commands/AssociateToConfigurationCommand.js +26 -0
- package/dist-cjs/commands/CreateCustomActionCommand.js +26 -0
- package/dist-cjs/commands/DeleteCustomActionCommand.js +26 -0
- package/dist-cjs/commands/DisassociateFromConfigurationCommand.js +26 -0
- package/dist-cjs/commands/GetCustomActionCommand.js +26 -0
- package/dist-cjs/commands/ListAssociationsCommand.js +26 -0
- package/dist-cjs/commands/ListCustomActionsCommand.js +26 -0
- package/dist-cjs/commands/UpdateCustomActionCommand.js +26 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/models/models_0.js +60 -42
- package/dist-cjs/pagination/ListAssociationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListCustomActionsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +260 -8
- package/dist-es/Chatbot.js +16 -0
- package/dist-es/commands/AssociateToConfigurationCommand.js +22 -0
- package/dist-es/commands/CreateCustomActionCommand.js +22 -0
- package/dist-es/commands/DeleteCustomActionCommand.js +22 -0
- package/dist-es/commands/DisassociateFromConfigurationCommand.js +22 -0
- package/dist-es/commands/GetCustomActionCommand.js +22 -0
- package/dist-es/commands/ListAssociationsCommand.js +22 -0
- package/dist-es/commands/ListCustomActionsCommand.js +22 -0
- package/dist-es/commands/UpdateCustomActionCommand.js +22 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +53 -37
- package/dist-es/pagination/ListAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListCustomActionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +243 -7
- package/dist-types/Chatbot.d.ts +57 -0
- package/dist-types/ChatbotClient.d.ts +10 -2
- package/dist-types/commands/AssociateToConfigurationCommand.d.ts +91 -0
- package/dist-types/commands/CreateCustomActionCommand.d.ts +158 -0
- package/dist-types/commands/DeleteCustomActionCommand.d.ts +92 -0
- package/dist-types/commands/DisassociateFromConfigurationCommand.d.ts +91 -0
- package/dist-types/commands/GetCustomActionCommand.d.ts +128 -0
- package/dist-types/commands/ListAssociationsCommand.d.ts +98 -0
- package/dist-types/commands/ListCustomActionsCommand.d.ts +100 -0
- package/dist-types/commands/UpdateCustomActionCommand.d.ts +122 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +385 -40
- package/dist-types/pagination/ListAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCustomActionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
- package/dist-types/ts3.4/Chatbot.d.ts +137 -0
- package/dist-types/ts3.4/ChatbotClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/AssociateToConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateCustomActionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteCustomActionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateFromConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCustomActionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListCustomActionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateCustomActionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +116 -22
- package/dist-types/ts3.4/pagination/ListAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCustomActionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
- package/package.json +7 -5
|
@@ -18,6 +18,74 @@ export interface AccountPreferences {
|
|
|
18
18
|
*/
|
|
19
19
|
TrainingDataCollectionEnabled?: boolean | undefined;
|
|
20
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export interface AssociateToConfigurationRequest {
|
|
25
|
+
/**
|
|
26
|
+
* <p>The resource Amazon Resource Name (ARN) to link.</p>
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
Resource: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* <p>The channel configuration to associate with the resource.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
ChatConfiguration: string | undefined;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export interface AssociateToConfigurationResult {
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* <p>Unexpected error during processing of request.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export declare class InternalServiceError extends __BaseException {
|
|
46
|
+
readonly name: "InternalServiceError";
|
|
47
|
+
readonly $fault: "server";
|
|
48
|
+
Message?: string | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
constructor(opts: __ExceptionOptionType<InternalServiceError, __BaseException>);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* <p>Your request input doesn't meet the constraints required by AWS Chatbot.</p>
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
59
|
+
readonly name: "InvalidRequestException";
|
|
60
|
+
readonly $fault: "client";
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
64
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* <p>The request was rejected because it doesn't have valid credentials for the target resource.</p>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
71
|
+
readonly name: "UnauthorizedException";
|
|
72
|
+
readonly $fault: "client";
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* <p>A listing of an association with a channel configuration.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export interface AssociationListing {
|
|
83
|
+
/**
|
|
84
|
+
* <p>The Amazon Resource Name (ARN) of the resource (for example, a custom action).</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
Resource: string | undefined;
|
|
88
|
+
}
|
|
21
89
|
/**
|
|
22
90
|
* <p>A key-value pair. A tag consists of a tag key and a tag value. Tag keys and tag values are both required, but tag values can be empty (null) strings.</p>
|
|
23
91
|
* <important>
|
|
@@ -51,7 +119,7 @@ export interface ChimeWebhookConfiguration {
|
|
|
51
119
|
*/
|
|
52
120
|
WebhookDescription: string | undefined;
|
|
53
121
|
/**
|
|
54
|
-
* <p>The Amazon Resource
|
|
122
|
+
* <p>The Amazon Resource Name (ARN) of the ChimeWebhookConfiguration.</p>
|
|
55
123
|
* @public
|
|
56
124
|
*/
|
|
57
125
|
ChatConfigurationArn: string | undefined;
|
|
@@ -220,28 +288,132 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
220
288
|
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
221
289
|
}
|
|
222
290
|
/**
|
|
223
|
-
* <p>
|
|
291
|
+
* <p>You have exceeded a service limit for AWS Chatbot.</p>
|
|
224
292
|
* @public
|
|
225
293
|
*/
|
|
226
|
-
export declare class
|
|
227
|
-
readonly name: "
|
|
294
|
+
export declare class LimitExceededException extends __BaseException {
|
|
295
|
+
readonly name: "LimitExceededException";
|
|
228
296
|
readonly $fault: "client";
|
|
229
297
|
/**
|
|
230
298
|
* @internal
|
|
231
299
|
*/
|
|
232
|
-
constructor(opts: __ExceptionOptionType<
|
|
300
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
233
301
|
}
|
|
234
302
|
/**
|
|
235
|
-
* <p>You have exceeded a service limit for AWS Chatbot.</p>
|
|
236
303
|
* @public
|
|
304
|
+
* @enum
|
|
237
305
|
*/
|
|
238
|
-
export declare
|
|
239
|
-
readonly
|
|
240
|
-
readonly
|
|
306
|
+
export declare const CustomActionAttachmentCriteriaOperator: {
|
|
307
|
+
readonly EQUALS: "EQUALS";
|
|
308
|
+
readonly HAS_VALUE: "HAS_VALUE";
|
|
309
|
+
};
|
|
310
|
+
/**
|
|
311
|
+
* @public
|
|
312
|
+
*/
|
|
313
|
+
export type CustomActionAttachmentCriteriaOperator = (typeof CustomActionAttachmentCriteriaOperator)[keyof typeof CustomActionAttachmentCriteriaOperator];
|
|
314
|
+
/**
|
|
315
|
+
* <p>A criteria for when a button should be shown based on values in the notification</p>
|
|
316
|
+
* @public
|
|
317
|
+
*/
|
|
318
|
+
export interface CustomActionAttachmentCriteria {
|
|
241
319
|
/**
|
|
242
|
-
*
|
|
320
|
+
* <p>The operation to perform on the named variable.</p>
|
|
321
|
+
* @public
|
|
243
322
|
*/
|
|
244
|
-
|
|
323
|
+
Operator: CustomActionAttachmentCriteriaOperator | undefined;
|
|
324
|
+
/**
|
|
325
|
+
* <p>The name of the variable to operate on.</p>
|
|
326
|
+
* @public
|
|
327
|
+
*/
|
|
328
|
+
VariableName: string | undefined;
|
|
329
|
+
/**
|
|
330
|
+
* <p>A value that is compared with the actual value of the variable based on the behavior of the operator.</p>
|
|
331
|
+
* @public
|
|
332
|
+
*/
|
|
333
|
+
Value?: string | undefined;
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* <p>Defines when a custom action button should be attached to a notification.</p>
|
|
337
|
+
* @public
|
|
338
|
+
*/
|
|
339
|
+
export interface CustomActionAttachment {
|
|
340
|
+
/**
|
|
341
|
+
* <p>The type of notification that the custom action should be attached to.</p>
|
|
342
|
+
* @public
|
|
343
|
+
*/
|
|
344
|
+
NotificationType?: string | undefined;
|
|
345
|
+
/**
|
|
346
|
+
* <p>The text of the button that appears on the notification.</p>
|
|
347
|
+
* @public
|
|
348
|
+
*/
|
|
349
|
+
ButtonText?: string | undefined;
|
|
350
|
+
/**
|
|
351
|
+
* <p>The criteria for when a button should be shown based on values in the notification.</p>
|
|
352
|
+
* @public
|
|
353
|
+
*/
|
|
354
|
+
Criteria?: CustomActionAttachmentCriteria[] | undefined;
|
|
355
|
+
/**
|
|
356
|
+
* <p>The variables to extract from the notification.</p>
|
|
357
|
+
* @public
|
|
358
|
+
*/
|
|
359
|
+
Variables?: Record<string, string> | undefined;
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* <p>The definition of the command to run when invoked as an alias or as an action button.</p>
|
|
363
|
+
* @public
|
|
364
|
+
*/
|
|
365
|
+
export interface CustomActionDefinition {
|
|
366
|
+
/**
|
|
367
|
+
* <p>The command string to run which may include variables by prefixing with a dollar sign ($).</p>
|
|
368
|
+
* @public
|
|
369
|
+
*/
|
|
370
|
+
CommandText: string | undefined;
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* @public
|
|
374
|
+
*/
|
|
375
|
+
export interface CreateCustomActionRequest {
|
|
376
|
+
/**
|
|
377
|
+
* <p>The definition of the command to run when invoked as an alias or as an action button.</p>
|
|
378
|
+
* @public
|
|
379
|
+
*/
|
|
380
|
+
Definition: CustomActionDefinition | undefined;
|
|
381
|
+
/**
|
|
382
|
+
* <p>The name used to invoke this action in a chat channel. For example, <code>@aws run my-alias</code>.</p>
|
|
383
|
+
* @public
|
|
384
|
+
*/
|
|
385
|
+
AliasName?: string | undefined;
|
|
386
|
+
/**
|
|
387
|
+
* <p>Defines when this custom action button should be attached to a notification.</p>
|
|
388
|
+
* @public
|
|
389
|
+
*/
|
|
390
|
+
Attachments?: CustomActionAttachment[] | undefined;
|
|
391
|
+
/**
|
|
392
|
+
* <p>A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.</p>
|
|
393
|
+
* @public
|
|
394
|
+
*/
|
|
395
|
+
Tags?: Tag[] | undefined;
|
|
396
|
+
/**
|
|
397
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.</p>
|
|
398
|
+
* <p>If you do not specify a client token, one is automatically generated by the SDK.</p>
|
|
399
|
+
* @public
|
|
400
|
+
*/
|
|
401
|
+
ClientToken?: string | undefined;
|
|
402
|
+
/**
|
|
403
|
+
* <p>The name of the custom action. This name is included in the Amazon Resource Name (ARN).</p>
|
|
404
|
+
* @public
|
|
405
|
+
*/
|
|
406
|
+
ActionName: string | undefined;
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* @public
|
|
410
|
+
*/
|
|
411
|
+
export interface CreateCustomActionResult {
|
|
412
|
+
/**
|
|
413
|
+
* <p>The fully defined ARN of the custom action.</p>
|
|
414
|
+
* @public
|
|
415
|
+
*/
|
|
416
|
+
CustomActionArn: string | undefined;
|
|
245
417
|
}
|
|
246
418
|
/**
|
|
247
419
|
* <p>We can’t process your request right now because of a server issue. Try again later.</p>
|
|
@@ -524,7 +696,7 @@ export interface SlackChannelConfiguration {
|
|
|
524
696
|
*/
|
|
525
697
|
SlackChannelName: string | undefined;
|
|
526
698
|
/**
|
|
527
|
-
* <p>The Amazon Resource
|
|
699
|
+
* <p>The Amazon Resource Name (ARN) of the SlackChannelConfiguration.</p>
|
|
528
700
|
* @public
|
|
529
701
|
*/
|
|
530
702
|
ChatConfigurationArn: string | undefined;
|
|
@@ -589,32 +761,50 @@ export interface CreateSlackChannelConfigurationResult {
|
|
|
589
761
|
ChannelConfiguration?: SlackChannelConfiguration | undefined;
|
|
590
762
|
}
|
|
591
763
|
/**
|
|
592
|
-
* <p>
|
|
764
|
+
* <p>Represents a parameterized command that can be invoked as an alias or as a notification button in the chat client.</p>
|
|
593
765
|
* @public
|
|
594
766
|
*/
|
|
595
|
-
export
|
|
596
|
-
readonly name: "DeleteChimeWebhookConfigurationException";
|
|
597
|
-
readonly $fault: "server";
|
|
598
|
-
Message?: string | undefined;
|
|
767
|
+
export interface CustomAction {
|
|
599
768
|
/**
|
|
600
|
-
*
|
|
769
|
+
* <p>The fully defined Amazon Resource Name (ARN) of the custom action.</p>
|
|
770
|
+
* @public
|
|
601
771
|
*/
|
|
602
|
-
|
|
772
|
+
CustomActionArn: string | undefined;
|
|
773
|
+
/**
|
|
774
|
+
* <p>The definition of the command to run when invoked an alias or as an action button.</p>
|
|
775
|
+
* @public
|
|
776
|
+
*/
|
|
777
|
+
Definition: CustomActionDefinition | undefined;
|
|
778
|
+
/**
|
|
779
|
+
* <p>The name used to invoke this action in the chat channel. For example, <code>@aws run my-alias</code>.</p>
|
|
780
|
+
* @public
|
|
781
|
+
*/
|
|
782
|
+
AliasName?: string | undefined;
|
|
783
|
+
/**
|
|
784
|
+
* <p>Defines when this custom action button should be attached to a notification.</p>
|
|
785
|
+
* @public
|
|
786
|
+
*/
|
|
787
|
+
Attachments?: CustomActionAttachment[] | undefined;
|
|
788
|
+
/**
|
|
789
|
+
* <p>The name of the custom action that is included in the ARN.</p>
|
|
790
|
+
* @public
|
|
791
|
+
*/
|
|
792
|
+
ActionName?: string | undefined;
|
|
603
793
|
}
|
|
604
794
|
/**
|
|
605
795
|
* @public
|
|
606
796
|
*/
|
|
607
|
-
export interface
|
|
797
|
+
export interface DeleteCustomActionRequest {
|
|
608
798
|
/**
|
|
609
|
-
* <p>The
|
|
799
|
+
* <p>The fully defined ARN of the custom action.</p>
|
|
610
800
|
* @public
|
|
611
801
|
*/
|
|
612
|
-
|
|
802
|
+
CustomActionArn: string | undefined;
|
|
613
803
|
}
|
|
614
804
|
/**
|
|
615
805
|
* @public
|
|
616
806
|
*/
|
|
617
|
-
export interface
|
|
807
|
+
export interface DeleteCustomActionResult {
|
|
618
808
|
}
|
|
619
809
|
/**
|
|
620
810
|
* <p>We were unable to find the resource for your request</p>
|
|
@@ -629,6 +819,119 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
629
819
|
*/
|
|
630
820
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
631
821
|
}
|
|
822
|
+
/**
|
|
823
|
+
* @public
|
|
824
|
+
*/
|
|
825
|
+
export interface GetCustomActionRequest {
|
|
826
|
+
/**
|
|
827
|
+
* <p>Returns the fully defined Amazon Resource Name (ARN) of the custom action.</p>
|
|
828
|
+
* @public
|
|
829
|
+
*/
|
|
830
|
+
CustomActionArn: string | undefined;
|
|
831
|
+
}
|
|
832
|
+
/**
|
|
833
|
+
* @public
|
|
834
|
+
*/
|
|
835
|
+
export interface GetCustomActionResult {
|
|
836
|
+
/**
|
|
837
|
+
* <p>Returns the custom action.</p>
|
|
838
|
+
* @public
|
|
839
|
+
*/
|
|
840
|
+
CustomAction?: CustomAction | undefined;
|
|
841
|
+
}
|
|
842
|
+
/**
|
|
843
|
+
* @public
|
|
844
|
+
*/
|
|
845
|
+
export interface ListCustomActionsRequest {
|
|
846
|
+
/**
|
|
847
|
+
* <p>The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.</p>
|
|
848
|
+
* @public
|
|
849
|
+
*/
|
|
850
|
+
MaxResults?: number | undefined;
|
|
851
|
+
/**
|
|
852
|
+
* <p>An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.</p>
|
|
853
|
+
* @public
|
|
854
|
+
*/
|
|
855
|
+
NextToken?: string | undefined;
|
|
856
|
+
}
|
|
857
|
+
/**
|
|
858
|
+
* @public
|
|
859
|
+
*/
|
|
860
|
+
export interface ListCustomActionsResult {
|
|
861
|
+
/**
|
|
862
|
+
* <p>A list of custom actions.</p>
|
|
863
|
+
* @public
|
|
864
|
+
*/
|
|
865
|
+
CustomActions: string[] | undefined;
|
|
866
|
+
/**
|
|
867
|
+
* <p>An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.</p>
|
|
868
|
+
* @public
|
|
869
|
+
*/
|
|
870
|
+
NextToken?: string | undefined;
|
|
871
|
+
}
|
|
872
|
+
/**
|
|
873
|
+
* @public
|
|
874
|
+
*/
|
|
875
|
+
export interface UpdateCustomActionRequest {
|
|
876
|
+
/**
|
|
877
|
+
* <p>The fully defined Amazon Resource Name (ARN) of the custom action.</p>
|
|
878
|
+
* @public
|
|
879
|
+
*/
|
|
880
|
+
CustomActionArn: string | undefined;
|
|
881
|
+
/**
|
|
882
|
+
* <p>The definition of the command to run when invoked as an alias or as an action button.</p>
|
|
883
|
+
* @public
|
|
884
|
+
*/
|
|
885
|
+
Definition: CustomActionDefinition | undefined;
|
|
886
|
+
/**
|
|
887
|
+
* <p>The name used to invoke this action in the chat channel. For example, <code>@aws run my-alias</code>.</p>
|
|
888
|
+
* @public
|
|
889
|
+
*/
|
|
890
|
+
AliasName?: string | undefined;
|
|
891
|
+
/**
|
|
892
|
+
* <p>Defines when this custom action button should be attached to a notification.</p>
|
|
893
|
+
* @public
|
|
894
|
+
*/
|
|
895
|
+
Attachments?: CustomActionAttachment[] | undefined;
|
|
896
|
+
}
|
|
897
|
+
/**
|
|
898
|
+
* @public
|
|
899
|
+
*/
|
|
900
|
+
export interface UpdateCustomActionResult {
|
|
901
|
+
/**
|
|
902
|
+
* <p>The fully defined ARN of the custom action.</p>
|
|
903
|
+
* @public
|
|
904
|
+
*/
|
|
905
|
+
CustomActionArn: string | undefined;
|
|
906
|
+
}
|
|
907
|
+
/**
|
|
908
|
+
* <p>We can’t process your request right now because of a server issue. Try again later.</p>
|
|
909
|
+
* @public
|
|
910
|
+
*/
|
|
911
|
+
export declare class DeleteChimeWebhookConfigurationException extends __BaseException {
|
|
912
|
+
readonly name: "DeleteChimeWebhookConfigurationException";
|
|
913
|
+
readonly $fault: "server";
|
|
914
|
+
Message?: string | undefined;
|
|
915
|
+
/**
|
|
916
|
+
* @internal
|
|
917
|
+
*/
|
|
918
|
+
constructor(opts: __ExceptionOptionType<DeleteChimeWebhookConfigurationException, __BaseException>);
|
|
919
|
+
}
|
|
920
|
+
/**
|
|
921
|
+
* @public
|
|
922
|
+
*/
|
|
923
|
+
export interface DeleteChimeWebhookConfigurationRequest {
|
|
924
|
+
/**
|
|
925
|
+
* <p>The Amazon Resource Name (ARN) of the ChimeWebhookConfiguration to delete.</p>
|
|
926
|
+
* @public
|
|
927
|
+
*/
|
|
928
|
+
ChatConfigurationArn: string | undefined;
|
|
929
|
+
}
|
|
930
|
+
/**
|
|
931
|
+
* @public
|
|
932
|
+
*/
|
|
933
|
+
export interface DeleteChimeWebhookConfigurationResult {
|
|
934
|
+
}
|
|
632
935
|
/**
|
|
633
936
|
* <p>We can’t process your request right now because of a server issue. Try again later.</p>
|
|
634
937
|
* @public
|
|
@@ -844,7 +1147,7 @@ export interface DescribeChimeWebhookConfigurationsRequest {
|
|
|
844
1147
|
*/
|
|
845
1148
|
NextToken?: string | undefined;
|
|
846
1149
|
/**
|
|
847
|
-
* <p>An optional Amazon Resource
|
|
1150
|
+
* <p>An optional Amazon Resource Name (ARN) of a ChimeWebhookConfiguration to describe.</p>
|
|
848
1151
|
* @public
|
|
849
1152
|
*/
|
|
850
1153
|
ChatConfigurationArn?: string | undefined;
|
|
@@ -895,7 +1198,7 @@ export interface DescribeSlackChannelConfigurationsRequest {
|
|
|
895
1198
|
*/
|
|
896
1199
|
NextToken?: string | undefined;
|
|
897
1200
|
/**
|
|
898
|
-
* <p>An optional Amazon Resource
|
|
1201
|
+
* <p>An optional Amazon Resource Name (ARN) of a SlackChannelConfiguration to describe.</p>
|
|
899
1202
|
* @public
|
|
900
1203
|
*/
|
|
901
1204
|
ChatConfigurationArn?: string | undefined;
|
|
@@ -934,7 +1237,7 @@ export declare class DescribeSlackUserIdentitiesException extends __BaseExceptio
|
|
|
934
1237
|
*/
|
|
935
1238
|
export interface DescribeSlackUserIdentitiesRequest {
|
|
936
1239
|
/**
|
|
937
|
-
* <p>The Amazon Resource
|
|
1240
|
+
* <p>The Amazon Resource Name (ARN) of the SlackChannelConfiguration associated with the user identities to describe.</p>
|
|
938
1241
|
* @public
|
|
939
1242
|
*/
|
|
940
1243
|
ChatConfigurationArn?: string | undefined;
|
|
@@ -964,7 +1267,7 @@ export interface SlackUserIdentity {
|
|
|
964
1267
|
*/
|
|
965
1268
|
IamRoleArn: string | undefined;
|
|
966
1269
|
/**
|
|
967
|
-
* <p>The Amazon Resource
|
|
1270
|
+
* <p>The Amazon Resource Name (ARN) of the SlackChannelConfiguration associated with the user identity to delete.</p>
|
|
968
1271
|
* @public
|
|
969
1272
|
*/
|
|
970
1273
|
ChatConfigurationArn: string | undefined;
|
|
@@ -1073,6 +1376,26 @@ export interface DescribeSlackWorkspacesResult {
|
|
|
1073
1376
|
*/
|
|
1074
1377
|
NextToken?: string | undefined;
|
|
1075
1378
|
}
|
|
1379
|
+
/**
|
|
1380
|
+
* @public
|
|
1381
|
+
*/
|
|
1382
|
+
export interface DisassociateFromConfigurationRequest {
|
|
1383
|
+
/**
|
|
1384
|
+
* <p>The resource (for example, a custom action) Amazon Resource Name (ARN) to unlink.</p>
|
|
1385
|
+
* @public
|
|
1386
|
+
*/
|
|
1387
|
+
Resource: string | undefined;
|
|
1388
|
+
/**
|
|
1389
|
+
* <p>The channel configuration the resource is being disassociated from.</p>
|
|
1390
|
+
* @public
|
|
1391
|
+
*/
|
|
1392
|
+
ChatConfiguration: string | undefined;
|
|
1393
|
+
}
|
|
1394
|
+
/**
|
|
1395
|
+
* @public
|
|
1396
|
+
*/
|
|
1397
|
+
export interface DisassociateFromConfigurationResult {
|
|
1398
|
+
}
|
|
1076
1399
|
/**
|
|
1077
1400
|
* <p>We can’t process your request right now because of a server issue. Try again later.</p>
|
|
1078
1401
|
* @public
|
|
@@ -1119,7 +1442,7 @@ export declare class GetTeamsChannelConfigurationException extends __BaseExcepti
|
|
|
1119
1442
|
*/
|
|
1120
1443
|
export interface GetTeamsChannelConfigurationRequest {
|
|
1121
1444
|
/**
|
|
1122
|
-
* <p>The Amazon Resource
|
|
1445
|
+
* <p>The Amazon Resource Name (ARN) of the MicrosoftTeamsChannelConfiguration to retrieve.</p>
|
|
1123
1446
|
* @public
|
|
1124
1447
|
*/
|
|
1125
1448
|
ChatConfigurationArn: string | undefined;
|
|
@@ -1135,17 +1458,39 @@ export interface GetTeamsChannelConfigurationResult {
|
|
|
1135
1458
|
ChannelConfiguration?: TeamsChannelConfiguration | undefined;
|
|
1136
1459
|
}
|
|
1137
1460
|
/**
|
|
1138
|
-
* <p>Unexpected error during processing of request.</p>
|
|
1139
1461
|
* @public
|
|
1140
1462
|
*/
|
|
1141
|
-
export
|
|
1142
|
-
readonly name: "InternalServiceError";
|
|
1143
|
-
readonly $fault: "server";
|
|
1144
|
-
Message?: string | undefined;
|
|
1463
|
+
export interface ListAssociationsRequest {
|
|
1145
1464
|
/**
|
|
1146
|
-
*
|
|
1465
|
+
* <p>The channel configuration to list associations for.</p>
|
|
1466
|
+
* @public
|
|
1147
1467
|
*/
|
|
1148
|
-
|
|
1468
|
+
ChatConfiguration: string | undefined;
|
|
1469
|
+
/**
|
|
1470
|
+
* <p>The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.</p>
|
|
1471
|
+
* @public
|
|
1472
|
+
*/
|
|
1473
|
+
MaxResults?: number | undefined;
|
|
1474
|
+
/**
|
|
1475
|
+
* <p>An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.</p>
|
|
1476
|
+
* @public
|
|
1477
|
+
*/
|
|
1478
|
+
NextToken?: string | undefined;
|
|
1479
|
+
}
|
|
1480
|
+
/**
|
|
1481
|
+
* @public
|
|
1482
|
+
*/
|
|
1483
|
+
export interface ListAssociationsResult {
|
|
1484
|
+
/**
|
|
1485
|
+
* <p>The resources associated with this channel configuration.</p>
|
|
1486
|
+
* @public
|
|
1487
|
+
*/
|
|
1488
|
+
Associations: AssociationListing[] | undefined;
|
|
1489
|
+
/**
|
|
1490
|
+
* <p>An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.</p>
|
|
1491
|
+
* @public
|
|
1492
|
+
*/
|
|
1493
|
+
NextToken?: string | undefined;
|
|
1149
1494
|
}
|
|
1150
1495
|
/**
|
|
1151
1496
|
* <p>We can’t process your request right now because of a server issue. Try again later.</p>
|
|
@@ -1258,7 +1603,7 @@ export declare class ListMicrosoftTeamsUserIdentitiesException extends __BaseExc
|
|
|
1258
1603
|
*/
|
|
1259
1604
|
export interface ListMicrosoftTeamsUserIdentitiesRequest {
|
|
1260
1605
|
/**
|
|
1261
|
-
* <p>The Amazon Resource
|
|
1606
|
+
* <p>The Amazon Resource Name (ARN) of the MicrosoftTeamsChannelConfiguration associated with the user identities to list.</p>
|
|
1262
1607
|
* @public
|
|
1263
1608
|
*/
|
|
1264
1609
|
ChatConfigurationArn?: string | undefined;
|
|
@@ -1341,7 +1686,7 @@ export interface ListMicrosoftTeamsUserIdentitiesResult {
|
|
|
1341
1686
|
*/
|
|
1342
1687
|
export interface ListTagsForResourceRequest {
|
|
1343
1688
|
/**
|
|
1344
|
-
* <p>The ARN
|
|
1689
|
+
* <p>The ARN of the resource to list tags for.</p>
|
|
1345
1690
|
* @public
|
|
1346
1691
|
*/
|
|
1347
1692
|
ResourceARN: string | undefined;
|
|
@@ -1478,7 +1823,7 @@ export declare class UpdateChimeWebhookConfigurationException extends __BaseExce
|
|
|
1478
1823
|
*/
|
|
1479
1824
|
export interface UpdateChimeWebhookConfigurationRequest {
|
|
1480
1825
|
/**
|
|
1481
|
-
* <p>The Amazon Resource
|
|
1826
|
+
* <p>The Amazon Resource Name (ARN) of the ChimeWebhookConfiguration to update.</p>
|
|
1482
1827
|
* @public
|
|
1483
1828
|
*/
|
|
1484
1829
|
ChatConfigurationArn: string | undefined;
|
|
@@ -1540,7 +1885,7 @@ export declare class UpdateTeamsChannelConfigurationException extends __BaseExce
|
|
|
1540
1885
|
*/
|
|
1541
1886
|
export interface UpdateTeamsChannelConfigurationRequest {
|
|
1542
1887
|
/**
|
|
1543
|
-
* <p>The Amazon Resource
|
|
1888
|
+
* <p>The Amazon Resource Name (ARN) of the TeamsChannelConfiguration to update.</p>
|
|
1544
1889
|
* @public
|
|
1545
1890
|
*/
|
|
1546
1891
|
ChatConfigurationArn: string | undefined;
|
|
@@ -1611,7 +1956,7 @@ export declare class UpdateSlackChannelConfigurationException extends __BaseExce
|
|
|
1611
1956
|
*/
|
|
1612
1957
|
export interface UpdateSlackChannelConfigurationRequest {
|
|
1613
1958
|
/**
|
|
1614
|
-
* <p>The Amazon Resource
|
|
1959
|
+
* <p>The Amazon Resource Name (ARN) of the SlackChannelConfiguration to update.</p>
|
|
1615
1960
|
* @public
|
|
1616
1961
|
*/
|
|
1617
1962
|
ChatConfigurationArn: string | undefined;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListAssociationsCommandInput, ListAssociationsCommandOutput } from "../commands/ListAssociationsCommand";
|
|
3
|
+
import { ChatbotPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListAssociations: (config: ChatbotPaginationConfiguration, input: ListAssociationsCommandInput, ...rest: any[]) => Paginator<ListAssociationsCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListCustomActionsCommandInput, ListCustomActionsCommandOutput } from "../commands/ListCustomActionsCommand";
|
|
3
|
+
import { ChatbotPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListCustomActions: (config: ChatbotPaginationConfiguration, input: ListCustomActionsCommandInput, ...rest: any[]) => Paginator<ListCustomActionsCommandOutput>;
|
|
@@ -3,6 +3,8 @@ export * from "./DescribeSlackChannelConfigurationsPaginator";
|
|
|
3
3
|
export * from "./DescribeSlackUserIdentitiesPaginator";
|
|
4
4
|
export * from "./DescribeSlackWorkspacesPaginator";
|
|
5
5
|
export * from "./Interfaces";
|
|
6
|
+
export * from "./ListAssociationsPaginator";
|
|
7
|
+
export * from "./ListCustomActionsPaginator";
|
|
6
8
|
export * from "./ListMicrosoftTeamsChannelConfigurationsPaginator";
|
|
7
9
|
export * from "./ListMicrosoftTeamsConfiguredTeamsPaginator";
|
|
8
10
|
export * from "./ListMicrosoftTeamsUserIdentitiesPaginator";
|