AWS SDK for Kotlin
1.6.62
      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.

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