AWS SDK for Kotlin
1.6.95
      Platform filter
Skip to content
    AWS SDK for Kotlin
bedrockagentcorecontrol/aws.sdk.kotlin.services.bedrockagentcorecontrol.model/RegistryRecordCredentialProviderUnion/asOauthCredentialProviderOrNull

asOauthCredentialProviderOrNull

fun asOauthCredentialProviderOrNull(): RegistryRecordOAuthCredentialProvider?

Casts this RegistryRecordCredentialProviderUnion as a OauthCredentialProvider and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.RegistryRecordOAuthCredentialProvider value. Returns null if the RegistryRecordCredentialProviderUnion is not a OauthCredentialProvider.

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