aws-sdk-iot 1.40.0 → 1.41.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 +4 -4
- data/lib/aws-sdk-iot.rb +1 -1
- data/lib/aws-sdk-iot/client.rb +818 -22
- data/lib/aws-sdk-iot/client_api.rb +529 -4
- data/lib/aws-sdk-iot/types.rb +1413 -38
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c703ad0a1d71343a2c0fcac7925eb8c01b4887af
|
4
|
+
data.tar.gz: a3b87a0a85b08cad450995731738fa93dc413cef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76a856a4d06d5dbf533b25cf34ab1ed3e932571f69f22c268a5713cef9cc289ade158b91a811764629c1e6a623a03d9aaf1a380e97d49822adb64cfff101fc5e
|
7
|
+
data.tar.gz: db5e806d43adff57c33cacc959bade56c4b348458d5115bb0c7b456e0a58bd8bb088e71aba5cd022eac6b173a80b35cd0fc187ac790b32d2a92ab5631699e79c
|
data/lib/aws-sdk-iot.rb
CHANGED
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -735,17 +735,21 @@ module Aws::IoT
|
|
735
735
|
# @option params [required, String] :authorizer_function_arn
|
736
736
|
# The ARN of the authorizer's Lambda function.
|
737
737
|
#
|
738
|
-
# @option params [
|
738
|
+
# @option params [String] :token_key_name
|
739
739
|
# The name of the token key used to extract the token from the HTTP
|
740
740
|
# headers.
|
741
741
|
#
|
742
|
-
# @option params [
|
742
|
+
# @option params [Hash<String,String>] :token_signing_public_keys
|
743
743
|
# The public keys used to verify the digital signature returned by your
|
744
744
|
# custom authentication service.
|
745
745
|
#
|
746
746
|
# @option params [String] :status
|
747
747
|
# The status of the create authorizer request.
|
748
748
|
#
|
749
|
+
# @option params [Boolean] :signing_disabled
|
750
|
+
# Specifies whether AWS IoT validates the token signature in an
|
751
|
+
# authorization request.
|
752
|
+
#
|
749
753
|
# @return [Types::CreateAuthorizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
750
754
|
#
|
751
755
|
# * {Types::CreateAuthorizerResponse#authorizer_name #authorizer_name} => String
|
@@ -756,11 +760,12 @@ module Aws::IoT
|
|
756
760
|
# resp = client.create_authorizer({
|
757
761
|
# authorizer_name: "AuthorizerName", # required
|
758
762
|
# authorizer_function_arn: "AuthorizerFunctionArn", # required
|
759
|
-
# token_key_name: "TokenKeyName",
|
760
|
-
# token_signing_public_keys: {
|
763
|
+
# token_key_name: "TokenKeyName",
|
764
|
+
# token_signing_public_keys: {
|
761
765
|
# "KeyName" => "KeyValue",
|
762
766
|
# },
|
763
767
|
# status: "ACTIVE", # accepts ACTIVE, INACTIVE
|
768
|
+
# signing_disabled: false,
|
764
769
|
# })
|
765
770
|
#
|
766
771
|
# @example Response structure
|
@@ -901,6 +906,68 @@ module Aws::IoT
|
|
901
906
|
req.send_request(options)
|
902
907
|
end
|
903
908
|
|
909
|
+
# Creates a domain configuration.
|
910
|
+
#
|
911
|
+
# <note markdown="1"> The domain configuration feature is in public preview and is subject
|
912
|
+
# to change.
|
913
|
+
#
|
914
|
+
# </note>
|
915
|
+
#
|
916
|
+
# @option params [required, String] :domain_configuration_name
|
917
|
+
# The name of the domain configuration. This value must be unique to a
|
918
|
+
# region.
|
919
|
+
#
|
920
|
+
# @option params [String] :domain_name
|
921
|
+
# The name of the domain.
|
922
|
+
#
|
923
|
+
# @option params [Array<String>] :server_certificate_arns
|
924
|
+
# The ARNs of the certificates that AWS IoT passes to the device during
|
925
|
+
# the TLS handshake. Currently you can specify only one certificate ARN.
|
926
|
+
# This value is not required for AWS-managed domains.
|
927
|
+
#
|
928
|
+
# @option params [String] :validation_certificate_arn
|
929
|
+
# The certificate used to validate the server certificate and prove
|
930
|
+
# domain name ownership. This certificate must be signed by a public
|
931
|
+
# certificate authority. This value is not required for AWS-managed
|
932
|
+
# domains.
|
933
|
+
#
|
934
|
+
# @option params [Types::AuthorizerConfig] :authorizer_config
|
935
|
+
# An object that specifies the authorization service for a domain.
|
936
|
+
#
|
937
|
+
# @option params [String] :service_type
|
938
|
+
# The type of service delivered by the endpoint.
|
939
|
+
#
|
940
|
+
# @return [Types::CreateDomainConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
941
|
+
#
|
942
|
+
# * {Types::CreateDomainConfigurationResponse#domain_configuration_name #domain_configuration_name} => String
|
943
|
+
# * {Types::CreateDomainConfigurationResponse#domain_configuration_arn #domain_configuration_arn} => String
|
944
|
+
#
|
945
|
+
# @example Request syntax with placeholder values
|
946
|
+
#
|
947
|
+
# resp = client.create_domain_configuration({
|
948
|
+
# domain_configuration_name: "DomainConfigurationName", # required
|
949
|
+
# domain_name: "DomainName",
|
950
|
+
# server_certificate_arns: ["AcmCertificateArn"],
|
951
|
+
# validation_certificate_arn: "AcmCertificateArn",
|
952
|
+
# authorizer_config: {
|
953
|
+
# default_authorizer_name: "AuthorizerName",
|
954
|
+
# allow_authorizer_override: false,
|
955
|
+
# },
|
956
|
+
# service_type: "DATA", # accepts DATA, CREDENTIAL_PROVIDER, JOBS
|
957
|
+
# })
|
958
|
+
#
|
959
|
+
# @example Response structure
|
960
|
+
#
|
961
|
+
# resp.domain_configuration_name #=> String
|
962
|
+
# resp.domain_configuration_arn #=> String
|
963
|
+
#
|
964
|
+
# @overload create_domain_configuration(params = {})
|
965
|
+
# @param [Hash] params ({})
|
966
|
+
def create_domain_configuration(params = {}, options = {})
|
967
|
+
req = build_request(:create_domain_configuration, params)
|
968
|
+
req.send_request(options)
|
969
|
+
end
|
970
|
+
|
904
971
|
# Creates a dynamic thing group.
|
905
972
|
#
|
906
973
|
# @option params [required, String] :thing_group_name
|
@@ -1108,11 +1175,17 @@ module Aws::IoT
|
|
1108
1175
|
end
|
1109
1176
|
|
1110
1177
|
# Creates a 2048-bit RSA key pair and issues an X.509 certificate using
|
1111
|
-
# the issued public key.
|
1178
|
+
# the issued public key. You can also call `CreateKeysAndCertificate`
|
1179
|
+
# over MQTT from a device, for more information, see [Provisioning MQTT
|
1180
|
+
# API][1].
|
1112
1181
|
#
|
1113
1182
|
# **Note** This is the only time AWS IoT issues the private key for this
|
1114
1183
|
# certificate, so it is important to keep it in a secure location.
|
1115
1184
|
#
|
1185
|
+
#
|
1186
|
+
#
|
1187
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/provision-wo-cert.html#provision-mqtt-api
|
1188
|
+
#
|
1116
1189
|
# @option params [Boolean] :set_as_active
|
1117
1190
|
# Specifies whether the certificate is active.
|
1118
1191
|
#
|
@@ -1436,6 +1509,146 @@ module Aws::IoT
|
|
1436
1509
|
req.send_request(options)
|
1437
1510
|
end
|
1438
1511
|
|
1512
|
+
# Creates a provisioning claim.
|
1513
|
+
#
|
1514
|
+
# @option params [required, String] :template_name
|
1515
|
+
# The name of the provisioning template to use.
|
1516
|
+
#
|
1517
|
+
# @return [Types::CreateProvisioningClaimResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1518
|
+
#
|
1519
|
+
# * {Types::CreateProvisioningClaimResponse#certificate_id #certificate_id} => String
|
1520
|
+
# * {Types::CreateProvisioningClaimResponse#certificate_pem #certificate_pem} => String
|
1521
|
+
# * {Types::CreateProvisioningClaimResponse#key_pair #key_pair} => Types::KeyPair
|
1522
|
+
# * {Types::CreateProvisioningClaimResponse#expiration #expiration} => Time
|
1523
|
+
#
|
1524
|
+
# @example Request syntax with placeholder values
|
1525
|
+
#
|
1526
|
+
# resp = client.create_provisioning_claim({
|
1527
|
+
# template_name: "TemplateName", # required
|
1528
|
+
# })
|
1529
|
+
#
|
1530
|
+
# @example Response structure
|
1531
|
+
#
|
1532
|
+
# resp.certificate_id #=> String
|
1533
|
+
# resp.certificate_pem #=> String
|
1534
|
+
# resp.key_pair.public_key #=> String
|
1535
|
+
# resp.key_pair.private_key #=> String
|
1536
|
+
# resp.expiration #=> Time
|
1537
|
+
#
|
1538
|
+
# @overload create_provisioning_claim(params = {})
|
1539
|
+
# @param [Hash] params ({})
|
1540
|
+
def create_provisioning_claim(params = {}, options = {})
|
1541
|
+
req = build_request(:create_provisioning_claim, params)
|
1542
|
+
req.send_request(options)
|
1543
|
+
end
|
1544
|
+
|
1545
|
+
# Creates a fleet provisioning template.
|
1546
|
+
#
|
1547
|
+
# @option params [required, String] :template_name
|
1548
|
+
# The name of the fleet provisioning template.
|
1549
|
+
#
|
1550
|
+
# @option params [String] :description
|
1551
|
+
# The description of the fleet provisioning template.
|
1552
|
+
#
|
1553
|
+
# @option params [required, String] :template_body
|
1554
|
+
# The JSON formatted contents of the fleet provisioning template.
|
1555
|
+
#
|
1556
|
+
# @option params [Boolean] :enabled
|
1557
|
+
# True to enable the fleet provisioning template, otherwise false.
|
1558
|
+
#
|
1559
|
+
# @option params [required, String] :provisioning_role_arn
|
1560
|
+
# The role ARN for the role associated with the fleet provisioning
|
1561
|
+
# template. This IoT role grants permission to provision a device.
|
1562
|
+
#
|
1563
|
+
# @option params [Array<Types::Tag>] :tags
|
1564
|
+
# Metadata which can be used to manage the fleet provisioning template.
|
1565
|
+
#
|
1566
|
+
# <note markdown="1"> For URI Request parameters use format:
|
1567
|
+
# ...key1=value1&key2=value2...
|
1568
|
+
#
|
1569
|
+
# For the CLI command-line parameter use format: &&tags
|
1570
|
+
# "key1=value1&key2=value2..."
|
1571
|
+
#
|
1572
|
+
# For the cli-input-json file use format: "tags":
|
1573
|
+
# "key1=value1&key2=value2..."
|
1574
|
+
#
|
1575
|
+
# </note>
|
1576
|
+
#
|
1577
|
+
# @return [Types::CreateProvisioningTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1578
|
+
#
|
1579
|
+
# * {Types::CreateProvisioningTemplateResponse#template_arn #template_arn} => String
|
1580
|
+
# * {Types::CreateProvisioningTemplateResponse#template_name #template_name} => String
|
1581
|
+
# * {Types::CreateProvisioningTemplateResponse#default_version_id #default_version_id} => Integer
|
1582
|
+
#
|
1583
|
+
# @example Request syntax with placeholder values
|
1584
|
+
#
|
1585
|
+
# resp = client.create_provisioning_template({
|
1586
|
+
# template_name: "TemplateName", # required
|
1587
|
+
# description: "TemplateDescription",
|
1588
|
+
# template_body: "TemplateBody", # required
|
1589
|
+
# enabled: false,
|
1590
|
+
# provisioning_role_arn: "RoleArn", # required
|
1591
|
+
# tags: [
|
1592
|
+
# {
|
1593
|
+
# key: "TagKey",
|
1594
|
+
# value: "TagValue",
|
1595
|
+
# },
|
1596
|
+
# ],
|
1597
|
+
# })
|
1598
|
+
#
|
1599
|
+
# @example Response structure
|
1600
|
+
#
|
1601
|
+
# resp.template_arn #=> String
|
1602
|
+
# resp.template_name #=> String
|
1603
|
+
# resp.default_version_id #=> Integer
|
1604
|
+
#
|
1605
|
+
# @overload create_provisioning_template(params = {})
|
1606
|
+
# @param [Hash] params ({})
|
1607
|
+
def create_provisioning_template(params = {}, options = {})
|
1608
|
+
req = build_request(:create_provisioning_template, params)
|
1609
|
+
req.send_request(options)
|
1610
|
+
end
|
1611
|
+
|
1612
|
+
# Creates a new version of a fleet provisioning template.
|
1613
|
+
#
|
1614
|
+
# @option params [required, String] :template_name
|
1615
|
+
# The name of the fleet provisioning template.
|
1616
|
+
#
|
1617
|
+
# @option params [required, String] :template_body
|
1618
|
+
# The JSON formatted contents of the fleet provisioning template.
|
1619
|
+
#
|
1620
|
+
# @option params [Boolean] :set_as_default
|
1621
|
+
# Sets a fleet provision template version as the default version.
|
1622
|
+
#
|
1623
|
+
# @return [Types::CreateProvisioningTemplateVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1624
|
+
#
|
1625
|
+
# * {Types::CreateProvisioningTemplateVersionResponse#template_arn #template_arn} => String
|
1626
|
+
# * {Types::CreateProvisioningTemplateVersionResponse#template_name #template_name} => String
|
1627
|
+
# * {Types::CreateProvisioningTemplateVersionResponse#version_id #version_id} => Integer
|
1628
|
+
# * {Types::CreateProvisioningTemplateVersionResponse#is_default_version #is_default_version} => Boolean
|
1629
|
+
#
|
1630
|
+
# @example Request syntax with placeholder values
|
1631
|
+
#
|
1632
|
+
# resp = client.create_provisioning_template_version({
|
1633
|
+
# template_name: "TemplateName", # required
|
1634
|
+
# template_body: "TemplateBody", # required
|
1635
|
+
# set_as_default: false,
|
1636
|
+
# })
|
1637
|
+
#
|
1638
|
+
# @example Response structure
|
1639
|
+
#
|
1640
|
+
# resp.template_arn #=> String
|
1641
|
+
# resp.template_name #=> String
|
1642
|
+
# resp.version_id #=> Integer
|
1643
|
+
# resp.is_default_version #=> Boolean
|
1644
|
+
#
|
1645
|
+
# @overload create_provisioning_template_version(params = {})
|
1646
|
+
# @param [Hash] params ({})
|
1647
|
+
def create_provisioning_template_version(params = {}, options = {})
|
1648
|
+
req = build_request(:create_provisioning_template_version, params)
|
1649
|
+
req.send_request(options)
|
1650
|
+
end
|
1651
|
+
|
1439
1652
|
# Creates a role alias.
|
1440
1653
|
#
|
1441
1654
|
# @option params [required, String] :role_alias
|
@@ -1980,6 +2193,32 @@ module Aws::IoT
|
|
1980
2193
|
# message_id: "MessageId",
|
1981
2194
|
# role_arn: "AwsArn", # required
|
1982
2195
|
# },
|
2196
|
+
# iot_site_wise: {
|
2197
|
+
# put_asset_property_value_entries: [ # required
|
2198
|
+
# {
|
2199
|
+
# entry_id: "AssetPropertyEntryId",
|
2200
|
+
# asset_id: "AssetId",
|
2201
|
+
# property_id: "AssetPropertyId",
|
2202
|
+
# property_alias: "AssetPropertyAlias",
|
2203
|
+
# property_values: [ # required
|
2204
|
+
# {
|
2205
|
+
# value: { # required
|
2206
|
+
# string_value: "AssetPropertyStringValue",
|
2207
|
+
# integer_value: "AssetPropertyIntegerValue",
|
2208
|
+
# double_value: "AssetPropertyDoubleValue",
|
2209
|
+
# boolean_value: "AssetPropertyBooleanValue",
|
2210
|
+
# },
|
2211
|
+
# timestamp: { # required
|
2212
|
+
# time_in_seconds: "AssetPropertyTimeInSeconds", # required
|
2213
|
+
# offset_in_nanos: "AssetPropertyOffsetInNanos",
|
2214
|
+
# },
|
2215
|
+
# quality: "AssetPropertyQuality",
|
2216
|
+
# },
|
2217
|
+
# ],
|
2218
|
+
# },
|
2219
|
+
# ],
|
2220
|
+
# role_arn: "AwsArn", # required
|
2221
|
+
# },
|
1983
2222
|
# step_functions: {
|
1984
2223
|
# execution_name_prefix: "ExecutionNamePrefix",
|
1985
2224
|
# state_machine_name: "StateMachineName", # required
|
@@ -2094,6 +2333,32 @@ module Aws::IoT
|
|
2094
2333
|
# message_id: "MessageId",
|
2095
2334
|
# role_arn: "AwsArn", # required
|
2096
2335
|
# },
|
2336
|
+
# iot_site_wise: {
|
2337
|
+
# put_asset_property_value_entries: [ # required
|
2338
|
+
# {
|
2339
|
+
# entry_id: "AssetPropertyEntryId",
|
2340
|
+
# asset_id: "AssetId",
|
2341
|
+
# property_id: "AssetPropertyId",
|
2342
|
+
# property_alias: "AssetPropertyAlias",
|
2343
|
+
# property_values: [ # required
|
2344
|
+
# {
|
2345
|
+
# value: { # required
|
2346
|
+
# string_value: "AssetPropertyStringValue",
|
2347
|
+
# integer_value: "AssetPropertyIntegerValue",
|
2348
|
+
# double_value: "AssetPropertyDoubleValue",
|
2349
|
+
# boolean_value: "AssetPropertyBooleanValue",
|
2350
|
+
# },
|
2351
|
+
# timestamp: { # required
|
2352
|
+
# time_in_seconds: "AssetPropertyTimeInSeconds", # required
|
2353
|
+
# offset_in_nanos: "AssetPropertyOffsetInNanos",
|
2354
|
+
# },
|
2355
|
+
# quality: "AssetPropertyQuality",
|
2356
|
+
# },
|
2357
|
+
# ],
|
2358
|
+
# },
|
2359
|
+
# ],
|
2360
|
+
# role_arn: "AwsArn", # required
|
2361
|
+
# },
|
2097
2362
|
# step_functions: {
|
2098
2363
|
# execution_name_prefix: "ExecutionNamePrefix",
|
2099
2364
|
# state_machine_name: "StateMachineName", # required
|
@@ -2284,6 +2549,31 @@ module Aws::IoT
|
|
2284
2549
|
req.send_request(options)
|
2285
2550
|
end
|
2286
2551
|
|
2552
|
+
# Deletes the specified domain configuration.
|
2553
|
+
#
|
2554
|
+
# <note markdown="1"> The domain configuration feature is in public preview and is subject
|
2555
|
+
# to change.
|
2556
|
+
#
|
2557
|
+
# </note>
|
2558
|
+
#
|
2559
|
+
# @option params [required, String] :domain_configuration_name
|
2560
|
+
# The name of the domain configuration to be deleted.
|
2561
|
+
#
|
2562
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2563
|
+
#
|
2564
|
+
# @example Request syntax with placeholder values
|
2565
|
+
#
|
2566
|
+
# resp = client.delete_domain_configuration({
|
2567
|
+
# domain_configuration_name: "DomainConfigurationName", # required
|
2568
|
+
# })
|
2569
|
+
#
|
2570
|
+
# @overload delete_domain_configuration(params = {})
|
2571
|
+
# @param [Hash] params ({})
|
2572
|
+
def delete_domain_configuration(params = {}, options = {})
|
2573
|
+
req = build_request(:delete_domain_configuration, params)
|
2574
|
+
req.send_request(options)
|
2575
|
+
end
|
2576
|
+
|
2287
2577
|
# Deletes a dynamic thing group.
|
2288
2578
|
#
|
2289
2579
|
# @option params [required, String] :thing_group_name
|
@@ -2513,6 +2803,50 @@ module Aws::IoT
|
|
2513
2803
|
req.send_request(options)
|
2514
2804
|
end
|
2515
2805
|
|
2806
|
+
# Deletes a fleet provisioning template.
|
2807
|
+
#
|
2808
|
+
# @option params [required, String] :template_name
|
2809
|
+
# The name of the fleet provision template to delete.
|
2810
|
+
#
|
2811
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2812
|
+
#
|
2813
|
+
# @example Request syntax with placeholder values
|
2814
|
+
#
|
2815
|
+
# resp = client.delete_provisioning_template({
|
2816
|
+
# template_name: "TemplateName", # required
|
2817
|
+
# })
|
2818
|
+
#
|
2819
|
+
# @overload delete_provisioning_template(params = {})
|
2820
|
+
# @param [Hash] params ({})
|
2821
|
+
def delete_provisioning_template(params = {}, options = {})
|
2822
|
+
req = build_request(:delete_provisioning_template, params)
|
2823
|
+
req.send_request(options)
|
2824
|
+
end
|
2825
|
+
|
2826
|
+
# Deletes a fleet provisioning template version.
|
2827
|
+
#
|
2828
|
+
# @option params [required, String] :template_name
|
2829
|
+
# The name of the fleet provisioning template version to delete.
|
2830
|
+
#
|
2831
|
+
# @option params [required, Integer] :version_id
|
2832
|
+
# The fleet provisioning template version ID to delete.
|
2833
|
+
#
|
2834
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2835
|
+
#
|
2836
|
+
# @example Request syntax with placeholder values
|
2837
|
+
#
|
2838
|
+
# resp = client.delete_provisioning_template_version({
|
2839
|
+
# template_name: "TemplateName", # required
|
2840
|
+
# version_id: 1, # required
|
2841
|
+
# })
|
2842
|
+
#
|
2843
|
+
# @overload delete_provisioning_template_version(params = {})
|
2844
|
+
# @param [Hash] params ({})
|
2845
|
+
def delete_provisioning_template_version(params = {}, options = {})
|
2846
|
+
req = build_request(:delete_provisioning_template_version, params)
|
2847
|
+
req.send_request(options)
|
2848
|
+
end
|
2849
|
+
|
2516
2850
|
# Deletes a CA certificate registration code.
|
2517
2851
|
#
|
2518
2852
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
@@ -2833,7 +3167,7 @@ module Aws::IoT
|
|
2833
3167
|
# resp.finding.task_start_time #=> Time
|
2834
3168
|
# resp.finding.finding_time #=> Time
|
2835
3169
|
# resp.finding.severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW"
|
2836
|
-
# resp.finding.non_compliant_resource.resource_type #=> String, one of "DEVICE_CERTIFICATE", "CA_CERTIFICATE", "IOT_POLICY", "COGNITO_IDENTITY_POOL", "CLIENT_ID", "ACCOUNT_SETTINGS"
|
3170
|
+
# resp.finding.non_compliant_resource.resource_type #=> String, one of "DEVICE_CERTIFICATE", "CA_CERTIFICATE", "IOT_POLICY", "COGNITO_IDENTITY_POOL", "CLIENT_ID", "ACCOUNT_SETTINGS", "ROLE_ALIAS", "IAM_ROLE"
|
2837
3171
|
# resp.finding.non_compliant_resource.resource_identifier.device_certificate_id #=> String
|
2838
3172
|
# resp.finding.non_compliant_resource.resource_identifier.ca_certificate_id #=> String
|
2839
3173
|
# resp.finding.non_compliant_resource.resource_identifier.cognito_identity_pool_id #=> String
|
@@ -2841,10 +3175,12 @@ module Aws::IoT
|
|
2841
3175
|
# resp.finding.non_compliant_resource.resource_identifier.policy_version_identifier.policy_name #=> String
|
2842
3176
|
# resp.finding.non_compliant_resource.resource_identifier.policy_version_identifier.policy_version_id #=> String
|
2843
3177
|
# resp.finding.non_compliant_resource.resource_identifier.account #=> String
|
3178
|
+
# resp.finding.non_compliant_resource.resource_identifier.iam_role_arn #=> String
|
3179
|
+
# resp.finding.non_compliant_resource.resource_identifier.role_alias_arn #=> String
|
2844
3180
|
# resp.finding.non_compliant_resource.additional_info #=> Hash
|
2845
3181
|
# resp.finding.non_compliant_resource.additional_info["String"] #=> String
|
2846
3182
|
# resp.finding.related_resources #=> Array
|
2847
|
-
# resp.finding.related_resources[0].resource_type #=> String, one of "DEVICE_CERTIFICATE", "CA_CERTIFICATE", "IOT_POLICY", "COGNITO_IDENTITY_POOL", "CLIENT_ID", "ACCOUNT_SETTINGS"
|
3183
|
+
# resp.finding.related_resources[0].resource_type #=> String, one of "DEVICE_CERTIFICATE", "CA_CERTIFICATE", "IOT_POLICY", "COGNITO_IDENTITY_POOL", "CLIENT_ID", "ACCOUNT_SETTINGS", "ROLE_ALIAS", "IAM_ROLE"
|
2848
3184
|
# resp.finding.related_resources[0].resource_identifier.device_certificate_id #=> String
|
2849
3185
|
# resp.finding.related_resources[0].resource_identifier.ca_certificate_id #=> String
|
2850
3186
|
# resp.finding.related_resources[0].resource_identifier.cognito_identity_pool_id #=> String
|
@@ -2852,6 +3188,8 @@ module Aws::IoT
|
|
2852
3188
|
# resp.finding.related_resources[0].resource_identifier.policy_version_identifier.policy_name #=> String
|
2853
3189
|
# resp.finding.related_resources[0].resource_identifier.policy_version_identifier.policy_version_id #=> String
|
2854
3190
|
# resp.finding.related_resources[0].resource_identifier.account #=> String
|
3191
|
+
# resp.finding.related_resources[0].resource_identifier.iam_role_arn #=> String
|
3192
|
+
# resp.finding.related_resources[0].resource_identifier.role_alias_arn #=> String
|
2855
3193
|
# resp.finding.related_resources[0].additional_info #=> Hash
|
2856
3194
|
# resp.finding.related_resources[0].additional_info["String"] #=> String
|
2857
3195
|
# resp.finding.reason_for_non_compliance #=> String
|
@@ -3003,6 +3341,7 @@ module Aws::IoT
|
|
3003
3341
|
# resp.authorizer_description.status #=> String, one of "ACTIVE", "INACTIVE"
|
3004
3342
|
# resp.authorizer_description.creation_date #=> Time
|
3005
3343
|
# resp.authorizer_description.last_modified_date #=> Time
|
3344
|
+
# resp.authorizer_description.signing_disabled #=> Boolean
|
3006
3345
|
#
|
3007
3346
|
# @overload describe_authorizer(params = {})
|
3008
3347
|
# @param [Hash] params ({})
|
@@ -3148,6 +3487,7 @@ module Aws::IoT
|
|
3148
3487
|
# resp.authorizer_description.status #=> String, one of "ACTIVE", "INACTIVE"
|
3149
3488
|
# resp.authorizer_description.creation_date #=> Time
|
3150
3489
|
# resp.authorizer_description.last_modified_date #=> Time
|
3490
|
+
# resp.authorizer_description.signing_disabled #=> Boolean
|
3151
3491
|
#
|
3152
3492
|
# @overload describe_default_authorizer(params = {})
|
3153
3493
|
# @param [Hash] params ({})
|
@@ -3156,6 +3496,55 @@ module Aws::IoT
|
|
3156
3496
|
req.send_request(options)
|
3157
3497
|
end
|
3158
3498
|
|
3499
|
+
# Gets summary information about a domain configuration.
|
3500
|
+
#
|
3501
|
+
# <note markdown="1"> The domain configuration feature is in public preview and is subject
|
3502
|
+
# to change.
|
3503
|
+
#
|
3504
|
+
# </note>
|
3505
|
+
#
|
3506
|
+
# @option params [required, String] :domain_configuration_name
|
3507
|
+
# The name of the domain configuration.
|
3508
|
+
#
|
3509
|
+
# @return [Types::DescribeDomainConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3510
|
+
#
|
3511
|
+
# * {Types::DescribeDomainConfigurationResponse#domain_configuration_name #domain_configuration_name} => String
|
3512
|
+
# * {Types::DescribeDomainConfigurationResponse#domain_configuration_arn #domain_configuration_arn} => String
|
3513
|
+
# * {Types::DescribeDomainConfigurationResponse#domain_name #domain_name} => String
|
3514
|
+
# * {Types::DescribeDomainConfigurationResponse#server_certificates #server_certificates} => Array<Types::ServerCertificateSummary>
|
3515
|
+
# * {Types::DescribeDomainConfigurationResponse#authorizer_config #authorizer_config} => Types::AuthorizerConfig
|
3516
|
+
# * {Types::DescribeDomainConfigurationResponse#domain_configuration_status #domain_configuration_status} => String
|
3517
|
+
# * {Types::DescribeDomainConfigurationResponse#service_type #service_type} => String
|
3518
|
+
# * {Types::DescribeDomainConfigurationResponse#domain_type #domain_type} => String
|
3519
|
+
#
|
3520
|
+
# @example Request syntax with placeholder values
|
3521
|
+
#
|
3522
|
+
# resp = client.describe_domain_configuration({
|
3523
|
+
# domain_configuration_name: "ReservedDomainConfigurationName", # required
|
3524
|
+
# })
|
3525
|
+
#
|
3526
|
+
# @example Response structure
|
3527
|
+
#
|
3528
|
+
# resp.domain_configuration_name #=> String
|
3529
|
+
# resp.domain_configuration_arn #=> String
|
3530
|
+
# resp.domain_name #=> String
|
3531
|
+
# resp.server_certificates #=> Array
|
3532
|
+
# resp.server_certificates[0].server_certificate_arn #=> String
|
3533
|
+
# resp.server_certificates[0].server_certificate_status #=> String, one of "INVALID", "VALID"
|
3534
|
+
# resp.server_certificates[0].server_certificate_status_detail #=> String
|
3535
|
+
# resp.authorizer_config.default_authorizer_name #=> String
|
3536
|
+
# resp.authorizer_config.allow_authorizer_override #=> Boolean
|
3537
|
+
# resp.domain_configuration_status #=> String, one of "ENABLED", "DISABLED"
|
3538
|
+
# resp.service_type #=> String, one of "DATA", "CREDENTIAL_PROVIDER", "JOBS"
|
3539
|
+
# resp.domain_type #=> String, one of "ENDPOINT", "AWS_MANAGED", "CUSTOMER_MANAGED"
|
3540
|
+
#
|
3541
|
+
# @overload describe_domain_configuration(params = {})
|
3542
|
+
# @param [Hash] params ({})
|
3543
|
+
def describe_domain_configuration(params = {}, options = {})
|
3544
|
+
req = build_request(:describe_domain_configuration, params)
|
3545
|
+
req.send_request(options)
|
3546
|
+
end
|
3547
|
+
|
3159
3548
|
# Returns a unique endpoint specific to the AWS account making the call.
|
3160
3549
|
#
|
3161
3550
|
# @option params [String] :endpoint_type
|
@@ -3411,6 +3800,84 @@ module Aws::IoT
|
|
3411
3800
|
req.send_request(options)
|
3412
3801
|
end
|
3413
3802
|
|
3803
|
+
# Returns information about a fleet provisioning template.
|
3804
|
+
#
|
3805
|
+
# @option params [required, String] :template_name
|
3806
|
+
# The name of the fleet provisioning template.
|
3807
|
+
#
|
3808
|
+
# @return [Types::DescribeProvisioningTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3809
|
+
#
|
3810
|
+
# * {Types::DescribeProvisioningTemplateResponse#template_arn #template_arn} => String
|
3811
|
+
# * {Types::DescribeProvisioningTemplateResponse#template_name #template_name} => String
|
3812
|
+
# * {Types::DescribeProvisioningTemplateResponse#description #description} => String
|
3813
|
+
# * {Types::DescribeProvisioningTemplateResponse#creation_date #creation_date} => Time
|
3814
|
+
# * {Types::DescribeProvisioningTemplateResponse#last_modified_date #last_modified_date} => Time
|
3815
|
+
# * {Types::DescribeProvisioningTemplateResponse#default_version_id #default_version_id} => Integer
|
3816
|
+
# * {Types::DescribeProvisioningTemplateResponse#template_body #template_body} => String
|
3817
|
+
# * {Types::DescribeProvisioningTemplateResponse#enabled #enabled} => Boolean
|
3818
|
+
# * {Types::DescribeProvisioningTemplateResponse#provisioning_role_arn #provisioning_role_arn} => String
|
3819
|
+
#
|
3820
|
+
# @example Request syntax with placeholder values
|
3821
|
+
#
|
3822
|
+
# resp = client.describe_provisioning_template({
|
3823
|
+
# template_name: "TemplateName", # required
|
3824
|
+
# })
|
3825
|
+
#
|
3826
|
+
# @example Response structure
|
3827
|
+
#
|
3828
|
+
# resp.template_arn #=> String
|
3829
|
+
# resp.template_name #=> String
|
3830
|
+
# resp.description #=> String
|
3831
|
+
# resp.creation_date #=> Time
|
3832
|
+
# resp.last_modified_date #=> Time
|
3833
|
+
# resp.default_version_id #=> Integer
|
3834
|
+
# resp.template_body #=> String
|
3835
|
+
# resp.enabled #=> Boolean
|
3836
|
+
# resp.provisioning_role_arn #=> String
|
3837
|
+
#
|
3838
|
+
# @overload describe_provisioning_template(params = {})
|
3839
|
+
# @param [Hash] params ({})
|
3840
|
+
def describe_provisioning_template(params = {}, options = {})
|
3841
|
+
req = build_request(:describe_provisioning_template, params)
|
3842
|
+
req.send_request(options)
|
3843
|
+
end
|
3844
|
+
|
3845
|
+
# Returns information about a fleet provisioning template version.
|
3846
|
+
#
|
3847
|
+
# @option params [required, String] :template_name
|
3848
|
+
# The template name.
|
3849
|
+
#
|
3850
|
+
# @option params [required, Integer] :version_id
|
3851
|
+
# The fleet provisioning template version ID.
|
3852
|
+
#
|
3853
|
+
# @return [Types::DescribeProvisioningTemplateVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3854
|
+
#
|
3855
|
+
# * {Types::DescribeProvisioningTemplateVersionResponse#version_id #version_id} => Integer
|
3856
|
+
# * {Types::DescribeProvisioningTemplateVersionResponse#creation_date #creation_date} => Time
|
3857
|
+
# * {Types::DescribeProvisioningTemplateVersionResponse#template_body #template_body} => String
|
3858
|
+
# * {Types::DescribeProvisioningTemplateVersionResponse#is_default_version #is_default_version} => Boolean
|
3859
|
+
#
|
3860
|
+
# @example Request syntax with placeholder values
|
3861
|
+
#
|
3862
|
+
# resp = client.describe_provisioning_template_version({
|
3863
|
+
# template_name: "TemplateName", # required
|
3864
|
+
# version_id: 1, # required
|
3865
|
+
# })
|
3866
|
+
#
|
3867
|
+
# @example Response structure
|
3868
|
+
#
|
3869
|
+
# resp.version_id #=> Integer
|
3870
|
+
# resp.creation_date #=> Time
|
3871
|
+
# resp.template_body #=> String
|
3872
|
+
# resp.is_default_version #=> Boolean
|
3873
|
+
#
|
3874
|
+
# @overload describe_provisioning_template_version(params = {})
|
3875
|
+
# @param [Hash] params ({})
|
3876
|
+
def describe_provisioning_template_version(params = {}, options = {})
|
3877
|
+
req = build_request(:describe_provisioning_template_version, params)
|
3878
|
+
req.send_request(options)
|
3879
|
+
end
|
3880
|
+
|
3414
3881
|
# Describes a role alias.
|
3415
3882
|
#
|
3416
3883
|
# @option params [required, String] :role_alias
|
@@ -3981,7 +4448,7 @@ module Aws::IoT
|
|
3981
4448
|
req.send_request(options)
|
3982
4449
|
end
|
3983
4450
|
|
3984
|
-
# Gets the
|
4451
|
+
# Gets the indexing configuration.
|
3985
4452
|
#
|
3986
4453
|
# @return [Types::GetIndexingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3987
4454
|
#
|
@@ -4279,7 +4746,10 @@ module Aws::IoT
|
|
4279
4746
|
req.send_request(options)
|
4280
4747
|
end
|
4281
4748
|
|
4282
|
-
#
|
4749
|
+
# Returns the count, average, sum, minimum, maximum, sum of squares,
|
4750
|
+
# variance, and standard deviation for the specified aggregated field.
|
4751
|
+
# If the aggregation field is of type `String`, only the count statistic
|
4752
|
+
# is returned.
|
4283
4753
|
#
|
4284
4754
|
# @option params [String] :index_name
|
4285
4755
|
# The name of the index to search. The default value is `AWS_Things`.
|
@@ -4289,7 +4759,7 @@ module Aws::IoT
|
|
4289
4759
|
# to get the count of all indexed things in your AWS account.
|
4290
4760
|
#
|
4291
4761
|
# @option params [String] :aggregation_field
|
4292
|
-
# The aggregation field name.
|
4762
|
+
# The aggregation field name.
|
4293
4763
|
#
|
4294
4764
|
# @option params [String] :query_version
|
4295
4765
|
# The version of the query used to search.
|
@@ -4404,6 +4874,20 @@ module Aws::IoT
|
|
4404
4874
|
# resp.rule.actions[0].iot_events.input_name #=> String
|
4405
4875
|
# resp.rule.actions[0].iot_events.message_id #=> String
|
4406
4876
|
# resp.rule.actions[0].iot_events.role_arn #=> String
|
4877
|
+
# resp.rule.actions[0].iot_site_wise.put_asset_property_value_entries #=> Array
|
4878
|
+
# resp.rule.actions[0].iot_site_wise.put_asset_property_value_entries[0].entry_id #=> String
|
4879
|
+
# resp.rule.actions[0].iot_site_wise.put_asset_property_value_entries[0].asset_id #=> String
|
4880
|
+
# resp.rule.actions[0].iot_site_wise.put_asset_property_value_entries[0].property_id #=> String
|
4881
|
+
# resp.rule.actions[0].iot_site_wise.put_asset_property_value_entries[0].property_alias #=> String
|
4882
|
+
# resp.rule.actions[0].iot_site_wise.put_asset_property_value_entries[0].property_values #=> Array
|
4883
|
+
# resp.rule.actions[0].iot_site_wise.put_asset_property_value_entries[0].property_values[0].value.string_value #=> String
|
4884
|
+
# resp.rule.actions[0].iot_site_wise.put_asset_property_value_entries[0].property_values[0].value.integer_value #=> String
|
4885
|
+
# resp.rule.actions[0].iot_site_wise.put_asset_property_value_entries[0].property_values[0].value.double_value #=> String
|
4886
|
+
# resp.rule.actions[0].iot_site_wise.put_asset_property_value_entries[0].property_values[0].value.boolean_value #=> String
|
4887
|
+
# resp.rule.actions[0].iot_site_wise.put_asset_property_value_entries[0].property_values[0].timestamp.time_in_seconds #=> String
|
4888
|
+
# resp.rule.actions[0].iot_site_wise.put_asset_property_value_entries[0].property_values[0].timestamp.offset_in_nanos #=> String
|
4889
|
+
# resp.rule.actions[0].iot_site_wise.put_asset_property_value_entries[0].property_values[0].quality #=> String
|
4890
|
+
# resp.rule.actions[0].iot_site_wise.role_arn #=> String
|
4407
4891
|
# resp.rule.actions[0].step_functions.execution_name_prefix #=> String
|
4408
4892
|
# resp.rule.actions[0].step_functions.state_machine_name #=> String
|
4409
4893
|
# resp.rule.actions[0].step_functions.role_arn #=> String
|
@@ -4472,6 +4956,20 @@ module Aws::IoT
|
|
4472
4956
|
# resp.rule.error_action.iot_events.input_name #=> String
|
4473
4957
|
# resp.rule.error_action.iot_events.message_id #=> String
|
4474
4958
|
# resp.rule.error_action.iot_events.role_arn #=> String
|
4959
|
+
# resp.rule.error_action.iot_site_wise.put_asset_property_value_entries #=> Array
|
4960
|
+
# resp.rule.error_action.iot_site_wise.put_asset_property_value_entries[0].entry_id #=> String
|
4961
|
+
# resp.rule.error_action.iot_site_wise.put_asset_property_value_entries[0].asset_id #=> String
|
4962
|
+
# resp.rule.error_action.iot_site_wise.put_asset_property_value_entries[0].property_id #=> String
|
4963
|
+
# resp.rule.error_action.iot_site_wise.put_asset_property_value_entries[0].property_alias #=> String
|
4964
|
+
# resp.rule.error_action.iot_site_wise.put_asset_property_value_entries[0].property_values #=> Array
|
4965
|
+
# resp.rule.error_action.iot_site_wise.put_asset_property_value_entries[0].property_values[0].value.string_value #=> String
|
4966
|
+
# resp.rule.error_action.iot_site_wise.put_asset_property_value_entries[0].property_values[0].value.integer_value #=> String
|
4967
|
+
# resp.rule.error_action.iot_site_wise.put_asset_property_value_entries[0].property_values[0].value.double_value #=> String
|
4968
|
+
# resp.rule.error_action.iot_site_wise.put_asset_property_value_entries[0].property_values[0].value.boolean_value #=> String
|
4969
|
+
# resp.rule.error_action.iot_site_wise.put_asset_property_value_entries[0].property_values[0].timestamp.time_in_seconds #=> String
|
4970
|
+
# resp.rule.error_action.iot_site_wise.put_asset_property_value_entries[0].property_values[0].timestamp.offset_in_nanos #=> String
|
4971
|
+
# resp.rule.error_action.iot_site_wise.put_asset_property_value_entries[0].property_values[0].quality #=> String
|
4972
|
+
# resp.rule.error_action.iot_site_wise.role_arn #=> String
|
4475
4973
|
# resp.rule.error_action.step_functions.execution_name_prefix #=> String
|
4476
4974
|
# resp.rule.error_action.step_functions.state_machine_name #=> String
|
4477
4975
|
# resp.rule.error_action.step_functions.role_arn #=> String
|
@@ -4699,6 +5197,8 @@ module Aws::IoT
|
|
4699
5197
|
# policy_version_id: "PolicyVersionId",
|
4700
5198
|
# },
|
4701
5199
|
# account: "AwsAccountId",
|
5200
|
+
# iam_role_arn: "RoleArn",
|
5201
|
+
# role_alias_arn: "RoleAliasArn",
|
4702
5202
|
# },
|
4703
5203
|
# max_results: 1,
|
4704
5204
|
# next_token: "NextToken",
|
@@ -4715,7 +5215,7 @@ module Aws::IoT
|
|
4715
5215
|
# resp.findings[0].task_start_time #=> Time
|
4716
5216
|
# resp.findings[0].finding_time #=> Time
|
4717
5217
|
# resp.findings[0].severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW"
|
4718
|
-
# resp.findings[0].non_compliant_resource.resource_type #=> String, one of "DEVICE_CERTIFICATE", "CA_CERTIFICATE", "IOT_POLICY", "COGNITO_IDENTITY_POOL", "CLIENT_ID", "ACCOUNT_SETTINGS"
|
5218
|
+
# resp.findings[0].non_compliant_resource.resource_type #=> String, one of "DEVICE_CERTIFICATE", "CA_CERTIFICATE", "IOT_POLICY", "COGNITO_IDENTITY_POOL", "CLIENT_ID", "ACCOUNT_SETTINGS", "ROLE_ALIAS", "IAM_ROLE"
|
4719
5219
|
# resp.findings[0].non_compliant_resource.resource_identifier.device_certificate_id #=> String
|
4720
5220
|
# resp.findings[0].non_compliant_resource.resource_identifier.ca_certificate_id #=> String
|
4721
5221
|
# resp.findings[0].non_compliant_resource.resource_identifier.cognito_identity_pool_id #=> String
|
@@ -4723,10 +5223,12 @@ module Aws::IoT
|
|
4723
5223
|
# resp.findings[0].non_compliant_resource.resource_identifier.policy_version_identifier.policy_name #=> String
|
4724
5224
|
# resp.findings[0].non_compliant_resource.resource_identifier.policy_version_identifier.policy_version_id #=> String
|
4725
5225
|
# resp.findings[0].non_compliant_resource.resource_identifier.account #=> String
|
5226
|
+
# resp.findings[0].non_compliant_resource.resource_identifier.iam_role_arn #=> String
|
5227
|
+
# resp.findings[0].non_compliant_resource.resource_identifier.role_alias_arn #=> String
|
4726
5228
|
# resp.findings[0].non_compliant_resource.additional_info #=> Hash
|
4727
5229
|
# resp.findings[0].non_compliant_resource.additional_info["String"] #=> String
|
4728
5230
|
# resp.findings[0].related_resources #=> Array
|
4729
|
-
# resp.findings[0].related_resources[0].resource_type #=> String, one of "DEVICE_CERTIFICATE", "CA_CERTIFICATE", "IOT_POLICY", "COGNITO_IDENTITY_POOL", "CLIENT_ID", "ACCOUNT_SETTINGS"
|
5231
|
+
# resp.findings[0].related_resources[0].resource_type #=> String, one of "DEVICE_CERTIFICATE", "CA_CERTIFICATE", "IOT_POLICY", "COGNITO_IDENTITY_POOL", "CLIENT_ID", "ACCOUNT_SETTINGS", "ROLE_ALIAS", "IAM_ROLE"
|
4730
5232
|
# resp.findings[0].related_resources[0].resource_identifier.device_certificate_id #=> String
|
4731
5233
|
# resp.findings[0].related_resources[0].resource_identifier.ca_certificate_id #=> String
|
4732
5234
|
# resp.findings[0].related_resources[0].resource_identifier.cognito_identity_pool_id #=> String
|
@@ -4734,6 +5236,8 @@ module Aws::IoT
|
|
4734
5236
|
# resp.findings[0].related_resources[0].resource_identifier.policy_version_identifier.policy_name #=> String
|
4735
5237
|
# resp.findings[0].related_resources[0].resource_identifier.policy_version_identifier.policy_version_id #=> String
|
4736
5238
|
# resp.findings[0].related_resources[0].resource_identifier.account #=> String
|
5239
|
+
# resp.findings[0].related_resources[0].resource_identifier.iam_role_arn #=> String
|
5240
|
+
# resp.findings[0].related_resources[0].resource_identifier.role_alias_arn #=> String
|
4737
5241
|
# resp.findings[0].related_resources[0].additional_info #=> Hash
|
4738
5242
|
# resp.findings[0].related_resources[0].additional_info["String"] #=> String
|
4739
5243
|
# resp.findings[0].reason_for_non_compliance #=> String
|
@@ -5136,11 +5640,56 @@ module Aws::IoT
|
|
5136
5640
|
req.send_request(options)
|
5137
5641
|
end
|
5138
5642
|
|
5643
|
+
# Gets a list of domain configurations for the user. This list is sorted
|
5644
|
+
# alphabetically by domain configuration name.
|
5645
|
+
#
|
5646
|
+
# <note markdown="1"> The domain configuration feature is in public preview and is subject
|
5647
|
+
# to change.
|
5648
|
+
#
|
5649
|
+
# </note>
|
5650
|
+
#
|
5651
|
+
# @option params [String] :marker
|
5652
|
+
# The marker for the next set of results.
|
5653
|
+
#
|
5654
|
+
# @option params [Integer] :page_size
|
5655
|
+
# The result page size.
|
5656
|
+
#
|
5657
|
+
# @option params [String] :service_type
|
5658
|
+
# The type of service delivered by the endpoint.
|
5659
|
+
#
|
5660
|
+
# @return [Types::ListDomainConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5661
|
+
#
|
5662
|
+
# * {Types::ListDomainConfigurationsResponse#domain_configurations #domain_configurations} => Array<Types::DomainConfigurationSummary>
|
5663
|
+
# * {Types::ListDomainConfigurationsResponse#next_marker #next_marker} => String
|
5664
|
+
#
|
5665
|
+
# @example Request syntax with placeholder values
|
5666
|
+
#
|
5667
|
+
# resp = client.list_domain_configurations({
|
5668
|
+
# marker: "Marker",
|
5669
|
+
# page_size: 1,
|
5670
|
+
# service_type: "DATA", # accepts DATA, CREDENTIAL_PROVIDER, JOBS
|
5671
|
+
# })
|
5672
|
+
#
|
5673
|
+
# @example Response structure
|
5674
|
+
#
|
5675
|
+
# resp.domain_configurations #=> Array
|
5676
|
+
# resp.domain_configurations[0].domain_configuration_name #=> String
|
5677
|
+
# resp.domain_configurations[0].domain_configuration_arn #=> String
|
5678
|
+
# resp.domain_configurations[0].service_type #=> String, one of "DATA", "CREDENTIAL_PROVIDER", "JOBS"
|
5679
|
+
# resp.next_marker #=> String
|
5680
|
+
#
|
5681
|
+
# @overload list_domain_configurations(params = {})
|
5682
|
+
# @param [Hash] params ({})
|
5683
|
+
def list_domain_configurations(params = {}, options = {})
|
5684
|
+
req = build_request(:list_domain_configurations, params)
|
5685
|
+
req.send_request(options)
|
5686
|
+
end
|
5687
|
+
|
5139
5688
|
# Lists the search indices.
|
5140
5689
|
#
|
5141
5690
|
# @option params [String] :next_token
|
5142
|
-
# The token used to get the next set of results, or null if there are
|
5143
|
-
# additional results.
|
5691
|
+
# The token used to get the next set of results, or `null` if there are
|
5692
|
+
# no additional results.
|
5144
5693
|
#
|
5145
5694
|
# @option params [Integer] :max_results
|
5146
5695
|
# The maximum number of results to return at one time.
|
@@ -5656,6 +6205,83 @@ module Aws::IoT
|
|
5656
6205
|
req.send_request(options)
|
5657
6206
|
end
|
5658
6207
|
|
6208
|
+
# A list of fleet provisioning template versions.
|
6209
|
+
#
|
6210
|
+
# @option params [required, String] :template_name
|
6211
|
+
# The name of the fleet provisioning template.
|
6212
|
+
#
|
6213
|
+
# @option params [Integer] :max_results
|
6214
|
+
# The maximum number of results to return at one time.
|
6215
|
+
#
|
6216
|
+
# @option params [String] :next_token
|
6217
|
+
# A token to retrieve the next set of results.
|
6218
|
+
#
|
6219
|
+
# @return [Types::ListProvisioningTemplateVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6220
|
+
#
|
6221
|
+
# * {Types::ListProvisioningTemplateVersionsResponse#versions #versions} => Array<Types::ProvisioningTemplateVersionSummary>
|
6222
|
+
# * {Types::ListProvisioningTemplateVersionsResponse#next_token #next_token} => String
|
6223
|
+
#
|
6224
|
+
# @example Request syntax with placeholder values
|
6225
|
+
#
|
6226
|
+
# resp = client.list_provisioning_template_versions({
|
6227
|
+
# template_name: "TemplateName", # required
|
6228
|
+
# max_results: 1,
|
6229
|
+
# next_token: "NextToken",
|
6230
|
+
# })
|
6231
|
+
#
|
6232
|
+
# @example Response structure
|
6233
|
+
#
|
6234
|
+
# resp.versions #=> Array
|
6235
|
+
# resp.versions[0].version_id #=> Integer
|
6236
|
+
# resp.versions[0].creation_date #=> Time
|
6237
|
+
# resp.versions[0].is_default_version #=> Boolean
|
6238
|
+
# resp.next_token #=> String
|
6239
|
+
#
|
6240
|
+
# @overload list_provisioning_template_versions(params = {})
|
6241
|
+
# @param [Hash] params ({})
|
6242
|
+
def list_provisioning_template_versions(params = {}, options = {})
|
6243
|
+
req = build_request(:list_provisioning_template_versions, params)
|
6244
|
+
req.send_request(options)
|
6245
|
+
end
|
6246
|
+
|
6247
|
+
# Lists the fleet provisioning templates in your AWS account.
|
6248
|
+
#
|
6249
|
+
# @option params [Integer] :max_results
|
6250
|
+
# The maximum number of results to return at one time.
|
6251
|
+
#
|
6252
|
+
# @option params [String] :next_token
|
6253
|
+
# A token to retrieve the next set of results.
|
6254
|
+
#
|
6255
|
+
# @return [Types::ListProvisioningTemplatesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6256
|
+
#
|
6257
|
+
# * {Types::ListProvisioningTemplatesResponse#templates #templates} => Array<Types::ProvisioningTemplateSummary>
|
6258
|
+
# * {Types::ListProvisioningTemplatesResponse#next_token #next_token} => String
|
6259
|
+
#
|
6260
|
+
# @example Request syntax with placeholder values
|
6261
|
+
#
|
6262
|
+
# resp = client.list_provisioning_templates({
|
6263
|
+
# max_results: 1,
|
6264
|
+
# next_token: "NextToken",
|
6265
|
+
# })
|
6266
|
+
#
|
6267
|
+
# @example Response structure
|
6268
|
+
#
|
6269
|
+
# resp.templates #=> Array
|
6270
|
+
# resp.templates[0].template_arn #=> String
|
6271
|
+
# resp.templates[0].template_name #=> String
|
6272
|
+
# resp.templates[0].description #=> String
|
6273
|
+
# resp.templates[0].creation_date #=> Time
|
6274
|
+
# resp.templates[0].last_modified_date #=> Time
|
6275
|
+
# resp.templates[0].enabled #=> Boolean
|
6276
|
+
# resp.next_token #=> String
|
6277
|
+
#
|
6278
|
+
# @overload list_provisioning_templates(params = {})
|
6279
|
+
# @param [Hash] params ({})
|
6280
|
+
def list_provisioning_templates(params = {}, options = {})
|
6281
|
+
req = build_request(:list_provisioning_templates, params)
|
6282
|
+
req.send_request(options)
|
6283
|
+
end
|
6284
|
+
|
5659
6285
|
# Lists the role aliases registered in your account.
|
5660
6286
|
#
|
5661
6287
|
# @option params [Integer] :page_size
|
@@ -6629,7 +7255,16 @@ module Aws::IoT
|
|
6629
7255
|
req.send_request(options)
|
6630
7256
|
end
|
6631
7257
|
|
6632
|
-
# Provisions a thing.
|
7258
|
+
# Provisions a thing in the device registry. RegisterThing calls other
|
7259
|
+
# AWS IoT control plane APIs. These calls might exceed your account
|
7260
|
+
# level [ AWS IoT Throttling Limits][1] and cause throttle errors.
|
7261
|
+
# Please contact [AWS Customer Support][2] to raise your throttling
|
7262
|
+
# limits if necessary.
|
7263
|
+
#
|
7264
|
+
#
|
7265
|
+
#
|
7266
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_iot
|
7267
|
+
# [2]: https://console.aws.amazon.com/support/home
|
6633
7268
|
#
|
6634
7269
|
# @option params [required, String] :template_body
|
6635
7270
|
# The provisioning template. See [Programmatic Provisioning][1] for more
|
@@ -6881,6 +7516,32 @@ module Aws::IoT
|
|
6881
7516
|
# message_id: "MessageId",
|
6882
7517
|
# role_arn: "AwsArn", # required
|
6883
7518
|
# },
|
7519
|
+
# iot_site_wise: {
|
7520
|
+
# put_asset_property_value_entries: [ # required
|
7521
|
+
# {
|
7522
|
+
# entry_id: "AssetPropertyEntryId",
|
7523
|
+
# asset_id: "AssetId",
|
7524
|
+
# property_id: "AssetPropertyId",
|
7525
|
+
# property_alias: "AssetPropertyAlias",
|
7526
|
+
# property_values: [ # required
|
7527
|
+
# {
|
7528
|
+
# value: { # required
|
7529
|
+
# string_value: "AssetPropertyStringValue",
|
7530
|
+
# integer_value: "AssetPropertyIntegerValue",
|
7531
|
+
# double_value: "AssetPropertyDoubleValue",
|
7532
|
+
# boolean_value: "AssetPropertyBooleanValue",
|
7533
|
+
# },
|
7534
|
+
# timestamp: { # required
|
7535
|
+
# time_in_seconds: "AssetPropertyTimeInSeconds", # required
|
7536
|
+
# offset_in_nanos: "AssetPropertyOffsetInNanos",
|
7537
|
+
# },
|
7538
|
+
# quality: "AssetPropertyQuality",
|
7539
|
+
# },
|
7540
|
+
# ],
|
7541
|
+
# },
|
7542
|
+
# ],
|
7543
|
+
# role_arn: "AwsArn", # required
|
7544
|
+
# },
|
6884
7545
|
# step_functions: {
|
6885
7546
|
# execution_name_prefix: "ExecutionNamePrefix",
|
6886
7547
|
# state_machine_name: "StateMachineName", # required
|
@@ -6995,6 +7656,32 @@ module Aws::IoT
|
|
6995
7656
|
# message_id: "MessageId",
|
6996
7657
|
# role_arn: "AwsArn", # required
|
6997
7658
|
# },
|
7659
|
+
# iot_site_wise: {
|
7660
|
+
# put_asset_property_value_entries: [ # required
|
7661
|
+
# {
|
7662
|
+
# entry_id: "AssetPropertyEntryId",
|
7663
|
+
# asset_id: "AssetId",
|
7664
|
+
# property_id: "AssetPropertyId",
|
7665
|
+
# property_alias: "AssetPropertyAlias",
|
7666
|
+
# property_values: [ # required
|
7667
|
+
# {
|
7668
|
+
# value: { # required
|
7669
|
+
# string_value: "AssetPropertyStringValue",
|
7670
|
+
# integer_value: "AssetPropertyIntegerValue",
|
7671
|
+
# double_value: "AssetPropertyDoubleValue",
|
7672
|
+
# boolean_value: "AssetPropertyBooleanValue",
|
7673
|
+
# },
|
7674
|
+
# timestamp: { # required
|
7675
|
+
# time_in_seconds: "AssetPropertyTimeInSeconds", # required
|
7676
|
+
# offset_in_nanos: "AssetPropertyOffsetInNanos",
|
7677
|
+
# },
|
7678
|
+
# quality: "AssetPropertyQuality",
|
7679
|
+
# },
|
7680
|
+
# ],
|
7681
|
+
# },
|
7682
|
+
# ],
|
7683
|
+
# role_arn: "AwsArn", # required
|
7684
|
+
# },
|
6998
7685
|
# step_functions: {
|
6999
7686
|
# execution_name_prefix: "ExecutionNamePrefix",
|
7000
7687
|
# state_machine_name: "StateMachineName", # required
|
@@ -7037,8 +7724,8 @@ module Aws::IoT
|
|
7037
7724
|
# The search query string.
|
7038
7725
|
#
|
7039
7726
|
# @option params [String] :next_token
|
7040
|
-
# The token used to get the next set of results, or null if there are
|
7041
|
-
# additional results.
|
7727
|
+
# The token used to get the next set of results, or `null` if there are
|
7728
|
+
# no additional results.
|
7042
7729
|
#
|
7043
7730
|
# @option params [Integer] :max_results
|
7044
7731
|
# The maximum number of results to return at one time.
|
@@ -7485,13 +8172,22 @@ module Aws::IoT
|
|
7485
8172
|
# @option params [required, String] :authorizer_name
|
7486
8173
|
# The custom authorizer name.
|
7487
8174
|
#
|
7488
|
-
# @option params [
|
8175
|
+
# @option params [String] :token
|
7489
8176
|
# The token returned by your custom authentication service.
|
7490
8177
|
#
|
7491
|
-
# @option params [
|
8178
|
+
# @option params [String] :token_signature
|
7492
8179
|
# The signature made with the token and your custom authentication
|
7493
8180
|
# service's private key.
|
7494
8181
|
#
|
8182
|
+
# @option params [Types::HttpContext] :http_context
|
8183
|
+
# Specifies a test HTTP authorization request.
|
8184
|
+
#
|
8185
|
+
# @option params [Types::MqttContext] :mqtt_context
|
8186
|
+
# Specifies a test MQTT authorization request.>
|
8187
|
+
#
|
8188
|
+
# @option params [Types::TlsContext] :tls_context
|
8189
|
+
# Specifies a test TLS authorization request.
|
8190
|
+
#
|
7495
8191
|
# @return [Types::TestInvokeAuthorizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7496
8192
|
#
|
7497
8193
|
# * {Types::TestInvokeAuthorizerResponse#is_authenticated #is_authenticated} => Boolean
|
@@ -7504,8 +8200,22 @@ module Aws::IoT
|
|
7504
8200
|
#
|
7505
8201
|
# resp = client.test_invoke_authorizer({
|
7506
8202
|
# authorizer_name: "AuthorizerName", # required
|
7507
|
-
# token: "Token",
|
7508
|
-
# token_signature: "TokenSignature",
|
8203
|
+
# token: "Token",
|
8204
|
+
# token_signature: "TokenSignature",
|
8205
|
+
# http_context: {
|
8206
|
+
# headers: {
|
8207
|
+
# "HttpHeaderName" => "HttpHeaderValue",
|
8208
|
+
# },
|
8209
|
+
# query_string: "HttpQueryString",
|
8210
|
+
# },
|
8211
|
+
# mqtt_context: {
|
8212
|
+
# username: "MqttUsername",
|
8213
|
+
# password: "data",
|
8214
|
+
# client_id: "MqttClientId",
|
8215
|
+
# },
|
8216
|
+
# tls_context: {
|
8217
|
+
# server_name: "ServerName",
|
8218
|
+
# },
|
7509
8219
|
# })
|
7510
8220
|
#
|
7511
8221
|
# @example Response structure
|
@@ -7817,6 +8527,55 @@ module Aws::IoT
|
|
7817
8527
|
req.send_request(options)
|
7818
8528
|
end
|
7819
8529
|
|
8530
|
+
# Updates values stored in the domain configuration. Domain
|
8531
|
+
# configurations for default endpoints can't be updated.
|
8532
|
+
#
|
8533
|
+
# <note markdown="1"> The domain configuration feature is in public preview and is subject
|
8534
|
+
# to change.
|
8535
|
+
#
|
8536
|
+
# </note>
|
8537
|
+
#
|
8538
|
+
# @option params [required, String] :domain_configuration_name
|
8539
|
+
# The name of the domain configuration to be updated.
|
8540
|
+
#
|
8541
|
+
# @option params [Types::AuthorizerConfig] :authorizer_config
|
8542
|
+
# An object that specifies the authorization service for a domain.
|
8543
|
+
#
|
8544
|
+
# @option params [String] :domain_configuration_status
|
8545
|
+
# The status to which the domain configuration should be updated.
|
8546
|
+
#
|
8547
|
+
# @option params [Boolean] :remove_authorizer_config
|
8548
|
+
# Removes the authorization configuration from a domain.
|
8549
|
+
#
|
8550
|
+
# @return [Types::UpdateDomainConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8551
|
+
#
|
8552
|
+
# * {Types::UpdateDomainConfigurationResponse#domain_configuration_name #domain_configuration_name} => String
|
8553
|
+
# * {Types::UpdateDomainConfigurationResponse#domain_configuration_arn #domain_configuration_arn} => String
|
8554
|
+
#
|
8555
|
+
# @example Request syntax with placeholder values
|
8556
|
+
#
|
8557
|
+
# resp = client.update_domain_configuration({
|
8558
|
+
# domain_configuration_name: "ReservedDomainConfigurationName", # required
|
8559
|
+
# authorizer_config: {
|
8560
|
+
# default_authorizer_name: "AuthorizerName",
|
8561
|
+
# allow_authorizer_override: false,
|
8562
|
+
# },
|
8563
|
+
# domain_configuration_status: "ENABLED", # accepts ENABLED, DISABLED
|
8564
|
+
# remove_authorizer_config: false,
|
8565
|
+
# })
|
8566
|
+
#
|
8567
|
+
# @example Response structure
|
8568
|
+
#
|
8569
|
+
# resp.domain_configuration_name #=> String
|
8570
|
+
# resp.domain_configuration_arn #=> String
|
8571
|
+
#
|
8572
|
+
# @overload update_domain_configuration(params = {})
|
8573
|
+
# @param [Hash] params ({})
|
8574
|
+
def update_domain_configuration(params = {}, options = {})
|
8575
|
+
req = build_request(:update_domain_configuration, params)
|
8576
|
+
req.send_request(options)
|
8577
|
+
end
|
8578
|
+
|
7820
8579
|
# Updates a dynamic thing group.
|
7821
8580
|
#
|
7822
8581
|
# @option params [required, String] :thing_group_name
|
@@ -8084,6 +8843,43 @@ module Aws::IoT
|
|
8084
8843
|
req.send_request(options)
|
8085
8844
|
end
|
8086
8845
|
|
8846
|
+
# Updates a fleet provisioning template.
|
8847
|
+
#
|
8848
|
+
# @option params [required, String] :template_name
|
8849
|
+
# The name of the fleet provisioning template.
|
8850
|
+
#
|
8851
|
+
# @option params [String] :description
|
8852
|
+
# The description of the fleet provisioning template.
|
8853
|
+
#
|
8854
|
+
# @option params [Boolean] :enabled
|
8855
|
+
# True to enable the fleet provisioning template, otherwise false.
|
8856
|
+
#
|
8857
|
+
# @option params [Integer] :default_version_id
|
8858
|
+
# The ID of the default provisioning template version.
|
8859
|
+
#
|
8860
|
+
# @option params [String] :provisioning_role_arn
|
8861
|
+
# The ARN of the role associated with the provisioning template. This
|
8862
|
+
# IoT role grants permission to provision a device.
|
8863
|
+
#
|
8864
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
8865
|
+
#
|
8866
|
+
# @example Request syntax with placeholder values
|
8867
|
+
#
|
8868
|
+
# resp = client.update_provisioning_template({
|
8869
|
+
# template_name: "TemplateName", # required
|
8870
|
+
# description: "TemplateDescription",
|
8871
|
+
# enabled: false,
|
8872
|
+
# default_version_id: 1,
|
8873
|
+
# provisioning_role_arn: "RoleArn",
|
8874
|
+
# })
|
8875
|
+
#
|
8876
|
+
# @overload update_provisioning_template(params = {})
|
8877
|
+
# @param [Hash] params ({})
|
8878
|
+
def update_provisioning_template(params = {}, options = {})
|
8879
|
+
req = build_request(:update_provisioning_template, params)
|
8880
|
+
req.send_request(options)
|
8881
|
+
end
|
8882
|
+
|
8087
8883
|
# Updates a role alias.
|
8088
8884
|
#
|
8089
8885
|
# @option params [required, String] :role_alias
|
@@ -8599,7 +9395,7 @@ module Aws::IoT
|
|
8599
9395
|
params: params,
|
8600
9396
|
config: config)
|
8601
9397
|
context[:gem_name] = 'aws-sdk-iot'
|
8602
|
-
context[:gem_version] = '1.
|
9398
|
+
context[:gem_version] = '1.41.0'
|
8603
9399
|
Seahorse::Client::Request.new(handlers, context)
|
8604
9400
|
end
|
8605
9401
|
|