From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a37:4c9:: with SMTP id 192mr30866472qke.177.1568128415205; Tue, 10 Sep 2019 08:13:35 -0700 (PDT) X-Received: by 2002:a9d:7750:: with SMTP id t16mr9608169otl.22.1568128414963; Tue, 10 Sep 2019 08:13:34 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!o24no5357912qtl.0!news-out.google.com!c11ni858qtp.0!nntp.google.com!o24no5357906qtl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 10 Sep 2019 08:13:34 -0700 (PDT) In-Reply-To: <5c1920b0-ca9b-4d88-9f2a-97ab47f66389@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=75.112.170.98; posting-account=B4v_IQoAAABtshpgRNPbXpnR-jYxagWq NNTP-Posting-Host: 75.112.170.98 References: <4a0d83a5-3a12-4456-8f3c-abae885b5ba9@googlegroups.com> <5c1920b0-ca9b-4d88-9f2a-97ab47f66389@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: AWS (Amazon Web Services) Libraries for Ada From: John Singleton Injection-Date: Tue, 10 Sep 2019 15:13:35 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:57124 Date: 2019-09-10T08:13:34-07:00 List-Id: On Tuesday, September 10, 2019 at 11:01:31 AM UTC-4, Lucretia wrote: > On Tuesday, 10 September 2019 13:37:04 UTC+1, jsin...@gmail.com wrote: > =20 > > I'm working on a project where I will be using AWS services (S3, SQS, a= nd SNS to start) and I was wondering if anyone knows about a ADA library fo= r these services.=20 >=20 > I would seriously doubt there is one. > =20 > > I've looked around and don't see one --- would my best bet be to build = a binding to the C++ AWS apis? >=20 > If they have C rather than C++ API's, use that, it'll be a ton easier. If= they don't, it's not going to be pleasant, see https://github.com/Lucretia= /test_binding for an example of how to do it by hand. >=20 > GCC and G++ have switches to create bindings, but these bindings once gen= erated need to be wrapped in an Ada layer to do things properly, such as de= structors, i.e. they don't get generated and don't work. When we (charlie5 = on #Ada) last looked, the app would crash in certain circumstances. Hi Lucretia, Thanks for your reply.=20 There *is* an C API, but it isn't official. I was looking at how they struc= ture the API and it looks like REST -- so I'm wondering if perhaps my best = path forward isn't just to talk directly to the REST API. I'll lose the aut= omatic support for loading credentials but that should be easy enough to im= plement...