Class: Aws::BedrockAgentCore::Types::LinkedAccount

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb

Overview

Note:

LinkedAccount is a union - when making an API calls you must set exactly one of the members.

Note:

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

Instance Attribute Details

#developer_jwt ⇒ Types::LinkedAccountDeveloperJwt

Developer JWT linked account with key ID and subject.



6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 6586

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.



6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 6586

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).



6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 6586

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.



6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 6586

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

Returns:

  • (Object) —

    the current value of unknown



6586
6587
6588
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 6586

def unknown
  @unknown
end