@superdurable/connector-amazon-ses 0.0.0-stage → 0.2.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.
- package/LICENSE +21 -0
- package/README.md +2 -2
- package/dex-connector.json +1017 -0
- package/dist/chunk-WYO3XI32.js +754 -0
- package/dist/connection-Z3og2ZYX.d.ts +519 -0
- package/dist/index.d.ts +923 -0
- package/dist/index.js +1466 -0
- package/dist/mock.d.ts +327 -0
- package/dist/mock.js +800 -0
- package/package.json +59 -4
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,923 @@
|
|
|
1
|
+
import { C as CreateCustomVerificationEmailTemplateInput, a as CustomVerificationEmailTemplate, b as Connection, c as CreateEmailIdentityInput, d as CreatedEmailIdentity, e as CreateEmailTemplateInput, E as EmailTemplate, D as DeleteCustomVerificationEmailTemplateInput, f as DeletedEmailTemplate, g as DeleteEmailIdentityInput, h as DeletedEmailIdentity, i as DeleteEmailTemplateInput, G as GetCustomVerificationEmailTemplateInput, j as GetEmailIdentityInput, k as EmailIdentityDetails, l as GetEmailTemplateInput, L as ListCustomVerificationEmailTemplatesInput, m as CustomVerificationEmailTemplatePage, n as ListEmailIdentitiesInput, o as EmailIdentityPage, p as ListEmailTemplatesInput, q as EmailTemplatePage, S as SendCustomVerificationEmailInput, r as SentEmail, s as SendEmailInput, t as SendTemplatedEmailInput, U as UpdateCustomVerificationEmailTemplateInput, u as UpdateEmailTemplateInput, O as Operations, v as Config, w as Credentials } from './connection-Z3og2ZYX.js';
|
|
2
|
+
export { x as ConfigSchema, y as CreateCustomVerificationEmailTemplateInputSchema, z as CreateEmailIdentityInputSchema, A as CreateEmailTemplateInputSchema, B as CreatedEmailIdentitySchema, F as CredentialMaterialError, H as CredentialSource, I as CustomVerificationEmailTemplatePageSchema, J as CustomVerificationEmailTemplateSchema, K as CustomVerificationEmailTemplateSummary, M as CustomVerificationEmailTemplateSummarySchema, N as DeleteCustomVerificationEmailTemplateInputSchema, P as DeleteEmailIdentityInputSchema, Q as DeleteEmailTemplateInputSchema, R as DeletedEmailIdentitySchema, T as DeletedEmailTemplateSchema, V as EmailIdentityDetailsSchema, W as EmailIdentityPageSchema, X as EmailIdentitySummary, Y as EmailIdentitySummarySchema, Z as EmailTemplateContent, _ as EmailTemplateContentSchema, $ as EmailTemplatePageSchema, a0 as EmailTemplateSchema, a1 as EmailTemplateSummary, a2 as EmailTemplateSummarySchema, a3 as GetCustomVerificationEmailTemplateInputSchema, a4 as GetEmailIdentityInputSchema, a5 as GetEmailTemplateInputSchema, a6 as ListCustomVerificationEmailTemplatesInputSchema, a7 as ListEmailIdentitiesInputSchema, a8 as ListEmailTemplatesInputSchema, a9 as SendCustomVerificationEmailInputSchema, aa as SendEmailInputSchema, ab as SendTemplatedEmailInputSchema, ac as SentEmailSchema, ad as UpdateCustomVerificationEmailTemplateInputSchema, ae as UpdateEmailTemplateInputSchema, af as decodeCredentials, ag as isCredentialMaterialError, ah as newConnection, ai as newConnectionWithOperations } from './connection-Z3og2ZYX.js';
|
|
3
|
+
import { MutationDefinition, QueryDefinition, MutationStepConfig, Mutation, MutationResult, QueryStepConfig, Query, QueryResult, MutationStep, QueryStep, Call, MutationAttempt, QueryAttempt, CredentialProvider } from '@superdurable/connectors-sdk';
|
|
4
|
+
import { StepTarget } from '@superdurable/dex';
|
|
5
|
+
import { LoadedProject } from '@superdurable/connectors-sdk/projectconfig';
|
|
6
|
+
import { ProviderRequest, ProviderResponse } from '@superdurable/connectors-sdk/providerhttp';
|
|
7
|
+
import 'zod';
|
|
8
|
+
|
|
9
|
+
/** Stable connector identity. */
|
|
10
|
+
declare const ConnectorID = "amazon-ses";
|
|
11
|
+
/** Provider identity for named connections. */
|
|
12
|
+
declare const ProviderID = "amazon-ses";
|
|
13
|
+
/** Branch IDs for createEmailIdentity. */
|
|
14
|
+
declare const CreateEmailIdentityBranch: {
|
|
15
|
+
readonly Created: "created";
|
|
16
|
+
readonly ProviderRejected: "providerRejected";
|
|
17
|
+
readonly Uncertain: "uncertain";
|
|
18
|
+
readonly Defect: "defect";
|
|
19
|
+
};
|
|
20
|
+
/** SES accepted the identity for verification. */
|
|
21
|
+
declare const CreateEmailIdentityBranchCreated: "created";
|
|
22
|
+
/** SES conclusively rejected the identity creation. */
|
|
23
|
+
declare const CreateEmailIdentityBranchProviderRejected: "providerRejected";
|
|
24
|
+
/** SES may have created the identity but the capped sends could not confirm it. */
|
|
25
|
+
declare const CreateEmailIdentityBranchUncertain: "uncertain";
|
|
26
|
+
/** The identity or connection is invalid. */
|
|
27
|
+
declare const CreateEmailIdentityBranchDefect: "defect";
|
|
28
|
+
/** Manifest definition for createEmailIdentity. */
|
|
29
|
+
declare const CreateEmailIdentityDefinition: MutationDefinition;
|
|
30
|
+
/** Manifest metadata for createEmailIdentity. */
|
|
31
|
+
declare const CreateEmailIdentityMetadata: {
|
|
32
|
+
readonly kind: "mutation";
|
|
33
|
+
readonly idempotency: "required";
|
|
34
|
+
readonly authorization: "required";
|
|
35
|
+
};
|
|
36
|
+
/** Branch IDs for getEmailIdentity. */
|
|
37
|
+
declare const GetEmailIdentityBranch: {
|
|
38
|
+
readonly Found: "found";
|
|
39
|
+
readonly Missing: "missing";
|
|
40
|
+
readonly ProviderRejected: "providerRejected";
|
|
41
|
+
readonly InvalidResponse: "invalidResponse";
|
|
42
|
+
readonly Defect: "defect";
|
|
43
|
+
};
|
|
44
|
+
/** AWS returned the identity verification status. */
|
|
45
|
+
declare const GetEmailIdentityBranchFound: "found";
|
|
46
|
+
/** The identity does not exist in the selected Region. */
|
|
47
|
+
declare const GetEmailIdentityBranchMissing: "missing";
|
|
48
|
+
/** AWS conclusively rejected the request or credentials. */
|
|
49
|
+
declare const GetEmailIdentityBranchProviderRejected: "providerRejected";
|
|
50
|
+
/** AWS returned malformed or oversized identity metadata. */
|
|
51
|
+
declare const GetEmailIdentityBranchInvalidResponse: "invalidResponse";
|
|
52
|
+
/** The identity, endpoint, Region, or credentials are invalid. */
|
|
53
|
+
declare const GetEmailIdentityBranchDefect: "defect";
|
|
54
|
+
/** Manifest definition for getEmailIdentity. */
|
|
55
|
+
declare const GetEmailIdentityDefinition: QueryDefinition;
|
|
56
|
+
/** Manifest metadata for getEmailIdentity. */
|
|
57
|
+
declare const GetEmailIdentityMetadata: {
|
|
58
|
+
readonly kind: "query";
|
|
59
|
+
readonly idempotency: "none";
|
|
60
|
+
readonly authorization: "required";
|
|
61
|
+
};
|
|
62
|
+
/** Branch IDs for listEmailIdentities. */
|
|
63
|
+
declare const ListEmailIdentitiesBranch: {
|
|
64
|
+
readonly Page: "page";
|
|
65
|
+
readonly ProviderRejected: "providerRejected";
|
|
66
|
+
readonly InvalidResponse: "invalidResponse";
|
|
67
|
+
readonly Defect: "defect";
|
|
68
|
+
};
|
|
69
|
+
/** AWS returned a page of identities. */
|
|
70
|
+
declare const ListEmailIdentitiesBranchPage: "page";
|
|
71
|
+
/** AWS conclusively rejected the listing. */
|
|
72
|
+
declare const ListEmailIdentitiesBranchProviderRejected: "providerRejected";
|
|
73
|
+
/** AWS returned malformed or oversized identity data. */
|
|
74
|
+
declare const ListEmailIdentitiesBranchInvalidResponse: "invalidResponse";
|
|
75
|
+
/** The page size or token is invalid. */
|
|
76
|
+
declare const ListEmailIdentitiesBranchDefect: "defect";
|
|
77
|
+
/** Manifest definition for listEmailIdentities. */
|
|
78
|
+
declare const ListEmailIdentitiesDefinition: QueryDefinition;
|
|
79
|
+
/** Manifest metadata for listEmailIdentities. */
|
|
80
|
+
declare const ListEmailIdentitiesMetadata: {
|
|
81
|
+
readonly kind: "query";
|
|
82
|
+
readonly idempotency: "none";
|
|
83
|
+
readonly authorization: "required";
|
|
84
|
+
};
|
|
85
|
+
/** Branch IDs for deleteEmailIdentity. */
|
|
86
|
+
declare const DeleteEmailIdentityBranch: {
|
|
87
|
+
readonly Deleted: "deleted";
|
|
88
|
+
readonly ProviderRejected: "providerRejected";
|
|
89
|
+
readonly Defect: "defect";
|
|
90
|
+
};
|
|
91
|
+
/** The identity is absent after the deletion. */
|
|
92
|
+
declare const DeleteEmailIdentityBranchDeleted: "deleted";
|
|
93
|
+
/** AWS conclusively rejected the deletion. */
|
|
94
|
+
declare const DeleteEmailIdentityBranchProviderRejected: "providerRejected";
|
|
95
|
+
/** The identity or connection is invalid. */
|
|
96
|
+
declare const DeleteEmailIdentityBranchDefect: "defect";
|
|
97
|
+
/** Manifest definition for deleteEmailIdentity. */
|
|
98
|
+
declare const DeleteEmailIdentityDefinition: MutationDefinition;
|
|
99
|
+
/** Manifest metadata for deleteEmailIdentity. */
|
|
100
|
+
declare const DeleteEmailIdentityMetadata: {
|
|
101
|
+
readonly kind: "mutation";
|
|
102
|
+
readonly idempotency: "required";
|
|
103
|
+
readonly authorization: "required";
|
|
104
|
+
};
|
|
105
|
+
/** Branch IDs for sendEmail. */
|
|
106
|
+
declare const SendEmailBranch: {
|
|
107
|
+
readonly Sent: "sent";
|
|
108
|
+
readonly ProviderRejected: "providerRejected";
|
|
109
|
+
readonly Uncertain: "uncertain";
|
|
110
|
+
readonly Defect: "defect";
|
|
111
|
+
};
|
|
112
|
+
/** SES accepted the message and returned its message ID. */
|
|
113
|
+
declare const SendEmailBranchSent: "sent";
|
|
114
|
+
/** SES definitively rejected the sender, recipient, or content. */
|
|
115
|
+
declare const SendEmailBranchProviderRejected: "providerRejected";
|
|
116
|
+
/** The send cap was reached without confirmation; a duplicate email may have been sent. */
|
|
117
|
+
declare const SendEmailBranchUncertain: "uncertain";
|
|
118
|
+
/** The input or connection is invalid. */
|
|
119
|
+
declare const SendEmailBranchDefect: "defect";
|
|
120
|
+
/** Manifest definition for sendEmail. */
|
|
121
|
+
declare const SendEmailDefinition: MutationDefinition;
|
|
122
|
+
/** Manifest metadata for sendEmail. */
|
|
123
|
+
declare const SendEmailMetadata: {
|
|
124
|
+
readonly kind: "mutation";
|
|
125
|
+
readonly idempotency: "required";
|
|
126
|
+
readonly authorization: "required";
|
|
127
|
+
};
|
|
128
|
+
/** Branch IDs for createEmailTemplate. */
|
|
129
|
+
declare const CreateEmailTemplateBranch: {
|
|
130
|
+
readonly Created: "created";
|
|
131
|
+
readonly ProviderRejected: "providerRejected";
|
|
132
|
+
readonly Uncertain: "uncertain";
|
|
133
|
+
readonly Defect: "defect";
|
|
134
|
+
};
|
|
135
|
+
/** SES accepted the template creation. */
|
|
136
|
+
declare const CreateEmailTemplateBranchCreated: "created";
|
|
137
|
+
/** SES conclusively refused creation or the name has different content. */
|
|
138
|
+
declare const CreateEmailTemplateBranchProviderRejected: "providerRejected";
|
|
139
|
+
/** The template might exist but the capped sends could not confirm it. */
|
|
140
|
+
declare const CreateEmailTemplateBranchUncertain: "uncertain";
|
|
141
|
+
/** The template content or connection is invalid. */
|
|
142
|
+
declare const CreateEmailTemplateBranchDefect: "defect";
|
|
143
|
+
/** Manifest definition for createEmailTemplate. */
|
|
144
|
+
declare const CreateEmailTemplateDefinition: MutationDefinition;
|
|
145
|
+
/** Manifest metadata for createEmailTemplate. */
|
|
146
|
+
declare const CreateEmailTemplateMetadata: {
|
|
147
|
+
readonly kind: "mutation";
|
|
148
|
+
readonly idempotency: "required";
|
|
149
|
+
readonly authorization: "required";
|
|
150
|
+
};
|
|
151
|
+
/** Branch IDs for getEmailTemplate. */
|
|
152
|
+
declare const GetEmailTemplateBranch: {
|
|
153
|
+
readonly Found: "found";
|
|
154
|
+
readonly Missing: "missing";
|
|
155
|
+
readonly ProviderRejected: "providerRejected";
|
|
156
|
+
readonly InvalidResponse: "invalidResponse";
|
|
157
|
+
readonly Defect: "defect";
|
|
158
|
+
};
|
|
159
|
+
/** SES returned the complete template. */
|
|
160
|
+
declare const GetEmailTemplateBranchFound: "found";
|
|
161
|
+
/** The template does not exist. */
|
|
162
|
+
declare const GetEmailTemplateBranchMissing: "missing";
|
|
163
|
+
/** SES conclusively refused the read. */
|
|
164
|
+
declare const GetEmailTemplateBranchProviderRejected: "providerRejected";
|
|
165
|
+
/** SES returned invalid or oversized template content. */
|
|
166
|
+
declare const GetEmailTemplateBranchInvalidResponse: "invalidResponse";
|
|
167
|
+
/** The name or connection is invalid. */
|
|
168
|
+
declare const GetEmailTemplateBranchDefect: "defect";
|
|
169
|
+
/** Manifest definition for getEmailTemplate. */
|
|
170
|
+
declare const GetEmailTemplateDefinition: QueryDefinition;
|
|
171
|
+
/** Manifest metadata for getEmailTemplate. */
|
|
172
|
+
declare const GetEmailTemplateMetadata: {
|
|
173
|
+
readonly kind: "query";
|
|
174
|
+
readonly idempotency: "none";
|
|
175
|
+
readonly authorization: "required";
|
|
176
|
+
};
|
|
177
|
+
/** Branch IDs for listEmailTemplates. */
|
|
178
|
+
declare const ListEmailTemplatesBranch: {
|
|
179
|
+
readonly Page: "page";
|
|
180
|
+
readonly ProviderRejected: "providerRejected";
|
|
181
|
+
readonly InvalidResponse: "invalidResponse";
|
|
182
|
+
readonly Defect: "defect";
|
|
183
|
+
};
|
|
184
|
+
/** SES returned one page of template names. */
|
|
185
|
+
declare const ListEmailTemplatesBranchPage: "page";
|
|
186
|
+
/** SES conclusively refused the listing. */
|
|
187
|
+
declare const ListEmailTemplatesBranchProviderRejected: "providerRejected";
|
|
188
|
+
/** SES returned invalid or oversized metadata. */
|
|
189
|
+
declare const ListEmailTemplatesBranchInvalidResponse: "invalidResponse";
|
|
190
|
+
/** The page size or token is invalid. */
|
|
191
|
+
declare const ListEmailTemplatesBranchDefect: "defect";
|
|
192
|
+
/** Manifest definition for listEmailTemplates. */
|
|
193
|
+
declare const ListEmailTemplatesDefinition: QueryDefinition;
|
|
194
|
+
/** Manifest metadata for listEmailTemplates. */
|
|
195
|
+
declare const ListEmailTemplatesMetadata: {
|
|
196
|
+
readonly kind: "query";
|
|
197
|
+
readonly idempotency: "none";
|
|
198
|
+
readonly authorization: "required";
|
|
199
|
+
};
|
|
200
|
+
/** Branch IDs for updateEmailTemplate. */
|
|
201
|
+
declare const UpdateEmailTemplateBranch: {
|
|
202
|
+
readonly Updated: "updated";
|
|
203
|
+
readonly ProviderRejected: "providerRejected";
|
|
204
|
+
readonly Defect: "defect";
|
|
205
|
+
};
|
|
206
|
+
/** SES accepted the replacement. */
|
|
207
|
+
declare const UpdateEmailTemplateBranchUpdated: "updated";
|
|
208
|
+
/** SES conclusively refused the replacement. */
|
|
209
|
+
declare const UpdateEmailTemplateBranchProviderRejected: "providerRejected";
|
|
210
|
+
/** The name, content, or connection is invalid. */
|
|
211
|
+
declare const UpdateEmailTemplateBranchDefect: "defect";
|
|
212
|
+
/** Manifest definition for updateEmailTemplate. */
|
|
213
|
+
declare const UpdateEmailTemplateDefinition: MutationDefinition;
|
|
214
|
+
/** Manifest metadata for updateEmailTemplate. */
|
|
215
|
+
declare const UpdateEmailTemplateMetadata: {
|
|
216
|
+
readonly kind: "mutation";
|
|
217
|
+
readonly idempotency: "required";
|
|
218
|
+
readonly authorization: "required";
|
|
219
|
+
};
|
|
220
|
+
/** Branch IDs for deleteEmailTemplate. */
|
|
221
|
+
declare const DeleteEmailTemplateBranch: {
|
|
222
|
+
readonly Deleted: "deleted";
|
|
223
|
+
readonly ProviderRejected: "providerRejected";
|
|
224
|
+
readonly Defect: "defect";
|
|
225
|
+
};
|
|
226
|
+
/** The template is absent. */
|
|
227
|
+
declare const DeleteEmailTemplateBranchDeleted: "deleted";
|
|
228
|
+
/** SES conclusively refused deletion. */
|
|
229
|
+
declare const DeleteEmailTemplateBranchProviderRejected: "providerRejected";
|
|
230
|
+
/** The name or connection is invalid. */
|
|
231
|
+
declare const DeleteEmailTemplateBranchDefect: "defect";
|
|
232
|
+
/** Manifest definition for deleteEmailTemplate. */
|
|
233
|
+
declare const DeleteEmailTemplateDefinition: MutationDefinition;
|
|
234
|
+
/** Manifest metadata for deleteEmailTemplate. */
|
|
235
|
+
declare const DeleteEmailTemplateMetadata: {
|
|
236
|
+
readonly kind: "mutation";
|
|
237
|
+
readonly idempotency: "required";
|
|
238
|
+
readonly authorization: "required";
|
|
239
|
+
};
|
|
240
|
+
/** Branch IDs for sendTemplatedEmail. */
|
|
241
|
+
declare const SendTemplatedEmailBranch: {
|
|
242
|
+
readonly Sent: "sent";
|
|
243
|
+
readonly ProviderRejected: "providerRejected";
|
|
244
|
+
readonly Uncertain: "uncertain";
|
|
245
|
+
readonly Defect: "defect";
|
|
246
|
+
};
|
|
247
|
+
/** SES accepted the templated message. */
|
|
248
|
+
declare const SendTemplatedEmailBranchSent: "sent";
|
|
249
|
+
/** SES conclusively refused the sender, template, or recipient. */
|
|
250
|
+
declare const SendTemplatedEmailBranchProviderRejected: "providerRejected";
|
|
251
|
+
/** The send cap was reached without confirmation. */
|
|
252
|
+
declare const SendTemplatedEmailBranchUncertain: "uncertain";
|
|
253
|
+
/** The sender, recipient, data, or connection is invalid. */
|
|
254
|
+
declare const SendTemplatedEmailBranchDefect: "defect";
|
|
255
|
+
/** Manifest definition for sendTemplatedEmail. */
|
|
256
|
+
declare const SendTemplatedEmailDefinition: MutationDefinition;
|
|
257
|
+
/** Manifest metadata for sendTemplatedEmail. */
|
|
258
|
+
declare const SendTemplatedEmailMetadata: {
|
|
259
|
+
readonly kind: "mutation";
|
|
260
|
+
readonly idempotency: "required";
|
|
261
|
+
readonly authorization: "required";
|
|
262
|
+
};
|
|
263
|
+
/** Branch IDs for createCustomVerificationEmailTemplate. */
|
|
264
|
+
declare const CreateCustomVerificationEmailTemplateBranch: {
|
|
265
|
+
readonly Created: "created";
|
|
266
|
+
readonly ProviderRejected: "providerRejected";
|
|
267
|
+
readonly Uncertain: "uncertain";
|
|
268
|
+
readonly Defect: "defect";
|
|
269
|
+
};
|
|
270
|
+
/** SES accepted the template creation. */
|
|
271
|
+
declare const CreateCustomVerificationEmailTemplateBranchCreated: "created";
|
|
272
|
+
/** SES conclusively rejected creation or the name has different content. */
|
|
273
|
+
declare const CreateCustomVerificationEmailTemplateBranchProviderRejected: "providerRejected";
|
|
274
|
+
/** Creation may have happened but could not be confirmed. */
|
|
275
|
+
declare const CreateCustomVerificationEmailTemplateBranchUncertain: "uncertain";
|
|
276
|
+
/** The template content or connection is invalid. */
|
|
277
|
+
declare const CreateCustomVerificationEmailTemplateBranchDefect: "defect";
|
|
278
|
+
/** Manifest definition for createCustomVerificationEmailTemplate. */
|
|
279
|
+
declare const CreateCustomVerificationEmailTemplateDefinition: MutationDefinition;
|
|
280
|
+
/** Manifest metadata for createCustomVerificationEmailTemplate. */
|
|
281
|
+
declare const CreateCustomVerificationEmailTemplateMetadata: {
|
|
282
|
+
readonly kind: "mutation";
|
|
283
|
+
readonly idempotency: "required";
|
|
284
|
+
readonly authorization: "required";
|
|
285
|
+
};
|
|
286
|
+
/** Branch IDs for getCustomVerificationEmailTemplate. */
|
|
287
|
+
declare const GetCustomVerificationEmailTemplateBranch: {
|
|
288
|
+
readonly Found: "found";
|
|
289
|
+
readonly Missing: "missing";
|
|
290
|
+
readonly ProviderRejected: "providerRejected";
|
|
291
|
+
readonly InvalidResponse: "invalidResponse";
|
|
292
|
+
readonly Defect: "defect";
|
|
293
|
+
};
|
|
294
|
+
/** SES returned the verification template. */
|
|
295
|
+
declare const GetCustomVerificationEmailTemplateBranchFound: "found";
|
|
296
|
+
/** The verification template is absent. */
|
|
297
|
+
declare const GetCustomVerificationEmailTemplateBranchMissing: "missing";
|
|
298
|
+
/** SES refused the read. */
|
|
299
|
+
declare const GetCustomVerificationEmailTemplateBranchProviderRejected: "providerRejected";
|
|
300
|
+
/** SES returned invalid template content. */
|
|
301
|
+
declare const GetCustomVerificationEmailTemplateBranchInvalidResponse: "invalidResponse";
|
|
302
|
+
/** The name or connection is invalid. */
|
|
303
|
+
declare const GetCustomVerificationEmailTemplateBranchDefect: "defect";
|
|
304
|
+
/** Manifest definition for getCustomVerificationEmailTemplate. */
|
|
305
|
+
declare const GetCustomVerificationEmailTemplateDefinition: QueryDefinition;
|
|
306
|
+
/** Manifest metadata for getCustomVerificationEmailTemplate. */
|
|
307
|
+
declare const GetCustomVerificationEmailTemplateMetadata: {
|
|
308
|
+
readonly kind: "query";
|
|
309
|
+
readonly idempotency: "none";
|
|
310
|
+
readonly authorization: "required";
|
|
311
|
+
};
|
|
312
|
+
/** Branch IDs for listCustomVerificationEmailTemplates. */
|
|
313
|
+
declare const ListCustomVerificationEmailTemplatesBranch: {
|
|
314
|
+
readonly Page: "page";
|
|
315
|
+
readonly ProviderRejected: "providerRejected";
|
|
316
|
+
readonly InvalidResponse: "invalidResponse";
|
|
317
|
+
readonly Defect: "defect";
|
|
318
|
+
};
|
|
319
|
+
/** SES returned a page of verification templates. */
|
|
320
|
+
declare const ListCustomVerificationEmailTemplatesBranchPage: "page";
|
|
321
|
+
/** SES refused the listing. */
|
|
322
|
+
declare const ListCustomVerificationEmailTemplatesBranchProviderRejected: "providerRejected";
|
|
323
|
+
/** SES returned invalid template metadata. */
|
|
324
|
+
declare const ListCustomVerificationEmailTemplatesBranchInvalidResponse: "invalidResponse";
|
|
325
|
+
/** The page size or token is invalid. */
|
|
326
|
+
declare const ListCustomVerificationEmailTemplatesBranchDefect: "defect";
|
|
327
|
+
/** Manifest definition for listCustomVerificationEmailTemplates. */
|
|
328
|
+
declare const ListCustomVerificationEmailTemplatesDefinition: QueryDefinition;
|
|
329
|
+
/** Manifest metadata for listCustomVerificationEmailTemplates. */
|
|
330
|
+
declare const ListCustomVerificationEmailTemplatesMetadata: {
|
|
331
|
+
readonly kind: "query";
|
|
332
|
+
readonly idempotency: "none";
|
|
333
|
+
readonly authorization: "required";
|
|
334
|
+
};
|
|
335
|
+
/** Branch IDs for updateCustomVerificationEmailTemplate. */
|
|
336
|
+
declare const UpdateCustomVerificationEmailTemplateBranch: {
|
|
337
|
+
readonly Updated: "updated";
|
|
338
|
+
readonly ProviderRejected: "providerRejected";
|
|
339
|
+
readonly Defect: "defect";
|
|
340
|
+
};
|
|
341
|
+
/** SES accepted the absolute replacement. */
|
|
342
|
+
declare const UpdateCustomVerificationEmailTemplateBranchUpdated: "updated";
|
|
343
|
+
/** SES refused the replacement. */
|
|
344
|
+
declare const UpdateCustomVerificationEmailTemplateBranchProviderRejected: "providerRejected";
|
|
345
|
+
/** The template content or connection is invalid. */
|
|
346
|
+
declare const UpdateCustomVerificationEmailTemplateBranchDefect: "defect";
|
|
347
|
+
/** Manifest definition for updateCustomVerificationEmailTemplate. */
|
|
348
|
+
declare const UpdateCustomVerificationEmailTemplateDefinition: MutationDefinition;
|
|
349
|
+
/** Manifest metadata for updateCustomVerificationEmailTemplate. */
|
|
350
|
+
declare const UpdateCustomVerificationEmailTemplateMetadata: {
|
|
351
|
+
readonly kind: "mutation";
|
|
352
|
+
readonly idempotency: "required";
|
|
353
|
+
readonly authorization: "required";
|
|
354
|
+
};
|
|
355
|
+
/** Branch IDs for deleteCustomVerificationEmailTemplate. */
|
|
356
|
+
declare const DeleteCustomVerificationEmailTemplateBranch: {
|
|
357
|
+
readonly Deleted: "deleted";
|
|
358
|
+
readonly ProviderRejected: "providerRejected";
|
|
359
|
+
readonly Defect: "defect";
|
|
360
|
+
};
|
|
361
|
+
/** The template is absent. */
|
|
362
|
+
declare const DeleteCustomVerificationEmailTemplateBranchDeleted: "deleted";
|
|
363
|
+
/** SES refused the deletion. */
|
|
364
|
+
declare const DeleteCustomVerificationEmailTemplateBranchProviderRejected: "providerRejected";
|
|
365
|
+
/** The template name or connection is invalid. */
|
|
366
|
+
declare const DeleteCustomVerificationEmailTemplateBranchDefect: "defect";
|
|
367
|
+
/** Manifest definition for deleteCustomVerificationEmailTemplate. */
|
|
368
|
+
declare const DeleteCustomVerificationEmailTemplateDefinition: MutationDefinition;
|
|
369
|
+
/** Manifest metadata for deleteCustomVerificationEmailTemplate. */
|
|
370
|
+
declare const DeleteCustomVerificationEmailTemplateMetadata: {
|
|
371
|
+
readonly kind: "mutation";
|
|
372
|
+
readonly idempotency: "required";
|
|
373
|
+
readonly authorization: "required";
|
|
374
|
+
};
|
|
375
|
+
/** Branch IDs for sendCustomVerificationEmail. */
|
|
376
|
+
declare const SendCustomVerificationEmailBranch: {
|
|
377
|
+
readonly Sent: "sent";
|
|
378
|
+
readonly ProviderRejected: "providerRejected";
|
|
379
|
+
readonly Uncertain: "uncertain";
|
|
380
|
+
readonly Defect: "defect";
|
|
381
|
+
};
|
|
382
|
+
/** SES accepted the verification email. */
|
|
383
|
+
declare const SendCustomVerificationEmailBranchSent: "sent";
|
|
384
|
+
/** SES refused the template or recipient. */
|
|
385
|
+
declare const SendCustomVerificationEmailBranchProviderRejected: "providerRejected";
|
|
386
|
+
/** The send cap was reached without confirmation. */
|
|
387
|
+
declare const SendCustomVerificationEmailBranchUncertain: "uncertain";
|
|
388
|
+
/** The template, recipient, or connection is invalid. */
|
|
389
|
+
declare const SendCustomVerificationEmailBranchDefect: "defect";
|
|
390
|
+
/** Manifest definition for sendCustomVerificationEmail. */
|
|
391
|
+
declare const SendCustomVerificationEmailDefinition: MutationDefinition;
|
|
392
|
+
/** Manifest metadata for sendCustomVerificationEmail. */
|
|
393
|
+
declare const SendCustomVerificationEmailMetadata: {
|
|
394
|
+
readonly kind: "mutation";
|
|
395
|
+
readonly idempotency: "required";
|
|
396
|
+
readonly authorization: "required";
|
|
397
|
+
};
|
|
398
|
+
|
|
399
|
+
/** Configuration for the createEmailIdentity connector Step. */
|
|
400
|
+
interface CreateEmailIdentityStepConfig<StepInput, OperationInput = CreateEmailIdentityInput, OperationOutput = CreatedEmailIdentity> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
401
|
+
/** Named connection supplying this operation. */
|
|
402
|
+
connection: Connection<{
|
|
403
|
+
createEmailIdentity(): Mutation<OperationInput, OperationOutput>;
|
|
404
|
+
}>;
|
|
405
|
+
/** Name matching the bound connection. */
|
|
406
|
+
connectionName: string;
|
|
407
|
+
/** SES accepted the identity for verification. */
|
|
408
|
+
created: StepTarget<MutationResult<OperationOutput>>;
|
|
409
|
+
/** SES conclusively rejected the identity creation. */
|
|
410
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
411
|
+
/** SES may have created the identity but the capped sends could not confirm it. */
|
|
412
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
413
|
+
/** The identity or connection is invalid. */
|
|
414
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
415
|
+
}
|
|
416
|
+
/** Build the createEmailIdentity Step from a named connection. */
|
|
417
|
+
declare function newCreateEmailIdentityStep<StepInput, OperationInput = CreateEmailIdentityInput, OperationOutput = CreatedEmailIdentity>(configuration: CreateEmailIdentityStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
418
|
+
/** Configuration for the getEmailIdentity connector Step. */
|
|
419
|
+
interface GetEmailIdentityStepConfig<StepInput, OperationInput = GetEmailIdentityInput, OperationOutput = EmailIdentityDetails> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
420
|
+
/** Named connection supplying this operation. */
|
|
421
|
+
connection: Connection<{
|
|
422
|
+
getEmailIdentity(): Query<OperationInput, OperationOutput>;
|
|
423
|
+
}>;
|
|
424
|
+
/** Name matching the bound connection. */
|
|
425
|
+
connectionName: string;
|
|
426
|
+
/** AWS returned the identity verification status. */
|
|
427
|
+
found: StepTarget<QueryResult<OperationOutput>>;
|
|
428
|
+
/** The identity does not exist in the selected Region. */
|
|
429
|
+
missing?: StepTarget<QueryResult<OperationOutput>>;
|
|
430
|
+
/** AWS conclusively rejected the request or credentials. */
|
|
431
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
432
|
+
/** AWS returned malformed or oversized identity metadata. */
|
|
433
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
434
|
+
/** The identity, endpoint, Region, or credentials are invalid. */
|
|
435
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
436
|
+
}
|
|
437
|
+
/** Build the getEmailIdentity Step from a named connection. */
|
|
438
|
+
declare function newGetEmailIdentityStep<StepInput, OperationInput = GetEmailIdentityInput, OperationOutput = EmailIdentityDetails>(configuration: GetEmailIdentityStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
439
|
+
/** Configuration for the listEmailIdentities connector Step. */
|
|
440
|
+
interface ListEmailIdentitiesStepConfig<StepInput, OperationInput = ListEmailIdentitiesInput, OperationOutput = EmailIdentityPage> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
441
|
+
/** Named connection supplying this operation. */
|
|
442
|
+
connection: Connection<{
|
|
443
|
+
listEmailIdentities(): Query<OperationInput, OperationOutput>;
|
|
444
|
+
}>;
|
|
445
|
+
/** Name matching the bound connection. */
|
|
446
|
+
connectionName: string;
|
|
447
|
+
/** AWS returned a page of identities. */
|
|
448
|
+
page: StepTarget<QueryResult<OperationOutput>>;
|
|
449
|
+
/** AWS conclusively rejected the listing. */
|
|
450
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
451
|
+
/** AWS returned malformed or oversized identity data. */
|
|
452
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
453
|
+
/** The page size or token is invalid. */
|
|
454
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
455
|
+
}
|
|
456
|
+
/** Build the listEmailIdentities Step from a named connection. */
|
|
457
|
+
declare function newListEmailIdentitiesStep<StepInput, OperationInput = ListEmailIdentitiesInput, OperationOutput = EmailIdentityPage>(configuration: ListEmailIdentitiesStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
458
|
+
/** Configuration for the deleteEmailIdentity connector Step. */
|
|
459
|
+
interface DeleteEmailIdentityStepConfig<StepInput, OperationInput = DeleteEmailIdentityInput, OperationOutput = DeletedEmailIdentity> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
460
|
+
/** Named connection supplying this operation. */
|
|
461
|
+
connection: Connection<{
|
|
462
|
+
deleteEmailIdentity(): Mutation<OperationInput, OperationOutput>;
|
|
463
|
+
}>;
|
|
464
|
+
/** Name matching the bound connection. */
|
|
465
|
+
connectionName: string;
|
|
466
|
+
/** The identity is absent after the deletion. */
|
|
467
|
+
deleted: StepTarget<MutationResult<OperationOutput>>;
|
|
468
|
+
/** AWS conclusively rejected the deletion. */
|
|
469
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
470
|
+
/** The identity or connection is invalid. */
|
|
471
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
472
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
473
|
+
maxSends?: number;
|
|
474
|
+
}
|
|
475
|
+
/** Build the deleteEmailIdentity Step from a named connection. */
|
|
476
|
+
declare function newDeleteEmailIdentityStep<StepInput, OperationInput = DeleteEmailIdentityInput, OperationOutput = DeletedEmailIdentity>(configuration: DeleteEmailIdentityStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
477
|
+
/** Configuration for the sendEmail connector Step. */
|
|
478
|
+
interface SendEmailStepConfig<StepInput, OperationInput = SendEmailInput, OperationOutput = SentEmail> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
479
|
+
/** Named connection supplying this operation. */
|
|
480
|
+
connection: Connection<{
|
|
481
|
+
sendEmail(): Mutation<OperationInput, OperationOutput>;
|
|
482
|
+
}>;
|
|
483
|
+
/** Name matching the bound connection. */
|
|
484
|
+
connectionName: string;
|
|
485
|
+
/** SES accepted the message and returned its message ID. */
|
|
486
|
+
sent: StepTarget<MutationResult<OperationOutput>>;
|
|
487
|
+
/** SES definitively rejected the sender, recipient, or content. */
|
|
488
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
489
|
+
/** The send cap was reached without confirmation; a duplicate email may have been sent. */
|
|
490
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
491
|
+
/** The input or connection is invalid. */
|
|
492
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
493
|
+
}
|
|
494
|
+
/** Build the sendEmail Step from a named connection. */
|
|
495
|
+
declare function newSendEmailStep<StepInput, OperationInput = SendEmailInput, OperationOutput = SentEmail>(configuration: SendEmailStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
496
|
+
/** Configuration for the createEmailTemplate connector Step. */
|
|
497
|
+
interface CreateEmailTemplateStepConfig<StepInput, OperationInput = CreateEmailTemplateInput, OperationOutput = EmailTemplate> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
498
|
+
/** Named connection supplying this operation. */
|
|
499
|
+
connection: Connection<{
|
|
500
|
+
createEmailTemplate(): Mutation<OperationInput, OperationOutput>;
|
|
501
|
+
}>;
|
|
502
|
+
/** Name matching the bound connection. */
|
|
503
|
+
connectionName: string;
|
|
504
|
+
/** SES accepted the template creation. */
|
|
505
|
+
created: StepTarget<MutationResult<OperationOutput>>;
|
|
506
|
+
/** SES conclusively refused creation or the name has different content. */
|
|
507
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
508
|
+
/** The template might exist but the capped sends could not confirm it. */
|
|
509
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
510
|
+
/** The template content or connection is invalid. */
|
|
511
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
512
|
+
}
|
|
513
|
+
/** Build the createEmailTemplate Step from a named connection. */
|
|
514
|
+
declare function newCreateEmailTemplateStep<StepInput, OperationInput = CreateEmailTemplateInput, OperationOutput = EmailTemplate>(configuration: CreateEmailTemplateStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
515
|
+
/** Configuration for the getEmailTemplate connector Step. */
|
|
516
|
+
interface GetEmailTemplateStepConfig<StepInput, OperationInput = GetEmailTemplateInput, OperationOutput = EmailTemplate> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
517
|
+
/** Named connection supplying this operation. */
|
|
518
|
+
connection: Connection<{
|
|
519
|
+
getEmailTemplate(): Query<OperationInput, OperationOutput>;
|
|
520
|
+
}>;
|
|
521
|
+
/** Name matching the bound connection. */
|
|
522
|
+
connectionName: string;
|
|
523
|
+
/** SES returned the complete template. */
|
|
524
|
+
found: StepTarget<QueryResult<OperationOutput>>;
|
|
525
|
+
/** The template does not exist. */
|
|
526
|
+
missing?: StepTarget<QueryResult<OperationOutput>>;
|
|
527
|
+
/** SES conclusively refused the read. */
|
|
528
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
529
|
+
/** SES returned invalid or oversized template content. */
|
|
530
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
531
|
+
/** The name or connection is invalid. */
|
|
532
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
533
|
+
}
|
|
534
|
+
/** Build the getEmailTemplate Step from a named connection. */
|
|
535
|
+
declare function newGetEmailTemplateStep<StepInput, OperationInput = GetEmailTemplateInput, OperationOutput = EmailTemplate>(configuration: GetEmailTemplateStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
536
|
+
/** Configuration for the listEmailTemplates connector Step. */
|
|
537
|
+
interface ListEmailTemplatesStepConfig<StepInput, OperationInput = ListEmailTemplatesInput, OperationOutput = EmailTemplatePage> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
538
|
+
/** Named connection supplying this operation. */
|
|
539
|
+
connection: Connection<{
|
|
540
|
+
listEmailTemplates(): Query<OperationInput, OperationOutput>;
|
|
541
|
+
}>;
|
|
542
|
+
/** Name matching the bound connection. */
|
|
543
|
+
connectionName: string;
|
|
544
|
+
/** SES returned one page of template names. */
|
|
545
|
+
page: StepTarget<QueryResult<OperationOutput>>;
|
|
546
|
+
/** SES conclusively refused the listing. */
|
|
547
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
548
|
+
/** SES returned invalid or oversized metadata. */
|
|
549
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
550
|
+
/** The page size or token is invalid. */
|
|
551
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
552
|
+
}
|
|
553
|
+
/** Build the listEmailTemplates Step from a named connection. */
|
|
554
|
+
declare function newListEmailTemplatesStep<StepInput, OperationInput = ListEmailTemplatesInput, OperationOutput = EmailTemplatePage>(configuration: ListEmailTemplatesStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
555
|
+
/** Configuration for the updateEmailTemplate connector Step. */
|
|
556
|
+
interface UpdateEmailTemplateStepConfig<StepInput, OperationInput = UpdateEmailTemplateInput, OperationOutput = EmailTemplate> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
557
|
+
/** Named connection supplying this operation. */
|
|
558
|
+
connection: Connection<{
|
|
559
|
+
updateEmailTemplate(): Mutation<OperationInput, OperationOutput>;
|
|
560
|
+
}>;
|
|
561
|
+
/** Name matching the bound connection. */
|
|
562
|
+
connectionName: string;
|
|
563
|
+
/** SES accepted the replacement. */
|
|
564
|
+
updated: StepTarget<MutationResult<OperationOutput>>;
|
|
565
|
+
/** SES conclusively refused the replacement. */
|
|
566
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
567
|
+
/** The name, content, or connection is invalid. */
|
|
568
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
569
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
570
|
+
maxSends?: number;
|
|
571
|
+
}
|
|
572
|
+
/** Build the updateEmailTemplate Step from a named connection. */
|
|
573
|
+
declare function newUpdateEmailTemplateStep<StepInput, OperationInput = UpdateEmailTemplateInput, OperationOutput = EmailTemplate>(configuration: UpdateEmailTemplateStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
574
|
+
/** Configuration for the deleteEmailTemplate connector Step. */
|
|
575
|
+
interface DeleteEmailTemplateStepConfig<StepInput, OperationInput = DeleteEmailTemplateInput, OperationOutput = DeletedEmailTemplate> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
576
|
+
/** Named connection supplying this operation. */
|
|
577
|
+
connection: Connection<{
|
|
578
|
+
deleteEmailTemplate(): Mutation<OperationInput, OperationOutput>;
|
|
579
|
+
}>;
|
|
580
|
+
/** Name matching the bound connection. */
|
|
581
|
+
connectionName: string;
|
|
582
|
+
/** The template is absent. */
|
|
583
|
+
deleted: StepTarget<MutationResult<OperationOutput>>;
|
|
584
|
+
/** SES conclusively refused deletion. */
|
|
585
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
586
|
+
/** The name or connection is invalid. */
|
|
587
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
588
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
589
|
+
maxSends?: number;
|
|
590
|
+
}
|
|
591
|
+
/** Build the deleteEmailTemplate Step from a named connection. */
|
|
592
|
+
declare function newDeleteEmailTemplateStep<StepInput, OperationInput = DeleteEmailTemplateInput, OperationOutput = DeletedEmailTemplate>(configuration: DeleteEmailTemplateStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
593
|
+
/** Configuration for the sendTemplatedEmail connector Step. */
|
|
594
|
+
interface SendTemplatedEmailStepConfig<StepInput, OperationInput = SendTemplatedEmailInput, OperationOutput = SentEmail> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
595
|
+
/** Named connection supplying this operation. */
|
|
596
|
+
connection: Connection<{
|
|
597
|
+
sendTemplatedEmail(): Mutation<OperationInput, OperationOutput>;
|
|
598
|
+
}>;
|
|
599
|
+
/** Name matching the bound connection. */
|
|
600
|
+
connectionName: string;
|
|
601
|
+
/** SES accepted the templated message. */
|
|
602
|
+
sent: StepTarget<MutationResult<OperationOutput>>;
|
|
603
|
+
/** SES conclusively refused the sender, template, or recipient. */
|
|
604
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
605
|
+
/** The send cap was reached without confirmation. */
|
|
606
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
607
|
+
/** The sender, recipient, data, or connection is invalid. */
|
|
608
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
609
|
+
}
|
|
610
|
+
/** Build the sendTemplatedEmail Step from a named connection. */
|
|
611
|
+
declare function newSendTemplatedEmailStep<StepInput, OperationInput = SendTemplatedEmailInput, OperationOutput = SentEmail>(configuration: SendTemplatedEmailStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
612
|
+
/** Configuration for the createCustomVerificationEmailTemplate connector Step. */
|
|
613
|
+
interface CreateCustomVerificationEmailTemplateStepConfig<StepInput, OperationInput = CreateCustomVerificationEmailTemplateInput, OperationOutput = CustomVerificationEmailTemplate> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
614
|
+
/** Named connection supplying this operation. */
|
|
615
|
+
connection: Connection<{
|
|
616
|
+
createCustomVerificationEmailTemplate(): Mutation<OperationInput, OperationOutput>;
|
|
617
|
+
}>;
|
|
618
|
+
/** Name matching the bound connection. */
|
|
619
|
+
connectionName: string;
|
|
620
|
+
/** SES accepted the template creation. */
|
|
621
|
+
created: StepTarget<MutationResult<OperationOutput>>;
|
|
622
|
+
/** SES conclusively rejected creation or the name has different content. */
|
|
623
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
624
|
+
/** Creation may have happened but could not be confirmed. */
|
|
625
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
626
|
+
/** The template content or connection is invalid. */
|
|
627
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
628
|
+
}
|
|
629
|
+
/** Build the createCustomVerificationEmailTemplate Step from a named connection. */
|
|
630
|
+
declare function newCreateCustomVerificationEmailTemplateStep<StepInput, OperationInput = CreateCustomVerificationEmailTemplateInput, OperationOutput = CustomVerificationEmailTemplate>(configuration: CreateCustomVerificationEmailTemplateStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
631
|
+
/** Configuration for the getCustomVerificationEmailTemplate connector Step. */
|
|
632
|
+
interface GetCustomVerificationEmailTemplateStepConfig<StepInput, OperationInput = GetCustomVerificationEmailTemplateInput, OperationOutput = CustomVerificationEmailTemplate> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
633
|
+
/** Named connection supplying this operation. */
|
|
634
|
+
connection: Connection<{
|
|
635
|
+
getCustomVerificationEmailTemplate(): Query<OperationInput, OperationOutput>;
|
|
636
|
+
}>;
|
|
637
|
+
/** Name matching the bound connection. */
|
|
638
|
+
connectionName: string;
|
|
639
|
+
/** SES returned the verification template. */
|
|
640
|
+
found: StepTarget<QueryResult<OperationOutput>>;
|
|
641
|
+
/** The verification template is absent. */
|
|
642
|
+
missing?: StepTarget<QueryResult<OperationOutput>>;
|
|
643
|
+
/** SES refused the read. */
|
|
644
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
645
|
+
/** SES returned invalid template content. */
|
|
646
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
647
|
+
/** The name or connection is invalid. */
|
|
648
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
649
|
+
}
|
|
650
|
+
/** Build the getCustomVerificationEmailTemplate Step from a named connection. */
|
|
651
|
+
declare function newGetCustomVerificationEmailTemplateStep<StepInput, OperationInput = GetCustomVerificationEmailTemplateInput, OperationOutput = CustomVerificationEmailTemplate>(configuration: GetCustomVerificationEmailTemplateStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
652
|
+
/** Configuration for the listCustomVerificationEmailTemplates connector Step. */
|
|
653
|
+
interface ListCustomVerificationEmailTemplatesStepConfig<StepInput, OperationInput = ListCustomVerificationEmailTemplatesInput, OperationOutput = CustomVerificationEmailTemplatePage> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
654
|
+
/** Named connection supplying this operation. */
|
|
655
|
+
connection: Connection<{
|
|
656
|
+
listCustomVerificationEmailTemplates(): Query<OperationInput, OperationOutput>;
|
|
657
|
+
}>;
|
|
658
|
+
/** Name matching the bound connection. */
|
|
659
|
+
connectionName: string;
|
|
660
|
+
/** SES returned a page of verification templates. */
|
|
661
|
+
page: StepTarget<QueryResult<OperationOutput>>;
|
|
662
|
+
/** SES refused the listing. */
|
|
663
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
664
|
+
/** SES returned invalid template metadata. */
|
|
665
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
666
|
+
/** The page size or token is invalid. */
|
|
667
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
668
|
+
}
|
|
669
|
+
/** Build the listCustomVerificationEmailTemplates Step from a named connection. */
|
|
670
|
+
declare function newListCustomVerificationEmailTemplatesStep<StepInput, OperationInput = ListCustomVerificationEmailTemplatesInput, OperationOutput = CustomVerificationEmailTemplatePage>(configuration: ListCustomVerificationEmailTemplatesStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
671
|
+
/** Configuration for the updateCustomVerificationEmailTemplate connector Step. */
|
|
672
|
+
interface UpdateCustomVerificationEmailTemplateStepConfig<StepInput, OperationInput = UpdateCustomVerificationEmailTemplateInput, OperationOutput = CustomVerificationEmailTemplate> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
673
|
+
/** Named connection supplying this operation. */
|
|
674
|
+
connection: Connection<{
|
|
675
|
+
updateCustomVerificationEmailTemplate(): Mutation<OperationInput, OperationOutput>;
|
|
676
|
+
}>;
|
|
677
|
+
/** Name matching the bound connection. */
|
|
678
|
+
connectionName: string;
|
|
679
|
+
/** SES accepted the absolute replacement. */
|
|
680
|
+
updated: StepTarget<MutationResult<OperationOutput>>;
|
|
681
|
+
/** SES refused the replacement. */
|
|
682
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
683
|
+
/** The template content or connection is invalid. */
|
|
684
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
685
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
686
|
+
maxSends?: number;
|
|
687
|
+
}
|
|
688
|
+
/** Build the updateCustomVerificationEmailTemplate Step from a named connection. */
|
|
689
|
+
declare function newUpdateCustomVerificationEmailTemplateStep<StepInput, OperationInput = UpdateCustomVerificationEmailTemplateInput, OperationOutput = CustomVerificationEmailTemplate>(configuration: UpdateCustomVerificationEmailTemplateStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
690
|
+
/** Configuration for the deleteCustomVerificationEmailTemplate connector Step. */
|
|
691
|
+
interface DeleteCustomVerificationEmailTemplateStepConfig<StepInput, OperationInput = DeleteCustomVerificationEmailTemplateInput, OperationOutput = DeletedEmailTemplate> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
692
|
+
/** Named connection supplying this operation. */
|
|
693
|
+
connection: Connection<{
|
|
694
|
+
deleteCustomVerificationEmailTemplate(): Mutation<OperationInput, OperationOutput>;
|
|
695
|
+
}>;
|
|
696
|
+
/** Name matching the bound connection. */
|
|
697
|
+
connectionName: string;
|
|
698
|
+
/** The template is absent. */
|
|
699
|
+
deleted: StepTarget<MutationResult<OperationOutput>>;
|
|
700
|
+
/** SES refused the deletion. */
|
|
701
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
702
|
+
/** The template name or connection is invalid. */
|
|
703
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
704
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
705
|
+
maxSends?: number;
|
|
706
|
+
}
|
|
707
|
+
/** Build the deleteCustomVerificationEmailTemplate Step from a named connection. */
|
|
708
|
+
declare function newDeleteCustomVerificationEmailTemplateStep<StepInput, OperationInput = DeleteCustomVerificationEmailTemplateInput, OperationOutput = DeletedEmailTemplate>(configuration: DeleteCustomVerificationEmailTemplateStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
709
|
+
/** Configuration for the sendCustomVerificationEmail connector Step. */
|
|
710
|
+
interface SendCustomVerificationEmailStepConfig<StepInput, OperationInput = SendCustomVerificationEmailInput, OperationOutput = SentEmail> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
711
|
+
/** Named connection supplying this operation. */
|
|
712
|
+
connection: Connection<{
|
|
713
|
+
sendCustomVerificationEmail(): Mutation<OperationInput, OperationOutput>;
|
|
714
|
+
}>;
|
|
715
|
+
/** Name matching the bound connection. */
|
|
716
|
+
connectionName: string;
|
|
717
|
+
/** SES accepted the verification email. */
|
|
718
|
+
sent: StepTarget<MutationResult<OperationOutput>>;
|
|
719
|
+
/** SES refused the template or recipient. */
|
|
720
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
721
|
+
/** The send cap was reached without confirmation. */
|
|
722
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
723
|
+
/** The template, recipient, or connection is invalid. */
|
|
724
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
725
|
+
}
|
|
726
|
+
/** Build the sendCustomVerificationEmail Step from a named connection. */
|
|
727
|
+
declare function newSendCustomVerificationEmailStep<StepInput, OperationInput = SendCustomVerificationEmailInput, OperationOutput = SentEmail>(configuration: SendCustomVerificationEmailStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
728
|
+
|
|
729
|
+
/** Open one named Amazon SES connection from Dex project configuration. */
|
|
730
|
+
declare function newProjectConnection(project: LoadedProject, connectionName: string): Connection<Operations>;
|
|
731
|
+
|
|
732
|
+
declare abstract class SESQuery<Input, Output> implements Query<Input, Output> {
|
|
733
|
+
protected readonly client: AmazonSESClient;
|
|
734
|
+
protected abstract readonly contract: QueryDefinition;
|
|
735
|
+
/** Bind the provider client. */
|
|
736
|
+
constructor(client: AmazonSESClient);
|
|
737
|
+
/** Return the generated query definition. */
|
|
738
|
+
definition(): QueryDefinition;
|
|
739
|
+
/** Run the query against SES. */
|
|
740
|
+
abstract invoke(call: Call, input: Input): Promise<QueryAttempt<Output>>;
|
|
741
|
+
}
|
|
742
|
+
declare abstract class SESMutation<Input, Output> implements Mutation<Input, Output> {
|
|
743
|
+
protected readonly client: AmazonSESClient;
|
|
744
|
+
protected abstract readonly contract: MutationDefinition;
|
|
745
|
+
/** Bind the provider client. */
|
|
746
|
+
constructor(client: AmazonSESClient);
|
|
747
|
+
/** Return the generated mutation definition. */
|
|
748
|
+
definition(): MutationDefinition;
|
|
749
|
+
/** Use the same invocation identity across all attempts. */
|
|
750
|
+
idempotencyKey(callID: string): string;
|
|
751
|
+
/** Run the mutation against SES. */
|
|
752
|
+
abstract invoke(call: Call, input: Input): Promise<MutationAttempt<Output>>;
|
|
753
|
+
}
|
|
754
|
+
/** Create an SES identity and return its verification metadata. */
|
|
755
|
+
declare class CreateEmailIdentityOperation extends SESMutation<CreateEmailIdentityInput, CreatedEmailIdentity> {
|
|
756
|
+
protected readonly contract: MutationDefinition;
|
|
757
|
+
/** Submit a fenced identity request. */
|
|
758
|
+
invoke(call: Call, input: CreateEmailIdentityInput): Promise<MutationAttempt<CreatedEmailIdentity>>;
|
|
759
|
+
}
|
|
760
|
+
/** List one regional SES identity page. */
|
|
761
|
+
declare class ListEmailIdentitiesOperation extends SESQuery<ListEmailIdentitiesInput, EmailIdentityPage> {
|
|
762
|
+
protected readonly contract: QueryDefinition;
|
|
763
|
+
/** Return one identity page and its continuation token. */
|
|
764
|
+
invoke(call: Call, input: ListEmailIdentitiesInput): Promise<QueryAttempt<EmailIdentityPage>>;
|
|
765
|
+
}
|
|
766
|
+
/** Delete a regional SES identity. */
|
|
767
|
+
declare class DeleteEmailIdentityOperation extends SESMutation<DeleteEmailIdentityInput, DeletedEmailIdentity> {
|
|
768
|
+
protected readonly contract: MutationDefinition;
|
|
769
|
+
/** Treat an absent identity as deleted. */
|
|
770
|
+
invoke(call: Call, input: DeleteEmailIdentityInput): Promise<MutationAttempt<DeletedEmailIdentity>>;
|
|
771
|
+
}
|
|
772
|
+
/** Send one simple text email with a bounded number of possible sends. */
|
|
773
|
+
declare class SendEmailOperation extends SESMutation<SendEmailInput, SentEmail> {
|
|
774
|
+
protected readonly contract: MutationDefinition;
|
|
775
|
+
/** Return the provider message ID when SES acknowledges the email. */
|
|
776
|
+
invoke(call: Call, input: SendEmailInput): Promise<MutationAttempt<SentEmail>>;
|
|
777
|
+
}
|
|
778
|
+
/** Create a named SES email template with bounded dispatch. */
|
|
779
|
+
declare class CreateEmailTemplateOperation extends SESMutation<CreateEmailTemplateInput, EmailTemplate> {
|
|
780
|
+
protected readonly contract: MutationDefinition;
|
|
781
|
+
/** Return the submitted template when SES acknowledges creation. */
|
|
782
|
+
invoke(call: Call, input: CreateEmailTemplateInput): Promise<MutationAttempt<EmailTemplate>>;
|
|
783
|
+
}
|
|
784
|
+
/** Read one named SES template. */
|
|
785
|
+
declare class GetEmailTemplateOperation extends SESQuery<GetEmailTemplateInput, EmailTemplate> {
|
|
786
|
+
protected readonly contract: QueryDefinition;
|
|
787
|
+
/** Return the stored template or route an absent name to missing. */
|
|
788
|
+
invoke(call: Call, input: GetEmailTemplateInput): Promise<QueryAttempt<EmailTemplate>>;
|
|
789
|
+
}
|
|
790
|
+
/** List one page of SES email template metadata. */
|
|
791
|
+
declare class ListEmailTemplatesOperation extends SESQuery<ListEmailTemplatesInput, EmailTemplatePage> {
|
|
792
|
+
protected readonly contract: QueryDefinition;
|
|
793
|
+
/** Return template names and UTC creation times. */
|
|
794
|
+
invoke(call: Call, input: ListEmailTemplatesInput): Promise<QueryAttempt<EmailTemplatePage>>;
|
|
795
|
+
}
|
|
796
|
+
/** Replace the content of a named SES email template. */
|
|
797
|
+
declare class UpdateEmailTemplateOperation extends SESMutation<UpdateEmailTemplateInput, EmailTemplate> {
|
|
798
|
+
protected readonly contract: MutationDefinition;
|
|
799
|
+
/** Return the replacement when SES acknowledges the write. */
|
|
800
|
+
invoke(call: Call, input: UpdateEmailTemplateInput): Promise<MutationAttempt<EmailTemplate>>;
|
|
801
|
+
}
|
|
802
|
+
/** Delete a named SES email template. */
|
|
803
|
+
declare class DeleteEmailTemplateOperation extends SESMutation<DeleteEmailTemplateInput, DeletedEmailTemplate> {
|
|
804
|
+
protected readonly contract: MutationDefinition;
|
|
805
|
+
/** Treat a missing template as deleted. */
|
|
806
|
+
invoke(call: Call, input: DeleteEmailTemplateInput): Promise<MutationAttempt<DeletedEmailTemplate>>;
|
|
807
|
+
}
|
|
808
|
+
/** Send one templated email with a bounded number of possible sends. */
|
|
809
|
+
declare class SendTemplatedEmailOperation extends SESMutation<SendTemplatedEmailInput, SentEmail> {
|
|
810
|
+
protected readonly contract: MutationDefinition;
|
|
811
|
+
/** Return the message ID from an acknowledged templated send. */
|
|
812
|
+
invoke(call: Call, input: SendTemplatedEmailInput): Promise<MutationAttempt<SentEmail>>;
|
|
813
|
+
}
|
|
814
|
+
/** Create a custom SES verification template with bounded dispatch. */
|
|
815
|
+
declare class CreateCustomVerificationEmailTemplateOperation extends SESMutation<CreateCustomVerificationEmailTemplateInput, CustomVerificationEmailTemplate> {
|
|
816
|
+
protected readonly contract: MutationDefinition;
|
|
817
|
+
/** Return the verification template when SES acknowledges creation. */
|
|
818
|
+
invoke(call: Call, input: CreateCustomVerificationEmailTemplateInput): Promise<MutationAttempt<CustomVerificationEmailTemplate>>;
|
|
819
|
+
}
|
|
820
|
+
/** Read one named custom SES verification template. */
|
|
821
|
+
declare class GetCustomVerificationEmailTemplateOperation extends SESQuery<GetCustomVerificationEmailTemplateInput, CustomVerificationEmailTemplate> {
|
|
822
|
+
protected readonly contract: QueryDefinition;
|
|
823
|
+
/** Return the saved template or route an absent name to missing. */
|
|
824
|
+
invoke(call: Call, input: GetCustomVerificationEmailTemplateInput): Promise<QueryAttempt<CustomVerificationEmailTemplate>>;
|
|
825
|
+
}
|
|
826
|
+
/** List one page of custom SES verification template summaries. */
|
|
827
|
+
declare class ListCustomVerificationEmailTemplatesOperation extends SESQuery<ListCustomVerificationEmailTemplatesInput, CustomVerificationEmailTemplatePage> {
|
|
828
|
+
protected readonly contract: QueryDefinition;
|
|
829
|
+
/** Return template metadata and the continuation token. */
|
|
830
|
+
invoke(call: Call, input: ListCustomVerificationEmailTemplatesInput): Promise<QueryAttempt<CustomVerificationEmailTemplatePage>>;
|
|
831
|
+
}
|
|
832
|
+
/** Replace a custom SES verification template. */
|
|
833
|
+
declare class UpdateCustomVerificationEmailTemplateOperation extends SESMutation<UpdateCustomVerificationEmailTemplateInput, CustomVerificationEmailTemplate> {
|
|
834
|
+
protected readonly contract: MutationDefinition;
|
|
835
|
+
/** Return the replacement when SES acknowledges the write. */
|
|
836
|
+
invoke(call: Call, input: UpdateCustomVerificationEmailTemplateInput): Promise<MutationAttempt<CustomVerificationEmailTemplate>>;
|
|
837
|
+
}
|
|
838
|
+
/** Delete a named custom SES verification template. */
|
|
839
|
+
declare class DeleteCustomVerificationEmailTemplateOperation extends SESMutation<DeleteCustomVerificationEmailTemplateInput, DeletedEmailTemplate> {
|
|
840
|
+
protected readonly contract: MutationDefinition;
|
|
841
|
+
/** Treat a missing template as deleted. */
|
|
842
|
+
invoke(call: Call, input: DeleteCustomVerificationEmailTemplateInput): Promise<MutationAttempt<DeletedEmailTemplate>>;
|
|
843
|
+
}
|
|
844
|
+
/** Send a custom SES verification email with bounded dispatch. */
|
|
845
|
+
declare class SendCustomVerificationEmailOperation extends SESMutation<SendCustomVerificationEmailInput, SentEmail> {
|
|
846
|
+
protected readonly contract: MutationDefinition;
|
|
847
|
+
/** Return the message ID from an acknowledged verification send. */
|
|
848
|
+
invoke(call: Call, input: SendCustomVerificationEmailInput): Promise<MutationAttempt<SentEmail>>;
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
/** Injectable transport and clock for tests and local applications. */
|
|
852
|
+
interface AmazonSESClientOptions {
|
|
853
|
+
/** Provider sender; omitted uses the SDK transport. */ send?: (request: ProviderRequest) => Promise<ProviderResponse>;
|
|
854
|
+
/** Signing clock; omitted uses the current time. */ now?: () => Date;
|
|
855
|
+
}
|
|
856
|
+
/** Bounded result of one SES HTTP request. */
|
|
857
|
+
interface Exchange {
|
|
858
|
+
/** HTTP status, or zero if no headers arrived. */ status: number;
|
|
859
|
+
/** Bounded response after credential checks. */ body: Uint8Array;
|
|
860
|
+
/** Parsed Retry-After delay. */ retryAfterMs: number;
|
|
861
|
+
/** Sanitized exchange failure. */ error?: 'credential' | 'request' | 'tooLarge' | 'interrupted';
|
|
862
|
+
}
|
|
863
|
+
/** Authenticated AWS SES client for signed SES requests. */
|
|
864
|
+
declare class AmazonSESClient {
|
|
865
|
+
private readonly credentials;
|
|
866
|
+
private readonly endpoint;
|
|
867
|
+
private readonly region;
|
|
868
|
+
private readonly timeoutMs;
|
|
869
|
+
private readonly maxResponseBytes;
|
|
870
|
+
private readonly send;
|
|
871
|
+
private readonly now;
|
|
872
|
+
/** Validate the Region, endpoint, and limits without contacting AWS. */
|
|
873
|
+
constructor(config: Config, credentials: CredentialProvider<Credentials>, options?: AmazonSESClientOptions);
|
|
874
|
+
/** Bind the getEmailIdentity Query. */ getEmailIdentity(): GetEmailIdentityOperation;
|
|
875
|
+
/** Bind the create email identity operation. */
|
|
876
|
+
createEmailIdentity(): CreateEmailIdentityOperation;
|
|
877
|
+
/** Bind the list email identities operation. */
|
|
878
|
+
listEmailIdentities(): ListEmailIdentitiesOperation;
|
|
879
|
+
/** Bind the delete email identity operation. */
|
|
880
|
+
deleteEmailIdentity(): DeleteEmailIdentityOperation;
|
|
881
|
+
/** Bind the send email operation. */
|
|
882
|
+
sendEmail(): SendEmailOperation;
|
|
883
|
+
/** Bind the create email template operation. */
|
|
884
|
+
createEmailTemplate(): CreateEmailTemplateOperation;
|
|
885
|
+
/** Bind the get email template operation. */
|
|
886
|
+
getEmailTemplate(): GetEmailTemplateOperation;
|
|
887
|
+
/** Bind the list email templates operation. */
|
|
888
|
+
listEmailTemplates(): ListEmailTemplatesOperation;
|
|
889
|
+
/** Bind the update email template operation. */
|
|
890
|
+
updateEmailTemplate(): UpdateEmailTemplateOperation;
|
|
891
|
+
/** Bind the delete email template operation. */
|
|
892
|
+
deleteEmailTemplate(): DeleteEmailTemplateOperation;
|
|
893
|
+
/** Bind the send templated email operation. */
|
|
894
|
+
sendTemplatedEmail(): SendTemplatedEmailOperation;
|
|
895
|
+
/** Bind the create custom verification email template operation. */
|
|
896
|
+
createCustomVerificationEmailTemplate(): CreateCustomVerificationEmailTemplateOperation;
|
|
897
|
+
/** Bind the get custom verification email template operation. */
|
|
898
|
+
getCustomVerificationEmailTemplate(): GetCustomVerificationEmailTemplateOperation;
|
|
899
|
+
/** Bind the list custom verification email templates operation. */
|
|
900
|
+
listCustomVerificationEmailTemplates(): ListCustomVerificationEmailTemplatesOperation;
|
|
901
|
+
/** Bind the update custom verification email template operation. */
|
|
902
|
+
updateCustomVerificationEmailTemplate(): UpdateCustomVerificationEmailTemplateOperation;
|
|
903
|
+
/** Bind the delete custom verification email template operation. */
|
|
904
|
+
deleteCustomVerificationEmailTemplate(): DeleteCustomVerificationEmailTemplateOperation;
|
|
905
|
+
/** Bind the send custom verification email operation. */
|
|
906
|
+
sendCustomVerificationEmail(): SendCustomVerificationEmailOperation;
|
|
907
|
+
/** Sign and send one bounded GetEmailIdentity request. */
|
|
908
|
+
readIdentity(call: Call, name: string): Promise<Exchange>;
|
|
909
|
+
/** Check regional signing material before a fenced dispatch. */
|
|
910
|
+
signingCredentials(call: Call, signal?: AbortSignal): Promise<readonly [string, string, string] | undefined>;
|
|
911
|
+
/** Sign and send one bounded regional request. */
|
|
912
|
+
request(call: Call, method: string, path: string, payload?: string, signal?: AbortSignal, credentials?: readonly [string, string, string]): Promise<Exchange>;
|
|
913
|
+
}
|
|
914
|
+
/** Read the name and verification status of one SES identity. */
|
|
915
|
+
declare class GetEmailIdentityOperation implements Query<GetEmailIdentityInput, EmailIdentityDetails> {
|
|
916
|
+
private readonly client;
|
|
917
|
+
/** Bind the provider client. */ constructor(client: AmazonSESClient);
|
|
918
|
+
/** Return the generated Query contract. */ definition(): QueryDefinition;
|
|
919
|
+
/** Classify provider outcomes consistently with the Go implementation. */
|
|
920
|
+
invoke(call: Call, input: GetEmailIdentityInput): Promise<QueryAttempt<EmailIdentityDetails>>;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
export { AmazonSESClient, type AmazonSESClientOptions, Config, Connection, ConnectorID, CreateCustomVerificationEmailTemplateBranch, CreateCustomVerificationEmailTemplateBranchCreated, CreateCustomVerificationEmailTemplateBranchDefect, CreateCustomVerificationEmailTemplateBranchProviderRejected, CreateCustomVerificationEmailTemplateBranchUncertain, CreateCustomVerificationEmailTemplateDefinition, CreateCustomVerificationEmailTemplateInput, CreateCustomVerificationEmailTemplateMetadata, CreateCustomVerificationEmailTemplateOperation, type CreateCustomVerificationEmailTemplateStepConfig, CreateEmailIdentityBranch, CreateEmailIdentityBranchCreated, CreateEmailIdentityBranchDefect, CreateEmailIdentityBranchProviderRejected, CreateEmailIdentityBranchUncertain, CreateEmailIdentityDefinition, CreateEmailIdentityInput, CreateEmailIdentityMetadata, CreateEmailIdentityOperation, type CreateEmailIdentityStepConfig, CreateEmailTemplateBranch, CreateEmailTemplateBranchCreated, CreateEmailTemplateBranchDefect, CreateEmailTemplateBranchProviderRejected, CreateEmailTemplateBranchUncertain, CreateEmailTemplateDefinition, CreateEmailTemplateInput, CreateEmailTemplateMetadata, CreateEmailTemplateOperation, type CreateEmailTemplateStepConfig, CreatedEmailIdentity, Credentials, CustomVerificationEmailTemplate, CustomVerificationEmailTemplatePage, DeleteCustomVerificationEmailTemplateBranch, DeleteCustomVerificationEmailTemplateBranchDefect, DeleteCustomVerificationEmailTemplateBranchDeleted, DeleteCustomVerificationEmailTemplateBranchProviderRejected, DeleteCustomVerificationEmailTemplateDefinition, DeleteCustomVerificationEmailTemplateInput, DeleteCustomVerificationEmailTemplateMetadata, DeleteCustomVerificationEmailTemplateOperation, type DeleteCustomVerificationEmailTemplateStepConfig, DeleteEmailIdentityBranch, DeleteEmailIdentityBranchDefect, DeleteEmailIdentityBranchDeleted, DeleteEmailIdentityBranchProviderRejected, DeleteEmailIdentityDefinition, DeleteEmailIdentityInput, DeleteEmailIdentityMetadata, DeleteEmailIdentityOperation, type DeleteEmailIdentityStepConfig, DeleteEmailTemplateBranch, DeleteEmailTemplateBranchDefect, DeleteEmailTemplateBranchDeleted, DeleteEmailTemplateBranchProviderRejected, DeleteEmailTemplateDefinition, DeleteEmailTemplateInput, DeleteEmailTemplateMetadata, DeleteEmailTemplateOperation, type DeleteEmailTemplateStepConfig, DeletedEmailIdentity, DeletedEmailTemplate, EmailIdentityDetails, EmailIdentityPage, EmailTemplate, EmailTemplatePage, GetCustomVerificationEmailTemplateBranch, GetCustomVerificationEmailTemplateBranchDefect, GetCustomVerificationEmailTemplateBranchFound, GetCustomVerificationEmailTemplateBranchInvalidResponse, GetCustomVerificationEmailTemplateBranchMissing, GetCustomVerificationEmailTemplateBranchProviderRejected, GetCustomVerificationEmailTemplateDefinition, GetCustomVerificationEmailTemplateInput, GetCustomVerificationEmailTemplateMetadata, GetCustomVerificationEmailTemplateOperation, type GetCustomVerificationEmailTemplateStepConfig, GetEmailIdentityBranch, GetEmailIdentityBranchDefect, GetEmailIdentityBranchFound, GetEmailIdentityBranchInvalidResponse, GetEmailIdentityBranchMissing, GetEmailIdentityBranchProviderRejected, GetEmailIdentityDefinition, GetEmailIdentityInput, GetEmailIdentityMetadata, GetEmailIdentityOperation, type GetEmailIdentityStepConfig, GetEmailTemplateBranch, GetEmailTemplateBranchDefect, GetEmailTemplateBranchFound, GetEmailTemplateBranchInvalidResponse, GetEmailTemplateBranchMissing, GetEmailTemplateBranchProviderRejected, GetEmailTemplateDefinition, GetEmailTemplateInput, GetEmailTemplateMetadata, GetEmailTemplateOperation, type GetEmailTemplateStepConfig, ListCustomVerificationEmailTemplatesBranch, ListCustomVerificationEmailTemplatesBranchDefect, ListCustomVerificationEmailTemplatesBranchInvalidResponse, ListCustomVerificationEmailTemplatesBranchPage, ListCustomVerificationEmailTemplatesBranchProviderRejected, ListCustomVerificationEmailTemplatesDefinition, ListCustomVerificationEmailTemplatesInput, ListCustomVerificationEmailTemplatesMetadata, ListCustomVerificationEmailTemplatesOperation, type ListCustomVerificationEmailTemplatesStepConfig, ListEmailIdentitiesBranch, ListEmailIdentitiesBranchDefect, ListEmailIdentitiesBranchInvalidResponse, ListEmailIdentitiesBranchPage, ListEmailIdentitiesBranchProviderRejected, ListEmailIdentitiesDefinition, ListEmailIdentitiesInput, ListEmailIdentitiesMetadata, ListEmailIdentitiesOperation, type ListEmailIdentitiesStepConfig, ListEmailTemplatesBranch, ListEmailTemplatesBranchDefect, ListEmailTemplatesBranchInvalidResponse, ListEmailTemplatesBranchPage, ListEmailTemplatesBranchProviderRejected, ListEmailTemplatesDefinition, ListEmailTemplatesInput, ListEmailTemplatesMetadata, ListEmailTemplatesOperation, type ListEmailTemplatesStepConfig, ProviderID, SendCustomVerificationEmailBranch, SendCustomVerificationEmailBranchDefect, SendCustomVerificationEmailBranchProviderRejected, SendCustomVerificationEmailBranchSent, SendCustomVerificationEmailBranchUncertain, SendCustomVerificationEmailDefinition, SendCustomVerificationEmailInput, SendCustomVerificationEmailMetadata, SendCustomVerificationEmailOperation, type SendCustomVerificationEmailStepConfig, SendEmailBranch, SendEmailBranchDefect, SendEmailBranchProviderRejected, SendEmailBranchSent, SendEmailBranchUncertain, SendEmailDefinition, SendEmailInput, SendEmailMetadata, SendEmailOperation, type SendEmailStepConfig, SendTemplatedEmailBranch, SendTemplatedEmailBranchDefect, SendTemplatedEmailBranchProviderRejected, SendTemplatedEmailBranchSent, SendTemplatedEmailBranchUncertain, SendTemplatedEmailDefinition, SendTemplatedEmailInput, SendTemplatedEmailMetadata, SendTemplatedEmailOperation, type SendTemplatedEmailStepConfig, SentEmail, UpdateCustomVerificationEmailTemplateBranch, UpdateCustomVerificationEmailTemplateBranchDefect, UpdateCustomVerificationEmailTemplateBranchProviderRejected, UpdateCustomVerificationEmailTemplateBranchUpdated, UpdateCustomVerificationEmailTemplateDefinition, UpdateCustomVerificationEmailTemplateInput, UpdateCustomVerificationEmailTemplateMetadata, UpdateCustomVerificationEmailTemplateOperation, type UpdateCustomVerificationEmailTemplateStepConfig, UpdateEmailTemplateBranch, UpdateEmailTemplateBranchDefect, UpdateEmailTemplateBranchProviderRejected, UpdateEmailTemplateBranchUpdated, UpdateEmailTemplateDefinition, UpdateEmailTemplateInput, UpdateEmailTemplateMetadata, UpdateEmailTemplateOperation, type UpdateEmailTemplateStepConfig, newCreateCustomVerificationEmailTemplateStep, newCreateEmailIdentityStep, newCreateEmailTemplateStep, newDeleteCustomVerificationEmailTemplateStep, newDeleteEmailIdentityStep, newDeleteEmailTemplateStep, newGetCustomVerificationEmailTemplateStep, newGetEmailIdentityStep, newGetEmailTemplateStep, newListCustomVerificationEmailTemplatesStep, newListEmailIdentitiesStep, newListEmailTemplatesStep, newProjectConnection, newSendCustomVerificationEmailStep, newSendEmailStep, newSendTemplatedEmailStep, newUpdateCustomVerificationEmailTemplateStep, newUpdateEmailTemplateStep };
|