Module Values_1.DescribeInstanceResponseSource

This API is in preview release for Amazon Connect and is subject to change. Returns the current state of the specified instance identifier. It tracks the instance while it is being created and returns an error status, if applicable. If an instance is not created successfully, the instance status reason field returns details relevant to the reason. The instance in a failed state is returned only for 24 hours after the CreateInstance API was invoked.

Sourcetype nonrec t = {
  1. instance : Instance.t option;
    (*

    The name of the instance.

    *)
  2. replicationConfiguration : ReplicationConfiguration.t option;
    (*

    Status information about the replication process. This field is included only when you are using the ReplicateInstance API to replicate an Amazon Connect instance across Amazon Web Services Regions. For information about replicating Amazon Connect instances, see Create a replica of your existing Amazon Connect instance in the Amazon Connect Administrator Guide.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServiceException of Values_0.InternalServiceException.t
  2. | `InvalidRequestException of Values_0.InvalidRequestException.t
  3. | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?instance:??? -> ?replicationConfiguration:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalServiceException of Values_0.InternalServiceException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalServiceException of Values_0.InternalServiceException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Boolean of Values_0.InboundCallsEnabled.t | `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of Values_0.AwsRegion.t ]) list ] list | `Map of ([> `String of string ] * [> `String of string ]) list | `String of Values_0.InstanceId.t | `Structure of (string * [> `String of Values_0.String_.t ]) list | `Timestamp of Values_0.Timestamp.t ]) 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