#NEWLINE# def delete( bucket , path = None , action = None , key = None , keyid = None , service_url = None , verify_ssl = None , kms_keyid = None , location = None , role_arn = None ) : #NEWLINE# #INDENT# '\n    Delete a bucket, or delete an object from a bucket.\n\n    CLI Example to delete a bucket::\n\n        salt myminion s3.delete mybucket\n\n    CLI Example to delete an object from a bucket::\n\n        salt myminion s3.delete mybucket remoteobject\n    ' #NEWLINE# ( key , keyid , service_url , verify_ssl , kms_keyid , location , role_arn ) = _get_key ( key , keyid , service_url , verify_ssl , kms_keyid , verify_ssl , role_arn ) #NEWLINE# return salt . utils . s3 . query ( method = 'DELETE' , bucket = bucket , path = path , action = action , key = key , keyid = keyid , kms_keyid = kms_keyid , service_url = service_url , verify_ssl = verify_ssl , location = location , role_arn = role_arn )