@aws-sdk/client-notifications 3.1133.0 → 3.1135.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 +7 -0
- package/dist-cjs/index.js +60 -14
- package/dist-es/Notifications.js +2 -0
- package/dist-es/commands/UpdateManagedNotificationChannelAssociationCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +1 -0
- package/dist-es/schemas/schemas_0.js +49 -13
- package/dist-types/Notifications.d.ts +7 -0
- package/dist-types/NotificationsClient.d.ts +3 -2
- package/dist-types/commands/AssociateManagedNotificationAccountContactCommand.d.ts +1 -0
- package/dist-types/commands/AssociateManagedNotificationAdditionalChannelCommand.d.ts +1 -0
- package/dist-types/commands/DeregisterNotificationHubCommand.d.ts +1 -1
- package/dist-types/commands/GetManagedNotificationChildEventCommand.d.ts +1 -0
- package/dist-types/commands/GetManagedNotificationEventCommand.d.ts +8 -0
- package/dist-types/commands/GetNotificationEventCommand.d.ts +1 -0
- package/dist-types/commands/ListManagedNotificationChannelAssociationsCommand.d.ts +2 -1
- package/dist-types/commands/ListManagedNotificationEventsCommand.d.ts +1 -0
- package/dist-types/commands/RegisterNotificationHubCommand.d.ts +1 -1
- package/dist-types/commands/UpdateManagedNotificationChannelAssociationCommand.d.ts +89 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +5 -8
- package/dist-types/models/models_0.d.ts +81 -5
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/Notifications.d.ts +17 -0
- package/dist-types/ts3.4/NotificationsClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/UpdateManagedNotificationChannelAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +17 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -447,6 +447,13 @@ UpdateEventRule
|
|
|
447
447
|
</details>
|
|
448
448
|
<details>
|
|
449
449
|
<summary>
|
|
450
|
+
UpdateManagedNotificationChannelAssociation
|
|
451
|
+
</summary>
|
|
452
|
+
|
|
453
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/notifications/command/UpdateManagedNotificationChannelAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-notifications/Interface/UpdateManagedNotificationChannelAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-notifications/Interface/UpdateManagedNotificationChannelAssociationCommandOutput/)
|
|
454
|
+
</details>
|
|
455
|
+
<details>
|
|
456
|
+
<summary>
|
|
450
457
|
UpdateNotificationConfiguration
|
|
451
458
|
</summary>
|
|
452
459
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -67,7 +67,7 @@ const commonParams = {
|
|
|
67
67
|
Region: { type: "builtInParams", name: "region" },
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
-
var version = "3.
|
|
70
|
+
var version = "3.1134.0";
|
|
71
71
|
var packageInfo = {
|
|
72
72
|
version: version};
|
|
73
73
|
|
|
@@ -367,6 +367,8 @@ const _NAFO = "NotificationsAccessForOrganization";
|
|
|
367
367
|
const _NC = "NotificationConfigurations";
|
|
368
368
|
const _NCS = "NotificationConfigurationStructure";
|
|
369
369
|
const _NE = "NotificationEvents";
|
|
370
|
+
const _NEA = "NotificationEventAttachment";
|
|
371
|
+
const _NEAL = "NotificationEventAttachmentList";
|
|
370
372
|
const _NEO = "NotificationEventOverview";
|
|
371
373
|
const _NES = "NotificationEventSchema";
|
|
372
374
|
const _NESo = "NotificationEventSummary";
|
|
@@ -388,6 +390,7 @@ const _SEM = "SourceEventMetadata";
|
|
|
388
390
|
const _SEMS = "SourceEventMetadataSummary";
|
|
389
391
|
const _SQEE = "ServiceQuotaExceededException";
|
|
390
392
|
const _SSBR = "StatusSummaryByRegion";
|
|
393
|
+
const _SU = "SensitiveUrl";
|
|
391
394
|
const _TE = "ThrottlingException";
|
|
392
395
|
const _TP = "TextParts";
|
|
393
396
|
const _TPV = "TextPartValue";
|
|
@@ -397,6 +400,9 @@ const _TRRa = "TagResourceResponse";
|
|
|
397
400
|
const _UER = "UpdateEventRule";
|
|
398
401
|
const _UERR = "UpdateEventRuleRequest";
|
|
399
402
|
const _UERRp = "UpdateEventRuleResponse";
|
|
403
|
+
const _UMNCA = "UpdateManagedNotificationChannelAssociation";
|
|
404
|
+
const _UMNCAR = "UpdateManagedNotificationChannelAssociationRequest";
|
|
405
|
+
const _UMNCARp = "UpdateManagedNotificationChannelAssociationResponse";
|
|
400
406
|
const _UNC = "UpdateNotificationConfiguration";
|
|
401
407
|
const _UNCR = "UpdateNotificationConfigurationRequest";
|
|
402
408
|
const _UNCRp = "UpdateNotificationConfigurationResponse";
|
|
@@ -410,6 +416,7 @@ const _a = "arn";
|
|
|
410
416
|
const _aA = "aggregatedAccounts";
|
|
411
417
|
const _aB = "aggregatedBy";
|
|
412
418
|
const _aD = "aggregationDuration";
|
|
419
|
+
const _aDU = "attachmentDownloadUrl";
|
|
413
420
|
const _aDg = "aggregationDetail";
|
|
414
421
|
const _aET = "aggregationEventType";
|
|
415
422
|
const _aI = "accountId";
|
|
@@ -421,6 +428,7 @@ const _aR = "aggregatedRegions";
|
|
|
421
428
|
const _aS = "aggregationSummary";
|
|
422
429
|
const _aSD = "additionalSummarizationDimensions";
|
|
423
430
|
const _aSc = "accessStatus";
|
|
431
|
+
const _at = "attachments";
|
|
424
432
|
const _c = "client";
|
|
425
433
|
const _cA = "channelArn";
|
|
426
434
|
const _cAh = "channelAssociations";
|
|
@@ -430,12 +438,14 @@ const _cI = "contactIdentifier";
|
|
|
430
438
|
const _cIh = "channelIdentifier";
|
|
431
439
|
const _cT = "creationTime";
|
|
432
440
|
const _cTh = "channelType";
|
|
441
|
+
const _cTo = "contentType";
|
|
433
442
|
const _ca = "category";
|
|
434
443
|
const _cap = "caption";
|
|
435
444
|
const _ch = "channels";
|
|
436
445
|
const _co = "content";
|
|
437
446
|
const _cou = "count";
|
|
438
447
|
const _d = "description";
|
|
448
|
+
const _dN = "displayName";
|
|
439
449
|
const _dT = "displayText";
|
|
440
450
|
const _dU = "detailUrl";
|
|
441
451
|
const _di = "dimensions";
|
|
@@ -458,12 +468,15 @@ const _hQ = "httpQuery";
|
|
|
458
468
|
const _ht = "http";
|
|
459
469
|
const _i = "id";
|
|
460
470
|
const _iCE = "includeChildEvents";
|
|
471
|
+
const _iSE = "includeSensitiveEvents";
|
|
472
|
+
const _iSES = "isSensitiveEventsSubscribed";
|
|
461
473
|
const _l = "locale";
|
|
462
474
|
const _lAT = "lastActivationTime";
|
|
463
475
|
const _m = "message";
|
|
464
476
|
const _mA = "memberAccount";
|
|
465
477
|
const _mAe = "memberAccounts";
|
|
466
478
|
const _mC = "messageComponents";
|
|
479
|
+
const _mD = "markupDescription";
|
|
467
480
|
const _mI = "mediaId";
|
|
468
481
|
const _mNC = "managedNotificationConfigurations";
|
|
469
482
|
const _mNCA = "managedNotificationConfigurationArn";
|
|
@@ -570,6 +583,7 @@ const errorTypeRegistries = [
|
|
|
570
583
|
_s_registry,
|
|
571
584
|
n0_registry,
|
|
572
585
|
];
|
|
586
|
+
var SensitiveUrl = [0, n0, _SU, 8, 0];
|
|
573
587
|
var AggregationDetail$ = [3, n0, _AD,
|
|
574
588
|
0,
|
|
575
589
|
[_sD],
|
|
@@ -597,8 +611,8 @@ var AssociateChannelResponse$ = [3, n0, _ACRs,
|
|
|
597
611
|
];
|
|
598
612
|
var AssociateManagedNotificationAccountContactRequest$ = [3, n0, _AMNACR,
|
|
599
613
|
0,
|
|
600
|
-
[_cI, _mNCA],
|
|
601
|
-
[[0, 1], 0], 2
|
|
614
|
+
[_cI, _mNCA, _iSES],
|
|
615
|
+
[[0, 1], 0, 2], 2
|
|
602
616
|
];
|
|
603
617
|
var AssociateManagedNotificationAccountContactResponse$ = [3, n0, _AMNACRs,
|
|
604
618
|
0,
|
|
@@ -607,8 +621,8 @@ var AssociateManagedNotificationAccountContactResponse$ = [3, n0, _AMNACRs,
|
|
|
607
621
|
];
|
|
608
622
|
var AssociateManagedNotificationAdditionalChannelRequest$ = [3, n0, _AMNACRss,
|
|
609
623
|
0,
|
|
610
|
-
[_cA, _mNCA],
|
|
611
|
-
[[0, 1], 0], 2
|
|
624
|
+
[_cA, _mNCA, _iSES],
|
|
625
|
+
[[0, 1], 0, 2], 2
|
|
612
626
|
];
|
|
613
627
|
var AssociateManagedNotificationAdditionalChannelResponse$ = [3, n0, _AMNACRsso,
|
|
614
628
|
0,
|
|
@@ -788,7 +802,7 @@ var GetManagedNotificationEventRequest$ = [3, n0, _GMNER,
|
|
|
788
802
|
var GetManagedNotificationEventResponse$ = [3, n0, _GMNERe,
|
|
789
803
|
0,
|
|
790
804
|
[_a, _mNCA, _cT, _co],
|
|
791
|
-
[0, 0, 5, () => ManagedNotificationEvent
|
|
805
|
+
[0, 0, 5, [() => ManagedNotificationEvent$, 0]], 4
|
|
792
806
|
];
|
|
793
807
|
var GetNotificationConfigurationRequest$ = [3, n0, _GNCR,
|
|
794
808
|
0,
|
|
@@ -872,8 +886,8 @@ var ListManagedNotificationConfigurationsResponse$ = [3, n0, _LMNCRi,
|
|
|
872
886
|
];
|
|
873
887
|
var ListManagedNotificationEventsRequest$ = [3, n0, _LMNER,
|
|
874
888
|
0,
|
|
875
|
-
[_sT, _eTn, _l, _so, _mRa, _nT, _oUI, _rA],
|
|
876
|
-
[[5, { [_hQ]: _sT }], [5, { [_hQ]: _eTn }], [0, { [_hQ]: _l }], [0, { [_hQ]: _so }], [1, { [_hQ]: _mRa }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _oUI }], [0, { [_hQ]: _rA }]]
|
|
889
|
+
[_sT, _eTn, _l, _so, _mRa, _nT, _oUI, _rA, _iSE],
|
|
890
|
+
[[5, { [_hQ]: _sT }], [5, { [_hQ]: _eTn }], [0, { [_hQ]: _l }], [0, { [_hQ]: _so }], [1, { [_hQ]: _mRa }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _oUI }], [0, { [_hQ]: _rA }], [2, { [_hQ]: _iSE }]]
|
|
877
891
|
];
|
|
878
892
|
var ListManagedNotificationEventsResponse$ = [3, n0, _LMNERi,
|
|
879
893
|
0,
|
|
@@ -942,8 +956,8 @@ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
|
942
956
|
];
|
|
943
957
|
var ManagedNotificationChannelAssociationSummary$ = [3, n0, _MNCAS,
|
|
944
958
|
0,
|
|
945
|
-
[_cIh, _cTh, _oO],
|
|
946
|
-
[0, 0, 0], 2
|
|
959
|
+
[_cIh, _cTh, _oO, _iSES],
|
|
960
|
+
[0, 0, 0, 2], 2
|
|
947
961
|
];
|
|
948
962
|
var ManagedNotificationChildEvent$ = [3, n0, _MNCE,
|
|
949
963
|
0,
|
|
@@ -967,8 +981,8 @@ var ManagedNotificationConfigurationStructure$ = [3, n0, _MNCS,
|
|
|
967
981
|
];
|
|
968
982
|
var ManagedNotificationEvent$ = [3, n0, _MNE,
|
|
969
983
|
0,
|
|
970
|
-
[_sV, _i, _mC, _nTo, _tP, _sEDU, _sEDUDT, _eS, _aET, _aS, _sT, _eTn, _oUI],
|
|
971
|
-
[0, 0, () => MessageComponents$, 0, () => TextParts, 0, 0, 0, 0, () => AggregationSummary$, 5, 5, 0], 5
|
|
984
|
+
[_sV, _i, _mC, _nTo, _tP, _sEDU, _sEDUDT, _eS, _aET, _aS, _sT, _eTn, _oUI, _at],
|
|
985
|
+
[0, 0, () => MessageComponents$, 0, () => TextParts, 0, 0, 0, 0, () => AggregationSummary$, 5, 5, 0, [() => NotificationEventAttachmentList, 0]], 5
|
|
972
986
|
];
|
|
973
987
|
var ManagedNotificationEventOverview$ = [3, n0, _MNEO,
|
|
974
988
|
0,
|
|
@@ -997,8 +1011,8 @@ var MemberAccount$ = [3, n0, _MA,
|
|
|
997
1011
|
];
|
|
998
1012
|
var MessageComponents$ = [3, n0, _MC,
|
|
999
1013
|
0,
|
|
1000
|
-
[_h, _pS, _cD, _di],
|
|
1001
|
-
[0, 0, 0, () => Dimensions]
|
|
1014
|
+
[_h, _pS, _cD, _mD, _di],
|
|
1015
|
+
[0, 0, 0, 0, () => Dimensions]
|
|
1002
1016
|
];
|
|
1003
1017
|
var MessageComponentsSummary$ = [3, n0, _MCS,
|
|
1004
1018
|
0,
|
|
@@ -1010,6 +1024,11 @@ var NotificationConfigurationStructure$ = [3, n0, _NCS,
|
|
|
1010
1024
|
[_a, _n, _d, _st, _cT, _aD, _su],
|
|
1011
1025
|
[0, 0, 0, 0, 5, 0, 0], 5
|
|
1012
1026
|
];
|
|
1027
|
+
var NotificationEventAttachment$ = [3, n0, _NEA,
|
|
1028
|
+
0,
|
|
1029
|
+
[_dN, _cTo, _aDU],
|
|
1030
|
+
[0, 0, [() => SensitiveUrl, 0]], 2
|
|
1031
|
+
];
|
|
1013
1032
|
var NotificationEventOverview$ = [3, n0, _NEO,
|
|
1014
1033
|
0,
|
|
1015
1034
|
[_a, _nCA, _rA, _cT, _nEo, _aET, _aNEA, _aS, _oUI],
|
|
@@ -1110,6 +1129,16 @@ var UpdateEventRuleResponse$ = [3, n0, _UERRp,
|
|
|
1110
1129
|
[_a, _nCA, _sSBR],
|
|
1111
1130
|
[0, 0, () => StatusSummaryByRegion], 3
|
|
1112
1131
|
];
|
|
1132
|
+
var UpdateManagedNotificationChannelAssociationRequest$ = [3, n0, _UMNCAR,
|
|
1133
|
+
0,
|
|
1134
|
+
[_mNCA, _cIh, _iSES],
|
|
1135
|
+
[0, 0, 2], 2
|
|
1136
|
+
];
|
|
1137
|
+
var UpdateManagedNotificationChannelAssociationResponse$ = [3, n0, _UMNCARp,
|
|
1138
|
+
0,
|
|
1139
|
+
[],
|
|
1140
|
+
[]
|
|
1141
|
+
];
|
|
1113
1142
|
var UpdateNotificationConfigurationRequest$ = [3, n0, _UNCR,
|
|
1114
1143
|
0,
|
|
1115
1144
|
[_a, _n, _d, _aD],
|
|
@@ -1155,6 +1184,10 @@ var MemberAccounts = [1, n0, _MAe,
|
|
|
1155
1184
|
var NotificationConfigurations = [1, n0, _NC,
|
|
1156
1185
|
0, () => NotificationConfigurationStructure$
|
|
1157
1186
|
];
|
|
1187
|
+
var NotificationEventAttachmentList = [1, n0, _NEAL,
|
|
1188
|
+
0, [() => NotificationEventAttachment$,
|
|
1189
|
+
0]
|
|
1190
|
+
];
|
|
1158
1191
|
var NotificationEvents = [1, n0, _NE,
|
|
1159
1192
|
0, () => NotificationEventOverview$
|
|
1160
1193
|
];
|
|
@@ -1293,6 +1326,9 @@ var UntagResource$ = [9, n0, _UR,
|
|
|
1293
1326
|
var UpdateEventRule$ = [9, n0, _UER,
|
|
1294
1327
|
{ [_ht]: ["PUT", "/event-rules/{arn}", 200] }, () => UpdateEventRuleRequest$, () => UpdateEventRuleResponse$
|
|
1295
1328
|
];
|
|
1329
|
+
var UpdateManagedNotificationChannelAssociation$ = [9, n0, _UMNCA,
|
|
1330
|
+
{ [_ht]: ["PUT", "/channels/update-managed-notification-channel-association", 200] }, () => UpdateManagedNotificationChannelAssociationRequest$, () => UpdateManagedNotificationChannelAssociationResponse$
|
|
1331
|
+
];
|
|
1296
1332
|
var UpdateNotificationConfiguration$ = [9, n0, _UNC,
|
|
1297
1333
|
{ [_ht]: ["PUT", "/notification-configurations/{arn}", 200] }, () => UpdateNotificationConfigurationRequest$, () => UpdateNotificationConfigurationResponse$
|
|
1298
1334
|
];
|
|
@@ -1561,6 +1597,9 @@ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagRes
|
|
|
1561
1597
|
class UpdateEventRuleCommand extends command(_ep0, _mw0, "UpdateEventRule", UpdateEventRule$) {
|
|
1562
1598
|
}
|
|
1563
1599
|
|
|
1600
|
+
class UpdateManagedNotificationChannelAssociationCommand extends command(_ep0, _mw0, "UpdateManagedNotificationChannelAssociation", UpdateManagedNotificationChannelAssociation$) {
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1564
1603
|
class UpdateNotificationConfigurationCommand extends command(_ep0, _mw0, "UpdateNotificationConfiguration", UpdateNotificationConfiguration$) {
|
|
1565
1604
|
}
|
|
1566
1605
|
|
|
@@ -1625,6 +1664,7 @@ const commands = {
|
|
|
1625
1664
|
TagResourceCommand,
|
|
1626
1665
|
UntagResourceCommand,
|
|
1627
1666
|
UpdateEventRuleCommand,
|
|
1667
|
+
UpdateManagedNotificationChannelAssociationCommand,
|
|
1628
1668
|
UpdateNotificationConfigurationCommand,
|
|
1629
1669
|
};
|
|
1630
1670
|
const paginators = {
|
|
@@ -1732,6 +1772,7 @@ const SchemaVersion = {
|
|
|
1732
1772
|
const TextPartType = {
|
|
1733
1773
|
LOCALIZED_TEXT: "LOCALIZED_TEXT",
|
|
1734
1774
|
PLAIN_TEXT: "PLAIN_TEXT",
|
|
1775
|
+
PORTABLE_TEXT: "PORTABLE_TEXT",
|
|
1735
1776
|
URL: "URL",
|
|
1736
1777
|
};
|
|
1737
1778
|
const NotificationConfigurationSubtype = {
|
|
@@ -1924,6 +1965,7 @@ exports.MessageComponentsSummary$ = MessageComponentsSummary$;
|
|
|
1924
1965
|
exports.NotificationConfigurationStatus = NotificationConfigurationStatus;
|
|
1925
1966
|
exports.NotificationConfigurationStructure$ = NotificationConfigurationStructure$;
|
|
1926
1967
|
exports.NotificationConfigurationSubtype = NotificationConfigurationSubtype;
|
|
1968
|
+
exports.NotificationEventAttachment$ = NotificationEventAttachment$;
|
|
1927
1969
|
exports.NotificationEventOverview$ = NotificationEventOverview$;
|
|
1928
1970
|
exports.NotificationEventSchema$ = NotificationEventSchema$;
|
|
1929
1971
|
exports.NotificationEventSummary$ = NotificationEventSummary$;
|
|
@@ -1966,6 +2008,10 @@ exports.UpdateEventRule$ = UpdateEventRule$;
|
|
|
1966
2008
|
exports.UpdateEventRuleCommand = UpdateEventRuleCommand;
|
|
1967
2009
|
exports.UpdateEventRuleRequest$ = UpdateEventRuleRequest$;
|
|
1968
2010
|
exports.UpdateEventRuleResponse$ = UpdateEventRuleResponse$;
|
|
2011
|
+
exports.UpdateManagedNotificationChannelAssociation$ = UpdateManagedNotificationChannelAssociation$;
|
|
2012
|
+
exports.UpdateManagedNotificationChannelAssociationCommand = UpdateManagedNotificationChannelAssociationCommand;
|
|
2013
|
+
exports.UpdateManagedNotificationChannelAssociationRequest$ = UpdateManagedNotificationChannelAssociationRequest$;
|
|
2014
|
+
exports.UpdateManagedNotificationChannelAssociationResponse$ = UpdateManagedNotificationChannelAssociationResponse$;
|
|
1969
2015
|
exports.UpdateNotificationConfiguration$ = UpdateNotificationConfiguration$;
|
|
1970
2016
|
exports.UpdateNotificationConfigurationCommand = UpdateNotificationConfigurationCommand;
|
|
1971
2017
|
exports.UpdateNotificationConfigurationRequest$ = UpdateNotificationConfigurationRequest$;
|
package/dist-es/Notifications.js
CHANGED
|
@@ -37,6 +37,7 @@ import { RegisterNotificationHubCommand, } from "./commands/RegisterNotification
|
|
|
37
37
|
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
38
38
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
39
39
|
import { UpdateEventRuleCommand, } from "./commands/UpdateEventRuleCommand";
|
|
40
|
+
import { UpdateManagedNotificationChannelAssociationCommand, } from "./commands/UpdateManagedNotificationChannelAssociationCommand";
|
|
40
41
|
import { UpdateNotificationConfigurationCommand, } from "./commands/UpdateNotificationConfigurationCommand";
|
|
41
42
|
import { NotificationsClient } from "./NotificationsClient";
|
|
42
43
|
import { paginateListChannels } from "./pagination/ListChannelsPaginator";
|
|
@@ -89,6 +90,7 @@ const commands = {
|
|
|
89
90
|
TagResourceCommand,
|
|
90
91
|
UntagResourceCommand,
|
|
91
92
|
UpdateEventRuleCommand,
|
|
93
|
+
UpdateManagedNotificationChannelAssociationCommand,
|
|
92
94
|
UpdateNotificationConfigurationCommand,
|
|
93
95
|
};
|
|
94
96
|
const paginators = {
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { UpdateManagedNotificationChannelAssociation$ } from "../schemas/schemas_0";
|
|
3
|
+
export class UpdateManagedNotificationChannelAssociationCommand extends command(_ep0, _mw0, "UpdateManagedNotificationChannelAssociation", UpdateManagedNotificationChannelAssociation$) {
|
|
4
|
+
}
|
|
@@ -36,4 +36,5 @@ export * from "./RegisterNotificationHubCommand";
|
|
|
36
36
|
export * from "./TagResourceCommand";
|
|
37
37
|
export * from "./UntagResourceCommand";
|
|
38
38
|
export * from "./UpdateEventRuleCommand";
|
|
39
|
+
export * from "./UpdateManagedNotificationChannelAssociationCommand";
|
|
39
40
|
export * from "./UpdateNotificationConfigurationCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -135,6 +135,8 @@ const _NAFO = "NotificationsAccessForOrganization";
|
|
|
135
135
|
const _NC = "NotificationConfigurations";
|
|
136
136
|
const _NCS = "NotificationConfigurationStructure";
|
|
137
137
|
const _NE = "NotificationEvents";
|
|
138
|
+
const _NEA = "NotificationEventAttachment";
|
|
139
|
+
const _NEAL = "NotificationEventAttachmentList";
|
|
138
140
|
const _NEO = "NotificationEventOverview";
|
|
139
141
|
const _NES = "NotificationEventSchema";
|
|
140
142
|
const _NESo = "NotificationEventSummary";
|
|
@@ -156,6 +158,7 @@ const _SEM = "SourceEventMetadata";
|
|
|
156
158
|
const _SEMS = "SourceEventMetadataSummary";
|
|
157
159
|
const _SQEE = "ServiceQuotaExceededException";
|
|
158
160
|
const _SSBR = "StatusSummaryByRegion";
|
|
161
|
+
const _SU = "SensitiveUrl";
|
|
159
162
|
const _TE = "ThrottlingException";
|
|
160
163
|
const _TP = "TextParts";
|
|
161
164
|
const _TPV = "TextPartValue";
|
|
@@ -165,6 +168,9 @@ const _TRRa = "TagResourceResponse";
|
|
|
165
168
|
const _UER = "UpdateEventRule";
|
|
166
169
|
const _UERR = "UpdateEventRuleRequest";
|
|
167
170
|
const _UERRp = "UpdateEventRuleResponse";
|
|
171
|
+
const _UMNCA = "UpdateManagedNotificationChannelAssociation";
|
|
172
|
+
const _UMNCAR = "UpdateManagedNotificationChannelAssociationRequest";
|
|
173
|
+
const _UMNCARp = "UpdateManagedNotificationChannelAssociationResponse";
|
|
168
174
|
const _UNC = "UpdateNotificationConfiguration";
|
|
169
175
|
const _UNCR = "UpdateNotificationConfigurationRequest";
|
|
170
176
|
const _UNCRp = "UpdateNotificationConfigurationResponse";
|
|
@@ -178,6 +184,7 @@ const _a = "arn";
|
|
|
178
184
|
const _aA = "aggregatedAccounts";
|
|
179
185
|
const _aB = "aggregatedBy";
|
|
180
186
|
const _aD = "aggregationDuration";
|
|
187
|
+
const _aDU = "attachmentDownloadUrl";
|
|
181
188
|
const _aDg = "aggregationDetail";
|
|
182
189
|
const _aET = "aggregationEventType";
|
|
183
190
|
const _aI = "accountId";
|
|
@@ -189,6 +196,7 @@ const _aR = "aggregatedRegions";
|
|
|
189
196
|
const _aS = "aggregationSummary";
|
|
190
197
|
const _aSD = "additionalSummarizationDimensions";
|
|
191
198
|
const _aSc = "accessStatus";
|
|
199
|
+
const _at = "attachments";
|
|
192
200
|
const _c = "client";
|
|
193
201
|
const _cA = "channelArn";
|
|
194
202
|
const _cAh = "channelAssociations";
|
|
@@ -198,12 +206,14 @@ const _cI = "contactIdentifier";
|
|
|
198
206
|
const _cIh = "channelIdentifier";
|
|
199
207
|
const _cT = "creationTime";
|
|
200
208
|
const _cTh = "channelType";
|
|
209
|
+
const _cTo = "contentType";
|
|
201
210
|
const _ca = "category";
|
|
202
211
|
const _cap = "caption";
|
|
203
212
|
const _ch = "channels";
|
|
204
213
|
const _co = "content";
|
|
205
214
|
const _cou = "count";
|
|
206
215
|
const _d = "description";
|
|
216
|
+
const _dN = "displayName";
|
|
207
217
|
const _dT = "displayText";
|
|
208
218
|
const _dU = "detailUrl";
|
|
209
219
|
const _di = "dimensions";
|
|
@@ -226,12 +236,15 @@ const _hQ = "httpQuery";
|
|
|
226
236
|
const _ht = "http";
|
|
227
237
|
const _i = "id";
|
|
228
238
|
const _iCE = "includeChildEvents";
|
|
239
|
+
const _iSE = "includeSensitiveEvents";
|
|
240
|
+
const _iSES = "isSensitiveEventsSubscribed";
|
|
229
241
|
const _l = "locale";
|
|
230
242
|
const _lAT = "lastActivationTime";
|
|
231
243
|
const _m = "message";
|
|
232
244
|
const _mA = "memberAccount";
|
|
233
245
|
const _mAe = "memberAccounts";
|
|
234
246
|
const _mC = "messageComponents";
|
|
247
|
+
const _mD = "markupDescription";
|
|
235
248
|
const _mI = "mediaId";
|
|
236
249
|
const _mNC = "managedNotificationConfigurations";
|
|
237
250
|
const _mNCA = "managedNotificationConfigurationArn";
|
|
@@ -341,6 +354,7 @@ export const errorTypeRegistries = [
|
|
|
341
354
|
_s_registry,
|
|
342
355
|
n0_registry,
|
|
343
356
|
];
|
|
357
|
+
var SensitiveUrl = [0, n0, _SU, 8, 0];
|
|
344
358
|
export var AggregationDetail$ = [3, n0, _AD,
|
|
345
359
|
0,
|
|
346
360
|
[_sD],
|
|
@@ -368,8 +382,8 @@ export var AssociateChannelResponse$ = [3, n0, _ACRs,
|
|
|
368
382
|
];
|
|
369
383
|
export var AssociateManagedNotificationAccountContactRequest$ = [3, n0, _AMNACR,
|
|
370
384
|
0,
|
|
371
|
-
[_cI, _mNCA],
|
|
372
|
-
[[0, 1], 0], 2
|
|
385
|
+
[_cI, _mNCA, _iSES],
|
|
386
|
+
[[0, 1], 0, 2], 2
|
|
373
387
|
];
|
|
374
388
|
export var AssociateManagedNotificationAccountContactResponse$ = [3, n0, _AMNACRs,
|
|
375
389
|
0,
|
|
@@ -378,8 +392,8 @@ export var AssociateManagedNotificationAccountContactResponse$ = [3, n0, _AMNACR
|
|
|
378
392
|
];
|
|
379
393
|
export var AssociateManagedNotificationAdditionalChannelRequest$ = [3, n0, _AMNACRss,
|
|
380
394
|
0,
|
|
381
|
-
[_cA, _mNCA],
|
|
382
|
-
[[0, 1], 0], 2
|
|
395
|
+
[_cA, _mNCA, _iSES],
|
|
396
|
+
[[0, 1], 0, 2], 2
|
|
383
397
|
];
|
|
384
398
|
export var AssociateManagedNotificationAdditionalChannelResponse$ = [3, n0, _AMNACRsso,
|
|
385
399
|
0,
|
|
@@ -559,7 +573,7 @@ export var GetManagedNotificationEventRequest$ = [3, n0, _GMNER,
|
|
|
559
573
|
export var GetManagedNotificationEventResponse$ = [3, n0, _GMNERe,
|
|
560
574
|
0,
|
|
561
575
|
[_a, _mNCA, _cT, _co],
|
|
562
|
-
[0, 0, 5, () => ManagedNotificationEvent
|
|
576
|
+
[0, 0, 5, [() => ManagedNotificationEvent$, 0]], 4
|
|
563
577
|
];
|
|
564
578
|
export var GetNotificationConfigurationRequest$ = [3, n0, _GNCR,
|
|
565
579
|
0,
|
|
@@ -643,8 +657,8 @@ export var ListManagedNotificationConfigurationsResponse$ = [3, n0, _LMNCRi,
|
|
|
643
657
|
];
|
|
644
658
|
export var ListManagedNotificationEventsRequest$ = [3, n0, _LMNER,
|
|
645
659
|
0,
|
|
646
|
-
[_sT, _eTn, _l, _so, _mRa, _nT, _oUI, _rA],
|
|
647
|
-
[[5, { [_hQ]: _sT }], [5, { [_hQ]: _eTn }], [0, { [_hQ]: _l }], [0, { [_hQ]: _so }], [1, { [_hQ]: _mRa }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _oUI }], [0, { [_hQ]: _rA }]]
|
|
660
|
+
[_sT, _eTn, _l, _so, _mRa, _nT, _oUI, _rA, _iSE],
|
|
661
|
+
[[5, { [_hQ]: _sT }], [5, { [_hQ]: _eTn }], [0, { [_hQ]: _l }], [0, { [_hQ]: _so }], [1, { [_hQ]: _mRa }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _oUI }], [0, { [_hQ]: _rA }], [2, { [_hQ]: _iSE }]]
|
|
648
662
|
];
|
|
649
663
|
export var ListManagedNotificationEventsResponse$ = [3, n0, _LMNERi,
|
|
650
664
|
0,
|
|
@@ -713,8 +727,8 @@ export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
|
713
727
|
];
|
|
714
728
|
export var ManagedNotificationChannelAssociationSummary$ = [3, n0, _MNCAS,
|
|
715
729
|
0,
|
|
716
|
-
[_cIh, _cTh, _oO],
|
|
717
|
-
[0, 0, 0], 2
|
|
730
|
+
[_cIh, _cTh, _oO, _iSES],
|
|
731
|
+
[0, 0, 0, 2], 2
|
|
718
732
|
];
|
|
719
733
|
export var ManagedNotificationChildEvent$ = [3, n0, _MNCE,
|
|
720
734
|
0,
|
|
@@ -738,8 +752,8 @@ export var ManagedNotificationConfigurationStructure$ = [3, n0, _MNCS,
|
|
|
738
752
|
];
|
|
739
753
|
export var ManagedNotificationEvent$ = [3, n0, _MNE,
|
|
740
754
|
0,
|
|
741
|
-
[_sV, _i, _mC, _nTo, _tP, _sEDU, _sEDUDT, _eS, _aET, _aS, _sT, _eTn, _oUI],
|
|
742
|
-
[0, 0, () => MessageComponents$, 0, () => TextParts, 0, 0, 0, 0, () => AggregationSummary$, 5, 5, 0], 5
|
|
755
|
+
[_sV, _i, _mC, _nTo, _tP, _sEDU, _sEDUDT, _eS, _aET, _aS, _sT, _eTn, _oUI, _at],
|
|
756
|
+
[0, 0, () => MessageComponents$, 0, () => TextParts, 0, 0, 0, 0, () => AggregationSummary$, 5, 5, 0, [() => NotificationEventAttachmentList, 0]], 5
|
|
743
757
|
];
|
|
744
758
|
export var ManagedNotificationEventOverview$ = [3, n0, _MNEO,
|
|
745
759
|
0,
|
|
@@ -768,8 +782,8 @@ export var MemberAccount$ = [3, n0, _MA,
|
|
|
768
782
|
];
|
|
769
783
|
export var MessageComponents$ = [3, n0, _MC,
|
|
770
784
|
0,
|
|
771
|
-
[_h, _pS, _cD, _di],
|
|
772
|
-
[0, 0, 0, () => Dimensions]
|
|
785
|
+
[_h, _pS, _cD, _mD, _di],
|
|
786
|
+
[0, 0, 0, 0, () => Dimensions]
|
|
773
787
|
];
|
|
774
788
|
export var MessageComponentsSummary$ = [3, n0, _MCS,
|
|
775
789
|
0,
|
|
@@ -781,6 +795,11 @@ export var NotificationConfigurationStructure$ = [3, n0, _NCS,
|
|
|
781
795
|
[_a, _n, _d, _st, _cT, _aD, _su],
|
|
782
796
|
[0, 0, 0, 0, 5, 0, 0], 5
|
|
783
797
|
];
|
|
798
|
+
export var NotificationEventAttachment$ = [3, n0, _NEA,
|
|
799
|
+
0,
|
|
800
|
+
[_dN, _cTo, _aDU],
|
|
801
|
+
[0, 0, [() => SensitiveUrl, 0]], 2
|
|
802
|
+
];
|
|
784
803
|
export var NotificationEventOverview$ = [3, n0, _NEO,
|
|
785
804
|
0,
|
|
786
805
|
[_a, _nCA, _rA, _cT, _nEo, _aET, _aNEA, _aS, _oUI],
|
|
@@ -881,6 +900,16 @@ export var UpdateEventRuleResponse$ = [3, n0, _UERRp,
|
|
|
881
900
|
[_a, _nCA, _sSBR],
|
|
882
901
|
[0, 0, () => StatusSummaryByRegion], 3
|
|
883
902
|
];
|
|
903
|
+
export var UpdateManagedNotificationChannelAssociationRequest$ = [3, n0, _UMNCAR,
|
|
904
|
+
0,
|
|
905
|
+
[_mNCA, _cIh, _iSES],
|
|
906
|
+
[0, 0, 2], 2
|
|
907
|
+
];
|
|
908
|
+
export var UpdateManagedNotificationChannelAssociationResponse$ = [3, n0, _UMNCARp,
|
|
909
|
+
0,
|
|
910
|
+
[],
|
|
911
|
+
[]
|
|
912
|
+
];
|
|
884
913
|
export var UpdateNotificationConfigurationRequest$ = [3, n0, _UNCR,
|
|
885
914
|
0,
|
|
886
915
|
[_a, _n, _d, _aD],
|
|
@@ -929,6 +958,10 @@ var MemberAccounts = [1, n0, _MAe,
|
|
|
929
958
|
var NotificationConfigurations = [1, n0, _NC,
|
|
930
959
|
0, () => NotificationConfigurationStructure$
|
|
931
960
|
];
|
|
961
|
+
var NotificationEventAttachmentList = [1, n0, _NEAL,
|
|
962
|
+
0, [() => NotificationEventAttachment$,
|
|
963
|
+
0]
|
|
964
|
+
];
|
|
932
965
|
var NotificationEvents = [1, n0, _NE,
|
|
933
966
|
0, () => NotificationEventOverview$
|
|
934
967
|
];
|
|
@@ -1074,6 +1107,9 @@ export var UntagResource$ = [9, n0, _UR,
|
|
|
1074
1107
|
export var UpdateEventRule$ = [9, n0, _UER,
|
|
1075
1108
|
{ [_ht]: ["PUT", "/event-rules/{arn}", 200] }, () => UpdateEventRuleRequest$, () => UpdateEventRuleResponse$
|
|
1076
1109
|
];
|
|
1110
|
+
export var UpdateManagedNotificationChannelAssociation$ = [9, n0, _UMNCA,
|
|
1111
|
+
{ [_ht]: ["PUT", "/channels/update-managed-notification-channel-association", 200] }, () => UpdateManagedNotificationChannelAssociationRequest$, () => UpdateManagedNotificationChannelAssociationResponse$
|
|
1112
|
+
];
|
|
1077
1113
|
export var UpdateNotificationConfiguration$ = [9, n0, _UNC,
|
|
1078
1114
|
{ [_ht]: ["PUT", "/notification-configurations/{arn}", 200] }, () => UpdateNotificationConfigurationRequest$, () => UpdateNotificationConfigurationResponse$
|
|
1079
1115
|
];
|
|
@@ -37,6 +37,7 @@ import { type RegisterNotificationHubCommandInput, type RegisterNotificationHubC
|
|
|
37
37
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
38
38
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
39
39
|
import { type UpdateEventRuleCommandInput, type UpdateEventRuleCommandOutput } from "./commands/UpdateEventRuleCommand";
|
|
40
|
+
import { type UpdateManagedNotificationChannelAssociationCommandInput, type UpdateManagedNotificationChannelAssociationCommandOutput } from "./commands/UpdateManagedNotificationChannelAssociationCommand";
|
|
40
41
|
import { type UpdateNotificationConfigurationCommandInput, type UpdateNotificationConfigurationCommandOutput } from "./commands/UpdateNotificationConfigurationCommand";
|
|
41
42
|
import { NotificationsClient } from "./NotificationsClient";
|
|
42
43
|
export interface Notifications {
|
|
@@ -276,6 +277,12 @@ export interface Notifications {
|
|
|
276
277
|
updateEventRule(args: UpdateEventRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEventRuleCommandOutput>;
|
|
277
278
|
updateEventRule(args: UpdateEventRuleCommandInput, cb: (err: any, data?: UpdateEventRuleCommandOutput) => void): void;
|
|
278
279
|
updateEventRule(args: UpdateEventRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEventRuleCommandOutput) => void): void;
|
|
280
|
+
/**
|
|
281
|
+
* @see {@link UpdateManagedNotificationChannelAssociationCommand}
|
|
282
|
+
*/
|
|
283
|
+
updateManagedNotificationChannelAssociation(args: UpdateManagedNotificationChannelAssociationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateManagedNotificationChannelAssociationCommandOutput>;
|
|
284
|
+
updateManagedNotificationChannelAssociation(args: UpdateManagedNotificationChannelAssociationCommandInput, cb: (err: any, data?: UpdateManagedNotificationChannelAssociationCommandOutput) => void): void;
|
|
285
|
+
updateManagedNotificationChannelAssociation(args: UpdateManagedNotificationChannelAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateManagedNotificationChannelAssociationCommandOutput) => void): void;
|
|
279
286
|
/**
|
|
280
287
|
* @see {@link UpdateNotificationConfigurationCommand}
|
|
281
288
|
*/
|
|
@@ -44,6 +44,7 @@ import type { RegisterNotificationHubCommandInput, RegisterNotificationHubComman
|
|
|
44
44
|
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
45
45
|
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
46
46
|
import type { UpdateEventRuleCommandInput, UpdateEventRuleCommandOutput } from "./commands/UpdateEventRuleCommand";
|
|
47
|
+
import type { UpdateManagedNotificationChannelAssociationCommandInput, UpdateManagedNotificationChannelAssociationCommandOutput } from "./commands/UpdateManagedNotificationChannelAssociationCommand";
|
|
47
48
|
import type { UpdateNotificationConfigurationCommandInput, UpdateNotificationConfigurationCommandOutput } from "./commands/UpdateNotificationConfigurationCommand";
|
|
48
49
|
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
49
50
|
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
@@ -51,11 +52,11 @@ export { __Client };
|
|
|
51
52
|
/**
|
|
52
53
|
* @public
|
|
53
54
|
*/
|
|
54
|
-
export type ServiceInputTypes = AssociateChannelCommandInput | AssociateManagedNotificationAccountContactCommandInput | AssociateManagedNotificationAdditionalChannelCommandInput | AssociateOrganizationalUnitCommandInput | CreateEventRuleCommandInput | CreateNotificationConfigurationCommandInput | DeleteEventRuleCommandInput | DeleteNotificationConfigurationCommandInput | DeregisterNotificationHubCommandInput | DisableNotificationsAccessForOrganizationCommandInput | DisassociateChannelCommandInput | DisassociateManagedNotificationAccountContactCommandInput | DisassociateManagedNotificationAdditionalChannelCommandInput | DisassociateOrganizationalUnitCommandInput | EnableNotificationsAccessForOrganizationCommandInput | GetEventRuleCommandInput | GetManagedNotificationChildEventCommandInput | GetManagedNotificationConfigurationCommandInput | GetManagedNotificationEventCommandInput | GetNotificationConfigurationCommandInput | GetNotificationEventCommandInput | GetNotificationsAccessForOrganizationCommandInput | ListChannelsCommandInput | ListEventRulesCommandInput | ListManagedNotificationChannelAssociationsCommandInput | ListManagedNotificationChildEventsCommandInput | ListManagedNotificationConfigurationsCommandInput | ListManagedNotificationEventsCommandInput | ListMemberAccountsCommandInput | ListNotificationConfigurationsCommandInput | ListNotificationEventsCommandInput | ListNotificationHubsCommandInput | ListOrganizationalUnitsCommandInput | ListTagsForResourceCommandInput | RegisterNotificationHubCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateEventRuleCommandInput | UpdateNotificationConfigurationCommandInput;
|
|
55
|
+
export type ServiceInputTypes = AssociateChannelCommandInput | AssociateManagedNotificationAccountContactCommandInput | AssociateManagedNotificationAdditionalChannelCommandInput | AssociateOrganizationalUnitCommandInput | CreateEventRuleCommandInput | CreateNotificationConfigurationCommandInput | DeleteEventRuleCommandInput | DeleteNotificationConfigurationCommandInput | DeregisterNotificationHubCommandInput | DisableNotificationsAccessForOrganizationCommandInput | DisassociateChannelCommandInput | DisassociateManagedNotificationAccountContactCommandInput | DisassociateManagedNotificationAdditionalChannelCommandInput | DisassociateOrganizationalUnitCommandInput | EnableNotificationsAccessForOrganizationCommandInput | GetEventRuleCommandInput | GetManagedNotificationChildEventCommandInput | GetManagedNotificationConfigurationCommandInput | GetManagedNotificationEventCommandInput | GetNotificationConfigurationCommandInput | GetNotificationEventCommandInput | GetNotificationsAccessForOrganizationCommandInput | ListChannelsCommandInput | ListEventRulesCommandInput | ListManagedNotificationChannelAssociationsCommandInput | ListManagedNotificationChildEventsCommandInput | ListManagedNotificationConfigurationsCommandInput | ListManagedNotificationEventsCommandInput | ListMemberAccountsCommandInput | ListNotificationConfigurationsCommandInput | ListNotificationEventsCommandInput | ListNotificationHubsCommandInput | ListOrganizationalUnitsCommandInput | ListTagsForResourceCommandInput | RegisterNotificationHubCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateEventRuleCommandInput | UpdateManagedNotificationChannelAssociationCommandInput | UpdateNotificationConfigurationCommandInput;
|
|
55
56
|
/**
|
|
56
57
|
* @public
|
|
57
58
|
*/
|
|
58
|
-
export type ServiceOutputTypes = AssociateChannelCommandOutput | AssociateManagedNotificationAccountContactCommandOutput | AssociateManagedNotificationAdditionalChannelCommandOutput | AssociateOrganizationalUnitCommandOutput | CreateEventRuleCommandOutput | CreateNotificationConfigurationCommandOutput | DeleteEventRuleCommandOutput | DeleteNotificationConfigurationCommandOutput | DeregisterNotificationHubCommandOutput | DisableNotificationsAccessForOrganizationCommandOutput | DisassociateChannelCommandOutput | DisassociateManagedNotificationAccountContactCommandOutput | DisassociateManagedNotificationAdditionalChannelCommandOutput | DisassociateOrganizationalUnitCommandOutput | EnableNotificationsAccessForOrganizationCommandOutput | GetEventRuleCommandOutput | GetManagedNotificationChildEventCommandOutput | GetManagedNotificationConfigurationCommandOutput | GetManagedNotificationEventCommandOutput | GetNotificationConfigurationCommandOutput | GetNotificationEventCommandOutput | GetNotificationsAccessForOrganizationCommandOutput | ListChannelsCommandOutput | ListEventRulesCommandOutput | ListManagedNotificationChannelAssociationsCommandOutput | ListManagedNotificationChildEventsCommandOutput | ListManagedNotificationConfigurationsCommandOutput | ListManagedNotificationEventsCommandOutput | ListMemberAccountsCommandOutput | ListNotificationConfigurationsCommandOutput | ListNotificationEventsCommandOutput | ListNotificationHubsCommandOutput | ListOrganizationalUnitsCommandOutput | ListTagsForResourceCommandOutput | RegisterNotificationHubCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateEventRuleCommandOutput | UpdateNotificationConfigurationCommandOutput;
|
|
59
|
+
export type ServiceOutputTypes = AssociateChannelCommandOutput | AssociateManagedNotificationAccountContactCommandOutput | AssociateManagedNotificationAdditionalChannelCommandOutput | AssociateOrganizationalUnitCommandOutput | CreateEventRuleCommandOutput | CreateNotificationConfigurationCommandOutput | DeleteEventRuleCommandOutput | DeleteNotificationConfigurationCommandOutput | DeregisterNotificationHubCommandOutput | DisableNotificationsAccessForOrganizationCommandOutput | DisassociateChannelCommandOutput | DisassociateManagedNotificationAccountContactCommandOutput | DisassociateManagedNotificationAdditionalChannelCommandOutput | DisassociateOrganizationalUnitCommandOutput | EnableNotificationsAccessForOrganizationCommandOutput | GetEventRuleCommandOutput | GetManagedNotificationChildEventCommandOutput | GetManagedNotificationConfigurationCommandOutput | GetManagedNotificationEventCommandOutput | GetNotificationConfigurationCommandOutput | GetNotificationEventCommandOutput | GetNotificationsAccessForOrganizationCommandOutput | ListChannelsCommandOutput | ListEventRulesCommandOutput | ListManagedNotificationChannelAssociationsCommandOutput | ListManagedNotificationChildEventsCommandOutput | ListManagedNotificationConfigurationsCommandOutput | ListManagedNotificationEventsCommandOutput | ListMemberAccountsCommandOutput | ListNotificationConfigurationsCommandOutput | ListNotificationEventsCommandOutput | ListNotificationHubsCommandOutput | ListOrganizationalUnitsCommandOutput | ListTagsForResourceCommandOutput | RegisterNotificationHubCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateEventRuleCommandOutput | UpdateManagedNotificationChannelAssociationCommandOutput | UpdateNotificationConfigurationCommandOutput;
|
|
59
60
|
/**
|
|
60
61
|
* @public
|
|
61
62
|
*/
|
|
@@ -36,6 +36,7 @@ declare const AssociateManagedNotificationAccountContactCommand_base: {
|
|
|
36
36
|
* const input = { // AssociateManagedNotificationAccountContactRequest
|
|
37
37
|
* contactIdentifier: "STRING_VALUE", // required
|
|
38
38
|
* managedNotificationConfigurationArn: "STRING_VALUE", // required
|
|
39
|
+
* isSensitiveEventsSubscribed: true || false,
|
|
39
40
|
* };
|
|
40
41
|
* const command = new AssociateManagedNotificationAccountContactCommand(input);
|
|
41
42
|
* const response = await client.send(command);
|
|
@@ -36,6 +36,7 @@ declare const AssociateManagedNotificationAdditionalChannelCommand_base: {
|
|
|
36
36
|
* const input = { // AssociateManagedNotificationAdditionalChannelRequest
|
|
37
37
|
* channelArn: "STRING_VALUE", // required
|
|
38
38
|
* managedNotificationConfigurationArn: "STRING_VALUE", // required
|
|
39
|
+
* isSensitiveEventsSubscribed: true || false,
|
|
39
40
|
* };
|
|
40
41
|
* const command = new AssociateManagedNotificationAdditionalChannelCommand(input);
|
|
41
42
|
* const response = await client.send(command);
|
|
@@ -24,7 +24,7 @@ declare const DeregisterNotificationHubCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Deregisters a <code>
|
|
27
|
+
* <p>Deregisters a <code>NotificationHub</code> in the specified Region.</p> <note> <p>You can't deregister the last <code>NotificationHub</code> in the account. <code>NotificationEvents</code> stored in the deregistered <code>NotificationHub</code> are no longer visible. Recreating a new <code>NotificationHub</code> in the same Region restores access to those <code>NotificationEvents</code>.</p> </note>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -50,6 +50,7 @@ declare const GetManagedNotificationChildEventCommand_base: {
|
|
|
50
50
|
* // headline: "STRING_VALUE",
|
|
51
51
|
* // paragraphSummary: "STRING_VALUE",
|
|
52
52
|
* // completeDescription: "STRING_VALUE",
|
|
53
|
+
* // markupDescription: "STRING_VALUE",
|
|
53
54
|
* // dimensions: [ // Dimensions
|
|
54
55
|
* // { // Dimension
|
|
55
56
|
* // name: "STRING_VALUE", // required
|
|
@@ -50,6 +50,7 @@ declare const GetManagedNotificationEventCommand_base: {
|
|
|
50
50
|
* // headline: "STRING_VALUE",
|
|
51
51
|
* // paragraphSummary: "STRING_VALUE",
|
|
52
52
|
* // completeDescription: "STRING_VALUE",
|
|
53
|
+
* // markupDescription: "STRING_VALUE",
|
|
53
54
|
* // dimensions: [ // Dimensions
|
|
54
55
|
* // { // Dimension
|
|
55
56
|
* // name: "STRING_VALUE", // required
|
|
@@ -114,6 +115,13 @@ declare const GetManagedNotificationEventCommand_base: {
|
|
|
114
115
|
* // },
|
|
115
116
|
* // },
|
|
116
117
|
* // organizationalUnitId: "STRING_VALUE",
|
|
118
|
+
* // attachments: [ // NotificationEventAttachmentList
|
|
119
|
+
* // { // NotificationEventAttachment
|
|
120
|
+
* // displayName: "STRING_VALUE", // required
|
|
121
|
+
* // attachmentDownloadUrl: "STRING_VALUE",
|
|
122
|
+
* // contentType: "STRING_VALUE", // required
|
|
123
|
+
* // },
|
|
124
|
+
* // ],
|
|
117
125
|
* // },
|
|
118
126
|
* // };
|
|
119
127
|
*
|
|
@@ -69,6 +69,7 @@ declare const GetNotificationEventCommand_base: {
|
|
|
69
69
|
* // headline: "STRING_VALUE",
|
|
70
70
|
* // paragraphSummary: "STRING_VALUE",
|
|
71
71
|
* // completeDescription: "STRING_VALUE",
|
|
72
|
+
* // markupDescription: "STRING_VALUE",
|
|
72
73
|
* // dimensions: [ // Dimensions
|
|
73
74
|
* // { // Dimension
|
|
74
75
|
* // name: "STRING_VALUE", // required
|
|
@@ -45,8 +45,9 @@ declare const ListManagedNotificationChannelAssociationsCommand_base: {
|
|
|
45
45
|
* // channelAssociations: [ // ManagedNotificationChannelAssociations // required
|
|
46
46
|
* // { // ManagedNotificationChannelAssociationSummary
|
|
47
47
|
* // channelIdentifier: "STRING_VALUE", // required
|
|
48
|
-
* // channelType: "
|
|
48
|
+
* // channelType: "MOBILE" || "CHATBOT" || "EMAIL" || "ACCOUNT_CONTACT", // required
|
|
49
49
|
* // overrideOption: "STRING_VALUE",
|
|
50
|
+
* // isSensitiveEventsSubscribed: true || false,
|
|
50
51
|
* // },
|
|
51
52
|
* // ],
|
|
52
53
|
* // };
|
|
@@ -42,6 +42,7 @@ declare const ListManagedNotificationEventsCommand_base: {
|
|
|
42
42
|
* nextToken: "STRING_VALUE",
|
|
43
43
|
* organizationalUnitId: "STRING_VALUE",
|
|
44
44
|
* relatedAccount: "STRING_VALUE",
|
|
45
|
+
* includeSensitiveEvents: true || false,
|
|
45
46
|
* };
|
|
46
47
|
* const command = new ListManagedNotificationEventsCommand(input);
|
|
47
48
|
* const response = await client.send(command);
|
|
@@ -24,7 +24,7 @@ declare const RegisterNotificationHubCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Registers a <code>
|
|
27
|
+
* <p>Registers a <code>NotificationHub</code> in the specified Region.</p> <p>There is a maximum of one <code>NotificationHub</code> per Region. You can have a maximum of 3 <code>NotificationHub</code> resources at a time.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdateManagedNotificationChannelAssociationRequest, UpdateManagedNotificationChannelAssociationResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UpdateManagedNotificationChannelAssociationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateManagedNotificationChannelAssociationCommandInput extends UpdateManagedNotificationChannelAssociationRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UpdateManagedNotificationChannelAssociationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateManagedNotificationChannelAssociationCommandOutput extends UpdateManagedNotificationChannelAssociationResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UpdateManagedNotificationChannelAssociationCommand_base: {
|
|
22
|
+
new (input: UpdateManagedNotificationChannelAssociationCommandInput): import("@smithy/core/client").CommandImpl<UpdateManagedNotificationChannelAssociationCommandInput, UpdateManagedNotificationChannelAssociationCommandOutput, import("..").NotificationsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateManagedNotificationChannelAssociationCommandInput): import("@smithy/core/client").CommandImpl<UpdateManagedNotificationChannelAssociationCommandInput, UpdateManagedNotificationChannelAssociationCommandOutput, import("..").NotificationsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Updates the <code>isSensitiveEventsSubscribed</code> property of a particular ManagedNotification channel association.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NotificationsClient, UpdateManagedNotificationChannelAssociationCommand } from "@aws-sdk/client-notifications"; // ES Modules import
|
|
32
|
+
* // const { NotificationsClient, UpdateManagedNotificationChannelAssociationCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
|
|
33
|
+
* // import type { NotificationsClientConfig } from "@aws-sdk/client-notifications";
|
|
34
|
+
* const config = {}; // type is NotificationsClientConfig
|
|
35
|
+
* const client = new NotificationsClient(config);
|
|
36
|
+
* const input = { // UpdateManagedNotificationChannelAssociationRequest
|
|
37
|
+
* managedNotificationConfigurationArn: "STRING_VALUE", // required
|
|
38
|
+
* channelIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* isSensitiveEventsSubscribed: true || false,
|
|
40
|
+
* };
|
|
41
|
+
* const command = new UpdateManagedNotificationChannelAssociationCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param UpdateManagedNotificationChannelAssociationCommandInput - {@link UpdateManagedNotificationChannelAssociationCommandInput}
|
|
48
|
+
* @returns {@link UpdateManagedNotificationChannelAssociationCommandOutput}
|
|
49
|
+
* @see {@link UpdateManagedNotificationChannelAssociationCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link UpdateManagedNotificationChannelAssociationCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ConflictException} (client fault)
|
|
57
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerException} (server fault)
|
|
60
|
+
* <p>Unexpected error during processing of request.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>Request references a resource which does not exist. </p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* <p>Request was denied due to request throttling. </p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
* <p>This exception is thrown when the notification event fails validation.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link NotificationsServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from Notifications service.</p>
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class UpdateManagedNotificationChannelAssociationCommand extends UpdateManagedNotificationChannelAssociationCommand_base {
|
|
78
|
+
/** @internal type navigation helper, not in runtime. */
|
|
79
|
+
protected static __types: {
|
|
80
|
+
api: {
|
|
81
|
+
input: UpdateManagedNotificationChannelAssociationRequest;
|
|
82
|
+
output: {};
|
|
83
|
+
};
|
|
84
|
+
sdk: {
|
|
85
|
+
input: UpdateManagedNotificationChannelAssociationCommandInput;
|
|
86
|
+
output: UpdateManagedNotificationChannelAssociationCommandOutput;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -36,4 +36,5 @@ export * from "./RegisterNotificationHubCommand";
|
|
|
36
36
|
export * from "./TagResourceCommand";
|
|
37
37
|
export * from "./UntagResourceCommand";
|
|
38
38
|
export * from "./UpdateEventRuleCommand";
|
|
39
|
+
export * from "./UpdateManagedNotificationChannelAssociationCommand";
|
|
39
40
|
export * from "./UpdateNotificationConfigurationCommand";
|
|
@@ -115,23 +115,19 @@ export type ChannelAssociationOverrideOption = (typeof ChannelAssociationOverrid
|
|
|
115
115
|
*/
|
|
116
116
|
export declare const ChannelType: {
|
|
117
117
|
/**
|
|
118
|
-
*
|
|
119
|
-
*
|
|
118
|
+
* User Notification Service sends notifications to Account Managed contacts.
|
|
120
119
|
*/
|
|
121
120
|
readonly ACCOUNT_CONTACT: "ACCOUNT_CONTACT";
|
|
122
121
|
/**
|
|
123
|
-
*
|
|
124
|
-
*
|
|
122
|
+
* Chatbot sends notifications to group platforms, like Slack or Chime. Link:https://aws.amazon.com/chatbot/
|
|
125
123
|
*/
|
|
126
124
|
readonly CHATBOT: "CHATBOT";
|
|
127
125
|
/**
|
|
128
|
-
*
|
|
129
|
-
*
|
|
126
|
+
* Email sends notifications to email addresses.
|
|
130
127
|
*/
|
|
131
128
|
readonly EMAIL: "EMAIL";
|
|
132
129
|
/**
|
|
133
|
-
*
|
|
134
|
-
*
|
|
130
|
+
* AWS Console Mobile App sends notifications to mobile devices. Link:https://aws.amazon.com/console/mobile/
|
|
135
131
|
*/
|
|
136
132
|
readonly MOBILE: "MOBILE";
|
|
137
133
|
};
|
|
@@ -335,6 +331,7 @@ export type SchemaVersion = (typeof SchemaVersion)[keyof typeof SchemaVersion];
|
|
|
335
331
|
export declare const TextPartType: {
|
|
336
332
|
readonly LOCALIZED_TEXT: "LOCALIZED_TEXT";
|
|
337
333
|
readonly PLAIN_TEXT: "PLAIN_TEXT";
|
|
334
|
+
readonly PORTABLE_TEXT: "PORTABLE_TEXT";
|
|
338
335
|
readonly URL: "URL";
|
|
339
336
|
};
|
|
340
337
|
/**
|
|
@@ -149,6 +149,11 @@ export interface AssociateManagedNotificationAccountContactRequest {
|
|
|
149
149
|
* @public
|
|
150
150
|
*/
|
|
151
151
|
managedNotificationConfigurationArn: string | undefined;
|
|
152
|
+
/**
|
|
153
|
+
* <p>Specifies whether this contact is subscribed to sensitive events. The <code>notifications:SubscribeSensitiveEvents</code> permission controls access to sensitive events. Defaults to false.</p>
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
isSensitiveEventsSubscribed?: boolean | undefined;
|
|
152
157
|
}
|
|
153
158
|
/**
|
|
154
159
|
* @public
|
|
@@ -169,6 +174,11 @@ export interface AssociateManagedNotificationAdditionalChannelRequest {
|
|
|
169
174
|
* @public
|
|
170
175
|
*/
|
|
171
176
|
managedNotificationConfigurationArn: string | undefined;
|
|
177
|
+
/**
|
|
178
|
+
* <p>Specifies whether this channel is subscribed to sensitive events. The <code>notifications:SubscribeSensitiveEvents</code> permission controls access to sensitive events. Defaults to false.</p>
|
|
179
|
+
* @public
|
|
180
|
+
*/
|
|
181
|
+
isSensitiveEventsSubscribed?: boolean | undefined;
|
|
172
182
|
}
|
|
173
183
|
/**
|
|
174
184
|
* @public
|
|
@@ -391,7 +401,7 @@ export interface DeleteNotificationConfigurationResponse {
|
|
|
391
401
|
*/
|
|
392
402
|
export interface DeregisterNotificationHubRequest {
|
|
393
403
|
/**
|
|
394
|
-
* <p>The <code>
|
|
404
|
+
* <p>The <code>NotificationHub</code> Region.</p>
|
|
395
405
|
* @public
|
|
396
406
|
*/
|
|
397
407
|
notificationHubRegion: string | undefined;
|
|
@@ -417,12 +427,12 @@ export interface NotificationHubStatusSummary {
|
|
|
417
427
|
*/
|
|
418
428
|
export interface DeregisterNotificationHubResponse {
|
|
419
429
|
/**
|
|
420
|
-
* <p>The <code>
|
|
430
|
+
* <p>The <code>NotificationHub</code> Region.</p>
|
|
421
431
|
* @public
|
|
422
432
|
*/
|
|
423
433
|
notificationHubRegion: string | undefined;
|
|
424
434
|
/**
|
|
425
|
-
* <p> <code>
|
|
435
|
+
* <p> <code>NotificationHub</code> status information.</p>
|
|
426
436
|
* @public
|
|
427
437
|
*/
|
|
428
438
|
statusSummary: NotificationHubStatusSummary | undefined;
|
|
@@ -744,6 +754,11 @@ export interface MessageComponents {
|
|
|
744
754
|
* @public
|
|
745
755
|
*/
|
|
746
756
|
completeDescription?: string | undefined;
|
|
757
|
+
/**
|
|
758
|
+
* <p>A rich description in Portable Text format, which you can convert to markup formats such as HTML, Markdown, or plain text. Channels that don't support rich rendering ignore this field and use the plain text components instead.</p>
|
|
759
|
+
* @public
|
|
760
|
+
*/
|
|
761
|
+
markupDescription?: string | undefined;
|
|
747
762
|
/**
|
|
748
763
|
* <p>A list of properties in key-value pairs. Pairs are shown in order of importance from most important to least important. Channels may limit the number of dimensions shown to the notification viewer.</p> <note> <p>Included dimensions, keys, and values are subject to change.</p> </note>
|
|
749
764
|
* @public
|
|
@@ -777,7 +792,7 @@ export interface TextPartValue {
|
|
|
777
792
|
url?: string | undefined;
|
|
778
793
|
}
|
|
779
794
|
/**
|
|
780
|
-
* <p>A
|
|
795
|
+
* <p>A notification-focused representation of an event. They contain semantic information used to create aggregated or non-aggregated end-user notifications.</p>
|
|
781
796
|
* @public
|
|
782
797
|
*/
|
|
783
798
|
export interface ManagedNotificationChildEvent {
|
|
@@ -927,6 +942,27 @@ export interface GetManagedNotificationEventRequest {
|
|
|
927
942
|
*/
|
|
928
943
|
locale?: LocaleCode | undefined;
|
|
929
944
|
}
|
|
945
|
+
/**
|
|
946
|
+
* <p>A file attached to a notification event.</p>
|
|
947
|
+
* @public
|
|
948
|
+
*/
|
|
949
|
+
export interface NotificationEventAttachment {
|
|
950
|
+
/**
|
|
951
|
+
* <p>The name of the attachment that recipients see.</p>
|
|
952
|
+
* @public
|
|
953
|
+
*/
|
|
954
|
+
displayName: string | undefined;
|
|
955
|
+
/**
|
|
956
|
+
* <p>A temporary URL for downloading the attachment. The URL expires shortly after it's issued.</p>
|
|
957
|
+
* @public
|
|
958
|
+
*/
|
|
959
|
+
attachmentDownloadUrl?: string | undefined;
|
|
960
|
+
/**
|
|
961
|
+
* <p>The MIME content type of the attachment, for example <code>application/pdf</code>.</p>
|
|
962
|
+
* @public
|
|
963
|
+
*/
|
|
964
|
+
contentType: string | undefined;
|
|
965
|
+
}
|
|
930
966
|
/**
|
|
931
967
|
* <p>A notification-focused representation of an event. They contain semantic information used by AccountContacts or Additional Channels to create end-user notifications.</p>
|
|
932
968
|
* @public
|
|
@@ -997,6 +1033,11 @@ export interface ManagedNotificationEvent {
|
|
|
997
1033
|
* @public
|
|
998
1034
|
*/
|
|
999
1035
|
organizationalUnitId?: string | undefined;
|
|
1036
|
+
/**
|
|
1037
|
+
* <p>A list of files attached to the notification event.</p>
|
|
1038
|
+
* @public
|
|
1039
|
+
*/
|
|
1040
|
+
attachments?: NotificationEventAttachment[] | undefined;
|
|
1000
1041
|
}
|
|
1001
1042
|
/**
|
|
1002
1043
|
* @public
|
|
@@ -1363,6 +1404,11 @@ export interface ManagedNotificationChannelAssociationSummary {
|
|
|
1363
1404
|
* @public
|
|
1364
1405
|
*/
|
|
1365
1406
|
overrideOption?: ChannelAssociationOverrideOption | undefined;
|
|
1407
|
+
/**
|
|
1408
|
+
* <p>Specifies whether this channel association is subscribed to sensitive events. Defaults to false for associations created without the flag.</p>
|
|
1409
|
+
* @public
|
|
1410
|
+
*/
|
|
1411
|
+
isSensitiveEventsSubscribed?: boolean | undefined;
|
|
1366
1412
|
}
|
|
1367
1413
|
/**
|
|
1368
1414
|
* @public
|
|
@@ -1648,6 +1694,11 @@ export interface ListManagedNotificationEventsRequest {
|
|
|
1648
1694
|
* @public
|
|
1649
1695
|
*/
|
|
1650
1696
|
relatedAccount?: string | undefined;
|
|
1697
|
+
/**
|
|
1698
|
+
* <p>Specifies whether to include sensitive events in the result. By default, only non-sensitive events are returned. The <code>notifications:AccessSensitiveEvents</code> permission controls access to sensitive events.</p>
|
|
1699
|
+
* @public
|
|
1700
|
+
*/
|
|
1701
|
+
includeSensitiveEvents?: boolean | undefined;
|
|
1651
1702
|
}
|
|
1652
1703
|
/**
|
|
1653
1704
|
* <p>A short summary of a <code>ManagedNotificationEvent</code>. This is only used when listing managed notification events.</p>
|
|
@@ -2252,7 +2303,7 @@ export interface RegisterNotificationHubResponse {
|
|
|
2252
2303
|
*/
|
|
2253
2304
|
notificationHubRegion: string | undefined;
|
|
2254
2305
|
/**
|
|
2255
|
-
* <p>Provides additional information about the current <code>
|
|
2306
|
+
* <p>Provides additional information about the current <code>NotificationHub</code> status information.</p>
|
|
2256
2307
|
* @public
|
|
2257
2308
|
*/
|
|
2258
2309
|
statusSummary: NotificationHubStatusSummary | undefined;
|
|
@@ -2307,3 +2358,28 @@ export interface UntagResourceRequest {
|
|
|
2307
2358
|
*/
|
|
2308
2359
|
export interface UntagResourceResponse {
|
|
2309
2360
|
}
|
|
2361
|
+
/**
|
|
2362
|
+
* @public
|
|
2363
|
+
*/
|
|
2364
|
+
export interface UpdateManagedNotificationChannelAssociationRequest {
|
|
2365
|
+
/**
|
|
2366
|
+
* <p>The Amazon Resource Name (ARN) of the <code>ManagedNotificationConfiguration</code> whose Channel association property you want to update.</p>
|
|
2367
|
+
* @public
|
|
2368
|
+
*/
|
|
2369
|
+
managedNotificationConfigurationArn: string | undefined;
|
|
2370
|
+
/**
|
|
2371
|
+
* <p>The identifier of the channel association to update. You can specify one of the following:</p> <ul> <li> <p>An Account contact identifier.</p> </li> <li> <p>A Channel ARN.</p> </li> </ul>
|
|
2372
|
+
* @public
|
|
2373
|
+
*/
|
|
2374
|
+
channelIdentifier: string | undefined;
|
|
2375
|
+
/**
|
|
2376
|
+
* <p>Specifies whether the association is subscribed to sensitive events. The <code>notifications:SubscribeSensitiveEvents</code> permission controls access to sensitive events.</p>
|
|
2377
|
+
* @public
|
|
2378
|
+
*/
|
|
2379
|
+
isSensitiveEventsSubscribed?: boolean | undefined;
|
|
2380
|
+
}
|
|
2381
|
+
/**
|
|
2382
|
+
* @public
|
|
2383
|
+
*/
|
|
2384
|
+
export interface UpdateManagedNotificationChannelAssociationResponse {
|
|
2385
|
+
}
|
|
@@ -102,6 +102,7 @@ export declare var MemberAccount$: StaticStructureSchema;
|
|
|
102
102
|
export declare var MessageComponents$: StaticStructureSchema;
|
|
103
103
|
export declare var MessageComponentsSummary$: StaticStructureSchema;
|
|
104
104
|
export declare var NotificationConfigurationStructure$: StaticStructureSchema;
|
|
105
|
+
export declare var NotificationEventAttachment$: StaticStructureSchema;
|
|
105
106
|
export declare var NotificationEventOverview$: StaticStructureSchema;
|
|
106
107
|
export declare var NotificationEventSchema$: StaticStructureSchema;
|
|
107
108
|
export declare var NotificationEventSummary$: StaticStructureSchema;
|
|
@@ -122,6 +123,8 @@ export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
|
122
123
|
export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
123
124
|
export declare var UpdateEventRuleRequest$: StaticStructureSchema;
|
|
124
125
|
export declare var UpdateEventRuleResponse$: StaticStructureSchema;
|
|
126
|
+
export declare var UpdateManagedNotificationChannelAssociationRequest$: StaticStructureSchema;
|
|
127
|
+
export declare var UpdateManagedNotificationChannelAssociationResponse$: StaticStructureSchema;
|
|
125
128
|
export declare var UpdateNotificationConfigurationRequest$: StaticStructureSchema;
|
|
126
129
|
export declare var UpdateNotificationConfigurationResponse$: StaticStructureSchema;
|
|
127
130
|
export declare var ValidationExceptionField$: StaticStructureSchema;
|
|
@@ -163,4 +166,5 @@ export declare var RegisterNotificationHub$: StaticOperationSchema;
|
|
|
163
166
|
export declare var TagResource$: StaticOperationSchema;
|
|
164
167
|
export declare var UntagResource$: StaticOperationSchema;
|
|
165
168
|
export declare var UpdateEventRule$: StaticOperationSchema;
|
|
169
|
+
export declare var UpdateManagedNotificationChannelAssociation$: StaticOperationSchema;
|
|
166
170
|
export declare var UpdateNotificationConfiguration$: StaticOperationSchema;
|
|
@@ -152,6 +152,10 @@ import {
|
|
|
152
152
|
UpdateEventRuleCommandInput,
|
|
153
153
|
UpdateEventRuleCommandOutput,
|
|
154
154
|
} from "./commands/UpdateEventRuleCommand";
|
|
155
|
+
import {
|
|
156
|
+
UpdateManagedNotificationChannelAssociationCommandInput,
|
|
157
|
+
UpdateManagedNotificationChannelAssociationCommandOutput,
|
|
158
|
+
} from "./commands/UpdateManagedNotificationChannelAssociationCommand";
|
|
155
159
|
import {
|
|
156
160
|
UpdateNotificationConfigurationCommandInput,
|
|
157
161
|
UpdateNotificationConfigurationCommandOutput,
|
|
@@ -660,6 +664,19 @@ export interface Notifications {
|
|
|
660
664
|
options: __HttpHandlerOptions,
|
|
661
665
|
cb: (err: any, data?: UpdateEventRuleCommandOutput) => void,
|
|
662
666
|
): void;
|
|
667
|
+
updateManagedNotificationChannelAssociation(
|
|
668
|
+
args: UpdateManagedNotificationChannelAssociationCommandInput,
|
|
669
|
+
options?: __HttpHandlerOptions,
|
|
670
|
+
): Promise<UpdateManagedNotificationChannelAssociationCommandOutput>;
|
|
671
|
+
updateManagedNotificationChannelAssociation(
|
|
672
|
+
args: UpdateManagedNotificationChannelAssociationCommandInput,
|
|
673
|
+
cb: (err: any, data?: UpdateManagedNotificationChannelAssociationCommandOutput) => void,
|
|
674
|
+
): void;
|
|
675
|
+
updateManagedNotificationChannelAssociation(
|
|
676
|
+
args: UpdateManagedNotificationChannelAssociationCommandInput,
|
|
677
|
+
options: __HttpHandlerOptions,
|
|
678
|
+
cb: (err: any, data?: UpdateManagedNotificationChannelAssociationCommandOutput) => void,
|
|
679
|
+
): void;
|
|
663
680
|
updateNotificationConfiguration(
|
|
664
681
|
args: UpdateNotificationConfigurationCommandInput,
|
|
665
682
|
options?: __HttpHandlerOptions,
|
|
@@ -182,6 +182,10 @@ import {
|
|
|
182
182
|
UpdateEventRuleCommandInput,
|
|
183
183
|
UpdateEventRuleCommandOutput,
|
|
184
184
|
} from "./commands/UpdateEventRuleCommand";
|
|
185
|
+
import {
|
|
186
|
+
UpdateManagedNotificationChannelAssociationCommandInput,
|
|
187
|
+
UpdateManagedNotificationChannelAssociationCommandOutput,
|
|
188
|
+
} from "./commands/UpdateManagedNotificationChannelAssociationCommand";
|
|
185
189
|
import {
|
|
186
190
|
UpdateNotificationConfigurationCommandInput,
|
|
187
191
|
UpdateNotificationConfigurationCommandOutput,
|
|
@@ -232,6 +236,7 @@ export type ServiceInputTypes =
|
|
|
232
236
|
| TagResourceCommandInput
|
|
233
237
|
| UntagResourceCommandInput
|
|
234
238
|
| UpdateEventRuleCommandInput
|
|
239
|
+
| UpdateManagedNotificationChannelAssociationCommandInput
|
|
235
240
|
| UpdateNotificationConfigurationCommandInput;
|
|
236
241
|
export type ServiceOutputTypes =
|
|
237
242
|
| AssociateChannelCommandOutput
|
|
@@ -272,6 +277,7 @@ export type ServiceOutputTypes =
|
|
|
272
277
|
| TagResourceCommandOutput
|
|
273
278
|
| UntagResourceCommandOutput
|
|
274
279
|
| UpdateEventRuleCommandOutput
|
|
280
|
+
| UpdateManagedNotificationChannelAssociationCommandOutput
|
|
275
281
|
| UpdateNotificationConfigurationCommandOutput;
|
|
276
282
|
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
277
283
|
requestHandler?: __HttpHandlerUserInput;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
UpdateManagedNotificationChannelAssociationRequest,
|
|
4
|
+
UpdateManagedNotificationChannelAssociationResponse,
|
|
5
|
+
} from "../models/models_0";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface UpdateManagedNotificationChannelAssociationCommandInput extends UpdateManagedNotificationChannelAssociationRequest {}
|
|
8
|
+
export interface UpdateManagedNotificationChannelAssociationCommandOutput
|
|
9
|
+
extends UpdateManagedNotificationChannelAssociationResponse, __MetadataBearer {}
|
|
10
|
+
declare const UpdateManagedNotificationChannelAssociationCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: UpdateManagedNotificationChannelAssociationCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
UpdateManagedNotificationChannelAssociationCommandInput,
|
|
15
|
+
UpdateManagedNotificationChannelAssociationCommandOutput,
|
|
16
|
+
import("..").NotificationsClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateManagedNotificationChannelAssociationCommandInput,
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
UpdateManagedNotificationChannelAssociationCommandInput,
|
|
24
|
+
UpdateManagedNotificationChannelAssociationCommandOutput,
|
|
25
|
+
import("..").NotificationsClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class UpdateManagedNotificationChannelAssociationCommand extends UpdateManagedNotificationChannelAssociationCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: UpdateManagedNotificationChannelAssociationRequest;
|
|
35
|
+
output: {};
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: UpdateManagedNotificationChannelAssociationCommandInput;
|
|
39
|
+
output: UpdateManagedNotificationChannelAssociationCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -36,4 +36,5 @@ export * from "./RegisterNotificationHubCommand";
|
|
|
36
36
|
export * from "./TagResourceCommand";
|
|
37
37
|
export * from "./UntagResourceCommand";
|
|
38
38
|
export * from "./UpdateEventRuleCommand";
|
|
39
|
+
export * from "./UpdateManagedNotificationChannelAssociationCommand";
|
|
39
40
|
export * from "./UpdateNotificationConfigurationCommand";
|
|
@@ -104,6 +104,7 @@ export type SchemaVersion = (typeof SchemaVersion)[keyof typeof SchemaVersion];
|
|
|
104
104
|
export declare const TextPartType: {
|
|
105
105
|
readonly LOCALIZED_TEXT: "LOCALIZED_TEXT";
|
|
106
106
|
readonly PLAIN_TEXT: "PLAIN_TEXT";
|
|
107
|
+
readonly PORTABLE_TEXT: "PORTABLE_TEXT";
|
|
107
108
|
readonly URL: "URL";
|
|
108
109
|
};
|
|
109
110
|
export type TextPartType = (typeof TextPartType)[keyof typeof TextPartType];
|
|
@@ -53,11 +53,13 @@ export interface ValidationExceptionField {
|
|
|
53
53
|
export interface AssociateManagedNotificationAccountContactRequest {
|
|
54
54
|
contactIdentifier: AccountContactType | undefined;
|
|
55
55
|
managedNotificationConfigurationArn: string | undefined;
|
|
56
|
+
isSensitiveEventsSubscribed?: boolean | undefined;
|
|
56
57
|
}
|
|
57
58
|
export interface AssociateManagedNotificationAccountContactResponse {}
|
|
58
59
|
export interface AssociateManagedNotificationAdditionalChannelRequest {
|
|
59
60
|
channelArn: string | undefined;
|
|
60
61
|
managedNotificationConfigurationArn: string | undefined;
|
|
62
|
+
isSensitiveEventsSubscribed?: boolean | undefined;
|
|
61
63
|
}
|
|
62
64
|
export interface AssociateManagedNotificationAdditionalChannelResponse {}
|
|
63
65
|
export interface AssociateOrganizationalUnitRequest {
|
|
@@ -199,6 +201,7 @@ export interface MessageComponents {
|
|
|
199
201
|
headline?: string | undefined;
|
|
200
202
|
paragraphSummary?: string | undefined;
|
|
201
203
|
completeDescription?: string | undefined;
|
|
204
|
+
markupDescription?: string | undefined;
|
|
202
205
|
dimensions?: Dimension[] | undefined;
|
|
203
206
|
}
|
|
204
207
|
export interface TextPartValue {
|
|
@@ -242,6 +245,11 @@ export interface GetManagedNotificationEventRequest {
|
|
|
242
245
|
arn: string | undefined;
|
|
243
246
|
locale?: LocaleCode | undefined;
|
|
244
247
|
}
|
|
248
|
+
export interface NotificationEventAttachment {
|
|
249
|
+
displayName: string | undefined;
|
|
250
|
+
attachmentDownloadUrl?: string | undefined;
|
|
251
|
+
contentType: string | undefined;
|
|
252
|
+
}
|
|
245
253
|
export interface ManagedNotificationEvent {
|
|
246
254
|
schemaVersion: SchemaVersion | undefined;
|
|
247
255
|
id: string | undefined;
|
|
@@ -256,6 +264,7 @@ export interface ManagedNotificationEvent {
|
|
|
256
264
|
endTime?: Date | undefined;
|
|
257
265
|
textParts: Record<string, TextPartValue> | undefined;
|
|
258
266
|
organizationalUnitId?: string | undefined;
|
|
267
|
+
attachments?: NotificationEventAttachment[] | undefined;
|
|
259
268
|
}
|
|
260
269
|
export interface GetManagedNotificationEventResponse {
|
|
261
270
|
arn: string | undefined;
|
|
@@ -341,6 +350,7 @@ export interface ManagedNotificationChannelAssociationSummary {
|
|
|
341
350
|
channelIdentifier: string | undefined;
|
|
342
351
|
channelType: ChannelType | undefined;
|
|
343
352
|
overrideOption?: ChannelAssociationOverrideOption | undefined;
|
|
353
|
+
isSensitiveEventsSubscribed?: boolean | undefined;
|
|
344
354
|
}
|
|
345
355
|
export interface ListManagedNotificationChannelAssociationsResponse {
|
|
346
356
|
nextToken?: string | undefined;
|
|
@@ -408,6 +418,7 @@ export interface ListManagedNotificationEventsRequest {
|
|
|
408
418
|
nextToken?: string | undefined;
|
|
409
419
|
organizationalUnitId?: string | undefined;
|
|
410
420
|
relatedAccount?: string | undefined;
|
|
421
|
+
includeSensitiveEvents?: boolean | undefined;
|
|
411
422
|
}
|
|
412
423
|
export interface ManagedNotificationEventSummary {
|
|
413
424
|
schemaVersion: SchemaVersion | undefined;
|
|
@@ -566,3 +577,9 @@ export interface UntagResourceRequest {
|
|
|
566
577
|
tagKeys: string[] | undefined;
|
|
567
578
|
}
|
|
568
579
|
export interface UntagResourceResponse {}
|
|
580
|
+
export interface UpdateManagedNotificationChannelAssociationRequest {
|
|
581
|
+
managedNotificationConfigurationArn: string | undefined;
|
|
582
|
+
channelIdentifier: string | undefined;
|
|
583
|
+
isSensitiveEventsSubscribed?: boolean | undefined;
|
|
584
|
+
}
|
|
585
|
+
export interface UpdateManagedNotificationChannelAssociationResponse {}
|
|
@@ -97,6 +97,7 @@ export declare var MemberAccount$: StaticStructureSchema;
|
|
|
97
97
|
export declare var MessageComponents$: StaticStructureSchema;
|
|
98
98
|
export declare var MessageComponentsSummary$: StaticStructureSchema;
|
|
99
99
|
export declare var NotificationConfigurationStructure$: StaticStructureSchema;
|
|
100
|
+
export declare var NotificationEventAttachment$: StaticStructureSchema;
|
|
100
101
|
export declare var NotificationEventOverview$: StaticStructureSchema;
|
|
101
102
|
export declare var NotificationEventSchema$: StaticStructureSchema;
|
|
102
103
|
export declare var NotificationEventSummary$: StaticStructureSchema;
|
|
@@ -117,6 +118,8 @@ export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
|
117
118
|
export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
118
119
|
export declare var UpdateEventRuleRequest$: StaticStructureSchema;
|
|
119
120
|
export declare var UpdateEventRuleResponse$: StaticStructureSchema;
|
|
121
|
+
export declare var UpdateManagedNotificationChannelAssociationRequest$: StaticStructureSchema;
|
|
122
|
+
export declare var UpdateManagedNotificationChannelAssociationResponse$: StaticStructureSchema;
|
|
120
123
|
export declare var UpdateNotificationConfigurationRequest$: StaticStructureSchema;
|
|
121
124
|
export declare var UpdateNotificationConfigurationResponse$: StaticStructureSchema;
|
|
122
125
|
export declare var ValidationExceptionField$: StaticStructureSchema;
|
|
@@ -158,4 +161,5 @@ export declare var RegisterNotificationHub$: StaticOperationSchema;
|
|
|
158
161
|
export declare var TagResource$: StaticOperationSchema;
|
|
159
162
|
export declare var UntagResource$: StaticOperationSchema;
|
|
160
163
|
export declare var UpdateEventRule$: StaticOperationSchema;
|
|
164
|
+
export declare var UpdateManagedNotificationChannelAssociation$: StaticOperationSchema;
|
|
161
165
|
export declare var UpdateNotificationConfiguration$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-notifications",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1135.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Notifications Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-notifications",
|
|
6
6
|
"license": "Apache-2.0",
|