@aws-sdk/client-chime-sdk-messaging 3.43.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
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
+
6
17
  # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-chime-sdk-messaging
@@ -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",
@@ -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",
@@ -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 &&
@@ -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.43.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.43.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.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,7 +32,7 @@
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",