delete_resource_permission

SsmSap.Client.delete_resource_permission(**kwargs)

Removes permissions associated with the target database.

See also: AWS API Documentation

Request Syntax

response = client.delete_resource_permission(
    ActionType='RESTORE',
    SourceResourceArn='string',
    ResourceArn='string'
)
Parameters
  • ActionType (string) -- Delete or restore the permissions on the target database.
  • SourceResourceArn (string) -- The Amazon Resource Name (ARN) of the source resource.
  • ResourceArn (string) --

    [REQUIRED]

    The Amazon Resource Name (ARN) of the resource.

Return type

dict

Returns

Response Syntax

{
    'Policy': 'string'
}

Response Structure

  • (dict) --

    • Policy (string) --

      The policy that removes permissions on the target database.

Exceptions

  • SsmSap.Client.exceptions.ResourceNotFoundException
  • SsmSap.Client.exceptions.ValidationException
  • SsmSap.Client.exceptions.InternalServerException