File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
kotlin/services/stepfunctions/src/main/kotlin/com/kotlin/stepfunctions Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import java.io.FileInputStream
88import java.io.InputStream
99
1010class GetStream {
11- suspend fun getStream (location : String ): String {
11+ suspend fun getStream (location : String ): String {
1212 // Get JSON to use for the state machine and place the activityArn value into it.
1313 val input: InputStream = FileInputStream (location)
1414 val mapper = ObjectMapper ()
Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ suspend fun describeExe(executionArnVal: String?) {
278278// snippet-start:[stepfunctions.kotlin.task_success.main]
279279suspend fun sendTaskSuccess (
280280 token : String? ,
281- json : String? ,
281+ json : String?
282282) {
283283 val successRequest =
284284 SendTaskSuccessRequest {
@@ -310,7 +310,7 @@ suspend fun getActivityTask(actArn: String?): List<String> {
310310// snippet-start:[stepfunctions.kotlin.start_execute.main]
311311suspend fun startWorkflow (
312312 stateMachineArnVal : String? ,
313- jsonEx : String? ,
313+ jsonEx : String?
314314): String? {
315315 val uuid = UUID .randomUUID()
316316 val uuidValue = uuid.toString()
@@ -347,7 +347,7 @@ suspend fun describeStateMachine(stateMachineArnVal: String?) {
347347suspend fun createMachine (
348348 roleARNVal : String? ,
349349 stateMachineName : String? ,
350- jsonVal : String? ,
350+ jsonVal : String?
351351): String? {
352352 val machineRequest =
353353 CreateStateMachineRequest {
@@ -366,7 +366,7 @@ suspend fun createMachine(
366366
367367suspend fun createIAMRole (
368368 roleNameVal : String? ,
369- polJSON : String? ,
369+ polJSON : String?
370370): String? {
371371 val request =
372372 CreateRoleRequest {
You can’t perform that action at this time.
0 commit comments