@aws-sdk/client-notifications 3.936.0 → 3.940.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,34 +1,4 @@
1
- import { AccessStatus } from "./enums";
2
- /**
3
- * @public
4
- * @enum
5
- */
6
- export declare const AccountContactType: {
7
- /**
8
- * Alternate Billing Contact managed by AWS Account Management Service.
9
- *
10
- */
11
- readonly ACCOUNT_ALTERNATE_BILLING: "ACCOUNT_ALTERNATE_BILLING";
12
- /**
13
- * Alternate Operations Contact managed by AWS Account Management Service.
14
- *
15
- */
16
- readonly ACCOUNT_ALTERNATE_OPERATIONS: "ACCOUNT_ALTERNATE_OPERATIONS";
17
- /**
18
- * Alternate Security Contact managed by AWS Account Management Service.
19
- *
20
- */
21
- readonly ACCOUNT_ALTERNATE_SECURITY: "ACCOUNT_ALTERNATE_SECURITY";
22
- /**
23
- * Primary Contact managed by AWS Account Management Service.
24
- *
25
- */
26
- readonly ACCOUNT_PRIMARY: "ACCOUNT_PRIMARY";
27
- };
28
- /**
29
- * @public
30
- */
31
- export type AccountContactType = (typeof AccountContactType)[keyof typeof AccountContactType];
1
+ import { AccessStatus, AccountContactType, AggregationDuration, AggregationEventType, ChannelAssociationOverrideOption, ChannelType, EventRuleStatus, EventStatus, LocaleCode, MediaElementType, MemberAccountNotificationConfigurationStatus, NotificationConfigurationStatus, NotificationConfigurationSubtype, NotificationHubStatus, NotificationType, SchemaVersion, TextPartType } from "./enums";
32
2
  /**
33
3
  * <p>Provides detailed information about the dimensions used for event summarization and aggregation.</p>
34
4
  * @public
@@ -56,41 +26,6 @@ export interface AggregationDetail {
56
26
  */
57
27
  summarizationDimensions?: SummarizationDimensionDetail[] | undefined;
58
28
  }
59
- /**
60
- * @public
61
- * @enum
62
- */
63
- export declare const AggregationDuration: {
64
- /**
65
- * Aggregate notifications for long periods of time (12 hours)
66
- */
67
- readonly LONG: "LONG";
68
- /**
69
- * Do not aggregate notifications sourced from a notification configuration
70
- */
71
- readonly NONE: "NONE";
72
- /**
73
- * Aggregate notifications for short periods of time (5 mins)
74
- */
75
- readonly SHORT: "SHORT";
76
- };
77
- /**
78
- * @public
79
- */
80
- export type AggregationDuration = (typeof AggregationDuration)[keyof typeof AggregationDuration];
81
- /**
82
- * @public
83
- * @enum
84
- */
85
- export declare const AggregationEventType: {
86
- readonly AGGREGATE: "AGGREGATE";
87
- readonly CHILD: "CHILD";
88
- readonly NONE: "NONE";
89
- };
90
- /**
91
- * @public
92
- */
93
- export type AggregationEventType = (typeof AggregationEventType)[keyof typeof AggregationEventType];
94
29
  /**
95
30
  * <p>Key-value collection that indicate how notifications are grouped.</p>
96
31
  * @public
@@ -200,18 +135,6 @@ export interface ValidationExceptionField {
200
135
  */
201
136
  message: string | undefined;
202
137
  }
203
- /**
204
- * @public
205
- * @enum
206
- */
207
- export declare const ValidationExceptionReason: {
208
- readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
209
- readonly OTHER: "other";
210
- };
211
- /**
212
- * @public
213
- */
214
- export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
215
138
  /**
216
139
  * @public
217
140
  */
@@ -327,56 +250,6 @@ export interface ListChannelsResponse {
327
250
  */
328
251
  channels: string[] | undefined;
329
252
  }
330
- /**
331
- * @public
332
- * @enum
333
- */
334
- export declare const ChannelAssociationOverrideOption: {
335
- /**
336
- * AWS User Notification service users can not associate or disassociate a Channel with a notification configuration.
337
- *
338
- */
339
- readonly DISABLED: "DISABLED";
340
- /**
341
- * AWS User Notification service users can associate or disassociate a Channel with a notification configuration.
342
- *
343
- */
344
- readonly ENABLED: "ENABLED";
345
- };
346
- /**
347
- * @public
348
- */
349
- export type ChannelAssociationOverrideOption = (typeof ChannelAssociationOverrideOption)[keyof typeof ChannelAssociationOverrideOption];
350
- /**
351
- * @public
352
- * @enum
353
- */
354
- export declare const ChannelType: {
355
- /**
356
- * User Notification Service sends notifications to Account Managed contacts.
357
- *
358
- */
359
- readonly ACCOUNT_CONTACT: "ACCOUNT_CONTACT";
360
- /**
361
- * Chatbot sends notifications to group platforms, like Slack or Chime. Link:https://aws.amazon.com/chatbot/
362
- *
363
- */
364
- readonly CHATBOT: "CHATBOT";
365
- /**
366
- * Email sends notifications to email addresses.
367
- *
368
- */
369
- readonly EMAIL: "EMAIL";
370
- /**
371
- * AWS Console Mobile App sends notifications to mobile devices. Link:https://aws.amazon.com/console/mobile/
372
- *
373
- */
374
- readonly MOBILE: "MOBILE";
375
- };
376
- /**
377
- * @public
378
- */
379
- export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];
380
253
  /**
381
254
  * @public
382
255
  */
@@ -407,36 +280,6 @@ export interface CreateEventRuleRequest {
407
280
  */
408
281
  regions: string[] | undefined;
409
282
  }
410
- /**
411
- * @public
412
- * @enum
413
- */
414
- export declare const EventRuleStatus: {
415
- /**
416
- * EventRule is processing events. Any call can be executed.
417
- */
418
- readonly ACTIVE: "ACTIVE";
419
- /**
420
- * This EventRule is being created. Only GET/LIST calls can be executed.
421
- */
422
- readonly CREATING: "CREATING";
423
- /**
424
- * This EventRule is being deleted. Only GET/LIST calls can be executed.
425
- */
426
- readonly DELETING: "DELETING";
427
- /**
428
- * EventRule is in a bad state and may not be processing events. Any call can be executed.
429
- */
430
- readonly INACTIVE: "INACTIVE";
431
- /**
432
- * This EventRule is being updated. Only GET/LIST calls can be executed.
433
- */
434
- readonly UPDATING: "UPDATING";
435
- };
436
- /**
437
- * @public
438
- */
439
- export type EventRuleStatus = (typeof EventRuleStatus)[keyof typeof EventRuleStatus];
440
283
  /**
441
284
  * <p>Provides additional information about the current <code>EventRule</code> status.</p>
442
285
  * @public
@@ -498,32 +341,6 @@ export interface CreateNotificationConfigurationRequest {
498
341
  */
499
342
  tags?: Record<string, string> | undefined;
500
343
  }
501
- /**
502
- * @public
503
- * @enum
504
- */
505
- export declare const NotificationConfigurationStatus: {
506
- /**
507
- * All of the EventRules are in ACTIVE Status. Any call can be executed.
508
- */
509
- readonly ACTIVE: "ACTIVE";
510
- /**
511
- * This NotificationConfiguration is being deleted. Only GET/LIST calls can be executed.
512
- */
513
- readonly DELETING: "DELETING";
514
- /**
515
- * All of the EventRules are in INACTIVE Status. Any call can be executed.
516
- */
517
- readonly INACTIVE: "INACTIVE";
518
- /**
519
- * Some EventRules are in ACTIVE Status and some are INACTIVE. Any call can be executed.
520
- */
521
- readonly PARTIALLY_ACTIVE: "PARTIALLY_ACTIVE";
522
- };
523
- /**
524
- * @public
525
- */
526
- export type NotificationConfigurationStatus = (typeof NotificationConfigurationStatus)[keyof typeof NotificationConfigurationStatus];
527
344
  /**
528
345
  * @public
529
346
  */
@@ -579,32 +396,6 @@ export interface DeregisterNotificationHubRequest {
579
396
  */
580
397
  notificationHubRegion: string | undefined;
581
398
  }
582
- /**
583
- * @public
584
- * @enum
585
- */
586
- export declare const NotificationHubStatus: {
587
- /**
588
- * Incoming Notification Events are being replicated to this Notification Hub. A Notification Hub with this status can be deregistered.
589
- */
590
- readonly ACTIVE: "ACTIVE";
591
- /**
592
- * Notification Hub is being deleted. Cannot register a Notification Hub in the same region as one in this status.
593
- */
594
- readonly DEREGISTERING: "DEREGISTERING";
595
- /**
596
- * Notification Hub is in a failure state. Incoming Notification Events are not being replicated to this Hub.
597
- */
598
- readonly INACTIVE: "INACTIVE";
599
- /**
600
- * Notification Hub is initializing. Cannot deregister a Notification Hub in this status.
601
- */
602
- readonly REGISTERING: "REGISTERING";
603
- };
604
- /**
605
- * @public
606
- */
607
- export type NotificationHubStatus = (typeof NotificationHubStatus)[keyof typeof NotificationHubStatus];
608
399
  /**
609
400
  * <p>Provides additional information about the current <code>NotificationHub</code> status.</p>
610
401
  * @public
@@ -918,88 +709,6 @@ export interface UpdateEventRuleResponse {
918
709
  */
919
710
  statusSummaryByRegion: Record<string, EventRuleStatusSummary> | undefined;
920
711
  }
921
- /**
922
- * @public
923
- * @enum
924
- */
925
- export declare const EventStatus: {
926
- readonly HEALTHY: "HEALTHY";
927
- readonly UNHEALTHY: "UNHEALTHY";
928
- };
929
- /**
930
- * @public
931
- */
932
- export type EventStatus = (typeof EventStatus)[keyof typeof EventStatus];
933
- /**
934
- * @public
935
- * @enum
936
- */
937
- export declare const LocaleCode: {
938
- /**
939
- * German (Germany)
940
- */
941
- readonly de_DE: "de_DE";
942
- /**
943
- * English (Canada)
944
- */
945
- readonly en_CA: "en_CA";
946
- /**
947
- * English (United Kingdom)
948
- */
949
- readonly en_UK: "en_UK";
950
- /**
951
- * English (United States). This is the default locale.
952
- */
953
- readonly en_US: "en_US";
954
- /**
955
- * Spanish (Spain)
956
- */
957
- readonly es_ES: "es_ES";
958
- /**
959
- * French (Canada)
960
- */
961
- readonly fr_CA: "fr_CA";
962
- /**
963
- * French (France)
964
- */
965
- readonly fr_FR: "fr_FR";
966
- /**
967
- * Bahasa Indonesian (Indonesia)
968
- */
969
- readonly id_ID: "id_ID";
970
- /**
971
- * Italian (Italy)
972
- */
973
- readonly it_IT: "it_IT";
974
- /**
975
- * Japanese (Japan)
976
- */
977
- readonly ja_JP: "ja_JP";
978
- /**
979
- * Korean (Korea)
980
- */
981
- readonly ko_KR: "ko_KR";
982
- /**
983
- * Portuguese (Brazil)
984
- */
985
- readonly pt_BR: "pt_BR";
986
- /**
987
- * Turkish (Turkey)
988
- */
989
- readonly tr_TR: "tr_TR";
990
- /**
991
- * Chinese (China)
992
- */
993
- readonly zh_CN: "zh_CN";
994
- /**
995
- * Chinese (Taiwan)
996
- */
997
- readonly zh_TW: "zh_TW";
998
- };
999
- /**
1000
- * @public
1001
- */
1002
- export type LocaleCode = (typeof LocaleCode)[keyof typeof LocaleCode];
1003
712
  /**
1004
713
  * @public
1005
714
  */
@@ -1041,44 +750,6 @@ export interface MessageComponents {
1041
750
  */
1042
751
  dimensions?: Dimension[] | undefined;
1043
752
  }
1044
- /**
1045
- * @public
1046
- * @enum
1047
- */
1048
- export declare const NotificationType: {
1049
- readonly ALERT: "ALERT";
1050
- readonly ANNOUNCEMENT: "ANNOUNCEMENT";
1051
- readonly INFORMATIONAL: "INFORMATIONAL";
1052
- readonly WARNING: "WARNING";
1053
- };
1054
- /**
1055
- * @public
1056
- */
1057
- export type NotificationType = (typeof NotificationType)[keyof typeof NotificationType];
1058
- /**
1059
- * @public
1060
- * @enum
1061
- */
1062
- export declare const SchemaVersion: {
1063
- readonly SCHEMA_VERSION_1_0: "v1.0";
1064
- };
1065
- /**
1066
- * @public
1067
- */
1068
- export type SchemaVersion = (typeof SchemaVersion)[keyof typeof SchemaVersion];
1069
- /**
1070
- * @public
1071
- * @enum
1072
- */
1073
- export declare const TextPartType: {
1074
- readonly LOCALIZED_TEXT: "LOCALIZED_TEXT";
1075
- readonly PLAIN_TEXT: "PLAIN_TEXT";
1076
- readonly URL: "URL";
1077
- };
1078
- /**
1079
- * @public
1080
- */
1081
- export type TextPartType = (typeof TextPartType)[keyof typeof TextPartType];
1082
753
  /**
1083
754
  * <p>Describes text information objects containing fields that determine how text part objects are composed.</p>
1084
755
  * @public
@@ -1362,24 +1033,6 @@ export interface GetNotificationConfigurationRequest {
1362
1033
  */
1363
1034
  arn: string | undefined;
1364
1035
  }
1365
- /**
1366
- * @public
1367
- * @enum
1368
- */
1369
- export declare const NotificationConfigurationSubtype: {
1370
- /**
1371
- * Notification configuration created by the account
1372
- */
1373
- readonly ACCOUNT: "ACCOUNT";
1374
- /**
1375
- * Notification configuration managed by an administrator account
1376
- */
1377
- readonly ADMIN_MANAGED: "ADMIN_MANAGED";
1378
- };
1379
- /**
1380
- * @public
1381
- */
1382
- export type NotificationConfigurationSubtype = (typeof NotificationConfigurationSubtype)[keyof typeof NotificationConfigurationSubtype];
1383
1036
  /**
1384
1037
  * @public
1385
1038
  */
@@ -1435,17 +1088,6 @@ export interface GetNotificationEventRequest {
1435
1088
  */
1436
1089
  locale?: LocaleCode | undefined;
1437
1090
  }
1438
- /**
1439
- * @public
1440
- * @enum
1441
- */
1442
- export declare const MediaElementType: {
1443
- readonly IMAGE: "IMAGE";
1444
- };
1445
- /**
1446
- * @public
1447
- */
1448
- export type MediaElementType = (typeof MediaElementType)[keyof typeof MediaElementType];
1449
1091
  /**
1450
1092
  * <p>Describes a media element.</p>
1451
1093
  * @public
@@ -2104,36 +1746,6 @@ export interface ListManagedNotificationEventsResponse {
2104
1746
  */
2105
1747
  managedNotificationEvents: ManagedNotificationEventOverview[] | undefined;
2106
1748
  }
2107
- /**
2108
- * @public
2109
- * @enum
2110
- */
2111
- export declare const MemberAccountNotificationConfigurationStatus: {
2112
- /**
2113
- * The member account Notification Configuration status is ACTIVE.
2114
- */
2115
- readonly ACTIVE: "ACTIVE";
2116
- /**
2117
- * The member account Notification Configuration status is CREATING.
2118
- */
2119
- readonly CREATING: "CREATING";
2120
- /**
2121
- * The member account Notification Configuration status is DELETING.
2122
- */
2123
- readonly DELETING: "DELETING";
2124
- /**
2125
- * The member account Notification Configuration status is INACTIVE.
2126
- */
2127
- readonly INACTIVE: "INACTIVE";
2128
- /**
2129
- * The member account Notification Configuration status is PENDING.
2130
- */
2131
- readonly PENDING: "PENDING";
2132
- };
2133
- /**
2134
- * @public
2135
- */
2136
- export type MemberAccountNotificationConfigurationStatus = (typeof MemberAccountNotificationConfigurationStatus)[keyof typeof MemberAccountNotificationConfigurationStatus];
2137
1749
  /**
2138
1750
  * @public
2139
1751
  */
@@ -5,3 +5,130 @@ export declare const AccessStatus: {
5
5
  readonly PENDING: "PENDING";
6
6
  };
7
7
  export type AccessStatus = (typeof AccessStatus)[keyof typeof AccessStatus];
8
+ export declare const AccountContactType: {
9
+ readonly ACCOUNT_ALTERNATE_BILLING: "ACCOUNT_ALTERNATE_BILLING";
10
+ readonly ACCOUNT_ALTERNATE_OPERATIONS: "ACCOUNT_ALTERNATE_OPERATIONS";
11
+ readonly ACCOUNT_ALTERNATE_SECURITY: "ACCOUNT_ALTERNATE_SECURITY";
12
+ readonly ACCOUNT_PRIMARY: "ACCOUNT_PRIMARY";
13
+ };
14
+ export type AccountContactType =
15
+ (typeof AccountContactType)[keyof typeof AccountContactType];
16
+ export declare const AggregationDuration: {
17
+ readonly LONG: "LONG";
18
+ readonly NONE: "NONE";
19
+ readonly SHORT: "SHORT";
20
+ };
21
+ export type AggregationDuration =
22
+ (typeof AggregationDuration)[keyof typeof AggregationDuration];
23
+ export declare const AggregationEventType: {
24
+ readonly AGGREGATE: "AGGREGATE";
25
+ readonly CHILD: "CHILD";
26
+ readonly NONE: "NONE";
27
+ };
28
+ export type AggregationEventType =
29
+ (typeof AggregationEventType)[keyof typeof AggregationEventType];
30
+ export declare const ValidationExceptionReason: {
31
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
32
+ readonly OTHER: "other";
33
+ };
34
+ export type ValidationExceptionReason =
35
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
36
+ export declare const ChannelAssociationOverrideOption: {
37
+ readonly DISABLED: "DISABLED";
38
+ readonly ENABLED: "ENABLED";
39
+ };
40
+ export type ChannelAssociationOverrideOption =
41
+ (typeof ChannelAssociationOverrideOption)[keyof typeof ChannelAssociationOverrideOption];
42
+ export declare const ChannelType: {
43
+ readonly ACCOUNT_CONTACT: "ACCOUNT_CONTACT";
44
+ readonly CHATBOT: "CHATBOT";
45
+ readonly EMAIL: "EMAIL";
46
+ readonly MOBILE: "MOBILE";
47
+ };
48
+ export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];
49
+ export declare const EventRuleStatus: {
50
+ readonly ACTIVE: "ACTIVE";
51
+ readonly CREATING: "CREATING";
52
+ readonly DELETING: "DELETING";
53
+ readonly INACTIVE: "INACTIVE";
54
+ readonly UPDATING: "UPDATING";
55
+ };
56
+ export type EventRuleStatus =
57
+ (typeof EventRuleStatus)[keyof typeof EventRuleStatus];
58
+ export declare const NotificationConfigurationStatus: {
59
+ readonly ACTIVE: "ACTIVE";
60
+ readonly DELETING: "DELETING";
61
+ readonly INACTIVE: "INACTIVE";
62
+ readonly PARTIALLY_ACTIVE: "PARTIALLY_ACTIVE";
63
+ };
64
+ export type NotificationConfigurationStatus =
65
+ (typeof NotificationConfigurationStatus)[keyof typeof NotificationConfigurationStatus];
66
+ export declare const NotificationHubStatus: {
67
+ readonly ACTIVE: "ACTIVE";
68
+ readonly DEREGISTERING: "DEREGISTERING";
69
+ readonly INACTIVE: "INACTIVE";
70
+ readonly REGISTERING: "REGISTERING";
71
+ };
72
+ export type NotificationHubStatus =
73
+ (typeof NotificationHubStatus)[keyof typeof NotificationHubStatus];
74
+ export declare const EventStatus: {
75
+ readonly HEALTHY: "HEALTHY";
76
+ readonly UNHEALTHY: "UNHEALTHY";
77
+ };
78
+ export type EventStatus = (typeof EventStatus)[keyof typeof EventStatus];
79
+ export declare const LocaleCode: {
80
+ readonly de_DE: "de_DE";
81
+ readonly en_CA: "en_CA";
82
+ readonly en_UK: "en_UK";
83
+ readonly en_US: "en_US";
84
+ readonly es_ES: "es_ES";
85
+ readonly fr_CA: "fr_CA";
86
+ readonly fr_FR: "fr_FR";
87
+ readonly id_ID: "id_ID";
88
+ readonly it_IT: "it_IT";
89
+ readonly ja_JP: "ja_JP";
90
+ readonly ko_KR: "ko_KR";
91
+ readonly pt_BR: "pt_BR";
92
+ readonly tr_TR: "tr_TR";
93
+ readonly zh_CN: "zh_CN";
94
+ readonly zh_TW: "zh_TW";
95
+ };
96
+ export type LocaleCode = (typeof LocaleCode)[keyof typeof LocaleCode];
97
+ export declare const NotificationType: {
98
+ readonly ALERT: "ALERT";
99
+ readonly ANNOUNCEMENT: "ANNOUNCEMENT";
100
+ readonly INFORMATIONAL: "INFORMATIONAL";
101
+ readonly WARNING: "WARNING";
102
+ };
103
+ export type NotificationType =
104
+ (typeof NotificationType)[keyof typeof NotificationType];
105
+ export declare const SchemaVersion: {
106
+ readonly SCHEMA_VERSION_1_0: "v1.0";
107
+ };
108
+ export type SchemaVersion = (typeof SchemaVersion)[keyof typeof SchemaVersion];
109
+ export declare const TextPartType: {
110
+ readonly LOCALIZED_TEXT: "LOCALIZED_TEXT";
111
+ readonly PLAIN_TEXT: "PLAIN_TEXT";
112
+ readonly URL: "URL";
113
+ };
114
+ export type TextPartType = (typeof TextPartType)[keyof typeof TextPartType];
115
+ export declare const NotificationConfigurationSubtype: {
116
+ readonly ACCOUNT: "ACCOUNT";
117
+ readonly ADMIN_MANAGED: "ADMIN_MANAGED";
118
+ };
119
+ export type NotificationConfigurationSubtype =
120
+ (typeof NotificationConfigurationSubtype)[keyof typeof NotificationConfigurationSubtype];
121
+ export declare const MediaElementType: {
122
+ readonly IMAGE: "IMAGE";
123
+ };
124
+ export type MediaElementType =
125
+ (typeof MediaElementType)[keyof typeof MediaElementType];
126
+ export declare const MemberAccountNotificationConfigurationStatus: {
127
+ readonly ACTIVE: "ACTIVE";
128
+ readonly CREATING: "CREATING";
129
+ readonly DELETING: "DELETING";
130
+ readonly INACTIVE: "INACTIVE";
131
+ readonly PENDING: "PENDING";
132
+ };
133
+ export type MemberAccountNotificationConfigurationStatus =
134
+ (typeof MemberAccountNotificationConfigurationStatus)[keyof typeof MemberAccountNotificationConfigurationStatus];
@@ -1,8 +1,6 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import {
3
- ValidationExceptionField,
4
- ValidationExceptionReason,
5
- } from "./models_0";
2
+ import { ValidationExceptionReason } from "./enums";
3
+ import { ValidationExceptionField } from "./models_0";
6
4
  import { NotificationsServiceException as __BaseException } from "./NotificationsServiceException";
7
5
  export declare class AccessDeniedException extends __BaseException {
8
6
  readonly name: "AccessDeniedException";