aws-sdk-iot 1.47.0 → 1.52.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f3b64c6307919e365e8c5702e9caa93f7d0cd6526446a9710a2a0375f25a5873
4
- data.tar.gz: 4f0666d313d4c99781d6800186ed08df1a07ea7f9e087f24362412762e35d1c6
3
+ metadata.gz: 34d0cf141a1d23ed3d624ae3c0368689384abb41d3962d9d1087669ff041a084
4
+ data.tar.gz: e7383faa6d760e4192b30611558ea43ac22b18e453fb10458b2658fca7074e25
5
5
  SHA512:
6
- metadata.gz: 45a41060b1c28a1e891caf98001c4400a5dc66387f7e30c116a18408ccdfbab21c5aa482e480ee392726ebdbeae47ecada3bbef7234aa88d0ab5cf1de1cb3794
7
- data.tar.gz: 9a4248e589e41d44306b369ebb86dc75f51e175f021d44bbe8f63cdf998588a1017c5351e4bf9a59194bb3f1fbfe7264389fa93db3ee74a2b3d69b761dbd56fa
6
+ metadata.gz: 6e2010a9c15f8375419e6fe60e33c41c15c2396751e6f0f70f5aa72b845a6aefc5d237a67075aa43b05a22c7e5c67ffb275a53b48337ba2d480a7b4a9bf75f53
7
+ data.tar.gz: 2beb536daaed0840db6e24ea469288e7635b2be6e29b24b1db070c967ba451f3312fa27b782b4e3723dc7e508f69840e9c4393b7f92ff07be15c03fe34b5bfaf
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-iot/customizations'
45
45
  # @service
46
46
  module Aws::IoT
47
47
 
48
- GEM_VERSION = '1.47.0'
48
+ GEM_VERSION = '1.52.0'
49
49
 
50
50
  end
@@ -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 search for in the following locations:
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 avalid HTTP(S) URI.
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. Defaults to `false`.
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.
@@ -466,7 +468,7 @@ module Aws::IoT
466
468
  #
467
469
  #
468
470
  #
469
- # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-security-identity.html
471
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/security-iam.html
470
472
  #
471
473
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
472
474
  #
@@ -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&amp;key2=value2...
810
+ #
811
+ # For the CLI command-line parameter use format: &amp;&amp;tags
812
+ # "key1=value1&amp;key2=value2..."
813
+ #
814
+ # For the cli-input-json file use format: "tags":
815
+ # "key1=value1&amp;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&amp;key2=value2...
1087
+ #
1088
+ # For the CLI command-line parameter use format: &amp;&amp;tags
1089
+ # "key1=value1&amp;key2=value2..."
1090
+ #
1091
+ # For the cli-input-json file use format: "tags":
1092
+ # "key1=value1&amp;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
  # ],
@@ -1411,7 +1457,7 @@ module Aws::IoT
1411
1457
  # The description of the OTA update.
1412
1458
  #
1413
1459
  # @option params [required, Array<String>] :targets
1414
- # The targeted devices to receive OTA updates.
1460
+ # The devices targeted to receive OTA updates.
1415
1461
  #
1416
1462
  # @option params [Array<String>] :protocols
1417
1463
  # The protocol used to transfer the OTA update image. Valid values are
@@ -1433,11 +1479,22 @@ module Aws::IoT
1433
1479
  # @option params [Types::AwsJobPresignedUrlConfig] :aws_job_presigned_url_config
1434
1480
  # Configuration information for pre-signed URLs.
1435
1481
  #
1482
+ # @option params [Types::AwsJobAbortConfig] :aws_job_abort_config
1483
+ # The criteria that determine when and how a job abort takes place.
1484
+ #
1485
+ # @option params [Types::AwsJobTimeoutConfig] :aws_job_timeout_config
1486
+ # Specifies the amount of time each device has to finish its execution
1487
+ # of the job. A timer is started when the job execution status is set to
1488
+ # `IN_PROGRESS`. If the job execution status is not set to another
1489
+ # terminal state before the timer expires, it will be automatically set
1490
+ # to `TIMED_OUT`.
1491
+ #
1436
1492
  # @option params [required, Array<Types::OTAUpdateFile>] :files
1437
1493
  # The files to be streamed by the OTA update.
1438
1494
  #
1439
1495
  # @option params [required, String] :role_arn
1440
- # The IAM role that allows access to the AWS IoT Jobs service.
1496
+ # The IAM role that grants AWS IoT access to the Amazon S3, AWS IoT jobs
1497
+ # and AWS Code Signing resources to create an OTA update job.
1441
1498
  #
1442
1499
  # @option params [Hash<String,String>] :additional_parameters
1443
1500
  # A list of additional OTA update parameters which are name-value pairs.
@@ -1463,10 +1520,31 @@ module Aws::IoT
1463
1520
  # target_selection: "CONTINUOUS", # accepts CONTINUOUS, SNAPSHOT
1464
1521
  # aws_job_executions_rollout_config: {
1465
1522
  # maximum_per_minute: 1,
1523
+ # exponential_rate: {
1524
+ # base_rate_per_minute: 1, # required
1525
+ # increment_factor: 1.0, # required
1526
+ # rate_increase_criteria: { # required
1527
+ # number_of_notified_things: 1,
1528
+ # number_of_succeeded_things: 1,
1529
+ # },
1530
+ # },
1466
1531
  # },
1467
1532
  # aws_job_presigned_url_config: {
1468
1533
  # expires_in_sec: 1,
1469
1534
  # },
1535
+ # aws_job_abort_config: {
1536
+ # abort_criteria_list: [ # required
1537
+ # {
1538
+ # failure_type: "FAILED", # required, accepts FAILED, REJECTED, TIMED_OUT, ALL
1539
+ # action: "CANCEL", # required, accepts CANCEL
1540
+ # threshold_percentage: 1.0, # required
1541
+ # min_number_of_executed_things: 1, # required
1542
+ # },
1543
+ # ],
1544
+ # },
1545
+ # aws_job_timeout_config: {
1546
+ # in_progress_timeout_in_minutes: 1,
1547
+ # },
1470
1548
  # files: [ # required
1471
1549
  # {
1472
1550
  # file_name: "FileName",
@@ -1521,7 +1599,7 @@ module Aws::IoT
1521
1599
  # },
1522
1600
  # tags: [
1523
1601
  # {
1524
- # key: "TagKey",
1602
+ # key: "TagKey", # required
1525
1603
  # value: "TagValue",
1526
1604
  # },
1527
1605
  # ],
@@ -1556,6 +1634,20 @@ module Aws::IoT
1556
1634
  # have a minimum length of 1, with a maximum length of 2048, excluding
1557
1635
  # whitespace.
1558
1636
  #
1637
+ # @option params [Array<Types::Tag>] :tags
1638
+ # Metadata which can be used to manage the policy.
1639
+ #
1640
+ # <note markdown="1"> For URI Request parameters use format:
1641
+ # ...key1=value1&amp;key2=value2...
1642
+ #
1643
+ # For the CLI command-line parameter use format: &amp;&amp;tags
1644
+ # "key1=value1&amp;key2=value2..."
1645
+ #
1646
+ # For the cli-input-json file use format: "tags":
1647
+ # "key1=value1&amp;key2=value2..."
1648
+ #
1649
+ # </note>
1650
+ #
1559
1651
  # @return [Types::CreatePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1560
1652
  #
1561
1653
  # * {Types::CreatePolicyResponse#policy_name #policy_name} => String
@@ -1568,6 +1660,12 @@ module Aws::IoT
1568
1660
  # resp = client.create_policy({
1569
1661
  # policy_name: "PolicyName", # required
1570
1662
  # policy_document: "PolicyDocument", # required
1663
+ # tags: [
1664
+ # {
1665
+ # key: "TagKey", # required
1666
+ # value: "TagValue",
1667
+ # },
1668
+ # ],
1571
1669
  # })
1572
1670
  #
1573
1671
  # @example Response structure
@@ -1688,6 +1786,9 @@ module Aws::IoT
1688
1786
  # The role ARN for the role associated with the fleet provisioning
1689
1787
  # template. This IoT role grants permission to provision a device.
1690
1788
  #
1789
+ # @option params [Types::ProvisioningHook] :pre_provisioning_hook
1790
+ # Creates a pre-provisioning hook template.
1791
+ #
1691
1792
  # @option params [Array<Types::Tag>] :tags
1692
1793
  # Metadata which can be used to manage the fleet provisioning template.
1693
1794
  #
@@ -1716,9 +1817,13 @@ module Aws::IoT
1716
1817
  # template_body: "TemplateBody", # required
1717
1818
  # enabled: false,
1718
1819
  # provisioning_role_arn: "RoleArn", # required
1820
+ # pre_provisioning_hook: {
1821
+ # payload_version: "PayloadVersion",
1822
+ # target_arn: "TargetArn", # required
1823
+ # },
1719
1824
  # tags: [
1720
1825
  # {
1721
- # key: "TagKey",
1826
+ # key: "TagKey", # required
1722
1827
  # value: "TagValue",
1723
1828
  # },
1724
1829
  # ],
@@ -1789,6 +1894,20 @@ module Aws::IoT
1789
1894
  # @option params [Integer] :credential_duration_seconds
1790
1895
  # How long (in seconds) the credentials will be valid.
1791
1896
  #
1897
+ # @option params [Array<Types::Tag>] :tags
1898
+ # Metadata which can be used to manage the role alias.
1899
+ #
1900
+ # <note markdown="1"> For URI Request parameters use format:
1901
+ # ...key1=value1&amp;key2=value2...
1902
+ #
1903
+ # For the CLI command-line parameter use format: &amp;&amp;tags
1904
+ # "key1=value1&amp;key2=value2..."
1905
+ #
1906
+ # For the cli-input-json file use format: "tags":
1907
+ # "key1=value1&amp;key2=value2..."
1908
+ #
1909
+ # </note>
1910
+ #
1792
1911
  # @return [Types::CreateRoleAliasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1793
1912
  #
1794
1913
  # * {Types::CreateRoleAliasResponse#role_alias #role_alias} => String
@@ -1800,6 +1919,12 @@ module Aws::IoT
1800
1919
  # role_alias: "RoleAlias", # required
1801
1920
  # role_arn: "RoleArn", # required
1802
1921
  # credential_duration_seconds: 1,
1922
+ # tags: [
1923
+ # {
1924
+ # key: "TagKey", # required
1925
+ # value: "TagValue",
1926
+ # },
1927
+ # ],
1803
1928
  # })
1804
1929
  #
1805
1930
  # @example Response structure
@@ -1860,7 +1985,7 @@ module Aws::IoT
1860
1985
  # scheduled_audit_name: "ScheduledAuditName", # required
1861
1986
  # tags: [
1862
1987
  # {
1863
- # key: "TagKey",
1988
+ # key: "TagKey", # required
1864
1989
  # value: "TagValue",
1865
1990
  # },
1866
1991
  # ],
@@ -1962,7 +2087,7 @@ module Aws::IoT
1962
2087
  # ],
1963
2088
  # tags: [
1964
2089
  # {
1965
- # key: "TagKey",
2090
+ # key: "TagKey", # required
1966
2091
  # value: "TagValue",
1967
2092
  # },
1968
2093
  # ],
@@ -2026,7 +2151,7 @@ module Aws::IoT
2026
2151
  # role_arn: "RoleArn", # required
2027
2152
  # tags: [
2028
2153
  # {
2029
- # key: "TagKey",
2154
+ # key: "TagKey", # required
2030
2155
  # value: "TagValue",
2031
2156
  # },
2032
2157
  # ],
@@ -2063,6 +2188,10 @@ module Aws::IoT
2063
2188
  # @option params [required, String] :thing_name
2064
2189
  # The name of the thing to create.
2065
2190
  #
2191
+ # You can't change a thing's name after you create it. To change a
2192
+ # thing's name, you must create a new thing, give it the new name, and
2193
+ # then delete the old thing.
2194
+ #
2066
2195
  # @option params [String] :thing_type_name
2067
2196
  # The name of the thing type associated with the new thing.
2068
2197
  #
@@ -2153,7 +2282,7 @@ module Aws::IoT
2153
2282
  # },
2154
2283
  # tags: [
2155
2284
  # {
2156
- # key: "TagKey",
2285
+ # key: "TagKey", # required
2157
2286
  # value: "TagValue",
2158
2287
  # },
2159
2288
  # ],
@@ -2201,7 +2330,7 @@ module Aws::IoT
2201
2330
  # },
2202
2331
  # tags: [
2203
2332
  # {
2204
- # key: "TagKey",
2333
+ # key: "TagKey", # required
2205
2334
  # value: "TagValue",
2206
2335
  # },
2207
2336
  # ],
@@ -2894,7 +3023,7 @@ module Aws::IoT
2894
3023
  # Delete an OTA update.
2895
3024
  #
2896
3025
  # @option params [required, String] :ota_update_id
2897
- # The OTA update ID to delete.
3026
+ # The ID of the OTA update to delete.
2898
3027
  #
2899
3028
  # @option params [Boolean] :delete_stream
2900
3029
  # Specifies if the stream associated with an OTA update should be
@@ -2902,7 +3031,7 @@ module Aws::IoT
2902
3031
  #
2903
3032
  # @option params [Boolean] :force_delete_aws_job
2904
3033
  # Specifies if the AWS Job associated with the OTA update should be
2905
- # deleted with the OTA update is deleted.
3034
+ # deleted when the OTA update is deleted.
2906
3035
  #
2907
3036
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2908
3037
  #
@@ -3639,6 +3768,7 @@ module Aws::IoT
3639
3768
  # resp.certificate_description.generation_id #=> String
3640
3769
  # resp.certificate_description.validity.not_before #=> Time
3641
3770
  # resp.certificate_description.validity.not_after #=> Time
3771
+ # resp.certificate_description.certificate_mode #=> String, one of "DEFAULT", "SNI_ONLY"
3642
3772
  #
3643
3773
  # @overload describe_certificate(params = {})
3644
3774
  # @param [Hash] params ({})
@@ -4035,6 +4165,7 @@ module Aws::IoT
4035
4165
  # * {Types::DescribeProvisioningTemplateResponse#template_body #template_body} => String
4036
4166
  # * {Types::DescribeProvisioningTemplateResponse#enabled #enabled} => Boolean
4037
4167
  # * {Types::DescribeProvisioningTemplateResponse#provisioning_role_arn #provisioning_role_arn} => String
4168
+ # * {Types::DescribeProvisioningTemplateResponse#pre_provisioning_hook #pre_provisioning_hook} => Types::ProvisioningHook
4038
4169
  #
4039
4170
  # @example Request syntax with placeholder values
4040
4171
  #
@@ -4053,6 +4184,8 @@ module Aws::IoT
4053
4184
  # resp.template_body #=> String
4054
4185
  # resp.enabled #=> Boolean
4055
4186
  # resp.provisioning_role_arn #=> String
4187
+ # resp.pre_provisioning_hook.payload_version #=> String
4188
+ # resp.pre_provisioning_hook.target_arn #=> String
4056
4189
  #
4057
4190
  # @overload describe_provisioning_template(params = {})
4058
4191
  # @param [Hash] params ({})
@@ -4781,6 +4914,10 @@ module Aws::IoT
4781
4914
  # resp.ota_update_info.protocols #=> Array
4782
4915
  # resp.ota_update_info.protocols[0] #=> String, one of "MQTT", "HTTP"
4783
4916
  # resp.ota_update_info.aws_job_executions_rollout_config.maximum_per_minute #=> Integer
4917
+ # resp.ota_update_info.aws_job_executions_rollout_config.exponential_rate.base_rate_per_minute #=> Integer
4918
+ # resp.ota_update_info.aws_job_executions_rollout_config.exponential_rate.increment_factor #=> Float
4919
+ # resp.ota_update_info.aws_job_executions_rollout_config.exponential_rate.rate_increase_criteria.number_of_notified_things #=> Integer
4920
+ # resp.ota_update_info.aws_job_executions_rollout_config.exponential_rate.rate_increase_criteria.number_of_succeeded_things #=> Integer
4784
4921
  # resp.ota_update_info.aws_job_presigned_url_config.expires_in_sec #=> Integer
4785
4922
  # resp.ota_update_info.target_selection #=> String, one of "CONTINUOUS", "SNAPSHOT"
4786
4923
  # resp.ota_update_info.ota_update_files #=> Array
@@ -5819,6 +5956,7 @@ module Aws::IoT
5819
5956
  # resp.certificates[0].certificate_arn #=> String
5820
5957
  # resp.certificates[0].certificate_id #=> String
5821
5958
  # resp.certificates[0].status #=> String, one of "ACTIVE", "INACTIVE", "REVOKED", "PENDING_TRANSFER", "REGISTER_INACTIVE", "PENDING_ACTIVATION"
5959
+ # resp.certificates[0].certificate_mode #=> String, one of "DEFAULT", "SNI_ONLY"
5822
5960
  # resp.certificates[0].creation_date #=> Time
5823
5961
  # resp.next_marker #=> String
5824
5962
  #
@@ -5865,6 +6003,7 @@ module Aws::IoT
5865
6003
  # resp.certificates[0].certificate_arn #=> String
5866
6004
  # resp.certificates[0].certificate_id #=> String
5867
6005
  # resp.certificates[0].status #=> String, one of "ACTIVE", "INACTIVE", "REVOKED", "PENDING_TRANSFER", "REGISTER_INACTIVE", "PENDING_ACTIVATION"
6006
+ # resp.certificates[0].certificate_mode #=> String, one of "DEFAULT", "SNI_ONLY"
5868
6007
  # resp.certificates[0].creation_date #=> Time
5869
6008
  # resp.next_marker #=> String
5870
6009
  #
@@ -7456,6 +7595,20 @@ module Aws::IoT
7456
7595
  # @option params [Types::RegistrationConfig] :registration_config
7457
7596
  # Information about the registration configuration.
7458
7597
  #
7598
+ # @option params [Array<Types::Tag>] :tags
7599
+ # Metadata which can be used to manage the CA certificate.
7600
+ #
7601
+ # <note markdown="1"> For URI Request parameters use format:
7602
+ # ...key1=value1&amp;key2=value2...
7603
+ #
7604
+ # For the CLI command-line parameter use format: &amp;&amp;tags
7605
+ # "key1=value1&amp;key2=value2..."
7606
+ #
7607
+ # For the cli-input-json file use format: "tags":
7608
+ # "key1=value1&amp;key2=value2..."
7609
+ #
7610
+ # </note>
7611
+ #
7459
7612
  # @return [Types::RegisterCACertificateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7460
7613
  #
7461
7614
  # * {Types::RegisterCACertificateResponse#certificate_arn #certificate_arn} => String
@@ -7472,6 +7625,12 @@ module Aws::IoT
7472
7625
  # template_body: "TemplateBody",
7473
7626
  # role_arn: "RoleArn",
7474
7627
  # },
7628
+ # tags: [
7629
+ # {
7630
+ # key: "TagKey", # required
7631
+ # value: "TagValue",
7632
+ # },
7633
+ # ],
7475
7634
  # })
7476
7635
  #
7477
7636
  # @example Response structure
@@ -7530,6 +7689,39 @@ module Aws::IoT
7530
7689
  req.send_request(options)
7531
7690
  end
7532
7691
 
7692
+ # Register a certificate that does not have a certificate authority
7693
+ # (CA).
7694
+ #
7695
+ # @option params [required, String] :certificate_pem
7696
+ # The certificate data, in PEM format.
7697
+ #
7698
+ # @option params [String] :status
7699
+ # The status of the register certificate request.
7700
+ #
7701
+ # @return [Types::RegisterCertificateWithoutCAResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7702
+ #
7703
+ # * {Types::RegisterCertificateWithoutCAResponse#certificate_arn #certificate_arn} => String
7704
+ # * {Types::RegisterCertificateWithoutCAResponse#certificate_id #certificate_id} => String
7705
+ #
7706
+ # @example Request syntax with placeholder values
7707
+ #
7708
+ # resp = client.register_certificate_without_ca({
7709
+ # certificate_pem: "CertificatePem", # required
7710
+ # status: "ACTIVE", # accepts ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER, REGISTER_INACTIVE, PENDING_ACTIVATION
7711
+ # })
7712
+ #
7713
+ # @example Response structure
7714
+ #
7715
+ # resp.certificate_arn #=> String
7716
+ # resp.certificate_id #=> String
7717
+ #
7718
+ # @overload register_certificate_without_ca(params = {})
7719
+ # @param [Hash] params ({})
7720
+ def register_certificate_without_ca(params = {}, options = {})
7721
+ req = build_request(:register_certificate_without_ca, params)
7722
+ req.send_request(options)
7723
+ end
7724
+
7533
7725
  # Provisions a thing in the device registry. RegisterThing calls other
7534
7726
  # AWS IoT control plane APIs. These calls might exceed your account
7535
7727
  # level [ AWS IoT Throttling Limits][1] and cause throttle errors.
@@ -7550,12 +7742,12 @@ module Aws::IoT
7550
7742
  # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/provision-w-cert.html
7551
7743
  #
7552
7744
  # @option params [Hash<String,String>] :parameters
7553
- # The parameters for provisioning a thing. See [Programmatic
7554
- # Provisioning][1] for more information.
7745
+ # The parameters for provisioning a thing. See [Provisioning
7746
+ # Templates][1] for more information.
7555
7747
  #
7556
7748
  #
7557
7749
  #
7558
- # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/programmatic-provisioning.html
7750
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/provision-template.html
7559
7751
  #
7560
7752
  # @return [Types::RegisterThingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7561
7753
  #
@@ -7652,6 +7844,10 @@ module Aws::IoT
7652
7844
 
7653
7845
  # Remove the specified thing from the specified group.
7654
7846
  #
7847
+ # You must specify either a `thingGroupArn` or a `thingGroupName` to
7848
+ # identify the thing group and either a `thingArn` or a `thingName` to
7849
+ # identify the thing to remove from the thing group.
7850
+ #
7655
7851
  # @option params [String] :thing_group_name
7656
7852
  # The group name.
7657
7853
  #
@@ -8363,7 +8559,7 @@ module Aws::IoT
8363
8559
  # resource_arn: "ResourceArn", # required
8364
8560
  # tags: [ # required
8365
8561
  # {
8366
- # key: "TagKey",
8562
+ # key: "TagKey", # required
8367
8563
  # value: "TagValue",
8368
8564
  # },
8369
8565
  # ],
@@ -8414,7 +8610,7 @@ module Aws::IoT
8414
8610
  # auth_infos: [ # required
8415
8611
  # {
8416
8612
  # action_type: "PUBLISH", # accepts PUBLISH, SUBSCRIBE, RECEIVE, CONNECT
8417
- # resources: ["Resource"],
8613
+ # resources: ["Resource"], # required
8418
8614
  # },
8419
8615
  # ],
8420
8616
  # client_id: "ClientId",
@@ -8460,7 +8656,7 @@ module Aws::IoT
8460
8656
  #
8461
8657
  # @option params [String] :token_signature
8462
8658
  # The signature made with the token and your custom authentication
8463
- # service's private key.
8659
+ # service's private key. This value must be Base-64-encoded.
8464
8660
  #
8465
8661
  # @option params [Types::HttpContext] :http_context
8466
8662
  # Specifies a test HTTP authorization request.
@@ -9190,6 +9386,12 @@ module Aws::IoT
9190
9386
  # The ARN of the role associated with the provisioning template. This
9191
9387
  # IoT role grants permission to provision a device.
9192
9388
  #
9389
+ # @option params [Types::ProvisioningHook] :pre_provisioning_hook
9390
+ # Updates the pre-provisioning hook template.
9391
+ #
9392
+ # @option params [Boolean] :remove_pre_provisioning_hook
9393
+ # Removes pre-provisioning hook template.
9394
+ #
9193
9395
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
9194
9396
  #
9195
9397
  # @example Request syntax with placeholder values
@@ -9200,6 +9402,11 @@ module Aws::IoT
9200
9402
  # enabled: false,
9201
9403
  # default_version_id: 1,
9202
9404
  # provisioning_role_arn: "RoleArn",
9405
+ # pre_provisioning_hook: {
9406
+ # payload_version: "PayloadVersion",
9407
+ # target_arn: "TargetArn", # required
9408
+ # },
9409
+ # remove_pre_provisioning_hook: false,
9203
9410
  # })
9204
9411
  #
9205
9412
  # @overload update_provisioning_template(params = {})
@@ -9513,6 +9720,10 @@ module Aws::IoT
9513
9720
  # @option params [required, String] :thing_name
9514
9721
  # The name of the thing to update.
9515
9722
  #
9723
+ # You can't change a thing's name. To change a thing's name, you must
9724
+ # create a new thing, give it the new name, and then delete the old
9725
+ # thing.
9726
+ #
9516
9727
  # @option params [String] :thing_type_name
9517
9728
  # The name of the thing type.
9518
9729
  #
@@ -9756,7 +9967,7 @@ module Aws::IoT
9756
9967
  params: params,
9757
9968
  config: config)
9758
9969
  context[:gem_name] = 'aws-sdk-iot'
9759
- context[:gem_version] = '1.47.0'
9970
+ context[:gem_version] = '1.52.0'
9760
9971
  Seahorse::Client::Request.new(handlers, context)
9761
9972
  end
9762
9973