LinkedAccount
Represents different linkedAccounts that can be linked to an embedded wallet. This union supports multiple linkedAccount approaches: email, SMS, JWT, and OAuth2.
Inheritors
Types
Developer JWT linkedAccount with key ID and subject
Email-based linkedAccount
OAuth2 provider linkedAccount (Google, Apple, X, Telegram, GitHub)
SMS-based linkedAccount using phone number
Functions
Casts this LinkedAccount as a DeveloperJwt and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.LinkedAccountDeveloperJwt value. Throws an exception if the LinkedAccount is not a DeveloperJwt.
Casts this LinkedAccount as a DeveloperJwt and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.LinkedAccountDeveloperJwt value. Returns null if the LinkedAccount is not a DeveloperJwt.
Casts this LinkedAccount as a Email and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.LinkedAccountEmail value. Throws an exception if the LinkedAccount is not a Email.
Casts this LinkedAccount as a Email and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.LinkedAccountEmail value. Returns null if the LinkedAccount is not a Email.
Casts this LinkedAccount as a OAuth2 and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.LinkedAccountOAuth2 value. Throws an exception if the LinkedAccount is not a OAuth2.
Casts this LinkedAccount as a OAuth2 and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.LinkedAccountOAuth2 value. Returns null if the LinkedAccount is not a OAuth2.
Casts this LinkedAccount as a Sms and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.LinkedAccountSms value. Throws an exception if the LinkedAccount is not a Sms.
Casts this LinkedAccount as a Sms and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.LinkedAccountSms value. Returns null if the LinkedAccount is not a Sms.