asOauth
Casts this HarnessGatewayOutboundAuth as a Oauth and retrieves its aws.sdk.kotlin.services.bedrockagentcore.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.bedrockagentcore.model.OAuthCredentialProvider value. Throws an exception if the HarnessGatewayOutboundAuth is not a Oauth.