@aws-sdk/client-notifications 3.730.0 → 3.731.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/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
package/dist-es/Notifications.js
CHANGED
|
@@ -1,16 +1,30 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { AssociateChannelCommand, } from "./commands/AssociateChannelCommand";
|
|
3
|
+
import { AssociateManagedNotificationAccountContactCommand, } from "./commands/AssociateManagedNotificationAccountContactCommand";
|
|
4
|
+
import { AssociateManagedNotificationAdditionalChannelCommand, } from "./commands/AssociateManagedNotificationAdditionalChannelCommand";
|
|
3
5
|
import { CreateEventRuleCommand, } from "./commands/CreateEventRuleCommand";
|
|
4
6
|
import { CreateNotificationConfigurationCommand, } from "./commands/CreateNotificationConfigurationCommand";
|
|
5
7
|
import { DeleteEventRuleCommand, } from "./commands/DeleteEventRuleCommand";
|
|
6
8
|
import { DeleteNotificationConfigurationCommand, } from "./commands/DeleteNotificationConfigurationCommand";
|
|
7
9
|
import { DeregisterNotificationHubCommand, } from "./commands/DeregisterNotificationHubCommand";
|
|
10
|
+
import { DisableNotificationsAccessForOrganizationCommand, } from "./commands/DisableNotificationsAccessForOrganizationCommand";
|
|
8
11
|
import { DisassociateChannelCommand, } from "./commands/DisassociateChannelCommand";
|
|
12
|
+
import { DisassociateManagedNotificationAccountContactCommand, } from "./commands/DisassociateManagedNotificationAccountContactCommand";
|
|
13
|
+
import { DisassociateManagedNotificationAdditionalChannelCommand, } from "./commands/DisassociateManagedNotificationAdditionalChannelCommand";
|
|
14
|
+
import { EnableNotificationsAccessForOrganizationCommand, } from "./commands/EnableNotificationsAccessForOrganizationCommand";
|
|
9
15
|
import { GetEventRuleCommand, } from "./commands/GetEventRuleCommand";
|
|
16
|
+
import { GetManagedNotificationChildEventCommand, } from "./commands/GetManagedNotificationChildEventCommand";
|
|
17
|
+
import { GetManagedNotificationConfigurationCommand, } from "./commands/GetManagedNotificationConfigurationCommand";
|
|
18
|
+
import { GetManagedNotificationEventCommand, } from "./commands/GetManagedNotificationEventCommand";
|
|
10
19
|
import { GetNotificationConfigurationCommand, } from "./commands/GetNotificationConfigurationCommand";
|
|
11
20
|
import { GetNotificationEventCommand, } from "./commands/GetNotificationEventCommand";
|
|
21
|
+
import { GetNotificationsAccessForOrganizationCommand, } from "./commands/GetNotificationsAccessForOrganizationCommand";
|
|
12
22
|
import { ListChannelsCommand, } from "./commands/ListChannelsCommand";
|
|
13
23
|
import { ListEventRulesCommand, } from "./commands/ListEventRulesCommand";
|
|
24
|
+
import { ListManagedNotificationChannelAssociationsCommand, } from "./commands/ListManagedNotificationChannelAssociationsCommand";
|
|
25
|
+
import { ListManagedNotificationChildEventsCommand, } from "./commands/ListManagedNotificationChildEventsCommand";
|
|
26
|
+
import { ListManagedNotificationConfigurationsCommand, } from "./commands/ListManagedNotificationConfigurationsCommand";
|
|
27
|
+
import { ListManagedNotificationEventsCommand, } from "./commands/ListManagedNotificationEventsCommand";
|
|
14
28
|
import { ListNotificationConfigurationsCommand, } from "./commands/ListNotificationConfigurationsCommand";
|
|
15
29
|
import { ListNotificationEventsCommand, } from "./commands/ListNotificationEventsCommand";
|
|
16
30
|
import { ListNotificationHubsCommand, } from "./commands/ListNotificationHubsCommand";
|
|
@@ -23,17 +37,31 @@ import { UpdateNotificationConfigurationCommand, } from "./commands/UpdateNotifi
|
|
|
23
37
|
import { NotificationsClient } from "./NotificationsClient";
|
|
24
38
|
const commands = {
|
|
25
39
|
AssociateChannelCommand,
|
|
40
|
+
AssociateManagedNotificationAccountContactCommand,
|
|
41
|
+
AssociateManagedNotificationAdditionalChannelCommand,
|
|
26
42
|
CreateEventRuleCommand,
|
|
27
43
|
CreateNotificationConfigurationCommand,
|
|
28
44
|
DeleteEventRuleCommand,
|
|
29
45
|
DeleteNotificationConfigurationCommand,
|
|
30
46
|
DeregisterNotificationHubCommand,
|
|
47
|
+
DisableNotificationsAccessForOrganizationCommand,
|
|
31
48
|
DisassociateChannelCommand,
|
|
49
|
+
DisassociateManagedNotificationAccountContactCommand,
|
|
50
|
+
DisassociateManagedNotificationAdditionalChannelCommand,
|
|
51
|
+
EnableNotificationsAccessForOrganizationCommand,
|
|
32
52
|
GetEventRuleCommand,
|
|
53
|
+
GetManagedNotificationChildEventCommand,
|
|
54
|
+
GetManagedNotificationConfigurationCommand,
|
|
55
|
+
GetManagedNotificationEventCommand,
|
|
33
56
|
GetNotificationConfigurationCommand,
|
|
34
57
|
GetNotificationEventCommand,
|
|
58
|
+
GetNotificationsAccessForOrganizationCommand,
|
|
35
59
|
ListChannelsCommand,
|
|
36
60
|
ListEventRulesCommand,
|
|
61
|
+
ListManagedNotificationChannelAssociationsCommand,
|
|
62
|
+
ListManagedNotificationChildEventsCommand,
|
|
63
|
+
ListManagedNotificationConfigurationsCommand,
|
|
64
|
+
ListManagedNotificationEventsCommand,
|
|
37
65
|
ListNotificationConfigurationsCommand,
|
|
38
66
|
ListNotificationEventsCommand,
|
|
39
67
|
ListNotificationHubsCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_AssociateManagedNotificationAccountContactCommand, se_AssociateManagedNotificationAccountContactCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class AssociateManagedNotificationAccountContactCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Notifications", "AssociateManagedNotificationAccountContact", {})
|
|
17
|
+
.n("NotificationsClient", "AssociateManagedNotificationAccountContactCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_AssociateManagedNotificationAccountContactCommand)
|
|
20
|
+
.de(de_AssociateManagedNotificationAccountContactCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_AssociateManagedNotificationAdditionalChannelCommand, se_AssociateManagedNotificationAdditionalChannelCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class AssociateManagedNotificationAdditionalChannelCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Notifications", "AssociateManagedNotificationAdditionalChannel", {})
|
|
17
|
+
.n("NotificationsClient", "AssociateManagedNotificationAdditionalChannelCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_AssociateManagedNotificationAdditionalChannelCommand)
|
|
20
|
+
.de(de_AssociateManagedNotificationAdditionalChannelCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DisableNotificationsAccessForOrganizationCommand, se_DisableNotificationsAccessForOrganizationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DisableNotificationsAccessForOrganizationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Notifications", "DisableNotificationsAccessForOrganization", {})
|
|
17
|
+
.n("NotificationsClient", "DisableNotificationsAccessForOrganizationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DisableNotificationsAccessForOrganizationCommand)
|
|
20
|
+
.de(de_DisableNotificationsAccessForOrganizationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DisassociateManagedNotificationAccountContactCommand, se_DisassociateManagedNotificationAccountContactCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DisassociateManagedNotificationAccountContactCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Notifications", "DisassociateManagedNotificationAccountContact", {})
|
|
17
|
+
.n("NotificationsClient", "DisassociateManagedNotificationAccountContactCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DisassociateManagedNotificationAccountContactCommand)
|
|
20
|
+
.de(de_DisassociateManagedNotificationAccountContactCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DisassociateManagedNotificationAdditionalChannelCommand, se_DisassociateManagedNotificationAdditionalChannelCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DisassociateManagedNotificationAdditionalChannelCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Notifications", "DisassociateManagedNotificationAdditionalChannel", {})
|
|
17
|
+
.n("NotificationsClient", "DisassociateManagedNotificationAdditionalChannelCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DisassociateManagedNotificationAdditionalChannelCommand)
|
|
20
|
+
.de(de_DisassociateManagedNotificationAdditionalChannelCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_EnableNotificationsAccessForOrganizationCommand, se_EnableNotificationsAccessForOrganizationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class EnableNotificationsAccessForOrganizationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Notifications", "EnableNotificationsAccessForOrganization", {})
|
|
17
|
+
.n("NotificationsClient", "EnableNotificationsAccessForOrganizationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_EnableNotificationsAccessForOrganizationCommand)
|
|
20
|
+
.de(de_EnableNotificationsAccessForOrganizationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetManagedNotificationChildEventCommand, se_GetManagedNotificationChildEventCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetManagedNotificationChildEventCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Notifications", "GetManagedNotificationChildEvent", {})
|
|
17
|
+
.n("NotificationsClient", "GetManagedNotificationChildEventCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetManagedNotificationChildEventCommand)
|
|
20
|
+
.de(de_GetManagedNotificationChildEventCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetManagedNotificationConfigurationCommand, se_GetManagedNotificationConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetManagedNotificationConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Notifications", "GetManagedNotificationConfiguration", {})
|
|
17
|
+
.n("NotificationsClient", "GetManagedNotificationConfigurationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetManagedNotificationConfigurationCommand)
|
|
20
|
+
.de(de_GetManagedNotificationConfigurationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetManagedNotificationEventCommand, se_GetManagedNotificationEventCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetManagedNotificationEventCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Notifications", "GetManagedNotificationEvent", {})
|
|
17
|
+
.n("NotificationsClient", "GetManagedNotificationEventCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetManagedNotificationEventCommand)
|
|
20
|
+
.de(de_GetManagedNotificationEventCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetNotificationsAccessForOrganizationCommand, se_GetNotificationsAccessForOrganizationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetNotificationsAccessForOrganizationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Notifications", "GetNotificationsAccessForOrganization", {})
|
|
17
|
+
.n("NotificationsClient", "GetNotificationsAccessForOrganizationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetNotificationsAccessForOrganizationCommand)
|
|
20
|
+
.de(de_GetNotificationsAccessForOrganizationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListManagedNotificationChannelAssociationsCommand, se_ListManagedNotificationChannelAssociationsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListManagedNotificationChannelAssociationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Notifications", "ListManagedNotificationChannelAssociations", {})
|
|
17
|
+
.n("NotificationsClient", "ListManagedNotificationChannelAssociationsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListManagedNotificationChannelAssociationsCommand)
|
|
20
|
+
.de(de_ListManagedNotificationChannelAssociationsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListManagedNotificationChildEventsCommand, se_ListManagedNotificationChildEventsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListManagedNotificationChildEventsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Notifications", "ListManagedNotificationChildEvents", {})
|
|
17
|
+
.n("NotificationsClient", "ListManagedNotificationChildEventsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListManagedNotificationChildEventsCommand)
|
|
20
|
+
.de(de_ListManagedNotificationChildEventsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListManagedNotificationConfigurationsCommand, se_ListManagedNotificationConfigurationsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListManagedNotificationConfigurationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Notifications", "ListManagedNotificationConfigurations", {})
|
|
17
|
+
.n("NotificationsClient", "ListManagedNotificationConfigurationsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListManagedNotificationConfigurationsCommand)
|
|
20
|
+
.de(de_ListManagedNotificationConfigurationsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListManagedNotificationEventsCommand, se_ListManagedNotificationEventsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListManagedNotificationEventsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Notifications", "ListManagedNotificationEvents", {})
|
|
17
|
+
.n("NotificationsClient", "ListManagedNotificationEventsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListManagedNotificationEventsCommand)
|
|
20
|
+
.de(de_ListManagedNotificationEventsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -1,15 +1,29 @@
|
|
|
1
1
|
export * from "./AssociateChannelCommand";
|
|
2
|
+
export * from "./AssociateManagedNotificationAccountContactCommand";
|
|
3
|
+
export * from "./AssociateManagedNotificationAdditionalChannelCommand";
|
|
2
4
|
export * from "./CreateEventRuleCommand";
|
|
3
5
|
export * from "./CreateNotificationConfigurationCommand";
|
|
4
6
|
export * from "./DeleteEventRuleCommand";
|
|
5
7
|
export * from "./DeleteNotificationConfigurationCommand";
|
|
6
8
|
export * from "./DeregisterNotificationHubCommand";
|
|
9
|
+
export * from "./DisableNotificationsAccessForOrganizationCommand";
|
|
7
10
|
export * from "./DisassociateChannelCommand";
|
|
11
|
+
export * from "./DisassociateManagedNotificationAccountContactCommand";
|
|
12
|
+
export * from "./DisassociateManagedNotificationAdditionalChannelCommand";
|
|
13
|
+
export * from "./EnableNotificationsAccessForOrganizationCommand";
|
|
8
14
|
export * from "./GetEventRuleCommand";
|
|
15
|
+
export * from "./GetManagedNotificationChildEventCommand";
|
|
16
|
+
export * from "./GetManagedNotificationConfigurationCommand";
|
|
17
|
+
export * from "./GetManagedNotificationEventCommand";
|
|
9
18
|
export * from "./GetNotificationConfigurationCommand";
|
|
10
19
|
export * from "./GetNotificationEventCommand";
|
|
20
|
+
export * from "./GetNotificationsAccessForOrganizationCommand";
|
|
11
21
|
export * from "./ListChannelsCommand";
|
|
12
22
|
export * from "./ListEventRulesCommand";
|
|
23
|
+
export * from "./ListManagedNotificationChannelAssociationsCommand";
|
|
24
|
+
export * from "./ListManagedNotificationChildEventsCommand";
|
|
25
|
+
export * from "./ListManagedNotificationConfigurationsCommand";
|
|
26
|
+
export * from "./ListManagedNotificationEventsCommand";
|
|
13
27
|
export * from "./ListNotificationConfigurationsCommand";
|
|
14
28
|
export * from "./ListNotificationEventsCommand";
|
|
15
29
|
export * from "./ListNotificationHubsCommand";
|
|
@@ -11,6 +11,17 @@ export class AccessDeniedException extends __BaseException {
|
|
|
11
11
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
+
export const AccessStatus = {
|
|
15
|
+
DISABLED: "DISABLED",
|
|
16
|
+
ENABLED: "ENABLED",
|
|
17
|
+
PENDING: "PENDING",
|
|
18
|
+
};
|
|
19
|
+
export const AccountContactType = {
|
|
20
|
+
ACCOUNT_ALTERNATE_BILLING: "ACCOUNT_ALTERNATE_BILLING",
|
|
21
|
+
ACCOUNT_ALTERNATE_OPERATIONS: "ACCOUNT_ALTERNATE_OPERATIONS",
|
|
22
|
+
ACCOUNT_ALTERNATE_SECURITY: "ACCOUNT_ALTERNATE_SECURITY",
|
|
23
|
+
ACCOUNT_PRIMARY: "ACCOUNT_PRIMARY",
|
|
24
|
+
};
|
|
14
25
|
export const AggregationDuration = {
|
|
15
26
|
LONG: "LONG",
|
|
16
27
|
NONE: "NONE",
|
|
@@ -123,6 +134,16 @@ export class ValidationException extends __BaseException {
|
|
|
123
134
|
this.fieldList = opts.fieldList;
|
|
124
135
|
}
|
|
125
136
|
}
|
|
137
|
+
export const ChannelAssociationOverrideOption = {
|
|
138
|
+
DISABLED: "DISABLED",
|
|
139
|
+
ENABLED: "ENABLED",
|
|
140
|
+
};
|
|
141
|
+
export const ChannelType = {
|
|
142
|
+
ACCOUNT_CONTACT: "ACCOUNT_CONTACT",
|
|
143
|
+
CHATBOT: "CHATBOT",
|
|
144
|
+
EMAIL: "EMAIL",
|
|
145
|
+
MOBILE: "MOBILE",
|
|
146
|
+
};
|
|
126
147
|
export const EventRuleStatus = {
|
|
127
148
|
ACTIVE: "ACTIVE",
|
|
128
149
|
CREATING: "CREATING",
|
|
@@ -163,9 +184,6 @@ export const LocaleCode = {
|
|
|
163
184
|
zh_CN: "zh_CN",
|
|
164
185
|
zh_TW: "zh_TW",
|
|
165
186
|
};
|
|
166
|
-
export const MediaElementType = {
|
|
167
|
-
IMAGE: "IMAGE",
|
|
168
|
-
};
|
|
169
187
|
export const NotificationType = {
|
|
170
188
|
ALERT: "ALERT",
|
|
171
189
|
ANNOUNCEMENT: "ANNOUNCEMENT",
|
|
@@ -180,3 +198,6 @@ export const TextPartType = {
|
|
|
180
198
|
PLAIN_TEXT: "PLAIN_TEXT",
|
|
181
199
|
URL: "URL",
|
|
182
200
|
};
|
|
201
|
+
export const MediaElementType = {
|
|
202
|
+
IMAGE: "IMAGE",
|
|
203
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListManagedNotificationChannelAssociationsCommand, } from "../commands/ListManagedNotificationChannelAssociationsCommand";
|
|
3
|
+
import { NotificationsClient } from "../NotificationsClient";
|
|
4
|
+
export const paginateListManagedNotificationChannelAssociations = createPaginator(NotificationsClient, ListManagedNotificationChannelAssociationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListManagedNotificationChildEventsCommand, } from "../commands/ListManagedNotificationChildEventsCommand";
|
|
3
|
+
import { NotificationsClient } from "../NotificationsClient";
|
|
4
|
+
export const paginateListManagedNotificationChildEvents = createPaginator(NotificationsClient, ListManagedNotificationChildEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListManagedNotificationConfigurationsCommand, } from "../commands/ListManagedNotificationConfigurationsCommand";
|
|
3
|
+
import { NotificationsClient } from "../NotificationsClient";
|
|
4
|
+
export const paginateListManagedNotificationConfigurations = createPaginator(NotificationsClient, ListManagedNotificationConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListManagedNotificationEventsCommand, } from "../commands/ListManagedNotificationEventsCommand";
|
|
3
|
+
import { NotificationsClient } from "../NotificationsClient";
|
|
4
|
+
export const paginateListManagedNotificationEvents = createPaginator(NotificationsClient, ListManagedNotificationEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListChannelsPaginator";
|
|
3
3
|
export * from "./ListEventRulesPaginator";
|
|
4
|
+
export * from "./ListManagedNotificationChannelAssociationsPaginator";
|
|
5
|
+
export * from "./ListManagedNotificationChildEventsPaginator";
|
|
6
|
+
export * from "./ListManagedNotificationConfigurationsPaginator";
|
|
7
|
+
export * from "./ListManagedNotificationEventsPaginator";
|
|
4
8
|
export * from "./ListNotificationConfigurationsPaginator";
|
|
5
9
|
export * from "./ListNotificationEventsPaginator";
|
|
6
10
|
export * from "./ListNotificationHubsPaginator";
|