aws-sdk-iot 1.11.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-iot.rb +1 -1
- data/lib/aws-sdk-iot/client.rb +21 -3
- data/lib/aws-sdk-iot/client_api.rb +20 -1
- data/lib/aws-sdk-iot/types.rb +74 -6
- 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: 6eddea6d1676a67b6e99db6998022e78472aeec5
|
4
|
+
data.tar.gz: 7f5c4a2982f348f84bf7d000b2aa4a428f8d8e02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53c75de2598d731f1ffe764018199627916a54a93ecaf005a97e6b1b34f6f3ecca013305990dd854ecf5bb0a211925ae3b37093345a2aefe6d9b7a4dd695349e
|
7
|
+
data.tar.gz: 78fae9e84a051edbbc857e80c7e7f27c57828949d11403fa24d66fd68e77f4dea0cc92ed84f7a723f636ae4874a044b5b7f2dfe0e4fa3003c4a8e13aa0baba02
|
data/lib/aws-sdk-iot.rb
CHANGED
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -2271,7 +2271,8 @@ module Aws::IoT
|
|
2271
2271
|
# Returns a unique endpoint specific to the AWS account making the call.
|
2272
2272
|
#
|
2273
2273
|
# @option params [String] :endpoint_type
|
2274
|
-
# The endpoint type
|
2274
|
+
# The endpoint type (such as `iot:Data`, `iot:CredentialProvider` and
|
2275
|
+
# `iot:Jobs`).
|
2275
2276
|
#
|
2276
2277
|
# @return [Types::DescribeEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2277
2278
|
#
|
@@ -2956,10 +2957,12 @@ module Aws::IoT
|
|
2956
2957
|
# @return [Types::GetIndexingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2957
2958
|
#
|
2958
2959
|
# * {Types::GetIndexingConfigurationResponse#thing_indexing_configuration #thing_indexing_configuration} => Types::ThingIndexingConfiguration
|
2960
|
+
# * {Types::GetIndexingConfigurationResponse#thing_group_indexing_configuration #thing_group_indexing_configuration} => Types::ThingGroupIndexingConfiguration
|
2959
2961
|
#
|
2960
2962
|
# @example Response structure
|
2961
2963
|
#
|
2962
2964
|
# resp.thing_indexing_configuration.thing_indexing_mode #=> String, one of "OFF", "REGISTRY", "REGISTRY_AND_SHADOW"
|
2965
|
+
# resp.thing_group_indexing_configuration.thing_group_indexing_mode #=> String, one of "OFF", "ON"
|
2963
2966
|
#
|
2964
2967
|
# @overload get_indexing_configuration(params = {})
|
2965
2968
|
# @param [Hash] params ({})
|
@@ -5452,6 +5455,7 @@ module Aws::IoT
|
|
5452
5455
|
#
|
5453
5456
|
# * {Types::SearchIndexResponse#next_token #next_token} => String
|
5454
5457
|
# * {Types::SearchIndexResponse#things #things} => Array<Types::ThingDocument>
|
5458
|
+
# * {Types::SearchIndexResponse#thing_groups #thing_groups} => Array<Types::ThingGroupDocument>
|
5455
5459
|
#
|
5456
5460
|
# @example Request syntax with placeholder values
|
5457
5461
|
#
|
@@ -5475,6 +5479,14 @@ module Aws::IoT
|
|
5475
5479
|
# resp.things[0].attributes #=> Hash
|
5476
5480
|
# resp.things[0].attributes["AttributeName"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
5477
5481
|
# resp.things[0].shadow #=> String
|
5482
|
+
# resp.thing_groups #=> Array
|
5483
|
+
# resp.thing_groups[0].thing_group_name #=> String
|
5484
|
+
# resp.thing_groups[0].thing_group_id #=> String
|
5485
|
+
# resp.thing_groups[0].thing_group_description #=> String
|
5486
|
+
# resp.thing_groups[0].attributes #=> Hash
|
5487
|
+
# resp.thing_groups[0].attributes["AttributeName"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
5488
|
+
# resp.thing_groups[0].parent_group_names #=> Array
|
5489
|
+
# resp.thing_groups[0].parent_group_names[0] #=> String
|
5478
5490
|
#
|
5479
5491
|
# @overload search_index(params = {})
|
5480
5492
|
# @param [Hash] params ({})
|
@@ -6087,13 +6099,19 @@ module Aws::IoT
|
|
6087
6099
|
# @option params [Types::ThingIndexingConfiguration] :thing_indexing_configuration
|
6088
6100
|
# Thing indexing configuration.
|
6089
6101
|
#
|
6102
|
+
# @option params [Types::ThingGroupIndexingConfiguration] :thing_group_indexing_configuration
|
6103
|
+
# Thing group indexing configuration.
|
6104
|
+
#
|
6090
6105
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
6091
6106
|
#
|
6092
6107
|
# @example Request syntax with placeholder values
|
6093
6108
|
#
|
6094
6109
|
# resp = client.update_indexing_configuration({
|
6095
6110
|
# thing_indexing_configuration: {
|
6096
|
-
# thing_indexing_mode: "OFF", # accepts OFF, REGISTRY, REGISTRY_AND_SHADOW
|
6111
|
+
# thing_indexing_mode: "OFF", # required, accepts OFF, REGISTRY, REGISTRY_AND_SHADOW
|
6112
|
+
# },
|
6113
|
+
# thing_group_indexing_configuration: {
|
6114
|
+
# thing_group_indexing_mode: "OFF", # required, accepts OFF, ON
|
6097
6115
|
# },
|
6098
6116
|
# })
|
6099
6117
|
#
|
@@ -6518,7 +6536,7 @@ module Aws::IoT
|
|
6518
6536
|
params: params,
|
6519
6537
|
config: config)
|
6520
6538
|
context[:gem_name] = 'aws-sdk-iot'
|
6521
|
-
context[:gem_version] = '1.
|
6539
|
+
context[:gem_version] = '1.12.0'
|
6522
6540
|
Seahorse::Client::Request.new(handlers, context)
|
6523
6541
|
end
|
6524
6542
|
|
@@ -652,7 +652,11 @@ module Aws::IoT
|
|
652
652
|
ThingDocumentList = Shapes::ListShape.new(name: 'ThingDocumentList')
|
653
653
|
ThingGroupArn = Shapes::StringShape.new(name: 'ThingGroupArn')
|
654
654
|
ThingGroupDescription = Shapes::StringShape.new(name: 'ThingGroupDescription')
|
655
|
+
ThingGroupDocument = Shapes::StructureShape.new(name: 'ThingGroupDocument')
|
656
|
+
ThingGroupDocumentList = Shapes::ListShape.new(name: 'ThingGroupDocumentList')
|
655
657
|
ThingGroupId = Shapes::StringShape.new(name: 'ThingGroupId')
|
658
|
+
ThingGroupIndexingConfiguration = Shapes::StructureShape.new(name: 'ThingGroupIndexingConfiguration')
|
659
|
+
ThingGroupIndexingMode = Shapes::StringShape.new(name: 'ThingGroupIndexingMode')
|
656
660
|
ThingGroupList = Shapes::ListShape.new(name: 'ThingGroupList')
|
657
661
|
ThingGroupMetadata = Shapes::StructureShape.new(name: 'ThingGroupMetadata')
|
658
662
|
ThingGroupName = Shapes::StringShape.new(name: 'ThingGroupName')
|
@@ -1541,6 +1545,7 @@ module Aws::IoT
|
|
1541
1545
|
GetIndexingConfigurationRequest.struct_class = Types::GetIndexingConfigurationRequest
|
1542
1546
|
|
1543
1547
|
GetIndexingConfigurationResponse.add_member(:thing_indexing_configuration, Shapes::ShapeRef.new(shape: ThingIndexingConfiguration, location_name: "thingIndexingConfiguration"))
|
1548
|
+
GetIndexingConfigurationResponse.add_member(:thing_group_indexing_configuration, Shapes::ShapeRef.new(shape: ThingGroupIndexingConfiguration, location_name: "thingGroupIndexingConfiguration"))
|
1544
1549
|
GetIndexingConfigurationResponse.struct_class = Types::GetIndexingConfigurationResponse
|
1545
1550
|
|
1546
1551
|
GetJobDocumentRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
|
@@ -2293,6 +2298,7 @@ module Aws::IoT
|
|
2293
2298
|
|
2294
2299
|
SearchIndexResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
2295
2300
|
SearchIndexResponse.add_member(:things, Shapes::ShapeRef.new(shape: ThingDocumentList, location_name: "things"))
|
2301
|
+
SearchIndexResponse.add_member(:thing_groups, Shapes::ShapeRef.new(shape: ThingGroupDocumentList, location_name: "thingGroups"))
|
2296
2302
|
SearchIndexResponse.struct_class = Types::SearchIndexResponse
|
2297
2303
|
|
2298
2304
|
SearchableAttributes.member = Shapes::ShapeRef.new(shape: AttributeName)
|
@@ -2462,6 +2468,18 @@ module Aws::IoT
|
|
2462
2468
|
|
2463
2469
|
ThingDocumentList.member = Shapes::ShapeRef.new(shape: ThingDocument)
|
2464
2470
|
|
2471
|
+
ThingGroupDocument.add_member(:thing_group_name, Shapes::ShapeRef.new(shape: ThingGroupName, location_name: "thingGroupName"))
|
2472
|
+
ThingGroupDocument.add_member(:thing_group_id, Shapes::ShapeRef.new(shape: ThingGroupId, location_name: "thingGroupId"))
|
2473
|
+
ThingGroupDocument.add_member(:thing_group_description, Shapes::ShapeRef.new(shape: ThingGroupDescription, location_name: "thingGroupDescription"))
|
2474
|
+
ThingGroupDocument.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "attributes"))
|
2475
|
+
ThingGroupDocument.add_member(:parent_group_names, Shapes::ShapeRef.new(shape: ThingGroupNameList, location_name: "parentGroupNames"))
|
2476
|
+
ThingGroupDocument.struct_class = Types::ThingGroupDocument
|
2477
|
+
|
2478
|
+
ThingGroupDocumentList.member = Shapes::ShapeRef.new(shape: ThingGroupDocument)
|
2479
|
+
|
2480
|
+
ThingGroupIndexingConfiguration.add_member(:thing_group_indexing_mode, Shapes::ShapeRef.new(shape: ThingGroupIndexingMode, required: true, location_name: "thingGroupIndexingMode"))
|
2481
|
+
ThingGroupIndexingConfiguration.struct_class = Types::ThingGroupIndexingConfiguration
|
2482
|
+
|
2465
2483
|
ThingGroupList.member = Shapes::ShapeRef.new(shape: ThingGroupName)
|
2466
2484
|
|
2467
2485
|
ThingGroupMetadata.add_member(:parent_group_name, Shapes::ShapeRef.new(shape: ThingGroupName, location_name: "parentGroupName"))
|
@@ -2477,7 +2495,7 @@ module Aws::IoT
|
|
2477
2495
|
ThingGroupProperties.add_member(:attribute_payload, Shapes::ShapeRef.new(shape: AttributePayload, location_name: "attributePayload"))
|
2478
2496
|
ThingGroupProperties.struct_class = Types::ThingGroupProperties
|
2479
2497
|
|
2480
|
-
ThingIndexingConfiguration.add_member(:thing_indexing_mode, Shapes::ShapeRef.new(shape: ThingIndexingMode, location_name: "thingIndexingMode"))
|
2498
|
+
ThingIndexingConfiguration.add_member(:thing_indexing_mode, Shapes::ShapeRef.new(shape: ThingIndexingMode, required: true, location_name: "thingIndexingMode"))
|
2481
2499
|
ThingIndexingConfiguration.struct_class = Types::ThingIndexingConfiguration
|
2482
2500
|
|
2483
2501
|
ThingNameList.member = Shapes::ShapeRef.new(shape: ThingName)
|
@@ -2576,6 +2594,7 @@ module Aws::IoT
|
|
2576
2594
|
UpdateEventConfigurationsResponse.struct_class = Types::UpdateEventConfigurationsResponse
|
2577
2595
|
|
2578
2596
|
UpdateIndexingConfigurationRequest.add_member(:thing_indexing_configuration, Shapes::ShapeRef.new(shape: ThingIndexingConfiguration, location_name: "thingIndexingConfiguration"))
|
2597
|
+
UpdateIndexingConfigurationRequest.add_member(:thing_group_indexing_configuration, Shapes::ShapeRef.new(shape: ThingGroupIndexingConfiguration, location_name: "thingGroupIndexingConfiguration"))
|
2579
2598
|
UpdateIndexingConfigurationRequest.struct_class = Types::UpdateIndexingConfigurationRequest
|
2580
2599
|
|
2581
2600
|
UpdateIndexingConfigurationResponse.struct_class = Types::UpdateIndexingConfigurationResponse
|
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -3279,7 +3279,8 @@ module Aws::IoT
|
|
3279
3279
|
# }
|
3280
3280
|
#
|
3281
3281
|
# @!attribute [rw] endpoint_type
|
3282
|
-
# The endpoint type
|
3282
|
+
# The endpoint type (such as `iot:Data`, `iot:CredentialProvider` and
|
3283
|
+
# `iot:Jobs`).
|
3283
3284
|
# @return [String]
|
3284
3285
|
#
|
3285
3286
|
class DescribeEndpointRequest < Struct.new(
|
@@ -4293,8 +4294,13 @@ module Aws::IoT
|
|
4293
4294
|
# Thing indexing configuration.
|
4294
4295
|
# @return [Types::ThingIndexingConfiguration]
|
4295
4296
|
#
|
4297
|
+
# @!attribute [rw] thing_group_indexing_configuration
|
4298
|
+
# The index configuration.
|
4299
|
+
# @return [Types::ThingGroupIndexingConfiguration]
|
4300
|
+
#
|
4296
4301
|
class GetIndexingConfigurationResponse < Struct.new(
|
4297
|
-
:thing_indexing_configuration
|
4302
|
+
:thing_indexing_configuration,
|
4303
|
+
:thing_group_indexing_configuration)
|
4298
4304
|
include Aws::Structure
|
4299
4305
|
end
|
4300
4306
|
|
@@ -8083,9 +8089,14 @@ module Aws::IoT
|
|
8083
8089
|
# The things that match the search query.
|
8084
8090
|
# @return [Array<Types::ThingDocument>]
|
8085
8091
|
#
|
8092
|
+
# @!attribute [rw] thing_groups
|
8093
|
+
# The thing groups that match the search query.
|
8094
|
+
# @return [Array<Types::ThingGroupDocument>]
|
8095
|
+
#
|
8086
8096
|
class SearchIndexResponse < Struct.new(
|
8087
8097
|
:next_token,
|
8088
|
-
:things
|
8098
|
+
:things,
|
8099
|
+
:thing_groups)
|
8089
8100
|
include Aws::Structure
|
8090
8101
|
end
|
8091
8102
|
|
@@ -8819,6 +8830,55 @@ module Aws::IoT
|
|
8819
8830
|
include Aws::Structure
|
8820
8831
|
end
|
8821
8832
|
|
8833
|
+
# The thing group search index document.
|
8834
|
+
#
|
8835
|
+
# @!attribute [rw] thing_group_name
|
8836
|
+
# The thing group name.
|
8837
|
+
# @return [String]
|
8838
|
+
#
|
8839
|
+
# @!attribute [rw] thing_group_id
|
8840
|
+
# The thing group ID.
|
8841
|
+
# @return [String]
|
8842
|
+
#
|
8843
|
+
# @!attribute [rw] thing_group_description
|
8844
|
+
# The thing group description.
|
8845
|
+
# @return [String]
|
8846
|
+
#
|
8847
|
+
# @!attribute [rw] attributes
|
8848
|
+
# The thing group attributes.
|
8849
|
+
# @return [Hash<String,String>]
|
8850
|
+
#
|
8851
|
+
# @!attribute [rw] parent_group_names
|
8852
|
+
# Parent group names.
|
8853
|
+
# @return [Array<String>]
|
8854
|
+
#
|
8855
|
+
class ThingGroupDocument < Struct.new(
|
8856
|
+
:thing_group_name,
|
8857
|
+
:thing_group_id,
|
8858
|
+
:thing_group_description,
|
8859
|
+
:attributes,
|
8860
|
+
:parent_group_names)
|
8861
|
+
include Aws::Structure
|
8862
|
+
end
|
8863
|
+
|
8864
|
+
# Thing group indexing configuration.
|
8865
|
+
#
|
8866
|
+
# @note When making an API call, you may pass ThingGroupIndexingConfiguration
|
8867
|
+
# data as a hash:
|
8868
|
+
#
|
8869
|
+
# {
|
8870
|
+
# thing_group_indexing_mode: "OFF", # required, accepts OFF, ON
|
8871
|
+
# }
|
8872
|
+
#
|
8873
|
+
# @!attribute [rw] thing_group_indexing_mode
|
8874
|
+
# Thing group indexing mode.
|
8875
|
+
# @return [String]
|
8876
|
+
#
|
8877
|
+
class ThingGroupIndexingConfiguration < Struct.new(
|
8878
|
+
:thing_group_indexing_mode)
|
8879
|
+
include Aws::Structure
|
8880
|
+
end
|
8881
|
+
|
8822
8882
|
# Thing group metadata.
|
8823
8883
|
#
|
8824
8884
|
# @!attribute [rw] parent_group_name
|
@@ -8875,7 +8935,7 @@ module Aws::IoT
|
|
8875
8935
|
# data as a hash:
|
8876
8936
|
#
|
8877
8937
|
# {
|
8878
|
-
# thing_indexing_mode: "OFF", # accepts OFF, REGISTRY, REGISTRY_AND_SHADOW
|
8938
|
+
# thing_indexing_mode: "OFF", # required, accepts OFF, REGISTRY, REGISTRY_AND_SHADOW
|
8879
8939
|
# }
|
8880
8940
|
#
|
8881
8941
|
# @!attribute [rw] thing_indexing_mode
|
@@ -9574,7 +9634,10 @@ module Aws::IoT
|
|
9574
9634
|
#
|
9575
9635
|
# {
|
9576
9636
|
# thing_indexing_configuration: {
|
9577
|
-
# thing_indexing_mode: "OFF", # accepts OFF, REGISTRY, REGISTRY_AND_SHADOW
|
9637
|
+
# thing_indexing_mode: "OFF", # required, accepts OFF, REGISTRY, REGISTRY_AND_SHADOW
|
9638
|
+
# },
|
9639
|
+
# thing_group_indexing_configuration: {
|
9640
|
+
# thing_group_indexing_mode: "OFF", # required, accepts OFF, ON
|
9578
9641
|
# },
|
9579
9642
|
# }
|
9580
9643
|
#
|
@@ -9582,8 +9645,13 @@ module Aws::IoT
|
|
9582
9645
|
# Thing indexing configuration.
|
9583
9646
|
# @return [Types::ThingIndexingConfiguration]
|
9584
9647
|
#
|
9648
|
+
# @!attribute [rw] thing_group_indexing_configuration
|
9649
|
+
# Thing group indexing configuration.
|
9650
|
+
# @return [Types::ThingGroupIndexingConfiguration]
|
9651
|
+
#
|
9585
9652
|
class UpdateIndexingConfigurationRequest < Struct.new(
|
9586
|
-
:thing_indexing_configuration
|
9653
|
+
:thing_indexing_configuration,
|
9654
|
+
:thing_group_indexing_configuration)
|
9587
9655
|
include Aws::Structure
|
9588
9656
|
end
|
9589
9657
|
|
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.12.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: 2018-
|
11
|
+
date: 2018-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|