From 62a3bd7ac31f11b71c72d2c9fbe4573c16de1fed Mon Sep 17 00:00:00 2001 From: Andrei Gurau Date: Tue, 24 Sep 2024 17:37:58 -0400 Subject: [PATCH] added exactly_one_of to each ingestion data source --- mmv1/products/pubsub/Topic.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mmv1/products/pubsub/Topic.yaml b/mmv1/products/pubsub/Topic.yaml index 200ab74e6a18..84813a28cdb5 100644 --- a/mmv1/products/pubsub/Topic.yaml +++ b/mmv1/products/pubsub/Topic.yaml @@ -166,6 +166,9 @@ properties: name: 'awsKinesis' description: | Settings for ingestion from Amazon Kinesis Data Streams. + exactly_one_of: + - aws_kinesis + - cloud_storage properties: - !ruby/object:Api::Type::String name: 'streamArn' @@ -197,6 +200,9 @@ properties: - !ruby/object:Api::Type::NestedObject name: 'cloudStorage' description: Settings for ingestion from Cloud Storage. + exactly_one_of: + - aws_kinesis + - cloud_storage properties: - !ruby/object:Api::Type::String name: 'bucket'