aws-sdk-iot 1.79.0 → 1.83.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iot/client.rb +85 -5
- data/lib/aws-sdk-iot/client_api.rb +31 -0
- data/lib/aws-sdk-iot/types.rb +217 -11
- 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: 1c81ec32e3e42ff5139d120e8929097fcbecf5980ee11c6b8db9851c36d60f22
|
4
|
+
data.tar.gz: 2647e57947df0a81db9fc4acf6c251009d560dad30d66a739e4d56dbe99603d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dff787c128c0f62922f125ce574cd1336613b7f9e4b2edcda41b7eeab5a07f9739c0ff7984fb9047b371f76a0462e0a28e0c8068cc9035ef4c908942cd7d8f8b
|
7
|
+
data.tar.gz: 1eb4c21485d5c130c9eec0d2ba480cc57f3325f892e2f99de89f32d994d02559adcd8df53ebd711c7c2eaa554c1327d80e8235d8de81d4e069f11ee01851bfc1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.83.0 (2022-01-05)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
9
|
+
1.82.0 (2021-12-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.81.0 (2021-12-08)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* 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.
|
18
|
+
|
19
|
+
1.80.0 (2021-11-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Added the ability to enable/disable IoT Fleet Indexing for Device Defender and Named Shadow information, and search them through IoT Fleet Indexing APIs.
|
23
|
+
|
4
24
|
1.79.0 (2021-11-23)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.83.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
|
|
@@ -119,7 +121,9 @@ module Aws::IoT
|
|
119
121
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
122
|
# are very aggressive. Construct and pass an instance of
|
121
123
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
124
|
+
# enable retries and extended timeouts. Instance profile credential
|
125
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
126
|
+
# to true.
|
123
127
|
#
|
124
128
|
# @option options [required, String] :region
|
125
129
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +177,10 @@ module Aws::IoT
|
|
173
177
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
178
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
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
|
+
#
|
176
184
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
185
|
# Set to true to disable SDK automatically adding host prefix
|
178
186
|
# to default service endpoint when available.
|
@@ -295,7 +303,7 @@ module Aws::IoT
|
|
295
303
|
# seconds to wait when opening a HTTP session before raising a
|
296
304
|
# `Timeout::Error`.
|
297
305
|
#
|
298
|
-
# @option options [
|
306
|
+
# @option options [Float] :http_read_timeout (60) The default
|
299
307
|
# number of seconds to wait for response data. This value can
|
300
308
|
# safely be set per-request on the session.
|
301
309
|
#
|
@@ -311,6 +319,9 @@ module Aws::IoT
|
|
311
319
|
# disables this behaviour. This value can safely be set per
|
312
320
|
# request on the session.
|
313
321
|
#
|
322
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
323
|
+
# in seconds.
|
324
|
+
#
|
314
325
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
315
326
|
# HTTP debug output will be sent to the `:logger`.
|
316
327
|
#
|
@@ -1061,6 +1072,15 @@ module Aws::IoT
|
|
1061
1072
|
# Specifies whether IoT validates the token signature in an
|
1062
1073
|
# authorization request.
|
1063
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
|
+
#
|
1064
1084
|
# @return [Types::CreateAuthorizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1065
1085
|
#
|
1066
1086
|
# * {Types::CreateAuthorizerResponse#authorizer_name #authorizer_name} => String
|
@@ -1083,6 +1103,7 @@ module Aws::IoT
|
|
1083
1103
|
# },
|
1084
1104
|
# ],
|
1085
1105
|
# signing_disabled: false,
|
1106
|
+
# enable_caching_for_http: false,
|
1086
1107
|
# })
|
1087
1108
|
#
|
1088
1109
|
# @example Response structure
|
@@ -1691,7 +1712,7 @@ module Aws::IoT
|
|
1691
1712
|
# Allows you to create a staged rollout of the job.
|
1692
1713
|
#
|
1693
1714
|
# @option params [Types::AbortConfig] :abort_config
|
1694
|
-
# Allows you to create criteria to abort a job.
|
1715
|
+
# Allows you to create the criteria to abort a job.
|
1695
1716
|
#
|
1696
1717
|
# @option params [Types::TimeoutConfig] :timeout_config
|
1697
1718
|
# Specifies the amount of time each device has to finish its execution
|
@@ -1719,6 +1740,9 @@ module Aws::IoT
|
|
1719
1740
|
# @option params [String] :job_template_arn
|
1720
1741
|
# The ARN of the job template used to create the job.
|
1721
1742
|
#
|
1743
|
+
# @option params [Types::JobExecutionsRetryConfig] :job_executions_retry_config
|
1744
|
+
# Allows you to create the criteria to retry a job.
|
1745
|
+
#
|
1722
1746
|
# @option params [Hash<String,String>] :document_parameters
|
1723
1747
|
# Parameters of a managed template that you can specify to create the
|
1724
1748
|
# job document.
|
@@ -1774,6 +1798,14 @@ module Aws::IoT
|
|
1774
1798
|
# ],
|
1775
1799
|
# namespace_id: "NamespaceId",
|
1776
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
|
+
# },
|
1777
1809
|
# document_parameters: {
|
1778
1810
|
# "ParameterKey" => "ParameterValue",
|
1779
1811
|
# },
|
@@ -1849,6 +1881,9 @@ module Aws::IoT
|
|
1849
1881
|
# @option params [Array<Types::Tag>] :tags
|
1850
1882
|
# Metadata that can be used to manage the job template.
|
1851
1883
|
#
|
1884
|
+
# @option params [Types::JobExecutionsRetryConfig] :job_executions_retry_config
|
1885
|
+
# Allows you to create the criteria to retry a job.
|
1886
|
+
#
|
1852
1887
|
# @return [Types::CreateJobTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1853
1888
|
#
|
1854
1889
|
# * {Types::CreateJobTemplateResponse#job_template_arn #job_template_arn} => String
|
@@ -1896,6 +1931,14 @@ module Aws::IoT
|
|
1896
1931
|
# value: "TagValue",
|
1897
1932
|
# },
|
1898
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
|
+
# },
|
1899
1942
|
# })
|
1900
1943
|
#
|
1901
1944
|
# @example Response structure
|
@@ -4843,6 +4886,7 @@ module Aws::IoT
|
|
4843
4886
|
# resp.authorizer_description.creation_date #=> Time
|
4844
4887
|
# resp.authorizer_description.last_modified_date #=> Time
|
4845
4888
|
# resp.authorizer_description.signing_disabled #=> Boolean
|
4889
|
+
# resp.authorizer_description.enable_caching_for_http #=> Boolean
|
4846
4890
|
#
|
4847
4891
|
# @overload describe_authorizer(params = {})
|
4848
4892
|
# @param [Hash] params ({})
|
@@ -5057,6 +5101,7 @@ module Aws::IoT
|
|
5057
5101
|
# resp.authorizer_description.creation_date #=> Time
|
5058
5102
|
# resp.authorizer_description.last_modified_date #=> Time
|
5059
5103
|
# resp.authorizer_description.signing_disabled #=> Boolean
|
5104
|
+
# resp.authorizer_description.enable_caching_for_http #=> Boolean
|
5060
5105
|
#
|
5061
5106
|
# @overload describe_default_authorizer(params = {})
|
5062
5107
|
# @param [Hash] params ({})
|
@@ -5465,6 +5510,9 @@ module Aws::IoT
|
|
5465
5510
|
# resp.job.timeout_config.in_progress_timeout_in_minutes #=> Integer
|
5466
5511
|
# resp.job.namespace_id #=> String
|
5467
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
|
5468
5516
|
# resp.job.document_parameters #=> Hash
|
5469
5517
|
# resp.job.document_parameters["ParameterKey"] #=> String
|
5470
5518
|
#
|
@@ -5544,6 +5592,7 @@ module Aws::IoT
|
|
5544
5592
|
# * {Types::DescribeJobTemplateResponse#job_executions_rollout_config #job_executions_rollout_config} => Types::JobExecutionsRolloutConfig
|
5545
5593
|
# * {Types::DescribeJobTemplateResponse#abort_config #abort_config} => Types::AbortConfig
|
5546
5594
|
# * {Types::DescribeJobTemplateResponse#timeout_config #timeout_config} => Types::TimeoutConfig
|
5595
|
+
# * {Types::DescribeJobTemplateResponse#job_executions_retry_config #job_executions_retry_config} => Types::JobExecutionsRetryConfig
|
5547
5596
|
#
|
5548
5597
|
# @example Request syntax with placeholder values
|
5549
5598
|
#
|
@@ -5572,6 +5621,9 @@ module Aws::IoT
|
|
5572
5621
|
# resp.abort_config.criteria_list[0].threshold_percentage #=> Float
|
5573
5622
|
# resp.abort_config.criteria_list[0].min_number_of_executed_things #=> Integer
|
5574
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
|
5575
5627
|
#
|
5576
5628
|
# @overload describe_job_template(params = {})
|
5577
5629
|
# @param [Hash] params ({})
|
@@ -6604,6 +6656,8 @@ module Aws::IoT
|
|
6604
6656
|
#
|
6605
6657
|
# resp.thing_indexing_configuration.thing_indexing_mode #=> String, one of "OFF", "REGISTRY", "REGISTRY_AND_SHADOW"
|
6606
6658
|
# resp.thing_indexing_configuration.thing_connectivity_indexing_mode #=> String, one of "OFF", "STATUS"
|
6659
|
+
# resp.thing_indexing_configuration.device_defender_indexing_mode #=> String, one of "OFF", "VIOLATIONS"
|
6660
|
+
# resp.thing_indexing_configuration.named_shadow_indexing_mode #=> String, one of "OFF", "ON"
|
6607
6661
|
# resp.thing_indexing_configuration.managed_fields #=> Array
|
6608
6662
|
# resp.thing_indexing_configuration.managed_fields[0].name #=> String
|
6609
6663
|
# resp.thing_indexing_configuration.managed_fields[0].type #=> String, one of "Number", "String", "Boolean"
|
@@ -8555,6 +8609,7 @@ module Aws::IoT
|
|
8555
8609
|
# resp.execution_summaries[0].job_execution_summary.started_at #=> Time
|
8556
8610
|
# resp.execution_summaries[0].job_execution_summary.last_updated_at #=> Time
|
8557
8611
|
# resp.execution_summaries[0].job_execution_summary.execution_number #=> Integer
|
8612
|
+
# resp.execution_summaries[0].job_execution_summary.retry_attempt #=> Integer
|
8558
8613
|
# resp.next_token #=> String
|
8559
8614
|
#
|
8560
8615
|
# @overload list_job_executions_for_job(params = {})
|
@@ -8599,6 +8654,9 @@ module Aws::IoT
|
|
8599
8654
|
# @option params [String] :next_token
|
8600
8655
|
# The token to retrieve the next set of results.
|
8601
8656
|
#
|
8657
|
+
# @option params [String] :job_id
|
8658
|
+
# The unique identifier you assigned to this job when it was created.
|
8659
|
+
#
|
8602
8660
|
# @return [Types::ListJobExecutionsForThingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8603
8661
|
#
|
8604
8662
|
# * {Types::ListJobExecutionsForThingResponse#execution_summaries #execution_summaries} => Array<Types::JobExecutionSummaryForThing>
|
@@ -8614,6 +8672,7 @@ module Aws::IoT
|
|
8614
8672
|
# namespace_id: "NamespaceId",
|
8615
8673
|
# max_results: 1,
|
8616
8674
|
# next_token: "NextToken",
|
8675
|
+
# job_id: "JobId",
|
8617
8676
|
# })
|
8618
8677
|
#
|
8619
8678
|
# @example Response structure
|
@@ -8625,6 +8684,7 @@ module Aws::IoT
|
|
8625
8684
|
# resp.execution_summaries[0].job_execution_summary.started_at #=> Time
|
8626
8685
|
# resp.execution_summaries[0].job_execution_summary.last_updated_at #=> Time
|
8627
8686
|
# resp.execution_summaries[0].job_execution_summary.execution_number #=> Integer
|
8687
|
+
# resp.execution_summaries[0].job_execution_summary.retry_attempt #=> Integer
|
8628
8688
|
# resp.next_token #=> String
|
8629
8689
|
#
|
8630
8690
|
# @overload list_job_executions_for_thing(params = {})
|
@@ -11267,6 +11327,7 @@ module Aws::IoT
|
|
11267
11327
|
# resp.things[0].attributes #=> Hash
|
11268
11328
|
# resp.things[0].attributes["AttributeName"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
11269
11329
|
# resp.things[0].shadow #=> String
|
11330
|
+
# resp.things[0].device_defender #=> String
|
11270
11331
|
# resp.things[0].connectivity.connected #=> Boolean
|
11271
11332
|
# resp.things[0].connectivity.timestamp #=> Integer
|
11272
11333
|
# resp.things[0].connectivity.disconnect_reason #=> String
|
@@ -12110,6 +12171,11 @@ module Aws::IoT
|
|
12110
12171
|
# @option params [String] :status
|
12111
12172
|
# The status of the update authorizer request.
|
12112
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
|
+
#
|
12113
12179
|
# @return [Types::UpdateAuthorizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
12114
12180
|
#
|
12115
12181
|
# * {Types::UpdateAuthorizerResponse#authorizer_name #authorizer_name} => String
|
@@ -12125,6 +12191,7 @@ module Aws::IoT
|
|
12125
12191
|
# "KeyName" => "KeyValue",
|
12126
12192
|
# },
|
12127
12193
|
# status: "ACTIVE", # accepts ACTIVE, INACTIVE
|
12194
|
+
# enable_caching_for_http: false,
|
12128
12195
|
# })
|
12129
12196
|
#
|
12130
12197
|
# @example Response structure
|
@@ -12570,7 +12637,7 @@ module Aws::IoT
|
|
12570
12637
|
#
|
12571
12638
|
#
|
12572
12639
|
#
|
12573
|
-
# [1]: https://docs.aws.amazon.com/
|
12640
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html
|
12574
12641
|
#
|
12575
12642
|
# @option params [Integer] :expected_version
|
12576
12643
|
# The expected version of the fleet metric record in the registry.
|
@@ -12625,6 +12692,8 @@ module Aws::IoT
|
|
12625
12692
|
# thing_indexing_configuration: {
|
12626
12693
|
# thing_indexing_mode: "OFF", # required, accepts OFF, REGISTRY, REGISTRY_AND_SHADOW
|
12627
12694
|
# thing_connectivity_indexing_mode: "OFF", # accepts OFF, STATUS
|
12695
|
+
# device_defender_indexing_mode: "OFF", # accepts OFF, VIOLATIONS
|
12696
|
+
# named_shadow_indexing_mode: "OFF", # accepts OFF, ON
|
12628
12697
|
# managed_fields: [
|
12629
12698
|
# {
|
12630
12699
|
# name: "FieldName",
|
@@ -12705,6 +12774,9 @@ module Aws::IoT
|
|
12705
12774
|
#
|
12706
12775
|
# </note>
|
12707
12776
|
#
|
12777
|
+
# @option params [Types::JobExecutionsRetryConfig] :job_executions_retry_config
|
12778
|
+
# Allows you to create the criteria to retry a job.
|
12779
|
+
#
|
12708
12780
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
12709
12781
|
#
|
12710
12782
|
# @example Request syntax with placeholder values
|
@@ -12741,6 +12813,14 @@ module Aws::IoT
|
|
12741
12813
|
# in_progress_timeout_in_minutes: 1,
|
12742
12814
|
# },
|
12743
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
|
+
# },
|
12744
12824
|
# })
|
12745
12825
|
#
|
12746
12826
|
# @overload update_job(params = {})
|
@@ -13501,7 +13581,7 @@ module Aws::IoT
|
|
13501
13581
|
params: params,
|
13502
13582
|
config: config)
|
13503
13583
|
context[:gem_name] = 'aws-sdk-iot'
|
13504
|
-
context[:gem_version] = '1.
|
13584
|
+
context[:gem_version] = '1.83.0'
|
13505
13585
|
Seahorse::Client::Request.new(handlers, context)
|
13506
13586
|
end
|
13507
13587
|
|
@@ -451,6 +451,7 @@ module Aws::IoT
|
|
451
451
|
DetectMitigationActionsTaskTarget = Shapes::StructureShape.new(name: 'DetectMitigationActionsTaskTarget')
|
452
452
|
DetectMitigationActionsToExecuteList = Shapes::ListShape.new(name: 'DetectMitigationActionsToExecuteList')
|
453
453
|
DeviceCertificateUpdateAction = Shapes::StringShape.new(name: 'DeviceCertificateUpdateAction')
|
454
|
+
DeviceDefenderIndexingMode = Shapes::StringShape.new(name: 'DeviceDefenderIndexingMode')
|
454
455
|
DeviceDefenderThingName = Shapes::StringShape.new(name: 'DeviceDefenderThingName')
|
455
456
|
DimensionArn = Shapes::StringShape.new(name: 'DimensionArn')
|
456
457
|
DimensionName = Shapes::StringShape.new(name: 'DimensionName')
|
@@ -484,6 +485,7 @@ module Aws::IoT
|
|
484
485
|
ElasticsearchId = Shapes::StringShape.new(name: 'ElasticsearchId')
|
485
486
|
ElasticsearchIndex = Shapes::StringShape.new(name: 'ElasticsearchIndex')
|
486
487
|
ElasticsearchType = Shapes::StringShape.new(name: 'ElasticsearchType')
|
488
|
+
EnableCachingForHttp = Shapes::BooleanShape.new(name: 'EnableCachingForHttp')
|
487
489
|
EnableIoTLoggingParams = Shapes::StructureShape.new(name: 'EnableIoTLoggingParams')
|
488
490
|
EnableTopicRuleRequest = Shapes::StructureShape.new(name: 'EnableTopicRuleRequest')
|
489
491
|
Enabled = Shapes::BooleanShape.new(name: 'Enabled')
|
@@ -626,6 +628,7 @@ module Aws::IoT
|
|
626
628
|
JobExecutionSummaryForJobList = Shapes::ListShape.new(name: 'JobExecutionSummaryForJobList')
|
627
629
|
JobExecutionSummaryForThing = Shapes::StructureShape.new(name: 'JobExecutionSummaryForThing')
|
628
630
|
JobExecutionSummaryForThingList = Shapes::ListShape.new(name: 'JobExecutionSummaryForThingList')
|
631
|
+
JobExecutionsRetryConfig = Shapes::StructureShape.new(name: 'JobExecutionsRetryConfig')
|
629
632
|
JobExecutionsRolloutConfig = Shapes::StructureShape.new(name: 'JobExecutionsRolloutConfig')
|
630
633
|
JobId = Shapes::StringShape.new(name: 'JobId')
|
631
634
|
JobProcessDetails = Shapes::StructureShape.new(name: 'JobProcessDetails')
|
@@ -809,6 +812,7 @@ module Aws::IoT
|
|
809
812
|
MqttContext = Shapes::StructureShape.new(name: 'MqttContext')
|
810
813
|
MqttPassword = Shapes::BlobShape.new(name: 'MqttPassword')
|
811
814
|
MqttUsername = Shapes::StringShape.new(name: 'MqttUsername')
|
815
|
+
NamedShadowIndexingMode = Shapes::StringShape.new(name: 'NamedShadowIndexingMode')
|
812
816
|
NamespaceId = Shapes::StringShape.new(name: 'NamespaceId')
|
813
817
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
814
818
|
NonCompliantChecksCount = Shapes::IntegerShape.new(name: 'NonCompliantChecksCount')
|
@@ -818,6 +822,7 @@ module Aws::IoT
|
|
818
822
|
NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
|
819
823
|
Number = Shapes::FloatShape.new(name: 'Number')
|
820
824
|
NumberList = Shapes::ListShape.new(name: 'NumberList')
|
825
|
+
NumberOfRetries = Shapes::IntegerShape.new(name: 'NumberOfRetries')
|
821
826
|
NumberOfThings = Shapes::IntegerShape.new(name: 'NumberOfThings')
|
822
827
|
OTAUpdateArn = Shapes::StringShape.new(name: 'OTAUpdateArn')
|
823
828
|
OTAUpdateDescription = Shapes::StringShape.new(name: 'OTAUpdateDescription')
|
@@ -951,6 +956,10 @@ module Aws::IoT
|
|
951
956
|
ResourceRegistrationFailureException = Shapes::StructureShape.new(name: 'ResourceRegistrationFailureException')
|
952
957
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
953
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')
|
954
963
|
RoleAlias = Shapes::StringShape.new(name: 'RoleAlias')
|
955
964
|
RoleAliasArn = Shapes::StringShape.new(name: 'RoleAliasArn')
|
956
965
|
RoleAliasDescription = Shapes::StructureShape.new(name: 'RoleAliasDescription')
|
@@ -1526,6 +1535,7 @@ module Aws::IoT
|
|
1526
1535
|
AuthorizerDescription.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "creationDate"))
|
1527
1536
|
AuthorizerDescription.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "lastModifiedDate"))
|
1528
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"))
|
1529
1539
|
AuthorizerDescription.struct_class = Types::AuthorizerDescription
|
1530
1540
|
|
1531
1541
|
AuthorizerSummary.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, location_name: "authorizerName"))
|
@@ -1774,6 +1784,7 @@ module Aws::IoT
|
|
1774
1784
|
CreateAuthorizerRequest.add_member(:status, Shapes::ShapeRef.new(shape: AuthorizerStatus, location_name: "status"))
|
1775
1785
|
CreateAuthorizerRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
1776
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"))
|
1777
1788
|
CreateAuthorizerRequest.struct_class = Types::CreateAuthorizerRequest
|
1778
1789
|
|
1779
1790
|
CreateAuthorizerResponse.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, location_name: "authorizerName"))
|
@@ -1879,6 +1890,7 @@ module Aws::IoT
|
|
1879
1890
|
CreateJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
1880
1891
|
CreateJobRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location_name: "namespaceId"))
|
1881
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"))
|
1882
1894
|
CreateJobRequest.add_member(:document_parameters, Shapes::ShapeRef.new(shape: ParameterMap, location_name: "documentParameters"))
|
1883
1895
|
CreateJobRequest.struct_class = Types::CreateJobRequest
|
1884
1896
|
|
@@ -1897,6 +1909,7 @@ module Aws::IoT
|
|
1897
1909
|
CreateJobTemplateRequest.add_member(:abort_config, Shapes::ShapeRef.new(shape: AbortConfig, location_name: "abortConfig"))
|
1898
1910
|
CreateJobTemplateRequest.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
|
1899
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"))
|
1900
1913
|
CreateJobTemplateRequest.struct_class = Types::CreateJobTemplateRequest
|
1901
1914
|
|
1902
1915
|
CreateJobTemplateResponse.add_member(:job_template_arn, Shapes::ShapeRef.new(shape: JobTemplateArn, location_name: "jobTemplateArn"))
|
@@ -2457,6 +2470,7 @@ module Aws::IoT
|
|
2457
2470
|
DescribeJobTemplateResponse.add_member(:job_executions_rollout_config, Shapes::ShapeRef.new(shape: JobExecutionsRolloutConfig, location_name: "jobExecutionsRolloutConfig"))
|
2458
2471
|
DescribeJobTemplateResponse.add_member(:abort_config, Shapes::ShapeRef.new(shape: AbortConfig, location_name: "abortConfig"))
|
2459
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"))
|
2460
2474
|
DescribeJobTemplateResponse.struct_class = Types::DescribeJobTemplateResponse
|
2461
2475
|
|
2462
2476
|
DescribeManagedJobTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: ManagedJobTemplateName, required: true, location: "uri", location_name: "templateName"))
|
@@ -3002,6 +3016,7 @@ module Aws::IoT
|
|
3002
3016
|
Job.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
|
3003
3017
|
Job.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location_name: "namespaceId"))
|
3004
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"))
|
3005
3020
|
Job.add_member(:document_parameters, Shapes::ShapeRef.new(shape: ParameterMap, location_name: "documentParameters"))
|
3006
3021
|
Job.struct_class = Types::Job
|
3007
3022
|
|
@@ -3026,6 +3041,7 @@ module Aws::IoT
|
|
3026
3041
|
JobExecutionSummary.add_member(:started_at, Shapes::ShapeRef.new(shape: DateType, location_name: "startedAt"))
|
3027
3042
|
JobExecutionSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateType, location_name: "lastUpdatedAt"))
|
3028
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"))
|
3029
3045
|
JobExecutionSummary.struct_class = Types::JobExecutionSummary
|
3030
3046
|
|
3031
3047
|
JobExecutionSummaryForJob.add_member(:thing_arn, Shapes::ShapeRef.new(shape: ThingArn, location_name: "thingArn"))
|
@@ -3040,6 +3056,9 @@ module Aws::IoT
|
|
3040
3056
|
|
3041
3057
|
JobExecutionSummaryForThingList.member = Shapes::ShapeRef.new(shape: JobExecutionSummaryForThing)
|
3042
3058
|
|
3059
|
+
JobExecutionsRetryConfig.add_member(:criteria_list, Shapes::ShapeRef.new(shape: RetryCriteriaList, required: true, location_name: "criteriaList"))
|
3060
|
+
JobExecutionsRetryConfig.struct_class = Types::JobExecutionsRetryConfig
|
3061
|
+
|
3043
3062
|
JobExecutionsRolloutConfig.add_member(:maximum_per_minute, Shapes::ShapeRef.new(shape: MaxJobExecutionsPerMin, location_name: "maximumPerMinute"))
|
3044
3063
|
JobExecutionsRolloutConfig.add_member(:exponential_rate, Shapes::ShapeRef.new(shape: ExponentialRolloutRate, location_name: "exponentialRate"))
|
3045
3064
|
JobExecutionsRolloutConfig.struct_class = Types::JobExecutionsRolloutConfig
|
@@ -3309,6 +3328,7 @@ module Aws::IoT
|
|
3309
3328
|
ListJobExecutionsForThingRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
|
3310
3329
|
ListJobExecutionsForThingRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: LaserMaxResults, location: "querystring", location_name: "maxResults"))
|
3311
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"))
|
3312
3332
|
ListJobExecutionsForThingRequest.struct_class = Types::ListJobExecutionsForThingRequest
|
3313
3333
|
|
3314
3334
|
ListJobExecutionsForThingResponse.add_member(:execution_summaries, Shapes::ShapeRef.new(shape: JobExecutionSummaryForThingList, location_name: "executionSummaries"))
|
@@ -3990,6 +4010,12 @@ module Aws::IoT
|
|
3990
4010
|
|
3991
4011
|
Resources.member = Shapes::ShapeRef.new(shape: Resource)
|
3992
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
|
+
|
3993
4019
|
RoleAliasDescription.add_member(:role_alias, Shapes::ShapeRef.new(shape: RoleAlias, location_name: "roleAlias"))
|
3994
4020
|
RoleAliasDescription.add_member(:role_alias_arn, Shapes::ShapeRef.new(shape: RoleAliasArn, location_name: "roleAliasArn"))
|
3995
4021
|
RoleAliasDescription.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
@@ -4313,6 +4339,7 @@ module Aws::IoT
|
|
4313
4339
|
ThingDocument.add_member(:thing_group_names, Shapes::ShapeRef.new(shape: ThingGroupNameList, location_name: "thingGroupNames"))
|
4314
4340
|
ThingDocument.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "attributes"))
|
4315
4341
|
ThingDocument.add_member(:shadow, Shapes::ShapeRef.new(shape: JsonDocument, location_name: "shadow"))
|
4342
|
+
ThingDocument.add_member(:device_defender, Shapes::ShapeRef.new(shape: JsonDocument, location_name: "deviceDefender"))
|
4316
4343
|
ThingDocument.add_member(:connectivity, Shapes::ShapeRef.new(shape: ThingConnectivity, location_name: "connectivity"))
|
4317
4344
|
ThingDocument.struct_class = Types::ThingDocument
|
4318
4345
|
|
@@ -4351,6 +4378,8 @@ module Aws::IoT
|
|
4351
4378
|
|
4352
4379
|
ThingIndexingConfiguration.add_member(:thing_indexing_mode, Shapes::ShapeRef.new(shape: ThingIndexingMode, required: true, location_name: "thingIndexingMode"))
|
4353
4380
|
ThingIndexingConfiguration.add_member(:thing_connectivity_indexing_mode, Shapes::ShapeRef.new(shape: ThingConnectivityIndexingMode, location_name: "thingConnectivityIndexingMode"))
|
4381
|
+
ThingIndexingConfiguration.add_member(:device_defender_indexing_mode, Shapes::ShapeRef.new(shape: DeviceDefenderIndexingMode, location_name: "deviceDefenderIndexingMode"))
|
4382
|
+
ThingIndexingConfiguration.add_member(:named_shadow_indexing_mode, Shapes::ShapeRef.new(shape: NamedShadowIndexingMode, location_name: "namedShadowIndexingMode"))
|
4354
4383
|
ThingIndexingConfiguration.add_member(:managed_fields, Shapes::ShapeRef.new(shape: Fields, location_name: "managedFields"))
|
4355
4384
|
ThingIndexingConfiguration.add_member(:custom_fields, Shapes::ShapeRef.new(shape: Fields, location_name: "customFields"))
|
4356
4385
|
ThingIndexingConfiguration.struct_class = Types::ThingIndexingConfiguration
|
@@ -4502,6 +4531,7 @@ module Aws::IoT
|
|
4502
4531
|
UpdateAuthorizerRequest.add_member(:token_key_name, Shapes::ShapeRef.new(shape: TokenKeyName, location_name: "tokenKeyName"))
|
4503
4532
|
UpdateAuthorizerRequest.add_member(:token_signing_public_keys, Shapes::ShapeRef.new(shape: PublicKeyMap, location_name: "tokenSigningPublicKeys"))
|
4504
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"))
|
4505
4535
|
UpdateAuthorizerRequest.struct_class = Types::UpdateAuthorizerRequest
|
4506
4536
|
|
4507
4537
|
UpdateAuthorizerResponse.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, location_name: "authorizerName"))
|
@@ -4608,6 +4638,7 @@ module Aws::IoT
|
|
4608
4638
|
UpdateJobRequest.add_member(:abort_config, Shapes::ShapeRef.new(shape: AbortConfig, location_name: "abortConfig"))
|
4609
4639
|
UpdateJobRequest.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
|
4610
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"))
|
4611
4642
|
UpdateJobRequest.struct_class = Types::UpdateJobRequest
|
4612
4643
|
|
4613
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
|
@@ -7155,6 +7200,13 @@ module Aws::IoT
|
|
7155
7200
|
# * REGISTRY\_AND\_SHADOW\_AND\_CONNECTIVITY\_STATUS - Your thing
|
7156
7201
|
# index contains registry data, shadow data, and thing connectivity
|
7157
7202
|
# status data.
|
7203
|
+
#
|
7204
|
+
# * MULTI\_INDEXING\_MODE - Your thing index contains multiple data
|
7205
|
+
# sources. For more information, see [GetIndexingConfiguration][1].
|
7206
|
+
#
|
7207
|
+
#
|
7208
|
+
#
|
7209
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_GetIndexingConfiguration.html
|
7158
7210
|
# @return [String]
|
7159
7211
|
#
|
7160
7212
|
class DescribeIndexResponse < Struct.new(
|
@@ -7299,6 +7351,11 @@ module Aws::IoT
|
|
7299
7351
|
# set to `TIMED_OUT`.
|
7300
7352
|
# @return [Types::TimeoutConfig]
|
7301
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
|
+
#
|
7302
7359
|
class DescribeJobTemplateResponse < Struct.new(
|
7303
7360
|
:job_template_arn,
|
7304
7361
|
:job_template_id,
|
@@ -7309,7 +7366,8 @@ module Aws::IoT
|
|
7309
7366
|
:presigned_url_config,
|
7310
7367
|
:job_executions_rollout_config,
|
7311
7368
|
:abort_config,
|
7312
|
-
:timeout_config
|
7369
|
+
:timeout_config,
|
7370
|
+
:job_executions_retry_config)
|
7313
7371
|
SENSITIVE = []
|
7314
7372
|
include Aws::Structure
|
7315
7373
|
end
|
@@ -10111,6 +10169,10 @@ module Aws::IoT
|
|
10111
10169
|
# The ARN of the job template used to create the job.
|
10112
10170
|
# @return [String]
|
10113
10171
|
#
|
10172
|
+
# @!attribute [rw] job_executions_retry_config
|
10173
|
+
# The configuration for the criteria to retry the job.
|
10174
|
+
# @return [Types::JobExecutionsRetryConfig]
|
10175
|
+
#
|
10114
10176
|
# @!attribute [rw] document_parameters
|
10115
10177
|
# A key-value map that pairs the patterns that need to be replaced in
|
10116
10178
|
# a managed template job document schema. You can use the description
|
@@ -10138,6 +10200,7 @@ module Aws::IoT
|
|
10138
10200
|
:timeout_config,
|
10139
10201
|
:namespace_id,
|
10140
10202
|
:job_template_arn,
|
10203
|
+
:job_executions_retry_config,
|
10141
10204
|
:document_parameters)
|
10142
10205
|
SENSITIVE = []
|
10143
10206
|
include Aws::Structure
|
@@ -10261,12 +10324,18 @@ module Aws::IoT
|
|
10261
10324
|
# execution information.
|
10262
10325
|
# @return [Integer]
|
10263
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
|
+
#
|
10264
10332
|
class JobExecutionSummary < Struct.new(
|
10265
10333
|
:status,
|
10266
10334
|
:queued_at,
|
10267
10335
|
:started_at,
|
10268
10336
|
:last_updated_at,
|
10269
|
-
:execution_number
|
10337
|
+
:execution_number,
|
10338
|
+
:retry_attempt)
|
10270
10339
|
SENSITIVE = []
|
10271
10340
|
include Aws::Structure
|
10272
10341
|
end
|
@@ -10306,6 +10375,32 @@ module Aws::IoT
|
|
10306
10375
|
include Aws::Structure
|
10307
10376
|
end
|
10308
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
|
+
|
10309
10404
|
# Allows you to create a staged rollout of a job.
|
10310
10405
|
#
|
10311
10406
|
# @note When making an API call, you may pass JobExecutionsRolloutConfig
|
@@ -11757,6 +11852,7 @@ module Aws::IoT
|
|
11757
11852
|
# namespace_id: "NamespaceId",
|
11758
11853
|
# max_results: 1,
|
11759
11854
|
# next_token: "NextToken",
|
11855
|
+
# job_id: "JobId",
|
11760
11856
|
# }
|
11761
11857
|
#
|
11762
11858
|
# @!attribute [rw] thing_name
|
@@ -11790,12 +11886,17 @@ module Aws::IoT
|
|
11790
11886
|
# The token to retrieve the next set of results.
|
11791
11887
|
# @return [String]
|
11792
11888
|
#
|
11889
|
+
# @!attribute [rw] job_id
|
11890
|
+
# The unique identifier you assigned to this job when it was created.
|
11891
|
+
# @return [String]
|
11892
|
+
#
|
11793
11893
|
class ListJobExecutionsForThingRequest < Struct.new(
|
11794
11894
|
:thing_name,
|
11795
11895
|
:status,
|
11796
11896
|
:namespace_id,
|
11797
11897
|
:max_results,
|
11798
|
-
:next_token
|
11898
|
+
:next_token,
|
11899
|
+
:job_id)
|
11799
11900
|
SENSITIVE = []
|
11800
11901
|
include Aws::Structure
|
11801
11902
|
end
|
@@ -15565,6 +15666,32 @@ module Aws::IoT
|
|
15565
15666
|
include Aws::Structure
|
15566
15667
|
end
|
15567
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
|
+
|
15568
15695
|
# Role alias description.
|
15569
15696
|
#
|
15570
15697
|
# @!attribute [rw] role_alias
|
@@ -17148,7 +17275,25 @@ module Aws::IoT
|
|
17148
17275
|
# @return [Hash<String,String>]
|
17149
17276
|
#
|
17150
17277
|
# @!attribute [rw] shadow
|
17151
|
-
# The shadow.
|
17278
|
+
# The unnamed shadow and named shadow.
|
17279
|
+
#
|
17280
|
+
# For more information about shadows, see [IoT Device Shadow
|
17281
|
+
# service.][1]
|
17282
|
+
#
|
17283
|
+
#
|
17284
|
+
#
|
17285
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-device-shadows.html
|
17286
|
+
# @return [String]
|
17287
|
+
#
|
17288
|
+
# @!attribute [rw] device_defender
|
17289
|
+
# Contains Device Defender data.
|
17290
|
+
#
|
17291
|
+
# For more information about Device Defender, see [Device
|
17292
|
+
# Defender][1].
|
17293
|
+
#
|
17294
|
+
#
|
17295
|
+
#
|
17296
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/device-defender.html
|
17152
17297
|
# @return [String]
|
17153
17298
|
#
|
17154
17299
|
# @!attribute [rw] connectivity
|
@@ -17163,6 +17308,7 @@ module Aws::IoT
|
|
17163
17308
|
:thing_group_names,
|
17164
17309
|
:attributes,
|
17165
17310
|
:shadow,
|
17311
|
+
:device_defender,
|
17166
17312
|
:connectivity)
|
17167
17313
|
SENSITIVE = []
|
17168
17314
|
include Aws::Structure
|
@@ -17311,6 +17457,8 @@ module Aws::IoT
|
|
17311
17457
|
# {
|
17312
17458
|
# thing_indexing_mode: "OFF", # required, accepts OFF, REGISTRY, REGISTRY_AND_SHADOW
|
17313
17459
|
# thing_connectivity_indexing_mode: "OFF", # accepts OFF, STATUS
|
17460
|
+
# device_defender_indexing_mode: "OFF", # accepts OFF, VIOLATIONS
|
17461
|
+
# named_shadow_indexing_mode: "OFF", # accepts OFF, ON
|
17314
17462
|
# managed_fields: [
|
17315
17463
|
# {
|
17316
17464
|
# name: "FieldName",
|
@@ -17346,6 +17494,39 @@ module Aws::IoT
|
|
17346
17494
|
# * OFF - Thing connectivity status indexing is disabled.
|
17347
17495
|
# @return [String]
|
17348
17496
|
#
|
17497
|
+
# @!attribute [rw] device_defender_indexing_mode
|
17498
|
+
# Device Defender indexing mode. Valid values are:
|
17499
|
+
#
|
17500
|
+
# * VIOLATIONS – Your thing index contains Device Defender violations.
|
17501
|
+
# To enable Device Defender indexing, *deviceDefenderIndexingMode*
|
17502
|
+
# must not be set to OFF.
|
17503
|
+
#
|
17504
|
+
# * OFF - Device Defender indexing is disabled.
|
17505
|
+
#
|
17506
|
+
# For more information about Device Defender violations, see [Device
|
17507
|
+
# Defender Detect.][1]
|
17508
|
+
#
|
17509
|
+
#
|
17510
|
+
#
|
17511
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/device-defender-detect.html
|
17512
|
+
# @return [String]
|
17513
|
+
#
|
17514
|
+
# @!attribute [rw] named_shadow_indexing_mode
|
17515
|
+
# Named shadow indexing mode. Valid values are:
|
17516
|
+
#
|
17517
|
+
# * ON – Your thing index contains named shadow. To enable thing named
|
17518
|
+
# shadow indexing, *namedShadowIndexingMode* must not be set to OFF.
|
17519
|
+
#
|
17520
|
+
# * OFF - Named shadow indexing is disabled.
|
17521
|
+
#
|
17522
|
+
# For more information about Shadows, see [IoT Device Shadow
|
17523
|
+
# service.][1]
|
17524
|
+
#
|
17525
|
+
#
|
17526
|
+
#
|
17527
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-device-shadows.html
|
17528
|
+
# @return [String]
|
17529
|
+
#
|
17349
17530
|
# @!attribute [rw] managed_fields
|
17350
17531
|
# Contains fields that are indexed and whose types are already known
|
17351
17532
|
# by the Fleet Indexing service.
|
@@ -17358,6 +17539,8 @@ module Aws::IoT
|
|
17358
17539
|
class ThingIndexingConfiguration < Struct.new(
|
17359
17540
|
:thing_indexing_mode,
|
17360
17541
|
:thing_connectivity_indexing_mode,
|
17542
|
+
:device_defender_indexing_mode,
|
17543
|
+
:named_shadow_indexing_mode,
|
17361
17544
|
:managed_fields,
|
17362
17545
|
:custom_fields)
|
17363
17546
|
SENSITIVE = []
|
@@ -18563,6 +18746,7 @@ module Aws::IoT
|
|
18563
18746
|
# "KeyName" => "KeyValue",
|
18564
18747
|
# },
|
18565
18748
|
# status: "ACTIVE", # accepts ACTIVE, INACTIVE
|
18749
|
+
# enable_caching_for_http: false,
|
18566
18750
|
# }
|
18567
18751
|
#
|
18568
18752
|
# @!attribute [rw] authorizer_name
|
@@ -18585,12 +18769,19 @@ module Aws::IoT
|
|
18585
18769
|
# The status of the update authorizer request.
|
18586
18770
|
# @return [String]
|
18587
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
|
+
#
|
18588
18778
|
class UpdateAuthorizerRequest < Struct.new(
|
18589
18779
|
:authorizer_name,
|
18590
18780
|
:authorizer_function_arn,
|
18591
18781
|
:token_key_name,
|
18592
18782
|
:token_signing_public_keys,
|
18593
|
-
:status
|
18783
|
+
:status,
|
18784
|
+
:enable_caching_for_http)
|
18594
18785
|
SENSITIVE = []
|
18595
18786
|
include Aws::Structure
|
18596
18787
|
end
|
@@ -19116,7 +19307,7 @@ module Aws::IoT
|
|
19116
19307
|
#
|
19117
19308
|
#
|
19118
19309
|
#
|
19119
|
-
# [1]: https://docs.aws.amazon.com/
|
19310
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html
|
19120
19311
|
# @return [String]
|
19121
19312
|
#
|
19122
19313
|
# @!attribute [rw] expected_version
|
@@ -19145,6 +19336,8 @@ module Aws::IoT
|
|
19145
19336
|
# thing_indexing_configuration: {
|
19146
19337
|
# thing_indexing_mode: "OFF", # required, accepts OFF, REGISTRY, REGISTRY_AND_SHADOW
|
19147
19338
|
# thing_connectivity_indexing_mode: "OFF", # accepts OFF, STATUS
|
19339
|
+
# device_defender_indexing_mode: "OFF", # accepts OFF, VIOLATIONS
|
19340
|
+
# named_shadow_indexing_mode: "OFF", # accepts OFF, ON
|
19148
19341
|
# managed_fields: [
|
19149
19342
|
# {
|
19150
19343
|
# name: "FieldName",
|
@@ -19227,6 +19420,14 @@ module Aws::IoT
|
|
19227
19420
|
# in_progress_timeout_in_minutes: 1,
|
19228
19421
|
# },
|
19229
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
|
+
# },
|
19230
19431
|
# }
|
19231
19432
|
#
|
19232
19433
|
# @!attribute [rw] job_id
|
@@ -19271,6 +19472,10 @@ module Aws::IoT
|
|
19271
19472
|
# </note>
|
19272
19473
|
# @return [String]
|
19273
19474
|
#
|
19475
|
+
# @!attribute [rw] job_executions_retry_config
|
19476
|
+
# Allows you to create the criteria to retry a job.
|
19477
|
+
# @return [Types::JobExecutionsRetryConfig]
|
19478
|
+
#
|
19274
19479
|
class UpdateJobRequest < Struct.new(
|
19275
19480
|
:job_id,
|
19276
19481
|
:description,
|
@@ -19278,7 +19483,8 @@ module Aws::IoT
|
|
19278
19483
|
:job_executions_rollout_config,
|
19279
19484
|
:abort_config,
|
19280
19485
|
:timeout_config,
|
19281
|
-
:namespace_id
|
19486
|
+
:namespace_id,
|
19487
|
+
:job_executions_retry_config)
|
19282
19488
|
SENSITIVE = []
|
19283
19489
|
include Aws::Structure
|
19284
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.83.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-01-05 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
|