@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.
- package/dist-cjs/index.js +115 -0
- package/dist-es/models/enums.js +98 -0
- package/dist-es/models/models_0.js +1 -98
- package/dist-types/models/enums.d.ts +388 -0
- package/dist-types/models/errors.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +1 -389
- package/dist-types/ts3.4/models/enums.d.ts +127 -0
- package/dist-types/ts3.4/models/errors.d.ts +2 -4
- package/dist-types/ts3.4/models/models_0.d.ts +19 -128
- package/package.json +5 -5
|
@@ -12,3 +12,391 @@ export declare const AccessStatus: {
|
|
|
12
12
|
* @public
|
|
13
13
|
*/
|
|
14
14
|
export type AccessStatus = (typeof AccessStatus)[keyof typeof AccessStatus];
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* @enum
|
|
18
|
+
*/
|
|
19
|
+
export declare const AccountContactType: {
|
|
20
|
+
/**
|
|
21
|
+
* Alternate Billing Contact managed by AWS Account Management Service.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
readonly ACCOUNT_ALTERNATE_BILLING: "ACCOUNT_ALTERNATE_BILLING";
|
|
25
|
+
/**
|
|
26
|
+
* Alternate Operations Contact managed by AWS Account Management Service.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
readonly ACCOUNT_ALTERNATE_OPERATIONS: "ACCOUNT_ALTERNATE_OPERATIONS";
|
|
30
|
+
/**
|
|
31
|
+
* Alternate Security Contact managed by AWS Account Management Service.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
readonly ACCOUNT_ALTERNATE_SECURITY: "ACCOUNT_ALTERNATE_SECURITY";
|
|
35
|
+
/**
|
|
36
|
+
* Primary Contact managed by AWS Account Management Service.
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
readonly ACCOUNT_PRIMARY: "ACCOUNT_PRIMARY";
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
export type AccountContactType = (typeof AccountContactType)[keyof typeof AccountContactType];
|
|
45
|
+
/**
|
|
46
|
+
* @public
|
|
47
|
+
* @enum
|
|
48
|
+
*/
|
|
49
|
+
export declare const AggregationDuration: {
|
|
50
|
+
/**
|
|
51
|
+
* Aggregate notifications for long periods of time (12 hours)
|
|
52
|
+
*/
|
|
53
|
+
readonly LONG: "LONG";
|
|
54
|
+
/**
|
|
55
|
+
* Do not aggregate notifications sourced from a notification configuration
|
|
56
|
+
*/
|
|
57
|
+
readonly NONE: "NONE";
|
|
58
|
+
/**
|
|
59
|
+
* Aggregate notifications for short periods of time (5 mins)
|
|
60
|
+
*/
|
|
61
|
+
readonly SHORT: "SHORT";
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export type AggregationDuration = (typeof AggregationDuration)[keyof typeof AggregationDuration];
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
* @enum
|
|
70
|
+
*/
|
|
71
|
+
export declare const AggregationEventType: {
|
|
72
|
+
readonly AGGREGATE: "AGGREGATE";
|
|
73
|
+
readonly CHILD: "CHILD";
|
|
74
|
+
readonly NONE: "NONE";
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export type AggregationEventType = (typeof AggregationEventType)[keyof typeof AggregationEventType];
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
* @enum
|
|
83
|
+
*/
|
|
84
|
+
export declare const ValidationExceptionReason: {
|
|
85
|
+
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
86
|
+
readonly OTHER: "other";
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
92
|
+
/**
|
|
93
|
+
* @public
|
|
94
|
+
* @enum
|
|
95
|
+
*/
|
|
96
|
+
export declare const ChannelAssociationOverrideOption: {
|
|
97
|
+
/**
|
|
98
|
+
* AWS User Notification service users can not associate or disassociate a Channel with a notification configuration.
|
|
99
|
+
*
|
|
100
|
+
*/
|
|
101
|
+
readonly DISABLED: "DISABLED";
|
|
102
|
+
/**
|
|
103
|
+
* AWS User Notification service users can associate or disassociate a Channel with a notification configuration.
|
|
104
|
+
*
|
|
105
|
+
*/
|
|
106
|
+
readonly ENABLED: "ENABLED";
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export type ChannelAssociationOverrideOption = (typeof ChannelAssociationOverrideOption)[keyof typeof ChannelAssociationOverrideOption];
|
|
112
|
+
/**
|
|
113
|
+
* @public
|
|
114
|
+
* @enum
|
|
115
|
+
*/
|
|
116
|
+
export declare const ChannelType: {
|
|
117
|
+
/**
|
|
118
|
+
* User Notification Service sends notifications to Account Managed contacts.
|
|
119
|
+
*
|
|
120
|
+
*/
|
|
121
|
+
readonly ACCOUNT_CONTACT: "ACCOUNT_CONTACT";
|
|
122
|
+
/**
|
|
123
|
+
* Chatbot sends notifications to group platforms, like Slack or Chime. Link:https://aws.amazon.com/chatbot/
|
|
124
|
+
*
|
|
125
|
+
*/
|
|
126
|
+
readonly CHATBOT: "CHATBOT";
|
|
127
|
+
/**
|
|
128
|
+
* Email sends notifications to email addresses.
|
|
129
|
+
*
|
|
130
|
+
*/
|
|
131
|
+
readonly EMAIL: "EMAIL";
|
|
132
|
+
/**
|
|
133
|
+
* AWS Console Mobile App sends notifications to mobile devices. Link:https://aws.amazon.com/console/mobile/
|
|
134
|
+
*
|
|
135
|
+
*/
|
|
136
|
+
readonly MOBILE: "MOBILE";
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];
|
|
142
|
+
/**
|
|
143
|
+
* @public
|
|
144
|
+
* @enum
|
|
145
|
+
*/
|
|
146
|
+
export declare const EventRuleStatus: {
|
|
147
|
+
/**
|
|
148
|
+
* EventRule is processing events. Any call can be executed.
|
|
149
|
+
*/
|
|
150
|
+
readonly ACTIVE: "ACTIVE";
|
|
151
|
+
/**
|
|
152
|
+
* This EventRule is being created. Only GET/LIST calls can be executed.
|
|
153
|
+
*/
|
|
154
|
+
readonly CREATING: "CREATING";
|
|
155
|
+
/**
|
|
156
|
+
* This EventRule is being deleted. Only GET/LIST calls can be executed.
|
|
157
|
+
*/
|
|
158
|
+
readonly DELETING: "DELETING";
|
|
159
|
+
/**
|
|
160
|
+
* EventRule is in a bad state and may not be processing events. Any call can be executed.
|
|
161
|
+
*/
|
|
162
|
+
readonly INACTIVE: "INACTIVE";
|
|
163
|
+
/**
|
|
164
|
+
* This EventRule is being updated. Only GET/LIST calls can be executed.
|
|
165
|
+
*/
|
|
166
|
+
readonly UPDATING: "UPDATING";
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
export type EventRuleStatus = (typeof EventRuleStatus)[keyof typeof EventRuleStatus];
|
|
172
|
+
/**
|
|
173
|
+
* @public
|
|
174
|
+
* @enum
|
|
175
|
+
*/
|
|
176
|
+
export declare const NotificationConfigurationStatus: {
|
|
177
|
+
/**
|
|
178
|
+
* All of the EventRules are in ACTIVE Status. Any call can be executed.
|
|
179
|
+
*/
|
|
180
|
+
readonly ACTIVE: "ACTIVE";
|
|
181
|
+
/**
|
|
182
|
+
* This NotificationConfiguration is being deleted. Only GET/LIST calls can be executed.
|
|
183
|
+
*/
|
|
184
|
+
readonly DELETING: "DELETING";
|
|
185
|
+
/**
|
|
186
|
+
* All of the EventRules are in INACTIVE Status. Any call can be executed.
|
|
187
|
+
*/
|
|
188
|
+
readonly INACTIVE: "INACTIVE";
|
|
189
|
+
/**
|
|
190
|
+
* Some EventRules are in ACTIVE Status and some are INACTIVE. Any call can be executed.
|
|
191
|
+
*/
|
|
192
|
+
readonly PARTIALLY_ACTIVE: "PARTIALLY_ACTIVE";
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
export type NotificationConfigurationStatus = (typeof NotificationConfigurationStatus)[keyof typeof NotificationConfigurationStatus];
|
|
198
|
+
/**
|
|
199
|
+
* @public
|
|
200
|
+
* @enum
|
|
201
|
+
*/
|
|
202
|
+
export declare const NotificationHubStatus: {
|
|
203
|
+
/**
|
|
204
|
+
* Incoming Notification Events are being replicated to this Notification Hub. A Notification Hub with this status can be deregistered.
|
|
205
|
+
*/
|
|
206
|
+
readonly ACTIVE: "ACTIVE";
|
|
207
|
+
/**
|
|
208
|
+
* Notification Hub is being deleted. Cannot register a Notification Hub in the same region as one in this status.
|
|
209
|
+
*/
|
|
210
|
+
readonly DEREGISTERING: "DEREGISTERING";
|
|
211
|
+
/**
|
|
212
|
+
* Notification Hub is in a failure state. Incoming Notification Events are not being replicated to this Hub.
|
|
213
|
+
*/
|
|
214
|
+
readonly INACTIVE: "INACTIVE";
|
|
215
|
+
/**
|
|
216
|
+
* Notification Hub is initializing. Cannot deregister a Notification Hub in this status.
|
|
217
|
+
*/
|
|
218
|
+
readonly REGISTERING: "REGISTERING";
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* @public
|
|
222
|
+
*/
|
|
223
|
+
export type NotificationHubStatus = (typeof NotificationHubStatus)[keyof typeof NotificationHubStatus];
|
|
224
|
+
/**
|
|
225
|
+
* @public
|
|
226
|
+
* @enum
|
|
227
|
+
*/
|
|
228
|
+
export declare const EventStatus: {
|
|
229
|
+
readonly HEALTHY: "HEALTHY";
|
|
230
|
+
readonly UNHEALTHY: "UNHEALTHY";
|
|
231
|
+
};
|
|
232
|
+
/**
|
|
233
|
+
* @public
|
|
234
|
+
*/
|
|
235
|
+
export type EventStatus = (typeof EventStatus)[keyof typeof EventStatus];
|
|
236
|
+
/**
|
|
237
|
+
* @public
|
|
238
|
+
* @enum
|
|
239
|
+
*/
|
|
240
|
+
export declare const LocaleCode: {
|
|
241
|
+
/**
|
|
242
|
+
* German (Germany)
|
|
243
|
+
*/
|
|
244
|
+
readonly de_DE: "de_DE";
|
|
245
|
+
/**
|
|
246
|
+
* English (Canada)
|
|
247
|
+
*/
|
|
248
|
+
readonly en_CA: "en_CA";
|
|
249
|
+
/**
|
|
250
|
+
* English (United Kingdom)
|
|
251
|
+
*/
|
|
252
|
+
readonly en_UK: "en_UK";
|
|
253
|
+
/**
|
|
254
|
+
* English (United States). This is the default locale.
|
|
255
|
+
*/
|
|
256
|
+
readonly en_US: "en_US";
|
|
257
|
+
/**
|
|
258
|
+
* Spanish (Spain)
|
|
259
|
+
*/
|
|
260
|
+
readonly es_ES: "es_ES";
|
|
261
|
+
/**
|
|
262
|
+
* French (Canada)
|
|
263
|
+
*/
|
|
264
|
+
readonly fr_CA: "fr_CA";
|
|
265
|
+
/**
|
|
266
|
+
* French (France)
|
|
267
|
+
*/
|
|
268
|
+
readonly fr_FR: "fr_FR";
|
|
269
|
+
/**
|
|
270
|
+
* Bahasa Indonesian (Indonesia)
|
|
271
|
+
*/
|
|
272
|
+
readonly id_ID: "id_ID";
|
|
273
|
+
/**
|
|
274
|
+
* Italian (Italy)
|
|
275
|
+
*/
|
|
276
|
+
readonly it_IT: "it_IT";
|
|
277
|
+
/**
|
|
278
|
+
* Japanese (Japan)
|
|
279
|
+
*/
|
|
280
|
+
readonly ja_JP: "ja_JP";
|
|
281
|
+
/**
|
|
282
|
+
* Korean (Korea)
|
|
283
|
+
*/
|
|
284
|
+
readonly ko_KR: "ko_KR";
|
|
285
|
+
/**
|
|
286
|
+
* Portuguese (Brazil)
|
|
287
|
+
*/
|
|
288
|
+
readonly pt_BR: "pt_BR";
|
|
289
|
+
/**
|
|
290
|
+
* Turkish (Turkey)
|
|
291
|
+
*/
|
|
292
|
+
readonly tr_TR: "tr_TR";
|
|
293
|
+
/**
|
|
294
|
+
* Chinese (China)
|
|
295
|
+
*/
|
|
296
|
+
readonly zh_CN: "zh_CN";
|
|
297
|
+
/**
|
|
298
|
+
* Chinese (Taiwan)
|
|
299
|
+
*/
|
|
300
|
+
readonly zh_TW: "zh_TW";
|
|
301
|
+
};
|
|
302
|
+
/**
|
|
303
|
+
* @public
|
|
304
|
+
*/
|
|
305
|
+
export type LocaleCode = (typeof LocaleCode)[keyof typeof LocaleCode];
|
|
306
|
+
/**
|
|
307
|
+
* @public
|
|
308
|
+
* @enum
|
|
309
|
+
*/
|
|
310
|
+
export declare const NotificationType: {
|
|
311
|
+
readonly ALERT: "ALERT";
|
|
312
|
+
readonly ANNOUNCEMENT: "ANNOUNCEMENT";
|
|
313
|
+
readonly INFORMATIONAL: "INFORMATIONAL";
|
|
314
|
+
readonly WARNING: "WARNING";
|
|
315
|
+
};
|
|
316
|
+
/**
|
|
317
|
+
* @public
|
|
318
|
+
*/
|
|
319
|
+
export type NotificationType = (typeof NotificationType)[keyof typeof NotificationType];
|
|
320
|
+
/**
|
|
321
|
+
* @public
|
|
322
|
+
* @enum
|
|
323
|
+
*/
|
|
324
|
+
export declare const SchemaVersion: {
|
|
325
|
+
readonly SCHEMA_VERSION_1_0: "v1.0";
|
|
326
|
+
};
|
|
327
|
+
/**
|
|
328
|
+
* @public
|
|
329
|
+
*/
|
|
330
|
+
export type SchemaVersion = (typeof SchemaVersion)[keyof typeof SchemaVersion];
|
|
331
|
+
/**
|
|
332
|
+
* @public
|
|
333
|
+
* @enum
|
|
334
|
+
*/
|
|
335
|
+
export declare const TextPartType: {
|
|
336
|
+
readonly LOCALIZED_TEXT: "LOCALIZED_TEXT";
|
|
337
|
+
readonly PLAIN_TEXT: "PLAIN_TEXT";
|
|
338
|
+
readonly URL: "URL";
|
|
339
|
+
};
|
|
340
|
+
/**
|
|
341
|
+
* @public
|
|
342
|
+
*/
|
|
343
|
+
export type TextPartType = (typeof TextPartType)[keyof typeof TextPartType];
|
|
344
|
+
/**
|
|
345
|
+
* @public
|
|
346
|
+
* @enum
|
|
347
|
+
*/
|
|
348
|
+
export declare const NotificationConfigurationSubtype: {
|
|
349
|
+
/**
|
|
350
|
+
* Notification configuration created by the account
|
|
351
|
+
*/
|
|
352
|
+
readonly ACCOUNT: "ACCOUNT";
|
|
353
|
+
/**
|
|
354
|
+
* Notification configuration managed by an administrator account
|
|
355
|
+
*/
|
|
356
|
+
readonly ADMIN_MANAGED: "ADMIN_MANAGED";
|
|
357
|
+
};
|
|
358
|
+
/**
|
|
359
|
+
* @public
|
|
360
|
+
*/
|
|
361
|
+
export type NotificationConfigurationSubtype = (typeof NotificationConfigurationSubtype)[keyof typeof NotificationConfigurationSubtype];
|
|
362
|
+
/**
|
|
363
|
+
* @public
|
|
364
|
+
* @enum
|
|
365
|
+
*/
|
|
366
|
+
export declare const MediaElementType: {
|
|
367
|
+
readonly IMAGE: "IMAGE";
|
|
368
|
+
};
|
|
369
|
+
/**
|
|
370
|
+
* @public
|
|
371
|
+
*/
|
|
372
|
+
export type MediaElementType = (typeof MediaElementType)[keyof typeof MediaElementType];
|
|
373
|
+
/**
|
|
374
|
+
* @public
|
|
375
|
+
* @enum
|
|
376
|
+
*/
|
|
377
|
+
export declare const MemberAccountNotificationConfigurationStatus: {
|
|
378
|
+
/**
|
|
379
|
+
* The member account Notification Configuration status is ACTIVE.
|
|
380
|
+
*/
|
|
381
|
+
readonly ACTIVE: "ACTIVE";
|
|
382
|
+
/**
|
|
383
|
+
* The member account Notification Configuration status is CREATING.
|
|
384
|
+
*/
|
|
385
|
+
readonly CREATING: "CREATING";
|
|
386
|
+
/**
|
|
387
|
+
* The member account Notification Configuration status is DELETING.
|
|
388
|
+
*/
|
|
389
|
+
readonly DELETING: "DELETING";
|
|
390
|
+
/**
|
|
391
|
+
* The member account Notification Configuration status is INACTIVE.
|
|
392
|
+
*/
|
|
393
|
+
readonly INACTIVE: "INACTIVE";
|
|
394
|
+
/**
|
|
395
|
+
* The member account Notification Configuration status is PENDING.
|
|
396
|
+
*/
|
|
397
|
+
readonly PENDING: "PENDING";
|
|
398
|
+
};
|
|
399
|
+
/**
|
|
400
|
+
* @public
|
|
401
|
+
*/
|
|
402
|
+
export type MemberAccountNotificationConfigurationStatus = (typeof MemberAccountNotificationConfigurationStatus)[keyof typeof MemberAccountNotificationConfigurationStatus];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import {
|
|
2
|
+
import { ValidationExceptionReason } from "./enums";
|
|
3
|
+
import { ValidationExceptionField } from "./models_0";
|
|
3
4
|
import { NotificationsServiceException as __BaseException } from "./NotificationsServiceException";
|
|
4
5
|
/**
|
|
5
6
|
* <p>User does not have sufficient access to perform this action.</p>
|