File: aws.cabal

package info (click to toggle)
haskell-aws 0.24.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 868 kB
  • sloc: haskell: 9,593; makefile: 2
file content (478 lines) | stat: -rw-r--r-- 14,997 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
Name:                aws
Version:             0.24.1
Synopsis:            Amazon Web Services (AWS) for Haskell
Description:         Bindings for Amazon Web Services (AWS), with the aim of supporting all AWS services. To see a high level overview of the library, see the README at <https://github.com/aristidb/aws/blob/master/README.md>.
Homepage:            http://github.com/aristidb/aws
License:             BSD3
License-file:        LICENSE
Author:              Aristid Breitkreuz, contributors see README
Maintainer:          aristidb@gmail.com
Copyright:           See contributors list in README and LICENSE file
Category:            Network, Web, AWS, Cloud, Distributed Computing
Build-type:          Simple

Extra-source-files:  README.md
                     CHANGELOG.md

Cabal-version:       >=1.10

Source-repository this
  type: git
  location: https://github.com/aristidb/aws.git
  tag: 0.24

Source-repository head
  type: git
  location: https://github.com/aristidb/aws.git

Flag Examples
  Description: Build the examples.
  Default: False

Flag NetworkBSD
  Description: Build with network-3.0 which split out network-bsd
  Default: True

Library
  Exposed-modules:
                       Aws
                       Aws.Aws
                       Aws.Core
                       Aws.DynamoDb
                       Aws.DynamoDb.Commands
                       Aws.DynamoDb.Commands.BatchGetItem
                       Aws.DynamoDb.Commands.BatchWriteItem
                       Aws.DynamoDb.Commands.DeleteItem
                       Aws.DynamoDb.Commands.GetItem
                       Aws.DynamoDb.Commands.PutItem
                       Aws.DynamoDb.Commands.Query
                       Aws.DynamoDb.Commands.Scan
                       Aws.DynamoDb.Commands.Table
                       Aws.DynamoDb.Commands.UpdateItem
                       Aws.DynamoDb.Core
                       Aws.Ec2.InstanceMetadata
                       Aws.Iam
                       Aws.Iam.Commands
                       Aws.Iam.Commands.AddUserToGroup
                       Aws.Iam.Commands.CreateAccessKey
                       Aws.Iam.Commands.CreateGroup
                       Aws.Iam.Commands.CreateUser
                       Aws.Iam.Commands.DeleteAccessKey
                       Aws.Iam.Commands.DeleteGroup
                       Aws.Iam.Commands.DeleteGroupPolicy
                       Aws.Iam.Commands.DeleteUser
                       Aws.Iam.Commands.DeleteUserPolicy
                       Aws.Iam.Commands.GetGroupPolicy
                       Aws.Iam.Commands.GetUser
                       Aws.Iam.Commands.GetUserPolicy
                       Aws.Iam.Commands.ListAccessKeys
                       Aws.Iam.Commands.ListMfaDevices
                       Aws.Iam.Commands.ListGroupPolicies
                       Aws.Iam.Commands.ListGroups
                       Aws.Iam.Commands.ListUserPolicies
                       Aws.Iam.Commands.ListUsers
                       Aws.Iam.Commands.PutGroupPolicy
                       Aws.Iam.Commands.PutUserPolicy
                       Aws.Iam.Commands.RemoveUserFromGroup
                       Aws.Iam.Commands.UpdateAccessKey
                       Aws.Iam.Commands.UpdateGroup
                       Aws.Iam.Commands.UpdateUser
                       Aws.Iam.Core
                       Aws.Iam.Internal
                       Aws.Network
                       Aws.S3
                       Aws.S3.Commands
                       Aws.S3.Commands.CopyObject
                       Aws.S3.Commands.DeleteBucket
                       Aws.S3.Commands.DeleteObject
                       Aws.S3.Commands.DeleteObjectVersion
                       Aws.S3.Commands.DeleteObjects
                       Aws.S3.Commands.GetBucket
                       Aws.S3.Commands.GetBucketLocation
                       Aws.S3.Commands.GetBucketObjectVersions
                       Aws.S3.Commands.GetObject
                       Aws.S3.Commands.GetService
                       Aws.S3.Commands.HeadObject
                       Aws.S3.Commands.PutBucket
                       Aws.S3.Commands.PutBucketVersioning
                       Aws.S3.Commands.PutObject
                       Aws.S3.Commands.Multipart
                       Aws.S3.Core
                       Aws.Ses
                       Aws.Ses.Commands
                       Aws.Ses.Commands.DeleteIdentity
                       Aws.Ses.Commands.GetIdentityDkimAttributes
                       Aws.Ses.Commands.GetIdentityNotificationAttributes
                       Aws.Ses.Commands.GetIdentityVerificationAttributes
                       Aws.Ses.Commands.ListIdentities
                       Aws.Ses.Commands.SendRawEmail
                       Aws.Ses.Commands.SetIdentityDkimEnabled
                       Aws.Ses.Commands.SetIdentityFeedbackForwardingEnabled
                       Aws.Ses.Commands.SetIdentityNotificationTopic
                       Aws.Ses.Commands.VerifyDomainDkim
                       Aws.Ses.Commands.VerifyDomainIdentity
                       Aws.Ses.Commands.VerifyEmailIdentity
                       Aws.Ses.Core
                       Aws.SimpleDb
                       Aws.SimpleDb.Commands
                       Aws.SimpleDb.Commands.Attributes
                       Aws.SimpleDb.Commands.Domain
                       Aws.SimpleDb.Commands.Select
                       Aws.SimpleDb.Core
                       Aws.Sqs
                       Aws.Sqs.Commands
                       Aws.Sqs.Commands.Message
                       Aws.Sqs.Commands.Permission
                       Aws.Sqs.Commands.Queue
                       Aws.Sqs.Commands.QueueAttributes
                       Aws.Sqs.Core

  Build-depends:
                       aeson                >= 2.0.0.0,
                       attoparsec           >= 0.11    && < 0.15,
                       base                 >= 4.9     && < 5,
                       base16-bytestring    >= 0.1     && < 1.1,
                       base64-bytestring    >= 1.0     && < 1.3,
                       blaze-builder        >= 0.2.1.4 && < 0.5,
                       byteable             == 0.1.*,
                       bytestring           >= 0.9     && < 0.12,
                       case-insensitive     >= 0.2     && < 1.3,
                       cereal               >= 0.3     && < 0.6,
                       conduit              >= 1.3     && < 1.4,
                       conduit-extra        >= 1.3     && < 1.4,
                       containers           >= 0.4,
                       cryptonite           >= 0.11,
                       data-default         >= 0.5.3   && < 0.8,
                       directory            >= 1.0     && < 2.0,
                       filepath             >= 1.1     && < 1.5,
                       http-conduit         >= 2.3     && < 2.4,
                       http-client-tls      >= 0.3     && < 0.4,
                       http-types           >= 0.7     && < 1.0,
                       lifted-base          >= 0.1     && < 0.3,
                       memory,
                       monad-control        >= 0.3,
                       exceptions           >= 0.8     && < 0.11,
                       mtl                  == 2.*,
                       old-locale           == 1.*,
                       resourcet            >= 1.2     && < 1.4,
                       safe                 >= 0.3     && < 0.4,
                       scientific           >= 0.3,
                       tagged               >= 0.7     && < 0.9,
                       text                 >= 0.11,
                       time                 >= 1.4.0   && < 2.0,
                       transformers         >= 0.2.2   && < 0.7,
                       unordered-containers >= 0.2,
                       utf8-string          >= 0.3     && < 1.1,
                       vector               >= 0.10,
                       xml-conduit          >= 1.8     && <2.0
  if flag(NetworkBSD)
    Build-depends: network == 3.*, network-bsd == 2.8.*
  else
    Build-depends: network == 2.*
 
  if !impl(ghc >= 7.6)
    Build-depends: ghc-prim

  if !impl(ghc >= 8.0)
    Build-depends: semigroups == 0.18.*

  GHC-Options: -Wall

  Default-Language: Haskell2010
  Default-Extensions:
        RecordWildCards,
        TypeFamilies,
        MultiParamTypeClasses,
        FlexibleContexts,
        FlexibleInstances,
        FunctionalDependencies,
        DeriveFunctor,
        DeriveDataTypeable,
        OverloadedStrings,
        TupleSections,
        ScopedTypeVariables,
        EmptyDataDecls,
        Rank2Types

Executable GetObjectV4
  Main-is: GetObjectV4.hs
  Hs-source-dirs: Examples

  if !flag(Examples)
    Buildable: False
  else
    Buildable: True
    Build-depends:
                       base == 4.*,
                       aws,
                       http-conduit,
                       conduit,
                       conduit-extra,
                       resourcet

  Default-Language: Haskell2010

Executable GetObject
  Main-is: GetObject.hs
  Hs-source-dirs: Examples

  if !flag(Examples)
    Buildable: False
  else
    Buildable: True
    Build-depends:
                       base == 4.*,
                       aws,
                       http-conduit,
                       conduit,
                       conduit-extra,
                       resourcet

  Default-Language: Haskell2010

Executable GetObjectGoogle
  Main-is: GetObjectGoogle.hs
  Hs-source-dirs: Examples

  if !flag(Examples)
    Buildable: False
  else
    Buildable: True
    Build-depends:
                       base == 4.*,
                       aws,
                       http-conduit,
                       conduit,
                       conduit-extra,
                       resourcet

  Default-Language: Haskell2010

Executable MultipartUpload
  Main-is: MultipartUpload.hs
  Hs-source-dirs: Examples

  if !flag(Examples)
    Buildable: False
  else
    Buildable: True
    Build-depends:
                       base == 4.*,
                       aws,
                       bytestring,
                       http-conduit,
                       conduit,
                       conduit-extra,
                       text,
                       resourcet

  Default-Language: Haskell2010

Executable MultipartTransfer
  Main-is: MultipartTransfer.hs
  Hs-source-dirs: Examples

  if !flag(Examples)
    Buildable: False
  else
    Buildable: True
    Build-depends:
                       base == 4.*,
                       aws,
                       http-conduit,
                       conduit,
                       conduit-extra,
                       text,
                       resourcet

  Default-Language: Haskell2010

Executable NukeBucket
  Main-is: NukeBucket.hs
  Hs-source-dirs: Examples

  if !flag(Examples)
    Buildable: False
  else
    Buildable: True
    Build-depends:
                       base == 4.*,
                       aws,
                       http-conduit,
                       conduit,
                       conduit-extra,
                       text >=0.1,
                       transformers,
                       resourcet

  Default-Language: Haskell2010

Executable PutBucketNearLine
  Main-is: PutBucketNearLine.hs
  Hs-source-dirs: Examples

  if !flag(Examples)
    Buildable: False
  else
    Buildable: True
    Build-depends:
                       base == 4.*,
                       aws,
                       http-conduit,
                       conduit,
                       conduit-extra,
                       text >=0.1,
                       transformers,
                       resourcet

  Default-Language: Haskell2010

Executable SimpleDb
  Main-is: SimpleDb.hs
  Hs-source-dirs: Examples

  if !flag(Examples)
    Buildable: False
  else
    Buildable: True
    Build-depends:
                       base == 4.*,
                       aws,
                       text >=0.11

  Default-Language: Haskell2010

Executable DynamoDb
  Main-is: DynamoDb.hs
  Hs-source-dirs: Examples

  if !flag(Examples)
    Buildable: False
  else
    Buildable: True
    Build-depends:
                       aws,
                       base == 4.*,
                       data-default,
                       exceptions,
                       http-conduit,
                       resourcet,
                       text,
                       conduit

  Default-Language: Haskell2010


Executable Sqs
  Main-is: Sqs.hs
  Hs-source-dirs: Examples

  if !flag(Examples)
    Buildable: False
  else
    Buildable: True
    Build-depends:
                       base == 4.*,
                       aws,
                       errors >= 2.0,
                       text >=0.11,
                       transformers >= 0.3

  Default-Language: Haskell2010

test-suite sqs-tests
    type: exitcode-stdio-1.0
    default-language: Haskell2010
    hs-source-dirs: tests
    main-is: Sqs/Main.hs

    other-modules:
        Utils

    build-depends:
        QuickCheck >= 2.7,
        aeson >= 0.7,
        aws,
        base == 4.*,
        bytestring >= 0.10,
        errors >= 2.0,
        http-client >= 0.3 && < 0.8,
        lifted-base >= 0.2,
        monad-control >= 0.3,
        mtl >= 2.1,
        quickcheck-instances >= 0.3,
        resourcet >= 1.1,
        tagged >= 0.7,
        tasty >= 0.8,
        tasty-quickcheck >= 0.8,
        text >= 1.1,
        time,
        transformers >= 0.3,
        transformers-base >= 0.4

    ghc-options: -Wall -threaded

test-suite dynamodb-tests
    type: exitcode-stdio-1.0
    default-language: Haskell2010
    hs-source-dirs: tests
    main-is: DynamoDb/Main.hs

    other-modules:
        Utils
        DynamoDb.Utils

    build-depends:
        QuickCheck >= 2.7,
        aeson >= 0.7,
        aws,
        base == 4.*,
        bytestring >= 0.10,
        errors >= 2.0,
        http-client >= 0.3,
        lifted-base >= 0.2,
        monad-control >= 0.3,
        mtl >= 2.1,
        quickcheck-instances >= 0.3,
        resourcet >= 1.1,
        tagged >= 0.7,
        tasty >= 0.8,
        tasty-quickcheck >= 0.8,
        text >= 1.1,
        time,
        transformers >= 0.3,
        transformers-base >= 0.4


test-suite s3-tests
    type: exitcode-stdio-1.0
    default-language: Haskell2010
    hs-source-dirs: tests
    main-is: S3/Main.hs

    other-modules:
        Utils

    build-depends:
        aws,
        base == 4.*,
        QuickCheck >= 2.7,
        aeson >= 0.7,
        bytestring,
        conduit,
        errors >= 2.0,
        lifted-base >= 0.2,
        monad-control >= 0.3,
        mtl >= 2.1,
        http-client < 0.8,
        http-client-tls < 0.5,
        http-types,
        resourcet,
        tasty >= 0.8,
        tasty-hunit >= 0.8,
        tasty-quickcheck >= 0.8,
        text,
        time,
        tagged >= 0.7,
        transformers >= 0.3,
        transformers-base >= 0.4