Values.UpdateServiceRequestSourceSubmits a request to perform the following operations: Update the TTL setting for existing DnsRecords configurations Add, update, or delete HealthCheckConfig for a specified service You can't add, update, or delete a HealthCheckCustomConfig configuration. For public and private DNS namespaces, note the following: If you omit any existing DnsRecords or HealthCheckConfig configurations from an UpdateService request, the configurations are deleted from the service. If you omit an existing HealthCheckCustomConfig configuration from an UpdateService request, the configuration isn't deleted from the service. You can't call UpdateService and update settings in the following scenarios: When the service is associated with an HTTP namespace When the service is associated with a shared namespace and contains instances that were registered by Amazon Web Services accounts other than the account making the UpdateService call When you update settings for a service, Cloud Map also updates the corresponding settings in all the records and health checks that were created by using the specified service.
type nonrec t = {id : Arn.t;The ID or Amazon Resource Name (ARN) of the service that you want to update. If the namespace associated with the service is shared with your Amazon Web Services account, specify the service ARN. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide
*)service : ServiceChange.t;A complex type that contains the new settings for the service. You can specify a maximum of 30 attributes (key-value pairs).
*)}val to_value :
t ->
[> `Structure of
(string
* [> `String of Arn.t
| `Structure of
(string
* [> `String of ResourceDescription.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 ResourcePath.t ])
list ])
list ])
list ]