@aws-sdk/client-chime-sdk-messaging 3.891.0 → 3.892.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/README.md +1 -1
- package/dist-cjs/index.js +25 -14
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +19 -14
- package/dist-types/ChimeSDKMessaging.d.ts +1 -1
- package/dist-types/ChimeSDKMessagingClient.d.ts +1 -1
- package/dist-types/commands/CreateChannelFlowCommand.d.ts +1 -1
- package/dist-types/commands/GetMessagingSessionEndpointCommand.d.ts +4 -2
- package/dist-types/commands/ListChannelMembershipsCommand.d.ts +1 -1
- package/dist-types/commands/RedactChannelMessageCommand.d.ts +1 -1
- package/dist-types/commands/SearchChannelsCommand.d.ts +3 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +22 -2
- package/dist-types/ts3.4/commands/GetMessagingSessionEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +8 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ AWS SDK for JavaScript ChimeSDKMessaging Client for Node.js, Browser and React N
|
|
|
9
9
|
<p>The Amazon Chime SDK messaging APIs in this section allow software developers to send
|
|
10
10
|
and receive messages in custom messaging applications. These APIs depend on the frameworks
|
|
11
11
|
provided by the Amazon Chime SDK identity APIs. For more information about the messaging
|
|
12
|
-
APIs, see <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging.html">Amazon Chime SDK messaging</a>.</p>
|
|
12
|
+
APIs, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging.html">Amazon Chime SDK messaging</a>.</p>
|
|
13
13
|
|
|
14
14
|
## Installing
|
|
15
15
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -135,6 +135,7 @@ __export(index_exports, {
|
|
|
135
135
|
ListTagsForResourceResponseFilterSensitiveLog: () => ListTagsForResourceResponseFilterSensitiveLog,
|
|
136
136
|
MessageAttributeValueFilterSensitiveLog: () => MessageAttributeValueFilterSensitiveLog,
|
|
137
137
|
MessagingDataType: () => MessagingDataType,
|
|
138
|
+
NetworkType: () => NetworkType,
|
|
138
139
|
NotFoundException: () => NotFoundException,
|
|
139
140
|
ProcessorFilterSensitiveLog: () => ProcessorFilterSensitiveLog,
|
|
140
141
|
PushNotificationConfigurationFilterSensitiveLog: () => PushNotificationConfigurationFilterSensitiveLog,
|
|
@@ -619,6 +620,10 @@ var ChannelMessageType = {
|
|
|
619
620
|
CONTROL: "CONTROL",
|
|
620
621
|
STANDARD: "STANDARD"
|
|
621
622
|
};
|
|
623
|
+
var NetworkType = {
|
|
624
|
+
DUAL_STACK: "DUAL_STACK",
|
|
625
|
+
IPV4_ONLY: "IPV4_ONLY"
|
|
626
|
+
};
|
|
622
627
|
var MessagingDataType = {
|
|
623
628
|
Channel: "Channel",
|
|
624
629
|
ChannelMessage: "ChannelMessage"
|
|
@@ -1406,8 +1411,11 @@ var se_GetMessagingSessionEndpointCommand = /* @__PURE__ */ __name(async (input,
|
|
|
1406
1411
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1407
1412
|
const headers = {};
|
|
1408
1413
|
b.bp("/endpoints/messaging-session");
|
|
1414
|
+
const query = (0, import_smithy_client.map)({
|
|
1415
|
+
[_nt]: [, input[_NT]]
|
|
1416
|
+
});
|
|
1409
1417
|
let body;
|
|
1410
|
-
b.m("GET").h(headers).b(body);
|
|
1418
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1411
1419
|
return b.build();
|
|
1412
1420
|
}, "se_GetMessagingSessionEndpointCommand");
|
|
1413
1421
|
var se_GetMessagingStreamingConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -1428,7 +1436,7 @@ var se_ListChannelBansCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1428
1436
|
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
1429
1437
|
const query = (0, import_smithy_client.map)({
|
|
1430
1438
|
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
1431
|
-
[
|
|
1439
|
+
[_nt_]: [, input[_NTe]]
|
|
1432
1440
|
});
|
|
1433
1441
|
let body;
|
|
1434
1442
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -1441,7 +1449,7 @@ var se_ListChannelFlowsCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1441
1449
|
const query = (0, import_smithy_client.map)({
|
|
1442
1450
|
[_aia]: [, (0, import_smithy_client.expectNonNull)(input[_AIA], `AppInstanceArn`)],
|
|
1443
1451
|
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
1444
|
-
[
|
|
1452
|
+
[_nt_]: [, input[_NTe]]
|
|
1445
1453
|
});
|
|
1446
1454
|
let body;
|
|
1447
1455
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -1457,7 +1465,7 @@ var se_ListChannelMembershipsCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
1457
1465
|
const query = (0, import_smithy_client.map)({
|
|
1458
1466
|
[_t]: [, input[_T]],
|
|
1459
1467
|
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
1460
|
-
[
|
|
1468
|
+
[_nt_]: [, input[_NTe]],
|
|
1461
1469
|
[_sci]: [, input[_SCI]]
|
|
1462
1470
|
});
|
|
1463
1471
|
let body;
|
|
@@ -1474,7 +1482,7 @@ var se_ListChannelMembershipsForAppInstanceUserCommand = /* @__PURE__ */ __name(
|
|
|
1474
1482
|
[_s]: [, "app-instance-user-memberships"],
|
|
1475
1483
|
[_aiua]: [, input[_AIUA]],
|
|
1476
1484
|
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
1477
|
-
[
|
|
1485
|
+
[_nt_]: [, input[_NTe]]
|
|
1478
1486
|
});
|
|
1479
1487
|
let body;
|
|
1480
1488
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -1492,7 +1500,7 @@ var se_ListChannelMessagesCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
1492
1500
|
[_nb]: [() => input.NotBefore !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_NB]).toString()],
|
|
1493
1501
|
[_na]: [() => input.NotAfter !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_NA]).toString()],
|
|
1494
1502
|
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
1495
|
-
[
|
|
1503
|
+
[_nt_]: [, input[_NTe]],
|
|
1496
1504
|
[_sci]: [, input[_SCI]]
|
|
1497
1505
|
});
|
|
1498
1506
|
let body;
|
|
@@ -1508,7 +1516,7 @@ var se_ListChannelModeratorsCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
1508
1516
|
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
1509
1517
|
const query = (0, import_smithy_client.map)({
|
|
1510
1518
|
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
1511
|
-
[
|
|
1519
|
+
[_nt_]: [, input[_NTe]]
|
|
1512
1520
|
});
|
|
1513
1521
|
let body;
|
|
1514
1522
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -1524,7 +1532,7 @@ var se_ListChannelsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1524
1532
|
[_aia]: [, (0, import_smithy_client.expectNonNull)(input[_AIA], `AppInstanceArn`)],
|
|
1525
1533
|
[_p]: [, input[_P]],
|
|
1526
1534
|
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
1527
|
-
[
|
|
1535
|
+
[_nt_]: [, input[_NTe]]
|
|
1528
1536
|
});
|
|
1529
1537
|
let body;
|
|
1530
1538
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -1538,7 +1546,7 @@ var se_ListChannelsAssociatedWithChannelFlowCommand = /* @__PURE__ */ __name(asy
|
|
|
1538
1546
|
[_s]: [, "channel-flow-associations"],
|
|
1539
1547
|
[_cfa]: [, (0, import_smithy_client.expectNonNull)(input[_CFA], `ChannelFlowArn`)],
|
|
1540
1548
|
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
1541
|
-
[
|
|
1549
|
+
[_nt_]: [, input[_NTe]]
|
|
1542
1550
|
});
|
|
1543
1551
|
let body;
|
|
1544
1552
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -1554,7 +1562,7 @@ var se_ListChannelsModeratedByAppInstanceUserCommand = /* @__PURE__ */ __name(as
|
|
|
1554
1562
|
[_s]: [, "app-instance-user-moderated-channels"],
|
|
1555
1563
|
[_aiua]: [, input[_AIUA]],
|
|
1556
1564
|
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
1557
|
-
[
|
|
1565
|
+
[_nt_]: [, input[_NTe]]
|
|
1558
1566
|
});
|
|
1559
1567
|
let body;
|
|
1560
1568
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -1569,7 +1577,7 @@ var se_ListSubChannelsCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1569
1577
|
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
1570
1578
|
const query = (0, import_smithy_client.map)({
|
|
1571
1579
|
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
1572
|
-
[
|
|
1580
|
+
[_nt_]: [, input[_NTe]]
|
|
1573
1581
|
});
|
|
1574
1582
|
let body;
|
|
1575
1583
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -1668,7 +1676,7 @@ var se_SearchChannelsCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1668
1676
|
const query = (0, import_smithy_client.map)({
|
|
1669
1677
|
[_o]: [, "search"],
|
|
1670
1678
|
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
1671
|
-
[
|
|
1679
|
+
[_nt_]: [, input[_NTe]]
|
|
1672
1680
|
});
|
|
1673
1681
|
let body;
|
|
1674
1682
|
body = JSON.stringify(
|
|
@@ -2841,7 +2849,8 @@ var _CFA = "ChannelFlowArn";
|
|
|
2841
2849
|
var _MR = "MaxResults";
|
|
2842
2850
|
var _NA = "NotAfter";
|
|
2843
2851
|
var _NB = "NotBefore";
|
|
2844
|
-
var _NT = "
|
|
2852
|
+
var _NT = "NetworkType";
|
|
2853
|
+
var _NTe = "NextToken";
|
|
2845
2854
|
var _P = "Privacy";
|
|
2846
2855
|
var _RARN = "ResourceARN";
|
|
2847
2856
|
var _SCI = "SubChannelId";
|
|
@@ -2854,7 +2863,8 @@ var _cfa = "channel-flow-arn";
|
|
|
2854
2863
|
var _mr = "max-results";
|
|
2855
2864
|
var _na = "not-after";
|
|
2856
2865
|
var _nb = "not-before";
|
|
2857
|
-
var _nt = "
|
|
2866
|
+
var _nt = "network-type";
|
|
2867
|
+
var _nt_ = "next-token";
|
|
2858
2868
|
var _o = "operation";
|
|
2859
2869
|
var _p = "privacy";
|
|
2860
2870
|
var _s = "scope";
|
|
@@ -3832,6 +3842,7 @@ var paginateSearchChannels = (0, import_core.createPaginator)(ChimeSDKMessagingC
|
|
|
3832
3842
|
ChannelMessagePersistenceType,
|
|
3833
3843
|
ChannelMessageStatus,
|
|
3834
3844
|
ChannelMessageType,
|
|
3845
|
+
NetworkType,
|
|
3835
3846
|
MessagingDataType,
|
|
3836
3847
|
SortOrder,
|
|
3837
3848
|
SearchFieldKey,
|
|
@@ -207,6 +207,10 @@ export const ChannelMessageType = {
|
|
|
207
207
|
CONTROL: "CONTROL",
|
|
208
208
|
STANDARD: "STANDARD",
|
|
209
209
|
};
|
|
210
|
+
export const NetworkType = {
|
|
211
|
+
DUAL_STACK: "DUAL_STACK",
|
|
212
|
+
IPV4_ONLY: "IPV4_ONLY",
|
|
213
|
+
};
|
|
210
214
|
export const MessagingDataType = {
|
|
211
215
|
Channel: "Channel",
|
|
212
216
|
ChannelMessage: "ChannelMessage",
|
|
@@ -378,8 +378,11 @@ export const se_GetMessagingSessionEndpointCommand = async (input, context) => {
|
|
|
378
378
|
const b = rb(input, context);
|
|
379
379
|
const headers = {};
|
|
380
380
|
b.bp("/endpoints/messaging-session");
|
|
381
|
+
const query = map({
|
|
382
|
+
[_nt]: [, input[_NT]],
|
|
383
|
+
});
|
|
381
384
|
let body;
|
|
382
|
-
b.m("GET").h(headers).b(body);
|
|
385
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
383
386
|
return b.build();
|
|
384
387
|
};
|
|
385
388
|
export const se_GetMessagingStreamingConfigurationsCommand = async (input, context) => {
|
|
@@ -400,7 +403,7 @@ export const se_ListChannelBansCommand = async (input, context) => {
|
|
|
400
403
|
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
401
404
|
const query = map({
|
|
402
405
|
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
403
|
-
[
|
|
406
|
+
[_nt_]: [, input[_NTe]],
|
|
404
407
|
});
|
|
405
408
|
let body;
|
|
406
409
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -413,7 +416,7 @@ export const se_ListChannelFlowsCommand = async (input, context) => {
|
|
|
413
416
|
const query = map({
|
|
414
417
|
[_aia]: [, __expectNonNull(input[_AIA], `AppInstanceArn`)],
|
|
415
418
|
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
416
|
-
[
|
|
419
|
+
[_nt_]: [, input[_NTe]],
|
|
417
420
|
});
|
|
418
421
|
let body;
|
|
419
422
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -429,7 +432,7 @@ export const se_ListChannelMembershipsCommand = async (input, context) => {
|
|
|
429
432
|
const query = map({
|
|
430
433
|
[_t]: [, input[_T]],
|
|
431
434
|
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
432
|
-
[
|
|
435
|
+
[_nt_]: [, input[_NTe]],
|
|
433
436
|
[_sci]: [, input[_SCI]],
|
|
434
437
|
});
|
|
435
438
|
let body;
|
|
@@ -446,7 +449,7 @@ export const se_ListChannelMembershipsForAppInstanceUserCommand = async (input,
|
|
|
446
449
|
[_s]: [, "app-instance-user-memberships"],
|
|
447
450
|
[_aiua]: [, input[_AIUA]],
|
|
448
451
|
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
449
|
-
[
|
|
452
|
+
[_nt_]: [, input[_NTe]],
|
|
450
453
|
});
|
|
451
454
|
let body;
|
|
452
455
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -464,7 +467,7 @@ export const se_ListChannelMessagesCommand = async (input, context) => {
|
|
|
464
467
|
[_nb]: [() => input.NotBefore !== void 0, () => __serializeDateTime(input[_NB]).toString()],
|
|
465
468
|
[_na]: [() => input.NotAfter !== void 0, () => __serializeDateTime(input[_NA]).toString()],
|
|
466
469
|
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
467
|
-
[
|
|
470
|
+
[_nt_]: [, input[_NTe]],
|
|
468
471
|
[_sci]: [, input[_SCI]],
|
|
469
472
|
});
|
|
470
473
|
let body;
|
|
@@ -480,7 +483,7 @@ export const se_ListChannelModeratorsCommand = async (input, context) => {
|
|
|
480
483
|
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
481
484
|
const query = map({
|
|
482
485
|
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
483
|
-
[
|
|
486
|
+
[_nt_]: [, input[_NTe]],
|
|
484
487
|
});
|
|
485
488
|
let body;
|
|
486
489
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -496,7 +499,7 @@ export const se_ListChannelsCommand = async (input, context) => {
|
|
|
496
499
|
[_aia]: [, __expectNonNull(input[_AIA], `AppInstanceArn`)],
|
|
497
500
|
[_p]: [, input[_P]],
|
|
498
501
|
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
499
|
-
[
|
|
502
|
+
[_nt_]: [, input[_NTe]],
|
|
500
503
|
});
|
|
501
504
|
let body;
|
|
502
505
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -510,7 +513,7 @@ export const se_ListChannelsAssociatedWithChannelFlowCommand = async (input, con
|
|
|
510
513
|
[_s]: [, "channel-flow-associations"],
|
|
511
514
|
[_cfa]: [, __expectNonNull(input[_CFA], `ChannelFlowArn`)],
|
|
512
515
|
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
513
|
-
[
|
|
516
|
+
[_nt_]: [, input[_NTe]],
|
|
514
517
|
});
|
|
515
518
|
let body;
|
|
516
519
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -526,7 +529,7 @@ export const se_ListChannelsModeratedByAppInstanceUserCommand = async (input, co
|
|
|
526
529
|
[_s]: [, "app-instance-user-moderated-channels"],
|
|
527
530
|
[_aiua]: [, input[_AIUA]],
|
|
528
531
|
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
529
|
-
[
|
|
532
|
+
[_nt_]: [, input[_NTe]],
|
|
530
533
|
});
|
|
531
534
|
let body;
|
|
532
535
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -541,7 +544,7 @@ export const se_ListSubChannelsCommand = async (input, context) => {
|
|
|
541
544
|
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
542
545
|
const query = map({
|
|
543
546
|
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
544
|
-
[
|
|
547
|
+
[_nt_]: [, input[_NTe]],
|
|
545
548
|
});
|
|
546
549
|
let body;
|
|
547
550
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -632,7 +635,7 @@ export const se_SearchChannelsCommand = async (input, context) => {
|
|
|
632
635
|
const query = map({
|
|
633
636
|
[_o]: [, "search"],
|
|
634
637
|
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
635
|
-
[
|
|
638
|
+
[_nt_]: [, input[_NTe]],
|
|
636
639
|
});
|
|
637
640
|
let body;
|
|
638
641
|
body = JSON.stringify(take(input, {
|
|
@@ -1800,7 +1803,8 @@ const _CFA = "ChannelFlowArn";
|
|
|
1800
1803
|
const _MR = "MaxResults";
|
|
1801
1804
|
const _NA = "NotAfter";
|
|
1802
1805
|
const _NB = "NotBefore";
|
|
1803
|
-
const _NT = "
|
|
1806
|
+
const _NT = "NetworkType";
|
|
1807
|
+
const _NTe = "NextToken";
|
|
1804
1808
|
const _P = "Privacy";
|
|
1805
1809
|
const _RARN = "ResourceARN";
|
|
1806
1810
|
const _SCI = "SubChannelId";
|
|
@@ -1813,7 +1817,8 @@ const _cfa = "channel-flow-arn";
|
|
|
1813
1817
|
const _mr = "max-results";
|
|
1814
1818
|
const _na = "not-after";
|
|
1815
1819
|
const _nb = "not-before";
|
|
1816
|
-
const _nt = "
|
|
1820
|
+
const _nt = "network-type";
|
|
1821
|
+
const _nt_ = "next-token";
|
|
1817
1822
|
const _o = "operation";
|
|
1818
1823
|
const _p = "privacy";
|
|
1819
1824
|
const _s = "scope";
|
|
@@ -364,7 +364,7 @@ export interface ChimeSDKMessaging {
|
|
|
364
364
|
* <p>The Amazon Chime SDK messaging APIs in this section allow software developers to send
|
|
365
365
|
* and receive messages in custom messaging applications. These APIs depend on the frameworks
|
|
366
366
|
* provided by the Amazon Chime SDK identity APIs. For more information about the messaging
|
|
367
|
-
* APIs, see <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging.html">Amazon Chime SDK messaging</a>.</p>
|
|
367
|
+
* APIs, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging.html">Amazon Chime SDK messaging</a>.</p>
|
|
368
368
|
* @public
|
|
369
369
|
*/
|
|
370
370
|
export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient implements ChimeSDKMessaging {
|
|
@@ -223,7 +223,7 @@ export interface ChimeSDKMessagingClientResolvedConfig extends ChimeSDKMessaging
|
|
|
223
223
|
* <p>The Amazon Chime SDK messaging APIs in this section allow software developers to send
|
|
224
224
|
* and receive messages in custom messaging applications. These APIs depend on the frameworks
|
|
225
225
|
* provided by the Amazon Chime SDK identity APIs. For more information about the messaging
|
|
226
|
-
* APIs, see <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging.html">Amazon Chime SDK messaging</a>.</p>
|
|
226
|
+
* APIs, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging.html">Amazon Chime SDK messaging</a>.</p>
|
|
227
227
|
* @public
|
|
228
228
|
*/
|
|
229
229
|
export declare class ChimeSDKMessagingClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ChimeSDKMessagingClientResolvedConfig> {
|
|
@@ -45,7 +45,7 @@ declare const CreateChannelFlowCommand_base: {
|
|
|
45
45
|
* </ol>
|
|
46
46
|
* <note>
|
|
47
47
|
* <p>Channel flows don't process Control or System messages. For more information about the message types provided by Chime SDK messaging, refer to
|
|
48
|
-
* <a href="https://docs.aws.amazon.com/chime/latest/dg/using-the-messaging-sdk.html#msg-types">Message types</a> in the <i>Amazon Chime developer guide</i>.</p>
|
|
48
|
+
* <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/using-the-messaging-sdk.html#msg-types">Message types</a> in the <i>Amazon Chime developer guide</i>.</p>
|
|
49
49
|
* </note>
|
|
50
50
|
* @example
|
|
51
51
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -36,7 +36,9 @@ declare const GetMessagingSessionEndpointCommand_base: {
|
|
|
36
36
|
* // import type { ChimeSDKMessagingClientConfig } from "@aws-sdk/client-chime-sdk-messaging";
|
|
37
37
|
* const config = {}; // type is ChimeSDKMessagingClientConfig
|
|
38
38
|
* const client = new ChimeSDKMessagingClient(config);
|
|
39
|
-
* const input = {
|
|
39
|
+
* const input = { // GetMessagingSessionEndpointRequest
|
|
40
|
+
* NetworkType: "IPV4_ONLY" || "DUAL_STACK",
|
|
41
|
+
* };
|
|
40
42
|
* const command = new GetMessagingSessionEndpointCommand(input);
|
|
41
43
|
* const response = await client.send(command);
|
|
42
44
|
* // { // GetMessagingSessionEndpointResponse
|
|
@@ -78,7 +80,7 @@ export declare class GetMessagingSessionEndpointCommand extends GetMessagingSess
|
|
|
78
80
|
/** @internal type navigation helper, not in runtime. */
|
|
79
81
|
protected static __types: {
|
|
80
82
|
api: {
|
|
81
|
-
input:
|
|
83
|
+
input: GetMessagingSessionEndpointRequest;
|
|
82
84
|
output: GetMessagingSessionEndpointResponse;
|
|
83
85
|
};
|
|
84
86
|
sdk: {
|
|
@@ -34,7 +34,7 @@ declare const ListChannelMembershipsCommand_base: {
|
|
|
34
34
|
* the header.</p>
|
|
35
35
|
* </note>
|
|
36
36
|
* <p>If you want to list the channels to which a specific app instance user belongs, see the
|
|
37
|
-
* <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_messaging-chime_ListChannelMembershipsForAppInstanceUser.html">ListChannelMembershipsForAppInstanceUser</a> API.</p>
|
|
37
|
+
* <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_messaging-chime_ListChannelMembershipsForAppInstanceUser.html">ListChannelMembershipsForAppInstanceUser</a> API.</p>
|
|
38
38
|
* @example
|
|
39
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
40
40
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const RedactChannelMessageCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Redacts message content
|
|
30
|
+
* <p>Redacts message content and metadata. The message exists in the back end, but the
|
|
31
31
|
* action returns null content, and the state shows as redacted.</p>
|
|
32
32
|
* <note>
|
|
33
33
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
@@ -33,6 +33,9 @@ declare const SearchChannelsCommand_base: {
|
|
|
33
33
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
34
34
|
* ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in
|
|
35
35
|
* the header.</p>
|
|
36
|
+
* <note>
|
|
37
|
+
* <p>This operation isn't supported for <code>AppInstanceUsers</code> with a large number of memberships.</p>
|
|
38
|
+
* </note>
|
|
36
39
|
* @example
|
|
37
40
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
41
|
* ```javascript
|
package/dist-types/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* <p>The Amazon Chime SDK messaging APIs in this section allow software developers to send
|
|
3
3
|
* and receive messages in custom messaging applications. These APIs depend on the frameworks
|
|
4
4
|
* provided by the Amazon Chime SDK identity APIs. For more information about the messaging
|
|
5
|
-
* APIs, see <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging.html">Amazon Chime SDK messaging</a>.</p>
|
|
5
|
+
* APIs, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging.html">Amazon Chime SDK messaging</a>.</p>
|
|
6
6
|
*
|
|
7
7
|
* @packageDocumentation
|
|
8
8
|
*/
|
|
@@ -1300,7 +1300,7 @@ export interface CreateChannelRequest {
|
|
|
1300
1300
|
*/
|
|
1301
1301
|
ChimeBearer: string | undefined;
|
|
1302
1302
|
/**
|
|
1303
|
-
* <p>
|
|
1303
|
+
* <p>An ID for the channel being created. If you do not specify an ID, a UUID will be created for the channel.</p>
|
|
1304
1304
|
* @public
|
|
1305
1305
|
*/
|
|
1306
1306
|
ChannelId?: string | undefined;
|
|
@@ -1987,10 +1987,27 @@ export interface GetChannelMessageStatusResponse {
|
|
|
1987
1987
|
*/
|
|
1988
1988
|
Status?: ChannelMessageStatusStructure | undefined;
|
|
1989
1989
|
}
|
|
1990
|
+
/**
|
|
1991
|
+
* @public
|
|
1992
|
+
* @enum
|
|
1993
|
+
*/
|
|
1994
|
+
export declare const NetworkType: {
|
|
1995
|
+
readonly DUAL_STACK: "DUAL_STACK";
|
|
1996
|
+
readonly IPV4_ONLY: "IPV4_ONLY";
|
|
1997
|
+
};
|
|
1998
|
+
/**
|
|
1999
|
+
* @public
|
|
2000
|
+
*/
|
|
2001
|
+
export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
|
|
1990
2002
|
/**
|
|
1991
2003
|
* @public
|
|
1992
2004
|
*/
|
|
1993
2005
|
export interface GetMessagingSessionEndpointRequest {
|
|
2006
|
+
/**
|
|
2007
|
+
* <p>The type of network for the messaging session endpoint. Either IPv4 only or dual-stack (IPv4 and IPv6).</p>
|
|
2008
|
+
* @public
|
|
2009
|
+
*/
|
|
2010
|
+
NetworkType?: NetworkType | undefined;
|
|
1994
2011
|
}
|
|
1995
2012
|
/**
|
|
1996
2013
|
* <p>The websocket endpoint used to connect to Amazon Chime SDK messaging.</p>
|
|
@@ -2770,6 +2787,9 @@ export declare const SearchFieldOperator: {
|
|
|
2770
2787
|
export type SearchFieldOperator = (typeof SearchFieldOperator)[keyof typeof SearchFieldOperator];
|
|
2771
2788
|
/**
|
|
2772
2789
|
* <p>A <code>Field</code> of the channel that you want to search.</p>
|
|
2790
|
+
* <note>
|
|
2791
|
+
* <p>This operation isn't supported for <code>AppInstanceUsers</code> with a large number of memberships.</p>
|
|
2792
|
+
* </note>
|
|
2773
2793
|
* @public
|
|
2774
2794
|
*/
|
|
2775
2795
|
export interface SearchField {
|
|
@@ -2782,7 +2802,7 @@ export interface SearchField {
|
|
|
2782
2802
|
/**
|
|
2783
2803
|
* <p>The values that you want to search for, a list of strings. The values must be <code>AppInstanceUserArns</code> specified as a list of strings.</p>
|
|
2784
2804
|
* <note>
|
|
2785
|
-
* <p>This operation isn't supported for <code>AppInstanceUsers</code> with large number of memberships.</p>
|
|
2805
|
+
* <p>This operation isn't supported for <code>AppInstanceUsers</code> with a large number of memberships.</p>
|
|
2786
2806
|
* </note>
|
|
2787
2807
|
* @public
|
|
2788
2808
|
*/
|
|
@@ -40,7 +40,7 @@ declare const GetMessagingSessionEndpointCommand_base: {
|
|
|
40
40
|
export declare class GetMessagingSessionEndpointCommand extends GetMessagingSessionEndpointCommand_base {
|
|
41
41
|
protected static __types: {
|
|
42
42
|
api: {
|
|
43
|
-
input:
|
|
43
|
+
input: GetMessagingSessionEndpointRequest;
|
|
44
44
|
output: GetMessagingSessionEndpointResponse;
|
|
45
45
|
};
|
|
46
46
|
sdk: {
|
|
@@ -554,7 +554,14 @@ export interface GetChannelMessageStatusRequest {
|
|
|
554
554
|
export interface GetChannelMessageStatusResponse {
|
|
555
555
|
Status?: ChannelMessageStatusStructure | undefined;
|
|
556
556
|
}
|
|
557
|
-
export
|
|
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
|
+
export interface GetMessagingSessionEndpointRequest {
|
|
563
|
+
NetworkType?: NetworkType | undefined;
|
|
564
|
+
}
|
|
558
565
|
export interface MessagingSessionEndpoint {
|
|
559
566
|
Url?: string | undefined;
|
|
560
567
|
}
|
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.892.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",
|