Skip to content

GetListing

Source: src/AWS/DataZone/GetListing.ts

Runtime binding for datazone:GetListing.

Reads a published listing in the bound domain by id. The domain id is injected from the binding. Provide the implementation with Effect.provide(AWS.DataZone.GetListingHttp).

// init — bind the operation to the domain
const getListing = yield* AWS.DataZone.GetListing(domain);
// runtime
const listing = yield* getListing({ identifier: listingId });