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

asResponseEventOrNull

fun asResponseEventOrNull(): AgenticRetrieveResponseEvent?

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

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