aws-sdk-iot 1.80.0 → 1.84.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iot/client.rb +80 -7
- data/lib/aws-sdk-iot/client_api.rb +26 -0
- data/lib/aws-sdk-iot/types.rb +154 -13
- data/lib/aws-sdk-iot.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5804e145f07645553fad6fc4c55819e94f568568a744e8cb686e5b15ae18cdd
|
4
|
+
data.tar.gz: 10012df1a5faf5f42d39a75e38f8b268e77f9bbcf56539c0f63699436bccf758
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: effd47e4882de79555af75cdb2bed38c3348f20ed02183f36ce438ed467e7e96c89e7c729f1f28828ca88a9b88aba1e244f7ac31cd7f0be4fd19539defe6a4b4
|
7
|
+
data.tar.gz: d8623a7131633ee7a269ea049c3cb5c53b380a39ec4dd58a69a11500604f1789755533b02cf80c3d65572dc890906d5107a51dcaf126b4c98d3d1b61adf5fab5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.84.0 (2022-02-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for configuring AWS IoT logging level per client ID, source IP, or principal ID.
|
8
|
+
|
9
|
+
1.83.0 (2022-01-05)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
14
|
+
1.82.0 (2021-12-21)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.81.0 (2021-12-08)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - This release allows customer to enable caching of custom authorizer on HTTP protocol for clients that use persistent or Keep-Alive connection in order to reduce the number of Lambda invocations.
|
23
|
+
|
4
24
|
1.80.0 (2021-11-30)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.84.0
|
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -27,6 +27,7 @@ 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'
|
30
31
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
32
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
33
|
|
@@ -73,6 +74,7 @@ module Aws::IoT
|
|
73
74
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
75
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
76
|
add_plugin(Aws::Plugins::HttpChecksum)
|
77
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
76
78
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
79
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
78
80
|
|
@@ -175,6 +177,10 @@ module Aws::IoT
|
|
175
177
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
176
178
|
# a clock skew correction and retry requests with skewed client clocks.
|
177
179
|
#
|
180
|
+
# @option options [String] :defaults_mode ("legacy")
|
181
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
182
|
+
# accepted modes and the configuration defaults that are included.
|
183
|
+
#
|
178
184
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
179
185
|
# Set to true to disable SDK automatically adding host prefix
|
180
186
|
# to default service endpoint when available.
|
@@ -297,7 +303,7 @@ module Aws::IoT
|
|
297
303
|
# seconds to wait when opening a HTTP session before raising a
|
298
304
|
# `Timeout::Error`.
|
299
305
|
#
|
300
|
-
# @option options [
|
306
|
+
# @option options [Float] :http_read_timeout (60) The default
|
301
307
|
# number of seconds to wait for response data. This value can
|
302
308
|
# safely be set per-request on the session.
|
303
309
|
#
|
@@ -313,6 +319,9 @@ module Aws::IoT
|
|
313
319
|
# disables this behaviour. This value can safely be set per
|
314
320
|
# request on the session.
|
315
321
|
#
|
322
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
323
|
+
# in seconds.
|
324
|
+
#
|
316
325
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
317
326
|
# HTTP debug output will be sent to the `:logger`.
|
318
327
|
#
|
@@ -1063,6 +1072,15 @@ module Aws::IoT
|
|
1063
1072
|
# Specifies whether IoT validates the token signature in an
|
1064
1073
|
# authorization request.
|
1065
1074
|
#
|
1075
|
+
# @option params [Boolean] :enable_caching_for_http
|
1076
|
+
# When `true`, the result from the authorizer’s Lambda function is
|
1077
|
+
# cached for clients that use persistent HTTP connections. The results
|
1078
|
+
# are cached for the time specified by the Lambda function in
|
1079
|
+
# `refreshAfterInSeconds`. This value does not affect authorization of
|
1080
|
+
# clients that use MQTT connections.
|
1081
|
+
#
|
1082
|
+
# The default value is `false`.
|
1083
|
+
#
|
1066
1084
|
# @return [Types::CreateAuthorizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1067
1085
|
#
|
1068
1086
|
# * {Types::CreateAuthorizerResponse#authorizer_name #authorizer_name} => String
|
@@ -1085,6 +1103,7 @@ module Aws::IoT
|
|
1085
1103
|
# },
|
1086
1104
|
# ],
|
1087
1105
|
# signing_disabled: false,
|
1106
|
+
# enable_caching_for_http: false,
|
1088
1107
|
# })
|
1089
1108
|
#
|
1090
1109
|
# @example Response structure
|
@@ -1693,7 +1712,7 @@ module Aws::IoT
|
|
1693
1712
|
# Allows you to create a staged rollout of the job.
|
1694
1713
|
#
|
1695
1714
|
# @option params [Types::AbortConfig] :abort_config
|
1696
|
-
# Allows you to create criteria to abort a job.
|
1715
|
+
# Allows you to create the criteria to abort a job.
|
1697
1716
|
#
|
1698
1717
|
# @option params [Types::TimeoutConfig] :timeout_config
|
1699
1718
|
# Specifies the amount of time each device has to finish its execution
|
@@ -1721,6 +1740,9 @@ module Aws::IoT
|
|
1721
1740
|
# @option params [String] :job_template_arn
|
1722
1741
|
# The ARN of the job template used to create the job.
|
1723
1742
|
#
|
1743
|
+
# @option params [Types::JobExecutionsRetryConfig] :job_executions_retry_config
|
1744
|
+
# Allows you to create the criteria to retry a job.
|
1745
|
+
#
|
1724
1746
|
# @option params [Hash<String,String>] :document_parameters
|
1725
1747
|
# Parameters of a managed template that you can specify to create the
|
1726
1748
|
# job document.
|
@@ -1776,6 +1798,14 @@ module Aws::IoT
|
|
1776
1798
|
# ],
|
1777
1799
|
# namespace_id: "NamespaceId",
|
1778
1800
|
# job_template_arn: "JobTemplateArn",
|
1801
|
+
# job_executions_retry_config: {
|
1802
|
+
# criteria_list: [ # required
|
1803
|
+
# {
|
1804
|
+
# failure_type: "FAILED", # required, accepts FAILED, TIMED_OUT, ALL
|
1805
|
+
# number_of_retries: 1, # required
|
1806
|
+
# },
|
1807
|
+
# ],
|
1808
|
+
# },
|
1779
1809
|
# document_parameters: {
|
1780
1810
|
# "ParameterKey" => "ParameterValue",
|
1781
1811
|
# },
|
@@ -1851,6 +1881,9 @@ module Aws::IoT
|
|
1851
1881
|
# @option params [Array<Types::Tag>] :tags
|
1852
1882
|
# Metadata that can be used to manage the job template.
|
1853
1883
|
#
|
1884
|
+
# @option params [Types::JobExecutionsRetryConfig] :job_executions_retry_config
|
1885
|
+
# Allows you to create the criteria to retry a job.
|
1886
|
+
#
|
1854
1887
|
# @return [Types::CreateJobTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1855
1888
|
#
|
1856
1889
|
# * {Types::CreateJobTemplateResponse#job_template_arn #job_template_arn} => String
|
@@ -1898,6 +1931,14 @@ module Aws::IoT
|
|
1898
1931
|
# value: "TagValue",
|
1899
1932
|
# },
|
1900
1933
|
# ],
|
1934
|
+
# job_executions_retry_config: {
|
1935
|
+
# criteria_list: [ # required
|
1936
|
+
# {
|
1937
|
+
# failure_type: "FAILED", # required, accepts FAILED, TIMED_OUT, ALL
|
1938
|
+
# number_of_retries: 1, # required
|
1939
|
+
# },
|
1940
|
+
# ],
|
1941
|
+
# },
|
1901
1942
|
# })
|
1902
1943
|
#
|
1903
1944
|
# @example Response structure
|
@@ -4485,7 +4526,7 @@ module Aws::IoT
|
|
4485
4526
|
# @example Request syntax with placeholder values
|
4486
4527
|
#
|
4487
4528
|
# resp = client.delete_v2_logging_level({
|
4488
|
-
# target_type: "DEFAULT", # required, accepts DEFAULT, THING_GROUP
|
4529
|
+
# target_type: "DEFAULT", # required, accepts DEFAULT, THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID
|
4489
4530
|
# target_name: "LogTargetName", # required
|
4490
4531
|
# })
|
4491
4532
|
#
|
@@ -4845,6 +4886,7 @@ module Aws::IoT
|
|
4845
4886
|
# resp.authorizer_description.creation_date #=> Time
|
4846
4887
|
# resp.authorizer_description.last_modified_date #=> Time
|
4847
4888
|
# resp.authorizer_description.signing_disabled #=> Boolean
|
4889
|
+
# resp.authorizer_description.enable_caching_for_http #=> Boolean
|
4848
4890
|
#
|
4849
4891
|
# @overload describe_authorizer(params = {})
|
4850
4892
|
# @param [Hash] params ({})
|
@@ -5059,6 +5101,7 @@ module Aws::IoT
|
|
5059
5101
|
# resp.authorizer_description.creation_date #=> Time
|
5060
5102
|
# resp.authorizer_description.last_modified_date #=> Time
|
5061
5103
|
# resp.authorizer_description.signing_disabled #=> Boolean
|
5104
|
+
# resp.authorizer_description.enable_caching_for_http #=> Boolean
|
5062
5105
|
#
|
5063
5106
|
# @overload describe_default_authorizer(params = {})
|
5064
5107
|
# @param [Hash] params ({})
|
@@ -5467,6 +5510,9 @@ module Aws::IoT
|
|
5467
5510
|
# resp.job.timeout_config.in_progress_timeout_in_minutes #=> Integer
|
5468
5511
|
# resp.job.namespace_id #=> String
|
5469
5512
|
# resp.job.job_template_arn #=> String
|
5513
|
+
# resp.job.job_executions_retry_config.criteria_list #=> Array
|
5514
|
+
# resp.job.job_executions_retry_config.criteria_list[0].failure_type #=> String, one of "FAILED", "TIMED_OUT", "ALL"
|
5515
|
+
# resp.job.job_executions_retry_config.criteria_list[0].number_of_retries #=> Integer
|
5470
5516
|
# resp.job.document_parameters #=> Hash
|
5471
5517
|
# resp.job.document_parameters["ParameterKey"] #=> String
|
5472
5518
|
#
|
@@ -5546,6 +5592,7 @@ module Aws::IoT
|
|
5546
5592
|
# * {Types::DescribeJobTemplateResponse#job_executions_rollout_config #job_executions_rollout_config} => Types::JobExecutionsRolloutConfig
|
5547
5593
|
# * {Types::DescribeJobTemplateResponse#abort_config #abort_config} => Types::AbortConfig
|
5548
5594
|
# * {Types::DescribeJobTemplateResponse#timeout_config #timeout_config} => Types::TimeoutConfig
|
5595
|
+
# * {Types::DescribeJobTemplateResponse#job_executions_retry_config #job_executions_retry_config} => Types::JobExecutionsRetryConfig
|
5549
5596
|
#
|
5550
5597
|
# @example Request syntax with placeholder values
|
5551
5598
|
#
|
@@ -5574,6 +5621,9 @@ module Aws::IoT
|
|
5574
5621
|
# resp.abort_config.criteria_list[0].threshold_percentage #=> Float
|
5575
5622
|
# resp.abort_config.criteria_list[0].min_number_of_executed_things #=> Integer
|
5576
5623
|
# resp.timeout_config.in_progress_timeout_in_minutes #=> Integer
|
5624
|
+
# resp.job_executions_retry_config.criteria_list #=> Array
|
5625
|
+
# resp.job_executions_retry_config.criteria_list[0].failure_type #=> String, one of "FAILED", "TIMED_OUT", "ALL"
|
5626
|
+
# resp.job_executions_retry_config.criteria_list[0].number_of_retries #=> Integer
|
5577
5627
|
#
|
5578
5628
|
# @overload describe_job_template(params = {})
|
5579
5629
|
# @param [Hash] params ({})
|
@@ -8559,6 +8609,7 @@ module Aws::IoT
|
|
8559
8609
|
# resp.execution_summaries[0].job_execution_summary.started_at #=> Time
|
8560
8610
|
# resp.execution_summaries[0].job_execution_summary.last_updated_at #=> Time
|
8561
8611
|
# resp.execution_summaries[0].job_execution_summary.execution_number #=> Integer
|
8612
|
+
# resp.execution_summaries[0].job_execution_summary.retry_attempt #=> Integer
|
8562
8613
|
# resp.next_token #=> String
|
8563
8614
|
#
|
8564
8615
|
# @overload list_job_executions_for_job(params = {})
|
@@ -8603,6 +8654,9 @@ module Aws::IoT
|
|
8603
8654
|
# @option params [String] :next_token
|
8604
8655
|
# The token to retrieve the next set of results.
|
8605
8656
|
#
|
8657
|
+
# @option params [String] :job_id
|
8658
|
+
# The unique identifier you assigned to this job when it was created.
|
8659
|
+
#
|
8606
8660
|
# @return [Types::ListJobExecutionsForThingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8607
8661
|
#
|
8608
8662
|
# * {Types::ListJobExecutionsForThingResponse#execution_summaries #execution_summaries} => Array<Types::JobExecutionSummaryForThing>
|
@@ -8618,6 +8672,7 @@ module Aws::IoT
|
|
8618
8672
|
# namespace_id: "NamespaceId",
|
8619
8673
|
# max_results: 1,
|
8620
8674
|
# next_token: "NextToken",
|
8675
|
+
# job_id: "JobId",
|
8621
8676
|
# })
|
8622
8677
|
#
|
8623
8678
|
# @example Response structure
|
@@ -8629,6 +8684,7 @@ module Aws::IoT
|
|
8629
8684
|
# resp.execution_summaries[0].job_execution_summary.started_at #=> Time
|
8630
8685
|
# resp.execution_summaries[0].job_execution_summary.last_updated_at #=> Time
|
8631
8686
|
# resp.execution_summaries[0].job_execution_summary.execution_number #=> Integer
|
8687
|
+
# resp.execution_summaries[0].job_execution_summary.retry_attempt #=> Integer
|
8632
8688
|
# resp.next_token #=> String
|
8633
8689
|
#
|
8634
8690
|
# @overload list_job_executions_for_thing(params = {})
|
@@ -10313,7 +10369,7 @@ module Aws::IoT
|
|
10313
10369
|
# @example Request syntax with placeholder values
|
10314
10370
|
#
|
10315
10371
|
# resp = client.list_v2_logging_levels({
|
10316
|
-
# target_type: "DEFAULT", # accepts DEFAULT, THING_GROUP
|
10372
|
+
# target_type: "DEFAULT", # accepts DEFAULT, THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID
|
10317
10373
|
# next_token: "NextToken",
|
10318
10374
|
# max_results: 1,
|
10319
10375
|
# })
|
@@ -10321,7 +10377,7 @@ module Aws::IoT
|
|
10321
10377
|
# @example Response structure
|
10322
10378
|
#
|
10323
10379
|
# resp.log_target_configurations #=> Array
|
10324
|
-
# resp.log_target_configurations[0].log_target.target_type #=> String, one of "DEFAULT", "THING_GROUP"
|
10380
|
+
# resp.log_target_configurations[0].log_target.target_type #=> String, one of "DEFAULT", "THING_GROUP", "CLIENT_ID", "SOURCE_IP", "PRINCIPAL_ID"
|
10325
10381
|
# resp.log_target_configurations[0].log_target.target_name #=> String
|
10326
10382
|
# resp.log_target_configurations[0].log_level #=> String, one of "DEBUG", "INFO", "ERROR", "WARN", "DISABLED"
|
10327
10383
|
# resp.next_token #=> String
|
@@ -11411,7 +11467,7 @@ module Aws::IoT
|
|
11411
11467
|
#
|
11412
11468
|
# resp = client.set_v2_logging_level({
|
11413
11469
|
# log_target: { # required
|
11414
|
-
# target_type: "DEFAULT", # required, accepts DEFAULT, THING_GROUP
|
11470
|
+
# target_type: "DEFAULT", # required, accepts DEFAULT, THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID
|
11415
11471
|
# target_name: "LogTargetName",
|
11416
11472
|
# },
|
11417
11473
|
# log_level: "DEBUG", # required, accepts DEBUG, INFO, ERROR, WARN, DISABLED
|
@@ -12115,6 +12171,11 @@ module Aws::IoT
|
|
12115
12171
|
# @option params [String] :status
|
12116
12172
|
# The status of the update authorizer request.
|
12117
12173
|
#
|
12174
|
+
# @option params [Boolean] :enable_caching_for_http
|
12175
|
+
# When `true`, the result from the authorizer’s Lambda function is
|
12176
|
+
# cached for the time specified in `refreshAfterInSeconds`. The cached
|
12177
|
+
# result is used while the device reuses the same HTTP connection.
|
12178
|
+
#
|
12118
12179
|
# @return [Types::UpdateAuthorizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
12119
12180
|
#
|
12120
12181
|
# * {Types::UpdateAuthorizerResponse#authorizer_name #authorizer_name} => String
|
@@ -12130,6 +12191,7 @@ module Aws::IoT
|
|
12130
12191
|
# "KeyName" => "KeyValue",
|
12131
12192
|
# },
|
12132
12193
|
# status: "ACTIVE", # accepts ACTIVE, INACTIVE
|
12194
|
+
# enable_caching_for_http: false,
|
12133
12195
|
# })
|
12134
12196
|
#
|
12135
12197
|
# @example Response structure
|
@@ -12712,6 +12774,9 @@ module Aws::IoT
|
|
12712
12774
|
#
|
12713
12775
|
# </note>
|
12714
12776
|
#
|
12777
|
+
# @option params [Types::JobExecutionsRetryConfig] :job_executions_retry_config
|
12778
|
+
# Allows you to create the criteria to retry a job.
|
12779
|
+
#
|
12715
12780
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
12716
12781
|
#
|
12717
12782
|
# @example Request syntax with placeholder values
|
@@ -12748,6 +12813,14 @@ module Aws::IoT
|
|
12748
12813
|
# in_progress_timeout_in_minutes: 1,
|
12749
12814
|
# },
|
12750
12815
|
# namespace_id: "NamespaceId",
|
12816
|
+
# job_executions_retry_config: {
|
12817
|
+
# criteria_list: [ # required
|
12818
|
+
# {
|
12819
|
+
# failure_type: "FAILED", # required, accepts FAILED, TIMED_OUT, ALL
|
12820
|
+
# number_of_retries: 1, # required
|
12821
|
+
# },
|
12822
|
+
# ],
|
12823
|
+
# },
|
12751
12824
|
# })
|
12752
12825
|
#
|
12753
12826
|
# @overload update_job(params = {})
|
@@ -13508,7 +13581,7 @@ module Aws::IoT
|
|
13508
13581
|
params: params,
|
13509
13582
|
config: config)
|
13510
13583
|
context[:gem_name] = 'aws-sdk-iot'
|
13511
|
-
context[:gem_version] = '1.
|
13584
|
+
context[:gem_version] = '1.84.0'
|
13512
13585
|
Seahorse::Client::Request.new(handlers, context)
|
13513
13586
|
end
|
13514
13587
|
|
@@ -485,6 +485,7 @@ module Aws::IoT
|
|
485
485
|
ElasticsearchId = Shapes::StringShape.new(name: 'ElasticsearchId')
|
486
486
|
ElasticsearchIndex = Shapes::StringShape.new(name: 'ElasticsearchIndex')
|
487
487
|
ElasticsearchType = Shapes::StringShape.new(name: 'ElasticsearchType')
|
488
|
+
EnableCachingForHttp = Shapes::BooleanShape.new(name: 'EnableCachingForHttp')
|
488
489
|
EnableIoTLoggingParams = Shapes::StructureShape.new(name: 'EnableIoTLoggingParams')
|
489
490
|
EnableTopicRuleRequest = Shapes::StructureShape.new(name: 'EnableTopicRuleRequest')
|
490
491
|
Enabled = Shapes::BooleanShape.new(name: 'Enabled')
|
@@ -627,6 +628,7 @@ module Aws::IoT
|
|
627
628
|
JobExecutionSummaryForJobList = Shapes::ListShape.new(name: 'JobExecutionSummaryForJobList')
|
628
629
|
JobExecutionSummaryForThing = Shapes::StructureShape.new(name: 'JobExecutionSummaryForThing')
|
629
630
|
JobExecutionSummaryForThingList = Shapes::ListShape.new(name: 'JobExecutionSummaryForThingList')
|
631
|
+
JobExecutionsRetryConfig = Shapes::StructureShape.new(name: 'JobExecutionsRetryConfig')
|
630
632
|
JobExecutionsRolloutConfig = Shapes::StructureShape.new(name: 'JobExecutionsRolloutConfig')
|
631
633
|
JobId = Shapes::StringShape.new(name: 'JobId')
|
632
634
|
JobProcessDetails = Shapes::StructureShape.new(name: 'JobProcessDetails')
|
@@ -820,6 +822,7 @@ module Aws::IoT
|
|
820
822
|
NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
|
821
823
|
Number = Shapes::FloatShape.new(name: 'Number')
|
822
824
|
NumberList = Shapes::ListShape.new(name: 'NumberList')
|
825
|
+
NumberOfRetries = Shapes::IntegerShape.new(name: 'NumberOfRetries')
|
823
826
|
NumberOfThings = Shapes::IntegerShape.new(name: 'NumberOfThings')
|
824
827
|
OTAUpdateArn = Shapes::StringShape.new(name: 'OTAUpdateArn')
|
825
828
|
OTAUpdateDescription = Shapes::StringShape.new(name: 'OTAUpdateDescription')
|
@@ -953,6 +956,10 @@ module Aws::IoT
|
|
953
956
|
ResourceRegistrationFailureException = Shapes::StructureShape.new(name: 'ResourceRegistrationFailureException')
|
954
957
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
955
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')
|
956
963
|
RoleAlias = Shapes::StringShape.new(name: 'RoleAlias')
|
957
964
|
RoleAliasArn = Shapes::StringShape.new(name: 'RoleAliasArn')
|
958
965
|
RoleAliasDescription = Shapes::StructureShape.new(name: 'RoleAliasDescription')
|
@@ -1528,6 +1535,7 @@ module Aws::IoT
|
|
1528
1535
|
AuthorizerDescription.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "creationDate"))
|
1529
1536
|
AuthorizerDescription.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "lastModifiedDate"))
|
1530
1537
|
AuthorizerDescription.add_member(:signing_disabled, Shapes::ShapeRef.new(shape: BooleanKey, location_name: "signingDisabled"))
|
1538
|
+
AuthorizerDescription.add_member(:enable_caching_for_http, Shapes::ShapeRef.new(shape: EnableCachingForHttp, location_name: "enableCachingForHttp"))
|
1531
1539
|
AuthorizerDescription.struct_class = Types::AuthorizerDescription
|
1532
1540
|
|
1533
1541
|
AuthorizerSummary.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, location_name: "authorizerName"))
|
@@ -1776,6 +1784,7 @@ module Aws::IoT
|
|
1776
1784
|
CreateAuthorizerRequest.add_member(:status, Shapes::ShapeRef.new(shape: AuthorizerStatus, location_name: "status"))
|
1777
1785
|
CreateAuthorizerRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
1778
1786
|
CreateAuthorizerRequest.add_member(:signing_disabled, Shapes::ShapeRef.new(shape: BooleanKey, location_name: "signingDisabled"))
|
1787
|
+
CreateAuthorizerRequest.add_member(:enable_caching_for_http, Shapes::ShapeRef.new(shape: EnableCachingForHttp, location_name: "enableCachingForHttp"))
|
1779
1788
|
CreateAuthorizerRequest.struct_class = Types::CreateAuthorizerRequest
|
1780
1789
|
|
1781
1790
|
CreateAuthorizerResponse.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, location_name: "authorizerName"))
|
@@ -1881,6 +1890,7 @@ module Aws::IoT
|
|
1881
1890
|
CreateJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
1882
1891
|
CreateJobRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location_name: "namespaceId"))
|
1883
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"))
|
1884
1894
|
CreateJobRequest.add_member(:document_parameters, Shapes::ShapeRef.new(shape: ParameterMap, location_name: "documentParameters"))
|
1885
1895
|
CreateJobRequest.struct_class = Types::CreateJobRequest
|
1886
1896
|
|
@@ -1899,6 +1909,7 @@ module Aws::IoT
|
|
1899
1909
|
CreateJobTemplateRequest.add_member(:abort_config, Shapes::ShapeRef.new(shape: AbortConfig, location_name: "abortConfig"))
|
1900
1910
|
CreateJobTemplateRequest.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
|
1901
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"))
|
1902
1913
|
CreateJobTemplateRequest.struct_class = Types::CreateJobTemplateRequest
|
1903
1914
|
|
1904
1915
|
CreateJobTemplateResponse.add_member(:job_template_arn, Shapes::ShapeRef.new(shape: JobTemplateArn, location_name: "jobTemplateArn"))
|
@@ -2459,6 +2470,7 @@ module Aws::IoT
|
|
2459
2470
|
DescribeJobTemplateResponse.add_member(:job_executions_rollout_config, Shapes::ShapeRef.new(shape: JobExecutionsRolloutConfig, location_name: "jobExecutionsRolloutConfig"))
|
2460
2471
|
DescribeJobTemplateResponse.add_member(:abort_config, Shapes::ShapeRef.new(shape: AbortConfig, location_name: "abortConfig"))
|
2461
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"))
|
2462
2474
|
DescribeJobTemplateResponse.struct_class = Types::DescribeJobTemplateResponse
|
2463
2475
|
|
2464
2476
|
DescribeManagedJobTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: ManagedJobTemplateName, required: true, location: "uri", location_name: "templateName"))
|
@@ -3004,6 +3016,7 @@ module Aws::IoT
|
|
3004
3016
|
Job.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
|
3005
3017
|
Job.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location_name: "namespaceId"))
|
3006
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"))
|
3007
3020
|
Job.add_member(:document_parameters, Shapes::ShapeRef.new(shape: ParameterMap, location_name: "documentParameters"))
|
3008
3021
|
Job.struct_class = Types::Job
|
3009
3022
|
|
@@ -3028,6 +3041,7 @@ module Aws::IoT
|
|
3028
3041
|
JobExecutionSummary.add_member(:started_at, Shapes::ShapeRef.new(shape: DateType, location_name: "startedAt"))
|
3029
3042
|
JobExecutionSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateType, location_name: "lastUpdatedAt"))
|
3030
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"))
|
3031
3045
|
JobExecutionSummary.struct_class = Types::JobExecutionSummary
|
3032
3046
|
|
3033
3047
|
JobExecutionSummaryForJob.add_member(:thing_arn, Shapes::ShapeRef.new(shape: ThingArn, location_name: "thingArn"))
|
@@ -3042,6 +3056,9 @@ module Aws::IoT
|
|
3042
3056
|
|
3043
3057
|
JobExecutionSummaryForThingList.member = Shapes::ShapeRef.new(shape: JobExecutionSummaryForThing)
|
3044
3058
|
|
3059
|
+
JobExecutionsRetryConfig.add_member(:criteria_list, Shapes::ShapeRef.new(shape: RetryCriteriaList, required: true, location_name: "criteriaList"))
|
3060
|
+
JobExecutionsRetryConfig.struct_class = Types::JobExecutionsRetryConfig
|
3061
|
+
|
3045
3062
|
JobExecutionsRolloutConfig.add_member(:maximum_per_minute, Shapes::ShapeRef.new(shape: MaxJobExecutionsPerMin, location_name: "maximumPerMinute"))
|
3046
3063
|
JobExecutionsRolloutConfig.add_member(:exponential_rate, Shapes::ShapeRef.new(shape: ExponentialRolloutRate, location_name: "exponentialRate"))
|
3047
3064
|
JobExecutionsRolloutConfig.struct_class = Types::JobExecutionsRolloutConfig
|
@@ -3311,6 +3328,7 @@ module Aws::IoT
|
|
3311
3328
|
ListJobExecutionsForThingRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
|
3312
3329
|
ListJobExecutionsForThingRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: LaserMaxResults, location: "querystring", location_name: "maxResults"))
|
3313
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"))
|
3314
3332
|
ListJobExecutionsForThingRequest.struct_class = Types::ListJobExecutionsForThingRequest
|
3315
3333
|
|
3316
3334
|
ListJobExecutionsForThingResponse.add_member(:execution_summaries, Shapes::ShapeRef.new(shape: JobExecutionSummaryForThingList, location_name: "executionSummaries"))
|
@@ -3992,6 +4010,12 @@ module Aws::IoT
|
|
3992
4010
|
|
3993
4011
|
Resources.member = Shapes::ShapeRef.new(shape: Resource)
|
3994
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
|
+
|
3995
4019
|
RoleAliasDescription.add_member(:role_alias, Shapes::ShapeRef.new(shape: RoleAlias, location_name: "roleAlias"))
|
3996
4020
|
RoleAliasDescription.add_member(:role_alias_arn, Shapes::ShapeRef.new(shape: RoleAliasArn, location_name: "roleAliasArn"))
|
3997
4021
|
RoleAliasDescription.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
@@ -4507,6 +4531,7 @@ module Aws::IoT
|
|
4507
4531
|
UpdateAuthorizerRequest.add_member(:token_key_name, Shapes::ShapeRef.new(shape: TokenKeyName, location_name: "tokenKeyName"))
|
4508
4532
|
UpdateAuthorizerRequest.add_member(:token_signing_public_keys, Shapes::ShapeRef.new(shape: PublicKeyMap, location_name: "tokenSigningPublicKeys"))
|
4509
4533
|
UpdateAuthorizerRequest.add_member(:status, Shapes::ShapeRef.new(shape: AuthorizerStatus, location_name: "status"))
|
4534
|
+
UpdateAuthorizerRequest.add_member(:enable_caching_for_http, Shapes::ShapeRef.new(shape: EnableCachingForHttp, location_name: "enableCachingForHttp"))
|
4510
4535
|
UpdateAuthorizerRequest.struct_class = Types::UpdateAuthorizerRequest
|
4511
4536
|
|
4512
4537
|
UpdateAuthorizerResponse.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, location_name: "authorizerName"))
|
@@ -4613,6 +4638,7 @@ module Aws::IoT
|
|
4613
4638
|
UpdateJobRequest.add_member(:abort_config, Shapes::ShapeRef.new(shape: AbortConfig, location_name: "abortConfig"))
|
4614
4639
|
UpdateJobRequest.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
|
4615
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"))
|
4616
4642
|
UpdateJobRequest.struct_class = Types::UpdateJobRequest
|
4617
4643
|
|
4618
4644
|
UpdateMitigationActionRequest.add_member(:action_name, Shapes::ShapeRef.new(shape: MitigationActionName, required: true, location: "uri", location_name: "actionName"))
|
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -1463,6 +1463,12 @@ module Aws::IoT
|
|
1463
1463
|
# authorization request.
|
1464
1464
|
# @return [Boolean]
|
1465
1465
|
#
|
1466
|
+
# @!attribute [rw] enable_caching_for_http
|
1467
|
+
# When `true`, the result from the authorizer’s Lambda function is
|
1468
|
+
# cached for the time specified in `refreshAfterInSeconds`. The cached
|
1469
|
+
# result is used while the device reuses the same HTTP connection.
|
1470
|
+
# @return [Boolean]
|
1471
|
+
#
|
1466
1472
|
class AuthorizerDescription < Struct.new(
|
1467
1473
|
:authorizer_name,
|
1468
1474
|
:authorizer_arn,
|
@@ -1472,7 +1478,8 @@ module Aws::IoT
|
|
1472
1478
|
:status,
|
1473
1479
|
:creation_date,
|
1474
1480
|
:last_modified_date,
|
1475
|
-
:signing_disabled
|
1481
|
+
:signing_disabled,
|
1482
|
+
:enable_caching_for_http)
|
1476
1483
|
SENSITIVE = []
|
1477
1484
|
include Aws::Structure
|
1478
1485
|
end
|
@@ -2828,6 +2835,7 @@ module Aws::IoT
|
|
2828
2835
|
# },
|
2829
2836
|
# ],
|
2830
2837
|
# signing_disabled: false,
|
2838
|
+
# enable_caching_for_http: false,
|
2831
2839
|
# }
|
2832
2840
|
#
|
2833
2841
|
# @!attribute [rw] authorizer_name
|
@@ -2872,6 +2880,16 @@ module Aws::IoT
|
|
2872
2880
|
# authorization request.
|
2873
2881
|
# @return [Boolean]
|
2874
2882
|
#
|
2883
|
+
# @!attribute [rw] enable_caching_for_http
|
2884
|
+
# When `true`, the result from the authorizer’s Lambda function is
|
2885
|
+
# cached for clients that use persistent HTTP connections. The results
|
2886
|
+
# are cached for the time specified by the Lambda function in
|
2887
|
+
# `refreshAfterInSeconds`. This value does not affect authorization of
|
2888
|
+
# clients that use MQTT connections.
|
2889
|
+
#
|
2890
|
+
# The default value is `false`.
|
2891
|
+
# @return [Boolean]
|
2892
|
+
#
|
2875
2893
|
class CreateAuthorizerRequest < Struct.new(
|
2876
2894
|
:authorizer_name,
|
2877
2895
|
:authorizer_function_arn,
|
@@ -2879,7 +2897,8 @@ module Aws::IoT
|
|
2879
2897
|
:token_signing_public_keys,
|
2880
2898
|
:status,
|
2881
2899
|
:tags,
|
2882
|
-
:signing_disabled
|
2900
|
+
:signing_disabled,
|
2901
|
+
:enable_caching_for_http)
|
2883
2902
|
SENSITIVE = []
|
2884
2903
|
include Aws::Structure
|
2885
2904
|
end
|
@@ -3506,6 +3525,14 @@ module Aws::IoT
|
|
3506
3525
|
# ],
|
3507
3526
|
# namespace_id: "NamespaceId",
|
3508
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
|
+
# },
|
3509
3536
|
# document_parameters: {
|
3510
3537
|
# "ParameterKey" => "ParameterValue",
|
3511
3538
|
# },
|
@@ -3565,7 +3592,7 @@ module Aws::IoT
|
|
3565
3592
|
# @return [Types::JobExecutionsRolloutConfig]
|
3566
3593
|
#
|
3567
3594
|
# @!attribute [rw] abort_config
|
3568
|
-
# Allows you to create criteria to abort a job.
|
3595
|
+
# Allows you to create the criteria to abort a job.
|
3569
3596
|
# @return [Types::AbortConfig]
|
3570
3597
|
#
|
3571
3598
|
# @!attribute [rw] timeout_config
|
@@ -3598,6 +3625,10 @@ module Aws::IoT
|
|
3598
3625
|
# The ARN of the job template used to create the job.
|
3599
3626
|
# @return [String]
|
3600
3627
|
#
|
3628
|
+
# @!attribute [rw] job_executions_retry_config
|
3629
|
+
# Allows you to create the criteria to retry a job.
|
3630
|
+
# @return [Types::JobExecutionsRetryConfig]
|
3631
|
+
#
|
3601
3632
|
# @!attribute [rw] document_parameters
|
3602
3633
|
# Parameters of a managed template that you can specify to create the
|
3603
3634
|
# job document.
|
@@ -3617,6 +3648,7 @@ module Aws::IoT
|
|
3617
3648
|
:tags,
|
3618
3649
|
:namespace_id,
|
3619
3650
|
:job_template_arn,
|
3651
|
+
:job_executions_retry_config,
|
3620
3652
|
:document_parameters)
|
3621
3653
|
SENSITIVE = []
|
3622
3654
|
include Aws::Structure
|
@@ -3685,6 +3717,14 @@ module Aws::IoT
|
|
3685
3717
|
# value: "TagValue",
|
3686
3718
|
# },
|
3687
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
|
+
# },
|
3688
3728
|
# }
|
3689
3729
|
#
|
3690
3730
|
# @!attribute [rw] job_template_id
|
@@ -3746,6 +3786,10 @@ module Aws::IoT
|
|
3746
3786
|
# Metadata that can be used to manage the job template.
|
3747
3787
|
# @return [Array<Types::Tag>]
|
3748
3788
|
#
|
3789
|
+
# @!attribute [rw] job_executions_retry_config
|
3790
|
+
# Allows you to create the criteria to retry a job.
|
3791
|
+
# @return [Types::JobExecutionsRetryConfig]
|
3792
|
+
#
|
3749
3793
|
class CreateJobTemplateRequest < Struct.new(
|
3750
3794
|
:job_template_id,
|
3751
3795
|
:job_arn,
|
@@ -3756,7 +3800,8 @@ module Aws::IoT
|
|
3756
3800
|
:job_executions_rollout_config,
|
3757
3801
|
:abort_config,
|
3758
3802
|
:timeout_config,
|
3759
|
-
:tags
|
3803
|
+
:tags,
|
3804
|
+
:job_executions_retry_config)
|
3760
3805
|
SENSITIVE = []
|
3761
3806
|
include Aws::Structure
|
3762
3807
|
end
|
@@ -6257,7 +6302,7 @@ module Aws::IoT
|
|
6257
6302
|
# data as a hash:
|
6258
6303
|
#
|
6259
6304
|
# {
|
6260
|
-
# target_type: "DEFAULT", # required, accepts DEFAULT, THING_GROUP
|
6305
|
+
# target_type: "DEFAULT", # required, accepts DEFAULT, THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID
|
6261
6306
|
# target_name: "LogTargetName", # required
|
6262
6307
|
# }
|
6263
6308
|
#
|
@@ -7306,6 +7351,11 @@ module Aws::IoT
|
|
7306
7351
|
# set to `TIMED_OUT`.
|
7307
7352
|
# @return [Types::TimeoutConfig]
|
7308
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
|
+
#
|
7309
7359
|
class DescribeJobTemplateResponse < Struct.new(
|
7310
7360
|
:job_template_arn,
|
7311
7361
|
:job_template_id,
|
@@ -7316,7 +7366,8 @@ module Aws::IoT
|
|
7316
7366
|
:presigned_url_config,
|
7317
7367
|
:job_executions_rollout_config,
|
7318
7368
|
:abort_config,
|
7319
|
-
:timeout_config
|
7369
|
+
:timeout_config,
|
7370
|
+
:job_executions_retry_config)
|
7320
7371
|
SENSITIVE = []
|
7321
7372
|
include Aws::Structure
|
7322
7373
|
end
|
@@ -10118,6 +10169,10 @@ module Aws::IoT
|
|
10118
10169
|
# The ARN of the job template used to create the job.
|
10119
10170
|
# @return [String]
|
10120
10171
|
#
|
10172
|
+
# @!attribute [rw] job_executions_retry_config
|
10173
|
+
# The configuration for the criteria to retry the job.
|
10174
|
+
# @return [Types::JobExecutionsRetryConfig]
|
10175
|
+
#
|
10121
10176
|
# @!attribute [rw] document_parameters
|
10122
10177
|
# A key-value map that pairs the patterns that need to be replaced in
|
10123
10178
|
# a managed template job document schema. You can use the description
|
@@ -10145,6 +10200,7 @@ module Aws::IoT
|
|
10145
10200
|
:timeout_config,
|
10146
10201
|
:namespace_id,
|
10147
10202
|
:job_template_arn,
|
10203
|
+
:job_executions_retry_config,
|
10148
10204
|
:document_parameters)
|
10149
10205
|
SENSITIVE = []
|
10150
10206
|
include Aws::Structure
|
@@ -10268,12 +10324,18 @@ module Aws::IoT
|
|
10268
10324
|
# execution information.
|
10269
10325
|
# @return [Integer]
|
10270
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
|
+
#
|
10271
10332
|
class JobExecutionSummary < Struct.new(
|
10272
10333
|
:status,
|
10273
10334
|
:queued_at,
|
10274
10335
|
:started_at,
|
10275
10336
|
:last_updated_at,
|
10276
|
-
:execution_number
|
10337
|
+
:execution_number,
|
10338
|
+
:retry_attempt)
|
10277
10339
|
SENSITIVE = []
|
10278
10340
|
include Aws::Structure
|
10279
10341
|
end
|
@@ -10313,6 +10375,32 @@ module Aws::IoT
|
|
10313
10375
|
include Aws::Structure
|
10314
10376
|
end
|
10315
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
|
+
|
10316
10404
|
# Allows you to create a staged rollout of a job.
|
10317
10405
|
#
|
10318
10406
|
# @note When making an API call, you may pass JobExecutionsRolloutConfig
|
@@ -11764,6 +11852,7 @@ module Aws::IoT
|
|
11764
11852
|
# namespace_id: "NamespaceId",
|
11765
11853
|
# max_results: 1,
|
11766
11854
|
# next_token: "NextToken",
|
11855
|
+
# job_id: "JobId",
|
11767
11856
|
# }
|
11768
11857
|
#
|
11769
11858
|
# @!attribute [rw] thing_name
|
@@ -11797,12 +11886,17 @@ module Aws::IoT
|
|
11797
11886
|
# The token to retrieve the next set of results.
|
11798
11887
|
# @return [String]
|
11799
11888
|
#
|
11889
|
+
# @!attribute [rw] job_id
|
11890
|
+
# The unique identifier you assigned to this job when it was created.
|
11891
|
+
# @return [String]
|
11892
|
+
#
|
11800
11893
|
class ListJobExecutionsForThingRequest < Struct.new(
|
11801
11894
|
:thing_name,
|
11802
11895
|
:status,
|
11803
11896
|
:namespace_id,
|
11804
11897
|
:max_results,
|
11805
|
-
:next_token
|
11898
|
+
:next_token,
|
11899
|
+
:job_id)
|
11806
11900
|
SENSITIVE = []
|
11807
11901
|
include Aws::Structure
|
11808
11902
|
end
|
@@ -13418,7 +13512,7 @@ module Aws::IoT
|
|
13418
13512
|
# data as a hash:
|
13419
13513
|
#
|
13420
13514
|
# {
|
13421
|
-
# target_type: "DEFAULT", # accepts DEFAULT, THING_GROUP
|
13515
|
+
# target_type: "DEFAULT", # accepts DEFAULT, THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID
|
13422
13516
|
# next_token: "NextToken",
|
13423
13517
|
# max_results: 1,
|
13424
13518
|
# }
|
@@ -13553,7 +13647,7 @@ module Aws::IoT
|
|
13553
13647
|
# data as a hash:
|
13554
13648
|
#
|
13555
13649
|
# {
|
13556
|
-
# target_type: "DEFAULT", # required, accepts DEFAULT, THING_GROUP
|
13650
|
+
# target_type: "DEFAULT", # required, accepts DEFAULT, THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID
|
13557
13651
|
# target_name: "LogTargetName",
|
13558
13652
|
# }
|
13559
13653
|
#
|
@@ -15572,6 +15666,32 @@ module Aws::IoT
|
|
15572
15666
|
include Aws::Structure
|
15573
15667
|
end
|
15574
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
|
+
|
15575
15695
|
# Role alias description.
|
15576
15696
|
#
|
15577
15697
|
# @!attribute [rw] role_alias
|
@@ -16014,7 +16134,7 @@ module Aws::IoT
|
|
16014
16134
|
#
|
16015
16135
|
# {
|
16016
16136
|
# log_target: { # required
|
16017
|
-
# target_type: "DEFAULT", # required, accepts DEFAULT, THING_GROUP
|
16137
|
+
# target_type: "DEFAULT", # required, accepts DEFAULT, THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID
|
16018
16138
|
# target_name: "LogTargetName",
|
16019
16139
|
# },
|
16020
16140
|
# log_level: "DEBUG", # required, accepts DEBUG, INFO, ERROR, WARN, DISABLED
|
@@ -18626,6 +18746,7 @@ module Aws::IoT
|
|
18626
18746
|
# "KeyName" => "KeyValue",
|
18627
18747
|
# },
|
18628
18748
|
# status: "ACTIVE", # accepts ACTIVE, INACTIVE
|
18749
|
+
# enable_caching_for_http: false,
|
18629
18750
|
# }
|
18630
18751
|
#
|
18631
18752
|
# @!attribute [rw] authorizer_name
|
@@ -18648,12 +18769,19 @@ module Aws::IoT
|
|
18648
18769
|
# The status of the update authorizer request.
|
18649
18770
|
# @return [String]
|
18650
18771
|
#
|
18772
|
+
# @!attribute [rw] enable_caching_for_http
|
18773
|
+
# When `true`, the result from the authorizer’s Lambda function is
|
18774
|
+
# cached for the time specified in `refreshAfterInSeconds`. The cached
|
18775
|
+
# result is used while the device reuses the same HTTP connection.
|
18776
|
+
# @return [Boolean]
|
18777
|
+
#
|
18651
18778
|
class UpdateAuthorizerRequest < Struct.new(
|
18652
18779
|
:authorizer_name,
|
18653
18780
|
:authorizer_function_arn,
|
18654
18781
|
:token_key_name,
|
18655
18782
|
:token_signing_public_keys,
|
18656
|
-
:status
|
18783
|
+
:status,
|
18784
|
+
:enable_caching_for_http)
|
18657
18785
|
SENSITIVE = []
|
18658
18786
|
include Aws::Structure
|
18659
18787
|
end
|
@@ -19292,6 +19420,14 @@ module Aws::IoT
|
|
19292
19420
|
# in_progress_timeout_in_minutes: 1,
|
19293
19421
|
# },
|
19294
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
|
+
# },
|
19295
19431
|
# }
|
19296
19432
|
#
|
19297
19433
|
# @!attribute [rw] job_id
|
@@ -19336,6 +19472,10 @@ module Aws::IoT
|
|
19336
19472
|
# </note>
|
19337
19473
|
# @return [String]
|
19338
19474
|
#
|
19475
|
+
# @!attribute [rw] job_executions_retry_config
|
19476
|
+
# Allows you to create the criteria to retry a job.
|
19477
|
+
# @return [Types::JobExecutionsRetryConfig]
|
19478
|
+
#
|
19339
19479
|
class UpdateJobRequest < Struct.new(
|
19340
19480
|
:job_id,
|
19341
19481
|
:description,
|
@@ -19343,7 +19483,8 @@ module Aws::IoT
|
|
19343
19483
|
:job_executions_rollout_config,
|
19344
19484
|
:abort_config,
|
19345
19485
|
:timeout_config,
|
19346
|
-
:namespace_id
|
19486
|
+
:namespace_id,
|
19487
|
+
:job_executions_retry_config)
|
19347
19488
|
SENSITIVE = []
|
19348
19489
|
include Aws::Structure
|
19349
19490
|
end
|
data/lib/aws-sdk-iot.rb
CHANGED
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.
|
4
|
+
version: 1.84.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:
|
11
|
+
date: 2022-02-02 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.
|
22
|
+
version: 3.125.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.
|
32
|
+
version: 3.125.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|