:doc:`MediaLive <../../medialive>` / Client / delete_sdi_source

*****************
delete_sdi_source
*****************



.. py:method:: MediaLive.Client.delete_sdi_source(**kwargs)

  Delete an SdiSource. The SdiSource must not be part of any SidSourceMapping and must not be attached to any input.

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteSdiSource>`_  


  **Request Syntax**
  ::

    response = client.delete_sdi_source(
        SdiSourceId='string'
    )
    
  :type SdiSourceId: string
  :param SdiSourceId: **[REQUIRED]** The ID of the SdiSource.

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

    
    ::

      {
          'SdiSource': {
              'Arn': 'string',
              'Id': 'string',
              'Inputs': [
                  'string',
              ],
              'Mode': 'QUADRANT'|'INTERLEAVE',
              'Name': 'string',
              'State': 'IDLE'|'IN_USE'|'DELETED',
              'Type': 'SINGLE'|'QUAD'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* Deletion of the SdiSource is in progress.
      

      - **SdiSource** *(dict) --* Settings for the SDI source.
        

        - **Arn** *(string) --* The ARN of this SdiSource. It is automatically assigned when the SdiSource is created.
        

        - **Id** *(string) --* The ID of the SdiSource. Unique in the AWS account.The ID is the resource-id portion of the ARN.
        

        - **Inputs** *(list) --* The list of inputs that are currently using this SDI source. This list will be empty if the SdiSource has just been deleted.
          

          - *(string) --* Placeholder documentation for __string
      
        

        - **Mode** *(string) --* Applies only if the type is QUAD. The mode for handling the quad-link signal QUADRANT or INTERLEAVE.
        

        - **Name** *(string) --* The name of the SdiSource.
        

        - **State** *(string) --* Specifies whether the SDI source is attached to an SDI input (IN_USE) or not (IDLE).
        

        - **Type** *(string) --* Used in SdiSource, CreateSdiSourceRequest, UpdateSdiSourceRequest.
    
  
  **Exceptions**
  
  *   :py:class:`MediaLive.Client.exceptions.BadRequestException`

  
  *   :py:class:`MediaLive.Client.exceptions.InternalServerErrorException`

  
  *   :py:class:`MediaLive.Client.exceptions.ForbiddenException`

  
  *   :py:class:`MediaLive.Client.exceptions.BadGatewayException`

  
  *   :py:class:`MediaLive.Client.exceptions.NotFoundException`

  
  *   :py:class:`MediaLive.Client.exceptions.GatewayTimeoutException`

  
  *   :py:class:`MediaLive.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`MediaLive.Client.exceptions.ConflictException`

  