:doc:`Chime <../../chime>` / Client / get_events_configuration

************************
get_events_configuration
************************



.. py:method:: Chime.Client.get_events_configuration(**kwargs)

  

  Gets details for an events configuration that allows a bot to receive outgoing events, such as an HTTPS endpoint or Lambda function ARN.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetEventsConfiguration>`_  


  **Request Syntax**
  ::

    response = client.get_events_configuration(
        AccountId='string',
        BotId='string'
    )
    
  :type AccountId: string
  :param AccountId: **[REQUIRED]** 

    The Amazon Chime account ID.

    

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

    The bot ID.

    

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

    
    ::

      {
          'EventsConfiguration': {
              'BotId': 'string',
              'OutboundEventsHTTPSEndpoint': 'string',
              'LambdaFunctionArn': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **EventsConfiguration** *(dict) --* 

        The events configuration details.

        
        

        - **BotId** *(string) --* 

          The bot ID.

          
        

        - **OutboundEventsHTTPSEndpoint** *(string) --* 

          HTTPS endpoint that allows a bot to receive outgoing events.

          
        

        - **LambdaFunctionArn** *(string) --* 

          Lambda function ARN that allows a bot to receive outgoing events.

          
    
  
  **Exceptions**
  
  *   :py:class:`Chime.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`Chime.Client.exceptions.ServiceFailureException`

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

  
  *   :py:class:`Chime.Client.exceptions.BadRequestException`

  
  *   :py:class:`Chime.Client.exceptions.UnauthorizedClientException`

  
  *   :py:class:`Chime.Client.exceptions.ResourceLimitExceededException`

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

  