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

asResponseEvent

fun asResponseEvent(): AgenticRetrieveResponseEvent

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

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