DescribeKeyValueStore
Source:
src/AWS/CloudFront/DescribeKeyValueStore.ts
Runtime binding for cloudfront-keyvaluestore:DescribeKeyValueStore.
Reads the bound KeyValueStore’s data-plane metadata — item count, total
size, and the current ETag that write operations (PutKey,
DeleteKey, UpdateKeys) require as IfMatch. Provide the
implementation with Effect.provide(AWS.CloudFront.DescribeKeyValueStoreHttp).
Reading KeyValueStore Data
Section titled “Reading KeyValueStore Data”// init — bind the operation to the storeconst describeStore = yield* CloudFront.DescribeKeyValueStore(store);
// runtimeconst meta = yield* describeStore({});console.log(meta.ETag, meta.ItemCount);