@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,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetEmailContactRequest,
5
+ GetEmailContactResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ NotificationsContactsClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../NotificationsContactsClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetEmailContactCommandInput extends GetEmailContactRequest {}
15
+ export interface GetEmailContactCommandOutput
16
+ extends GetEmailContactResponse,
17
+ __MetadataBearer {}
18
+ declare const GetEmailContactCommand_base: {
19
+ new (
20
+ input: GetEmailContactCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ GetEmailContactCommandInput,
23
+ GetEmailContactCommandOutput,
24
+ NotificationsContactsClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: GetEmailContactCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GetEmailContactCommandInput,
32
+ GetEmailContactCommandOutput,
33
+ NotificationsContactsClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class GetEmailContactCommand extends GetEmailContactCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: GetEmailContactRequest;
43
+ output: GetEmailContactResponse;
44
+ };
45
+ sdk: {
46
+ input: GetEmailContactCommandInput;
47
+ output: GetEmailContactCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ListEmailContactsRequest,
5
+ ListEmailContactsResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ NotificationsContactsClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../NotificationsContactsClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListEmailContactsCommandInput
15
+ extends ListEmailContactsRequest {}
16
+ export interface ListEmailContactsCommandOutput
17
+ extends ListEmailContactsResponse,
18
+ __MetadataBearer {}
19
+ declare const ListEmailContactsCommand_base: {
20
+ new (
21
+ input: ListEmailContactsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListEmailContactsCommandInput,
24
+ ListEmailContactsCommandOutput,
25
+ NotificationsContactsClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [ListEmailContactsCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListEmailContactsCommandInput,
33
+ ListEmailContactsCommandOutput,
34
+ NotificationsContactsClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListEmailContactsCommand extends ListEmailContactsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ListEmailContactsRequest;
44
+ output: ListEmailContactsResponse;
45
+ };
46
+ sdk: {
47
+ input: ListEmailContactsCommandInput;
48
+ output: ListEmailContactsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ListTagsForResourceRequest,
5
+ ListTagsForResourceResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ NotificationsContactsClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../NotificationsContactsClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListTagsForResourceCommandInput
15
+ extends ListTagsForResourceRequest {}
16
+ export interface ListTagsForResourceCommandOutput
17
+ extends ListTagsForResourceResponse,
18
+ __MetadataBearer {}
19
+ declare const ListTagsForResourceCommand_base: {
20
+ new (
21
+ input: ListTagsForResourceCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListTagsForResourceCommandInput,
24
+ ListTagsForResourceCommandOutput,
25
+ NotificationsContactsClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: ListTagsForResourceCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListTagsForResourceCommandInput,
33
+ ListTagsForResourceCommandOutput,
34
+ NotificationsContactsClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ListTagsForResourceRequest;
44
+ output: ListTagsForResourceResponse;
45
+ };
46
+ sdk: {
47
+ input: ListTagsForResourceCommandInput;
48
+ output: ListTagsForResourceCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ SendActivationCodeRequest,
5
+ SendActivationCodeResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ NotificationsContactsClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../NotificationsContactsClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface SendActivationCodeCommandInput
15
+ extends SendActivationCodeRequest {}
16
+ export interface SendActivationCodeCommandOutput
17
+ extends SendActivationCodeResponse,
18
+ __MetadataBearer {}
19
+ declare const SendActivationCodeCommand_base: {
20
+ new (
21
+ input: SendActivationCodeCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ SendActivationCodeCommandInput,
24
+ SendActivationCodeCommandOutput,
25
+ NotificationsContactsClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: SendActivationCodeCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ SendActivationCodeCommandInput,
33
+ SendActivationCodeCommandOutput,
34
+ NotificationsContactsClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class SendActivationCodeCommand extends SendActivationCodeCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: SendActivationCodeRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: SendActivationCodeCommandInput;
48
+ output: SendActivationCodeCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,47 @@
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 {
5
+ NotificationsContactsClientResolvedConfig,
6
+ ServiceInputTypes,
7
+ ServiceOutputTypes,
8
+ } from "../NotificationsContactsClient";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface TagResourceCommandInput extends TagResourceRequest {}
12
+ export interface TagResourceCommandOutput
13
+ extends TagResourceResponse,
14
+ __MetadataBearer {}
15
+ declare const TagResourceCommand_base: {
16
+ new (
17
+ input: TagResourceCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ TagResourceCommandInput,
20
+ TagResourceCommandOutput,
21
+ NotificationsContactsClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ __0_0: TagResourceCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ TagResourceCommandInput,
29
+ TagResourceCommandOutput,
30
+ NotificationsContactsClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class TagResourceCommand extends TagResourceCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: TagResourceRequest;
40
+ output: {};
41
+ };
42
+ sdk: {
43
+ input: TagResourceCommandInput;
44
+ output: TagResourceCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ UntagResourceRequest,
5
+ UntagResourceResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ NotificationsContactsClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../NotificationsContactsClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UntagResourceCommandInput extends UntagResourceRequest {}
15
+ export interface UntagResourceCommandOutput
16
+ extends UntagResourceResponse,
17
+ __MetadataBearer {}
18
+ declare const UntagResourceCommand_base: {
19
+ new (
20
+ input: UntagResourceCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ UntagResourceCommandInput,
23
+ UntagResourceCommandOutput,
24
+ NotificationsContactsClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: UntagResourceCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ UntagResourceCommandInput,
32
+ UntagResourceCommandOutput,
33
+ NotificationsContactsClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: UntagResourceRequest;
43
+ output: {};
44
+ };
45
+ sdk: {
46
+ input: UntagResourceCommandInput;
47
+ output: UntagResourceCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -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,45 @@
1
+ import {
2
+ Endpoint,
3
+ EndpointParameters as __EndpointParameters,
4
+ EndpointV2,
5
+ Provider,
6
+ } from "@smithy/types";
7
+ export interface ClientInputEndpointParameters {
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?:
10
+ | string
11
+ | Provider<string>
12
+ | Endpoint
13
+ | Provider<Endpoint>
14
+ | EndpointV2
15
+ | Provider<EndpointV2>;
16
+ region?: string | Provider<string>;
17
+ }
18
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
19
+ defaultSigningName: string;
20
+ };
21
+ export declare const resolveClientEndpointParameters: <T>(
22
+ options: T & ClientInputEndpointParameters
23
+ ) => T &
24
+ ClientInputEndpointParameters & {
25
+ defaultSigningName: string;
26
+ };
27
+ export declare const commonParams: {
28
+ readonly UseFIPS: {
29
+ readonly type: "builtInParams";
30
+ readonly name: "useFipsEndpoint";
31
+ };
32
+ readonly Endpoint: {
33
+ readonly type: "builtInParams";
34
+ readonly name: "endpoint";
35
+ };
36
+ readonly Region: {
37
+ readonly type: "builtInParams";
38
+ readonly name: "region";
39
+ };
40
+ };
41
+ export interface EndpointParameters extends __EndpointParameters {
42
+ UseFIPS?: boolean;
43
+ Endpoint?: string;
44
+ Region?: string;
45
+ }
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => 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
+ export interface NotificationsContactsExtensionConfiguration
6
+ extends HttpHandlerExtensionConfiguration,
7
+ DefaultExtensionConfiguration,
8
+ AwsRegionExtensionConfiguration,
9
+ HttpAuthExtensionConfiguration {}
@@ -0,0 +1,9 @@
1
+ export * from "./NotificationsContactsClient";
2
+ export * from "./NotificationsContacts";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
+ export { RuntimeExtension } from "./runtimeExtensions";
5
+ export { NotificationsContactsExtensionConfiguration } from "./extensionConfiguration";
6
+ export * from "./commands";
7
+ export * from "./pagination";
8
+ export * from "./models";
9
+ export { NotificationsContactsServiceException } from "./models/NotificationsContactsServiceException";
@@ -0,0 +1,9 @@
1
+ import {
2
+ ServiceException as __ServiceException,
3
+ ServiceExceptionOptions as __ServiceExceptionOptions,
4
+ } from "@smithy/smithy-client";
5
+ export { __ServiceExceptionOptions };
6
+ export { __ServiceException };
7
+ export declare class NotificationsContactsServiceException extends __ServiceException {
8
+ constructor(options: __ServiceExceptionOptions);
9
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,154 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { NotificationsContactsServiceException as __BaseException } from "./NotificationsContactsServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
+ );
9
+ }
10
+ export interface ActivateEmailContactRequest {
11
+ arn: string | undefined;
12
+ code: string | undefined;
13
+ }
14
+ export interface ActivateEmailContactResponse {}
15
+ export declare class ConflictException extends __BaseException {
16
+ readonly name: "ConflictException";
17
+ readonly $fault: "client";
18
+ resourceId: string | undefined;
19
+ resourceType: string | undefined;
20
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
21
+ }
22
+ export declare class InternalServerException extends __BaseException {
23
+ readonly name: "InternalServerException";
24
+ readonly $fault: "server";
25
+ $retryable: {};
26
+ constructor(
27
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
28
+ );
29
+ }
30
+ export declare class ResourceNotFoundException extends __BaseException {
31
+ readonly name: "ResourceNotFoundException";
32
+ readonly $fault: "client";
33
+ resourceId: string | undefined;
34
+ resourceType: string | undefined;
35
+ constructor(
36
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
37
+ );
38
+ }
39
+ export declare class ThrottlingException extends __BaseException {
40
+ readonly name: "ThrottlingException";
41
+ readonly $fault: "client";
42
+ $retryable: {
43
+ throttling: boolean;
44
+ };
45
+ serviceCode?: string | undefined;
46
+ quotaCode?: string | undefined;
47
+ retryAfterSeconds?: number | undefined;
48
+ constructor(
49
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
50
+ );
51
+ }
52
+ export interface ValidationExceptionField {
53
+ name: string | undefined;
54
+ message: string | undefined;
55
+ }
56
+ export declare const ValidationExceptionReason: {
57
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
58
+ readonly OTHER: "other";
59
+ };
60
+ export type ValidationExceptionReason =
61
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
62
+ export declare class ValidationException extends __BaseException {
63
+ readonly name: "ValidationException";
64
+ readonly $fault: "client";
65
+ reason: ValidationExceptionReason | undefined;
66
+ fieldList?: ValidationExceptionField[] | undefined;
67
+ constructor(
68
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
69
+ );
70
+ }
71
+ export interface CreateEmailContactRequest {
72
+ name: string | undefined;
73
+ emailAddress: string | undefined;
74
+ tags?: Record<string, string> | undefined;
75
+ }
76
+ export interface CreateEmailContactResponse {
77
+ arn: string | undefined;
78
+ }
79
+ export declare class ServiceQuotaExceededException extends __BaseException {
80
+ readonly name: "ServiceQuotaExceededException";
81
+ readonly $fault: "client";
82
+ resourceId: string | undefined;
83
+ resourceType: string | undefined;
84
+ serviceCode: string | undefined;
85
+ quotaCode: string | undefined;
86
+ constructor(
87
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
88
+ );
89
+ }
90
+ export interface DeleteEmailContactRequest {
91
+ arn: string | undefined;
92
+ }
93
+ export interface DeleteEmailContactResponse {}
94
+ export declare const EmailContactStatus: {
95
+ readonly ACTIVE: "active";
96
+ readonly INACTIVE: "inactive";
97
+ };
98
+ export type EmailContactStatus =
99
+ (typeof EmailContactStatus)[keyof typeof EmailContactStatus];
100
+ export interface EmailContact {
101
+ arn: string | undefined;
102
+ name: string | undefined;
103
+ address: string | undefined;
104
+ status: EmailContactStatus | undefined;
105
+ creationTime: Date | undefined;
106
+ updateTime: Date | undefined;
107
+ }
108
+ export interface GetEmailContactRequest {
109
+ arn: string | undefined;
110
+ }
111
+ export interface GetEmailContactResponse {
112
+ emailContact: EmailContact | undefined;
113
+ }
114
+ export interface ListEmailContactsRequest {
115
+ maxResults?: number | undefined;
116
+ nextToken?: string | undefined;
117
+ }
118
+ export interface ListEmailContactsResponse {
119
+ nextToken?: string | undefined;
120
+ emailContacts: EmailContact[] | undefined;
121
+ }
122
+ export interface SendActivationCodeRequest {
123
+ arn: string | undefined;
124
+ }
125
+ export interface SendActivationCodeResponse {}
126
+ export interface ListTagsForResourceRequest {
127
+ arn: string | undefined;
128
+ }
129
+ export interface ListTagsForResourceResponse {
130
+ tags?: Record<string, string> | undefined;
131
+ }
132
+ export interface TagResourceRequest {
133
+ arn: string | undefined;
134
+ tags: Record<string, string> | undefined;
135
+ }
136
+ export interface TagResourceResponse {}
137
+ export interface UntagResourceRequest {
138
+ arn: string | undefined;
139
+ tagKeys: string[] | undefined;
140
+ }
141
+ export interface UntagResourceResponse {}
142
+ export declare const ActivateEmailContactRequestFilterSensitiveLog: (
143
+ obj: ActivateEmailContactRequest
144
+ ) => any;
145
+ export declare const CreateEmailContactRequestFilterSensitiveLog: (
146
+ obj: CreateEmailContactRequest
147
+ ) => any;
148
+ export declare const EmailContactFilterSensitiveLog: (obj: EmailContact) => any;
149
+ export declare const GetEmailContactResponseFilterSensitiveLog: (
150
+ obj: GetEmailContactResponse
151
+ ) => any;
152
+ export declare const ListEmailContactsResponseFilterSensitiveLog: (
153
+ obj: ListEmailContactsResponse
154
+ ) => any;
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { NotificationsContactsClient } from "../NotificationsContactsClient";
3
+ export interface NotificationsContactsPaginationConfiguration
4
+ extends PaginationConfiguration {
5
+ client: NotificationsContactsClient;
6
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListEmailContactsCommandInput,
4
+ ListEmailContactsCommandOutput,
5
+ } from "../commands/ListEmailContactsCommand";
6
+ import { NotificationsContactsPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListEmailContacts: (
8
+ config: NotificationsContactsPaginationConfiguration,
9
+ input: ListEmailContactsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListEmailContactsCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListEmailContactsPaginator";