@aws-sdk/client-notifications 3.927.0 → 3.929.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1809 -1672
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/NotificationsClient.js +2 -0
- package/dist-es/commands/AssociateChannelCommand.js +3 -9
- package/dist-es/commands/AssociateManagedNotificationAccountContactCommand.js +3 -9
- package/dist-es/commands/AssociateManagedNotificationAdditionalChannelCommand.js +3 -9
- package/dist-es/commands/AssociateOrganizationalUnitCommand.js +3 -9
- package/dist-es/commands/CreateEventRuleCommand.js +3 -9
- package/dist-es/commands/CreateNotificationConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteEventRuleCommand.js +3 -9
- package/dist-es/commands/DeleteNotificationConfigurationCommand.js +3 -9
- package/dist-es/commands/DeregisterNotificationHubCommand.js +3 -9
- package/dist-es/commands/DisableNotificationsAccessForOrganizationCommand.js +3 -9
- package/dist-es/commands/DisassociateChannelCommand.js +3 -9
- package/dist-es/commands/DisassociateManagedNotificationAccountContactCommand.js +3 -9
- package/dist-es/commands/DisassociateManagedNotificationAdditionalChannelCommand.js +3 -9
- package/dist-es/commands/DisassociateOrganizationalUnitCommand.js +3 -9
- package/dist-es/commands/EnableNotificationsAccessForOrganizationCommand.js +3 -9
- package/dist-es/commands/GetEventRuleCommand.js +3 -9
- package/dist-es/commands/GetManagedNotificationChildEventCommand.js +3 -9
- package/dist-es/commands/GetManagedNotificationConfigurationCommand.js +3 -9
- package/dist-es/commands/GetManagedNotificationEventCommand.js +3 -9
- package/dist-es/commands/GetNotificationConfigurationCommand.js +3 -9
- package/dist-es/commands/GetNotificationEventCommand.js +3 -9
- package/dist-es/commands/GetNotificationsAccessForOrganizationCommand.js +3 -9
- package/dist-es/commands/ListChannelsCommand.js +3 -9
- package/dist-es/commands/ListEventRulesCommand.js +3 -9
- package/dist-es/commands/ListManagedNotificationChannelAssociationsCommand.js +3 -9
- package/dist-es/commands/ListManagedNotificationChildEventsCommand.js +3 -9
- package/dist-es/commands/ListManagedNotificationConfigurationsCommand.js +3 -9
- package/dist-es/commands/ListManagedNotificationEventsCommand.js +3 -9
- package/dist-es/commands/ListMemberAccountsCommand.js +3 -9
- package/dist-es/commands/ListNotificationConfigurationsCommand.js +3 -9
- package/dist-es/commands/ListNotificationEventsCommand.js +3 -9
- package/dist-es/commands/ListNotificationHubsCommand.js +3 -9
- package/dist-es/commands/ListOrganizationalUnitsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/RegisterNotificationHubCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateEventRuleCommand.js +3 -9
- package/dist-es/commands/UpdateNotificationConfigurationCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1736 -0
- package/dist-types/NotificationsClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +188 -0
- package/dist-types/ts3.4/NotificationsClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +194 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_restJson1.js +0 -1396
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -353
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -473
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.notifications" }),
|
|
28
30
|
serviceId: config?.serviceId ?? "Notifications",
|
|
29
31
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
32
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class NotificationsClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { AssociateChannel } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class AssociateChannelCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Notifications", "AssociateChannel", {})
|
|
17
13
|
.n("NotificationsClient", "AssociateChannelCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_AssociateChannelCommand)
|
|
20
|
-
.de(de_AssociateChannelCommand)
|
|
14
|
+
.sc(AssociateChannel)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { AssociateManagedNotificationAccountContact } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class AssociateManagedNotificationAccountContactCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Notifications", "AssociateManagedNotificationAccountContact", {})
|
|
17
13
|
.n("NotificationsClient", "AssociateManagedNotificationAccountContactCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_AssociateManagedNotificationAccountContactCommand)
|
|
20
|
-
.de(de_AssociateManagedNotificationAccountContactCommand)
|
|
14
|
+
.sc(AssociateManagedNotificationAccountContact)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { AssociateManagedNotificationAdditionalChannel } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class AssociateManagedNotificationAdditionalChannelCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Notifications", "AssociateManagedNotificationAdditionalChannel", {})
|
|
17
13
|
.n("NotificationsClient", "AssociateManagedNotificationAdditionalChannelCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_AssociateManagedNotificationAdditionalChannelCommand)
|
|
20
|
-
.de(de_AssociateManagedNotificationAdditionalChannelCommand)
|
|
14
|
+
.sc(AssociateManagedNotificationAdditionalChannel)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { AssociateOrganizationalUnit } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class AssociateOrganizationalUnitCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Notifications", "AssociateOrganizationalUnit", {})
|
|
17
13
|
.n("NotificationsClient", "AssociateOrganizationalUnitCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_AssociateOrganizationalUnitCommand)
|
|
20
|
-
.de(de_AssociateOrganizationalUnitCommand)
|
|
14
|
+
.sc(AssociateOrganizationalUnit)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateEventRule } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateEventRuleCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Notifications", "CreateEventRule", {})
|
|
17
13
|
.n("NotificationsClient", "CreateEventRuleCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateEventRuleCommand)
|
|
20
|
-
.de(de_CreateEventRuleCommand)
|
|
14
|
+
.sc(CreateEventRule)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateNotificationConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateNotificationConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Notifications", "CreateNotificationConfiguration", {})
|
|
17
13
|
.n("NotificationsClient", "CreateNotificationConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateNotificationConfigurationCommand)
|
|
20
|
-
.de(de_CreateNotificationConfigurationCommand)
|
|
14
|
+
.sc(CreateNotificationConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteEventRule } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteEventRuleCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Notifications", "DeleteEventRule", {})
|
|
17
13
|
.n("NotificationsClient", "DeleteEventRuleCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteEventRuleCommand)
|
|
20
|
-
.de(de_DeleteEventRuleCommand)
|
|
14
|
+
.sc(DeleteEventRule)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteNotificationConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteNotificationConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Notifications", "DeleteNotificationConfiguration", {})
|
|
17
13
|
.n("NotificationsClient", "DeleteNotificationConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteNotificationConfigurationCommand)
|
|
20
|
-
.de(de_DeleteNotificationConfigurationCommand)
|
|
14
|
+
.sc(DeleteNotificationConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeregisterNotificationHub } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeregisterNotificationHubCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Notifications", "DeregisterNotificationHub", {})
|
|
17
13
|
.n("NotificationsClient", "DeregisterNotificationHubCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeregisterNotificationHubCommand)
|
|
20
|
-
.de(de_DeregisterNotificationHubCommand)
|
|
14
|
+
.sc(DeregisterNotificationHub)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DisableNotificationsAccessForOrganization } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DisableNotificationsAccessForOrganizationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Notifications", "DisableNotificationsAccessForOrganization", {})
|
|
17
13
|
.n("NotificationsClient", "DisableNotificationsAccessForOrganizationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DisableNotificationsAccessForOrganizationCommand)
|
|
20
|
-
.de(de_DisableNotificationsAccessForOrganizationCommand)
|
|
14
|
+
.sc(DisableNotificationsAccessForOrganization)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DisassociateChannel } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DisassociateChannelCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Notifications", "DisassociateChannel", {})
|
|
17
13
|
.n("NotificationsClient", "DisassociateChannelCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DisassociateChannelCommand)
|
|
20
|
-
.de(de_DisassociateChannelCommand)
|
|
14
|
+
.sc(DisassociateChannel)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DisassociateManagedNotificationAccountContact } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DisassociateManagedNotificationAccountContactCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Notifications", "DisassociateManagedNotificationAccountContact", {})
|
|
17
13
|
.n("NotificationsClient", "DisassociateManagedNotificationAccountContactCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DisassociateManagedNotificationAccountContactCommand)
|
|
20
|
-
.de(de_DisassociateManagedNotificationAccountContactCommand)
|
|
14
|
+
.sc(DisassociateManagedNotificationAccountContact)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DisassociateManagedNotificationAdditionalChannel } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DisassociateManagedNotificationAdditionalChannelCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Notifications", "DisassociateManagedNotificationAdditionalChannel", {})
|
|
17
13
|
.n("NotificationsClient", "DisassociateManagedNotificationAdditionalChannelCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DisassociateManagedNotificationAdditionalChannelCommand)
|
|
20
|
-
.de(de_DisassociateManagedNotificationAdditionalChannelCommand)
|
|
14
|
+
.sc(DisassociateManagedNotificationAdditionalChannel)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DisassociateOrganizationalUnit } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DisassociateOrganizationalUnitCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Notifications", "DisassociateOrganizationalUnit", {})
|
|
17
13
|
.n("NotificationsClient", "DisassociateOrganizationalUnitCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DisassociateOrganizationalUnitCommand)
|
|
20
|
-
.de(de_DisassociateOrganizationalUnitCommand)
|
|
14
|
+
.sc(DisassociateOrganizationalUnit)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { EnableNotificationsAccessForOrganization } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class EnableNotificationsAccessForOrganizationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Notifications", "EnableNotificationsAccessForOrganization", {})
|
|
17
13
|
.n("NotificationsClient", "EnableNotificationsAccessForOrganizationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_EnableNotificationsAccessForOrganizationCommand)
|
|
20
|
-
.de(de_EnableNotificationsAccessForOrganizationCommand)
|
|
14
|
+
.sc(EnableNotificationsAccessForOrganization)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetEventRule } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetEventRuleCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Notifications", "GetEventRule", {})
|
|
17
13
|
.n("NotificationsClient", "GetEventRuleCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetEventRuleCommand)
|
|
20
|
-
.de(de_GetEventRuleCommand)
|
|
14
|
+
.sc(GetEventRule)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetManagedNotificationChildEvent } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetManagedNotificationChildEventCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Notifications", "GetManagedNotificationChildEvent", {})
|
|
17
13
|
.n("NotificationsClient", "GetManagedNotificationChildEventCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetManagedNotificationChildEventCommand)
|
|
20
|
-
.de(de_GetManagedNotificationChildEventCommand)
|
|
14
|
+
.sc(GetManagedNotificationChildEvent)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetManagedNotificationConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetManagedNotificationConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Notifications", "GetManagedNotificationConfiguration", {})
|
|
17
13
|
.n("NotificationsClient", "GetManagedNotificationConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetManagedNotificationConfigurationCommand)
|
|
20
|
-
.de(de_GetManagedNotificationConfigurationCommand)
|
|
14
|
+
.sc(GetManagedNotificationConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetManagedNotificationEvent } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetManagedNotificationEventCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Notifications", "GetManagedNotificationEvent", {})
|
|
17
13
|
.n("NotificationsClient", "GetManagedNotificationEventCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetManagedNotificationEventCommand)
|
|
20
|
-
.de(de_GetManagedNotificationEventCommand)
|
|
14
|
+
.sc(GetManagedNotificationEvent)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetNotificationConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetNotificationConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Notifications", "GetNotificationConfiguration", {})
|
|
17
13
|
.n("NotificationsClient", "GetNotificationConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetNotificationConfigurationCommand)
|
|
20
|
-
.de(de_GetNotificationConfigurationCommand)
|
|
14
|
+
.sc(GetNotificationConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetNotificationEvent } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetNotificationEventCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Notifications", "GetNotificationEvent", {})
|
|
17
13
|
.n("NotificationsClient", "GetNotificationEventCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetNotificationEventCommand)
|
|
20
|
-
.de(de_GetNotificationEventCommand)
|
|
14
|
+
.sc(GetNotificationEvent)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetNotificationsAccessForOrganization } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetNotificationsAccessForOrganizationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Notifications", "GetNotificationsAccessForOrganization", {})
|
|
17
13
|
.n("NotificationsClient", "GetNotificationsAccessForOrganizationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetNotificationsAccessForOrganizationCommand)
|
|
20
|
-
.de(de_GetNotificationsAccessForOrganizationCommand)
|
|
14
|
+
.sc(GetNotificationsAccessForOrganization)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|