batchDeleteInstrumentationConfigurations method
Future<BatchDeleteInstrumentationConfigurationsResponse>
batchDeleteInstrumentationConfigurations({
- required BatchDeleteDeletionTarget deletionTarget,
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
May throw ThrottlingException.
May throw ValidationException.
Parameter deletionTarget :
The deletion target - either bulk by scope or targeted by ARN list.
Implementation
Future<BatchDeleteInstrumentationConfigurationsResponse>
batchDeleteInstrumentationConfigurations({
required BatchDeleteDeletionTarget deletionTarget,
}) async {
final $payload = <String, dynamic>{
'DeletionTarget': deletionTarget,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/batch-delete-instrumentation-configurations',
exceptionFnMap: _exceptionFns,
);
return BatchDeleteInstrumentationConfigurationsResponse.fromJson(response);
}