@aws-sdk/client-chime-sdk-messaging 3.934.0 → 3.936.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.
@@ -1,18 +1,22 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ChimeSDKMessagingServiceException as __BaseException } from "./ChimeSDKMessagingServiceException";
3
- export declare const AllowNotifications: {
4
- readonly ALL: "ALL";
5
- readonly FILTERED: "FILTERED";
6
- readonly NONE: "NONE";
7
- };
8
- export type AllowNotifications =
9
- (typeof AllowNotifications)[keyof typeof AllowNotifications];
10
- export declare const ChannelMembershipType: {
11
- readonly DEFAULT: "DEFAULT";
12
- readonly HIDDEN: "HIDDEN";
13
- };
14
- export type ChannelMembershipType =
15
- (typeof ChannelMembershipType)[keyof typeof ChannelMembershipType];
1
+ import {
2
+ AllowNotifications,
3
+ ChannelMembershipType,
4
+ ChannelMessagePersistenceType,
5
+ ChannelMessageStatus,
6
+ ChannelMessageType,
7
+ ChannelMode,
8
+ ChannelPrivacy,
9
+ ErrorCode,
10
+ ExpirationCriterion,
11
+ FallbackAction,
12
+ InvocationType,
13
+ MessagingDataType,
14
+ NetworkType,
15
+ PushNotificationType,
16
+ SearchFieldKey,
17
+ SearchFieldOperator,
18
+ SortOrder,
19
+ } from "./enums";
16
20
  export interface AppInstanceUserMembershipSummary {
17
21
  Type?: ChannelMembershipType | undefined;
18
22
  ReadMarkerTimestamp?: Date | undefined;
@@ -23,90 +27,6 @@ export interface AssociateChannelFlowRequest {
23
27
  ChannelFlowArn: string | undefined;
24
28
  ChimeBearer: string | undefined;
25
29
  }
26
- export declare const ErrorCode: {
27
- readonly AccessDenied: "AccessDenied";
28
- readonly BadRequest: "BadRequest";
29
- readonly Conflict: "Conflict";
30
- readonly Forbidden: "Forbidden";
31
- readonly NotFound: "NotFound";
32
- readonly PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist";
33
- readonly PreconditionFailed: "PreconditionFailed";
34
- readonly ResourceLimitExceeded: "ResourceLimitExceeded";
35
- readonly ServiceFailure: "ServiceFailure";
36
- readonly ServiceUnavailable: "ServiceUnavailable";
37
- readonly Throttled: "Throttled";
38
- readonly Throttling: "Throttling";
39
- readonly Unauthorized: "Unauthorized";
40
- readonly Unprocessable: "Unprocessable";
41
- readonly VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist";
42
- };
43
- export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
44
- export declare class BadRequestException extends __BaseException {
45
- readonly name: "BadRequestException";
46
- readonly $fault: "client";
47
- Code?: ErrorCode | undefined;
48
- Message?: string | undefined;
49
- constructor(
50
- opts: __ExceptionOptionType<BadRequestException, __BaseException>
51
- );
52
- }
53
- export declare class ConflictException extends __BaseException {
54
- readonly name: "ConflictException";
55
- readonly $fault: "client";
56
- Code?: ErrorCode | undefined;
57
- Message?: string | undefined;
58
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
59
- }
60
- export declare class ForbiddenException extends __BaseException {
61
- readonly name: "ForbiddenException";
62
- readonly $fault: "client";
63
- Code?: ErrorCode | undefined;
64
- Message?: string | undefined;
65
- constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
66
- }
67
- export declare class NotFoundException extends __BaseException {
68
- readonly name: "NotFoundException";
69
- readonly $fault: "client";
70
- Code?: ErrorCode | undefined;
71
- Message?: string | undefined;
72
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
73
- }
74
- export declare class ServiceFailureException extends __BaseException {
75
- readonly name: "ServiceFailureException";
76
- readonly $fault: "server";
77
- Code?: ErrorCode | undefined;
78
- Message?: string | undefined;
79
- constructor(
80
- opts: __ExceptionOptionType<ServiceFailureException, __BaseException>
81
- );
82
- }
83
- export declare class ServiceUnavailableException extends __BaseException {
84
- readonly name: "ServiceUnavailableException";
85
- readonly $fault: "server";
86
- Code?: ErrorCode | undefined;
87
- Message?: string | undefined;
88
- constructor(
89
- opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
90
- );
91
- }
92
- export declare class ThrottledClientException extends __BaseException {
93
- readonly name: "ThrottledClientException";
94
- readonly $fault: "client";
95
- Code?: ErrorCode | undefined;
96
- Message?: string | undefined;
97
- constructor(
98
- opts: __ExceptionOptionType<ThrottledClientException, __BaseException>
99
- );
100
- }
101
- export declare class UnauthorizedClientException extends __BaseException {
102
- readonly name: "UnauthorizedClientException";
103
- readonly $fault: "client";
104
- Code?: ErrorCode | undefined;
105
- Message?: string | undefined;
106
- constructor(
107
- opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>
108
- );
109
- }
110
30
  export interface Identity {
111
31
  Arn?: string | undefined;
112
32
  Name?: string | undefined;
@@ -134,41 +54,15 @@ export interface BatchCreateChannelMembershipResponse {
134
54
  BatchChannelMemberships?: BatchChannelMemberships | undefined;
135
55
  Errors?: BatchCreateChannelMembershipError[] | undefined;
136
56
  }
137
- export declare class ResourceLimitExceededException extends __BaseException {
138
- readonly name: "ResourceLimitExceededException";
139
- readonly $fault: "client";
140
- Code?: ErrorCode | undefined;
141
- Message?: string | undefined;
142
- constructor(
143
- opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>
144
- );
145
- }
146
57
  export interface ElasticChannelConfiguration {
147
58
  MaximumSubChannels: number | undefined;
148
59
  TargetMembershipsPerSubChannel: number | undefined;
149
60
  MinimumMembershipPercentage: number | undefined;
150
61
  }
151
- export declare const ExpirationCriterion: {
152
- readonly CREATED_TIMESTAMP: "CREATED_TIMESTAMP";
153
- readonly LAST_MESSAGE_TIMESTAMP: "LAST_MESSAGE_TIMESTAMP";
154
- };
155
- export type ExpirationCriterion =
156
- (typeof ExpirationCriterion)[keyof typeof ExpirationCriterion];
157
62
  export interface ExpirationSettings {
158
63
  ExpirationDays: number | undefined;
159
64
  ExpirationCriterion: ExpirationCriterion | undefined;
160
65
  }
161
- export declare const ChannelMode: {
162
- readonly RESTRICTED: "RESTRICTED";
163
- readonly UNRESTRICTED: "UNRESTRICTED";
164
- };
165
- export type ChannelMode = (typeof ChannelMode)[keyof typeof ChannelMode];
166
- export declare const ChannelPrivacy: {
167
- readonly PRIVATE: "PRIVATE";
168
- readonly PUBLIC: "PUBLIC";
169
- };
170
- export type ChannelPrivacy =
171
- (typeof ChannelPrivacy)[keyof typeof ChannelPrivacy];
172
66
  export interface Channel {
173
67
  Name?: string | undefined;
174
68
  ChannelArn?: string | undefined;
@@ -199,11 +93,6 @@ export interface ChannelBan {
199
93
  export interface ChannelBanSummary {
200
94
  Member?: Identity | undefined;
201
95
  }
202
- export declare const InvocationType: {
203
- readonly ASYNC: "ASYNC";
204
- };
205
- export type InvocationType =
206
- (typeof InvocationType)[keyof typeof InvocationType];
207
96
  export interface LambdaConfiguration {
208
97
  ResourceArn: string | undefined;
209
98
  InvocationType: InvocationType | undefined;
@@ -211,12 +100,6 @@ export interface LambdaConfiguration {
211
100
  export interface ProcessorConfiguration {
212
101
  Lambda: LambdaConfiguration | undefined;
213
102
  }
214
- export declare const FallbackAction: {
215
- readonly ABORT: "ABORT";
216
- readonly CONTINUE: "CONTINUE";
217
- };
218
- export type FallbackAction =
219
- (typeof FallbackAction)[keyof typeof FallbackAction];
220
103
  export interface Processor {
221
104
  Name: string | undefined;
222
105
  Configuration: ProcessorConfiguration | undefined;
@@ -233,12 +116,6 @@ export interface ChannelFlow {
233
116
  export interface MessageAttributeValue {
234
117
  StringValues?: string[] | undefined;
235
118
  }
236
- export declare const PushNotificationType: {
237
- readonly DEFAULT: "DEFAULT";
238
- readonly VOIP: "VOIP";
239
- };
240
- export type PushNotificationType =
241
- (typeof PushNotificationType)[keyof typeof PushNotificationType];
242
119
  export interface PushNotificationConfiguration {
243
120
  Title?: string | undefined;
244
121
  Body?: string | undefined;
@@ -301,20 +178,6 @@ export interface ChannelMembershipPreferences {
301
178
  export interface ChannelMembershipSummary {
302
179
  Member?: Identity | undefined;
303
180
  }
304
- export declare const ChannelMessagePersistenceType: {
305
- readonly NON_PERSISTENT: "NON_PERSISTENT";
306
- readonly PERSISTENT: "PERSISTENT";
307
- };
308
- export type ChannelMessagePersistenceType =
309
- (typeof ChannelMessagePersistenceType)[keyof typeof ChannelMessagePersistenceType];
310
- export declare const ChannelMessageStatus: {
311
- readonly DENIED: "DENIED";
312
- readonly FAILED: "FAILED";
313
- readonly PENDING: "PENDING";
314
- readonly SENT: "SENT";
315
- };
316
- export type ChannelMessageStatus =
317
- (typeof ChannelMessageStatus)[keyof typeof ChannelMessageStatus];
318
181
  export interface ChannelMessageStatusStructure {
319
182
  Value?: ChannelMessageStatus | undefined;
320
183
  Detail?: string | undefined;
@@ -322,12 +185,6 @@ export interface ChannelMessageStatusStructure {
322
185
  export interface Target {
323
186
  MemberArn?: string | undefined;
324
187
  }
325
- export declare const ChannelMessageType: {
326
- readonly CONTROL: "CONTROL";
327
- readonly STANDARD: "STANDARD";
328
- };
329
- export type ChannelMessageType =
330
- (typeof ChannelMessageType)[keyof typeof ChannelMessageType];
331
188
  export interface ChannelMessage {
332
189
  ChannelArn?: string | undefined;
333
190
  MessageId?: string | undefined;
@@ -554,11 +411,6 @@ export interface GetChannelMessageStatusRequest {
554
411
  export interface GetChannelMessageStatusResponse {
555
412
  Status?: ChannelMessageStatusStructure | undefined;
556
413
  }
557
- export declare const NetworkType: {
558
- readonly DUAL_STACK: "DUAL_STACK";
559
- readonly IPV4_ONLY: "IPV4_ONLY";
560
- };
561
- export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
562
414
  export interface GetMessagingSessionEndpointRequest {
563
415
  NetworkType?: NetworkType | undefined;
564
416
  }
@@ -571,12 +423,6 @@ export interface GetMessagingSessionEndpointResponse {
571
423
  export interface GetMessagingStreamingConfigurationsRequest {
572
424
  AppInstanceArn: string | undefined;
573
425
  }
574
- export declare const MessagingDataType: {
575
- readonly Channel: "Channel";
576
- readonly ChannelMessage: "ChannelMessage";
577
- };
578
- export type MessagingDataType =
579
- (typeof MessagingDataType)[keyof typeof MessagingDataType];
580
426
  export interface StreamingConfiguration {
581
427
  DataType: MessagingDataType | undefined;
582
428
  ResourceArn: string | undefined;
@@ -627,11 +473,6 @@ export interface ListChannelMembershipsForAppInstanceUserResponse {
627
473
  ChannelMemberships?: ChannelMembershipForAppInstanceUserSummary[] | undefined;
628
474
  NextToken?: string | undefined;
629
475
  }
630
- export declare const SortOrder: {
631
- readonly ASCENDING: "ASCENDING";
632
- readonly DESCENDING: "DESCENDING";
633
- };
634
- export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
635
476
  export interface ListChannelMessagesRequest {
636
477
  ChannelArn: string | undefined;
637
478
  SortOrder?: SortOrder | undefined;
@@ -748,17 +589,6 @@ export interface RedactChannelMessageResponse {
748
589
  MessageId?: string | undefined;
749
590
  SubChannelId?: string | undefined;
750
591
  }
751
- export declare const SearchFieldKey: {
752
- readonly MEMBERS: "MEMBERS";
753
- };
754
- export type SearchFieldKey =
755
- (typeof SearchFieldKey)[keyof typeof SearchFieldKey];
756
- export declare const SearchFieldOperator: {
757
- readonly EQUALS: "EQUALS";
758
- readonly INCLUDES: "INCLUDES";
759
- };
760
- export type SearchFieldOperator =
761
- (typeof SearchFieldOperator)[keyof typeof SearchFieldOperator];
762
592
  export interface SearchField {
763
593
  Key: SearchFieldKey | undefined;
764
594
  Values: 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.934.0",
4
+ "version": "3.936.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-chime-sdk-messaging",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";