:doc:`KinesisAnalytics <../../kinesisanalytics>` / Client / delete_application_output

*************************
delete_application_output
*************************



.. py:method:: KinesisAnalytics.Client.delete_application_output(**kwargs)

  

  .. note::

    

    This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see `Amazon Kinesis Data Analytics API V2 Documentation </kinesisanalytics/latest/apiv2/Welcome.html>`__.

    

   

  Deletes output destination configuration from your application configuration. Amazon Kinesis Analytics will no longer write data from the corresponding in-application stream to the external output destination.

   

  This operation requires permissions to perform the ``kinesisanalytics:DeleteApplicationOutput`` action.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplicationOutput>`_  


  **Request Syntax**
  ::

    response = client.delete_application_output(
        ApplicationName='string',
        CurrentApplicationVersionId=123,
        OutputId='string'
    )
    
  :type ApplicationName: string
  :param ApplicationName: **[REQUIRED]** 

    Amazon Kinesis Analytics application name.

    

  
  :type CurrentApplicationVersionId: integer
  :param CurrentApplicationVersionId: **[REQUIRED]** 

    Amazon Kinesis Analytics application version. You can use the `DescribeApplication <https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html>`__ operation to get the current application version. If the version specified is not the current version, the ``ConcurrentModificationException`` is returned.

    

  
  :type OutputId: string
  :param OutputId: **[REQUIRED]** 

    The ID of the configuration to delete. Each output configuration that is added to the application, either when the application is created or later using the `AddApplicationOutput <https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationOutput.html>`__ operation, has a unique ID. You need to provide the ID to uniquely identify the output configuration that you want to delete from the application configuration. You can use the `DescribeApplication <https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html>`__ operation to get the specific ``OutputId``.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`KinesisAnalytics.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`KinesisAnalytics.Client.exceptions.ResourceInUseException`

  
  *   :py:class:`KinesisAnalytics.Client.exceptions.InvalidArgumentException`

  
  *   :py:class:`KinesisAnalytics.Client.exceptions.ConcurrentModificationException`

  
  *   :py:class:`KinesisAnalytics.Client.exceptions.UnsupportedOperationException`

  