Learn R Programming

paws.networking (version 0.1.11)

servicediscovery_deregister_instance: Deletes the Amazon Route<U+00A0>53 DNS records and health check, if any, that AWS Cloud Map created for the specified instance

Description

Deletes the Amazon Route<U+00A0>53 DNS records and health check, if any, that AWS Cloud Map created for the specified instance.

Usage

servicediscovery_deregister_instance(ServiceId, InstanceId)

Arguments

ServiceId

[required] The ID of the service that the instance is associated with.

InstanceId

[required] The value that you specified for Id in the register_instance request.

Value

A list with the following syntax:

list(
  OperationId = "string"
)

Request syntax

svc$deregister_instance(
  ServiceId = "string",
  InstanceId = "string"
)

Examples

Run this code
# NOT RUN {
# Example: Deregister a service instance
svc$deregister_instance(
  InstanceId = "myservice-53",
  ServiceId = "srv-p5zdwlg5uvvzjita"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab