@aws-lite/ses-types 0.0.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 (2) hide show
  1. package/index.d.ts +42 -0
  2. package/package.json +26 -0
package/index.d.ts ADDED
@@ -0,0 +1,42 @@
1
+ import {
2
+ /* ! Do not remove IMPORTS_START / IMPORTS_END ! */
3
+ // $IMPORTS_START
4
+ SendEmailCommandOutput as SendEmailResponse,
5
+ SendRawEmailCommandOutput as SendRawEmailResponse,
6
+ // $IMPORTS_END
7
+ } from "@aws-sdk/client-ses";
8
+
9
+ import type { AwsLiteMethodOptions } from "@aws-lite/client";
10
+
11
+ declare interface AwsLiteSES {
12
+ /* ! Do not remove METHODS_START / METHODS_END ! */
13
+ // $METHODS_START
14
+ /**
15
+ * @description
16
+ * - AWS docs: {@link https://docs.aws.amazon.com/ses/latest/APIReference/API_SendEmail.html SES: SendEmail}
17
+ * - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/ses/readme.md#SendEmail SES: SendEmail}
18
+ */
19
+ SendEmail: (input: AwsLiteMethodOptions & { Source: string, Destination: Record<string, any>, Message: Record<string, any>, ConfigurationSetName?: string, ReplyToAddresses?: any[], ReturnPath?: string, ReturnPathArn?: string, SourceArn?: string, Tags?: any[] }) => Promise<SendEmailResponse>
20
+ /**
21
+ * @description
22
+ * - AWS docs: {@link https://docs.aws.amazon.com/ses/latest/APIReference/API_SendRawEmail.html SES: SendRawEmail}
23
+ * - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/ses/readme.md#SendRawEmail SES: SendRawEmail}
24
+ */
25
+ SendRawEmail: (input: AwsLiteMethodOptions & { RawMessage: Record<string, any>, ConfigurationSetName?: string, Destinations?: any[], FromArn?: string, ReturnPathArn?: string, Source?: string, SourceArn?: string, Tags?: any[] }) => Promise<SendRawEmailResponse>
26
+ // $METHODS_END
27
+ }
28
+
29
+ declare module "@aws-lite/client" {
30
+ interface AwsLiteClient {
31
+ SES: AwsLiteSES;
32
+ }
33
+ }
34
+
35
+ export type {
36
+ AwsLiteSES,
37
+ /* ! Do not remove EXPORT_START / EXPORT_END ! */
38
+ // $EXPORT_START
39
+ SendEmailResponse,
40
+ SendRawEmailResponse,
41
+ // $EXPORT_END
42
+ }
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "@aws-lite/ses-types",
3
+ "version": "0.0.0",
4
+ "description": "Type definitions for the `@aws-lite/ses` plugin",
5
+ "homepage": "https://aws-lite.org/services/ses",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/aws-lite/aws-lite.git",
9
+ "directory": "plugins/ses/types"
10
+ },
11
+ "bugs": "https://github.com/aws-lite/aws-lite/issues",
12
+ "main": "",
13
+ "engines": {
14
+ "node": ">=16"
15
+ },
16
+ "author": "@architect",
17
+ "license": "Apache-2.0",
18
+ "types": "index.d.ts",
19
+ "files": [
20
+ "index.d.ts"
21
+ ],
22
+ "dependencies": {
23
+ "@aws-sdk/client-ses": "3"
24
+ },
25
+ "scripts": {}
26
+ }