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
gefragt vor 2 Monaten133 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen