aws-sdk-iot 1.38.0 → 1.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-iot.rb +1 -1
- data/lib/aws-sdk-iot/client.rb +148 -10
- data/lib/aws-sdk-iot/client_api.rb +98 -0
- data/lib/aws-sdk-iot/types.rb +246 -8
- 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: b48cacc2e154ba0af2840a52c76829aa636d4b04
|
4
|
+
data.tar.gz: d8da743c0bc8af4ac878d07c43e4df973e46d06e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d71b58a216142f1a3fdf7766bf3ab0ae7ee9dff11cf95d299821535b40aa9facbaf397feb8f7d09e06cccb31cbd6674f30b49fe7de0d6adc0cbcc4baa523239a
|
7
|
+
data.tar.gz: 792618c989b0532439a35baf37cbf257af037fa61b651dc03aa05d30c3bf25c1489c614bc74dfa3ac0ada24ea9d8a310a49e513ca5d68e1fd1d529db48d9af46
|
data/lib/aws-sdk-iot.rb
CHANGED
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -493,7 +493,8 @@ module Aws::IoT
|
|
493
493
|
# The name of the thing.
|
494
494
|
#
|
495
495
|
# @option params [required, String] :principal
|
496
|
-
# The principal,
|
496
|
+
# The principal, which can be a certificate ARN (as returned from the
|
497
|
+
# CreateCertificate operation) or an Amazon Cognito ID.
|
497
498
|
#
|
498
499
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
499
500
|
#
|
@@ -1595,11 +1596,7 @@ module Aws::IoT
|
|
1595
1596
|
# Creates a stream for delivering one or more large files in chunks over
|
1596
1597
|
# MQTT. A stream transports data bytes in chunks or blocks packaged as
|
1597
1598
|
# MQTT messages from a source like S3. You can have one or more files
|
1598
|
-
# associated with a stream.
|
1599
|
-
# stream cannot exceed more than 2 MB. The stream will be created with
|
1600
|
-
# version 0. If a stream is created with the same streamID as a stream
|
1601
|
-
# that existed and was deleted within last 90 days, we will resurrect
|
1602
|
-
# that old stream by incrementing the version by 1.
|
1599
|
+
# associated with a stream.
|
1603
1600
|
#
|
1604
1601
|
# @option params [required, String] :stream_id
|
1605
1602
|
# The stream ID.
|
@@ -3794,6 +3791,45 @@ module Aws::IoT
|
|
3794
3791
|
req.send_request(options)
|
3795
3792
|
end
|
3796
3793
|
|
3794
|
+
# Returns the number of things with distinct values for the aggregation
|
3795
|
+
# field.
|
3796
|
+
#
|
3797
|
+
# @option params [String] :index_name
|
3798
|
+
# The name of the index to search.
|
3799
|
+
#
|
3800
|
+
# @option params [required, String] :query_string
|
3801
|
+
# The search query.
|
3802
|
+
#
|
3803
|
+
# @option params [String] :aggregation_field
|
3804
|
+
# The field to aggregate.
|
3805
|
+
#
|
3806
|
+
# @option params [String] :query_version
|
3807
|
+
# The query version.
|
3808
|
+
#
|
3809
|
+
# @return [Types::GetCardinalityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3810
|
+
#
|
3811
|
+
# * {Types::GetCardinalityResponse#cardinality #cardinality} => Integer
|
3812
|
+
#
|
3813
|
+
# @example Request syntax with placeholder values
|
3814
|
+
#
|
3815
|
+
# resp = client.get_cardinality({
|
3816
|
+
# index_name: "IndexName",
|
3817
|
+
# query_string: "QueryString", # required
|
3818
|
+
# aggregation_field: "AggregationField",
|
3819
|
+
# query_version: "QueryVersion",
|
3820
|
+
# })
|
3821
|
+
#
|
3822
|
+
# @example Response structure
|
3823
|
+
#
|
3824
|
+
# resp.cardinality #=> Integer
|
3825
|
+
#
|
3826
|
+
# @overload get_cardinality(params = {})
|
3827
|
+
# @param [Hash] params ({})
|
3828
|
+
def get_cardinality(params = {}, options = {})
|
3829
|
+
req = build_request(:get_cardinality, params)
|
3830
|
+
req.send_request(options)
|
3831
|
+
end
|
3832
|
+
|
3797
3833
|
# Gets a list of the policies that have an effect on the authorization
|
3798
3834
|
# behavior of the specified device when it connects to the AWS IoT
|
3799
3835
|
# device gateway.
|
@@ -3844,7 +3880,19 @@ module Aws::IoT
|
|
3844
3880
|
#
|
3845
3881
|
# resp.thing_indexing_configuration.thing_indexing_mode #=> String, one of "OFF", "REGISTRY", "REGISTRY_AND_SHADOW"
|
3846
3882
|
# resp.thing_indexing_configuration.thing_connectivity_indexing_mode #=> String, one of "OFF", "STATUS"
|
3883
|
+
# resp.thing_indexing_configuration.managed_fields #=> Array
|
3884
|
+
# resp.thing_indexing_configuration.managed_fields[0].name #=> String
|
3885
|
+
# resp.thing_indexing_configuration.managed_fields[0].type #=> String, one of "Number", "String", "Boolean"
|
3886
|
+
# resp.thing_indexing_configuration.custom_fields #=> Array
|
3887
|
+
# resp.thing_indexing_configuration.custom_fields[0].name #=> String
|
3888
|
+
# resp.thing_indexing_configuration.custom_fields[0].type #=> String, one of "Number", "String", "Boolean"
|
3847
3889
|
# resp.thing_group_indexing_configuration.thing_group_indexing_mode #=> String, one of "OFF", "ON"
|
3890
|
+
# resp.thing_group_indexing_configuration.managed_fields #=> Array
|
3891
|
+
# resp.thing_group_indexing_configuration.managed_fields[0].name #=> String
|
3892
|
+
# resp.thing_group_indexing_configuration.managed_fields[0].type #=> String, one of "Number", "String", "Boolean"
|
3893
|
+
# resp.thing_group_indexing_configuration.custom_fields #=> Array
|
3894
|
+
# resp.thing_group_indexing_configuration.custom_fields[0].name #=> String
|
3895
|
+
# resp.thing_group_indexing_configuration.custom_fields[0].type #=> String, one of "Number", "String", "Boolean"
|
3848
3896
|
#
|
3849
3897
|
# @overload get_indexing_configuration(params = {})
|
3850
3898
|
# @param [Hash] params ({})
|
@@ -3964,6 +4012,53 @@ module Aws::IoT
|
|
3964
4012
|
req.send_request(options)
|
3965
4013
|
end
|
3966
4014
|
|
4015
|
+
# Returns the percentile values for the aggregation field. The results
|
4016
|
+
# from GetPercentiles is an approximation. The default percentile
|
4017
|
+
# groupings are: 1,5,25,50,75,95,99. You can specify custom percentile
|
4018
|
+
# grouping using the percents argument to the GetPercentiles API.
|
4019
|
+
#
|
4020
|
+
# @option params [String] :index_name
|
4021
|
+
# The name of the index to search.
|
4022
|
+
#
|
4023
|
+
# @option params [required, String] :query_string
|
4024
|
+
# The query string.
|
4025
|
+
#
|
4026
|
+
# @option params [String] :aggregation_field
|
4027
|
+
# The field to aggregate.
|
4028
|
+
#
|
4029
|
+
# @option params [String] :query_version
|
4030
|
+
# The query version.
|
4031
|
+
#
|
4032
|
+
# @option params [Array<Float>] :percents
|
4033
|
+
# The percentile groups returned.
|
4034
|
+
#
|
4035
|
+
# @return [Types::GetPercentilesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4036
|
+
#
|
4037
|
+
# * {Types::GetPercentilesResponse#percentiles #percentiles} => Array<Types::PercentPair>
|
4038
|
+
#
|
4039
|
+
# @example Request syntax with placeholder values
|
4040
|
+
#
|
4041
|
+
# resp = client.get_percentiles({
|
4042
|
+
# index_name: "IndexName",
|
4043
|
+
# query_string: "QueryString", # required
|
4044
|
+
# aggregation_field: "AggregationField",
|
4045
|
+
# query_version: "QueryVersion",
|
4046
|
+
# percents: [1.0],
|
4047
|
+
# })
|
4048
|
+
#
|
4049
|
+
# @example Response structure
|
4050
|
+
#
|
4051
|
+
# resp.percentiles #=> Array
|
4052
|
+
# resp.percentiles[0].percent #=> Float
|
4053
|
+
# resp.percentiles[0].value #=> Float
|
4054
|
+
#
|
4055
|
+
# @overload get_percentiles(params = {})
|
4056
|
+
# @param [Hash] params ({})
|
4057
|
+
def get_percentiles(params = {}, options = {})
|
4058
|
+
req = build_request(:get_percentiles, params)
|
4059
|
+
req.send_request(options)
|
4060
|
+
end
|
4061
|
+
|
3967
4062
|
# Gets information about the specified policy with the policy document
|
3968
4063
|
# of the default version.
|
3969
4064
|
#
|
@@ -4065,7 +4160,10 @@ module Aws::IoT
|
|
4065
4160
|
req.send_request(options)
|
4066
4161
|
end
|
4067
4162
|
|
4068
|
-
# Gets statistics
|
4163
|
+
# Gets statistics returns the count, average, sum, minimum, maximum,
|
4164
|
+
# sumOfSquares, variance, and standard deviation for the specified
|
4165
|
+
# aggregated field. If the aggregation field is of type String, only the
|
4166
|
+
# count statistic is returned.
|
4069
4167
|
#
|
4070
4168
|
# @option params [String] :index_name
|
4071
4169
|
# The name of the index to search. The default value is `AWS_Things`.
|
@@ -4075,7 +4173,7 @@ module Aws::IoT
|
|
4075
4173
|
# to get the count of all indexed things in your AWS account.
|
4076
4174
|
#
|
4077
4175
|
# @option params [String] :aggregation_field
|
4078
|
-
# The aggregation field name.
|
4176
|
+
# The aggregation field name.
|
4079
4177
|
#
|
4080
4178
|
# @option params [String] :query_version
|
4081
4179
|
# The version of the query used to search.
|
@@ -4096,6 +4194,13 @@ module Aws::IoT
|
|
4096
4194
|
# @example Response structure
|
4097
4195
|
#
|
4098
4196
|
# resp.statistics.count #=> Integer
|
4197
|
+
# resp.statistics.average #=> Float
|
4198
|
+
# resp.statistics.sum #=> Float
|
4199
|
+
# resp.statistics.minimum #=> Float
|
4200
|
+
# resp.statistics.maximum #=> Float
|
4201
|
+
# resp.statistics.sum_of_squares #=> Float
|
4202
|
+
# resp.statistics.variance #=> Float
|
4203
|
+
# resp.statistics.std_deviation #=> Float
|
4099
4204
|
#
|
4100
4205
|
# @overload get_statistics(params = {})
|
4101
4206
|
# @param [Hash] params ({})
|
@@ -6327,7 +6432,16 @@ module Aws::IoT
|
|
6327
6432
|
req.send_request(options)
|
6328
6433
|
end
|
6329
6434
|
|
6330
|
-
# Provisions a thing.
|
6435
|
+
# Provisions a thing in the device registry. RegisterThing calls other
|
6436
|
+
# AWS IoT control plane APIs. These calls might exceed your account
|
6437
|
+
# level [ AWS IoT Throttling Limits][1] and cause throttle errors.
|
6438
|
+
# Please contact [AWS Customer Support][2] to raise your throttling
|
6439
|
+
# limits if necessary.
|
6440
|
+
#
|
6441
|
+
#
|
6442
|
+
#
|
6443
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_iot
|
6444
|
+
# [2]: https://console.aws.amazon.com/support/home
|
6331
6445
|
#
|
6332
6446
|
# @option params [required, String] :template_body
|
6333
6447
|
# The provisioning template. See [Programmatic Provisioning][1] for more
|
@@ -7584,9 +7698,33 @@ module Aws::IoT
|
|
7584
7698
|
# thing_indexing_configuration: {
|
7585
7699
|
# thing_indexing_mode: "OFF", # required, accepts OFF, REGISTRY, REGISTRY_AND_SHADOW
|
7586
7700
|
# thing_connectivity_indexing_mode: "OFF", # accepts OFF, STATUS
|
7701
|
+
# managed_fields: [
|
7702
|
+
# {
|
7703
|
+
# name: "FieldName",
|
7704
|
+
# type: "Number", # accepts Number, String, Boolean
|
7705
|
+
# },
|
7706
|
+
# ],
|
7707
|
+
# custom_fields: [
|
7708
|
+
# {
|
7709
|
+
# name: "FieldName",
|
7710
|
+
# type: "Number", # accepts Number, String, Boolean
|
7711
|
+
# },
|
7712
|
+
# ],
|
7587
7713
|
# },
|
7588
7714
|
# thing_group_indexing_configuration: {
|
7589
7715
|
# thing_group_indexing_mode: "OFF", # required, accepts OFF, ON
|
7716
|
+
# managed_fields: [
|
7717
|
+
# {
|
7718
|
+
# name: "FieldName",
|
7719
|
+
# type: "Number", # accepts Number, String, Boolean
|
7720
|
+
# },
|
7721
|
+
# ],
|
7722
|
+
# custom_fields: [
|
7723
|
+
# {
|
7724
|
+
# name: "FieldName",
|
7725
|
+
# type: "Number", # accepts Number, String, Boolean
|
7726
|
+
# },
|
7727
|
+
# ],
|
7590
7728
|
# },
|
7591
7729
|
# })
|
7592
7730
|
#
|
@@ -8185,7 +8323,7 @@ module Aws::IoT
|
|
8185
8323
|
params: params,
|
8186
8324
|
config: config)
|
8187
8325
|
context[:gem_name] = 'aws-sdk-iot'
|
8188
|
-
context[:gem_version] = '1.
|
8326
|
+
context[:gem_version] = '1.39.0'
|
8189
8327
|
Seahorse::Client::Request.new(handlers, context)
|
8190
8328
|
end
|
8191
8329
|
|
@@ -95,6 +95,7 @@ module Aws::IoT
|
|
95
95
|
AuthorizerSummary = Shapes::StructureShape.new(name: 'AuthorizerSummary')
|
96
96
|
Authorizers = Shapes::ListShape.new(name: 'Authorizers')
|
97
97
|
AutoRegistrationStatus = Shapes::StringShape.new(name: 'AutoRegistrationStatus')
|
98
|
+
Average = Shapes::FloatShape.new(name: 'Average')
|
98
99
|
AwsAccountId = Shapes::StringShape.new(name: 'AwsAccountId')
|
99
100
|
AwsArn = Shapes::StringShape.new(name: 'AwsArn')
|
100
101
|
AwsIotJobArn = Shapes::StringShape.new(name: 'AwsIotJobArn')
|
@@ -355,6 +356,10 @@ module Aws::IoT
|
|
355
356
|
FailedChecksCount = Shapes::IntegerShape.new(name: 'FailedChecksCount')
|
356
357
|
FailedFindingsCount = Shapes::IntegerShape.new(name: 'FailedFindingsCount')
|
357
358
|
FailedThings = Shapes::IntegerShape.new(name: 'FailedThings')
|
359
|
+
Field = Shapes::StructureShape.new(name: 'Field')
|
360
|
+
FieldName = Shapes::StringShape.new(name: 'FieldName')
|
361
|
+
FieldType = Shapes::StringShape.new(name: 'FieldType')
|
362
|
+
Fields = Shapes::ListShape.new(name: 'Fields')
|
358
363
|
FileId = Shapes::IntegerShape.new(name: 'FileId')
|
359
364
|
FileLocation = Shapes::StructureShape.new(name: 'FileLocation')
|
360
365
|
FileName = Shapes::StringShape.new(name: 'FileName')
|
@@ -370,6 +375,8 @@ module Aws::IoT
|
|
370
375
|
FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
|
371
376
|
GEMaxResults = Shapes::IntegerShape.new(name: 'GEMaxResults')
|
372
377
|
GenerationId = Shapes::StringShape.new(name: 'GenerationId')
|
378
|
+
GetCardinalityRequest = Shapes::StructureShape.new(name: 'GetCardinalityRequest')
|
379
|
+
GetCardinalityResponse = Shapes::StructureShape.new(name: 'GetCardinalityResponse')
|
373
380
|
GetEffectivePoliciesRequest = Shapes::StructureShape.new(name: 'GetEffectivePoliciesRequest')
|
374
381
|
GetEffectivePoliciesResponse = Shapes::StructureShape.new(name: 'GetEffectivePoliciesResponse')
|
375
382
|
GetIndexingConfigurationRequest = Shapes::StructureShape.new(name: 'GetIndexingConfigurationRequest')
|
@@ -380,6 +387,8 @@ module Aws::IoT
|
|
380
387
|
GetLoggingOptionsResponse = Shapes::StructureShape.new(name: 'GetLoggingOptionsResponse')
|
381
388
|
GetOTAUpdateRequest = Shapes::StructureShape.new(name: 'GetOTAUpdateRequest')
|
382
389
|
GetOTAUpdateResponse = Shapes::StructureShape.new(name: 'GetOTAUpdateResponse')
|
390
|
+
GetPercentilesRequest = Shapes::StructureShape.new(name: 'GetPercentilesRequest')
|
391
|
+
GetPercentilesResponse = Shapes::StructureShape.new(name: 'GetPercentilesResponse')
|
383
392
|
GetPolicyRequest = Shapes::StructureShape.new(name: 'GetPolicyRequest')
|
384
393
|
GetPolicyResponse = Shapes::StructureShape.new(name: 'GetPolicyResponse')
|
385
394
|
GetPolicyVersionRequest = Shapes::StructureShape.new(name: 'GetPolicyVersionRequest')
|
@@ -548,11 +557,13 @@ module Aws::IoT
|
|
548
557
|
Marker = Shapes::StringShape.new(name: 'Marker')
|
549
558
|
MaxJobExecutionsPerMin = Shapes::IntegerShape.new(name: 'MaxJobExecutionsPerMin')
|
550
559
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
560
|
+
Maximum = Shapes::FloatShape.new(name: 'Maximum')
|
551
561
|
MaximumPerMinute = Shapes::IntegerShape.new(name: 'MaximumPerMinute')
|
552
562
|
Message = Shapes::StringShape.new(name: 'Message')
|
553
563
|
MessageFormat = Shapes::StringShape.new(name: 'MessageFormat')
|
554
564
|
MessageId = Shapes::StringShape.new(name: 'MessageId')
|
555
565
|
MetricValue = Shapes::StructureShape.new(name: 'MetricValue')
|
566
|
+
Minimum = Shapes::FloatShape.new(name: 'Minimum')
|
556
567
|
MinimumNumberOfExecutedThings = Shapes::IntegerShape.new(name: 'MinimumNumberOfExecutedThings')
|
557
568
|
MissingContextValue = Shapes::StringShape.new(name: 'MissingContextValue')
|
558
569
|
MissingContextValues = Shapes::ListShape.new(name: 'MissingContextValues')
|
@@ -592,7 +603,12 @@ module Aws::IoT
|
|
592
603
|
Parameters = Shapes::MapShape.new(name: 'Parameters')
|
593
604
|
PartitionKey = Shapes::StringShape.new(name: 'PartitionKey')
|
594
605
|
PayloadField = Shapes::StringShape.new(name: 'PayloadField')
|
606
|
+
Percent = Shapes::FloatShape.new(name: 'Percent')
|
607
|
+
PercentList = Shapes::ListShape.new(name: 'PercentList')
|
608
|
+
PercentPair = Shapes::StructureShape.new(name: 'PercentPair')
|
609
|
+
PercentValue = Shapes::FloatShape.new(name: 'PercentValue')
|
595
610
|
Percentage = Shapes::IntegerShape.new(name: 'Percentage')
|
611
|
+
Percentiles = Shapes::ListShape.new(name: 'Percentiles')
|
596
612
|
Platform = Shapes::StringShape.new(name: 'Platform')
|
597
613
|
Policies = Shapes::ListShape.new(name: 'Policies')
|
598
614
|
Policy = Shapes::StructureShape.new(name: 'Policy')
|
@@ -747,6 +763,7 @@ module Aws::IoT
|
|
747
763
|
StatisticalThreshold = Shapes::StructureShape.new(name: 'StatisticalThreshold')
|
748
764
|
Statistics = Shapes::StructureShape.new(name: 'Statistics')
|
749
765
|
Status = Shapes::StringShape.new(name: 'Status')
|
766
|
+
StdDeviation = Shapes::FloatShape.new(name: 'StdDeviation')
|
750
767
|
StepFunctionsAction = Shapes::StructureShape.new(name: 'StepFunctionsAction')
|
751
768
|
StopThingRegistrationTaskRequest = Shapes::StructureShape.new(name: 'StopThingRegistrationTaskRequest')
|
752
769
|
StopThingRegistrationTaskResponse = Shapes::StructureShape.new(name: 'StopThingRegistrationTaskResponse')
|
@@ -765,6 +782,8 @@ module Aws::IoT
|
|
765
782
|
StringMap = Shapes::MapShape.new(name: 'StringMap')
|
766
783
|
SucceededFindingsCount = Shapes::IntegerShape.new(name: 'SucceededFindingsCount')
|
767
784
|
SucceededThings = Shapes::IntegerShape.new(name: 'SucceededThings')
|
785
|
+
Sum = Shapes::FloatShape.new(name: 'Sum')
|
786
|
+
SumOfSquares = Shapes::FloatShape.new(name: 'SumOfSquares')
|
768
787
|
TableName = Shapes::StringShape.new(name: 'TableName')
|
769
788
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
770
789
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
@@ -888,6 +907,7 @@ module Aws::IoT
|
|
888
907
|
ValidationError = Shapes::StructureShape.new(name: 'ValidationError')
|
889
908
|
ValidationErrors = Shapes::ListShape.new(name: 'ValidationErrors')
|
890
909
|
Value = Shapes::StringShape.new(name: 'Value')
|
910
|
+
Variance = Shapes::FloatShape.new(name: 'Variance')
|
891
911
|
Version = Shapes::IntegerShape.new(name: 'Version')
|
892
912
|
VersionConflictException = Shapes::StructureShape.new(name: 'VersionConflictException')
|
893
913
|
VersionNumber = Shapes::IntegerShape.new(name: 'VersionNumber')
|
@@ -1913,6 +1933,12 @@ module Aws::IoT
|
|
1913
1933
|
ExponentialRolloutRate.add_member(:rate_increase_criteria, Shapes::ShapeRef.new(shape: RateIncreaseCriteria, required: true, location_name: "rateIncreaseCriteria"))
|
1914
1934
|
ExponentialRolloutRate.struct_class = Types::ExponentialRolloutRate
|
1915
1935
|
|
1936
|
+
Field.add_member(:name, Shapes::ShapeRef.new(shape: FieldName, location_name: "name"))
|
1937
|
+
Field.add_member(:type, Shapes::ShapeRef.new(shape: FieldType, location_name: "type"))
|
1938
|
+
Field.struct_class = Types::Field
|
1939
|
+
|
1940
|
+
Fields.member = Shapes::ShapeRef.new(shape: Field)
|
1941
|
+
|
1916
1942
|
FileLocation.add_member(:stream, Shapes::ShapeRef.new(shape: Stream, location_name: "stream"))
|
1917
1943
|
FileLocation.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "s3Location"))
|
1918
1944
|
FileLocation.struct_class = Types::FileLocation
|
@@ -1924,6 +1950,15 @@ module Aws::IoT
|
|
1924
1950
|
FirehoseAction.add_member(:separator, Shapes::ShapeRef.new(shape: FirehoseSeparator, location_name: "separator"))
|
1925
1951
|
FirehoseAction.struct_class = Types::FirehoseAction
|
1926
1952
|
|
1953
|
+
GetCardinalityRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
|
1954
|
+
GetCardinalityRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "queryString"))
|
1955
|
+
GetCardinalityRequest.add_member(:aggregation_field, Shapes::ShapeRef.new(shape: AggregationField, location_name: "aggregationField"))
|
1956
|
+
GetCardinalityRequest.add_member(:query_version, Shapes::ShapeRef.new(shape: QueryVersion, location_name: "queryVersion"))
|
1957
|
+
GetCardinalityRequest.struct_class = Types::GetCardinalityRequest
|
1958
|
+
|
1959
|
+
GetCardinalityResponse.add_member(:cardinality, Shapes::ShapeRef.new(shape: Count, location_name: "cardinality"))
|
1960
|
+
GetCardinalityResponse.struct_class = Types::GetCardinalityResponse
|
1961
|
+
|
1927
1962
|
GetEffectivePoliciesRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, location_name: "principal"))
|
1928
1963
|
GetEffectivePoliciesRequest.add_member(:cognito_identity_pool_id, Shapes::ShapeRef.new(shape: CognitoIdentityPoolId, location_name: "cognitoIdentityPoolId"))
|
1929
1964
|
GetEffectivePoliciesRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, location: "querystring", location_name: "thingName"))
|
@@ -1956,6 +1991,16 @@ module Aws::IoT
|
|
1956
1991
|
GetOTAUpdateResponse.add_member(:ota_update_info, Shapes::ShapeRef.new(shape: OTAUpdateInfo, location_name: "otaUpdateInfo"))
|
1957
1992
|
GetOTAUpdateResponse.struct_class = Types::GetOTAUpdateResponse
|
1958
1993
|
|
1994
|
+
GetPercentilesRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
|
1995
|
+
GetPercentilesRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "queryString"))
|
1996
|
+
GetPercentilesRequest.add_member(:aggregation_field, Shapes::ShapeRef.new(shape: AggregationField, location_name: "aggregationField"))
|
1997
|
+
GetPercentilesRequest.add_member(:query_version, Shapes::ShapeRef.new(shape: QueryVersion, location_name: "queryVersion"))
|
1998
|
+
GetPercentilesRequest.add_member(:percents, Shapes::ShapeRef.new(shape: PercentList, location_name: "percents"))
|
1999
|
+
GetPercentilesRequest.struct_class = Types::GetPercentilesRequest
|
2000
|
+
|
2001
|
+
GetPercentilesResponse.add_member(:percentiles, Shapes::ShapeRef.new(shape: Percentiles, location_name: "percentiles"))
|
2002
|
+
GetPercentilesResponse.struct_class = Types::GetPercentilesResponse
|
2003
|
+
|
1959
2004
|
GetPolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
|
1960
2005
|
GetPolicyRequest.struct_class = Types::GetPolicyRequest
|
1961
2006
|
|
@@ -2666,6 +2711,14 @@ module Aws::IoT
|
|
2666
2711
|
Parameters.key = Shapes::ShapeRef.new(shape: Parameter)
|
2667
2712
|
Parameters.value = Shapes::ShapeRef.new(shape: Value)
|
2668
2713
|
|
2714
|
+
PercentList.member = Shapes::ShapeRef.new(shape: Percent)
|
2715
|
+
|
2716
|
+
PercentPair.add_member(:percent, Shapes::ShapeRef.new(shape: Percent, location_name: "percent"))
|
2717
|
+
PercentPair.add_member(:value, Shapes::ShapeRef.new(shape: PercentValue, location_name: "value"))
|
2718
|
+
PercentPair.struct_class = Types::PercentPair
|
2719
|
+
|
2720
|
+
Percentiles.member = Shapes::ShapeRef.new(shape: PercentPair)
|
2721
|
+
|
2669
2722
|
Policies.member = Shapes::ShapeRef.new(shape: Policy)
|
2670
2723
|
|
2671
2724
|
Policy.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, location_name: "policyName"))
|
@@ -2966,6 +3019,13 @@ module Aws::IoT
|
|
2966
3019
|
StatisticalThreshold.struct_class = Types::StatisticalThreshold
|
2967
3020
|
|
2968
3021
|
Statistics.add_member(:count, Shapes::ShapeRef.new(shape: Count, location_name: "count"))
|
3022
|
+
Statistics.add_member(:average, Shapes::ShapeRef.new(shape: Average, location_name: "average", metadata: {"box"=>true}))
|
3023
|
+
Statistics.add_member(:sum, Shapes::ShapeRef.new(shape: Sum, location_name: "sum", metadata: {"box"=>true}))
|
3024
|
+
Statistics.add_member(:minimum, Shapes::ShapeRef.new(shape: Minimum, location_name: "minimum", metadata: {"box"=>true}))
|
3025
|
+
Statistics.add_member(:maximum, Shapes::ShapeRef.new(shape: Maximum, location_name: "maximum", metadata: {"box"=>true}))
|
3026
|
+
Statistics.add_member(:sum_of_squares, Shapes::ShapeRef.new(shape: SumOfSquares, location_name: "sumOfSquares", metadata: {"box"=>true}))
|
3027
|
+
Statistics.add_member(:variance, Shapes::ShapeRef.new(shape: Variance, location_name: "variance", metadata: {"box"=>true}))
|
3028
|
+
Statistics.add_member(:std_deviation, Shapes::ShapeRef.new(shape: StdDeviation, location_name: "stdDeviation", metadata: {"box"=>true}))
|
2969
3029
|
Statistics.struct_class = Types::Statistics
|
2970
3030
|
|
2971
3031
|
StepFunctionsAction.add_member(:execution_name_prefix, Shapes::ShapeRef.new(shape: ExecutionNamePrefix, location_name: "executionNamePrefix"))
|
@@ -3105,6 +3165,8 @@ module Aws::IoT
|
|
3105
3165
|
ThingGroupDocumentList.member = Shapes::ShapeRef.new(shape: ThingGroupDocument)
|
3106
3166
|
|
3107
3167
|
ThingGroupIndexingConfiguration.add_member(:thing_group_indexing_mode, Shapes::ShapeRef.new(shape: ThingGroupIndexingMode, required: true, location_name: "thingGroupIndexingMode"))
|
3168
|
+
ThingGroupIndexingConfiguration.add_member(:managed_fields, Shapes::ShapeRef.new(shape: Fields, location_name: "managedFields"))
|
3169
|
+
ThingGroupIndexingConfiguration.add_member(:custom_fields, Shapes::ShapeRef.new(shape: Fields, location_name: "customFields"))
|
3108
3170
|
ThingGroupIndexingConfiguration.struct_class = Types::ThingGroupIndexingConfiguration
|
3109
3171
|
|
3110
3172
|
ThingGroupList.member = Shapes::ShapeRef.new(shape: ThingGroupName)
|
@@ -3126,6 +3188,8 @@ module Aws::IoT
|
|
3126
3188
|
|
3127
3189
|
ThingIndexingConfiguration.add_member(:thing_indexing_mode, Shapes::ShapeRef.new(shape: ThingIndexingMode, required: true, location_name: "thingIndexingMode"))
|
3128
3190
|
ThingIndexingConfiguration.add_member(:thing_connectivity_indexing_mode, Shapes::ShapeRef.new(shape: ThingConnectivityIndexingMode, location_name: "thingConnectivityIndexingMode"))
|
3191
|
+
ThingIndexingConfiguration.add_member(:managed_fields, Shapes::ShapeRef.new(shape: Fields, location_name: "managedFields"))
|
3192
|
+
ThingIndexingConfiguration.add_member(:custom_fields, Shapes::ShapeRef.new(shape: Fields, location_name: "customFields"))
|
3129
3193
|
ThingIndexingConfiguration.struct_class = Types::ThingIndexingConfiguration
|
3130
3194
|
|
3131
3195
|
ThingNameList.member = Shapes::ShapeRef.new(shape: ThingName)
|
@@ -4542,6 +4606,23 @@ module Aws::IoT
|
|
4542
4606
|
o.errors << Shapes::ShapeRef.new(shape: ConflictingResourceUpdateException)
|
4543
4607
|
end)
|
4544
4608
|
|
4609
|
+
api.add_operation(:get_cardinality, Seahorse::Model::Operation.new.tap do |o|
|
4610
|
+
o.name = "GetCardinality"
|
4611
|
+
o.http_method = "POST"
|
4612
|
+
o.http_request_uri = "/indices/cardinality"
|
4613
|
+
o.input = Shapes::ShapeRef.new(shape: GetCardinalityRequest)
|
4614
|
+
o.output = Shapes::ShapeRef.new(shape: GetCardinalityResponse)
|
4615
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
4616
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
4617
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
4618
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
4619
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
4620
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
4621
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidQueryException)
|
4622
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAggregationException)
|
4623
|
+
o.errors << Shapes::ShapeRef.new(shape: IndexNotReadyException)
|
4624
|
+
end)
|
4625
|
+
|
4545
4626
|
api.add_operation(:get_effective_policies, Seahorse::Model::Operation.new.tap do |o|
|
4546
4627
|
o.name = "GetEffectivePolicies"
|
4547
4628
|
o.http_method = "POST"
|
@@ -4607,6 +4688,23 @@ module Aws::IoT
|
|
4607
4688
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
4608
4689
|
end)
|
4609
4690
|
|
4691
|
+
api.add_operation(:get_percentiles, Seahorse::Model::Operation.new.tap do |o|
|
4692
|
+
o.name = "GetPercentiles"
|
4693
|
+
o.http_method = "POST"
|
4694
|
+
o.http_request_uri = "/indices/percentiles"
|
4695
|
+
o.input = Shapes::ShapeRef.new(shape: GetPercentilesRequest)
|
4696
|
+
o.output = Shapes::ShapeRef.new(shape: GetPercentilesResponse)
|
4697
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
4698
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
4699
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
4700
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
4701
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
4702
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
4703
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidQueryException)
|
4704
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAggregationException)
|
4705
|
+
o.errors << Shapes::ShapeRef.new(shape: IndexNotReadyException)
|
4706
|
+
end)
|
4707
|
+
|
4610
4708
|
api.add_operation(:get_policy, Seahorse::Model::Operation.new.tap do |o|
|
4611
4709
|
o.name = "GetPolicy"
|
4612
4710
|
o.http_method = "GET"
|
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -614,7 +614,8 @@ module Aws::IoT
|
|
614
614
|
# @return [String]
|
615
615
|
#
|
616
616
|
# @!attribute [rw] principal
|
617
|
-
# The principal,
|
617
|
+
# The principal, which can be a certificate ARN (as returned from the
|
618
|
+
# CreateCertificate operation) or an Amazon Cognito ID.
|
618
619
|
# @return [String]
|
619
620
|
#
|
620
621
|
class AttachThingPrincipalRequest < Struct.new(
|
@@ -5503,6 +5504,30 @@ module Aws::IoT
|
|
5503
5504
|
include Aws::Structure
|
5504
5505
|
end
|
5505
5506
|
|
5507
|
+
# Describes the name and data type at a field.
|
5508
|
+
#
|
5509
|
+
# @note When making an API call, you may pass Field
|
5510
|
+
# data as a hash:
|
5511
|
+
#
|
5512
|
+
# {
|
5513
|
+
# name: "FieldName",
|
5514
|
+
# type: "Number", # accepts Number, String, Boolean
|
5515
|
+
# }
|
5516
|
+
#
|
5517
|
+
# @!attribute [rw] name
|
5518
|
+
# The name of the field.
|
5519
|
+
# @return [String]
|
5520
|
+
#
|
5521
|
+
# @!attribute [rw] type
|
5522
|
+
# The datatype of the field.
|
5523
|
+
# @return [String]
|
5524
|
+
#
|
5525
|
+
class Field < Struct.new(
|
5526
|
+
:name,
|
5527
|
+
:type)
|
5528
|
+
include Aws::Structure
|
5529
|
+
end
|
5530
|
+
|
5506
5531
|
# The location of the OTA update.
|
5507
5532
|
#
|
5508
5533
|
# @note When making an API call, you may pass FileLocation
|
@@ -5568,6 +5593,49 @@ module Aws::IoT
|
|
5568
5593
|
include Aws::Structure
|
5569
5594
|
end
|
5570
5595
|
|
5596
|
+
# @note When making an API call, you may pass GetCardinalityRequest
|
5597
|
+
# data as a hash:
|
5598
|
+
#
|
5599
|
+
# {
|
5600
|
+
# index_name: "IndexName",
|
5601
|
+
# query_string: "QueryString", # required
|
5602
|
+
# aggregation_field: "AggregationField",
|
5603
|
+
# query_version: "QueryVersion",
|
5604
|
+
# }
|
5605
|
+
#
|
5606
|
+
# @!attribute [rw] index_name
|
5607
|
+
# The name of the index to search.
|
5608
|
+
# @return [String]
|
5609
|
+
#
|
5610
|
+
# @!attribute [rw] query_string
|
5611
|
+
# The search query.
|
5612
|
+
# @return [String]
|
5613
|
+
#
|
5614
|
+
# @!attribute [rw] aggregation_field
|
5615
|
+
# The field to aggregate.
|
5616
|
+
# @return [String]
|
5617
|
+
#
|
5618
|
+
# @!attribute [rw] query_version
|
5619
|
+
# The query version.
|
5620
|
+
# @return [String]
|
5621
|
+
#
|
5622
|
+
class GetCardinalityRequest < Struct.new(
|
5623
|
+
:index_name,
|
5624
|
+
:query_string,
|
5625
|
+
:aggregation_field,
|
5626
|
+
:query_version)
|
5627
|
+
include Aws::Structure
|
5628
|
+
end
|
5629
|
+
|
5630
|
+
# @!attribute [rw] cardinality
|
5631
|
+
# The number of things that match the query.
|
5632
|
+
# @return [Integer]
|
5633
|
+
#
|
5634
|
+
class GetCardinalityResponse < Struct.new(
|
5635
|
+
:cardinality)
|
5636
|
+
include Aws::Structure
|
5637
|
+
end
|
5638
|
+
|
5571
5639
|
# @note When making an API call, you may pass GetEffectivePoliciesRequest
|
5572
5640
|
# data as a hash:
|
5573
5641
|
#
|
@@ -5695,6 +5763,55 @@ module Aws::IoT
|
|
5695
5763
|
include Aws::Structure
|
5696
5764
|
end
|
5697
5765
|
|
5766
|
+
# @note When making an API call, you may pass GetPercentilesRequest
|
5767
|
+
# data as a hash:
|
5768
|
+
#
|
5769
|
+
# {
|
5770
|
+
# index_name: "IndexName",
|
5771
|
+
# query_string: "QueryString", # required
|
5772
|
+
# aggregation_field: "AggregationField",
|
5773
|
+
# query_version: "QueryVersion",
|
5774
|
+
# percents: [1.0],
|
5775
|
+
# }
|
5776
|
+
#
|
5777
|
+
# @!attribute [rw] index_name
|
5778
|
+
# The name of the index to search.
|
5779
|
+
# @return [String]
|
5780
|
+
#
|
5781
|
+
# @!attribute [rw] query_string
|
5782
|
+
# The query string.
|
5783
|
+
# @return [String]
|
5784
|
+
#
|
5785
|
+
# @!attribute [rw] aggregation_field
|
5786
|
+
# The field to aggregate.
|
5787
|
+
# @return [String]
|
5788
|
+
#
|
5789
|
+
# @!attribute [rw] query_version
|
5790
|
+
# The query version.
|
5791
|
+
# @return [String]
|
5792
|
+
#
|
5793
|
+
# @!attribute [rw] percents
|
5794
|
+
# The percentile groups returned.
|
5795
|
+
# @return [Array<Float>]
|
5796
|
+
#
|
5797
|
+
class GetPercentilesRequest < Struct.new(
|
5798
|
+
:index_name,
|
5799
|
+
:query_string,
|
5800
|
+
:aggregation_field,
|
5801
|
+
:query_version,
|
5802
|
+
:percents)
|
5803
|
+
include Aws::Structure
|
5804
|
+
end
|
5805
|
+
|
5806
|
+
# @!attribute [rw] percentiles
|
5807
|
+
# The percentile values of the aggregated fields.
|
5808
|
+
# @return [Array<Types::PercentPair>]
|
5809
|
+
#
|
5810
|
+
class GetPercentilesResponse < Struct.new(
|
5811
|
+
:percentiles)
|
5812
|
+
include Aws::Structure
|
5813
|
+
end
|
5814
|
+
|
5698
5815
|
# The input for the GetPolicy operation.
|
5699
5816
|
#
|
5700
5817
|
# @note When making an API call, you may pass GetPolicyRequest
|
@@ -5801,11 +5918,11 @@ module Aws::IoT
|
|
5801
5918
|
# @return [Boolean]
|
5802
5919
|
#
|
5803
5920
|
# @!attribute [rw] creation_date
|
5804
|
-
# The date the policy
|
5921
|
+
# The date the policy was created.
|
5805
5922
|
# @return [Time]
|
5806
5923
|
#
|
5807
5924
|
# @!attribute [rw] last_modified_date
|
5808
|
-
# The date the policy
|
5925
|
+
# The date the policy was last modified.
|
5809
5926
|
# @return [Time]
|
5810
5927
|
#
|
5811
5928
|
# @!attribute [rw] generation_id
|
@@ -5861,7 +5978,7 @@ module Aws::IoT
|
|
5861
5978
|
# @return [String]
|
5862
5979
|
#
|
5863
5980
|
# @!attribute [rw] aggregation_field
|
5864
|
-
# The aggregation field name.
|
5981
|
+
# The aggregation field name.
|
5865
5982
|
# @return [String]
|
5866
5983
|
#
|
5867
5984
|
# @!attribute [rw] query_version
|
@@ -9205,6 +9322,22 @@ module Aws::IoT
|
|
9205
9322
|
include Aws::Structure
|
9206
9323
|
end
|
9207
9324
|
|
9325
|
+
# Describes the percentile and percentile value.
|
9326
|
+
#
|
9327
|
+
# @!attribute [rw] percent
|
9328
|
+
# The percentile.
|
9329
|
+
# @return [Float]
|
9330
|
+
#
|
9331
|
+
# @!attribute [rw] value
|
9332
|
+
# The value.
|
9333
|
+
# @return [Float]
|
9334
|
+
#
|
9335
|
+
class PercentPair < Struct.new(
|
9336
|
+
:percent,
|
9337
|
+
:value)
|
9338
|
+
include Aws::Structure
|
9339
|
+
end
|
9340
|
+
|
9208
9341
|
# Describes an AWS IoT policy.
|
9209
9342
|
#
|
9210
9343
|
# @!attribute [rw] policy_name
|
@@ -9938,7 +10071,7 @@ module Aws::IoT
|
|
9938
10071
|
#
|
9939
10072
|
# @!attribute [rw] qos
|
9940
10073
|
# The Quality of Service (QoS) level to use when republishing
|
9941
|
-
# messages.
|
10074
|
+
# messages. The default value is 0.
|
9942
10075
|
# @return [Integer]
|
9943
10076
|
#
|
9944
10077
|
class RepublishAction < Struct.new(
|
@@ -10811,8 +10944,43 @@ module Aws::IoT
|
|
10811
10944
|
# The count of things that match the query.
|
10812
10945
|
# @return [Integer]
|
10813
10946
|
#
|
10947
|
+
# @!attribute [rw] average
|
10948
|
+
# The average of the aggregated field values.
|
10949
|
+
# @return [Float]
|
10950
|
+
#
|
10951
|
+
# @!attribute [rw] sum
|
10952
|
+
# The sum of the aggregated field values.
|
10953
|
+
# @return [Float]
|
10954
|
+
#
|
10955
|
+
# @!attribute [rw] minimum
|
10956
|
+
# The minimum aggregated field value.
|
10957
|
+
# @return [Float]
|
10958
|
+
#
|
10959
|
+
# @!attribute [rw] maximum
|
10960
|
+
# The maximum aggregated field value.
|
10961
|
+
# @return [Float]
|
10962
|
+
#
|
10963
|
+
# @!attribute [rw] sum_of_squares
|
10964
|
+
# The sum of the squares of the aggregated field values.
|
10965
|
+
# @return [Float]
|
10966
|
+
#
|
10967
|
+
# @!attribute [rw] variance
|
10968
|
+
# The variance of the aggregated field values.
|
10969
|
+
# @return [Float]
|
10970
|
+
#
|
10971
|
+
# @!attribute [rw] std_deviation
|
10972
|
+
# The standard deviation of the aggregated field valuesl
|
10973
|
+
# @return [Float]
|
10974
|
+
#
|
10814
10975
|
class Statistics < Struct.new(
|
10815
|
-
:count
|
10976
|
+
:count,
|
10977
|
+
:average,
|
10978
|
+
:sum,
|
10979
|
+
:minimum,
|
10980
|
+
:maximum,
|
10981
|
+
:sum_of_squares,
|
10982
|
+
:variance,
|
10983
|
+
:std_deviation)
|
10816
10984
|
include Aws::Structure
|
10817
10985
|
end
|
10818
10986
|
|
@@ -11390,14 +11558,37 @@ module Aws::IoT
|
|
11390
11558
|
#
|
11391
11559
|
# {
|
11392
11560
|
# thing_group_indexing_mode: "OFF", # required, accepts OFF, ON
|
11561
|
+
# managed_fields: [
|
11562
|
+
# {
|
11563
|
+
# name: "FieldName",
|
11564
|
+
# type: "Number", # accepts Number, String, Boolean
|
11565
|
+
# },
|
11566
|
+
# ],
|
11567
|
+
# custom_fields: [
|
11568
|
+
# {
|
11569
|
+
# name: "FieldName",
|
11570
|
+
# type: "Number", # accepts Number, String, Boolean
|
11571
|
+
# },
|
11572
|
+
# ],
|
11393
11573
|
# }
|
11394
11574
|
#
|
11395
11575
|
# @!attribute [rw] thing_group_indexing_mode
|
11396
11576
|
# Thing group indexing mode.
|
11397
11577
|
# @return [String]
|
11398
11578
|
#
|
11579
|
+
# @!attribute [rw] managed_fields
|
11580
|
+
# Contains fields that are indexed and whose types are already known
|
11581
|
+
# by the Fleet Indexing service.
|
11582
|
+
# @return [Array<Types::Field>]
|
11583
|
+
#
|
11584
|
+
# @!attribute [rw] custom_fields
|
11585
|
+
# Contains custom field names and their data type.
|
11586
|
+
# @return [Array<Types::Field>]
|
11587
|
+
#
|
11399
11588
|
class ThingGroupIndexingConfiguration < Struct.new(
|
11400
|
-
:thing_group_indexing_mode
|
11589
|
+
:thing_group_indexing_mode,
|
11590
|
+
:managed_fields,
|
11591
|
+
:custom_fields)
|
11401
11592
|
include Aws::Structure
|
11402
11593
|
end
|
11403
11594
|
|
@@ -11464,6 +11655,18 @@ module Aws::IoT
|
|
11464
11655
|
# {
|
11465
11656
|
# thing_indexing_mode: "OFF", # required, accepts OFF, REGISTRY, REGISTRY_AND_SHADOW
|
11466
11657
|
# thing_connectivity_indexing_mode: "OFF", # accepts OFF, STATUS
|
11658
|
+
# managed_fields: [
|
11659
|
+
# {
|
11660
|
+
# name: "FieldName",
|
11661
|
+
# type: "Number", # accepts Number, String, Boolean
|
11662
|
+
# },
|
11663
|
+
# ],
|
11664
|
+
# custom_fields: [
|
11665
|
+
# {
|
11666
|
+
# name: "FieldName",
|
11667
|
+
# type: "Number", # accepts Number, String, Boolean
|
11668
|
+
# },
|
11669
|
+
# ],
|
11467
11670
|
# }
|
11468
11671
|
#
|
11469
11672
|
# @!attribute [rw] thing_indexing_mode
|
@@ -11487,9 +11690,20 @@ module Aws::IoT
|
|
11487
11690
|
# * OFF - Thing connectivity status indexing is disabled.
|
11488
11691
|
# @return [String]
|
11489
11692
|
#
|
11693
|
+
# @!attribute [rw] managed_fields
|
11694
|
+
# Contains fields that are indexed and whose types are already known
|
11695
|
+
# by the Fleet Indexing service.
|
11696
|
+
# @return [Array<Types::Field>]
|
11697
|
+
#
|
11698
|
+
# @!attribute [rw] custom_fields
|
11699
|
+
# Contains custom field names and their data type.
|
11700
|
+
# @return [Array<Types::Field>]
|
11701
|
+
#
|
11490
11702
|
class ThingIndexingConfiguration < Struct.new(
|
11491
11703
|
:thing_indexing_mode,
|
11492
|
-
:thing_connectivity_indexing_mode
|
11704
|
+
:thing_connectivity_indexing_mode,
|
11705
|
+
:managed_fields,
|
11706
|
+
:custom_fields)
|
11493
11707
|
include Aws::Structure
|
11494
11708
|
end
|
11495
11709
|
|
@@ -12439,9 +12653,33 @@ module Aws::IoT
|
|
12439
12653
|
# thing_indexing_configuration: {
|
12440
12654
|
# thing_indexing_mode: "OFF", # required, accepts OFF, REGISTRY, REGISTRY_AND_SHADOW
|
12441
12655
|
# thing_connectivity_indexing_mode: "OFF", # accepts OFF, STATUS
|
12656
|
+
# managed_fields: [
|
12657
|
+
# {
|
12658
|
+
# name: "FieldName",
|
12659
|
+
# type: "Number", # accepts Number, String, Boolean
|
12660
|
+
# },
|
12661
|
+
# ],
|
12662
|
+
# custom_fields: [
|
12663
|
+
# {
|
12664
|
+
# name: "FieldName",
|
12665
|
+
# type: "Number", # accepts Number, String, Boolean
|
12666
|
+
# },
|
12667
|
+
# ],
|
12442
12668
|
# },
|
12443
12669
|
# thing_group_indexing_configuration: {
|
12444
12670
|
# thing_group_indexing_mode: "OFF", # required, accepts OFF, ON
|
12671
|
+
# managed_fields: [
|
12672
|
+
# {
|
12673
|
+
# name: "FieldName",
|
12674
|
+
# type: "Number", # accepts Number, String, Boolean
|
12675
|
+
# },
|
12676
|
+
# ],
|
12677
|
+
# custom_fields: [
|
12678
|
+
# {
|
12679
|
+
# name: "FieldName",
|
12680
|
+
# type: "Number", # accepts Number, String, Boolean
|
12681
|
+
# },
|
12682
|
+
# ],
|
12445
12683
|
# },
|
12446
12684
|
# }
|
12447
12685
|
#
|
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.39.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: 2019-
|
11
|
+
date: 2019-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|