@aws-sdk/client-notifications 3.934.0 → 3.935.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 +7 -121
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +6 -0
- package/dist-es/models/errors.js +111 -0
- package/dist-es/models/models_0.js +0 -117
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +14 -0
- package/dist-types/models/errors.d.ts +146 -0
- package/dist-types/models/models_0.d.ts +1 -159
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +7 -0
- package/dist-types/ts3.4/models/errors.d.ts +68 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -71
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -127,28 +127,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends NotificationsS
|
|
|
127
127
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
|
-
const AccessStatus = {
|
|
131
|
-
DISABLED: "DISABLED",
|
|
132
|
-
ENABLED: "ENABLED",
|
|
133
|
-
FAILED: "FAILED",
|
|
134
|
-
PENDING: "PENDING",
|
|
135
|
-
};
|
|
136
|
-
const AccountContactType = {
|
|
137
|
-
ACCOUNT_ALTERNATE_BILLING: "ACCOUNT_ALTERNATE_BILLING",
|
|
138
|
-
ACCOUNT_ALTERNATE_OPERATIONS: "ACCOUNT_ALTERNATE_OPERATIONS",
|
|
139
|
-
ACCOUNT_ALTERNATE_SECURITY: "ACCOUNT_ALTERNATE_SECURITY",
|
|
140
|
-
ACCOUNT_PRIMARY: "ACCOUNT_PRIMARY",
|
|
141
|
-
};
|
|
142
|
-
const AggregationDuration = {
|
|
143
|
-
LONG: "LONG",
|
|
144
|
-
NONE: "NONE",
|
|
145
|
-
SHORT: "SHORT",
|
|
146
|
-
};
|
|
147
|
-
const AggregationEventType = {
|
|
148
|
-
AGGREGATE: "AGGREGATE",
|
|
149
|
-
CHILD: "CHILD",
|
|
150
|
-
NONE: "NONE",
|
|
151
|
-
};
|
|
152
130
|
let ConflictException$1 = class ConflictException extends NotificationsServiceException$1 {
|
|
153
131
|
name = "ConflictException";
|
|
154
132
|
$fault = "client";
|
|
@@ -231,10 +209,6 @@ let ThrottlingException$1 = class ThrottlingException extends NotificationsServi
|
|
|
231
209
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
232
210
|
}
|
|
233
211
|
};
|
|
234
|
-
const ValidationExceptionReason = {
|
|
235
|
-
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
236
|
-
OTHER: "other",
|
|
237
|
-
};
|
|
238
212
|
let ValidationException$1 = class ValidationException extends NotificationsServiceException$1 {
|
|
239
213
|
name = "ValidationException";
|
|
240
214
|
$fault = "client";
|
|
@@ -251,84 +225,6 @@ let ValidationException$1 = class ValidationException extends NotificationsServi
|
|
|
251
225
|
this.fieldList = opts.fieldList;
|
|
252
226
|
}
|
|
253
227
|
};
|
|
254
|
-
const ChannelAssociationOverrideOption = {
|
|
255
|
-
DISABLED: "DISABLED",
|
|
256
|
-
ENABLED: "ENABLED",
|
|
257
|
-
};
|
|
258
|
-
const ChannelType = {
|
|
259
|
-
ACCOUNT_CONTACT: "ACCOUNT_CONTACT",
|
|
260
|
-
CHATBOT: "CHATBOT",
|
|
261
|
-
EMAIL: "EMAIL",
|
|
262
|
-
MOBILE: "MOBILE",
|
|
263
|
-
};
|
|
264
|
-
const EventRuleStatus = {
|
|
265
|
-
ACTIVE: "ACTIVE",
|
|
266
|
-
CREATING: "CREATING",
|
|
267
|
-
DELETING: "DELETING",
|
|
268
|
-
INACTIVE: "INACTIVE",
|
|
269
|
-
UPDATING: "UPDATING",
|
|
270
|
-
};
|
|
271
|
-
const NotificationConfigurationStatus = {
|
|
272
|
-
ACTIVE: "ACTIVE",
|
|
273
|
-
DELETING: "DELETING",
|
|
274
|
-
INACTIVE: "INACTIVE",
|
|
275
|
-
PARTIALLY_ACTIVE: "PARTIALLY_ACTIVE",
|
|
276
|
-
};
|
|
277
|
-
const NotificationHubStatus = {
|
|
278
|
-
ACTIVE: "ACTIVE",
|
|
279
|
-
DEREGISTERING: "DEREGISTERING",
|
|
280
|
-
INACTIVE: "INACTIVE",
|
|
281
|
-
REGISTERING: "REGISTERING",
|
|
282
|
-
};
|
|
283
|
-
const EventStatus = {
|
|
284
|
-
HEALTHY: "HEALTHY",
|
|
285
|
-
UNHEALTHY: "UNHEALTHY",
|
|
286
|
-
};
|
|
287
|
-
const LocaleCode = {
|
|
288
|
-
de_DE: "de_DE",
|
|
289
|
-
en_CA: "en_CA",
|
|
290
|
-
en_UK: "en_UK",
|
|
291
|
-
en_US: "en_US",
|
|
292
|
-
es_ES: "es_ES",
|
|
293
|
-
fr_CA: "fr_CA",
|
|
294
|
-
fr_FR: "fr_FR",
|
|
295
|
-
id_ID: "id_ID",
|
|
296
|
-
it_IT: "it_IT",
|
|
297
|
-
ja_JP: "ja_JP",
|
|
298
|
-
ko_KR: "ko_KR",
|
|
299
|
-
pt_BR: "pt_BR",
|
|
300
|
-
tr_TR: "tr_TR",
|
|
301
|
-
zh_CN: "zh_CN",
|
|
302
|
-
zh_TW: "zh_TW",
|
|
303
|
-
};
|
|
304
|
-
const NotificationType = {
|
|
305
|
-
ALERT: "ALERT",
|
|
306
|
-
ANNOUNCEMENT: "ANNOUNCEMENT",
|
|
307
|
-
INFORMATIONAL: "INFORMATIONAL",
|
|
308
|
-
WARNING: "WARNING",
|
|
309
|
-
};
|
|
310
|
-
const SchemaVersion = {
|
|
311
|
-
SCHEMA_VERSION_1_0: "v1.0",
|
|
312
|
-
};
|
|
313
|
-
const TextPartType = {
|
|
314
|
-
LOCALIZED_TEXT: "LOCALIZED_TEXT",
|
|
315
|
-
PLAIN_TEXT: "PLAIN_TEXT",
|
|
316
|
-
URL: "URL",
|
|
317
|
-
};
|
|
318
|
-
const NotificationConfigurationSubtype = {
|
|
319
|
-
ACCOUNT: "ACCOUNT",
|
|
320
|
-
ADMIN_MANAGED: "ADMIN_MANAGED",
|
|
321
|
-
};
|
|
322
|
-
const MediaElementType = {
|
|
323
|
-
IMAGE: "IMAGE",
|
|
324
|
-
};
|
|
325
|
-
const MemberAccountNotificationConfigurationStatus = {
|
|
326
|
-
ACTIVE: "ACTIVE",
|
|
327
|
-
CREATING: "CREATING",
|
|
328
|
-
DELETING: "DELETING",
|
|
329
|
-
INACTIVE: "INACTIVE",
|
|
330
|
-
PENDING: "PENDING",
|
|
331
|
-
};
|
|
332
228
|
|
|
333
229
|
const _AC = "AssociateChannel";
|
|
334
230
|
const _ACR = "AssociateChannelRequest";
|
|
@@ -2588,6 +2484,13 @@ const paginateListNotificationHubs = core.createPaginator(NotificationsClient, L
|
|
|
2588
2484
|
|
|
2589
2485
|
const paginateListOrganizationalUnits = core.createPaginator(NotificationsClient, ListOrganizationalUnitsCommand, "nextToken", "nextToken", "maxResults");
|
|
2590
2486
|
|
|
2487
|
+
const AccessStatus = {
|
|
2488
|
+
DISABLED: "DISABLED",
|
|
2489
|
+
ENABLED: "ENABLED",
|
|
2490
|
+
FAILED: "FAILED",
|
|
2491
|
+
PENDING: "PENDING",
|
|
2492
|
+
};
|
|
2493
|
+
|
|
2591
2494
|
Object.defineProperty(exports, "$Command", {
|
|
2592
2495
|
enumerable: true,
|
|
2593
2496
|
get: function () { return smithyClient.Command; }
|
|
@@ -2598,15 +2501,10 @@ Object.defineProperty(exports, "__Client", {
|
|
|
2598
2501
|
});
|
|
2599
2502
|
exports.AccessDeniedException = AccessDeniedException$1;
|
|
2600
2503
|
exports.AccessStatus = AccessStatus;
|
|
2601
|
-
exports.AccountContactType = AccountContactType;
|
|
2602
|
-
exports.AggregationDuration = AggregationDuration;
|
|
2603
|
-
exports.AggregationEventType = AggregationEventType;
|
|
2604
2504
|
exports.AssociateChannelCommand = AssociateChannelCommand;
|
|
2605
2505
|
exports.AssociateManagedNotificationAccountContactCommand = AssociateManagedNotificationAccountContactCommand;
|
|
2606
2506
|
exports.AssociateManagedNotificationAdditionalChannelCommand = AssociateManagedNotificationAdditionalChannelCommand;
|
|
2607
2507
|
exports.AssociateOrganizationalUnitCommand = AssociateOrganizationalUnitCommand;
|
|
2608
|
-
exports.ChannelAssociationOverrideOption = ChannelAssociationOverrideOption;
|
|
2609
|
-
exports.ChannelType = ChannelType;
|
|
2610
2508
|
exports.ConflictException = ConflictException$1;
|
|
2611
2509
|
exports.CreateEventRuleCommand = CreateEventRuleCommand;
|
|
2612
2510
|
exports.CreateNotificationConfigurationCommand = CreateNotificationConfigurationCommand;
|
|
@@ -2619,8 +2517,6 @@ exports.DisassociateManagedNotificationAccountContactCommand = DisassociateManag
|
|
|
2619
2517
|
exports.DisassociateManagedNotificationAdditionalChannelCommand = DisassociateManagedNotificationAdditionalChannelCommand;
|
|
2620
2518
|
exports.DisassociateOrganizationalUnitCommand = DisassociateOrganizationalUnitCommand;
|
|
2621
2519
|
exports.EnableNotificationsAccessForOrganizationCommand = EnableNotificationsAccessForOrganizationCommand;
|
|
2622
|
-
exports.EventRuleStatus = EventRuleStatus;
|
|
2623
|
-
exports.EventStatus = EventStatus;
|
|
2624
2520
|
exports.GetEventRuleCommand = GetEventRuleCommand;
|
|
2625
2521
|
exports.GetManagedNotificationChildEventCommand = GetManagedNotificationChildEventCommand;
|
|
2626
2522
|
exports.GetManagedNotificationConfigurationCommand = GetManagedNotificationConfigurationCommand;
|
|
@@ -2641,28 +2537,18 @@ exports.ListNotificationEventsCommand = ListNotificationEventsCommand;
|
|
|
2641
2537
|
exports.ListNotificationHubsCommand = ListNotificationHubsCommand;
|
|
2642
2538
|
exports.ListOrganizationalUnitsCommand = ListOrganizationalUnitsCommand;
|
|
2643
2539
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
2644
|
-
exports.LocaleCode = LocaleCode;
|
|
2645
|
-
exports.MediaElementType = MediaElementType;
|
|
2646
|
-
exports.MemberAccountNotificationConfigurationStatus = MemberAccountNotificationConfigurationStatus;
|
|
2647
|
-
exports.NotificationConfigurationStatus = NotificationConfigurationStatus;
|
|
2648
|
-
exports.NotificationConfigurationSubtype = NotificationConfigurationSubtype;
|
|
2649
|
-
exports.NotificationHubStatus = NotificationHubStatus;
|
|
2650
|
-
exports.NotificationType = NotificationType;
|
|
2651
2540
|
exports.Notifications = Notifications;
|
|
2652
2541
|
exports.NotificationsClient = NotificationsClient;
|
|
2653
2542
|
exports.NotificationsServiceException = NotificationsServiceException$1;
|
|
2654
2543
|
exports.RegisterNotificationHubCommand = RegisterNotificationHubCommand;
|
|
2655
2544
|
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
2656
|
-
exports.SchemaVersion = SchemaVersion;
|
|
2657
2545
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
2658
2546
|
exports.TagResourceCommand = TagResourceCommand;
|
|
2659
|
-
exports.TextPartType = TextPartType;
|
|
2660
2547
|
exports.ThrottlingException = ThrottlingException$1;
|
|
2661
2548
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
2662
2549
|
exports.UpdateEventRuleCommand = UpdateEventRuleCommand;
|
|
2663
2550
|
exports.UpdateNotificationConfigurationCommand = UpdateNotificationConfigurationCommand;
|
|
2664
2551
|
exports.ValidationException = ValidationException$1;
|
|
2665
|
-
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
2666
2552
|
exports.paginateListChannels = paginateListChannels;
|
|
2667
2553
|
exports.paginateListEventRules = paginateListEventRules;
|
|
2668
2554
|
exports.paginateListManagedNotificationChannelAssociations = paginateListManagedNotificationChannelAssociations;
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./NotificationsClient";
|
|
|
2
2
|
export * from "./Notifications";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { NotificationsServiceException } from "./models/NotificationsServiceException";
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { NotificationsServiceException as __BaseException } from "./NotificationsServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AccessDeniedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class ConflictException extends __BaseException {
|
|
15
|
+
name = "ConflictException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
resourceId;
|
|
18
|
+
constructor(opts) {
|
|
19
|
+
super({
|
|
20
|
+
name: "ConflictException",
|
|
21
|
+
$fault: "client",
|
|
22
|
+
...opts,
|
|
23
|
+
});
|
|
24
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
25
|
+
this.resourceId = opts.resourceId;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
export class InternalServerException extends __BaseException {
|
|
29
|
+
name = "InternalServerException";
|
|
30
|
+
$fault = "server";
|
|
31
|
+
$retryable = {};
|
|
32
|
+
constructor(opts) {
|
|
33
|
+
super({
|
|
34
|
+
name: "InternalServerException",
|
|
35
|
+
$fault: "server",
|
|
36
|
+
...opts,
|
|
37
|
+
});
|
|
38
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
42
|
+
name = "ResourceNotFoundException";
|
|
43
|
+
$fault = "client";
|
|
44
|
+
resourceId;
|
|
45
|
+
constructor(opts) {
|
|
46
|
+
super({
|
|
47
|
+
name: "ResourceNotFoundException",
|
|
48
|
+
$fault: "client",
|
|
49
|
+
...opts,
|
|
50
|
+
});
|
|
51
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
52
|
+
this.resourceId = opts.resourceId;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
56
|
+
name = "ServiceQuotaExceededException";
|
|
57
|
+
$fault = "client";
|
|
58
|
+
resourceType;
|
|
59
|
+
resourceId;
|
|
60
|
+
serviceCode;
|
|
61
|
+
quotaCode;
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "ServiceQuotaExceededException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
69
|
+
this.resourceType = opts.resourceType;
|
|
70
|
+
this.resourceId = opts.resourceId;
|
|
71
|
+
this.serviceCode = opts.serviceCode;
|
|
72
|
+
this.quotaCode = opts.quotaCode;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
export class ThrottlingException extends __BaseException {
|
|
76
|
+
name = "ThrottlingException";
|
|
77
|
+
$fault = "client";
|
|
78
|
+
$retryable = {
|
|
79
|
+
throttling: true,
|
|
80
|
+
};
|
|
81
|
+
serviceCode;
|
|
82
|
+
quotaCode;
|
|
83
|
+
retryAfterSeconds;
|
|
84
|
+
constructor(opts) {
|
|
85
|
+
super({
|
|
86
|
+
name: "ThrottlingException",
|
|
87
|
+
$fault: "client",
|
|
88
|
+
...opts,
|
|
89
|
+
});
|
|
90
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
91
|
+
this.serviceCode = opts.serviceCode;
|
|
92
|
+
this.quotaCode = opts.quotaCode;
|
|
93
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
export class ValidationException extends __BaseException {
|
|
97
|
+
name = "ValidationException";
|
|
98
|
+
$fault = "client";
|
|
99
|
+
reason;
|
|
100
|
+
fieldList;
|
|
101
|
+
constructor(opts) {
|
|
102
|
+
super({
|
|
103
|
+
name: "ValidationException",
|
|
104
|
+
$fault: "client",
|
|
105
|
+
...opts,
|
|
106
|
+
});
|
|
107
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
108
|
+
this.reason = opts.reason;
|
|
109
|
+
this.fieldList = opts.fieldList;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
@@ -1,22 +1,3 @@
|
|
|
1
|
-
import { NotificationsServiceException as __BaseException } from "./NotificationsServiceException";
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "AccessDeniedException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export const AccessStatus = {
|
|
15
|
-
DISABLED: "DISABLED",
|
|
16
|
-
ENABLED: "ENABLED",
|
|
17
|
-
FAILED: "FAILED",
|
|
18
|
-
PENDING: "PENDING",
|
|
19
|
-
};
|
|
20
1
|
export const AccountContactType = {
|
|
21
2
|
ACCOUNT_ALTERNATE_BILLING: "ACCOUNT_ALTERNATE_BILLING",
|
|
22
3
|
ACCOUNT_ALTERNATE_OPERATIONS: "ACCOUNT_ALTERNATE_OPERATIONS",
|
|
@@ -33,108 +14,10 @@ export const AggregationEventType = {
|
|
|
33
14
|
CHILD: "CHILD",
|
|
34
15
|
NONE: "NONE",
|
|
35
16
|
};
|
|
36
|
-
export class ConflictException extends __BaseException {
|
|
37
|
-
name = "ConflictException";
|
|
38
|
-
$fault = "client";
|
|
39
|
-
resourceId;
|
|
40
|
-
constructor(opts) {
|
|
41
|
-
super({
|
|
42
|
-
name: "ConflictException",
|
|
43
|
-
$fault: "client",
|
|
44
|
-
...opts,
|
|
45
|
-
});
|
|
46
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
47
|
-
this.resourceId = opts.resourceId;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
export class InternalServerException extends __BaseException {
|
|
51
|
-
name = "InternalServerException";
|
|
52
|
-
$fault = "server";
|
|
53
|
-
$retryable = {};
|
|
54
|
-
constructor(opts) {
|
|
55
|
-
super({
|
|
56
|
-
name: "InternalServerException",
|
|
57
|
-
$fault: "server",
|
|
58
|
-
...opts,
|
|
59
|
-
});
|
|
60
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
64
|
-
name = "ResourceNotFoundException";
|
|
65
|
-
$fault = "client";
|
|
66
|
-
resourceId;
|
|
67
|
-
constructor(opts) {
|
|
68
|
-
super({
|
|
69
|
-
name: "ResourceNotFoundException",
|
|
70
|
-
$fault: "client",
|
|
71
|
-
...opts,
|
|
72
|
-
});
|
|
73
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
74
|
-
this.resourceId = opts.resourceId;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
78
|
-
name = "ServiceQuotaExceededException";
|
|
79
|
-
$fault = "client";
|
|
80
|
-
resourceType;
|
|
81
|
-
resourceId;
|
|
82
|
-
serviceCode;
|
|
83
|
-
quotaCode;
|
|
84
|
-
constructor(opts) {
|
|
85
|
-
super({
|
|
86
|
-
name: "ServiceQuotaExceededException",
|
|
87
|
-
$fault: "client",
|
|
88
|
-
...opts,
|
|
89
|
-
});
|
|
90
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
91
|
-
this.resourceType = opts.resourceType;
|
|
92
|
-
this.resourceId = opts.resourceId;
|
|
93
|
-
this.serviceCode = opts.serviceCode;
|
|
94
|
-
this.quotaCode = opts.quotaCode;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
export class ThrottlingException extends __BaseException {
|
|
98
|
-
name = "ThrottlingException";
|
|
99
|
-
$fault = "client";
|
|
100
|
-
$retryable = {
|
|
101
|
-
throttling: true,
|
|
102
|
-
};
|
|
103
|
-
serviceCode;
|
|
104
|
-
quotaCode;
|
|
105
|
-
retryAfterSeconds;
|
|
106
|
-
constructor(opts) {
|
|
107
|
-
super({
|
|
108
|
-
name: "ThrottlingException",
|
|
109
|
-
$fault: "client",
|
|
110
|
-
...opts,
|
|
111
|
-
});
|
|
112
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
113
|
-
this.serviceCode = opts.serviceCode;
|
|
114
|
-
this.quotaCode = opts.quotaCode;
|
|
115
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
17
|
export const ValidationExceptionReason = {
|
|
119
18
|
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
120
19
|
OTHER: "other",
|
|
121
20
|
};
|
|
122
|
-
export class ValidationException extends __BaseException {
|
|
123
|
-
name = "ValidationException";
|
|
124
|
-
$fault = "client";
|
|
125
|
-
reason;
|
|
126
|
-
fieldList;
|
|
127
|
-
constructor(opts) {
|
|
128
|
-
super({
|
|
129
|
-
name: "ValidationException",
|
|
130
|
-
$fault: "client",
|
|
131
|
-
...opts,
|
|
132
|
-
});
|
|
133
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
134
|
-
this.reason = opts.reason;
|
|
135
|
-
this.fieldList = opts.fieldList;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
21
|
export const ChannelAssociationOverrideOption = {
|
|
139
22
|
DISABLED: "DISABLED",
|
|
140
23
|
ENABLED: "ENABLED",
|
|
@@ -289,7 +289,7 @@ const _u = "url";
|
|
|
289
289
|
const _v = "value";
|
|
290
290
|
const n0 = "com.amazonaws.notifications";
|
|
291
291
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
292
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
292
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
293
293
|
import { NotificationsServiceException as __NotificationsServiceException } from "../models/NotificationsServiceException";
|
|
294
294
|
export var AccessDeniedException = [
|
|
295
295
|
-3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { NotificationsExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
|
-
export * from "./models";
|
|
13
|
+
export * from "./models/enums";
|
|
14
|
+
export * from "./models/errors";
|
|
15
|
+
export type * from "./models/models_0";
|
|
14
16
|
export { NotificationsServiceException } from "./models/NotificationsServiceException";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const AccessStatus: {
|
|
6
|
+
readonly DISABLED: "DISABLED";
|
|
7
|
+
readonly ENABLED: "ENABLED";
|
|
8
|
+
readonly FAILED: "FAILED";
|
|
9
|
+
readonly PENDING: "PENDING";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type AccessStatus = (typeof AccessStatus)[keyof typeof AccessStatus];
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ValidationExceptionField, ValidationExceptionReason } from "./models_0";
|
|
3
|
+
import { NotificationsServiceException as __BaseException } from "./NotificationsServiceException";
|
|
4
|
+
/**
|
|
5
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
readonly name: "AccessDeniedException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export declare class ConflictException extends __BaseException {
|
|
21
|
+
readonly name: "ConflictException";
|
|
22
|
+
readonly $fault: "client";
|
|
23
|
+
/**
|
|
24
|
+
* <p>The resource ID that prompted the conflict error.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
resourceId: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* <p>Unexpected error during processing of request.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export declare class InternalServerException extends __BaseException {
|
|
38
|
+
readonly name: "InternalServerException";
|
|
39
|
+
readonly $fault: "server";
|
|
40
|
+
$retryable: {};
|
|
41
|
+
/**
|
|
42
|
+
* @internal
|
|
43
|
+
*/
|
|
44
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* <p>Request references a resource which does not exist. </p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
51
|
+
readonly name: "ResourceNotFoundException";
|
|
52
|
+
readonly $fault: "client";
|
|
53
|
+
/**
|
|
54
|
+
* <p>The ID of the resource that wasn't found.</p>
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
resourceId: string | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* <p>Request would cause a service quota to be exceeded.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
68
|
+
readonly name: "ServiceQuotaExceededException";
|
|
69
|
+
readonly $fault: "client";
|
|
70
|
+
/**
|
|
71
|
+
* <p>The type of the resource that exceeds the service quota.</p>
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
resourceType: string | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* <p>The ID of the resource that exceeds the service quota.</p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
resourceId?: string | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* <p>The code for the service quota exceeded in <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html">Service Quotas</a>.</p>
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
serviceCode?: string | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* <p>The code for the service quota in <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html">Service Quotas</a>.</p>
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
quotaCode?: string | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* <p>Request was denied due to request throttling. </p>
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export declare class ThrottlingException extends __BaseException {
|
|
100
|
+
readonly name: "ThrottlingException";
|
|
101
|
+
readonly $fault: "client";
|
|
102
|
+
$retryable: {
|
|
103
|
+
throttling: boolean;
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* <p>Identifies the service being throttled.</p>
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
serviceCode?: string | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* <p>Identifies the quota that is being throttled.</p>
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
quotaCode?: string | undefined;
|
|
115
|
+
/**
|
|
116
|
+
* <p>The number of seconds a client should wait before retrying the request.</p>
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
retryAfterSeconds?: number | undefined;
|
|
120
|
+
/**
|
|
121
|
+
* @internal
|
|
122
|
+
*/
|
|
123
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* <p>This exception is thrown when the notification event fails validation.</p>
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
export declare class ValidationException extends __BaseException {
|
|
130
|
+
readonly name: "ValidationException";
|
|
131
|
+
readonly $fault: "client";
|
|
132
|
+
/**
|
|
133
|
+
* <p>The reason why your input is considered invalid.</p>
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
reason?: ValidationExceptionReason | undefined;
|
|
137
|
+
/**
|
|
138
|
+
* <p>The list of input fields that are invalid.</p>
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* @internal
|
|
144
|
+
*/
|
|
145
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
146
|
+
}
|
|
@@ -1,31 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { NotificationsServiceException as __BaseException } from "./NotificationsServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>User does not have sufficient access to perform this action.</p>
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
-
readonly name: "AccessDeniedException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* @public
|
|
17
|
-
* @enum
|
|
18
|
-
*/
|
|
19
|
-
export declare const AccessStatus: {
|
|
20
|
-
readonly DISABLED: "DISABLED";
|
|
21
|
-
readonly ENABLED: "ENABLED";
|
|
22
|
-
readonly FAILED: "FAILED";
|
|
23
|
-
readonly PENDING: "PENDING";
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* @public
|
|
27
|
-
*/
|
|
28
|
-
export type AccessStatus = (typeof AccessStatus)[keyof typeof AccessStatus];
|
|
1
|
+
import { AccessStatus } from "./enums";
|
|
29
2
|
/**
|
|
30
3
|
* @public
|
|
31
4
|
* @enum
|
|
@@ -211,115 +184,6 @@ export interface AssociateChannelRequest {
|
|
|
211
184
|
*/
|
|
212
185
|
export interface AssociateChannelResponse {
|
|
213
186
|
}
|
|
214
|
-
/**
|
|
215
|
-
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
216
|
-
* @public
|
|
217
|
-
*/
|
|
218
|
-
export declare class ConflictException extends __BaseException {
|
|
219
|
-
readonly name: "ConflictException";
|
|
220
|
-
readonly $fault: "client";
|
|
221
|
-
/**
|
|
222
|
-
* <p>The resource ID that prompted the conflict error.</p>
|
|
223
|
-
* @public
|
|
224
|
-
*/
|
|
225
|
-
resourceId: string | undefined;
|
|
226
|
-
/**
|
|
227
|
-
* @internal
|
|
228
|
-
*/
|
|
229
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* <p>Unexpected error during processing of request.</p>
|
|
233
|
-
* @public
|
|
234
|
-
*/
|
|
235
|
-
export declare class InternalServerException extends __BaseException {
|
|
236
|
-
readonly name: "InternalServerException";
|
|
237
|
-
readonly $fault: "server";
|
|
238
|
-
$retryable: {};
|
|
239
|
-
/**
|
|
240
|
-
* @internal
|
|
241
|
-
*/
|
|
242
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
243
|
-
}
|
|
244
|
-
/**
|
|
245
|
-
* <p>Request references a resource which does not exist. </p>
|
|
246
|
-
* @public
|
|
247
|
-
*/
|
|
248
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
249
|
-
readonly name: "ResourceNotFoundException";
|
|
250
|
-
readonly $fault: "client";
|
|
251
|
-
/**
|
|
252
|
-
* <p>The ID of the resource that wasn't found.</p>
|
|
253
|
-
* @public
|
|
254
|
-
*/
|
|
255
|
-
resourceId: string | undefined;
|
|
256
|
-
/**
|
|
257
|
-
* @internal
|
|
258
|
-
*/
|
|
259
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
260
|
-
}
|
|
261
|
-
/**
|
|
262
|
-
* <p>Request would cause a service quota to be exceeded.</p>
|
|
263
|
-
* @public
|
|
264
|
-
*/
|
|
265
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
266
|
-
readonly name: "ServiceQuotaExceededException";
|
|
267
|
-
readonly $fault: "client";
|
|
268
|
-
/**
|
|
269
|
-
* <p>The type of the resource that exceeds the service quota.</p>
|
|
270
|
-
* @public
|
|
271
|
-
*/
|
|
272
|
-
resourceType: string | undefined;
|
|
273
|
-
/**
|
|
274
|
-
* <p>The ID of the resource that exceeds the service quota.</p>
|
|
275
|
-
* @public
|
|
276
|
-
*/
|
|
277
|
-
resourceId?: string | undefined;
|
|
278
|
-
/**
|
|
279
|
-
* <p>The code for the service quota exceeded in <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html">Service Quotas</a>.</p>
|
|
280
|
-
* @public
|
|
281
|
-
*/
|
|
282
|
-
serviceCode?: string | undefined;
|
|
283
|
-
/**
|
|
284
|
-
* <p>The code for the service quota in <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html">Service Quotas</a>.</p>
|
|
285
|
-
* @public
|
|
286
|
-
*/
|
|
287
|
-
quotaCode?: string | undefined;
|
|
288
|
-
/**
|
|
289
|
-
* @internal
|
|
290
|
-
*/
|
|
291
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
292
|
-
}
|
|
293
|
-
/**
|
|
294
|
-
* <p>Request was denied due to request throttling. </p>
|
|
295
|
-
* @public
|
|
296
|
-
*/
|
|
297
|
-
export declare class ThrottlingException extends __BaseException {
|
|
298
|
-
readonly name: "ThrottlingException";
|
|
299
|
-
readonly $fault: "client";
|
|
300
|
-
$retryable: {
|
|
301
|
-
throttling: boolean;
|
|
302
|
-
};
|
|
303
|
-
/**
|
|
304
|
-
* <p>Identifies the service being throttled.</p>
|
|
305
|
-
* @public
|
|
306
|
-
*/
|
|
307
|
-
serviceCode?: string | undefined;
|
|
308
|
-
/**
|
|
309
|
-
* <p>Identifies the quota that is being throttled.</p>
|
|
310
|
-
* @public
|
|
311
|
-
*/
|
|
312
|
-
quotaCode?: string | undefined;
|
|
313
|
-
/**
|
|
314
|
-
* <p>The number of seconds a client should wait before retrying the request.</p>
|
|
315
|
-
* @public
|
|
316
|
-
*/
|
|
317
|
-
retryAfterSeconds?: number | undefined;
|
|
318
|
-
/**
|
|
319
|
-
* @internal
|
|
320
|
-
*/
|
|
321
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
322
|
-
}
|
|
323
187
|
/**
|
|
324
188
|
* <p>Stores information about a field passed inside a request that resulted in an exception.</p>
|
|
325
189
|
* @public
|
|
@@ -348,28 +212,6 @@ export declare const ValidationExceptionReason: {
|
|
|
348
212
|
* @public
|
|
349
213
|
*/
|
|
350
214
|
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
351
|
-
/**
|
|
352
|
-
* <p>This exception is thrown when the notification event fails validation.</p>
|
|
353
|
-
* @public
|
|
354
|
-
*/
|
|
355
|
-
export declare class ValidationException extends __BaseException {
|
|
356
|
-
readonly name: "ValidationException";
|
|
357
|
-
readonly $fault: "client";
|
|
358
|
-
/**
|
|
359
|
-
* <p>The reason why your input is considered invalid.</p>
|
|
360
|
-
* @public
|
|
361
|
-
*/
|
|
362
|
-
reason?: ValidationExceptionReason | undefined;
|
|
363
|
-
/**
|
|
364
|
-
* <p>The list of input fields that are invalid.</p>
|
|
365
|
-
* @public
|
|
366
|
-
*/
|
|
367
|
-
fieldList?: ValidationExceptionField[] | undefined;
|
|
368
|
-
/**
|
|
369
|
-
* @internal
|
|
370
|
-
*/
|
|
371
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
372
|
-
}
|
|
373
215
|
/**
|
|
374
216
|
* @public
|
|
375
217
|
*/
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { NotificationsExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { NotificationsServiceException } from "./models/NotificationsServiceException";
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
ValidationExceptionField,
|
|
4
|
+
ValidationExceptionReason,
|
|
5
|
+
} from "./models_0";
|
|
6
|
+
import { NotificationsServiceException as __BaseException } from "./NotificationsServiceException";
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
constructor(
|
|
11
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
export declare class ConflictException extends __BaseException {
|
|
15
|
+
readonly name: "ConflictException";
|
|
16
|
+
readonly $fault: "client";
|
|
17
|
+
resourceId: string | undefined;
|
|
18
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
19
|
+
}
|
|
20
|
+
export declare class InternalServerException extends __BaseException {
|
|
21
|
+
readonly name: "InternalServerException";
|
|
22
|
+
readonly $fault: "server";
|
|
23
|
+
$retryable: {};
|
|
24
|
+
constructor(
|
|
25
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
29
|
+
readonly name: "ResourceNotFoundException";
|
|
30
|
+
readonly $fault: "client";
|
|
31
|
+
resourceId: string | undefined;
|
|
32
|
+
constructor(
|
|
33
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
37
|
+
readonly name: "ServiceQuotaExceededException";
|
|
38
|
+
readonly $fault: "client";
|
|
39
|
+
resourceType: string | undefined;
|
|
40
|
+
resourceId?: string | undefined;
|
|
41
|
+
serviceCode?: string | undefined;
|
|
42
|
+
quotaCode?: string | undefined;
|
|
43
|
+
constructor(
|
|
44
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
export declare class ThrottlingException extends __BaseException {
|
|
48
|
+
readonly name: "ThrottlingException";
|
|
49
|
+
readonly $fault: "client";
|
|
50
|
+
$retryable: {
|
|
51
|
+
throttling: boolean;
|
|
52
|
+
};
|
|
53
|
+
serviceCode?: string | undefined;
|
|
54
|
+
quotaCode?: string | undefined;
|
|
55
|
+
retryAfterSeconds?: number | undefined;
|
|
56
|
+
constructor(
|
|
57
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
export declare class ValidationException extends __BaseException {
|
|
61
|
+
readonly name: "ValidationException";
|
|
62
|
+
readonly $fault: "client";
|
|
63
|
+
reason?: ValidationExceptionReason | undefined;
|
|
64
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
65
|
+
constructor(
|
|
66
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
67
|
+
);
|
|
68
|
+
}
|
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { NotificationsServiceException as __BaseException } from "./NotificationsServiceException";
|
|
3
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
-
readonly name: "AccessDeniedException";
|
|
5
|
-
readonly $fault: "client";
|
|
6
|
-
constructor(
|
|
7
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
-
);
|
|
9
|
-
}
|
|
10
|
-
export declare const AccessStatus: {
|
|
11
|
-
readonly DISABLED: "DISABLED";
|
|
12
|
-
readonly ENABLED: "ENABLED";
|
|
13
|
-
readonly FAILED: "FAILED";
|
|
14
|
-
readonly PENDING: "PENDING";
|
|
15
|
-
};
|
|
16
|
-
export type AccessStatus = (typeof AccessStatus)[keyof typeof AccessStatus];
|
|
1
|
+
import { AccessStatus } from "./enums";
|
|
17
2
|
export declare const AccountContactType: {
|
|
18
3
|
readonly ACCOUNT_ALTERNATE_BILLING: "ACCOUNT_ALTERNATE_BILLING";
|
|
19
4
|
readonly ACCOUNT_ALTERNATE_OPERATIONS: "ACCOUNT_ALTERNATE_OPERATIONS";
|
|
@@ -67,52 +52,6 @@ export interface AssociateChannelRequest {
|
|
|
67
52
|
notificationConfigurationArn: string | undefined;
|
|
68
53
|
}
|
|
69
54
|
export interface AssociateChannelResponse {}
|
|
70
|
-
export declare class ConflictException extends __BaseException {
|
|
71
|
-
readonly name: "ConflictException";
|
|
72
|
-
readonly $fault: "client";
|
|
73
|
-
resourceId: string | undefined;
|
|
74
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
75
|
-
}
|
|
76
|
-
export declare class InternalServerException extends __BaseException {
|
|
77
|
-
readonly name: "InternalServerException";
|
|
78
|
-
readonly $fault: "server";
|
|
79
|
-
$retryable: {};
|
|
80
|
-
constructor(
|
|
81
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
85
|
-
readonly name: "ResourceNotFoundException";
|
|
86
|
-
readonly $fault: "client";
|
|
87
|
-
resourceId: string | undefined;
|
|
88
|
-
constructor(
|
|
89
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
93
|
-
readonly name: "ServiceQuotaExceededException";
|
|
94
|
-
readonly $fault: "client";
|
|
95
|
-
resourceType: string | undefined;
|
|
96
|
-
resourceId?: string | undefined;
|
|
97
|
-
serviceCode?: string | undefined;
|
|
98
|
-
quotaCode?: string | undefined;
|
|
99
|
-
constructor(
|
|
100
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
101
|
-
);
|
|
102
|
-
}
|
|
103
|
-
export declare class ThrottlingException extends __BaseException {
|
|
104
|
-
readonly name: "ThrottlingException";
|
|
105
|
-
readonly $fault: "client";
|
|
106
|
-
$retryable: {
|
|
107
|
-
throttling: boolean;
|
|
108
|
-
};
|
|
109
|
-
serviceCode?: string | undefined;
|
|
110
|
-
quotaCode?: string | undefined;
|
|
111
|
-
retryAfterSeconds?: number | undefined;
|
|
112
|
-
constructor(
|
|
113
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
114
|
-
);
|
|
115
|
-
}
|
|
116
55
|
export interface ValidationExceptionField {
|
|
117
56
|
name: string | undefined;
|
|
118
57
|
message: string | undefined;
|
|
@@ -123,15 +62,6 @@ export declare const ValidationExceptionReason: {
|
|
|
123
62
|
};
|
|
124
63
|
export type ValidationExceptionReason =
|
|
125
64
|
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
126
|
-
export declare class ValidationException extends __BaseException {
|
|
127
|
-
readonly name: "ValidationException";
|
|
128
|
-
readonly $fault: "client";
|
|
129
|
-
reason?: ValidationExceptionReason | undefined;
|
|
130
|
-
fieldList?: ValidationExceptionField[] | undefined;
|
|
131
|
-
constructor(
|
|
132
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
133
|
-
);
|
|
134
|
-
}
|
|
135
65
|
export interface AssociateManagedNotificationAccountContactRequest {
|
|
136
66
|
contactIdentifier: AccountContactType | undefined;
|
|
137
67
|
managedNotificationConfigurationArn: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-notifications",
|
|
3
3
|
"description": "AWS SDK for JavaScript Notifications Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-notifications",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|