简体   繁体   English

了解Elastic Transcoder的Boto文档

[英]Understanding the boto documentation for Elastic Transcoder

I am trying to create my own pipe line in Elastic Transcoder. 我正在尝试在Elastic Transcoder中创建自己的管道。 I am using the boto standard function create_pipeline(name, input_bucket, output_bucket, role, notifications). 我正在使用boto标准函数create_pipeline(名称,input_bucket,output_bucket,角色,通知)。 Can you please tell me the notifications (structure) how it should look? 您能告诉我通知(结构)的外观吗? So far I have something like this: create_pipeline('test','test_start', 'test_end', 'arn:aws:iam::789823056103:role/Elastic_Transcoder_Default_Role', ... ) 到目前为止,我有这样的事情:create_pipeline('test','test_start','test_end','arn:aws:iam :: 789823056103:role / Elastic_Transcoder_Default_Role',...)

Thank you! 谢谢!

It should be a dictionary with the 4 keys in the dictionary (I'm going to push a change that updates the structure type with the dict type). 它应该是字典中具有4个键的字典(我将推送更改以dict类型更新结构类型)。 So if you don't want notifications, you just specify empty values for the keys: 因此,如果您不希望收到通知,则只需为键指定空值:

{'Progressing': '', 'Completed': '', 'Warning': '', 'Error': ''} {'进行中':'','完成':'','警告':'','错误':''}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM