:doc:`Schemas <../../schemas>` / Client / update_discoverer

*****************
update_discoverer
*****************



.. py:method:: Schemas.Client.update_discoverer(**kwargs)

  

  Updates the discoverer

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UpdateDiscoverer>`_  


  **Request Syntax**
  ::

    response = client.update_discoverer(
        Description='string',
        DiscovererId='string',
        CrossAccount=True|False
    )
    
  :type Description: string
  :param Description: 

    The description of the discoverer to update.

    

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

    The ID of the discoverer.

    

  
  :type CrossAccount: boolean
  :param CrossAccount: 

    Support discovery of schemas in events sent to the bus from another account. (default: true)

    

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

    
    ::

      {
          'Description': 'string',
          'DiscovererArn': 'string',
          'DiscovererId': 'string',
          'SourceArn': 'string',
          'State': 'STARTED'|'STOPPED',
          'CrossAccount': True|False,
          'Tags': {
              'string': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 

      200 response

      
      

      - **Description** *(string) --* 

        The description of the discoverer.

        
      

      - **DiscovererArn** *(string) --* 

        The ARN of the discoverer.

        
      

      - **DiscovererId** *(string) --* 

        The ID of the discoverer.

        
      

      - **SourceArn** *(string) --* 

        The ARN of the event bus.

        
      

      - **State** *(string) --* 

        The state of the discoverer.

        
      

      - **CrossAccount** *(boolean) --* 

        The Status if the discoverer will discover schemas from events sent from another account.

        
      

      - **Tags** *(dict) --* 

        Tags associated with the resource.

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
  
  **Exceptions**
  
  *   :py:class:`Schemas.Client.exceptions.BadRequestException`

  
  *   :py:class:`Schemas.Client.exceptions.UnauthorizedException`

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

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

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

  
  *   :py:class:`Schemas.Client.exceptions.ServiceUnavailableException`

  