deleteInputSource method

Future<DeleteInputSourceResponse> deleteInputSource({
  1. required String inputSourceId,
  2. required String serviceArn,
})

Deletes an input source.

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

Parameter inputSourceId : The identifier of the input source to delete.

Implementation

Future<DeleteInputSourceResponse> deleteInputSource({
  required String inputSourceId,
  required String serviceArn,
}) async {
  final $payload = <String, dynamic>{
    'inputSourceId': inputSourceId,
    'serviceArn': serviceArn,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/v2/delete-input-source',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteInputSourceResponse.fromJson(response);
}