@nr1e/aws 0.0.0-snapshot-20260124180354 → 0.0.0-snapshot-20260125001146

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.
@@ -1,15 +1,16 @@
1
1
  import { unmarshall } from '@aws-sdk/util-dynamodb';
2
2
  import { AttributeValue, StreamRecord } from 'aws-lambda';
3
3
  export { unmarshall, StreamRecord, AttributeValue };
4
+ export { DynamoDBStreamEvent } from 'aws-lambda';
4
5
  export type AttributeValueMap = {
5
6
  [key: string]: AttributeValue;
6
7
  };
7
8
  export declare function unmarshallAttributeValueMap<T>(map?: AttributeValueMap): T | undefined;
8
9
  export interface UnmarshalledStreamRecord {
9
10
  ApproximateCreationDateTime?: number | undefined;
10
- Keys?: object;
11
- NewImage?: object;
12
- OldImage?: object;
11
+ Keys?: Record<string, any>;
12
+ NewImage?: Record<string, any>;
13
+ OldImage?: Record<string, any>;
13
14
  SequenceNumber?: string | undefined;
14
15
  SizeBytes?: number | undefined;
15
16
  StreamViewType?: 'KEYS_ONLY' | 'NEW_IMAGE' | 'OLD_IMAGE' | 'NEW_AND_OLD_IMAGES' | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"dynamodb-stream.d.mts","sourceRoot":"","sources":["../src/dynamodb-stream.mts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,wBAAwB,CAAC;AAElD,OAAO,EAAC,cAAc,EAAE,YAAY,EAAC,MAAM,YAAY,CAAC;AAExD,OAAO,EAAC,UAAU,EAAE,YAAY,EAAE,cAAc,EAAC,CAAC;AAElD,MAAM,MAAM,iBAAiB,GAAG;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,CAAA;CAAC,CAAC;AAEhE,wBAAgB,2BAA2B,CAAC,CAAC,EAC3C,GAAG,CAAC,EAAE,iBAAiB,GACtB,CAAC,GAAG,SAAS,CAMf;AAED,MAAM,WAAW,wBAAwB;IACvC,2BAA2B,CAAC,EAAE,M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AAE,MAAM,GAAG,SAAS,CAAC;IAC/B,cAAc,CAAC,EACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,oBAAoB,GACpB,SAAS,CAAC;CACf;AAED,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,YAAY,GACnB,wBAAwB,CAO1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"dynamodb-stream.mjs","sourceRoot":"","sources":["../src/dynamodb-stream.mts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,wBAAwB,CAAC;AAIlD,OAAO,EAAC,UAAU,EAA+B,CAAC;AAIlD,MAAM,UAAU,2BAA2B,CACzC,GAAuB;IAEvB,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,0GAA0G;IAC1G,OAAO,UAAU,CAAC,GAA8C,CAAM,CAAC;AACzE,CAAC;AAiBD,MAAM,UAAU,sBAAsB,CACpC,MAAoB;IAEpB,OAAO;QACL,GAAG,MAAM;QACT,IAAI,EAAE,2BAA2B,CAAC,MAAM,CAAC,IAAI,CAAC;QAC9C,QAAQ,EAAE,2BAA2B,CAAC,MAAM,CAAC,QAAQ,CAAC;QACtD,QAAQ,EAAE,2BAA2B,CAAC,MAAM,CAAC,QAAQ,CAAC;KACvD,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"dynamodb-stream.mjs","sourceRoot":"","sources":["../src/dynamodb-stream.mts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,wBAAwB,CAAC;AAIlD,OAAO,EAAC,UAAU,EAA+B,CAAC;AAKlD,MAAM,UAAU,2BAA2B,CACzC,GAAuB;IAEvB,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,0GAA0G;IAC1G,OAAO,UAAU,CAAC,GAA8C,CAAM,CAAC;AACzE,CAAC;AAoBD,MAAM,UAAU,sBAAsB,CACpC,MAAoB;IAEpB,OAAO;QACL,GAAG,MAAM;QACT,IAAI,EAAE,2BAA2B,CAAC,MAAM,CAAC,IAAI,CAAC;QAC9C,QAAQ,EAAE,2BAA2B,CAAC,MAAM,CAAC,QAAQ,CAAC;QACtD,QAAQ,EAAE,2BAA2B,CAAC,MAAM,CAAC,QAAQ,CAAC;KACvD,CAAC;AACJ,CAAC"}
@@ -0,0 +1,49 @@
1
+ import { AutocompleteCommand, AutocompleteCommandInput, AutocompleteCommandOutput, GeocodeCommand, GeocodeCommandInput, GeocodeCommandOutput, GeoPlacesClient, SearchTextCommand, SearchTextCommandInput, SearchTextCommandOutput, SuggestCommand, SuggestCommandInput, SuggestCommandOutput } from '@aws-sdk/client-geo-places';
2
+ export { AutocompleteCommand, AutocompleteCommandInput, AutocompleteCommandOutput, GeocodeCommand, GeocodeCommandInput, GeocodeCommandOutput, SearchTextCommand, SearchTextCommandInput, SearchTextCommandOutput, SuggestCommand, SuggestCommandInput, SuggestCommandOutput, };
3
+ export declare function getGeoPlacesClient(region?: string): GeoPlacesClient;
4
+ export declare const BiasPosition: {
5
+ Africa: number[];
6
+ Asia: number[];
7
+ Australia: number[];
8
+ Europe: number[];
9
+ Canada: number[];
10
+ SouthAfrica: number[];
11
+ SouthAmerica: number[];
12
+ Us: number[];
13
+ };
14
+ /**
15
+ * Provides basic geocoding functionality to cover most use cased.
16
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-geo-places/
17
+ *
18
+ * @param address - The address to geocode.
19
+ * @param biasPosition - A latitude and longitude to bias the search towards. Defaults to the US.
20
+ * @param client - The client to use for the request. One will be created if not provided.
21
+ */
22
+ export declare function geoCodeAddress(address: string, biasPosition?: [number, number], client?: GeoPlacesClient): Promise<GeocodeCommandOutput>;
23
+ /**
24
+ * Provides basic geo-location for an address to cover most use cases.
25
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-geo-places/
26
+ *
27
+ * @param address - The address to geolocate.
28
+ * @param biasPosition - A latitude and longitude to bias the search towards. Defaults to the US.
29
+ * @param client - The client to use for the request. One will be created if not provided.
30
+ */
31
+ export declare function geoLocateAddress(address: string, biasPosition?: [number, number], client?: GeoPlacesClient): Promise<SearchTextCommandOutput>;
32
+ /**
33
+ * Provides basic address autocomplete functionality.
34
+ @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-geo-places/
35
+
36
+ * @param address - The address to autocomplete.
37
+ * @param biasPosition - A latitude and longitude to bias the search towards. Defaults to the US.
38
+ * @param client - The client to use for the request. One will be created if not provided.
39
+ */
40
+ export declare function autocompleteAddress(address: string, biasPosition?: [number, number], client?: GeoPlacesClient): Promise<AutocompleteCommandOutput>;
41
+ /**
42
+ * Provides basic location suggestion functionality.
43
+ *
44
+ * @param address - The address to suggest.
45
+ * @param biasPosition - A latitude and longitude to bias the search towards. Defaults to the US.
46
+ * @param client - The client to use for the request. One will be created if not provided.
47
+ */
48
+ export declare function suggestLocation(address: string, biasPosition?: [number, number], client?: GeoPlacesClient): Promise<SuggestCommandOutput>;
49
+ //# sourceMappingURL=geo-places.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geo-places.d.mts","sourceRoot":"","sources":["../src/geo-places.mts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACxB,yBAAyB,EAEzB,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,eAAe,EACf,iBAAiB,EACjB,sBAAsB,EACtB,uBAAuB,EACvB,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,4BAA4B,CAAC;AAGpC,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACxB,yBAAyB,EACzB,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,sBAAsB,EACtB,uBAAuB,EACvB,cAAc,EACd,mBAAmB,EACnB,oBAAoB,GACrB,CAAC;AAIF,wBAAgB,kBAAkB,CAAC,MAAM,CAAC,EAAE,MAAM,mBAQjD;AAED,eAAO,MAAM,YAAY;;;;;;;;;CASxB,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAsB,cAAc,CAClC,OAAO,EAAE,MAAM,EACf,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAC/B,MAAM,CAAC,EAAE,eAAe,GACvB,OAAO,CAAC,oBAAoB,CAAC,CAS/B;AAED;;;;;;;GAOG;AACH,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,MAAM,EACf,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAC/B,MAAM,CAAC,EAAE,eAAe,GACvB,OAAO,CAAC,uBAAuB,CAAC,CASlC;AAED;;;;;;;GAOG;AACH,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,MAAM,EACf,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAC/B,MAAM,CAAC,EAAE,eAAe,GACvB,OAAO,CAAC,yBAAyB,CAAC,CAUpC;AAED;;;;;;GAMG;AACH,wBAAsB,eAAe,CACnC,OAAO,EAAE,MAAM,EACf,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAC/B,MAAM,CAAC,EAAE,eAAe,GACvB,OAAO,CAAC,oBAAoB,CAAC,CAS/B"}
@@ -0,0 +1,88 @@
1
+ import { AutocompleteCommand, AutocompleteIntendedUse, GeocodeCommand, GeoPlacesClient, SearchTextCommand, SuggestCommand, } from '@aws-sdk/client-geo-places';
2
+ import { getAwsRegion } from './region.mjs';
3
+ export { AutocompleteCommand, GeocodeCommand, SearchTextCommand, SuggestCommand, };
4
+ const geoPlacesClients = new Map();
5
+ export function getGeoPlacesClient(region) {
6
+ const regionKey = region || getAwsRegion();
7
+ let client = geoPlacesClients.get(regionKey);
8
+ if (!client) {
9
+ client = new GeoPlacesClient({ region: regionKey });
10
+ geoPlacesClients.set(regionKey, client);
11
+ }
12
+ return client;
13
+ }
14
+ export const BiasPosition = {
15
+ Africa: [20.0, 5.0],
16
+ Asia: [85.0, 35.0],
17
+ Australia: [134.0, -25.0],
18
+ Europe: [10.0, 50.0],
19
+ Canada: [-96.0, 62.0],
20
+ SouthAfrica: [24.0, -29.0],
21
+ SouthAmerica: [-60.0, -15.0],
22
+ Us: [-98.5795, 39.8283],
23
+ };
24
+ /**
25
+ * Provides basic geocoding functionality to cover most use cased.
26
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-geo-places/
27
+ *
28
+ * @param address - The address to geocode.
29
+ * @param biasPosition - A latitude and longitude to bias the search towards. Defaults to the US.
30
+ * @param client - The client to use for the request. One will be created if not provided.
31
+ */
32
+ export async function geoCodeAddress(address, biasPosition, client) {
33
+ client = client || getGeoPlacesClient();
34
+ return await client.send(new GeocodeCommand({
35
+ QueryText: address,
36
+ MaxResults: 5,
37
+ BiasPosition: biasPosition || BiasPosition.Us,
38
+ }));
39
+ }
40
+ /**
41
+ * Provides basic geo-location for an address to cover most use cases.
42
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-geo-places/
43
+ *
44
+ * @param address - The address to geolocate.
45
+ * @param biasPosition - A latitude and longitude to bias the search towards. Defaults to the US.
46
+ * @param client - The client to use for the request. One will be created if not provided.
47
+ */
48
+ export async function geoLocateAddress(address, biasPosition, client) {
49
+ client = client || getGeoPlacesClient();
50
+ return await client.send(new SearchTextCommand({
51
+ QueryText: address,
52
+ MaxResults: 5,
53
+ BiasPosition: biasPosition || BiasPosition.Us,
54
+ }));
55
+ }
56
+ /**
57
+ * Provides basic address autocomplete functionality.
58
+ @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-geo-places/
59
+
60
+ * @param address - The address to autocomplete.
61
+ * @param biasPosition - A latitude and longitude to bias the search towards. Defaults to the US.
62
+ * @param client - The client to use for the request. One will be created if not provided.
63
+ */
64
+ export async function autocompleteAddress(address, biasPosition, client) {
65
+ client = client || getGeoPlacesClient();
66
+ return await client.send(new AutocompleteCommand({
67
+ QueryText: address,
68
+ MaxResults: 5,
69
+ BiasPosition: biasPosition || BiasPosition.Us,
70
+ IntendedUse: AutocompleteIntendedUse.SINGLE_USE,
71
+ }));
72
+ }
73
+ /**
74
+ * Provides basic location suggestion functionality.
75
+ *
76
+ * @param address - The address to suggest.
77
+ * @param biasPosition - A latitude and longitude to bias the search towards. Defaults to the US.
78
+ * @param client - The client to use for the request. One will be created if not provided.
79
+ */
80
+ export async function suggestLocation(address, biasPosition, client) {
81
+ client = client || getGeoPlacesClient();
82
+ return await client.send(new SuggestCommand({
83
+ QueryText: address,
84
+ MaxResults: 5,
85
+ BiasPosition: biasPosition || BiasPosition.Us,
86
+ }));
87
+ }
88
+ //# sourceMappingURL=geo-places.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geo-places.mjs","sourceRoot":"","sources":["../src/geo-places.mts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAGnB,uBAAuB,EACvB,cAAc,EAGd,eAAe,EACf,iBAAiB,EAGjB,cAAc,GAGf,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAC,YAAY,EAAC,MAAM,cAAc,CAAC;AAE1C,OAAO,EACL,mBAAmB,EAGnB,cAAc,EAGd,iBAAiB,EAGjB,cAAc,GAGf,CAAC;AAEF,MAAM,gBAAgB,GAAG,IAAI,GAAG,EAA2B,CAAC;AAE5D,MAAM,UAAU,kBAAkB,CAAC,MAAe;IAChD,MAAM,SAAS,GAAG,MAAM,IAAI,YAAY,EAAE,CAAC;IAC3C,IAAI,MAAM,GAAG,gBAAgB,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC7C,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,MAAM,GAAG,IAAI,eAAe,CAAC,EAAC,MAAM,EAAE,SAAS,EAAC,CAAC,CAAC;QAClD,gBAAgB,CAAC,GAAG,CAAC,SAAS,EAAE,MAAM,CAA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AC,KAAK,UAAU,mBAAmB,CACvC,OAAe,EACf,YAA+B,EAC/B,MAAwB;IAExB,MAAM,GAAG,MAAM,IAAI,kBAAkB,EAAE,CAAC;IACxC,OAAO,MAAM,MAAM,CAAC,IAAI,CACtB,IAAI,mBAAmB,CAAC;QACtB,SAAS,EAAE,OAAO;QAClB,UAAU,EAAE,CAAC;QACb,YAAY,EAAE,YAAY,IAAI,YAAY,CAAC,EAAE;QAC7C,WAAW,EAAE,uBAAuB,CAAC,UAAU;KAChD,CAAC,CACH,CAAC;AACJ,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,eAAe,CACnC,OAAe,EACf,YAA+B,EAC/B,MAAwB;IAExB,MAAM,GAAG,MAAM,IAAI,kBAAkB,EAAE,CAAC;IACxC,OAAO,MAAM,MAAM,CAAC,IAAI,CACtB,IAAI,cAAc,CAAC;QACjB,SAAS,EAAE,OAAO;QAClB,UAAU,EAAE,CAAC;QACb,YAAY,EAAE,YAAY,IAAI,YAAY,CAAC,EAAE;KAC9C,CAAC,CACH,CAAC;AACJ,CAAC"}
package/dist/index.d.mts CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from './dynamodb.mjs';
2
2
  export * from './dynamodb-stream.mjs';
3
3
  export * from './event-bridge.mjs';
4
+ export * from './geo-places.mjs';
4
5
  export * from './lambda.mjs';
5
6
  export * from './region.mjs';
6
7
  export * from './s3.mjs';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/index.mts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,uBAAuB,CAAC;AACtC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/index.mts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,uBAAuB,CAAC;AACtC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC"}
package/dist/index.mjs CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from './dynamodb.mjs';
2
2
  export * from './dynamodb-stream.mjs';
3
3
  export * from './event-bridge.mjs';
4
+ export * from './geo-places.mjs';
4
5
  export * from './lambda.mjs';
5
6
  export * from './region.mjs';
6
7
  export * from './s3.mjs';
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.mts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,uBAAuB,CAAC;AACtC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.mts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,uBAAuB,CAAC;AACtC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nr1e/aws",
3
3
  "description": "Provides common AWS utilities",
4
- "version": "0.0.0-snapshot-20260124180354",
4
+ "version": "0.0.0-snapshot-20260125001146",
5
5
  "type": "module",
6
6
  "author": "NR1E, Inc.",
7
7
  "publishConfig": {
@@ -18,6 +18,7 @@
18
18
  "devDependencies": {
19
19
  "@eslint/js": "latest",
20
20
  "@types/node": "^20.19.0",
21
+ "dotenv-cli": "^11.0.0",
21
22
  "eslint": "9.32.0",
22
23
  "prettier": "3.6.2",
23
24
  "typescript": "5.4.5",
@@ -28,7 +29,9 @@
28
29
  "@types/aws-lambda": "8.10.152",
29
30
  "@aws-sdk/client-dynamodb": "3.958.0",
30
31
  "@aws-sdk/client-eventbridge": "3.958.0",
32
+ "@aws-sdk/client-geo-places": "3.958.0",
31
33
  "@aws-sdk/client-lambda": "3.958.0",
34
+ "@aws-sdk/client-location": "3.958.0",
32
35
  "@aws-sdk/client-s3": "3.958.0",
33
36
  "@aws-sdk/client-secrets-manager": "3.958.0",
34
37
  "@aws-sdk/client-ses": "3.958.0",