Smaws_Client_ServiceDiscovery.UpdateServiceSubmits a request to perform the following operations:
DnsRecords configurationsAdd, 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:
DnsRecords or HealthCheckConfig configurations from an UpdateService request, the configurations are deleted from the service.HealthCheckCustomConfig configuration from an UpdateService request, the configuration isn't deleted from the service.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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `DuplicateRequest of Types.duplicate_request
| `InvalidInput of Types.invalid_input
| `ServiceNotFound of Types.service_not_found ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.update_service_request ->
(Types.update_service_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `DuplicateRequest of Types.duplicate_request
| `InvalidInput of Types.invalid_input
| `ServiceNotFound of Types.service_not_found ])
Stdlib.result