oscerd commented on code in PR #963:
URL: https://github.com/apache/camel-kamelets/pull/963#discussion_r918580907


##########
kamelets/aws-ddb-sink.kamelet.yaml:
##########
@@ -31,73 +31,69 @@ spec:
   definition:
     title: "AWS DynamoDB Sink"
     description: |-
-      Send data to AWS DynamoDB service. The sent data will 
insert/update/delete an item on the given AWS DynamoDB table.
+      Send data to Amazon DynamoDB. The sent data inserts, updates, or deletes 
an item on the specified AWS DynamoDB table.
 
-      Access Key/Secret Key are the basic method for authenticating to the AWS 
DynamoDB service. These parameters are optional, because the Kamelet provide 
also the 'useDefaultCredentialsProvider'.
+      The basic authentication method for the AWS CloudWatch metrics service 
is to specify an access key and a secret key. These parameters are optional 
because the Kamelet provides a default credentials provider.
 
-      When using a default Credentials Provider the AWS DynamoDB client will 
load the credentials through this provider and won't use the static credential. 
This is reason for not having the access key and secret key as mandatory 
parameter for this Kamelet.
+      If you use the default credentials provider, the CloudWatch client loads 
the credentials through this provider and doesn't use the basic authentication 
method.
 
-      This Kamelet expects a JSON as body. The mapping between the JSON fields 
and table attribute values is done by key, so if you have the input:
-
-      '{"username":"oscerd", "city":"Rome"}'
-
-      The Kamelet will insert/update an item in the given AWS DynamoDB table 
and set the attributes 'username' and 'city' respectively. Please note that the 
JSON object must include the primary key values that define the item.
+      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. 
     required:
       - table
       - region
     type: object
     properties:
       table:
         title: Table
-        description: Name of the DynamoDB table to look at
+        description: The name of the DynamoDB table.
         type: string
       accessKey:
         title: Access Key
-        description: The access key obtained from AWS
+        description: The access key obtained from AWS.
         type: string
         format: password
         x-descriptors:
         - urn:alm:descriptor:com.tectonic.ui:password
         - urn:camel:group:credentials
       secretKey:
         title: Secret Key
-        description: The secret key obtained from AWS
+        description: The secret key obtained from AWS.
         type: string
         format: password
         x-descriptors:
         - urn:alm:descriptor:com.tectonic.ui:password
         - urn:camel:group:credentials
       region:
         title: AWS Region
-        description: The AWS region to connect to
+        description: The AWS region to access.
         type: string
         example: eu-west-1
         enum: ["af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", 
"ap-northeast-3", "ap-south-1", "ap-southeast-1", "ap-southeast-2", 
"ap-southeast-3", "ca-central-1", "eu-central-1", "eu-north-1", "eu-south-1", 
"eu-west-1", "eu-west-2", "eu-west-3", "fips-us-east-1", "fips-us-east-2", 
"fips-us-west-1", "fips-us-west-2", "me-south-1", "sa-east-1", "us-east-1", 
"us-east-2", "us-west-1", "us-west-2", "cn-north-1", "cn-northwest-1", 
"us-gov-east-1", "us-gov-west-1", "us-iso-east-1", "us-iso-west-1", 
"us-isob-east-1"]
       operation:
         title: Operation
-        description: The operation to perform (one of PutItem, UpdateItem, 
DeleteItem)
+        description: The operation to perform: `PutItem`, `UpdateItem`, or 
DeleteItem.

Review Comment:
   This one is breaking the validation.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to