aws-sdk-iot 1.15.0 → 1.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b3bd2e504964ed53e70039a831a84aeae5734849
4
- data.tar.gz: 45481b3e29b3f0a6d6f57a5fcc3b27b00760eae9
3
+ metadata.gz: 1d7d75cf49343268b26edb380275ba6156488b6a
4
+ data.tar.gz: 69c184cc0b407d7e9a7977ebc2970ce366fc3644
5
5
  SHA512:
6
- metadata.gz: fc84525320e1c4030f93e5279778ce91407a7ce681a395649dbd9fb0e192bb9aad1e8c9a4b0a3d5027936ff9679ecc86c34a254554522eccefa1f0f0cab35082
7
- data.tar.gz: 22c89dec726adafe8a905898c0ea00b2439b07841d1cfa05caf190a867be6ace4c875a14bd29c7ad9722596722bfc2c94d5b9ea4a58c1d4aa7ab1b13dc75fd46
6
+ metadata.gz: 9aca0d68532a2788f908b2d3d033202a7aea983c999b396d9fbd5202667c76607658d9a4bd230a8522b4d1675061dd0cf7ae88145c84a905898b3559ff9fbfa9
7
+ data.tar.gz: 946def04b6f6aac76961265766196c84a086fb8856efa239e81053fd6f6f88b9d687a0503fad3a902fa0632d9115b95ab271c4cff04c9a6bb6835caeef35f386
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-iot/customizations'
42
42
  # @service
43
43
  module Aws::IoT
44
44
 
45
- GEM_VERSION = '1.15.0'
45
+ GEM_VERSION = '1.16.0'
46
46
 
47
47
  end
@@ -715,6 +715,13 @@ module Aws::IoT
715
715
  # @option params [Types::JobExecutionsRolloutConfig] :job_executions_rollout_config
716
716
  # Allows you to create a staged rollout of the job.
717
717
  #
718
+ # @option params [Types::TimeoutConfig] :timeout_config
719
+ # Specifies the amount of time each device has to finish its execution
720
+ # of the job. The timer is started when the job execution status is set
721
+ # to `IN_PROGRESS`. If the job execution status is not set to another
722
+ # terminal state before the time expires, it will be automatically set
723
+ # to `TIMED_OUT`.
724
+ #
718
725
  # @return [Types::CreateJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
719
726
  #
720
727
  # * {Types::CreateJobResponse#job_arn #job_arn} => String
@@ -737,6 +744,9 @@ module Aws::IoT
737
744
  # job_executions_rollout_config: {
738
745
  # maximum_per_minute: 1,
739
746
  # },
747
+ # timeout_config: {
748
+ # in_progress_timeout_in_minutes: 1,
749
+ # },
740
750
  # })
741
751
  #
742
752
  # @example Response structure
@@ -2320,8 +2330,27 @@ module Aws::IoT
2320
2330
  # Returns a unique endpoint specific to the AWS account making the call.
2321
2331
  #
2322
2332
  # @option params [String] :endpoint_type
2323
- # The endpoint type (such as `iot:Data`, `iot:CredentialProvider` and
2324
- # `iot:Jobs`).
2333
+ # The endpoint type. Valid endpoint types include:
2334
+ #
2335
+ # * `iot:Data` - Returns a VeriSign signed data endpoint.
2336
+ #
2337
+ # ^
2338
+ # ^
2339
+ #
2340
+ # * `iot:Data-ATS` - Returns an ATS signed data endpoint.
2341
+ #
2342
+ # ^
2343
+ # ^
2344
+ #
2345
+ # * `iot:CredentialProvider` - Returns an AWS IoT credentials provider
2346
+ # API endpoint.
2347
+ #
2348
+ # ^
2349
+ # ^
2350
+ #
2351
+ # * `iot:Jobs` - Returns an AWS IoT device management Jobs API endpoint.
2352
+ #
2353
+ # ^
2325
2354
  #
2326
2355
  # @return [Types::DescribeEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2327
2356
  #
@@ -2439,6 +2468,8 @@ module Aws::IoT
2439
2468
  # resp.job.job_process_details.number_of_queued_things #=> Integer
2440
2469
  # resp.job.job_process_details.number_of_in_progress_things #=> Integer
2441
2470
  # resp.job.job_process_details.number_of_removed_things #=> Integer
2471
+ # resp.job.job_process_details.number_of_timed_out_things #=> Integer
2472
+ # resp.job.timeout_config.in_progress_timeout_in_minutes #=> Integer
2442
2473
  #
2443
2474
  # @overload describe_job(params = {})
2444
2475
  # @param [Hash] params ({})
@@ -2474,7 +2505,7 @@ module Aws::IoT
2474
2505
  # @example Response structure
2475
2506
  #
2476
2507
  # resp.execution.job_id #=> String
2477
- # resp.execution.status #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "REJECTED", "REMOVED", "CANCELED"
2508
+ # resp.execution.status #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "TIMED_OUT", "REJECTED", "REMOVED", "CANCELED"
2478
2509
  # resp.execution.force_canceled #=> Boolean
2479
2510
  # resp.execution.status_details.details_map #=> Hash
2480
2511
  # resp.execution.status_details.details_map["DetailsKey"] #=> String
@@ -2484,6 +2515,7 @@ module Aws::IoT
2484
2515
  # resp.execution.last_updated_at #=> Time
2485
2516
  # resp.execution.execution_number #=> Integer
2486
2517
  # resp.execution.version_number #=> Integer
2518
+ # resp.execution.approximate_seconds_before_timed_out #=> Integer
2487
2519
  #
2488
2520
  # @overload describe_job_execution(params = {})
2489
2521
  # @param [Hash] params ({})
@@ -3887,7 +3919,7 @@ module Aws::IoT
3887
3919
  #
3888
3920
  # resp = client.list_job_executions_for_job({
3889
3921
  # job_id: "JobId", # required
3890
- # status: "QUEUED", # accepts QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, REJECTED, REMOVED, CANCELED
3922
+ # status: "QUEUED", # accepts QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT, REJECTED, REMOVED, CANCELED
3891
3923
  # max_results: 1,
3892
3924
  # next_token: "NextToken",
3893
3925
  # })
@@ -3896,7 +3928,7 @@ module Aws::IoT
3896
3928
  #
3897
3929
  # resp.execution_summaries #=> Array
3898
3930
  # resp.execution_summaries[0].thing_arn #=> String
3899
- # resp.execution_summaries[0].job_execution_summary.status #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "REJECTED", "REMOVED", "CANCELED"
3931
+ # resp.execution_summaries[0].job_execution_summary.status #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "TIMED_OUT", "REJECTED", "REMOVED", "CANCELED"
3900
3932
  # resp.execution_summaries[0].job_execution_summary.queued_at #=> Time
3901
3933
  # resp.execution_summaries[0].job_execution_summary.started_at #=> Time
3902
3934
  # resp.execution_summaries[0].job_execution_summary.last_updated_at #=> Time
@@ -3934,7 +3966,7 @@ module Aws::IoT
3934
3966
  #
3935
3967
  # resp = client.list_job_executions_for_thing({
3936
3968
  # thing_name: "ThingName", # required
3937
- # status: "QUEUED", # accepts QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, REJECTED, REMOVED, CANCELED
3969
+ # status: "QUEUED", # accepts QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT, REJECTED, REMOVED, CANCELED
3938
3970
  # max_results: 1,
3939
3971
  # next_token: "NextToken",
3940
3972
  # })
@@ -3943,7 +3975,7 @@ module Aws::IoT
3943
3975
  #
3944
3976
  # resp.execution_summaries #=> Array
3945
3977
  # resp.execution_summaries[0].job_id #=> String
3946
- # resp.execution_summaries[0].job_execution_summary.status #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "REJECTED", "REMOVED", "CANCELED"
3978
+ # resp.execution_summaries[0].job_execution_summary.status #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "TIMED_OUT", "REJECTED", "REMOVED", "CANCELED"
3947
3979
  # resp.execution_summaries[0].job_execution_summary.queued_at #=> Time
3948
3980
  # resp.execution_summaries[0].job_execution_summary.started_at #=> Time
3949
3981
  # resp.execution_summaries[0].job_execution_summary.last_updated_at #=> Time
@@ -6591,7 +6623,7 @@ module Aws::IoT
6591
6623
  params: params,
6592
6624
  config: config)
6593
6625
  context[:gem_name] = 'aws-sdk-iot'
6594
- context[:gem_version] = '1.15.0'
6626
+ context[:gem_version] = '1.16.0'
6595
6627
  Seahorse::Client::Request.new(handlers, context)
6596
6628
  end
6597
6629
 
@@ -27,6 +27,7 @@ module Aws::IoT
27
27
  AlertTargets = Shapes::MapShape.new(name: 'AlertTargets')
28
28
  AllowAutoRegistration = Shapes::BooleanShape.new(name: 'AllowAutoRegistration')
29
29
  Allowed = Shapes::StructureShape.new(name: 'Allowed')
30
+ ApproximateSecondsBeforeTimedOut = Shapes::IntegerShape.new(name: 'ApproximateSecondsBeforeTimedOut')
30
31
  AscendingOrder = Shapes::BooleanShape.new(name: 'AscendingOrder')
31
32
  AssociateTargetsWithJobRequest = Shapes::StructureShape.new(name: 'AssociateTargetsWithJobRequest')
32
33
  AssociateTargetsWithJobResponse = Shapes::StructureShape.new(name: 'AssociateTargetsWithJobResponse')
@@ -328,6 +329,7 @@ module Aws::IoT
328
329
  ImplicitDeny = Shapes::StructureShape.new(name: 'ImplicitDeny')
329
330
  InProgressChecksCount = Shapes::IntegerShape.new(name: 'InProgressChecksCount')
330
331
  InProgressThings = Shapes::IntegerShape.new(name: 'InProgressThings')
332
+ InProgressTimeoutInMinutes = Shapes::IntegerShape.new(name: 'InProgressTimeoutInMinutes')
331
333
  IndexName = Shapes::StringShape.new(name: 'IndexName')
332
334
  IndexNamesList = Shapes::ListShape.new(name: 'IndexNamesList')
333
335
  IndexNotReadyException = Shapes::StructureShape.new(name: 'IndexNotReadyException')
@@ -691,6 +693,8 @@ module Aws::IoT
691
693
  ThingTypeName = Shapes::StringShape.new(name: 'ThingTypeName')
692
694
  ThingTypeProperties = Shapes::StructureShape.new(name: 'ThingTypeProperties')
693
695
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
696
+ TimedOutThings = Shapes::IntegerShape.new(name: 'TimedOutThings')
697
+ TimeoutConfig = Shapes::StructureShape.new(name: 'TimeoutConfig')
694
698
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
695
699
  Token = Shapes::StringShape.new(name: 'Token')
696
700
  TokenKeyName = Shapes::StringShape.new(name: 'TokenKeyName')
@@ -1077,6 +1081,7 @@ module Aws::IoT
1077
1081
  CreateJobRequest.add_member(:presigned_url_config, Shapes::ShapeRef.new(shape: PresignedUrlConfig, location_name: "presignedUrlConfig"))
1078
1082
  CreateJobRequest.add_member(:target_selection, Shapes::ShapeRef.new(shape: TargetSelection, location_name: "targetSelection"))
1079
1083
  CreateJobRequest.add_member(:job_executions_rollout_config, Shapes::ShapeRef.new(shape: JobExecutionsRolloutConfig, location_name: "jobExecutionsRolloutConfig"))
1084
+ CreateJobRequest.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
1080
1085
  CreateJobRequest.struct_class = Types::CreateJobRequest
1081
1086
 
1082
1087
  CreateJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "jobArn"))
@@ -1665,6 +1670,7 @@ module Aws::IoT
1665
1670
  Job.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateType, location_name: "lastUpdatedAt"))
1666
1671
  Job.add_member(:completed_at, Shapes::ShapeRef.new(shape: DateType, location_name: "completedAt"))
1667
1672
  Job.add_member(:job_process_details, Shapes::ShapeRef.new(shape: JobProcessDetails, location_name: "jobProcessDetails"))
1673
+ Job.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
1668
1674
  Job.struct_class = Types::Job
1669
1675
 
1670
1676
  JobExecution.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
@@ -1677,6 +1683,7 @@ module Aws::IoT
1677
1683
  JobExecution.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateType, location_name: "lastUpdatedAt"))
1678
1684
  JobExecution.add_member(:execution_number, Shapes::ShapeRef.new(shape: ExecutionNumber, location_name: "executionNumber"))
1679
1685
  JobExecution.add_member(:version_number, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "versionNumber"))
1686
+ JobExecution.add_member(:approximate_seconds_before_timed_out, Shapes::ShapeRef.new(shape: ApproximateSecondsBeforeTimedOut, location_name: "approximateSecondsBeforeTimedOut"))
1680
1687
  JobExecution.struct_class = Types::JobExecution
1681
1688
 
1682
1689
  JobExecutionStatusDetails.add_member(:details_map, Shapes::ShapeRef.new(shape: DetailsMap, location_name: "detailsMap"))
@@ -1712,6 +1719,7 @@ module Aws::IoT
1712
1719
  JobProcessDetails.add_member(:number_of_queued_things, Shapes::ShapeRef.new(shape: QueuedThings, location_name: "numberOfQueuedThings"))
1713
1720
  JobProcessDetails.add_member(:number_of_in_progress_things, Shapes::ShapeRef.new(shape: InProgressThings, location_name: "numberOfInProgressThings"))
1714
1721
  JobProcessDetails.add_member(:number_of_removed_things, Shapes::ShapeRef.new(shape: RemovedThings, location_name: "numberOfRemovedThings"))
1722
+ JobProcessDetails.add_member(:number_of_timed_out_things, Shapes::ShapeRef.new(shape: TimedOutThings, location_name: "numberOfTimedOutThings"))
1715
1723
  JobProcessDetails.struct_class = Types::JobProcessDetails
1716
1724
 
1717
1725
  JobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "jobArn"))
@@ -2558,6 +2566,9 @@ module Aws::IoT
2558
2566
  ThingTypeProperties.add_member(:searchable_attributes, Shapes::ShapeRef.new(shape: SearchableAttributes, location_name: "searchableAttributes"))
2559
2567
  ThingTypeProperties.struct_class = Types::ThingTypeProperties
2560
2568
 
2569
+ TimeoutConfig.add_member(:in_progress_timeout_in_minutes, Shapes::ShapeRef.new(shape: InProgressTimeoutInMinutes, location_name: "inProgressTimeoutInMinutes"))
2570
+ TimeoutConfig.struct_class = Types::TimeoutConfig
2571
+
2561
2572
  TopicRule.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, location_name: "ruleName"))
2562
2573
  TopicRule.add_member(:sql, Shapes::ShapeRef.new(shape: SQL, location_name: "sql"))
2563
2574
  TopicRule.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
@@ -1590,6 +1590,9 @@ module Aws::IoT
1590
1590
  # job_executions_rollout_config: {
1591
1591
  # maximum_per_minute: 1,
1592
1592
  # },
1593
+ # timeout_config: {
1594
+ # in_progress_timeout_in_minutes: 1,
1595
+ # },
1593
1596
  # }
1594
1597
  #
1595
1598
  # @!attribute [rw] job_id
@@ -1631,6 +1634,14 @@ module Aws::IoT
1631
1634
  # Allows you to create a staged rollout of the job.
1632
1635
  # @return [Types::JobExecutionsRolloutConfig]
1633
1636
  #
1637
+ # @!attribute [rw] timeout_config
1638
+ # Specifies the amount of time each device has to finish its execution
1639
+ # of the job. The timer is started when the job execution status is
1640
+ # set to `IN_PROGRESS`. If the job execution status is not set to
1641
+ # another terminal state before the time expires, it will be
1642
+ # automatically set to `TIMED_OUT`.
1643
+ # @return [Types::TimeoutConfig]
1644
+ #
1634
1645
  class CreateJobRequest < Struct.new(
1635
1646
  :job_id,
1636
1647
  :targets,
@@ -1639,7 +1650,8 @@ module Aws::IoT
1639
1650
  :description,
1640
1651
  :presigned_url_config,
1641
1652
  :target_selection,
1642
- :job_executions_rollout_config)
1653
+ :job_executions_rollout_config,
1654
+ :timeout_config)
1643
1655
  include Aws::Structure
1644
1656
  end
1645
1657
 
@@ -3317,8 +3329,28 @@ module Aws::IoT
3317
3329
  # }
3318
3330
  #
3319
3331
  # @!attribute [rw] endpoint_type
3320
- # The endpoint type (such as `iot:Data`, `iot:CredentialProvider` and
3321
- # `iot:Jobs`).
3332
+ # The endpoint type. Valid endpoint types include:
3333
+ #
3334
+ # * `iot:Data` - Returns a VeriSign signed data endpoint.
3335
+ #
3336
+ # ^
3337
+ # ^
3338
+ #
3339
+ # * `iot:Data-ATS` - Returns an ATS signed data endpoint.
3340
+ #
3341
+ # ^
3342
+ # ^
3343
+ #
3344
+ # * `iot:CredentialProvider` - Returns an AWS IoT credentials provider
3345
+ # API endpoint.
3346
+ #
3347
+ # ^
3348
+ # ^
3349
+ #
3350
+ # * `iot:Jobs` - Returns an AWS IoT device management Jobs API
3351
+ # endpoint.
3352
+ #
3353
+ # ^
3322
3354
  # @return [String]
3323
3355
  #
3324
3356
  class DescribeEndpointRequest < Struct.new(
@@ -4755,8 +4787,8 @@ module Aws::IoT
4755
4787
  # @return [String]
4756
4788
  #
4757
4789
  # @!attribute [rw] status
4758
- # The status of the job, one of `IN_PROGRESS`, `CANCELED`, or
4759
- # `COMPLETED`.
4790
+ # The status of the job, one of `IN_PROGRESS`, `CANCELED`,
4791
+ # `DELETION_IN_PROGRESS` or `COMPLETED`.
4760
4792
  # @return [String]
4761
4793
  #
4762
4794
  # @!attribute [rw] force_canceled
@@ -4803,6 +4835,14 @@ module Aws::IoT
4803
4835
  # Details about the job process.
4804
4836
  # @return [Types::JobProcessDetails]
4805
4837
  #
4838
+ # @!attribute [rw] timeout_config
4839
+ # Specifies the amount of time each device has to finish its execution
4840
+ # of the job. A timer is started when the job execution status is set
4841
+ # to `IN_PROGRESS`. If the job execution status is not set to another
4842
+ # terminal state before the timer expires, it will be automatically
4843
+ # set to `TIMED_OUT`.
4844
+ # @return [Types::TimeoutConfig]
4845
+ #
4806
4846
  class Job < Struct.new(
4807
4847
  :job_arn,
4808
4848
  :job_id,
@@ -4817,7 +4857,8 @@ module Aws::IoT
4817
4857
  :created_at,
4818
4858
  :last_updated_at,
4819
4859
  :completed_at,
4820
- :job_process_details)
4860
+ :job_process_details,
4861
+ :timeout_config)
4821
4862
  include Aws::Structure
4822
4863
  end
4823
4864
 
@@ -4830,7 +4871,7 @@ module Aws::IoT
4830
4871
  #
4831
4872
  # @!attribute [rw] status
4832
4873
  # The status of the job execution (IN\_PROGRESS, QUEUED, FAILED,
4833
- # SUCCESS, CANCELED, or REJECTED).
4874
+ # SUCCEEDED, TIMED\_OUT, CANCELED, or REJECTED).
4834
4875
  # @return [String]
4835
4876
  #
4836
4877
  # @!attribute [rw] force_canceled
@@ -4874,6 +4915,11 @@ module Aws::IoT
4874
4915
  # incremented each time they are updated by a device.
4875
4916
  # @return [Integer]
4876
4917
  #
4918
+ # @!attribute [rw] approximate_seconds_before_timed_out
4919
+ # The estimated number of seconds that remain before the job execution
4920
+ # status will be changed to `TIMED_OUT`.
4921
+ # @return [Integer]
4922
+ #
4877
4923
  class JobExecution < Struct.new(
4878
4924
  :job_id,
4879
4925
  :status,
@@ -4884,7 +4930,8 @@ module Aws::IoT
4884
4930
  :started_at,
4885
4931
  :last_updated_at,
4886
4932
  :execution_number,
4887
- :version_number)
4933
+ :version_number,
4934
+ :approximate_seconds_before_timed_out)
4888
4935
  include Aws::Structure
4889
4936
  end
4890
4937
 
@@ -5026,6 +5073,10 @@ module Aws::IoT
5026
5073
  # that was a target of the job.
5027
5074
  # @return [Integer]
5028
5075
  #
5076
+ # @!attribute [rw] number_of_timed_out_things
5077
+ # The number of things whose job execution status is `TIMED_OUT`.
5078
+ # @return [Integer]
5079
+ #
5029
5080
  class JobProcessDetails < Struct.new(
5030
5081
  :processing_targets,
5031
5082
  :number_of_canceled_things,
@@ -5034,7 +5085,8 @@ module Aws::IoT
5034
5085
  :number_of_rejected_things,
5035
5086
  :number_of_queued_things,
5036
5087
  :number_of_in_progress_things,
5037
- :number_of_removed_things)
5088
+ :number_of_removed_things,
5089
+ :number_of_timed_out_things)
5038
5090
  include Aws::Structure
5039
5091
  end
5040
5092
 
@@ -5647,7 +5699,7 @@ module Aws::IoT
5647
5699
  #
5648
5700
  # {
5649
5701
  # job_id: "JobId", # required
5650
- # status: "QUEUED", # accepts QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, REJECTED, REMOVED, CANCELED
5702
+ # status: "QUEUED", # accepts QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT, REJECTED, REMOVED, CANCELED
5651
5703
  # max_results: 1,
5652
5704
  # next_token: "NextToken",
5653
5705
  # }
@@ -5696,7 +5748,7 @@ module Aws::IoT
5696
5748
  #
5697
5749
  # {
5698
5750
  # thing_name: "ThingName", # required
5699
- # status: "QUEUED", # accepts QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, REJECTED, REMOVED, CANCELED
5751
+ # status: "QUEUED", # accepts QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT, REJECTED, REMOVED, CANCELED
5700
5752
  # max_results: 1,
5701
5753
  # next_token: "NextToken",
5702
5754
  # }
@@ -9236,6 +9288,37 @@ module Aws::IoT
9236
9288
  include Aws::Structure
9237
9289
  end
9238
9290
 
9291
+ # Specifies the amount of time each device has to finish its execution
9292
+ # of the job. A timer is started when the job execution status is set to
9293
+ # `IN_PROGRESS`. If the job execution status is not set to another
9294
+ # terminal state before the timer expires, it will be automatically set
9295
+ # to `TIMED_OUT`.
9296
+ #
9297
+ # @note When making an API call, you may pass TimeoutConfig
9298
+ # data as a hash:
9299
+ #
9300
+ # {
9301
+ # in_progress_timeout_in_minutes: 1,
9302
+ # }
9303
+ #
9304
+ # @!attribute [rw] in_progress_timeout_in_minutes
9305
+ # Specifies the amount of time, in minutes, this device has to finish
9306
+ # execution of this job. A timer is started, or restarted, whenever
9307
+ # this job's execution status is specified as `IN_PROGRESS` with this
9308
+ # field populated. If the job execution status is not set to a
9309
+ # terminal state before the timer expires, or before another job
9310
+ # execution status update is sent with this field populated, the
9311
+ # status will be automatically set to `TIMED_OUT`. Note that
9312
+ # setting/resetting this timer has no effect on the job execution
9313
+ # timeout timer which may have been specified when the job was created
9314
+ # (`CreateJobExecution` using the field `timeoutConfig`).
9315
+ # @return [Integer]
9316
+ #
9317
+ class TimeoutConfig < Struct.new(
9318
+ :in_progress_timeout_in_minutes)
9319
+ include Aws::Structure
9320
+ end
9321
+
9239
9322
  # Describes a rule.
9240
9323
  #
9241
9324
  # @!attribute [rw] rule_name
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-iot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.0
4
+ version: 1.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-06 00:00:00.000000000 Z
11
+ date: 2018-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core