Skip to content

Deletes the specified instrumentation configuration

Description

Deletes the specified instrumentation configuration. SDKs remove the instrumentation during their next sync after the configuration is deleted or expires.

Usage

cloudwatchapplicationsignals_delete_instrumentation_configuration(
  InstrumentationType, Service, Environment, SignalType,
  LocationIdentifier)

Arguments

  • InstrumentationType

    [required] Type of instrumentation configuration (BREAKPOINT or PROBE). Required to identify the configuration to delete.

  • Service

    [required] Service name for the instrumentation configuration.

  • Environment

    [required] Environment name for the instrumentation configuration.

  • SignalType

    [required] Signal type for the instrumentation configuration.

  • LocationIdentifier

    [required] Location identifier - either full code location or a pre-computed hash.

Value

A list with the following syntax:

list(
  DeletionStatus = "DELETED"
)

Request syntax

svc$delete_instrumentation_configuration(
  InstrumentationType = "BREAKPOINT"|"PROBE",
  Service = "string",
  Environment = "string",
  SignalType = "SNAPSHOT",
  LocationIdentifier = list(
    CodeLocation = list(
      Language = "Java"|"Python"|"Javascript",
      CodeUnit = "string",
      ClassName = "string",
      MethodName = "string",
      FilePath = "string",
      LineNumber = 123
    ),
    LocationHash = "string"
  )
)