@aws-sdk/client-notifications 3.730.0 → 3.731.1
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/README.md +115 -3
- package/dist-cjs/Notifications.js +28 -0
- package/dist-cjs/commands/AssociateManagedNotificationAccountContactCommand.js +26 -0
- package/dist-cjs/commands/AssociateManagedNotificationAdditionalChannelCommand.js +26 -0
- package/dist-cjs/commands/DisableNotificationsAccessForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/DisassociateManagedNotificationAccountContactCommand.js +26 -0
- package/dist-cjs/commands/DisassociateManagedNotificationAdditionalChannelCommand.js +26 -0
- package/dist-cjs/commands/EnableNotificationsAccessForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/GetManagedNotificationChildEventCommand.js +26 -0
- package/dist-cjs/commands/GetManagedNotificationConfigurationCommand.js +26 -0
- package/dist-cjs/commands/GetManagedNotificationEventCommand.js +26 -0
- package/dist-cjs/commands/GetNotificationsAccessForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/ListManagedNotificationChannelAssociationsCommand.js +26 -0
- package/dist-cjs/commands/ListManagedNotificationChildEventsCommand.js +26 -0
- package/dist-cjs/commands/ListManagedNotificationConfigurationsCommand.js +26 -0
- package/dist-cjs/commands/ListManagedNotificationEventsCommand.js +26 -0
- package/dist-cjs/commands/index.js +14 -0
- package/dist-cjs/models/models_0.js +25 -4
- package/dist-cjs/pagination/ListManagedNotificationChannelAssociationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListManagedNotificationChildEventsPaginator.js +7 -0
- package/dist-cjs/pagination/ListManagedNotificationConfigurationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListManagedNotificationEventsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +4 -0
- package/dist-cjs/protocols/Aws_restJson1.js +475 -5
- package/dist-es/Notifications.js +28 -0
- package/dist-es/commands/AssociateManagedNotificationAccountContactCommand.js +22 -0
- package/dist-es/commands/AssociateManagedNotificationAdditionalChannelCommand.js +22 -0
- package/dist-es/commands/DisableNotificationsAccessForOrganizationCommand.js +22 -0
- package/dist-es/commands/DisassociateManagedNotificationAccountContactCommand.js +22 -0
- package/dist-es/commands/DisassociateManagedNotificationAdditionalChannelCommand.js +22 -0
- package/dist-es/commands/EnableNotificationsAccessForOrganizationCommand.js +22 -0
- package/dist-es/commands/GetManagedNotificationChildEventCommand.js +22 -0
- package/dist-es/commands/GetManagedNotificationConfigurationCommand.js +22 -0
- package/dist-es/commands/GetManagedNotificationEventCommand.js +22 -0
- package/dist-es/commands/GetNotificationsAccessForOrganizationCommand.js +22 -0
- package/dist-es/commands/ListManagedNotificationChannelAssociationsCommand.js +22 -0
- package/dist-es/commands/ListManagedNotificationChildEventsCommand.js +22 -0
- package/dist-es/commands/ListManagedNotificationConfigurationsCommand.js +22 -0
- package/dist-es/commands/ListManagedNotificationEventsCommand.js +22 -0
- package/dist-es/commands/index.js +14 -0
- package/dist-es/models/models_0.js +24 -3
- package/dist-es/pagination/ListManagedNotificationChannelAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListManagedNotificationChildEventsPaginator.js +4 -0
- package/dist-es/pagination/ListManagedNotificationConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/ListManagedNotificationEventsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +445 -4
- package/dist-types/Notifications.d.ts +106 -3
- package/dist-types/NotificationsClient.d.ts +19 -5
- package/dist-types/commands/AssociateChannelCommand.d.ts +2 -2
- package/dist-types/commands/AssociateManagedNotificationAccountContactCommand.d.ts +91 -0
- package/dist-types/commands/AssociateManagedNotificationAdditionalChannelCommand.d.ts +92 -0
- package/dist-types/commands/CreateEventRuleCommand.d.ts +4 -1
- package/dist-types/commands/CreateNotificationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEventRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterNotificationHubCommand.d.ts +5 -2
- package/dist-types/commands/DisableNotificationsAccessForOrganizationCommand.d.ts +88 -0
- package/dist-types/commands/DisassociateChannelCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateManagedNotificationAccountContactCommand.d.ts +88 -0
- package/dist-types/commands/DisassociateManagedNotificationAdditionalChannelCommand.d.ts +86 -0
- package/dist-types/commands/EnableNotificationsAccessForOrganizationCommand.d.ts +88 -0
- package/dist-types/commands/GetEventRuleCommand.d.ts +1 -1
- package/dist-types/commands/GetManagedNotificationChildEventCommand.d.ts +130 -0
- package/dist-types/commands/GetManagedNotificationConfigurationCommand.d.ts +90 -0
- package/dist-types/commands/GetManagedNotificationEventCommand.d.ts +161 -0
- package/dist-types/commands/GetNotificationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetNotificationEventCommand.d.ts +42 -3
- package/dist-types/commands/GetNotificationsAccessForOrganizationCommand.d.ts +83 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +1 -1
- package/dist-types/commands/ListEventRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListManagedNotificationChannelAssociationsCommand.d.ts +95 -0
- package/dist-types/commands/ListManagedNotificationChildEventsCommand.d.ts +121 -0
- package/dist-types/commands/ListManagedNotificationConfigurationsCommand.d.ts +92 -0
- package/dist-types/commands/ListManagedNotificationEventsCommand.d.ts +155 -0
- package/dist-types/commands/ListNotificationConfigurationsCommand.d.ts +2 -1
- package/dist-types/commands/ListNotificationEventsCommand.d.ts +41 -2
- package/dist-types/commands/ListNotificationHubsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/RegisterNotificationHubCommand.d.ts +3 -2
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEventRuleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateNotificationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +14 -0
- package/dist-types/index.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +1830 -578
- package/dist-types/pagination/ListManagedNotificationChannelAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListManagedNotificationChildEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListManagedNotificationConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListManagedNotificationEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
- package/dist-types/ts3.4/Notifications.d.ts +309 -0
- package/dist-types/ts3.4/NotificationsClient.d.ts +84 -0
- package/dist-types/ts3.4/commands/AssociateManagedNotificationAccountContactCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/AssociateManagedNotificationAdditionalChannelCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisableNotificationsAccessForOrganizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateManagedNotificationAccountContactCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateManagedNotificationAdditionalChannelCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/EnableNotificationsAccessForOrganizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetManagedNotificationChildEventCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetManagedNotificationConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetManagedNotificationEventCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetNotificationsAccessForOrganizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListManagedNotificationChannelAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListManagedNotificationChildEventsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListManagedNotificationConfigurationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListManagedNotificationEventsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/models/models_0.d.ts +288 -38
- package/dist-types/ts3.4/pagination/ListManagedNotificationChannelAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListManagedNotificationChildEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListManagedNotificationConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListManagedNotificationEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
- package/package.json +12 -12
|
@@ -1,16 +1,30 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { AssociateChannelCommandInput, AssociateChannelCommandOutput } from "./commands/AssociateChannelCommand";
|
|
3
|
+
import { AssociateManagedNotificationAccountContactCommandInput, AssociateManagedNotificationAccountContactCommandOutput } from "./commands/AssociateManagedNotificationAccountContactCommand";
|
|
4
|
+
import { AssociateManagedNotificationAdditionalChannelCommandInput, AssociateManagedNotificationAdditionalChannelCommandOutput } from "./commands/AssociateManagedNotificationAdditionalChannelCommand";
|
|
3
5
|
import { CreateEventRuleCommandInput, CreateEventRuleCommandOutput } from "./commands/CreateEventRuleCommand";
|
|
4
6
|
import { CreateNotificationConfigurationCommandInput, CreateNotificationConfigurationCommandOutput } from "./commands/CreateNotificationConfigurationCommand";
|
|
5
7
|
import { DeleteEventRuleCommandInput, DeleteEventRuleCommandOutput } from "./commands/DeleteEventRuleCommand";
|
|
6
8
|
import { DeleteNotificationConfigurationCommandInput, DeleteNotificationConfigurationCommandOutput } from "./commands/DeleteNotificationConfigurationCommand";
|
|
7
9
|
import { DeregisterNotificationHubCommandInput, DeregisterNotificationHubCommandOutput } from "./commands/DeregisterNotificationHubCommand";
|
|
10
|
+
import { DisableNotificationsAccessForOrganizationCommandInput, DisableNotificationsAccessForOrganizationCommandOutput } from "./commands/DisableNotificationsAccessForOrganizationCommand";
|
|
8
11
|
import { DisassociateChannelCommandInput, DisassociateChannelCommandOutput } from "./commands/DisassociateChannelCommand";
|
|
12
|
+
import { DisassociateManagedNotificationAccountContactCommandInput, DisassociateManagedNotificationAccountContactCommandOutput } from "./commands/DisassociateManagedNotificationAccountContactCommand";
|
|
13
|
+
import { DisassociateManagedNotificationAdditionalChannelCommandInput, DisassociateManagedNotificationAdditionalChannelCommandOutput } from "./commands/DisassociateManagedNotificationAdditionalChannelCommand";
|
|
14
|
+
import { EnableNotificationsAccessForOrganizationCommandInput, EnableNotificationsAccessForOrganizationCommandOutput } from "./commands/EnableNotificationsAccessForOrganizationCommand";
|
|
9
15
|
import { GetEventRuleCommandInput, GetEventRuleCommandOutput } from "./commands/GetEventRuleCommand";
|
|
16
|
+
import { GetManagedNotificationChildEventCommandInput, GetManagedNotificationChildEventCommandOutput } from "./commands/GetManagedNotificationChildEventCommand";
|
|
17
|
+
import { GetManagedNotificationConfigurationCommandInput, GetManagedNotificationConfigurationCommandOutput } from "./commands/GetManagedNotificationConfigurationCommand";
|
|
18
|
+
import { GetManagedNotificationEventCommandInput, GetManagedNotificationEventCommandOutput } from "./commands/GetManagedNotificationEventCommand";
|
|
10
19
|
import { GetNotificationConfigurationCommandInput, GetNotificationConfigurationCommandOutput } from "./commands/GetNotificationConfigurationCommand";
|
|
11
20
|
import { GetNotificationEventCommandInput, GetNotificationEventCommandOutput } from "./commands/GetNotificationEventCommand";
|
|
21
|
+
import { GetNotificationsAccessForOrganizationCommandInput, GetNotificationsAccessForOrganizationCommandOutput } from "./commands/GetNotificationsAccessForOrganizationCommand";
|
|
12
22
|
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
13
23
|
import { ListEventRulesCommandInput, ListEventRulesCommandOutput } from "./commands/ListEventRulesCommand";
|
|
24
|
+
import { ListManagedNotificationChannelAssociationsCommandInput, ListManagedNotificationChannelAssociationsCommandOutput } from "./commands/ListManagedNotificationChannelAssociationsCommand";
|
|
25
|
+
import { ListManagedNotificationChildEventsCommandInput, ListManagedNotificationChildEventsCommandOutput } from "./commands/ListManagedNotificationChildEventsCommand";
|
|
26
|
+
import { ListManagedNotificationConfigurationsCommandInput, ListManagedNotificationConfigurationsCommandOutput } from "./commands/ListManagedNotificationConfigurationsCommand";
|
|
27
|
+
import { ListManagedNotificationEventsCommandInput, ListManagedNotificationEventsCommandOutput } from "./commands/ListManagedNotificationEventsCommand";
|
|
14
28
|
import { ListNotificationConfigurationsCommandInput, ListNotificationConfigurationsCommandOutput } from "./commands/ListNotificationConfigurationsCommand";
|
|
15
29
|
import { ListNotificationEventsCommandInput, ListNotificationEventsCommandOutput } from "./commands/ListNotificationEventsCommand";
|
|
16
30
|
import { ListNotificationHubsCommandInput, ListNotificationHubsCommandOutput } from "./commands/ListNotificationHubsCommand";
|
|
@@ -28,6 +42,18 @@ export interface Notifications {
|
|
|
28
42
|
associateChannel(args: AssociateChannelCommandInput, options?: __HttpHandlerOptions): Promise<AssociateChannelCommandOutput>;
|
|
29
43
|
associateChannel(args: AssociateChannelCommandInput, cb: (err: any, data?: AssociateChannelCommandOutput) => void): void;
|
|
30
44
|
associateChannel(args: AssociateChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateChannelCommandOutput) => void): void;
|
|
45
|
+
/**
|
|
46
|
+
* @see {@link AssociateManagedNotificationAccountContactCommand}
|
|
47
|
+
*/
|
|
48
|
+
associateManagedNotificationAccountContact(args: AssociateManagedNotificationAccountContactCommandInput, options?: __HttpHandlerOptions): Promise<AssociateManagedNotificationAccountContactCommandOutput>;
|
|
49
|
+
associateManagedNotificationAccountContact(args: AssociateManagedNotificationAccountContactCommandInput, cb: (err: any, data?: AssociateManagedNotificationAccountContactCommandOutput) => void): void;
|
|
50
|
+
associateManagedNotificationAccountContact(args: AssociateManagedNotificationAccountContactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateManagedNotificationAccountContactCommandOutput) => void): void;
|
|
51
|
+
/**
|
|
52
|
+
* @see {@link AssociateManagedNotificationAdditionalChannelCommand}
|
|
53
|
+
*/
|
|
54
|
+
associateManagedNotificationAdditionalChannel(args: AssociateManagedNotificationAdditionalChannelCommandInput, options?: __HttpHandlerOptions): Promise<AssociateManagedNotificationAdditionalChannelCommandOutput>;
|
|
55
|
+
associateManagedNotificationAdditionalChannel(args: AssociateManagedNotificationAdditionalChannelCommandInput, cb: (err: any, data?: AssociateManagedNotificationAdditionalChannelCommandOutput) => void): void;
|
|
56
|
+
associateManagedNotificationAdditionalChannel(args: AssociateManagedNotificationAdditionalChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateManagedNotificationAdditionalChannelCommandOutput) => void): void;
|
|
31
57
|
/**
|
|
32
58
|
* @see {@link CreateEventRuleCommand}
|
|
33
59
|
*/
|
|
@@ -58,18 +84,62 @@ export interface Notifications {
|
|
|
58
84
|
deregisterNotificationHub(args: DeregisterNotificationHubCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterNotificationHubCommandOutput>;
|
|
59
85
|
deregisterNotificationHub(args: DeregisterNotificationHubCommandInput, cb: (err: any, data?: DeregisterNotificationHubCommandOutput) => void): void;
|
|
60
86
|
deregisterNotificationHub(args: DeregisterNotificationHubCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterNotificationHubCommandOutput) => void): void;
|
|
87
|
+
/**
|
|
88
|
+
* @see {@link DisableNotificationsAccessForOrganizationCommand}
|
|
89
|
+
*/
|
|
90
|
+
disableNotificationsAccessForOrganization(): Promise<DisableNotificationsAccessForOrganizationCommandOutput>;
|
|
91
|
+
disableNotificationsAccessForOrganization(args: DisableNotificationsAccessForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<DisableNotificationsAccessForOrganizationCommandOutput>;
|
|
92
|
+
disableNotificationsAccessForOrganization(args: DisableNotificationsAccessForOrganizationCommandInput, cb: (err: any, data?: DisableNotificationsAccessForOrganizationCommandOutput) => void): void;
|
|
93
|
+
disableNotificationsAccessForOrganization(args: DisableNotificationsAccessForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableNotificationsAccessForOrganizationCommandOutput) => void): void;
|
|
61
94
|
/**
|
|
62
95
|
* @see {@link DisassociateChannelCommand}
|
|
63
96
|
*/
|
|
64
97
|
disassociateChannel(args: DisassociateChannelCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateChannelCommandOutput>;
|
|
65
98
|
disassociateChannel(args: DisassociateChannelCommandInput, cb: (err: any, data?: DisassociateChannelCommandOutput) => void): void;
|
|
66
99
|
disassociateChannel(args: DisassociateChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateChannelCommandOutput) => void): void;
|
|
100
|
+
/**
|
|
101
|
+
* @see {@link DisassociateManagedNotificationAccountContactCommand}
|
|
102
|
+
*/
|
|
103
|
+
disassociateManagedNotificationAccountContact(args: DisassociateManagedNotificationAccountContactCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateManagedNotificationAccountContactCommandOutput>;
|
|
104
|
+
disassociateManagedNotificationAccountContact(args: DisassociateManagedNotificationAccountContactCommandInput, cb: (err: any, data?: DisassociateManagedNotificationAccountContactCommandOutput) => void): void;
|
|
105
|
+
disassociateManagedNotificationAccountContact(args: DisassociateManagedNotificationAccountContactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateManagedNotificationAccountContactCommandOutput) => void): void;
|
|
106
|
+
/**
|
|
107
|
+
* @see {@link DisassociateManagedNotificationAdditionalChannelCommand}
|
|
108
|
+
*/
|
|
109
|
+
disassociateManagedNotificationAdditionalChannel(args: DisassociateManagedNotificationAdditionalChannelCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateManagedNotificationAdditionalChannelCommandOutput>;
|
|
110
|
+
disassociateManagedNotificationAdditionalChannel(args: DisassociateManagedNotificationAdditionalChannelCommandInput, cb: (err: any, data?: DisassociateManagedNotificationAdditionalChannelCommandOutput) => void): void;
|
|
111
|
+
disassociateManagedNotificationAdditionalChannel(args: DisassociateManagedNotificationAdditionalChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateManagedNotificationAdditionalChannelCommandOutput) => void): void;
|
|
112
|
+
/**
|
|
113
|
+
* @see {@link EnableNotificationsAccessForOrganizationCommand}
|
|
114
|
+
*/
|
|
115
|
+
enableNotificationsAccessForOrganization(): Promise<EnableNotificationsAccessForOrganizationCommandOutput>;
|
|
116
|
+
enableNotificationsAccessForOrganization(args: EnableNotificationsAccessForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<EnableNotificationsAccessForOrganizationCommandOutput>;
|
|
117
|
+
enableNotificationsAccessForOrganization(args: EnableNotificationsAccessForOrganizationCommandInput, cb: (err: any, data?: EnableNotificationsAccessForOrganizationCommandOutput) => void): void;
|
|
118
|
+
enableNotificationsAccessForOrganization(args: EnableNotificationsAccessForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableNotificationsAccessForOrganizationCommandOutput) => void): void;
|
|
67
119
|
/**
|
|
68
120
|
* @see {@link GetEventRuleCommand}
|
|
69
121
|
*/
|
|
70
122
|
getEventRule(args: GetEventRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetEventRuleCommandOutput>;
|
|
71
123
|
getEventRule(args: GetEventRuleCommandInput, cb: (err: any, data?: GetEventRuleCommandOutput) => void): void;
|
|
72
124
|
getEventRule(args: GetEventRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventRuleCommandOutput) => void): void;
|
|
125
|
+
/**
|
|
126
|
+
* @see {@link GetManagedNotificationChildEventCommand}
|
|
127
|
+
*/
|
|
128
|
+
getManagedNotificationChildEvent(args: GetManagedNotificationChildEventCommandInput, options?: __HttpHandlerOptions): Promise<GetManagedNotificationChildEventCommandOutput>;
|
|
129
|
+
getManagedNotificationChildEvent(args: GetManagedNotificationChildEventCommandInput, cb: (err: any, data?: GetManagedNotificationChildEventCommandOutput) => void): void;
|
|
130
|
+
getManagedNotificationChildEvent(args: GetManagedNotificationChildEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetManagedNotificationChildEventCommandOutput) => void): void;
|
|
131
|
+
/**
|
|
132
|
+
* @see {@link GetManagedNotificationConfigurationCommand}
|
|
133
|
+
*/
|
|
134
|
+
getManagedNotificationConfiguration(args: GetManagedNotificationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetManagedNotificationConfigurationCommandOutput>;
|
|
135
|
+
getManagedNotificationConfiguration(args: GetManagedNotificationConfigurationCommandInput, cb: (err: any, data?: GetManagedNotificationConfigurationCommandOutput) => void): void;
|
|
136
|
+
getManagedNotificationConfiguration(args: GetManagedNotificationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetManagedNotificationConfigurationCommandOutput) => void): void;
|
|
137
|
+
/**
|
|
138
|
+
* @see {@link GetManagedNotificationEventCommand}
|
|
139
|
+
*/
|
|
140
|
+
getManagedNotificationEvent(args: GetManagedNotificationEventCommandInput, options?: __HttpHandlerOptions): Promise<GetManagedNotificationEventCommandOutput>;
|
|
141
|
+
getManagedNotificationEvent(args: GetManagedNotificationEventCommandInput, cb: (err: any, data?: GetManagedNotificationEventCommandOutput) => void): void;
|
|
142
|
+
getManagedNotificationEvent(args: GetManagedNotificationEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetManagedNotificationEventCommandOutput) => void): void;
|
|
73
143
|
/**
|
|
74
144
|
* @see {@link GetNotificationConfigurationCommand}
|
|
75
145
|
*/
|
|
@@ -82,6 +152,13 @@ export interface Notifications {
|
|
|
82
152
|
getNotificationEvent(args: GetNotificationEventCommandInput, options?: __HttpHandlerOptions): Promise<GetNotificationEventCommandOutput>;
|
|
83
153
|
getNotificationEvent(args: GetNotificationEventCommandInput, cb: (err: any, data?: GetNotificationEventCommandOutput) => void): void;
|
|
84
154
|
getNotificationEvent(args: GetNotificationEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetNotificationEventCommandOutput) => void): void;
|
|
155
|
+
/**
|
|
156
|
+
* @see {@link GetNotificationsAccessForOrganizationCommand}
|
|
157
|
+
*/
|
|
158
|
+
getNotificationsAccessForOrganization(): Promise<GetNotificationsAccessForOrganizationCommandOutput>;
|
|
159
|
+
getNotificationsAccessForOrganization(args: GetNotificationsAccessForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<GetNotificationsAccessForOrganizationCommandOutput>;
|
|
160
|
+
getNotificationsAccessForOrganization(args: GetNotificationsAccessForOrganizationCommandInput, cb: (err: any, data?: GetNotificationsAccessForOrganizationCommandOutput) => void): void;
|
|
161
|
+
getNotificationsAccessForOrganization(args: GetNotificationsAccessForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetNotificationsAccessForOrganizationCommandOutput) => void): void;
|
|
85
162
|
/**
|
|
86
163
|
* @see {@link ListChannelsCommand}
|
|
87
164
|
*/
|
|
@@ -94,6 +171,32 @@ export interface Notifications {
|
|
|
94
171
|
listEventRules(args: ListEventRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListEventRulesCommandOutput>;
|
|
95
172
|
listEventRules(args: ListEventRulesCommandInput, cb: (err: any, data?: ListEventRulesCommandOutput) => void): void;
|
|
96
173
|
listEventRules(args: ListEventRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventRulesCommandOutput) => void): void;
|
|
174
|
+
/**
|
|
175
|
+
* @see {@link ListManagedNotificationChannelAssociationsCommand}
|
|
176
|
+
*/
|
|
177
|
+
listManagedNotificationChannelAssociations(args: ListManagedNotificationChannelAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListManagedNotificationChannelAssociationsCommandOutput>;
|
|
178
|
+
listManagedNotificationChannelAssociations(args: ListManagedNotificationChannelAssociationsCommandInput, cb: (err: any, data?: ListManagedNotificationChannelAssociationsCommandOutput) => void): void;
|
|
179
|
+
listManagedNotificationChannelAssociations(args: ListManagedNotificationChannelAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListManagedNotificationChannelAssociationsCommandOutput) => void): void;
|
|
180
|
+
/**
|
|
181
|
+
* @see {@link ListManagedNotificationChildEventsCommand}
|
|
182
|
+
*/
|
|
183
|
+
listManagedNotificationChildEvents(args: ListManagedNotificationChildEventsCommandInput, options?: __HttpHandlerOptions): Promise<ListManagedNotificationChildEventsCommandOutput>;
|
|
184
|
+
listManagedNotificationChildEvents(args: ListManagedNotificationChildEventsCommandInput, cb: (err: any, data?: ListManagedNotificationChildEventsCommandOutput) => void): void;
|
|
185
|
+
listManagedNotificationChildEvents(args: ListManagedNotificationChildEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListManagedNotificationChildEventsCommandOutput) => void): void;
|
|
186
|
+
/**
|
|
187
|
+
* @see {@link ListManagedNotificationConfigurationsCommand}
|
|
188
|
+
*/
|
|
189
|
+
listManagedNotificationConfigurations(): Promise<ListManagedNotificationConfigurationsCommandOutput>;
|
|
190
|
+
listManagedNotificationConfigurations(args: ListManagedNotificationConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListManagedNotificationConfigurationsCommandOutput>;
|
|
191
|
+
listManagedNotificationConfigurations(args: ListManagedNotificationConfigurationsCommandInput, cb: (err: any, data?: ListManagedNotificationConfigurationsCommandOutput) => void): void;
|
|
192
|
+
listManagedNotificationConfigurations(args: ListManagedNotificationConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListManagedNotificationConfigurationsCommandOutput) => void): void;
|
|
193
|
+
/**
|
|
194
|
+
* @see {@link ListManagedNotificationEventsCommand}
|
|
195
|
+
*/
|
|
196
|
+
listManagedNotificationEvents(): Promise<ListManagedNotificationEventsCommandOutput>;
|
|
197
|
+
listManagedNotificationEvents(args: ListManagedNotificationEventsCommandInput, options?: __HttpHandlerOptions): Promise<ListManagedNotificationEventsCommandOutput>;
|
|
198
|
+
listManagedNotificationEvents(args: ListManagedNotificationEventsCommandInput, cb: (err: any, data?: ListManagedNotificationEventsCommandOutput) => void): void;
|
|
199
|
+
listManagedNotificationEvents(args: ListManagedNotificationEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListManagedNotificationEventsCommandOutput) => void): void;
|
|
97
200
|
/**
|
|
98
201
|
* @see {@link ListNotificationConfigurationsCommand}
|
|
99
202
|
*/
|
|
@@ -153,14 +256,14 @@ export interface Notifications {
|
|
|
153
256
|
updateNotificationConfiguration(args: UpdateNotificationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateNotificationConfigurationCommandOutput) => void): void;
|
|
154
257
|
}
|
|
155
258
|
/**
|
|
156
|
-
* <p>The <i>
|
|
157
|
-
* <p>User Notification control APIs are currently available in US East (Virginia) - <code>us-east-1</code>.</p>
|
|
259
|
+
* <p>The <i>Amazon Web Services User Notifications API Reference</i> provides descriptions, API request parameters, and the JSON response for each of the User Notification API actions.</p>
|
|
260
|
+
* <p>User Notification control plane APIs are currently available in US East (Virginia) - <code>us-east-1</code>.</p>
|
|
158
261
|
* <p>
|
|
159
262
|
* <a href="https://docs.aws.amazon.com/notifications/latest/APIReference/API_GetNotificationEvent.html">GetNotificationEvent</a>
|
|
160
263
|
* and <a href="https://docs.aws.amazon.com/notifications/latest/APIReference/API_ListNotificationEvents.html">ListNotificationEvents</a> APIs are currently available in
|
|
161
264
|
* <a href="https://docs.aws.amazon.com/notifications/latest/userguide/supported-regions.html">commercial partition Regions</a> and only return notifications stored in the same Region in which they're called.</p>
|
|
162
265
|
* <p>The User Notifications console can only be used in US East (Virginia). Your data however, is stored in each Region chosen as a
|
|
163
|
-
* <a href="https://docs.aws.amazon.com/notifications/latest/userguide/notification-hubs.html
|
|
266
|
+
* <a href="https://docs.aws.amazon.com/notifications/latest/userguide/notification-hubs.html">notification hub</a> in addition to US East (Virginia).</p>
|
|
164
267
|
* @public
|
|
165
268
|
*/
|
|
166
269
|
export declare class Notifications extends NotificationsClient implements Notifications {
|
|
@@ -8,17 +8,31 @@ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration
|
|
|
8
8
|
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { AssociateChannelCommandInput, AssociateChannelCommandOutput } from "./commands/AssociateChannelCommand";
|
|
11
|
+
import { AssociateManagedNotificationAccountContactCommandInput, AssociateManagedNotificationAccountContactCommandOutput } from "./commands/AssociateManagedNotificationAccountContactCommand";
|
|
12
|
+
import { AssociateManagedNotificationAdditionalChannelCommandInput, AssociateManagedNotificationAdditionalChannelCommandOutput } from "./commands/AssociateManagedNotificationAdditionalChannelCommand";
|
|
11
13
|
import { CreateEventRuleCommandInput, CreateEventRuleCommandOutput } from "./commands/CreateEventRuleCommand";
|
|
12
14
|
import { CreateNotificationConfigurationCommandInput, CreateNotificationConfigurationCommandOutput } from "./commands/CreateNotificationConfigurationCommand";
|
|
13
15
|
import { DeleteEventRuleCommandInput, DeleteEventRuleCommandOutput } from "./commands/DeleteEventRuleCommand";
|
|
14
16
|
import { DeleteNotificationConfigurationCommandInput, DeleteNotificationConfigurationCommandOutput } from "./commands/DeleteNotificationConfigurationCommand";
|
|
15
17
|
import { DeregisterNotificationHubCommandInput, DeregisterNotificationHubCommandOutput } from "./commands/DeregisterNotificationHubCommand";
|
|
18
|
+
import { DisableNotificationsAccessForOrganizationCommandInput, DisableNotificationsAccessForOrganizationCommandOutput } from "./commands/DisableNotificationsAccessForOrganizationCommand";
|
|
16
19
|
import { DisassociateChannelCommandInput, DisassociateChannelCommandOutput } from "./commands/DisassociateChannelCommand";
|
|
20
|
+
import { DisassociateManagedNotificationAccountContactCommandInput, DisassociateManagedNotificationAccountContactCommandOutput } from "./commands/DisassociateManagedNotificationAccountContactCommand";
|
|
21
|
+
import { DisassociateManagedNotificationAdditionalChannelCommandInput, DisassociateManagedNotificationAdditionalChannelCommandOutput } from "./commands/DisassociateManagedNotificationAdditionalChannelCommand";
|
|
22
|
+
import { EnableNotificationsAccessForOrganizationCommandInput, EnableNotificationsAccessForOrganizationCommandOutput } from "./commands/EnableNotificationsAccessForOrganizationCommand";
|
|
17
23
|
import { GetEventRuleCommandInput, GetEventRuleCommandOutput } from "./commands/GetEventRuleCommand";
|
|
24
|
+
import { GetManagedNotificationChildEventCommandInput, GetManagedNotificationChildEventCommandOutput } from "./commands/GetManagedNotificationChildEventCommand";
|
|
25
|
+
import { GetManagedNotificationConfigurationCommandInput, GetManagedNotificationConfigurationCommandOutput } from "./commands/GetManagedNotificationConfigurationCommand";
|
|
26
|
+
import { GetManagedNotificationEventCommandInput, GetManagedNotificationEventCommandOutput } from "./commands/GetManagedNotificationEventCommand";
|
|
18
27
|
import { GetNotificationConfigurationCommandInput, GetNotificationConfigurationCommandOutput } from "./commands/GetNotificationConfigurationCommand";
|
|
19
28
|
import { GetNotificationEventCommandInput, GetNotificationEventCommandOutput } from "./commands/GetNotificationEventCommand";
|
|
29
|
+
import { GetNotificationsAccessForOrganizationCommandInput, GetNotificationsAccessForOrganizationCommandOutput } from "./commands/GetNotificationsAccessForOrganizationCommand";
|
|
20
30
|
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
21
31
|
import { ListEventRulesCommandInput, ListEventRulesCommandOutput } from "./commands/ListEventRulesCommand";
|
|
32
|
+
import { ListManagedNotificationChannelAssociationsCommandInput, ListManagedNotificationChannelAssociationsCommandOutput } from "./commands/ListManagedNotificationChannelAssociationsCommand";
|
|
33
|
+
import { ListManagedNotificationChildEventsCommandInput, ListManagedNotificationChildEventsCommandOutput } from "./commands/ListManagedNotificationChildEventsCommand";
|
|
34
|
+
import { ListManagedNotificationConfigurationsCommandInput, ListManagedNotificationConfigurationsCommandOutput } from "./commands/ListManagedNotificationConfigurationsCommand";
|
|
35
|
+
import { ListManagedNotificationEventsCommandInput, ListManagedNotificationEventsCommandOutput } from "./commands/ListManagedNotificationEventsCommand";
|
|
22
36
|
import { ListNotificationConfigurationsCommandInput, ListNotificationConfigurationsCommandOutput } from "./commands/ListNotificationConfigurationsCommand";
|
|
23
37
|
import { ListNotificationEventsCommandInput, ListNotificationEventsCommandOutput } from "./commands/ListNotificationEventsCommand";
|
|
24
38
|
import { ListNotificationHubsCommandInput, ListNotificationHubsCommandOutput } from "./commands/ListNotificationHubsCommand";
|
|
@@ -34,11 +48,11 @@ export { __Client };
|
|
|
34
48
|
/**
|
|
35
49
|
* @public
|
|
36
50
|
*/
|
|
37
|
-
export type ServiceInputTypes = AssociateChannelCommandInput | CreateEventRuleCommandInput | CreateNotificationConfigurationCommandInput | DeleteEventRuleCommandInput | DeleteNotificationConfigurationCommandInput | DeregisterNotificationHubCommandInput | DisassociateChannelCommandInput | GetEventRuleCommandInput | GetNotificationConfigurationCommandInput | GetNotificationEventCommandInput | ListChannelsCommandInput | ListEventRulesCommandInput | ListNotificationConfigurationsCommandInput | ListNotificationEventsCommandInput | ListNotificationHubsCommandInput | ListTagsForResourceCommandInput | RegisterNotificationHubCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateEventRuleCommandInput | UpdateNotificationConfigurationCommandInput;
|
|
51
|
+
export type ServiceInputTypes = AssociateChannelCommandInput | AssociateManagedNotificationAccountContactCommandInput | AssociateManagedNotificationAdditionalChannelCommandInput | CreateEventRuleCommandInput | CreateNotificationConfigurationCommandInput | DeleteEventRuleCommandInput | DeleteNotificationConfigurationCommandInput | DeregisterNotificationHubCommandInput | DisableNotificationsAccessForOrganizationCommandInput | DisassociateChannelCommandInput | DisassociateManagedNotificationAccountContactCommandInput | DisassociateManagedNotificationAdditionalChannelCommandInput | EnableNotificationsAccessForOrganizationCommandInput | GetEventRuleCommandInput | GetManagedNotificationChildEventCommandInput | GetManagedNotificationConfigurationCommandInput | GetManagedNotificationEventCommandInput | GetNotificationConfigurationCommandInput | GetNotificationEventCommandInput | GetNotificationsAccessForOrganizationCommandInput | ListChannelsCommandInput | ListEventRulesCommandInput | ListManagedNotificationChannelAssociationsCommandInput | ListManagedNotificationChildEventsCommandInput | ListManagedNotificationConfigurationsCommandInput | ListManagedNotificationEventsCommandInput | ListNotificationConfigurationsCommandInput | ListNotificationEventsCommandInput | ListNotificationHubsCommandInput | ListTagsForResourceCommandInput | RegisterNotificationHubCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateEventRuleCommandInput | UpdateNotificationConfigurationCommandInput;
|
|
38
52
|
/**
|
|
39
53
|
* @public
|
|
40
54
|
*/
|
|
41
|
-
export type ServiceOutputTypes = AssociateChannelCommandOutput | CreateEventRuleCommandOutput | CreateNotificationConfigurationCommandOutput | DeleteEventRuleCommandOutput | DeleteNotificationConfigurationCommandOutput | DeregisterNotificationHubCommandOutput | DisassociateChannelCommandOutput | GetEventRuleCommandOutput | GetNotificationConfigurationCommandOutput | GetNotificationEventCommandOutput | ListChannelsCommandOutput | ListEventRulesCommandOutput | ListNotificationConfigurationsCommandOutput | ListNotificationEventsCommandOutput | ListNotificationHubsCommandOutput | ListTagsForResourceCommandOutput | RegisterNotificationHubCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateEventRuleCommandOutput | UpdateNotificationConfigurationCommandOutput;
|
|
55
|
+
export type ServiceOutputTypes = AssociateChannelCommandOutput | AssociateManagedNotificationAccountContactCommandOutput | AssociateManagedNotificationAdditionalChannelCommandOutput | CreateEventRuleCommandOutput | CreateNotificationConfigurationCommandOutput | DeleteEventRuleCommandOutput | DeleteNotificationConfigurationCommandOutput | DeregisterNotificationHubCommandOutput | DisableNotificationsAccessForOrganizationCommandOutput | DisassociateChannelCommandOutput | DisassociateManagedNotificationAccountContactCommandOutput | DisassociateManagedNotificationAdditionalChannelCommandOutput | EnableNotificationsAccessForOrganizationCommandOutput | GetEventRuleCommandOutput | GetManagedNotificationChildEventCommandOutput | GetManagedNotificationConfigurationCommandOutput | GetManagedNotificationEventCommandOutput | GetNotificationConfigurationCommandOutput | GetNotificationEventCommandOutput | GetNotificationsAccessForOrganizationCommandOutput | ListChannelsCommandOutput | ListEventRulesCommandOutput | ListManagedNotificationChannelAssociationsCommandOutput | ListManagedNotificationChildEventsCommandOutput | ListManagedNotificationConfigurationsCommandOutput | ListManagedNotificationEventsCommandOutput | ListNotificationConfigurationsCommandOutput | ListNotificationEventsCommandOutput | ListNotificationHubsCommandOutput | ListTagsForResourceCommandOutput | RegisterNotificationHubCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateEventRuleCommandOutput | UpdateNotificationConfigurationCommandOutput;
|
|
42
56
|
/**
|
|
43
57
|
* @public
|
|
44
58
|
*/
|
|
@@ -190,14 +204,14 @@ export type NotificationsClientResolvedConfigType = __SmithyResolvedConfiguratio
|
|
|
190
204
|
export interface NotificationsClientResolvedConfig extends NotificationsClientResolvedConfigType {
|
|
191
205
|
}
|
|
192
206
|
/**
|
|
193
|
-
* <p>The <i>
|
|
194
|
-
* <p>User Notification control APIs are currently available in US East (Virginia) - <code>us-east-1</code>.</p>
|
|
207
|
+
* <p>The <i>Amazon Web Services User Notifications API Reference</i> provides descriptions, API request parameters, and the JSON response for each of the User Notification API actions.</p>
|
|
208
|
+
* <p>User Notification control plane APIs are currently available in US East (Virginia) - <code>us-east-1</code>.</p>
|
|
195
209
|
* <p>
|
|
196
210
|
* <a href="https://docs.aws.amazon.com/notifications/latest/APIReference/API_GetNotificationEvent.html">GetNotificationEvent</a>
|
|
197
211
|
* and <a href="https://docs.aws.amazon.com/notifications/latest/APIReference/API_ListNotificationEvents.html">ListNotificationEvents</a> APIs are currently available in
|
|
198
212
|
* <a href="https://docs.aws.amazon.com/notifications/latest/userguide/supported-regions.html">commercial partition Regions</a> and only return notifications stored in the same Region in which they're called.</p>
|
|
199
213
|
* <p>The User Notifications console can only be used in US East (Virginia). Your data however, is stored in each Region chosen as a
|
|
200
|
-
* <a href="https://docs.aws.amazon.com/notifications/latest/userguide/notification-hubs.html
|
|
214
|
+
* <a href="https://docs.aws.amazon.com/notifications/latest/userguide/notification-hubs.html">notification hub</a> in addition to US East (Virginia).</p>
|
|
201
215
|
* @public
|
|
202
216
|
*/
|
|
203
217
|
export declare class NotificationsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, NotificationsClientResolvedConfig> {
|
|
@@ -27,8 +27,8 @@ declare const AssociateChannelCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Associates a delivery <a href="https://docs.aws.amazon.com/notifications/latest/userguide/managing-delivery-channels.html">Channel</a> with a particular NotificationConfiguration
|
|
31
|
-
* the
|
|
30
|
+
* <p>Associates a delivery <a href="https://docs.aws.amazon.com/notifications/latest/userguide/managing-delivery-channels.html">Channel</a> with a particular <code>NotificationConfiguration</code>. Supported Channels include Chatbot,
|
|
31
|
+
* the Console Mobile Application, and emails (notifications-contacts).</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { AssociateManagedNotificationAccountContactRequest, AssociateManagedNotificationAccountContactResponse } from "../models/models_0";
|
|
4
|
+
import { NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link AssociateManagedNotificationAccountContactCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AssociateManagedNotificationAccountContactCommandInput extends AssociateManagedNotificationAccountContactRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AssociateManagedNotificationAccountContactCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AssociateManagedNotificationAccountContactCommandOutput extends AssociateManagedNotificationAccountContactResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AssociateManagedNotificationAccountContactCommand_base: {
|
|
25
|
+
new (input: AssociateManagedNotificationAccountContactCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateManagedNotificationAccountContactCommandInput, AssociateManagedNotificationAccountContactCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: AssociateManagedNotificationAccountContactCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateManagedNotificationAccountContactCommandInput, AssociateManagedNotificationAccountContactCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Associates an Account Contact with a particular <code>ManagedNotificationConfiguration</code>.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { NotificationsClient, AssociateManagedNotificationAccountContactCommand } from "@aws-sdk/client-notifications"; // ES Modules import
|
|
35
|
+
* // const { NotificationsClient, AssociateManagedNotificationAccountContactCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
|
|
36
|
+
* const client = new NotificationsClient(config);
|
|
37
|
+
* const input = { // AssociateManagedNotificationAccountContactRequest
|
|
38
|
+
* contactIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* managedNotificationConfigurationArn: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new AssociateManagedNotificationAccountContactCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param AssociateManagedNotificationAccountContactCommandInput - {@link AssociateManagedNotificationAccountContactCommandInput}
|
|
48
|
+
* @returns {@link AssociateManagedNotificationAccountContactCommandOutput}
|
|
49
|
+
* @see {@link AssociateManagedNotificationAccountContactCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link AssociateManagedNotificationAccountContactCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ConflictException} (client fault)
|
|
57
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerException} (server fault)
|
|
60
|
+
* <p>Unexpected error during processing of request.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>Request references a resource which does not exist. </p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
66
|
+
* <p>Request would cause a service quota to be exceeded.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>Request was denied due to request throttling. </p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>This exception is thrown when the notification event fails validation.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link NotificationsServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from Notifications service.</p>
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class AssociateManagedNotificationAccountContactCommand extends AssociateManagedNotificationAccountContactCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: AssociateManagedNotificationAccountContactRequest;
|
|
84
|
+
output: {};
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: AssociateManagedNotificationAccountContactCommandInput;
|
|
88
|
+
output: AssociateManagedNotificationAccountContactCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { AssociateManagedNotificationAdditionalChannelRequest, AssociateManagedNotificationAdditionalChannelResponse } from "../models/models_0";
|
|
4
|
+
import { NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link AssociateManagedNotificationAdditionalChannelCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AssociateManagedNotificationAdditionalChannelCommandInput extends AssociateManagedNotificationAdditionalChannelRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AssociateManagedNotificationAdditionalChannelCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AssociateManagedNotificationAdditionalChannelCommandOutput extends AssociateManagedNotificationAdditionalChannelResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AssociateManagedNotificationAdditionalChannelCommand_base: {
|
|
25
|
+
new (input: AssociateManagedNotificationAdditionalChannelCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateManagedNotificationAdditionalChannelCommandInput, AssociateManagedNotificationAdditionalChannelCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: AssociateManagedNotificationAdditionalChannelCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateManagedNotificationAdditionalChannelCommandInput, AssociateManagedNotificationAdditionalChannelCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Associates an additional Channel with a particular <code>ManagedNotificationConfiguration</code>.</p>
|
|
31
|
+
* <p>Supported Channels include Chatbot, the Console Mobile Application, and emails (notifications-contacts).</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { NotificationsClient, AssociateManagedNotificationAdditionalChannelCommand } from "@aws-sdk/client-notifications"; // ES Modules import
|
|
36
|
+
* // const { NotificationsClient, AssociateManagedNotificationAdditionalChannelCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
|
|
37
|
+
* const client = new NotificationsClient(config);
|
|
38
|
+
* const input = { // AssociateManagedNotificationAdditionalChannelRequest
|
|
39
|
+
* channelArn: "STRING_VALUE", // required
|
|
40
|
+
* managedNotificationConfigurationArn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new AssociateManagedNotificationAdditionalChannelCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param AssociateManagedNotificationAdditionalChannelCommandInput - {@link AssociateManagedNotificationAdditionalChannelCommandInput}
|
|
49
|
+
* @returns {@link AssociateManagedNotificationAdditionalChannelCommandOutput}
|
|
50
|
+
* @see {@link AssociateManagedNotificationAdditionalChannelCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link AssociateManagedNotificationAdditionalChannelCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ConflictException} (client fault)
|
|
58
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerException} (server fault)
|
|
61
|
+
* <p>Unexpected error during processing of request.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
+
* <p>Request references a resource which does not exist. </p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
67
|
+
* <p>Request would cause a service quota to be exceeded.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>Request was denied due to request throttling. </p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <p>This exception is thrown when the notification event fails validation.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link NotificationsServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from Notifications service.</p>
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class AssociateManagedNotificationAdditionalChannelCommand extends AssociateManagedNotificationAdditionalChannelCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: AssociateManagedNotificationAdditionalChannelRequest;
|
|
85
|
+
output: {};
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: AssociateManagedNotificationAdditionalChannelCommandInput;
|
|
89
|
+
output: AssociateManagedNotificationAdditionalChannelCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -27,7 +27,10 @@ declare const CreateEventRuleCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates an <a href="https://docs.aws.amazon.com/notifications/latest/userguide/glossary.html">
|
|
30
|
+
* <p>Creates an <a href="https://docs.aws.amazon.com/notifications/latest/userguide/glossary.html">
|
|
31
|
+
* <code>EventRule</code>
|
|
32
|
+
* </a> that
|
|
33
|
+
* is associated with a specified <code>NotificationConfiguration</code>.</p>
|
|
31
34
|
* @example
|
|
32
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
36
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const CreateNotificationConfigurationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a new NotificationConfiguration
|
|
30
|
+
* <p>Creates a new <code>NotificationConfiguration</code>.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const DeleteEventRuleCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes an EventRule
|
|
30
|
+
* <p>Deletes an <code>EventRule</code>.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const DeleteNotificationConfigurationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a NotificationConfiguration
|
|
30
|
+
* <p>Deletes a <code>NotificationConfiguration</code>.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,9 +27,12 @@ declare const DeregisterNotificationHubCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deregisters a
|
|
30
|
+
* <p>Deregisters a <code>NotificationConfiguration</code> in the specified Region.</p>
|
|
31
31
|
* <note>
|
|
32
|
-
* <p>You can't deregister the last NotificationHub in the account.
|
|
32
|
+
* <p>You can't deregister the last <code>NotificationHub</code> in the account.
|
|
33
|
+
* <code>NotificationEvents</code> stored in the deregistered <code>NotificationConfiguration</code> are no
|
|
34
|
+
* longer be visible. Recreating a new <code>NotificationConfiguration</code> in the same Region restores access
|
|
35
|
+
* to those <code>NotificationEvents</code>.</p>
|
|
33
36
|
* </note>
|
|
34
37
|
* @example
|
|
35
38
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DisableNotificationsAccessForOrganizationRequest, DisableNotificationsAccessForOrganizationResponse } from "../models/models_0";
|
|
4
|
+
import { NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DisableNotificationsAccessForOrganizationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisableNotificationsAccessForOrganizationCommandInput extends DisableNotificationsAccessForOrganizationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisableNotificationsAccessForOrganizationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisableNotificationsAccessForOrganizationCommandOutput extends DisableNotificationsAccessForOrganizationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DisableNotificationsAccessForOrganizationCommand_base: {
|
|
25
|
+
new (input: DisableNotificationsAccessForOrganizationCommandInput): import("@smithy/smithy-client").CommandImpl<DisableNotificationsAccessForOrganizationCommandInput, DisableNotificationsAccessForOrganizationCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [DisableNotificationsAccessForOrganizationCommandInput]): import("@smithy/smithy-client").CommandImpl<DisableNotificationsAccessForOrganizationCommandInput, DisableNotificationsAccessForOrganizationCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Disables service trust between User Notifications and Amazon Web Services Organizations.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { NotificationsClient, DisableNotificationsAccessForOrganizationCommand } from "@aws-sdk/client-notifications"; // ES Modules import
|
|
35
|
+
* // const { NotificationsClient, DisableNotificationsAccessForOrganizationCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
|
|
36
|
+
* const client = new NotificationsClient(config);
|
|
37
|
+
* const input = {};
|
|
38
|
+
* const command = new DisableNotificationsAccessForOrganizationCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // {};
|
|
41
|
+
*
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @param DisableNotificationsAccessForOrganizationCommandInput - {@link DisableNotificationsAccessForOrganizationCommandInput}
|
|
45
|
+
* @returns {@link DisableNotificationsAccessForOrganizationCommandOutput}
|
|
46
|
+
* @see {@link DisableNotificationsAccessForOrganizationCommandInput} for command's `input` shape.
|
|
47
|
+
* @see {@link DisableNotificationsAccessForOrganizationCommandOutput} for command's `response` shape.
|
|
48
|
+
* @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
51
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link ConflictException} (client fault)
|
|
54
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InternalServerException} (server fault)
|
|
57
|
+
* <p>Unexpected error during processing of request.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
|
+
* <p>Request references a resource which does not exist. </p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
63
|
+
* <p>Request would cause a service quota to be exceeded.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* <p>Request was denied due to request throttling. </p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
* <p>This exception is thrown when the notification event fails validation.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link NotificationsServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from Notifications service.</p>
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class DisableNotificationsAccessForOrganizationCommand extends DisableNotificationsAccessForOrganizationCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: {};
|
|
81
|
+
output: {};
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: DisableNotificationsAccessForOrganizationCommandInput;
|
|
85
|
+
output: DisableNotificationsAccessForOrganizationCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -27,7 +27,7 @@ declare const DisassociateChannelCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Disassociates a Channel from a specified NotificationConfiguration
|
|
30
|
+
* <p>Disassociates a Channel from a specified <code>NotificationConfiguration</code>. Supported Channels include Chatbot, the Console Mobile Application, and emails (notifications-contacts).</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|