2022/11/15 - AWS Systems Manager for SAP - 16 new api methods
Changes AWS Systems Manager for SAP provides simplified operations and management of SAP applications such as SAP HANA. With this release, SAP customers and partners can automate and simplify their SAP system administration tasks such as backup/restore of SAP HANA.
See also: AWS API Documentation
Request Syntax
client.list_components( ApplicationId='string', NextToken='string', MaxResults=123 )
string
string
integer
dict
Response Syntax
{ 'Components': [ { 'ApplicationId': 'string', 'ComponentId': 'string', 'ComponentType': 'HANA', 'Tags': { 'string': 'string' } }, ], 'NextToken': 'string' }
Response Structure
(dict) --
Components (list) --
(dict) --
ApplicationId (string) --
ComponentId (string) --
ComponentType (string) --
Tags (dict) --
(string) --
(string) --
NextToken (string) --
See also: AWS API Documentation
Request Syntax
client.untag_resource( resourceArn='string', tagKeys=[ 'string', ] )
string
[REQUIRED]
list
[REQUIRED]
(string) --
dict
Response Syntax
{}
Response Structure
(dict) --
See also: AWS API Documentation
Request Syntax
client.list_databases( ApplicationId='string', ComponentId='string', NextToken='string', MaxResults=123 )
string
string
string
integer
dict
Response Syntax
{ 'Databases': [ { 'ApplicationId': 'string', 'ComponentId': 'string', 'DatabaseId': 'string', 'DatabaseType': 'SYSTEM'|'TENANT', 'Arn': 'string', 'Tags': { 'string': 'string' } }, ], 'NextToken': 'string' }
Response Structure
(dict) --
Databases (list) --
(dict) --
ApplicationId (string) --
ComponentId (string) --
DatabaseId (string) --
DatabaseType (string) --
Arn (string) --
Tags (dict) --
(string) --
(string) --
NextToken (string) --
See also: AWS API Documentation
Request Syntax
client.put_resource_permission( ActionType='RESTORE', SourceResourceArn='string', ResourceArn='string' )
string
[REQUIRED]
string
[REQUIRED]
string
[REQUIRED]
dict
Response Syntax
{ 'Policy': 'string' }
Response Structure
(dict) --
Policy (string) --
See also: AWS API Documentation
Request Syntax
client.tag_resource( resourceArn='string', tags={ 'string': 'string' } )
string
[REQUIRED]
dict
[REQUIRED]
(string) --
(string) --
dict
Response Syntax
{}
Response Structure
(dict) --
See also: AWS API Documentation
Request Syntax
client.delete_resource_permission( ActionType='RESTORE', SourceResourceArn='string', ResourceArn='string' )
string
string
string
[REQUIRED]
dict
Response Syntax
{ 'Policy': 'string' }
Response Structure
(dict) --
Policy (string) --
See also: AWS API Documentation
Request Syntax
client.register_application( ApplicationId='string', ApplicationType='HANA', Instances=[ 'string', ], SapInstanceNumber='string', Sid='string', Tags={ 'string': 'string' }, Credentials=[ { 'DatabaseName': 'string', 'CredentialType': 'ADMIN', 'SecretId': 'string' }, ] )
string
[REQUIRED]
string
[REQUIRED]
list
[REQUIRED]
(string) --
string
string
dict
(string) --
(string) --
list
[REQUIRED]
(dict) --
DatabaseName (string) -- [REQUIRED]
CredentialType (string) -- [REQUIRED]
SecretId (string) -- [REQUIRED]
dict
Response Syntax
{ 'Application': { 'Id': 'string', 'Type': 'HANA', 'Arn': 'string', 'AppRegistryArn': 'string', 'Status': 'ACTIVATED'|'STARTING'|'STOPPED'|'STOPPING'|'FAILED'|'REGISTERING'|'DELETING'|'UNKNOWN', 'Components': [ 'string', ], 'LastUpdated': datetime(2015, 1, 1), 'StatusMessage': 'string' }, 'OperationId': 'string' }
Response Structure
(dict) --
Application (dict) --
Id (string) --
Type (string) --
Arn (string) --
AppRegistryArn (string) --
Status (string) --
Components (list) --
(string) --
LastUpdated (datetime) --
StatusMessage (string) --
OperationId (string) --
See also: AWS API Documentation
Request Syntax
client.get_operation( OperationId='string' )
string
[REQUIRED]
dict
Response Syntax
{ 'Operation': { 'Id': 'string', 'Type': 'string', 'Status': 'INPROGRESS'|'SUCCESS'|'ERROR', 'StatusMessage': 'string', 'Properties': { 'string': 'string' }, 'ResourceType': 'string', 'ResourceId': 'string', 'ResourceArn': 'string', 'StartTime': datetime(2015, 1, 1), 'EndTime': datetime(2015, 1, 1), 'LastUpdatedTime': datetime(2015, 1, 1) } }
Response Structure
(dict) --
Operation (dict) --
Id (string) --
Type (string) --
Status (string) --
StatusMessage (string) --
Properties (dict) --
(string) --
(string) --
ResourceType (string) --
ResourceId (string) --
ResourceArn (string) --
StartTime (datetime) --
EndTime (datetime) --
LastUpdatedTime (datetime) --
See also: AWS API Documentation
Request Syntax
client.list_tags_for_resource( resourceArn='string' )
string
[REQUIRED]
dict
Response Syntax
{ 'tags': { 'string': 'string' } }
Response Structure
(dict) --
tags (dict) --
(string) --
(string) --
See also: AWS API Documentation
Request Syntax
client.get_database( ApplicationId='string', ComponentId='string', DatabaseId='string', DatabaseArn='string' )
string
string
string
string
dict
Response Syntax
{ 'Database': { 'ApplicationId': 'string', 'ComponentId': 'string', 'Credentials': [ { 'DatabaseName': 'string', 'CredentialType': 'ADMIN', 'SecretId': 'string' }, ], 'DatabaseId': 'string', 'DatabaseName': 'string', 'DatabaseType': 'SYSTEM'|'TENANT', 'Arn': 'string', 'Status': 'RUNNING'|'STARTING'|'STOPPED'|'WARNING'|'UNKNOWN', 'PrimaryHost': 'string', 'SQLPort': 123, 'LastUpdated': datetime(2015, 1, 1) }, 'Tags': { 'string': 'string' } }
Response Structure
(dict) --
Database (dict) --
ApplicationId (string) --
ComponentId (string) --
Credentials (list) --
(dict) --
DatabaseName (string) --
CredentialType (string) --
SecretId (string) --
DatabaseId (string) --
DatabaseName (string) --
DatabaseType (string) --
Arn (string) --
Status (string) --
PrimaryHost (string) --
SQLPort (integer) --
LastUpdated (datetime) --
Tags (dict) --
(string) --
(string) --
See also: AWS API Documentation
Request Syntax
client.get_component( ApplicationId='string', ComponentId='string' )
string
[REQUIRED]
string
[REQUIRED]
dict
Response Syntax
{ 'Component': { 'ComponentId': 'string', 'ApplicationId': 'string', 'ComponentType': 'HANA', 'Status': 'ACTIVATED', 'Databases': [ 'string', ], 'Hosts': [ { 'HostName': 'string', 'HostRole': 'LEADER'|'WORKER'|'STANDBY'|'UNKNOWN', 'HostIp': 'string', 'InstanceId': 'string' }, ], 'PrimaryHost': 'string', 'LastUpdated': datetime(2015, 1, 1) } }
Response Structure
(dict) --
Component (dict) --
ComponentId (string) --
ApplicationId (string) --
ComponentType (string) --
Status (string) --
Databases (list) --
(string) --
Hosts (list) --
(dict) --
HostName (string) --
HostRole (string) --
HostIp (string) --
InstanceId (string) --
PrimaryHost (string) --
LastUpdated (datetime) --
See also: AWS API Documentation
Request Syntax
client.list_applications( NextToken='string', MaxResults=123 )
string
integer
dict
Response Syntax
{ 'Applications': [ { 'Id': 'string', 'Type': 'HANA', 'Arn': 'string', 'Tags': { 'string': 'string' } }, ], 'NextToken': 'string' }
Response Structure
(dict) --
Applications (list) --
(dict) --
Id (string) --
Type (string) --
Arn (string) --
Tags (dict) --
(string) --
(string) --
NextToken (string) --
See also: AWS API Documentation
Request Syntax
client.update_application_settings( ApplicationId='string', CredentialsToAddOrUpdate=[ { 'DatabaseName': 'string', 'CredentialType': 'ADMIN', 'SecretId': 'string' }, ], CredentialsToRemove=[ { 'DatabaseName': 'string', 'CredentialType': 'ADMIN', 'SecretId': 'string' }, ] )
string
[REQUIRED]
list
(dict) --
DatabaseName (string) -- [REQUIRED]
CredentialType (string) -- [REQUIRED]
SecretId (string) -- [REQUIRED]
list
(dict) --
DatabaseName (string) -- [REQUIRED]
CredentialType (string) -- [REQUIRED]
SecretId (string) -- [REQUIRED]
dict
Response Syntax
{ 'Message': 'string', 'OperationIds': [ 'string', ] }
Response Structure
(dict) --
Message (string) --
OperationIds (list) --
(string) --
See also: AWS API Documentation
Request Syntax
client.get_application( ApplicationId='string', ApplicationArn='string' )
string
string
dict
Response Syntax
{ 'Application': { 'Id': 'string', 'Type': 'HANA', 'Arn': 'string', 'AppRegistryArn': 'string', 'Status': 'ACTIVATED'|'STARTING'|'STOPPED'|'STOPPING'|'FAILED'|'REGISTERING'|'DELETING'|'UNKNOWN', 'Components': [ 'string', ], 'LastUpdated': datetime(2015, 1, 1), 'StatusMessage': 'string' }, 'Tags': { 'string': 'string' } }
Response Structure
(dict) --
Application (dict) --
Id (string) --
Type (string) --
Arn (string) --
AppRegistryArn (string) --
Status (string) --
Components (list) --
(string) --
LastUpdated (datetime) --
StatusMessage (string) --
Tags (dict) --
(string) --
(string) --
See also: AWS API Documentation
Request Syntax
client.deregister_application( ApplicationId='string' )
string
[REQUIRED]
dict
Response Syntax
{}
Response Structure
(dict) --
See also: AWS API Documentation
Request Syntax
client.get_resource_permission( ActionType='RESTORE', ResourceArn='string' )
string
string
[REQUIRED]
dict
Response Syntax
{ 'Policy': 'string' }
Response Structure
(dict) --
Policy (string) --