aws-sdk-iot 1.86.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iot/client.rb +24 -9
- data/lib/aws-sdk-iot/types.rb +46 -16
- 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: 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
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.87.0
|
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -1275,17 +1275,21 @@ module Aws::IoT
|
|
1275
1275
|
#
|
1276
1276
|
# @option params [required, String] :metric_name
|
1277
1277
|
# The name of the custom metric. This will be used in the metric report
|
1278
|
-
# submitted from the device/thing.
|
1279
|
-
#
|
1278
|
+
# submitted from the device/thing. The name can't begin with `aws:`.
|
1279
|
+
# You can't change the name after you define it.
|
1280
1280
|
#
|
1281
1281
|
# @option params [String] :display_name
|
1282
|
-
#
|
1283
|
-
#
|
1284
|
-
# 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.
|
1285
1286
|
#
|
1286
1287
|
# @option params [required, String] :metric_type
|
1287
|
-
# The type of the custom metric.
|
1288
|
-
#
|
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.
|
1289
1293
|
#
|
1290
1294
|
# @option params [Array<Types::Tag>] :tags
|
1291
1295
|
# Metadata that can be used to manage the custom metric.
|
@@ -2575,6 +2579,9 @@ module Aws::IoT
|
|
2575
2579
|
# How long (in seconds) the credentials will be valid. The default value
|
2576
2580
|
# is 3,600 seconds.
|
2577
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
|
+
#
|
2578
2585
|
# @option params [Array<Types::Tag>] :tags
|
2579
2586
|
# Metadata which can be used to manage the role alias.
|
2580
2587
|
#
|
@@ -10559,6 +10566,8 @@ module Aws::IoT
|
|
10559
10566
|
# @option params [Boolean] :set_as_active
|
10560
10567
|
# A boolean value that specifies if the CA certificate is set to active.
|
10561
10568
|
#
|
10569
|
+
# Valid values: `ACTIVE | INACTIVE`
|
10570
|
+
#
|
10562
10571
|
# @option params [Boolean] :allow_auto_registration
|
10563
10572
|
# Allows this CA certificate to be used for auto registration of device
|
10564
10573
|
# certificates.
|
@@ -10637,8 +10646,11 @@ module Aws::IoT
|
|
10637
10646
|
# @option params [Boolean] :set_as_active
|
10638
10647
|
# A boolean value that specifies if the certificate is set to active.
|
10639
10648
|
#
|
10649
|
+
# Valid values: `ACTIVE | INACTIVE`
|
10650
|
+
#
|
10640
10651
|
# @option params [String] :status
|
10641
|
-
# 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`.
|
10642
10654
|
#
|
10643
10655
|
# @return [Types::RegisterCertificateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10644
10656
|
#
|
@@ -12971,6 +12983,9 @@ module Aws::IoT
|
|
12971
12983
|
# @option params [Integer] :credential_duration_seconds
|
12972
12984
|
# The number of seconds the credential will be valid.
|
12973
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
|
+
#
|
12974
12989
|
# @return [Types::UpdateRoleAliasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
12975
12990
|
#
|
12976
12991
|
# * {Types::UpdateRoleAliasResponse#role_alias #role_alias} => String
|
@@ -13585,7 +13600,7 @@ module Aws::IoT
|
|
13585
13600
|
params: params,
|
13586
13601
|
config: config)
|
13587
13602
|
context[:gem_name] = 'aws-sdk-iot'
|
13588
|
-
context[:gem_version] = '1.
|
13603
|
+
context[:gem_version] = '1.87.0'
|
13589
13604
|
Seahorse::Client::Request.new(handlers, context)
|
13590
13605
|
end
|
13591
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
|