in rekognition/index-faces/index-faces.py [0:0]
def index_faces(bucket, key):
response = rekognition.index_faces(
Image={"S3Object":
{"Bucket": bucket,
"Name": key}},
CollectionId=os.environ['COLLECTION_NAME'])
return response