Class: Aws::BedrockRuntime::Types::InvokeModelResponse

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-bedrockruntime/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:body]

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

Inference response from the model in the format specified in the ‘contentType` header. To see the format and content of the request and response bodies for different models, refer to [Inference parameters].

[1]: docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html

Returns:

  • (String)


3046
3047
3048
3049
3050
3051
3052
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3046

class InvokeModelResponse < Struct.new(
  :body,
  :content_type,
  :performance_config_latency)
  SENSITIVE = [:body]
  include Aws::Structure
end

#content_typeString

The MIME type of the inference result.

Returns:

  • (String)


3046
3047
3048
3049
3050
3051
3052
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3046

class InvokeModelResponse < Struct.new(
  :body,
  :content_type,
  :performance_config_latency)
  SENSITIVE = [:body]
  include Aws::Structure
end

#performance_config_latencyString

Model performance settings for the request.

Returns:

  • (String)


3046
3047
3048
3049
3050
3051
3052
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3046

class InvokeModelResponse < Struct.new(
  :body,
  :content_type,
  :performance_config_latency)
  SENSITIVE = [:body]
  include Aws::Structure
end