Values.GetCapabilityResponseSourceThe result of a GetCapability request. Contains details about the capability.
type nonrec t = {capabilityName : CapabilityName.t option;The name of the capability.
*)applicationId : ApplicationId.t option;The unique identifier of the OpenSearch UI application.
*)status : CapabilityStatus.t option;The current status of the capability. Possible values: creating, create_failed, active, updating, update_failed, deleting, delete_failed.
*)capabilityConfig : CapabilityExtendedResponseConfig.t option;The configuration settings for the capability, including capability-specific settings such as AI configuration.
*)failures : CapabilityFailures.t option;A list of failures associated with the capability, if any. Each failure includes a reason and details about what went wrong.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `DisabledOperationException of DisabledOperationException.t| `InternalException of InternalException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of unit
| `DisabledOperationException of unit
| `InternalException of unit
| `ResourceNotFoundException of unit
| `Unknown_operation_error of string * string option
| `ValidationException of unit ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of unit
| `DisabledOperationException of unit
| `InternalException of unit
| `ResourceNotFoundException of unit
| `Unknown_operation_error of string * string option
| `ValidationException of unit ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string
| `String of CapabilityFailureDetails.t ])
list ]
list
| `String of CapabilityName.t
| `Structure of (string * [> `Structure of 'a list ]) list ])
list ]