ListKeys
Source:
src/AWS/CloudFront/ListKeys.ts
Runtime binding for cloudfront-keyvaluestore:ListKeys.
Lists key/value pairs in the bound KeyValueStore’s data plane (paginated
via NextToken/MaxResults). Provide the implementation with
Effect.provide(AWS.CloudFront.ListKeysHttp).
Reading KeyValueStore Data
Section titled “Reading KeyValueStore Data”// init — bind the operation to the storeconst listKeys = yield* CloudFront.ListKeys(store);
// runtimeconst res = yield* listKeys({ MaxResults: 50 });console.log(res.Items?.map((item) => item.Key));