cdk-comprehend-s3olap 2.0.65 → 2.0.66
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/.jsii +5 -5
- package/lib/cdk-comprehend-s3olap.js +2 -2
- package/lib/comprehend-lambdas.js +2 -2
- package/lib/iam-roles.js +4 -4
- package/node_modules/aws-sdk/CHANGELOG.md +7 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/amp-2020-08-01.min.json +176 -20
- package/node_modules/aws-sdk/apis/chime-sdk-messaging-2021-05-15.min.json +265 -136
- package/node_modules/aws-sdk/apis/chime-sdk-messaging-2021-05-15.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/personalize-runtime-2018-05-22.min.json +19 -2
- package/node_modules/aws-sdk/clients/amp.d.ts +128 -0
- package/node_modules/aws-sdk/clients/chimesdkmessaging.d.ts +178 -0
- package/node_modules/aws-sdk/clients/ivs.d.ts +31 -31
- package/node_modules/aws-sdk/clients/personalizeruntime.d.ts +30 -1
- package/node_modules/aws-sdk/clients/rds.d.ts +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +5 -5
- package/node_modules/aws-sdk/dist/aws-sdk.js +22 -5
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +30 -30
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/node_modules/esbuild/install.js +4 -4
- package/node_modules/esbuild/lib/main.js +7 -7
- package/node_modules/esbuild/package.json +22 -22
- package/node_modules/esbuild-linux-64/bin/esbuild +0 -0
- package/node_modules/esbuild-linux-64/package.json +1 -1
- package/package.json +8 -8
@@ -45,6 +45,11 @@
|
|
45
45
|
"output_token": "NextToken",
|
46
46
|
"limit_key": "MaxResults"
|
47
47
|
},
|
48
|
+
"ListSubChannels": {
|
49
|
+
"input_token": "NextToken",
|
50
|
+
"output_token": "NextToken",
|
51
|
+
"limit_key": "MaxResults"
|
52
|
+
},
|
48
53
|
"SearchChannels": {
|
49
54
|
"input_token": "NextToken",
|
50
55
|
"output_token": "NextToken",
|
@@ -70,7 +70,23 @@
|
|
70
70
|
"filterValues": {
|
71
71
|
"shape": "S9"
|
72
72
|
},
|
73
|
-
"recommenderArn": {}
|
73
|
+
"recommenderArn": {},
|
74
|
+
"promotions": {
|
75
|
+
"type": "list",
|
76
|
+
"member": {
|
77
|
+
"type": "structure",
|
78
|
+
"members": {
|
79
|
+
"name": {},
|
80
|
+
"percentPromotedItems": {
|
81
|
+
"type": "integer"
|
82
|
+
},
|
83
|
+
"filterArn": {},
|
84
|
+
"filterValues": {
|
85
|
+
"shape": "S9"
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
74
90
|
}
|
75
91
|
},
|
76
92
|
"output": {
|
@@ -110,7 +126,8 @@
|
|
110
126
|
"itemId": {},
|
111
127
|
"score": {
|
112
128
|
"type": "double"
|
113
|
-
}
|
129
|
+
},
|
130
|
+
"promotionName": {}
|
114
131
|
}
|
115
132
|
}
|
116
133
|
}
|
@@ -20,6 +20,14 @@ declare class Amp extends Service {
|
|
20
20
|
* Create an alert manager definition.
|
21
21
|
*/
|
22
22
|
createAlertManagerDefinition(callback?: (err: AWSError, data: Amp.Types.CreateAlertManagerDefinitionResponse) => void): Request<Amp.Types.CreateAlertManagerDefinitionResponse, AWSError>;
|
23
|
+
/**
|
24
|
+
* Create logging configuration.
|
25
|
+
*/
|
26
|
+
createLoggingConfiguration(params: Amp.Types.CreateLoggingConfigurationRequest, callback?: (err: AWSError, data: Amp.Types.CreateLoggingConfigurationResponse) => void): Request<Amp.Types.CreateLoggingConfigurationResponse, AWSError>;
|
27
|
+
/**
|
28
|
+
* Create logging configuration.
|
29
|
+
*/
|
30
|
+
createLoggingConfiguration(callback?: (err: AWSError, data: Amp.Types.CreateLoggingConfigurationResponse) => void): Request<Amp.Types.CreateLoggingConfigurationResponse, AWSError>;
|
23
31
|
/**
|
24
32
|
* Create a rule group namespace.
|
25
33
|
*/
|
@@ -44,6 +52,14 @@ declare class Amp extends Service {
|
|
44
52
|
* Deletes an alert manager definition.
|
45
53
|
*/
|
46
54
|
deleteAlertManagerDefinition(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
55
|
+
/**
|
56
|
+
* Delete logging configuration.
|
57
|
+
*/
|
58
|
+
deleteLoggingConfiguration(params: Amp.Types.DeleteLoggingConfigurationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
59
|
+
/**
|
60
|
+
* Delete logging configuration.
|
61
|
+
*/
|
62
|
+
deleteLoggingConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
47
63
|
/**
|
48
64
|
* Delete a rule groups namespace.
|
49
65
|
*/
|
@@ -68,6 +84,14 @@ declare class Amp extends Service {
|
|
68
84
|
* Describes an alert manager definition.
|
69
85
|
*/
|
70
86
|
describeAlertManagerDefinition(callback?: (err: AWSError, data: Amp.Types.DescribeAlertManagerDefinitionResponse) => void): Request<Amp.Types.DescribeAlertManagerDefinitionResponse, AWSError>;
|
87
|
+
/**
|
88
|
+
* Describes logging configuration.
|
89
|
+
*/
|
90
|
+
describeLoggingConfiguration(params: Amp.Types.DescribeLoggingConfigurationRequest, callback?: (err: AWSError, data: Amp.Types.DescribeLoggingConfigurationResponse) => void): Request<Amp.Types.DescribeLoggingConfigurationResponse, AWSError>;
|
91
|
+
/**
|
92
|
+
* Describes logging configuration.
|
93
|
+
*/
|
94
|
+
describeLoggingConfiguration(callback?: (err: AWSError, data: Amp.Types.DescribeLoggingConfigurationResponse) => void): Request<Amp.Types.DescribeLoggingConfigurationResponse, AWSError>;
|
71
95
|
/**
|
72
96
|
* Describe a rule groups namespace.
|
73
97
|
*/
|
@@ -140,6 +164,14 @@ declare class Amp extends Service {
|
|
140
164
|
* Deletes tags from the specified resource.
|
141
165
|
*/
|
142
166
|
untagResource(callback?: (err: AWSError, data: Amp.Types.UntagResourceResponse) => void): Request<Amp.Types.UntagResourceResponse, AWSError>;
|
167
|
+
/**
|
168
|
+
* Update logging configuration.
|
169
|
+
*/
|
170
|
+
updateLoggingConfiguration(params: Amp.Types.UpdateLoggingConfigurationRequest, callback?: (err: AWSError, data: Amp.Types.UpdateLoggingConfigurationResponse) => void): Request<Amp.Types.UpdateLoggingConfigurationResponse, AWSError>;
|
171
|
+
/**
|
172
|
+
* Update logging configuration.
|
173
|
+
*/
|
174
|
+
updateLoggingConfiguration(callback?: (err: AWSError, data: Amp.Types.UpdateLoggingConfigurationResponse) => void): Request<Amp.Types.UpdateLoggingConfigurationResponse, AWSError>;
|
143
175
|
/**
|
144
176
|
* Updates an AMP workspace alias.
|
145
177
|
*/
|
@@ -216,6 +248,26 @@ declare namespace Amp {
|
|
216
248
|
*/
|
217
249
|
status: AlertManagerDefinitionStatus;
|
218
250
|
}
|
251
|
+
export interface CreateLoggingConfigurationRequest {
|
252
|
+
/**
|
253
|
+
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
254
|
+
*/
|
255
|
+
clientToken?: IdempotencyToken;
|
256
|
+
/**
|
257
|
+
* The ARN of the CW log group to which the vended log data will be published.
|
258
|
+
*/
|
259
|
+
logGroupArn: LogGroupArn;
|
260
|
+
/**
|
261
|
+
* The ID of the workspace to vend logs to.
|
262
|
+
*/
|
263
|
+
workspaceId: WorkspaceId;
|
264
|
+
}
|
265
|
+
export interface CreateLoggingConfigurationResponse {
|
266
|
+
/**
|
267
|
+
* The status of the logging configuration.
|
268
|
+
*/
|
269
|
+
status: LoggingConfigurationStatus;
|
270
|
+
}
|
219
271
|
export interface CreateRuleGroupsNamespaceRequest {
|
220
272
|
/**
|
221
273
|
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
@@ -298,6 +350,16 @@ declare namespace Amp {
|
|
298
350
|
*/
|
299
351
|
workspaceId: WorkspaceId;
|
300
352
|
}
|
353
|
+
export interface DeleteLoggingConfigurationRequest {
|
354
|
+
/**
|
355
|
+
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
356
|
+
*/
|
357
|
+
clientToken?: IdempotencyToken;
|
358
|
+
/**
|
359
|
+
* The ID of the workspace to vend logs to.
|
360
|
+
*/
|
361
|
+
workspaceId: WorkspaceId;
|
362
|
+
}
|
301
363
|
export interface DeleteRuleGroupsNamespaceRequest {
|
302
364
|
/**
|
303
365
|
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
@@ -334,6 +396,18 @@ declare namespace Amp {
|
|
334
396
|
*/
|
335
397
|
alertManagerDefinition: AlertManagerDefinitionDescription;
|
336
398
|
}
|
399
|
+
export interface DescribeLoggingConfigurationRequest {
|
400
|
+
/**
|
401
|
+
* The ID of the workspace to vend logs to.
|
402
|
+
*/
|
403
|
+
workspaceId: WorkspaceId;
|
404
|
+
}
|
405
|
+
export interface DescribeLoggingConfigurationResponse {
|
406
|
+
/**
|
407
|
+
* Metadata object containing information about the logging configuration of a workspace.
|
408
|
+
*/
|
409
|
+
loggingConfiguration: LoggingConfigurationMetadata;
|
410
|
+
}
|
337
411
|
export interface DescribeRuleGroupsNamespaceRequest {
|
338
412
|
/**
|
339
413
|
* The rule groups namespace.
|
@@ -426,6 +500,40 @@ declare namespace Amp {
|
|
426
500
|
*/
|
427
501
|
workspaces: WorkspaceSummaryList;
|
428
502
|
}
|
503
|
+
export type LogGroupArn = string;
|
504
|
+
export interface LoggingConfigurationMetadata {
|
505
|
+
/**
|
506
|
+
* The time when the logging configuration was created.
|
507
|
+
*/
|
508
|
+
createdAt: Timestamp;
|
509
|
+
/**
|
510
|
+
* The ARN of the CW log group to which the vended log data will be published.
|
511
|
+
*/
|
512
|
+
logGroupArn: LogGroupArn;
|
513
|
+
/**
|
514
|
+
* The time when the logging configuration was modified.
|
515
|
+
*/
|
516
|
+
modifiedAt: Timestamp;
|
517
|
+
/**
|
518
|
+
* The status of the logging configuration.
|
519
|
+
*/
|
520
|
+
status: LoggingConfigurationStatus;
|
521
|
+
/**
|
522
|
+
* The workspace where the logging configuration exists.
|
523
|
+
*/
|
524
|
+
workspace: WorkspaceId;
|
525
|
+
}
|
526
|
+
export interface LoggingConfigurationStatus {
|
527
|
+
/**
|
528
|
+
* Status code of the logging configuration.
|
529
|
+
*/
|
530
|
+
statusCode: LoggingConfigurationStatusCode;
|
531
|
+
/**
|
532
|
+
* The reason for failure if any.
|
533
|
+
*/
|
534
|
+
statusReason?: String;
|
535
|
+
}
|
536
|
+
export type LoggingConfigurationStatusCode = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING"|"CREATION_FAILED"|"UPDATE_FAILED"|string;
|
429
537
|
export type PaginationToken = string;
|
430
538
|
export interface PutAlertManagerDefinitionRequest {
|
431
539
|
/**
|
@@ -581,6 +689,26 @@ declare namespace Amp {
|
|
581
689
|
}
|
582
690
|
export interface UntagResourceResponse {
|
583
691
|
}
|
692
|
+
export interface UpdateLoggingConfigurationRequest {
|
693
|
+
/**
|
694
|
+
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
695
|
+
*/
|
696
|
+
clientToken?: IdempotencyToken;
|
697
|
+
/**
|
698
|
+
* The ARN of the CW log group to which the vended log data will be published.
|
699
|
+
*/
|
700
|
+
logGroupArn: LogGroupArn;
|
701
|
+
/**
|
702
|
+
* The ID of the workspace to vend logs to.
|
703
|
+
*/
|
704
|
+
workspaceId: WorkspaceId;
|
705
|
+
}
|
706
|
+
export interface UpdateLoggingConfigurationResponse {
|
707
|
+
/**
|
708
|
+
* The status of the logging configuration.
|
709
|
+
*/
|
710
|
+
status: LoggingConfigurationStatus;
|
711
|
+
}
|
584
712
|
export interface UpdateWorkspaceAliasRequest {
|
585
713
|
/**
|
586
714
|
* The new alias of the workspace.
|
@@ -291,6 +291,14 @@ declare class ChimeSDKMessaging extends Service {
|
|
291
291
|
* A list of the channels moderated by an AppInstanceUser. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
|
292
292
|
*/
|
293
293
|
listChannelsModeratedByAppInstanceUser(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.ListChannelsModeratedByAppInstanceUserResponse) => void): Request<ChimeSDKMessaging.Types.ListChannelsModeratedByAppInstanceUserResponse, AWSError>;
|
294
|
+
/**
|
295
|
+
* Lists all the SubChannels in an elastic channel when given a channel ID. Available only to the app instance admins and channel moderators of elastic channels.
|
296
|
+
*/
|
297
|
+
listSubChannels(params: ChimeSDKMessaging.Types.ListSubChannelsRequest, callback?: (err: AWSError, data: ChimeSDKMessaging.Types.ListSubChannelsResponse) => void): Request<ChimeSDKMessaging.Types.ListSubChannelsResponse, AWSError>;
|
298
|
+
/**
|
299
|
+
* Lists all the SubChannels in an elastic channel when given a channel ID. Available only to the app instance admins and channel moderators of elastic channels.
|
300
|
+
*/
|
301
|
+
listSubChannels(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.ListSubChannelsResponse) => void): Request<ChimeSDKMessaging.Types.ListSubChannelsResponse, AWSError>;
|
294
302
|
/**
|
295
303
|
* Lists the tags applied to an Amazon Chime SDK messaging resource.
|
296
304
|
*/
|
@@ -391,6 +399,10 @@ declare namespace ChimeSDKMessaging {
|
|
391
399
|
* The time at which an AppInstanceUser last marked a channel as read.
|
392
400
|
*/
|
393
401
|
ReadMarkerTimestamp?: Timestamp;
|
402
|
+
/**
|
403
|
+
* The ID of the SubChannel that the AppInstanceUser is a member of.
|
404
|
+
*/
|
405
|
+
SubChannelId?: SubChannelId;
|
394
406
|
}
|
395
407
|
export interface AssociateChannelFlowRequest {
|
396
408
|
/**
|
@@ -423,6 +435,10 @@ declare namespace ChimeSDKMessaging {
|
|
423
435
|
* The ARN of the channel to which you're adding users.
|
424
436
|
*/
|
425
437
|
ChannelArn?: ChimeArn;
|
438
|
+
/**
|
439
|
+
* The ID of the SubChannel.
|
440
|
+
*/
|
441
|
+
SubChannelId?: SubChannelId;
|
426
442
|
}
|
427
443
|
export interface BatchCreateChannelMembershipError {
|
428
444
|
/**
|
@@ -456,6 +472,10 @@ declare namespace ChimeSDKMessaging {
|
|
456
472
|
* The AppInstanceUserArn of the user that makes the API call.
|
457
473
|
*/
|
458
474
|
ChimeBearer: ChimeArn;
|
475
|
+
/**
|
476
|
+
* The ID of the SubChannel in the request. Only required when creating membership in a SubChannel for a moderator in an elastic channel.
|
477
|
+
*/
|
478
|
+
SubChannelId?: SubChannelId;
|
459
479
|
}
|
460
480
|
export interface BatchCreateChannelMembershipResponse {
|
461
481
|
/**
|
@@ -509,6 +529,10 @@ declare namespace ChimeSDKMessaging {
|
|
509
529
|
* The ARN of the channel flow.
|
510
530
|
*/
|
511
531
|
ChannelFlowArn?: ChimeArn;
|
532
|
+
/**
|
533
|
+
* The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.
|
534
|
+
*/
|
535
|
+
ElasticChannelConfiguration?: ElasticChannelConfiguration;
|
512
536
|
}
|
513
537
|
export interface ChannelAssociatedWithFlowSummary {
|
514
538
|
/**
|
@@ -651,6 +675,10 @@ declare namespace ChimeSDKMessaging {
|
|
651
675
|
* The time at which a channel membership was last updated.
|
652
676
|
*/
|
653
677
|
LastUpdatedTimestamp?: Timestamp;
|
678
|
+
/**
|
679
|
+
* The ID of the SubChannel that a user belongs to.
|
680
|
+
*/
|
681
|
+
SubChannelId?: SubChannelId;
|
654
682
|
}
|
655
683
|
export interface ChannelMembershipForAppInstanceUserSummary {
|
656
684
|
/**
|
@@ -730,6 +758,10 @@ declare namespace ChimeSDKMessaging {
|
|
730
758
|
* The attributes for the message, used for message filtering along with a FilterRule defined in the PushNotificationPreferences.
|
731
759
|
*/
|
732
760
|
MessageAttributes?: MessageAttributeMap;
|
761
|
+
/**
|
762
|
+
* The ID of the SubChannel.
|
763
|
+
*/
|
764
|
+
SubChannelId?: SubChannelId;
|
733
765
|
}
|
734
766
|
export interface ChannelMessageCallback {
|
735
767
|
/**
|
@@ -752,6 +784,10 @@ declare namespace ChimeSDKMessaging {
|
|
752
784
|
* The attributes for the message, used for message filtering along with a FilterRule defined in the PushNotificationPreferences.
|
753
785
|
*/
|
754
786
|
MessageAttributes?: MessageAttributeMap;
|
787
|
+
/**
|
788
|
+
* The ID of the SubChannel.
|
789
|
+
*/
|
790
|
+
SubChannelId?: SubChannelId;
|
755
791
|
}
|
756
792
|
export type ChannelMessagePersistenceType = "PERSISTENT"|"NON_PERSISTENT"|string;
|
757
793
|
export type ChannelMessageStatus = "SENT"|"PENDING"|"FAILED"|"DENIED"|string;
|
@@ -947,6 +983,10 @@ declare namespace ChimeSDKMessaging {
|
|
947
983
|
* The AppInstanceUserArn of the user that makes the API call.
|
948
984
|
*/
|
949
985
|
ChimeBearer: ChimeArn;
|
986
|
+
/**
|
987
|
+
* The ID of the SubChannel in the request. Only required when creating membership in a SubChannel for a moderator in an elastic channel.
|
988
|
+
*/
|
989
|
+
SubChannelId?: SubChannelId;
|
950
990
|
}
|
951
991
|
export interface CreateChannelMembershipResponse {
|
952
992
|
/**
|
@@ -957,6 +997,10 @@ declare namespace ChimeSDKMessaging {
|
|
957
997
|
* The ARN and metadata of the member being added.
|
958
998
|
*/
|
959
999
|
Member?: Identity;
|
1000
|
+
/**
|
1001
|
+
* The ID of the SubChannel in the response.
|
1002
|
+
*/
|
1003
|
+
SubChannelId?: SubChannelId;
|
960
1004
|
}
|
961
1005
|
export interface CreateChannelModeratorRequest {
|
962
1006
|
/**
|
@@ -1027,6 +1071,10 @@ declare namespace ChimeSDKMessaging {
|
|
1027
1071
|
* The ARNs of the channel moderators in the request.
|
1028
1072
|
*/
|
1029
1073
|
ModeratorArns?: ChannelModeratorArns;
|
1074
|
+
/**
|
1075
|
+
* The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million users, excluding moderators.
|
1076
|
+
*/
|
1077
|
+
ElasticChannelConfiguration?: ElasticChannelConfiguration;
|
1030
1078
|
}
|
1031
1079
|
export interface CreateChannelResponse {
|
1032
1080
|
/**
|
@@ -1067,6 +1115,10 @@ declare namespace ChimeSDKMessaging {
|
|
1067
1115
|
* The AppInstanceUserArn of the user that makes the API call.
|
1068
1116
|
*/
|
1069
1117
|
ChimeBearer: ChimeArn;
|
1118
|
+
/**
|
1119
|
+
* The ID of the SubChannel in the request. Only for use by moderators.
|
1120
|
+
*/
|
1121
|
+
SubChannelId?: SubChannelId;
|
1070
1122
|
}
|
1071
1123
|
export interface DeleteChannelMessageRequest {
|
1072
1124
|
/**
|
@@ -1081,6 +1133,10 @@ declare namespace ChimeSDKMessaging {
|
|
1081
1133
|
* The AppInstanceUserArn of the user that makes the API call.
|
1082
1134
|
*/
|
1083
1135
|
ChimeBearer: ChimeArn;
|
1136
|
+
/**
|
1137
|
+
* The ID of the SubChannel in the request. Only required when deleting messages in a SubChannel that the user belongs to.
|
1138
|
+
*/
|
1139
|
+
SubChannelId?: SubChannelId;
|
1084
1140
|
}
|
1085
1141
|
export interface DeleteChannelModeratorRequest {
|
1086
1142
|
/**
|
@@ -1105,6 +1161,10 @@ declare namespace ChimeSDKMessaging {
|
|
1105
1161
|
* The AppInstanceUserArn of the user that makes the API call.
|
1106
1162
|
*/
|
1107
1163
|
ChimeBearer: ChimeArn;
|
1164
|
+
/**
|
1165
|
+
* The ID of the SubChannel in the request.
|
1166
|
+
*/
|
1167
|
+
SubChannelId?: SubChannelId;
|
1108
1168
|
}
|
1109
1169
|
export interface DescribeChannelBanRequest {
|
1110
1170
|
/**
|
@@ -1171,6 +1231,10 @@ declare namespace ChimeSDKMessaging {
|
|
1171
1231
|
* The AppInstanceUserArn of the user that makes the API call.
|
1172
1232
|
*/
|
1173
1233
|
ChimeBearer: ChimeArn;
|
1234
|
+
/**
|
1235
|
+
* The ID of the SubChannel in the request. The response contains an ElasticChannelConfiguration object. Only required to get a user’s SubChannel membership details.
|
1236
|
+
*/
|
1237
|
+
SubChannelId?: SubChannelId;
|
1174
1238
|
}
|
1175
1239
|
export interface DescribeChannelMembershipResponse {
|
1176
1240
|
/**
|
@@ -1248,6 +1312,20 @@ declare namespace ChimeSDKMessaging {
|
|
1248
1312
|
*/
|
1249
1313
|
ChimeBearer: ChimeArn;
|
1250
1314
|
}
|
1315
|
+
export interface ElasticChannelConfiguration {
|
1316
|
+
/**
|
1317
|
+
* The maximum number of SubChannels that you want to allow in the elastic channel.
|
1318
|
+
*/
|
1319
|
+
MaximumSubChannels: MaximumSubChannels;
|
1320
|
+
/**
|
1321
|
+
* The maximum number of members allowed in a SubChannel.
|
1322
|
+
*/
|
1323
|
+
TargetMembershipsPerSubChannel: TargetMembershipsPerSubChannel;
|
1324
|
+
/**
|
1325
|
+
* The minimum allowed percentage of TargetMembershipsPerSubChannel users. Ceil of the calculated value is used in balancing members among SubChannels of the elastic channel.
|
1326
|
+
*/
|
1327
|
+
MinimumMembershipPercentage: MinimumMembershipPercentage;
|
1328
|
+
}
|
1251
1329
|
export type ErrorCode = "BadRequest"|"Conflict"|"Forbidden"|"NotFound"|"PreconditionFailed"|"ResourceLimitExceeded"|"ServiceFailure"|"AccessDenied"|"ServiceUnavailable"|"Throttled"|"Throttling"|"Unauthorized"|"Unprocessable"|"VoiceConnectorGroupAssociationsExist"|"PhoneNumberAssociationsExist"|string;
|
1252
1330
|
export type FallbackAction = "CONTINUE"|"ABORT"|string;
|
1253
1331
|
export type FilterRule = string;
|
@@ -1292,6 +1370,10 @@ declare namespace ChimeSDKMessaging {
|
|
1292
1370
|
* The AppInstanceUserArn of the user that makes the API call.
|
1293
1371
|
*/
|
1294
1372
|
ChimeBearer: ChimeArn;
|
1373
|
+
/**
|
1374
|
+
* The ID of the SubChannel in the request. Only required when getting messages in a SubChannel that the user belongs to.
|
1375
|
+
*/
|
1376
|
+
SubChannelId?: SubChannelId;
|
1295
1377
|
}
|
1296
1378
|
export interface GetChannelMessageResponse {
|
1297
1379
|
/**
|
@@ -1312,6 +1394,10 @@ declare namespace ChimeSDKMessaging {
|
|
1312
1394
|
* The AppInstanceUserArn of the user making the API call.
|
1313
1395
|
*/
|
1314
1396
|
ChimeBearer: ChimeArn;
|
1397
|
+
/**
|
1398
|
+
* The ID of the SubChannel in the request. Only required when getting message status in a SubChannel that the user belongs to.
|
1399
|
+
*/
|
1400
|
+
SubChannelId?: SubChannelId;
|
1315
1401
|
}
|
1316
1402
|
export interface GetChannelMessageStatusResponse {
|
1317
1403
|
/**
|
@@ -1454,6 +1540,10 @@ declare namespace ChimeSDKMessaging {
|
|
1454
1540
|
* The AppInstanceUserArn of the user that makes the API call.
|
1455
1541
|
*/
|
1456
1542
|
ChimeBearer: ChimeArn;
|
1543
|
+
/**
|
1544
|
+
* The ID of the SubChannel in the request. Only required when listing a user's memberships in a particular sub-channel of an elastic channel.
|
1545
|
+
*/
|
1546
|
+
SubChannelId?: SubChannelId;
|
1457
1547
|
}
|
1458
1548
|
export interface ListChannelMembershipsResponse {
|
1459
1549
|
/**
|
@@ -1498,6 +1588,10 @@ declare namespace ChimeSDKMessaging {
|
|
1498
1588
|
* The AppInstanceUserArn of the user that makes the API call.
|
1499
1589
|
*/
|
1500
1590
|
ChimeBearer: ChimeArn;
|
1591
|
+
/**
|
1592
|
+
* The ID of the SubChannel in the request. Only required when listing the messages in a SubChannel that the user belongs to.
|
1593
|
+
*/
|
1594
|
+
SubChannelId?: SubChannelId;
|
1501
1595
|
}
|
1502
1596
|
export interface ListChannelMessagesResponse {
|
1503
1597
|
/**
|
@@ -1512,6 +1606,10 @@ declare namespace ChimeSDKMessaging {
|
|
1512
1606
|
* The information about, and content of, each requested message.
|
1513
1607
|
*/
|
1514
1608
|
ChannelMessages?: ChannelMessageSummaryList;
|
1609
|
+
/**
|
1610
|
+
* The ID of the SubChannel in the response.
|
1611
|
+
*/
|
1612
|
+
SubChannelId?: SubChannelId;
|
1515
1613
|
}
|
1516
1614
|
export interface ListChannelModeratorsRequest {
|
1517
1615
|
/**
|
@@ -1629,6 +1727,38 @@ declare namespace ChimeSDKMessaging {
|
|
1629
1727
|
*/
|
1630
1728
|
NextToken?: NextToken;
|
1631
1729
|
}
|
1730
|
+
export interface ListSubChannelsRequest {
|
1731
|
+
/**
|
1732
|
+
* The ARN of elastic channel.
|
1733
|
+
*/
|
1734
|
+
ChannelArn: ChimeArn;
|
1735
|
+
/**
|
1736
|
+
* The AppInstanceUserArn of the user making the API call.
|
1737
|
+
*/
|
1738
|
+
ChimeBearer: ChimeArn;
|
1739
|
+
/**
|
1740
|
+
* The maximum number of sub-channels that you want to return.
|
1741
|
+
*/
|
1742
|
+
MaxResults?: MaxResults;
|
1743
|
+
/**
|
1744
|
+
* The token passed by previous API calls until all requested sub-channels are returned.
|
1745
|
+
*/
|
1746
|
+
NextToken?: NextToken;
|
1747
|
+
}
|
1748
|
+
export interface ListSubChannelsResponse {
|
1749
|
+
/**
|
1750
|
+
* The ARN of elastic channel.
|
1751
|
+
*/
|
1752
|
+
ChannelArn?: ChimeArn;
|
1753
|
+
/**
|
1754
|
+
* The information about each sub-channel.
|
1755
|
+
*/
|
1756
|
+
SubChannels?: SubChannelSummaryList;
|
1757
|
+
/**
|
1758
|
+
* The token passed by previous API calls until all requested sub-channels are returned.
|
1759
|
+
*/
|
1760
|
+
NextToken?: NextToken;
|
1761
|
+
}
|
1632
1762
|
export interface ListTagsForResourceRequest {
|
1633
1763
|
/**
|
1634
1764
|
* The ARN of the resource.
|
@@ -1642,8 +1772,10 @@ declare namespace ChimeSDKMessaging {
|
|
1642
1772
|
Tags?: TagList;
|
1643
1773
|
}
|
1644
1774
|
export type MaxResults = number;
|
1775
|
+
export type MaximumSubChannels = number;
|
1645
1776
|
export type MemberArns = ChimeArn[];
|
1646
1777
|
export type Members = Identity[];
|
1778
|
+
export type MembershipCount = number;
|
1647
1779
|
export type MessageAttributeMap = {[key: string]: MessageAttributeValue};
|
1648
1780
|
export type MessageAttributeName = string;
|
1649
1781
|
export type MessageAttributeStringValue = string;
|
@@ -1662,6 +1794,7 @@ declare namespace ChimeSDKMessaging {
|
|
1662
1794
|
Url?: UrlType;
|
1663
1795
|
}
|
1664
1796
|
export type Metadata = string;
|
1797
|
+
export type MinimumMembershipPercentage = number;
|
1665
1798
|
export type NextToken = string;
|
1666
1799
|
export type NonEmptyContent = string;
|
1667
1800
|
export type NonEmptyResourceName = string;
|
@@ -1763,6 +1896,10 @@ declare namespace ChimeSDKMessaging {
|
|
1763
1896
|
* The AppInstanceUserArn of the user that makes the API call.
|
1764
1897
|
*/
|
1765
1898
|
ChimeBearer: ChimeArn;
|
1899
|
+
/**
|
1900
|
+
* The ID of the SubChannel in the request.
|
1901
|
+
*/
|
1902
|
+
SubChannelId?: SubChannelId;
|
1766
1903
|
}
|
1767
1904
|
export interface RedactChannelMessageResponse {
|
1768
1905
|
/**
|
@@ -1773,6 +1910,10 @@ declare namespace ChimeSDKMessaging {
|
|
1773
1910
|
* The ID of the message being redacted.
|
1774
1911
|
*/
|
1775
1912
|
MessageId?: MessageId;
|
1913
|
+
/**
|
1914
|
+
* The ID of the SubChannel in the response. Only required when redacting messages in a SubChannel that the user belongs to.
|
1915
|
+
*/
|
1916
|
+
SubChannelId?: SubChannelId;
|
1776
1917
|
}
|
1777
1918
|
export type ResourceName = string;
|
1778
1919
|
export interface SearchChannelsRequest {
|
@@ -1859,6 +2000,10 @@ declare namespace ChimeSDKMessaging {
|
|
1859
2000
|
* The attributes for the message, used for message filtering along with a FilterRule defined in the PushNotificationPreferences.
|
1860
2001
|
*/
|
1861
2002
|
MessageAttributes?: MessageAttributeMap;
|
2003
|
+
/**
|
2004
|
+
* The ID of the SubChannel in the request.
|
2005
|
+
*/
|
2006
|
+
SubChannelId?: SubChannelId;
|
1862
2007
|
}
|
1863
2008
|
export interface SendChannelMessageResponse {
|
1864
2009
|
/**
|
@@ -1873,10 +2018,26 @@ declare namespace ChimeSDKMessaging {
|
|
1873
2018
|
* The status of the channel message.
|
1874
2019
|
*/
|
1875
2020
|
Status?: ChannelMessageStatusStructure;
|
2021
|
+
/**
|
2022
|
+
* The ID of the SubChannel in the response.
|
2023
|
+
*/
|
2024
|
+
SubChannelId?: SubChannelId;
|
1876
2025
|
}
|
1877
2026
|
export type SortOrder = "ASCENDING"|"DESCENDING"|string;
|
1878
2027
|
export type StatusDetail = string;
|
1879
2028
|
export type String = string;
|
2029
|
+
export type SubChannelId = string;
|
2030
|
+
export interface SubChannelSummary {
|
2031
|
+
/**
|
2032
|
+
* The unique ID of a SubChannel.
|
2033
|
+
*/
|
2034
|
+
SubChannelId?: SubChannelId;
|
2035
|
+
/**
|
2036
|
+
* The number of members in a SubChannel.
|
2037
|
+
*/
|
2038
|
+
MembershipCount?: MembershipCount;
|
2039
|
+
}
|
2040
|
+
export type SubChannelSummaryList = SubChannelSummary[];
|
1880
2041
|
export interface Tag {
|
1881
2042
|
/**
|
1882
2043
|
* The key in a tag.
|
@@ -1901,6 +2062,7 @@ declare namespace ChimeSDKMessaging {
|
|
1901
2062
|
Tags: TagList;
|
1902
2063
|
}
|
1903
2064
|
export type TagValue = string;
|
2065
|
+
export type TargetMembershipsPerSubChannel = number;
|
1904
2066
|
export type Timestamp = Date;
|
1905
2067
|
export interface UntagResourceRequest {
|
1906
2068
|
/**
|
@@ -1953,6 +2115,10 @@ declare namespace ChimeSDKMessaging {
|
|
1953
2115
|
* The AppInstanceUserArn of the user that makes the API call.
|
1954
2116
|
*/
|
1955
2117
|
ChimeBearer: ChimeArn;
|
2118
|
+
/**
|
2119
|
+
* The ID of the SubChannel in the request. Only required when updating messages in a SubChannel that the user belongs to.
|
2120
|
+
*/
|
2121
|
+
SubChannelId?: SubChannelId;
|
1956
2122
|
}
|
1957
2123
|
export interface UpdateChannelMessageResponse {
|
1958
2124
|
/**
|
@@ -1967,6 +2133,10 @@ declare namespace ChimeSDKMessaging {
|
|
1967
2133
|
* The status of the message update.
|
1968
2134
|
*/
|
1969
2135
|
Status?: ChannelMessageStatusStructure;
|
2136
|
+
/**
|
2137
|
+
* The ID of the SubChannel in the response.
|
2138
|
+
*/
|
2139
|
+
SubChannelId?: SubChannelId;
|
1970
2140
|
}
|
1971
2141
|
export interface UpdateChannelReadMarkerRequest {
|
1972
2142
|
/**
|
@@ -1977,12 +2147,20 @@ declare namespace ChimeSDKMessaging {
|
|
1977
2147
|
* The AppInstanceUserArn of the user that makes the API call.
|
1978
2148
|
*/
|
1979
2149
|
ChimeBearer: ChimeArn;
|
2150
|
+
/**
|
2151
|
+
* The ID of the SubChannel in the request.
|
2152
|
+
*/
|
2153
|
+
SubChannelId?: SubChannelId;
|
1980
2154
|
}
|
1981
2155
|
export interface UpdateChannelReadMarkerResponse {
|
1982
2156
|
/**
|
1983
2157
|
* The ARN of the channel.
|
1984
2158
|
*/
|
1985
2159
|
ChannelArn?: ChimeArn;
|
2160
|
+
/**
|
2161
|
+
* The ID of the SubChannel in the response.
|
2162
|
+
*/
|
2163
|
+
SubChannelId?: SubChannelId;
|
1986
2164
|
}
|
1987
2165
|
export interface UpdateChannelRequest {
|
1988
2166
|
/**
|