Skip to content

/AWS1/CL_VL=>DELETESERVICE()

About DeleteService

Deletes a service. A service can't be deleted if it's associated with a service network. If you delete a service, all resources related to the service, such as the resource policy, auth policy, listeners, listener rules, and access log subscriptions, are also deleted. For more information, see Delete a service in the Amazon VPC Lattice User Guide.

Method Signature

IMPORTING

Required arguments:

IV_SERVICEIDENTIFIER TYPE /AWS1/VL_SERVICEIDENTIFIER /AWS1/VL_SERVICEIDENTIFIER

The ID or Amazon Resource Name (ARN) of the service.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_VL_DELETESERVICERSP /AWS1/CL_VL_DELETESERVICERSP