Values.GetBenefitAllocationOutputSourceRetrieves detailed information about a specific benefit allocation that has been granted to a partner.
type nonrec t = {id : BenefitAllocationId.t option;The unique identifier of the benefit allocation.
*)catalog : CatalogName.t option;The catalog identifier that the benefit allocation belongs to.
*)arn : BenefitAllocationArn.t option;The Amazon Resource Name (ARN) of the benefit allocation.
*)name : String_.t option;The human-readable name of the benefit allocation.
*)description : String_.t option;A detailed description of the benefit allocation.
*)status : BenefitAllocationStatus.t option;The current status of the benefit allocation (e.g., active, expired, consumed).
*)statusReason : String_.t option;Additional information explaining the current status of the benefit allocation.
*)benefitApplicationId : BenefitApplicationId.t option;The identifier of the benefit application that resulted in this allocation.
*)benefitId : BenefitId.t option;The identifier of the benefit that this allocation is based on.
*)fulfillmentType : FulfillmentType.t option;The fulfillment type used for this benefit allocation.
*)applicableBenefitIds : BenefitIdentifiers.t option;A list of benefit identifiers that this allocation can be applied to.
*)fulfillmentDetail : FulfillmentDetails.t option;Detailed information about how the benefit allocation is fulfilled.
*)createdAt : Timestamp.t option;The timestamp when the benefit allocation was created.
*)updatedAt : Timestamp.t option;The timestamp when the benefit allocation was last updated.
*)startsAt : Timestamp.t option;The timestamp when the benefit allocation becomes active and usable.
*)expiresAt : Timestamp.t option;The timestamp when the benefit allocation expires and is no longer usable.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val make :
?id:??? ->
?catalog:??? ->
?arn:??? ->
?name:??? ->
?description:??? ->
?status:??? ->
?statusReason:??? ->
?benefitApplicationId:??? ->
?benefitId:??? ->
?fulfillmentType:??? ->
?applicableBenefitIds:??? ->
?fulfillmentDetail:??? ->
?createdAt:??? ->
?updatedAt:??? ->
?startsAt:??? ->
?expiresAt:??? ->
unit ->
tval 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 ]val 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 ]val 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 ]