AWS SDK for Kotlin
1.5.1
      Platform filter
Skip to content
    AWS SDK for Kotlin
bedrockagent/aws.sdk.kotlin.services.bedrockagent.model/PromptTemplateConfiguration/SdkUnknown

SdkUnknown

object SdkUnknown : PromptTemplateConfiguration

Inherited functions

asChat
Link copied to clipboard
fun asChat(): ChatPromptTemplateConfiguration

Casts this PromptTemplateConfiguration as a Chat and retrieves its aws.sdk.kotlin.services.bedrockagent.model.ChatPromptTemplateConfiguration value. Throws an exception if the PromptTemplateConfiguration is not a Chat.

asChatOrNull
Link copied to clipboard
fun asChatOrNull(): ChatPromptTemplateConfiguration?

Casts this PromptTemplateConfiguration as a Chat and retrieves its aws.sdk.kotlin.services.bedrockagent.model.ChatPromptTemplateConfiguration value. Returns null if the PromptTemplateConfiguration is not a Chat.

asText
Link copied to clipboard
fun asText(): TextPromptTemplateConfiguration

Casts this PromptTemplateConfiguration as a Text and retrieves its aws.sdk.kotlin.services.bedrockagent.model.TextPromptTemplateConfiguration value. Throws an exception if the PromptTemplateConfiguration is not a Text.

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

Casts this PromptTemplateConfiguration as a Text and retrieves its aws.sdk.kotlin.services.bedrockagent.model.TextPromptTemplateConfiguration value. Returns null if the PromptTemplateConfiguration is not a Text.

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