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_tokensInteger

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

Returns:

  • (Integer)


3844
3845
3846
3847
3848
3849
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3844

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

#output_tokensInteger

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

Returns:

  • (Integer)


3844
3845
3846
3847
3848
3849
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3844

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