DescribeUser
Source:
src/AWS/Transfer/DescribeUser.ts
Runtime binding for transfer:DescribeUser.
Reads the bound User’s live configuration — home directory, role,
POSIX profile, and the SSH public keys currently registered (including
their SshPublicKeyIds, which DeleteSshPublicKey needs). The
ServerId and UserName are injected from the binding. Provide the
implementation with Effect.provide(AWS.Transfer.DescribeUserHttp).
Managing Users at Runtime
Section titled “Managing Users at Runtime”// init — bind the operation to the userconst describeUser = yield* AWS.Transfer.DescribeUser(user);
// runtimeconst { User } = yield* describeUser();const keyIds = (User.SshPublicKeys ?? []).map((k) => k.SshPublicKeyId);