aws-sdk-iot 1.88.0 → 1.91.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iot/client.rb +25 -3
- data/lib/aws-sdk-iot/client_api.rb +4 -0
- data/lib/aws-sdk-iot/types.rb +76 -6
- data/lib/aws-sdk-iot.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 602be22a185a234f50eccf37f1a6146ff446ff58687bc97c9c6fb69e99b24ceb
|
4
|
+
data.tar.gz: 9e4712d551631cfcb8ee2fdef975a5bba8dfb695ffeeb0860446962b3a782e20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c08960fee42ada0154a6165018bcfd7abce3cb6165ef5b9517fdba4968133b21522fa27a71bb59201fe82beec83e798058308c323eba84437f6425a4803008d
|
7
|
+
data.tar.gz: 3a59039d1ab187fc50a9484d2c10b3cd6b9dc5dcf37be98e9d0ed6a65fc55b2ac8b736345623333123904d207302d4bf2695a9e33631901b63bfab3b6beb368f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.91.0 (2022-06-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release ease the restriction for the input of tag value to align with AWS standard, now instead of min length 1, we change it to min length 0.
|
8
|
+
|
9
|
+
1.90.0 (2022-05-12)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation update for China region ListMetricValues for IoT
|
13
|
+
|
14
|
+
1.89.0 (2022-05-05)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - AWS IoT Jobs now allows you to create up to 100,000 active continuous and snapshot jobs by using concurrency control.
|
18
|
+
|
4
19
|
1.88.0 (2022-04-04)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.91.0
|
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -1716,6 +1716,13 @@ module Aws::IoT
|
|
1716
1716
|
# a thing when the thing is added to a target group, even after the job
|
1717
1717
|
# was completed by all things originally in the group.
|
1718
1718
|
#
|
1719
|
+
# <note markdown="1"> We recommend that you use continuous jobs instead of snapshot jobs for
|
1720
|
+
# dynamic thing group targets. By using continuous jobs, devices that
|
1721
|
+
# join the group receive the job execution even after the job has been
|
1722
|
+
# created.
|
1723
|
+
#
|
1724
|
+
# </note>
|
1725
|
+
#
|
1719
1726
|
# @option params [Types::JobExecutionsRolloutConfig] :job_executions_rollout_config
|
1720
1727
|
# Allows you to create a staged rollout of the job.
|
1721
1728
|
#
|
@@ -1752,8 +1759,14 @@ module Aws::IoT
|
|
1752
1759
|
# Allows you to create the criteria to retry a job.
|
1753
1760
|
#
|
1754
1761
|
# @option params [Hash<String,String>] :document_parameters
|
1755
|
-
# Parameters of
|
1756
|
-
# job document.
|
1762
|
+
# Parameters of an Amazon Web Services managed template that you can
|
1763
|
+
# specify to create the job document.
|
1764
|
+
#
|
1765
|
+
# <note markdown="1"> `documentParameters` can only be used when creating jobs from Amazon
|
1766
|
+
# Web Services managed templates. This parameter can't be used with
|
1767
|
+
# custom job templates or to create jobs from them.
|
1768
|
+
#
|
1769
|
+
# </note>
|
1757
1770
|
#
|
1758
1771
|
# @return [Types::CreateJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1759
1772
|
#
|
@@ -5526,6 +5539,7 @@ module Aws::IoT
|
|
5526
5539
|
# resp.job.job_executions_retry_config.criteria_list[0].number_of_retries #=> Integer
|
5527
5540
|
# resp.job.document_parameters #=> Hash
|
5528
5541
|
# resp.job.document_parameters["ParameterKey"] #=> String
|
5542
|
+
# resp.job.is_concurrent #=> Boolean
|
5529
5543
|
#
|
5530
5544
|
# @overload describe_job(params = {})
|
5531
5545
|
# @param [Hash] params ({})
|
@@ -8769,6 +8783,13 @@ module Aws::IoT
|
|
8769
8783
|
# a thing when the thing is added to a target group, even after the job
|
8770
8784
|
# was completed by all things originally in the group.
|
8771
8785
|
#
|
8786
|
+
# <note markdown="1"> We recommend that you use continuous jobs instead of snapshot jobs for
|
8787
|
+
# dynamic thing group targets. By using continuous jobs, devices that
|
8788
|
+
# join the group receive the job execution even after the job has been
|
8789
|
+
# created.
|
8790
|
+
#
|
8791
|
+
# </note>
|
8792
|
+
#
|
8772
8793
|
# @option params [Integer] :max_results
|
8773
8794
|
# The maximum number of results to return per request.
|
8774
8795
|
#
|
@@ -8826,6 +8847,7 @@ module Aws::IoT
|
|
8826
8847
|
# resp.jobs[0].created_at #=> Time
|
8827
8848
|
# resp.jobs[0].last_updated_at #=> Time
|
8828
8849
|
# resp.jobs[0].completed_at #=> Time
|
8850
|
+
# resp.jobs[0].is_concurrent #=> Boolean
|
8829
8851
|
# resp.next_token #=> String
|
8830
8852
|
#
|
8831
8853
|
# @overload list_jobs(params = {})
|
@@ -13672,7 +13694,7 @@ module Aws::IoT
|
|
13672
13694
|
params: params,
|
13673
13695
|
config: config)
|
13674
13696
|
context[:gem_name] = 'aws-sdk-iot'
|
13675
|
-
context[:gem_version] = '1.
|
13697
|
+
context[:gem_version] = '1.91.0'
|
13676
13698
|
Seahorse::Client::Request.new(handlers, context)
|
13677
13699
|
end
|
13678
13700
|
|
@@ -162,6 +162,7 @@ module Aws::IoT
|
|
162
162
|
BillingGroupProperties = Shapes::StructureShape.new(name: 'BillingGroupProperties')
|
163
163
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
164
164
|
BooleanKey = Shapes::BooleanShape.new(name: 'BooleanKey')
|
165
|
+
BooleanWrapperObject = Shapes::BooleanShape.new(name: 'BooleanWrapperObject')
|
165
166
|
Bucket = Shapes::StructureShape.new(name: 'Bucket')
|
166
167
|
BucketKeyValue = Shapes::StringShape.new(name: 'BucketKeyValue')
|
167
168
|
BucketName = Shapes::StringShape.new(name: 'BucketName')
|
@@ -3022,6 +3023,7 @@ module Aws::IoT
|
|
3022
3023
|
Job.add_member(:job_template_arn, Shapes::ShapeRef.new(shape: JobTemplateArn, location_name: "jobTemplateArn"))
|
3023
3024
|
Job.add_member(:job_executions_retry_config, Shapes::ShapeRef.new(shape: JobExecutionsRetryConfig, location_name: "jobExecutionsRetryConfig"))
|
3024
3025
|
Job.add_member(:document_parameters, Shapes::ShapeRef.new(shape: ParameterMap, location_name: "documentParameters"))
|
3026
|
+
Job.add_member(:is_concurrent, Shapes::ShapeRef.new(shape: BooleanWrapperObject, location_name: "isConcurrent"))
|
3025
3027
|
Job.struct_class = Types::Job
|
3026
3028
|
|
3027
3029
|
JobExecution.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
|
@@ -3086,6 +3088,7 @@ module Aws::IoT
|
|
3086
3088
|
JobSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: DateType, location_name: "createdAt"))
|
3087
3089
|
JobSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateType, location_name: "lastUpdatedAt"))
|
3088
3090
|
JobSummary.add_member(:completed_at, Shapes::ShapeRef.new(shape: DateType, location_name: "completedAt"))
|
3091
|
+
JobSummary.add_member(:is_concurrent, Shapes::ShapeRef.new(shape: BooleanWrapperObject, location_name: "isConcurrent"))
|
3089
3092
|
JobSummary.struct_class = Types::JobSummary
|
3090
3093
|
|
3091
3094
|
JobSummaryList.member = Shapes::ShapeRef.new(shape: JobSummary)
|
@@ -5017,6 +5020,7 @@ module Aws::IoT
|
|
5017
5020
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
5018
5021
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
5019
5022
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
5023
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
5020
5024
|
end)
|
5021
5025
|
|
5022
5026
|
api.add_operation(:cancel_job_execution, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -3588,6 +3588,13 @@ module Aws::IoT
|
|
3588
3588
|
# on a thing when a change is detected in a target. For example, a job
|
3589
3589
|
# will run on a thing when the thing is added to a target group, even
|
3590
3590
|
# after the job was completed by all things originally in the group.
|
3591
|
+
#
|
3592
|
+
# <note markdown="1"> We recommend that you use continuous jobs instead of snapshot jobs
|
3593
|
+
# for dynamic thing group targets. By using continuous jobs, devices
|
3594
|
+
# that join the group receive the job execution even after the job has
|
3595
|
+
# been created.
|
3596
|
+
#
|
3597
|
+
# </note>
|
3591
3598
|
# @return [String]
|
3592
3599
|
#
|
3593
3600
|
# @!attribute [rw] job_executions_rollout_config
|
@@ -3633,8 +3640,14 @@ module Aws::IoT
|
|
3633
3640
|
# @return [Types::JobExecutionsRetryConfig]
|
3634
3641
|
#
|
3635
3642
|
# @!attribute [rw] document_parameters
|
3636
|
-
# Parameters of
|
3637
|
-
# job document.
|
3643
|
+
# Parameters of an Amazon Web Services managed template that you can
|
3644
|
+
# specify to create the job document.
|
3645
|
+
#
|
3646
|
+
# <note markdown="1"> `documentParameters` can only be used when creating jobs from Amazon
|
3647
|
+
# Web Services managed templates. This parameter can't be used with
|
3648
|
+
# custom job templates or to create jobs from them.
|
3649
|
+
#
|
3650
|
+
# </note>
|
3638
3651
|
# @return [Hash<String,String>]
|
3639
3652
|
#
|
3640
3653
|
class CreateJobRequest < Struct.new(
|
@@ -5517,11 +5530,21 @@ module Aws::IoT
|
|
5517
5530
|
# @return [Types::CodeSigningCertificateChain]
|
5518
5531
|
#
|
5519
5532
|
# @!attribute [rw] hash_algorithm
|
5520
|
-
# The hash algorithm used to code sign the file.
|
5533
|
+
# The hash algorithm used to code sign the file. You can use a string
|
5534
|
+
# as the algorithm name if the target over-the-air (OTA) update
|
5535
|
+
# devices are able to verify the signature that was generated using
|
5536
|
+
# the same signature algorithm. For example, FreeRTOS uses `SHA256` or
|
5537
|
+
# `SHA1`, so you can pass either of them based on which was used for
|
5538
|
+
# generating the signature.
|
5521
5539
|
# @return [String]
|
5522
5540
|
#
|
5523
5541
|
# @!attribute [rw] signature_algorithm
|
5524
|
-
# The signature algorithm used to code sign the file.
|
5542
|
+
# The signature algorithm used to code sign the file. You can use a
|
5543
|
+
# string as the algorithm name if the target over-the-air (OTA) update
|
5544
|
+
# devices are able to verify the signature that was generated using
|
5545
|
+
# the same signature algorithm. For example, FreeRTOS uses `ECDSA` or
|
5546
|
+
# `RSA`, so you can pass either of them based on which was used for
|
5547
|
+
# generating the signature.
|
5525
5548
|
# @return [String]
|
5526
5549
|
#
|
5527
5550
|
class CustomCodeSigning < Struct.new(
|
@@ -7429,6 +7452,12 @@ module Aws::IoT
|
|
7429
7452
|
# @!attribute [rw] document_parameters
|
7430
7453
|
# A map of key-value pairs that you can use as guidance to specify the
|
7431
7454
|
# inputs for creating a job from a managed template.
|
7455
|
+
#
|
7456
|
+
# <note markdown="1"> `documentParameters` can only be used when creating jobs from Amazon
|
7457
|
+
# Web Services managed templates. This parameter can't be used with
|
7458
|
+
# custom job templates or to create jobs from them.
|
7459
|
+
#
|
7460
|
+
# </note>
|
7432
7461
|
# @return [Array<Types::DocumentParameter>]
|
7433
7462
|
#
|
7434
7463
|
# @!attribute [rw] document
|
@@ -8446,6 +8475,12 @@ module Aws::IoT
|
|
8446
8475
|
# description of each key as a guidance to specify the inputs during
|
8447
8476
|
# runtime when creating a job.
|
8448
8477
|
#
|
8478
|
+
# <note markdown="1"> `documentParameters` can only be used when creating jobs from Amazon
|
8479
|
+
# Web Services managed templates. This parameter can't be used with
|
8480
|
+
# custom job templates or to create jobs from them.
|
8481
|
+
#
|
8482
|
+
# </note>
|
8483
|
+
#
|
8449
8484
|
# @!attribute [rw] key
|
8450
8485
|
# Key of the map field containing the patterns that need to be
|
8451
8486
|
# replaced in a managed template job document schema.
|
@@ -10095,6 +10130,13 @@ module Aws::IoT
|
|
10095
10130
|
# will run on a device when the thing representing the device is added
|
10096
10131
|
# to a target group, even after the job was completed by all things
|
10097
10132
|
# originally in the group.
|
10133
|
+
#
|
10134
|
+
# <note markdown="1"> We recommend that you use continuous jobs instead of snapshot jobs
|
10135
|
+
# for dynamic thing group targets. By using continuous jobs, devices
|
10136
|
+
# that join the group receive the job execution even after the job has
|
10137
|
+
# been created.
|
10138
|
+
#
|
10139
|
+
# </note>
|
10098
10140
|
# @return [String]
|
10099
10141
|
#
|
10100
10142
|
# @!attribute [rw] status
|
@@ -10187,8 +10229,17 @@ module Aws::IoT
|
|
10187
10229
|
# a managed template job document schema. You can use the description
|
10188
10230
|
# of each key as a guidance to specify the inputs during runtime when
|
10189
10231
|
# creating a job.
|
10232
|
+
#
|
10233
|
+
# <note markdown="1"> `documentParameters` can only be used when creating jobs from Amazon
|
10234
|
+
# Web Services managed templates. This parameter can't be used with
|
10235
|
+
# custom job templates or to create jobs from them.
|
10236
|
+
#
|
10237
|
+
# </note>
|
10190
10238
|
# @return [Hash<String,String>]
|
10191
10239
|
#
|
10240
|
+
# @!attribute [rw] is_concurrent
|
10241
|
+
# @return [Boolean]
|
10242
|
+
#
|
10192
10243
|
class Job < Struct.new(
|
10193
10244
|
:job_arn,
|
10194
10245
|
:job_id,
|
@@ -10210,7 +10261,8 @@ module Aws::IoT
|
|
10210
10261
|
:namespace_id,
|
10211
10262
|
:job_template_arn,
|
10212
10263
|
:job_executions_retry_config,
|
10213
|
-
:document_parameters
|
10264
|
+
:document_parameters,
|
10265
|
+
:is_concurrent)
|
10214
10266
|
SENSITIVE = []
|
10215
10267
|
include Aws::Structure
|
10216
10268
|
end
|
@@ -10521,6 +10573,13 @@ module Aws::IoT
|
|
10521
10573
|
# on a thing when a change is detected in a target. For example, a job
|
10522
10574
|
# will run on a thing when the thing is added to a target group, even
|
10523
10575
|
# after the job was completed by all things originally in the group.
|
10576
|
+
#
|
10577
|
+
# <note markdown="1"> We recommend that you use continuous jobs instead of snapshot jobs
|
10578
|
+
# for dynamic thing group targets. By using continuous jobs, devices
|
10579
|
+
# that join the group receive the job execution even after the job has
|
10580
|
+
# been created.
|
10581
|
+
#
|
10582
|
+
# </note>
|
10524
10583
|
# @return [String]
|
10525
10584
|
#
|
10526
10585
|
# @!attribute [rw] status
|
@@ -10539,6 +10598,9 @@ module Aws::IoT
|
|
10539
10598
|
# The time, in seconds since the epoch, when the job completed.
|
10540
10599
|
# @return [Time]
|
10541
10600
|
#
|
10601
|
+
# @!attribute [rw] is_concurrent
|
10602
|
+
# @return [Boolean]
|
10603
|
+
#
|
10542
10604
|
class JobSummary < Struct.new(
|
10543
10605
|
:job_arn,
|
10544
10606
|
:job_id,
|
@@ -10547,7 +10609,8 @@ module Aws::IoT
|
|
10547
10609
|
:status,
|
10548
10610
|
:created_at,
|
10549
10611
|
:last_updated_at,
|
10550
|
-
:completed_at
|
10612
|
+
:completed_at,
|
10613
|
+
:is_concurrent)
|
10551
10614
|
SENSITIVE = []
|
10552
10615
|
include Aws::Structure
|
10553
10616
|
end
|
@@ -11990,6 +12053,13 @@ module Aws::IoT
|
|
11990
12053
|
# on a thing when a change is detected in a target. For example, a job
|
11991
12054
|
# will run on a thing when the thing is added to a target group, even
|
11992
12055
|
# after the job was completed by all things originally in the group.
|
12056
|
+
#
|
12057
|
+
# <note markdown="1"> We recommend that you use continuous jobs instead of snapshot jobs
|
12058
|
+
# for dynamic thing group targets. By using continuous jobs, devices
|
12059
|
+
# that join the group receive the job execution even after the job has
|
12060
|
+
# been created.
|
12061
|
+
#
|
12062
|
+
# </note>
|
11993
12063
|
# @return [String]
|
11994
12064
|
#
|
11995
12065
|
# @!attribute [rw] max_results
|
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.91.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: 2022-
|
11
|
+
date: 2022-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|