简体   繁体   English

如何从 CLI 或 API 启动、停止 aws 数据管道的活动/步骤?

[英]How to start, stop activities/steps of aws data pipeline from CLI or API?

AWS CLI documentation doesn't have a command to start/stop a specific activity in datapipelines? AWS CLI 文档没有启动/停止数据管道中特定活动的命令? Is set-status and set-task-status is used for that? set-statusset-task-status是否用于此目的?

From the documentation of datapipeline , there are two commands activate-pipeline and deactivate-pipeline , you can try this:datapipeline的文档中,有两个命令activate-pipelinedeactivate-pipeline ,你可以试试这个:

aws datapipeline activate-pipeline --pipeline-id pipe-id --start-activity-id activity-id

and

aws datapipeline deactivate-pipeline --pipeline-id pipe-id --stop-activity-id activity-id

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

相关问题 AWS cli:如何停止实例和启动 EC2 实例 - AWS cli: How to stop instances and start EC2 instances 在 CDK ShellStep(管道)步骤中使用 AWS CLI - Use the AWS CLI in a CDK ShellStep (pipeline) step 从用户数据文件调用 AWS cli - Calling AWS cli from user-data file Jenkins:在管道 Jenkins 文件中执行 AWS CLI 命令 - Jenkins: Execute AWS CLI command inside a pipeline Jenkins file 使用 AWS CLI 停止所有 ECS 集群任务 - Stop all ECS Cluster tasks with AWS CLI 如何将 MFA 与 AWS CLI 结合使用? - How to use MFA with AWS CLI? 如何通过代理集成从 AWS API 网关提供二进制数据? - How to serve binary data from AWS API Gateway with proxy integration? 跳过远程 azure 管道模板存储库中的步骤 - Skip steps from remote azure pipeline template repo 如何将 jupyter notebook 训练代码转换为 sagemaker 流水线步骤? - how to convert jupyter notebook training code to sagemaker pipeline steps? Python 数据摄取(从对 AWS S3 存储桶的 API 调用“获取”开始),如何管理用户名/密码/API 密钥和令牌(在短时间窗口内过期) - Python Data Ingestion (Start with API call "Get" to AWS S3 Bucket), how to manage the username/pwd/api-key and token( expired in short time window)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM