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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockruntime/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.

Returns:

  • (String)


1232
1233
1234
1235
1236
1237
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1232

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

#content_typeString

The MIME type of the inference result.

Returns:

  • (String)


1232
1233
1234
1235
1236
1237
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1232

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