@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,47 @@
1
+ import { NotificationsContactsClientConfig } from "./NotificationsContactsClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: NotificationsContactsClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@smithy/types").HashConstructor;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
+ apiVersion: string;
10
+ cacheMiddleware?: boolean | undefined;
11
+ urlParser: import("@smithy/types").UrlParser;
12
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
+ streamCollector: import("@smithy/types").StreamCollector;
14
+ base64Decoder: import("@smithy/types").Decoder;
15
+ base64Encoder: (_input: string | Uint8Array) => string;
16
+ utf8Decoder: import("@smithy/types").Decoder;
17
+ utf8Encoder: (input: string | Uint8Array) => string;
18
+ disableHostPrefix: boolean;
19
+ serviceId: string;
20
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
+ region: string | import("@smithy/types").Provider<any>;
23
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
24
+ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ maxAttempts: number | import("@smithy/types").Provider<number>;
26
+ retryMode: string | import("@smithy/types").Provider<string>;
27
+ logger: import("@smithy/types").Logger;
28
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
29
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
30
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
31
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
32
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
33
+ endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
35
+ logger?: import("@smithy/types").Logger | undefined;
36
+ }) => import("@smithy/types").EndpointV2;
37
+ tls?: boolean | undefined;
38
+ serviceConfiguredEndpoint?: undefined;
39
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
40
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").NotificationsContactsHttpAuthSchemeProvider;
41
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
42
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
43
+ signingEscapePath?: boolean | undefined;
44
+ systemClockOffset?: number | undefined;
45
+ signingRegion?: string | undefined;
46
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
47
+ };
@@ -0,0 +1,21 @@
1
+ import { NotificationsContactsClientConfig } from "./NotificationsContactsClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: NotificationsContactsClientConfig) => {
6
+ apiVersion: string;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: (_input: string | Uint8Array) => string;
9
+ disableHostPrefix: boolean;
10
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
+ logger?: import("@smithy/types").Logger | undefined;
12
+ }) => import("@smithy/types").EndpointV2;
13
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
14
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").NotificationsContactsHttpAuthSchemeProvider;
15
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
+ logger: import("@smithy/types").Logger;
17
+ serviceId: string;
18
+ urlParser: import("@smithy/types").UrlParser;
19
+ utf8Decoder: import("@smithy/types").Decoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
+ };
@@ -0,0 +1,17 @@
1
+ import { NotificationsContactsExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: NotificationsContactsExtensionConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
@@ -0,0 +1,161 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ ActivateEmailContactCommandInput,
4
+ ActivateEmailContactCommandOutput,
5
+ } from "./commands/ActivateEmailContactCommand";
6
+ import {
7
+ CreateEmailContactCommandInput,
8
+ CreateEmailContactCommandOutput,
9
+ } from "./commands/CreateEmailContactCommand";
10
+ import {
11
+ DeleteEmailContactCommandInput,
12
+ DeleteEmailContactCommandOutput,
13
+ } from "./commands/DeleteEmailContactCommand";
14
+ import {
15
+ GetEmailContactCommandInput,
16
+ GetEmailContactCommandOutput,
17
+ } from "./commands/GetEmailContactCommand";
18
+ import {
19
+ ListEmailContactsCommandInput,
20
+ ListEmailContactsCommandOutput,
21
+ } from "./commands/ListEmailContactsCommand";
22
+ import {
23
+ ListTagsForResourceCommandInput,
24
+ ListTagsForResourceCommandOutput,
25
+ } from "./commands/ListTagsForResourceCommand";
26
+ import {
27
+ SendActivationCodeCommandInput,
28
+ SendActivationCodeCommandOutput,
29
+ } from "./commands/SendActivationCodeCommand";
30
+ import {
31
+ TagResourceCommandInput,
32
+ TagResourceCommandOutput,
33
+ } from "./commands/TagResourceCommand";
34
+ import {
35
+ UntagResourceCommandInput,
36
+ UntagResourceCommandOutput,
37
+ } from "./commands/UntagResourceCommand";
38
+ import { NotificationsContactsClient } from "./NotificationsContactsClient";
39
+ export interface NotificationsContacts {
40
+ activateEmailContact(
41
+ args: ActivateEmailContactCommandInput,
42
+ options?: __HttpHandlerOptions
43
+ ): Promise<ActivateEmailContactCommandOutput>;
44
+ activateEmailContact(
45
+ args: ActivateEmailContactCommandInput,
46
+ cb: (err: any, data?: ActivateEmailContactCommandOutput) => void
47
+ ): void;
48
+ activateEmailContact(
49
+ args: ActivateEmailContactCommandInput,
50
+ options: __HttpHandlerOptions,
51
+ cb: (err: any, data?: ActivateEmailContactCommandOutput) => void
52
+ ): void;
53
+ createEmailContact(
54
+ args: CreateEmailContactCommandInput,
55
+ options?: __HttpHandlerOptions
56
+ ): Promise<CreateEmailContactCommandOutput>;
57
+ createEmailContact(
58
+ args: CreateEmailContactCommandInput,
59
+ cb: (err: any, data?: CreateEmailContactCommandOutput) => void
60
+ ): void;
61
+ createEmailContact(
62
+ args: CreateEmailContactCommandInput,
63
+ options: __HttpHandlerOptions,
64
+ cb: (err: any, data?: CreateEmailContactCommandOutput) => void
65
+ ): void;
66
+ deleteEmailContact(
67
+ args: DeleteEmailContactCommandInput,
68
+ options?: __HttpHandlerOptions
69
+ ): Promise<DeleteEmailContactCommandOutput>;
70
+ deleteEmailContact(
71
+ args: DeleteEmailContactCommandInput,
72
+ cb: (err: any, data?: DeleteEmailContactCommandOutput) => void
73
+ ): void;
74
+ deleteEmailContact(
75
+ args: DeleteEmailContactCommandInput,
76
+ options: __HttpHandlerOptions,
77
+ cb: (err: any, data?: DeleteEmailContactCommandOutput) => void
78
+ ): void;
79
+ getEmailContact(
80
+ args: GetEmailContactCommandInput,
81
+ options?: __HttpHandlerOptions
82
+ ): Promise<GetEmailContactCommandOutput>;
83
+ getEmailContact(
84
+ args: GetEmailContactCommandInput,
85
+ cb: (err: any, data?: GetEmailContactCommandOutput) => void
86
+ ): void;
87
+ getEmailContact(
88
+ args: GetEmailContactCommandInput,
89
+ options: __HttpHandlerOptions,
90
+ cb: (err: any, data?: GetEmailContactCommandOutput) => void
91
+ ): void;
92
+ listEmailContacts(): Promise<ListEmailContactsCommandOutput>;
93
+ listEmailContacts(
94
+ args: ListEmailContactsCommandInput,
95
+ options?: __HttpHandlerOptions
96
+ ): Promise<ListEmailContactsCommandOutput>;
97
+ listEmailContacts(
98
+ args: ListEmailContactsCommandInput,
99
+ cb: (err: any, data?: ListEmailContactsCommandOutput) => void
100
+ ): void;
101
+ listEmailContacts(
102
+ args: ListEmailContactsCommandInput,
103
+ options: __HttpHandlerOptions,
104
+ cb: (err: any, data?: ListEmailContactsCommandOutput) => void
105
+ ): void;
106
+ listTagsForResource(
107
+ args: ListTagsForResourceCommandInput,
108
+ options?: __HttpHandlerOptions
109
+ ): Promise<ListTagsForResourceCommandOutput>;
110
+ listTagsForResource(
111
+ args: ListTagsForResourceCommandInput,
112
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
113
+ ): void;
114
+ listTagsForResource(
115
+ args: ListTagsForResourceCommandInput,
116
+ options: __HttpHandlerOptions,
117
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
118
+ ): void;
119
+ sendActivationCode(
120
+ args: SendActivationCodeCommandInput,
121
+ options?: __HttpHandlerOptions
122
+ ): Promise<SendActivationCodeCommandOutput>;
123
+ sendActivationCode(
124
+ args: SendActivationCodeCommandInput,
125
+ cb: (err: any, data?: SendActivationCodeCommandOutput) => void
126
+ ): void;
127
+ sendActivationCode(
128
+ args: SendActivationCodeCommandInput,
129
+ options: __HttpHandlerOptions,
130
+ cb: (err: any, data?: SendActivationCodeCommandOutput) => void
131
+ ): void;
132
+ tagResource(
133
+ args: TagResourceCommandInput,
134
+ options?: __HttpHandlerOptions
135
+ ): Promise<TagResourceCommandOutput>;
136
+ tagResource(
137
+ args: TagResourceCommandInput,
138
+ cb: (err: any, data?: TagResourceCommandOutput) => void
139
+ ): void;
140
+ tagResource(
141
+ args: TagResourceCommandInput,
142
+ options: __HttpHandlerOptions,
143
+ cb: (err: any, data?: TagResourceCommandOutput) => void
144
+ ): void;
145
+ untagResource(
146
+ args: UntagResourceCommandInput,
147
+ options?: __HttpHandlerOptions
148
+ ): Promise<UntagResourceCommandOutput>;
149
+ untagResource(
150
+ args: UntagResourceCommandInput,
151
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
152
+ ): void;
153
+ untagResource(
154
+ args: UntagResourceCommandInput,
155
+ options: __HttpHandlerOptions,
156
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
157
+ ): void;
158
+ }
159
+ export declare class NotificationsContacts
160
+ extends NotificationsContactsClient
161
+ implements NotificationsContacts {}
@@ -0,0 +1,175 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ UserAgentInputConfig,
7
+ UserAgentResolvedConfig,
8
+ } from "@aws-sdk/middleware-user-agent";
9
+ import {
10
+ RegionInputConfig,
11
+ RegionResolvedConfig,
12
+ } from "@smithy/config-resolver";
13
+ import {
14
+ EndpointInputConfig,
15
+ EndpointResolvedConfig,
16
+ } from "@smithy/middleware-endpoint";
17
+ import {
18
+ RetryInputConfig,
19
+ RetryResolvedConfig,
20
+ } from "@smithy/middleware-retry";
21
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
+ import {
23
+ Client as __Client,
24
+ DefaultsMode as __DefaultsMode,
25
+ SmithyConfiguration as __SmithyConfiguration,
26
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
27
+ } from "@smithy/smithy-client";
28
+ import {
29
+ AwsCredentialIdentityProvider,
30
+ BodyLengthCalculator as __BodyLengthCalculator,
31
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
+ ChecksumConstructor as __ChecksumConstructor,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ StreamCollector as __StreamCollector,
41
+ UrlParser as __UrlParser,
42
+ UserAgent as __UserAgent,
43
+ } from "@smithy/types";
44
+ import {
45
+ HttpAuthSchemeInputConfig,
46
+ HttpAuthSchemeResolvedConfig,
47
+ } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ ActivateEmailContactCommandInput,
50
+ ActivateEmailContactCommandOutput,
51
+ } from "./commands/ActivateEmailContactCommand";
52
+ import {
53
+ CreateEmailContactCommandInput,
54
+ CreateEmailContactCommandOutput,
55
+ } from "./commands/CreateEmailContactCommand";
56
+ import {
57
+ DeleteEmailContactCommandInput,
58
+ DeleteEmailContactCommandOutput,
59
+ } from "./commands/DeleteEmailContactCommand";
60
+ import {
61
+ GetEmailContactCommandInput,
62
+ GetEmailContactCommandOutput,
63
+ } from "./commands/GetEmailContactCommand";
64
+ import {
65
+ ListEmailContactsCommandInput,
66
+ ListEmailContactsCommandOutput,
67
+ } from "./commands/ListEmailContactsCommand";
68
+ import {
69
+ ListTagsForResourceCommandInput,
70
+ ListTagsForResourceCommandOutput,
71
+ } from "./commands/ListTagsForResourceCommand";
72
+ import {
73
+ SendActivationCodeCommandInput,
74
+ SendActivationCodeCommandOutput,
75
+ } from "./commands/SendActivationCodeCommand";
76
+ import {
77
+ TagResourceCommandInput,
78
+ TagResourceCommandOutput,
79
+ } from "./commands/TagResourceCommand";
80
+ import {
81
+ UntagResourceCommandInput,
82
+ UntagResourceCommandOutput,
83
+ } from "./commands/UntagResourceCommand";
84
+ import {
85
+ ClientInputEndpointParameters,
86
+ ClientResolvedEndpointParameters,
87
+ EndpointParameters,
88
+ } from "./endpoint/EndpointParameters";
89
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
90
+ export { __Client };
91
+ export type ServiceInputTypes =
92
+ | ActivateEmailContactCommandInput
93
+ | CreateEmailContactCommandInput
94
+ | DeleteEmailContactCommandInput
95
+ | GetEmailContactCommandInput
96
+ | ListEmailContactsCommandInput
97
+ | ListTagsForResourceCommandInput
98
+ | SendActivationCodeCommandInput
99
+ | TagResourceCommandInput
100
+ | UntagResourceCommandInput;
101
+ export type ServiceOutputTypes =
102
+ | ActivateEmailContactCommandOutput
103
+ | CreateEmailContactCommandOutput
104
+ | DeleteEmailContactCommandOutput
105
+ | GetEmailContactCommandOutput
106
+ | ListEmailContactsCommandOutput
107
+ | ListTagsForResourceCommandOutput
108
+ | SendActivationCodeCommandOutput
109
+ | TagResourceCommandOutput
110
+ | UntagResourceCommandOutput;
111
+ export interface ClientDefaults
112
+ extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
113
+ requestHandler?: __HttpHandlerUserInput;
114
+ sha256?: __ChecksumConstructor | __HashConstructor;
115
+ urlParser?: __UrlParser;
116
+ bodyLengthChecker?: __BodyLengthCalculator;
117
+ streamCollector?: __StreamCollector;
118
+ base64Decoder?: __Decoder;
119
+ base64Encoder?: __Encoder;
120
+ utf8Decoder?: __Decoder;
121
+ utf8Encoder?: __Encoder;
122
+ runtime?: string;
123
+ disableHostPrefix?: boolean;
124
+ serviceId?: string;
125
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
126
+ useFipsEndpoint?: boolean | __Provider<boolean>;
127
+ region?: string | __Provider<string>;
128
+ defaultUserAgentProvider?: Provider<__UserAgent>;
129
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
130
+ maxAttempts?: number | __Provider<number>;
131
+ retryMode?: string | __Provider<string>;
132
+ logger?: __Logger;
133
+ extensions?: RuntimeExtension[];
134
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
135
+ }
136
+ export type NotificationsContactsClientConfigType = Partial<
137
+ __SmithyConfiguration<__HttpHandlerOptions>
138
+ > &
139
+ ClientDefaults &
140
+ UserAgentInputConfig &
141
+ RetryInputConfig &
142
+ RegionInputConfig &
143
+ HostHeaderInputConfig &
144
+ EndpointInputConfig<EndpointParameters> &
145
+ HttpAuthSchemeInputConfig &
146
+ ClientInputEndpointParameters;
147
+ export interface NotificationsContactsClientConfig
148
+ extends NotificationsContactsClientConfigType {}
149
+ export type NotificationsContactsClientResolvedConfigType =
150
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
151
+ Required<ClientDefaults> &
152
+ RuntimeExtensionsConfig &
153
+ UserAgentResolvedConfig &
154
+ RetryResolvedConfig &
155
+ RegionResolvedConfig &
156
+ HostHeaderResolvedConfig &
157
+ EndpointResolvedConfig<EndpointParameters> &
158
+ HttpAuthSchemeResolvedConfig &
159
+ ClientResolvedEndpointParameters;
160
+ export interface NotificationsContactsClientResolvedConfig
161
+ extends NotificationsContactsClientResolvedConfigType {}
162
+ export declare class NotificationsContactsClient extends __Client<
163
+ __HttpHandlerOptions,
164
+ ServiceInputTypes,
165
+ ServiceOutputTypes,
166
+ NotificationsContactsClientResolvedConfig
167
+ > {
168
+ readonly config: NotificationsContactsClientResolvedConfig;
169
+ constructor(
170
+ ...[
171
+ configuration,
172
+ ]: __CheckOptionalClientConfig<NotificationsContactsClientConfig>
173
+ );
174
+ destroy(): void;
175
+ }
@@ -0,0 +1,32 @@
1
+ import {
2
+ AwsCredentialIdentity,
3
+ AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
+ } from "@smithy/types";
6
+ import { NotificationsContactsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(
11
+ httpAuthSchemeProvider: NotificationsContactsHttpAuthSchemeProvider
12
+ ): void;
13
+ httpAuthSchemeProvider(): NotificationsContactsHttpAuthSchemeProvider;
14
+ setCredentials(
15
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
+ ): void;
17
+ credentials():
18
+ | AwsCredentialIdentity
19
+ | AwsCredentialIdentityProvider
20
+ | undefined;
21
+ }
22
+ export type HttpAuthRuntimeConfig = Partial<{
23
+ httpAuthSchemes: HttpAuthScheme[];
24
+ httpAuthSchemeProvider: NotificationsContactsHttpAuthSchemeProvider;
25
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
+ }>;
27
+ export declare const getHttpAuthExtensionConfiguration: (
28
+ runtimeConfig: HttpAuthRuntimeConfig
29
+ ) => HttpAuthExtensionConfiguration;
30
+ export declare const resolveHttpAuthRuntimeConfig: (
31
+ config: HttpAuthExtensionConfiguration
32
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,44 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core";
6
+ import {
7
+ HandlerExecutionContext,
8
+ HttpAuthScheme,
9
+ HttpAuthSchemeParameters,
10
+ HttpAuthSchemeParametersProvider,
11
+ HttpAuthSchemeProvider,
12
+ } from "@smithy/types";
13
+ import { NotificationsContactsClientResolvedConfig } from "../NotificationsContactsClient";
14
+ export interface NotificationsContactsHttpAuthSchemeParameters
15
+ extends HttpAuthSchemeParameters {
16
+ region?: string;
17
+ }
18
+ export interface NotificationsContactsHttpAuthSchemeParametersProvider
19
+ extends HttpAuthSchemeParametersProvider<
20
+ NotificationsContactsClientResolvedConfig,
21
+ HandlerExecutionContext,
22
+ NotificationsContactsHttpAuthSchemeParameters,
23
+ object
24
+ > {}
25
+ export declare const defaultNotificationsContactsHttpAuthSchemeParametersProvider: (
26
+ config: NotificationsContactsClientResolvedConfig,
27
+ context: HandlerExecutionContext,
28
+ input: object
29
+ ) => Promise<NotificationsContactsHttpAuthSchemeParameters>;
30
+ export interface NotificationsContactsHttpAuthSchemeProvider
31
+ extends HttpAuthSchemeProvider<NotificationsContactsHttpAuthSchemeParameters> {}
32
+ export declare const defaultNotificationsContactsHttpAuthSchemeProvider: NotificationsContactsHttpAuthSchemeProvider;
33
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
34
+ httpAuthSchemes?: HttpAuthScheme[];
35
+ httpAuthSchemeProvider?: NotificationsContactsHttpAuthSchemeProvider;
36
+ }
37
+ export interface HttpAuthSchemeResolvedConfig
38
+ extends AwsSdkSigV4AuthResolvedConfig {
39
+ readonly httpAuthSchemes: HttpAuthScheme[];
40
+ readonly httpAuthSchemeProvider: NotificationsContactsHttpAuthSchemeProvider;
41
+ }
42
+ export declare const resolveHttpAuthSchemeConfig: <T>(
43
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
44
+ ) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ActivateEmailContactRequest,
5
+ ActivateEmailContactResponse,
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 ActivateEmailContactCommandInput
15
+ extends ActivateEmailContactRequest {}
16
+ export interface ActivateEmailContactCommandOutput
17
+ extends ActivateEmailContactResponse,
18
+ __MetadataBearer {}
19
+ declare const ActivateEmailContactCommand_base: {
20
+ new (
21
+ input: ActivateEmailContactCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ActivateEmailContactCommandInput,
24
+ ActivateEmailContactCommandOutput,
25
+ NotificationsContactsClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: ActivateEmailContactCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ActivateEmailContactCommandInput,
33
+ ActivateEmailContactCommandOutput,
34
+ NotificationsContactsClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ActivateEmailContactCommand extends ActivateEmailContactCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ActivateEmailContactRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: ActivateEmailContactCommandInput;
48
+ output: ActivateEmailContactCommandOutput;
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
+ CreateEmailContactRequest,
5
+ CreateEmailContactResponse,
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 CreateEmailContactCommandInput
15
+ extends CreateEmailContactRequest {}
16
+ export interface CreateEmailContactCommandOutput
17
+ extends CreateEmailContactResponse,
18
+ __MetadataBearer {}
19
+ declare const CreateEmailContactCommand_base: {
20
+ new (
21
+ input: CreateEmailContactCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CreateEmailContactCommandInput,
24
+ CreateEmailContactCommandOutput,
25
+ NotificationsContactsClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: CreateEmailContactCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CreateEmailContactCommandInput,
33
+ CreateEmailContactCommandOutput,
34
+ NotificationsContactsClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CreateEmailContactCommand extends CreateEmailContactCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CreateEmailContactRequest;
44
+ output: CreateEmailContactResponse;
45
+ };
46
+ sdk: {
47
+ input: CreateEmailContactCommandInput;
48
+ output: CreateEmailContactCommandOutput;
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
+ DeleteEmailContactRequest,
5
+ DeleteEmailContactResponse,
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 DeleteEmailContactCommandInput
15
+ extends DeleteEmailContactRequest {}
16
+ export interface DeleteEmailContactCommandOutput
17
+ extends DeleteEmailContactResponse,
18
+ __MetadataBearer {}
19
+ declare const DeleteEmailContactCommand_base: {
20
+ new (
21
+ input: DeleteEmailContactCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DeleteEmailContactCommandInput,
24
+ DeleteEmailContactCommandOutput,
25
+ NotificationsContactsClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: DeleteEmailContactCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DeleteEmailContactCommandInput,
33
+ DeleteEmailContactCommandOutput,
34
+ NotificationsContactsClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DeleteEmailContactCommand extends DeleteEmailContactCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DeleteEmailContactRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: DeleteEmailContactCommandInput;
48
+ output: DeleteEmailContactCommandOutput;
49
+ };
50
+ };
51
+ }