@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,445 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { NotificationsContactsServiceException as __BaseException } from "./NotificationsContactsServiceException";
3
+ /**
4
+ * <p>You do not have sufficient access to perform this action.</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
+ }
15
+ /**
16
+ * @public
17
+ */
18
+ export interface ActivateEmailContactRequest {
19
+ /**
20
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
21
+ * @public
22
+ */
23
+ arn: string | undefined;
24
+ /**
25
+ * <p>The activation code for this email contact.</p>
26
+ * <p>An email contact has a maximum of five activation attempts. Activation codes expire after 12 hours and are generated by the <a href="https://docs.aws.amazon.com/notificationscontacts/latest/APIReference/API_SendActivationCode.html">SendActivationCode</a> API action.</p>
27
+ * @public
28
+ */
29
+ code: string | undefined;
30
+ }
31
+ /**
32
+ * @public
33
+ */
34
+ export interface ActivateEmailContactResponse {
35
+ }
36
+ /**
37
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
38
+ * @public
39
+ */
40
+ export declare class ConflictException extends __BaseException {
41
+ readonly name: "ConflictException";
42
+ readonly $fault: "client";
43
+ /**
44
+ * <p>The resource ID that prompted the conflict error.</p>
45
+ * @public
46
+ */
47
+ resourceId: string | undefined;
48
+ /**
49
+ * <p>The resource type that prompted the conflict error.</p>
50
+ * @public
51
+ */
52
+ resourceType: string | undefined;
53
+ /**
54
+ * @internal
55
+ */
56
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
57
+ }
58
+ /**
59
+ * <p>Unexpected error during processing of request.</p>
60
+ * @public
61
+ */
62
+ export declare class InternalServerException extends __BaseException {
63
+ readonly name: "InternalServerException";
64
+ readonly $fault: "server";
65
+ $retryable: {};
66
+ /**
67
+ * @internal
68
+ */
69
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
70
+ }
71
+ /**
72
+ * <p>Your request references a resource which does not exist. </p>
73
+ * @public
74
+ */
75
+ export declare class ResourceNotFoundException extends __BaseException {
76
+ readonly name: "ResourceNotFoundException";
77
+ readonly $fault: "client";
78
+ /**
79
+ * <p>The ID of the resource that wasn't found.</p>
80
+ * @public
81
+ */
82
+ resourceId: string | undefined;
83
+ /**
84
+ * <p>The type of resource that wasn't found.</p>
85
+ * @public
86
+ */
87
+ resourceType: string | undefined;
88
+ /**
89
+ * @internal
90
+ */
91
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
92
+ }
93
+ /**
94
+ * <p>The request was denied due to request throttling.</p>
95
+ * @public
96
+ */
97
+ export declare class ThrottlingException extends __BaseException {
98
+ readonly name: "ThrottlingException";
99
+ readonly $fault: "client";
100
+ $retryable: {
101
+ throttling: boolean;
102
+ };
103
+ /**
104
+ * <p>Identifies the service being throttled.</p>
105
+ * @public
106
+ */
107
+ serviceCode?: string | undefined;
108
+ /**
109
+ * <p>Identifies the quota that is being throttled.</p>
110
+ * @public
111
+ */
112
+ quotaCode?: string | undefined;
113
+ /**
114
+ * <p>The number of seconds a client should wait before retrying the request.</p>
115
+ * @public
116
+ */
117
+ retryAfterSeconds?: number | undefined;
118
+ /**
119
+ * @internal
120
+ */
121
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
122
+ }
123
+ /**
124
+ * <p>Stores information about a field passed inside a request that resulted in an exception.</p>
125
+ * @public
126
+ */
127
+ export interface ValidationExceptionField {
128
+ /**
129
+ * <p>The field name where the invalid entry was detected.</p>
130
+ * @public
131
+ */
132
+ name: string | undefined;
133
+ /**
134
+ * <p>A message with the reason for the validation exception error.</p>
135
+ * @public
136
+ */
137
+ message: string | undefined;
138
+ }
139
+ /**
140
+ * @public
141
+ * @enum
142
+ */
143
+ export declare const ValidationExceptionReason: {
144
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
145
+ readonly OTHER: "other";
146
+ };
147
+ /**
148
+ * @public
149
+ */
150
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
151
+ /**
152
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
153
+ * @public
154
+ */
155
+ export declare class ValidationException extends __BaseException {
156
+ readonly name: "ValidationException";
157
+ readonly $fault: "client";
158
+ /**
159
+ * <p>The reason why your input is considered invalid.</p>
160
+ * @public
161
+ */
162
+ reason: ValidationExceptionReason | undefined;
163
+ /**
164
+ * <p>The list of input fields that are invalid.</p>
165
+ * @public
166
+ */
167
+ fieldList?: ValidationExceptionField[] | undefined;
168
+ /**
169
+ * @internal
170
+ */
171
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
172
+ }
173
+ /**
174
+ * @public
175
+ */
176
+ export interface CreateEmailContactRequest {
177
+ /**
178
+ * <p>The name of the email contact.</p>
179
+ * @public
180
+ */
181
+ name: string | undefined;
182
+ /**
183
+ * <p>The email address this email contact points to. The activation email and any subscribed emails are sent here.</p>
184
+ * <note>
185
+ * <p>This email address can't receive emails until it's activated.</p>
186
+ * </note>
187
+ * @public
188
+ */
189
+ emailAddress: string | undefined;
190
+ /**
191
+ * <p>A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.</p>
192
+ * @public
193
+ */
194
+ tags?: Record<string, string> | undefined;
195
+ }
196
+ /**
197
+ * @public
198
+ */
199
+ export interface CreateEmailContactResponse {
200
+ /**
201
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
202
+ * @public
203
+ */
204
+ arn: string | undefined;
205
+ }
206
+ /**
207
+ * <p> Request would cause a service quota to be exceeded.</p>
208
+ * @public
209
+ */
210
+ export declare class ServiceQuotaExceededException extends __BaseException {
211
+ readonly name: "ServiceQuotaExceededException";
212
+ readonly $fault: "client";
213
+ /**
214
+ * <p>The ID of the resource that exceeds the service quota.</p>
215
+ * @public
216
+ */
217
+ resourceId: string | undefined;
218
+ /**
219
+ * <p>The type of the resource that exceeds the service quota.</p>
220
+ * @public
221
+ */
222
+ resourceType: string | undefined;
223
+ /**
224
+ * <p>The code for the service quota exceeded in <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html">Service Quotas</a>.</p>
225
+ * @public
226
+ */
227
+ serviceCode: string | undefined;
228
+ /**
229
+ * <p>The code for the service quota in <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html">Service Quotas</a>.</p>
230
+ * @public
231
+ */
232
+ quotaCode: string | undefined;
233
+ /**
234
+ * @internal
235
+ */
236
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
237
+ }
238
+ /**
239
+ * @public
240
+ */
241
+ export interface DeleteEmailContactRequest {
242
+ /**
243
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
244
+ * @public
245
+ */
246
+ arn: string | undefined;
247
+ }
248
+ /**
249
+ * @public
250
+ */
251
+ export interface DeleteEmailContactResponse {
252
+ }
253
+ /**
254
+ * @public
255
+ * @enum
256
+ */
257
+ export declare const EmailContactStatus: {
258
+ readonly ACTIVE: "active";
259
+ readonly INACTIVE: "inactive";
260
+ };
261
+ /**
262
+ * @public
263
+ */
264
+ export type EmailContactStatus = (typeof EmailContactStatus)[keyof typeof EmailContactStatus];
265
+ /**
266
+ * <p>An email contact.</p>
267
+ * @public
268
+ */
269
+ export interface EmailContact {
270
+ /**
271
+ * <p>The Amazon Resource Name (ARN) of the email contact.</p>
272
+ * @public
273
+ */
274
+ arn: string | undefined;
275
+ /**
276
+ * <p>The name of the email contact.</p>
277
+ * @public
278
+ */
279
+ name: string | undefined;
280
+ /**
281
+ * <p>The email address this email contact points to. The activation email and any subscribed emails are sent here.</p>
282
+ * @public
283
+ */
284
+ address: string | undefined;
285
+ /**
286
+ * <p>The status of the email contact. Only activated email contacts receive emails.</p>
287
+ * @public
288
+ */
289
+ status: EmailContactStatus | undefined;
290
+ /**
291
+ * <p>The creation time of the resource.</p>
292
+ * @public
293
+ */
294
+ creationTime: Date | undefined;
295
+ /**
296
+ * <p>The time the resource was last updated.</p>
297
+ * @public
298
+ */
299
+ updateTime: Date | undefined;
300
+ }
301
+ /**
302
+ * @public
303
+ */
304
+ export interface GetEmailContactRequest {
305
+ /**
306
+ * <p>The Amazon Resource Name (ARN) of the email contact to get.</p>
307
+ * @public
308
+ */
309
+ arn: string | undefined;
310
+ }
311
+ /**
312
+ * @public
313
+ */
314
+ export interface GetEmailContactResponse {
315
+ /**
316
+ * <p>The email contact for the provided email address.</p>
317
+ * @public
318
+ */
319
+ emailContact: EmailContact | undefined;
320
+ }
321
+ /**
322
+ * @public
323
+ */
324
+ export interface ListEmailContactsRequest {
325
+ /**
326
+ * <p>The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.</p>
327
+ * @public
328
+ */
329
+ maxResults?: number | undefined;
330
+ /**
331
+ * <p>An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.</p>
332
+ * @public
333
+ */
334
+ nextToken?: string | undefined;
335
+ }
336
+ /**
337
+ * @public
338
+ */
339
+ export interface ListEmailContactsResponse {
340
+ /**
341
+ * <p>An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.</p>
342
+ * @public
343
+ */
344
+ nextToken?: string | undefined;
345
+ /**
346
+ * <p>A list of email contacts.</p>
347
+ * @public
348
+ */
349
+ emailContacts: EmailContact[] | undefined;
350
+ }
351
+ /**
352
+ * @public
353
+ */
354
+ export interface SendActivationCodeRequest {
355
+ /**
356
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
357
+ * @public
358
+ */
359
+ arn: string | undefined;
360
+ }
361
+ /**
362
+ * @public
363
+ */
364
+ export interface SendActivationCodeResponse {
365
+ }
366
+ /**
367
+ * @public
368
+ */
369
+ export interface ListTagsForResourceRequest {
370
+ /**
371
+ * <p>The ARN you specified to list the tags of.</p>
372
+ * @public
373
+ */
374
+ arn: string | undefined;
375
+ }
376
+ /**
377
+ * @public
378
+ */
379
+ export interface ListTagsForResourceResponse {
380
+ /**
381
+ * <p>Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items. Tags are metadata that you define.</p>
382
+ * @public
383
+ */
384
+ tags?: Record<string, string> | undefined;
385
+ }
386
+ /**
387
+ * @public
388
+ */
389
+ export interface TagResourceRequest {
390
+ /**
391
+ * <p>The ARN of the configuration.</p>
392
+ * @public
393
+ */
394
+ arn: string | undefined;
395
+ /**
396
+ * <p>A list of tags to apply to the configuration.</p>
397
+ * @public
398
+ */
399
+ tags: Record<string, string> | undefined;
400
+ }
401
+ /**
402
+ * @public
403
+ */
404
+ export interface TagResourceResponse {
405
+ }
406
+ /**
407
+ * @public
408
+ */
409
+ export interface UntagResourceRequest {
410
+ /**
411
+ * <p>The value of the resource that will have the tag removed. An Amazon Resource Name (ARN) is an identifier for a specific AWS resource, such as a server, user, or role.</p>
412
+ * @public
413
+ */
414
+ arn: string | undefined;
415
+ /**
416
+ * <p>Specifies a list of tag keys that you want to remove from the specified resources.</p>
417
+ * @public
418
+ */
419
+ tagKeys: string[] | undefined;
420
+ }
421
+ /**
422
+ * @public
423
+ */
424
+ export interface UntagResourceResponse {
425
+ }
426
+ /**
427
+ * @internal
428
+ */
429
+ export declare const ActivateEmailContactRequestFilterSensitiveLog: (obj: ActivateEmailContactRequest) => any;
430
+ /**
431
+ * @internal
432
+ */
433
+ export declare const CreateEmailContactRequestFilterSensitiveLog: (obj: CreateEmailContactRequest) => any;
434
+ /**
435
+ * @internal
436
+ */
437
+ export declare const EmailContactFilterSensitiveLog: (obj: EmailContact) => any;
438
+ /**
439
+ * @internal
440
+ */
441
+ export declare const GetEmailContactResponseFilterSensitiveLog: (obj: GetEmailContactResponse) => any;
442
+ /**
443
+ * @internal
444
+ */
445
+ export declare const ListEmailContactsResponseFilterSensitiveLog: (obj: ListEmailContactsResponse) => any;
@@ -0,0 +1,8 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { NotificationsContactsClient } from "../NotificationsContactsClient";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface NotificationsContactsPaginationConfiguration extends PaginationConfiguration {
7
+ client: NotificationsContactsClient;
8
+ }
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListEmailContactsCommandInput, ListEmailContactsCommandOutput } from "../commands/ListEmailContactsCommand";
3
+ import { NotificationsContactsPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListEmailContacts: (config: NotificationsContactsPaginationConfiguration, input: ListEmailContactsCommandInput, ...rest: any[]) => Paginator<ListEmailContactsCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListEmailContactsPaginator";
@@ -0,0 +1,83 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { ActivateEmailContactCommandInput, ActivateEmailContactCommandOutput } from "../commands/ActivateEmailContactCommand";
4
+ import { CreateEmailContactCommandInput, CreateEmailContactCommandOutput } from "../commands/CreateEmailContactCommand";
5
+ import { DeleteEmailContactCommandInput, DeleteEmailContactCommandOutput } from "../commands/DeleteEmailContactCommand";
6
+ import { GetEmailContactCommandInput, GetEmailContactCommandOutput } from "../commands/GetEmailContactCommand";
7
+ import { ListEmailContactsCommandInput, ListEmailContactsCommandOutput } from "../commands/ListEmailContactsCommand";
8
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
9
+ import { SendActivationCodeCommandInput, SendActivationCodeCommandOutput } from "../commands/SendActivationCodeCommand";
10
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
11
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
12
+ /**
13
+ * serializeAws_restJson1ActivateEmailContactCommand
14
+ */
15
+ export declare const se_ActivateEmailContactCommand: (input: ActivateEmailContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
16
+ /**
17
+ * serializeAws_restJson1CreateEmailContactCommand
18
+ */
19
+ export declare const se_CreateEmailContactCommand: (input: CreateEmailContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
20
+ /**
21
+ * serializeAws_restJson1DeleteEmailContactCommand
22
+ */
23
+ export declare const se_DeleteEmailContactCommand: (input: DeleteEmailContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
24
+ /**
25
+ * serializeAws_restJson1GetEmailContactCommand
26
+ */
27
+ export declare const se_GetEmailContactCommand: (input: GetEmailContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
28
+ /**
29
+ * serializeAws_restJson1ListEmailContactsCommand
30
+ */
31
+ export declare const se_ListEmailContactsCommand: (input: ListEmailContactsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
32
+ /**
33
+ * serializeAws_restJson1ListTagsForResourceCommand
34
+ */
35
+ export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
36
+ /**
37
+ * serializeAws_restJson1SendActivationCodeCommand
38
+ */
39
+ export declare const se_SendActivationCodeCommand: (input: SendActivationCodeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
40
+ /**
41
+ * serializeAws_restJson1TagResourceCommand
42
+ */
43
+ export declare const se_TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
44
+ /**
45
+ * serializeAws_restJson1UntagResourceCommand
46
+ */
47
+ export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
+ /**
49
+ * deserializeAws_restJson1ActivateEmailContactCommand
50
+ */
51
+ export declare const de_ActivateEmailContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ActivateEmailContactCommandOutput>;
52
+ /**
53
+ * deserializeAws_restJson1CreateEmailContactCommand
54
+ */
55
+ export declare const de_CreateEmailContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateEmailContactCommandOutput>;
56
+ /**
57
+ * deserializeAws_restJson1DeleteEmailContactCommand
58
+ */
59
+ export declare const de_DeleteEmailContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteEmailContactCommandOutput>;
60
+ /**
61
+ * deserializeAws_restJson1GetEmailContactCommand
62
+ */
63
+ export declare const de_GetEmailContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEmailContactCommandOutput>;
64
+ /**
65
+ * deserializeAws_restJson1ListEmailContactsCommand
66
+ */
67
+ export declare const de_ListEmailContactsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListEmailContactsCommandOutput>;
68
+ /**
69
+ * deserializeAws_restJson1ListTagsForResourceCommand
70
+ */
71
+ export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
72
+ /**
73
+ * deserializeAws_restJson1SendActivationCodeCommand
74
+ */
75
+ export declare const de_SendActivationCodeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendActivationCodeCommandOutput>;
76
+ /**
77
+ * deserializeAws_restJson1TagResourceCommand
78
+ */
79
+ export declare const de_TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
80
+ /**
81
+ * deserializeAws_restJson1UntagResourceCommand
82
+ */
83
+ export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
@@ -0,0 +1,48 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { NotificationsContactsClientConfig } from "./NotificationsContactsClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: NotificationsContactsClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<any>;
14
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
22
+ urlParser: import("@smithy/types").UrlParser;
23
+ base64Decoder: import("@smithy/types").Decoder;
24
+ base64Encoder: (_input: string | Uint8Array) => string;
25
+ utf8Decoder: import("@smithy/types").Decoder;
26
+ utf8Encoder: (input: string | Uint8Array) => string;
27
+ disableHostPrefix: boolean;
28
+ serviceId: string;
29
+ logger: import("@smithy/types").Logger;
30
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
31
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
+ 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>) & (string | import("@smithy/types").Provider<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;
35
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
+ logger?: import("@smithy/types").Logger | undefined;
37
+ }) => import("@smithy/types").EndpointV2;
38
+ tls?: boolean | undefined;
39
+ serviceConfiguredEndpoint?: undefined;
40
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
41
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").NotificationsContactsHttpAuthSchemeProvider;
42
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
43
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
44
+ signingEscapePath?: boolean | undefined;
45
+ systemClockOffset?: number | undefined;
46
+ signingRegion?: string | undefined;
47
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
48
+ };
@@ -0,0 +1,48 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { NotificationsContactsClientConfig } from "./NotificationsContactsClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: NotificationsContactsClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<string>;
14
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
21
+ apiVersion: string;
22
+ cacheMiddleware?: boolean | undefined;
23
+ urlParser: import("@smithy/types").UrlParser;
24
+ base64Decoder: import("@smithy/types").Decoder;
25
+ base64Encoder: (_input: string | Uint8Array) => string;
26
+ utf8Decoder: import("@smithy/types").Decoder;
27
+ utf8Encoder: (input: string | Uint8Array) => string;
28
+ disableHostPrefix: boolean;
29
+ serviceId: string;
30
+ logger: import("@smithy/types").Logger;
31
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
33
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
+ 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>) & (string | import("@smithy/types").Provider<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;
35
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
+ logger?: import("@smithy/types").Logger | undefined;
37
+ }) => import("@smithy/types").EndpointV2;
38
+ tls?: boolean | undefined;
39
+ serviceConfiguredEndpoint?: undefined;
40
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
41
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").NotificationsContactsHttpAuthSchemeProvider;
42
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
43
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
44
+ signingEscapePath?: boolean | undefined;
45
+ systemClockOffset?: number | undefined;
46
+ signingRegion?: string | undefined;
47
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
48
+ };