Command option Sample:aws events list-rule-names-by-target

Search command sample in the internet.It is the result.

Lists the rules for the specified target.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/events/list-rule-names-by-target.html

aws events list-rule-names-by-target --target-arn "arn:aws:lambda:us-east-1:123456789012:function:MyFunctionName"
    list-targets-by-rule — AWS CLI 1.16.6 Command Reference : http://docs.aws.amazon.com/cli/latest/reference/events/list-rule-names-by-target.html
aws events list-rule-names-by-target --target-arn [arn of pipeline]
    amazon web services - Temporarily disable aws CodePipeline? - Server Fault : http://serverfault.com/a/869742

aws のオプション一覧