Class: Aws::BedrockAgentCore::Types::GetResourceOauth2TokenResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[:authorization_url, :access_token]

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenString

The OAuth 2.0 access token to use.

Returns:

  • (String)


2087
2088
2089
2090
2091
2092
2093
2094
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2087

class GetResourceOauth2TokenResponse < Struct.new(
  :authorization_url,
  :access_token,
  :session_uri,
  :session_status)
  SENSITIVE = [:authorization_url, :access_token]
  include Aws::Structure
end

#authorization_urlString

The URL to initiate the authorization process, provided when the access token requires user authorization.

Returns:

  • (String)


2087
2088
2089
2090
2091
2092
2093
2094
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2087

class GetResourceOauth2TokenResponse < Struct.new(
  :authorization_url,
  :access_token,
  :session_uri,
  :session_status)
  SENSITIVE = [:authorization_url, :access_token]
  include Aws::Structure
end

#session_statusString

Status indicating whether the user's authorization session is in progress or has failed. This helps determine the next steps in the OAuth2 authentication flow.

Returns:

  • (String)


2087
2088
2089
2090
2091
2092
2093
2094
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2087

class GetResourceOauth2TokenResponse < Struct.new(
  :authorization_url,
  :access_token,
  :session_uri,
  :session_status)
  SENSITIVE = [:authorization_url, :access_token]
  include Aws::Structure
end

#session_uriString

Unique identifier for the user's authorization session for retrieving OAuth2 tokens. This matches the sessionId from the request and can be used to track the session state.

Returns:

  • (String)


2087
2088
2089
2090
2091
2092
2093
2094
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2087

class GetResourceOauth2TokenResponse < Struct.new(
  :authorization_url,
  :access_token,
  :session_uri,
  :session_status)
  SENSITIVE = [:authorization_url, :access_token]
  include Aws::Structure
end