deleteInput method

Future<void> deleteInput({
  1. required String inputName,
})

Deletes an input.

May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw InternalFailureException. May throw ServiceUnavailableException. May throw ResourceInUseException.

Parameter inputName : The name of the input to delete.

Implementation

Future<void> deleteInput({
  required String inputName,
}) async {
  ArgumentError.checkNotNull(inputName, 'inputName');
  _s.validateStringLength(
    'inputName',
    inputName,
    1,
    128,
    isRequired: true,
  );
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/inputs/${Uri.encodeComponent(inputName)}',
    exceptionFnMap: _exceptionFns,
  );
}