BrowserActionResult
The result of a browser action execution. Exactly one member is set, matching the action that was performed.
Inheritors
Types
The result of a key press action.
The result of a key shortcut action.
The result of a key type action.
The result of a mouse click action.
The result of a mouse drag action.
The result of a mouse move action.
The result of a mouse scroll action.
The result of a screenshot action.
Functions
Casts this BrowserActionResult as a KeyPress and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.KeyPressResult value. Throws an exception if the BrowserActionResult is not a KeyPress.
Casts this BrowserActionResult as a KeyPress and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.KeyPressResult value. Returns null if the BrowserActionResult is not a KeyPress.
Casts this BrowserActionResult as a KeyShortcut and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.KeyShortcutResult value. Throws an exception if the BrowserActionResult is not a KeyShortcut.
Casts this BrowserActionResult as a KeyShortcut and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.KeyShortcutResult value. Returns null if the BrowserActionResult is not a KeyShortcut.
Casts this BrowserActionResult as a KeyType and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.KeyTypeResult value. Throws an exception if the BrowserActionResult is not a KeyType.
Casts this BrowserActionResult as a KeyType and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.KeyTypeResult value. Returns null if the BrowserActionResult is not a KeyType.
Casts this BrowserActionResult as a MouseClick and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.MouseClickResult value. Throws an exception if the BrowserActionResult is not a MouseClick.
Casts this BrowserActionResult as a MouseClick and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.MouseClickResult value. Returns null if the BrowserActionResult is not a MouseClick.
Casts this BrowserActionResult as a MouseDrag and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.MouseDragResult value. Throws an exception if the BrowserActionResult is not a MouseDrag.
Casts this BrowserActionResult as a MouseDrag and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.MouseDragResult value. Returns null if the BrowserActionResult is not a MouseDrag.
Casts this BrowserActionResult as a MouseMove and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.MouseMoveResult value. Throws an exception if the BrowserActionResult is not a MouseMove.
Casts this BrowserActionResult as a MouseMove and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.MouseMoveResult value. Returns null if the BrowserActionResult is not a MouseMove.
Casts this BrowserActionResult as a MouseScroll and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.MouseScrollResult value. Throws an exception if the BrowserActionResult is not a MouseScroll.
Casts this BrowserActionResult as a MouseScroll and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.MouseScrollResult value. Returns null if the BrowserActionResult is not a MouseScroll.
Casts this BrowserActionResult as a Screenshot and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.ScreenshotResult value. Throws an exception if the BrowserActionResult is not a Screenshot.
Casts this BrowserActionResult as a Screenshot and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.ScreenshotResult value. Returns null if the BrowserActionResult is not a Screenshot.