@aws-sdk/client-notificationscontacts 3.698.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +277 -0
  3. package/dist-cjs/NotificationsContacts.js +29 -0
  4. package/dist-cjs/NotificationsContactsClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/ActivateEmailContactCommand.js +27 -0
  8. package/dist-cjs/commands/CreateEmailContactCommand.js +27 -0
  9. package/dist-cjs/commands/DeleteEmailContactCommand.js +26 -0
  10. package/dist-cjs/commands/GetEmailContactCommand.js +27 -0
  11. package/dist-cjs/commands/ListEmailContactsCommand.js +27 -0
  12. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  13. package/dist-cjs/commands/SendActivationCodeCommand.js +26 -0
  14. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  15. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  16. package/dist-cjs/commands/index.js +12 -0
  17. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  18. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  19. package/dist-cjs/endpoint/ruleset.js +7 -0
  20. package/dist-cjs/extensionConfiguration.js +2 -0
  21. package/dist-cjs/index.js +11 -0
  22. package/dist-cjs/models/NotificationsContactsServiceException.js +12 -0
  23. package/dist-cjs/models/index.js +4 -0
  24. package/dist-cjs/models/models_0.js +147 -0
  25. package/dist-cjs/pagination/Interfaces.js +2 -0
  26. package/dist-cjs/pagination/ListEmailContactsPaginator.js +7 -0
  27. package/dist-cjs/pagination/index.js +5 -0
  28. package/dist-cjs/protocols/Aws_restJson1.js +405 -0
  29. package/dist-cjs/runtimeConfig.browser.js +39 -0
  30. package/dist-cjs/runtimeConfig.js +50 -0
  31. package/dist-cjs/runtimeConfig.native.js +15 -0
  32. package/dist-cjs/runtimeConfig.shared.js +34 -0
  33. package/dist-cjs/runtimeExtensions.js +25 -0
  34. package/dist-es/NotificationsContacts.js +25 -0
  35. package/dist-es/NotificationsContactsClient.js +46 -0
  36. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  37. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  38. package/dist-es/commands/ActivateEmailContactCommand.js +23 -0
  39. package/dist-es/commands/CreateEmailContactCommand.js +23 -0
  40. package/dist-es/commands/DeleteEmailContactCommand.js +22 -0
  41. package/dist-es/commands/GetEmailContactCommand.js +23 -0
  42. package/dist-es/commands/ListEmailContactsCommand.js +23 -0
  43. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  44. package/dist-es/commands/SendActivationCodeCommand.js +22 -0
  45. package/dist-es/commands/TagResourceCommand.js +22 -0
  46. package/dist-es/commands/UntagResourceCommand.js +22 -0
  47. package/dist-es/commands/index.js +9 -0
  48. package/dist-es/endpoint/EndpointParameters.js +12 -0
  49. package/dist-es/endpoint/endpointResolver.js +14 -0
  50. package/dist-es/endpoint/ruleset.js +4 -0
  51. package/dist-es/extensionConfiguration.js +1 -0
  52. package/dist-es/index.js +6 -0
  53. package/dist-es/models/NotificationsContactsServiceException.js +8 -0
  54. package/dist-es/models/index.js +1 -0
  55. package/dist-es/models/models_0.js +132 -0
  56. package/dist-es/pagination/Interfaces.js +1 -0
  57. package/dist-es/pagination/ListEmailContactsPaginator.js +4 -0
  58. package/dist-es/pagination/index.js +2 -0
  59. package/dist-es/protocols/Aws_restJson1.js +384 -0
  60. package/dist-es/runtimeConfig.browser.js +34 -0
  61. package/dist-es/runtimeConfig.js +45 -0
  62. package/dist-es/runtimeConfig.native.js +11 -0
  63. package/dist-es/runtimeConfig.shared.js +30 -0
  64. package/dist-es/runtimeExtensions.js +21 -0
  65. package/dist-types/NotificationsContacts.d.ts +74 -0
  66. package/dist-types/NotificationsContactsClient.d.ts +178 -0
  67. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  68. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  69. package/dist-types/commands/ActivateEmailContactCommand.d.ts +88 -0
  70. package/dist-types/commands/CreateEmailContactCommand.d.ts +93 -0
  71. package/dist-types/commands/DeleteEmailContactCommand.d.ts +90 -0
  72. package/dist-types/commands/GetEmailContactCommand.d.ts +93 -0
  73. package/dist-types/commands/ListEmailContactsCommand.d.ts +94 -0
  74. package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
  75. package/dist-types/commands/SendActivationCodeCommand.d.ts +90 -0
  76. package/dist-types/commands/TagResourceCommand.d.ts +87 -0
  77. package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
  78. package/dist-types/commands/index.d.ts +9 -0
  79. package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
  80. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  81. package/dist-types/endpoint/ruleset.d.ts +2 -0
  82. package/dist-types/extensionConfiguration.d.ts +9 -0
  83. package/dist-types/index.d.ts +14 -0
  84. package/dist-types/models/NotificationsContactsServiceException.d.ts +14 -0
  85. package/dist-types/models/index.d.ts +1 -0
  86. package/dist-types/models/models_0.d.ts +445 -0
  87. package/dist-types/pagination/Interfaces.d.ts +8 -0
  88. package/dist-types/pagination/ListEmailContactsPaginator.d.ts +7 -0
  89. package/dist-types/pagination/index.d.ts +2 -0
  90. package/dist-types/protocols/Aws_restJson1.d.ts +83 -0
  91. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  92. package/dist-types/runtimeConfig.d.ts +48 -0
  93. package/dist-types/runtimeConfig.native.d.ts +47 -0
  94. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  95. package/dist-types/runtimeExtensions.d.ts +17 -0
  96. package/dist-types/ts3.4/NotificationsContacts.d.ts +161 -0
  97. package/dist-types/ts3.4/NotificationsContactsClient.d.ts +175 -0
  98. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  99. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  100. package/dist-types/ts3.4/commands/ActivateEmailContactCommand.d.ts +51 -0
  101. package/dist-types/ts3.4/commands/CreateEmailContactCommand.d.ts +51 -0
  102. package/dist-types/ts3.4/commands/DeleteEmailContactCommand.d.ts +51 -0
  103. package/dist-types/ts3.4/commands/GetEmailContactCommand.d.ts +50 -0
  104. package/dist-types/ts3.4/commands/ListEmailContactsCommand.d.ts +51 -0
  105. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  106. package/dist-types/ts3.4/commands/SendActivationCodeCommand.d.ts +51 -0
  107. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  108. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  109. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  110. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  111. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  112. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  113. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  114. package/dist-types/ts3.4/index.d.ts +9 -0
  115. package/dist-types/ts3.4/models/NotificationsContactsServiceException.d.ts +9 -0
  116. package/dist-types/ts3.4/models/index.d.ts +1 -0
  117. package/dist-types/ts3.4/models/models_0.d.ts +154 -0
  118. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  119. package/dist-types/ts3.4/pagination/ListEmailContactsPaginator.d.ts +11 -0
  120. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  121. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +113 -0
  122. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
  123. package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
  124. package/dist-types/ts3.4/runtimeConfig.native.d.ts +89 -0
  125. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  126. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  127. package/package.json +101 -0
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ActivateEmailContactCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
+ class ActivateEmailContactCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep(EndpointParameters_1.commonParams)
14
+ .m(function (Command, cs, config, o) {
15
+ return [
16
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
+ ];
19
+ })
20
+ .s("NotificationsContacts", "ActivateEmailContact", {})
21
+ .n("NotificationsContactsClient", "ActivateEmailContactCommand")
22
+ .f(models_0_1.ActivateEmailContactRequestFilterSensitiveLog, void 0)
23
+ .ser(Aws_restJson1_1.se_ActivateEmailContactCommand)
24
+ .de(Aws_restJson1_1.de_ActivateEmailContactCommand)
25
+ .build() {
26
+ }
27
+ exports.ActivateEmailContactCommand = ActivateEmailContactCommand;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateEmailContactCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
+ class CreateEmailContactCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep(EndpointParameters_1.commonParams)
14
+ .m(function (Command, cs, config, o) {
15
+ return [
16
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
+ ];
19
+ })
20
+ .s("NotificationsContacts", "CreateEmailContact", {})
21
+ .n("NotificationsContactsClient", "CreateEmailContactCommand")
22
+ .f(models_0_1.CreateEmailContactRequestFilterSensitiveLog, void 0)
23
+ .ser(Aws_restJson1_1.se_CreateEmailContactCommand)
24
+ .de(Aws_restJson1_1.de_CreateEmailContactCommand)
25
+ .build() {
26
+ }
27
+ exports.CreateEmailContactCommand = CreateEmailContactCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteEmailContactCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class DeleteEmailContactCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("NotificationsContacts", "DeleteEmailContact", {})
20
+ .n("NotificationsContactsClient", "DeleteEmailContactCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_DeleteEmailContactCommand)
23
+ .de(Aws_restJson1_1.de_DeleteEmailContactCommand)
24
+ .build() {
25
+ }
26
+ exports.DeleteEmailContactCommand = DeleteEmailContactCommand;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetEmailContactCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
+ class GetEmailContactCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep(EndpointParameters_1.commonParams)
14
+ .m(function (Command, cs, config, o) {
15
+ return [
16
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
+ ];
19
+ })
20
+ .s("NotificationsContacts", "GetEmailContact", {})
21
+ .n("NotificationsContactsClient", "GetEmailContactCommand")
22
+ .f(void 0, models_0_1.GetEmailContactResponseFilterSensitiveLog)
23
+ .ser(Aws_restJson1_1.se_GetEmailContactCommand)
24
+ .de(Aws_restJson1_1.de_GetEmailContactCommand)
25
+ .build() {
26
+ }
27
+ exports.GetEmailContactCommand = GetEmailContactCommand;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListEmailContactsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
+ class ListEmailContactsCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep(EndpointParameters_1.commonParams)
14
+ .m(function (Command, cs, config, o) {
15
+ return [
16
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
+ ];
19
+ })
20
+ .s("NotificationsContacts", "ListEmailContacts", {})
21
+ .n("NotificationsContactsClient", "ListEmailContactsCommand")
22
+ .f(void 0, models_0_1.ListEmailContactsResponseFilterSensitiveLog)
23
+ .ser(Aws_restJson1_1.se_ListEmailContactsCommand)
24
+ .de(Aws_restJson1_1.de_ListEmailContactsCommand)
25
+ .build() {
26
+ }
27
+ exports.ListEmailContactsCommand = ListEmailContactsCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTagsForResourceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListTagsForResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("NotificationsContacts", "ListTagsForResource", {})
20
+ .n("NotificationsContactsClient", "ListTagsForResourceCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_ListTagsForResourceCommand)
23
+ .de(Aws_restJson1_1.de_ListTagsForResourceCommand)
24
+ .build() {
25
+ }
26
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SendActivationCodeCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class SendActivationCodeCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("NotificationsContacts", "SendActivationCode", {})
20
+ .n("NotificationsContactsClient", "SendActivationCodeCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_SendActivationCodeCommand)
23
+ .de(Aws_restJson1_1.de_SendActivationCodeCommand)
24
+ .build() {
25
+ }
26
+ exports.SendActivationCodeCommand = SendActivationCodeCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TagResourceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class TagResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("NotificationsContacts", "TagResource", {})
20
+ .n("NotificationsContactsClient", "TagResourceCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_TagResourceCommand)
23
+ .de(Aws_restJson1_1.de_TagResourceCommand)
24
+ .build() {
25
+ }
26
+ exports.TagResourceCommand = TagResourceCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UntagResourceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class UntagResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("NotificationsContacts", "UntagResource", {})
20
+ .n("NotificationsContactsClient", "UntagResourceCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_UntagResourceCommand)
23
+ .de(Aws_restJson1_1.de_UntagResourceCommand)
24
+ .build() {
25
+ }
26
+ exports.UntagResourceCommand = UntagResourceCommand;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./ActivateEmailContactCommand"), exports);
5
+ tslib_1.__exportStar(require("./CreateEmailContactCommand"), exports);
6
+ tslib_1.__exportStar(require("./DeleteEmailContactCommand"), exports);
7
+ tslib_1.__exportStar(require("./GetEmailContactCommand"), exports);
8
+ tslib_1.__exportStar(require("./ListEmailContactsCommand"), exports);
9
+ tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
10
+ tslib_1.__exportStar(require("./SendActivationCodeCommand"), exports);
11
+ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
12
+ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
+ const resolveClientEndpointParameters = (options) => {
5
+ return {
6
+ ...options,
7
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
8
+ defaultSigningName: "notifications-contacts",
9
+ };
10
+ };
11
+ exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
12
+ exports.commonParams = {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ };
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defaultEndpointResolver = void 0;
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
6
+ const ruleset_1 = require("./ruleset");
7
+ const cache = new util_endpoints_2.EndpointCache({
8
+ size: 50,
9
+ params: ["Endpoint", "Region", "UseFIPS"],
10
+ });
11
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
12
+ return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
13
+ endpointParams: endpointParams,
14
+ logger: context.logger,
15
+ }));
16
+ };
17
+ exports.defaultEndpointResolver = defaultEndpointResolver;
18
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ruleSet = void 0;
4
+ const l = "ref";
5
+ const a = true, b = false, c = "isSet", d = "error", e = "endpoint", f = "tree", g = { "required": false, "type": "String" }, h = { [l]: "Endpoint" }, i = { "authSchemes": [{ "name": "sigv4", "signingRegion": "{PartitionResult#implicitGlobalRegion}" }] }, j = [{ "fn": "booleanEquals", "argv": [{ [l]: "UseFIPS" }, true] }], k = [{ [l]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { UseFIPS: { required: a, default: b, type: "Boolean" }, Endpoint: g, Region: g }, rules: [{ conditions: [{ fn: c, argv: [h] }], rules: [{ conditions: j, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { endpoint: { url: h, properties: {}, headers: {} }, type: e }], type: f }, { rules: [{ conditions: [{ fn: c, argv: k }], rules: [{ conditions: [{ fn: "aws.partition", argv: k, assign: "PartitionResult" }], rules: [{ conditions: j, endpoint: { url: "https://notifications-contacts-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: {} }, type: e }, { endpoint: { url: "https://notifications-contacts.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: {} }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
7
+ exports.ruleSet = _data;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NotificationsContactsServiceException = void 0;
4
+ const tslib_1 = require("tslib");
5
+ tslib_1.__exportStar(require("./NotificationsContactsClient"), exports);
6
+ tslib_1.__exportStar(require("./NotificationsContacts"), exports);
7
+ tslib_1.__exportStar(require("./commands"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
9
+ tslib_1.__exportStar(require("./models"), exports);
10
+ var NotificationsContactsServiceException_1 = require("./models/NotificationsContactsServiceException");
11
+ Object.defineProperty(exports, "NotificationsContactsServiceException", { enumerable: true, get: function () { return NotificationsContactsServiceException_1.NotificationsContactsServiceException; } });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NotificationsContactsServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class NotificationsContactsServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, NotificationsContactsServiceException.prototype);
10
+ }
11
+ }
12
+ exports.NotificationsContactsServiceException = NotificationsContactsServiceException;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./models_0"), exports);
@@ -0,0 +1,147 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListEmailContactsResponseFilterSensitiveLog = exports.GetEmailContactResponseFilterSensitiveLog = exports.EmailContactFilterSensitiveLog = exports.CreateEmailContactRequestFilterSensitiveLog = exports.ActivateEmailContactRequestFilterSensitiveLog = exports.EmailContactStatus = exports.ServiceQuotaExceededException = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ const NotificationsContactsServiceException_1 = require("./NotificationsContactsServiceException");
6
+ class AccessDeniedException extends NotificationsContactsServiceException_1.NotificationsContactsServiceException {
7
+ constructor(opts) {
8
+ super({
9
+ name: "AccessDeniedException",
10
+ $fault: "client",
11
+ ...opts,
12
+ });
13
+ this.name = "AccessDeniedException";
14
+ this.$fault = "client";
15
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
+ }
17
+ }
18
+ exports.AccessDeniedException = AccessDeniedException;
19
+ class ConflictException extends NotificationsContactsServiceException_1.NotificationsContactsServiceException {
20
+ constructor(opts) {
21
+ super({
22
+ name: "ConflictException",
23
+ $fault: "client",
24
+ ...opts,
25
+ });
26
+ this.name = "ConflictException";
27
+ this.$fault = "client";
28
+ Object.setPrototypeOf(this, ConflictException.prototype);
29
+ this.resourceId = opts.resourceId;
30
+ this.resourceType = opts.resourceType;
31
+ }
32
+ }
33
+ exports.ConflictException = ConflictException;
34
+ class InternalServerException extends NotificationsContactsServiceException_1.NotificationsContactsServiceException {
35
+ constructor(opts) {
36
+ super({
37
+ name: "InternalServerException",
38
+ $fault: "server",
39
+ ...opts,
40
+ });
41
+ this.name = "InternalServerException";
42
+ this.$fault = "server";
43
+ this.$retryable = {};
44
+ Object.setPrototypeOf(this, InternalServerException.prototype);
45
+ }
46
+ }
47
+ exports.InternalServerException = InternalServerException;
48
+ class ResourceNotFoundException extends NotificationsContactsServiceException_1.NotificationsContactsServiceException {
49
+ constructor(opts) {
50
+ super({
51
+ name: "ResourceNotFoundException",
52
+ $fault: "client",
53
+ ...opts,
54
+ });
55
+ this.name = "ResourceNotFoundException";
56
+ this.$fault = "client";
57
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
58
+ this.resourceId = opts.resourceId;
59
+ this.resourceType = opts.resourceType;
60
+ }
61
+ }
62
+ exports.ResourceNotFoundException = ResourceNotFoundException;
63
+ class ThrottlingException extends NotificationsContactsServiceException_1.NotificationsContactsServiceException {
64
+ constructor(opts) {
65
+ super({
66
+ name: "ThrottlingException",
67
+ $fault: "client",
68
+ ...opts,
69
+ });
70
+ this.name = "ThrottlingException";
71
+ this.$fault = "client";
72
+ this.$retryable = {
73
+ throttling: true,
74
+ };
75
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
76
+ this.serviceCode = opts.serviceCode;
77
+ this.quotaCode = opts.quotaCode;
78
+ this.retryAfterSeconds = opts.retryAfterSeconds;
79
+ }
80
+ }
81
+ exports.ThrottlingException = ThrottlingException;
82
+ exports.ValidationExceptionReason = {
83
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
84
+ OTHER: "other",
85
+ };
86
+ class ValidationException extends NotificationsContactsServiceException_1.NotificationsContactsServiceException {
87
+ constructor(opts) {
88
+ super({
89
+ name: "ValidationException",
90
+ $fault: "client",
91
+ ...opts,
92
+ });
93
+ this.name = "ValidationException";
94
+ this.$fault = "client";
95
+ Object.setPrototypeOf(this, ValidationException.prototype);
96
+ this.reason = opts.reason;
97
+ this.fieldList = opts.fieldList;
98
+ }
99
+ }
100
+ exports.ValidationException = ValidationException;
101
+ class ServiceQuotaExceededException extends NotificationsContactsServiceException_1.NotificationsContactsServiceException {
102
+ constructor(opts) {
103
+ super({
104
+ name: "ServiceQuotaExceededException",
105
+ $fault: "client",
106
+ ...opts,
107
+ });
108
+ this.name = "ServiceQuotaExceededException";
109
+ this.$fault = "client";
110
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
111
+ this.resourceId = opts.resourceId;
112
+ this.resourceType = opts.resourceType;
113
+ this.serviceCode = opts.serviceCode;
114
+ this.quotaCode = opts.quotaCode;
115
+ }
116
+ }
117
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
118
+ exports.EmailContactStatus = {
119
+ ACTIVE: "active",
120
+ INACTIVE: "inactive",
121
+ };
122
+ const ActivateEmailContactRequestFilterSensitiveLog = (obj) => ({
123
+ ...obj,
124
+ ...(obj.code && { code: smithy_client_1.SENSITIVE_STRING }),
125
+ });
126
+ exports.ActivateEmailContactRequestFilterSensitiveLog = ActivateEmailContactRequestFilterSensitiveLog;
127
+ const CreateEmailContactRequestFilterSensitiveLog = (obj) => ({
128
+ ...obj,
129
+ ...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
130
+ });
131
+ exports.CreateEmailContactRequestFilterSensitiveLog = CreateEmailContactRequestFilterSensitiveLog;
132
+ const EmailContactFilterSensitiveLog = (obj) => ({
133
+ ...obj,
134
+ ...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
135
+ ...(obj.address && { address: smithy_client_1.SENSITIVE_STRING }),
136
+ });
137
+ exports.EmailContactFilterSensitiveLog = EmailContactFilterSensitiveLog;
138
+ const GetEmailContactResponseFilterSensitiveLog = (obj) => ({
139
+ ...obj,
140
+ ...(obj.emailContact && { emailContact: (0, exports.EmailContactFilterSensitiveLog)(obj.emailContact) }),
141
+ });
142
+ exports.GetEmailContactResponseFilterSensitiveLog = GetEmailContactResponseFilterSensitiveLog;
143
+ const ListEmailContactsResponseFilterSensitiveLog = (obj) => ({
144
+ ...obj,
145
+ ...(obj.emailContacts && { emailContacts: obj.emailContacts.map((item) => (0, exports.EmailContactFilterSensitiveLog)(item)) }),
146
+ });
147
+ exports.ListEmailContactsResponseFilterSensitiveLog = ListEmailContactsResponseFilterSensitiveLog;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListEmailContacts = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const ListEmailContactsCommand_1 = require("../commands/ListEmailContactsCommand");
6
+ const NotificationsContactsClient_1 = require("../NotificationsContactsClient");
7
+ exports.paginateListEmailContacts = (0, core_1.createPaginator)(NotificationsContactsClient_1.NotificationsContactsClient, ListEmailContactsCommand_1.ListEmailContactsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./Interfaces"), exports);
5
+ tslib_1.__exportStar(require("./ListEmailContactsPaginator"), exports);