Class: Aws::BedrockAgentCore::Types::ViewPort

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

Overview

The configuration that defines the dimensions of a browser viewport in a browser session. The viewport determines the visible area of web content and affects how web pages are rendered and displayed. Proper viewport configuration ensures that web content is displayed correctly for the agent's browsing tasks.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#heightInteger

The height of the viewport in pixels. This value determines the vertical dimension of the visible area. Valid values range from 600 to 1080 pixels.

Returns:

  • (Integer)


2449
2450
2451
2452
2453
2454
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2449

class ViewPort < Struct.new(
  :width,
  :height)
  SENSITIVE = []
  include Aws::Structure
end

#widthInteger

The width of the viewport in pixels. This value determines the horizontal dimension of the visible area. Valid values range from 800 to 1920 pixels.

Returns:

  • (Integer)


2449
2450
2451
2452
2453
2454
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2449

class ViewPort < Struct.new(
  :width,
  :height)
  SENSITIVE = []
  include Aws::Structure
end