package smaws-clients

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type validity_term = {
  1. agreement_end_date : float option;
  2. agreement_start_date : float option;
  3. agreement_duration : string option;
  4. type_ : string option;
}
type validation_exception_reason =
  1. | OTHER
  2. | UNSUPPORTED_FILTERS
  3. | INVALID_MAX_RESULTS
  4. | INVALID_NEXT_TOKEN
  5. | INVALID_SORT_ORDER
  6. | INVALID_SORT_BY
  7. | INVALID_FILTER_VALUES
  8. | INVALID_FILTER_NAME
  9. | INVALID_CATALOG
  10. | MISSING_AGREEMENT_ID
  11. | INVALID_AGREEMENT_ID
type validation_exception_field = {
  1. message : string;
  2. name : string;
}
type validation_exception = {
  1. fields : validation_exception_field list option;
  2. reason : validation_exception_reason option;
  3. message : string option;
  4. request_id : string option;
}
type rate_card_item = {
  1. price : string option;
  2. dimension_key : string option;
}
type usage_based_rate_card_item = {
  1. rate_card : rate_card_item list option;
}
type usage_based_pricing_term = {
  1. rate_cards : usage_based_rate_card_item list option;
  2. currency_code : string option;
  3. type_ : string option;
}
type throttling_exception = {
  1. message : string option;
  2. request_id : string option;
}
type support_term = {
  1. refund_policy : string option;
  2. type_ : string option;
}
type sort_order =
  1. | DESCENDING
  2. | ASCENDING
type sort = {
  1. sort_order : sort_order option;
  2. sort_by : string option;
}
type selector = {
  1. value : string option;
  2. type_ : string option;
}
type acceptor = {
  1. account_id : string option;
}
type proposer = {
  1. account_id : string option;
}
type resource = {
  1. type_ : string option;
  2. id : string option;
}
type proposal_summary = {
  1. offer_id : string option;
  2. resources : resource list option;
}
type agreement_status =
  1. | TERMINATED
  2. | SUPERSEDED
  3. | ROLLED_BACK
  4. | REPLACED
  5. | RENEWED
  6. | EXPIRED
  7. | CANCELLED
  8. | ARCHIVED
  9. | ACTIVE
type agreement_view_summary = {
  1. status : agreement_status option;
  2. proposal_summary : proposal_summary option;
  3. proposer : proposer option;
  4. acceptor : acceptor option;
  5. agreement_type : string option;
  6. end_time : float option;
  7. start_time : float option;
  8. acceptance_time : float option;
  9. agreement_id : string option;
}
type search_agreements_output = {
  1. next_token : string option;
  2. agreement_view_summaries : agreement_view_summary list option;
}
type filter = {
  1. values : string list option;
  2. name : string option;
}
type search_agreements_input = {
  1. next_token : string option;
  2. max_results : int option;
  3. sort : sort option;
  4. filters : filter list option;
  5. catalog : string option;
}
type internal_server_exception = {
  1. message : string option;
  2. request_id : string option;
}
type access_denied_exception = {
  1. message : string option;
  2. request_id : string option;
}
type schedule_item = {
  1. charge_amount : string option;
  2. charge_date : float option;
}
type resource_type =
  1. | AGREEMENT
type resource_not_found_exception = {
  1. resource_type : resource_type option;
  2. resource_id : string option;
  3. message : string option;
  4. request_id : string option;
}
type renewal_term_configuration = {
  1. enable_auto_renew : bool;
}
type renewal_term = {
  1. configuration : renewal_term_configuration option;
  2. type_ : string option;
}
type recurring_payment_term = {
  1. price : string option;
  2. billing_period : string option;
  3. currency_code : string option;
  4. type_ : string option;
}
type payment_schedule_term = {
  1. schedule : schedule_item list option;
  2. currency_code : string option;
  3. type_ : string option;
}
type document_item = {
  1. version : string option;
  2. url : string option;
  3. type_ : string option;
}
type grant_item = {
  1. max_quantity : int option;
  2. dimension_key : string option;
}
type constraints = {
  1. quantity_configuration : string option;
  2. multiple_dimension_selection : string option;
}
type configurable_upfront_rate_card_item = {
  1. rate_card : rate_card_item list option;
  2. constraints : constraints option;
  3. selector : selector option;
}
type dimension = {
  1. dimension_value : int;
  2. dimension_key : string;
}
type configurable_upfront_pricing_term_configuration = {
  1. dimensions : dimension list;
  2. selector_value : string;
}
type configurable_upfront_pricing_term = {
  1. configuration : configurable_upfront_pricing_term_configuration option;
  2. rate_cards : configurable_upfront_rate_card_item list option;
  3. currency_code : string option;
  4. type_ : string option;
}
type byol_pricing_term = {
  1. type_ : string option;
}
type free_trial_pricing_term = {
  1. grants : grant_item list option;
  2. duration : string option;
  3. type_ : string option;
}
type fixed_upfront_pricing_term = {
  1. grants : grant_item list option;
  2. price : string option;
  3. duration : string option;
  4. currency_code : string option;
  5. type_ : string option;
}
type accepted_term =
  1. | FixedUpfrontPricingTerm of fixed_upfront_pricing_term
  2. | FreeTrialPricingTerm of free_trial_pricing_term
  3. | PaymentScheduleTerm of payment_schedule_term
  4. | ValidityTerm of validity_term
  5. | RecurringPaymentTerm of recurring_payment_term
  6. | ByolPricingTerm of byol_pricing_term
  7. | ConfigurableUpfrontPricingTerm of configurable_upfront_pricing_term
  8. | UsageBasedPricingTerm of usage_based_pricing_term
  9. | RenewalTerm of renewal_term
  10. | SupportTerm of support_term
  11. | LegalTerm of legal_term
type get_agreement_terms_output = {
  1. next_token : string option;
  2. accepted_terms : accepted_term list option;
}
type get_agreement_terms_input = {
  1. next_token : string option;
  2. max_results : int option;
  3. agreement_id : string;
}
type estimated_charges = {
  1. agreement_value : string option;
  2. currency_code : string option;
}
type describe_agreement_output = {
  1. status : agreement_status option;
  2. proposal_summary : proposal_summary option;
  3. estimated_charges : estimated_charges option;
  4. agreement_type : string option;
  5. acceptance_time : float option;
  6. end_time : float option;
  7. start_time : float option;
  8. proposer : proposer option;
  9. acceptor : acceptor option;
  10. agreement_id : string option;
}
type describe_agreement_input = {
  1. agreement_id : string;
}
type base_document = Smaws_Lib.Json.t
val make_validity_term : ?agreement_end_date:float -> ?agreement_start_date:float -> ?agreement_duration:string -> ?type_:string -> unit -> validity_term
val make_validation_exception_field : message:string -> name:string -> unit -> validation_exception_field
val make_rate_card_item : ?price:string -> ?dimension_key:string -> unit -> rate_card_item
val make_usage_based_rate_card_item : ?rate_card:rate_card_item list -> unit -> usage_based_rate_card_item
val make_usage_based_pricing_term : ?rate_cards:usage_based_rate_card_item list -> ?currency_code:string -> ?type_:string -> unit -> usage_based_pricing_term
val make_support_term : ?refund_policy:string -> ?type_:string -> unit -> support_term
val make_sort : ?sort_order:sort_order -> ?sort_by:string -> unit -> sort
val make_selector : ?value:string -> ?type_:string -> unit -> selector
val make_acceptor : ?account_id:string -> unit -> acceptor
val make_proposer : ?account_id:string -> unit -> proposer
val make_resource : ?type_:string -> ?id:string -> unit -> resource
val make_proposal_summary : ?offer_id:string -> ?resources:resource list -> unit -> proposal_summary
val make_agreement_view_summary : ?status:agreement_status -> ?proposal_summary:proposal_summary -> ?proposer:proposer -> ?acceptor:acceptor -> ?agreement_type:string -> ?end_time:float -> ?start_time:float -> ?acceptance_time:float -> ?agreement_id:string -> unit -> agreement_view_summary
val make_search_agreements_output : ?next_token:string -> ?agreement_view_summaries:agreement_view_summary list -> unit -> search_agreements_output
val make_filter : ?values:string list -> ?name:string -> unit -> filter
val make_search_agreements_input : ?next_token:string -> ?max_results:int -> ?sort:sort -> ?filters:filter list -> ?catalog:string -> unit -> search_agreements_input
val make_schedule_item : ?charge_amount:string -> ?charge_date:float -> unit -> schedule_item
val make_renewal_term_configuration : enable_auto_renew:bool -> unit -> renewal_term_configuration
val make_renewal_term : ?configuration:renewal_term_configuration -> ?type_:string -> unit -> renewal_term
val make_recurring_payment_term : ?price:string -> ?billing_period:string -> ?currency_code:string -> ?type_:string -> unit -> recurring_payment_term
val make_payment_schedule_term : ?schedule:schedule_item list -> ?currency_code:string -> ?type_:string -> unit -> payment_schedule_term
val make_document_item : ?version:string -> ?url:string -> ?type_:string -> unit -> document_item
val make_grant_item : ?max_quantity:int -> ?dimension_key:string -> unit -> grant_item
val make_constraints : ?quantity_configuration:string -> ?multiple_dimension_selection:string -> unit -> constraints
val make_configurable_upfront_rate_card_item : ?rate_card:rate_card_item list -> ?constraints:constraints -> ?selector:selector -> unit -> configurable_upfront_rate_card_item
val make_dimension : dimension_value:int -> dimension_key:string -> unit -> dimension
val make_configurable_upfront_pricing_term_configuration : dimensions:dimension list -> selector_value:string -> unit -> configurable_upfront_pricing_term_configuration
val make_configurable_upfront_pricing_term : ?configuration:configurable_upfront_pricing_term_configuration -> ?rate_cards:configurable_upfront_rate_card_item list -> ?currency_code:string -> ?type_:string -> unit -> configurable_upfront_pricing_term
val make_byol_pricing_term : ?type_:string -> unit -> byol_pricing_term
val make_free_trial_pricing_term : ?grants:grant_item list -> ?duration:string -> ?type_:string -> unit -> free_trial_pricing_term
val make_fixed_upfront_pricing_term : ?grants:grant_item list -> ?price:string -> ?duration:string -> ?currency_code:string -> ?type_:string -> unit -> fixed_upfront_pricing_term
val make_get_agreement_terms_output : ?next_token:string -> ?accepted_terms:accepted_term list -> unit -> get_agreement_terms_output
val make_get_agreement_terms_input : ?next_token:string -> ?max_results:int -> agreement_id:string -> unit -> get_agreement_terms_input
val make_estimated_charges : ?agreement_value:string -> ?currency_code:string -> unit -> estimated_charges
val make_describe_agreement_output : ?status:agreement_status -> ?proposal_summary:proposal_summary -> ?estimated_charges:estimated_charges -> ?agreement_type:string -> ?acceptance_time:float -> ?end_time:float -> ?start_time:float -> ?proposer:proposer -> ?acceptor:acceptor -> ?agreement_id:string -> unit -> describe_agreement_output
val make_describe_agreement_input : agreement_id:string -> unit -> describe_agreement_input
module SearchAgreements : sig ... end
module GetAgreementTerms : sig ... end
module DescribeAgreement : sig ... end
OCaml

Innovation. Community. Security.