@pristine-ts/aws 0.0.209 → 0.0.210
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/dist/lib/cjs/aws.module.js +3 -0
- package/dist/lib/cjs/aws.module.js.map +1 -1
- package/dist/lib/cjs/clients/dynamodb.client.js +9 -0
- package/dist/lib/cjs/clients/dynamodb.client.js.map +1 -1
- package/dist/lib/cjs/clients/event-bridge.client.js +31 -10
- package/dist/lib/cjs/clients/event-bridge.client.js.map +1 -1
- package/dist/lib/cjs/clients/s3.client.js +62 -6
- package/dist/lib/cjs/clients/s3.client.js.map +1 -1
- package/dist/lib/cjs/clients/sqs.client.js +31 -15
- package/dist/lib/cjs/clients/sqs.client.js.map +1 -1
- package/dist/lib/cjs/decorators/dynamic-table-name.decorator.js +3 -0
- package/dist/lib/cjs/decorators/dynamic-table-name.decorator.js.map +1 -1
- package/dist/lib/cjs/enums/event-bridge-event-type.enum.js +3 -0
- package/dist/lib/cjs/enums/event-bridge-event-type.enum.js.map +1 -1
- package/dist/lib/cjs/errors/dynamodb-item-already-exists.error.js +8 -2
- package/dist/lib/cjs/errors/dynamodb-item-already-exists.error.js.map +1 -1
- package/dist/lib/cjs/errors/dynamodb-item-not-found.error.js +12 -2
- package/dist/lib/cjs/errors/dynamodb-item-not-found.error.js.map +1 -1
- package/dist/lib/cjs/errors/dynamodb-table-not-found.error.js +6 -1
- package/dist/lib/cjs/errors/dynamodb-table-not-found.error.js.map +1 -1
- package/dist/lib/cjs/errors/dynamodb-validation.error.js +7 -1
- package/dist/lib/cjs/errors/dynamodb-validation.error.js.map +1 -1
- package/dist/lib/cjs/errors/dynamodb.error.js +9 -2
- package/dist/lib/cjs/errors/dynamodb.error.js.map +1 -1
- package/dist/lib/cjs/errors/event-bridge-send-message.error.js +5 -1
- package/dist/lib/cjs/errors/event-bridge-send-message.error.js.map +1 -1
- package/dist/lib/cjs/errors/sqs-send-message.error.js +9 -1
- package/dist/lib/cjs/errors/sqs-send-message.error.js.map +1 -1
- package/dist/lib/cjs/errors/ssm-resolver.error.js +6 -0
- package/dist/lib/cjs/errors/ssm-resolver.error.js.map +1 -1
- package/dist/lib/cjs/event-payloads/event-bridge.payload.js +3 -0
- package/dist/lib/cjs/event-payloads/event-bridge.payload.js.map +1 -1
- package/dist/lib/cjs/mappers/dynamodb-event.mapper.js +23 -1
- package/dist/lib/cjs/mappers/dynamodb-event.mapper.js.map +1 -1
- package/dist/lib/cjs/mappers/event-bridge-event.mapper.js +33 -0
- package/dist/lib/cjs/mappers/event-bridge-event.mapper.js.map +1 -1
- package/dist/lib/cjs/mappers/kafka-event.mapper.js +21 -0
- package/dist/lib/cjs/mappers/kafka-event.mapper.js.map +1 -1
- package/dist/lib/cjs/mappers/s3-event.mapper.js +19 -0
- package/dist/lib/cjs/mappers/s3-event.mapper.js.map +1 -1
- package/dist/lib/cjs/mappers/sns-event.mapper.js +21 -0
- package/dist/lib/cjs/mappers/sns-event.mapper.js.map +1 -1
- package/dist/lib/cjs/mappers/sqs-event.mapper.js +21 -0
- package/dist/lib/cjs/mappers/sqs-event.mapper.js.map +1 -1
- package/dist/lib/cjs/models/event-bridge-message.model.js +3 -0
- package/dist/lib/cjs/models/event-bridge-message.model.js.map +1 -1
- package/dist/lib/cjs/models/models.js +1 -0
- package/dist/lib/cjs/models/models.js.map +1 -1
- package/dist/lib/cjs/models/sqs-message-sent-confirmation.model.js +3 -0
- package/dist/lib/cjs/models/sqs-message-sent-confirmation.model.js.map +1 -1
- package/dist/lib/cjs/resolvers/ssm.resolver.js +4 -0
- package/dist/lib/cjs/resolvers/ssm.resolver.js.map +1 -1
- package/dist/lib/cjs/results/list.result.js +9 -0
- package/dist/lib/cjs/results/list.result.js.map +1 -1
- package/dist/lib/esm/aws.module.js +3 -0
- package/dist/lib/esm/aws.module.js.map +1 -1
- package/dist/lib/esm/clients/dynamodb.client.js +9 -0
- package/dist/lib/esm/clients/dynamodb.client.js.map +1 -1
- package/dist/lib/esm/clients/event-bridge.client.js +31 -10
- package/dist/lib/esm/clients/event-bridge.client.js.map +1 -1
- package/dist/lib/esm/clients/s3.client.js +62 -6
- package/dist/lib/esm/clients/s3.client.js.map +1 -1
- package/dist/lib/esm/clients/sqs.client.js +31 -15
- package/dist/lib/esm/clients/sqs.client.js.map +1 -1
- package/dist/lib/esm/decorators/dynamic-table-name.decorator.js +3 -0
- package/dist/lib/esm/decorators/dynamic-table-name.decorator.js.map +1 -1
- package/dist/lib/esm/enums/event-bridge-event-type.enum.js +3 -0
- package/dist/lib/esm/enums/event-bridge-event-type.enum.js.map +1 -1
- package/dist/lib/esm/errors/dynamodb-item-already-exists.error.js +8 -2
- package/dist/lib/esm/errors/dynamodb-item-already-exists.error.js.map +1 -1
- package/dist/lib/esm/errors/dynamodb-item-not-found.error.js +12 -2
- package/dist/lib/esm/errors/dynamodb-item-not-found.error.js.map +1 -1
- package/dist/lib/esm/errors/dynamodb-table-not-found.error.js +6 -1
- package/dist/lib/esm/errors/dynamodb-table-not-found.error.js.map +1 -1
- package/dist/lib/esm/errors/dynamodb-validation.error.js +7 -1
- package/dist/lib/esm/errors/dynamodb-validation.error.js.map +1 -1
- package/dist/lib/esm/errors/dynamodb.error.js +9 -2
- package/dist/lib/esm/errors/dynamodb.error.js.map +1 -1
- package/dist/lib/esm/errors/event-bridge-send-message.error.js +5 -1
- package/dist/lib/esm/errors/event-bridge-send-message.error.js.map +1 -1
- package/dist/lib/esm/errors/sqs-send-message.error.js +9 -1
- package/dist/lib/esm/errors/sqs-send-message.error.js.map +1 -1
- package/dist/lib/esm/errors/ssm-resolver.error.js +6 -0
- package/dist/lib/esm/errors/ssm-resolver.error.js.map +1 -1
- package/dist/lib/esm/event-payloads/event-bridge.payload.js +3 -0
- package/dist/lib/esm/event-payloads/event-bridge.payload.js.map +1 -1
- package/dist/lib/esm/mappers/dynamodb-event.mapper.js +24 -2
- package/dist/lib/esm/mappers/dynamodb-event.mapper.js.map +1 -1
- package/dist/lib/esm/mappers/event-bridge-event.mapper.js +34 -1
- package/dist/lib/esm/mappers/event-bridge-event.mapper.js.map +1 -1
- package/dist/lib/esm/mappers/kafka-event.mapper.js +22 -1
- package/dist/lib/esm/mappers/kafka-event.mapper.js.map +1 -1
- package/dist/lib/esm/mappers/s3-event.mapper.js +19 -0
- package/dist/lib/esm/mappers/s3-event.mapper.js.map +1 -1
- package/dist/lib/esm/mappers/sns-event.mapper.js +22 -1
- package/dist/lib/esm/mappers/sns-event.mapper.js.map +1 -1
- package/dist/lib/esm/mappers/sqs-event.mapper.js +22 -1
- package/dist/lib/esm/mappers/sqs-event.mapper.js.map +1 -1
- package/dist/lib/esm/models/event-bridge-message.model.js +3 -0
- package/dist/lib/esm/models/event-bridge-message.model.js.map +1 -1
- package/dist/lib/esm/models/models.js +1 -0
- package/dist/lib/esm/models/models.js.map +1 -1
- package/dist/lib/esm/models/sqs-message-sent-confirmation.model.js +3 -0
- package/dist/lib/esm/models/sqs-message-sent-confirmation.model.js.map +1 -1
- package/dist/lib/esm/resolvers/ssm.resolver.js +4 -0
- package/dist/lib/esm/resolvers/ssm.resolver.js.map +1 -1
- package/dist/lib/esm/results/list.result.js +9 -0
- package/dist/lib/esm/results/list.result.js.map +1 -1
- package/dist/types/clients/dynamodb.client.d.ts +17 -0
- package/dist/types/clients/event-bridge.client.d.ts +21 -0
- package/dist/types/clients/s3.client.d.ts +63 -0
- package/dist/types/clients/sqs.client.d.ts +20 -5
- package/dist/types/decorators/dynamic-table-name.decorator.d.ts +3 -0
- package/dist/types/enums/event-bridge-event-type.enum.d.ts +3 -0
- package/dist/types/errors/dynamodb-item-already-exists.error.d.ts +8 -2
- package/dist/types/errors/dynamodb-item-not-found.error.d.ts +12 -2
- package/dist/types/errors/dynamodb-table-not-found.error.d.ts +6 -1
- package/dist/types/errors/dynamodb-validation.error.d.ts +7 -1
- package/dist/types/errors/dynamodb.error.d.ts +9 -2
- package/dist/types/errors/event-bridge-send-message.error.d.ts +5 -1
- package/dist/types/errors/sqs-send-message.error.d.ts +9 -1
- package/dist/types/errors/ssm-resolver.error.d.ts +6 -0
- package/dist/types/event-payloads/event-bridge.payload.d.ts +3 -0
- package/dist/types/interfaces/dynamodb-client.interface.d.ts +1 -0
- package/dist/types/interfaces/event-bridge-client.interface.d.ts +16 -0
- package/dist/types/interfaces/s3-client.interface.d.ts +41 -0
- package/dist/types/interfaces/sqs-client.interface.d.ts +18 -0
- package/dist/types/mappers/dynamodb-event.mapper.d.ts +21 -1
- package/dist/types/mappers/event-bridge-event.mapper.d.ts +31 -0
- package/dist/types/mappers/kafka-event.mapper.d.ts +19 -0
- package/dist/types/mappers/s3-event.mapper.d.ts +19 -0
- package/dist/types/mappers/sns-event.mapper.d.ts +19 -0
- package/dist/types/mappers/sqs-event.mapper.d.ts +19 -0
- package/dist/types/models/event-bridge-message.model.d.ts +3 -0
- package/dist/types/models/models.d.ts +1 -0
- package/dist/types/models/sqs-message-sent-confirmation.model.d.ts +3 -0
- package/dist/types/options/find-by-secondary-index.options.d.ts +16 -0
- package/dist/types/options/list.options.d.ts +9 -0
- package/dist/types/options/pagination.options.d.ts +15 -0
- package/dist/types/resolvers/ssm.resolver.d.ts +4 -0
- package/dist/types/results/list.result.d.ts +9 -0
- package/dist/types/results/pagination.result.d.ts +9 -0
- package/package.json +7 -7
|
@@ -2,18 +2,81 @@ import { LogHandlerInterface } from "@pristine-ts/logging";
|
|
|
2
2
|
import { S3ClientInterface } from "../interfaces/s3-client.interface";
|
|
3
3
|
import { GetObjectCommandOutput, S3Client as AWSS3Client } from "@aws-sdk/client-s3";
|
|
4
4
|
import { S3PresignedOperationTypeEnum } from "../enums/s3-presigned-operation-type.enum";
|
|
5
|
+
/**
|
|
6
|
+
* The client to use to interact with AWS S3. It is a wrapper around the AWSS3Client of @aws-sdk/client-s3.
|
|
7
|
+
* It is tagged so it can be injected using S3ClientInterface.
|
|
8
|
+
*/
|
|
5
9
|
export declare class S3Client implements S3ClientInterface {
|
|
6
10
|
private readonly logHandler;
|
|
7
11
|
private readonly region;
|
|
12
|
+
/**
|
|
13
|
+
* The instantiated client from the @aws-sdk/client-s3 library.
|
|
14
|
+
* @private
|
|
15
|
+
*/
|
|
8
16
|
private client;
|
|
17
|
+
/**
|
|
18
|
+
* The client to use to interact with AWS S3. It is a wrapper around the AWSS3Client of @aws-sdk/client-s3.
|
|
19
|
+
* @param logHandler The log handler used to output logs.
|
|
20
|
+
* @param region The aws region for which the client will be used.
|
|
21
|
+
*/
|
|
9
22
|
constructor(logHandler: LogHandlerInterface, region: string);
|
|
23
|
+
/**
|
|
24
|
+
* Returns the instantiated AWSS3Client from the @aws-sdk/client-s3 library
|
|
25
|
+
*/
|
|
10
26
|
getClient(): AWSS3Client;
|
|
27
|
+
/**
|
|
28
|
+
* Gets an object and all its details from S3.
|
|
29
|
+
* @param bucketName The bucket name where to get the object.
|
|
30
|
+
* @param key The key of the object.
|
|
31
|
+
*/
|
|
11
32
|
get(bucketName: string, key: string): Promise<GetObjectCommandOutput>;
|
|
33
|
+
/**
|
|
34
|
+
* Gets an object's body as an array buffer from S3.
|
|
35
|
+
* @param bucketName The bucket name where to get the object.
|
|
36
|
+
* @param key The key of the object.
|
|
37
|
+
*/
|
|
12
38
|
getObjectBodyAsArrayBuffer(bucketName: string, key: string): Promise<ArrayBuffer>;
|
|
39
|
+
/**
|
|
40
|
+
* Lists the keys of a bucket.
|
|
41
|
+
* @param bucketName The name of the bucket.
|
|
42
|
+
*/
|
|
13
43
|
listKeys(bucketName: string): Promise<string[]>;
|
|
44
|
+
/**
|
|
45
|
+
* Lists the object of a bucket.
|
|
46
|
+
* @param bucketName The name of the bucket.
|
|
47
|
+
*/
|
|
14
48
|
listObjects(bucketName: string): Promise<any[]>;
|
|
49
|
+
/**
|
|
50
|
+
* Uploads an object to a bucket of S3.
|
|
51
|
+
* @param bucketName The name of the bucket.
|
|
52
|
+
* @param key The key for the new object.
|
|
53
|
+
* @param data The data to upload.
|
|
54
|
+
* @param contentEncoding The encoding of the data to upload.
|
|
55
|
+
* @param contentType The content type of the data to upload.
|
|
56
|
+
*/
|
|
15
57
|
upload(bucketName: string, key: string, data: any, contentEncoding?: string, contentType?: string): Promise<void>;
|
|
58
|
+
/**
|
|
59
|
+
* Creates a pre signed url to allow a third party to take action on S3.
|
|
60
|
+
* @param bucketName The name of the bucket.
|
|
61
|
+
* @param key The key for the object on which the action will be allowed.
|
|
62
|
+
* @param operation The operation that will be allowed.
|
|
63
|
+
* @param fileName If operation is Get, then a filename can be provided for the name of the file that will be downloaded.
|
|
64
|
+
* @param expiresIn The amount on time in seconds before the pre signed url expires.
|
|
65
|
+
*/
|
|
16
66
|
createSignedUrl(bucketName: string, key: string, operation: S3PresignedOperationTypeEnum, fileName?: string, expiresIn?: number): Promise<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Creates the S3 command for a pre signed url.
|
|
69
|
+
* @param operation The operation that the pre signed url will allow.
|
|
70
|
+
* @param bucketName The name of the bucket.
|
|
71
|
+
* @param key The key for the object on which the action will be allowed.
|
|
72
|
+
* @param fileName If operation is Get, then a filename can be provided for the name of the file that will be downloaded.
|
|
73
|
+
* @private
|
|
74
|
+
*/
|
|
17
75
|
private getCommandForPresign;
|
|
76
|
+
/**
|
|
77
|
+
* Transforms a stream to an array buffer.
|
|
78
|
+
* @param stream The stream to transform.
|
|
79
|
+
* @private
|
|
80
|
+
*/
|
|
18
81
|
private streamToArrayBuffer;
|
|
19
82
|
}
|
|
@@ -1,17 +1,32 @@
|
|
|
1
1
|
import { LogHandlerInterface } from "@pristine-ts/logging";
|
|
2
|
+
import { SQSClient } from "@aws-sdk/client-sqs";
|
|
2
3
|
import { SqsMessageSentConfirmationModel } from "../models/sqs-message-sent-confirmation.model";
|
|
3
4
|
import { SqsClientInterface } from "../interfaces/sqs-client.interface";
|
|
5
|
+
/**
|
|
6
|
+
* The client to use to interact with AWS SQS. It is a wrapper around the SQSClient of @aws-sdk/client-sqs.
|
|
7
|
+
* It is tagged so it can be injected using SqsClientInterface.
|
|
8
|
+
*/
|
|
4
9
|
export declare class SqsClient implements SqsClientInterface {
|
|
5
10
|
private readonly logHandler;
|
|
6
11
|
private readonly region;
|
|
12
|
+
/**
|
|
13
|
+
* The client to use to interact with AWS SQS. It is a wrapper around the SQSClient of @aws-sdk/client-sqs.
|
|
14
|
+
* @param logHandler The log handler used to output logs.
|
|
15
|
+
* @param region The aws region for which the client will be used.
|
|
16
|
+
*/
|
|
7
17
|
constructor(logHandler: LogHandlerInterface, region: string);
|
|
18
|
+
/**
|
|
19
|
+
* Returns the instantiated SQSClient from the @aws-sdk/client-sqs library.
|
|
20
|
+
* @param endpoint The endpoint for which the SQS client is created.
|
|
21
|
+
*/
|
|
22
|
+
getClient(endpoint?: string): SQSClient;
|
|
8
23
|
/**
|
|
9
24
|
* Sends a message to the specified Queue URL.
|
|
10
|
-
* @param queueUrl
|
|
11
|
-
* @param body
|
|
12
|
-
* @param messageGroupId
|
|
13
|
-
* @param delaySeconds
|
|
14
|
-
* @param endpoint
|
|
25
|
+
* @param queueUrl The queue url where to send the message.
|
|
26
|
+
* @param body The body of the message to send in the queue.
|
|
27
|
+
* @param messageGroupId The message group id for FIFO queues.
|
|
28
|
+
* @param delaySeconds The length of time, in seconds, for which to delay a specific message.
|
|
29
|
+
* @param endpoint The endpoint for SQS.
|
|
15
30
|
*/
|
|
16
31
|
send(queueUrl: string, body: string, messageGroupId?: string, delaySeconds?: number, endpoint?: string): Promise<SqsMessageSentConfirmationModel>;
|
|
17
32
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { DynamicTableNameModel } from "../models/dynamic-table-name.model";
|
|
2
|
+
/**
|
|
3
|
+
* The registry where the table names used for DynamoDb are saved.
|
|
4
|
+
*/
|
|
2
5
|
export declare const dynamicTableNameRegistry: DynamicTableNameModel[];
|
|
3
6
|
/**
|
|
4
7
|
* This decorator is to be put on a class that will be used with DynamoDb.
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
import { DynamodbError } from "./dynamodb.error";
|
|
1
2
|
/**
|
|
2
|
-
* This Error
|
|
3
|
+
* This Error is for when an item already exists in DynamoDB.
|
|
3
4
|
*/
|
|
4
|
-
import { DynamodbError } from "./dynamodb.error";
|
|
5
5
|
export declare class DynamodbItemAlreadyExistsError extends DynamodbError {
|
|
6
|
+
/**
|
|
7
|
+
* This Error is for when an item already exists in DynamoDB.
|
|
8
|
+
* @param originalError The original error that was caught.
|
|
9
|
+
* @param tableName The name of the DynamoDB table where the error happened.
|
|
10
|
+
* @param primaryKey The primary key of the item that caused the error.
|
|
11
|
+
*/
|
|
6
12
|
constructor(originalError?: Error, tableName?: string, primaryKey?: string);
|
|
7
13
|
}
|
|
@@ -1,7 +1,17 @@
|
|
|
1
|
+
import { DynamodbError } from "./dynamodb.error";
|
|
1
2
|
/**
|
|
2
|
-
* This Error
|
|
3
|
+
* This Error is for when an item is not found in the DynamoDB table.
|
|
4
|
+
* This error is not exported outside of this module as it should not be used.
|
|
5
|
+
* When an item is not found it should not throw an error but rather return null.
|
|
3
6
|
*/
|
|
4
|
-
import { DynamodbError } from "./dynamodb.error";
|
|
5
7
|
export declare class DynamodbItemNotFoundError extends DynamodbError {
|
|
8
|
+
/**
|
|
9
|
+
* This Error is for when an item is not found in the DynamoDB table.
|
|
10
|
+
* This error is not exported outside of this module as it should not be used.
|
|
11
|
+
* When an item is not found it should not throw an error but rather return null.
|
|
12
|
+
* @param originalError The original error that was caught.
|
|
13
|
+
* @param tableName The name of the DynamoDB table where the error happened.
|
|
14
|
+
* @param primaryKey The primary key of the item that caused the error.
|
|
15
|
+
*/
|
|
6
16
|
constructor(originalError?: Error, tableName?: string, primaryKey?: string);
|
|
7
17
|
}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { DynamodbError } from "./dynamodb.error";
|
|
1
2
|
/**
|
|
2
3
|
* This Error represents a Dynamodb error when the table is not found.
|
|
3
4
|
*/
|
|
4
|
-
import { DynamodbError } from "./dynamodb.error";
|
|
5
5
|
export declare class DynamodbTableNotFoundError extends DynamodbError {
|
|
6
|
+
/**
|
|
7
|
+
* This Error represents a Dynamodb error when the table is not found.
|
|
8
|
+
* @param originalError The original error that was caught.
|
|
9
|
+
* @param tableName The table name that does not exist.
|
|
10
|
+
*/
|
|
6
11
|
constructor(originalError?: Error, tableName?: string);
|
|
7
12
|
}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
import { DynamodbError } from "./dynamodb.error";
|
|
1
2
|
/**
|
|
2
3
|
* This Error represents a Dynamodb error when there is a validation error.
|
|
3
4
|
*/
|
|
4
|
-
import { DynamodbError } from "./dynamodb.error";
|
|
5
5
|
export declare class DynamodbValidationError extends DynamodbError {
|
|
6
|
+
/**
|
|
7
|
+
* This Error represents a Dynamodb error when there is a validation error.
|
|
8
|
+
* @param originalError The original error that was caught.
|
|
9
|
+
* @param tableName The name of the DynamoDB table where the error happened.
|
|
10
|
+
* @param primaryKey The primary key of the item that caused the error.
|
|
11
|
+
*/
|
|
6
12
|
constructor(originalError?: Error, tableName?: string, primaryKey?: string);
|
|
7
13
|
}
|
|
@@ -1,10 +1,17 @@
|
|
|
1
|
+
import { LoggableError } from "@pristine-ts/common";
|
|
1
2
|
/**
|
|
2
|
-
* This Error
|
|
3
|
+
* This Error is the base class for DynamoDB errors.
|
|
3
4
|
*/
|
|
4
|
-
import { LoggableError } from "@pristine-ts/common";
|
|
5
5
|
export declare class DynamodbError extends LoggableError {
|
|
6
6
|
readonly originalError?: Error | undefined;
|
|
7
7
|
readonly tableName?: string | undefined;
|
|
8
8
|
readonly primaryKey?: string | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* This Error is the base class for DynamoDB errors.
|
|
11
|
+
* @param message The message of the error.
|
|
12
|
+
* @param originalError The original error that was caught.
|
|
13
|
+
* @param tableName The name of the DynamoDB table where the error happened.
|
|
14
|
+
* @param primaryKey The primary key of the item that caused the error.
|
|
15
|
+
*/
|
|
9
16
|
constructor(message?: string, originalError?: Error | undefined, tableName?: string | undefined, primaryKey?: string | undefined);
|
|
10
17
|
}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
import { LoggableError } from "@pristine-ts/common";
|
|
1
2
|
/**
|
|
2
3
|
* This Error represents an error when trying to send a message to Sqs
|
|
3
4
|
*/
|
|
4
|
-
import { LoggableError } from "@pristine-ts/common";
|
|
5
5
|
export declare class EventBridgeSendMessageError extends LoggableError {
|
|
6
|
+
/**
|
|
7
|
+
* This Error represents an error when trying to send a message to Sqs
|
|
8
|
+
* @param originalError The original error that was caught.
|
|
9
|
+
*/
|
|
6
10
|
constructor(originalError?: Error);
|
|
7
11
|
}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
|
+
import { LoggableError } from "@pristine-ts/common";
|
|
1
2
|
/**
|
|
2
3
|
* This Error represents an error when trying to send a message to Sqs
|
|
3
4
|
*/
|
|
4
|
-
import { LoggableError } from "@pristine-ts/common";
|
|
5
5
|
export declare class SqsSendMessageError extends LoggableError {
|
|
6
|
+
/**
|
|
7
|
+
* This Error represents an error when trying to send a message to Sqs
|
|
8
|
+
* @param originalError The original error that was caught.
|
|
9
|
+
* @param queueUrl The url of the queue where the message was trying to be sent.
|
|
10
|
+
* @param body The body trying to be sent.
|
|
11
|
+
* @param messageGroupId The message group id (used for FIFO queues) of the message trying to be sent.
|
|
12
|
+
* @param delaySeconds The delay set for the message trying to be sent.
|
|
13
|
+
*/
|
|
6
14
|
constructor(originalError?: Error, queueUrl?: string, body?: string, messageGroupId?: string, delaySeconds?: number);
|
|
7
15
|
}
|
|
@@ -3,5 +3,11 @@ import { LoggableError } from "@pristine-ts/common";
|
|
|
3
3
|
* This Error represents an error when resolving in SSM.
|
|
4
4
|
*/
|
|
5
5
|
export declare class SSMResolverError extends LoggableError {
|
|
6
|
+
/**
|
|
7
|
+
* This Error represents an error when resolving in SSM.
|
|
8
|
+
* @param message The error message.
|
|
9
|
+
* @param value The value trying to be resolved.
|
|
10
|
+
* @param originalError The original error that was caught.
|
|
11
|
+
*/
|
|
6
12
|
constructor(message: string, value: any, originalError?: any);
|
|
7
13
|
}
|
|
@@ -6,6 +6,7 @@ import { FindBySecondaryIndexOptions } from "../options/find-by-secondary-index.
|
|
|
6
6
|
import { ListResult } from "../results/list.result";
|
|
7
7
|
/**
|
|
8
8
|
* The DynamodbClient Interface defines the methods that a Dynamodb Client must implement.
|
|
9
|
+
* When injecting the Dynamodb client the 'DynamodbClientInterface' tag should be used.
|
|
9
10
|
*/
|
|
10
11
|
export interface DynamodbClientInterface {
|
|
11
12
|
/**
|
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
import { EventBridgeMessageModel } from "../models/event-bridge-message.model";
|
|
2
|
+
import { EventBridgeClient as AwsEventBridgeClient } from "@aws-sdk/client-eventbridge";
|
|
3
|
+
/**
|
|
4
|
+
* The EventBridgeClient Interface defines the methods that an Event bridge client must implement.
|
|
5
|
+
* When injecting the event bridge client the 'EventBridgeClientInterface' tag should be used.
|
|
6
|
+
*/
|
|
2
7
|
export interface EventBridgeClientInterface {
|
|
8
|
+
/**
|
|
9
|
+
* Returns the instantiated AwsEventBridgeClient from the @aws-sdk/client-eventbridge library.
|
|
10
|
+
* @param endpoint The endpoint for which the Event Bridge client is created.
|
|
11
|
+
*/
|
|
12
|
+
getClient(endpoint?: string): AwsEventBridgeClient;
|
|
13
|
+
/**
|
|
14
|
+
* Sends an event to event bridge.
|
|
15
|
+
* @param eventBridgeMessages The messages to send to event bridge.
|
|
16
|
+
* @param eventBusName The event bus name where to send the messages.
|
|
17
|
+
* @param endpoint The endpoint for event bridge.
|
|
18
|
+
*/
|
|
3
19
|
send(eventBridgeMessages: EventBridgeMessageModel | EventBridgeMessageModel[], eventBusName: string, endpoint?: string): Promise<void>;
|
|
4
20
|
}
|
|
@@ -1,11 +1,52 @@
|
|
|
1
1
|
import { S3PresignedOperationTypeEnum } from "../enums/s3-presigned-operation-type.enum";
|
|
2
2
|
import { GetObjectCommandOutput, S3Client as AWSS3Client } from "@aws-sdk/client-s3";
|
|
3
|
+
/**
|
|
4
|
+
* The S3Client Interface defines the methods that an S3 client must implement.
|
|
5
|
+
* When injecting the S3 client the 'S3ClientInterface' tag should be used.
|
|
6
|
+
*/
|
|
3
7
|
export interface S3ClientInterface {
|
|
8
|
+
/**
|
|
9
|
+
* Returns the instantiated AWSS3Client from the @aws-sdk/client-s3 library
|
|
10
|
+
*/
|
|
4
11
|
getClient(): AWSS3Client;
|
|
12
|
+
/**
|
|
13
|
+
* Gets an object and all its details from S3.
|
|
14
|
+
* @param bucketName The bucket name where to get the object.
|
|
15
|
+
* @param key The key of the object.
|
|
16
|
+
*/
|
|
5
17
|
get(bucketName: string, key: string): Promise<GetObjectCommandOutput>;
|
|
18
|
+
/**
|
|
19
|
+
* Gets an object's body as an array buffer from S3.
|
|
20
|
+
* @param bucketName The bucket name where to get the object.
|
|
21
|
+
* @param key The key of the object.
|
|
22
|
+
*/
|
|
6
23
|
getObjectBodyAsArrayBuffer(bucketName: string, key: string): Promise<ArrayBuffer>;
|
|
24
|
+
/**
|
|
25
|
+
* Lists the keys of a bucket.
|
|
26
|
+
* @param bucketName The name of the bucket.
|
|
27
|
+
*/
|
|
7
28
|
listKeys(bucketName: string): Promise<string[]>;
|
|
29
|
+
/**
|
|
30
|
+
* Lists the object of a bucket.
|
|
31
|
+
* @param bucketName The name of the bucket.
|
|
32
|
+
*/
|
|
8
33
|
listObjects(bucketName: string): Promise<any[]>;
|
|
34
|
+
/**
|
|
35
|
+
* Uploads an object to a bucket of S3.
|
|
36
|
+
* @param bucketName The name of the bucket.
|
|
37
|
+
* @param key The key for the new object.
|
|
38
|
+
* @param data The data to upload.
|
|
39
|
+
* @param contentEncoding The encoding of the data to upload.
|
|
40
|
+
* @param contentType The content type of the data to upload.
|
|
41
|
+
*/
|
|
9
42
|
upload(bucketName: string, key: string, data: any, contentEncoding?: string, contentType?: string): Promise<void>;
|
|
43
|
+
/**
|
|
44
|
+
* Creates a pre signed url to allow a third party to take action on S3.
|
|
45
|
+
* @param bucketName The name of the bucket.
|
|
46
|
+
* @param key The key for the object on which the action will be allowed.
|
|
47
|
+
* @param operation The operation that will be allowed.
|
|
48
|
+
* @param fileName If operation is Get, then a filename can be provided for the name of the file that will be downloaded.
|
|
49
|
+
* @param expiresIn The amount on time in seconds before the pre signed url expires.
|
|
50
|
+
*/
|
|
10
51
|
createSignedUrl(bucketName: string, key: string, operation: S3PresignedOperationTypeEnum, fileName?: string, expiresIn?: number): Promise<string>;
|
|
11
52
|
}
|
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
import { SqsMessageSentConfirmationModel } from "../models/sqs-message-sent-confirmation.model";
|
|
2
|
+
import { SQSClient } from "@aws-sdk/client-sqs";
|
|
3
|
+
/**
|
|
4
|
+
* The S3Client Interface defines the methods that an S3 client must implement.
|
|
5
|
+
* When injecting the S3 client the 'S3ClientInterface' tag should be used.
|
|
6
|
+
*/
|
|
2
7
|
export interface SqsClientInterface {
|
|
8
|
+
/**
|
|
9
|
+
* Returns the instantiated SQSClient from the @aws-sdk/client-sqs library.
|
|
10
|
+
* @param endpoint The endpoint for which the SQS client is created.
|
|
11
|
+
*/
|
|
12
|
+
getClient(endpoint?: string): SQSClient;
|
|
13
|
+
/**
|
|
14
|
+
* Sends a message to the specified Queue URL.
|
|
15
|
+
* @param queueUrl The queue url where to send the message.
|
|
16
|
+
* @param body The body of the message to send in the queue.
|
|
17
|
+
* @param messageGroupId The message group id for FIFO queues.
|
|
18
|
+
* @param delaySeconds The length of time, in seconds, for which to delay a specific message.
|
|
19
|
+
* @param endpoint The endpoint for SQS.
|
|
20
|
+
*/
|
|
3
21
|
send(queueUrl: string, body: string, messageGroupId?: string, delaySeconds?: number, endpoint?: string): Promise<SqsMessageSentConfirmationModel>;
|
|
4
22
|
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { EventMapperInterface, EventResponse, ExecutionContextInterface, EventsExecutionOptionsInterface } from "@pristine-ts/core";
|
|
2
2
|
import { DynamodbEventPayload } from "../event-payloads/dynamodb.event-payload";
|
|
3
|
+
/**
|
|
4
|
+
* Mapper to map the DynamoDb event into a Pristine event.
|
|
5
|
+
* It is tagged as an ServiceDefinitionTagEnum.EventMapper so that it can be injected with all the other event mappers.
|
|
6
|
+
* It is module scoped so that it gets injected only if the AWS module is imported.
|
|
7
|
+
*/
|
|
3
8
|
export declare class DynamodbEventMapper implements EventMapperInterface<DynamodbEventPayload, void> {
|
|
4
9
|
/**
|
|
5
10
|
* Finds the enum value corresponding to the event name.
|
|
@@ -20,12 +25,27 @@ export declare class DynamodbEventMapper implements EventMapperInterface<Dynamod
|
|
|
20
25
|
*/
|
|
21
26
|
map(rawEvent: any, executionContext: ExecutionContextInterface<any>): EventsExecutionOptionsInterface<DynamodbEventPayload>;
|
|
22
27
|
/**
|
|
23
|
-
* Determines if the parser supports the event.
|
|
28
|
+
* Determines if the parser supports mapping the raw event to a Pristine event.
|
|
29
|
+
* This mapper only supports raw Dynamodb events.
|
|
24
30
|
* @param event The event to verify if the parser supports.
|
|
25
31
|
* @param executionContext The ExecutionContext from where the event is triggered. It can easily be used to determine
|
|
26
32
|
* where the current service is hosted.
|
|
27
33
|
*/
|
|
28
34
|
supportsMapping(event: any, executionContext: ExecutionContextInterface<any>): boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Determines if the parser supports mapping the Pristine event to an event response.
|
|
37
|
+
* For now it does not support a response.
|
|
38
|
+
* @param eventResponse The event response.
|
|
39
|
+
* @param response The response.
|
|
40
|
+
* @param executionContext The execution context of the event.
|
|
41
|
+
*/
|
|
29
42
|
supportsReverseMapping(eventResponse: EventResponse<DynamodbEventPayload, void>, response: any, executionContext: ExecutionContextInterface<any>): boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Reverse maps the Pristine event into an event response.
|
|
45
|
+
* For now it does not mapping a Pristine event to a Dynamodb response.
|
|
46
|
+
* @param eventResponse The event response.
|
|
47
|
+
* @param response The response.
|
|
48
|
+
* @param executionContext The execution context of the event.
|
|
49
|
+
*/
|
|
30
50
|
reverseMap(eventResponse: EventResponse<DynamodbEventPayload, void>, response: any, executionContext: ExecutionContextInterface<any>): void;
|
|
31
51
|
}
|
|
@@ -1,8 +1,39 @@
|
|
|
1
1
|
import { EventMapperInterface, EventResponse, ExecutionContextInterface, EventsExecutionOptionsInterface } from "@pristine-ts/core";
|
|
2
2
|
import { EventBridgePayload } from "../event-payloads/event-bridge.payload";
|
|
3
|
+
/**
|
|
4
|
+
* Mapper to map the Event bridge event into a Pristine event.
|
|
5
|
+
* It is tagged as an ServiceDefinitionTagEnum.EventMapper so that it can be injected with all the other event mappers.
|
|
6
|
+
* It is module scoped so that it gets injected only if the AWS module is imported.
|
|
7
|
+
*/
|
|
3
8
|
export declare class EventBridgeEventMapper implements EventMapperInterface<EventBridgePayload, void> {
|
|
9
|
+
/**
|
|
10
|
+
* Maps the Event bridge raw event into a Pristine event.
|
|
11
|
+
* @param rawEvent The raw Event bridge event
|
|
12
|
+
* @param executionContext The ExecutionContext from where the event is triggered.
|
|
13
|
+
*/
|
|
4
14
|
map(rawEvent: any, executionContext: ExecutionContextInterface<any>): EventsExecutionOptionsInterface<EventBridgePayload>;
|
|
15
|
+
/**
|
|
16
|
+
* Determines if the parser supports mapping the raw event to a Pristine event.
|
|
17
|
+
* This mapper only supports raw Event Bridge events.
|
|
18
|
+
* @param event The event to verify if the parser supports.
|
|
19
|
+
* @param executionContext The ExecutionContext from where the event is triggered. It can easily be used to determine
|
|
20
|
+
* where the current service is hosted.
|
|
21
|
+
*/
|
|
5
22
|
supportsMapping(event: any, executionContext: ExecutionContextInterface<any>): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Determines if the parser supports mapping the Pristine event to an event response.
|
|
25
|
+
* For now it does not support a response.
|
|
26
|
+
* @param eventResponse The event response.
|
|
27
|
+
* @param response The response.
|
|
28
|
+
* @param executionContext The execution context of the event.
|
|
29
|
+
*/
|
|
6
30
|
supportsReverseMapping(eventResponse: EventResponse<EventBridgePayload, void>, response: any, executionContext: ExecutionContextInterface<any>): boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Reverse maps the Pristine event into an event response.
|
|
33
|
+
* For now it does not mapping a Pristine event to an Event Bridge response.
|
|
34
|
+
* @param eventResponse The event response.
|
|
35
|
+
* @param response The response.
|
|
36
|
+
* @param executionContext The execution context of the event.
|
|
37
|
+
*/
|
|
7
38
|
reverseMap(eventResponse: EventResponse<EventBridgePayload, void>, response: any, executionContext: ExecutionContextInterface<any>): void;
|
|
8
39
|
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { EventMapperInterface, EventResponse, ExecutionContextInterface, EventsExecutionOptionsInterface } from "@pristine-ts/core";
|
|
2
2
|
import { KafkaEventPayload } from "../event-payloads/kafka.event-payload";
|
|
3
|
+
/**
|
|
4
|
+
* Mapper to map the Kafka event from the AWS kafka connector into a Pristine event.
|
|
5
|
+
* It is tagged as an ServiceDefinitionTagEnum.EventMapper so that it can be injected with all the other event mappers.
|
|
6
|
+
* It is module scoped so that it gets injected only if the AWS module is imported.
|
|
7
|
+
*/
|
|
3
8
|
export declare class KafkaEventMapper implements EventMapperInterface<KafkaEventPayload, void> {
|
|
4
9
|
/**
|
|
5
10
|
* Parses the Kafka event from the AWS kafka connector into a Pristine event.
|
|
@@ -15,6 +20,20 @@ export declare class KafkaEventMapper implements EventMapperInterface<KafkaEvent
|
|
|
15
20
|
* where the current service is hosted.
|
|
16
21
|
*/
|
|
17
22
|
supportsMapping(event: any, executionContext: ExecutionContextInterface<any>): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Determines if the parser supports mapping the Pristine event to an event response.
|
|
25
|
+
* For now it does not support a response.
|
|
26
|
+
* @param eventResponse The event response.
|
|
27
|
+
* @param response The response.
|
|
28
|
+
* @param executionContext The execution context of the event.
|
|
29
|
+
*/
|
|
18
30
|
supportsReverseMapping(eventResponse: EventResponse<KafkaEventPayload, void>, response: any, executionContext: ExecutionContextInterface<any>): boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Reverse maps the Pristine event into an event response.
|
|
33
|
+
* For now it does not mapping a Pristine event to a Kafka event response.
|
|
34
|
+
* @param eventResponse The event response.
|
|
35
|
+
* @param response The response.
|
|
36
|
+
* @param executionContext The execution context of the event.
|
|
37
|
+
*/
|
|
19
38
|
reverseMap(eventResponse: EventResponse<KafkaEventPayload, void>, response: any, executionContext: ExecutionContextInterface<any>): void;
|
|
20
39
|
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { EventMapperInterface, EventResponse, ExecutionContextInterface, EventsExecutionOptionsInterface } from "@pristine-ts/core";
|
|
2
2
|
import { S3EventPayload } from "../event-payloads/s3.event-payload";
|
|
3
|
+
/**
|
|
4
|
+
* Mapper to map the S3 event into a Pristine event.
|
|
5
|
+
* It is tagged as an ServiceDefinitionTagEnum.EventMapper so that it can be injected with all the other event mappers.
|
|
6
|
+
* It is module scoped so that it gets injected only if the AWS module is imported.
|
|
7
|
+
*/
|
|
3
8
|
export declare class S3EventMapper implements EventMapperInterface<S3EventPayload, void> {
|
|
4
9
|
/**
|
|
5
10
|
* Finds the enum value corresponding to the event name.
|
|
@@ -21,6 +26,20 @@ export declare class S3EventMapper implements EventMapperInterface<S3EventPayloa
|
|
|
21
26
|
* where the current service is hosted.
|
|
22
27
|
*/
|
|
23
28
|
supportsMapping(event: any, executionContext: ExecutionContextInterface<any>): boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Determines if the parser supports mapping the Pristine event to an event response.
|
|
31
|
+
* For now it does not support a response.
|
|
32
|
+
* @param eventResponse The event response.
|
|
33
|
+
* @param response The response.
|
|
34
|
+
* @param executionContext The execution context of the event.
|
|
35
|
+
*/
|
|
24
36
|
supportsReverseMapping(eventResponse: EventResponse<S3EventPayload, void>, response: any, executionContext: ExecutionContextInterface<any>): boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Reverse maps the Pristine event into an event response.
|
|
39
|
+
* For now it does not mapping a Pristine event to an S3 event response.
|
|
40
|
+
* @param eventResponse The event response.
|
|
41
|
+
* @param response The response.
|
|
42
|
+
* @param executionContext The execution context of the event.
|
|
43
|
+
*/
|
|
25
44
|
reverseMap(eventResponse: EventResponse<S3EventPayload, void>, response: any, executionContext: ExecutionContextInterface<any>): void;
|
|
26
45
|
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { EventMapperInterface, EventResponse, ExecutionContextInterface, EventsExecutionOptionsInterface } from "@pristine-ts/core";
|
|
2
2
|
import { SnsEventPayload } from "../event-payloads/sns.event-payload";
|
|
3
|
+
/**
|
|
4
|
+
* Mapper to map the Sns event into a Pristine event.
|
|
5
|
+
* It is tagged as an ServiceDefinitionTagEnum.EventMapper so that it can be injected with all the other event mappers.
|
|
6
|
+
* It is module scoped so that it gets injected only if the AWS module is imported.
|
|
7
|
+
*/
|
|
3
8
|
export declare class SnsEventMapper implements EventMapperInterface<SnsEventPayload, void> {
|
|
4
9
|
/**
|
|
5
10
|
* Finds the enum value corresponding to the event name.
|
|
@@ -21,6 +26,20 @@ export declare class SnsEventMapper implements EventMapperInterface<SnsEventPayl
|
|
|
21
26
|
* where the current service is hosted.
|
|
22
27
|
*/
|
|
23
28
|
supportsMapping(event: any, executionContext: ExecutionContextInterface<any>): boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Determines if the parser supports mapping the Pristine event to an event response.
|
|
31
|
+
* For now it does not support a response.
|
|
32
|
+
* @param eventResponse The event response.
|
|
33
|
+
* @param response The response.
|
|
34
|
+
* @param executionContext The execution context of the event.
|
|
35
|
+
*/
|
|
24
36
|
supportsReverseMapping(eventResponse: EventResponse<SnsEventPayload, void>, response: any, executionContext: ExecutionContextInterface<any>): boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Reverse maps the Pristine event into an event response.
|
|
39
|
+
* For now it does not mapping a Pristine event to an Sns event response.
|
|
40
|
+
* @param eventResponse The event response.
|
|
41
|
+
* @param response The response.
|
|
42
|
+
* @param executionContext The execution context of the event.
|
|
43
|
+
*/
|
|
25
44
|
reverseMap(eventResponse: EventResponse<SnsEventPayload, void>, response: any, executionContext: ExecutionContextInterface<any>): void;
|
|
26
45
|
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { EventMapperInterface, EventResponse, ExecutionContextInterface, EventsExecutionOptionsInterface } from "@pristine-ts/core";
|
|
2
2
|
import { SqsEventPayload } from "../event-payloads/sqs.event-payload";
|
|
3
|
+
/**
|
|
4
|
+
* Mapper to map the Sqs event into a Pristine event.
|
|
5
|
+
* It is tagged as an ServiceDefinitionTagEnum.EventMapper so that it can be injected with all the other event mappers.
|
|
6
|
+
* It is module scoped so that it gets injected only if the AWS module is imported.
|
|
7
|
+
*/
|
|
3
8
|
export declare class SqsEventMapper implements EventMapperInterface<SqsEventPayload, void> {
|
|
4
9
|
/**
|
|
5
10
|
* Parses the SQS event into a Pristine event.
|
|
@@ -15,6 +20,20 @@ export declare class SqsEventMapper implements EventMapperInterface<SqsEventPayl
|
|
|
15
20
|
* where the current service is hosted.
|
|
16
21
|
*/
|
|
17
22
|
supportsMapping(event: any, executionContext: ExecutionContextInterface<any>): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Determines if the parser supports mapping the Pristine event to an event response.
|
|
25
|
+
* For now it does not support a response.
|
|
26
|
+
* @param eventResponse The event response.
|
|
27
|
+
* @param response The response.
|
|
28
|
+
* @param executionContext The execution context of the event.
|
|
29
|
+
*/
|
|
18
30
|
supportsReverseMapping(eventResponse: EventResponse<SqsEventPayload, void>, response: any, executionContext: ExecutionContextInterface<any>): boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Reverse maps the Pristine event into an event response.
|
|
33
|
+
* For now it does not mapping a Pristine event to an Sqs event response.
|
|
34
|
+
* @param eventResponse The event response.
|
|
35
|
+
* @param response The response.
|
|
36
|
+
* @param executionContext The execution context of the event.
|
|
37
|
+
*/
|
|
19
38
|
reverseMap(eventResponse: EventResponse<SqsEventPayload, void>, response: any, executionContext: ExecutionContextInterface<any>): void;
|
|
20
39
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./dynamic-table-name.model";
|
|
2
2
|
export * from "./dynamodb.model";
|
|
3
3
|
export * from "./dynamodb-keys.model";
|
|
4
|
+
export * from "./event-bridge-message.model";
|
|
4
5
|
export * from "./identity.model";
|
|
5
6
|
export * from "./kafka-message.model";
|
|
6
7
|
export * from "./request-parameters.model";
|