Job executions retry configuration is not setting up in AWS IOT Jobs

0

I am trying to create AWS IOT job using the AWS SDK php. This job is used to deploy the updates to the iot devices. https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-iot-2015-05-28.html#createjob

My createJob request is "

$request = [
            "description" => $description,    
            "documentSource" => $documentUrl,
            "jobExecutionsRolloutConfig" => [ 
                "maximumPerMinute"=> 1000
            ],
            "jobId" => $jobId,
            "presignedUrlConfig" => [   
                "roleArn" => $roleArn,
                "expiresInSec" => 3600
            ],
            "tags" => [],
            "targetSelection" => "SNAPSHOT",
            "targets" => $deviceList,
            "jobExecutionsRetryConfig" => [
                "criteriaList" => [
                    [
                        "failureType" => "FAILED",
                        "numberOfRetries" => 2
                    ]
                ]
            ]
        ];

I can see that my job is getting created in AWS Console, but retry configuration is not getting populated.retry

Sid
已提問 2 個月前檢視次數 133 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南