@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,94 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListEmailContactsRequest, ListEmailContactsResponse } from "../models/models_0";
4
+ import { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListEmailContactsCommand}.
14
+ */
15
+ export interface ListEmailContactsCommandInput extends ListEmailContactsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListEmailContactsCommand}.
21
+ */
22
+ export interface ListEmailContactsCommandOutput extends ListEmailContactsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListEmailContactsCommand_base: {
25
+ new (input: ListEmailContactsCommandInput): import("@smithy/smithy-client").CommandImpl<ListEmailContactsCommandInput, ListEmailContactsCommandOutput, NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListEmailContactsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListEmailContactsCommandInput, ListEmailContactsCommandOutput, NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists all email contacts created under the Account.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NotificationsContactsClient, ListEmailContactsCommand } from "@aws-sdk/client-notificationscontacts"; // ES Modules import
35
+ * // const { NotificationsContactsClient, ListEmailContactsCommand } = require("@aws-sdk/client-notificationscontacts"); // CommonJS import
36
+ * const client = new NotificationsContactsClient(config);
37
+ * const input = { // ListEmailContactsRequest
38
+ * maxResults: Number("int"),
39
+ * nextToken: "STRING_VALUE",
40
+ * };
41
+ * const command = new ListEmailContactsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListEmailContactsResponse
44
+ * // nextToken: "STRING_VALUE",
45
+ * // emailContacts: [ // EmailContacts // required
46
+ * // { // EmailContact
47
+ * // arn: "STRING_VALUE", // required
48
+ * // name: "STRING_VALUE", // required
49
+ * // address: "STRING_VALUE", // required
50
+ * // status: "STRING_VALUE", // required
51
+ * // creationTime: new Date("TIMESTAMP"), // required
52
+ * // updateTime: new Date("TIMESTAMP"), // required
53
+ * // },
54
+ * // ],
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param ListEmailContactsCommandInput - {@link ListEmailContactsCommandInput}
60
+ * @returns {@link ListEmailContactsCommandOutput}
61
+ * @see {@link ListEmailContactsCommandInput} for command's `input` shape.
62
+ * @see {@link ListEmailContactsCommandOutput} for command's `response` shape.
63
+ * @see {@link NotificationsContactsClientResolvedConfig | config} for NotificationsContactsClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>You do not have sufficient access to perform this action.</p>
67
+ *
68
+ * @throws {@link InternalServerException} (server fault)
69
+ * <p>Unexpected error during processing of request.</p>
70
+ *
71
+ * @throws {@link ThrottlingException} (client fault)
72
+ * <p>The request was denied due to request throttling.</p>
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
76
+ *
77
+ * @throws {@link NotificationsContactsServiceException}
78
+ * <p>Base exception class for all service exceptions from NotificationsContacts service.</p>
79
+ *
80
+ * @public
81
+ */
82
+ export declare class ListEmailContactsCommand extends ListEmailContactsCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: ListEmailContactsRequest;
87
+ output: ListEmailContactsResponse;
88
+ };
89
+ sdk: {
90
+ input: ListEmailContactsCommandInput;
91
+ output: ListEmailContactsCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -0,0 +1,88 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
4
+ import { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTagsForResourceCommand}.
14
+ */
15
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTagsForResourceCommand}.
21
+ */
22
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const ListTagsForResourceCommand_base: {
25
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The resource can be a user, server, or role.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NotificationsContactsClient, ListTagsForResourceCommand } from "@aws-sdk/client-notificationscontacts"; // ES Modules import
35
+ * // const { NotificationsContactsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-notificationscontacts"); // CommonJS import
36
+ * const client = new NotificationsContactsClient(config);
37
+ * const input = { // ListTagsForResourceRequest
38
+ * arn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new ListTagsForResourceCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // ListTagsForResourceResponse
43
+ * // tags: { // TagMap
44
+ * // "<keys>": "STRING_VALUE",
45
+ * // },
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
51
+ * @returns {@link ListTagsForResourceCommandOutput}
52
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
53
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
54
+ * @see {@link NotificationsContactsClientResolvedConfig | config} for NotificationsContactsClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>You do not have sufficient access to perform this action.</p>
58
+ *
59
+ * @throws {@link InternalServerException} (server fault)
60
+ * <p>Unexpected error during processing of request.</p>
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p>Your request references a resource which does not exist. </p>
64
+ *
65
+ * @throws {@link ThrottlingException} (client fault)
66
+ * <p>The request was denied due to request throttling.</p>
67
+ *
68
+ * @throws {@link ValidationException} (client fault)
69
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
70
+ *
71
+ * @throws {@link NotificationsContactsServiceException}
72
+ * <p>Base exception class for all service exceptions from NotificationsContacts service.</p>
73
+ *
74
+ * @public
75
+ */
76
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
77
+ /** @internal type navigation helper, not in runtime. */
78
+ protected static __types: {
79
+ api: {
80
+ input: ListTagsForResourceRequest;
81
+ output: ListTagsForResourceResponse;
82
+ };
83
+ sdk: {
84
+ input: ListTagsForResourceCommandInput;
85
+ output: ListTagsForResourceCommandOutput;
86
+ };
87
+ };
88
+ }
@@ -0,0 +1,90 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { SendActivationCodeRequest, SendActivationCodeResponse } from "../models/models_0";
4
+ import { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link SendActivationCodeCommand}.
14
+ */
15
+ export interface SendActivationCodeCommandInput extends SendActivationCodeRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link SendActivationCodeCommand}.
21
+ */
22
+ export interface SendActivationCodeCommandOutput extends SendActivationCodeResponse, __MetadataBearer {
23
+ }
24
+ declare const SendActivationCodeCommand_base: {
25
+ new (input: SendActivationCodeCommandInput): import("@smithy/smithy-client").CommandImpl<SendActivationCodeCommandInput, SendActivationCodeCommandOutput, NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: SendActivationCodeCommandInput): import("@smithy/smithy-client").CommandImpl<SendActivationCodeCommandInput, SendActivationCodeCommandOutput, NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Sends an activation email to the email address associated with the specified email contact.</p>
31
+ * <note>
32
+ * <p>It might take a few minutes for the activation email to arrive. If it doesn't arrive, check in your spam folder or try sending another activation email.</p>
33
+ * </note>
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { NotificationsContactsClient, SendActivationCodeCommand } from "@aws-sdk/client-notificationscontacts"; // ES Modules import
38
+ * // const { NotificationsContactsClient, SendActivationCodeCommand } = require("@aws-sdk/client-notificationscontacts"); // CommonJS import
39
+ * const client = new NotificationsContactsClient(config);
40
+ * const input = { // SendActivationCodeRequest
41
+ * arn: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new SendActivationCodeCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param SendActivationCodeCommandInput - {@link SendActivationCodeCommandInput}
50
+ * @returns {@link SendActivationCodeCommandOutput}
51
+ * @see {@link SendActivationCodeCommandInput} for command's `input` shape.
52
+ * @see {@link SendActivationCodeCommandOutput} for command's `response` shape.
53
+ * @see {@link NotificationsContactsClientResolvedConfig | config} for NotificationsContactsClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>You do not have sufficient access to perform this action.</p>
57
+ *
58
+ * @throws {@link ConflictException} (client fault)
59
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * <p>Unexpected error during processing of request.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>Your request references a resource which does not exist. </p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>The request was denied due to request throttling.</p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
72
+ *
73
+ * @throws {@link NotificationsContactsServiceException}
74
+ * <p>Base exception class for all service exceptions from NotificationsContacts service.</p>
75
+ *
76
+ * @public
77
+ */
78
+ export declare class SendActivationCodeCommand extends SendActivationCodeCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: SendActivationCodeRequest;
83
+ output: {};
84
+ };
85
+ sdk: {
86
+ input: SendActivationCodeCommandInput;
87
+ output: SendActivationCodeCommandOutput;
88
+ };
89
+ };
90
+ }
@@ -0,0 +1,87 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
4
+ import { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TagResourceCommand}.
14
+ */
15
+ export interface TagResourceCommandInput extends TagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TagResourceCommand}.
21
+ */
22
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const TagResourceCommand_base: {
25
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN). Taggable resources in AWS User Notifications Contacts include email contacts.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NotificationsContactsClient, TagResourceCommand } from "@aws-sdk/client-notificationscontacts"; // ES Modules import
35
+ * // const { NotificationsContactsClient, TagResourceCommand } = require("@aws-sdk/client-notificationscontacts"); // CommonJS import
36
+ * const client = new NotificationsContactsClient(config);
37
+ * const input = { // TagResourceRequest
38
+ * arn: "STRING_VALUE", // required
39
+ * tags: { // TagMap // required
40
+ * "<keys>": "STRING_VALUE",
41
+ * },
42
+ * };
43
+ * const command = new TagResourceCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
50
+ * @returns {@link TagResourceCommandOutput}
51
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
52
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
53
+ * @see {@link NotificationsContactsClientResolvedConfig | config} for NotificationsContactsClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>You do not have sufficient access to perform this action.</p>
57
+ *
58
+ * @throws {@link InternalServerException} (server fault)
59
+ * <p>Unexpected error during processing of request.</p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>Your request references a resource which does not exist. </p>
63
+ *
64
+ * @throws {@link ThrottlingException} (client fault)
65
+ * <p>The request was denied due to request throttling.</p>
66
+ *
67
+ * @throws {@link ValidationException} (client fault)
68
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
69
+ *
70
+ * @throws {@link NotificationsContactsServiceException}
71
+ * <p>Base exception class for all service exceptions from NotificationsContacts service.</p>
72
+ *
73
+ * @public
74
+ */
75
+ export declare class TagResourceCommand extends TagResourceCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: TagResourceRequest;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: TagResourceCommandInput;
84
+ output: TagResourceCommandOutput;
85
+ };
86
+ };
87
+ }
@@ -0,0 +1,87 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
4
+ import { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UntagResourceCommand}.
14
+ */
15
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UntagResourceCommand}.
21
+ */
22
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const UntagResourceCommand_base: {
25
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Detaches a key-value pair from a resource, as identified by its Amazon Resource Name (ARN). Taggable resources in AWS User Notifications Contacts include email contacts..</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NotificationsContactsClient, UntagResourceCommand } from "@aws-sdk/client-notificationscontacts"; // ES Modules import
35
+ * // const { NotificationsContactsClient, UntagResourceCommand } = require("@aws-sdk/client-notificationscontacts"); // CommonJS import
36
+ * const client = new NotificationsContactsClient(config);
37
+ * const input = { // UntagResourceRequest
38
+ * arn: "STRING_VALUE", // required
39
+ * tagKeys: [ // TagKeys // required
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * };
43
+ * const command = new UntagResourceCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
50
+ * @returns {@link UntagResourceCommandOutput}
51
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
52
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
53
+ * @see {@link NotificationsContactsClientResolvedConfig | config} for NotificationsContactsClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>You do not have sufficient access to perform this action.</p>
57
+ *
58
+ * @throws {@link InternalServerException} (server fault)
59
+ * <p>Unexpected error during processing of request.</p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>Your request references a resource which does not exist. </p>
63
+ *
64
+ * @throws {@link ThrottlingException} (client fault)
65
+ * <p>The request was denied due to request throttling.</p>
66
+ *
67
+ * @throws {@link ValidationException} (client fault)
68
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
69
+ *
70
+ * @throws {@link NotificationsContactsServiceException}
71
+ * <p>Base exception class for all service exceptions from NotificationsContacts service.</p>
72
+ *
73
+ * @public
74
+ */
75
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: UntagResourceRequest;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: UntagResourceCommandInput;
84
+ output: UntagResourceCommandOutput;
85
+ };
86
+ };
87
+ }
@@ -0,0 +1,9 @@
1
+ export * from "./ActivateEmailContactCommand";
2
+ export * from "./CreateEmailContactCommand";
3
+ export * from "./DeleteEmailContactCommand";
4
+ export * from "./GetEmailContactCommand";
5
+ export * from "./ListEmailContactsCommand";
6
+ export * from "./ListTagsForResourceCommand";
7
+ export * from "./SendActivationCodeCommand";
8
+ export * from "./TagResourceCommand";
9
+ export * from "./UntagResourceCommand";
@@ -0,0 +1,34 @@
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ useFipsEndpoint?: boolean | Provider<boolean>;
7
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
8
+ region?: string | Provider<string>;
9
+ }
10
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
11
+ defaultSigningName: string;
12
+ };
13
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
14
+ defaultSigningName: string;
15
+ };
16
+ export declare const commonParams: {
17
+ readonly UseFIPS: {
18
+ readonly type: "builtInParams";
19
+ readonly name: "useFipsEndpoint";
20
+ };
21
+ readonly Endpoint: {
22
+ readonly type: "builtInParams";
23
+ readonly name: "endpoint";
24
+ };
25
+ readonly Region: {
26
+ readonly type: "builtInParams";
27
+ readonly name: "region";
28
+ };
29
+ };
30
+ export interface EndpointParameters extends __EndpointParameters {
31
+ UseFIPS?: boolean;
32
+ Endpoint?: string;
33
+ Region?: string;
34
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,9 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ /**
6
+ * @internal
7
+ */
8
+ export interface NotificationsContactsExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
9
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * <p>AWS User Notifications Contacts is a service that allows you to create and manage email contacts for AWS User Notifications. The AWS User Notifications Contacts API Reference provides descriptions, API request parameters, and the JSON response for all email contact related API actions.</p>
3
+ *
4
+ * @packageDocumentation
5
+ */
6
+ export * from "./NotificationsContactsClient";
7
+ export * from "./NotificationsContacts";
8
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
+ export type { RuntimeExtension } from "./runtimeExtensions";
10
+ export type { NotificationsContactsExtensionConfiguration } from "./extensionConfiguration";
11
+ export * from "./commands";
12
+ export * from "./pagination";
13
+ export * from "./models";
14
+ export { NotificationsContactsServiceException } from "./models/NotificationsContactsServiceException";
@@ -0,0 +1,14 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from NotificationsContacts service.
8
+ */
9
+ export declare class NotificationsContactsServiceException extends __ServiceException {
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(options: __ServiceExceptionOptions);
14
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";