This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 803d53770e5f CAMEL-27179: camel-aws2-timestream - page through query
results with a next token header or queryAllPages (#30439)
803d53770e5f is described below
commit 803d53770e5ffff211dcc456a9dc3ff9e887fbce
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Nov 19 19:02:09 2026 +0100
CAMEL-27179: camel-aws2-timestream - page through query results with a next
token header or queryAllPages (#30439)
The query operation could only read the first page of a result outside of
POJO mode. It now reads the page of the CamelAwsTimestreamQueryNextToken
header and sets that header to the token of the next page (removed after
the last page), so a route can loop over the pages. The new option
queryAllPages reads all the pages and gives all the rows in one
QueryResponse.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Claus Ibsen <[email protected]>
---
.../camel/catalog/components/aws2-timestream.json | 89 ++++++------
.../catalog/docs/aws2-timestream-component.adoc | 19 +++
.../Timestream2AbstractEndpointConfigurer.java | 6 +
.../timestream/Timestream2ComponentConfigurer.java | 6 +
.../timestream/Timestream2EndpointUriFactory.java | 3 +-
.../component/aws2/timestream/aws2-timestream.json | 89 ++++++------
.../src/main/docs/aws2-timestream-component.adoc | 19 +++
.../timestream/Timestream2AbstractEndpoint.java | 4 +-
.../aws2/timestream/Timestream2Configuration.java | 16 +++
.../aws2/timestream/Timestream2Constants.java | 7 +-
.../timestream/query/Timestream2QueryProducer.java | 41 +++++-
.../query/Timestream2QueryPagingTest.java | 152 +++++++++++++++++++++
.../dsl/Aws2TimestreamComponentBuilderFactory.java | 21 +++
.../dsl/Timestream2EndpointBuilderFactory.java | 53 ++++++-
14 files changed, 433 insertions(+), 92 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-timestream.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-timestream.json
index b9b204c7f671..09cf08c9fe82 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-timestream.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-timestream.json
@@ -30,23 +30,24 @@
"overrideEndpoint": { "index": 3, "kind": "property", "displayName":
"Override Endpoint", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set the need for
overriding the endpoint. This option needs to be used in [...]
"pojoRequest": { "index": 4, "kind": "property", "displayName": "Pojo
Request", "group": "producer", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "If we want to use a POJO
request as body or not" },
"profileCredentialsName": { "index": 5, "kind": "property", "displayName":
"Profile Credentials Name", "group": "producer", "label": "", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "If using a profile
credentials provider, this parameter will set the profile [...]
- "region": { "index": 6, "kind": "property", "displayName": "Region",
"group": "producer", "label": "", "required": false, "type": "enum",
"javaType": "java.lang.String", "enum": [ "ap-south-2", "ap-south-1",
"eu-south-1", "eu-south-2", "us-gov-east-1", "me-central-1", "il-central-1",
"ca-central-1", "eu-central-1", "us-iso-west-1", "eu-central-2",
"eu-isoe-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1",
"eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-north [...]
- "trustAllCertificates": { "index": 7, "kind": "property", "displayName":
"Trust All Certificates", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "security": "insecure:ssl", "defaultValue": false,
"configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "If we want to trust all
certificates [...]
- "uriEndpointOverride": { "index": 8, "kind": "property", "displayName":
"Uri Endpoint Override", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set the overriding uri
endpoint. This option needs to be used in combination with [...]
- "useDefaultCredentialsProvider": { "index": 9, "kind": "property",
"displayName": "Use Default Credentials Provider", "group": "producer",
"label": "", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should expec [...]
- "useProfileCredentialsProvider": { "index": 10, "kind": "property",
"displayName": "Use Profile Credentials Provider", "group": "producer",
"label": "", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should expe [...]
- "autowiredEnabled": { "index": 11, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching [...]
- "awsTimestreamQueryClient": { "index": 12, "kind": "property",
"displayName": "Aws Timestream Query Client", "group": "advanced", "label":
"advanced", "required": false, "type": "object", "javaType":
"software.amazon.awssdk.services.timestreamquery.TimestreamQueryClient",
"deprecated": false, "autowired": true, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To use an [...]
- "awsTimestreamWriteClient": { "index": 13, "kind": "property",
"displayName": "Aws Timestream Write Client", "group": "advanced", "label":
"advanced", "required": false, "type": "object", "javaType":
"software.amazon.awssdk.services.timestreamwrite.TimestreamWriteClient",
"deprecated": false, "autowired": true, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To use an [...]
- "healthCheckConsumerEnabled": { "index": 14, "kind": "property",
"displayName": "Health Check Consumer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all consumer based health checks
from this component" },
- "healthCheckProducerEnabled": { "index": 15, "kind": "property",
"displayName": "Health Check Producer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all producer based health checks
from this component. Notice: Camel has by default disabled all producer based
health-checks. You can turn on produce [...]
- "proxyHost": { "index": 16, "kind": "property", "displayName": "Proxy
Host", "group": "proxy", "label": "proxy", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy host
when instantiating the Timestream client" },
- "proxyPort": { "index": 17, "kind": "property", "displayName": "Proxy
Port", "group": "proxy", "label": "proxy", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy port
when instantiating the Timestream client" },
- "proxyProtocol": { "index": 18, "kind": "property", "displayName": "Proxy
Protocol", "group": "proxy", "label": "proxy", "required": false, "type":
"enum", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP",
"HTTPS" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "HTTPS", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy pr
[...]
- "accessKey": { "index": 19, "kind": "property", "displayName": "Access
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Access Key" },
- "secretKey": { "index": 20, "kind": "property", "displayName": "Secret
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Secret Key" },
- "sessionToken": { "index": 21, "kind": "property", "displayName": "Session
Token", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Session Token
used when the user needs to assume an IAM [...]
- "useSessionCredentials": { "index": 22, "kind": "property", "displayName":
"Use Session Credentials", "group": "security", "label": "security",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should expect to use [...]
+ "queryAllPages": { "index": 6, "kind": "property", "displayName": "Query
All Pages", "group": "producer", "label": "producer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "For the query operation:
read all the pages of the result, and give all [...]
+ "region": { "index": 7, "kind": "property", "displayName": "Region",
"group": "producer", "label": "", "required": false, "type": "enum",
"javaType": "java.lang.String", "enum": [ "ap-south-2", "ap-south-1",
"eu-south-1", "eu-south-2", "us-gov-east-1", "me-central-1", "il-central-1",
"ca-central-1", "eu-central-1", "us-iso-west-1", "eu-central-2",
"eu-isoe-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1",
"eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-north [...]
+ "trustAllCertificates": { "index": 8, "kind": "property", "displayName":
"Trust All Certificates", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "security": "insecure:ssl", "defaultValue": false,
"configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "If we want to trust all
certificates [...]
+ "uriEndpointOverride": { "index": 9, "kind": "property", "displayName":
"Uri Endpoint Override", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set the overriding uri
endpoint. This option needs to be used in combination with [...]
+ "useDefaultCredentialsProvider": { "index": 10, "kind": "property",
"displayName": "Use Default Credentials Provider", "group": "producer",
"label": "", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should expe [...]
+ "useProfileCredentialsProvider": { "index": 11, "kind": "property",
"displayName": "Use Profile Credentials Provider", "group": "producer",
"label": "", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should expe [...]
+ "autowiredEnabled": { "index": 12, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching [...]
+ "awsTimestreamQueryClient": { "index": 13, "kind": "property",
"displayName": "Aws Timestream Query Client", "group": "advanced", "label":
"advanced", "required": false, "type": "object", "javaType":
"software.amazon.awssdk.services.timestreamquery.TimestreamQueryClient",
"deprecated": false, "autowired": true, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To use an [...]
+ "awsTimestreamWriteClient": { "index": 14, "kind": "property",
"displayName": "Aws Timestream Write Client", "group": "advanced", "label":
"advanced", "required": false, "type": "object", "javaType":
"software.amazon.awssdk.services.timestreamwrite.TimestreamWriteClient",
"deprecated": false, "autowired": true, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To use an [...]
+ "healthCheckConsumerEnabled": { "index": 15, "kind": "property",
"displayName": "Health Check Consumer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all consumer based health checks
from this component" },
+ "healthCheckProducerEnabled": { "index": 16, "kind": "property",
"displayName": "Health Check Producer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all producer based health checks
from this component. Notice: Camel has by default disabled all producer based
health-checks. You can turn on produce [...]
+ "proxyHost": { "index": 17, "kind": "property", "displayName": "Proxy
Host", "group": "proxy", "label": "proxy", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy host
when instantiating the Timestream client" },
+ "proxyPort": { "index": 18, "kind": "property", "displayName": "Proxy
Port", "group": "proxy", "label": "proxy", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy port
when instantiating the Timestream client" },
+ "proxyProtocol": { "index": 19, "kind": "property", "displayName": "Proxy
Protocol", "group": "proxy", "label": "proxy", "required": false, "type":
"enum", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP",
"HTTPS" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "HTTPS", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy pr
[...]
+ "accessKey": { "index": 20, "kind": "property", "displayName": "Access
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Access Key" },
+ "secretKey": { "index": 21, "kind": "property", "displayName": "Secret
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Secret Key" },
+ "sessionToken": { "index": 22, "kind": "property", "displayName": "Session
Token", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Session Token
used when the user needs to assume an IAM [...]
+ "useSessionCredentials": { "index": 23, "kind": "property", "displayName":
"Use Session Credentials", "group": "security", "label": "security",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should expect to use [...]
},
"headers": {
"CamelAwsTimestreamOperation": { "index": 0, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The operation we want to perform", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#OPERATION" },
@@ -77,20 +78,21 @@
"CamelAwsTimestreamQueryString": { "index": 25, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The query string to run.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#QUERY_STRING"
},
"CamelAwsTimestreamQueryId": { "index": 26, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "ID of query.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#QUERY_ID" },
"CamelAwsTimestreamQueryValidateOnly": { "index": 27, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "Boolean", "deprecated": false, "autowired": false, "secret":
false, "description": "Validates the prepared query, but does not store for
later execution", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#QUERY_VALIDATE_ONLY"
},
- "CamelAwsTimestreamQueryMaxRows": { "index": 28, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "Integer", "deprecated": false, "autowired": false, "secret":
false, "description": "The total number of rows to be returned in the Query
output.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#QUERY_MAX_ROWS"
},
- "CamelAwsTimestreamMaxResults": { "index": 29, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "Integer", "deprecated": false, "autowired": false, "secret":
false, "description": "Max Results to be returned in output", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#MAX_RESULTS" },
- "CamelAwsTimestreamScheduleExpression": { "index": 30, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The schedule expression for the query.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#SCHEDULE_EXPRESSION"
},
- "CamelAwsTimestreamNotificationTopicArn": { "index": 31, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "Notification Topic Arn for the scheduled query.",
"constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#NOTIFICATION_TOPIC_ARN"
},
- "CamelAwsTimestreamErrorReportS3BucketName": { "index": 32, "kind":
"header", "displayName": "", "group": "producer", "label": "", "required":
false, "javaType": "String", "deprecated": false, "autowired": false, "secret":
false, "description": "S3 Bucket name for error reporting.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#ERROR_REPORT_S3_BUCKET_NAME"
},
- "CamelAwsTimestreamErrorReportS3ObjectKeyPrefix": { "index": 33, "kind":
"header", "displayName": "", "group": "producer", "label": "", "required":
false, "javaType": "String", "deprecated": false, "autowired": false, "secret":
false, "description": "S3 object key prefix for error reporting.",
"constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#ERROR_REPORT_S3_OBJECT_KEY_PREFIX"
},
- "CamelAwsTimestreamErrorReportS3EncryptionOption": { "index": 34, "kind":
"header", "displayName": "", "group": "producer", "label": "", "required":
false, "javaType": "String", "deprecated": false, "autowired": false, "secret":
false, "description": "S3 encryption option for error reporting.",
"constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#ERROR_REPORT_S3_ENCRYPTION_OPTION"
},
- "CamelAwsTimestreamScheduledQueryExecutionRoleArn": { "index": 35, "kind":
"header", "displayName": "", "group": "producer", "label": "", "required":
false, "javaType": "String", "deprecated": false, "autowired": false, "secret":
false, "description": "The ARN for the IAM role that Timestream will assume
when running the scheduled query.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#SCHEDULED_QUERY_EXECUTION_ROLE_ARN"
},
- "CamelAwsTimestreamClientToken": { "index": 36, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "Using a ClientToken makes the call to CreateScheduledQuery
idempotent", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#CLIENT_TOKEN"
},
- "CamelAwsTimestreamKmsKeyId": { "index": 37, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The Amazon KMS key used to encrypt the scheduled query
resource, at-rest.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#KMS_KEY_ID" }
+ "CamelAwsTimestreamQueryMaxRows": { "index": 28, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "Integer", "deprecated": false, "autowired": false, "secret":
false, "description": "The maximum number of rows in a page of the Query
output.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#QUERY_MAX_ROWS"
},
+ "CamelAwsTimestreamQueryNextToken": { "index": 29, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The token of a page of a query result. As input, the query
operation reads the page of this token; as output, it is the token of the next
page, and it is removed after the last page. Set the same query string to read
the next page.", "constantName": " [...]
+ "CamelAwsTimestreamMaxResults": { "index": 30, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "Integer", "deprecated": false, "autowired": false, "secret":
false, "description": "Max Results to be returned in output", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#MAX_RESULTS" },
+ "CamelAwsTimestreamScheduleExpression": { "index": 31, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The schedule expression for the query.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#SCHEDULE_EXPRESSION"
},
+ "CamelAwsTimestreamNotificationTopicArn": { "index": 32, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "Notification Topic Arn for the scheduled query.",
"constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#NOTIFICATION_TOPIC_ARN"
},
+ "CamelAwsTimestreamErrorReportS3BucketName": { "index": 33, "kind":
"header", "displayName": "", "group": "producer", "label": "", "required":
false, "javaType": "String", "deprecated": false, "autowired": false, "secret":
false, "description": "S3 Bucket name for error reporting.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#ERROR_REPORT_S3_BUCKET_NAME"
},
+ "CamelAwsTimestreamErrorReportS3ObjectKeyPrefix": { "index": 34, "kind":
"header", "displayName": "", "group": "producer", "label": "", "required":
false, "javaType": "String", "deprecated": false, "autowired": false, "secret":
false, "description": "S3 object key prefix for error reporting.",
"constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#ERROR_REPORT_S3_OBJECT_KEY_PREFIX"
},
+ "CamelAwsTimestreamErrorReportS3EncryptionOption": { "index": 35, "kind":
"header", "displayName": "", "group": "producer", "label": "", "required":
false, "javaType": "String", "deprecated": false, "autowired": false, "secret":
false, "description": "S3 encryption option for error reporting.",
"constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#ERROR_REPORT_S3_ENCRYPTION_OPTION"
},
+ "CamelAwsTimestreamScheduledQueryExecutionRoleArn": { "index": 36, "kind":
"header", "displayName": "", "group": "producer", "label": "", "required":
false, "javaType": "String", "deprecated": false, "autowired": false, "secret":
false, "description": "The ARN for the IAM role that Timestream will assume
when running the scheduled query.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#SCHEDULED_QUERY_EXECUTION_ROLE_ARN"
},
+ "CamelAwsTimestreamClientToken": { "index": 37, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "Using a ClientToken makes the call to CreateScheduledQuery
idempotent", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#CLIENT_TOKEN"
},
+ "CamelAwsTimestreamKmsKeyId": { "index": 38, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The Amazon KMS key used to encrypt the scheduled query
resource, at-rest.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#KMS_KEY_ID" }
},
"bodyTypes": {
"producerIn": { "carriers": [ "any" ], "byOption": [ { "option":
"pojoRequest", "value": "true", "carriers": [ "pojo" ] } ], "description": "Not
used: the operations of both client types take their input from headers, such
as the records of writeRecords in CamelAwsTimestreamRecordList, a List of the
Record of the AWS SDK, and the SQL of query in CamelAwsTimestreamQueryString.
With pojoRequest=true the request of the AWS SDK for the operation, such as a
WriteRecordsRequest or a QueryR [...]
- "producerOut": { "carriers": [ "pojo" ], "description": "The response of
the AWS SDK for the operation, such as the WriteRecordsResponse of
writeRecords, or the QueryResponse of query with one page of rows: the next
page needs a QueryRequest with its nextToken and pojoRequest=true" }
+ "producerOut": { "carriers": [ "pojo" ], "description": "The response of
the AWS SDK for the operation, such as the WriteRecordsResponse of
writeRecords, or the QueryResponse of query with one page of rows: the
CamelAwsTimestreamQueryNextToken header gives the next page, and
queryAllPages=true gives the rows of all the pages" }
},
"properties": {
"clientType": { "index": 0, "kind": "path", "displayName": "Client Type",
"group": "producer", "label": "", "required": true, "type": "enum", "javaType":
"org.apache.camel.component.aws2.timestream.Timestream2ClientType", "enum": [
"write", "query" ], "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Type of client -
write\/query" },
@@ -99,20 +101,21 @@
"overrideEndpoint": { "index": 3, "kind": "parameter", "displayName":
"Override Endpoint", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set the need for
overriding the endpoint. This option needs to be used in [...]
"pojoRequest": { "index": 4, "kind": "parameter", "displayName": "Pojo
Request", "group": "producer", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "If we want to use a POJO
request as body or not" },
"profileCredentialsName": { "index": 5, "kind": "parameter",
"displayName": "Profile Credentials Name", "group": "producer", "label": "",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "If using a profile
credentials provider, this parameter will set the profil [...]
- "region": { "index": 6, "kind": "parameter", "displayName": "Region",
"group": "producer", "label": "", "required": false, "type": "enum",
"javaType": "java.lang.String", "enum": [ "ap-south-2", "ap-south-1",
"eu-south-1", "eu-south-2", "us-gov-east-1", "me-central-1", "il-central-1",
"ca-central-1", "eu-central-1", "us-iso-west-1", "eu-central-2",
"eu-isoe-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1",
"eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-nort [...]
- "trustAllCertificates": { "index": 7, "kind": "parameter", "displayName":
"Trust All Certificates", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "security": "insecure:ssl", "defaultValue": false,
"configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "If we want to trust all
certificates [...]
- "uriEndpointOverride": { "index": 8, "kind": "parameter", "displayName":
"Uri Endpoint Override", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set the overriding uri
endpoint. This option needs to be used in combination with [...]
- "useDefaultCredentialsProvider": { "index": 9, "kind": "parameter",
"displayName": "Use Default Credentials Provider", "group": "producer",
"label": "", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should expe [...]
- "useProfileCredentialsProvider": { "index": 10, "kind": "parameter",
"displayName": "Use Profile Credentials Provider", "group": "producer",
"label": "", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should exp [...]
- "lazyStartProducer": { "index": 11, "kind": "parameter", "displayName":
"Lazy Start Producer", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether the producer should be started
lazy (on the first message). By starting lazy you can use this to allow
CamelContext and routes to startup in situations where a produ [...]
- "awsTimestreamQueryClient": { "index": 12, "kind": "parameter",
"displayName": "Aws Timestream Query Client", "group": "advanced", "label":
"advanced", "required": false, "type": "object", "javaType":
"software.amazon.awssdk.services.timestreamquery.TimestreamQueryClient",
"deprecated": false, "autowired": true, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To use an [...]
- "awsTimestreamWriteClient": { "index": 13, "kind": "parameter",
"displayName": "Aws Timestream Write Client", "group": "advanced", "label":
"advanced", "required": false, "type": "object", "javaType":
"software.amazon.awssdk.services.timestreamwrite.TimestreamWriteClient",
"deprecated": false, "autowired": true, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To use an [...]
- "proxyHost": { "index": 14, "kind": "parameter", "displayName": "Proxy
Host", "group": "proxy", "label": "proxy", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy host
when instantiating the Timestream client" },
- "proxyPort": { "index": 15, "kind": "parameter", "displayName": "Proxy
Port", "group": "proxy", "label": "proxy", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy port
when instantiating the Timestream client" },
- "proxyProtocol": { "index": 16, "kind": "parameter", "displayName": "Proxy
Protocol", "group": "proxy", "label": "proxy", "required": false, "type":
"enum", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP",
"HTTPS" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "HTTPS", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy p [...]
- "accessKey": { "index": 17, "kind": "parameter", "displayName": "Access
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Access Key" },
- "secretKey": { "index": 18, "kind": "parameter", "displayName": "Secret
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Secret Key" },
- "sessionToken": { "index": 19, "kind": "parameter", "displayName":
"Session Token", "group": "security", "label": "security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Session Token
used when the user needs to assume an IAM [...]
- "useSessionCredentials": { "index": 20, "kind": "parameter",
"displayName": "Use Session Credentials", "group": "security", "label":
"security", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should expect to us [...]
+ "queryAllPages": { "index": 6, "kind": "parameter", "displayName": "Query
All Pages", "group": "producer", "label": "producer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "For the query operation:
read all the pages of the result, and give al [...]
+ "region": { "index": 7, "kind": "parameter", "displayName": "Region",
"group": "producer", "label": "", "required": false, "type": "enum",
"javaType": "java.lang.String", "enum": [ "ap-south-2", "ap-south-1",
"eu-south-1", "eu-south-2", "us-gov-east-1", "me-central-1", "il-central-1",
"ca-central-1", "eu-central-1", "us-iso-west-1", "eu-central-2",
"eu-isoe-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1",
"eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-nort [...]
+ "trustAllCertificates": { "index": 8, "kind": "parameter", "displayName":
"Trust All Certificates", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "security": "insecure:ssl", "defaultValue": false,
"configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "If we want to trust all
certificates [...]
+ "uriEndpointOverride": { "index": 9, "kind": "parameter", "displayName":
"Uri Endpoint Override", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set the overriding uri
endpoint. This option needs to be used in combination with [...]
+ "useDefaultCredentialsProvider": { "index": 10, "kind": "parameter",
"displayName": "Use Default Credentials Provider", "group": "producer",
"label": "", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should exp [...]
+ "useProfileCredentialsProvider": { "index": 11, "kind": "parameter",
"displayName": "Use Profile Credentials Provider", "group": "producer",
"label": "", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should exp [...]
+ "lazyStartProducer": { "index": 12, "kind": "parameter", "displayName":
"Lazy Start Producer", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether the producer should be started
lazy (on the first message). By starting lazy you can use this to allow
CamelContext and routes to startup in situations where a produ [...]
+ "awsTimestreamQueryClient": { "index": 13, "kind": "parameter",
"displayName": "Aws Timestream Query Client", "group": "advanced", "label":
"advanced", "required": false, "type": "object", "javaType":
"software.amazon.awssdk.services.timestreamquery.TimestreamQueryClient",
"deprecated": false, "autowired": true, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To use an [...]
+ "awsTimestreamWriteClient": { "index": 14, "kind": "parameter",
"displayName": "Aws Timestream Write Client", "group": "advanced", "label":
"advanced", "required": false, "type": "object", "javaType":
"software.amazon.awssdk.services.timestreamwrite.TimestreamWriteClient",
"deprecated": false, "autowired": true, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To use an [...]
+ "proxyHost": { "index": 15, "kind": "parameter", "displayName": "Proxy
Host", "group": "proxy", "label": "proxy", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy host
when instantiating the Timestream client" },
+ "proxyPort": { "index": 16, "kind": "parameter", "displayName": "Proxy
Port", "group": "proxy", "label": "proxy", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy port
when instantiating the Timestream client" },
+ "proxyProtocol": { "index": 17, "kind": "parameter", "displayName": "Proxy
Protocol", "group": "proxy", "label": "proxy", "required": false, "type":
"enum", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP",
"HTTPS" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "HTTPS", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy p [...]
+ "accessKey": { "index": 18, "kind": "parameter", "displayName": "Access
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Access Key" },
+ "secretKey": { "index": 19, "kind": "parameter", "displayName": "Secret
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Secret Key" },
+ "sessionToken": { "index": 20, "kind": "parameter", "displayName":
"Session Token", "group": "security", "label": "security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Session Token
used when the user needs to assume an IAM [...]
+ "useSessionCredentials": { "index": 21, "kind": "parameter",
"displayName": "Use Session Credentials", "group": "security", "label":
"security", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should expect to us [...]
}
}
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-timestream-component.adoc
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-timestream-component.adoc
index c4e83892bd2f..c1db8b0aa84a 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-timestream-component.adoc
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-timestream-component.adoc
@@ -234,6 +234,25 @@ YAML::
----
====
+=== Paging the query results
+
+Timestream returns the result of a query in pages. The body of the `query`
operation is one page (a `QueryResponse`),
+and when more pages follow, the `CamelAwsTimestreamQueryNextToken` header
holds the token of the next page. Send the same
+query again with this header to read the next page; after the last page, the
header is removed. A page can be empty
+while the query still runs, so loop on the header, not on the number of rows.
`CamelAwsTimestreamQueryMaxRows` sets the
+maximum number of rows of a page.
+
+With `queryAllPages=true`, the producer reads all the pages and the body is
one `QueryResponse` with the rows of all the
+pages. Use it only for results that fit in memory.
+
+[source,java]
+----
+from("direct:query")
+ .setHeader(Timestream2Constants.QUERY_STRING, constant("SELECT * FROM
testDb.testTable"))
+ .to("aws2-timestream://query:test?operation=query&queryAllPages=true")
+ .log("${body.rows.size} rows");
+----
+
=== Using a POJO as body
Sometimes building an AWS Request can be complex because of multiple options.
We introduce the possibility to use a POJO as the body.
diff --git
a/components/camel-aws/camel-aws2-timestream/src/generated/java/org/apache/camel/component/aws2/timestream/Timestream2AbstractEndpointConfigurer.java
b/components/camel-aws/camel-aws2-timestream/src/generated/java/org/apache/camel/component/aws2/timestream/Timestream2AbstractEndpointConfigurer.java
index f10016c9f8eb..87e8b9518ea3 100644
---
a/components/camel-aws/camel-aws2-timestream/src/generated/java/org/apache/camel/component/aws2/timestream/Timestream2AbstractEndpointConfigurer.java
+++
b/components/camel-aws/camel-aws2-timestream/src/generated/java/org/apache/camel/component/aws2/timestream/Timestream2AbstractEndpointConfigurer.java
@@ -45,6 +45,8 @@ public class Timestream2AbstractEndpointConfigurer extends
PropertyConfigurerSup
case "proxyPort":
target.getConfiguration().setProxyPort(property(camelContext,
java.lang.Integer.class, value)); return true;
case "proxyprotocol":
case "proxyProtocol":
target.getConfiguration().setProxyProtocol(property(camelContext,
software.amazon.awssdk.core.Protocol.class, value)); return true;
+ case "queryallpages":
+ case "queryAllPages":
target.getConfiguration().setQueryAllPages(property(camelContext,
boolean.class, value)); return true;
case "region":
target.getConfiguration().setRegion(property(camelContext,
java.lang.String.class, value)); return true;
case "secretkey":
case "secretKey":
target.getConfiguration().setSecretKey(property(camelContext,
java.lang.String.class, value)); return true;
@@ -93,6 +95,8 @@ public class Timestream2AbstractEndpointConfigurer extends
PropertyConfigurerSup
case "proxyPort": return java.lang.Integer.class;
case "proxyprotocol":
case "proxyProtocol": return
software.amazon.awssdk.core.Protocol.class;
+ case "queryallpages":
+ case "queryAllPages": return boolean.class;
case "region": return java.lang.String.class;
case "secretkey":
case "secretKey": return java.lang.String.class;
@@ -137,6 +141,8 @@ public class Timestream2AbstractEndpointConfigurer extends
PropertyConfigurerSup
case "proxyPort": return target.getConfiguration().getProxyPort();
case "proxyprotocol":
case "proxyProtocol": return
target.getConfiguration().getProxyProtocol();
+ case "queryallpages":
+ case "queryAllPages": return
target.getConfiguration().isQueryAllPages();
case "region": return target.getConfiguration().getRegion();
case "secretkey":
case "secretKey": return target.getConfiguration().getSecretKey();
diff --git
a/components/camel-aws/camel-aws2-timestream/src/generated/java/org/apache/camel/component/aws2/timestream/Timestream2ComponentConfigurer.java
b/components/camel-aws/camel-aws2-timestream/src/generated/java/org/apache/camel/component/aws2/timestream/Timestream2ComponentConfigurer.java
index 9d7ec0ae51ae..1c7305dc3c54 100644
---
a/components/camel-aws/camel-aws2-timestream/src/generated/java/org/apache/camel/component/aws2/timestream/Timestream2ComponentConfigurer.java
+++
b/components/camel-aws/camel-aws2-timestream/src/generated/java/org/apache/camel/component/aws2/timestream/Timestream2ComponentConfigurer.java
@@ -59,6 +59,8 @@ public class Timestream2ComponentConfigurer extends
PropertyConfigurerSupport im
case "proxyPort":
getOrCreateConfiguration(target).setProxyPort(property(camelContext,
java.lang.Integer.class, value)); return true;
case "proxyprotocol":
case "proxyProtocol":
getOrCreateConfiguration(target).setProxyProtocol(property(camelContext,
software.amazon.awssdk.core.Protocol.class, value)); return true;
+ case "queryallpages":
+ case "queryAllPages":
getOrCreateConfiguration(target).setQueryAllPages(property(camelContext,
boolean.class, value)); return true;
case "region":
getOrCreateConfiguration(target).setRegion(property(camelContext,
java.lang.String.class, value)); return true;
case "secretkey":
case "secretKey":
getOrCreateConfiguration(target).setSecretKey(property(camelContext,
java.lang.String.class, value)); return true;
@@ -114,6 +116,8 @@ public class Timestream2ComponentConfigurer extends
PropertyConfigurerSupport im
case "proxyPort": return java.lang.Integer.class;
case "proxyprotocol":
case "proxyProtocol": return
software.amazon.awssdk.core.Protocol.class;
+ case "queryallpages":
+ case "queryAllPages": return boolean.class;
case "region": return java.lang.String.class;
case "secretkey":
case "secretKey": return java.lang.String.class;
@@ -165,6 +169,8 @@ public class Timestream2ComponentConfigurer extends
PropertyConfigurerSupport im
case "proxyPort": return
getOrCreateConfiguration(target).getProxyPort();
case "proxyprotocol":
case "proxyProtocol": return
getOrCreateConfiguration(target).getProxyProtocol();
+ case "queryallpages":
+ case "queryAllPages": return
getOrCreateConfiguration(target).isQueryAllPages();
case "region": return getOrCreateConfiguration(target).getRegion();
case "secretkey":
case "secretKey": return
getOrCreateConfiguration(target).getSecretKey();
diff --git
a/components/camel-aws/camel-aws2-timestream/src/generated/java/org/apache/camel/component/aws2/timestream/Timestream2EndpointUriFactory.java
b/components/camel-aws/camel-aws2-timestream/src/generated/java/org/apache/camel/component/aws2/timestream/Timestream2EndpointUriFactory.java
index 8c2b08a5a2c2..12a9cee80179 100644
---
a/components/camel-aws/camel-aws2-timestream/src/generated/java/org/apache/camel/component/aws2/timestream/Timestream2EndpointUriFactory.java
+++
b/components/camel-aws/camel-aws2-timestream/src/generated/java/org/apache/camel/component/aws2/timestream/Timestream2EndpointUriFactory.java
@@ -24,7 +24,7 @@ public class Timestream2EndpointUriFactory extends
org.apache.camel.support.comp
private static final Set<String> ENDPOINT_IDENTITY_PROPERTY_NAMES;
private static final Map<String, String> MULTI_VALUE_PREFIXES;
static {
- Set<String> props = new HashSet<>(21);
+ Set<String> props = new HashSet<>(22);
props.add("accessKey");
props.add("awsTimestreamQueryClient");
props.add("awsTimestreamWriteClient");
@@ -38,6 +38,7 @@ public class Timestream2EndpointUriFactory extends
org.apache.camel.support.comp
props.add("proxyHost");
props.add("proxyPort");
props.add("proxyProtocol");
+ props.add("queryAllPages");
props.add("region");
props.add("secretKey");
props.add("sessionToken");
diff --git
a/components/camel-aws/camel-aws2-timestream/src/generated/resources/META-INF/org/apache/camel/component/aws2/timestream/aws2-timestream.json
b/components/camel-aws/camel-aws2-timestream/src/generated/resources/META-INF/org/apache/camel/component/aws2/timestream/aws2-timestream.json
index b9b204c7f671..09cf08c9fe82 100644
---
a/components/camel-aws/camel-aws2-timestream/src/generated/resources/META-INF/org/apache/camel/component/aws2/timestream/aws2-timestream.json
+++
b/components/camel-aws/camel-aws2-timestream/src/generated/resources/META-INF/org/apache/camel/component/aws2/timestream/aws2-timestream.json
@@ -30,23 +30,24 @@
"overrideEndpoint": { "index": 3, "kind": "property", "displayName":
"Override Endpoint", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set the need for
overriding the endpoint. This option needs to be used in [...]
"pojoRequest": { "index": 4, "kind": "property", "displayName": "Pojo
Request", "group": "producer", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "If we want to use a POJO
request as body or not" },
"profileCredentialsName": { "index": 5, "kind": "property", "displayName":
"Profile Credentials Name", "group": "producer", "label": "", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "If using a profile
credentials provider, this parameter will set the profile [...]
- "region": { "index": 6, "kind": "property", "displayName": "Region",
"group": "producer", "label": "", "required": false, "type": "enum",
"javaType": "java.lang.String", "enum": [ "ap-south-2", "ap-south-1",
"eu-south-1", "eu-south-2", "us-gov-east-1", "me-central-1", "il-central-1",
"ca-central-1", "eu-central-1", "us-iso-west-1", "eu-central-2",
"eu-isoe-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1",
"eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-north [...]
- "trustAllCertificates": { "index": 7, "kind": "property", "displayName":
"Trust All Certificates", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "security": "insecure:ssl", "defaultValue": false,
"configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "If we want to trust all
certificates [...]
- "uriEndpointOverride": { "index": 8, "kind": "property", "displayName":
"Uri Endpoint Override", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set the overriding uri
endpoint. This option needs to be used in combination with [...]
- "useDefaultCredentialsProvider": { "index": 9, "kind": "property",
"displayName": "Use Default Credentials Provider", "group": "producer",
"label": "", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should expec [...]
- "useProfileCredentialsProvider": { "index": 10, "kind": "property",
"displayName": "Use Profile Credentials Provider", "group": "producer",
"label": "", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should expe [...]
- "autowiredEnabled": { "index": 11, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching [...]
- "awsTimestreamQueryClient": { "index": 12, "kind": "property",
"displayName": "Aws Timestream Query Client", "group": "advanced", "label":
"advanced", "required": false, "type": "object", "javaType":
"software.amazon.awssdk.services.timestreamquery.TimestreamQueryClient",
"deprecated": false, "autowired": true, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To use an [...]
- "awsTimestreamWriteClient": { "index": 13, "kind": "property",
"displayName": "Aws Timestream Write Client", "group": "advanced", "label":
"advanced", "required": false, "type": "object", "javaType":
"software.amazon.awssdk.services.timestreamwrite.TimestreamWriteClient",
"deprecated": false, "autowired": true, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To use an [...]
- "healthCheckConsumerEnabled": { "index": 14, "kind": "property",
"displayName": "Health Check Consumer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all consumer based health checks
from this component" },
- "healthCheckProducerEnabled": { "index": 15, "kind": "property",
"displayName": "Health Check Producer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all producer based health checks
from this component. Notice: Camel has by default disabled all producer based
health-checks. You can turn on produce [...]
- "proxyHost": { "index": 16, "kind": "property", "displayName": "Proxy
Host", "group": "proxy", "label": "proxy", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy host
when instantiating the Timestream client" },
- "proxyPort": { "index": 17, "kind": "property", "displayName": "Proxy
Port", "group": "proxy", "label": "proxy", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy port
when instantiating the Timestream client" },
- "proxyProtocol": { "index": 18, "kind": "property", "displayName": "Proxy
Protocol", "group": "proxy", "label": "proxy", "required": false, "type":
"enum", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP",
"HTTPS" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "HTTPS", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy pr
[...]
- "accessKey": { "index": 19, "kind": "property", "displayName": "Access
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Access Key" },
- "secretKey": { "index": 20, "kind": "property", "displayName": "Secret
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Secret Key" },
- "sessionToken": { "index": 21, "kind": "property", "displayName": "Session
Token", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Session Token
used when the user needs to assume an IAM [...]
- "useSessionCredentials": { "index": 22, "kind": "property", "displayName":
"Use Session Credentials", "group": "security", "label": "security",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should expect to use [...]
+ "queryAllPages": { "index": 6, "kind": "property", "displayName": "Query
All Pages", "group": "producer", "label": "producer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "For the query operation:
read all the pages of the result, and give all [...]
+ "region": { "index": 7, "kind": "property", "displayName": "Region",
"group": "producer", "label": "", "required": false, "type": "enum",
"javaType": "java.lang.String", "enum": [ "ap-south-2", "ap-south-1",
"eu-south-1", "eu-south-2", "us-gov-east-1", "me-central-1", "il-central-1",
"ca-central-1", "eu-central-1", "us-iso-west-1", "eu-central-2",
"eu-isoe-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1",
"eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-north [...]
+ "trustAllCertificates": { "index": 8, "kind": "property", "displayName":
"Trust All Certificates", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "security": "insecure:ssl", "defaultValue": false,
"configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "If we want to trust all
certificates [...]
+ "uriEndpointOverride": { "index": 9, "kind": "property", "displayName":
"Uri Endpoint Override", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set the overriding uri
endpoint. This option needs to be used in combination with [...]
+ "useDefaultCredentialsProvider": { "index": 10, "kind": "property",
"displayName": "Use Default Credentials Provider", "group": "producer",
"label": "", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should expe [...]
+ "useProfileCredentialsProvider": { "index": 11, "kind": "property",
"displayName": "Use Profile Credentials Provider", "group": "producer",
"label": "", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should expe [...]
+ "autowiredEnabled": { "index": 12, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching [...]
+ "awsTimestreamQueryClient": { "index": 13, "kind": "property",
"displayName": "Aws Timestream Query Client", "group": "advanced", "label":
"advanced", "required": false, "type": "object", "javaType":
"software.amazon.awssdk.services.timestreamquery.TimestreamQueryClient",
"deprecated": false, "autowired": true, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To use an [...]
+ "awsTimestreamWriteClient": { "index": 14, "kind": "property",
"displayName": "Aws Timestream Write Client", "group": "advanced", "label":
"advanced", "required": false, "type": "object", "javaType":
"software.amazon.awssdk.services.timestreamwrite.TimestreamWriteClient",
"deprecated": false, "autowired": true, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To use an [...]
+ "healthCheckConsumerEnabled": { "index": 15, "kind": "property",
"displayName": "Health Check Consumer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all consumer based health checks
from this component" },
+ "healthCheckProducerEnabled": { "index": 16, "kind": "property",
"displayName": "Health Check Producer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all producer based health checks
from this component. Notice: Camel has by default disabled all producer based
health-checks. You can turn on produce [...]
+ "proxyHost": { "index": 17, "kind": "property", "displayName": "Proxy
Host", "group": "proxy", "label": "proxy", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy host
when instantiating the Timestream client" },
+ "proxyPort": { "index": 18, "kind": "property", "displayName": "Proxy
Port", "group": "proxy", "label": "proxy", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy port
when instantiating the Timestream client" },
+ "proxyProtocol": { "index": 19, "kind": "property", "displayName": "Proxy
Protocol", "group": "proxy", "label": "proxy", "required": false, "type":
"enum", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP",
"HTTPS" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "HTTPS", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy pr
[...]
+ "accessKey": { "index": 20, "kind": "property", "displayName": "Access
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Access Key" },
+ "secretKey": { "index": 21, "kind": "property", "displayName": "Secret
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Secret Key" },
+ "sessionToken": { "index": 22, "kind": "property", "displayName": "Session
Token", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Session Token
used when the user needs to assume an IAM [...]
+ "useSessionCredentials": { "index": 23, "kind": "property", "displayName":
"Use Session Credentials", "group": "security", "label": "security",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should expect to use [...]
},
"headers": {
"CamelAwsTimestreamOperation": { "index": 0, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The operation we want to perform", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#OPERATION" },
@@ -77,20 +78,21 @@
"CamelAwsTimestreamQueryString": { "index": 25, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The query string to run.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#QUERY_STRING"
},
"CamelAwsTimestreamQueryId": { "index": 26, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "ID of query.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#QUERY_ID" },
"CamelAwsTimestreamQueryValidateOnly": { "index": 27, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "Boolean", "deprecated": false, "autowired": false, "secret":
false, "description": "Validates the prepared query, but does not store for
later execution", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#QUERY_VALIDATE_ONLY"
},
- "CamelAwsTimestreamQueryMaxRows": { "index": 28, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "Integer", "deprecated": false, "autowired": false, "secret":
false, "description": "The total number of rows to be returned in the Query
output.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#QUERY_MAX_ROWS"
},
- "CamelAwsTimestreamMaxResults": { "index": 29, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "Integer", "deprecated": false, "autowired": false, "secret":
false, "description": "Max Results to be returned in output", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#MAX_RESULTS" },
- "CamelAwsTimestreamScheduleExpression": { "index": 30, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The schedule expression for the query.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#SCHEDULE_EXPRESSION"
},
- "CamelAwsTimestreamNotificationTopicArn": { "index": 31, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "Notification Topic Arn for the scheduled query.",
"constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#NOTIFICATION_TOPIC_ARN"
},
- "CamelAwsTimestreamErrorReportS3BucketName": { "index": 32, "kind":
"header", "displayName": "", "group": "producer", "label": "", "required":
false, "javaType": "String", "deprecated": false, "autowired": false, "secret":
false, "description": "S3 Bucket name for error reporting.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#ERROR_REPORT_S3_BUCKET_NAME"
},
- "CamelAwsTimestreamErrorReportS3ObjectKeyPrefix": { "index": 33, "kind":
"header", "displayName": "", "group": "producer", "label": "", "required":
false, "javaType": "String", "deprecated": false, "autowired": false, "secret":
false, "description": "S3 object key prefix for error reporting.",
"constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#ERROR_REPORT_S3_OBJECT_KEY_PREFIX"
},
- "CamelAwsTimestreamErrorReportS3EncryptionOption": { "index": 34, "kind":
"header", "displayName": "", "group": "producer", "label": "", "required":
false, "javaType": "String", "deprecated": false, "autowired": false, "secret":
false, "description": "S3 encryption option for error reporting.",
"constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#ERROR_REPORT_S3_ENCRYPTION_OPTION"
},
- "CamelAwsTimestreamScheduledQueryExecutionRoleArn": { "index": 35, "kind":
"header", "displayName": "", "group": "producer", "label": "", "required":
false, "javaType": "String", "deprecated": false, "autowired": false, "secret":
false, "description": "The ARN for the IAM role that Timestream will assume
when running the scheduled query.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#SCHEDULED_QUERY_EXECUTION_ROLE_ARN"
},
- "CamelAwsTimestreamClientToken": { "index": 36, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "Using a ClientToken makes the call to CreateScheduledQuery
idempotent", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#CLIENT_TOKEN"
},
- "CamelAwsTimestreamKmsKeyId": { "index": 37, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The Amazon KMS key used to encrypt the scheduled query
resource, at-rest.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#KMS_KEY_ID" }
+ "CamelAwsTimestreamQueryMaxRows": { "index": 28, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "Integer", "deprecated": false, "autowired": false, "secret":
false, "description": "The maximum number of rows in a page of the Query
output.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#QUERY_MAX_ROWS"
},
+ "CamelAwsTimestreamQueryNextToken": { "index": 29, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The token of a page of a query result. As input, the query
operation reads the page of this token; as output, it is the token of the next
page, and it is removed after the last page. Set the same query string to read
the next page.", "constantName": " [...]
+ "CamelAwsTimestreamMaxResults": { "index": 30, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "Integer", "deprecated": false, "autowired": false, "secret":
false, "description": "Max Results to be returned in output", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#MAX_RESULTS" },
+ "CamelAwsTimestreamScheduleExpression": { "index": 31, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The schedule expression for the query.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#SCHEDULE_EXPRESSION"
},
+ "CamelAwsTimestreamNotificationTopicArn": { "index": 32, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "Notification Topic Arn for the scheduled query.",
"constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#NOTIFICATION_TOPIC_ARN"
},
+ "CamelAwsTimestreamErrorReportS3BucketName": { "index": 33, "kind":
"header", "displayName": "", "group": "producer", "label": "", "required":
false, "javaType": "String", "deprecated": false, "autowired": false, "secret":
false, "description": "S3 Bucket name for error reporting.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#ERROR_REPORT_S3_BUCKET_NAME"
},
+ "CamelAwsTimestreamErrorReportS3ObjectKeyPrefix": { "index": 34, "kind":
"header", "displayName": "", "group": "producer", "label": "", "required":
false, "javaType": "String", "deprecated": false, "autowired": false, "secret":
false, "description": "S3 object key prefix for error reporting.",
"constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#ERROR_REPORT_S3_OBJECT_KEY_PREFIX"
},
+ "CamelAwsTimestreamErrorReportS3EncryptionOption": { "index": 35, "kind":
"header", "displayName": "", "group": "producer", "label": "", "required":
false, "javaType": "String", "deprecated": false, "autowired": false, "secret":
false, "description": "S3 encryption option for error reporting.",
"constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#ERROR_REPORT_S3_ENCRYPTION_OPTION"
},
+ "CamelAwsTimestreamScheduledQueryExecutionRoleArn": { "index": 36, "kind":
"header", "displayName": "", "group": "producer", "label": "", "required":
false, "javaType": "String", "deprecated": false, "autowired": false, "secret":
false, "description": "The ARN for the IAM role that Timestream will assume
when running the scheduled query.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#SCHEDULED_QUERY_EXECUTION_ROLE_ARN"
},
+ "CamelAwsTimestreamClientToken": { "index": 37, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "Using a ClientToken makes the call to CreateScheduledQuery
idempotent", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#CLIENT_TOKEN"
},
+ "CamelAwsTimestreamKmsKeyId": { "index": 38, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The Amazon KMS key used to encrypt the scheduled query
resource, at-rest.", "constantName":
"org.apache.camel.component.aws2.timestream.Timestream2Constants#KMS_KEY_ID" }
},
"bodyTypes": {
"producerIn": { "carriers": [ "any" ], "byOption": [ { "option":
"pojoRequest", "value": "true", "carriers": [ "pojo" ] } ], "description": "Not
used: the operations of both client types take their input from headers, such
as the records of writeRecords in CamelAwsTimestreamRecordList, a List of the
Record of the AWS SDK, and the SQL of query in CamelAwsTimestreamQueryString.
With pojoRequest=true the request of the AWS SDK for the operation, such as a
WriteRecordsRequest or a QueryR [...]
- "producerOut": { "carriers": [ "pojo" ], "description": "The response of
the AWS SDK for the operation, such as the WriteRecordsResponse of
writeRecords, or the QueryResponse of query with one page of rows: the next
page needs a QueryRequest with its nextToken and pojoRequest=true" }
+ "producerOut": { "carriers": [ "pojo" ], "description": "The response of
the AWS SDK for the operation, such as the WriteRecordsResponse of
writeRecords, or the QueryResponse of query with one page of rows: the
CamelAwsTimestreamQueryNextToken header gives the next page, and
queryAllPages=true gives the rows of all the pages" }
},
"properties": {
"clientType": { "index": 0, "kind": "path", "displayName": "Client Type",
"group": "producer", "label": "", "required": true, "type": "enum", "javaType":
"org.apache.camel.component.aws2.timestream.Timestream2ClientType", "enum": [
"write", "query" ], "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Type of client -
write\/query" },
@@ -99,20 +101,21 @@
"overrideEndpoint": { "index": 3, "kind": "parameter", "displayName":
"Override Endpoint", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set the need for
overriding the endpoint. This option needs to be used in [...]
"pojoRequest": { "index": 4, "kind": "parameter", "displayName": "Pojo
Request", "group": "producer", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "If we want to use a POJO
request as body or not" },
"profileCredentialsName": { "index": 5, "kind": "parameter",
"displayName": "Profile Credentials Name", "group": "producer", "label": "",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "If using a profile
credentials provider, this parameter will set the profil [...]
- "region": { "index": 6, "kind": "parameter", "displayName": "Region",
"group": "producer", "label": "", "required": false, "type": "enum",
"javaType": "java.lang.String", "enum": [ "ap-south-2", "ap-south-1",
"eu-south-1", "eu-south-2", "us-gov-east-1", "me-central-1", "il-central-1",
"ca-central-1", "eu-central-1", "us-iso-west-1", "eu-central-2",
"eu-isoe-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1",
"eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-nort [...]
- "trustAllCertificates": { "index": 7, "kind": "parameter", "displayName":
"Trust All Certificates", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "security": "insecure:ssl", "defaultValue": false,
"configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "If we want to trust all
certificates [...]
- "uriEndpointOverride": { "index": 8, "kind": "parameter", "displayName":
"Uri Endpoint Override", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set the overriding uri
endpoint. This option needs to be used in combination with [...]
- "useDefaultCredentialsProvider": { "index": 9, "kind": "parameter",
"displayName": "Use Default Credentials Provider", "group": "producer",
"label": "", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should expe [...]
- "useProfileCredentialsProvider": { "index": 10, "kind": "parameter",
"displayName": "Use Profile Credentials Provider", "group": "producer",
"label": "", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should exp [...]
- "lazyStartProducer": { "index": 11, "kind": "parameter", "displayName":
"Lazy Start Producer", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether the producer should be started
lazy (on the first message). By starting lazy you can use this to allow
CamelContext and routes to startup in situations where a produ [...]
- "awsTimestreamQueryClient": { "index": 12, "kind": "parameter",
"displayName": "Aws Timestream Query Client", "group": "advanced", "label":
"advanced", "required": false, "type": "object", "javaType":
"software.amazon.awssdk.services.timestreamquery.TimestreamQueryClient",
"deprecated": false, "autowired": true, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To use an [...]
- "awsTimestreamWriteClient": { "index": 13, "kind": "parameter",
"displayName": "Aws Timestream Write Client", "group": "advanced", "label":
"advanced", "required": false, "type": "object", "javaType":
"software.amazon.awssdk.services.timestreamwrite.TimestreamWriteClient",
"deprecated": false, "autowired": true, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To use an [...]
- "proxyHost": { "index": 14, "kind": "parameter", "displayName": "Proxy
Host", "group": "proxy", "label": "proxy", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy host
when instantiating the Timestream client" },
- "proxyPort": { "index": 15, "kind": "parameter", "displayName": "Proxy
Port", "group": "proxy", "label": "proxy", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy port
when instantiating the Timestream client" },
- "proxyProtocol": { "index": 16, "kind": "parameter", "displayName": "Proxy
Protocol", "group": "proxy", "label": "proxy", "required": false, "type":
"enum", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP",
"HTTPS" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "HTTPS", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy p [...]
- "accessKey": { "index": 17, "kind": "parameter", "displayName": "Access
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Access Key" },
- "secretKey": { "index": 18, "kind": "parameter", "displayName": "Secret
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Secret Key" },
- "sessionToken": { "index": 19, "kind": "parameter", "displayName":
"Session Token", "group": "security", "label": "security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Session Token
used when the user needs to assume an IAM [...]
- "useSessionCredentials": { "index": 20, "kind": "parameter",
"displayName": "Use Session Credentials", "group": "security", "label":
"security", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should expect to us [...]
+ "queryAllPages": { "index": 6, "kind": "parameter", "displayName": "Query
All Pages", "group": "producer", "label": "producer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "For the query operation:
read all the pages of the result, and give al [...]
+ "region": { "index": 7, "kind": "parameter", "displayName": "Region",
"group": "producer", "label": "", "required": false, "type": "enum",
"javaType": "java.lang.String", "enum": [ "ap-south-2", "ap-south-1",
"eu-south-1", "eu-south-2", "us-gov-east-1", "me-central-1", "il-central-1",
"ca-central-1", "eu-central-1", "us-iso-west-1", "eu-central-2",
"eu-isoe-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1",
"eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-nort [...]
+ "trustAllCertificates": { "index": 8, "kind": "parameter", "displayName":
"Trust All Certificates", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "security": "insecure:ssl", "defaultValue": false,
"configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "If we want to trust all
certificates [...]
+ "uriEndpointOverride": { "index": 9, "kind": "parameter", "displayName":
"Uri Endpoint Override", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set the overriding uri
endpoint. This option needs to be used in combination with [...]
+ "useDefaultCredentialsProvider": { "index": 10, "kind": "parameter",
"displayName": "Use Default Credentials Provider", "group": "producer",
"label": "", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should exp [...]
+ "useProfileCredentialsProvider": { "index": 11, "kind": "parameter",
"displayName": "Use Profile Credentials Provider", "group": "producer",
"label": "", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should exp [...]
+ "lazyStartProducer": { "index": 12, "kind": "parameter", "displayName":
"Lazy Start Producer", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether the producer should be started
lazy (on the first message). By starting lazy you can use this to allow
CamelContext and routes to startup in situations where a produ [...]
+ "awsTimestreamQueryClient": { "index": 13, "kind": "parameter",
"displayName": "Aws Timestream Query Client", "group": "advanced", "label":
"advanced", "required": false, "type": "object", "javaType":
"software.amazon.awssdk.services.timestreamquery.TimestreamQueryClient",
"deprecated": false, "autowired": true, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To use an [...]
+ "awsTimestreamWriteClient": { "index": 14, "kind": "parameter",
"displayName": "Aws Timestream Write Client", "group": "advanced", "label":
"advanced", "required": false, "type": "object", "javaType":
"software.amazon.awssdk.services.timestreamwrite.TimestreamWriteClient",
"deprecated": false, "autowired": true, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To use an [...]
+ "proxyHost": { "index": 15, "kind": "parameter", "displayName": "Proxy
Host", "group": "proxy", "label": "proxy", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy host
when instantiating the Timestream client" },
+ "proxyPort": { "index": 16, "kind": "parameter", "displayName": "Proxy
Port", "group": "proxy", "label": "proxy", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy port
when instantiating the Timestream client" },
+ "proxyProtocol": { "index": 17, "kind": "parameter", "displayName": "Proxy
Protocol", "group": "proxy", "label": "proxy", "required": false, "type":
"enum", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP",
"HTTPS" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "HTTPS", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "To define a proxy p [...]
+ "accessKey": { "index": 18, "kind": "parameter", "displayName": "Access
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Access Key" },
+ "secretKey": { "index": 19, "kind": "parameter", "displayName": "Secret
Key", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Secret Key" },
+ "sessionToken": { "index": 20, "kind": "parameter", "displayName":
"Session Token", "group": "security", "label": "security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Amazon AWS Session Token
used when the user needs to assume an IAM [...]
+ "useSessionCredentials": { "index": 21, "kind": "parameter",
"displayName": "Use Session Credentials", "group": "security", "label":
"security", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.timestream.Timestream2Configuration",
"configurationField": "configuration", "description": "Set whether the
Timestream client should expect to us [...]
}
}
diff --git
a/components/camel-aws/camel-aws2-timestream/src/main/docs/aws2-timestream-component.adoc
b/components/camel-aws/camel-aws2-timestream/src/main/docs/aws2-timestream-component.adoc
index c4e83892bd2f..c1db8b0aa84a 100644
---
a/components/camel-aws/camel-aws2-timestream/src/main/docs/aws2-timestream-component.adoc
+++
b/components/camel-aws/camel-aws2-timestream/src/main/docs/aws2-timestream-component.adoc
@@ -234,6 +234,25 @@ YAML::
----
====
+=== Paging the query results
+
+Timestream returns the result of a query in pages. The body of the `query`
operation is one page (a `QueryResponse`),
+and when more pages follow, the `CamelAwsTimestreamQueryNextToken` header
holds the token of the next page. Send the same
+query again with this header to read the next page; after the last page, the
header is removed. A page can be empty
+while the query still runs, so loop on the header, not on the number of rows.
`CamelAwsTimestreamQueryMaxRows` sets the
+maximum number of rows of a page.
+
+With `queryAllPages=true`, the producer reads all the pages and the body is
one `QueryResponse` with the rows of all the
+pages. Use it only for results that fit in memory.
+
+[source,java]
+----
+from("direct:query")
+ .setHeader(Timestream2Constants.QUERY_STRING, constant("SELECT * FROM
testDb.testTable"))
+ .to("aws2-timestream://query:test?operation=query&queryAllPages=true")
+ .log("${body.rows.size} rows");
+----
+
=== Using a POJO as body
Sometimes building an AWS Request can be complex because of multiple options.
We introduce the possibility to use a POJO as the body.
diff --git
a/components/camel-aws/camel-aws2-timestream/src/main/java/org/apache/camel/component/aws2/timestream/Timestream2AbstractEndpoint.java
b/components/camel-aws/camel-aws2-timestream/src/main/java/org/apache/camel/component/aws2/timestream/Timestream2AbstractEndpoint.java
index f0e2ee59b0de..498eaf0a1697 100644
---
a/components/camel-aws/camel-aws2-timestream/src/main/java/org/apache/camel/component/aws2/timestream/Timestream2AbstractEndpoint.java
+++
b/components/camel-aws/camel-aws2-timestream/src/main/java/org/apache/camel/component/aws2/timestream/Timestream2AbstractEndpoint.java
@@ -39,8 +39,8 @@ import org.apache.camel.support.DefaultEndpoint;
producerOut = @BodyType(value = Carrier.POJO,
description = "The response of the AWS SDK
for the operation, such as the"
+ " WriteRecordsResponse of
writeRecords, or the QueryResponse of query with"
- + " one page of rows: the
next page needs a QueryRequest with its nextToken"
- + " and pojoRequest=true"))
+ + " one page of rows: the
CamelAwsTimestreamQueryNextToken header gives the"
+ + " next page, and
queryAllPages=true gives the rows of all the pages"))
public abstract class Timestream2AbstractEndpoint extends DefaultEndpoint {
@UriParam
diff --git
a/components/camel-aws/camel-aws2-timestream/src/main/java/org/apache/camel/component/aws2/timestream/Timestream2Configuration.java
b/components/camel-aws/camel-aws2-timestream/src/main/java/org/apache/camel/component/aws2/timestream/Timestream2Configuration.java
index 55c82e1473bc..a3e252a977c3 100644
---
a/components/camel-aws/camel-aws2-timestream/src/main/java/org/apache/camel/component/aws2/timestream/Timestream2Configuration.java
+++
b/components/camel-aws/camel-aws2-timestream/src/main/java/org/apache/camel/component/aws2/timestream/Timestream2Configuration.java
@@ -62,6 +62,11 @@ public class Timestream2Configuration implements Cloneable,
AwsCommonConfigurati
private TimestreamQueryClient awsTimestreamQueryClient;
@UriParam(defaultValue = "false")
private boolean pojoRequest;
+ @UriParam(label = "producer", defaultValue = "false",
+ description = "For the query operation: read all the pages of
the result, and give all the rows in one"
+ + " QueryResponse. Without it, the body is one
page, and the CamelAwsTimestreamQueryNextToken"
+ + " header gives the token of the next page. Not
used with pojoRequest.")
+ private boolean queryAllPages;
@UriParam(security = "insecure:ssl", defaultValue = "false")
private boolean trustAllCertificates;
@UriParam(defaultValue = "false")
@@ -217,6 +222,17 @@ public class Timestream2Configuration implements
Cloneable, AwsCommonConfigurati
this.pojoRequest = pojoRequest;
}
+ public boolean isQueryAllPages() {
+ return queryAllPages;
+ }
+
+ /**
+ * For the query operation: read all the pages of the result, and give all
the rows in one QueryResponse.
+ */
+ public void setQueryAllPages(boolean queryAllPages) {
+ this.queryAllPages = queryAllPages;
+ }
+
public boolean isTrustAllCertificates() {
return trustAllCertificates;
}
diff --git
a/components/camel-aws/camel-aws2-timestream/src/main/java/org/apache/camel/component/aws2/timestream/Timestream2Constants.java
b/components/camel-aws/camel-aws2-timestream/src/main/java/org/apache/camel/component/aws2/timestream/Timestream2Constants.java
index dccfadedd4dc..365139d3e53c 100644
---
a/components/camel-aws/camel-aws2-timestream/src/main/java/org/apache/camel/component/aws2/timestream/Timestream2Constants.java
+++
b/components/camel-aws/camel-aws2-timestream/src/main/java/org/apache/camel/component/aws2/timestream/Timestream2Constants.java
@@ -86,8 +86,13 @@ public interface Timestream2Constants {
String QUERY_ID = "CamelAwsTimestreamQueryId";
@Metadata(description = "Validates the prepared query, but does not store
for later execution", javaType = "Boolean")
String QUERY_VALIDATE_ONLY = "CamelAwsTimestreamQueryValidateOnly";
- @Metadata(description = "The total number of rows to be returned in the
Query output.", javaType = "Integer")
+ @Metadata(description = "The maximum number of rows in a page of the Query
output.", javaType = "Integer")
String QUERY_MAX_ROWS = "CamelAwsTimestreamQueryMaxRows";
+ @Metadata(description = "The token of a page of a query result. As input,
the query operation reads the page of"
+ + " this token; as output, it is the token of the
next page, and it is removed after the last"
+ + " page. Set the same query string to read the
next page.",
+ javaType = "String")
+ String QUERY_NEXT_TOKEN = "CamelAwsTimestreamQueryNextToken";
@Metadata(description = "Max Results to be returned in output", javaType =
"Integer")
String MAX_RESULTS = "CamelAwsTimestreamMaxResults";
@Metadata(description = "The schedule expression for the query.", javaType
= "String")
diff --git
a/components/camel-aws/camel-aws2-timestream/src/main/java/org/apache/camel/component/aws2/timestream/query/Timestream2QueryProducer.java
b/components/camel-aws/camel-aws2-timestream/src/main/java/org/apache/camel/component/aws2/timestream/query/Timestream2QueryProducer.java
index 1fd96d579328..7d35f0b04bc2 100644
---
a/components/camel-aws/camel-aws2-timestream/src/main/java/org/apache/camel/component/aws2/timestream/query/Timestream2QueryProducer.java
+++
b/components/camel-aws/camel-aws2-timestream/src/main/java/org/apache/camel/component/aws2/timestream/query/Timestream2QueryProducer.java
@@ -17,6 +17,7 @@
package org.apache.camel.component.aws2.timestream.query;
import java.time.Instant;
+import java.util.ArrayList;
import java.util.List;
import org.apache.camel.Endpoint;
@@ -542,16 +543,54 @@ public class Timestream2QueryProducer extends
DefaultProducer {
builder.maxRows(maxRows);
}
+ String nextToken =
exchange.getIn().getHeader(Timestream2Constants.QUERY_NEXT_TOKEN, String.class);
+ if (ObjectHelper.isNotEmpty(nextToken)) {
+ builder.nextToken(nextToken);
+ }
+
QueryResponse result;
try {
- result = timestreamQueryClient.query(builder.build());
+ if (getConfiguration().isQueryAllPages()) {
+ result = queryAllPages(timestreamQueryClient, builder);
+ } else {
+ result = timestreamQueryClient.query(builder.build());
+ }
} catch (AwsServiceException ase) {
LOG.trace("Query command returned the error code {}",
AwsExceptionUtil.errorCode(ase));
throw ase;
}
Message message = getMessageForResponse(exchange);
message.setBody(result);
+ if (result.nextToken() != null) {
+ message.setHeader(Timestream2Constants.QUERY_NEXT_TOKEN,
result.nextToken());
+ } else {
+ // the last page: a route that loops while the header is set
stops
+ message.removeHeader(Timestream2Constants.QUERY_NEXT_TOKEN);
+ }
+ }
+ }
+
+ /**
+ * Reads the pages of the query until the last one, and gives one response
with the rows of all the pages. A page
+ * can have no rows while the query still runs, so only the token tells
whether a next page exists.
+ */
+ private static QueryResponse queryAllPages(TimestreamQueryClient
timestreamQueryClient, QueryRequest.Builder builder) {
+ List<Row> rows = new ArrayList<>();
+ List<ColumnInfo> columnInfo = null;
+ QueryResponse page;
+ do {
+ page = timestreamQueryClient.query(builder.build());
+ rows.addAll(page.rows());
+ if (columnInfo == null && page.hasColumnInfo()) {
+ columnInfo = page.columnInfo();
+ }
+ builder.nextToken(page.nextToken());
+ } while (page.nextToken() != null);
+ QueryResponse.Builder all =
page.toBuilder().rows(rows).nextToken(null);
+ if (columnInfo != null) {
+ all.columnInfo(columnInfo);
}
+ return all.build();
}
private void cancelQuery(TimestreamQueryClient timestreamQueryClient,
Exchange exchange) throws InvalidPayloadException {
diff --git
a/components/camel-aws/camel-aws2-timestream/src/test/java/org/apache/camel/component/aws2/timestream/query/Timestream2QueryPagingTest.java
b/components/camel-aws/camel-aws2-timestream/src/test/java/org/apache/camel/component/aws2/timestream/query/Timestream2QueryPagingTest.java
new file mode 100644
index 000000000000..732b0e73bbea
--- /dev/null
+++
b/components/camel-aws/camel-aws2-timestream/src/test/java/org/apache/camel/component/aws2/timestream/query/Timestream2QueryPagingTest.java
@@ -0,0 +1,152 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.aws2.timestream.query;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.apache.camel.BindToRegistry;
+import org.apache.camel.Exchange;
+import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.component.aws2.timestream.Timestream2Constants;
+import org.apache.camel.test.junit6.CamelTestSupport;
+import org.junit.jupiter.api.Test;
+import software.amazon.awssdk.services.timestreamquery.model.ColumnInfo;
+import software.amazon.awssdk.services.timestreamquery.model.Datum;
+import software.amazon.awssdk.services.timestreamquery.model.QueryRequest;
+import software.amazon.awssdk.services.timestreamquery.model.QueryResponse;
+import software.amazon.awssdk.services.timestreamquery.model.Row;
+
+import static org.assertj.core.api.Assertions.assertThat;
+
+/**
+ * The query operation reads the page of the CamelAwsTimestreamQueryNextToken
header and sets the token of the next
+ * page, or reads all the pages with queryAllPages.
+ */
+public class Timestream2QueryPagingTest extends CamelTestSupport {
+
+ private final List<QueryRequest> requests = new ArrayList<>();
+
+ /**
+ * Three pages: page 1 has two rows, page 2 has none (the query still
runs), page 3 has one row.
+ */
+ @BindToRegistry("awsTimestreamQueryClient")
+ AmazonTimestreamQueryClientMock clientMock = new
AmazonTimestreamQueryClientMock() {
+ @Override
+ public QueryResponse query(QueryRequest queryRequest) {
+ requests.add(queryRequest);
+ String token = queryRequest.nextToken();
+ QueryResponse.Builder page =
QueryResponse.builder().queryId("query-1");
+ if (token == null) {
+ return
page.columnInfo(ColumnInfo.builder().name("measure").build())
+ .rows(row("a"), row("b")).nextToken("t2").build();
+ } else if ("t2".equals(token)) {
+ return page.rows(List.of()).nextToken("t3").build();
+ } else {
+ return
page.columnInfo(ColumnInfo.builder().name("measure").build()).rows(row("c")).build();
+ }
+ }
+ };
+
+ private static Row row(String value) {
+ return
Row.builder().data(Datum.builder().scalarValue(value).build()).build();
+ }
+
+ @SuppressWarnings("unchecked")
+ private static List<String> rows(Exchange exchange) {
+ return exchange.getVariable("rows", List.class);
+ }
+
+ private static List<String> values(QueryResponse response) {
+ return response.rows().stream().map(r ->
r.data().get(0).scalarValue()).toList();
+ }
+
+ @Test
+ public void onePageGivesTheTokenOfTheNextPage() {
+ Exchange exchange = template.request("direct:query",
+ e -> e.getIn().setHeader(Timestream2Constants.QUERY_STRING,
"SELECT * FROM db.t"));
+
+ QueryResponse response =
exchange.getMessage().getBody(QueryResponse.class);
+ assertThat(values(response)).containsExactly("a", "b");
+
assertThat(exchange.getMessage().getHeader(Timestream2Constants.QUERY_NEXT_TOKEN)).isEqualTo("t2");
+ }
+
+ @Test
+ public void theTokenHeaderReadsThatPage() {
+ Exchange exchange = template.request("direct:query", e -> {
+ e.getIn().setHeader(Timestream2Constants.QUERY_STRING, "SELECT *
FROM db.t");
+ e.getIn().setHeader(Timestream2Constants.QUERY_NEXT_TOKEN, "t3");
+ });
+
+ assertThat(requests).hasSize(1);
+ assertThat(requests.get(0).nextToken()).isEqualTo("t3");
+
assertThat(values(exchange.getMessage().getBody(QueryResponse.class))).containsExactly("c");
+
assertThat(exchange.getMessage().getHeaders()).doesNotContainKey(Timestream2Constants.QUERY_NEXT_TOKEN);
+ }
+
+ @Test
+ public void aRouteCanLoopOverThePages() {
+ Exchange exchange = template.request("direct:loop",
+ e -> e.getIn().setHeader(Timestream2Constants.QUERY_STRING,
"SELECT * FROM db.t"));
+
+
assertThat(requests).extracting(QueryRequest::nextToken).containsExactly(null,
"t2", "t3");
+ assertThat(rows(exchange)).containsExactly("a", "b", "c");
+ }
+
+ @Test
+ public void queryAllPagesGivesAllTheRows() {
+ Exchange exchange = template.request("direct:all",
+ e -> e.getIn().setHeader(Timestream2Constants.QUERY_STRING,
"SELECT * FROM db.t"));
+
+ QueryResponse response =
exchange.getMessage().getBody(QueryResponse.class);
+ assertThat(values(response)).containsExactly("a", "b", "c");
+ assertThat(response.nextToken()).isNull();
+
assertThat(response.columnInfo()).extracting(ColumnInfo::name).containsExactly("measure");
+
assertThat(requests).extracting(QueryRequest::nextToken).containsExactly(null,
"t2", "t3");
+
assertThat(requests).extracting(QueryRequest::queryString).containsOnly("SELECT
* FROM db.t");
+
assertThat(exchange.getMessage().getHeaders()).doesNotContainKey(Timestream2Constants.QUERY_NEXT_TOKEN);
+ }
+
+ @Override
+ protected RouteBuilder createRouteBuilder() {
+ return new RouteBuilder() {
+ @Override
+ public void configure() {
+ from("direct:query")
+
.to("aws2-timestream://query:test?awsTimestreamQueryClient=#awsTimestreamQueryClient&operation=query");
+
+ // the predicate of loopDoWhile is checked before each
iteration, also the first, so the loop runs
+ // while there are more pages, which ends after the last page
even when the result has no rows
+ from("direct:loop")
+ .setVariable("rows", () -> new ArrayList<String>())
+ .setVariable("morePages", constant(true))
+ .loopDoWhile(variable("morePages"))
+
.to("aws2-timestream://query:test?awsTimestreamQueryClient=#awsTimestreamQueryClient"
+ + "&operation=query")
+ .process(exchange -> rows(exchange)
+
.addAll(values(exchange.getIn().getBody(QueryResponse.class))))
+ .process(exchange ->
exchange.setVariable("morePages",
+
exchange.getIn().getHeader(Timestream2Constants.QUERY_NEXT_TOKEN) != null))
+ .end();
+
+ from("direct:all")
+
.to("aws2-timestream://query:test?awsTimestreamQueryClient=#awsTimestreamQueryClient&operation=query"
+ + "&queryAllPages=true");
+ }
+ };
+ }
+}
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2TimestreamComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2TimestreamComponentBuilderFactory.java
index b88280f330d9..6cae90af9d90 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2TimestreamComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2TimestreamComponentBuilderFactory.java
@@ -160,6 +160,26 @@ public interface Aws2TimestreamComponentBuilderFactory {
return this;
}
+
+ /**
+ * For the query operation: read all the pages of the result, and give
+ * all the rows in one QueryResponse. Without it, the body is one page,
+ * and the CamelAwsTimestreamQueryNextToken header gives the token of
+ * the next page. Not used with pojoRequest.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: producer
+ *
+ * @param queryAllPages the value to set
+ * @return the dsl builder
+ */
+ default Aws2TimestreamComponentBuilder queryAllPages(boolean
queryAllPages) {
+ doSetProperty("queryAllPages", queryAllPages);
+ return this;
+ }
+
/**
* The region in which the Timestream client needs to work. When using
* this parameter, the configuration will expect the lowercase name of
@@ -480,6 +500,7 @@ public interface Aws2TimestreamComponentBuilderFactory {
case "overrideEndpoint":
getOrCreateConfiguration((Timestream2Component)
component).setOverrideEndpoint((boolean) value); return true;
case "pojoRequest":
getOrCreateConfiguration((Timestream2Component)
component).setPojoRequest((boolean) value); return true;
case "profileCredentialsName":
getOrCreateConfiguration((Timestream2Component)
component).setProfileCredentialsName((java.lang.String) value); return true;
+ case "queryAllPages":
getOrCreateConfiguration((Timestream2Component)
component).setQueryAllPages((boolean) value); return true;
case "region": getOrCreateConfiguration((Timestream2Component)
component).setRegion((java.lang.String) value); return true;
case "trustAllCertificates":
getOrCreateConfiguration((Timestream2Component)
component).setTrustAllCertificates((boolean) value); return true;
case "uriEndpointOverride":
getOrCreateConfiguration((Timestream2Component)
component).setUriEndpointOverride((java.lang.String) value); return true;
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Timestream2EndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Timestream2EndpointBuilderFactory.java
index 447e5020dbd4..a340a7b31c3c 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Timestream2EndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Timestream2EndpointBuilderFactory.java
@@ -157,6 +157,42 @@ public interface Timestream2EndpointBuilderFactory {
doSetProperty("profileCredentialsName", profileCredentialsName);
return this;
}
+ /**
+ * For the query operation: read all the pages of the result, and give
+ * all the rows in one QueryResponse. Without it, the body is one page,
+ * and the CamelAwsTimestreamQueryNextToken header gives the token of
+ * the next page. Not used with pojoRequest.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: producer
+ *
+ * @param queryAllPages the value to set
+ * @return the dsl builder
+ */
+ default Timestream2EndpointBuilder queryAllPages(boolean
queryAllPages) {
+ doSetProperty("queryAllPages", queryAllPages);
+ return this;
+ }
+ /**
+ * For the query operation: read all the pages of the result, and give
+ * all the rows in one QueryResponse. Without it, the body is one page,
+ * and the CamelAwsTimestreamQueryNextToken header gives the token of
+ * the next page. Not used with pojoRequest.
+ *
+ * The option will be converted to a <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: producer
+ *
+ * @param queryAllPages the value to set
+ * @return the dsl builder
+ */
+ default Timestream2EndpointBuilder queryAllPages(String queryAllPages)
{
+ doSetProperty("queryAllPages", queryAllPages);
+ return this;
+ }
/**
* The region in which the Timestream client needs to work. When using
* this parameter, the configuration will expect the lowercase name of
@@ -997,7 +1033,7 @@ public interface Timestream2EndpointBuilderFactory {
return "CamelAwsTimestreamQueryValidateOnly";
}
/**
- * The total number of rows to be returned in the Query output.
+ * The maximum number of rows in a page of the Query output.
*
* The option is a: {@code Integer} type.
*
@@ -1008,6 +1044,21 @@ public interface Timestream2EndpointBuilderFactory {
public String awsTimestreamQueryMaxRows() {
return "CamelAwsTimestreamQueryMaxRows";
}
+ /**
+ * The token of a page of a query result. As input, the query operation
+ * reads the page of this token; as output, it is the token of the next
+ * page, and it is removed after the last page. Set the same query
+ * string to read the next page.
+ *
+ * The option is a: {@code String} type.
+ *
+ * Group: producer
+ *
+ * @return the name of the header {@code AwsTimestreamQueryNextToken}.
+ */
+ public String awsTimestreamQueryNextToken() {
+ return "CamelAwsTimestreamQueryNextToken";
+ }
/**
* Max Results to be returned in output.
*