Re: Camel AWS-S3 prefixes do not accept wildcards

2024-03-13 Thread Andrea Cosentino
There is no method for sync from CLI in SDK. I'll add a note in the prefix description about wildcards and regexes missing support from SDK. Thanks for the suggestion! Il giorno mer 13 mar 2024 alle ore 21:13 Andrea Cosentino ha scritto: > I'll investigate if there is a way of using sync

Re: Camel AWS-S3 prefixes do not accept wildcards

2024-03-13 Thread Andrea Cosentino
I'll investigate if there is a way of using sync somewhat through the sdk. I'll keep you posted Il mer 13 mar 2024, 20:47 Mitch Trachtenberg ha scritto: > My mistake. What I'd thought was just aws cli ls was actually output piped > through a grep. > > Again, though, for many people used to

Re: Camel AWS-S3 prefixes do not accept wildcards

2024-03-13 Thread Mitch Trachtenberg
My mistake. What I'd thought was just aws cli ls was actually output piped through a grep. Again, though, for many people used to non-AWS file listings this may come as a surprise, so it would IMO be helpful to tell people up front that wildcards, regexes, etc... won't work. And thanks for

Re: Camel AWS-S3 prefixes do not accept wildcards

2024-03-13 Thread Andrea Cosentino
Hi, In the CLI it was escalated but it doesn't seem to be supported: https://github.com/aws/aws-cli/issues/3784 Usually the CLI/SDK/Rest are aligned, so if it was possible natively through CLI it would have been possible through SDK. The prefix is only a String in v1 and v2 and most importantly

Re: Camel AWS-S3 prefixes do not accept wildcards

2024-03-13 Thread Mitch Trachtenberg
Thanks, Claus. I'm sure you're correct and I've looked at the documentation for ListObjectsRequest. https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/s3/model/ListObjectsRequest.html But it seems like something that is such a common need that it would be helpful IMO to

Re: Camel AWS-S3 prefixes do not accept wildcards

2024-03-13 Thread Claus Ibsen
Hi Camel uses the AWS Java SDK and it set the prefix on this SDK so its depends on if this SDK has any kind of support for wildcards. As you write its likely it does not have that. You can try to dive into the AWS SDK and see more deeper. On Wed, Mar 13, 2024 at 7:19 PM Mitch Trachtenberg

Camel AWS-S3 prefixes do not accept wildcards

2024-03-13 Thread Mitch Trachtenberg
I cannot specifically find this stated in either AWS S3 or Camel documentation, but it appears that I can give a prefix 1234- to restrict Camel's (4.3.0) downloads to files starting 1234-, but cannot give a prefix - to restrict Camel's downloads to files beginning with four characters and a