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

asIamCredentialProvider

fun asIamCredentialProvider(): RegistryRecordIamCredentialProvider

Casts this RegistryRecordCredentialProviderUnion as a IamCredentialProvider and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.RegistryRecordIamCredentialProvider value. Throws an exception if the RegistryRecordCredentialProviderUnion is not a IamCredentialProvider.

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