Learn R Programming

paws.networking (version 0.1.9)

servicediscovery_delete_service: Deletes a specified service

Description

Deletes a specified service. If the service still contains one or more registered instances, the request fails.

Usage

servicediscovery_delete_service(Id)

Arguments

Id

[required] The ID of the service that you want to delete.

Request syntax

svc$delete_service(
  Id = "string"
)

Examples

Run this code
# NOT RUN {
# Example: Delete service
svc$delete_service(
  Id = "srv-p5zdwlg5uvvzjita"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab