SsmSap / Client / put_resource_permission
put_resource_permission#
- SsmSap.Client.put_resource_permission(**kwargs)#
Adds permissions to the target database.
See also: AWS API Documentation
Request Syntax
response = client.put_resource_permission( ActionType='RESTORE', SourceResourceArn='string', ResourceArn='string' )
- Parameters:
ActionType (string) – [REQUIRED]
SourceResourceArn (string) – [REQUIRED]
ResourceArn (string) – [REQUIRED]
- Return type:
dict
- Returns:
Response Syntax
{ 'Policy': 'string' }
Response Structure
(dict) –
Policy (string) –
Exceptions
SsmSap.Client.exceptions.ResourceNotFoundException
SsmSap.Client.exceptions.ValidationException
SsmSap.Client.exceptions.InternalServerException