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

***************************
update_input_security_group
***************************



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

  Update an Input Security Group's Whilelists.

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


  **Request Syntax**
  ::

    response = client.update_input_security_group(
        InputSecurityGroupId='string',
        Tags={
            'string': 'string'
        },
        WhitelistRules=[
            {
                'Cidr': 'string'
            },
        ]
    )
    
  :type InputSecurityGroupId: string
  :param InputSecurityGroupId: **[REQUIRED]** The id of the Input Security Group to update.

  
  :type Tags: dict
  :param Tags: A collection of key-value pairs.

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

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

      


  :type WhitelistRules: list
  :param WhitelistRules: List of IPv4 CIDR addresses to whitelist

  
    - *(dict) --* An IPv4 CIDR to whitelist.

    
      - **Cidr** *(string) --* The IPv4 CIDR to whitelist.

      
    

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

    
    ::

      {
          'SecurityGroup': {
              'Arn': 'string',
              'Id': 'string',
              'Inputs': [
                  'string',
              ],
              'State': 'IDLE'|'IN_USE'|'UPDATING'|'DELETED',
              'Tags': {
                  'string': 'string'
              },
              'WhitelistRules': [
                  {
                      'Cidr': 'string'
                  },
              ],
              'Channels': [
                  'string',
              ]
          }
      }
      
    **Response Structure**

    

    - *(dict) --* Successfully initiated the update of the Input Security Group.
      

      - **SecurityGroup** *(dict) --* An Input Security Group
        

        - **Arn** *(string) --* Unique ARN of Input Security Group
        

        - **Id** *(string) --* The Id of the Input Security Group
        

        - **Inputs** *(list) --* The list of inputs currently using this Input Security Group.
          

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

        - **State** *(string) --* The current state of the Input Security Group.
        

        - **Tags** *(dict) --* A collection of key-value pairs.
          

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

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

        - **WhitelistRules** *(list) --* Whitelist rules and their sync status
          

          - *(dict) --* Whitelist rule
            

            - **Cidr** *(string) --* The IPv4 CIDR that's whitelisted.
        
      
        

        - **Channels** *(list) --* The list of channels currently using this Input Security Group as their channel security group.
          

          - *(string) --* Placeholder documentation for __string
      
    
  
  **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.ConflictException`

  