AWS SDK for Kotlin
1.4.125
      Platform filter
Skip to content
    AWS SDK for Kotlin
bedrockruntime/aws.sdk.kotlin.services.bedrockruntime.model/GuardrailConverseContentBlock/SdkUnknown

SdkUnknown

object SdkUnknown : GuardrailConverseContentBlock

Inherited functions

asImage
Link copied to clipboard
fun asImage(): GuardrailConverseImageBlock

Casts this GuardrailConverseContentBlock as a Image and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.GuardrailConverseImageBlock value. Throws an exception if the GuardrailConverseContentBlock is not a Image.

asImageOrNull
Link copied to clipboard
fun asImageOrNull(): GuardrailConverseImageBlock?

Casts this GuardrailConverseContentBlock as a Image and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.GuardrailConverseImageBlock value. Returns null if the GuardrailConverseContentBlock is not a Image.

asText
Link copied to clipboard
fun asText(): GuardrailConverseTextBlock

Casts this GuardrailConverseContentBlock as a Text and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.GuardrailConverseTextBlock value. Throws an exception if the GuardrailConverseContentBlock is not a Text.

asTextOrNull
Link copied to clipboard
fun asTextOrNull(): GuardrailConverseTextBlock?

Casts this GuardrailConverseContentBlock as a Text and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.GuardrailConverseTextBlock value. Returns null if the GuardrailConverseContentBlock is not a Text.

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