RegistryRecordCredentialProviderUnion
Union of supported credential provider types for registry record synchronization.
Inheritors
Types
The IAM credential provider configuration for authenticating with the external source using SigV4 signing.
The OAuth credential provider configuration for authenticating with the external source.
Functions
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.
Casts this RegistryRecordCredentialProviderUnion as a IamCredentialProvider and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.RegistryRecordIamCredentialProvider value. Returns null if the RegistryRecordCredentialProviderUnion is not a IamCredentialProvider.
Casts this RegistryRecordCredentialProviderUnion as a OauthCredentialProvider and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.RegistryRecordOAuthCredentialProvider value. Throws an exception if the RegistryRecordCredentialProviderUnion is not a OauthCredentialProvider.
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.