:doc:`LexModelBuildingService <../../lex-models>` / Client / get_export

**********
get_export
**********



.. py:method:: LexModelBuildingService.Client.get_export(**kwargs)

  

  Exports the contents of a Amazon Lex resource in a specified format.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetExport>`_  


  **Request Syntax**
  ::

    response = client.get_export(
        name='string',
        version='string',
        resourceType='BOT'|'INTENT'|'SLOT_TYPE',
        exportType='ALEXA_SKILLS_KIT'|'LEX'
    )
    
  :type name: string
  :param name: **[REQUIRED]** 

    The name of the bot to export.

    

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

    The version of the bot to export.

    

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

    The type of resource to export.

    

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

    The format of the exported data.

    

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

    
    ::

      {
          'name': 'string',
          'version': 'string',
          'resourceType': 'BOT'|'INTENT'|'SLOT_TYPE',
          'exportType': 'ALEXA_SKILLS_KIT'|'LEX',
          'exportStatus': 'IN_PROGRESS'|'READY'|'FAILED',
          'failureReason': 'string',
          'url': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **name** *(string) --* 

        The name of the bot being exported.

        
      

      - **version** *(string) --* 

        The version of the bot being exported.

        
      

      - **resourceType** *(string) --* 

        The type of the exported resource.

        
      

      - **exportType** *(string) --* 

        The format of the exported data.

        
      

      - **exportStatus** *(string) --* 

        The status of the export.

         

        
        * ``IN_PROGRESS`` - The export is in progress.
         
        * ``READY`` - The export is complete.
         
        * ``FAILED`` - The export could not be completed.
        

        
      

      - **failureReason** *(string) --* 

        If ``status`` is ``FAILED``, Amazon Lex provides the reason that it failed to export the resource.

        
      

      - **url** *(string) --* 

        An S3 pre-signed URL that provides the location of the exported resource. The exported resource is a ZIP archive that contains the exported resource in JSON format. The structure of the archive may change. Your code should not rely on the archive structure.

        
  
  **Exceptions**
  
  *   :py:class:`LexModelBuildingService.Client.exceptions.NotFoundException`

  
  *   :py:class:`LexModelBuildingService.Client.exceptions.LimitExceededException`

  
  *   :py:class:`LexModelBuildingService.Client.exceptions.InternalFailureException`

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

  