package smaws-clients

  1. Overview
  2. Docs
Amazon Web Services SDK clients using EIO

Install

Dune Dependency

Authors

Maintainers

Sources

0.1.preview1.tar.gz
md5=18fb70dbc45e8d81a341b9bed6871bab
sha512=7607dc98acaeed5803b44c9ca32d90c88e7813d4b3e3ae4ec661a0bad16c88dc1476bc780877527ea4cd5a4b7398453c1bb600ce0db14d39afa05dc4762b5ba5

doc/src/smaws-clients.marketplace-agreement/types.ml.html

Source file types.ml

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
open Smaws_Lib
let service =
  Service.{
    namespace = "<blank>";
    endpointPrefix = "agreement-marketplace";
    version = "2020-03-01";
    protocol = AwsJson_1_0
  };
type validity_term = {
  agreement_end_date: float option;
  agreement_start_date: float option;
  agreement_duration: string option;
  type_: string option
}

type validation_exception_reason = | OTHER
  | UNSUPPORTED_FILTERS
  | INVALID_MAX_RESULTS
  | INVALID_NEXT_TOKEN
  | INVALID_SORT_ORDER
  | INVALID_SORT_BY
  | INVALID_FILTER_VALUES
  | INVALID_FILTER_NAME
  | INVALID_CATALOG
  | MISSING_AGREEMENT_ID
  | INVALID_AGREEMENT_ID

type validation_exception_field = {
  message: string;
  name: string
}

type validation_exception = {
  fields: validation_exception_field list option;
  reason: validation_exception_reason option;
  message: string option;
  request_id: string option
}

type rate_card_item = {
  price: string option;
  dimension_key: string option
}

type usage_based_rate_card_item = {
  rate_card: rate_card_item list option
}

type usage_based_pricing_term = {
  rate_cards: usage_based_rate_card_item list option;
  currency_code: string option;
  type_: string option
}

type throttling_exception = {
  message: string option;
  request_id: string option
}

type support_term = {
  refund_policy: string option;
  type_: string option
}

type sort_order = | DESCENDING
  | ASCENDING

type sort = {
  sort_order: sort_order option;
  sort_by: string option
}

type selector = {
  value: string option;
  type_: string option
}

type acceptor = {
  account_id: string option
}

type proposer = {
  account_id: string option
}

type resource = {
  type_: string option;
  id: string option
}

type proposal_summary = {
  offer_id: string option;
  resources: resource list option
}

type agreement_status = | TERMINATED
  | SUPERSEDED
  | ROLLED_BACK
  | REPLACED
  | RENEWED
  | EXPIRED
  | CANCELLED
  | ARCHIVED
  | ACTIVE

type agreement_view_summary = {
  status: agreement_status option;
  proposal_summary: proposal_summary option;
  proposer: proposer option;
  acceptor: acceptor option;
  agreement_type: string option;
  end_time: float option;
  start_time: float option;
  acceptance_time: float option;
  agreement_id: string option
}

type search_agreements_output = {
  next_token: string option;
  agreement_view_summaries: agreement_view_summary list option
}

type filter = {
  values: string list option;
  name: string option
}

type search_agreements_input = {
  next_token: string option;
  max_results: int option;
  sort: sort option;
  filters: filter list option;
  catalog: string option
}

type internal_server_exception = {
  message: string option;
  request_id: string option
}

type access_denied_exception = {
  message: string option;
  request_id: string option
}

type schedule_item = {
  charge_amount: string option;
  charge_date: float option
}

type resource_type = | AGREEMENT

type resource_not_found_exception = {
  resource_type: resource_type option;
  resource_id: string option;
  message: string option;
  request_id: string option
}

type renewal_term_configuration = {
  enable_auto_renew: bool
}

type renewal_term = {
  configuration: renewal_term_configuration option;
  type_: string option
}

type recurring_payment_term = {
  price: string option;
  billing_period: string option;
  currency_code: string option;
  type_: string option
}

type payment_schedule_term = {
  schedule: schedule_item list option;
  currency_code: string option;
  type_: string option
}

type document_item = {
  version: string option;
  url: string option;
  type_: string option
}

type legal_term = {
  documents: document_item list option;
  type_: string option
}

type grant_item = {
  max_quantity: int option;
  dimension_key: string option
}

type constraints = {
  quantity_configuration: string option;
  multiple_dimension_selection: string option
}

type configurable_upfront_rate_card_item = {
  rate_card: rate_card_item list option;
  constraints: constraints option;
  selector: selector option
}

type dimension = {
  dimension_value: int;
  dimension_key: string
}

type configurable_upfront_pricing_term_configuration = {
  dimensions: dimension list;
  selector_value: string
}

type configurable_upfront_pricing_term = {
  configuration: configurable_upfront_pricing_term_configuration option;
  rate_cards: configurable_upfront_rate_card_item list option;
  currency_code: string option;
  type_: string option
}

type byol_pricing_term = {
  type_: string option
}

type free_trial_pricing_term = {
  grants: grant_item list option;
  duration: string option;
  type_: string option
}

type fixed_upfront_pricing_term = {
  grants: grant_item list option;
  price: string option;
  duration: string option;
  currency_code: string option;
  type_: string option
}

type accepted_term = FixedUpfrontPricingTerm of fixed_upfront_pricing_term | FreeTrialPricingTerm of free_trial_pricing_term | PaymentScheduleTerm of payment_schedule_term | ValidityTerm of validity_term | RecurringPaymentTerm of recurring_payment_term | ByolPricingTerm of byol_pricing_term | ConfigurableUpfrontPricingTerm of configurable_upfront_pricing_term | UsageBasedPricingTerm of usage_based_pricing_term | RenewalTerm of renewal_term | SupportTerm of support_term | LegalTerm of legal_term

type get_agreement_terms_output = {
  next_token: string option;
  accepted_terms: accepted_term list option
}

type get_agreement_terms_input = {
  next_token: string option;
  max_results: int option;
  agreement_id: string
}

type estimated_charges = {
  agreement_value: string option;
  currency_code: string option
}

type describe_agreement_output = {
  status: agreement_status option;
  proposal_summary: proposal_summary option;
  estimated_charges: estimated_charges option;
  agreement_type: string option;
  acceptance_time: float option;
  end_time: float option;
  start_time: float option;
  proposer: proposer option;
  acceptor: acceptor option;
  agreement_id: string option
}

type describe_agreement_input = {
  agreement_id: string
}



type base_document = Json.t

OCaml

Innovation. Community. Security.