deleteIntermediateTableAnalysisRule method

Future<void> deleteIntermediateTableAnalysisRule({
  1. required IntermediateTableAnalysisRuleType analysisRuleType,
  2. required String intermediateTableIdentifier,
  3. required String membershipIdentifier,
})

Deletes an analysis rule from an intermediate table. After the analysis rule is deleted, the intermediate table becomes unqueryable until a new analysis rule is attached. Only the intermediate table owner can call this operation.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter analysisRuleType : The type of analysis rule to delete. Currently, only CUSTOM is supported.

Parameter intermediateTableIdentifier : The unique identifier of the intermediate table from which to delete the analysis rule.

Parameter membershipIdentifier : The unique identifier of the membership that contains the intermediate table.

Implementation

Future<void> deleteIntermediateTableAnalysisRule({
  required IntermediateTableAnalysisRuleType analysisRuleType,
  required String intermediateTableIdentifier,
  required String membershipIdentifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/memberships/${Uri.encodeComponent(membershipIdentifier)}/intermediateTables/${Uri.encodeComponent(intermediateTableIdentifier)}/analysisRule/${Uri.encodeComponent(analysisRuleType.value)}',
    exceptionFnMap: _exceptionFns,
  );
}