ListInvalidations
Source:
src/AWS/CloudFront/ListInvalidations.ts
Runtime binding for cloudfront:ListInvalidations.
Lists the cache invalidations of the bound distribution (paginated via
Marker/MaxItems). Provide the implementation with
Effect.provide(AWS.CloudFront.ListInvalidationsHttp).
Inspecting Invalidations
Section titled “Inspecting Invalidations”// init — bind the operation to the distributionconst listInvalidations = yield* CloudFront.ListInvalidations(distribution);
// runtimeconst res = yield* listInvalidations({ MaxItems: 10 });console.log(res.InvalidationList?.Items?.map((i) => i.Id));