:doc:`AmplifyBackend <../../amplifybackend>` / Client / import_backend_storage

**********************
import_backend_storage
**********************



.. py:method:: AmplifyBackend.Client.import_backend_storage(**kwargs)

  

  Imports an existing backend storage resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendStorage>`_  


  **Request Syntax**
  ::

    response = client.import_backend_storage(
        AppId='string',
        BackendEnvironmentName='string',
        BucketName='string',
        ServiceName='S3'
    )
    
  :type AppId: string
  :param AppId: **[REQUIRED]** 

    The app ID.

    

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

    The name of the backend environment.

    

  
  :type BucketName: string
  :param BucketName: 

    The name of the S3 bucket.

    

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

    The name of the storage service.

    

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

    
    ::

      {
          'AppId': 'string',
          'BackendEnvironmentName': 'string',
          'JobId': 'string',
          'Status': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      200 response

      
      

      - **AppId** *(string) --* 

        The app ID.

        
      

      - **BackendEnvironmentName** *(string) --* 

        The name of the backend environment.

        
      

      - **JobId** *(string) --* 

        The ID for the job.

        
      

      - **Status** *(string) --* 

        The current status of the request.

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

  
  *   :py:class:`AmplifyBackend.Client.exceptions.GatewayTimeoutException`

  
  *   :py:class:`AmplifyBackend.Client.exceptions.TooManyRequestsException`

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

  