Class: Aws::BedrockAgentCore::Types::UserIdentifier
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCore::Types::UserIdentifier
- Defined in:
- gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb
Overview
UserIdentifier is a union - when making an API calls you must set exactly one of the members.
The OAuth2.0 token or user ID that was used to generate the workload access token used for initiating the user authorization flow to retrieve OAuth2.0 tokens.
Defined Under Namespace
Classes: Unknown, UserId, UserToken
Constant Summary collapse
- SENSITIVE =
[:user_token]
Instance Attribute Summary collapse
-
#unknown ⇒ Object
Returns the value of attribute unknown.
-
#user_id ⇒ String
The ID of the user for whom you have retrieved a workload access token for.
-
#user_token ⇒ String
The OAuth2.0 token issued by the user’s identity provider that was used to generate the workload access token.
Instance Attribute Details
#unknown ⇒ Object
Returns the value of attribute unknown
11352 11353 11354 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 11352 def unknown @unknown end |
#user_id ⇒ String
The ID of the user for whom you have retrieved a workload access token for
11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 11352 class UserIdentifier < Struct.new( :user_token, :user_id, :unknown) SENSITIVE = [:user_token] include Aws::Structure include Aws::Structure::Union class UserToken < UserIdentifier; end class UserId < UserIdentifier; end class Unknown < UserIdentifier; end end |
#user_token ⇒ String
The OAuth2.0 token issued by the user’s identity provider that was used to generate the workload access token
11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 11352 class UserIdentifier < Struct.new( :user_token, :user_id, :unknown) SENSITIVE = [:user_token] include Aws::Structure include Aws::Structure::Union class UserToken < UserIdentifier; end class UserId < UserIdentifier; end class Unknown < UserIdentifier; end end |