@aws-sdk/client-chime-sdk-messaging 3.300.0 → 3.303.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.
Files changed (55) hide show
  1. package/dist-cjs/models/models_0.js +78 -94
  2. package/dist-es/models/models_0.js +78 -94
  3. package/dist-types/commands/AssociateChannelFlowCommand.d.ts +1 -1
  4. package/dist-types/commands/BatchCreateChannelMembershipCommand.d.ts +2 -2
  5. package/dist-types/commands/ChannelFlowCallbackCommand.d.ts +6 -6
  6. package/dist-types/commands/CreateChannelBanCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateChannelCommand.d.ts +7 -7
  8. package/dist-types/commands/CreateChannelFlowCommand.d.ts +7 -7
  9. package/dist-types/commands/CreateChannelMembershipCommand.d.ts +1 -1
  10. package/dist-types/commands/CreateChannelModeratorCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteChannelBanCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteChannelCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteChannelFlowCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteChannelMembershipCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteChannelMessageCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteChannelModeratorCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteMessagingStreamingConfigurationsCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeChannelBanCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeChannelCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeChannelFlowCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeChannelMembershipCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeChannelMembershipForAppInstanceUserCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeChannelModeratedByAppInstanceUserCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeChannelModeratorCommand.d.ts +1 -1
  25. package/dist-types/commands/DisassociateChannelFlowCommand.d.ts +1 -1
  26. package/dist-types/commands/GetChannelMembershipPreferencesCommand.d.ts +1 -1
  27. package/dist-types/commands/GetChannelMessageCommand.d.ts +1 -1
  28. package/dist-types/commands/GetChannelMessageStatusCommand.d.ts +1 -1
  29. package/dist-types/commands/GetMessagingStreamingConfigurationsCommand.d.ts +1 -1
  30. package/dist-types/commands/ListChannelBansCommand.d.ts +1 -1
  31. package/dist-types/commands/ListChannelFlowsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListChannelMembershipsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListChannelMembershipsForAppInstanceUserCommand.d.ts +1 -1
  34. package/dist-types/commands/ListChannelMessagesCommand.d.ts +1 -1
  35. package/dist-types/commands/ListChannelModeratorsCommand.d.ts +1 -1
  36. package/dist-types/commands/ListChannelsAssociatedWithChannelFlowCommand.d.ts +1 -1
  37. package/dist-types/commands/ListChannelsCommand.d.ts +1 -1
  38. package/dist-types/commands/ListChannelsModeratedByAppInstanceUserCommand.d.ts +1 -1
  39. package/dist-types/commands/ListSubChannelsCommand.d.ts +1 -1
  40. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  41. package/dist-types/commands/PutChannelExpirationSettingsCommand.d.ts +2 -2
  42. package/dist-types/commands/PutChannelMembershipPreferencesCommand.d.ts +3 -3
  43. package/dist-types/commands/PutMessagingStreamingConfigurationsCommand.d.ts +3 -3
  44. package/dist-types/commands/RedactChannelMessageCommand.d.ts +1 -1
  45. package/dist-types/commands/SearchChannelsCommand.d.ts +4 -4
  46. package/dist-types/commands/SendChannelMessageCommand.d.ts +5 -5
  47. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  48. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  49. package/dist-types/commands/UpdateChannelCommand.d.ts +1 -1
  50. package/dist-types/commands/UpdateChannelFlowCommand.d.ts +5 -5
  51. package/dist-types/commands/UpdateChannelMessageCommand.d.ts +1 -1
  52. package/dist-types/commands/UpdateChannelReadMarkerCommand.d.ts +1 -1
  53. package/dist-types/models/models_0.d.ts +158 -78
  54. package/dist-types/ts3.4/models/models_0.d.ts +107 -78
  55. package/package.json +34 -34
@@ -4,35 +4,32 @@ exports.ChannelModeratorSummaryFilterSensitiveLog = exports.ChannelModeratorFilt
4
4
  exports.UpdateChannelMessageRequestFilterSensitiveLog = exports.UpdateChannelFlowRequestFilterSensitiveLog = exports.UpdateChannelRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.SendChannelMessageRequestFilterSensitiveLog = exports.SearchChannelsResponseFilterSensitiveLog = exports.SearchChannelsRequestFilterSensitiveLog = exports.PutChannelMembershipPreferencesResponseFilterSensitiveLog = exports.PutChannelMembershipPreferencesRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListSubChannelsResponseFilterSensitiveLog = exports.ListSubChannelsRequestFilterSensitiveLog = exports.ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog = exports.ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog = exports.ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog = exports.ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog = exports.ListChannelsResponseFilterSensitiveLog = exports.ListChannelsRequestFilterSensitiveLog = exports.ListChannelModeratorsResponseFilterSensitiveLog = exports.ListChannelModeratorsRequestFilterSensitiveLog = exports.ListChannelMessagesResponseFilterSensitiveLog = exports.ListChannelMessagesRequestFilterSensitiveLog = exports.ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog = exports.ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog = exports.ListChannelMembershipsResponseFilterSensitiveLog = exports.ListChannelMembershipsRequestFilterSensitiveLog = exports.ListChannelFlowsResponseFilterSensitiveLog = exports.ListChannelFlowsRequestFilterSensitiveLog = exports.ListChannelBansResponseFilterSensitiveLog = exports.ListChannelBansRequestFilterSensitiveLog = exports.GetChannelMessageResponseFilterSensitiveLog = exports.GetChannelMembershipPreferencesResponseFilterSensitiveLog = exports.DescribeChannelModeratorResponseFilterSensitiveLog = exports.DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog = exports.DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog = exports.DescribeChannelMembershipResponseFilterSensitiveLog = exports.DescribeChannelFlowResponseFilterSensitiveLog = exports.DescribeChannelBanResponseFilterSensitiveLog = exports.DescribeChannelResponseFilterSensitiveLog = exports.CreateChannelModeratorResponseFilterSensitiveLog = exports.CreateChannelMembershipResponseFilterSensitiveLog = exports.CreateChannelFlowRequestFilterSensitiveLog = exports.CreateChannelBanResponseFilterSensitiveLog = exports.CreateChannelRequestFilterSensitiveLog = exports.TagFilterSensitiveLog = void 0;
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const ChimeSDKMessagingServiceException_1 = require("./ChimeSDKMessagingServiceException");
7
- var AllowNotifications;
8
- (function (AllowNotifications) {
9
- AllowNotifications["ALL"] = "ALL";
10
- AllowNotifications["FILTERED"] = "FILTERED";
11
- AllowNotifications["NONE"] = "NONE";
12
- })(AllowNotifications = exports.AllowNotifications || (exports.AllowNotifications = {}));
13
- var ChannelMembershipType;
14
- (function (ChannelMembershipType) {
15
- ChannelMembershipType["DEFAULT"] = "DEFAULT";
16
- ChannelMembershipType["HIDDEN"] = "HIDDEN";
17
- })(ChannelMembershipType = exports.ChannelMembershipType || (exports.ChannelMembershipType = {}));
18
- var ErrorCode;
19
- (function (ErrorCode) {
20
- ErrorCode["AccessDenied"] = "AccessDenied";
21
- ErrorCode["BadRequest"] = "BadRequest";
22
- ErrorCode["Conflict"] = "Conflict";
23
- ErrorCode["Forbidden"] = "Forbidden";
24
- ErrorCode["NotFound"] = "NotFound";
25
- ErrorCode["PhoneNumberAssociationsExist"] = "PhoneNumberAssociationsExist";
26
- ErrorCode["PreconditionFailed"] = "PreconditionFailed";
27
- ErrorCode["ResourceLimitExceeded"] = "ResourceLimitExceeded";
28
- ErrorCode["ServiceFailure"] = "ServiceFailure";
29
- ErrorCode["ServiceUnavailable"] = "ServiceUnavailable";
30
- ErrorCode["Throttled"] = "Throttled";
31
- ErrorCode["Throttling"] = "Throttling";
32
- ErrorCode["Unauthorized"] = "Unauthorized";
33
- ErrorCode["Unprocessable"] = "Unprocessable";
34
- ErrorCode["VoiceConnectorGroupAssociationsExist"] = "VoiceConnectorGroupAssociationsExist";
35
- })(ErrorCode = exports.ErrorCode || (exports.ErrorCode = {}));
7
+ exports.AllowNotifications = {
8
+ ALL: "ALL",
9
+ FILTERED: "FILTERED",
10
+ NONE: "NONE",
11
+ };
12
+ exports.ChannelMembershipType = {
13
+ DEFAULT: "DEFAULT",
14
+ HIDDEN: "HIDDEN",
15
+ };
16
+ exports.ErrorCode = {
17
+ AccessDenied: "AccessDenied",
18
+ BadRequest: "BadRequest",
19
+ Conflict: "Conflict",
20
+ Forbidden: "Forbidden",
21
+ NotFound: "NotFound",
22
+ PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist",
23
+ PreconditionFailed: "PreconditionFailed",
24
+ ResourceLimitExceeded: "ResourceLimitExceeded",
25
+ ServiceFailure: "ServiceFailure",
26
+ ServiceUnavailable: "ServiceUnavailable",
27
+ Throttled: "Throttled",
28
+ Throttling: "Throttling",
29
+ Unauthorized: "Unauthorized",
30
+ Unprocessable: "Unprocessable",
31
+ VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist",
32
+ };
36
33
  class BadRequestException extends ChimeSDKMessagingServiceException_1.ChimeSDKMessagingServiceException {
37
34
  constructor(opts) {
38
35
  super({
@@ -168,71 +165,58 @@ class ResourceLimitExceededException extends ChimeSDKMessagingServiceException_1
168
165
  }
169
166
  }
170
167
  exports.ResourceLimitExceededException = ResourceLimitExceededException;
171
- var ExpirationCriterion;
172
- (function (ExpirationCriterion) {
173
- ExpirationCriterion["CREATED_TIMESTAMP"] = "CREATED_TIMESTAMP";
174
- ExpirationCriterion["LAST_MESSAGE_TIMESTAMP"] = "LAST_MESSAGE_TIMESTAMP";
175
- })(ExpirationCriterion = exports.ExpirationCriterion || (exports.ExpirationCriterion = {}));
176
- var ChannelMode;
177
- (function (ChannelMode) {
178
- ChannelMode["RESTRICTED"] = "RESTRICTED";
179
- ChannelMode["UNRESTRICTED"] = "UNRESTRICTED";
180
- })(ChannelMode = exports.ChannelMode || (exports.ChannelMode = {}));
181
- var ChannelPrivacy;
182
- (function (ChannelPrivacy) {
183
- ChannelPrivacy["PRIVATE"] = "PRIVATE";
184
- ChannelPrivacy["PUBLIC"] = "PUBLIC";
185
- })(ChannelPrivacy = exports.ChannelPrivacy || (exports.ChannelPrivacy = {}));
186
- var InvocationType;
187
- (function (InvocationType) {
188
- InvocationType["ASYNC"] = "ASYNC";
189
- })(InvocationType = exports.InvocationType || (exports.InvocationType = {}));
190
- var FallbackAction;
191
- (function (FallbackAction) {
192
- FallbackAction["ABORT"] = "ABORT";
193
- FallbackAction["CONTINUE"] = "CONTINUE";
194
- })(FallbackAction = exports.FallbackAction || (exports.FallbackAction = {}));
195
- var PushNotificationType;
196
- (function (PushNotificationType) {
197
- PushNotificationType["DEFAULT"] = "DEFAULT";
198
- PushNotificationType["VOIP"] = "VOIP";
199
- })(PushNotificationType = exports.PushNotificationType || (exports.PushNotificationType = {}));
200
- var ChannelMessagePersistenceType;
201
- (function (ChannelMessagePersistenceType) {
202
- ChannelMessagePersistenceType["NON_PERSISTENT"] = "NON_PERSISTENT";
203
- ChannelMessagePersistenceType["PERSISTENT"] = "PERSISTENT";
204
- })(ChannelMessagePersistenceType = exports.ChannelMessagePersistenceType || (exports.ChannelMessagePersistenceType = {}));
205
- var ChannelMessageStatus;
206
- (function (ChannelMessageStatus) {
207
- ChannelMessageStatus["DENIED"] = "DENIED";
208
- ChannelMessageStatus["FAILED"] = "FAILED";
209
- ChannelMessageStatus["PENDING"] = "PENDING";
210
- ChannelMessageStatus["SENT"] = "SENT";
211
- })(ChannelMessageStatus = exports.ChannelMessageStatus || (exports.ChannelMessageStatus = {}));
212
- var ChannelMessageType;
213
- (function (ChannelMessageType) {
214
- ChannelMessageType["CONTROL"] = "CONTROL";
215
- ChannelMessageType["STANDARD"] = "STANDARD";
216
- })(ChannelMessageType = exports.ChannelMessageType || (exports.ChannelMessageType = {}));
217
- var MessagingDataType;
218
- (function (MessagingDataType) {
219
- MessagingDataType["Channel"] = "Channel";
220
- MessagingDataType["ChannelMessage"] = "ChannelMessage";
221
- })(MessagingDataType = exports.MessagingDataType || (exports.MessagingDataType = {}));
222
- var SortOrder;
223
- (function (SortOrder) {
224
- SortOrder["ASCENDING"] = "ASCENDING";
225
- SortOrder["DESCENDING"] = "DESCENDING";
226
- })(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
227
- var SearchFieldKey;
228
- (function (SearchFieldKey) {
229
- SearchFieldKey["MEMBERS"] = "MEMBERS";
230
- })(SearchFieldKey = exports.SearchFieldKey || (exports.SearchFieldKey = {}));
231
- var SearchFieldOperator;
232
- (function (SearchFieldOperator) {
233
- SearchFieldOperator["EQUALS"] = "EQUALS";
234
- SearchFieldOperator["INCLUDES"] = "INCLUDES";
235
- })(SearchFieldOperator = exports.SearchFieldOperator || (exports.SearchFieldOperator = {}));
168
+ exports.ExpirationCriterion = {
169
+ CREATED_TIMESTAMP: "CREATED_TIMESTAMP",
170
+ LAST_MESSAGE_TIMESTAMP: "LAST_MESSAGE_TIMESTAMP",
171
+ };
172
+ exports.ChannelMode = {
173
+ RESTRICTED: "RESTRICTED",
174
+ UNRESTRICTED: "UNRESTRICTED",
175
+ };
176
+ exports.ChannelPrivacy = {
177
+ PRIVATE: "PRIVATE",
178
+ PUBLIC: "PUBLIC",
179
+ };
180
+ exports.InvocationType = {
181
+ ASYNC: "ASYNC",
182
+ };
183
+ exports.FallbackAction = {
184
+ ABORT: "ABORT",
185
+ CONTINUE: "CONTINUE",
186
+ };
187
+ exports.PushNotificationType = {
188
+ DEFAULT: "DEFAULT",
189
+ VOIP: "VOIP",
190
+ };
191
+ exports.ChannelMessagePersistenceType = {
192
+ NON_PERSISTENT: "NON_PERSISTENT",
193
+ PERSISTENT: "PERSISTENT",
194
+ };
195
+ exports.ChannelMessageStatus = {
196
+ DENIED: "DENIED",
197
+ FAILED: "FAILED",
198
+ PENDING: "PENDING",
199
+ SENT: "SENT",
200
+ };
201
+ exports.ChannelMessageType = {
202
+ CONTROL: "CONTROL",
203
+ STANDARD: "STANDARD",
204
+ };
205
+ exports.MessagingDataType = {
206
+ Channel: "Channel",
207
+ ChannelMessage: "ChannelMessage",
208
+ };
209
+ exports.SortOrder = {
210
+ ASCENDING: "ASCENDING",
211
+ DESCENDING: "DESCENDING",
212
+ };
213
+ exports.SearchFieldKey = {
214
+ MEMBERS: "MEMBERS",
215
+ };
216
+ exports.SearchFieldOperator = {
217
+ EQUALS: "EQUALS",
218
+ INCLUDES: "INCLUDES",
219
+ };
236
220
  const IdentityFilterSensitiveLog = (obj) => ({
237
221
  ...obj,
238
222
  ...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
@@ -1,34 +1,31 @@
1
1
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
2
  import { ChimeSDKMessagingServiceException as __BaseException } from "./ChimeSDKMessagingServiceException";
3
- export var AllowNotifications;
4
- (function (AllowNotifications) {
5
- AllowNotifications["ALL"] = "ALL";
6
- AllowNotifications["FILTERED"] = "FILTERED";
7
- AllowNotifications["NONE"] = "NONE";
8
- })(AllowNotifications || (AllowNotifications = {}));
9
- export var ChannelMembershipType;
10
- (function (ChannelMembershipType) {
11
- ChannelMembershipType["DEFAULT"] = "DEFAULT";
12
- ChannelMembershipType["HIDDEN"] = "HIDDEN";
13
- })(ChannelMembershipType || (ChannelMembershipType = {}));
14
- export var ErrorCode;
15
- (function (ErrorCode) {
16
- ErrorCode["AccessDenied"] = "AccessDenied";
17
- ErrorCode["BadRequest"] = "BadRequest";
18
- ErrorCode["Conflict"] = "Conflict";
19
- ErrorCode["Forbidden"] = "Forbidden";
20
- ErrorCode["NotFound"] = "NotFound";
21
- ErrorCode["PhoneNumberAssociationsExist"] = "PhoneNumberAssociationsExist";
22
- ErrorCode["PreconditionFailed"] = "PreconditionFailed";
23
- ErrorCode["ResourceLimitExceeded"] = "ResourceLimitExceeded";
24
- ErrorCode["ServiceFailure"] = "ServiceFailure";
25
- ErrorCode["ServiceUnavailable"] = "ServiceUnavailable";
26
- ErrorCode["Throttled"] = "Throttled";
27
- ErrorCode["Throttling"] = "Throttling";
28
- ErrorCode["Unauthorized"] = "Unauthorized";
29
- ErrorCode["Unprocessable"] = "Unprocessable";
30
- ErrorCode["VoiceConnectorGroupAssociationsExist"] = "VoiceConnectorGroupAssociationsExist";
31
- })(ErrorCode || (ErrorCode = {}));
3
+ export const AllowNotifications = {
4
+ ALL: "ALL",
5
+ FILTERED: "FILTERED",
6
+ NONE: "NONE",
7
+ };
8
+ export const ChannelMembershipType = {
9
+ DEFAULT: "DEFAULT",
10
+ HIDDEN: "HIDDEN",
11
+ };
12
+ export const ErrorCode = {
13
+ AccessDenied: "AccessDenied",
14
+ BadRequest: "BadRequest",
15
+ Conflict: "Conflict",
16
+ Forbidden: "Forbidden",
17
+ NotFound: "NotFound",
18
+ PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist",
19
+ PreconditionFailed: "PreconditionFailed",
20
+ ResourceLimitExceeded: "ResourceLimitExceeded",
21
+ ServiceFailure: "ServiceFailure",
22
+ ServiceUnavailable: "ServiceUnavailable",
23
+ Throttled: "Throttled",
24
+ Throttling: "Throttling",
25
+ Unauthorized: "Unauthorized",
26
+ Unprocessable: "Unprocessable",
27
+ VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist",
28
+ };
32
29
  export class BadRequestException extends __BaseException {
33
30
  constructor(opts) {
34
31
  super({
@@ -155,71 +152,58 @@ export class ResourceLimitExceededException extends __BaseException {
155
152
  this.Message = opts.Message;
156
153
  }
157
154
  }
158
- export var ExpirationCriterion;
159
- (function (ExpirationCriterion) {
160
- ExpirationCriterion["CREATED_TIMESTAMP"] = "CREATED_TIMESTAMP";
161
- ExpirationCriterion["LAST_MESSAGE_TIMESTAMP"] = "LAST_MESSAGE_TIMESTAMP";
162
- })(ExpirationCriterion || (ExpirationCriterion = {}));
163
- export var ChannelMode;
164
- (function (ChannelMode) {
165
- ChannelMode["RESTRICTED"] = "RESTRICTED";
166
- ChannelMode["UNRESTRICTED"] = "UNRESTRICTED";
167
- })(ChannelMode || (ChannelMode = {}));
168
- export var ChannelPrivacy;
169
- (function (ChannelPrivacy) {
170
- ChannelPrivacy["PRIVATE"] = "PRIVATE";
171
- ChannelPrivacy["PUBLIC"] = "PUBLIC";
172
- })(ChannelPrivacy || (ChannelPrivacy = {}));
173
- export var InvocationType;
174
- (function (InvocationType) {
175
- InvocationType["ASYNC"] = "ASYNC";
176
- })(InvocationType || (InvocationType = {}));
177
- export var FallbackAction;
178
- (function (FallbackAction) {
179
- FallbackAction["ABORT"] = "ABORT";
180
- FallbackAction["CONTINUE"] = "CONTINUE";
181
- })(FallbackAction || (FallbackAction = {}));
182
- export var PushNotificationType;
183
- (function (PushNotificationType) {
184
- PushNotificationType["DEFAULT"] = "DEFAULT";
185
- PushNotificationType["VOIP"] = "VOIP";
186
- })(PushNotificationType || (PushNotificationType = {}));
187
- export var ChannelMessagePersistenceType;
188
- (function (ChannelMessagePersistenceType) {
189
- ChannelMessagePersistenceType["NON_PERSISTENT"] = "NON_PERSISTENT";
190
- ChannelMessagePersistenceType["PERSISTENT"] = "PERSISTENT";
191
- })(ChannelMessagePersistenceType || (ChannelMessagePersistenceType = {}));
192
- export var ChannelMessageStatus;
193
- (function (ChannelMessageStatus) {
194
- ChannelMessageStatus["DENIED"] = "DENIED";
195
- ChannelMessageStatus["FAILED"] = "FAILED";
196
- ChannelMessageStatus["PENDING"] = "PENDING";
197
- ChannelMessageStatus["SENT"] = "SENT";
198
- })(ChannelMessageStatus || (ChannelMessageStatus = {}));
199
- export var ChannelMessageType;
200
- (function (ChannelMessageType) {
201
- ChannelMessageType["CONTROL"] = "CONTROL";
202
- ChannelMessageType["STANDARD"] = "STANDARD";
203
- })(ChannelMessageType || (ChannelMessageType = {}));
204
- export var MessagingDataType;
205
- (function (MessagingDataType) {
206
- MessagingDataType["Channel"] = "Channel";
207
- MessagingDataType["ChannelMessage"] = "ChannelMessage";
208
- })(MessagingDataType || (MessagingDataType = {}));
209
- export var SortOrder;
210
- (function (SortOrder) {
211
- SortOrder["ASCENDING"] = "ASCENDING";
212
- SortOrder["DESCENDING"] = "DESCENDING";
213
- })(SortOrder || (SortOrder = {}));
214
- export var SearchFieldKey;
215
- (function (SearchFieldKey) {
216
- SearchFieldKey["MEMBERS"] = "MEMBERS";
217
- })(SearchFieldKey || (SearchFieldKey = {}));
218
- export var SearchFieldOperator;
219
- (function (SearchFieldOperator) {
220
- SearchFieldOperator["EQUALS"] = "EQUALS";
221
- SearchFieldOperator["INCLUDES"] = "INCLUDES";
222
- })(SearchFieldOperator || (SearchFieldOperator = {}));
155
+ export const ExpirationCriterion = {
156
+ CREATED_TIMESTAMP: "CREATED_TIMESTAMP",
157
+ LAST_MESSAGE_TIMESTAMP: "LAST_MESSAGE_TIMESTAMP",
158
+ };
159
+ export const ChannelMode = {
160
+ RESTRICTED: "RESTRICTED",
161
+ UNRESTRICTED: "UNRESTRICTED",
162
+ };
163
+ export const ChannelPrivacy = {
164
+ PRIVATE: "PRIVATE",
165
+ PUBLIC: "PUBLIC",
166
+ };
167
+ export const InvocationType = {
168
+ ASYNC: "ASYNC",
169
+ };
170
+ export const FallbackAction = {
171
+ ABORT: "ABORT",
172
+ CONTINUE: "CONTINUE",
173
+ };
174
+ export const PushNotificationType = {
175
+ DEFAULT: "DEFAULT",
176
+ VOIP: "VOIP",
177
+ };
178
+ export const ChannelMessagePersistenceType = {
179
+ NON_PERSISTENT: "NON_PERSISTENT",
180
+ PERSISTENT: "PERSISTENT",
181
+ };
182
+ export const ChannelMessageStatus = {
183
+ DENIED: "DENIED",
184
+ FAILED: "FAILED",
185
+ PENDING: "PENDING",
186
+ SENT: "SENT",
187
+ };
188
+ export const ChannelMessageType = {
189
+ CONTROL: "CONTROL",
190
+ STANDARD: "STANDARD",
191
+ };
192
+ export const MessagingDataType = {
193
+ Channel: "Channel",
194
+ ChannelMessage: "ChannelMessage",
195
+ };
196
+ export const SortOrder = {
197
+ ASCENDING: "ASCENDING",
198
+ DESCENDING: "DESCENDING",
199
+ };
200
+ export const SearchFieldKey = {
201
+ MEMBERS: "MEMBERS",
202
+ };
203
+ export const SearchFieldOperator = {
204
+ EQUALS: "EQUALS",
205
+ INCLUDES: "INCLUDES",
206
+ };
223
207
  export const IdentityFilterSensitiveLog = (obj) => ({
224
208
  ...obj,
225
209
  ...(obj.Name && { Name: SENSITIVE_STRING }),
@@ -33,7 +33,7 @@ export interface AssociateChannelFlowCommandOutput extends __MetadataBearer {
33
33
  * import { ChimeSDKMessagingClient, AssociateChannelFlowCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
34
34
  * // const { ChimeSDKMessagingClient, AssociateChannelFlowCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
35
35
  * const client = new ChimeSDKMessagingClient(config);
36
- * const input = {
36
+ * const input = { // AssociateChannelFlowRequest
37
37
  * ChannelArn: "STRING_VALUE", // required
38
38
  * ChannelFlowArn: "STRING_VALUE", // required
39
39
  * ChimeBearer: "STRING_VALUE", // required
@@ -26,10 +26,10 @@ export interface BatchCreateChannelMembershipCommandOutput extends BatchCreateCh
26
26
  * import { ChimeSDKMessagingClient, BatchCreateChannelMembershipCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
27
27
  * // const { ChimeSDKMessagingClient, BatchCreateChannelMembershipCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
28
28
  * const client = new ChimeSDKMessagingClient(config);
29
- * const input = {
29
+ * const input = { // BatchCreateChannelMembershipRequest
30
30
  * ChannelArn: "STRING_VALUE", // required
31
31
  * Type: "DEFAULT" || "HIDDEN",
32
- * MemberArns: [ // required
32
+ * MemberArns: [ // MemberArns // required
33
33
  * "STRING_VALUE",
34
34
  * ],
35
35
  * ChimeBearer: "STRING_VALUE", // required
@@ -38,22 +38,22 @@ export interface ChannelFlowCallbackCommandOutput extends ChannelFlowCallbackRes
38
38
  * import { ChimeSDKMessagingClient, ChannelFlowCallbackCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
39
39
  * // const { ChimeSDKMessagingClient, ChannelFlowCallbackCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
40
40
  * const client = new ChimeSDKMessagingClient(config);
41
- * const input = {
41
+ * const input = { // ChannelFlowCallbackRequest
42
42
  * CallbackId: "STRING_VALUE", // required
43
43
  * ChannelArn: "STRING_VALUE", // required
44
44
  * DeleteResource: true || false,
45
- * ChannelMessage: {
45
+ * ChannelMessage: { // ChannelMessageCallback
46
46
  * MessageId: "STRING_VALUE", // required
47
47
  * Content: "STRING_VALUE",
48
48
  * Metadata: "STRING_VALUE",
49
- * PushNotification: {
49
+ * PushNotification: { // PushNotificationConfiguration
50
50
  * Title: "STRING_VALUE",
51
51
  * Body: "STRING_VALUE",
52
52
  * Type: "DEFAULT" || "VOIP",
53
53
  * },
54
- * MessageAttributes: {
55
- * "<keys>": {
56
- * StringValues: [
54
+ * MessageAttributes: { // MessageAttributeMap
55
+ * "<keys>": { // MessageAttributeValue
56
+ * StringValues: [ // MessageAttributeStringValues
57
57
  * "STRING_VALUE",
58
58
  * ],
59
59
  * },
@@ -36,7 +36,7 @@ export interface CreateChannelBanCommandOutput extends CreateChannelBanResponse,
36
36
  * import { ChimeSDKMessagingClient, CreateChannelBanCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
37
37
  * // const { ChimeSDKMessagingClient, CreateChannelBanCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
38
38
  * const client = new ChimeSDKMessagingClient(config);
39
- * const input = {
39
+ * const input = { // CreateChannelBanRequest
40
40
  * ChannelArn: "STRING_VALUE", // required
41
41
  * MemberArn: "STRING_VALUE", // required
42
42
  * ChimeBearer: "STRING_VALUE", // required
@@ -34,33 +34,33 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
34
34
  * import { ChimeSDKMessagingClient, CreateChannelCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
35
35
  * // const { ChimeSDKMessagingClient, CreateChannelCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
36
36
  * const client = new ChimeSDKMessagingClient(config);
37
- * const input = {
37
+ * const input = { // CreateChannelRequest
38
38
  * AppInstanceArn: "STRING_VALUE", // required
39
39
  * Name: "STRING_VALUE", // required
40
40
  * Mode: "UNRESTRICTED" || "RESTRICTED",
41
41
  * Privacy: "PUBLIC" || "PRIVATE",
42
42
  * Metadata: "STRING_VALUE",
43
43
  * ClientRequestToken: "STRING_VALUE", // required
44
- * Tags: [
45
- * {
44
+ * Tags: [ // TagList
45
+ * { // Tag
46
46
  * Key: "STRING_VALUE", // required
47
47
  * Value: "STRING_VALUE", // required
48
48
  * },
49
49
  * ],
50
50
  * ChimeBearer: "STRING_VALUE", // required
51
51
  * ChannelId: "STRING_VALUE",
52
- * MemberArns: [
52
+ * MemberArns: [ // ChannelMemberArns
53
53
  * "STRING_VALUE",
54
54
  * ],
55
- * ModeratorArns: [
55
+ * ModeratorArns: [ // ChannelModeratorArns
56
56
  * "STRING_VALUE",
57
57
  * ],
58
- * ElasticChannelConfiguration: {
58
+ * ElasticChannelConfiguration: { // ElasticChannelConfiguration
59
59
  * MaximumSubChannels: Number("int"), // required
60
60
  * TargetMembershipsPerSubChannel: Number("int"), // required
61
61
  * MinimumMembershipPercentage: Number("int"), // required
62
62
  * },
63
- * ExpirationSettings: {
63
+ * ExpirationSettings: { // ExpirationSettings
64
64
  * ExpirationDays: Number("int"), // required
65
65
  * ExpirationCriterion: "CREATED_TIMESTAMP" || "LAST_MESSAGE_TIMESTAMP", // required
66
66
  * },
@@ -45,13 +45,13 @@ export interface CreateChannelFlowCommandOutput extends CreateChannelFlowRespons
45
45
  * import { ChimeSDKMessagingClient, CreateChannelFlowCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
46
46
  * // const { ChimeSDKMessagingClient, CreateChannelFlowCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
47
47
  * const client = new ChimeSDKMessagingClient(config);
48
- * const input = {
48
+ * const input = { // CreateChannelFlowRequest
49
49
  * AppInstanceArn: "STRING_VALUE", // required
50
- * Processors: [ // required
51
- * {
50
+ * Processors: [ // ProcessorList // required
51
+ * { // Processor
52
52
  * Name: "STRING_VALUE", // required
53
- * Configuration: {
54
- * Lambda: {
53
+ * Configuration: { // ProcessorConfiguration
54
+ * Lambda: { // LambdaConfiguration
55
55
  * ResourceArn: "STRING_VALUE", // required
56
56
  * InvocationType: "ASYNC", // required
57
57
  * },
@@ -61,8 +61,8 @@ export interface CreateChannelFlowCommandOutput extends CreateChannelFlowRespons
61
61
  * },
62
62
  * ],
63
63
  * Name: "STRING_VALUE", // required
64
- * Tags: [
65
- * {
64
+ * Tags: [ // TagList
65
+ * { // Tag
66
66
  * Key: "STRING_VALUE", // required
67
67
  * Value: "STRING_VALUE", // required
68
68
  * },
@@ -59,7 +59,7 @@ export interface CreateChannelMembershipCommandOutput extends CreateChannelMembe
59
59
  * import { ChimeSDKMessagingClient, CreateChannelMembershipCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
60
60
  * // const { ChimeSDKMessagingClient, CreateChannelMembershipCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
61
61
  * const client = new ChimeSDKMessagingClient(config);
62
- * const input = {
62
+ * const input = { // CreateChannelMembershipRequest
63
63
  * ChannelArn: "STRING_VALUE", // required
64
64
  * MemberArn: "STRING_VALUE", // required
65
65
  * Type: "DEFAULT" || "HIDDEN", // required
@@ -48,7 +48,7 @@ export interface CreateChannelModeratorCommandOutput extends CreateChannelModera
48
48
  * import { ChimeSDKMessagingClient, CreateChannelModeratorCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
49
49
  * // const { ChimeSDKMessagingClient, CreateChannelModeratorCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
50
50
  * const client = new ChimeSDKMessagingClient(config);
51
- * const input = {
51
+ * const input = { // CreateChannelModeratorRequest
52
52
  * ChannelArn: "STRING_VALUE", // required
53
53
  * ChannelModeratorArn: "STRING_VALUE", // required
54
54
  * ChimeBearer: "STRING_VALUE", // required
@@ -31,7 +31,7 @@ export interface DeleteChannelBanCommandOutput extends __MetadataBearer {
31
31
  * import { ChimeSDKMessagingClient, DeleteChannelBanCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
32
32
  * // const { ChimeSDKMessagingClient, DeleteChannelBanCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
33
33
  * const client = new ChimeSDKMessagingClient(config);
34
- * const input = {
34
+ * const input = { // DeleteChannelBanRequest
35
35
  * ChannelArn: "STRING_VALUE", // required
36
36
  * MemberArn: "STRING_VALUE", // required
37
37
  * ChimeBearer: "STRING_VALUE", // required
@@ -32,7 +32,7 @@ export interface DeleteChannelCommandOutput extends __MetadataBearer {
32
32
  * import { ChimeSDKMessagingClient, DeleteChannelCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
33
33
  * // const { ChimeSDKMessagingClient, DeleteChannelCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
34
34
  * const client = new ChimeSDKMessagingClient(config);
35
- * const input = {
35
+ * const input = { // DeleteChannelRequest
36
36
  * ChannelArn: "STRING_VALUE", // required
37
37
  * ChimeBearer: "STRING_VALUE", // required
38
38
  * SubChannelId: "STRING_VALUE",
@@ -30,7 +30,7 @@ export interface DeleteChannelFlowCommandOutput extends __MetadataBearer {
30
30
  * import { ChimeSDKMessagingClient, DeleteChannelFlowCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
31
31
  * // const { ChimeSDKMessagingClient, DeleteChannelFlowCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
32
32
  * const client = new ChimeSDKMessagingClient(config);
33
- * const input = {
33
+ * const input = { // DeleteChannelFlowRequest
34
34
  * ChannelFlowArn: "STRING_VALUE", // required
35
35
  * };
36
36
  * const command = new DeleteChannelFlowCommand(input);
@@ -31,7 +31,7 @@ export interface DeleteChannelMembershipCommandOutput extends __MetadataBearer {
31
31
  * import { ChimeSDKMessagingClient, DeleteChannelMembershipCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
32
32
  * // const { ChimeSDKMessagingClient, DeleteChannelMembershipCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
33
33
  * const client = new ChimeSDKMessagingClient(config);
34
- * const input = {
34
+ * const input = { // DeleteChannelMembershipRequest
35
35
  * ChannelArn: "STRING_VALUE", // required
36
36
  * MemberArn: "STRING_VALUE", // required
37
37
  * ChimeBearer: "STRING_VALUE", // required
@@ -33,7 +33,7 @@ export interface DeleteChannelMessageCommandOutput extends __MetadataBearer {
33
33
  * import { ChimeSDKMessagingClient, DeleteChannelMessageCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
34
34
  * // const { ChimeSDKMessagingClient, DeleteChannelMessageCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
35
35
  * const client = new ChimeSDKMessagingClient(config);
36
- * const input = {
36
+ * const input = { // DeleteChannelMessageRequest
37
37
  * ChannelArn: "STRING_VALUE", // required
38
38
  * MessageId: "STRING_VALUE", // required
39
39
  * ChimeBearer: "STRING_VALUE", // required
@@ -31,7 +31,7 @@ export interface DeleteChannelModeratorCommandOutput extends __MetadataBearer {
31
31
  * import { ChimeSDKMessagingClient, DeleteChannelModeratorCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
32
32
  * // const { ChimeSDKMessagingClient, DeleteChannelModeratorCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
33
33
  * const client = new ChimeSDKMessagingClient(config);
34
- * const input = {
34
+ * const input = { // DeleteChannelModeratorRequest
35
35
  * ChannelArn: "STRING_VALUE", // required
36
36
  * ChannelModeratorArn: "STRING_VALUE", // required
37
37
  * ChimeBearer: "STRING_VALUE", // required
@@ -27,7 +27,7 @@ export interface DeleteMessagingStreamingConfigurationsCommandOutput extends __M
27
27
  * import { ChimeSDKMessagingClient, DeleteMessagingStreamingConfigurationsCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
28
28
  * // const { ChimeSDKMessagingClient, DeleteMessagingStreamingConfigurationsCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
29
29
  * const client = new ChimeSDKMessagingClient(config);
30
- * const input = {
30
+ * const input = { // DeleteMessagingStreamingConfigurationsRequest
31
31
  * AppInstanceArn: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new DeleteMessagingStreamingConfigurationsCommand(input);
@@ -31,7 +31,7 @@ export interface DescribeChannelBanCommandOutput extends DescribeChannelBanRespo
31
31
  * import { ChimeSDKMessagingClient, DescribeChannelBanCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
32
32
  * // const { ChimeSDKMessagingClient, DescribeChannelBanCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
33
33
  * const client = new ChimeSDKMessagingClient(config);
34
- * const input = {
34
+ * const input = { // DescribeChannelBanRequest
35
35
  * ChannelArn: "STRING_VALUE", // required
36
36
  * MemberArn: "STRING_VALUE", // required
37
37
  * ChimeBearer: "STRING_VALUE", // required