Skip to content

Delete Service Attributes

servicediscovery_delete_service_attributes R Documentation

Deletes specific attributes associated with a service

Description

Deletes specific attributes associated with a service.

Usage

servicediscovery_delete_service_attributes(ServiceId, Attributes)

Arguments

ServiceId

[required] The ID or Amazon Resource Name (ARN) of the service from which the attributes will be deleted. For services created in a namespace shared with your Amazon Web Services account, specify the service ARN. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide.

Attributes

[required] A list of keys corresponding to each attribute that you want to delete.

Value

An empty list.

Request syntax

svc$delete_service_attributes(
  ServiceId = "string",
  Attributes = list(
    "string"
  )
)