Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

To live is always desirable. -- Eleen the Capellan, "Friday's Child", stardate 3498.9


devel / comp.lang.tcl / AWS

SubjectAuthor
* AWSsaito
`* Re: AWSsaito
 `* Re: AWSAshok
  `* Re: AWSsaito
   +* Re: AWSGerald Lester
   |`- Re: AWSsaito
   `* Re: AWSAshok
    `* Re: AWSneophytos
     +- Re: AWSneophytos
     `- Re: AWSsaito

1
AWS

<uvciae$2ki77$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=13639&group=comp.lang.tcl#13639

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: saitology9@gmail.com (saito)
Newsgroups: comp.lang.tcl
Subject: AWS
Date: Fri, 12 Apr 2024 20:06:38 -0400
Organization: A noiseless patient Spider
Lines: 4
Message-ID: <uvciae$2ki77$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 13 Apr 2024 02:06:38 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="434cece0c83789583e81a010d7e1c24e";
logging-data="2771175"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX189jb+LECuu9vGVgS70uO6A"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:q4Kk6O8n36vcvvMQrbIeUwwkGNY=
Content-Language: en-US
 by: saito - Sat, 13 Apr 2024 00:06 UTC

Are there any working examples of integrating with Amazon AWS and
specifically S3? I am thinking of putting data files in and out of S3.

Any tips to recent examples or packages would be appreciated.

Re: AWS

<uvclu8$2l7m4$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=13640&group=comp.lang.tcl#13640

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: saitology9@gmail.com (saito)
Newsgroups: comp.lang.tcl
Subject: Re: AWS
Date: Fri, 12 Apr 2024 21:08:24 -0400
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <uvclu8$2l7m4$1@dont-email.me>
References: <uvciae$2ki77$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 13 Apr 2024 03:08:25 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="1ad52156835be4fb7e74104e8ab8009e";
logging-data="2793156"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX192zPe/+Bf7tErWgA09lVUs"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:QCr5HjqGGRT/Ko5EeU8K2WyKe3E=
Content-Language: en-US
In-Reply-To: <uvciae$2ki77$1@dont-email.me>
 by: saito - Sat, 13 Apr 2024 01:08 UTC

On 4/12/2024 8:06 PM, saito wrote:
> Are there any working examples of integrating with Amazon AWS and
> specifically S3?  I am thinking of putting data files in and out of S3.
>
> Any tips to recent examples or packages would be appreciated.

I found S3 in tclllib which seems helpful. Any working examples?

Re: AWS

<uvdnlf$2v8c9$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=13641&group=comp.lang.tcl#13641

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: apnmbx-public@yahoo.com (Ashok)
Newsgroups: comp.lang.tcl
Subject: Re: AWS
Date: Sat, 13 Apr 2024 16:13:59 +0530
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <uvdnlf$2v8c9$1@dont-email.me>
References: <uvciae$2ki77$1@dont-email.me> <uvclu8$2l7m4$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 13 Apr 2024 12:43:59 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="6c2a9764dad63bfeb430e74850513460";
logging-data="3121545"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19arzh1GZaonFbwGksye05e"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:kBo4oEccTCoo6ZmSomFSXwmcnAA=
In-Reply-To: <uvclu8$2l7m4$1@dont-email.me>
Content-Language: en-US
 by: Ashok - Sat, 13 Apr 2024 10:43 UTC

On 4/13/2024 6:38 AM, saito wrote:
> On 4/12/2024 8:06 PM, saito wrote:
>> Are there any working examples of integrating with Amazon AWS and
>> specifically S3?  I am thinking of putting data files in and out of S3.
>>
>> Any tips to recent examples or packages would be appreciated.
>
> I found S3 in tclllib which seems helpful.  Any working examples?

See https://github.com/jerily/aws-sdk-tcl

Re: AWS

<uvergj$36jq6$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=13648&group=comp.lang.tcl#13648

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: saitology9@gmail.com (saito)
Newsgroups: comp.lang.tcl
Subject: Re: AWS
Date: Sat, 13 Apr 2024 16:55:48 -0400
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <uvergj$36jq6$1@dont-email.me>
References: <uvciae$2ki77$1@dont-email.me> <uvclu8$2l7m4$1@dont-email.me>
<uvdnlf$2v8c9$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 13 Apr 2024 22:55:48 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="3084c0b80dedef830eea9dd60e0a8d0a";
logging-data="3362630"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18pZQ91CCgI2W+e1oXKRQlq"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:SyDiA8h+3/atuXZ7dqDC13DtlzE=
Content-Language: en-US
In-Reply-To: <uvdnlf$2v8c9$1@dont-email.me>
 by: saito - Sat, 13 Apr 2024 20:55 UTC

On 4/13/2024 6:43 AM, Ashok wrote:
> On 4/13/2024 6:38 AM, saito wrote:
>> On 4/12/2024 8:06 PM, saito wrote:
>>> Are there any working examples of integrating with Amazon AWS and
>>> specifically S3?  I am thinking of putting data files in and out of S3.
>>>
>>> Any tips to recent examples or packages would be appreciated.
>>
>> I found S3 in tclllib which seems helpful.  Any working examples?
>
> See https://github.com/jerily/aws-sdk-tcl

Thanks for the link. There is no documentation on the package and the
s3 example has no comments at all. Well, some code lines are commented
out. I am afraid to spend time on it if it has no documentation.

Re: AWS

<3BCSN.620927$PuZ9.388924@fx11.iad>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=13649&group=comp.lang.tcl#13649

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx11.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: AWS
Content-Language: en-US
Newsgroups: comp.lang.tcl
References: <uvciae$2ki77$1@dont-email.me> <uvclu8$2l7m4$1@dont-email.me>
<uvdnlf$2v8c9$1@dont-email.me> <uvergj$36jq6$1@dont-email.me>
From: Gerald.Lester@gmail.com (Gerald Lester)
In-Reply-To: <uvergj$36jq6$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 19
Message-ID: <3BCSN.620927$PuZ9.388924@fx11.iad>
X-Complaints-To: abuse@fastusenet.org
NNTP-Posting-Date: Sat, 13 Apr 2024 21:14:39 UTC
Organization: fastusenet - www.fastusenet.org
Date: Sat, 13 Apr 2024 16:14:39 -0500
X-Received-Bytes: 1566
 by: Gerald Lester - Sat, 13 Apr 2024 21:14 UTC

On 4/13/24 15:55, saito wrote:
> On 4/13/2024 6:43 AM, Ashok wrote:
>> On 4/13/2024 6:38 AM, saito wrote:
>>> On 4/12/2024 8:06 PM, saito wrote:
>>>> Are there any working examples of integrating with Amazon AWS and
>>>> specifically S3?  I am thinking of putting data files in and out of S3.
>>>>
>>>> Any tips to recent examples or packages would be appreciated.
>>>
>>> I found S3 in tclllib which seems helpful.  Any working examples?
>>
>> See https://github.com/jerily/aws-sdk-tcl
>
> Thanks for the link.  There is no documentation on the package and the
> s3 example has no comments at all.  Well, some code lines are commented
> out. I am afraid to spend time on it if it has no documentation.

Well you could always write a wrapper around the AWS CLI commands --
should be straight forward to do.

Re: AWS

<uvevlh$37j1v$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=13650&group=comp.lang.tcl#13650

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: saitology9@gmail.com (saito)
Newsgroups: comp.lang.tcl
Subject: Re: AWS
Date: Sat, 13 Apr 2024 18:06:41 -0400
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <uvevlh$37j1v$1@dont-email.me>
References: <uvciae$2ki77$1@dont-email.me> <uvclu8$2l7m4$1@dont-email.me>
<uvdnlf$2v8c9$1@dont-email.me> <uvergj$36jq6$1@dont-email.me>
<3BCSN.620927$PuZ9.388924@fx11.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 14 Apr 2024 00:06:41 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="f8d0d55c2b3fef9c11d3ee3eafd826ba";
logging-data="3394623"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19pFclIC5wGZj6OP/Ch9ntW"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:avTuXXIkDvk7LDuLdIA9msRSHls=
In-Reply-To: <3BCSN.620927$PuZ9.388924@fx11.iad>
Content-Language: en-US
 by: saito - Sat, 13 Apr 2024 22:06 UTC

On 4/13/2024 5:14 PM, Gerald Lester wrote:
>
> Well you could always write a wrapper around the AWS CLI commands --
> should be straight forward to do.

Right, it may come to that. I will find time to check out the the s3 in
tcllib and see if it is any useful first. I trust the stuff in tcllib a
bit more.

Re: AWS

<uvg0l9$3h7sp$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=13652&group=comp.lang.tcl#13652

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: apnmbx-public@yahoo.com (Ashok)
Newsgroups: comp.lang.tcl
Subject: Re: AWS
Date: Sun, 14 Apr 2024 12:59:35 +0530
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <uvg0l9$3h7sp$1@dont-email.me>
References: <uvciae$2ki77$1@dont-email.me> <uvclu8$2l7m4$1@dont-email.me>
<uvdnlf$2v8c9$1@dont-email.me> <uvergj$36jq6$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 14 Apr 2024 09:29:45 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="dd9afeace473b300328c5a5350a8386b";
logging-data="3710873"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/6zJ+GgJrsPzRWh+z9kPe+"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:4GdX+cZR1d4jKhDkjpK7bltKeyE=
In-Reply-To: <uvergj$36jq6$1@dont-email.me>
Content-Language: en-US
 by: Ashok - Sun, 14 Apr 2024 07:29 UTC

On 4/14/2024 2:25 AM, saito wrote:
> On 4/13/2024 6:43 AM, Ashok wrote:
>> On 4/13/2024 6:38 AM, saito wrote:
>>> On 4/12/2024 8:06 PM, saito wrote:
>>>> Are there any working examples of integrating with Amazon AWS and
>>>> specifically S3?  I am thinking of putting data files in and out of S3.
>>>>
>>>> Any tips to recent examples or packages would be appreciated.
>>>
>>> I found S3 in tclllib which seems helpful.  Any working examples?
>>
>> See https://github.com/jerily/aws-sdk-tcl
>
> Thanks for the link.  There is no documentation on the package and the
> s3 example has no comments at all.  Well, some code lines are commented
> out. I am afraid to spend time on it if it has no documentation.

Well, there is this -
https://github.com/jerily/aws-sdk-tcl?tab=readme-ov-file#documentation.
If you follow the links there, it enumerates commands in each module.
Maybe you were looking for more. It is admittedly sparse. I think the
intent is to refer back to the AWS docs for the equivalent command,
either C or command line. For example, to use the Tcl S3 related
commands listed at
https://github.com/jerily/aws-sdk-tcl/tree/main/src/aws-sdk-tcl-s3 you
would refer to
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3api/index.html#cli-aws-s3api
and / or
https://docs.aws.amazon.com/cli/latest/userguide/cli_s3_code_examples.html

A bit tedious but (not to speak for the author!) it is very onerous to
(re)document such a large wrapped API.

Re: AWS

<cc518ed85be90ff5af229f646588819c@www.rocksolidbbs.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=13669&group=comp.lang.tcl#13669

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!.POSTED!not-for-mail
From: neophytos@gmail.com (neophytos)
Newsgroups: comp.lang.tcl
Subject: Re: AWS
Date: Wed, 17 Apr 2024 13:11:11 +0000
Organization: RetroBBS
Message-ID: <cc518ed85be90ff5af229f646588819c@www.rocksolidbbs.com>
References: <uvciae$2ki77$1@dont-email.me> <uvclu8$2l7m4$1@dont-email.me> <uvdnlf$2v8c9$1@dont-email.me> <uvergj$36jq6$1@dont-email.me> <uvg0l9$3h7sp$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="1459385"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light
X-Rslight-Site: $2y$10$rmE92NxJn0u6c14/Wu95yOzh1Ced3jC0kuqyBHztkeAssZPrXWg5C
X-Rslight-Posting-User: 9f62665e0dacc37995fc39d054ae1468bcc18b3c
X-Spam-Checker-Version: SpamAssassin 4.0.0
 by: neophytos - Wed, 17 Apr 2024 13:11 UTC

Sorry, I was not following the discussion earlier. Just released 1.0.4, which supports credentials in config dict and trace var in create client command.

# specify "dir" and "bucket_name" vars and then:

set config_dict [dict create aws_access_key_id "" aws_secret_access_key "" region "us-east-1"]
::aws::s3::create $config_dict s3_client

# put some text into a file named text.txt
$s3_client put_text $bucket_name "test.txt" "Hello World"

# download that file
$s3_client get $bucket_name "test.txt" myfile.txt

# upload a file
$s3_client put $bucket_name "my_logo.png" [file join $dir "logo_to_be_uploaded.png"]

# download the file
::aws::s3::get $s3_client $bucket_name "my_logo.png" [file join $dir "saved_logo.png"]

I understand that building aws-sdk-cpp on which aws-sdk-tcl relies is not the easiest of tasks.

If you need further info, please do not hesitate and let me know.

Re: AWS

<b1bf73a5af8d11ccd4cab9d65598b0e5@www.rocksolidbbs.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=13693&group=comp.lang.tcl#13693

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!.POSTED!not-for-mail
From: neophytos@gmail.com (neophytos)
Newsgroups: comp.lang.tcl
Subject: Re: AWS
Date: Sun, 21 Apr 2024 11:58:55 +0000
Organization: RetroBBS
Message-ID: <b1bf73a5af8d11ccd4cab9d65598b0e5@www.rocksolidbbs.com>
References: <uvciae$2ki77$1@dont-email.me> <uvclu8$2l7m4$1@dont-email.me> <uvdnlf$2v8c9$1@dont-email.me> <uvergj$36jq6$1@dont-email.me> <uvg0l9$3h7sp$1@dont-email.me> <cc518ed85be90ff5af229f646588819c@www.rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="1886548"; mail-complaints-to="usenet@i2pn2.org";
posting-account="Pgsew/qd0TVpD67EUMbtEEGYbgqSVET5HYnKbd1w6Ig";
User-Agent: Rocksolid Light
X-Rslight-Site: $2y$10$BBe5eDYzlyk.NutWhs0I9.vSYNfCQXGJE3ff8pWmKQkzOXdCI4cTi
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Rslight-Posting-User: 9f62665e0dacc37995fc39d054ae1468bcc18b3c
 by: neophytos - Sun, 21 Apr 2024 11:58 UTC

Added multiple S3 examples with comments here:
https://github.com/jerily/aws-sdk-tcl/tree/main/src/aws-sdk-tcl-s3/examples

I will do the same for the rest of the modules in aws-sdk-tcl (dynamodb, sqs, lambda, and so on).

Re: AWS

<v0bt9o$2htq6$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=13705&group=comp.lang.tcl#13705

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: saitology9@gmail.com (saito)
Newsgroups: comp.lang.tcl
Subject: Re: AWS
Date: Wed, 24 Apr 2024 17:24:06 -0400
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <v0bt9o$2htq6$1@dont-email.me>
References: <uvciae$2ki77$1@dont-email.me> <uvclu8$2l7m4$1@dont-email.me>
<uvdnlf$2v8c9$1@dont-email.me> <uvergj$36jq6$1@dont-email.me>
<uvg0l9$3h7sp$1@dont-email.me>
<cc518ed85be90ff5af229f646588819c@www.rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 24 Apr 2024 23:24:09 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="25e37690f6543b7ce5e76a7b9cfacbc3";
logging-data="2684742"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX190jG55XWPihaoD4X6kbBBT"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:10zfC1Za9XgyIGbsTquuuhcYWH0=
In-Reply-To: <cc518ed85be90ff5af229f646588819c@www.rocksolidbbs.com>
Content-Language: en-US
 by: saito - Wed, 24 Apr 2024 21:24 UTC

On 4/17/2024 9:11 AM, neophytos wrote:
> Sorry, I was not following the discussion earlier. Just released 1.0.4,
> which supports credentials in config dict and trace var in create client
> command.
>
....
>
> I understand that building aws-sdk-cpp on which aws-sdk-tcl relies is
> not the easiest of tasks.
>
> If you need further info, please do not hesitate and let me know.

Thank you. This is helpful. I don't have time at the moment to make
progress on this topic but I will return to it in a month or so.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor