AWS SDK for Kotlin
1.6.105
      Platform filter
Skip to content
    AWS SDK for Kotlin
bedrockagentruntime/aws.sdk.kotlin.services.bedrockagentruntime.model/AgenticRetrieveStreamResponseOutput/asResult

asResult

fun asResult(): AgenticRetrieveResultEvent

Casts this AgenticRetrieveStreamResponseOutput as a Result and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.AgenticRetrieveResultEvent value. Throws an exception if the AgenticRetrieveStreamResponseOutput is not a Result.

Generated by Dokka
© 2026, Amazon Web Services, Inc. or its affiliates. All rights reserved.