Class: Aws::BedrockRuntime::Types::InvokeModelWithResponseStreamResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bodyTypes::ResponseStream

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

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



1681
1682
1683
1684
1685
1686
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1681

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

#content_typeString

The MIME type of the inference result.

Returns:

  • (String)


1681
1682
1683
1684
1685
1686
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1681

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