Class: Aws::BedrockAgentRuntime::Types::Usage

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

Overview

Contains information of the usage of the foundation model.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#input_tokens ⇒ Integer

Contains information about the input tokens from the foundation model usage.

Returns:

  • (Integer)


10552
10553
10554
10555
10556
10557
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 10552

class Usage < Struct.new(
  :input_tokens,
  :output_tokens)
  SENSITIVE = []
  include Aws::Structure
end

#output_tokens ⇒ Integer

Contains information about the output tokens from the foundation model usage.

Returns:

  • (Integer)


10552
10553
10554
10555
10556
10557
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 10552

class Usage < Struct.new(
  :input_tokens,
  :output_tokens)
  SENSITIVE = []
  include Aws::Structure
end