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

*********************
update_backend_config
*********************



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

  

  Updates the AWS resources required to access the Amplify Admin UI.

  

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


  **Request Syntax**
  ::

    response = client.update_backend_config(
        AppId='string',
        LoginAuthConfig={
            'AwsCognitoIdentityPoolId': 'string',
            'AwsCognitoRegion': 'string',
            'AwsUserPoolsId': 'string',
            'AwsUserPoolsWebClientId': 'string'
        }
    )
    
  :type AppId: string
  :param AppId: **[REQUIRED]** 

    The app ID.

    

  
  :type LoginAuthConfig: dict
  :param LoginAuthConfig: 

    Describes the Amazon Cognito configuration for Admin UI access.

    

  
    - **AwsCognitoIdentityPoolId** *(string) --* 

      The Amazon Cognito identity pool ID used for the Amplify Admin UI login authorization.

      

    
    - **AwsCognitoRegion** *(string) --* 

      The AWS Region for the Amplify Admin UI login.

      

    
    - **AwsUserPoolsId** *(string) --* 

      The Amazon Cognito user pool ID used for Amplify Admin UI login authentication.

      

    
    - **AwsUserPoolsWebClientId** *(string) --* 

      The web client ID for the Amazon Cognito user pools.

      

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

    
    ::

      {
          'AppId': 'string',
          'BackendManagerAppId': 'string',
          'Error': 'string',
          'LoginAuthConfig': {
              'AwsCognitoIdentityPoolId': 'string',
              'AwsCognitoRegion': 'string',
              'AwsUserPoolsId': 'string',
              'AwsUserPoolsWebClientId': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 

      200 response

      
      

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

        The app ID.

        
      

      - **BackendManagerAppId** *(string) --* 

        The app ID for the backend manager.

        
      

      - **Error** *(string) --* 

        If the request fails, this error is returned.

        
      

      - **LoginAuthConfig** *(dict) --* 

        Describes the Amazon Cognito configurations for the Admin UI auth resource to log in with.

        
        

        - **AwsCognitoIdentityPoolId** *(string) --* 

          The Amazon Cognito identity pool ID used for the Amplify Admin UI login authorization.

          
        

        - **AwsCognitoRegion** *(string) --* 

          The AWS Region for the Amplify Admin UI login.

          
        

        - **AwsUserPoolsId** *(string) --* 

          The Amazon Cognito user pool ID used for Amplify Admin UI login authentication.

          
        

        - **AwsUserPoolsWebClientId** *(string) --* 

          The web client ID for the Amazon Cognito user pools.

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

  