File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -98,13 +98,13 @@ $ sls deploy stepf activities --name <activityname>
9898### invoke
9999#### options
100100
101- - --state or -t The name of the step function in your service that you want to invoke. Required.
101+ - --name or -n The name of the step function in your service that you want to invoke. Required.
102102- --stage or -s The stage in your service you want to invoke your step function.
103103- --region or -r The region in your stage that you want to invoke your step function.
104104- --data or -d String data to be passed as an event to your step function.
105105- --path or -p The path to a json file with input data to be passed to the invoked step function.
106106```
107- $ sls invoke stepf --state <stepfunctionname > --data '{"foo":"bar"}'
107+ $ sls invoke stepf --name <stepfunctionname > --data '{"foo":"bar"}'
108108```
109109
110110### remove
@@ -130,12 +130,12 @@ $ sls remove stepf statemachines
130130#### Single StateMachine remove
131131
132132```
133- $ sls remove stepf --state <stepfunctionname >
133+ $ sls remove stepf --name <stepfunctionname >
134134```
135135
136136#### options
137137
138- - --state or -t The name of the step function in your service that you want to remove. Required.
138+ - --name or -n The name of the step function in your service that you want to remove. Required.
139139- --stage or -s The stage in your service you want to invoke your step remove.
140140- --region or -r The region in your stage that you want to invoke your step remove.
141141
You can’t perform that action at this time.
0 commit comments