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 3ec3830adf5da0fa145db2a9e6a31774ca4445d9 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Wed Apr 12 14:55:55 2023 +0200 Regen Signed-off-by: Andrea Cosentino <anco...@gmail.com> --- .../src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml | 10 ++++++++++ .../src/main/resources/kamelets/telegram-source.kamelet.yaml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) 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 18ffb2ee..151f2f70 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 @@ -39,6 +39,16 @@ spec: If you use the default credentials provider, the DynamoDB client loads the credentials through this provider and doesn't use the basic authentication method. This Kamelet expects a JSON-formatted body and it must include the primary key values that define the DynamoDB item. The mapping between the JSON fields and table attribute values is done by key. For example, for '{"username":"oscerd", "city":"Rome"}' input, the Kamelet inserts or update an item in the specified AWS DynamoDB table and sets the values for the 'username' and 'city' attributes. + + For PutItem operation the Json body defines all item attributes. + For DeleteItem operation the Json body defines only the primary key attributes that identify the item to delete. + For UpdateItem operation the Json body defines both key attributes to identify the item to be updated and all item attributes tht get updated on the item. + + The given Json body can use "key" and "item" as top level properties. Both define a Json object that will be mapped to respective attribute value maps + { + "key": {}, + "item": {} + } required: - table - region diff --git a/library/camel-kamelets/src/main/resources/kamelets/telegram-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/telegram-source.kamelet.yaml index 9c87a009..9b82ef37 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/telegram-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/telegram-source.kamelet.yaml @@ -45,7 +45,7 @@ spec: properties: authorizationToken: title: Token - description: "The token to access your bot on Telegram. You you can obtain it from the Telegram @botfather." + description: "The token to access your bot on Telegram. You can obtain it from the Telegram @botfather." type: string format: password x-descriptors: