asOauth
Casts this HarnessGatewayOutboundAuth as a Oauth and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.OAuthCredentialProvider value. Throws an exception if the HarnessGatewayOutboundAuth is not a Oauth.
Casts this HarnessGatewayOutboundAuth as a Oauth and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.OAuthCredentialProvider value. Throws an exception if the HarnessGatewayOutboundAuth is not a Oauth.