@aws-sdk/client-chime-sdk-messaging 3.40.0 → 3.45.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/CHANGELOG.md +38 -0
  2. package/dist-cjs/endpoints.js +9 -0
  3. package/dist-cjs/models/models_0.js +32 -23
  4. package/dist-cjs/protocols/Aws_restJson1.js +8 -0
  5. package/dist-es/endpoints.js +9 -0
  6. package/dist-es/models/models_0.js +22 -14
  7. package/dist-es/protocols/Aws_restJson1.js +7 -1
  8. package/dist-types/commands/AssociateChannelFlowCommand.d.ts +1 -1
  9. package/dist-types/commands/BatchCreateChannelMembershipCommand.d.ts +1 -1
  10. package/dist-types/commands/ChannelFlowCallbackCommand.d.ts +1 -1
  11. package/dist-types/commands/CreateChannelBanCommand.d.ts +1 -1
  12. package/dist-types/commands/CreateChannelCommand.d.ts +1 -1
  13. package/dist-types/commands/CreateChannelFlowCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateChannelMembershipCommand.d.ts +1 -1
  15. package/dist-types/commands/CreateChannelModeratorCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteChannelBanCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteChannelCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteChannelFlowCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteChannelMembershipCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteChannelMessageCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteChannelModeratorCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeChannelBanCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeChannelCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeChannelFlowCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeChannelMembershipCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeChannelMembershipForAppInstanceUserCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeChannelModeratedByAppInstanceUserCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeChannelModeratorCommand.d.ts +1 -1
  29. package/dist-types/commands/DisassociateChannelFlowCommand.d.ts +1 -1
  30. package/dist-types/commands/GetChannelMembershipPreferencesCommand.d.ts +1 -1
  31. package/dist-types/commands/GetChannelMessageCommand.d.ts +1 -1
  32. package/dist-types/commands/GetChannelMessageStatusCommand.d.ts +1 -1
  33. package/dist-types/commands/GetMessagingSessionEndpointCommand.d.ts +1 -1
  34. package/dist-types/commands/ListChannelBansCommand.d.ts +1 -1
  35. package/dist-types/commands/ListChannelFlowsCommand.d.ts +1 -1
  36. package/dist-types/commands/ListChannelMembershipsCommand.d.ts +1 -1
  37. package/dist-types/commands/ListChannelMembershipsForAppInstanceUserCommand.d.ts +1 -1
  38. package/dist-types/commands/ListChannelMessagesCommand.d.ts +1 -1
  39. package/dist-types/commands/ListChannelModeratorsCommand.d.ts +1 -1
  40. package/dist-types/commands/ListChannelsAssociatedWithChannelFlowCommand.d.ts +1 -1
  41. package/dist-types/commands/ListChannelsCommand.d.ts +1 -1
  42. package/dist-types/commands/ListChannelsModeratedByAppInstanceUserCommand.d.ts +1 -1
  43. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  44. package/dist-types/commands/PutChannelMembershipPreferencesCommand.d.ts +1 -1
  45. package/dist-types/commands/RedactChannelMessageCommand.d.ts +1 -1
  46. package/dist-types/commands/SendChannelMessageCommand.d.ts +1 -1
  47. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  48. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  49. package/dist-types/commands/UpdateChannelCommand.d.ts +1 -1
  50. package/dist-types/commands/UpdateChannelFlowCommand.d.ts +1 -1
  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 +56 -46
  54. package/dist-types/ts3.4/models/models_0.d.ts +32 -26
  55. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -3,6 +3,44 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-chime-sdk-messaging
20
+
21
+
22
+
23
+
24
+
25
+ # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-chime-sdk-messaging
28
+
29
+
30
+
31
+
32
+
33
+ # [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
34
+
35
+
36
+ ### Features
37
+
38
+ * **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
39
+
40
+
41
+
42
+
43
+
6
44
  # [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
7
45
 
8
46
 
@@ -27,6 +27,7 @@ const partitionHash = {
27
27
  "ap-south-1",
28
28
  "ap-southeast-1",
29
29
  "ap-southeast-2",
30
+ "ap-southeast-3",
30
31
  "ca-central-1",
31
32
  "eu-central-1",
32
33
  "eu-north-1",
@@ -92,6 +93,10 @@ const partitionHash = {
92
93
  hostname: "messaging-chime.{region}.c2s.ic.gov",
93
94
  tags: [],
94
95
  },
96
+ {
97
+ hostname: "messaging-chime-fips.{region}.c2s.ic.gov",
98
+ tags: ["fips"],
99
+ },
95
100
  ],
96
101
  },
97
102
  "aws-iso-b": {
@@ -102,6 +107,10 @@ const partitionHash = {
102
107
  hostname: "messaging-chime.{region}.sc2s.sgov.gov",
103
108
  tags: [],
104
109
  },
110
+ {
111
+ hostname: "messaging-chime-fips.{region}.sc2s.sgov.gov",
112
+ tags: ["fips"],
113
+ },
105
114
  ],
106
115
  },
107
116
  "aws-us-gov": {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChannelModeratorSummary = exports.ChannelModerator = exports.ChannelModeratedByAppInstanceUserSummary = exports.ChannelMessageSummary = exports.ChannelMessage = exports.ChannelMessageType = exports.ChannelMessageStatusStructure = exports.ChannelMessageStatus = exports.ChannelMessagePersistenceType = exports.MessageAttributeValue = exports.ChannelMembershipSummary = exports.ChannelMembershipPreferences = exports.PushNotificationPreferences = exports.ChannelMembershipForAppInstanceUserSummary = exports.ChannelSummary = exports.ChannelMembership = exports.ChannelFlowSummary = exports.ChannelFlowCallbackResponse = exports.ChannelFlowCallbackRequest = exports.ChannelMessageCallback = exports.ChannelFlow = exports.Processor = exports.FallbackAction = exports.ProcessorConfiguration = exports.LambdaConfiguration = exports.InvocationType = exports.ChannelBanSummary = exports.ChannelBan = exports.ChannelAssociatedWithFlowSummary = exports.Channel = exports.ChannelPrivacy = exports.ChannelMode = exports.BatchCreateChannelMembershipResponse = exports.BatchCreateChannelMembershipError = exports.BatchCreateChannelMembershipRequest = exports.BatchChannelMemberships = exports.Identity = exports.UnauthorizedClientException = exports.ThrottledClientException = exports.ServiceUnavailableException = exports.ServiceFailureException = exports.NotFoundException = exports.ForbiddenException = exports.ConflictException = exports.BadRequestException = exports.ErrorCode = exports.AssociateChannelFlowRequest = exports.AppInstanceUserMembershipSummary = exports.ChannelMembershipType = exports.AllowNotifications = void 0;
4
- exports.ListChannelMembershipsForAppInstanceUserResponse = exports.ListChannelMembershipsForAppInstanceUserRequest = exports.ListChannelMembershipsResponse = exports.ListChannelMembershipsRequest = exports.ListChannelFlowsResponse = exports.ListChannelFlowsRequest = exports.ListChannelBansResponse = exports.ListChannelBansRequest = exports.GetMessagingSessionEndpointResponse = exports.MessagingSessionEndpoint = exports.GetMessagingSessionEndpointRequest = exports.GetChannelMessageStatusResponse = exports.GetChannelMessageStatusRequest = exports.GetChannelMessageResponse = exports.GetChannelMessageRequest = exports.GetChannelMembershipPreferencesResponse = exports.GetChannelMembershipPreferencesRequest = exports.DisassociateChannelFlowRequest = exports.DescribeChannelModeratorResponse = exports.DescribeChannelModeratorRequest = exports.DescribeChannelModeratedByAppInstanceUserResponse = exports.DescribeChannelModeratedByAppInstanceUserRequest = exports.DescribeChannelMembershipForAppInstanceUserResponse = exports.DescribeChannelMembershipForAppInstanceUserRequest = exports.DescribeChannelMembershipResponse = exports.DescribeChannelMembershipRequest = exports.DescribeChannelFlowResponse = exports.DescribeChannelFlowRequest = exports.DescribeChannelBanResponse = exports.DescribeChannelBanRequest = exports.DescribeChannelResponse = exports.DescribeChannelRequest = exports.DeleteChannelModeratorRequest = exports.DeleteChannelMessageRequest = exports.DeleteChannelMembershipRequest = exports.DeleteChannelFlowRequest = exports.DeleteChannelBanRequest = exports.DeleteChannelRequest = exports.CreateChannelModeratorResponse = exports.CreateChannelModeratorRequest = exports.CreateChannelMembershipResponse = exports.CreateChannelMembershipRequest = exports.CreateChannelFlowResponse = exports.CreateChannelFlowRequest = exports.CreateChannelBanResponse = exports.CreateChannelBanRequest = exports.ResourceLimitExceededException = exports.CreateChannelResponse = exports.CreateChannelRequest = exports.Tag = void 0;
5
- exports.UpdateChannelReadMarkerResponse = exports.UpdateChannelReadMarkerRequest = exports.UpdateChannelMessageResponse = exports.UpdateChannelMessageRequest = exports.UpdateChannelFlowResponse = exports.UpdateChannelFlowRequest = exports.UpdateChannelResponse = exports.UpdateChannelRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.SendChannelMessageResponse = exports.SendChannelMessageRequest = exports.PushNotificationConfiguration = exports.PushNotificationType = exports.RedactChannelMessageResponse = exports.RedactChannelMessageRequest = exports.PutChannelMembershipPreferencesResponse = exports.PutChannelMembershipPreferencesRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListChannelsModeratedByAppInstanceUserResponse = exports.ListChannelsModeratedByAppInstanceUserRequest = exports.ListChannelsAssociatedWithChannelFlowResponse = exports.ListChannelsAssociatedWithChannelFlowRequest = exports.ListChannelsResponse = exports.ListChannelsRequest = exports.ListChannelModeratorsResponse = exports.ListChannelModeratorsRequest = exports.ListChannelMessagesResponse = exports.ListChannelMessagesRequest = exports.SortOrder = void 0;
3
+ exports.ChannelModeratedByAppInstanceUserSummary = exports.ChannelMessageSummary = exports.ChannelMessage = exports.ChannelMessageType = exports.ChannelMessageStatusStructure = exports.ChannelMessageStatus = exports.ChannelMessagePersistenceType = exports.ChannelMembershipSummary = exports.ChannelMembershipPreferences = exports.PushNotificationPreferences = exports.ChannelMembershipForAppInstanceUserSummary = exports.ChannelSummary = exports.ChannelMembership = exports.ChannelFlowSummary = exports.ChannelFlowCallbackResponse = exports.ChannelFlowCallbackRequest = exports.ChannelMessageCallback = exports.PushNotificationConfiguration = exports.PushNotificationType = exports.MessageAttributeValue = exports.ChannelFlow = exports.Processor = exports.FallbackAction = exports.ProcessorConfiguration = exports.LambdaConfiguration = exports.InvocationType = exports.ChannelBanSummary = exports.ChannelBan = exports.ChannelAssociatedWithFlowSummary = exports.Channel = exports.ChannelPrivacy = exports.ChannelMode = exports.BatchCreateChannelMembershipResponse = exports.BatchCreateChannelMembershipError = exports.BatchCreateChannelMembershipRequest = exports.BatchChannelMemberships = exports.Identity = exports.UnauthorizedClientException = exports.ThrottledClientException = exports.ServiceUnavailableException = exports.ServiceFailureException = exports.NotFoundException = exports.ForbiddenException = exports.ConflictException = exports.BadRequestException = exports.ErrorCode = exports.AssociateChannelFlowRequest = exports.AppInstanceUserMembershipSummary = exports.ChannelMembershipType = exports.AllowNotifications = void 0;
4
+ exports.ListChannelMembershipsResponse = exports.ListChannelMembershipsRequest = exports.ListChannelFlowsResponse = exports.ListChannelFlowsRequest = exports.ListChannelBansResponse = exports.ListChannelBansRequest = exports.GetMessagingSessionEndpointResponse = exports.MessagingSessionEndpoint = exports.GetMessagingSessionEndpointRequest = exports.GetChannelMessageStatusResponse = exports.GetChannelMessageStatusRequest = exports.GetChannelMessageResponse = exports.GetChannelMessageRequest = exports.GetChannelMembershipPreferencesResponse = exports.GetChannelMembershipPreferencesRequest = exports.DisassociateChannelFlowRequest = exports.DescribeChannelModeratorResponse = exports.DescribeChannelModeratorRequest = exports.DescribeChannelModeratedByAppInstanceUserResponse = exports.DescribeChannelModeratedByAppInstanceUserRequest = exports.DescribeChannelMembershipForAppInstanceUserResponse = exports.DescribeChannelMembershipForAppInstanceUserRequest = exports.DescribeChannelMembershipResponse = exports.DescribeChannelMembershipRequest = exports.DescribeChannelFlowResponse = exports.DescribeChannelFlowRequest = exports.DescribeChannelBanResponse = exports.DescribeChannelBanRequest = exports.DescribeChannelResponse = exports.DescribeChannelRequest = exports.DeleteChannelModeratorRequest = exports.DeleteChannelMessageRequest = exports.DeleteChannelMembershipRequest = exports.DeleteChannelFlowRequest = exports.DeleteChannelBanRequest = exports.DeleteChannelRequest = exports.CreateChannelModeratorResponse = exports.CreateChannelModeratorRequest = exports.CreateChannelMembershipResponse = exports.CreateChannelMembershipRequest = exports.CreateChannelFlowResponse = exports.CreateChannelFlowRequest = exports.CreateChannelBanResponse = exports.CreateChannelBanRequest = exports.ResourceLimitExceededException = exports.CreateChannelResponse = exports.CreateChannelRequest = exports.Tag = exports.ChannelModeratorSummary = exports.ChannelModerator = void 0;
5
+ exports.UpdateChannelReadMarkerResponse = exports.UpdateChannelReadMarkerRequest = exports.UpdateChannelMessageResponse = exports.UpdateChannelMessageRequest = exports.UpdateChannelFlowResponse = exports.UpdateChannelFlowRequest = exports.UpdateChannelResponse = exports.UpdateChannelRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.SendChannelMessageResponse = exports.SendChannelMessageRequest = exports.RedactChannelMessageResponse = exports.RedactChannelMessageRequest = exports.PutChannelMembershipPreferencesResponse = exports.PutChannelMembershipPreferencesRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListChannelsModeratedByAppInstanceUserResponse = exports.ListChannelsModeratedByAppInstanceUserRequest = exports.ListChannelsAssociatedWithChannelFlowResponse = exports.ListChannelsAssociatedWithChannelFlowRequest = exports.ListChannelsResponse = exports.ListChannelsRequest = exports.ListChannelModeratorsResponse = exports.ListChannelModeratorsRequest = exports.ListChannelMessagesResponse = exports.ListChannelMessagesRequest = exports.SortOrder = exports.ListChannelMembershipsForAppInstanceUserResponse = exports.ListChannelMembershipsForAppInstanceUserRequest = void 0;
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  var AllowNotifications;
8
8
  (function (AllowNotifications) {
@@ -207,12 +207,41 @@ var ChannelFlow;
207
207
  ...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
208
208
  });
209
209
  })(ChannelFlow = exports.ChannelFlow || (exports.ChannelFlow = {}));
210
+ var MessageAttributeValue;
211
+ (function (MessageAttributeValue) {
212
+ MessageAttributeValue.filterSensitiveLog = (obj) => ({
213
+ ...obj,
214
+ ...(obj.StringValues && { StringValues: smithy_client_1.SENSITIVE_STRING }),
215
+ });
216
+ })(MessageAttributeValue = exports.MessageAttributeValue || (exports.MessageAttributeValue = {}));
217
+ var PushNotificationType;
218
+ (function (PushNotificationType) {
219
+ PushNotificationType["DEFAULT"] = "DEFAULT";
220
+ PushNotificationType["VOIP"] = "VOIP";
221
+ })(PushNotificationType = exports.PushNotificationType || (exports.PushNotificationType = {}));
222
+ var PushNotificationConfiguration;
223
+ (function (PushNotificationConfiguration) {
224
+ PushNotificationConfiguration.filterSensitiveLog = (obj) => ({
225
+ ...obj,
226
+ ...(obj.Title && { Title: smithy_client_1.SENSITIVE_STRING }),
227
+ ...(obj.Body && { Body: smithy_client_1.SENSITIVE_STRING }),
228
+ });
229
+ })(PushNotificationConfiguration = exports.PushNotificationConfiguration || (exports.PushNotificationConfiguration = {}));
210
230
  var ChannelMessageCallback;
211
231
  (function (ChannelMessageCallback) {
212
232
  ChannelMessageCallback.filterSensitiveLog = (obj) => ({
213
233
  ...obj,
214
234
  ...(obj.Content && { Content: smithy_client_1.SENSITIVE_STRING }),
215
235
  ...(obj.Metadata && { Metadata: smithy_client_1.SENSITIVE_STRING }),
236
+ ...(obj.PushNotification && {
237
+ PushNotification: PushNotificationConfiguration.filterSensitiveLog(obj.PushNotification),
238
+ }),
239
+ ...(obj.MessageAttributes && {
240
+ MessageAttributes: Object.entries(obj.MessageAttributes).reduce((acc, [key, value]) => ({
241
+ ...acc,
242
+ [key]: MessageAttributeValue.filterSensitiveLog(value),
243
+ }), {}),
244
+ }),
216
245
  });
217
246
  })(ChannelMessageCallback = exports.ChannelMessageCallback || (exports.ChannelMessageCallback = {}));
218
247
  var ChannelFlowCallbackRequest;
@@ -282,13 +311,6 @@ var ChannelMembershipSummary;
282
311
  ...(obj.Member && { Member: Identity.filterSensitiveLog(obj.Member) }),
283
312
  });
284
313
  })(ChannelMembershipSummary = exports.ChannelMembershipSummary || (exports.ChannelMembershipSummary = {}));
285
- var MessageAttributeValue;
286
- (function (MessageAttributeValue) {
287
- MessageAttributeValue.filterSensitiveLog = (obj) => ({
288
- ...obj,
289
- ...(obj.StringValues && { StringValues: smithy_client_1.SENSITIVE_STRING }),
290
- });
291
- })(MessageAttributeValue = exports.MessageAttributeValue || (exports.MessageAttributeValue = {}));
292
314
  var ChannelMessagePersistenceType;
293
315
  (function (ChannelMessagePersistenceType) {
294
316
  ChannelMessagePersistenceType["NON_PERSISTENT"] = "NON_PERSISTENT";
@@ -835,19 +857,6 @@ var RedactChannelMessageResponse;
835
857
  ...obj,
836
858
  });
837
859
  })(RedactChannelMessageResponse = exports.RedactChannelMessageResponse || (exports.RedactChannelMessageResponse = {}));
838
- var PushNotificationType;
839
- (function (PushNotificationType) {
840
- PushNotificationType["DEFAULT"] = "DEFAULT";
841
- PushNotificationType["VOIP"] = "VOIP";
842
- })(PushNotificationType = exports.PushNotificationType || (exports.PushNotificationType = {}));
843
- var PushNotificationConfiguration;
844
- (function (PushNotificationConfiguration) {
845
- PushNotificationConfiguration.filterSensitiveLog = (obj) => ({
846
- ...obj,
847
- ...(obj.Title && { Title: smithy_client_1.SENSITIVE_STRING }),
848
- ...(obj.Body && { Body: smithy_client_1.SENSITIVE_STRING }),
849
- });
850
- })(PushNotificationConfiguration = exports.PushNotificationConfiguration || (exports.PushNotificationConfiguration = {}));
851
860
  var SendChannelMessageRequest;
852
861
  (function (SendChannelMessageRequest) {
853
862
  SendChannelMessageRequest.filterSensitiveLog = (obj) => ({
@@ -5913,8 +5913,16 @@ const serializeAws_restJson1ChannelMembershipPreferences = (input, context) => {
5913
5913
  const serializeAws_restJson1ChannelMessageCallback = (input, context) => {
5914
5914
  return {
5915
5915
  ...(input.Content !== undefined && input.Content !== null && { Content: input.Content }),
5916
+ ...(input.MessageAttributes !== undefined &&
5917
+ input.MessageAttributes !== null && {
5918
+ MessageAttributes: serializeAws_restJson1MessageAttributeMap(input.MessageAttributes, context),
5919
+ }),
5916
5920
  ...(input.MessageId !== undefined && input.MessageId !== null && { MessageId: input.MessageId }),
5917
5921
  ...(input.Metadata !== undefined && input.Metadata !== null && { Metadata: input.Metadata }),
5922
+ ...(input.PushNotification !== undefined &&
5923
+ input.PushNotification !== null && {
5924
+ PushNotification: serializeAws_restJson1PushNotificationConfiguration(input.PushNotification, context),
5925
+ }),
5918
5926
  };
5919
5927
  };
5920
5928
  const serializeAws_restJson1LambdaConfiguration = (input, context) => {
@@ -25,6 +25,7 @@ var partitionHash = {
25
25
  "ap-south-1",
26
26
  "ap-southeast-1",
27
27
  "ap-southeast-2",
28
+ "ap-southeast-3",
28
29
  "ca-central-1",
29
30
  "eu-central-1",
30
31
  "eu-north-1",
@@ -90,6 +91,10 @@ var partitionHash = {
90
91
  hostname: "messaging-chime.{region}.c2s.ic.gov",
91
92
  tags: [],
92
93
  },
94
+ {
95
+ hostname: "messaging-chime-fips.{region}.c2s.ic.gov",
96
+ tags: ["fips"],
97
+ },
93
98
  ],
94
99
  },
95
100
  "aws-iso-b": {
@@ -100,6 +105,10 @@ var partitionHash = {
100
105
  hostname: "messaging-chime.{region}.sc2s.sgov.gov",
101
106
  tags: [],
102
107
  },
108
+ {
109
+ hostname: "messaging-chime-fips.{region}.sc2s.sgov.gov",
110
+ tags: ["fips"],
111
+ },
103
112
  ],
104
113
  },
105
114
  "aws-us-gov": {
@@ -142,9 +142,30 @@ export var ChannelFlow;
142
142
  (function (ChannelFlow) {
143
143
  ChannelFlow.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Processors && { Processors: obj.Processors.map(function (item) { return Processor.filterSensitiveLog(item); }) })), (obj.Name && { Name: SENSITIVE_STRING }))); };
144
144
  })(ChannelFlow || (ChannelFlow = {}));
145
+ export var MessageAttributeValue;
146
+ (function (MessageAttributeValue) {
147
+ MessageAttributeValue.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.StringValues && { StringValues: SENSITIVE_STRING }))); };
148
+ })(MessageAttributeValue || (MessageAttributeValue = {}));
149
+ export var PushNotificationType;
150
+ (function (PushNotificationType) {
151
+ PushNotificationType["DEFAULT"] = "DEFAULT";
152
+ PushNotificationType["VOIP"] = "VOIP";
153
+ })(PushNotificationType || (PushNotificationType = {}));
154
+ export var PushNotificationConfiguration;
155
+ (function (PushNotificationConfiguration) {
156
+ PushNotificationConfiguration.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Title && { Title: SENSITIVE_STRING })), (obj.Body && { Body: SENSITIVE_STRING }))); };
157
+ })(PushNotificationConfiguration || (PushNotificationConfiguration = {}));
145
158
  export var ChannelMessageCallback;
146
159
  (function (ChannelMessageCallback) {
147
- ChannelMessageCallback.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Content && { Content: SENSITIVE_STRING })), (obj.Metadata && { Metadata: SENSITIVE_STRING }))); };
160
+ ChannelMessageCallback.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.Content && { Content: SENSITIVE_STRING })), (obj.Metadata && { Metadata: SENSITIVE_STRING })), (obj.PushNotification && {
161
+ PushNotification: PushNotificationConfiguration.filterSensitiveLog(obj.PushNotification),
162
+ })), (obj.MessageAttributes && {
163
+ MessageAttributes: Object.entries(obj.MessageAttributes).reduce(function (acc, _a) {
164
+ var _b;
165
+ var _c = __read(_a, 2), key = _c[0], value = _c[1];
166
+ return (__assign(__assign({}, acc), (_b = {}, _b[key] = MessageAttributeValue.filterSensitiveLog(value), _b)));
167
+ }, {}),
168
+ }))); };
148
169
  })(ChannelMessageCallback || (ChannelMessageCallback = {}));
149
170
  export var ChannelFlowCallbackRequest;
150
171
  (function (ChannelFlowCallbackRequest) {
@@ -184,10 +205,6 @@ export var ChannelMembershipSummary;
184
205
  (function (ChannelMembershipSummary) {
185
206
  ChannelMembershipSummary.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Member && { Member: Identity.filterSensitiveLog(obj.Member) }))); };
186
207
  })(ChannelMembershipSummary || (ChannelMembershipSummary = {}));
187
- export var MessageAttributeValue;
188
- (function (MessageAttributeValue) {
189
- MessageAttributeValue.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.StringValues && { StringValues: SENSITIVE_STRING }))); };
190
- })(MessageAttributeValue || (MessageAttributeValue = {}));
191
208
  export var ChannelMessagePersistenceType;
192
209
  (function (ChannelMessagePersistenceType) {
193
210
  ChannelMessagePersistenceType["NON_PERSISTENT"] = "NON_PERSISTENT";
@@ -528,15 +545,6 @@ export var RedactChannelMessageResponse;
528
545
  (function (RedactChannelMessageResponse) {
529
546
  RedactChannelMessageResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
530
547
  })(RedactChannelMessageResponse || (RedactChannelMessageResponse = {}));
531
- export var PushNotificationType;
532
- (function (PushNotificationType) {
533
- PushNotificationType["DEFAULT"] = "DEFAULT";
534
- PushNotificationType["VOIP"] = "VOIP";
535
- })(PushNotificationType || (PushNotificationType = {}));
536
- export var PushNotificationConfiguration;
537
- (function (PushNotificationConfiguration) {
538
- PushNotificationConfiguration.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Title && { Title: SENSITIVE_STRING })), (obj.Body && { Body: SENSITIVE_STRING }))); };
539
- })(PushNotificationConfiguration || (PushNotificationConfiguration = {}));
540
548
  export var SendChannelMessageRequest;
541
549
  (function (SendChannelMessageRequest) {
542
550
  SendChannelMessageRequest.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign(__assign({}, obj), (obj.Content && { Content: SENSITIVE_STRING })), (obj.Metadata && { Metadata: SENSITIVE_STRING })), (obj.ClientRequestToken && { ClientRequestToken: SENSITIVE_STRING })), (obj.PushNotification && {
@@ -6586,7 +6586,13 @@ var serializeAws_restJson1ChannelMembershipPreferences = function (input, contex
6586
6586
  }));
6587
6587
  };
6588
6588
  var serializeAws_restJson1ChannelMessageCallback = function (input, context) {
6589
- return __assign(__assign(__assign({}, (input.Content !== undefined && input.Content !== null && { Content: input.Content })), (input.MessageId !== undefined && input.MessageId !== null && { MessageId: input.MessageId })), (input.Metadata !== undefined && input.Metadata !== null && { Metadata: input.Metadata }));
6589
+ return __assign(__assign(__assign(__assign(__assign({}, (input.Content !== undefined && input.Content !== null && { Content: input.Content })), (input.MessageAttributes !== undefined &&
6590
+ input.MessageAttributes !== null && {
6591
+ MessageAttributes: serializeAws_restJson1MessageAttributeMap(input.MessageAttributes, context),
6592
+ })), (input.MessageId !== undefined && input.MessageId !== null && { MessageId: input.MessageId })), (input.Metadata !== undefined && input.Metadata !== null && { Metadata: input.Metadata })), (input.PushNotification !== undefined &&
6593
+ input.PushNotification !== null && {
6594
+ PushNotification: serializeAws_restJson1PushNotificationConfiguration(input.PushNotification, context),
6595
+ }));
6590
6596
  };
6591
6597
  var serializeAws_restJson1LambdaConfiguration = function (input, context) {
6592
6598
  return __assign(__assign({}, (input.InvocationType !== undefined &&
@@ -26,7 +26,7 @@ export interface AssociateChannelFlowCommandOutput extends __MetadataBearer {
26
26
  *
27
27
  * @see {@link AssociateChannelFlowCommandInput} for command's `input` shape.
28
28
  * @see {@link AssociateChannelFlowCommandOutput} for command's `response` shape.
29
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
29
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
30
30
  *
31
31
  */
32
32
  export declare class AssociateChannelFlowCommand extends $Command<AssociateChannelFlowCommandInput, AssociateChannelFlowCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface BatchCreateChannelMembershipCommandOutput extends BatchCreateCh
20
20
  *
21
21
  * @see {@link BatchCreateChannelMembershipCommandInput} for command's `input` shape.
22
22
  * @see {@link BatchCreateChannelMembershipCommandOutput} for command's `response` shape.
23
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class BatchCreateChannelMembershipCommand extends $Command<BatchCreateChannelMembershipCommandInput, BatchCreateChannelMembershipCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -32,7 +32,7 @@ export interface ChannelFlowCallbackCommandOutput extends ChannelFlowCallbackRes
32
32
  *
33
33
  * @see {@link ChannelFlowCallbackCommandInput} for command's `input` shape.
34
34
  * @see {@link ChannelFlowCallbackCommandOutput} for command's `response` shape.
35
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
35
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
36
36
  *
37
37
  */
38
38
  export declare class ChannelFlowCallbackCommand extends $Command<ChannelFlowCallbackCommandInput, ChannelFlowCallbackCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -31,7 +31,7 @@ export interface CreateChannelBanCommandOutput extends CreateChannelBanResponse,
31
31
  *
32
32
  * @see {@link CreateChannelBanCommandInput} for command's `input` shape.
33
33
  * @see {@link CreateChannelBanCommandOutput} for command's `response` shape.
34
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
34
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
35
35
  *
36
36
  */
37
37
  export declare class CreateChannelBanCommand extends $Command<CreateChannelBanCommandInput, CreateChannelBanCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -30,7 +30,7 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
30
30
  *
31
31
  * @see {@link CreateChannelCommandInput} for command's `input` shape.
32
32
  * @see {@link CreateChannelCommandOutput} for command's `response` shape.
33
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
33
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
34
34
  *
35
35
  */
36
36
  export declare class CreateChannelCommand extends $Command<CreateChannelCommandInput, CreateChannelCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -41,7 +41,7 @@ export interface CreateChannelFlowCommandOutput extends CreateChannelFlowRespons
41
41
  *
42
42
  * @see {@link CreateChannelFlowCommandInput} for command's `input` shape.
43
43
  * @see {@link CreateChannelFlowCommandOutput} for command's `response` shape.
44
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
44
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
45
45
  *
46
46
  */
47
47
  export declare class CreateChannelFlowCommand extends $Command<CreateChannelFlowCommandInput, CreateChannelFlowCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -57,7 +57,7 @@ export interface CreateChannelMembershipCommandOutput extends CreateChannelMembe
57
57
  *
58
58
  * @see {@link CreateChannelMembershipCommandInput} for command's `input` shape.
59
59
  * @see {@link CreateChannelMembershipCommandOutput} for command's `response` shape.
60
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
60
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
61
61
  *
62
62
  */
63
63
  export declare class CreateChannelMembershipCommand extends $Command<CreateChannelMembershipCommandInput, CreateChannelMembershipCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -44,7 +44,7 @@ export interface CreateChannelModeratorCommandOutput extends CreateChannelModera
44
44
  *
45
45
  * @see {@link CreateChannelModeratorCommandInput} for command's `input` shape.
46
46
  * @see {@link CreateChannelModeratorCommandOutput} for command's `response` shape.
47
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
47
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
48
48
  *
49
49
  */
50
50
  export declare class CreateChannelModeratorCommand extends $Command<CreateChannelModeratorCommandInput, CreateChannelModeratorCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -26,7 +26,7 @@ export interface DeleteChannelBanCommandOutput extends __MetadataBearer {
26
26
  *
27
27
  * @see {@link DeleteChannelBanCommandInput} for command's `input` shape.
28
28
  * @see {@link DeleteChannelBanCommandOutput} for command's `response` shape.
29
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
29
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
30
30
  *
31
31
  */
32
32
  export declare class DeleteChannelBanCommand extends $Command<DeleteChannelBanCommandInput, DeleteChannelBanCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -27,7 +27,7 @@ export interface DeleteChannelCommandOutput extends __MetadataBearer {
27
27
  *
28
28
  * @see {@link DeleteChannelCommandInput} for command's `input` shape.
29
29
  * @see {@link DeleteChannelCommandOutput} for command's `response` shape.
30
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
30
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
31
31
  *
32
32
  */
33
33
  export declare class DeleteChannelCommand extends $Command<DeleteChannelCommandInput, DeleteChannelCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -24,7 +24,7 @@ export interface DeleteChannelFlowCommandOutput extends __MetadataBearer {
24
24
  *
25
25
  * @see {@link DeleteChannelFlowCommandInput} for command's `input` shape.
26
26
  * @see {@link DeleteChannelFlowCommandOutput} for command's `response` shape.
27
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
27
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
28
28
  *
29
29
  */
30
30
  export declare class DeleteChannelFlowCommand extends $Command<DeleteChannelFlowCommandInput, DeleteChannelFlowCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -26,7 +26,7 @@ export interface DeleteChannelMembershipCommandOutput extends __MetadataBearer {
26
26
  *
27
27
  * @see {@link DeleteChannelMembershipCommandInput} for command's `input` shape.
28
28
  * @see {@link DeleteChannelMembershipCommandOutput} for command's `response` shape.
29
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
29
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
30
30
  *
31
31
  */
32
32
  export declare class DeleteChannelMembershipCommand extends $Command<DeleteChannelMembershipCommandInput, DeleteChannelMembershipCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -28,7 +28,7 @@ export interface DeleteChannelMessageCommandOutput extends __MetadataBearer {
28
28
  *
29
29
  * @see {@link DeleteChannelMessageCommandInput} for command's `input` shape.
30
30
  * @see {@link DeleteChannelMessageCommandOutput} for command's `response` shape.
31
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
31
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
32
32
  *
33
33
  */
34
34
  export declare class DeleteChannelMessageCommand extends $Command<DeleteChannelMessageCommandInput, DeleteChannelMessageCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -26,7 +26,7 @@ export interface DeleteChannelModeratorCommandOutput extends __MetadataBearer {
26
26
  *
27
27
  * @see {@link DeleteChannelModeratorCommandInput} for command's `input` shape.
28
28
  * @see {@link DeleteChannelModeratorCommandOutput} for command's `response` shape.
29
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
29
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
30
30
  *
31
31
  */
32
32
  export declare class DeleteChannelModeratorCommand extends $Command<DeleteChannelModeratorCommandInput, DeleteChannelModeratorCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -27,7 +27,7 @@ export interface DescribeChannelBanCommandOutput extends DescribeChannelBanRespo
27
27
  *
28
28
  * @see {@link DescribeChannelBanCommandInput} for command's `input` shape.
29
29
  * @see {@link DescribeChannelBanCommandOutput} for command's `response` shape.
30
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
30
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
31
31
  *
32
32
  */
33
33
  export declare class DescribeChannelBanCommand extends $Command<DescribeChannelBanCommandInput, DescribeChannelBanCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -28,7 +28,7 @@ export interface DescribeChannelCommandOutput extends DescribeChannelResponse, _
28
28
  *
29
29
  * @see {@link DescribeChannelCommandInput} for command's `input` shape.
30
30
  * @see {@link DescribeChannelCommandOutput} for command's `response` shape.
31
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
31
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
32
32
  *
33
33
  */
34
34
  export declare class DescribeChannelCommand extends $Command<DescribeChannelCommandInput, DescribeChannelCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface DescribeChannelFlowCommandOutput extends DescribeChannelFlowRes
20
20
  *
21
21
  * @see {@link DescribeChannelFlowCommandInput} for command's `input` shape.
22
22
  * @see {@link DescribeChannelFlowCommandOutput} for command's `response` shape.
23
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DescribeChannelFlowCommand extends $Command<DescribeChannelFlowCommandInput, DescribeChannelFlowCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -25,7 +25,7 @@ export interface DescribeChannelMembershipCommandOutput extends DescribeChannelM
25
25
  *
26
26
  * @see {@link DescribeChannelMembershipCommandInput} for command's `input` shape.
27
27
  * @see {@link DescribeChannelMembershipCommandOutput} for command's `response` shape.
28
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
28
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
29
29
  *
30
30
  */
31
31
  export declare class DescribeChannelMembershipCommand extends $Command<DescribeChannelMembershipCommandInput, DescribeChannelMembershipCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -27,7 +27,7 @@ export interface DescribeChannelMembershipForAppInstanceUserCommandOutput extend
27
27
  *
28
28
  * @see {@link DescribeChannelMembershipForAppInstanceUserCommandInput} for command's `input` shape.
29
29
  * @see {@link DescribeChannelMembershipForAppInstanceUserCommandOutput} for command's `response` shape.
30
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
30
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
31
31
  *
32
32
  */
33
33
  export declare class DescribeChannelMembershipForAppInstanceUserCommand extends $Command<DescribeChannelMembershipForAppInstanceUserCommandInput, DescribeChannelMembershipForAppInstanceUserCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -27,7 +27,7 @@ export interface DescribeChannelModeratedByAppInstanceUserCommandOutput extends
27
27
  *
28
28
  * @see {@link DescribeChannelModeratedByAppInstanceUserCommandInput} for command's `input` shape.
29
29
  * @see {@link DescribeChannelModeratedByAppInstanceUserCommandOutput} for command's `response` shape.
30
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
30
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
31
31
  *
32
32
  */
33
33
  export declare class DescribeChannelModeratedByAppInstanceUserCommand extends $Command<DescribeChannelModeratedByAppInstanceUserCommandInput, DescribeChannelModeratedByAppInstanceUserCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -25,7 +25,7 @@ export interface DescribeChannelModeratorCommandOutput extends DescribeChannelMo
25
25
  *
26
26
  * @see {@link DescribeChannelModeratorCommandInput} for command's `input` shape.
27
27
  * @see {@link DescribeChannelModeratorCommandOutput} for command's `response` shape.
28
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
28
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
29
29
  *
30
30
  */
31
31
  export declare class DescribeChannelModeratorCommand extends $Command<DescribeChannelModeratorCommandInput, DescribeChannelModeratorCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -25,7 +25,7 @@ export interface DisassociateChannelFlowCommandOutput extends __MetadataBearer {
25
25
  *
26
26
  * @see {@link DisassociateChannelFlowCommandInput} for command's `input` shape.
27
27
  * @see {@link DisassociateChannelFlowCommandOutput} for command's `response` shape.
28
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
28
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
29
29
  *
30
30
  */
31
31
  export declare class DisassociateChannelFlowCommand extends $Command<DisassociateChannelFlowCommandInput, DisassociateChannelFlowCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -22,7 +22,7 @@ export interface GetChannelMembershipPreferencesCommandOutput extends GetChannel
22
22
  *
23
23
  * @see {@link GetChannelMembershipPreferencesCommandInput} for command's `input` shape.
24
24
  * @see {@link GetChannelMembershipPreferencesCommandOutput} for command's `response` shape.
25
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
25
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
26
26
  *
27
27
  */
28
28
  export declare class GetChannelMembershipPreferencesCommand extends $Command<GetChannelMembershipPreferencesCommandInput, GetChannelMembershipPreferencesCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -26,7 +26,7 @@ export interface GetChannelMessageCommandOutput extends GetChannelMessageRespons
26
26
  *
27
27
  * @see {@link GetChannelMessageCommandInput} for command's `input` shape.
28
28
  * @see {@link GetChannelMessageCommandOutput} for command's `response` shape.
29
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
29
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
30
30
  *
31
31
  */
32
32
  export declare class GetChannelMessageCommand extends $Command<GetChannelMessageCommandInput, GetChannelMessageCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -56,7 +56,7 @@ export interface GetChannelMessageStatusCommandOutput extends GetChannelMessageS
56
56
  *
57
57
  * @see {@link GetChannelMessageStatusCommandInput} for command's `input` shape.
58
58
  * @see {@link GetChannelMessageStatusCommandOutput} for command's `response` shape.
59
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
59
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
60
60
  *
61
61
  */
62
62
  export declare class GetChannelMessageStatusCommand extends $Command<GetChannelMessageStatusCommandInput, GetChannelMessageStatusCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface GetMessagingSessionEndpointCommandOutput extends GetMessagingSe
20
20
  *
21
21
  * @see {@link GetMessagingSessionEndpointCommandInput} for command's `input` shape.
22
22
  * @see {@link GetMessagingSessionEndpointCommandOutput} for command's `response` shape.
23
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetMessagingSessionEndpointCommand extends $Command<GetMessagingSessionEndpointCommandInput, GetMessagingSessionEndpointCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -26,7 +26,7 @@ export interface ListChannelBansCommandOutput extends ListChannelBansResponse, _
26
26
  *
27
27
  * @see {@link ListChannelBansCommandInput} for command's `input` shape.
28
28
  * @see {@link ListChannelBansCommandOutput} for command's `response` shape.
29
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
29
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
30
30
  *
31
31
  */
32
32
  export declare class ListChannelBansCommand extends $Command<ListChannelBansCommandInput, ListChannelBansCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface ListChannelFlowsCommandOutput extends ListChannelFlowsResponse,
20
20
  *
21
21
  * @see {@link ListChannelFlowsCommandInput} for command's `input` shape.
22
22
  * @see {@link ListChannelFlowsCommandOutput} for command's `response` shape.
23
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class ListChannelFlowsCommand extends $Command<ListChannelFlowsCommandInput, ListChannelFlowsCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -29,7 +29,7 @@ export interface ListChannelMembershipsCommandOutput extends ListChannelMembersh
29
29
  *
30
30
  * @see {@link ListChannelMembershipsCommandInput} for command's `input` shape.
31
31
  * @see {@link ListChannelMembershipsCommandOutput} for command's `response` shape.
32
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
32
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
33
33
  *
34
34
  */
35
35
  export declare class ListChannelMembershipsCommand extends $Command<ListChannelMembershipsCommandInput, ListChannelMembershipsCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -27,7 +27,7 @@ export interface ListChannelMembershipsForAppInstanceUserCommandOutput extends L
27
27
  *
28
28
  * @see {@link ListChannelMembershipsForAppInstanceUserCommandInput} for command's `input` shape.
29
29
  * @see {@link ListChannelMembershipsForAppInstanceUserCommandOutput} for command's `response` shape.
30
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
30
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
31
31
  *
32
32
  */
33
33
  export declare class ListChannelMembershipsForAppInstanceUserCommand extends $Command<ListChannelMembershipsForAppInstanceUserCommandInput, ListChannelMembershipsForAppInstanceUserCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -30,7 +30,7 @@ export interface ListChannelMessagesCommandOutput extends ListChannelMessagesRes
30
30
  *
31
31
  * @see {@link ListChannelMessagesCommandInput} for command's `input` shape.
32
32
  * @see {@link ListChannelMessagesCommandOutput} for command's `response` shape.
33
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
33
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
34
34
  *
35
35
  */
36
36
  export declare class ListChannelMessagesCommand extends $Command<ListChannelMessagesCommandInput, ListChannelMessagesCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -25,7 +25,7 @@ export interface ListChannelModeratorsCommandOutput extends ListChannelModerator
25
25
  *
26
26
  * @see {@link ListChannelModeratorsCommandInput} for command's `input` shape.
27
27
  * @see {@link ListChannelModeratorsCommandOutput} for command's `response` shape.
28
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
28
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
29
29
  *
30
30
  */
31
31
  export declare class ListChannelModeratorsCommand extends $Command<ListChannelModeratorsCommandInput, ListChannelModeratorsCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface ListChannelsAssociatedWithChannelFlowCommandOutput extends List
20
20
  *
21
21
  * @see {@link ListChannelsAssociatedWithChannelFlowCommandInput} for command's `input` shape.
22
22
  * @see {@link ListChannelsAssociatedWithChannelFlowCommandOutput} for command's `response` shape.
23
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class ListChannelsAssociatedWithChannelFlowCommand extends $Command<ListChannelsAssociatedWithChannelFlowCommandInput, ListChannelsAssociatedWithChannelFlowCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -41,7 +41,7 @@ export interface ListChannelsCommandOutput extends ListChannelsResponse, __Metad
41
41
  *
42
42
  * @see {@link ListChannelsCommandInput} for command's `input` shape.
43
43
  * @see {@link ListChannelsCommandOutput} for command's `response` shape.
44
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
44
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
45
45
  *
46
46
  */
47
47
  export declare class ListChannelsCommand extends $Command<ListChannelsCommandInput, ListChannelsCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -26,7 +26,7 @@ export interface ListChannelsModeratedByAppInstanceUserCommandOutput extends Lis
26
26
  *
27
27
  * @see {@link ListChannelsModeratedByAppInstanceUserCommandInput} for command's `input` shape.
28
28
  * @see {@link ListChannelsModeratedByAppInstanceUserCommandOutput} for command's `response` shape.
29
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
29
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
30
30
  *
31
31
  */
32
32
  export declare class ListChannelsModeratedByAppInstanceUserCommand extends $Command<ListChannelsModeratedByAppInstanceUserCommandInput, ListChannelsModeratedByAppInstanceUserCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
20
20
  *
21
21
  * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
22
22
  * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
23
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -22,7 +22,7 @@ export interface PutChannelMembershipPreferencesCommandOutput extends PutChannel
22
22
  *
23
23
  * @see {@link PutChannelMembershipPreferencesCommandInput} for command's `input` shape.
24
24
  * @see {@link PutChannelMembershipPreferencesCommandOutput} for command's `response` shape.
25
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
25
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
26
26
  *
27
27
  */
28
28
  export declare class PutChannelMembershipPreferencesCommand extends $Command<PutChannelMembershipPreferencesCommandInput, PutChannelMembershipPreferencesCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -27,7 +27,7 @@ export interface RedactChannelMessageCommandOutput extends RedactChannelMessageR
27
27
  *
28
28
  * @see {@link RedactChannelMessageCommandInput} for command's `input` shape.
29
29
  * @see {@link RedactChannelMessageCommandOutput} for command's `response` shape.
30
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
30
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
31
31
  *
32
32
  */
33
33
  export declare class RedactChannelMessageCommand extends $Command<RedactChannelMessageCommandInput, RedactChannelMessageCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -29,7 +29,7 @@ export interface SendChannelMessageCommandOutput extends SendChannelMessageRespo
29
29
  *
30
30
  * @see {@link SendChannelMessageCommandInput} for command's `input` shape.
31
31
  * @see {@link SendChannelMessageCommandOutput} for command's `response` shape.
32
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
32
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
33
33
  *
34
34
  */
35
35
  export declare class SendChannelMessageCommand extends $Command<SendChannelMessageCommandInput, SendChannelMessageCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
20
20
  *
21
21
  * @see {@link TagResourceCommandInput} for command's `input` shape.
22
22
  * @see {@link TagResourceCommandOutput} for command's `response` shape.
23
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
20
20
  *
21
21
  * @see {@link UntagResourceCommandInput} for command's `input` shape.
22
22
  * @see {@link UntagResourceCommandOutput} for command's `response` shape.
23
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -27,7 +27,7 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
27
27
  *
28
28
  * @see {@link UpdateChannelCommandInput} for command's `input` shape.
29
29
  * @see {@link UpdateChannelCommandOutput} for command's `response` shape.
30
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
30
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
31
31
  *
32
32
  */
33
33
  export declare class UpdateChannelCommand extends $Command<UpdateChannelCommandInput, UpdateChannelCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface UpdateChannelFlowCommandOutput extends UpdateChannelFlowRespons
20
20
  *
21
21
  * @see {@link UpdateChannelFlowCommandInput} for command's `input` shape.
22
22
  * @see {@link UpdateChannelFlowCommandOutput} for command's `response` shape.
23
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class UpdateChannelFlowCommand extends $Command<UpdateChannelFlowCommandInput, UpdateChannelFlowCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -26,7 +26,7 @@ export interface UpdateChannelMessageCommandOutput extends UpdateChannelMessageR
26
26
  *
27
27
  * @see {@link UpdateChannelMessageCommandInput} for command's `input` shape.
28
28
  * @see {@link UpdateChannelMessageCommandOutput} for command's `response` shape.
29
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
29
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
30
30
  *
31
31
  */
32
32
  export declare class UpdateChannelMessageCommand extends $Command<UpdateChannelMessageCommandInput, UpdateChannelMessageCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -26,7 +26,7 @@ export interface UpdateChannelReadMarkerCommandOutput extends UpdateChannelReadM
26
26
  *
27
27
  * @see {@link UpdateChannelReadMarkerCommandInput} for command's `input` shape.
28
28
  * @see {@link UpdateChannelReadMarkerCommandOutput} for command's `response` shape.
29
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
29
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
30
30
  *
31
31
  */
32
32
  export declare class UpdateChannelReadMarkerCommand extends $Command<UpdateChannelReadMarkerCommandInput, UpdateChannelReadMarkerCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
@@ -534,6 +534,50 @@ export declare namespace ChannelFlow {
534
534
  */
535
535
  const filterSensitiveLog: (obj: ChannelFlow) => any;
536
536
  }
537
+ /**
538
+ * <p>A list of message attribute values.</p>
539
+ */
540
+ export interface MessageAttributeValue {
541
+ /**
542
+ * <p>The strings in a message attribute value.</p>
543
+ */
544
+ StringValues?: string[];
545
+ }
546
+ export declare namespace MessageAttributeValue {
547
+ /**
548
+ * @internal
549
+ */
550
+ const filterSensitiveLog: (obj: MessageAttributeValue) => any;
551
+ }
552
+ export declare enum PushNotificationType {
553
+ DEFAULT = "DEFAULT",
554
+ VOIP = "VOIP"
555
+ }
556
+ /**
557
+ * <p>The push notification configuration of the message.</p>
558
+ */
559
+ export interface PushNotificationConfiguration {
560
+ /**
561
+ * <p>The title of the push notification.</p>
562
+ */
563
+ Title?: string;
564
+ /**
565
+ * <p>The body of the push notification.</p>
566
+ */
567
+ Body?: string;
568
+ /**
569
+ * <p>Enum value that indicates the type of the push notification for a message.
570
+ * <code>DEFAULT</code>: Normal mobile push notification.
571
+ * <code>VOIP</code>: VOIP mobile push notification.</p>
572
+ */
573
+ Type?: PushNotificationType | string;
574
+ }
575
+ export declare namespace PushNotificationConfiguration {
576
+ /**
577
+ * @internal
578
+ */
579
+ const filterSensitiveLog: (obj: PushNotificationConfiguration) => any;
580
+ }
537
581
  /**
538
582
  * <p>Stores information about a callback.</p>
539
583
  */
@@ -550,6 +594,16 @@ export interface ChannelMessageCallback {
550
594
  * <p>The message metadata.</p>
551
595
  */
552
596
  Metadata?: string;
597
+ /**
598
+ * <p>The push notification configuration of the message.</p>
599
+ */
600
+ PushNotification?: PushNotificationConfiguration;
601
+ /**
602
+ * <p>The attributes for the message, used for message filtering along with a <code>FilterRule</code> defined in the <code>PushNotificationPreferences</code>. </p>
603
+ */
604
+ MessageAttributes?: {
605
+ [key: string]: MessageAttributeValue;
606
+ };
553
607
  }
554
608
  export declare namespace ChannelMessageCallback {
555
609
  /**
@@ -760,21 +814,6 @@ export declare namespace ChannelMembershipSummary {
760
814
  */
761
815
  const filterSensitiveLog: (obj: ChannelMembershipSummary) => any;
762
816
  }
763
- /**
764
- * <p>A list of message attribute values.</p>
765
- */
766
- export interface MessageAttributeValue {
767
- /**
768
- * <p>The strings in a message attribute value.</p>
769
- */
770
- StringValues?: string[];
771
- }
772
- export declare namespace MessageAttributeValue {
773
- /**
774
- * @internal
775
- */
776
- const filterSensitiveLog: (obj: MessageAttributeValue) => any;
777
- }
778
817
  export declare enum ChannelMessagePersistenceType {
779
818
  NON_PERSISTENT = "NON_PERSISTENT",
780
819
  PERSISTENT = "PERSISTENT"
@@ -1801,9 +1840,9 @@ export interface ListChannelMembershipsRequest {
1801
1840
  ChannelArn: string | undefined;
1802
1841
  /**
1803
1842
  * <p>The membership type of a user, <code>DEFAULT</code> or <code>HIDDEN</code>. Default
1804
- * members are always returned as part of <code>ListChannelMemberships</code>. Hidden members
1843
+ * members are returned as part of <code>ListChannelMemberships</code> if no type is specified. Hidden members
1805
1844
  * are only returned if the type filter in <code>ListChannelMemberships</code> equals
1806
- * <code>HIDDEN</code>. Otherwise hidden members are not returned.</p>
1845
+ * <code>HIDDEN</code>.</p>
1807
1846
  */
1808
1847
  Type?: ChannelMembershipType | string;
1809
1848
  /**
@@ -2224,35 +2263,6 @@ export declare namespace RedactChannelMessageResponse {
2224
2263
  */
2225
2264
  const filterSensitiveLog: (obj: RedactChannelMessageResponse) => any;
2226
2265
  }
2227
- export declare enum PushNotificationType {
2228
- DEFAULT = "DEFAULT",
2229
- VOIP = "VOIP"
2230
- }
2231
- /**
2232
- * <p>The push notification configuration of the message.</p>
2233
- */
2234
- export interface PushNotificationConfiguration {
2235
- /**
2236
- * <p>The title of the push notification.</p>
2237
- */
2238
- Title: string | undefined;
2239
- /**
2240
- * <p>The body of the push notification.</p>
2241
- */
2242
- Body: string | undefined;
2243
- /**
2244
- * <p>Enum value that indicates the type of the push notification for a message.
2245
- * <code>DEFAULT</code>: Normal mobile push notification.
2246
- * <code>VOIP</code>: VOIP mobile push notification.</p>
2247
- */
2248
- Type: PushNotificationType | string | undefined;
2249
- }
2250
- export declare namespace PushNotificationConfiguration {
2251
- /**
2252
- * @internal
2253
- */
2254
- const filterSensitiveLog: (obj: PushNotificationConfiguration) => any;
2255
- }
2256
2266
  export interface SendChannelMessageRequest {
2257
2267
  /**
2258
2268
  * <p>The ARN of the channel.</p>
@@ -335,6 +335,32 @@ export declare namespace ChannelFlow {
335
335
  const filterSensitiveLog: (obj: ChannelFlow) => any;
336
336
  }
337
337
 
338
+ export interface MessageAttributeValue {
339
+
340
+ StringValues?: string[];
341
+ }
342
+ export declare namespace MessageAttributeValue {
343
+
344
+ const filterSensitiveLog: (obj: MessageAttributeValue) => any;
345
+ }
346
+ export declare enum PushNotificationType {
347
+ DEFAULT = "DEFAULT",
348
+ VOIP = "VOIP"
349
+ }
350
+
351
+ export interface PushNotificationConfiguration {
352
+
353
+ Title?: string;
354
+
355
+ Body?: string;
356
+
357
+ Type?: PushNotificationType | string;
358
+ }
359
+ export declare namespace PushNotificationConfiguration {
360
+
361
+ const filterSensitiveLog: (obj: PushNotificationConfiguration) => any;
362
+ }
363
+
338
364
  export interface ChannelMessageCallback {
339
365
 
340
366
  MessageId: string | undefined;
@@ -342,6 +368,12 @@ export interface ChannelMessageCallback {
342
368
  Content?: string;
343
369
 
344
370
  Metadata?: string;
371
+
372
+ PushNotification?: PushNotificationConfiguration;
373
+
374
+ MessageAttributes?: {
375
+ [key: string]: MessageAttributeValue;
376
+ };
345
377
  }
346
378
  export declare namespace ChannelMessageCallback {
347
379
 
@@ -462,15 +494,6 @@ export declare namespace ChannelMembershipSummary {
462
494
 
463
495
  const filterSensitiveLog: (obj: ChannelMembershipSummary) => any;
464
496
  }
465
-
466
- export interface MessageAttributeValue {
467
-
468
- StringValues?: string[];
469
- }
470
- export declare namespace MessageAttributeValue {
471
-
472
- const filterSensitiveLog: (obj: MessageAttributeValue) => any;
473
- }
474
497
  export declare enum ChannelMessagePersistenceType {
475
498
  NON_PERSISTENT = "NON_PERSISTENT",
476
499
  PERSISTENT = "PERSISTENT"
@@ -1336,23 +1359,6 @@ export declare namespace RedactChannelMessageResponse {
1336
1359
 
1337
1360
  const filterSensitiveLog: (obj: RedactChannelMessageResponse) => any;
1338
1361
  }
1339
- export declare enum PushNotificationType {
1340
- DEFAULT = "DEFAULT",
1341
- VOIP = "VOIP"
1342
- }
1343
-
1344
- export interface PushNotificationConfiguration {
1345
-
1346
- Title: string | undefined;
1347
-
1348
- Body: string | undefined;
1349
-
1350
- Type: PushNotificationType | string | undefined;
1351
- }
1352
- export declare namespace PushNotificationConfiguration {
1353
-
1354
- const filterSensitiveLog: (obj: PushNotificationConfiguration) => any;
1355
- }
1356
1362
  export interface SendChannelMessageRequest {
1357
1363
 
1358
1364
  ChannelArn: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-chime-sdk-messaging",
3
3
  "description": "AWS SDK for JavaScript Chime Sdk Messaging Client for Node.js, Browser and React Native",
4
- "version": "3.40.0",
4
+ "version": "3.45.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "2.0.0",
23
23
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.40.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.40.0",
24
+ "@aws-sdk/client-sts": "3.45.0",
25
+ "@aws-sdk/config-resolver": "3.45.0",
26
+ "@aws-sdk/credential-provider-node": "3.45.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.40.0",
28
28
  "@aws-sdk/hash-node": "3.40.0",
29
29
  "@aws-sdk/invalid-dependency": "3.40.0",
@@ -32,13 +32,13 @@
32
32
  "@aws-sdk/middleware-logger": "3.40.0",
33
33
  "@aws-sdk/middleware-retry": "3.40.0",
34
34
  "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
35
+ "@aws-sdk/middleware-signing": "3.45.0",
36
36
  "@aws-sdk/middleware-stack": "3.40.0",
37
37
  "@aws-sdk/middleware-user-agent": "3.40.0",
38
38
  "@aws-sdk/node-config-provider": "3.40.0",
39
39
  "@aws-sdk/node-http-handler": "3.40.0",
40
40
  "@aws-sdk/protocol-http": "3.40.0",
41
- "@aws-sdk/smithy-client": "3.40.0",
41
+ "@aws-sdk/smithy-client": "3.41.0",
42
42
  "@aws-sdk/types": "3.40.0",
43
43
  "@aws-sdk/url-parser": "3.40.0",
44
44
  "@aws-sdk/util-base64-browser": "3.37.0",