<?php
// This file was auto-generated from sdk-root/src/data/iot-jobs-data/2017-09-29/docs-2.json
return [ 'version' => '2.0', 'service' => '<p>IoT Jobs is a service that allows you to define a set of jobs — remote operations that are sent to and executed on one or more devices connected to Amazon Web Services IoT Core. For example, you can define a job that instructs a set of devices to download and install application or firmware updates, reboot, rotate certificates, or perform remote troubleshooting operations.</p> <p>Find the endpoint address for actions in the IoT jobs data plane by running this CLI command:</p> <p> <code>aws iot describe-endpoint --endpoint-type iot:Jobs</code> </p> <p>The service name used by <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Amazon Web Services Signature Version 4</a> to sign requests is: <i>iot-jobs-data</i>.</p> <p> To create a job, you make a job document which is a description of the remote operations to be performed, and you specify a list of targets that should perform the operations. The targets can be individual things, thing groups or both.</p> <p> IoT Jobs sends a message to inform the targets that a job is available. The target starts the execution of the job by downloading the job document, performing the operations it specifies, and reporting its progress to Amazon Web Services IoT Core. The Jobs service provides commands to track the progress of a job on a specific target and for all the targets of the job</p>', 'operations' => [ 'DescribeJobExecution' => '<p>Gets details of a job execution.</p> <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">DescribeJobExecution</a> action.</p>', 'GetPendingJobExecutions' => '<p>Gets the list of all jobs for a thing that are not in a terminal status.</p> <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">GetPendingJobExecutions</a> action.</p>', 'StartCommandExecution' => '<p>Using the command created with the <code>CreateCommand</code> API, start a command execution on a specific device.</p>', 'StartNextPendingJobExecution' => '<p>Gets and starts the next pending (status IN_PROGRESS or QUEUED) job execution for a thing.</p> <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">StartNextPendingJobExecution</a> action.</p>', 'UpdateJobExecution' => '<p>Updates the status of a job execution.</p> <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiotjobsdataplane.html">UpdateJobExecution</a> action.</p>', ], 'shapes' => [ 'ApproximateSecondsBeforeTimedOut' => [ 'base' => NULL, 'refs' => [ 'JobExecution$approximateSecondsBeforeTimedOut' => '<p>The estimated number of seconds that remain before the job execution status will be changed to <code>TIMED_OUT</code>. The actual job execution timeout can occur up to 60 seconds later than the estimated duration.</p>', ], ], 'BinaryBlob' => [ 'base' => NULL, 'refs' => [ 'ThrottlingException$payload' => '<p>The payload associated with the exception.</p>', ], ], 'BinaryParameterValue' => [ 'base' => NULL, 'refs' => [ 'CommandParameterValue$BIN' => '<p>An attribute of type Binary.</p>', ], ], 'BooleanParameterValue' => [ 'base' => NULL, 'refs' => [ 'CommandParameterValue$B' => '<p>An attribute of type Boolean. For example:</p> <p> <code>"BOOL": true</code> </p>', ], ], 'CertificateValidationException' => [ 'base' => '<p>The certificate is invalid.</p>', 'refs' => [], ], 'ClientRequestTokenV2' => [ 'base' => NULL, 'refs' => [ 'StartCommandExecutionRequest$clientToken' => '<p>The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you retry the request using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.</p>', ], ], 'CommandArn' => [ 'base' => NULL, 'refs' => [ 'StartCommandExecutionRequest$commandArn' => '<p>The Amazon Resource Number (ARN) of the command. For example, <code>arn:aws:iot:&lt;region&gt;:&lt;accountid&gt;:command/&lt;commandName&gt;</code> </p>', ], ], 'CommandExecutionId' => [ 'base' => NULL, 'refs' => [ 'StartCommandExecutionResponse$executionId' => '<p>A unique identifier for the command execution.</p>', ], ], 'CommandExecutionParameterMap' => [ 'base' => NULL, 'refs' => [ 'StartCommandExecutionRequest$parameters' => '<p>A list of parameters that are required by the <code>StartCommandExecution</code> API when performing the command on a device.</p>', ], ], 'CommandExecutionTimeoutInSeconds' => [ 'base' => NULL, 'refs' => [ 'StartCommandExecutionRequest$executionTimeoutSeconds' => '<p>Specifies the amount of time in second the device has to finish the command execution. A timer is started as soon as the command execution is created. If the command execution status is not set to another terminal state before the timer expires, it will automatically update to <code>TIMED_OUT</code>.</p>', ], ], 'CommandParameterName' => [ 'base' => NULL, 'refs' => [ 'CommandExecutionParameterMap$key' => NULL, ], ], 'CommandParameterValue' => [ 'base' => '<p>The list of values used to describe a specific command parameter.</p>', 'refs' => [ 'CommandExecutionParameterMap$value' => NULL, ], ], 'ConflictException' => [ 'base' => '<p>A conflict has occurred when performing the API request.</p>', 'refs' => [], ], 'DescribeJobExecutionJobId' => [ 'base' => NULL, 'refs' => [ 'DescribeJobExecutionRequest$jobId' => '<p>The unique identifier assigned to this job when it was created.</p>', ], ], 'DescribeJobExecutionRequest' => [ 'base' => NULL, 'refs' => [], ], 'DescribeJobExecutionResponse' => [ 'base' => NULL, 'refs' => [], ], 'DetailsKey' => [ 'base' => NULL, 'refs' => [ 'DetailsMap$key' => NULL, ], ], 'DetailsMap' => [ 'base' => NULL, 'refs' => [ 'JobExecution$statusDetails' => '<p>A collection of name/value pairs that describe the status of the job execution.</p> <p>The maximum length of the value in the name/value pair is 1,024 characters.</p>', 'JobExecutionState$statusDetails' => '<p>A collection of name/value pairs that describe the status of the job execution.</p> <p>The maximum length of the value in the name/value pair is 1,024 characters.</p>', 'StartNextPendingJobExecutionRequest$statusDetails' => '<p>A collection of name/value pairs that describe the status of the job execution. If not specified, the statusDetails are unchanged.</p> <p>The maximum length of the value in the name/value pair is 1,024 characters.</p>', 'UpdateJobExecutionRequest$statusDetails' => '<p> Optional. A collection of name/value pairs that describe the status of the job execution. If not specified, the statusDetails are unchanged.</p> <p>The maximum length of the value in the name/value pair is 1,024 characters.</p>', ], ], 'DetailsValue' => [ 'base' => NULL, 'refs' => [ 'DetailsMap$value' => NULL, ], ], 'DoubleParameterValue' => [ 'base' => NULL, 'refs' => [ 'CommandParameterValue$D' => '<p>An attribute of type Double (Sixty-Four Bits).</p>', ], ], 'ExecutionNumber' => [ 'base' => NULL, 'refs' => [ 'DescribeJobExecutionRequest$executionNumber' => '<p>Optional. A number that identifies a particular job execution on a particular device. If not specified, the latest job execution is returned.</p>', 'JobExecution$executionNumber' => '<p>A number that identifies a particular job execution on a particular device. It can be used later in commands that return or update job execution information.</p>', 'JobExecutionSummary$executionNumber' => '<p>A number that identifies a particular job execution on a particular device.</p>', 'UpdateJobExecutionRequest$executionNumber' => '<p>Optional. A number that identifies a particular job execution on a particular device.</p>', ], ], 'ExpectedVersion' => [ 'base' => NULL, 'refs' => [ 'UpdateJobExecutionRequest$expectedVersion' => '<p>Optional. The expected current version of the job execution. Each time you update the job execution, its version is incremented. If the version of the job execution stored in Jobs does not match, the update is rejected with a VersionMismatch error, and an ErrorResponse that contains the current job execution status data is returned. (This makes it unnecessary to perform a separate DescribeJobExecution request in order to obtain the job execution status data.)</p>', ], ], 'GetPendingJobExecutionsRequest' => [ 'base' => NULL, 'refs' => [], ], 'GetPendingJobExecutionsResponse' => [ 'base' => NULL, 'refs' => [], ], 'IncludeExecutionState' => [ 'base' => NULL, 'refs' => [ 'UpdateJobExecutionRequest$includeJobExecutionState' => '<p>Optional. When included and set to true, the response contains the JobExecutionState data. The default is false.</p>', ], ], 'IncludeJobDocument' => [ 'base' => NULL, 'refs' => [ 'DescribeJobExecutionRequest$includeJobDocument' => '<p>Optional. Unless set to false, the response contains the job document. The default is true.</p>', 'UpdateJobExecutionRequest$includeJobDocument' => '<p>Optional. When set to true, the response contains the job document. The default is false.</p>', ], ], 'IntegerParameterValue' => [ 'base' => NULL, 'refs' => [ 'CommandParameterValue$I' => '<p>An attribute of type Integer (Thirty-Two Bits).</p>', ], ], 'InternalServerException' => [ 'base' => '<p>An internal server error occurred when performing the API request.</p>', 'refs' => [], ], 'InvalidRequestException' => [ 'base' => '<p>The contents of the request were invalid.</p>', 'refs' => [], ], 'InvalidStateTransitionException' => [ 'base' => '<p>An update attempted to change the job execution to a state that is invalid because of the job execution\'s current state (for example, an attempt to change a request in state SUCCESS to state IN_PROGRESS). In this case, the body of the error message also contains the executionState field.</p>', 'refs' => [], ], 'JobDocument' => [ 'base' => NULL, 'refs' => [ 'JobExecution$jobDocument' => '<p>The content of the job document.</p>', 'UpdateJobExecutionResponse$jobDocument' => '<p>The contents of the Job Documents.</p>', ], ], 'JobExecution' => [ 'base' => '<p>Contains data about a job execution.</p>', 'refs' => [ 'DescribeJobExecutionResponse$execution' => '<p>Contains data about a job execution.</p>', 'StartNextPendingJobExecutionResponse$execution' => '<p>A JobExecution object.</p>', ], ], 'JobExecutionState' => [ 'base' => '<p>Contains data about the state of a job execution.</p>', 'refs' => [ 'UpdateJobExecutionResponse$executionState' => '<p>A JobExecutionState object.</p>', ], ], 'JobExecutionStatus' => [ 'base' => NULL, 'refs' => [ 'JobExecution$status' => '<p>The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "TIMED_OUT", "REJECTED", or "REMOVED".</p>', 'JobExecutionState$status' => '<p>The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "TIMED_OUT", "REJECTED", or "REMOVED".</p>', 'UpdateJobExecutionRequest$status' => '<p>The new status for the job execution (IN_PROGRESS, FAILED, SUCCESS, or REJECTED). This must be specified on every update.</p>', ], ], 'JobExecutionSummary' => [ 'base' => '<p>Contains a subset of information about a job execution.</p>', 'refs' => [ 'JobExecutionSummaryList$member' => NULL, ], ], 'JobExecutionSummaryList' => [ 'base' => NULL, 'refs' => [ 'GetPendingJobExecutionsResponse$inProgressJobs' => '<p>A list of JobExecutionSummary objects with status IN_PROGRESS.</p>', 'GetPendingJobExecutionsResponse$queuedJobs' => '<p>A list of JobExecutionSummary objects with status QUEUED.</p>', ], ], 'JobId' => [ 'base' => NULL, 'refs' => [ 'JobExecution$jobId' => '<p>The unique identifier you assigned to this job when it was created.</p>', 'JobExecutionSummary$jobId' => '<p>The unique identifier you assigned to this job when it was created.</p>', 'UpdateJobExecutionRequest$jobId' => '<p>The unique identifier assigned to this job when it was created.</p>', ], ], 'LastUpdatedAt' => [ 'base' => NULL, 'refs' => [ 'JobExecution$lastUpdatedAt' => '<p>The time, in seconds since the epoch, when the job execution was last updated. </p>', 'JobExecutionSummary$lastUpdatedAt' => '<p>The time, in seconds since the epoch, when the job execution was last updated.</p>', ], ], 'LongParameterValue' => [ 'base' => NULL, 'refs' => [ 'CommandParameterValue$L' => '<p>An attribute of type Long.</p>', ], ], 'QueuedAt' => [ 'base' => NULL, 'refs' => [ 'JobExecution$queuedAt' => '<p>The time, in seconds since the epoch, when the job execution was enqueued.</p>', 'JobExecutionSummary$queuedAt' => '<p>The time, in seconds since the epoch, when the job execution was enqueued.</p>', ], ], 'ResourceNotFoundException' => [ 'base' => '<p>The specified resource does not exist.</p>', 'refs' => [], ], 'ServiceQuotaExceededException' => [ 'base' => '<p>The service quota has been exceeded for this request.</p>', 'refs' => [], ], 'ServiceUnavailableException' => [ 'base' => '<p>The service is temporarily unavailable.</p>', 'refs' => [], ], 'StartCommandExecutionRequest' => [ 'base' => NULL, 'refs' => [], ], 'StartCommandExecutionResponse' => [ 'base' => NULL, 'refs' => [], ], 'StartNextPendingJobExecutionRequest' => [ 'base' => NULL, 'refs' => [], ], 'StartNextPendingJobExecutionResponse' => [ 'base' => NULL, 'refs' => [], ], 'StartedAt' => [ 'base' => NULL, 'refs' => [ 'JobExecution$startedAt' => '<p>The time, in seconds since the epoch, when the job execution was started.</p>', 'JobExecutionSummary$startedAt' => '<p>The time, in seconds since the epoch, when the job execution started.</p>', ], ], 'StepTimeoutInMinutes' => [ 'base' => NULL, 'refs' => [ 'StartNextPendingJobExecutionRequest$stepTimeoutInMinutes' => '<p>Specifies the amount of time this device has to finish execution of this job. If the job execution status is not set to a terminal state before this timer expires, or before the timer is reset (by calling <code>UpdateJobExecution</code>, setting the status to <code>IN_PROGRESS</code>, and specifying a new timeout value in field <code>stepTimeoutInMinutes</code>) the job execution status will be automatically set to <code>TIMED_OUT</code>. Note that setting the step timeout has no effect on the in progress timeout that may have been specified when the job was created (<code>CreateJob</code> using field <code>timeoutConfig</code>).</p> <p>Valid values for this parameter range from 1 to 10080 (1 minute to 7 days).</p>', 'UpdateJobExecutionRequest$stepTimeoutInMinutes' => '<p>Specifies the amount of time this device has to finish execution of this job. If the job execution status is not set to a terminal state before this timer expires, or before the timer is reset (by again calling <code>UpdateJobExecution</code>, setting the status to <code>IN_PROGRESS</code>, and specifying a new timeout value in this field) the job execution status will be automatically set to <code>TIMED_OUT</code>. Note that setting or resetting the step timeout has no effect on the in progress timeout that may have been specified when the job was created (<code>CreateJob</code> using field <code>timeoutConfig</code>).</p> <p>Valid values for this parameter range from 1 to 10080 (1 minute to 7 days). A value of -1 is also valid and will cancel the current step timer (created by an earlier use of <code>UpdateJobExecutionRequest</code>).</p>', ], ], 'StringParameterValue' => [ 'base' => NULL, 'refs' => [ 'CommandParameterValue$S' => '<p>An attribute of type String. For example:</p> <p> <code>"S": "Hello"</code> </p>', ], ], 'TargetArn' => [ 'base' => NULL, 'refs' => [ 'StartCommandExecutionRequest$targetArn' => '<p>The Amazon Resource Number (ARN) of the device where the command execution is occurring.</p>', ], ], 'TerminalStateException' => [ 'base' => '<p>The job is in a terminal state.</p>', 'refs' => [], ], 'ThingName' => [ 'base' => NULL, 'refs' => [ 'DescribeJobExecutionRequest$thingName' => '<p>The thing name associated with the device the job execution is running on.</p>', 'GetPendingJobExecutionsRequest$thingName' => '<p>The name of the thing that is executing the job.</p>', 'JobExecution$thingName' => '<p>The name of the thing that is executing the job.</p>', 'StartNextPendingJobExecutionRequest$thingName' => '<p>The name of the thing associated with the device.</p>', 'UpdateJobExecutionRequest$thingName' => '<p>The name of the thing associated with the device.</p>', ], ], 'ThrottlingException' => [ 'base' => '<p>The rate exceeds the limit.</p>', 'refs' => [], ], 'UnsignedLongParameterValue' => [ 'base' => NULL, 'refs' => [ 'CommandParameterValue$UL' => '<p>An attribute of type Unsigned Long.</p>', ], ], 'UpdateJobExecutionRequest' => [ 'base' => NULL, 'refs' => [], ], 'UpdateJobExecutionResponse' => [ 'base' => NULL, 'refs' => [], ], 'ValidationException' => [ 'base' => '<p>A validation error occurred when performing the API request.</p>', 'refs' => [], ], 'VersionNumber' => [ 'base' => NULL, 'refs' => [ 'JobExecution$versionNumber' => '<p>The version of the job execution. Job execution versions are incremented each time they are updated by a device.</p>', 'JobExecutionState$versionNumber' => '<p>The version of the job execution. Job execution versions are incremented each time they are updated by a device.</p>', 'JobExecutionSummary$versionNumber' => '<p>The version of the job execution. Job execution versions are incremented each time IoT Jobs receives an update from a device.</p>', ], ], 'errorMessage' => [ 'base' => NULL, 'refs' => [ 'CertificateValidationException$message' => '<p>Additional information about the exception.</p>', 'ConflictException$message' => NULL, 'InternalServerException$message' => NULL, 'InvalidRequestException$message' => '<p>The message for the exception.</p>', 'InvalidStateTransitionException$message' => NULL, 'ResourceNotFoundException$message' => '<p>The message for the exception.</p>', 'ServiceQuotaExceededException$message' => NULL, 'ServiceUnavailableException$message' => '<p>The message for the exception.</p>', 'TerminalStateException$message' => NULL, 'ThrottlingException$message' => '<p>The message associated with the exception.</p>', 'ValidationException$message' => NULL, ], ], 'resourceId' => [ 'base' => NULL, 'refs' => [ 'ConflictException$resourceId' => '<p>A conflict occurred while performing the API request on the resource ID.</p>', ], ], ],];
