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
open Awso_kinesis
open Awso_async
module Io = Http.Io
let eval ?endpoint_url ?cfg endpoint input =
Io.bind (Io.resolve_cfg cfg)
(fun cfg ->
let meth = Endpoints.method_of_endpoint endpoint in
let uri = Endpoints.uri_of_endpoint endpoint input in
Io.map
(Io.call ?endpoint_url ~cfg ~service:Values.service meth
(Endpoints.to_request endpoint input) uri)
(fun resp_result -> Endpoints.of_response endpoint resp_result))
let add_tags_to_stream ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AddTagsToStream input
let create_stream ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateStream input
let decrease_stream_retention_period ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DecreaseStreamRetentionPeriod input
let delete_resource_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteResourcePolicy input
let delete_stream ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteStream input
let deregister_stream_consumer ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeregisterStreamConsumer input
let describe_account_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeAccountSettings input
let describe_limits ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeLimits input
let describe_stream ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeStream input
let describe_stream_consumer ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeStreamConsumer input
let describe_stream_summary ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeStreamSummary input
let disable_enhanced_monitoring ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DisableEnhancedMonitoring input
let enable_enhanced_monitoring ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.EnableEnhancedMonitoring input
let get_records ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetRecords input
let get_resource_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetResourcePolicy input
let get_shard_iterator ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetShardIterator input
let increase_stream_retention_period ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.IncreaseStreamRetentionPeriod input
let list_shards ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListShards input
let list_stream_consumers ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListStreamConsumers input
let list_streams ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListStreams input
let list_tags_for_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let list_tags_for_stream ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTagsForStream input
let merge_shards ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.MergeShards input
let put_record ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutRecord input
let put_records ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutRecords input
let put_resource_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutResourcePolicy input
let register_stream_consumer ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.RegisterStreamConsumer input
let remove_tags_from_stream ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.RemoveTagsFromStream input
let split_shard ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.SplitShard input
let start_stream_encryption ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartStreamEncryption input
let stop_stream_encryption ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StopStreamEncryption input
let subscribe_to_shard ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.SubscribeToShard input
let tag_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.TagResource input
let untag_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UntagResource input
let update_account_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateAccountSettings input
let update_max_record_size ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateMaxRecordSize input
let update_shard_count ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateShardCount input
let update_stream_mode ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateStreamMode input
let update_stream_warm_throughput ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateStreamWarmThroughput input