@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
|
@@ -1,12 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import {
|
|
2
|
+
AccessStatus,
|
|
3
|
+
AccountContactType,
|
|
4
|
+
AggregationDuration,
|
|
5
|
+
AggregationEventType,
|
|
6
|
+
ChannelAssociationOverrideOption,
|
|
7
|
+
ChannelType,
|
|
8
|
+
EventRuleStatus,
|
|
9
|
+
EventStatus,
|
|
10
|
+
LocaleCode,
|
|
11
|
+
MediaElementType,
|
|
12
|
+
MemberAccountNotificationConfigurationStatus,
|
|
13
|
+
NotificationConfigurationStatus,
|
|
14
|
+
NotificationConfigurationSubtype,
|
|
15
|
+
NotificationHubStatus,
|
|
16
|
+
NotificationType,
|
|
17
|
+
SchemaVersion,
|
|
18
|
+
TextPartType,
|
|
19
|
+
} from "./enums";
|
|
10
20
|
export interface SummarizationDimensionDetail {
|
|
11
21
|
name: string | undefined;
|
|
12
22
|
value: string | undefined;
|
|
@@ -14,20 +24,6 @@ export interface SummarizationDimensionDetail {
|
|
|
14
24
|
export interface AggregationDetail {
|
|
15
25
|
summarizationDimensions?: SummarizationDimensionDetail[] | undefined;
|
|
16
26
|
}
|
|
17
|
-
export declare const AggregationDuration: {
|
|
18
|
-
readonly LONG: "LONG";
|
|
19
|
-
readonly NONE: "NONE";
|
|
20
|
-
readonly SHORT: "SHORT";
|
|
21
|
-
};
|
|
22
|
-
export type AggregationDuration =
|
|
23
|
-
(typeof AggregationDuration)[keyof typeof AggregationDuration];
|
|
24
|
-
export declare const AggregationEventType: {
|
|
25
|
-
readonly AGGREGATE: "AGGREGATE";
|
|
26
|
-
readonly CHILD: "CHILD";
|
|
27
|
-
readonly NONE: "NONE";
|
|
28
|
-
};
|
|
29
|
-
export type AggregationEventType =
|
|
30
|
-
(typeof AggregationEventType)[keyof typeof AggregationEventType];
|
|
31
27
|
export interface AggregationKey {
|
|
32
28
|
name: string | undefined;
|
|
33
29
|
value: string | undefined;
|
|
@@ -56,12 +52,6 @@ export interface ValidationExceptionField {
|
|
|
56
52
|
name: string | undefined;
|
|
57
53
|
message: string | undefined;
|
|
58
54
|
}
|
|
59
|
-
export declare const ValidationExceptionReason: {
|
|
60
|
-
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
61
|
-
readonly OTHER: "other";
|
|
62
|
-
};
|
|
63
|
-
export type ValidationExceptionReason =
|
|
64
|
-
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
65
55
|
export interface AssociateManagedNotificationAccountContactRequest {
|
|
66
56
|
contactIdentifier: AccountContactType | undefined;
|
|
67
57
|
managedNotificationConfigurationArn: string | undefined;
|
|
@@ -91,19 +81,6 @@ export interface ListChannelsResponse {
|
|
|
91
81
|
nextToken?: string | undefined;
|
|
92
82
|
channels: string[] | undefined;
|
|
93
83
|
}
|
|
94
|
-
export declare const ChannelAssociationOverrideOption: {
|
|
95
|
-
readonly DISABLED: "DISABLED";
|
|
96
|
-
readonly ENABLED: "ENABLED";
|
|
97
|
-
};
|
|
98
|
-
export type ChannelAssociationOverrideOption =
|
|
99
|
-
(typeof ChannelAssociationOverrideOption)[keyof typeof ChannelAssociationOverrideOption];
|
|
100
|
-
export declare const ChannelType: {
|
|
101
|
-
readonly ACCOUNT_CONTACT: "ACCOUNT_CONTACT";
|
|
102
|
-
readonly CHATBOT: "CHATBOT";
|
|
103
|
-
readonly EMAIL: "EMAIL";
|
|
104
|
-
readonly MOBILE: "MOBILE";
|
|
105
|
-
};
|
|
106
|
-
export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];
|
|
107
84
|
export interface CreateEventRuleRequest {
|
|
108
85
|
notificationConfigurationArn: string | undefined;
|
|
109
86
|
source: string | undefined;
|
|
@@ -111,15 +88,6 @@ export interface CreateEventRuleRequest {
|
|
|
111
88
|
eventPattern?: string | undefined;
|
|
112
89
|
regions: string[] | undefined;
|
|
113
90
|
}
|
|
114
|
-
export declare const EventRuleStatus: {
|
|
115
|
-
readonly ACTIVE: "ACTIVE";
|
|
116
|
-
readonly CREATING: "CREATING";
|
|
117
|
-
readonly DELETING: "DELETING";
|
|
118
|
-
readonly INACTIVE: "INACTIVE";
|
|
119
|
-
readonly UPDATING: "UPDATING";
|
|
120
|
-
};
|
|
121
|
-
export type EventRuleStatus =
|
|
122
|
-
(typeof EventRuleStatus)[keyof typeof EventRuleStatus];
|
|
123
91
|
export interface EventRuleStatusSummary {
|
|
124
92
|
status: EventRuleStatus | undefined;
|
|
125
93
|
reason: string | undefined;
|
|
@@ -135,14 +103,6 @@ export interface CreateNotificationConfigurationRequest {
|
|
|
135
103
|
aggregationDuration?: AggregationDuration | undefined;
|
|
136
104
|
tags?: Record<string, string> | undefined;
|
|
137
105
|
}
|
|
138
|
-
export declare const NotificationConfigurationStatus: {
|
|
139
|
-
readonly ACTIVE: "ACTIVE";
|
|
140
|
-
readonly DELETING: "DELETING";
|
|
141
|
-
readonly INACTIVE: "INACTIVE";
|
|
142
|
-
readonly PARTIALLY_ACTIVE: "PARTIALLY_ACTIVE";
|
|
143
|
-
};
|
|
144
|
-
export type NotificationConfigurationStatus =
|
|
145
|
-
(typeof NotificationConfigurationStatus)[keyof typeof NotificationConfigurationStatus];
|
|
146
106
|
export interface CreateNotificationConfigurationResponse {
|
|
147
107
|
arn: string | undefined;
|
|
148
108
|
status: NotificationConfigurationStatus | undefined;
|
|
@@ -158,14 +118,6 @@ export interface DeleteNotificationConfigurationResponse {}
|
|
|
158
118
|
export interface DeregisterNotificationHubRequest {
|
|
159
119
|
notificationHubRegion: string | undefined;
|
|
160
120
|
}
|
|
161
|
-
export declare const NotificationHubStatus: {
|
|
162
|
-
readonly ACTIVE: "ACTIVE";
|
|
163
|
-
readonly DEREGISTERING: "DEREGISTERING";
|
|
164
|
-
readonly INACTIVE: "INACTIVE";
|
|
165
|
-
readonly REGISTERING: "REGISTERING";
|
|
166
|
-
};
|
|
167
|
-
export type NotificationHubStatus =
|
|
168
|
-
(typeof NotificationHubStatus)[keyof typeof NotificationHubStatus];
|
|
169
121
|
export interface NotificationHubStatusSummary {
|
|
170
122
|
status: NotificationHubStatus | undefined;
|
|
171
123
|
reason: string | undefined;
|
|
@@ -241,29 +193,6 @@ export interface UpdateEventRuleResponse {
|
|
|
241
193
|
notificationConfigurationArn: string | undefined;
|
|
242
194
|
statusSummaryByRegion: Record<string, EventRuleStatusSummary> | undefined;
|
|
243
195
|
}
|
|
244
|
-
export declare const EventStatus: {
|
|
245
|
-
readonly HEALTHY: "HEALTHY";
|
|
246
|
-
readonly UNHEALTHY: "UNHEALTHY";
|
|
247
|
-
};
|
|
248
|
-
export type EventStatus = (typeof EventStatus)[keyof typeof EventStatus];
|
|
249
|
-
export declare const LocaleCode: {
|
|
250
|
-
readonly de_DE: "de_DE";
|
|
251
|
-
readonly en_CA: "en_CA";
|
|
252
|
-
readonly en_UK: "en_UK";
|
|
253
|
-
readonly en_US: "en_US";
|
|
254
|
-
readonly es_ES: "es_ES";
|
|
255
|
-
readonly fr_CA: "fr_CA";
|
|
256
|
-
readonly fr_FR: "fr_FR";
|
|
257
|
-
readonly id_ID: "id_ID";
|
|
258
|
-
readonly it_IT: "it_IT";
|
|
259
|
-
readonly ja_JP: "ja_JP";
|
|
260
|
-
readonly ko_KR: "ko_KR";
|
|
261
|
-
readonly pt_BR: "pt_BR";
|
|
262
|
-
readonly tr_TR: "tr_TR";
|
|
263
|
-
readonly zh_CN: "zh_CN";
|
|
264
|
-
readonly zh_TW: "zh_TW";
|
|
265
|
-
};
|
|
266
|
-
export type LocaleCode = (typeof LocaleCode)[keyof typeof LocaleCode];
|
|
267
196
|
export interface GetManagedNotificationChildEventRequest {
|
|
268
197
|
arn: string | undefined;
|
|
269
198
|
locale?: LocaleCode | undefined;
|
|
@@ -274,24 +203,6 @@ export interface MessageComponents {
|
|
|
274
203
|
completeDescription?: string | undefined;
|
|
275
204
|
dimensions?: Dimension[] | undefined;
|
|
276
205
|
}
|
|
277
|
-
export declare const NotificationType: {
|
|
278
|
-
readonly ALERT: "ALERT";
|
|
279
|
-
readonly ANNOUNCEMENT: "ANNOUNCEMENT";
|
|
280
|
-
readonly INFORMATIONAL: "INFORMATIONAL";
|
|
281
|
-
readonly WARNING: "WARNING";
|
|
282
|
-
};
|
|
283
|
-
export type NotificationType =
|
|
284
|
-
(typeof NotificationType)[keyof typeof NotificationType];
|
|
285
|
-
export declare const SchemaVersion: {
|
|
286
|
-
readonly SCHEMA_VERSION_1_0: "v1.0";
|
|
287
|
-
};
|
|
288
|
-
export type SchemaVersion = (typeof SchemaVersion)[keyof typeof SchemaVersion];
|
|
289
|
-
export declare const TextPartType: {
|
|
290
|
-
readonly LOCALIZED_TEXT: "LOCALIZED_TEXT";
|
|
291
|
-
readonly PLAIN_TEXT: "PLAIN_TEXT";
|
|
292
|
-
readonly URL: "URL";
|
|
293
|
-
};
|
|
294
|
-
export type TextPartType = (typeof TextPartType)[keyof typeof TextPartType];
|
|
295
206
|
export interface TextPartValue {
|
|
296
207
|
type: TextPartType | undefined;
|
|
297
208
|
displayText?: string | undefined;
|
|
@@ -357,12 +268,6 @@ export interface GetManagedNotificationEventResponse {
|
|
|
357
268
|
export interface GetNotificationConfigurationRequest {
|
|
358
269
|
arn: string | undefined;
|
|
359
270
|
}
|
|
360
|
-
export declare const NotificationConfigurationSubtype: {
|
|
361
|
-
readonly ACCOUNT: "ACCOUNT";
|
|
362
|
-
readonly ADMIN_MANAGED: "ADMIN_MANAGED";
|
|
363
|
-
};
|
|
364
|
-
export type NotificationConfigurationSubtype =
|
|
365
|
-
(typeof NotificationConfigurationSubtype)[keyof typeof NotificationConfigurationSubtype];
|
|
366
271
|
export interface GetNotificationConfigurationResponse {
|
|
367
272
|
arn: string | undefined;
|
|
368
273
|
name: string | undefined;
|
|
@@ -376,11 +281,6 @@ export interface GetNotificationEventRequest {
|
|
|
376
281
|
arn: string | undefined;
|
|
377
282
|
locale?: LocaleCode | undefined;
|
|
378
283
|
}
|
|
379
|
-
export declare const MediaElementType: {
|
|
380
|
-
readonly IMAGE: "IMAGE";
|
|
381
|
-
};
|
|
382
|
-
export type MediaElementType =
|
|
383
|
-
(typeof MediaElementType)[keyof typeof MediaElementType];
|
|
384
284
|
export interface MediaElement {
|
|
385
285
|
mediaId: string | undefined;
|
|
386
286
|
type: MediaElementType | undefined;
|
|
@@ -541,15 +441,6 @@ export interface ListManagedNotificationEventsResponse {
|
|
|
541
441
|
nextToken?: string | undefined;
|
|
542
442
|
managedNotificationEvents: ManagedNotificationEventOverview[] | undefined;
|
|
543
443
|
}
|
|
544
|
-
export declare const MemberAccountNotificationConfigurationStatus: {
|
|
545
|
-
readonly ACTIVE: "ACTIVE";
|
|
546
|
-
readonly CREATING: "CREATING";
|
|
547
|
-
readonly DELETING: "DELETING";
|
|
548
|
-
readonly INACTIVE: "INACTIVE";
|
|
549
|
-
readonly PENDING: "PENDING";
|
|
550
|
-
};
|
|
551
|
-
export type MemberAccountNotificationConfigurationStatus =
|
|
552
|
-
(typeof MemberAccountNotificationConfigurationStatus)[keyof typeof MemberAccountNotificationConfigurationStatus];
|
|
553
444
|
export interface ListMemberAccountsRequest {
|
|
554
445
|
notificationConfigurationArn: string | undefined;
|
|
555
446
|
maxResults?: number | 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.940.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,17 +20,17 @@
|
|
|
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.940.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.940.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.940.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
30
|
"@aws-sdk/types": "3.936.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.940.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
35
|
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|