ListWorkspaceServiceAccounts
Source:
src/AWS/Grafana/ListWorkspaceServiceAccounts.ts
Runtime binding for the ListWorkspaceServiceAccounts operation (IAM
action grafana:ListWorkspaceServiceAccounts), scoped to one
Workspace.
Lists the Grafana service accounts in the workspace. Provide the
implementation with
Effect.provide(AWS.Grafana.ListWorkspaceServiceAccountsHttp).
Managing Service Accounts
Section titled “Managing Service Accounts”const listServiceAccounts = yield* Grafana.ListWorkspaceServiceAccounts(workspace);
const { serviceAccounts } = yield* listServiceAccounts();for (const account of serviceAccounts) { yield* Effect.logInfo(`${account.name} (${account.grafanaRole})`);}