Module Values.GetBenefitOutputSource

Retrieves detailed information about a specific benefit available in the partner catalog.

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

    The unique identifier of the benefit.

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

    The catalog identifier that the benefit belongs to.

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

    The Amazon Resource Name (ARN) of the benefit.

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

    The human-readable name of the benefit.

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

    A detailed description of the benefit and its purpose.

    *)
  6. programs : Programs.t option;
    (*

    The AWS partner programs that this benefit is associated with.

    *)
  7. fulfillmentTypes : FulfillmentTypes.t option;
    (*

    The available fulfillment types for this benefit (e.g., credits, access, disbursement).

    *)
  8. benefitRequestSchema : Document.t option;
    (*

    The schema definition that describes the required fields for requesting this benefit.

    *)
  9. status : BenefitStatus.t option;
    (*

    The current status of the benefit (e.g., active, inactive, deprecated).

    *)
}
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:??? -> ?programs:??? -> ?fulfillmentTypes:??? -> ?benefitRequestSchema:??? -> ?status:??? -> 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 [> `Enum of string | `String of Program.t ] list | `String of GetBenefitOutputIdString.t | `Structure of 'a list ]) 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