aws-sdk-iot 1.138.0 → 1.139.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iot/client.rb +216 -1
- data/lib/aws-sdk-iot/client_api.rb +123 -0
- data/lib/aws-sdk-iot/types.rb +296 -8
- data/lib/aws-sdk-iot.rb +1 -1
- data/sig/client.rbs +68 -4
- data/sig/types.rbs +65 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a90d0dc0dc9d4c7cc38efdbff2fd137c6a0966f53ab4365d55853b89a2c729f
|
4
|
+
data.tar.gz: 53e8bcf23f214470b0e62b04b7e3d467f7ae31e18df3c461e21c52e2bac6e2fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f5d367bf90d10ecd5117b515ae57e37d0172b61e5aa5147d9ebbc4966294ccfba1aab5ca1a9d389480cdbab189e3ee510503b90478bd15da89bb83b22667a3d
|
7
|
+
data.tar.gz: 46843aa8b6b42abd7061c6a3404762021596138f1cd161e6961defa74e967dc134b2c6255703613e570ca3370470d216fc88da58dcaafa7487c2ee64232a0094
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.139.0 (2024-11-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release allows AWS IoT Core users to enrich MQTT messages with propagating attributes, to associate a thing to a connection, and to enable Online Certificate Status Protocol (OCSP) stapling for TLS X.509 server certificates through private endpoints.
|
8
|
+
|
4
9
|
1.138.0 (2024-11-06)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.139.0
|
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -833,6 +833,22 @@ module Aws::IoT
|
|
833
833
|
# The principal, which can be a certificate ARN (as returned from the
|
834
834
|
# CreateCertificate operation) or an Amazon Cognito ID.
|
835
835
|
#
|
836
|
+
# @option params [String] :thing_principal_type
|
837
|
+
# The type of the relation you want to specify when you attach a
|
838
|
+
# principal to a thing.
|
839
|
+
#
|
840
|
+
# * `EXCLUSIVE_THING` - Attaches the specified principal to the
|
841
|
+
# specified thing, exclusively. The thing will be the only thing
|
842
|
+
# that’s attached to the principal.
|
843
|
+
#
|
844
|
+
# ^
|
845
|
+
# ^
|
846
|
+
#
|
847
|
+
# * `NON_EXCLUSIVE_THING` - Attaches the specified principal to the
|
848
|
+
# specified thing. Multiple things can be attached to the principal.
|
849
|
+
#
|
850
|
+
# ^
|
851
|
+
#
|
836
852
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
837
853
|
#
|
838
854
|
# @example Request syntax with placeholder values
|
@@ -840,6 +856,7 @@ module Aws::IoT
|
|
840
856
|
# resp = client.attach_thing_principal({
|
841
857
|
# thing_name: "ThingName", # required
|
842
858
|
# principal: "Principal", # required
|
859
|
+
# thing_principal_type: "EXCLUSIVE_THING", # accepts EXCLUSIVE_THING, NON_EXCLUSIVE_THING
|
843
860
|
# })
|
844
861
|
#
|
845
862
|
# @overload attach_thing_principal(params = {})
|
@@ -1818,6 +1835,8 @@ module Aws::IoT
|
|
1818
1835
|
# },
|
1819
1836
|
# server_certificate_config: {
|
1820
1837
|
# enable_ocsp_check: false,
|
1838
|
+
# ocsp_lambda_arn: "OCSPLambdaArn",
|
1839
|
+
# ocsp_authorized_responder_arn: "AcmCertificateArn",
|
1821
1840
|
# },
|
1822
1841
|
# authentication_type: "CUSTOM_AUTH_X509", # accepts CUSTOM_AUTH_X509, CUSTOM_AUTH, AWS_X509, AWS_SIGV4, DEFAULT
|
1823
1842
|
# application_protocol: "SECURE_MQTT", # accepts SECURE_MQTT, MQTT_WSS, HTTPS, DEFAULT
|
@@ -3666,6 +3685,15 @@ module Aws::IoT
|
|
3666
3685
|
# thing_type_properties: {
|
3667
3686
|
# thing_type_description: "ThingTypeDescription",
|
3668
3687
|
# searchable_attributes: ["AttributeName"],
|
3688
|
+
# mqtt5_configuration: {
|
3689
|
+
# propagating_attributes: [
|
3690
|
+
# {
|
3691
|
+
# user_property_key: "UserPropertyKeyName",
|
3692
|
+
# thing_attribute: "AttributeName",
|
3693
|
+
# connection_attribute: "ConnectionAttributeName",
|
3694
|
+
# },
|
3695
|
+
# ],
|
3696
|
+
# },
|
3669
3697
|
# },
|
3670
3698
|
# tags: [
|
3671
3699
|
# {
|
@@ -6139,6 +6167,8 @@ module Aws::IoT
|
|
6139
6167
|
# resp.last_status_change_date #=> Time
|
6140
6168
|
# resp.tls_config.security_policy #=> String
|
6141
6169
|
# resp.server_certificate_config.enable_ocsp_check #=> Boolean
|
6170
|
+
# resp.server_certificate_config.ocsp_lambda_arn #=> String
|
6171
|
+
# resp.server_certificate_config.ocsp_authorized_responder_arn #=> String
|
6142
6172
|
# resp.authentication_type #=> String, one of "CUSTOM_AUTH_X509", "CUSTOM_AUTH", "AWS_X509", "AWS_SIGV4", "DEFAULT"
|
6143
6173
|
# resp.application_protocol #=> String, one of "SECURE_MQTT", "MQTT_WSS", "HTTPS", "DEFAULT"
|
6144
6174
|
# resp.client_certificate_config.client_certificate_callback_arn #=> String
|
@@ -7143,6 +7173,10 @@ module Aws::IoT
|
|
7143
7173
|
# resp.thing_type_properties.thing_type_description #=> String
|
7144
7174
|
# resp.thing_type_properties.searchable_attributes #=> Array
|
7145
7175
|
# resp.thing_type_properties.searchable_attributes[0] #=> String
|
7176
|
+
# resp.thing_type_properties.mqtt5_configuration.propagating_attributes #=> Array
|
7177
|
+
# resp.thing_type_properties.mqtt5_configuration.propagating_attributes[0].user_property_key #=> String
|
7178
|
+
# resp.thing_type_properties.mqtt5_configuration.propagating_attributes[0].thing_attribute #=> String
|
7179
|
+
# resp.thing_type_properties.mqtt5_configuration.propagating_attributes[0].connection_attribute #=> String
|
7146
7180
|
# resp.thing_type_metadata.deprecated #=> Boolean
|
7147
7181
|
# resp.thing_type_metadata.deprecation_date #=> Time
|
7148
7182
|
# resp.thing_type_metadata.creation_date #=> Time
|
@@ -10675,6 +10709,75 @@ module Aws::IoT
|
|
10675
10709
|
req.send_request(options)
|
10676
10710
|
end
|
10677
10711
|
|
10712
|
+
# Lists the things associated with the specified principal. A principal
|
10713
|
+
# can be an X.509 certificate or an Amazon Cognito ID.
|
10714
|
+
#
|
10715
|
+
# Requires permission to access the [ListPrincipalThings][1] action.
|
10716
|
+
#
|
10717
|
+
#
|
10718
|
+
#
|
10719
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
10720
|
+
#
|
10721
|
+
# @option params [String] :next_token
|
10722
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
10723
|
+
# previous response; otherwise **null** to receive the first set of
|
10724
|
+
# results.
|
10725
|
+
#
|
10726
|
+
# @option params [Integer] :max_results
|
10727
|
+
# The maximum number of results to return in this operation.
|
10728
|
+
#
|
10729
|
+
# @option params [required, String] :principal
|
10730
|
+
# The principal. A principal can be an X.509 certificate or an Amazon
|
10731
|
+
# Cognito ID.
|
10732
|
+
#
|
10733
|
+
# @option params [String] :thing_principal_type
|
10734
|
+
# The type of the relation you want to filter in the response. If no
|
10735
|
+
# value is provided in this field, the response will list all things,
|
10736
|
+
# including both the `EXCLUSIVE_THING` and `NON_EXCLUSIVE_THING`
|
10737
|
+
# attachment types.
|
10738
|
+
#
|
10739
|
+
# * `EXCLUSIVE_THING` - Attaches the specified principal to the
|
10740
|
+
# specified thing, exclusively. The thing will be the only thing
|
10741
|
+
# that’s attached to the principal.
|
10742
|
+
#
|
10743
|
+
# ^
|
10744
|
+
# ^
|
10745
|
+
#
|
10746
|
+
# * `NON_EXCLUSIVE_THING` - Attaches the specified principal to the
|
10747
|
+
# specified thing. Multiple things can be attached to the principal.
|
10748
|
+
#
|
10749
|
+
# ^
|
10750
|
+
#
|
10751
|
+
# @return [Types::ListPrincipalThingsV2Response] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10752
|
+
#
|
10753
|
+
# * {Types::ListPrincipalThingsV2Response#principal_thing_objects #principal_thing_objects} => Array<Types::PrincipalThingObject>
|
10754
|
+
# * {Types::ListPrincipalThingsV2Response#next_token #next_token} => String
|
10755
|
+
#
|
10756
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
10757
|
+
#
|
10758
|
+
# @example Request syntax with placeholder values
|
10759
|
+
#
|
10760
|
+
# resp = client.list_principal_things_v2({
|
10761
|
+
# next_token: "NextToken",
|
10762
|
+
# max_results: 1,
|
10763
|
+
# principal: "Principal", # required
|
10764
|
+
# thing_principal_type: "EXCLUSIVE_THING", # accepts EXCLUSIVE_THING, NON_EXCLUSIVE_THING
|
10765
|
+
# })
|
10766
|
+
#
|
10767
|
+
# @example Response structure
|
10768
|
+
#
|
10769
|
+
# resp.principal_thing_objects #=> Array
|
10770
|
+
# resp.principal_thing_objects[0].thing_name #=> String
|
10771
|
+
# resp.principal_thing_objects[0].thing_principal_type #=> String, one of "EXCLUSIVE_THING", "NON_EXCLUSIVE_THING"
|
10772
|
+
# resp.next_token #=> String
|
10773
|
+
#
|
10774
|
+
# @overload list_principal_things_v2(params = {})
|
10775
|
+
# @param [Hash] params ({})
|
10776
|
+
def list_principal_things_v2(params = {}, options = {})
|
10777
|
+
req = build_request(:list_principal_things_v2, params)
|
10778
|
+
req.send_request(options)
|
10779
|
+
end
|
10780
|
+
|
10678
10781
|
# A list of provisioning template versions.
|
10679
10782
|
#
|
10680
10783
|
# Requires permission to access the
|
@@ -11457,6 +11560,74 @@ module Aws::IoT
|
|
11457
11560
|
req.send_request(options)
|
11458
11561
|
end
|
11459
11562
|
|
11563
|
+
# Lists the principals associated with the specified thing. A principal
|
11564
|
+
# can be an X.509 certificate or an Amazon Cognito ID.
|
11565
|
+
#
|
11566
|
+
# Requires permission to access the [ListThingPrincipals][1] action.
|
11567
|
+
#
|
11568
|
+
#
|
11569
|
+
#
|
11570
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
11571
|
+
#
|
11572
|
+
# @option params [String] :next_token
|
11573
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
11574
|
+
# previous response; otherwise **null** to receive the first set of
|
11575
|
+
# results.
|
11576
|
+
#
|
11577
|
+
# @option params [Integer] :max_results
|
11578
|
+
# The maximum number of results to return in this operation.
|
11579
|
+
#
|
11580
|
+
# @option params [required, String] :thing_name
|
11581
|
+
# The name of the thing.
|
11582
|
+
#
|
11583
|
+
# @option params [String] :thing_principal_type
|
11584
|
+
# The type of the relation you want to filter in the response. If no
|
11585
|
+
# value is provided in this field, the response will list all
|
11586
|
+
# principals, including both the `EXCLUSIVE_THING` and
|
11587
|
+
# `NON_EXCLUSIVE_THING` attachment types.
|
11588
|
+
#
|
11589
|
+
# * `EXCLUSIVE_THING` - Attaches the specified principal to the
|
11590
|
+
# specified thing, exclusively. The thing will be the only thing
|
11591
|
+
# that’s attached to the principal.
|
11592
|
+
#
|
11593
|
+
# ^
|
11594
|
+
# ^
|
11595
|
+
#
|
11596
|
+
# * `NON_EXCLUSIVE_THING` - Attaches the specified principal to the
|
11597
|
+
# specified thing. Multiple things can be attached to the principal.
|
11598
|
+
#
|
11599
|
+
# ^
|
11600
|
+
#
|
11601
|
+
# @return [Types::ListThingPrincipalsV2Response] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11602
|
+
#
|
11603
|
+
# * {Types::ListThingPrincipalsV2Response#thing_principal_objects #thing_principal_objects} => Array<Types::ThingPrincipalObject>
|
11604
|
+
# * {Types::ListThingPrincipalsV2Response#next_token #next_token} => String
|
11605
|
+
#
|
11606
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
11607
|
+
#
|
11608
|
+
# @example Request syntax with placeholder values
|
11609
|
+
#
|
11610
|
+
# resp = client.list_thing_principals_v2({
|
11611
|
+
# next_token: "NextToken",
|
11612
|
+
# max_results: 1,
|
11613
|
+
# thing_name: "ThingName", # required
|
11614
|
+
# thing_principal_type: "EXCLUSIVE_THING", # accepts EXCLUSIVE_THING, NON_EXCLUSIVE_THING
|
11615
|
+
# })
|
11616
|
+
#
|
11617
|
+
# @example Response structure
|
11618
|
+
#
|
11619
|
+
# resp.thing_principal_objects #=> Array
|
11620
|
+
# resp.thing_principal_objects[0].principal #=> String
|
11621
|
+
# resp.thing_principal_objects[0].thing_principal_type #=> String, one of "EXCLUSIVE_THING", "NON_EXCLUSIVE_THING"
|
11622
|
+
# resp.next_token #=> String
|
11623
|
+
#
|
11624
|
+
# @overload list_thing_principals_v2(params = {})
|
11625
|
+
# @param [Hash] params ({})
|
11626
|
+
def list_thing_principals_v2(params = {}, options = {})
|
11627
|
+
req = build_request(:list_thing_principals_v2, params)
|
11628
|
+
req.send_request(options)
|
11629
|
+
end
|
11630
|
+
|
11460
11631
|
# Information about the thing registration tasks.
|
11461
11632
|
#
|
11462
11633
|
# @option params [required, String] :task_id
|
@@ -11594,6 +11765,10 @@ module Aws::IoT
|
|
11594
11765
|
# resp.thing_types[0].thing_type_properties.thing_type_description #=> String
|
11595
11766
|
# resp.thing_types[0].thing_type_properties.searchable_attributes #=> Array
|
11596
11767
|
# resp.thing_types[0].thing_type_properties.searchable_attributes[0] #=> String
|
11768
|
+
# resp.thing_types[0].thing_type_properties.mqtt5_configuration.propagating_attributes #=> Array
|
11769
|
+
# resp.thing_types[0].thing_type_properties.mqtt5_configuration.propagating_attributes[0].user_property_key #=> String
|
11770
|
+
# resp.thing_types[0].thing_type_properties.mqtt5_configuration.propagating_attributes[0].thing_attribute #=> String
|
11771
|
+
# resp.thing_types[0].thing_type_properties.mqtt5_configuration.propagating_attributes[0].connection_attribute #=> String
|
11597
11772
|
# resp.thing_types[0].thing_type_metadata.deprecated #=> Boolean
|
11598
11773
|
# resp.thing_types[0].thing_type_metadata.deprecation_date #=> Time
|
11599
11774
|
# resp.thing_types[0].thing_type_metadata.creation_date #=> Time
|
@@ -14275,6 +14450,8 @@ module Aws::IoT
|
|
14275
14450
|
# },
|
14276
14451
|
# server_certificate_config: {
|
14277
14452
|
# enable_ocsp_check: false,
|
14453
|
+
# ocsp_lambda_arn: "OCSPLambdaArn",
|
14454
|
+
# ocsp_authorized_responder_arn: "AcmCertificateArn",
|
14278
14455
|
# },
|
14279
14456
|
# authentication_type: "CUSTOM_AUTH_X509", # accepts CUSTOM_AUTH_X509, CUSTOM_AUTH, AWS_X509, AWS_SIGV4, DEFAULT
|
14280
14457
|
# application_protocol: "SECURE_MQTT", # accepts SECURE_MQTT, MQTT_WSS, HTTPS, DEFAULT
|
@@ -15466,6 +15643,44 @@ module Aws::IoT
|
|
15466
15643
|
req.send_request(options)
|
15467
15644
|
end
|
15468
15645
|
|
15646
|
+
# Updates a thing type.
|
15647
|
+
#
|
15648
|
+
# @option params [required, String] :thing_type_name
|
15649
|
+
# The name of a thing type.
|
15650
|
+
#
|
15651
|
+
# @option params [Types::ThingTypeProperties] :thing_type_properties
|
15652
|
+
# The ThingTypeProperties contains information about the thing type
|
15653
|
+
# including: a thing type description, and a list of searchable thing
|
15654
|
+
# attribute names.
|
15655
|
+
#
|
15656
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
15657
|
+
#
|
15658
|
+
# @example Request syntax with placeholder values
|
15659
|
+
#
|
15660
|
+
# resp = client.update_thing_type({
|
15661
|
+
# thing_type_name: "ThingTypeName", # required
|
15662
|
+
# thing_type_properties: {
|
15663
|
+
# thing_type_description: "ThingTypeDescription",
|
15664
|
+
# searchable_attributes: ["AttributeName"],
|
15665
|
+
# mqtt5_configuration: {
|
15666
|
+
# propagating_attributes: [
|
15667
|
+
# {
|
15668
|
+
# user_property_key: "UserPropertyKeyName",
|
15669
|
+
# thing_attribute: "AttributeName",
|
15670
|
+
# connection_attribute: "ConnectionAttributeName",
|
15671
|
+
# },
|
15672
|
+
# ],
|
15673
|
+
# },
|
15674
|
+
# },
|
15675
|
+
# })
|
15676
|
+
#
|
15677
|
+
# @overload update_thing_type(params = {})
|
15678
|
+
# @param [Hash] params ({})
|
15679
|
+
def update_thing_type(params = {}, options = {})
|
15680
|
+
req = build_request(:update_thing_type, params)
|
15681
|
+
req.send_request(options)
|
15682
|
+
end
|
15683
|
+
|
15469
15684
|
# Updates a topic rule destination. You use this to change the status,
|
15470
15685
|
# endpoint URL, or confirmation URL of the destination.
|
15471
15686
|
#
|
@@ -15613,7 +15828,7 @@ module Aws::IoT
|
|
15613
15828
|
tracer: tracer
|
15614
15829
|
)
|
15615
15830
|
context[:gem_name] = 'aws-sdk-iot'
|
15616
|
-
context[:gem_version] = '1.
|
15831
|
+
context[:gem_version] = '1.139.0'
|
15617
15832
|
Seahorse::Client::Request.new(handlers, context)
|
15618
15833
|
end
|
15619
15834
|
|
@@ -245,6 +245,7 @@ module Aws::IoT
|
|
245
245
|
ConfirmationToken = Shapes::StringShape.new(name: 'ConfirmationToken')
|
246
246
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
247
247
|
ConflictingResourceUpdateException = Shapes::StructureShape.new(name: 'ConflictingResourceUpdateException')
|
248
|
+
ConnectionAttributeName = Shapes::StringShape.new(name: 'ConnectionAttributeName')
|
248
249
|
ConnectivityTimestamp = Shapes::IntegerShape.new(name: 'ConnectivityTimestamp')
|
249
250
|
ConsecutiveDatapointsToAlarm = Shapes::IntegerShape.new(name: 'ConsecutiveDatapointsToAlarm')
|
250
251
|
ConsecutiveDatapointsToClear = Shapes::IntegerShape.new(name: 'ConsecutiveDatapointsToClear')
|
@@ -784,6 +785,8 @@ module Aws::IoT
|
|
784
785
|
ListPrincipalPoliciesResponse = Shapes::StructureShape.new(name: 'ListPrincipalPoliciesResponse')
|
785
786
|
ListPrincipalThingsRequest = Shapes::StructureShape.new(name: 'ListPrincipalThingsRequest')
|
786
787
|
ListPrincipalThingsResponse = Shapes::StructureShape.new(name: 'ListPrincipalThingsResponse')
|
788
|
+
ListPrincipalThingsV2Request = Shapes::StructureShape.new(name: 'ListPrincipalThingsV2Request')
|
789
|
+
ListPrincipalThingsV2Response = Shapes::StructureShape.new(name: 'ListPrincipalThingsV2Response')
|
787
790
|
ListProvisioningTemplateVersionsRequest = Shapes::StructureShape.new(name: 'ListProvisioningTemplateVersionsRequest')
|
788
791
|
ListProvisioningTemplateVersionsResponse = Shapes::StructureShape.new(name: 'ListProvisioningTemplateVersionsResponse')
|
789
792
|
ListProvisioningTemplatesRequest = Shapes::StructureShape.new(name: 'ListProvisioningTemplatesRequest')
|
@@ -816,6 +819,8 @@ module Aws::IoT
|
|
816
819
|
ListThingGroupsResponse = Shapes::StructureShape.new(name: 'ListThingGroupsResponse')
|
817
820
|
ListThingPrincipalsRequest = Shapes::StructureShape.new(name: 'ListThingPrincipalsRequest')
|
818
821
|
ListThingPrincipalsResponse = Shapes::StructureShape.new(name: 'ListThingPrincipalsResponse')
|
822
|
+
ListThingPrincipalsV2Request = Shapes::StructureShape.new(name: 'ListThingPrincipalsV2Request')
|
823
|
+
ListThingPrincipalsV2Response = Shapes::StructureShape.new(name: 'ListThingPrincipalsV2Response')
|
819
824
|
ListThingRegistrationTaskReportsRequest = Shapes::StructureShape.new(name: 'ListThingRegistrationTaskReportsRequest')
|
820
825
|
ListThingRegistrationTaskReportsResponse = Shapes::StructureShape.new(name: 'ListThingRegistrationTaskReportsResponse')
|
821
826
|
ListThingRegistrationTasksRequest = Shapes::StructureShape.new(name: 'ListThingRegistrationTasksRequest')
|
@@ -888,6 +893,7 @@ module Aws::IoT
|
|
888
893
|
MitigationActionType = Shapes::StringShape.new(name: 'MitigationActionType')
|
889
894
|
MitigationActionsTaskId = Shapes::StringShape.new(name: 'MitigationActionsTaskId')
|
890
895
|
ModelStatus = Shapes::StringShape.new(name: 'ModelStatus')
|
896
|
+
Mqtt5Configuration = Shapes::StructureShape.new(name: 'Mqtt5Configuration')
|
891
897
|
MqttClientId = Shapes::StringShape.new(name: 'MqttClientId')
|
892
898
|
MqttContext = Shapes::StructureShape.new(name: 'MqttContext')
|
893
899
|
MqttHeaders = Shapes::StructureShape.new(name: 'MqttHeaders')
|
@@ -907,6 +913,7 @@ module Aws::IoT
|
|
907
913
|
NumberList = Shapes::ListShape.new(name: 'NumberList')
|
908
914
|
NumberOfRetries = Shapes::IntegerShape.new(name: 'NumberOfRetries')
|
909
915
|
NumberOfThings = Shapes::IntegerShape.new(name: 'NumberOfThings')
|
916
|
+
OCSPLambdaArn = Shapes::StringShape.new(name: 'OCSPLambdaArn')
|
910
917
|
OTAUpdateArn = Shapes::StringShape.new(name: 'OTAUpdateArn')
|
911
918
|
OTAUpdateDescription = Shapes::StringShape.new(name: 'OTAUpdateDescription')
|
912
919
|
OTAUpdateErrorMessage = Shapes::StringShape.new(name: 'OTAUpdateErrorMessage')
|
@@ -976,10 +983,14 @@ module Aws::IoT
|
|
976
983
|
Principal = Shapes::StringShape.new(name: 'Principal')
|
977
984
|
PrincipalArn = Shapes::StringShape.new(name: 'PrincipalArn')
|
978
985
|
PrincipalId = Shapes::StringShape.new(name: 'PrincipalId')
|
986
|
+
PrincipalThingObject = Shapes::StructureShape.new(name: 'PrincipalThingObject')
|
987
|
+
PrincipalThingObjects = Shapes::ListShape.new(name: 'PrincipalThingObjects')
|
979
988
|
Principals = Shapes::ListShape.new(name: 'Principals')
|
980
989
|
PrivateKey = Shapes::StringShape.new(name: 'PrivateKey')
|
981
990
|
ProcessingTargetName = Shapes::StringShape.new(name: 'ProcessingTargetName')
|
982
991
|
ProcessingTargetNameList = Shapes::ListShape.new(name: 'ProcessingTargetNameList')
|
992
|
+
PropagatingAttribute = Shapes::StructureShape.new(name: 'PropagatingAttribute')
|
993
|
+
PropagatingAttributeList = Shapes::ListShape.new(name: 'PropagatingAttributeList')
|
983
994
|
Protocol = Shapes::StringShape.new(name: 'Protocol')
|
984
995
|
Protocols = Shapes::ListShape.new(name: 'Protocols')
|
985
996
|
ProvisioningHook = Shapes::StructureShape.new(name: 'ProvisioningHook')
|
@@ -1250,6 +1261,9 @@ module Aws::IoT
|
|
1250
1261
|
ThingIndexingMode = Shapes::StringShape.new(name: 'ThingIndexingMode')
|
1251
1262
|
ThingName = Shapes::StringShape.new(name: 'ThingName')
|
1252
1263
|
ThingNameList = Shapes::ListShape.new(name: 'ThingNameList')
|
1264
|
+
ThingPrincipalObject = Shapes::StructureShape.new(name: 'ThingPrincipalObject')
|
1265
|
+
ThingPrincipalObjects = Shapes::ListShape.new(name: 'ThingPrincipalObjects')
|
1266
|
+
ThingPrincipalType = Shapes::StringShape.new(name: 'ThingPrincipalType')
|
1253
1267
|
ThingTypeArn = Shapes::StringShape.new(name: 'ThingTypeArn')
|
1254
1268
|
ThingTypeDefinition = Shapes::StructureShape.new(name: 'ThingTypeDefinition')
|
1255
1269
|
ThingTypeDescription = Shapes::StringShape.new(name: 'ThingTypeDescription')
|
@@ -1357,6 +1371,8 @@ module Aws::IoT
|
|
1357
1371
|
UpdateThingGroupsForThingResponse = Shapes::StructureShape.new(name: 'UpdateThingGroupsForThingResponse')
|
1358
1372
|
UpdateThingRequest = Shapes::StructureShape.new(name: 'UpdateThingRequest')
|
1359
1373
|
UpdateThingResponse = Shapes::StructureShape.new(name: 'UpdateThingResponse')
|
1374
|
+
UpdateThingTypeRequest = Shapes::StructureShape.new(name: 'UpdateThingTypeRequest')
|
1375
|
+
UpdateThingTypeResponse = Shapes::StructureShape.new(name: 'UpdateThingTypeResponse')
|
1360
1376
|
UpdateTopicRuleDestinationRequest = Shapes::StructureShape.new(name: 'UpdateTopicRuleDestinationRequest')
|
1361
1377
|
UpdateTopicRuleDestinationResponse = Shapes::StructureShape.new(name: 'UpdateTopicRuleDestinationResponse')
|
1362
1378
|
Url = Shapes::StringShape.new(name: 'Url')
|
@@ -1364,6 +1380,7 @@ module Aws::IoT
|
|
1364
1380
|
UserProperties = Shapes::ListShape.new(name: 'UserProperties')
|
1365
1381
|
UserProperty = Shapes::StructureShape.new(name: 'UserProperty')
|
1366
1382
|
UserPropertyKey = Shapes::StringShape.new(name: 'UserPropertyKey')
|
1383
|
+
UserPropertyKeyName = Shapes::StringShape.new(name: 'UserPropertyKeyName')
|
1367
1384
|
UserPropertyValue = Shapes::StringShape.new(name: 'UserPropertyValue')
|
1368
1385
|
Valid = Shapes::BooleanShape.new(name: 'Valid')
|
1369
1386
|
ValidateSecurityProfileBehaviorsRequest = Shapes::StructureShape.new(name: 'ValidateSecurityProfileBehaviorsRequest')
|
@@ -1554,6 +1571,7 @@ module Aws::IoT
|
|
1554
1571
|
|
1555
1572
|
AttachThingPrincipalRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
|
1556
1573
|
AttachThingPrincipalRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location: "header", location_name: "x-amzn-principal"))
|
1574
|
+
AttachThingPrincipalRequest.add_member(:thing_principal_type, Shapes::ShapeRef.new(shape: ThingPrincipalType, location: "querystring", location_name: "thingPrincipalType"))
|
1557
1575
|
AttachThingPrincipalRequest.struct_class = Types::AttachThingPrincipalRequest
|
1558
1576
|
|
1559
1577
|
AttachThingPrincipalResponse.struct_class = Types::AttachThingPrincipalResponse
|
@@ -3807,6 +3825,16 @@ module Aws::IoT
|
|
3807
3825
|
ListPrincipalThingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
3808
3826
|
ListPrincipalThingsResponse.struct_class = Types::ListPrincipalThingsResponse
|
3809
3827
|
|
3828
|
+
ListPrincipalThingsV2Request.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
3829
|
+
ListPrincipalThingsV2Request.add_member(:max_results, Shapes::ShapeRef.new(shape: RegistryMaxResults, location: "querystring", location_name: "maxResults"))
|
3830
|
+
ListPrincipalThingsV2Request.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location: "header", location_name: "x-amzn-principal"))
|
3831
|
+
ListPrincipalThingsV2Request.add_member(:thing_principal_type, Shapes::ShapeRef.new(shape: ThingPrincipalType, location: "querystring", location_name: "thingPrincipalType"))
|
3832
|
+
ListPrincipalThingsV2Request.struct_class = Types::ListPrincipalThingsV2Request
|
3833
|
+
|
3834
|
+
ListPrincipalThingsV2Response.add_member(:principal_thing_objects, Shapes::ShapeRef.new(shape: PrincipalThingObjects, location_name: "principalThingObjects"))
|
3835
|
+
ListPrincipalThingsV2Response.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
3836
|
+
ListPrincipalThingsV2Response.struct_class = Types::ListPrincipalThingsV2Response
|
3837
|
+
|
3810
3838
|
ListProvisioningTemplateVersionsRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: TemplateName, required: true, location: "uri", location_name: "templateName"))
|
3811
3839
|
ListProvisioningTemplateVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
3812
3840
|
ListProvisioningTemplateVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
@@ -3945,6 +3973,16 @@ module Aws::IoT
|
|
3945
3973
|
ListThingPrincipalsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
3946
3974
|
ListThingPrincipalsResponse.struct_class = Types::ListThingPrincipalsResponse
|
3947
3975
|
|
3976
|
+
ListThingPrincipalsV2Request.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
3977
|
+
ListThingPrincipalsV2Request.add_member(:max_results, Shapes::ShapeRef.new(shape: RegistryMaxResults, location: "querystring", location_name: "maxResults"))
|
3978
|
+
ListThingPrincipalsV2Request.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
|
3979
|
+
ListThingPrincipalsV2Request.add_member(:thing_principal_type, Shapes::ShapeRef.new(shape: ThingPrincipalType, location: "querystring", location_name: "thingPrincipalType"))
|
3980
|
+
ListThingPrincipalsV2Request.struct_class = Types::ListThingPrincipalsV2Request
|
3981
|
+
|
3982
|
+
ListThingPrincipalsV2Response.add_member(:thing_principal_objects, Shapes::ShapeRef.new(shape: ThingPrincipalObjects, location_name: "thingPrincipalObjects"))
|
3983
|
+
ListThingPrincipalsV2Response.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
3984
|
+
ListThingPrincipalsV2Response.struct_class = Types::ListThingPrincipalsV2Response
|
3985
|
+
|
3948
3986
|
ListThingRegistrationTaskReportsRequest.add_member(:task_id, Shapes::ShapeRef.new(shape: TaskId, required: true, location: "uri", location_name: "taskId"))
|
3949
3987
|
ListThingRegistrationTaskReportsRequest.add_member(:report_type, Shapes::ShapeRef.new(shape: ReportType, required: true, location: "querystring", location_name: "reportType"))
|
3950
3988
|
ListThingRegistrationTaskReportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
@@ -4150,6 +4188,9 @@ module Aws::IoT
|
|
4150
4188
|
MitigationActionParams.add_member(:publish_finding_to_sns_params, Shapes::ShapeRef.new(shape: PublishFindingToSnsParams, location_name: "publishFindingToSnsParams"))
|
4151
4189
|
MitigationActionParams.struct_class = Types::MitigationActionParams
|
4152
4190
|
|
4191
|
+
Mqtt5Configuration.add_member(:propagating_attributes, Shapes::ShapeRef.new(shape: PropagatingAttributeList, location_name: "propagatingAttributes"))
|
4192
|
+
Mqtt5Configuration.struct_class = Types::Mqtt5Configuration
|
4193
|
+
|
4153
4194
|
MqttContext.add_member(:username, Shapes::ShapeRef.new(shape: MqttUsername, location_name: "username"))
|
4154
4195
|
MqttContext.add_member(:password, Shapes::ShapeRef.new(shape: MqttPassword, location_name: "password"))
|
4155
4196
|
MqttContext.add_member(:client_id, Shapes::ShapeRef.new(shape: MqttClientId, location_name: "clientId"))
|
@@ -4290,10 +4331,23 @@ module Aws::IoT
|
|
4290
4331
|
PresignedUrlConfig.add_member(:expires_in_sec, Shapes::ShapeRef.new(shape: ExpiresInSec, location_name: "expiresInSec"))
|
4291
4332
|
PresignedUrlConfig.struct_class = Types::PresignedUrlConfig
|
4292
4333
|
|
4334
|
+
PrincipalThingObject.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location_name: "thingName"))
|
4335
|
+
PrincipalThingObject.add_member(:thing_principal_type, Shapes::ShapeRef.new(shape: ThingPrincipalType, location_name: "thingPrincipalType"))
|
4336
|
+
PrincipalThingObject.struct_class = Types::PrincipalThingObject
|
4337
|
+
|
4338
|
+
PrincipalThingObjects.member = Shapes::ShapeRef.new(shape: PrincipalThingObject)
|
4339
|
+
|
4293
4340
|
Principals.member = Shapes::ShapeRef.new(shape: PrincipalArn)
|
4294
4341
|
|
4295
4342
|
ProcessingTargetNameList.member = Shapes::ShapeRef.new(shape: ProcessingTargetName)
|
4296
4343
|
|
4344
|
+
PropagatingAttribute.add_member(:user_property_key, Shapes::ShapeRef.new(shape: UserPropertyKeyName, location_name: "userPropertyKey"))
|
4345
|
+
PropagatingAttribute.add_member(:thing_attribute, Shapes::ShapeRef.new(shape: AttributeName, location_name: "thingAttribute"))
|
4346
|
+
PropagatingAttribute.add_member(:connection_attribute, Shapes::ShapeRef.new(shape: ConnectionAttributeName, location_name: "connectionAttribute"))
|
4347
|
+
PropagatingAttribute.struct_class = Types::PropagatingAttribute
|
4348
|
+
|
4349
|
+
PropagatingAttributeList.member = Shapes::ShapeRef.new(shape: PropagatingAttribute)
|
4350
|
+
|
4297
4351
|
Protocols.member = Shapes::ShapeRef.new(shape: Protocol)
|
4298
4352
|
|
4299
4353
|
ProvisioningHook.add_member(:payload_version, Shapes::ShapeRef.new(shape: PayloadVersion, location_name: "payloadVersion"))
|
@@ -4574,6 +4628,8 @@ module Aws::IoT
|
|
4574
4628
|
ServerCertificateArns.member = Shapes::ShapeRef.new(shape: AcmCertificateArn)
|
4575
4629
|
|
4576
4630
|
ServerCertificateConfig.add_member(:enable_ocsp_check, Shapes::ShapeRef.new(shape: EnableOCSPCheck, location_name: "enableOCSPCheck"))
|
4631
|
+
ServerCertificateConfig.add_member(:ocsp_lambda_arn, Shapes::ShapeRef.new(shape: OCSPLambdaArn, location_name: "ocspLambdaArn"))
|
4632
|
+
ServerCertificateConfig.add_member(:ocsp_authorized_responder_arn, Shapes::ShapeRef.new(shape: AcmCertificateArn, location_name: "ocspAuthorizedResponderArn"))
|
4577
4633
|
ServerCertificateConfig.struct_class = Types::ServerCertificateConfig
|
4578
4634
|
|
4579
4635
|
ServerCertificateSummary.add_member(:server_certificate_arn, Shapes::ShapeRef.new(shape: AcmCertificateArn, location_name: "serverCertificateArn"))
|
@@ -4877,6 +4933,12 @@ module Aws::IoT
|
|
4877
4933
|
|
4878
4934
|
ThingNameList.member = Shapes::ShapeRef.new(shape: ThingName)
|
4879
4935
|
|
4936
|
+
ThingPrincipalObject.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location_name: "principal"))
|
4937
|
+
ThingPrincipalObject.add_member(:thing_principal_type, Shapes::ShapeRef.new(shape: ThingPrincipalType, location_name: "thingPrincipalType"))
|
4938
|
+
ThingPrincipalObject.struct_class = Types::ThingPrincipalObject
|
4939
|
+
|
4940
|
+
ThingPrincipalObjects.member = Shapes::ShapeRef.new(shape: ThingPrincipalObject)
|
4941
|
+
|
4880
4942
|
ThingTypeDefinition.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, location_name: "thingTypeName"))
|
4881
4943
|
ThingTypeDefinition.add_member(:thing_type_arn, Shapes::ShapeRef.new(shape: ThingTypeArn, location_name: "thingTypeArn"))
|
4882
4944
|
ThingTypeDefinition.add_member(:thing_type_properties, Shapes::ShapeRef.new(shape: ThingTypeProperties, location_name: "thingTypeProperties"))
|
@@ -4892,6 +4954,7 @@ module Aws::IoT
|
|
4892
4954
|
|
4893
4955
|
ThingTypeProperties.add_member(:thing_type_description, Shapes::ShapeRef.new(shape: ThingTypeDescription, location_name: "thingTypeDescription"))
|
4894
4956
|
ThingTypeProperties.add_member(:searchable_attributes, Shapes::ShapeRef.new(shape: SearchableAttributes, location_name: "searchableAttributes"))
|
4957
|
+
ThingTypeProperties.add_member(:mqtt5_configuration, Shapes::ShapeRef.new(shape: Mqtt5Configuration, location_name: "mqtt5Configuration"))
|
4895
4958
|
ThingTypeProperties.struct_class = Types::ThingTypeProperties
|
4896
4959
|
|
4897
4960
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
@@ -5279,6 +5342,12 @@ module Aws::IoT
|
|
5279
5342
|
|
5280
5343
|
UpdateThingResponse.struct_class = Types::UpdateThingResponse
|
5281
5344
|
|
5345
|
+
UpdateThingTypeRequest.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, required: true, location: "uri", location_name: "thingTypeName"))
|
5346
|
+
UpdateThingTypeRequest.add_member(:thing_type_properties, Shapes::ShapeRef.new(shape: ThingTypeProperties, location_name: "thingTypeProperties"))
|
5347
|
+
UpdateThingTypeRequest.struct_class = Types::UpdateThingTypeRequest
|
5348
|
+
|
5349
|
+
UpdateThingTypeResponse.struct_class = Types::UpdateThingTypeResponse
|
5350
|
+
|
5282
5351
|
UpdateTopicRuleDestinationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "arn"))
|
5283
5352
|
UpdateTopicRuleDestinationRequest.add_member(:status, Shapes::ShapeRef.new(shape: TopicRuleDestinationStatus, required: true, location_name: "status"))
|
5284
5353
|
UpdateTopicRuleDestinationRequest.struct_class = Types::UpdateTopicRuleDestinationRequest
|
@@ -7939,6 +8008,26 @@ module Aws::IoT
|
|
7939
8008
|
)
|
7940
8009
|
end)
|
7941
8010
|
|
8011
|
+
api.add_operation(:list_principal_things_v2, Seahorse::Model::Operation.new.tap do |o|
|
8012
|
+
o.name = "ListPrincipalThingsV2"
|
8013
|
+
o.http_method = "GET"
|
8014
|
+
o.http_request_uri = "/principals/things-v2"
|
8015
|
+
o.input = Shapes::ShapeRef.new(shape: ListPrincipalThingsV2Request)
|
8016
|
+
o.output = Shapes::ShapeRef.new(shape: ListPrincipalThingsV2Response)
|
8017
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
8018
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
8019
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
8020
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
8021
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
8022
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
8023
|
+
o[:pager] = Aws::Pager.new(
|
8024
|
+
limit_key: "max_results",
|
8025
|
+
tokens: {
|
8026
|
+
"next_token" => "next_token"
|
8027
|
+
}
|
8028
|
+
)
|
8029
|
+
end)
|
8030
|
+
|
7942
8031
|
api.add_operation(:list_provisioning_template_versions, Seahorse::Model::Operation.new.tap do |o|
|
7943
8032
|
o.name = "ListProvisioningTemplateVersions"
|
7944
8033
|
o.http_method = "GET"
|
@@ -8215,6 +8304,26 @@ module Aws::IoT
|
|
8215
8304
|
)
|
8216
8305
|
end)
|
8217
8306
|
|
8307
|
+
api.add_operation(:list_thing_principals_v2, Seahorse::Model::Operation.new.tap do |o|
|
8308
|
+
o.name = "ListThingPrincipalsV2"
|
8309
|
+
o.http_method = "GET"
|
8310
|
+
o.http_request_uri = "/things/{thingName}/principals-v2"
|
8311
|
+
o.input = Shapes::ShapeRef.new(shape: ListThingPrincipalsV2Request)
|
8312
|
+
o.output = Shapes::ShapeRef.new(shape: ListThingPrincipalsV2Response)
|
8313
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
8314
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
8315
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
8316
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
8317
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
8318
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
8319
|
+
o[:pager] = Aws::Pager.new(
|
8320
|
+
limit_key: "max_results",
|
8321
|
+
tokens: {
|
8322
|
+
"next_token" => "next_token"
|
8323
|
+
}
|
8324
|
+
)
|
8325
|
+
end)
|
8326
|
+
|
8218
8327
|
api.add_operation(:list_thing_registration_task_reports, Seahorse::Model::Operation.new.tap do |o|
|
8219
8328
|
o.name = "ListThingRegistrationTaskReports"
|
8220
8329
|
o.http_method = "GET"
|
@@ -9097,6 +9206,20 @@ module Aws::IoT
|
|
9097
9206
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
9098
9207
|
end)
|
9099
9208
|
|
9209
|
+
api.add_operation(:update_thing_type, Seahorse::Model::Operation.new.tap do |o|
|
9210
|
+
o.name = "UpdateThingType"
|
9211
|
+
o.http_method = "PATCH"
|
9212
|
+
o.http_request_uri = "/thing-types/{thingTypeName}"
|
9213
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateThingTypeRequest)
|
9214
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateThingTypeResponse)
|
9215
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
9216
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
9217
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
9218
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
9219
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
9220
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
9221
|
+
end)
|
9222
|
+
|
9100
9223
|
api.add_operation(:update_topic_rule_destination, Seahorse::Model::Operation.new.tap do |o|
|
9101
9224
|
o.name = "UpdateTopicRuleDestination"
|
9102
9225
|
o.http_method = "PATCH"
|
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -675,9 +675,27 @@ module Aws::IoT
|
|
675
675
|
# CreateCertificate operation) or an Amazon Cognito ID.
|
676
676
|
# @return [String]
|
677
677
|
#
|
678
|
+
# @!attribute [rw] thing_principal_type
|
679
|
+
# The type of the relation you want to specify when you attach a
|
680
|
+
# principal to a thing.
|
681
|
+
#
|
682
|
+
# * `EXCLUSIVE_THING` - Attaches the specified principal to the
|
683
|
+
# specified thing, exclusively. The thing will be the only thing
|
684
|
+
# that’s attached to the principal.
|
685
|
+
#
|
686
|
+
# ^
|
687
|
+
# ^
|
688
|
+
#
|
689
|
+
# * `NON_EXCLUSIVE_THING` - Attaches the specified principal to the
|
690
|
+
# specified thing. Multiple things can be attached to the principal.
|
691
|
+
#
|
692
|
+
# ^
|
693
|
+
# @return [String]
|
694
|
+
#
|
678
695
|
class AttachThingPrincipalRequest < Struct.new(
|
679
696
|
:thing_name,
|
680
|
-
:principal
|
697
|
+
:principal,
|
698
|
+
:thing_principal_type)
|
681
699
|
SENSITIVE = []
|
682
700
|
include Aws::Structure
|
683
701
|
end
|
@@ -6729,8 +6747,8 @@ module Aws::IoT
|
|
6729
6747
|
#
|
6730
6748
|
# @!attribute [rw] thing_type_properties
|
6731
6749
|
# The ThingTypeProperties contains information about the thing type
|
6732
|
-
# including description,
|
6733
|
-
#
|
6750
|
+
# including description, a list of searchable thing attribute names,
|
6751
|
+
# and MQTT5 configuration.
|
6734
6752
|
# @return [Types::ThingTypeProperties]
|
6735
6753
|
#
|
6736
6754
|
# @!attribute [rw] thing_type_metadata
|
@@ -10930,6 +10948,66 @@ module Aws::IoT
|
|
10930
10948
|
include Aws::Structure
|
10931
10949
|
end
|
10932
10950
|
|
10951
|
+
# @!attribute [rw] next_token
|
10952
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
10953
|
+
# previous response; otherwise **null** to receive the first set of
|
10954
|
+
# results.
|
10955
|
+
# @return [String]
|
10956
|
+
#
|
10957
|
+
# @!attribute [rw] max_results
|
10958
|
+
# The maximum number of results to return in this operation.
|
10959
|
+
# @return [Integer]
|
10960
|
+
#
|
10961
|
+
# @!attribute [rw] principal
|
10962
|
+
# The principal. A principal can be an X.509 certificate or an Amazon
|
10963
|
+
# Cognito ID.
|
10964
|
+
# @return [String]
|
10965
|
+
#
|
10966
|
+
# @!attribute [rw] thing_principal_type
|
10967
|
+
# The type of the relation you want to filter in the response. If no
|
10968
|
+
# value is provided in this field, the response will list all things,
|
10969
|
+
# including both the `EXCLUSIVE_THING` and `NON_EXCLUSIVE_THING`
|
10970
|
+
# attachment types.
|
10971
|
+
#
|
10972
|
+
# * `EXCLUSIVE_THING` - Attaches the specified principal to the
|
10973
|
+
# specified thing, exclusively. The thing will be the only thing
|
10974
|
+
# that’s attached to the principal.
|
10975
|
+
#
|
10976
|
+
# ^
|
10977
|
+
# ^
|
10978
|
+
#
|
10979
|
+
# * `NON_EXCLUSIVE_THING` - Attaches the specified principal to the
|
10980
|
+
# specified thing. Multiple things can be attached to the principal.
|
10981
|
+
#
|
10982
|
+
# ^
|
10983
|
+
# @return [String]
|
10984
|
+
#
|
10985
|
+
class ListPrincipalThingsV2Request < Struct.new(
|
10986
|
+
:next_token,
|
10987
|
+
:max_results,
|
10988
|
+
:principal,
|
10989
|
+
:thing_principal_type)
|
10990
|
+
SENSITIVE = []
|
10991
|
+
include Aws::Structure
|
10992
|
+
end
|
10993
|
+
|
10994
|
+
# @!attribute [rw] principal_thing_objects
|
10995
|
+
# A list of `thingPrincipalObject` that represents the principal and
|
10996
|
+
# the type of relation it has with the thing.
|
10997
|
+
# @return [Array<Types::PrincipalThingObject>]
|
10998
|
+
#
|
10999
|
+
# @!attribute [rw] next_token
|
11000
|
+
# The token to use to get the next set of results, or **null** if
|
11001
|
+
# there are no additional results.
|
11002
|
+
# @return [String]
|
11003
|
+
#
|
11004
|
+
class ListPrincipalThingsV2Response < Struct.new(
|
11005
|
+
:principal_thing_objects,
|
11006
|
+
:next_token)
|
11007
|
+
SENSITIVE = []
|
11008
|
+
include Aws::Structure
|
11009
|
+
end
|
11010
|
+
|
10933
11011
|
# @!attribute [rw] template_name
|
10934
11012
|
# The name of the provisioning template.
|
10935
11013
|
# @return [String]
|
@@ -11500,6 +11578,65 @@ module Aws::IoT
|
|
11500
11578
|
include Aws::Structure
|
11501
11579
|
end
|
11502
11580
|
|
11581
|
+
# @!attribute [rw] next_token
|
11582
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
11583
|
+
# previous response; otherwise **null** to receive the first set of
|
11584
|
+
# results.
|
11585
|
+
# @return [String]
|
11586
|
+
#
|
11587
|
+
# @!attribute [rw] max_results
|
11588
|
+
# The maximum number of results to return in this operation.
|
11589
|
+
# @return [Integer]
|
11590
|
+
#
|
11591
|
+
# @!attribute [rw] thing_name
|
11592
|
+
# The name of the thing.
|
11593
|
+
# @return [String]
|
11594
|
+
#
|
11595
|
+
# @!attribute [rw] thing_principal_type
|
11596
|
+
# The type of the relation you want to filter in the response. If no
|
11597
|
+
# value is provided in this field, the response will list all
|
11598
|
+
# principals, including both the `EXCLUSIVE_THING` and
|
11599
|
+
# `NON_EXCLUSIVE_THING` attachment types.
|
11600
|
+
#
|
11601
|
+
# * `EXCLUSIVE_THING` - Attaches the specified principal to the
|
11602
|
+
# specified thing, exclusively. The thing will be the only thing
|
11603
|
+
# that’s attached to the principal.
|
11604
|
+
#
|
11605
|
+
# ^
|
11606
|
+
# ^
|
11607
|
+
#
|
11608
|
+
# * `NON_EXCLUSIVE_THING` - Attaches the specified principal to the
|
11609
|
+
# specified thing. Multiple things can be attached to the principal.
|
11610
|
+
#
|
11611
|
+
# ^
|
11612
|
+
# @return [String]
|
11613
|
+
#
|
11614
|
+
class ListThingPrincipalsV2Request < Struct.new(
|
11615
|
+
:next_token,
|
11616
|
+
:max_results,
|
11617
|
+
:thing_name,
|
11618
|
+
:thing_principal_type)
|
11619
|
+
SENSITIVE = []
|
11620
|
+
include Aws::Structure
|
11621
|
+
end
|
11622
|
+
|
11623
|
+
# @!attribute [rw] thing_principal_objects
|
11624
|
+
# A list of `thingPrincipalObject` that represents the principal and
|
11625
|
+
# the type of relation it has with the thing.
|
11626
|
+
# @return [Array<Types::ThingPrincipalObject>]
|
11627
|
+
#
|
11628
|
+
# @!attribute [rw] next_token
|
11629
|
+
# The token to use to get the next set of results, or **null** if
|
11630
|
+
# there are no additional results.
|
11631
|
+
# @return [String]
|
11632
|
+
#
|
11633
|
+
class ListThingPrincipalsV2Response < Struct.new(
|
11634
|
+
:thing_principal_objects,
|
11635
|
+
:next_token)
|
11636
|
+
SENSITIVE = []
|
11637
|
+
include Aws::Structure
|
11638
|
+
end
|
11639
|
+
|
11503
11640
|
# @!attribute [rw] task_id
|
11504
11641
|
# The id of the task.
|
11505
11642
|
# @return [String]
|
@@ -12377,6 +12514,20 @@ module Aws::IoT
|
|
12377
12514
|
include Aws::Structure
|
12378
12515
|
end
|
12379
12516
|
|
12517
|
+
# The configuration to add user-defined properties to enrich MQTT 5
|
12518
|
+
# messages.
|
12519
|
+
#
|
12520
|
+
# @!attribute [rw] propagating_attributes
|
12521
|
+
# An object that represents the propagating thing attributes and the
|
12522
|
+
# connection attributes.
|
12523
|
+
# @return [Array<Types::PropagatingAttribute>]
|
12524
|
+
#
|
12525
|
+
class Mqtt5Configuration < Struct.new(
|
12526
|
+
:propagating_attributes)
|
12527
|
+
SENSITIVE = []
|
12528
|
+
include Aws::Structure
|
12529
|
+
end
|
12530
|
+
|
12380
12531
|
# Specifies the MQTT context to use for the test authorizer request
|
12381
12532
|
#
|
12382
12533
|
# @!attribute [rw] username
|
@@ -12950,6 +13101,62 @@ module Aws::IoT
|
|
12950
13101
|
include Aws::Structure
|
12951
13102
|
end
|
12952
13103
|
|
13104
|
+
# An object that represents the thing and the type of relation it has
|
13105
|
+
# with the principal.
|
13106
|
+
#
|
13107
|
+
# @!attribute [rw] thing_name
|
13108
|
+
# The name of the thing.
|
13109
|
+
# @return [String]
|
13110
|
+
#
|
13111
|
+
# @!attribute [rw] thing_principal_type
|
13112
|
+
# The type of the relation you want to specify when you attach a
|
13113
|
+
# principal to a thing. The value defaults to `NON_EXCLUSIVE_THING`.
|
13114
|
+
#
|
13115
|
+
# * `EXCLUSIVE_THING` - Attaches the specified principal to the
|
13116
|
+
# specified thing, exclusively. The thing will be the only thing
|
13117
|
+
# that’s attached to the principal.
|
13118
|
+
#
|
13119
|
+
# ^
|
13120
|
+
# ^
|
13121
|
+
#
|
13122
|
+
# * `NON_EXCLUSIVE_THING` - Attaches the specified principal to the
|
13123
|
+
# specified thing. Multiple things can be attached to the principal.
|
13124
|
+
#
|
13125
|
+
# ^
|
13126
|
+
# @return [String]
|
13127
|
+
#
|
13128
|
+
class PrincipalThingObject < Struct.new(
|
13129
|
+
:thing_name,
|
13130
|
+
:thing_principal_type)
|
13131
|
+
SENSITIVE = []
|
13132
|
+
include Aws::Structure
|
13133
|
+
end
|
13134
|
+
|
13135
|
+
# An object that represents the connection attribute, thing attribute,
|
13136
|
+
# and the user property key.
|
13137
|
+
#
|
13138
|
+
# @!attribute [rw] user_property_key
|
13139
|
+
# The key of the user property key-value pair.
|
13140
|
+
# @return [String]
|
13141
|
+
#
|
13142
|
+
# @!attribute [rw] thing_attribute
|
13143
|
+
# The user-defined thing attribute that is propagating for MQTT 5
|
13144
|
+
# message enrichment.
|
13145
|
+
# @return [String]
|
13146
|
+
#
|
13147
|
+
# @!attribute [rw] connection_attribute
|
13148
|
+
# The attribute associated with the connection between a device and
|
13149
|
+
# Amazon Web Services IoT Core.
|
13150
|
+
# @return [String]
|
13151
|
+
#
|
13152
|
+
class PropagatingAttribute < Struct.new(
|
13153
|
+
:user_property_key,
|
13154
|
+
:thing_attribute,
|
13155
|
+
:connection_attribute)
|
13156
|
+
SENSITIVE = []
|
13157
|
+
include Aws::Structure
|
13158
|
+
end
|
13159
|
+
|
12953
13160
|
# Structure that contains `payloadVersion` and `targetArn`.
|
12954
13161
|
#
|
12955
13162
|
# @!attribute [rw] payload_version
|
@@ -14090,17 +14297,42 @@ module Aws::IoT
|
|
14090
14297
|
# A Boolean value that indicates whether Online Certificate Status
|
14091
14298
|
# Protocol (OCSP) server certificate check is enabled or not.
|
14092
14299
|
#
|
14093
|
-
# For more information, see [
|
14094
|
-
# stapling
|
14095
|
-
# Core Developer Guide.
|
14300
|
+
# For more information, see [ Server certificate configuration for
|
14301
|
+
# OCSP stapling][1] from Amazon Web Services IoT Core Developer Guide.
|
14096
14302
|
#
|
14097
14303
|
#
|
14098
14304
|
#
|
14099
14305
|
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-custom-endpoints-cert-config.html
|
14100
14306
|
# @return [Boolean]
|
14101
14307
|
#
|
14308
|
+
# @!attribute [rw] ocsp_lambda_arn
|
14309
|
+
# The Amazon Resource Name (ARN) for a Lambda function that acts as a
|
14310
|
+
# Request for Comments (RFC) 6960-compliant Online Certificate Status
|
14311
|
+
# Protocol (OCSP) responder, supporting basic OCSP responses. The
|
14312
|
+
# Lambda function accepts a JSON string that's Base64-encoded.
|
14313
|
+
# Therefore, you must convert your OCSP response, which is typically
|
14314
|
+
# in the Distinguished Encoding Rules (DER) format, into a JSON string
|
14315
|
+
# that's Base64-encoded. The Lambda function's response is also a
|
14316
|
+
# Base64-encoded JSON string and the response payload must not exceed
|
14317
|
+
# 8 kilobytes (KiB) in size. The Lambda function must be in the same
|
14318
|
+
# Amazon Web Services region and account as the domain configuration.
|
14319
|
+
# @return [String]
|
14320
|
+
#
|
14321
|
+
# @!attribute [rw] ocsp_authorized_responder_arn
|
14322
|
+
# The Amazon Resource Name (ARN) for an X.509 certificate stored in
|
14323
|
+
# Amazon Web Services Certificate Manager (ACM). If provided, Amazon
|
14324
|
+
# Web Services IoT Core will use this certificate to validate the
|
14325
|
+
# signature of the received OCSP response. The OCSP responder must
|
14326
|
+
# sign responses using either this authorized responder certificate or
|
14327
|
+
# the issuing certificate, depending on whether the ARN is provided or
|
14328
|
+
# not. The certificate must be in the same Amazon Web Services region
|
14329
|
+
# and account as the domain configuration.
|
14330
|
+
# @return [String]
|
14331
|
+
#
|
14102
14332
|
class ServerCertificateConfig < Struct.new(
|
14103
|
-
:enable_ocsp_check
|
14333
|
+
:enable_ocsp_check,
|
14334
|
+
:ocsp_lambda_arn,
|
14335
|
+
:ocsp_authorized_responder_arn)
|
14104
14336
|
SENSITIVE = []
|
14105
14337
|
include Aws::Structure
|
14106
14338
|
end
|
@@ -15376,6 +15608,37 @@ module Aws::IoT
|
|
15376
15608
|
include Aws::Structure
|
15377
15609
|
end
|
15378
15610
|
|
15611
|
+
# An object that represents the principal and the type of relation it
|
15612
|
+
# has with the thing.
|
15613
|
+
#
|
15614
|
+
# @!attribute [rw] principal
|
15615
|
+
# The principal of the thing principal object.
|
15616
|
+
# @return [String]
|
15617
|
+
#
|
15618
|
+
# @!attribute [rw] thing_principal_type
|
15619
|
+
# The type of the relation you want to specify when you attach a
|
15620
|
+
# principal to a thing. The value defaults to `NON_EXCLUSIVE_THING`.
|
15621
|
+
#
|
15622
|
+
# * `EXCLUSIVE_THING` - Attaches the specified principal to the
|
15623
|
+
# specified thing, exclusively. The thing will be the only thing
|
15624
|
+
# that’s attached to the principal.
|
15625
|
+
#
|
15626
|
+
# ^
|
15627
|
+
# ^
|
15628
|
+
#
|
15629
|
+
# * `NON_EXCLUSIVE_THING` - Attaches the specified principal to the
|
15630
|
+
# specified thing. Multiple things can be attached to the principal.
|
15631
|
+
#
|
15632
|
+
# ^
|
15633
|
+
# @return [String]
|
15634
|
+
#
|
15635
|
+
class ThingPrincipalObject < Struct.new(
|
15636
|
+
:principal,
|
15637
|
+
:thing_principal_type)
|
15638
|
+
SENSITIVE = []
|
15639
|
+
include Aws::Structure
|
15640
|
+
end
|
15641
|
+
|
15379
15642
|
# The definition of the thing type, including thing type name and
|
15380
15643
|
# description.
|
15381
15644
|
#
|
@@ -15445,9 +15708,15 @@ module Aws::IoT
|
|
15445
15708
|
# A list of searchable thing attribute names.
|
15446
15709
|
# @return [Array<String>]
|
15447
15710
|
#
|
15711
|
+
# @!attribute [rw] mqtt5_configuration
|
15712
|
+
# The configuration to add user-defined properties to enrich MQTT 5
|
15713
|
+
# messages.
|
15714
|
+
# @return [Types::Mqtt5Configuration]
|
15715
|
+
#
|
15448
15716
|
class ThingTypeProperties < Struct.new(
|
15449
15717
|
:thing_type_description,
|
15450
|
-
:searchable_attributes
|
15718
|
+
:searchable_attributes,
|
15719
|
+
:mqtt5_configuration)
|
15451
15720
|
SENSITIVE = []
|
15452
15721
|
include Aws::Structure
|
15453
15722
|
end
|
@@ -17383,6 +17652,25 @@ module Aws::IoT
|
|
17383
17652
|
#
|
17384
17653
|
class UpdateThingResponse < Aws::EmptyStructure; end
|
17385
17654
|
|
17655
|
+
# @!attribute [rw] thing_type_name
|
17656
|
+
# The name of a thing type.
|
17657
|
+
# @return [String]
|
17658
|
+
#
|
17659
|
+
# @!attribute [rw] thing_type_properties
|
17660
|
+
# The ThingTypeProperties contains information about the thing type
|
17661
|
+
# including: a thing type description, and a list of searchable thing
|
17662
|
+
# attribute names.
|
17663
|
+
# @return [Types::ThingTypeProperties]
|
17664
|
+
#
|
17665
|
+
class UpdateThingTypeRequest < Struct.new(
|
17666
|
+
:thing_type_name,
|
17667
|
+
:thing_type_properties)
|
17668
|
+
SENSITIVE = []
|
17669
|
+
include Aws::Structure
|
17670
|
+
end
|
17671
|
+
|
17672
|
+
class UpdateThingTypeResponse < Aws::EmptyStructure; end
|
17673
|
+
|
17386
17674
|
# @!attribute [rw] arn
|
17387
17675
|
# The ARN of the topic rule destination.
|
17388
17676
|
# @return [String]
|
data/lib/aws-sdk-iot.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -174,7 +174,8 @@ module Aws
|
|
174
174
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#attach_thing_principal-instance_method
|
175
175
|
def attach_thing_principal: (
|
176
176
|
thing_name: ::String,
|
177
|
-
principal: ::String
|
177
|
+
principal: ::String,
|
178
|
+
?thing_principal_type: ("EXCLUSIVE_THING" | "NON_EXCLUSIVE_THING")
|
178
179
|
) -> _AttachThingPrincipalResponseSuccess
|
179
180
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AttachThingPrincipalResponseSuccess
|
180
181
|
|
@@ -428,7 +429,9 @@ module Aws
|
|
428
429
|
security_policy: ::String?
|
429
430
|
},
|
430
431
|
?server_certificate_config: {
|
431
|
-
enable_ocsp_check: bool
|
432
|
+
enable_ocsp_check: bool?,
|
433
|
+
ocsp_lambda_arn: ::String?,
|
434
|
+
ocsp_authorized_responder_arn: ::String?
|
432
435
|
},
|
433
436
|
?authentication_type: ("CUSTOM_AUTH_X509" | "CUSTOM_AUTH" | "AWS_X509" | "AWS_SIGV4" | "DEFAULT"),
|
434
437
|
?application_protocol: ("SECURE_MQTT" | "MQTT_WSS" | "HTTPS" | "DEFAULT"),
|
@@ -1116,7 +1119,16 @@ module Aws
|
|
1116
1119
|
thing_type_name: ::String,
|
1117
1120
|
?thing_type_properties: {
|
1118
1121
|
thing_type_description: ::String?,
|
1119
|
-
searchable_attributes: Array[::String]
|
1122
|
+
searchable_attributes: Array[::String]?,
|
1123
|
+
mqtt5_configuration: {
|
1124
|
+
propagating_attributes: Array[
|
1125
|
+
{
|
1126
|
+
user_property_key: ::String?,
|
1127
|
+
thing_attribute: ::String?,
|
1128
|
+
connection_attribute: ::String?
|
1129
|
+
},
|
1130
|
+
]?
|
1131
|
+
}?
|
1120
1132
|
},
|
1121
1133
|
?tags: Array[
|
1122
1134
|
{
|
@@ -3254,6 +3266,20 @@ module Aws
|
|
3254
3266
|
) -> _ListPrincipalThingsResponseSuccess
|
3255
3267
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPrincipalThingsResponseSuccess
|
3256
3268
|
|
3269
|
+
interface _ListPrincipalThingsV2ResponseSuccess
|
3270
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPrincipalThingsV2Response]
|
3271
|
+
def principal_thing_objects: () -> ::Array[Types::PrincipalThingObject]
|
3272
|
+
def next_token: () -> ::String
|
3273
|
+
end
|
3274
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#list_principal_things_v2-instance_method
|
3275
|
+
def list_principal_things_v2: (
|
3276
|
+
?next_token: ::String,
|
3277
|
+
?max_results: ::Integer,
|
3278
|
+
principal: ::String,
|
3279
|
+
?thing_principal_type: ("EXCLUSIVE_THING" | "NON_EXCLUSIVE_THING")
|
3280
|
+
) -> _ListPrincipalThingsV2ResponseSuccess
|
3281
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPrincipalThingsV2ResponseSuccess
|
3282
|
+
|
3257
3283
|
interface _ListProvisioningTemplateVersionsResponseSuccess
|
3258
3284
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListProvisioningTemplateVersionsResponse]
|
3259
3285
|
def versions: () -> ::Array[Types::ProvisioningTemplateVersionSummary]
|
@@ -3452,6 +3478,20 @@ module Aws
|
|
3452
3478
|
) -> _ListThingPrincipalsResponseSuccess
|
3453
3479
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListThingPrincipalsResponseSuccess
|
3454
3480
|
|
3481
|
+
interface _ListThingPrincipalsV2ResponseSuccess
|
3482
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListThingPrincipalsV2Response]
|
3483
|
+
def thing_principal_objects: () -> ::Array[Types::ThingPrincipalObject]
|
3484
|
+
def next_token: () -> ::String
|
3485
|
+
end
|
3486
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#list_thing_principals_v2-instance_method
|
3487
|
+
def list_thing_principals_v2: (
|
3488
|
+
?next_token: ::String,
|
3489
|
+
?max_results: ::Integer,
|
3490
|
+
thing_name: ::String,
|
3491
|
+
?thing_principal_type: ("EXCLUSIVE_THING" | "NON_EXCLUSIVE_THING")
|
3492
|
+
) -> _ListThingPrincipalsV2ResponseSuccess
|
3493
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListThingPrincipalsV2ResponseSuccess
|
3494
|
+
|
3455
3495
|
interface _ListThingRegistrationTaskReportsResponseSuccess
|
3456
3496
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListThingRegistrationTaskReportsResponse]
|
3457
3497
|
def resource_links: () -> ::Array[::String]
|
@@ -4502,7 +4542,9 @@ module Aws
|
|
4502
4542
|
security_policy: ::String?
|
4503
4543
|
},
|
4504
4544
|
?server_certificate_config: {
|
4505
|
-
enable_ocsp_check: bool
|
4545
|
+
enable_ocsp_check: bool?,
|
4546
|
+
ocsp_lambda_arn: ::String?,
|
4547
|
+
ocsp_authorized_responder_arn: ::String?
|
4506
4548
|
},
|
4507
4549
|
?authentication_type: ("CUSTOM_AUTH_X509" | "CUSTOM_AUTH" | "AWS_X509" | "AWS_SIGV4" | "DEFAULT"),
|
4508
4550
|
?application_protocol: ("SECURE_MQTT" | "MQTT_WSS" | "HTTPS" | "DEFAULT"),
|
@@ -4931,6 +4973,28 @@ module Aws
|
|
4931
4973
|
) -> _UpdateThingGroupsForThingResponseSuccess
|
4932
4974
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateThingGroupsForThingResponseSuccess
|
4933
4975
|
|
4976
|
+
interface _UpdateThingTypeResponseSuccess
|
4977
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateThingTypeResponse]
|
4978
|
+
end
|
4979
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#update_thing_type-instance_method
|
4980
|
+
def update_thing_type: (
|
4981
|
+
thing_type_name: ::String,
|
4982
|
+
?thing_type_properties: {
|
4983
|
+
thing_type_description: ::String?,
|
4984
|
+
searchable_attributes: Array[::String]?,
|
4985
|
+
mqtt5_configuration: {
|
4986
|
+
propagating_attributes: Array[
|
4987
|
+
{
|
4988
|
+
user_property_key: ::String?,
|
4989
|
+
thing_attribute: ::String?,
|
4990
|
+
connection_attribute: ::String?
|
4991
|
+
},
|
4992
|
+
]?
|
4993
|
+
}?
|
4994
|
+
}
|
4995
|
+
) -> _UpdateThingTypeResponseSuccess
|
4996
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateThingTypeResponseSuccess
|
4997
|
+
|
4934
4998
|
interface _UpdateTopicRuleDestinationResponseSuccess
|
4935
4999
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTopicRuleDestinationResponse]
|
4936
5000
|
end
|
data/sig/types.rbs
CHANGED
@@ -190,6 +190,7 @@ module Aws::IoT
|
|
190
190
|
class AttachThingPrincipalRequest
|
191
191
|
attr_accessor thing_name: ::String
|
192
192
|
attr_accessor principal: ::String
|
193
|
+
attr_accessor thing_principal_type: ("EXCLUSIVE_THING" | "NON_EXCLUSIVE_THING")
|
193
194
|
SENSITIVE: []
|
194
195
|
end
|
195
196
|
|
@@ -3152,6 +3153,20 @@ module Aws::IoT
|
|
3152
3153
|
SENSITIVE: []
|
3153
3154
|
end
|
3154
3155
|
|
3156
|
+
class ListPrincipalThingsV2Request
|
3157
|
+
attr_accessor next_token: ::String
|
3158
|
+
attr_accessor max_results: ::Integer
|
3159
|
+
attr_accessor principal: ::String
|
3160
|
+
attr_accessor thing_principal_type: ("EXCLUSIVE_THING" | "NON_EXCLUSIVE_THING")
|
3161
|
+
SENSITIVE: []
|
3162
|
+
end
|
3163
|
+
|
3164
|
+
class ListPrincipalThingsV2Response
|
3165
|
+
attr_accessor principal_thing_objects: ::Array[Types::PrincipalThingObject]
|
3166
|
+
attr_accessor next_token: ::String
|
3167
|
+
SENSITIVE: []
|
3168
|
+
end
|
3169
|
+
|
3155
3170
|
class ListProvisioningTemplateVersionsRequest
|
3156
3171
|
attr_accessor template_name: ::String
|
3157
3172
|
attr_accessor max_results: ::Integer
|
@@ -3350,6 +3365,20 @@ module Aws::IoT
|
|
3350
3365
|
SENSITIVE: []
|
3351
3366
|
end
|
3352
3367
|
|
3368
|
+
class ListThingPrincipalsV2Request
|
3369
|
+
attr_accessor next_token: ::String
|
3370
|
+
attr_accessor max_results: ::Integer
|
3371
|
+
attr_accessor thing_name: ::String
|
3372
|
+
attr_accessor thing_principal_type: ("EXCLUSIVE_THING" | "NON_EXCLUSIVE_THING")
|
3373
|
+
SENSITIVE: []
|
3374
|
+
end
|
3375
|
+
|
3376
|
+
class ListThingPrincipalsV2Response
|
3377
|
+
attr_accessor thing_principal_objects: ::Array[Types::ThingPrincipalObject]
|
3378
|
+
attr_accessor next_token: ::String
|
3379
|
+
SENSITIVE: []
|
3380
|
+
end
|
3381
|
+
|
3353
3382
|
class ListThingRegistrationTaskReportsRequest
|
3354
3383
|
attr_accessor task_id: ::String
|
3355
3384
|
attr_accessor report_type: ("ERRORS" | "RESULTS")
|
@@ -3611,6 +3640,11 @@ module Aws::IoT
|
|
3611
3640
|
SENSITIVE: []
|
3612
3641
|
end
|
3613
3642
|
|
3643
|
+
class Mqtt5Configuration
|
3644
|
+
attr_accessor propagating_attributes: ::Array[Types::PropagatingAttribute]
|
3645
|
+
SENSITIVE: []
|
3646
|
+
end
|
3647
|
+
|
3614
3648
|
class MqttContext
|
3615
3649
|
attr_accessor username: ::String
|
3616
3650
|
attr_accessor password: ::String
|
@@ -3749,6 +3783,19 @@ module Aws::IoT
|
|
3749
3783
|
SENSITIVE: []
|
3750
3784
|
end
|
3751
3785
|
|
3786
|
+
class PrincipalThingObject
|
3787
|
+
attr_accessor thing_name: ::String
|
3788
|
+
attr_accessor thing_principal_type: ("EXCLUSIVE_THING" | "NON_EXCLUSIVE_THING")
|
3789
|
+
SENSITIVE: []
|
3790
|
+
end
|
3791
|
+
|
3792
|
+
class PropagatingAttribute
|
3793
|
+
attr_accessor user_property_key: ::String
|
3794
|
+
attr_accessor thing_attribute: ::String
|
3795
|
+
attr_accessor connection_attribute: ::String
|
3796
|
+
SENSITIVE: []
|
3797
|
+
end
|
3798
|
+
|
3752
3799
|
class ProvisioningHook
|
3753
3800
|
attr_accessor payload_version: ::String
|
3754
3801
|
attr_accessor target_arn: ::String
|
@@ -4074,6 +4121,8 @@ module Aws::IoT
|
|
4074
4121
|
|
4075
4122
|
class ServerCertificateConfig
|
4076
4123
|
attr_accessor enable_ocsp_check: bool
|
4124
|
+
attr_accessor ocsp_lambda_arn: ::String
|
4125
|
+
attr_accessor ocsp_authorized_responder_arn: ::String
|
4077
4126
|
SENSITIVE: []
|
4078
4127
|
end
|
4079
4128
|
|
@@ -4432,6 +4481,12 @@ module Aws::IoT
|
|
4432
4481
|
SENSITIVE: []
|
4433
4482
|
end
|
4434
4483
|
|
4484
|
+
class ThingPrincipalObject
|
4485
|
+
attr_accessor principal: ::String
|
4486
|
+
attr_accessor thing_principal_type: ("EXCLUSIVE_THING" | "NON_EXCLUSIVE_THING")
|
4487
|
+
SENSITIVE: []
|
4488
|
+
end
|
4489
|
+
|
4435
4490
|
class ThingTypeDefinition
|
4436
4491
|
attr_accessor thing_type_name: ::String
|
4437
4492
|
attr_accessor thing_type_arn: ::String
|
@@ -4450,6 +4505,7 @@ module Aws::IoT
|
|
4450
4505
|
class ThingTypeProperties
|
4451
4506
|
attr_accessor thing_type_description: ::String
|
4452
4507
|
attr_accessor searchable_attributes: ::Array[::String]
|
4508
|
+
attr_accessor mqtt5_configuration: Types::Mqtt5Configuration
|
4453
4509
|
SENSITIVE: []
|
4454
4510
|
end
|
4455
4511
|
|
@@ -4967,6 +5023,15 @@ module Aws::IoT
|
|
4967
5023
|
class UpdateThingResponse < Aws::EmptyStructure
|
4968
5024
|
end
|
4969
5025
|
|
5026
|
+
class UpdateThingTypeRequest
|
5027
|
+
attr_accessor thing_type_name: ::String
|
5028
|
+
attr_accessor thing_type_properties: Types::ThingTypeProperties
|
5029
|
+
SENSITIVE: []
|
5030
|
+
end
|
5031
|
+
|
5032
|
+
class UpdateThingTypeResponse < Aws::EmptyStructure
|
5033
|
+
end
|
5034
|
+
|
4970
5035
|
class UpdateTopicRuleDestinationRequest
|
4971
5036
|
attr_accessor arn: ::String
|
4972
5037
|
attr_accessor status: ("ENABLED" | "IN_PROGRESS" | "DISABLED" | "ERROR" | "DELETING")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-iot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.139.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|