Skip to content

Deletes multiple instrumentation configurations in a single request

Description

Deletes multiple instrumentation configurations in a single request. Supports two mutually exclusive selection methods:

  • By scope: Delete all configurations matching a Service + Environment + InstrumentationType
  • By ARN list: Delete specific configurations by providing a list of resource ARNs

Usage

cloudwatchapplicationsignals_batch_delete_instrumentation_configurations(
  DeletionTarget)

Arguments

  • DeletionTarget

    [required] The deletion target - either bulk by scope or targeted by ARN list.

Value

A list with the following syntax:

list(
  DeletedCount = 123,
  SuccessfulDeletions = list(
    list(
      ResourceArn = "string",
      SignalType = "string",
      LocationHash = "string"
    )
  ),
  Errors = list(
    list(
      ResourceArn = "string",
      Code = "ResourceNotFoundException"|"AccessDeniedException"|"InternalServiceException",
      Message = "string"
    )
  )
)

Request syntax

svc$batch_delete_instrumentation_configurations(
  DeletionTarget = list(
    Scope = list(
      Service = "string",
      Environment = "string",
      InstrumentationType = "BREAKPOINT"|"PROBE"
    ),
    ResourceArns = list(
      ResourceArns = list(
        "string"
      ),
      InstrumentationType = "BREAKPOINT"|"PROBE"
    )
  )
)