asCustomOauth2ProviderConfig
Casts this Oauth2ProviderConfigInput as a CustomOauth2ProviderConfig and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.CustomOauth2ProviderConfigInput value. Throws an exception if the Oauth2ProviderConfigInput is not a CustomOauth2ProviderConfig.