@aws-sdk/client-notifications 3.698.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/LICENSE +201 -0
- package/README.md +380 -0
- package/dist-cjs/Notifications.js +53 -0
- package/dist-cjs/NotificationsClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/AssociateChannelCommand.js +26 -0
- package/dist-cjs/commands/CreateEventRuleCommand.js +26 -0
- package/dist-cjs/commands/CreateNotificationConfigurationCommand.js +26 -0
- package/dist-cjs/commands/DeleteEventRuleCommand.js +26 -0
- package/dist-cjs/commands/DeleteNotificationConfigurationCommand.js +26 -0
- package/dist-cjs/commands/DeregisterNotificationHubCommand.js +26 -0
- package/dist-cjs/commands/DisassociateChannelCommand.js +26 -0
- package/dist-cjs/commands/GetEventRuleCommand.js +26 -0
- package/dist-cjs/commands/GetNotificationConfigurationCommand.js +26 -0
- package/dist-cjs/commands/GetNotificationEventCommand.js +26 -0
- package/dist-cjs/commands/ListChannelsCommand.js +26 -0
- package/dist-cjs/commands/ListEventRulesCommand.js +26 -0
- package/dist-cjs/commands/ListNotificationConfigurationsCommand.js +26 -0
- package/dist-cjs/commands/ListNotificationEventsCommand.js +26 -0
- package/dist-cjs/commands/ListNotificationHubsCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/RegisterNotificationHubCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/UpdateEventRuleCommand.js +26 -0
- package/dist-cjs/commands/UpdateNotificationConfigurationCommand.js +26 -0
- package/dist-cjs/commands/index.js +24 -0
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/NotificationsServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +181 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListChannelsPaginator.js +7 -0
- package/dist-cjs/pagination/ListEventRulesPaginator.js +7 -0
- package/dist-cjs/pagination/ListNotificationConfigurationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListNotificationEventsPaginator.js +7 -0
- package/dist-cjs/pagination/ListNotificationHubsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_restJson1.js +885 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/Notifications.js +49 -0
- package/dist-es/NotificationsClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/AssociateChannelCommand.js +22 -0
- package/dist-es/commands/CreateEventRuleCommand.js +22 -0
- package/dist-es/commands/CreateNotificationConfigurationCommand.js +22 -0
- package/dist-es/commands/DeleteEventRuleCommand.js +22 -0
- package/dist-es/commands/DeleteNotificationConfigurationCommand.js +22 -0
- package/dist-es/commands/DeregisterNotificationHubCommand.js +22 -0
- package/dist-es/commands/DisassociateChannelCommand.js +22 -0
- package/dist-es/commands/GetEventRuleCommand.js +22 -0
- package/dist-es/commands/GetNotificationConfigurationCommand.js +22 -0
- package/dist-es/commands/GetNotificationEventCommand.js +22 -0
- package/dist-es/commands/ListChannelsCommand.js +22 -0
- package/dist-es/commands/ListEventRulesCommand.js +22 -0
- package/dist-es/commands/ListNotificationConfigurationsCommand.js +22 -0
- package/dist-es/commands/ListNotificationEventsCommand.js +22 -0
- package/dist-es/commands/ListNotificationHubsCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/RegisterNotificationHubCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateEventRuleCommand.js +22 -0
- package/dist-es/commands/UpdateNotificationConfigurationCommand.js +22 -0
- package/dist-es/commands/index.js +21 -0
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/NotificationsServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +171 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListChannelsPaginator.js +4 -0
- package/dist-es/pagination/ListEventRulesPaginator.js +4 -0
- package/dist-es/pagination/ListNotificationConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/ListNotificationEventsPaginator.js +4 -0
- package/dist-es/pagination/ListNotificationHubsPaginator.js +4 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +840 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/Notifications.d.ts +167 -0
- package/dist-types/NotificationsClient.d.ts +197 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/AssociateChannelCommand.d.ts +92 -0
- package/dist-types/commands/CreateEventRuleCommand.d.ts +105 -0
- package/dist-types/commands/CreateNotificationConfigurationCommand.d.ts +95 -0
- package/dist-types/commands/DeleteEventRuleCommand.d.ts +87 -0
- package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +87 -0
- package/dist-types/commands/DeregisterNotificationHubCommand.d.ts +96 -0
- package/dist-types/commands/DisassociateChannelCommand.d.ts +85 -0
- package/dist-types/commands/GetEventRuleCommand.d.ts +103 -0
- package/dist-types/commands/GetNotificationConfigurationCommand.d.ts +91 -0
- package/dist-types/commands/GetNotificationEventCommand.d.ts +154 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +91 -0
- package/dist-types/commands/ListEventRulesCommand.d.ts +110 -0
- package/dist-types/commands/ListNotificationConfigurationsCommand.d.ts +97 -0
- package/dist-types/commands/ListNotificationEventsCommand.d.ts +118 -0
- package/dist-types/commands/ListNotificationHubsCommand.d.ts +95 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +92 -0
- package/dist-types/commands/RegisterNotificationHubCommand.d.ts +96 -0
- package/dist-types/commands/TagResourceCommand.d.ts +91 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
- package/dist-types/commands/UpdateEventRuleCommand.d.ts +100 -0
- package/dist-types/commands/UpdateNotificationConfigurationCommand.d.ts +92 -0
- package/dist-types/commands/index.d.ts +21 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +21 -0
- package/dist-types/models/NotificationsServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2354 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListChannelsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEventRulesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNotificationConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNotificationEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNotificationHubsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +191 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/Notifications.d.ts +367 -0
- package/dist-types/ts3.4/NotificationsClient.d.ts +245 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/AssociateChannelCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateEventRuleCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateNotificationConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteEventRuleCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteNotificationConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeregisterNotificationHubCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateChannelCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetEventRuleCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetNotificationConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetNotificationEventCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListEventRulesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListNotificationConfigurationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListNotificationEventsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListNotificationHubsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RegisterNotificationHubCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateEventRuleCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateNotificationConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +21 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/NotificationsServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +447 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEventRulesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNotificationConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNotificationEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNotificationHubsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +257 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,447 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
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 AggregationDuration: {
|
|
11
|
+
readonly LONG: "LONG";
|
|
12
|
+
readonly NONE: "NONE";
|
|
13
|
+
readonly SHORT: "SHORT";
|
|
14
|
+
};
|
|
15
|
+
export type AggregationDuration =
|
|
16
|
+
(typeof AggregationDuration)[keyof typeof AggregationDuration];
|
|
17
|
+
export declare const AggregationEventType: {
|
|
18
|
+
readonly AGGREGATE: "AGGREGATE";
|
|
19
|
+
readonly CHILD: "CHILD";
|
|
20
|
+
readonly NONE: "NONE";
|
|
21
|
+
};
|
|
22
|
+
export type AggregationEventType =
|
|
23
|
+
(typeof AggregationEventType)[keyof typeof AggregationEventType];
|
|
24
|
+
export interface AssociateChannelRequest {
|
|
25
|
+
arn: string | undefined;
|
|
26
|
+
notificationConfigurationArn: string | undefined;
|
|
27
|
+
}
|
|
28
|
+
export interface AssociateChannelResponse {}
|
|
29
|
+
export declare class ConflictException extends __BaseException {
|
|
30
|
+
readonly name: "ConflictException";
|
|
31
|
+
readonly $fault: "client";
|
|
32
|
+
resourceId: string | undefined;
|
|
33
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
34
|
+
}
|
|
35
|
+
export declare class InternalServerException extends __BaseException {
|
|
36
|
+
readonly name: "InternalServerException";
|
|
37
|
+
readonly $fault: "server";
|
|
38
|
+
$retryable: {};
|
|
39
|
+
constructor(
|
|
40
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
44
|
+
readonly name: "ResourceNotFoundException";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
resourceId: string | undefined;
|
|
47
|
+
constructor(
|
|
48
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
52
|
+
readonly name: "ServiceQuotaExceededException";
|
|
53
|
+
readonly $fault: "client";
|
|
54
|
+
resourceType: string | undefined;
|
|
55
|
+
resourceId?: string | undefined;
|
|
56
|
+
serviceCode?: string | undefined;
|
|
57
|
+
quotaCode?: string | undefined;
|
|
58
|
+
constructor(
|
|
59
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
export declare class ThrottlingException extends __BaseException {
|
|
63
|
+
readonly name: "ThrottlingException";
|
|
64
|
+
readonly $fault: "client";
|
|
65
|
+
$retryable: {
|
|
66
|
+
throttling: boolean;
|
|
67
|
+
};
|
|
68
|
+
serviceCode?: string | undefined;
|
|
69
|
+
quotaCode?: string | undefined;
|
|
70
|
+
retryAfterSeconds?: number | undefined;
|
|
71
|
+
constructor(
|
|
72
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
export interface ValidationExceptionField {
|
|
76
|
+
name: string | undefined;
|
|
77
|
+
message: string | undefined;
|
|
78
|
+
}
|
|
79
|
+
export declare const ValidationExceptionReason: {
|
|
80
|
+
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
81
|
+
readonly OTHER: "other";
|
|
82
|
+
};
|
|
83
|
+
export type ValidationExceptionReason =
|
|
84
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
85
|
+
export declare class ValidationException extends __BaseException {
|
|
86
|
+
readonly name: "ValidationException";
|
|
87
|
+
readonly $fault: "client";
|
|
88
|
+
reason?: ValidationExceptionReason | undefined;
|
|
89
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
90
|
+
constructor(
|
|
91
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
92
|
+
);
|
|
93
|
+
}
|
|
94
|
+
export interface DisassociateChannelRequest {
|
|
95
|
+
arn: string | undefined;
|
|
96
|
+
notificationConfigurationArn: string | undefined;
|
|
97
|
+
}
|
|
98
|
+
export interface DisassociateChannelResponse {}
|
|
99
|
+
export interface ListChannelsRequest {
|
|
100
|
+
notificationConfigurationArn: string | undefined;
|
|
101
|
+
maxResults?: number | undefined;
|
|
102
|
+
nextToken?: string | undefined;
|
|
103
|
+
}
|
|
104
|
+
export interface ListChannelsResponse {
|
|
105
|
+
nextToken?: string | undefined;
|
|
106
|
+
channels: string[] | undefined;
|
|
107
|
+
}
|
|
108
|
+
export interface CreateEventRuleRequest {
|
|
109
|
+
notificationConfigurationArn: string | undefined;
|
|
110
|
+
source: string | undefined;
|
|
111
|
+
eventType: string | undefined;
|
|
112
|
+
eventPattern?: string | undefined;
|
|
113
|
+
regions: string[] | undefined;
|
|
114
|
+
}
|
|
115
|
+
export declare const EventRuleStatus: {
|
|
116
|
+
readonly ACTIVE: "ACTIVE";
|
|
117
|
+
readonly CREATING: "CREATING";
|
|
118
|
+
readonly DELETING: "DELETING";
|
|
119
|
+
readonly INACTIVE: "INACTIVE";
|
|
120
|
+
readonly UPDATING: "UPDATING";
|
|
121
|
+
};
|
|
122
|
+
export type EventRuleStatus =
|
|
123
|
+
(typeof EventRuleStatus)[keyof typeof EventRuleStatus];
|
|
124
|
+
export interface EventRuleStatusSummary {
|
|
125
|
+
status: EventRuleStatus | undefined;
|
|
126
|
+
reason: string | undefined;
|
|
127
|
+
}
|
|
128
|
+
export interface CreateEventRuleResponse {
|
|
129
|
+
arn: string | undefined;
|
|
130
|
+
notificationConfigurationArn: string | undefined;
|
|
131
|
+
statusSummaryByRegion: Record<string, EventRuleStatusSummary> | undefined;
|
|
132
|
+
}
|
|
133
|
+
export interface CreateNotificationConfigurationRequest {
|
|
134
|
+
name: string | undefined;
|
|
135
|
+
description: string | undefined;
|
|
136
|
+
aggregationDuration?: AggregationDuration | undefined;
|
|
137
|
+
tags?: Record<string, string> | undefined;
|
|
138
|
+
}
|
|
139
|
+
export declare const NotificationConfigurationStatus: {
|
|
140
|
+
readonly ACTIVE: "ACTIVE";
|
|
141
|
+
readonly DELETING: "DELETING";
|
|
142
|
+
readonly INACTIVE: "INACTIVE";
|
|
143
|
+
readonly PARTIALLY_ACTIVE: "PARTIALLY_ACTIVE";
|
|
144
|
+
};
|
|
145
|
+
export type NotificationConfigurationStatus =
|
|
146
|
+
(typeof NotificationConfigurationStatus)[keyof typeof NotificationConfigurationStatus];
|
|
147
|
+
export interface CreateNotificationConfigurationResponse {
|
|
148
|
+
arn: string | undefined;
|
|
149
|
+
status: NotificationConfigurationStatus | undefined;
|
|
150
|
+
}
|
|
151
|
+
export interface DeleteEventRuleRequest {
|
|
152
|
+
arn: string | undefined;
|
|
153
|
+
}
|
|
154
|
+
export interface DeleteEventRuleResponse {}
|
|
155
|
+
export interface DeleteNotificationConfigurationRequest {
|
|
156
|
+
arn: string | undefined;
|
|
157
|
+
}
|
|
158
|
+
export interface DeleteNotificationConfigurationResponse {}
|
|
159
|
+
export interface DeregisterNotificationHubRequest {
|
|
160
|
+
notificationHubRegion: string | undefined;
|
|
161
|
+
}
|
|
162
|
+
export declare const NotificationHubStatus: {
|
|
163
|
+
readonly ACTIVE: "ACTIVE";
|
|
164
|
+
readonly DEREGISTERING: "DEREGISTERING";
|
|
165
|
+
readonly INACTIVE: "INACTIVE";
|
|
166
|
+
readonly REGISTERING: "REGISTERING";
|
|
167
|
+
};
|
|
168
|
+
export type NotificationHubStatus =
|
|
169
|
+
(typeof NotificationHubStatus)[keyof typeof NotificationHubStatus];
|
|
170
|
+
export interface NotificationHubStatusSummary {
|
|
171
|
+
status: NotificationHubStatus | undefined;
|
|
172
|
+
reason: string | undefined;
|
|
173
|
+
}
|
|
174
|
+
export interface DeregisterNotificationHubResponse {
|
|
175
|
+
notificationHubRegion: string | undefined;
|
|
176
|
+
statusSummary: NotificationHubStatusSummary | undefined;
|
|
177
|
+
}
|
|
178
|
+
export interface Dimension {
|
|
179
|
+
name: string | undefined;
|
|
180
|
+
value: string | undefined;
|
|
181
|
+
}
|
|
182
|
+
export interface GetEventRuleRequest {
|
|
183
|
+
arn: string | undefined;
|
|
184
|
+
}
|
|
185
|
+
export interface GetEventRuleResponse {
|
|
186
|
+
arn: string | undefined;
|
|
187
|
+
notificationConfigurationArn: string | undefined;
|
|
188
|
+
creationTime: Date | undefined;
|
|
189
|
+
source: string | undefined;
|
|
190
|
+
eventType: string | undefined;
|
|
191
|
+
eventPattern: string | undefined;
|
|
192
|
+
regions: string[] | undefined;
|
|
193
|
+
managedRules: string[] | undefined;
|
|
194
|
+
statusSummaryByRegion: Record<string, EventRuleStatusSummary> | undefined;
|
|
195
|
+
}
|
|
196
|
+
export interface ListEventRulesRequest {
|
|
197
|
+
notificationConfigurationArn: string | undefined;
|
|
198
|
+
maxResults?: number | undefined;
|
|
199
|
+
nextToken?: string | undefined;
|
|
200
|
+
}
|
|
201
|
+
export interface EventRuleStructure {
|
|
202
|
+
arn: string | undefined;
|
|
203
|
+
notificationConfigurationArn: string | undefined;
|
|
204
|
+
creationTime: Date | undefined;
|
|
205
|
+
source: string | undefined;
|
|
206
|
+
eventType: string | undefined;
|
|
207
|
+
eventPattern: string | undefined;
|
|
208
|
+
regions: string[] | undefined;
|
|
209
|
+
managedRules: string[] | undefined;
|
|
210
|
+
statusSummaryByRegion: Record<string, EventRuleStatusSummary> | undefined;
|
|
211
|
+
}
|
|
212
|
+
export interface ListEventRulesResponse {
|
|
213
|
+
nextToken?: string | undefined;
|
|
214
|
+
eventRules: EventRuleStructure[] | undefined;
|
|
215
|
+
}
|
|
216
|
+
export interface UpdateEventRuleRequest {
|
|
217
|
+
arn: string | undefined;
|
|
218
|
+
eventPattern?: string | undefined;
|
|
219
|
+
regions?: string[] | undefined;
|
|
220
|
+
}
|
|
221
|
+
export interface UpdateEventRuleResponse {
|
|
222
|
+
arn: string | undefined;
|
|
223
|
+
notificationConfigurationArn: string | undefined;
|
|
224
|
+
statusSummaryByRegion: Record<string, EventRuleStatusSummary> | undefined;
|
|
225
|
+
}
|
|
226
|
+
export declare const EventStatus: {
|
|
227
|
+
readonly HEALTHY: "HEALTHY";
|
|
228
|
+
readonly UNHEALTHY: "UNHEALTHY";
|
|
229
|
+
};
|
|
230
|
+
export type EventStatus = (typeof EventStatus)[keyof typeof EventStatus];
|
|
231
|
+
export interface GetNotificationConfigurationRequest {
|
|
232
|
+
arn: string | undefined;
|
|
233
|
+
}
|
|
234
|
+
export interface GetNotificationConfigurationResponse {
|
|
235
|
+
arn: string | undefined;
|
|
236
|
+
name: string | undefined;
|
|
237
|
+
description: string | undefined;
|
|
238
|
+
status: NotificationConfigurationStatus | undefined;
|
|
239
|
+
creationTime: Date | undefined;
|
|
240
|
+
aggregationDuration?: AggregationDuration | undefined;
|
|
241
|
+
}
|
|
242
|
+
export declare const LocaleCode: {
|
|
243
|
+
readonly de_DE: "de_DE";
|
|
244
|
+
readonly en_CA: "en_CA";
|
|
245
|
+
readonly en_UK: "en_UK";
|
|
246
|
+
readonly en_US: "en_US";
|
|
247
|
+
readonly es_ES: "es_ES";
|
|
248
|
+
readonly fr_CA: "fr_CA";
|
|
249
|
+
readonly fr_FR: "fr_FR";
|
|
250
|
+
readonly id_ID: "id_ID";
|
|
251
|
+
readonly it_IT: "it_IT";
|
|
252
|
+
readonly ja_JP: "ja_JP";
|
|
253
|
+
readonly ko_KR: "ko_KR";
|
|
254
|
+
readonly pt_BR: "pt_BR";
|
|
255
|
+
readonly tr_TR: "tr_TR";
|
|
256
|
+
readonly zh_CN: "zh_CN";
|
|
257
|
+
readonly zh_TW: "zh_TW";
|
|
258
|
+
};
|
|
259
|
+
export type LocaleCode = (typeof LocaleCode)[keyof typeof LocaleCode];
|
|
260
|
+
export interface GetNotificationEventRequest {
|
|
261
|
+
arn: string | undefined;
|
|
262
|
+
locale?: LocaleCode | undefined;
|
|
263
|
+
}
|
|
264
|
+
export declare const MediaElementType: {
|
|
265
|
+
readonly IMAGE: "IMAGE";
|
|
266
|
+
};
|
|
267
|
+
export type MediaElementType =
|
|
268
|
+
(typeof MediaElementType)[keyof typeof MediaElementType];
|
|
269
|
+
export interface MediaElement {
|
|
270
|
+
mediaId: string | undefined;
|
|
271
|
+
type: MediaElementType | undefined;
|
|
272
|
+
url: string | undefined;
|
|
273
|
+
caption: string | undefined;
|
|
274
|
+
}
|
|
275
|
+
export interface MessageComponents {
|
|
276
|
+
headline?: string | undefined;
|
|
277
|
+
paragraphSummary?: string | undefined;
|
|
278
|
+
completeDescription?: string | undefined;
|
|
279
|
+
dimensions?: Dimension[] | undefined;
|
|
280
|
+
}
|
|
281
|
+
export declare const NotificationType: {
|
|
282
|
+
readonly ALERT: "ALERT";
|
|
283
|
+
readonly ANNOUNCEMENT: "ANNOUNCEMENT";
|
|
284
|
+
readonly INFORMATIONAL: "INFORMATIONAL";
|
|
285
|
+
readonly WARNING: "WARNING";
|
|
286
|
+
};
|
|
287
|
+
export type NotificationType =
|
|
288
|
+
(typeof NotificationType)[keyof typeof NotificationType];
|
|
289
|
+
export declare const SchemaVersion: {
|
|
290
|
+
readonly SCHEMA_VERSION_1_0: "v1.0";
|
|
291
|
+
};
|
|
292
|
+
export type SchemaVersion = (typeof SchemaVersion)[keyof typeof SchemaVersion];
|
|
293
|
+
export interface Resource {
|
|
294
|
+
id?: string | undefined;
|
|
295
|
+
arn?: string | undefined;
|
|
296
|
+
detailUrl?: string | undefined;
|
|
297
|
+
tags?: string[] | undefined;
|
|
298
|
+
}
|
|
299
|
+
export interface SourceEventMetadata {
|
|
300
|
+
eventTypeVersion: string | undefined;
|
|
301
|
+
sourceEventId: string | undefined;
|
|
302
|
+
eventOriginRegion?: string | undefined;
|
|
303
|
+
relatedAccount: string | undefined;
|
|
304
|
+
source: string | undefined;
|
|
305
|
+
eventOccurrenceTime: Date | undefined;
|
|
306
|
+
eventType: string | undefined;
|
|
307
|
+
relatedResources: Resource[] | undefined;
|
|
308
|
+
}
|
|
309
|
+
export declare const TextPartType: {
|
|
310
|
+
readonly LOCALIZED_TEXT: "LOCALIZED_TEXT";
|
|
311
|
+
readonly PLAIN_TEXT: "PLAIN_TEXT";
|
|
312
|
+
readonly URL: "URL";
|
|
313
|
+
};
|
|
314
|
+
export type TextPartType = (typeof TextPartType)[keyof typeof TextPartType];
|
|
315
|
+
export interface TextPartValue {
|
|
316
|
+
type: TextPartType | undefined;
|
|
317
|
+
displayText?: string | undefined;
|
|
318
|
+
textByLocale?: Partial<Record<LocaleCode, string>> | undefined;
|
|
319
|
+
url?: string | undefined;
|
|
320
|
+
}
|
|
321
|
+
export interface NotificationEventSchema {
|
|
322
|
+
schemaVersion: SchemaVersion | undefined;
|
|
323
|
+
id: string | undefined;
|
|
324
|
+
sourceEventMetadata: SourceEventMetadata | undefined;
|
|
325
|
+
messageComponents: MessageComponents | undefined;
|
|
326
|
+
sourceEventDetailUrl?: string | undefined;
|
|
327
|
+
sourceEventDetailUrlDisplayText?: string | undefined;
|
|
328
|
+
notificationType: NotificationType | undefined;
|
|
329
|
+
eventStatus?: EventStatus | undefined;
|
|
330
|
+
aggregationEventType?: AggregationEventType | undefined;
|
|
331
|
+
aggregateNotificationEventArn?: string | undefined;
|
|
332
|
+
startTime?: Date | undefined;
|
|
333
|
+
endTime?: Date | undefined;
|
|
334
|
+
textParts: Record<string, TextPartValue> | undefined;
|
|
335
|
+
media: MediaElement[] | undefined;
|
|
336
|
+
}
|
|
337
|
+
export interface GetNotificationEventResponse {
|
|
338
|
+
arn: string | undefined;
|
|
339
|
+
notificationConfigurationArn: string | undefined;
|
|
340
|
+
creationTime: Date | undefined;
|
|
341
|
+
content: NotificationEventSchema | undefined;
|
|
342
|
+
}
|
|
343
|
+
export interface ListNotificationConfigurationsRequest {
|
|
344
|
+
eventRuleSource?: string | undefined;
|
|
345
|
+
channelArn?: string | undefined;
|
|
346
|
+
status?: NotificationConfigurationStatus | undefined;
|
|
347
|
+
maxResults?: number | undefined;
|
|
348
|
+
nextToken?: string | undefined;
|
|
349
|
+
}
|
|
350
|
+
export interface NotificationConfigurationStructure {
|
|
351
|
+
arn: string | undefined;
|
|
352
|
+
name: string | undefined;
|
|
353
|
+
description: string | undefined;
|
|
354
|
+
status: NotificationConfigurationStatus | undefined;
|
|
355
|
+
creationTime: Date | undefined;
|
|
356
|
+
aggregationDuration?: AggregationDuration | undefined;
|
|
357
|
+
}
|
|
358
|
+
export interface ListNotificationConfigurationsResponse {
|
|
359
|
+
nextToken?: string | undefined;
|
|
360
|
+
notificationConfigurations: NotificationConfigurationStructure[] | undefined;
|
|
361
|
+
}
|
|
362
|
+
export interface ListNotificationEventsRequest {
|
|
363
|
+
startTime?: Date | undefined;
|
|
364
|
+
endTime?: Date | undefined;
|
|
365
|
+
locale?: LocaleCode | undefined;
|
|
366
|
+
source?: string | undefined;
|
|
367
|
+
includeChildEvents?: boolean | undefined;
|
|
368
|
+
aggregateNotificationEventArn?: string | undefined;
|
|
369
|
+
maxResults?: number | undefined;
|
|
370
|
+
nextToken?: string | undefined;
|
|
371
|
+
}
|
|
372
|
+
export interface MessageComponentsSummary {
|
|
373
|
+
headline: string | undefined;
|
|
374
|
+
}
|
|
375
|
+
export interface SourceEventMetadataSummary {
|
|
376
|
+
eventOriginRegion?: string | undefined;
|
|
377
|
+
source: string | undefined;
|
|
378
|
+
eventType: string | undefined;
|
|
379
|
+
}
|
|
380
|
+
export interface NotificationEventSummary {
|
|
381
|
+
schemaVersion: SchemaVersion | undefined;
|
|
382
|
+
sourceEventMetadata: SourceEventMetadataSummary | undefined;
|
|
383
|
+
messageComponents: MessageComponentsSummary | undefined;
|
|
384
|
+
eventStatus: EventStatus | undefined;
|
|
385
|
+
notificationType: NotificationType | undefined;
|
|
386
|
+
}
|
|
387
|
+
export interface NotificationEventOverview {
|
|
388
|
+
arn: string | undefined;
|
|
389
|
+
notificationConfigurationArn: string | undefined;
|
|
390
|
+
relatedAccount: string | undefined;
|
|
391
|
+
creationTime: Date | undefined;
|
|
392
|
+
notificationEvent: NotificationEventSummary | undefined;
|
|
393
|
+
aggregationEventType?: AggregationEventType | undefined;
|
|
394
|
+
aggregateNotificationEventArn?: string | undefined;
|
|
395
|
+
}
|
|
396
|
+
export interface ListNotificationEventsResponse {
|
|
397
|
+
nextToken?: string | undefined;
|
|
398
|
+
notificationEvents: NotificationEventOverview[] | undefined;
|
|
399
|
+
}
|
|
400
|
+
export interface ListNotificationHubsRequest {
|
|
401
|
+
maxResults?: number | undefined;
|
|
402
|
+
nextToken?: string | undefined;
|
|
403
|
+
}
|
|
404
|
+
export interface NotificationHubOverview {
|
|
405
|
+
notificationHubRegion: string | undefined;
|
|
406
|
+
statusSummary: NotificationHubStatusSummary | undefined;
|
|
407
|
+
creationTime: Date | undefined;
|
|
408
|
+
lastActivationTime?: Date | undefined;
|
|
409
|
+
}
|
|
410
|
+
export interface ListNotificationHubsResponse {
|
|
411
|
+
notificationHubs: NotificationHubOverview[] | undefined;
|
|
412
|
+
nextToken?: string | undefined;
|
|
413
|
+
}
|
|
414
|
+
export interface ListTagsForResourceRequest {
|
|
415
|
+
arn: string | undefined;
|
|
416
|
+
}
|
|
417
|
+
export interface ListTagsForResourceResponse {
|
|
418
|
+
tags?: Record<string, string> | undefined;
|
|
419
|
+
}
|
|
420
|
+
export interface UpdateNotificationConfigurationRequest {
|
|
421
|
+
arn: string | undefined;
|
|
422
|
+
name?: string | undefined;
|
|
423
|
+
description?: string | undefined;
|
|
424
|
+
aggregationDuration?: AggregationDuration | undefined;
|
|
425
|
+
}
|
|
426
|
+
export interface UpdateNotificationConfigurationResponse {
|
|
427
|
+
arn: string | undefined;
|
|
428
|
+
}
|
|
429
|
+
export interface RegisterNotificationHubRequest {
|
|
430
|
+
notificationHubRegion: string | undefined;
|
|
431
|
+
}
|
|
432
|
+
export interface RegisterNotificationHubResponse {
|
|
433
|
+
notificationHubRegion: string | undefined;
|
|
434
|
+
statusSummary: NotificationHubStatusSummary | undefined;
|
|
435
|
+
creationTime: Date | undefined;
|
|
436
|
+
lastActivationTime?: Date | undefined;
|
|
437
|
+
}
|
|
438
|
+
export interface TagResourceRequest {
|
|
439
|
+
arn: string | undefined;
|
|
440
|
+
tags: Record<string, string> | undefined;
|
|
441
|
+
}
|
|
442
|
+
export interface TagResourceResponse {}
|
|
443
|
+
export interface UntagResourceRequest {
|
|
444
|
+
arn: string | undefined;
|
|
445
|
+
tagKeys: string[] | undefined;
|
|
446
|
+
}
|
|
447
|
+
export interface UntagResourceResponse {}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListChannelsCommandInput,
|
|
4
|
+
ListChannelsCommandOutput,
|
|
5
|
+
} from "../commands/ListChannelsCommand";
|
|
6
|
+
import { NotificationsPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListChannels: (
|
|
8
|
+
config: NotificationsPaginationConfiguration,
|
|
9
|
+
input: ListChannelsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListChannelsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListEventRulesCommandInput,
|
|
4
|
+
ListEventRulesCommandOutput,
|
|
5
|
+
} from "../commands/ListEventRulesCommand";
|
|
6
|
+
import { NotificationsPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListEventRules: (
|
|
8
|
+
config: NotificationsPaginationConfiguration,
|
|
9
|
+
input: ListEventRulesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListEventRulesCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListNotificationConfigurationsCommandInput,
|
|
4
|
+
ListNotificationConfigurationsCommandOutput,
|
|
5
|
+
} from "../commands/ListNotificationConfigurationsCommand";
|
|
6
|
+
import { NotificationsPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListNotificationConfigurations: (
|
|
8
|
+
config: NotificationsPaginationConfiguration,
|
|
9
|
+
input: ListNotificationConfigurationsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListNotificationConfigurationsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListNotificationEventsCommandInput,
|
|
4
|
+
ListNotificationEventsCommandOutput,
|
|
5
|
+
} from "../commands/ListNotificationEventsCommand";
|
|
6
|
+
import { NotificationsPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListNotificationEvents: (
|
|
8
|
+
config: NotificationsPaginationConfiguration,
|
|
9
|
+
input: ListNotificationEventsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListNotificationEventsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListNotificationHubsCommandInput,
|
|
4
|
+
ListNotificationHubsCommandOutput,
|
|
5
|
+
} from "../commands/ListNotificationHubsCommand";
|
|
6
|
+
import { NotificationsPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListNotificationHubs: (
|
|
8
|
+
config: NotificationsPaginationConfiguration,
|
|
9
|
+
input: ListNotificationHubsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListNotificationHubsCommandOutput>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./Interfaces";
|
|
2
|
+
export * from "./ListChannelsPaginator";
|
|
3
|
+
export * from "./ListEventRulesPaginator";
|
|
4
|
+
export * from "./ListNotificationConfigurationsPaginator";
|
|
5
|
+
export * from "./ListNotificationEventsPaginator";
|
|
6
|
+
export * from "./ListNotificationHubsPaginator";
|