asSlackOauth2ProviderConfig
Casts this Oauth2ProviderConfigInput as a SlackOauth2ProviderConfig and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.SlackOauth2ProviderConfigInput value. Throws an exception if the Oauth2ProviderConfigInput is not a SlackOauth2ProviderConfig.