AWS SDK for Kotlin
1.5.1
      Platform filter
Skip to content
    AWS SDK for Kotlin
bedrockruntime/aws.sdk.kotlin.services.bedrockruntime.model/InvokeModelWithBidirectionalStreamInput/asChunk

asChunk

fun asChunk(): BidirectionalInputPayloadPart

Casts this InvokeModelWithBidirectionalStreamInput as a Chunk and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.BidirectionalInputPayloadPart value. Throws an exception if the InvokeModelWithBidirectionalStreamInput is not a Chunk.

© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved. Generated by dokka