update_application_settings

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'
        },
    ]
)
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.

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.ResourceNotFoundException
  • SsmSap.Client.exceptions.ValidationException
  • SsmSap.Client.exceptions.InternalServerException