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

****************
list_sdi_sources
****************



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

  List all the SdiSources in the AWS account.

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


  **Request Syntax**
  ::

    response = client.list_sdi_sources(
        MaxResults=123,
        NextToken='string'
    )
    
  :type MaxResults: integer
  :param MaxResults: The maximum number of items to return.

  
  :type NextToken: string
  :param NextToken: The token to retrieve the next page of results.

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

    
    ::

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

    

    - *(dict) --* An array of SdiSources.
      

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

      - **SdiSources** *(list) --* Placeholder documentation for __listOfSdiSourceSummary
        

        - *(dict) --* Used in CreateSdiSourceResponse, DeleteSdiSourceResponse, DescribeSdiSourceResponse, ListSdiSourcesResponse, UpdateSdiSourceResponse
          

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

  