aws-sdk-iot 1.81.0 → 1.85.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
  SHA256:
3
- metadata.gz: 8653184804ca4728a5e14255d83cda910d253294bb90cde2460b4823afb0a886
4
- data.tar.gz: 6d67809e8c7d696f2107b8fd3f60c6acbe9d6710f153074ccd50435895f92500
3
+ metadata.gz: 3b00cc4e38278e3c42f76359ab1b0eff840d425bd3fa054d9b3cffed8e920311
4
+ data.tar.gz: d127bb0abcfacff9e1e03b8f79f968752feb2bab3a761325455ce88589d2a931
5
5
  SHA512:
6
- metadata.gz: 50e61a2d8bbfc00dcaa19dc1e5a0ff12d0bf7d7de7604067e270f4977b145dadd196097439f2ae2ef03e6829835c383b17e0811dbda0786bb230c63cd6e4cd17
7
- data.tar.gz: 9a6a989f10fb390f54ca555dea2ae72753c9a573f1ee921efe9eda9fb1337df4341a628bd205125d19a747d3ac3f76a006de78d2b24e54e88108219baafdf064
6
+ metadata.gz: f11e273368c2f91ec00bebdd633cc5f5b35ea90e70f1e6cf2b2b0c06b416d67e5b31381ef332ff9207e39774463073e0e15d1dc9d6533b709ce0d011da96ebca
7
+ data.tar.gz: c86ca1884a91b702090cd4d58264d00565e4ee5b4da1ac7d720c5c94eefa773f2a4a77215bff712696edec19004ac55ade04658019700a0e6c6e9124a59a6edb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.85.0 (2022-02-03)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.84.0 (2022-02-02)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for configuring AWS IoT logging level per client ID, source IP, or principal ID.
13
+
14
+ 1.83.0 (2022-01-05)
15
+ ------------------
16
+
17
+ * Feature - This release adds an automatic retry mechanism for AWS IoT Jobs. You can now define a maximum number of retries for each Job rollout, along with the criteria to trigger the retry for FAILED/TIMED_OUT/ALL(both FAILED an TIMED_OUT) job.
18
+
19
+ 1.82.0 (2021-12-21)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.81.0 (2021-12-08)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.81.0
1
+ 1.85.0
@@ -27,6 +27,8 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
31
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
30
32
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
33
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
34
 
@@ -73,6 +75,8 @@ module Aws::IoT
73
75
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
76
  add_plugin(Aws::Plugins::TransferEncoding)
75
77
  add_plugin(Aws::Plugins::HttpChecksum)
78
+ add_plugin(Aws::Plugins::DefaultsMode)
79
+ add_plugin(Aws::Plugins::RecursionDetection)
76
80
  add_plugin(Aws::Plugins::SignatureV4)
77
81
  add_plugin(Aws::Plugins::Protocols::RestJson)
78
82
 
@@ -175,6 +179,10 @@ module Aws::IoT
175
179
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
176
180
  # a clock skew correction and retry requests with skewed client clocks.
177
181
  #
182
+ # @option options [String] :defaults_mode ("legacy")
183
+ # See {Aws::DefaultsModeConfiguration} for a list of the
184
+ # accepted modes and the configuration defaults that are included.
185
+ #
178
186
  # @option options [Boolean] :disable_host_prefix_injection (false)
179
187
  # Set to true to disable SDK automatically adding host prefix
180
188
  # to default service endpoint when available.
@@ -297,7 +305,7 @@ module Aws::IoT
297
305
  # seconds to wait when opening a HTTP session before raising a
298
306
  # `Timeout::Error`.
299
307
  #
300
- # @option options [Integer] :http_read_timeout (60) The default
308
+ # @option options [Float] :http_read_timeout (60) The default
301
309
  # number of seconds to wait for response data. This value can
302
310
  # safely be set per-request on the session.
303
311
  #
@@ -313,6 +321,9 @@ module Aws::IoT
313
321
  # disables this behaviour. This value can safely be set per
314
322
  # request on the session.
315
323
  #
324
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
325
+ # in seconds.
326
+ #
316
327
  # @option options [Boolean] :http_wire_trace (false) When `true`,
317
328
  # HTTP debug output will be sent to the `:logger`.
318
329
  #
@@ -1703,7 +1714,7 @@ module Aws::IoT
1703
1714
  # Allows you to create a staged rollout of the job.
1704
1715
  #
1705
1716
  # @option params [Types::AbortConfig] :abort_config
1706
- # Allows you to create criteria to abort a job.
1717
+ # Allows you to create the criteria to abort a job.
1707
1718
  #
1708
1719
  # @option params [Types::TimeoutConfig] :timeout_config
1709
1720
  # Specifies the amount of time each device has to finish its execution
@@ -1731,6 +1742,9 @@ module Aws::IoT
1731
1742
  # @option params [String] :job_template_arn
1732
1743
  # The ARN of the job template used to create the job.
1733
1744
  #
1745
+ # @option params [Types::JobExecutionsRetryConfig] :job_executions_retry_config
1746
+ # Allows you to create the criteria to retry a job.
1747
+ #
1734
1748
  # @option params [Hash<String,String>] :document_parameters
1735
1749
  # Parameters of a managed template that you can specify to create the
1736
1750
  # job document.
@@ -1786,6 +1800,14 @@ module Aws::IoT
1786
1800
  # ],
1787
1801
  # namespace_id: "NamespaceId",
1788
1802
  # job_template_arn: "JobTemplateArn",
1803
+ # job_executions_retry_config: {
1804
+ # criteria_list: [ # required
1805
+ # {
1806
+ # failure_type: "FAILED", # required, accepts FAILED, TIMED_OUT, ALL
1807
+ # number_of_retries: 1, # required
1808
+ # },
1809
+ # ],
1810
+ # },
1789
1811
  # document_parameters: {
1790
1812
  # "ParameterKey" => "ParameterValue",
1791
1813
  # },
@@ -1861,6 +1883,9 @@ module Aws::IoT
1861
1883
  # @option params [Array<Types::Tag>] :tags
1862
1884
  # Metadata that can be used to manage the job template.
1863
1885
  #
1886
+ # @option params [Types::JobExecutionsRetryConfig] :job_executions_retry_config
1887
+ # Allows you to create the criteria to retry a job.
1888
+ #
1864
1889
  # @return [Types::CreateJobTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1865
1890
  #
1866
1891
  # * {Types::CreateJobTemplateResponse#job_template_arn #job_template_arn} => String
@@ -1908,6 +1933,14 @@ module Aws::IoT
1908
1933
  # value: "TagValue",
1909
1934
  # },
1910
1935
  # ],
1936
+ # job_executions_retry_config: {
1937
+ # criteria_list: [ # required
1938
+ # {
1939
+ # failure_type: "FAILED", # required, accepts FAILED, TIMED_OUT, ALL
1940
+ # number_of_retries: 1, # required
1941
+ # },
1942
+ # ],
1943
+ # },
1911
1944
  # })
1912
1945
  #
1913
1946
  # @example Response structure
@@ -4495,7 +4528,7 @@ module Aws::IoT
4495
4528
  # @example Request syntax with placeholder values
4496
4529
  #
4497
4530
  # resp = client.delete_v2_logging_level({
4498
- # target_type: "DEFAULT", # required, accepts DEFAULT, THING_GROUP
4531
+ # target_type: "DEFAULT", # required, accepts DEFAULT, THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID
4499
4532
  # target_name: "LogTargetName", # required
4500
4533
  # })
4501
4534
  #
@@ -5479,6 +5512,9 @@ module Aws::IoT
5479
5512
  # resp.job.timeout_config.in_progress_timeout_in_minutes #=> Integer
5480
5513
  # resp.job.namespace_id #=> String
5481
5514
  # resp.job.job_template_arn #=> String
5515
+ # resp.job.job_executions_retry_config.criteria_list #=> Array
5516
+ # resp.job.job_executions_retry_config.criteria_list[0].failure_type #=> String, one of "FAILED", "TIMED_OUT", "ALL"
5517
+ # resp.job.job_executions_retry_config.criteria_list[0].number_of_retries #=> Integer
5482
5518
  # resp.job.document_parameters #=> Hash
5483
5519
  # resp.job.document_parameters["ParameterKey"] #=> String
5484
5520
  #
@@ -5558,6 +5594,7 @@ module Aws::IoT
5558
5594
  # * {Types::DescribeJobTemplateResponse#job_executions_rollout_config #job_executions_rollout_config} => Types::JobExecutionsRolloutConfig
5559
5595
  # * {Types::DescribeJobTemplateResponse#abort_config #abort_config} => Types::AbortConfig
5560
5596
  # * {Types::DescribeJobTemplateResponse#timeout_config #timeout_config} => Types::TimeoutConfig
5597
+ # * {Types::DescribeJobTemplateResponse#job_executions_retry_config #job_executions_retry_config} => Types::JobExecutionsRetryConfig
5561
5598
  #
5562
5599
  # @example Request syntax with placeholder values
5563
5600
  #
@@ -5586,6 +5623,9 @@ module Aws::IoT
5586
5623
  # resp.abort_config.criteria_list[0].threshold_percentage #=> Float
5587
5624
  # resp.abort_config.criteria_list[0].min_number_of_executed_things #=> Integer
5588
5625
  # resp.timeout_config.in_progress_timeout_in_minutes #=> Integer
5626
+ # resp.job_executions_retry_config.criteria_list #=> Array
5627
+ # resp.job_executions_retry_config.criteria_list[0].failure_type #=> String, one of "FAILED", "TIMED_OUT", "ALL"
5628
+ # resp.job_executions_retry_config.criteria_list[0].number_of_retries #=> Integer
5589
5629
  #
5590
5630
  # @overload describe_job_template(params = {})
5591
5631
  # @param [Hash] params ({})
@@ -8571,6 +8611,7 @@ module Aws::IoT
8571
8611
  # resp.execution_summaries[0].job_execution_summary.started_at #=> Time
8572
8612
  # resp.execution_summaries[0].job_execution_summary.last_updated_at #=> Time
8573
8613
  # resp.execution_summaries[0].job_execution_summary.execution_number #=> Integer
8614
+ # resp.execution_summaries[0].job_execution_summary.retry_attempt #=> Integer
8574
8615
  # resp.next_token #=> String
8575
8616
  #
8576
8617
  # @overload list_job_executions_for_job(params = {})
@@ -8615,6 +8656,9 @@ module Aws::IoT
8615
8656
  # @option params [String] :next_token
8616
8657
  # The token to retrieve the next set of results.
8617
8658
  #
8659
+ # @option params [String] :job_id
8660
+ # The unique identifier you assigned to this job when it was created.
8661
+ #
8618
8662
  # @return [Types::ListJobExecutionsForThingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8619
8663
  #
8620
8664
  # * {Types::ListJobExecutionsForThingResponse#execution_summaries #execution_summaries} => Array&lt;Types::JobExecutionSummaryForThing&gt;
@@ -8630,6 +8674,7 @@ module Aws::IoT
8630
8674
  # namespace_id: "NamespaceId",
8631
8675
  # max_results: 1,
8632
8676
  # next_token: "NextToken",
8677
+ # job_id: "JobId",
8633
8678
  # })
8634
8679
  #
8635
8680
  # @example Response structure
@@ -8641,6 +8686,7 @@ module Aws::IoT
8641
8686
  # resp.execution_summaries[0].job_execution_summary.started_at #=> Time
8642
8687
  # resp.execution_summaries[0].job_execution_summary.last_updated_at #=> Time
8643
8688
  # resp.execution_summaries[0].job_execution_summary.execution_number #=> Integer
8689
+ # resp.execution_summaries[0].job_execution_summary.retry_attempt #=> Integer
8644
8690
  # resp.next_token #=> String
8645
8691
  #
8646
8692
  # @overload list_job_executions_for_thing(params = {})
@@ -10325,7 +10371,7 @@ module Aws::IoT
10325
10371
  # @example Request syntax with placeholder values
10326
10372
  #
10327
10373
  # resp = client.list_v2_logging_levels({
10328
- # target_type: "DEFAULT", # accepts DEFAULT, THING_GROUP
10374
+ # target_type: "DEFAULT", # accepts DEFAULT, THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID
10329
10375
  # next_token: "NextToken",
10330
10376
  # max_results: 1,
10331
10377
  # })
@@ -10333,7 +10379,7 @@ module Aws::IoT
10333
10379
  # @example Response structure
10334
10380
  #
10335
10381
  # resp.log_target_configurations #=> Array
10336
- # resp.log_target_configurations[0].log_target.target_type #=> String, one of "DEFAULT", "THING_GROUP"
10382
+ # resp.log_target_configurations[0].log_target.target_type #=> String, one of "DEFAULT", "THING_GROUP", "CLIENT_ID", "SOURCE_IP", "PRINCIPAL_ID"
10337
10383
  # resp.log_target_configurations[0].log_target.target_name #=> String
10338
10384
  # resp.log_target_configurations[0].log_level #=> String, one of "DEBUG", "INFO", "ERROR", "WARN", "DISABLED"
10339
10385
  # resp.next_token #=> String
@@ -11423,7 +11469,7 @@ module Aws::IoT
11423
11469
  #
11424
11470
  # resp = client.set_v2_logging_level({
11425
11471
  # log_target: { # required
11426
- # target_type: "DEFAULT", # required, accepts DEFAULT, THING_GROUP
11472
+ # target_type: "DEFAULT", # required, accepts DEFAULT, THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID
11427
11473
  # target_name: "LogTargetName",
11428
11474
  # },
11429
11475
  # log_level: "DEBUG", # required, accepts DEBUG, INFO, ERROR, WARN, DISABLED
@@ -12730,6 +12776,9 @@ module Aws::IoT
12730
12776
  #
12731
12777
  # </note>
12732
12778
  #
12779
+ # @option params [Types::JobExecutionsRetryConfig] :job_executions_retry_config
12780
+ # Allows you to create the criteria to retry a job.
12781
+ #
12733
12782
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
12734
12783
  #
12735
12784
  # @example Request syntax with placeholder values
@@ -12766,6 +12815,14 @@ module Aws::IoT
12766
12815
  # in_progress_timeout_in_minutes: 1,
12767
12816
  # },
12768
12817
  # namespace_id: "NamespaceId",
12818
+ # job_executions_retry_config: {
12819
+ # criteria_list: [ # required
12820
+ # {
12821
+ # failure_type: "FAILED", # required, accepts FAILED, TIMED_OUT, ALL
12822
+ # number_of_retries: 1, # required
12823
+ # },
12824
+ # ],
12825
+ # },
12769
12826
  # })
12770
12827
  #
12771
12828
  # @overload update_job(params = {})
@@ -13526,7 +13583,7 @@ module Aws::IoT
13526
13583
  params: params,
13527
13584
  config: config)
13528
13585
  context[:gem_name] = 'aws-sdk-iot'
13529
- context[:gem_version] = '1.81.0'
13586
+ context[:gem_version] = '1.85.0'
13530
13587
  Seahorse::Client::Request.new(handlers, context)
13531
13588
  end
13532
13589
 
@@ -628,6 +628,7 @@ module Aws::IoT
628
628
  JobExecutionSummaryForJobList = Shapes::ListShape.new(name: 'JobExecutionSummaryForJobList')
629
629
  JobExecutionSummaryForThing = Shapes::StructureShape.new(name: 'JobExecutionSummaryForThing')
630
630
  JobExecutionSummaryForThingList = Shapes::ListShape.new(name: 'JobExecutionSummaryForThingList')
631
+ JobExecutionsRetryConfig = Shapes::StructureShape.new(name: 'JobExecutionsRetryConfig')
631
632
  JobExecutionsRolloutConfig = Shapes::StructureShape.new(name: 'JobExecutionsRolloutConfig')
632
633
  JobId = Shapes::StringShape.new(name: 'JobId')
633
634
  JobProcessDetails = Shapes::StructureShape.new(name: 'JobProcessDetails')
@@ -821,6 +822,7 @@ module Aws::IoT
821
822
  NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
822
823
  Number = Shapes::FloatShape.new(name: 'Number')
823
824
  NumberList = Shapes::ListShape.new(name: 'NumberList')
825
+ NumberOfRetries = Shapes::IntegerShape.new(name: 'NumberOfRetries')
824
826
  NumberOfThings = Shapes::IntegerShape.new(name: 'NumberOfThings')
825
827
  OTAUpdateArn = Shapes::StringShape.new(name: 'OTAUpdateArn')
826
828
  OTAUpdateDescription = Shapes::StringShape.new(name: 'OTAUpdateDescription')
@@ -954,6 +956,10 @@ module Aws::IoT
954
956
  ResourceRegistrationFailureException = Shapes::StructureShape.new(name: 'ResourceRegistrationFailureException')
955
957
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
956
958
  Resources = Shapes::ListShape.new(name: 'Resources')
959
+ RetryAttempt = Shapes::IntegerShape.new(name: 'RetryAttempt')
960
+ RetryCriteria = Shapes::StructureShape.new(name: 'RetryCriteria')
961
+ RetryCriteriaList = Shapes::ListShape.new(name: 'RetryCriteriaList')
962
+ RetryableFailureType = Shapes::StringShape.new(name: 'RetryableFailureType')
957
963
  RoleAlias = Shapes::StringShape.new(name: 'RoleAlias')
958
964
  RoleAliasArn = Shapes::StringShape.new(name: 'RoleAliasArn')
959
965
  RoleAliasDescription = Shapes::StructureShape.new(name: 'RoleAliasDescription')
@@ -1884,6 +1890,7 @@ module Aws::IoT
1884
1890
  CreateJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
1885
1891
  CreateJobRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location_name: "namespaceId"))
1886
1892
  CreateJobRequest.add_member(:job_template_arn, Shapes::ShapeRef.new(shape: JobTemplateArn, location_name: "jobTemplateArn"))
1893
+ CreateJobRequest.add_member(:job_executions_retry_config, Shapes::ShapeRef.new(shape: JobExecutionsRetryConfig, location_name: "jobExecutionsRetryConfig"))
1887
1894
  CreateJobRequest.add_member(:document_parameters, Shapes::ShapeRef.new(shape: ParameterMap, location_name: "documentParameters"))
1888
1895
  CreateJobRequest.struct_class = Types::CreateJobRequest
1889
1896
 
@@ -1902,6 +1909,7 @@ module Aws::IoT
1902
1909
  CreateJobTemplateRequest.add_member(:abort_config, Shapes::ShapeRef.new(shape: AbortConfig, location_name: "abortConfig"))
1903
1910
  CreateJobTemplateRequest.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
1904
1911
  CreateJobTemplateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
1912
+ CreateJobTemplateRequest.add_member(:job_executions_retry_config, Shapes::ShapeRef.new(shape: JobExecutionsRetryConfig, location_name: "jobExecutionsRetryConfig"))
1905
1913
  CreateJobTemplateRequest.struct_class = Types::CreateJobTemplateRequest
1906
1914
 
1907
1915
  CreateJobTemplateResponse.add_member(:job_template_arn, Shapes::ShapeRef.new(shape: JobTemplateArn, location_name: "jobTemplateArn"))
@@ -2462,6 +2470,7 @@ module Aws::IoT
2462
2470
  DescribeJobTemplateResponse.add_member(:job_executions_rollout_config, Shapes::ShapeRef.new(shape: JobExecutionsRolloutConfig, location_name: "jobExecutionsRolloutConfig"))
2463
2471
  DescribeJobTemplateResponse.add_member(:abort_config, Shapes::ShapeRef.new(shape: AbortConfig, location_name: "abortConfig"))
2464
2472
  DescribeJobTemplateResponse.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
2473
+ DescribeJobTemplateResponse.add_member(:job_executions_retry_config, Shapes::ShapeRef.new(shape: JobExecutionsRetryConfig, location_name: "jobExecutionsRetryConfig"))
2465
2474
  DescribeJobTemplateResponse.struct_class = Types::DescribeJobTemplateResponse
2466
2475
 
2467
2476
  DescribeManagedJobTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: ManagedJobTemplateName, required: true, location: "uri", location_name: "templateName"))
@@ -3007,6 +3016,7 @@ module Aws::IoT
3007
3016
  Job.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
3008
3017
  Job.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location_name: "namespaceId"))
3009
3018
  Job.add_member(:job_template_arn, Shapes::ShapeRef.new(shape: JobTemplateArn, location_name: "jobTemplateArn"))
3019
+ Job.add_member(:job_executions_retry_config, Shapes::ShapeRef.new(shape: JobExecutionsRetryConfig, location_name: "jobExecutionsRetryConfig"))
3010
3020
  Job.add_member(:document_parameters, Shapes::ShapeRef.new(shape: ParameterMap, location_name: "documentParameters"))
3011
3021
  Job.struct_class = Types::Job
3012
3022
 
@@ -3031,6 +3041,7 @@ module Aws::IoT
3031
3041
  JobExecutionSummary.add_member(:started_at, Shapes::ShapeRef.new(shape: DateType, location_name: "startedAt"))
3032
3042
  JobExecutionSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateType, location_name: "lastUpdatedAt"))
3033
3043
  JobExecutionSummary.add_member(:execution_number, Shapes::ShapeRef.new(shape: ExecutionNumber, location_name: "executionNumber"))
3044
+ JobExecutionSummary.add_member(:retry_attempt, Shapes::ShapeRef.new(shape: RetryAttempt, location_name: "retryAttempt"))
3034
3045
  JobExecutionSummary.struct_class = Types::JobExecutionSummary
3035
3046
 
3036
3047
  JobExecutionSummaryForJob.add_member(:thing_arn, Shapes::ShapeRef.new(shape: ThingArn, location_name: "thingArn"))
@@ -3045,6 +3056,9 @@ module Aws::IoT
3045
3056
 
3046
3057
  JobExecutionSummaryForThingList.member = Shapes::ShapeRef.new(shape: JobExecutionSummaryForThing)
3047
3058
 
3059
+ JobExecutionsRetryConfig.add_member(:criteria_list, Shapes::ShapeRef.new(shape: RetryCriteriaList, required: true, location_name: "criteriaList"))
3060
+ JobExecutionsRetryConfig.struct_class = Types::JobExecutionsRetryConfig
3061
+
3048
3062
  JobExecutionsRolloutConfig.add_member(:maximum_per_minute, Shapes::ShapeRef.new(shape: MaxJobExecutionsPerMin, location_name: "maximumPerMinute"))
3049
3063
  JobExecutionsRolloutConfig.add_member(:exponential_rate, Shapes::ShapeRef.new(shape: ExponentialRolloutRate, location_name: "exponentialRate"))
3050
3064
  JobExecutionsRolloutConfig.struct_class = Types::JobExecutionsRolloutConfig
@@ -3314,6 +3328,7 @@ module Aws::IoT
3314
3328
  ListJobExecutionsForThingRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
3315
3329
  ListJobExecutionsForThingRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: LaserMaxResults, location: "querystring", location_name: "maxResults"))
3316
3330
  ListJobExecutionsForThingRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
3331
+ ListJobExecutionsForThingRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location: "querystring", location_name: "jobId"))
3317
3332
  ListJobExecutionsForThingRequest.struct_class = Types::ListJobExecutionsForThingRequest
3318
3333
 
3319
3334
  ListJobExecutionsForThingResponse.add_member(:execution_summaries, Shapes::ShapeRef.new(shape: JobExecutionSummaryForThingList, location_name: "executionSummaries"))
@@ -3995,6 +4010,12 @@ module Aws::IoT
3995
4010
 
3996
4011
  Resources.member = Shapes::ShapeRef.new(shape: Resource)
3997
4012
 
4013
+ RetryCriteria.add_member(:failure_type, Shapes::ShapeRef.new(shape: RetryableFailureType, required: true, location_name: "failureType"))
4014
+ RetryCriteria.add_member(:number_of_retries, Shapes::ShapeRef.new(shape: NumberOfRetries, required: true, location_name: "numberOfRetries"))
4015
+ RetryCriteria.struct_class = Types::RetryCriteria
4016
+
4017
+ RetryCriteriaList.member = Shapes::ShapeRef.new(shape: RetryCriteria)
4018
+
3998
4019
  RoleAliasDescription.add_member(:role_alias, Shapes::ShapeRef.new(shape: RoleAlias, location_name: "roleAlias"))
3999
4020
  RoleAliasDescription.add_member(:role_alias_arn, Shapes::ShapeRef.new(shape: RoleAliasArn, location_name: "roleAliasArn"))
4000
4021
  RoleAliasDescription.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
@@ -4617,6 +4638,7 @@ module Aws::IoT
4617
4638
  UpdateJobRequest.add_member(:abort_config, Shapes::ShapeRef.new(shape: AbortConfig, location_name: "abortConfig"))
4618
4639
  UpdateJobRequest.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
4619
4640
  UpdateJobRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
4641
+ UpdateJobRequest.add_member(:job_executions_retry_config, Shapes::ShapeRef.new(shape: JobExecutionsRetryConfig, location_name: "jobExecutionsRetryConfig"))
4620
4642
  UpdateJobRequest.struct_class = Types::UpdateJobRequest
4621
4643
 
4622
4644
  UpdateMitigationActionRequest.add_member(:action_name, Shapes::ShapeRef.new(shape: MitigationActionName, required: true, location: "uri", location_name: "actionName"))
@@ -3525,6 +3525,14 @@ module Aws::IoT
3525
3525
  # ],
3526
3526
  # namespace_id: "NamespaceId",
3527
3527
  # job_template_arn: "JobTemplateArn",
3528
+ # job_executions_retry_config: {
3529
+ # criteria_list: [ # required
3530
+ # {
3531
+ # failure_type: "FAILED", # required, accepts FAILED, TIMED_OUT, ALL
3532
+ # number_of_retries: 1, # required
3533
+ # },
3534
+ # ],
3535
+ # },
3528
3536
  # document_parameters: {
3529
3537
  # "ParameterKey" => "ParameterValue",
3530
3538
  # },
@@ -3584,7 +3592,7 @@ module Aws::IoT
3584
3592
  # @return [Types::JobExecutionsRolloutConfig]
3585
3593
  #
3586
3594
  # @!attribute [rw] abort_config
3587
- # Allows you to create criteria to abort a job.
3595
+ # Allows you to create the criteria to abort a job.
3588
3596
  # @return [Types::AbortConfig]
3589
3597
  #
3590
3598
  # @!attribute [rw] timeout_config
@@ -3617,6 +3625,10 @@ module Aws::IoT
3617
3625
  # The ARN of the job template used to create the job.
3618
3626
  # @return [String]
3619
3627
  #
3628
+ # @!attribute [rw] job_executions_retry_config
3629
+ # Allows you to create the criteria to retry a job.
3630
+ # @return [Types::JobExecutionsRetryConfig]
3631
+ #
3620
3632
  # @!attribute [rw] document_parameters
3621
3633
  # Parameters of a managed template that you can specify to create the
3622
3634
  # job document.
@@ -3636,6 +3648,7 @@ module Aws::IoT
3636
3648
  :tags,
3637
3649
  :namespace_id,
3638
3650
  :job_template_arn,
3651
+ :job_executions_retry_config,
3639
3652
  :document_parameters)
3640
3653
  SENSITIVE = []
3641
3654
  include Aws::Structure
@@ -3704,6 +3717,14 @@ module Aws::IoT
3704
3717
  # value: "TagValue",
3705
3718
  # },
3706
3719
  # ],
3720
+ # job_executions_retry_config: {
3721
+ # criteria_list: [ # required
3722
+ # {
3723
+ # failure_type: "FAILED", # required, accepts FAILED, TIMED_OUT, ALL
3724
+ # number_of_retries: 1, # required
3725
+ # },
3726
+ # ],
3727
+ # },
3707
3728
  # }
3708
3729
  #
3709
3730
  # @!attribute [rw] job_template_id
@@ -3765,6 +3786,10 @@ module Aws::IoT
3765
3786
  # Metadata that can be used to manage the job template.
3766
3787
  # @return [Array<Types::Tag>]
3767
3788
  #
3789
+ # @!attribute [rw] job_executions_retry_config
3790
+ # Allows you to create the criteria to retry a job.
3791
+ # @return [Types::JobExecutionsRetryConfig]
3792
+ #
3768
3793
  class CreateJobTemplateRequest < Struct.new(
3769
3794
  :job_template_id,
3770
3795
  :job_arn,
@@ -3775,7 +3800,8 @@ module Aws::IoT
3775
3800
  :job_executions_rollout_config,
3776
3801
  :abort_config,
3777
3802
  :timeout_config,
3778
- :tags)
3803
+ :tags,
3804
+ :job_executions_retry_config)
3779
3805
  SENSITIVE = []
3780
3806
  include Aws::Structure
3781
3807
  end
@@ -6276,7 +6302,7 @@ module Aws::IoT
6276
6302
  # data as a hash:
6277
6303
  #
6278
6304
  # {
6279
- # target_type: "DEFAULT", # required, accepts DEFAULT, THING_GROUP
6305
+ # target_type: "DEFAULT", # required, accepts DEFAULT, THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID
6280
6306
  # target_name: "LogTargetName", # required
6281
6307
  # }
6282
6308
  #
@@ -7325,6 +7351,11 @@ module Aws::IoT
7325
7351
  # set to `TIMED_OUT`.
7326
7352
  # @return [Types::TimeoutConfig]
7327
7353
  #
7354
+ # @!attribute [rw] job_executions_retry_config
7355
+ # The configuration that determines how many retries are allowed for
7356
+ # each failure type for a job.
7357
+ # @return [Types::JobExecutionsRetryConfig]
7358
+ #
7328
7359
  class DescribeJobTemplateResponse < Struct.new(
7329
7360
  :job_template_arn,
7330
7361
  :job_template_id,
@@ -7335,7 +7366,8 @@ module Aws::IoT
7335
7366
  :presigned_url_config,
7336
7367
  :job_executions_rollout_config,
7337
7368
  :abort_config,
7338
- :timeout_config)
7369
+ :timeout_config,
7370
+ :job_executions_retry_config)
7339
7371
  SENSITIVE = []
7340
7372
  include Aws::Structure
7341
7373
  end
@@ -10137,6 +10169,10 @@ module Aws::IoT
10137
10169
  # The ARN of the job template used to create the job.
10138
10170
  # @return [String]
10139
10171
  #
10172
+ # @!attribute [rw] job_executions_retry_config
10173
+ # The configuration for the criteria to retry the job.
10174
+ # @return [Types::JobExecutionsRetryConfig]
10175
+ #
10140
10176
  # @!attribute [rw] document_parameters
10141
10177
  # A key-value map that pairs the patterns that need to be replaced in
10142
10178
  # a managed template job document schema. You can use the description
@@ -10164,6 +10200,7 @@ module Aws::IoT
10164
10200
  :timeout_config,
10165
10201
  :namespace_id,
10166
10202
  :job_template_arn,
10203
+ :job_executions_retry_config,
10167
10204
  :document_parameters)
10168
10205
  SENSITIVE = []
10169
10206
  include Aws::Structure
@@ -10287,12 +10324,18 @@ module Aws::IoT
10287
10324
  # execution information.
10288
10325
  # @return [Integer]
10289
10326
  #
10327
+ # @!attribute [rw] retry_attempt
10328
+ # The number that indicates how many retry attempts have been
10329
+ # completed for this job on this device.
10330
+ # @return [Integer]
10331
+ #
10290
10332
  class JobExecutionSummary < Struct.new(
10291
10333
  :status,
10292
10334
  :queued_at,
10293
10335
  :started_at,
10294
10336
  :last_updated_at,
10295
- :execution_number)
10337
+ :execution_number,
10338
+ :retry_attempt)
10296
10339
  SENSITIVE = []
10297
10340
  include Aws::Structure
10298
10341
  end
@@ -10332,6 +10375,32 @@ module Aws::IoT
10332
10375
  include Aws::Structure
10333
10376
  end
10334
10377
 
10378
+ # The configuration that determines how many retries are allowed for
10379
+ # each failure type for a job.
10380
+ #
10381
+ # @note When making an API call, you may pass JobExecutionsRetryConfig
10382
+ # data as a hash:
10383
+ #
10384
+ # {
10385
+ # criteria_list: [ # required
10386
+ # {
10387
+ # failure_type: "FAILED", # required, accepts FAILED, TIMED_OUT, ALL
10388
+ # number_of_retries: 1, # required
10389
+ # },
10390
+ # ],
10391
+ # }
10392
+ #
10393
+ # @!attribute [rw] criteria_list
10394
+ # The list of criteria that determines how many retries are allowed
10395
+ # for each failure type for a job.
10396
+ # @return [Array<Types::RetryCriteria>]
10397
+ #
10398
+ class JobExecutionsRetryConfig < Struct.new(
10399
+ :criteria_list)
10400
+ SENSITIVE = []
10401
+ include Aws::Structure
10402
+ end
10403
+
10335
10404
  # Allows you to create a staged rollout of a job.
10336
10405
  #
10337
10406
  # @note When making an API call, you may pass JobExecutionsRolloutConfig
@@ -11783,6 +11852,7 @@ module Aws::IoT
11783
11852
  # namespace_id: "NamespaceId",
11784
11853
  # max_results: 1,
11785
11854
  # next_token: "NextToken",
11855
+ # job_id: "JobId",
11786
11856
  # }
11787
11857
  #
11788
11858
  # @!attribute [rw] thing_name
@@ -11816,12 +11886,17 @@ module Aws::IoT
11816
11886
  # The token to retrieve the next set of results.
11817
11887
  # @return [String]
11818
11888
  #
11889
+ # @!attribute [rw] job_id
11890
+ # The unique identifier you assigned to this job when it was created.
11891
+ # @return [String]
11892
+ #
11819
11893
  class ListJobExecutionsForThingRequest < Struct.new(
11820
11894
  :thing_name,
11821
11895
  :status,
11822
11896
  :namespace_id,
11823
11897
  :max_results,
11824
- :next_token)
11898
+ :next_token,
11899
+ :job_id)
11825
11900
  SENSITIVE = []
11826
11901
  include Aws::Structure
11827
11902
  end
@@ -13437,7 +13512,7 @@ module Aws::IoT
13437
13512
  # data as a hash:
13438
13513
  #
13439
13514
  # {
13440
- # target_type: "DEFAULT", # accepts DEFAULT, THING_GROUP
13515
+ # target_type: "DEFAULT", # accepts DEFAULT, THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID
13441
13516
  # next_token: "NextToken",
13442
13517
  # max_results: 1,
13443
13518
  # }
@@ -13572,7 +13647,7 @@ module Aws::IoT
13572
13647
  # data as a hash:
13573
13648
  #
13574
13649
  # {
13575
- # target_type: "DEFAULT", # required, accepts DEFAULT, THING_GROUP
13650
+ # target_type: "DEFAULT", # required, accepts DEFAULT, THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID
13576
13651
  # target_name: "LogTargetName",
13577
13652
  # }
13578
13653
  #
@@ -15591,6 +15666,32 @@ module Aws::IoT
15591
15666
  include Aws::Structure
15592
15667
  end
15593
15668
 
15669
+ # The criteria that determines how many retries are allowed for each
15670
+ # failure type for a job.
15671
+ #
15672
+ # @note When making an API call, you may pass RetryCriteria
15673
+ # data as a hash:
15674
+ #
15675
+ # {
15676
+ # failure_type: "FAILED", # required, accepts FAILED, TIMED_OUT, ALL
15677
+ # number_of_retries: 1, # required
15678
+ # }
15679
+ #
15680
+ # @!attribute [rw] failure_type
15681
+ # The type of job execution failures that can initiate a job retry.
15682
+ # @return [String]
15683
+ #
15684
+ # @!attribute [rw] number_of_retries
15685
+ # The number of retries allowed for a failure type for the job.
15686
+ # @return [Integer]
15687
+ #
15688
+ class RetryCriteria < Struct.new(
15689
+ :failure_type,
15690
+ :number_of_retries)
15691
+ SENSITIVE = []
15692
+ include Aws::Structure
15693
+ end
15694
+
15594
15695
  # Role alias description.
15595
15696
  #
15596
15697
  # @!attribute [rw] role_alias
@@ -16033,7 +16134,7 @@ module Aws::IoT
16033
16134
  #
16034
16135
  # {
16035
16136
  # log_target: { # required
16036
- # target_type: "DEFAULT", # required, accepts DEFAULT, THING_GROUP
16137
+ # target_type: "DEFAULT", # required, accepts DEFAULT, THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID
16037
16138
  # target_name: "LogTargetName",
16038
16139
  # },
16039
16140
  # log_level: "DEBUG", # required, accepts DEBUG, INFO, ERROR, WARN, DISABLED
@@ -19319,6 +19420,14 @@ module Aws::IoT
19319
19420
  # in_progress_timeout_in_minutes: 1,
19320
19421
  # },
19321
19422
  # namespace_id: "NamespaceId",
19423
+ # job_executions_retry_config: {
19424
+ # criteria_list: [ # required
19425
+ # {
19426
+ # failure_type: "FAILED", # required, accepts FAILED, TIMED_OUT, ALL
19427
+ # number_of_retries: 1, # required
19428
+ # },
19429
+ # ],
19430
+ # },
19322
19431
  # }
19323
19432
  #
19324
19433
  # @!attribute [rw] job_id
@@ -19363,6 +19472,10 @@ module Aws::IoT
19363
19472
  # </note>
19364
19473
  # @return [String]
19365
19474
  #
19475
+ # @!attribute [rw] job_executions_retry_config
19476
+ # Allows you to create the criteria to retry a job.
19477
+ # @return [Types::JobExecutionsRetryConfig]
19478
+ #
19366
19479
  class UpdateJobRequest < Struct.new(
19367
19480
  :job_id,
19368
19481
  :description,
@@ -19370,7 +19483,8 @@ module Aws::IoT
19370
19483
  :job_executions_rollout_config,
19371
19484
  :abort_config,
19372
19485
  :timeout_config,
19373
- :namespace_id)
19486
+ :namespace_id,
19487
+ :job_executions_retry_config)
19374
19488
  SENSITIVE = []
19375
19489
  include Aws::Structure
19376
19490
  end
data/lib/aws-sdk-iot.rb CHANGED
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-iot/customizations'
48
48
  # @!group service
49
49
  module Aws::IoT
50
50
 
51
- GEM_VERSION = '1.81.0'
51
+ GEM_VERSION = '1.85.0'
52
52
 
53
53
  end
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.81.0
4
+ version: 1.85.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: 2021-12-08 00:00:00.000000000 Z
11
+ date: 2022-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.122.0
22
+ version: 3.126.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.122.0
32
+ version: 3.126.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement