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

*****************
update_sdi_source
*****************



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

  Change some of the settings in an SdiSource.

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


  **Request Syntax**
  ::

    response = client.update_sdi_source(
        Mode='QUADRANT'|'INTERLEAVE',
        Name='string',
        SdiSourceId='string',
        Type='SINGLE'|'QUAD'
    )
    
  :type Mode: string
  :param Mode: Include this parameter only if you want to change the name of the SdiSource. Specify a name that is unique in the AWS account. We recommend you assign a name that describes the source, for example curling-cameraA. Names are case-sensitive.

  
  :type Name: string
  :param Name: Include this parameter only if you want to change the name of the SdiSource. Specify a name that is unique in the AWS account. We recommend you assign a name that describes the source, for example curling-cameraA. Names are case-sensitive.

  
  :type SdiSourceId: string
  :param SdiSourceId: **[REQUIRED]** The ID of the SdiSource

  
  :type Type: string
  :param Type: Include this parameter only if you want to change the mode. Specify the type of the SDI source: SINGLE: The source is a single-link source. QUAD: The source is one part of a quad-link source.

  
  
  :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) --* The SdiSource has been successfully updated.
      

      - **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.GatewayTimeoutException`

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

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

  