aws-sdk-iot 1.137.0 → 1.139.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iot/client.rb +224 -9
- data/lib/aws-sdk-iot/client_api.rb +123 -0
- data/lib/aws-sdk-iot/types.rb +305 -17
- data/lib/aws-sdk-iot.rb +1 -1
- data/sig/client.rbs +68 -4
- data/sig/types.rbs +65 -0
- metadata +2 -2
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
|
@@ -692,7 +710,7 @@ module Aws::IoT
|
|
692
710
|
# A JSON string containing up to three key-value pair in JSON format.
|
693
711
|
# For example:
|
694
712
|
#
|
695
|
-
#
|
713
|
+
# `{"attributes":{"string1":"string2"}}`
|
696
714
|
# @return [Hash<String,String>]
|
697
715
|
#
|
698
716
|
# @!attribute [rw] merge
|
@@ -4196,7 +4214,7 @@ module Aws::IoT
|
|
4196
4214
|
# The attribute payload, which consists of up to three name/value
|
4197
4215
|
# pairs in a JSON document. For example:
|
4198
4216
|
#
|
4199
|
-
#
|
4217
|
+
# `{"attributes":{"string1":"string2"}}`
|
4200
4218
|
# @return [Types::AttributePayload]
|
4201
4219
|
#
|
4202
4220
|
# @!attribute [rw] billing_group_name
|
@@ -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
|
@@ -7121,17 +7139,17 @@ module Aws::IoT
|
|
7121
7139
|
#
|
7122
7140
|
# The `hashKeyValue` and `rangeKeyvalue` fields use a substitution
|
7123
7141
|
# template syntax. These templates provide data at runtime. The syntax
|
7124
|
-
# is as follows:
|
7142
|
+
# is as follows: $\{*sql-expression*}.
|
7125
7143
|
#
|
7126
7144
|
# You can specify any valid expression in a WHERE or SELECT clause,
|
7127
7145
|
# including JSON properties, comparisons, calculations, and functions.
|
7128
7146
|
# For example, the following field uses the third level of the topic:
|
7129
7147
|
#
|
7130
|
-
# `"hashKeyValue": "
|
7148
|
+
# `"hashKeyValue": "${topic(3)}"`
|
7131
7149
|
#
|
7132
7150
|
# The following field uses the timestamp:
|
7133
7151
|
#
|
7134
|
-
# `"rangeKeyValue": "
|
7152
|
+
# `"rangeKeyValue": "${timestamp()}"`
|
7135
7153
|
#
|
7136
7154
|
# @!attribute [rw] table_name
|
7137
7155
|
# The name of the DynamoDB table.
|
@@ -7143,7 +7161,7 @@ module Aws::IoT
|
|
7143
7161
|
#
|
7144
7162
|
# @!attribute [rw] operation
|
7145
7163
|
# The type of operation to be performed. This follows the substitution
|
7146
|
-
# template, so it can be
|
7164
|
+
# template, so it can be `${operation}`, but the substitution must
|
7147
7165
|
# result in one of the following: `INSERT`, `UPDATE`, or `DELETE`.
|
7148
7166
|
# @return [String]
|
7149
7167
|
#
|
@@ -7203,8 +7221,8 @@ module Aws::IoT
|
|
7203
7221
|
# Specifies the DynamoDB table to which the message data will be
|
7204
7222
|
# written. For example:
|
7205
7223
|
#
|
7206
|
-
#
|
7207
|
-
#
|
7224
|
+
# `{ "dynamoDBv2": { "roleArn": "aws:iam:12341251:my-role" "putItem":
|
7225
|
+
# { "tableName": "my-table" } } }`
|
7208
7226
|
#
|
7209
7227
|
# Each attribute in the message payload will be written to a separate
|
7210
7228
|
# column in the DynamoDB database.
|
@@ -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
|
@@ -17351,7 +17620,7 @@ module Aws::IoT
|
|
17351
17620
|
# A list of thing attributes, a JSON string containing name-value
|
17352
17621
|
# pairs. For example:
|
17353
17622
|
#
|
17354
|
-
#
|
17623
|
+
# `{"attributes":{"name1":"value2"}}`
|
17355
17624
|
#
|
17356
17625
|
# This data is used to add new attributes or update existing
|
17357
17626
|
# attributes.
|
@@ -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
|