AWS SDK for Kotlin
1.6.92
      Platform filter
Skip to content
    AWS SDK for Kotlin
bedrockagentcorecontrol/aws.sdk.kotlin.services.bedrockagentcorecontrol.model/HarnessEnvironmentProviderRequest/asAgentCoreRuntimeEnvironment

asAgentCoreRuntimeEnvironment

fun asAgentCoreRuntimeEnvironment(): HarnessAgentCoreRuntimeEnvironmentRequest

Casts this HarnessEnvironmentProviderRequest as a AgentCoreRuntimeEnvironment and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.HarnessAgentCoreRuntimeEnvironmentRequest value. Throws an exception if the HarnessEnvironmentProviderRequest is not a AgentCoreRuntimeEnvironment.

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