Class: Aws::BedrockAgentCore::Types::LinkedAccount
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCore::Types::LinkedAccount
- Defined in:
- gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb
Overview
LinkedAccount is a union - when making an API calls you must set exactly one of the members.
LinkedAccount is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of LinkedAccount corresponding to the set member.
Represents different linked accounts that can be linked to an embedded wallet. Supports email, SMS, JWT, and OAuth2 approaches.
Defined Under Namespace
Classes: DeveloperJwt, Email, OAuth2, Sms, Unknown
Constant Summary collapse
- SENSITIVE =
[:email, :sms]
Instance Attribute Summary collapse
-
#developer_jwt ⇒ Types::LinkedAccountDeveloperJwt
Developer JWT linked account with key ID and subject.
-
#email ⇒ Types::LinkedAccountEmail
Email-based linked account.
-
#o_auth_2 ⇒ Types::LinkedAccountOAuth2
OAuth2 provider linked account (Google, Apple, X, Telegram, GitHub).
-
#sms ⇒ Types::LinkedAccountSms
SMS-based linked account using phone number.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#developer_jwt ⇒ Types::LinkedAccountDeveloperJwt
Developer JWT linked account with key ID and subject.
6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 6550 class LinkedAccount < Struct.new( :email, :sms, :developer_jwt, :o_auth_2, :unknown) SENSITIVE = [:email, :sms] include Aws::Structure include Aws::Structure::Union class Email < LinkedAccount; end class Sms < LinkedAccount; end class DeveloperJwt < LinkedAccount; end class OAuth2 < LinkedAccount; end class Unknown < LinkedAccount; end end |
#email ⇒ Types::LinkedAccountEmail
Email-based linked account.
6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 6550 class LinkedAccount < Struct.new( :email, :sms, :developer_jwt, :o_auth_2, :unknown) SENSITIVE = [:email, :sms] include Aws::Structure include Aws::Structure::Union class Email < LinkedAccount; end class Sms < LinkedAccount; end class DeveloperJwt < LinkedAccount; end class OAuth2 < LinkedAccount; end class Unknown < LinkedAccount; end end |
#o_auth_2 ⇒ Types::LinkedAccountOAuth2
OAuth2 provider linked account (Google, Apple, X, Telegram, GitHub).
6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 6550 class LinkedAccount < Struct.new( :email, :sms, :developer_jwt, :o_auth_2, :unknown) SENSITIVE = [:email, :sms] include Aws::Structure include Aws::Structure::Union class Email < LinkedAccount; end class Sms < LinkedAccount; end class DeveloperJwt < LinkedAccount; end class OAuth2 < LinkedAccount; end class Unknown < LinkedAccount; end end |
#sms ⇒ Types::LinkedAccountSms
SMS-based linked account using phone number.
6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 6550 class LinkedAccount < Struct.new( :email, :sms, :developer_jwt, :o_auth_2, :unknown) SENSITIVE = [:email, :sms] include Aws::Structure include Aws::Structure::Union class Email < LinkedAccount; end class Sms < LinkedAccount; end class DeveloperJwt < LinkedAccount; end class OAuth2 < LinkedAccount; end class Unknown < LinkedAccount; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
6550 6551 6552 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 6550 def unknown @unknown end |