Module Values.RegisterCapabilityResponseSource

The result of a RegisterCapability request. Contains details about the registered capability.

Sourcetype nonrec t = {
  1. capabilityName : CapabilityName.t option;
    (*

    The name of the registered capability.

    *)
  2. applicationId : ApplicationId.t option;
    (*

    The unique identifier of the OpenSearch UI application.

    *)
  3. status : CapabilityStatus.t option;
    (*

    The current status of the capability. Possible values: creating, create_failed, active, updating, update_failed, deleting, delete_failed.

    *)
  4. capabilityConfig : CapabilityBaseResponseConfig.t option;
    (*

    The configuration settings for the registered capability.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `DisabledOperationException of DisabledOperationException.t
  4. | `InternalException of InternalException.t
  5. | `ResourceNotFoundException of ResourceNotFoundException.t
  6. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  7. | `ValidationException of ValidationException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?capabilityName:??? -> ?applicationId:??? -> ?status:??? -> ?capabilityConfig:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of unit | `ConflictException of unit | `DisabledOperationException of unit | `InternalException of unit | `ResourceNotFoundException of unit | `ServiceQuotaExceededException of unit | `Unknown_operation_error of string * string option | `ValidationException of unit ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of unit | `ConflictException of unit | `DisabledOperationException of unit | `InternalException of unit | `ResourceNotFoundException of unit | `ServiceQuotaExceededException of unit | `Unknown_operation_error of string * string option | `ValidationException of unit ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of CapabilityName.t | `Structure of (string * [> `Structure of 'a list ]) 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