deleteTelemetryRuleForOrganization method

Future<void> deleteTelemetryRuleForOrganization({
  1. required String ruleIdentifier,
})

Deletes an organization-wide telemetry rule. This operation can only be called by the organization's management account or a delegated administrator account.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw TooManyRequestsException. May throw ValidationException.

Parameter ruleIdentifier : The identifier (name or ARN) of the organization telemetry rule to delete.

Implementation

Future<void> deleteTelemetryRuleForOrganization({
  required String ruleIdentifier,
}) async {
  final $payload = <String, dynamic>{
    'RuleIdentifier': ruleIdentifier,
  };
  await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/DeleteTelemetryRuleForOrganization',
    exceptionFnMap: _exceptionFns,
  );
}