Skip to content

GetIamPortalLoginUrl

Source: src/AWS/DataZone/GetIamPortalLoginUrl.ts

Runtime binding for datazone:GetIamPortalLoginUrl.

Mints a single-use data portal sign-in URL for the bound domain, e.g. to embed in a notification. The domain id is injected from the binding. Provide the implementation with Effect.provide(AWS.DataZone.GetIamPortalLoginUrlHttp).

// init — bind the operation to the domain
const getIamPortalLoginUrl = yield* AWS.DataZone.GetIamPortalLoginUrl(domain);
// runtime
const { authCodeUrl } = yield* getIamPortalLoginUrl();