asOauthCodeCredential
Casts this IntegrationCredential as a OauthCodeCredential and retrieves its aws.sdk.kotlin.services.cloudwatchomni.model.OAuthCodeCredential value. Throws an exception if the IntegrationCredential is not a OauthCodeCredential.