resetEnabledControl method

Future<ResetEnabledControlOutput> resetEnabledControl({
  1. required String enabledControlIdentifier,
})

Resets an enabled control. Does not work for controls implemented with SCPs.

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

Parameter enabledControlIdentifier : The ARN of the enabled control to be reset.

Implementation

Future<ResetEnabledControlOutput> resetEnabledControl({
  required String enabledControlIdentifier,
}) async {
  final $payload = <String, dynamic>{
    'enabledControlIdentifier': enabledControlIdentifier,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/reset-enabled-control',
    exceptionFnMap: _exceptionFns,
  );
  return ResetEnabledControlOutput.fromJson(response);
}