Module Values.CreateDatasetResponseSource

Creates a dataset to connect an external datasource.

Sourcetype nonrec t = {
  1. datasetId : ID.t option;
    (*

    The ID of the dataset.

    *)
  2. datasetArn : ARN.t option;
    (*

    The ARN of the dataset. The format is arn:${Partition}:iotsitewise:${Region}:${Account}:dataset/${DatasetId}.

    *)
  3. datasetStatus : DatasetStatus.t option;
    (*

    The status of the dataset. This contains the state and any error messages. State is CREATING after a successfull call to this API, and any associated error message. The state is ACTIVE when ready to use.

    *)
}
Sourcetype nonrec error = [
  1. | `ConflictingOperationException of ConflictingOperationException.t
  2. | `InternalFailureException of InternalFailureException.t
  3. | `InvalidRequestException of InvalidRequestException.t
  4. | `LimitExceededException of LimitExceededException.t
  5. | `ResourceAlreadyExistsException of ResourceAlreadyExistsException.t
  6. | `ResourceNotFoundException of ResourceNotFoundException.t
  7. | `ThrottlingException of ThrottlingException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?datasetId:??? -> ?datasetArn:??? -> ?datasetStatus:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ConflictingOperationException of ConflictingOperationException.t | `InternalFailureException of InternalFailureException.t | `InvalidRequestException of InvalidRequestException.t | `LimitExceededException of LimitExceededException.t | `ResourceAlreadyExistsException of ResourceAlreadyExistsException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ConflictingOperationException of ConflictingOperationException.t | `InternalFailureException of InternalFailureException.t | `InvalidRequestException of InvalidRequestException.t | `LimitExceededException of LimitExceededException.t | `ResourceAlreadyExistsException of ResourceAlreadyExistsException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ID.t | `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of DetailedErrorMessage.t ]) list ] list | `String of ErrorMessage.t ]) 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