@distilled.cloud/aws 0.5.0 → 0.5.2

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/README.md CHANGED
@@ -12,7 +12,9 @@ npm install @distilled.cloud/aws effect
12
12
 
13
13
  ```typescript
14
14
  import { Effect, Layer } from "effect";
15
+ import * as Stream from "effect/Stream";
15
16
  import * as FetchHttpClient from "effect/unstable/http/FetchHttpClient";
17
+ import * as Lambda from "@distilled.cloud/aws/lambda";
16
18
  import * as S3 from "@distilled.cloud/aws/s3";
17
19
  import { Credentials, Region } from "@distilled.cloud/aws";
18
20
 
@@ -28,6 +30,10 @@ const program = Effect.gen(function* () {
28
30
  Key: "hello.txt",
29
31
  });
30
32
 
33
+ const functions = yield* Lambda.listFunctions
34
+ .items({})
35
+ .pipe(Stream.take(10), Stream.runCollect);
36
+
31
37
  return result.ContentType;
32
38
  });
33
39
 
@@ -1109,7 +1109,7 @@ export declare const CreateKeyValueStoreRequest: S.Schema<CreateKeyValueStoreReq
1109
1109
  export interface KeyValueStore {
1110
1110
  Name: string;
1111
1111
  Id: string;
1112
- Comment: string;
1112
+ Comment?: string;
1113
1113
  ARN: string;
1114
1114
  Status?: string;
1115
1115
  LastModifiedTime: Date;