@aws-sdk/client-chime-sdk-messaging 3.986.0 → 3.988.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/dist-cjs/index.js +70 -1668
- package/dist-cjs/models/ChimeSDKMessagingServiceException.js +12 -0
- package/dist-cjs/models/errors.js +157 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1285 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +80 -74
- package/dist-types/schemas/schemas_0.d.ts +17 -10
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -10
- package/package.json +13 -13
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultChimeSDKMessagingHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2021-05-15",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.chimesdkmessaging",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2021-05-15",
|
|
30
32
|
serviceTarget: "ChimeMessagingService",
|
|
31
33
|
},
|
|
@@ -13,7 +13,7 @@ const _BCCMR = "BatchCreateChannelMembershipRequest";
|
|
|
13
13
|
const _BCCMRa = "BatchCreateChannelMembershipResponse";
|
|
14
14
|
const _BCM = "BatchChannelMemberships";
|
|
15
15
|
const _BRE = "BadRequestException";
|
|
16
|
-
const _C = "
|
|
16
|
+
const _C = "Code";
|
|
17
17
|
const _CA = "ChannelArn";
|
|
18
18
|
const _CAWFS = "ChannelAssociatedWithFlowSummary";
|
|
19
19
|
const _CAWFSL = "ChannelAssociatedWithFlowSummaryList";
|
|
@@ -76,7 +76,7 @@ const _CT = "ContentType";
|
|
|
76
76
|
const _CTr = "CreatedTimestamp";
|
|
77
77
|
const _Ch = "Channel";
|
|
78
78
|
const _Cha = "Channels";
|
|
79
|
-
const _Co = "
|
|
79
|
+
const _Co = "Content";
|
|
80
80
|
const _Con = "Configuration";
|
|
81
81
|
const _D = "Detail";
|
|
82
82
|
const _DC = "DeleteChannel";
|
|
@@ -188,7 +188,7 @@ const _LTFR = "ListTagsForResource";
|
|
|
188
188
|
const _LTFRR = "ListTagsForResourceRequest";
|
|
189
189
|
const _LTFRRi = "ListTagsForResourceResponse";
|
|
190
190
|
const _LUT = "LastUpdatedTimestamp";
|
|
191
|
-
const _M = "
|
|
191
|
+
const _M = "Message";
|
|
192
192
|
const _MA = "MemberArn";
|
|
193
193
|
const _MAM = "MessageAttributeMap";
|
|
194
194
|
const _MAN = "MessageAttributeName";
|
|
@@ -204,7 +204,7 @@ const _MMP = "MinimumMembershipPercentage";
|
|
|
204
204
|
const _MR = "MaxResults";
|
|
205
205
|
const _MSC = "MaximumSubChannels";
|
|
206
206
|
const _MSE = "MessagingSessionEndpoint";
|
|
207
|
-
const _Me = "
|
|
207
|
+
const _Me = "Metadata";
|
|
208
208
|
const _Mem = "Members";
|
|
209
209
|
const _Memb = "Member";
|
|
210
210
|
const _Mo = "Mode";
|
|
@@ -319,9 +319,9 @@ const _nb = "not-before";
|
|
|
319
319
|
const _nt = "network-type";
|
|
320
320
|
const _nt_ = "next-token";
|
|
321
321
|
const _p = "privacy";
|
|
322
|
-
const _s = "
|
|
322
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.chimesdkmessaging";
|
|
323
323
|
const _sci = "sub-channel-id";
|
|
324
|
-
const
|
|
324
|
+
const _se = "server";
|
|
325
325
|
const _so = "sort-order";
|
|
326
326
|
const _t = "type";
|
|
327
327
|
const _xacb = "x-amz-chime-bearer";
|
|
@@ -329,14 +329,76 @@ const n0 = "com.amazonaws.chimesdkmessaging";
|
|
|
329
329
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
330
330
|
import { ChimeSDKMessagingServiceException } from "../models/ChimeSDKMessagingServiceException";
|
|
331
331
|
import { BadRequestException, ConflictException, ForbiddenException, NotFoundException, ResourceLimitExceededException, ServiceFailureException, ServiceUnavailableException, ThrottledClientException, UnauthorizedClientException, } from "../models/errors";
|
|
332
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
333
|
+
export var ChimeSDKMessagingServiceException$ = [-3, _s, "ChimeSDKMessagingServiceException", 0, [], []];
|
|
334
|
+
_s_registry.registerError(ChimeSDKMessagingServiceException$, ChimeSDKMessagingServiceException);
|
|
335
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
336
|
+
export var BadRequestException$ = [-3, n0, _BRE,
|
|
337
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
338
|
+
[_C, _M],
|
|
339
|
+
[0, 0]
|
|
340
|
+
];
|
|
341
|
+
n0_registry.registerError(BadRequestException$, BadRequestException);
|
|
342
|
+
export var ConflictException$ = [-3, n0, _CE,
|
|
343
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
344
|
+
[_C, _M],
|
|
345
|
+
[0, 0]
|
|
346
|
+
];
|
|
347
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
348
|
+
export var ForbiddenException$ = [-3, n0, _FE,
|
|
349
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
350
|
+
[_C, _M],
|
|
351
|
+
[0, 0]
|
|
352
|
+
];
|
|
353
|
+
n0_registry.registerError(ForbiddenException$, ForbiddenException);
|
|
354
|
+
export var NotFoundException$ = [-3, n0, _NFE,
|
|
355
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
356
|
+
[_C, _M],
|
|
357
|
+
[0, 0]
|
|
358
|
+
];
|
|
359
|
+
n0_registry.registerError(NotFoundException$, NotFoundException);
|
|
360
|
+
export var ResourceLimitExceededException$ = [-3, n0, _RLEE,
|
|
361
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
362
|
+
[_C, _M],
|
|
363
|
+
[0, 0]
|
|
364
|
+
];
|
|
365
|
+
n0_registry.registerError(ResourceLimitExceededException$, ResourceLimitExceededException);
|
|
366
|
+
export var ServiceFailureException$ = [-3, n0, _SFE,
|
|
367
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
368
|
+
[_C, _M],
|
|
369
|
+
[0, 0]
|
|
370
|
+
];
|
|
371
|
+
n0_registry.registerError(ServiceFailureException$, ServiceFailureException);
|
|
372
|
+
export var ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
373
|
+
{ [_e]: _se, [_hE]: 503 },
|
|
374
|
+
[_C, _M],
|
|
375
|
+
[0, 0]
|
|
376
|
+
];
|
|
377
|
+
n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
378
|
+
export var ThrottledClientException$ = [-3, n0, _TCE,
|
|
379
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
380
|
+
[_C, _M],
|
|
381
|
+
[0, 0]
|
|
382
|
+
];
|
|
383
|
+
n0_registry.registerError(ThrottledClientException$, ThrottledClientException);
|
|
384
|
+
export var UnauthorizedClientException$ = [-3, n0, _UCE,
|
|
385
|
+
{ [_e]: _c, [_hE]: 401 },
|
|
386
|
+
[_C, _M],
|
|
387
|
+
[0, 0]
|
|
388
|
+
];
|
|
389
|
+
n0_registry.registerError(UnauthorizedClientException$, UnauthorizedClientException);
|
|
390
|
+
export const errorTypeRegistries = [
|
|
391
|
+
_s_registry,
|
|
392
|
+
n0_registry,
|
|
393
|
+
];
|
|
332
394
|
var ChannelId = [0, n0, _CI, 8, 0];
|
|
333
395
|
var ClientRequestToken = [0, n0, _CRT, 8, 0];
|
|
334
|
-
var Content = [0, n0,
|
|
396
|
+
var Content = [0, n0, _Co, 8, 0];
|
|
335
397
|
var ContentType = [0, n0, _CT, 8, 0];
|
|
336
398
|
var FilterRule = [0, n0, _FR, 8, 0];
|
|
337
399
|
var MessageAttributeName = [0, n0, _MAN, 8, 0];
|
|
338
400
|
var MessageAttributeStringValue = [0, n0, _MASV, 8, 0];
|
|
339
|
-
var Metadata = [0, n0,
|
|
401
|
+
var Metadata = [0, n0, _Me, 8, 0];
|
|
340
402
|
var NextToken = [0, n0, _NT, 8, 0];
|
|
341
403
|
var NonEmptyContent = [0, n0, _NEC, 8, 0];
|
|
342
404
|
var NonEmptyResourceName = [0, n0, _NERN, 8, 0];
|
|
@@ -355,12 +417,6 @@ export var AssociateChannelFlowRequest$ = [3, n0, _ACFR,
|
|
|
355
417
|
[_CA, _CFA, _CB],
|
|
356
418
|
[[0, 1], 0, [0, { [_hH]: _xacb }]], 3
|
|
357
419
|
];
|
|
358
|
-
export var BadRequestException$ = [-3, n0, _BRE,
|
|
359
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
360
|
-
[_Co, _Me],
|
|
361
|
-
[0, 0]
|
|
362
|
-
];
|
|
363
|
-
TypeRegistry.for(n0).registerError(BadRequestException$, BadRequestException);
|
|
364
420
|
export var BatchChannelMemberships$ = [3, n0, _BCM,
|
|
365
421
|
0,
|
|
366
422
|
[_IB, _T, _Mem, _CA, _SCI],
|
|
@@ -383,12 +439,12 @@ export var BatchCreateChannelMembershipResponse$ = [3, n0, _BCCMRa,
|
|
|
383
439
|
];
|
|
384
440
|
export var Channel$ = [3, n0, _Ch,
|
|
385
441
|
0,
|
|
386
|
-
[_N, _CA, _Mo, _P,
|
|
442
|
+
[_N, _CA, _Mo, _P, _Me, _CBr, _CTr, _LMT, _LUT, _CFA, _ECC, _ES],
|
|
387
443
|
[[() => NonEmptyResourceName, 0], 0, 0, 0, [() => Metadata, 0], [() => Identity$, 0], 4, 4, 4, 0, () => ElasticChannelConfiguration$, () => ExpirationSettings$]
|
|
388
444
|
];
|
|
389
445
|
export var ChannelAssociatedWithFlowSummary$ = [3, n0, _CAWFS,
|
|
390
446
|
0,
|
|
391
|
-
[_N, _CA, _Mo, _P,
|
|
447
|
+
[_N, _CA, _Mo, _P, _Me],
|
|
392
448
|
[[() => NonEmptyResourceName, 0], 0, 0, 0, [() => Metadata, 0]]
|
|
393
449
|
];
|
|
394
450
|
export var ChannelBan$ = [3, n0, _CBh,
|
|
@@ -443,12 +499,12 @@ export var ChannelMembershipSummary$ = [3, n0, _CMS,
|
|
|
443
499
|
];
|
|
444
500
|
export var ChannelMessage$ = [3, n0, _CM,
|
|
445
501
|
0,
|
|
446
|
-
[_CA, _MI,
|
|
502
|
+
[_CA, _MI, _Co, _Me, _T, _CTr, _LET, _LUT, _S, _R, _Pe, _St, _MAes, _SCI, _CT, _Ta],
|
|
447
503
|
[0, 0, [() => Content, 0], [() => Metadata, 0], 0, 4, 4, 4, [() => Identity$, 0], 2, 0, () => ChannelMessageStatusStructure$, [() => MessageAttributeMap, 0], 0, [() => ContentType, 0], () => TargetList]
|
|
448
504
|
];
|
|
449
505
|
export var ChannelMessageCallback$ = [3, n0, _CMC,
|
|
450
506
|
0,
|
|
451
|
-
[_MI,
|
|
507
|
+
[_MI, _Co, _Me, _PNu, _MAes, _SCI, _CT],
|
|
452
508
|
[0, [() => NonEmptyContent, 0], [() => Metadata, 0], [() => PushNotificationConfiguration$, 0], [() => MessageAttributeMap, 0], 0, [() => ContentType, 0]], 1
|
|
453
509
|
];
|
|
454
510
|
export var ChannelMessageStatusStructure$ = [3, n0, _CMSS,
|
|
@@ -458,7 +514,7 @@ export var ChannelMessageStatusStructure$ = [3, n0, _CMSS,
|
|
|
458
514
|
];
|
|
459
515
|
export var ChannelMessageSummary$ = [3, n0, _CMSh,
|
|
460
516
|
0,
|
|
461
|
-
[_MI,
|
|
517
|
+
[_MI, _Co, _Me, _T, _CTr, _LUT, _LET, _S, _R, _St, _MAes, _CT, _Ta],
|
|
462
518
|
[0, [() => Content, 0], [() => Metadata, 0], 0, 4, 4, 4, [() => Identity$, 0], 2, () => ChannelMessageStatusStructure$, [() => MessageAttributeMap, 0], [() => ContentType, 0], () => TargetList]
|
|
463
519
|
];
|
|
464
520
|
export var ChannelModeratedByAppInstanceUserSummary$ = [3, n0, _CMBAIUS,
|
|
@@ -478,15 +534,9 @@ export var ChannelModeratorSummary$ = [3, n0, _CMSha,
|
|
|
478
534
|
];
|
|
479
535
|
export var ChannelSummary$ = [3, n0, _CS,
|
|
480
536
|
0,
|
|
481
|
-
[_N, _CA, _Mo, _P,
|
|
537
|
+
[_N, _CA, _Mo, _P, _Me, _LMT],
|
|
482
538
|
[[() => NonEmptyResourceName, 0], 0, 0, 0, [() => Metadata, 0], 4]
|
|
483
539
|
];
|
|
484
|
-
export var ConflictException$ = [-3, n0, _CE,
|
|
485
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
486
|
-
[_Co, _Me],
|
|
487
|
-
[0, 0]
|
|
488
|
-
];
|
|
489
|
-
TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
490
540
|
export var CreateChannelBanRequest$ = [3, n0, _CCBR,
|
|
491
541
|
0,
|
|
492
542
|
[_CA, _MA, _CB],
|
|
@@ -529,7 +579,7 @@ export var CreateChannelModeratorResponse$ = [3, n0, _CCMRrea,
|
|
|
529
579
|
];
|
|
530
580
|
export var CreateChannelRequest$ = [3, n0, _CCR,
|
|
531
581
|
0,
|
|
532
|
-
[_AIA, _N, _CB, _Mo, _P,
|
|
582
|
+
[_AIA, _N, _CB, _Mo, _P, _Me, _CRT, _Tag, _CI, _MAe, _MAo, _ECC, _ES],
|
|
533
583
|
[0, [() => NonEmptyResourceName, 0], [0, { [_hH]: _xacb }], 0, 0, [() => Metadata, 0], [() => ClientRequestToken, 4], [() => TagList, 0], [() => ChannelId, 0], 64 | 0, 64 | 0, () => ElasticChannelConfiguration$, () => ExpirationSettings$], 3
|
|
534
584
|
];
|
|
535
585
|
export var CreateChannelResponse$ = [3, n0, _CCRr,
|
|
@@ -657,12 +707,6 @@ export var ExpirationSettings$ = [3, n0, _ES,
|
|
|
657
707
|
[_ED, _ECx],
|
|
658
708
|
[1, 0], 2
|
|
659
709
|
];
|
|
660
|
-
export var ForbiddenException$ = [-3, n0, _FE,
|
|
661
|
-
{ [_e]: _c, [_hE]: 403 },
|
|
662
|
-
[_Co, _Me],
|
|
663
|
-
[0, 0]
|
|
664
|
-
];
|
|
665
|
-
TypeRegistry.for(n0).registerError(ForbiddenException$, ForbiddenException);
|
|
666
710
|
export var GetChannelMembershipPreferencesRequest$ = [3, n0, _GCMPR,
|
|
667
711
|
0,
|
|
668
712
|
[_CA, _MA, _CB],
|
|
@@ -843,12 +887,6 @@ export var MessagingSessionEndpoint$ = [3, n0, _MSE,
|
|
|
843
887
|
[_U],
|
|
844
888
|
[0]
|
|
845
889
|
];
|
|
846
|
-
export var NotFoundException$ = [-3, n0, _NFE,
|
|
847
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
848
|
-
[_Co, _Me],
|
|
849
|
-
[0, 0]
|
|
850
|
-
];
|
|
851
|
-
TypeRegistry.for(n0).registerError(NotFoundException$, NotFoundException);
|
|
852
890
|
export var Processor$ = [3, n0, _Pro,
|
|
853
891
|
0,
|
|
854
892
|
[_N, _Con, _EO, _FA],
|
|
@@ -909,12 +947,6 @@ export var RedactChannelMessageResponse$ = [3, n0, _RCMRe,
|
|
|
909
947
|
[_CA, _MI, _SCI],
|
|
910
948
|
[0, 0, 0]
|
|
911
949
|
];
|
|
912
|
-
export var ResourceLimitExceededException$ = [-3, n0, _RLEE,
|
|
913
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
914
|
-
[_Co, _Me],
|
|
915
|
-
[0, 0]
|
|
916
|
-
];
|
|
917
|
-
TypeRegistry.for(n0).registerError(ResourceLimitExceededException$, ResourceLimitExceededException);
|
|
918
950
|
export var SearchChannelsRequest$ = [3, n0, _SCR,
|
|
919
951
|
0,
|
|
920
952
|
[_F, _CB, _MR, _NT],
|
|
@@ -932,7 +964,7 @@ export var SearchField$ = [3, n0, _SF,
|
|
|
932
964
|
];
|
|
933
965
|
export var SendChannelMessageRequest$ = [3, n0, _SCMR,
|
|
934
966
|
0,
|
|
935
|
-
[_CA,
|
|
967
|
+
[_CA, _Co, _T, _Pe, _CB, _Me, _CRT, _PNu, _MAes, _SCI, _CT, _Ta],
|
|
936
968
|
[[0, 1], [() => NonEmptyContent, 0], 0, 0, [0, { [_hH]: _xacb }], [() => Metadata, 0], [() => ClientRequestToken, 4], [() => PushNotificationConfiguration$, 0], [() => MessageAttributeMap, 0], 0, [() => ContentType, 0], () => TargetList], 5
|
|
937
969
|
];
|
|
938
970
|
export var SendChannelMessageResponse$ = [3, n0, _SCMRe,
|
|
@@ -940,18 +972,6 @@ export var SendChannelMessageResponse$ = [3, n0, _SCMRe,
|
|
|
940
972
|
[_CA, _MI, _St, _SCI],
|
|
941
973
|
[0, 0, () => ChannelMessageStatusStructure$, 0]
|
|
942
974
|
];
|
|
943
|
-
export var ServiceFailureException$ = [-3, n0, _SFE,
|
|
944
|
-
{ [_e]: _s, [_hE]: 500 },
|
|
945
|
-
[_Co, _Me],
|
|
946
|
-
[0, 0]
|
|
947
|
-
];
|
|
948
|
-
TypeRegistry.for(n0).registerError(ServiceFailureException$, ServiceFailureException);
|
|
949
|
-
export var ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
950
|
-
{ [_e]: _s, [_hE]: 503 },
|
|
951
|
-
[_Co, _Me],
|
|
952
|
-
[0, 0]
|
|
953
|
-
];
|
|
954
|
-
TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
955
975
|
export var StreamingConfiguration$ = [3, n0, _SCt,
|
|
956
976
|
0,
|
|
957
977
|
[_DT, _RA],
|
|
@@ -977,18 +997,6 @@ export var Target$ = [3, n0, _Ta,
|
|
|
977
997
|
[_MA],
|
|
978
998
|
[0]
|
|
979
999
|
];
|
|
980
|
-
export var ThrottledClientException$ = [-3, n0, _TCE,
|
|
981
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
982
|
-
[_Co, _Me],
|
|
983
|
-
[0, 0]
|
|
984
|
-
];
|
|
985
|
-
TypeRegistry.for(n0).registerError(ThrottledClientException$, ThrottledClientException);
|
|
986
|
-
export var UnauthorizedClientException$ = [-3, n0, _UCE,
|
|
987
|
-
{ [_e]: _c, [_hE]: 401 },
|
|
988
|
-
[_Co, _Me],
|
|
989
|
-
[0, 0]
|
|
990
|
-
];
|
|
991
|
-
TypeRegistry.for(n0).registerError(UnauthorizedClientException$, UnauthorizedClientException);
|
|
992
1000
|
export var UntagResourceRequest$ = [3, n0, _URR,
|
|
993
1001
|
0,
|
|
994
1002
|
[_RARN, _TKa],
|
|
@@ -1006,7 +1014,7 @@ export var UpdateChannelFlowResponse$ = [3, n0, _UCFRp,
|
|
|
1006
1014
|
];
|
|
1007
1015
|
export var UpdateChannelMessageRequest$ = [3, n0, _UCMR,
|
|
1008
1016
|
0,
|
|
1009
|
-
[_CA, _MI,
|
|
1017
|
+
[_CA, _MI, _Co, _CB, _Me, _SCI, _CT],
|
|
1010
1018
|
[[0, 1], [0, 1], [() => NonEmptyContent, 0], [0, { [_hH]: _xacb }], [() => Metadata, 0], 0, [() => ContentType, 0]], 4
|
|
1011
1019
|
];
|
|
1012
1020
|
export var UpdateChannelMessageResponse$ = [3, n0, _UCMRp,
|
|
@@ -1026,7 +1034,7 @@ export var UpdateChannelReadMarkerResponse$ = [3, n0, _UCRMRp,
|
|
|
1026
1034
|
];
|
|
1027
1035
|
export var UpdateChannelRequest$ = [3, n0, _UCR,
|
|
1028
1036
|
0,
|
|
1029
|
-
[_CA, _CB, _N, _Mo,
|
|
1037
|
+
[_CA, _CB, _N, _Mo, _Me],
|
|
1030
1038
|
[[0, 1], [0, { [_hH]: _xacb }], [() => NonEmptyResourceName, 0], 0, [() => Metadata, 0]], 2
|
|
1031
1039
|
];
|
|
1032
1040
|
export var UpdateChannelResponse$ = [3, n0, _UCRp,
|
|
@@ -1035,8 +1043,6 @@ export var UpdateChannelResponse$ = [3, n0, _UCRp,
|
|
|
1035
1043
|
[0]
|
|
1036
1044
|
];
|
|
1037
1045
|
var __Unit = "unit";
|
|
1038
|
-
export var ChimeSDKMessagingServiceException$ = [-3, _sm, "ChimeSDKMessagingServiceException", 0, [], []];
|
|
1039
|
-
TypeRegistry.for(_sm).registerError(ChimeSDKMessagingServiceException$, ChimeSDKMessagingServiceException);
|
|
1040
1046
|
var BatchCreateChannelMembershipErrors = [1, n0, _BCCMEa,
|
|
1041
1047
|
0, () => BatchCreateChannelMembershipError$
|
|
1042
1048
|
];
|
|
@@ -1,7 +1,23 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var ChimeSDKMessagingServiceException$: StaticErrorSchema;
|
|
4
|
+
export declare var BadRequestException$: StaticErrorSchema;
|
|
5
|
+
export declare var ConflictException$: StaticErrorSchema;
|
|
6
|
+
export declare var ForbiddenException$: StaticErrorSchema;
|
|
7
|
+
export declare var NotFoundException$: StaticErrorSchema;
|
|
8
|
+
export declare var ResourceLimitExceededException$: StaticErrorSchema;
|
|
9
|
+
export declare var ServiceFailureException$: StaticErrorSchema;
|
|
10
|
+
export declare var ServiceUnavailableException$: StaticErrorSchema;
|
|
11
|
+
export declare var ThrottledClientException$: StaticErrorSchema;
|
|
12
|
+
export declare var UnauthorizedClientException$: StaticErrorSchema;
|
|
13
|
+
/**
|
|
14
|
+
* TypeRegistry instances containing modeled errors.
|
|
15
|
+
* @internal
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
2
19
|
export declare var AppInstanceUserMembershipSummary$: StaticStructureSchema;
|
|
3
20
|
export declare var AssociateChannelFlowRequest$: StaticStructureSchema;
|
|
4
|
-
export declare var BadRequestException$: StaticErrorSchema;
|
|
5
21
|
export declare var BatchChannelMemberships$: StaticStructureSchema;
|
|
6
22
|
export declare var BatchCreateChannelMembershipError$: StaticStructureSchema;
|
|
7
23
|
export declare var BatchCreateChannelMembershipRequest$: StaticStructureSchema;
|
|
@@ -26,7 +42,6 @@ export declare var ChannelModeratedByAppInstanceUserSummary$: StaticStructureSch
|
|
|
26
42
|
export declare var ChannelModerator$: StaticStructureSchema;
|
|
27
43
|
export declare var ChannelModeratorSummary$: StaticStructureSchema;
|
|
28
44
|
export declare var ChannelSummary$: StaticStructureSchema;
|
|
29
|
-
export declare var ConflictException$: StaticErrorSchema;
|
|
30
45
|
export declare var CreateChannelBanRequest$: StaticStructureSchema;
|
|
31
46
|
export declare var CreateChannelBanResponse$: StaticStructureSchema;
|
|
32
47
|
export declare var CreateChannelFlowRequest$: StaticStructureSchema;
|
|
@@ -61,7 +76,6 @@ export declare var DescribeChannelResponse$: StaticStructureSchema;
|
|
|
61
76
|
export declare var DisassociateChannelFlowRequest$: StaticStructureSchema;
|
|
62
77
|
export declare var ElasticChannelConfiguration$: StaticStructureSchema;
|
|
63
78
|
export declare var ExpirationSettings$: StaticStructureSchema;
|
|
64
|
-
export declare var ForbiddenException$: StaticErrorSchema;
|
|
65
79
|
export declare var GetChannelMembershipPreferencesRequest$: StaticStructureSchema;
|
|
66
80
|
export declare var GetChannelMembershipPreferencesResponse$: StaticStructureSchema;
|
|
67
81
|
export declare var GetChannelMessageRequest$: StaticStructureSchema;
|
|
@@ -98,7 +112,6 @@ export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
|
98
112
|
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
99
113
|
export declare var MessageAttributeValue$: StaticStructureSchema;
|
|
100
114
|
export declare var MessagingSessionEndpoint$: StaticStructureSchema;
|
|
101
|
-
export declare var NotFoundException$: StaticErrorSchema;
|
|
102
115
|
export declare var Processor$: StaticStructureSchema;
|
|
103
116
|
export declare var ProcessorConfiguration$: StaticStructureSchema;
|
|
104
117
|
export declare var PushNotificationConfiguration$: StaticStructureSchema;
|
|
@@ -111,21 +124,16 @@ export declare var PutMessagingStreamingConfigurationsRequest$: StaticStructureS
|
|
|
111
124
|
export declare var PutMessagingStreamingConfigurationsResponse$: StaticStructureSchema;
|
|
112
125
|
export declare var RedactChannelMessageRequest$: StaticStructureSchema;
|
|
113
126
|
export declare var RedactChannelMessageResponse$: StaticStructureSchema;
|
|
114
|
-
export declare var ResourceLimitExceededException$: StaticErrorSchema;
|
|
115
127
|
export declare var SearchChannelsRequest$: StaticStructureSchema;
|
|
116
128
|
export declare var SearchChannelsResponse$: StaticStructureSchema;
|
|
117
129
|
export declare var SearchField$: StaticStructureSchema;
|
|
118
130
|
export declare var SendChannelMessageRequest$: StaticStructureSchema;
|
|
119
131
|
export declare var SendChannelMessageResponse$: StaticStructureSchema;
|
|
120
|
-
export declare var ServiceFailureException$: StaticErrorSchema;
|
|
121
|
-
export declare var ServiceUnavailableException$: StaticErrorSchema;
|
|
122
132
|
export declare var StreamingConfiguration$: StaticStructureSchema;
|
|
123
133
|
export declare var SubChannelSummary$: StaticStructureSchema;
|
|
124
134
|
export declare var Tag$: StaticStructureSchema;
|
|
125
135
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
126
136
|
export declare var Target$: StaticStructureSchema;
|
|
127
|
-
export declare var ThrottledClientException$: StaticErrorSchema;
|
|
128
|
-
export declare var UnauthorizedClientException$: StaticErrorSchema;
|
|
129
137
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
130
138
|
export declare var UpdateChannelFlowRequest$: StaticStructureSchema;
|
|
131
139
|
export declare var UpdateChannelFlowResponse$: StaticStructureSchema;
|
|
@@ -135,7 +143,6 @@ export declare var UpdateChannelReadMarkerRequest$: StaticStructureSchema;
|
|
|
135
143
|
export declare var UpdateChannelReadMarkerResponse$: StaticStructureSchema;
|
|
136
144
|
export declare var UpdateChannelRequest$: StaticStructureSchema;
|
|
137
145
|
export declare var UpdateChannelResponse$: StaticStructureSchema;
|
|
138
|
-
export declare var ChimeSDKMessagingServiceException$: StaticErrorSchema;
|
|
139
146
|
export declare var AssociateChannelFlow$: StaticOperationSchema;
|
|
140
147
|
export declare var BatchCreateChannelMembership$: StaticOperationSchema;
|
|
141
148
|
export declare var ChannelFlowCallback$: StaticOperationSchema;
|
|
@@ -1,11 +1,22 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
7
|
+
export declare var ChimeSDKMessagingServiceException$: StaticErrorSchema;
|
|
8
|
+
export declare var BadRequestException$: StaticErrorSchema;
|
|
9
|
+
export declare var ConflictException$: StaticErrorSchema;
|
|
10
|
+
export declare var ForbiddenException$: StaticErrorSchema;
|
|
11
|
+
export declare var NotFoundException$: StaticErrorSchema;
|
|
12
|
+
export declare var ResourceLimitExceededException$: StaticErrorSchema;
|
|
13
|
+
export declare var ServiceFailureException$: StaticErrorSchema;
|
|
14
|
+
export declare var ServiceUnavailableException$: StaticErrorSchema;
|
|
15
|
+
export declare var ThrottledClientException$: StaticErrorSchema;
|
|
16
|
+
export declare var UnauthorizedClientException$: StaticErrorSchema;
|
|
17
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
6
18
|
export declare var AppInstanceUserMembershipSummary$: StaticStructureSchema;
|
|
7
19
|
export declare var AssociateChannelFlowRequest$: StaticStructureSchema;
|
|
8
|
-
export declare var BadRequestException$: StaticErrorSchema;
|
|
9
20
|
export declare var BatchChannelMemberships$: StaticStructureSchema;
|
|
10
21
|
export declare var BatchCreateChannelMembershipError$: StaticStructureSchema;
|
|
11
22
|
export declare var BatchCreateChannelMembershipRequest$: StaticStructureSchema;
|
|
@@ -30,7 +41,6 @@ export declare var ChannelModeratedByAppInstanceUserSummary$: StaticStructureSch
|
|
|
30
41
|
export declare var ChannelModerator$: StaticStructureSchema;
|
|
31
42
|
export declare var ChannelModeratorSummary$: StaticStructureSchema;
|
|
32
43
|
export declare var ChannelSummary$: StaticStructureSchema;
|
|
33
|
-
export declare var ConflictException$: StaticErrorSchema;
|
|
34
44
|
export declare var CreateChannelBanRequest$: StaticStructureSchema;
|
|
35
45
|
export declare var CreateChannelBanResponse$: StaticStructureSchema;
|
|
36
46
|
export declare var CreateChannelFlowRequest$: StaticStructureSchema;
|
|
@@ -65,7 +75,6 @@ export declare var DescribeChannelResponse$: StaticStructureSchema;
|
|
|
65
75
|
export declare var DisassociateChannelFlowRequest$: StaticStructureSchema;
|
|
66
76
|
export declare var ElasticChannelConfiguration$: StaticStructureSchema;
|
|
67
77
|
export declare var ExpirationSettings$: StaticStructureSchema;
|
|
68
|
-
export declare var ForbiddenException$: StaticErrorSchema;
|
|
69
78
|
export declare var GetChannelMembershipPreferencesRequest$: StaticStructureSchema;
|
|
70
79
|
export declare var GetChannelMembershipPreferencesResponse$: StaticStructureSchema;
|
|
71
80
|
export declare var GetChannelMessageRequest$: StaticStructureSchema;
|
|
@@ -102,7 +111,6 @@ export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
|
102
111
|
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
103
112
|
export declare var MessageAttributeValue$: StaticStructureSchema;
|
|
104
113
|
export declare var MessagingSessionEndpoint$: StaticStructureSchema;
|
|
105
|
-
export declare var NotFoundException$: StaticErrorSchema;
|
|
106
114
|
export declare var Processor$: StaticStructureSchema;
|
|
107
115
|
export declare var ProcessorConfiguration$: StaticStructureSchema;
|
|
108
116
|
export declare var PushNotificationConfiguration$: StaticStructureSchema;
|
|
@@ -115,21 +123,16 @@ export declare var PutMessagingStreamingConfigurationsRequest$: StaticStructureS
|
|
|
115
123
|
export declare var PutMessagingStreamingConfigurationsResponse$: StaticStructureSchema;
|
|
116
124
|
export declare var RedactChannelMessageRequest$: StaticStructureSchema;
|
|
117
125
|
export declare var RedactChannelMessageResponse$: StaticStructureSchema;
|
|
118
|
-
export declare var ResourceLimitExceededException$: StaticErrorSchema;
|
|
119
126
|
export declare var SearchChannelsRequest$: StaticStructureSchema;
|
|
120
127
|
export declare var SearchChannelsResponse$: StaticStructureSchema;
|
|
121
128
|
export declare var SearchField$: StaticStructureSchema;
|
|
122
129
|
export declare var SendChannelMessageRequest$: StaticStructureSchema;
|
|
123
130
|
export declare var SendChannelMessageResponse$: StaticStructureSchema;
|
|
124
|
-
export declare var ServiceFailureException$: StaticErrorSchema;
|
|
125
|
-
export declare var ServiceUnavailableException$: StaticErrorSchema;
|
|
126
131
|
export declare var StreamingConfiguration$: StaticStructureSchema;
|
|
127
132
|
export declare var SubChannelSummary$: StaticStructureSchema;
|
|
128
133
|
export declare var Tag$: StaticStructureSchema;
|
|
129
134
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
130
135
|
export declare var Target$: StaticStructureSchema;
|
|
131
|
-
export declare var ThrottledClientException$: StaticErrorSchema;
|
|
132
|
-
export declare var UnauthorizedClientException$: StaticErrorSchema;
|
|
133
136
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
134
137
|
export declare var UpdateChannelFlowRequest$: StaticStructureSchema;
|
|
135
138
|
export declare var UpdateChannelFlowResponse$: StaticStructureSchema;
|
|
@@ -139,7 +142,6 @@ export declare var UpdateChannelReadMarkerRequest$: StaticStructureSchema;
|
|
|
139
142
|
export declare var UpdateChannelReadMarkerResponse$: StaticStructureSchema;
|
|
140
143
|
export declare var UpdateChannelRequest$: StaticStructureSchema;
|
|
141
144
|
export declare var UpdateChannelResponse$: StaticStructureSchema;
|
|
142
|
-
export declare var ChimeSDKMessagingServiceException$: StaticErrorSchema;
|
|
143
145
|
export declare var AssociateChannelFlow$: StaticOperationSchema;
|
|
144
146
|
export declare var BatchCreateChannelMembership$: StaticOperationSchema;
|
|
145
147
|
export declare var ChannelFlowCallback$: StaticOperationSchema;
|
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.
|
|
4
|
+
"version": "3.988.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-chime-sdk-messaging",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.8",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.7",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.8",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.988.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.6",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|