Values.GetAccountActivityResponseSourceReturns a specific activity record that is available to the customer.
type nonrec t = {activityId : ActivityId.t option;A unique identifier that identifies the activity.
*)title : GenericString.t option;A short activity title.
*)description : GenericString.t option;Provides detailed information about the activity and its expected outcomes.
*)status : ActivityStatus.t option;The current activity status.
*)instructionsUrl : GenericString.t option;The URL resource that provides guidance on activity requirements and completion.
*)reward : ActivityReward.t option;A reward granted upon activity completion.
*)estimatedTimeToCompleteInMinutes : Integer.t option;The estimated time to complete the activity. This is the duration in minutes.
*)expiresAt : SyntheticTimestamp_date_time.t option;The time by which the activity must be completed to receive a reward.
*)startedAt : SyntheticTimestamp_date_time.t option;The timestamp when the activity started. This field appears only for activities in the IN_PROGRESS or COMPLETED states.
*)completedAt : SyntheticTimestamp_date_time.t option;The timestamp when the activity is completed. This field appears only for activities in the COMPLETED state.
*)}type nonrec error = [ | `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.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 ->
[> `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
| `Integer of Integer.t
| `String of ActivityId.t
| `Structure of
(string
* [> `Structure of
(string * [> `Double of GenericDouble.t | `Enum of string ])
list ])
list
| `Timestamp of SyntheticTimestamp_date_time.t ])
list ]