2016-11-22 69 views

回答

0

初始化客戶端時,您可以將endpoint_url關鍵字參數傳遞給boto3。

import boto3 

client = boto3.client('kinesis', endpoint_url='http://localhost:4567') 
client.list_streams() 

假設kinesalite在端口4567上運行