@aws-sdk/client-notifications 3.928.0 → 3.930.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.
Files changed (60) hide show
  1. package/dist-cjs/index.js +1809 -1672
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/NotificationsClient.js +2 -0
  4. package/dist-es/commands/AssociateChannelCommand.js +3 -9
  5. package/dist-es/commands/AssociateManagedNotificationAccountContactCommand.js +3 -9
  6. package/dist-es/commands/AssociateManagedNotificationAdditionalChannelCommand.js +3 -9
  7. package/dist-es/commands/AssociateOrganizationalUnitCommand.js +3 -9
  8. package/dist-es/commands/CreateEventRuleCommand.js +3 -9
  9. package/dist-es/commands/CreateNotificationConfigurationCommand.js +3 -9
  10. package/dist-es/commands/DeleteEventRuleCommand.js +3 -9
  11. package/dist-es/commands/DeleteNotificationConfigurationCommand.js +3 -9
  12. package/dist-es/commands/DeregisterNotificationHubCommand.js +3 -9
  13. package/dist-es/commands/DisableNotificationsAccessForOrganizationCommand.js +3 -9
  14. package/dist-es/commands/DisassociateChannelCommand.js +3 -9
  15. package/dist-es/commands/DisassociateManagedNotificationAccountContactCommand.js +3 -9
  16. package/dist-es/commands/DisassociateManagedNotificationAdditionalChannelCommand.js +3 -9
  17. package/dist-es/commands/DisassociateOrganizationalUnitCommand.js +3 -9
  18. package/dist-es/commands/EnableNotificationsAccessForOrganizationCommand.js +3 -9
  19. package/dist-es/commands/GetEventRuleCommand.js +3 -9
  20. package/dist-es/commands/GetManagedNotificationChildEventCommand.js +3 -9
  21. package/dist-es/commands/GetManagedNotificationConfigurationCommand.js +3 -9
  22. package/dist-es/commands/GetManagedNotificationEventCommand.js +3 -9
  23. package/dist-es/commands/GetNotificationConfigurationCommand.js +3 -9
  24. package/dist-es/commands/GetNotificationEventCommand.js +3 -9
  25. package/dist-es/commands/GetNotificationsAccessForOrganizationCommand.js +3 -9
  26. package/dist-es/commands/ListChannelsCommand.js +3 -9
  27. package/dist-es/commands/ListEventRulesCommand.js +3 -9
  28. package/dist-es/commands/ListManagedNotificationChannelAssociationsCommand.js +3 -9
  29. package/dist-es/commands/ListManagedNotificationChildEventsCommand.js +3 -9
  30. package/dist-es/commands/ListManagedNotificationConfigurationsCommand.js +3 -9
  31. package/dist-es/commands/ListManagedNotificationEventsCommand.js +3 -9
  32. package/dist-es/commands/ListMemberAccountsCommand.js +3 -9
  33. package/dist-es/commands/ListNotificationConfigurationsCommand.js +3 -9
  34. package/dist-es/commands/ListNotificationEventsCommand.js +3 -9
  35. package/dist-es/commands/ListNotificationHubsCommand.js +3 -9
  36. package/dist-es/commands/ListOrganizationalUnitsCommand.js +3 -9
  37. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  38. package/dist-es/commands/RegisterNotificationHubCommand.js +3 -9
  39. package/dist-es/commands/TagResourceCommand.js +3 -9
  40. package/dist-es/commands/UntagResourceCommand.js +3 -9
  41. package/dist-es/commands/UpdateEventRuleCommand.js +3 -9
  42. package/dist-es/commands/UpdateNotificationConfigurationCommand.js +3 -9
  43. package/dist-es/runtimeConfig.shared.js +2 -0
  44. package/dist-es/schemas/schemas_0.js +1736 -0
  45. package/dist-types/NotificationsClient.d.ts +10 -1
  46. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  47. package/dist-types/runtimeConfig.d.ts +1 -0
  48. package/dist-types/runtimeConfig.native.d.ts +1 -0
  49. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  50. package/dist-types/schemas/schemas_0.d.ts +188 -0
  51. package/dist-types/ts3.4/NotificationsClient.d.ts +4 -0
  52. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  53. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  54. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  55. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  56. package/dist-types/ts3.4/schemas/schemas_0.d.ts +194 -0
  57. package/package.json +33 -33
  58. package/dist-es/protocols/Aws_restJson1.js +0 -1396
  59. package/dist-types/protocols/Aws_restJson1.d.ts +0 -353
  60. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -473
@@ -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 { de_ListChannelsCommand, se_ListChannelsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListChannels } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListChannelsCommand 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", "ListChannels", {})
17
13
  .n("NotificationsClient", "ListChannelsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListChannelsCommand)
20
- .de(de_ListChannelsCommand)
14
+ .sc(ListChannels)
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 { de_ListEventRulesCommand, se_ListEventRulesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListEventRules } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListEventRulesCommand 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", "ListEventRules", {})
17
13
  .n("NotificationsClient", "ListEventRulesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListEventRulesCommand)
20
- .de(de_ListEventRulesCommand)
14
+ .sc(ListEventRules)
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 { de_ListManagedNotificationChannelAssociationsCommand, se_ListManagedNotificationChannelAssociationsCommand, } from "../protocols/Aws_restJson1";
4
+ import { ListManagedNotificationChannelAssociations } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListManagedNotificationChannelAssociationsCommand 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", "ListManagedNotificationChannelAssociations", {})
17
13
  .n("NotificationsClient", "ListManagedNotificationChannelAssociationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListManagedNotificationChannelAssociationsCommand)
20
- .de(de_ListManagedNotificationChannelAssociationsCommand)
14
+ .sc(ListManagedNotificationChannelAssociations)
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 { de_ListManagedNotificationChildEventsCommand, se_ListManagedNotificationChildEventsCommand, } from "../protocols/Aws_restJson1";
4
+ import { ListManagedNotificationChildEvents } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListManagedNotificationChildEventsCommand 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", "ListManagedNotificationChildEvents", {})
17
13
  .n("NotificationsClient", "ListManagedNotificationChildEventsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListManagedNotificationChildEventsCommand)
20
- .de(de_ListManagedNotificationChildEventsCommand)
14
+ .sc(ListManagedNotificationChildEvents)
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 { de_ListManagedNotificationConfigurationsCommand, se_ListManagedNotificationConfigurationsCommand, } from "../protocols/Aws_restJson1";
4
+ import { ListManagedNotificationConfigurations } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListManagedNotificationConfigurationsCommand 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", "ListManagedNotificationConfigurations", {})
17
13
  .n("NotificationsClient", "ListManagedNotificationConfigurationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListManagedNotificationConfigurationsCommand)
20
- .de(de_ListManagedNotificationConfigurationsCommand)
14
+ .sc(ListManagedNotificationConfigurations)
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 { de_ListManagedNotificationEventsCommand, se_ListManagedNotificationEventsCommand, } from "../protocols/Aws_restJson1";
4
+ import { ListManagedNotificationEvents } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListManagedNotificationEventsCommand 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", "ListManagedNotificationEvents", {})
17
13
  .n("NotificationsClient", "ListManagedNotificationEventsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListManagedNotificationEventsCommand)
20
- .de(de_ListManagedNotificationEventsCommand)
14
+ .sc(ListManagedNotificationEvents)
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 { de_ListMemberAccountsCommand, se_ListMemberAccountsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListMemberAccounts } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListMemberAccountsCommand 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", "ListMemberAccounts", {})
17
13
  .n("NotificationsClient", "ListMemberAccountsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListMemberAccountsCommand)
20
- .de(de_ListMemberAccountsCommand)
14
+ .sc(ListMemberAccounts)
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 { de_ListNotificationConfigurationsCommand, se_ListNotificationConfigurationsCommand, } from "../protocols/Aws_restJson1";
4
+ import { ListNotificationConfigurations } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListNotificationConfigurationsCommand 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", "ListNotificationConfigurations", {})
17
13
  .n("NotificationsClient", "ListNotificationConfigurationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListNotificationConfigurationsCommand)
20
- .de(de_ListNotificationConfigurationsCommand)
14
+ .sc(ListNotificationConfigurations)
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 { de_ListNotificationEventsCommand, se_ListNotificationEventsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListNotificationEvents } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListNotificationEventsCommand 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", "ListNotificationEvents", {})
17
13
  .n("NotificationsClient", "ListNotificationEventsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListNotificationEventsCommand)
20
- .de(de_ListNotificationEventsCommand)
14
+ .sc(ListNotificationEvents)
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 { de_ListNotificationHubsCommand, se_ListNotificationHubsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListNotificationHubs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListNotificationHubsCommand 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", "ListNotificationHubs", {})
17
13
  .n("NotificationsClient", "ListNotificationHubsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListNotificationHubsCommand)
20
- .de(de_ListNotificationHubsCommand)
14
+ .sc(ListNotificationHubs)
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 { de_ListOrganizationalUnitsCommand, se_ListOrganizationalUnitsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListOrganizationalUnits } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListOrganizationalUnitsCommand 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", "ListOrganizationalUnits", {})
17
13
  .n("NotificationsClient", "ListOrganizationalUnitsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListOrganizationalUnitsCommand)
20
- .de(de_ListOrganizationalUnitsCommand)
14
+ .sc(ListOrganizationalUnits)
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 { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand 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", "ListTagsForResource", {})
17
13
  .n("NotificationsClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
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 { de_RegisterNotificationHubCommand, se_RegisterNotificationHubCommand } from "../protocols/Aws_restJson1";
4
+ import { RegisterNotificationHub } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RegisterNotificationHubCommand 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", "RegisterNotificationHub", {})
17
13
  .n("NotificationsClient", "RegisterNotificationHubCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RegisterNotificationHubCommand)
20
- .de(de_RegisterNotificationHubCommand)
14
+ .sc(RegisterNotificationHub)
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 { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand 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", "TagResource", {})
17
13
  .n("NotificationsClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
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 { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand 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", "UntagResource", {})
17
13
  .n("NotificationsClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
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 { de_UpdateEventRuleCommand, se_UpdateEventRuleCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateEventRule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateEventRuleCommand 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", "UpdateEventRule", {})
17
13
  .n("NotificationsClient", "UpdateEventRuleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateEventRuleCommand)
20
- .de(de_UpdateEventRuleCommand)
14
+ .sc(UpdateEventRule)
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 { de_UpdateNotificationConfigurationCommand, se_UpdateNotificationConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdateNotificationConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateNotificationConfigurationCommand 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", "UpdateNotificationConfiguration", {})
17
13
  .n("NotificationsClient", "UpdateNotificationConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateNotificationConfigurationCommand)
20
- .de(de_UpdateNotificationConfigurationCommand)
14
+ .sc(UpdateNotificationConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.notifications" }),
25
27
  serviceId: config?.serviceId ?? "Notifications",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,