This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch 3.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 6a5867c62aa59fc15dfb86de39d4f0750e59ebda
Author: Michael Anstis <mans...@redhat.com>
AuthorDate: Fri Mar 3 16:16:58 2023 +0000

    Issue-1336: DynamoDB Sink - use enum for available operations
---
 kamelets/aws-ddb-sink.kamelet.yaml                                       | 1 +
 .../camel-kamelets/src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml | 1 +
 2 files changed, 2 insertions(+)

diff --git a/kamelets/aws-ddb-sink.kamelet.yaml 
b/kamelets/aws-ddb-sink.kamelet.yaml
index 6b2f6d89..b4affd16 100644
--- a/kamelets/aws-ddb-sink.kamelet.yaml
+++ b/kamelets/aws-ddb-sink.kamelet.yaml
@@ -73,6 +73,7 @@ spec:
         title: Operation
         description: "The operation to perform. The options are PutItem, 
UpdateItem, or DeleteItem."
         type: string
+        enum: ["PutItem", "UpdateItem", "DeleteItem"]
         default: PutItem
         example: PutItem
       writeCapacity:
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml 
b/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml
index 6b2f6d89..b4affd16 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml
@@ -73,6 +73,7 @@ spec:
         title: Operation
         description: "The operation to perform. The options are PutItem, 
UpdateItem, or DeleteItem."
         type: string
+        enum: ["PutItem", "UpdateItem", "DeleteItem"]
         default: PutItem
         example: PutItem
       writeCapacity:

Reply via email to