:doc:`SsmSap <../../ssm-sap>` / Client / update_application_settings

***************************
update_application_settings
***************************



.. py:method:: SsmSap.Client.update_application_settings(**kwargs)

  

  Updates the settings of an application registered with AWS Systems Manager for SAP.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/UpdateApplicationSettings>`_  


  **Request Syntax**
  ::

    response = client.update_application_settings(
        ApplicationId='string',
        CredentialsToAddOrUpdate=[
            {
                'DatabaseName': 'string',
                'CredentialType': 'ADMIN',
                'SecretId': 'string'
            },
        ],
        CredentialsToRemove=[
            {
                'DatabaseName': 'string',
                'CredentialType': 'ADMIN',
                'SecretId': 'string'
            },
        ],
        Backint={
            'BackintMode': 'AWSBackup',
            'EnsureNoBackupInProcess': True|False
        },
        DatabaseArn='string'
    )
    
  :type ApplicationId: string
  :param ApplicationId: **[REQUIRED]** 

    The ID of the application.

    

  
  :type CredentialsToAddOrUpdate: list
  :param CredentialsToAddOrUpdate: 

    The credentials to be added or updated.

    

  
    - *(dict) --* 

      The credentials of your SAP application.

      

    
      - **DatabaseName** *(string) --* **[REQUIRED]** 

        The name of the SAP HANA database.

        

      
      - **CredentialType** *(string) --* **[REQUIRED]** 

        The type of the application credentials.

        

      
      - **SecretId** *(string) --* **[REQUIRED]** 

        The secret ID created in AWS Secrets Manager to store the credentials of the SAP application.

        

      
    

  :type CredentialsToRemove: list
  :param CredentialsToRemove: 

    The credentials to be removed.

    

  
    - *(dict) --* 

      The credentials of your SAP application.

      

    
      - **DatabaseName** *(string) --* **[REQUIRED]** 

        The name of the SAP HANA database.

        

      
      - **CredentialType** *(string) --* **[REQUIRED]** 

        The type of the application credentials.

        

      
      - **SecretId** *(string) --* **[REQUIRED]** 

        The secret ID created in AWS Secrets Manager to store the credentials of the SAP application.

        

      
    

  :type Backint: dict
  :param Backint: 

    Installation of AWS Backint Agent for SAP HANA.

    

  
    - **BackintMode** *(string) --* **[REQUIRED]** 

      AWS service for your database backup.

      

    
    - **EnsureNoBackupInProcess** *(boolean) --* **[REQUIRED]** 

    
  
  :type DatabaseArn: string
  :param DatabaseArn: 

    The Amazon Resource Name of the SAP HANA database that replaces the current SAP HANA connection with the SAP_ABAP application.

    

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

    
    ::

      {
          'Message': 'string',
          'OperationIds': [
              'string',
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Message** *(string) --* 

        The update message.

        
      

      - **OperationIds** *(list) --* 

        The IDs of the operations.

        
        

        - *(string) --* 
    
  
  **Exceptions**
  
  *   :py:class:`SsmSap.Client.exceptions.UnauthorizedException`

  
  *   :py:class:`SsmSap.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`SsmSap.Client.exceptions.ValidationException`

  
  *   :py:class:`SsmSap.Client.exceptions.ConflictException`

  
  *   :py:class:`SsmSap.Client.exceptions.InternalServerException`

  