aws-sdk-iot 1.46.0 → 1.51.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-iot.rb +1 -1
- data/lib/aws-sdk-iot/client.rb +193 -22
- data/lib/aws-sdk-iot/client_api.rb +48 -2
- data/lib/aws-sdk-iot/types.rb +266 -31
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3c37785afa8cdec87b6ced402d464030a3fc6a533898998525d7f33dc417a8a6
|
4
|
+
data.tar.gz: 6e7392deec168ba7f7266f91223263ebb569f4e55c2067269376be6789cb5a84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c179c29f5fafce7e3a7d078bdaa65a6845fab8edfbc49672ba41ca0b8fbd186308d24c26d9d9dc5f10ba560cf9be02426407f93350e6c534c0774d9f99aef34b
|
7
|
+
data.tar.gz: 0c2953889b9fc0e4a2b0529e4f4e05d4aa10c902c821acb7fb7b0b16194e8e4a5b546ad5c689175638d2e3111dc0f98b8c6041b9794eb191fee6b8dc062c50ab
|
data/lib/aws-sdk-iot.rb
CHANGED
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
24
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
25
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
26
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
27
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
28
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
29
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
30
|
|
@@ -69,6 +70,7 @@ module Aws::IoT
|
|
69
70
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
71
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
72
|
add_plugin(Aws::Plugins::TransferEncoding)
|
73
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
74
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
75
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
76
|
|
@@ -105,7 +107,7 @@ module Aws::IoT
|
|
105
107
|
# @option options [required, String] :region
|
106
108
|
# The AWS region to connect to. The configured `:region` is
|
107
109
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
110
|
+
# a default `:region` is searched for in the following locations:
|
109
111
|
#
|
110
112
|
# * `Aws.config[:region]`
|
111
113
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +163,7 @@ module Aws::IoT
|
|
161
163
|
# @option options [String] :endpoint
|
162
164
|
# The client endpoint is normally constructed from the `:region`
|
163
165
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
166
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
167
|
#
|
166
168
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
169
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +178,7 @@ module Aws::IoT
|
|
176
178
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
179
|
#
|
178
180
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
181
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
182
|
#
|
181
183
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
184
|
# The log formatter.
|
@@ -800,6 +802,20 @@ module Aws::IoT
|
|
800
802
|
# @option params [String] :status
|
801
803
|
# The status of the create authorizer request.
|
802
804
|
#
|
805
|
+
# @option params [Array<Types::Tag>] :tags
|
806
|
+
# Metadata which can be used to manage the custom authorizer.
|
807
|
+
#
|
808
|
+
# <note markdown="1"> For URI Request parameters use format:
|
809
|
+
# ...key1=value1&key2=value2...
|
810
|
+
#
|
811
|
+
# For the CLI command-line parameter use format: &&tags
|
812
|
+
# "key1=value1&key2=value2..."
|
813
|
+
#
|
814
|
+
# For the cli-input-json file use format: "tags":
|
815
|
+
# "key1=value1&key2=value2..."
|
816
|
+
#
|
817
|
+
# </note>
|
818
|
+
#
|
803
819
|
# @option params [Boolean] :signing_disabled
|
804
820
|
# Specifies whether AWS IoT validates the token signature in an
|
805
821
|
# authorization request.
|
@@ -819,6 +835,12 @@ module Aws::IoT
|
|
819
835
|
# "KeyName" => "KeyValue",
|
820
836
|
# },
|
821
837
|
# status: "ACTIVE", # accepts ACTIVE, INACTIVE
|
838
|
+
# tags: [
|
839
|
+
# {
|
840
|
+
# key: "TagKey", # required
|
841
|
+
# value: "TagValue",
|
842
|
+
# },
|
843
|
+
# ],
|
822
844
|
# signing_disabled: false,
|
823
845
|
# })
|
824
846
|
#
|
@@ -860,7 +882,7 @@ module Aws::IoT
|
|
860
882
|
# },
|
861
883
|
# tags: [
|
862
884
|
# {
|
863
|
-
# key: "TagKey",
|
885
|
+
# key: "TagKey", # required
|
864
886
|
# value: "TagValue",
|
865
887
|
# },
|
866
888
|
# ],
|
@@ -1003,7 +1025,7 @@ module Aws::IoT
|
|
1003
1025
|
# string_values: ["DimensionStringValue"], # required
|
1004
1026
|
# tags: [
|
1005
1027
|
# {
|
1006
|
-
# key: "TagKey",
|
1028
|
+
# key: "TagKey", # required
|
1007
1029
|
# value: "TagValue",
|
1008
1030
|
# },
|
1009
1031
|
# ],
|
@@ -1053,6 +1075,24 @@ module Aws::IoT
|
|
1053
1075
|
# @option params [String] :service_type
|
1054
1076
|
# The type of service delivered by the endpoint.
|
1055
1077
|
#
|
1078
|
+
# <note markdown="1"> AWS IoT Core currently supports only the `DATA` service type.
|
1079
|
+
#
|
1080
|
+
# </note>
|
1081
|
+
#
|
1082
|
+
# @option params [Array<Types::Tag>] :tags
|
1083
|
+
# Metadata which can be used to manage the domain configuration.
|
1084
|
+
#
|
1085
|
+
# <note markdown="1"> For URI Request parameters use format:
|
1086
|
+
# ...key1=value1&key2=value2...
|
1087
|
+
#
|
1088
|
+
# For the CLI command-line parameter use format: &&tags
|
1089
|
+
# "key1=value1&key2=value2..."
|
1090
|
+
#
|
1091
|
+
# For the cli-input-json file use format: "tags":
|
1092
|
+
# "key1=value1&key2=value2..."
|
1093
|
+
#
|
1094
|
+
# </note>
|
1095
|
+
#
|
1056
1096
|
# @return [Types::CreateDomainConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1057
1097
|
#
|
1058
1098
|
# * {Types::CreateDomainConfigurationResponse#domain_configuration_name #domain_configuration_name} => String
|
@@ -1070,6 +1110,12 @@ module Aws::IoT
|
|
1070
1110
|
# allow_authorizer_override: false,
|
1071
1111
|
# },
|
1072
1112
|
# service_type: "DATA", # accepts DATA, CREDENTIAL_PROVIDER, JOBS
|
1113
|
+
# tags: [
|
1114
|
+
# {
|
1115
|
+
# key: "TagKey", # required
|
1116
|
+
# value: "TagValue",
|
1117
|
+
# },
|
1118
|
+
# ],
|
1073
1119
|
# })
|
1074
1120
|
#
|
1075
1121
|
# @example Response structure
|
@@ -1146,7 +1192,7 @@ module Aws::IoT
|
|
1146
1192
|
# query_version: "QueryVersion",
|
1147
1193
|
# tags: [
|
1148
1194
|
# {
|
1149
|
-
# key: "TagKey",
|
1195
|
+
# key: "TagKey", # required
|
1150
1196
|
# value: "TagValue",
|
1151
1197
|
# },
|
1152
1198
|
# ],
|
@@ -1271,7 +1317,7 @@ module Aws::IoT
|
|
1271
1317
|
# },
|
1272
1318
|
# tags: [
|
1273
1319
|
# {
|
1274
|
-
# key: "TagKey",
|
1320
|
+
# key: "TagKey", # required
|
1275
1321
|
# value: "TagValue",
|
1276
1322
|
# },
|
1277
1323
|
# ],
|
@@ -1384,7 +1430,7 @@ module Aws::IoT
|
|
1384
1430
|
# },
|
1385
1431
|
# tags: [
|
1386
1432
|
# {
|
1387
|
-
# key: "TagKey",
|
1433
|
+
# key: "TagKey", # required
|
1388
1434
|
# value: "TagValue",
|
1389
1435
|
# },
|
1390
1436
|
# ],
|
@@ -1521,7 +1567,7 @@ module Aws::IoT
|
|
1521
1567
|
# },
|
1522
1568
|
# tags: [
|
1523
1569
|
# {
|
1524
|
-
# key: "TagKey",
|
1570
|
+
# key: "TagKey", # required
|
1525
1571
|
# value: "TagValue",
|
1526
1572
|
# },
|
1527
1573
|
# ],
|
@@ -1556,6 +1602,20 @@ module Aws::IoT
|
|
1556
1602
|
# have a minimum length of 1, with a maximum length of 2048, excluding
|
1557
1603
|
# whitespace.
|
1558
1604
|
#
|
1605
|
+
# @option params [Array<Types::Tag>] :tags
|
1606
|
+
# Metadata which can be used to manage the policy.
|
1607
|
+
#
|
1608
|
+
# <note markdown="1"> For URI Request parameters use format:
|
1609
|
+
# ...key1=value1&key2=value2...
|
1610
|
+
#
|
1611
|
+
# For the CLI command-line parameter use format: &&tags
|
1612
|
+
# "key1=value1&key2=value2..."
|
1613
|
+
#
|
1614
|
+
# For the cli-input-json file use format: "tags":
|
1615
|
+
# "key1=value1&key2=value2..."
|
1616
|
+
#
|
1617
|
+
# </note>
|
1618
|
+
#
|
1559
1619
|
# @return [Types::CreatePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1560
1620
|
#
|
1561
1621
|
# * {Types::CreatePolicyResponse#policy_name #policy_name} => String
|
@@ -1568,6 +1628,12 @@ module Aws::IoT
|
|
1568
1628
|
# resp = client.create_policy({
|
1569
1629
|
# policy_name: "PolicyName", # required
|
1570
1630
|
# policy_document: "PolicyDocument", # required
|
1631
|
+
# tags: [
|
1632
|
+
# {
|
1633
|
+
# key: "TagKey", # required
|
1634
|
+
# value: "TagValue",
|
1635
|
+
# },
|
1636
|
+
# ],
|
1571
1637
|
# })
|
1572
1638
|
#
|
1573
1639
|
# @example Response structure
|
@@ -1688,6 +1754,9 @@ module Aws::IoT
|
|
1688
1754
|
# The role ARN for the role associated with the fleet provisioning
|
1689
1755
|
# template. This IoT role grants permission to provision a device.
|
1690
1756
|
#
|
1757
|
+
# @option params [Types::ProvisioningHook] :pre_provisioning_hook
|
1758
|
+
# Creates a pre-provisioning hook template.
|
1759
|
+
#
|
1691
1760
|
# @option params [Array<Types::Tag>] :tags
|
1692
1761
|
# Metadata which can be used to manage the fleet provisioning template.
|
1693
1762
|
#
|
@@ -1716,9 +1785,13 @@ module Aws::IoT
|
|
1716
1785
|
# template_body: "TemplateBody", # required
|
1717
1786
|
# enabled: false,
|
1718
1787
|
# provisioning_role_arn: "RoleArn", # required
|
1788
|
+
# pre_provisioning_hook: {
|
1789
|
+
# payload_version: "PayloadVersion",
|
1790
|
+
# target_arn: "TargetArn", # required
|
1791
|
+
# },
|
1719
1792
|
# tags: [
|
1720
1793
|
# {
|
1721
|
-
# key: "TagKey",
|
1794
|
+
# key: "TagKey", # required
|
1722
1795
|
# value: "TagValue",
|
1723
1796
|
# },
|
1724
1797
|
# ],
|
@@ -1789,6 +1862,20 @@ module Aws::IoT
|
|
1789
1862
|
# @option params [Integer] :credential_duration_seconds
|
1790
1863
|
# How long (in seconds) the credentials will be valid.
|
1791
1864
|
#
|
1865
|
+
# @option params [Array<Types::Tag>] :tags
|
1866
|
+
# Metadata which can be used to manage the role alias.
|
1867
|
+
#
|
1868
|
+
# <note markdown="1"> For URI Request parameters use format:
|
1869
|
+
# ...key1=value1&key2=value2...
|
1870
|
+
#
|
1871
|
+
# For the CLI command-line parameter use format: &&tags
|
1872
|
+
# "key1=value1&key2=value2..."
|
1873
|
+
#
|
1874
|
+
# For the cli-input-json file use format: "tags":
|
1875
|
+
# "key1=value1&key2=value2..."
|
1876
|
+
#
|
1877
|
+
# </note>
|
1878
|
+
#
|
1792
1879
|
# @return [Types::CreateRoleAliasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1793
1880
|
#
|
1794
1881
|
# * {Types::CreateRoleAliasResponse#role_alias #role_alias} => String
|
@@ -1800,6 +1887,12 @@ module Aws::IoT
|
|
1800
1887
|
# role_alias: "RoleAlias", # required
|
1801
1888
|
# role_arn: "RoleArn", # required
|
1802
1889
|
# credential_duration_seconds: 1,
|
1890
|
+
# tags: [
|
1891
|
+
# {
|
1892
|
+
# key: "TagKey", # required
|
1893
|
+
# value: "TagValue",
|
1894
|
+
# },
|
1895
|
+
# ],
|
1803
1896
|
# })
|
1804
1897
|
#
|
1805
1898
|
# @example Response structure
|
@@ -1860,7 +1953,7 @@ module Aws::IoT
|
|
1860
1953
|
# scheduled_audit_name: "ScheduledAuditName", # required
|
1861
1954
|
# tags: [
|
1862
1955
|
# {
|
1863
|
-
# key: "TagKey",
|
1956
|
+
# key: "TagKey", # required
|
1864
1957
|
# value: "TagValue",
|
1865
1958
|
# },
|
1866
1959
|
# ],
|
@@ -1962,7 +2055,7 @@ module Aws::IoT
|
|
1962
2055
|
# ],
|
1963
2056
|
# tags: [
|
1964
2057
|
# {
|
1965
|
-
# key: "TagKey",
|
2058
|
+
# key: "TagKey", # required
|
1966
2059
|
# value: "TagValue",
|
1967
2060
|
# },
|
1968
2061
|
# ],
|
@@ -2026,7 +2119,7 @@ module Aws::IoT
|
|
2026
2119
|
# role_arn: "RoleArn", # required
|
2027
2120
|
# tags: [
|
2028
2121
|
# {
|
2029
|
-
# key: "TagKey",
|
2122
|
+
# key: "TagKey", # required
|
2030
2123
|
# value: "TagValue",
|
2031
2124
|
# },
|
2032
2125
|
# ],
|
@@ -2063,6 +2156,10 @@ module Aws::IoT
|
|
2063
2156
|
# @option params [required, String] :thing_name
|
2064
2157
|
# The name of the thing to create.
|
2065
2158
|
#
|
2159
|
+
# You can't change a thing's name after you create it. To change a
|
2160
|
+
# thing's name, you must create a new thing, give it the new name, and
|
2161
|
+
# then delete the old thing.
|
2162
|
+
#
|
2066
2163
|
# @option params [String] :thing_type_name
|
2067
2164
|
# The name of the thing type associated with the new thing.
|
2068
2165
|
#
|
@@ -2153,7 +2250,7 @@ module Aws::IoT
|
|
2153
2250
|
# },
|
2154
2251
|
# tags: [
|
2155
2252
|
# {
|
2156
|
-
# key: "TagKey",
|
2253
|
+
# key: "TagKey", # required
|
2157
2254
|
# value: "TagValue",
|
2158
2255
|
# },
|
2159
2256
|
# ],
|
@@ -2201,7 +2298,7 @@ module Aws::IoT
|
|
2201
2298
|
# },
|
2202
2299
|
# tags: [
|
2203
2300
|
# {
|
2204
|
-
# key: "TagKey",
|
2301
|
+
# key: "TagKey", # required
|
2205
2302
|
# value: "TagValue",
|
2206
2303
|
# },
|
2207
2304
|
# ],
|
@@ -3639,6 +3736,7 @@ module Aws::IoT
|
|
3639
3736
|
# resp.certificate_description.generation_id #=> String
|
3640
3737
|
# resp.certificate_description.validity.not_before #=> Time
|
3641
3738
|
# resp.certificate_description.validity.not_after #=> Time
|
3739
|
+
# resp.certificate_description.certificate_mode #=> String, one of "DEFAULT", "SNI_ONLY"
|
3642
3740
|
#
|
3643
3741
|
# @overload describe_certificate(params = {})
|
3644
3742
|
# @param [Hash] params ({})
|
@@ -4035,6 +4133,7 @@ module Aws::IoT
|
|
4035
4133
|
# * {Types::DescribeProvisioningTemplateResponse#template_body #template_body} => String
|
4036
4134
|
# * {Types::DescribeProvisioningTemplateResponse#enabled #enabled} => Boolean
|
4037
4135
|
# * {Types::DescribeProvisioningTemplateResponse#provisioning_role_arn #provisioning_role_arn} => String
|
4136
|
+
# * {Types::DescribeProvisioningTemplateResponse#pre_provisioning_hook #pre_provisioning_hook} => Types::ProvisioningHook
|
4038
4137
|
#
|
4039
4138
|
# @example Request syntax with placeholder values
|
4040
4139
|
#
|
@@ -4053,6 +4152,8 @@ module Aws::IoT
|
|
4053
4152
|
# resp.template_body #=> String
|
4054
4153
|
# resp.enabled #=> Boolean
|
4055
4154
|
# resp.provisioning_role_arn #=> String
|
4155
|
+
# resp.pre_provisioning_hook.payload_version #=> String
|
4156
|
+
# resp.pre_provisioning_hook.target_arn #=> String
|
4056
4157
|
#
|
4057
4158
|
# @overload describe_provisioning_template(params = {})
|
4058
4159
|
# @param [Hash] params ({})
|
@@ -5819,6 +5920,7 @@ module Aws::IoT
|
|
5819
5920
|
# resp.certificates[0].certificate_arn #=> String
|
5820
5921
|
# resp.certificates[0].certificate_id #=> String
|
5821
5922
|
# resp.certificates[0].status #=> String, one of "ACTIVE", "INACTIVE", "REVOKED", "PENDING_TRANSFER", "REGISTER_INACTIVE", "PENDING_ACTIVATION"
|
5923
|
+
# resp.certificates[0].certificate_mode #=> String, one of "DEFAULT", "SNI_ONLY"
|
5822
5924
|
# resp.certificates[0].creation_date #=> Time
|
5823
5925
|
# resp.next_marker #=> String
|
5824
5926
|
#
|
@@ -5865,6 +5967,7 @@ module Aws::IoT
|
|
5865
5967
|
# resp.certificates[0].certificate_arn #=> String
|
5866
5968
|
# resp.certificates[0].certificate_id #=> String
|
5867
5969
|
# resp.certificates[0].status #=> String, one of "ACTIVE", "INACTIVE", "REVOKED", "PENDING_TRANSFER", "REGISTER_INACTIVE", "PENDING_ACTIVATION"
|
5970
|
+
# resp.certificates[0].certificate_mode #=> String, one of "DEFAULT", "SNI_ONLY"
|
5868
5971
|
# resp.certificates[0].creation_date #=> Time
|
5869
5972
|
# resp.next_marker #=> String
|
5870
5973
|
#
|
@@ -7456,6 +7559,20 @@ module Aws::IoT
|
|
7456
7559
|
# @option params [Types::RegistrationConfig] :registration_config
|
7457
7560
|
# Information about the registration configuration.
|
7458
7561
|
#
|
7562
|
+
# @option params [Array<Types::Tag>] :tags
|
7563
|
+
# Metadata which can be used to manage the CA certificate.
|
7564
|
+
#
|
7565
|
+
# <note markdown="1"> For URI Request parameters use format:
|
7566
|
+
# ...key1=value1&key2=value2...
|
7567
|
+
#
|
7568
|
+
# For the CLI command-line parameter use format: &&tags
|
7569
|
+
# "key1=value1&key2=value2..."
|
7570
|
+
#
|
7571
|
+
# For the cli-input-json file use format: "tags":
|
7572
|
+
# "key1=value1&key2=value2..."
|
7573
|
+
#
|
7574
|
+
# </note>
|
7575
|
+
#
|
7459
7576
|
# @return [Types::RegisterCACertificateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7460
7577
|
#
|
7461
7578
|
# * {Types::RegisterCACertificateResponse#certificate_arn #certificate_arn} => String
|
@@ -7472,6 +7589,12 @@ module Aws::IoT
|
|
7472
7589
|
# template_body: "TemplateBody",
|
7473
7590
|
# role_arn: "RoleArn",
|
7474
7591
|
# },
|
7592
|
+
# tags: [
|
7593
|
+
# {
|
7594
|
+
# key: "TagKey", # required
|
7595
|
+
# value: "TagValue",
|
7596
|
+
# },
|
7597
|
+
# ],
|
7475
7598
|
# })
|
7476
7599
|
#
|
7477
7600
|
# @example Response structure
|
@@ -7530,6 +7653,39 @@ module Aws::IoT
|
|
7530
7653
|
req.send_request(options)
|
7531
7654
|
end
|
7532
7655
|
|
7656
|
+
# Register a certificate that does not have a certificate authority
|
7657
|
+
# (CA).
|
7658
|
+
#
|
7659
|
+
# @option params [required, String] :certificate_pem
|
7660
|
+
# The certificate data, in PEM format.
|
7661
|
+
#
|
7662
|
+
# @option params [String] :status
|
7663
|
+
# The status of the register certificate request.
|
7664
|
+
#
|
7665
|
+
# @return [Types::RegisterCertificateWithoutCAResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7666
|
+
#
|
7667
|
+
# * {Types::RegisterCertificateWithoutCAResponse#certificate_arn #certificate_arn} => String
|
7668
|
+
# * {Types::RegisterCertificateWithoutCAResponse#certificate_id #certificate_id} => String
|
7669
|
+
#
|
7670
|
+
# @example Request syntax with placeholder values
|
7671
|
+
#
|
7672
|
+
# resp = client.register_certificate_without_ca({
|
7673
|
+
# certificate_pem: "CertificatePem", # required
|
7674
|
+
# status: "ACTIVE", # accepts ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER, REGISTER_INACTIVE, PENDING_ACTIVATION
|
7675
|
+
# })
|
7676
|
+
#
|
7677
|
+
# @example Response structure
|
7678
|
+
#
|
7679
|
+
# resp.certificate_arn #=> String
|
7680
|
+
# resp.certificate_id #=> String
|
7681
|
+
#
|
7682
|
+
# @overload register_certificate_without_ca(params = {})
|
7683
|
+
# @param [Hash] params ({})
|
7684
|
+
def register_certificate_without_ca(params = {}, options = {})
|
7685
|
+
req = build_request(:register_certificate_without_ca, params)
|
7686
|
+
req.send_request(options)
|
7687
|
+
end
|
7688
|
+
|
7533
7689
|
# Provisions a thing in the device registry. RegisterThing calls other
|
7534
7690
|
# AWS IoT control plane APIs. These calls might exceed your account
|
7535
7691
|
# level [ AWS IoT Throttling Limits][1] and cause throttle errors.
|
@@ -7550,12 +7706,12 @@ module Aws::IoT
|
|
7550
7706
|
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/provision-w-cert.html
|
7551
7707
|
#
|
7552
7708
|
# @option params [Hash<String,String>] :parameters
|
7553
|
-
# The parameters for provisioning a thing. See [
|
7554
|
-
#
|
7709
|
+
# The parameters for provisioning a thing. See [Provisioning
|
7710
|
+
# Templates][1] for more information.
|
7555
7711
|
#
|
7556
7712
|
#
|
7557
7713
|
#
|
7558
|
-
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/
|
7714
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/provision-template.html
|
7559
7715
|
#
|
7560
7716
|
# @return [Types::RegisterThingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7561
7717
|
#
|
@@ -8363,7 +8519,7 @@ module Aws::IoT
|
|
8363
8519
|
# resource_arn: "ResourceArn", # required
|
8364
8520
|
# tags: [ # required
|
8365
8521
|
# {
|
8366
|
-
# key: "TagKey",
|
8522
|
+
# key: "TagKey", # required
|
8367
8523
|
# value: "TagValue",
|
8368
8524
|
# },
|
8369
8525
|
# ],
|
@@ -8414,7 +8570,7 @@ module Aws::IoT
|
|
8414
8570
|
# auth_infos: [ # required
|
8415
8571
|
# {
|
8416
8572
|
# action_type: "PUBLISH", # accepts PUBLISH, SUBSCRIBE, RECEIVE, CONNECT
|
8417
|
-
# resources: ["Resource"],
|
8573
|
+
# resources: ["Resource"], # required
|
8418
8574
|
# },
|
8419
8575
|
# ],
|
8420
8576
|
# client_id: "ClientId",
|
@@ -8460,7 +8616,7 @@ module Aws::IoT
|
|
8460
8616
|
#
|
8461
8617
|
# @option params [String] :token_signature
|
8462
8618
|
# The signature made with the token and your custom authentication
|
8463
|
-
# service's private key.
|
8619
|
+
# service's private key. This value must be Base-64-encoded.
|
8464
8620
|
#
|
8465
8621
|
# @option params [Types::HttpContext] :http_context
|
8466
8622
|
# Specifies a test HTTP authorization request.
|
@@ -9190,6 +9346,12 @@ module Aws::IoT
|
|
9190
9346
|
# The ARN of the role associated with the provisioning template. This
|
9191
9347
|
# IoT role grants permission to provision a device.
|
9192
9348
|
#
|
9349
|
+
# @option params [Types::ProvisioningHook] :pre_provisioning_hook
|
9350
|
+
# Updates the pre-provisioning hook template.
|
9351
|
+
#
|
9352
|
+
# @option params [Boolean] :remove_pre_provisioning_hook
|
9353
|
+
# Removes pre-provisioning hook template.
|
9354
|
+
#
|
9193
9355
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
9194
9356
|
#
|
9195
9357
|
# @example Request syntax with placeholder values
|
@@ -9200,6 +9362,11 @@ module Aws::IoT
|
|
9200
9362
|
# enabled: false,
|
9201
9363
|
# default_version_id: 1,
|
9202
9364
|
# provisioning_role_arn: "RoleArn",
|
9365
|
+
# pre_provisioning_hook: {
|
9366
|
+
# payload_version: "PayloadVersion",
|
9367
|
+
# target_arn: "TargetArn", # required
|
9368
|
+
# },
|
9369
|
+
# remove_pre_provisioning_hook: false,
|
9203
9370
|
# })
|
9204
9371
|
#
|
9205
9372
|
# @overload update_provisioning_template(params = {})
|
@@ -9513,6 +9680,10 @@ module Aws::IoT
|
|
9513
9680
|
# @option params [required, String] :thing_name
|
9514
9681
|
# The name of the thing to update.
|
9515
9682
|
#
|
9683
|
+
# You can't change a thing's name. To change a thing's name, you must
|
9684
|
+
# create a new thing, give it the new name, and then delete the old
|
9685
|
+
# thing.
|
9686
|
+
#
|
9516
9687
|
# @option params [String] :thing_type_name
|
9517
9688
|
# The name of the thing type.
|
9518
9689
|
#
|
@@ -9756,7 +9927,7 @@ module Aws::IoT
|
|
9756
9927
|
params: params,
|
9757
9928
|
config: config)
|
9758
9929
|
context[:gem_name] = 'aws-sdk-iot'
|
9759
|
-
context[:gem_version] = '1.
|
9930
|
+
context[:gem_version] = '1.51.1'
|
9760
9931
|
Seahorse::Client::Request.new(handlers, context)
|
9761
9932
|
end
|
9762
9933
|
|