Skip to content

Commit 38cb73a

Browse files
committed
updated the SDK build number
1 parent 582498a commit 38cb73a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

javav2/example_code/stepfunctions/src/main/java/com/example/stepfunctions/StepFunctionsScenario.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,15 @@ public static void main(String[] args) throws Exception {
8080
jsonFile - The location of the chat_sfn_state_machine.json file. You can located it in resources/sample_files.
8181
""";
8282

83-
// if (args.length != 3) {
84-
// System.out.println(usage);
85-
// System.exit(1);
86-
// }
87-
88-
String roleName = "stepFunctionsRole380" ; //args[0];
89-
String activityName = "ScottActivity" ; //args[1];
90-
String stateMachineName = "Scott670Machine" ; //args[2];
91-
String jsonFile = "C:\\AWS\\chat.json" ;
83+
if (args.length != 4) {
84+
System.out.println(usage);
85+
System.exit(1);
86+
}
87+
88+
String roleName = args[0];
89+
String activityName = args[1];
90+
String stateMachineName = args[2];
91+
String jsonFile = args[3];
9292
String polJSON = "{\n" +
9393
" \"Version\": \"2012-10-17\",\n" +
9494
" \"Statement\": [\n" +

0 commit comments

Comments
 (0)