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

asAgentCoreRuntimeEnvironmentOrNull

fun asAgentCoreRuntimeEnvironmentOrNull(): HarnessAgentCoreRuntimeEnvironmentRequest?

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

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