:doc:`LexModelsV2 <../../lexv2-models>` / Waiter / BotVersionAvailable

*******************
BotVersionAvailable
*******************



.. py:class:: LexModelsV2.Waiter.BotVersionAvailable

  ::

    
    waiter = client.get_waiter('bot_version_available')

  
  

  .. py:method:: wait(**kwargs)

    Polls :py:meth:`LexModelsV2.Client.describe_bot_version` every 10 seconds until a successful state is reached. An error is raised after 35 failed checks.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotVersion>`_    


    **Request Syntax**
    ::

      waiter.wait(
          botId='string',
          botVersion='string',
          WaiterConfig={
              'Delay': 123,
              'MaxAttempts': 123
          }
      )
      
    :type botId: string
    :param botId: **[REQUIRED]** 

      The identifier of the bot containing the version to return metadata for.

      

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

      The version of the bot to return metadata for.

      

    
    :type WaiterConfig: dict
    :param WaiterConfig: 

      A dictionary that provides parameters to control waiting behavior.

      

    
      - **Delay** *(integer) --* 

        The amount of time in seconds to wait between attempts. Default: 10

        

      
      - **MaxAttempts** *(integer) --* 

        The maximum number of attempts to be made. Default: 35

        

      
    
    
    :returns: None