Module Values.ServiceSource

A complex type that contains information about the specified service.

Sourcetype nonrec t = {
  1. id : ResourceId.t option;
    (*

    The ID that Cloud Map assigned to the service when you created it.

    *)
  2. arn : Arn.t option;
    (*

    The Amazon Resource Name (ARN) that Cloud Map assigns to the service when you create it.

    *)
  3. resourceOwner : AWSAccountId.t option;
    (*

    The ID of the Amazon Web Services account that created the namespace with which the service is associated. If this isn't your account ID, it is the ID of the account that shared the namespace with your account. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide.

    *)
  4. name : ServiceName.t option;
    (*

    The name of the service.

    *)
  5. namespaceId : ResourceId.t option;
    (*

    The ID of the namespace that was used to create the service.

    *)
  6. description : ResourceDescription.t option;
    (*

    The description of the service.

    *)
  7. instanceCount : ResourceCount.t option;
    (*

    The number of instances that are currently associated with the service. Instances that were previously associated with the service but that are deleted aren't included in the count. The count might not reflect pending registrations and deregistrations.

    *)
  8. dnsConfig : DnsConfig.t option;
    (*

    A complex type that contains information about the Route 53 DNS records that you want Cloud Map to create when you register an instance. The record types of a service can only be changed by deleting the service and recreating it with a new Dnsconfig.

    *)
  9. type_ : ServiceType.t option;
    (*

    Describes the systems that can be used to discover the service instances. DNS_HTTP The service instances can be discovered using either DNS queries or the DiscoverInstances API operation. HTTP The service instances can only be discovered using the DiscoverInstances API operation. DNS Reserved.

    *)
  10. healthCheckConfig : HealthCheckConfig.t option;
    (*

    Public DNS and HTTP namespaces only. A complex type that contains settings for an optional health check. If you specify settings for a health check, Cloud Map associates the health check with the records that you specify in DnsConfig. For information about the charges for health checks, see Amazon Route 53 Pricing.

    *)
  11. healthCheckCustomConfig : HealthCheckCustomConfig.t option;
    (*

    A complex type that contains information about an optional custom health check. If you specify a health check configuration, you can specify either HealthCheckCustomConfig or HealthCheckConfig but not both.

    *)
  12. createDate : Timestamp.t option;
    (*

    The date and time that the service was created, in Unix format and Coordinated Universal Time (UTC). The value of CreateDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

    *)
  13. creatorRequestId : ResourceId.t option;
    (*

    A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string (for example, a date/timestamp).

    *)
  14. createdByAccount : AWSAccountId.t option;
    (*

    The ID of the Amazon Web Services account that created the service. If this isn't your account ID, it is the ID of account of the namespace owner or of another account with which the namespace has been shared. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide.

    *)
}
Sourceval make : ?id:??? -> ?arn:??? -> ?resourceOwner:??? -> ?name:??? -> ?namespaceId:??? -> ?description:??? -> ?instanceCount:??? -> ?dnsConfig:??? -> ?type_:??? -> ?healthCheckConfig:??? -> ?healthCheckCustomConfig:??? -> ?createDate:??? -> ?creatorRequestId:??? -> ?createdByAccount:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of ResourceCount.t | `String of ResourceId.t | `Structure of (string * [> `Enum of string | `Integer of FailureThreshold.t | `List of [> `Structure of (string * [> `Enum of string | `Long of RecordTTL.t ]) list ] list | `String of ResourceId.t ]) list | `Timestamp of Timestamp.t ]) 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