Deregister Instance
| servicediscovery_deregister_instance | R Documentation |
Deletes the Amazon RouteĀ 53 DNS records and health check, if any, that Cloud Map created for the specified instance¶
Description¶
Deletes the Amazon RouteĀ 53 DNS records and health check, if any, that Cloud Map created for the specified instance.
Usage¶
servicediscovery_deregister_instance(ServiceId, InstanceId)
Arguments¶
ServiceId |
[required] The ID or Amazon Resource Name (ARN) of the service that the instance is associated with. If the namespace associated with the service is shared with your account, specify the service ARN. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide. |
InstanceId |
[required] The value that you specified for |
Value¶
A list with the following syntax:
list(
OperationId = "string"
)
Request syntax¶
svc$deregister_instance(
ServiceId = "string",
InstanceId = "string"
)
Examples¶
## Not run:
# Example: Deregister a service instance
svc$deregister_instance(
InstanceId = "myservice-53",
ServiceId = "srv-p5zdwlg5uvvzjita"
)
## End(Not run)