SsmSap / Client / update_application_settings

update_application_settings#

SsmSap.Client.update_application_settings(**kwargs)#

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

See also: AWS API Documentation

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'
)
Parameters:
  • ApplicationId (string) –

    [REQUIRED]

    The ID of the application.

  • CredentialsToAddOrUpdate (list) –

    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.

  • CredentialsToRemove (list) –

    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.

  • Backint (dict) –

    Installation of AWS Backint Agent for SAP HANA.

    • BackintMode (string) – [REQUIRED]

      AWS service for your database backup.

    • EnsureNoBackupInProcess (boolean) – [REQUIRED]

  • DatabaseArn (string) – The Amazon Resource Name of the SAP HANA database that replaces the current SAP HANA connection with the SAP_ABAP application.

Return type:

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

  • SsmSap.Client.exceptions.UnauthorizedException

  • SsmSap.Client.exceptions.ResourceNotFoundException

  • SsmSap.Client.exceptions.ValidationException

  • SsmSap.Client.exceptions.ConflictException

  • SsmSap.Client.exceptions.InternalServerException