Skip to content

Commit

Permalink
Update to latest models
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Oct 8, 2018
1 parent e8a51ec commit 0fe7a90
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-iot-23140.json
@@ -0,0 +1,5 @@
{
"category": "``iot``",
"type": "api-change",
"description": "Update iot client to latest version"
}
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-iotjobsdata-97872.json
@@ -0,0 +1,5 @@
{
"category": "``iot-jobs-data``",
"type": "api-change",
"description": "Update iot-jobs-data client to latest version"
}
22 changes: 21 additions & 1 deletion botocore/data/iot-jobs-data/2017-09-29/service-2.json
Expand Up @@ -83,6 +83,8 @@
}
},
"shapes":{
"ApproximateSecondsBeforeTimedOut":{"type":"long"},
"BinaryBlob":{"type":"blob"},
"CertificateValidationException":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -243,6 +245,10 @@
"shape":"LastUpdatedAt",
"documentation":"<p>The time, in milliseconds since the epoch, when the job execution was last updated. </p>"
},
"approximateSecondsBeforeTimedOut":{
"shape":"ApproximateSecondsBeforeTimedOut",
"documentation":"<p>The estimated number of seconds that remain before the job execution status will be changed to <code>TIMED_OUT</code>.</p>"
},
"versionNumber":{
"shape":"VersionNumber",
"documentation":"<p>The version of the job execution. Job execution versions are incremented each time they are updated by a device.</p>"
Expand Down Expand Up @@ -283,6 +289,7 @@
"IN_PROGRESS",
"SUCCEEDED",
"FAILED",
"TIMED_OUT",
"REJECTED",
"REMOVED",
"CANCELED"
Expand Down Expand Up @@ -368,6 +375,10 @@
"statusDetails":{
"shape":"DetailsMap",
"documentation":"<p>A collection of name/value pairs that describe the status of the job execution. If not specified, the statusDetails are unchanged.</p>"
},
"stepTimeoutInMinutes":{
"shape":"StepTimeoutInMinutes",
"documentation":"<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 this timeout has no effect on that job execution timeout which may have been specified when the job was created (<code>CreateJob</code> using field <code>timeoutConfig</code>).</p>"
}
}
},
Expand All @@ -381,6 +392,7 @@
}
},
"StartedAt":{"type":"long"},
"StepTimeoutInMinutes":{"type":"long"},
"TerminalStateException":{
"type":"structure",
"members":{
Expand All @@ -401,7 +413,11 @@
"members":{
"message":{
"shape":"errorMessage",
"documentation":"<p>The message for the exception.</p>"
"documentation":"<p>The message associated with the exception.</p>"
},
"payload":{
"shape":"BinaryBlob",
"documentation":"<p>The payload associated with the exception.</p>"
}
},
"documentation":"<p>The rate exceeds the limit.</p>",
Expand Down Expand Up @@ -436,6 +452,10 @@
"shape":"DetailsMap",
"documentation":"<p> Optional. A collection of name/value pairs that describe the status of the job execution. If not specified, the statusDetails are unchanged.</p>"
},
"stepTimeoutInMinutes":{
"shape":"StepTimeoutInMinutes",
"documentation":"<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 this timeout has no effect on that job execution timeout which may have been specified when the job was created (<code>CreateJob</code> using field <code>timeoutConfig</code>).</p>"
},
"expectedVersion":{
"shape":"ExpectedVersion",
"documentation":"<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>"
Expand Down
36 changes: 33 additions & 3 deletions botocore/data/iot/2015-05-28/service-2.json
Expand Up @@ -2804,6 +2804,7 @@
},
"documentation":"<p>Contains information that allowed the authorization.</p>"
},
"ApproximateSecondsBeforeTimedOut":{"type":"long"},
"AscendingOrder":{"type":"boolean"},
"AssociateTargetsWithJobRequest":{
"type":"structure",
Expand Down Expand Up @@ -4043,6 +4044,10 @@
"jobExecutionsRolloutConfig":{
"shape":"JobExecutionsRolloutConfig",
"documentation":"<p>Allows you to create a staged rollout of the job.</p>"
},
"timeoutConfig":{
"shape":"TimeoutConfig",
"documentation":"<p>Specifies the amount of time each device has to finish its execution of the job. The timer is started when the job execution status is set to <code>IN_PROGRESS</code>. If the job execution status is not set to another terminal state before the time expires, it will be automatically set to <code>TIMED_OUT</code>.</p>"
}
}
},
Expand Down Expand Up @@ -5185,7 +5190,7 @@
"members":{
"endpointType":{
"shape":"EndpointType",
"documentation":"<p>The endpoint type (such as <code>iot:Data</code>, <code>iot:CredentialProvider</code> and <code>iot:Jobs</code>). </p>",
"documentation":"<p>The endpoint type. Valid endpoint types include:</p> <ul> <li> <p> <code>iot:Data</code> - Returns a VeriSign signed data endpoint.</p> </li> </ul> <ul> <li> <p> <code>iot:Data-ATS</code> - Returns an ATS signed data endpoint.</p> </li> </ul> <ul> <li> <p> <code>iot:CredentialProvider</code> - Returns an AWS IoT credentials provider API endpoint.</p> </li> </ul> <ul> <li> <p> <code>iot:Jobs</code> - Returns an AWS IoT device management Jobs API endpoint.</p> </li> </ul>",
"location":"querystring",
"locationName":"endpointType"
}
Expand Down Expand Up @@ -6355,6 +6360,7 @@
},
"InProgressChecksCount":{"type":"integer"},
"InProgressThings":{"type":"integer"},
"InProgressTimeoutInMinutes":{"type":"long"},
"IndexName":{
"type":"string",
"max":128,
Expand Down Expand Up @@ -6499,7 +6505,7 @@
},
"status":{
"shape":"JobStatus",
"documentation":"<p>The status of the job, one of <code>IN_PROGRESS</code>, <code>CANCELED</code>, or <code>COMPLETED</code>. </p>"
"documentation":"<p>The status of the job, one of <code>IN_PROGRESS</code>, <code>CANCELED</code>, <code>DELETION_IN_PROGRESS</code> or <code>COMPLETED</code>. </p>"
},
"forceCanceled":{
"shape":"Forced",
Expand Down Expand Up @@ -6540,6 +6546,10 @@
"jobProcessDetails":{
"shape":"JobProcessDetails",
"documentation":"<p>Details about the job process.</p>"
},
"timeoutConfig":{
"shape":"TimeoutConfig",
"documentation":"<p>Specifies the amount of time each device has to finish its execution of the job. A timer is started when the job execution status is set to <code>IN_PROGRESS</code>. If the job execution status is not set to another terminal state before the timer expires, it will be automatically set to <code>TIMED_OUT</code>.</p>"
}
},
"documentation":"<p>The <code>Job</code> object contains details about a job.</p>"
Expand Down Expand Up @@ -6568,7 +6578,7 @@
},
"status":{
"shape":"JobExecutionStatus",
"documentation":"<p>The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCESS, CANCELED, or REJECTED).</p>"
"documentation":"<p>The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCEEDED, TIMED_OUT, CANCELED, or REJECTED).</p>"
},
"forceCanceled":{
"shape":"Forced",
Expand Down Expand Up @@ -6601,6 +6611,10 @@
"versionNumber":{
"shape":"VersionNumber",
"documentation":"<p>The version of the job execution. Job execution versions are incremented each time they are updated by a device.</p>"
},
"approximateSecondsBeforeTimedOut":{
"shape":"ApproximateSecondsBeforeTimedOut",
"documentation":"<p>The estimated number of seconds that remain before the job execution status will be changed to <code>TIMED_OUT</code>.</p>"
}
},
"documentation":"<p>The job execution object represents the execution of a job on a particular device.</p>"
Expand All @@ -6612,6 +6626,7 @@
"IN_PROGRESS",
"SUCCEEDED",
"FAILED",
"TIMED_OUT",
"REJECTED",
"REMOVED",
"CANCELED"
Expand Down Expand Up @@ -6739,6 +6754,10 @@
"numberOfRemovedThings":{
"shape":"RemovedThings",
"documentation":"<p>The number of things that are no longer scheduled to execute the job because they have been deleted or have been removed from the group that was a target of the job.</p>"
},
"numberOfTimedOutThings":{
"shape":"TimedOutThings",
"documentation":"<p>The number of things whose job execution status is <code>TIMED_OUT</code>.</p>"
}
},
"documentation":"<p>The job process details.</p>"
Expand Down Expand Up @@ -10462,6 +10481,17 @@
"error":{"httpStatusCode":429},
"exception":true
},
"TimedOutThings":{"type":"integer"},
"TimeoutConfig":{
"type":"structure",
"members":{
"inProgressTimeoutInMinutes":{
"shape":"InProgressTimeoutInMinutes",
"documentation":"<p>Specifies the amount of time, in minutes, this device has to finish execution of this job. A timer is started, or restarted, whenever this job's execution status is specified as <code>IN_PROGRESS</code> with this field populated. If the job execution status is not set to a terminal state before the timer expires, or before another job execution status update is sent with this field populated, the status will be automatically set to <code>TIMED_OUT</code>. Note that setting/resetting this timer has no effect on the job execution timeout timer which may have been specified when the job was created (<code>CreateJobExecution</code> using the field <code>timeoutConfig</code>).</p>"
}
},
"documentation":"<p>Specifies the amount of time each device has to finish its execution of the job. A timer is started when the job execution status is set to <code>IN_PROGRESS</code>. If the job execution status is not set to another terminal state before the timer expires, it will be automatically set to <code>TIMED_OUT</code>.</p>"
},
"Timestamp":{"type":"timestamp"},
"Token":{
"type":"string",
Expand Down

0 comments on commit 0fe7a90

Please sign in to comment.