aws-sdk-iot 1.84.0 → 1.87.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 +28 -9
- data/lib/aws-sdk-iot/types.rb +46 -16
- 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: 2bb9edb1f47f005ceda3bddf53a3909c47e5e324b3a35d5eaf6753bd1f4ce1f7
|
4
|
+
data.tar.gz: a30b963a97726a8a74e152d8348bc65766f848639c85a9c6a8bd16b9e3e62742
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3800815d737bf85ba1c8d036c1ecc1b1b3fd6315ce8e6c2264e775298ae2317c8eda494e892239195405e485281eb9cc90afce62105943c1b841bd5a2e1bb9d5
|
7
|
+
data.tar.gz: 91c871c5d9eebf09fb7b80cf55d8cb4d2bb37264595c49594d1da449adb8d6177dabdfa18fbc84ec23a99f9fd67c5b7cc1e144800aed57e7299f34cd4cf4f316
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.87.0 (2022-03-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Doc only update for IoT that fixes customer-reported issues.
|
8
|
+
|
9
|
+
1.86.0 (2022-02-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.85.0 (2022-02-03)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.84.0 (2022-02-02)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.87.0
|
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -27,7 +27,9 @@ 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/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
33
35
|
|
@@ -74,7 +76,9 @@ module Aws::IoT
|
|
74
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
75
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
77
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
78
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
79
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
80
84
|
|
@@ -1271,17 +1275,21 @@ module Aws::IoT
|
|
1271
1275
|
#
|
1272
1276
|
# @option params [required, String] :metric_name
|
1273
1277
|
# The name of the custom metric. This will be used in the metric report
|
1274
|
-
# submitted from the device/thing.
|
1275
|
-
#
|
1278
|
+
# submitted from the device/thing. The name can't begin with `aws:`.
|
1279
|
+
# You can't change the name after you define it.
|
1276
1280
|
#
|
1277
1281
|
# @option params [String] :display_name
|
1278
|
-
#
|
1279
|
-
#
|
1280
|
-
# identifier in the device metric report.
|
1282
|
+
# The friendly name in the console for the custom metric. This name
|
1283
|
+
# doesn't have to be unique. Don't use this name as the metric
|
1284
|
+
# identifier in the device metric report. You can update the friendly
|
1285
|
+
# name after you define it.
|
1281
1286
|
#
|
1282
1287
|
# @option params [required, String] :metric_type
|
1283
|
-
# The type of the custom metric.
|
1284
|
-
#
|
1288
|
+
# The type of the custom metric.
|
1289
|
+
#
|
1290
|
+
# The type `number` only takes a single metric value as an input, but
|
1291
|
+
# when you submit the metrics value in the DeviceMetrics report, you
|
1292
|
+
# must pass it as an array with a single value.
|
1285
1293
|
#
|
1286
1294
|
# @option params [Array<Types::Tag>] :tags
|
1287
1295
|
# Metadata that can be used to manage the custom metric.
|
@@ -2571,6 +2579,9 @@ module Aws::IoT
|
|
2571
2579
|
# How long (in seconds) the credentials will be valid. The default value
|
2572
2580
|
# is 3,600 seconds.
|
2573
2581
|
#
|
2582
|
+
# This value must be less than or equal to the maximum session duration
|
2583
|
+
# of the IAM role that the role alias references.
|
2584
|
+
#
|
2574
2585
|
# @option params [Array<Types::Tag>] :tags
|
2575
2586
|
# Metadata which can be used to manage the role alias.
|
2576
2587
|
#
|
@@ -10555,6 +10566,8 @@ module Aws::IoT
|
|
10555
10566
|
# @option params [Boolean] :set_as_active
|
10556
10567
|
# A boolean value that specifies if the CA certificate is set to active.
|
10557
10568
|
#
|
10569
|
+
# Valid values: `ACTIVE | INACTIVE`
|
10570
|
+
#
|
10558
10571
|
# @option params [Boolean] :allow_auto_registration
|
10559
10572
|
# Allows this CA certificate to be used for auto registration of device
|
10560
10573
|
# certificates.
|
@@ -10633,8 +10646,11 @@ module Aws::IoT
|
|
10633
10646
|
# @option params [Boolean] :set_as_active
|
10634
10647
|
# A boolean value that specifies if the certificate is set to active.
|
10635
10648
|
#
|
10649
|
+
# Valid values: `ACTIVE | INACTIVE`
|
10650
|
+
#
|
10636
10651
|
# @option params [String] :status
|
10637
|
-
# The status of the register certificate request.
|
10652
|
+
# The status of the register certificate request. Valid values that you
|
10653
|
+
# can use include `ACTIVE`, `INACTIVE`, and `REVOKED`.
|
10638
10654
|
#
|
10639
10655
|
# @return [Types::RegisterCertificateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10640
10656
|
#
|
@@ -12967,6 +12983,9 @@ module Aws::IoT
|
|
12967
12983
|
# @option params [Integer] :credential_duration_seconds
|
12968
12984
|
# The number of seconds the credential will be valid.
|
12969
12985
|
#
|
12986
|
+
# This value must be less than or equal to the maximum session duration
|
12987
|
+
# of the IAM role that the role alias references.
|
12988
|
+
#
|
12970
12989
|
# @return [Types::UpdateRoleAliasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
12971
12990
|
#
|
12972
12991
|
# * {Types::UpdateRoleAliasResponse#role_alias #role_alias} => String
|
@@ -13581,7 +13600,7 @@ module Aws::IoT
|
|
13581
13600
|
params: params,
|
13582
13601
|
config: config)
|
13583
13602
|
context[:gem_name] = 'aws-sdk-iot'
|
13584
|
-
context[:gem_version] = '1.
|
13603
|
+
context[:gem_version] = '1.87.0'
|
13585
13604
|
Seahorse::Client::Request.new(handlers, context)
|
13586
13605
|
end
|
13587
13606
|
|
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -3041,20 +3041,23 @@ module Aws::IoT
|
|
3041
3041
|
#
|
3042
3042
|
# @!attribute [rw] metric_name
|
3043
3043
|
# The name of the custom metric. This will be used in the metric
|
3044
|
-
# report submitted from the device/thing.
|
3045
|
-
# `aws:`.
|
3044
|
+
# report submitted from the device/thing. The name can't begin with
|
3045
|
+
# `aws:`. You can't change the name after you define it.
|
3046
3046
|
# @return [String]
|
3047
3047
|
#
|
3048
3048
|
# @!attribute [rw] display_name
|
3049
|
-
#
|
3050
|
-
#
|
3051
|
-
#
|
3052
|
-
#
|
3049
|
+
# The friendly name in the console for the custom metric. This name
|
3050
|
+
# doesn't have to be unique. Don't use this name as the metric
|
3051
|
+
# identifier in the device metric report. You can update the friendly
|
3052
|
+
# name after you define it.
|
3053
3053
|
# @return [String]
|
3054
3054
|
#
|
3055
3055
|
# @!attribute [rw] metric_type
|
3056
|
-
# The type of the custom metric.
|
3057
|
-
#
|
3056
|
+
# The type of the custom metric.
|
3057
|
+
#
|
3058
|
+
# The type `number` only takes a single metric value as an input, but
|
3059
|
+
# when you submit the metrics value in the DeviceMetrics report, you
|
3060
|
+
# must pass it as an array with a single value.
|
3058
3061
|
# @return [String]
|
3059
3062
|
#
|
3060
3063
|
# @!attribute [rw] tags
|
@@ -3087,7 +3090,7 @@ module Aws::IoT
|
|
3087
3090
|
# @return [String]
|
3088
3091
|
#
|
3089
3092
|
# @!attribute [rw] metric_arn
|
3090
|
-
# The Amazon Resource Number (ARN) of the custom metric,
|
3093
|
+
# The Amazon Resource Number (ARN) of the custom metric. For example,
|
3091
3094
|
# `arn:aws-partition:iot:region:accountId:custommetric/metricName `
|
3092
3095
|
# @return [String]
|
3093
3096
|
#
|
@@ -4521,6 +4524,9 @@ module Aws::IoT
|
|
4521
4524
|
# @!attribute [rw] credential_duration_seconds
|
4522
4525
|
# How long (in seconds) the credentials will be valid. The default
|
4523
4526
|
# value is 3,600 seconds.
|
4527
|
+
#
|
4528
|
+
# This value must be less than or equal to the maximum session
|
4529
|
+
# duration of the IAM role that the role alias references.
|
4524
4530
|
# @return [Integer]
|
4525
4531
|
#
|
4526
4532
|
# @!attribute [rw] tags
|
@@ -5511,11 +5517,21 @@ module Aws::IoT
|
|
5511
5517
|
# @return [Types::CodeSigningCertificateChain]
|
5512
5518
|
#
|
5513
5519
|
# @!attribute [rw] hash_algorithm
|
5514
|
-
# The hash algorithm used to code sign the file.
|
5520
|
+
# The hash algorithm used to code sign the file. You can use a string
|
5521
|
+
# as the algorithm name if the target over-the-air (OTA) update
|
5522
|
+
# devices are able to verify the signature that was generated using
|
5523
|
+
# the same signature algorithm. For example, FreeRTOS uses `SHA256` or
|
5524
|
+
# `SHA1`, so you can pass either of them based on which was used for
|
5525
|
+
# generating the signature.
|
5515
5526
|
# @return [String]
|
5516
5527
|
#
|
5517
5528
|
# @!attribute [rw] signature_algorithm
|
5518
|
-
# The signature algorithm used to code sign the file.
|
5529
|
+
# The signature algorithm used to code sign the file. You can use a
|
5530
|
+
# string as the algorithm name if the target over-the-air (OTA) update
|
5531
|
+
# devices are able to verify the signature that was generated using
|
5532
|
+
# the same signature algorithm. For example, FreeRTOS uses `ECDSA` or
|
5533
|
+
# `RSA`, so you can pass either of them based on which was used for
|
5534
|
+
# generating the signature.
|
5519
5535
|
# @return [String]
|
5520
5536
|
#
|
5521
5537
|
class CustomCodeSigning < Struct.new(
|
@@ -6792,8 +6808,11 @@ module Aws::IoT
|
|
6792
6808
|
# @return [String]
|
6793
6809
|
#
|
6794
6810
|
# @!attribute [rw] metric_type
|
6795
|
-
# The type of the custom metric.
|
6796
|
-
#
|
6811
|
+
# The type of the custom metric.
|
6812
|
+
#
|
6813
|
+
# The type `number` only takes a single metric value as an input, but
|
6814
|
+
# while submitting the metrics value in the DeviceMetrics report, it
|
6815
|
+
# must be passed as an array with a single value.
|
6797
6816
|
# @return [String]
|
6798
6817
|
#
|
6799
6818
|
# @!attribute [rw] display_name
|
@@ -14764,6 +14783,8 @@ module Aws::IoT
|
|
14764
14783
|
# @!attribute [rw] set_as_active
|
14765
14784
|
# A boolean value that specifies if the CA certificate is set to
|
14766
14785
|
# active.
|
14786
|
+
#
|
14787
|
+
# Valid values: `ACTIVE | INACTIVE`
|
14767
14788
|
# @return [Boolean]
|
14768
14789
|
#
|
14769
14790
|
# @!attribute [rw] allow_auto_registration
|
@@ -14841,10 +14862,13 @@ module Aws::IoT
|
|
14841
14862
|
#
|
14842
14863
|
# @!attribute [rw] set_as_active
|
14843
14864
|
# A boolean value that specifies if the certificate is set to active.
|
14865
|
+
#
|
14866
|
+
# Valid values: `ACTIVE | INACTIVE`
|
14844
14867
|
# @return [Boolean]
|
14845
14868
|
#
|
14846
14869
|
# @!attribute [rw] status
|
14847
|
-
# The status of the register certificate request.
|
14870
|
+
# The status of the register certificate request. Valid values that
|
14871
|
+
# you can use include `ACTIVE`, `INACTIVE`, and `REVOKED`.
|
14848
14872
|
# @return [String]
|
14849
14873
|
#
|
14850
14874
|
class RegisterCertificateRequest < Struct.new(
|
@@ -18984,8 +19008,11 @@ module Aws::IoT
|
|
18984
19008
|
# @return [String]
|
18985
19009
|
#
|
18986
19010
|
# @!attribute [rw] metric_type
|
18987
|
-
# The type of the custom metric.
|
18988
|
-
#
|
19011
|
+
# The type of the custom metric.
|
19012
|
+
#
|
19013
|
+
# The type `number` only takes a single metric value as an input, but
|
19014
|
+
# while submitting the metrics value in the DeviceMetrics report, it
|
19015
|
+
# must be passed as an array with a single value.
|
18989
19016
|
# @return [String]
|
18990
19017
|
#
|
18991
19018
|
# @!attribute [rw] display_name
|
@@ -19634,6 +19661,9 @@ module Aws::IoT
|
|
19634
19661
|
#
|
19635
19662
|
# @!attribute [rw] credential_duration_seconds
|
19636
19663
|
# The number of seconds the credential will be valid.
|
19664
|
+
#
|
19665
|
+
# This value must be less than or equal to the maximum session
|
19666
|
+
# duration of the IAM role that the role alias references.
|
19637
19667
|
# @return [Integer]
|
19638
19668
|
#
|
19639
19669
|
class UpdateRoleAliasRequest < Struct.new(
|
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.87.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-03-30 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.127.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.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|