Module Values.GetBenefitAllocationOutputSource

Retrieves detailed information about a specific benefit allocation that has been granted to a partner.

Sourcetype nonrec t = {
  1. id : BenefitAllocationId.t option;
    (*

    The unique identifier of the benefit allocation.

    *)
  2. catalog : CatalogName.t option;
    (*

    The catalog identifier that the benefit allocation belongs to.

    *)
  3. arn : BenefitAllocationArn.t option;
    (*

    The Amazon Resource Name (ARN) of the benefit allocation.

    *)
  4. name : String_.t option;
    (*

    The human-readable name of the benefit allocation.

    *)
  5. description : String_.t option;
    (*

    A detailed description of the benefit allocation.

    *)
  6. status : BenefitAllocationStatus.t option;
    (*

    The current status of the benefit allocation (e.g., active, expired, consumed).

    *)
  7. statusReason : String_.t option;
    (*

    Additional information explaining the current status of the benefit allocation.

    *)
  8. benefitApplicationId : BenefitApplicationId.t option;
    (*

    The identifier of the benefit application that resulted in this allocation.

    *)
  9. benefitId : BenefitId.t option;
    (*

    The identifier of the benefit that this allocation is based on.

    *)
  10. fulfillmentType : FulfillmentType.t option;
    (*

    The fulfillment type used for this benefit allocation.

    *)
  11. applicableBenefitIds : BenefitIdentifiers.t option;
    (*

    A list of benefit identifiers that this allocation can be applied to.

    *)
  12. fulfillmentDetail : FulfillmentDetails.t option;
    (*

    Detailed information about how the benefit allocation is fulfilled.

    *)
  13. createdAt : Timestamp.t option;
    (*

    The timestamp when the benefit allocation was created.

    *)
  14. updatedAt : Timestamp.t option;
    (*

    The timestamp when the benefit allocation was last updated.

    *)
  15. startsAt : Timestamp.t option;
    (*

    The timestamp when the benefit allocation becomes active and usable.

    *)
  16. expiresAt : Timestamp.t option;
    (*

    The timestamp when the benefit allocation expires and is no longer usable.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?id:??? -> ?catalog:??? -> ?arn:??? -> ?name:??? -> ?description:??? -> ?status:??? -> ?statusReason:??? -> ?benefitApplicationId:??? -> ?benefitId:??? -> ?fulfillmentType:??? -> ?applicableBenefitIds:??? -> ?fulfillmentDetail:??? -> ?createdAt:??? -> ?updatedAt:??? -> ?startsAt:??? -> ?expiresAt:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of BenefitId.t ] list | `String of BenefitAllocationId.t | `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of String_.t | `Structure of (string * [> `Enum of string | `String of String_.t ]) list | `Timestamp of Timestamp.t ]) list ] list | `String of String_.t | `Structure of (string * [> `Enum of string | `String of String_.t | `Structure of (string * [> `Enum of string | `String of String_.t ]) list | `Timestamp of Timestamp.t ]) list ]) list ]) list | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t