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

************************
put_events_configuration
************************



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

  

  Creates an events configuration that allows a bot to receive outgoing events sent by Amazon Chime. Choose either an HTTPS endpoint or a Lambda function ARN. For more information, see  Bot.

  

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


  **Request Syntax**
  ::

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

    The Amazon Chime account ID.

    

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

    The bot ID.

    

  
  :type OutboundEventsHTTPSEndpoint: string
  :param OutboundEventsHTTPSEndpoint: 

    HTTPS endpoint that allows the bot to receive outgoing events.

    

  
  :type LambdaFunctionArn: string
  :param LambdaFunctionArn: 

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

    

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

    
    ::

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

    

    - *(dict) --* 
      

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

        The configuration that allows a bot to receive outgoing events. Can be an HTTPS endpoint or an AWS Lambda function ARN.

        
        

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

  