aws-sdk-iot 1.4.0 → 1.5.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 +57 -13
- data/lib/aws-sdk-iot/client_api.rb +8 -0
- data/lib/aws-sdk-iot/types.rb +118 -14
- 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: 505840f950de611d60fa52dc7ac0b76bb7dcd8f5
|
4
|
+
data.tar.gz: 98edfb5b9008fe06fb4c53c43ea3e14749135eca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a2b99328b4173081b830e1438dac89dc738c3d9d9210fb660f9b93e01e43e51188658327903c75db92fee85b4fdb26a034292d6e83807dee379bb94444287b7
|
7
|
+
data.tar.gz: 68ccd3d23d42faef623e399fb52427fd4a0d64d126e50d918103b04e89e2864f9ec1c26c92fe1b5041e1c7e46fa276b6e07958e9ad78b8b5f070d8c1158e075b
|
data/lib/aws-sdk-iot.rb
CHANGED
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -152,7 +152,8 @@ module Aws::IoT
|
|
152
152
|
# enumerate your certificates.
|
153
153
|
#
|
154
154
|
# @option params [required, String] :certificate_id
|
155
|
-
# The ID of the certificate.
|
155
|
+
# The ID of the certificate. (The last part of the certificate ARN
|
156
|
+
# contains the certificate ID.)
|
156
157
|
#
|
157
158
|
# @option params [Boolean] :set_as_active
|
158
159
|
# Specifies whether the certificate is active.
|
@@ -342,7 +343,8 @@ module Aws::IoT
|
|
342
343
|
# certificate changes from PENDING\_TRANSFER to INACTIVE.
|
343
344
|
#
|
344
345
|
# @option params [required, String] :certificate_id
|
345
|
-
# The ID of the certificate.
|
346
|
+
# The ID of the certificate. (The last part of the certificate ARN
|
347
|
+
# contains the certificate ID.)
|
346
348
|
#
|
347
349
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
348
350
|
#
|
@@ -939,7 +941,7 @@ module Aws::IoT
|
|
939
941
|
req.send_request(options)
|
940
942
|
end
|
941
943
|
|
942
|
-
# Creates a thing record in the
|
944
|
+
# Creates a thing record in the registry.
|
943
945
|
#
|
944
946
|
# @option params [required, String] :thing_name
|
945
947
|
# The name of the thing to create.
|
@@ -1167,6 +1169,11 @@ module Aws::IoT
|
|
1167
1169
|
# token: "SalesforceToken", # required
|
1168
1170
|
# url: "SalesforceEndpoint", # required
|
1169
1171
|
# },
|
1172
|
+
# iot_analytics: {
|
1173
|
+
# channel_arn: "AwsArn",
|
1174
|
+
# channel_name: "ChannelName",
|
1175
|
+
# role_arn: "AwsArn",
|
1176
|
+
# },
|
1170
1177
|
# },
|
1171
1178
|
# ],
|
1172
1179
|
# rule_disabled: false,
|
@@ -1248,6 +1255,11 @@ module Aws::IoT
|
|
1248
1255
|
# token: "SalesforceToken", # required
|
1249
1256
|
# url: "SalesforceEndpoint", # required
|
1250
1257
|
# },
|
1258
|
+
# iot_analytics: {
|
1259
|
+
# channel_arn: "AwsArn",
|
1260
|
+
# channel_name: "ChannelName",
|
1261
|
+
# role_arn: "AwsArn",
|
1262
|
+
# },
|
1251
1263
|
# },
|
1252
1264
|
# },
|
1253
1265
|
# })
|
@@ -1282,7 +1294,8 @@ module Aws::IoT
|
|
1282
1294
|
# Deletes a registered CA certificate.
|
1283
1295
|
#
|
1284
1296
|
# @option params [required, String] :certificate_id
|
1285
|
-
# The ID of the certificate to delete.
|
1297
|
+
# The ID of the certificate to delete. (The last part of the certificate
|
1298
|
+
# ARN contains the certificate ID.)
|
1286
1299
|
#
|
1287
1300
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1288
1301
|
#
|
@@ -1307,7 +1320,8 @@ module Aws::IoT
|
|
1307
1320
|
# UpdateCertificate API to set the certificate to the INACTIVE status.
|
1308
1321
|
#
|
1309
1322
|
# @option params [required, String] :certificate_id
|
1310
|
-
# The ID of the certificate.
|
1323
|
+
# The ID of the certificate. (The last part of the certificate ARN
|
1324
|
+
# contains the certificate ID.)
|
1311
1325
|
#
|
1312
1326
|
# @option params [Boolean] :force_delete
|
1313
1327
|
# Forces a certificate request to be deleted.
|
@@ -1681,7 +1695,8 @@ module Aws::IoT
|
|
1681
1695
|
# Gets information about the specified certificate.
|
1682
1696
|
#
|
1683
1697
|
# @option params [required, String] :certificate_id
|
1684
|
-
# The ID of the certificate.
|
1698
|
+
# The ID of the certificate. (The last part of the certificate ARN
|
1699
|
+
# contains the certificate ID.)
|
1685
1700
|
#
|
1686
1701
|
# @return [Types::DescribeCertificateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1687
1702
|
#
|
@@ -2602,6 +2617,9 @@ module Aws::IoT
|
|
2602
2617
|
# resp.rule.actions[0].elasticsearch.id #=> String
|
2603
2618
|
# resp.rule.actions[0].salesforce.token #=> String
|
2604
2619
|
# resp.rule.actions[0].salesforce.url #=> String
|
2620
|
+
# resp.rule.actions[0].iot_analytics.channel_arn #=> String
|
2621
|
+
# resp.rule.actions[0].iot_analytics.channel_name #=> String
|
2622
|
+
# resp.rule.actions[0].iot_analytics.role_arn #=> String
|
2605
2623
|
# resp.rule.rule_disabled #=> Boolean
|
2606
2624
|
# resp.rule.aws_iot_sql_version #=> String
|
2607
2625
|
# resp.rule.error_action.dynamo_db.table_name #=> String
|
@@ -2652,6 +2670,9 @@ module Aws::IoT
|
|
2652
2670
|
# resp.rule.error_action.elasticsearch.id #=> String
|
2653
2671
|
# resp.rule.error_action.salesforce.token #=> String
|
2654
2672
|
# resp.rule.error_action.salesforce.url #=> String
|
2673
|
+
# resp.rule.error_action.iot_analytics.channel_arn #=> String
|
2674
|
+
# resp.rule.error_action.iot_analytics.channel_name #=> String
|
2675
|
+
# resp.rule.error_action.iot_analytics.role_arn #=> String
|
2655
2676
|
#
|
2656
2677
|
# @overload get_topic_rule(params = {})
|
2657
2678
|
# @param [Hash] params ({})
|
@@ -3095,7 +3116,7 @@ module Aws::IoT
|
|
3095
3116
|
# The maximum number of results to return at one time.
|
3096
3117
|
#
|
3097
3118
|
# @option params [String] :next_token
|
3098
|
-
# A token used to
|
3119
|
+
# A token used to retrieve the next set of results.
|
3099
3120
|
#
|
3100
3121
|
# @option params [String] :ota_update_status
|
3101
3122
|
# The OTA update job status.
|
@@ -4016,10 +4037,20 @@ module Aws::IoT
|
|
4016
4037
|
# Provisions a thing.
|
4017
4038
|
#
|
4018
4039
|
# @option params [required, String] :template_body
|
4019
|
-
# The provisioning template.
|
4040
|
+
# The provisioning template. See [Programmatic Provisioning][1] for more
|
4041
|
+
# information.
|
4042
|
+
#
|
4043
|
+
#
|
4044
|
+
#
|
4045
|
+
# [1]: http://docs.aws.amazon.com/iot/latest/developerguide/programmatic-provisioning.html
|
4020
4046
|
#
|
4021
4047
|
# @option params [Hash<String,String>] :parameters
|
4022
|
-
# The parameters for provisioning a thing.
|
4048
|
+
# The parameters for provisioning a thing. See [Programmatic
|
4049
|
+
# Provisioning][1] for more information.
|
4050
|
+
#
|
4051
|
+
#
|
4052
|
+
#
|
4053
|
+
# [1]: http://docs.aws.amazon.com/iot/latest/developerguide/programmatic-provisioning.html
|
4023
4054
|
#
|
4024
4055
|
# @return [Types::RegisterThingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4025
4056
|
#
|
@@ -4060,7 +4091,8 @@ module Aws::IoT
|
|
4060
4091
|
# account in the INACTIVE state.
|
4061
4092
|
#
|
4062
4093
|
# @option params [required, String] :certificate_id
|
4063
|
-
# The ID of the certificate.
|
4094
|
+
# The ID of the certificate. (The last part of the certificate ARN
|
4095
|
+
# contains the certificate ID.)
|
4064
4096
|
#
|
4065
4097
|
# @option params [String] :reject_reason
|
4066
4098
|
# The reason the certificate transfer was rejected.
|
@@ -4211,6 +4243,11 @@ module Aws::IoT
|
|
4211
4243
|
# token: "SalesforceToken", # required
|
4212
4244
|
# url: "SalesforceEndpoint", # required
|
4213
4245
|
# },
|
4246
|
+
# iot_analytics: {
|
4247
|
+
# channel_arn: "AwsArn",
|
4248
|
+
# channel_name: "ChannelName",
|
4249
|
+
# role_arn: "AwsArn",
|
4250
|
+
# },
|
4214
4251
|
# },
|
4215
4252
|
# ],
|
4216
4253
|
# rule_disabled: false,
|
@@ -4292,6 +4329,11 @@ module Aws::IoT
|
|
4292
4329
|
# token: "SalesforceToken", # required
|
4293
4330
|
# url: "SalesforceEndpoint", # required
|
4294
4331
|
# },
|
4332
|
+
# iot_analytics: {
|
4333
|
+
# channel_arn: "AwsArn",
|
4334
|
+
# channel_name: "ChannelName",
|
4335
|
+
# role_arn: "AwsArn",
|
4336
|
+
# },
|
4295
4337
|
# },
|
4296
4338
|
# },
|
4297
4339
|
# })
|
@@ -4677,7 +4719,8 @@ module Aws::IoT
|
|
4677
4719
|
# the DetachPrincipalPolicy API to detach them.
|
4678
4720
|
#
|
4679
4721
|
# @option params [required, String] :certificate_id
|
4680
|
-
# The ID of the certificate.
|
4722
|
+
# The ID of the certificate. (The last part of the certificate ARN
|
4723
|
+
# contains the certificate ID.)
|
4681
4724
|
#
|
4682
4725
|
# @option params [required, String] :target_aws_account
|
4683
4726
|
# The AWS account.
|
@@ -4808,7 +4851,8 @@ module Aws::IoT
|
|
4808
4851
|
# IoT using a certificate.
|
4809
4852
|
#
|
4810
4853
|
# @option params [required, String] :certificate_id
|
4811
|
-
# The ID of the certificate.
|
4854
|
+
# The ID of the certificate. (The last part of the certificate ARN
|
4855
|
+
# contains the certificate ID.)
|
4812
4856
|
#
|
4813
4857
|
# @option params [required, String] :new_status
|
4814
4858
|
# The new status.
|
@@ -5107,7 +5151,7 @@ module Aws::IoT
|
|
5107
5151
|
params: params,
|
5108
5152
|
config: config)
|
5109
5153
|
context[:gem_name] = 'aws-sdk-iot'
|
5110
|
-
context[:gem_version] = '1.
|
5154
|
+
context[:gem_version] = '1.5.0'
|
5111
5155
|
Seahorse::Client::Request.new(handlers, context)
|
5112
5156
|
end
|
5113
5157
|
|
@@ -74,6 +74,7 @@ module Aws::IoT
|
|
74
74
|
CertificateStatus = Shapes::StringShape.new(name: 'CertificateStatus')
|
75
75
|
CertificateValidationException = Shapes::StructureShape.new(name: 'CertificateValidationException')
|
76
76
|
Certificates = Shapes::ListShape.new(name: 'Certificates')
|
77
|
+
ChannelName = Shapes::StringShape.new(name: 'ChannelName')
|
77
78
|
ClearDefaultAuthorizerRequest = Shapes::StructureShape.new(name: 'ClearDefaultAuthorizerRequest')
|
78
79
|
ClearDefaultAuthorizerResponse = Shapes::StructureShape.new(name: 'ClearDefaultAuthorizerResponse')
|
79
80
|
ClientId = Shapes::StringShape.new(name: 'ClientId')
|
@@ -257,6 +258,7 @@ module Aws::IoT
|
|
257
258
|
InvalidQueryException = Shapes::StructureShape.new(name: 'InvalidQueryException')
|
258
259
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
259
260
|
InvalidResponseException = Shapes::StructureShape.new(name: 'InvalidResponseException')
|
261
|
+
IotAnalyticsAction = Shapes::StructureShape.new(name: 'IotAnalyticsAction')
|
260
262
|
IsAuthenticated = Shapes::BooleanShape.new(name: 'IsAuthenticated')
|
261
263
|
IsDefaultVersion = Shapes::BooleanShape.new(name: 'IsDefaultVersion')
|
262
264
|
IsDisabled = Shapes::BooleanShape.new(name: 'IsDisabled')
|
@@ -613,6 +615,7 @@ module Aws::IoT
|
|
613
615
|
Action.add_member(:cloudwatch_alarm, Shapes::ShapeRef.new(shape: CloudwatchAlarmAction, location_name: "cloudwatchAlarm"))
|
614
616
|
Action.add_member(:elasticsearch, Shapes::ShapeRef.new(shape: ElasticsearchAction, location_name: "elasticsearch"))
|
615
617
|
Action.add_member(:salesforce, Shapes::ShapeRef.new(shape: SalesforceAction, location_name: "salesforce"))
|
618
|
+
Action.add_member(:iot_analytics, Shapes::ShapeRef.new(shape: IotAnalyticsAction, location_name: "iotAnalytics"))
|
616
619
|
Action.struct_class = Types::Action
|
617
620
|
|
618
621
|
ActionList.member = Shapes::ShapeRef.new(shape: Action)
|
@@ -1277,6 +1280,11 @@ module Aws::IoT
|
|
1277
1280
|
|
1278
1281
|
IndexNamesList.member = Shapes::ShapeRef.new(shape: IndexName)
|
1279
1282
|
|
1283
|
+
IotAnalyticsAction.add_member(:channel_arn, Shapes::ShapeRef.new(shape: AwsArn, location_name: "channelArn"))
|
1284
|
+
IotAnalyticsAction.add_member(:channel_name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "channelName"))
|
1285
|
+
IotAnalyticsAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, location_name: "roleArn"))
|
1286
|
+
IotAnalyticsAction.struct_class = Types::IotAnalyticsAction
|
1287
|
+
|
1280
1288
|
Job.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "jobArn"))
|
1281
1289
|
Job.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
|
1282
1290
|
Job.add_member(:target_selection, Shapes::ShapeRef.new(shape: TargetSelection, location_name: "targetSelection"))
|
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -19,7 +19,8 @@ module Aws::IoT
|
|
19
19
|
# }
|
20
20
|
#
|
21
21
|
# @!attribute [rw] certificate_id
|
22
|
-
# The ID of the certificate.
|
22
|
+
# The ID of the certificate. (The last part of the certificate ARN
|
23
|
+
# contains the certificate ID.)
|
23
24
|
# @return [String]
|
24
25
|
#
|
25
26
|
# @!attribute [rw] set_as_active
|
@@ -114,6 +115,11 @@ module Aws::IoT
|
|
114
115
|
# token: "SalesforceToken", # required
|
115
116
|
# url: "SalesforceEndpoint", # required
|
116
117
|
# },
|
118
|
+
# iot_analytics: {
|
119
|
+
# channel_arn: "AwsArn",
|
120
|
+
# channel_name: "ChannelName",
|
121
|
+
# role_arn: "AwsArn",
|
122
|
+
# },
|
117
123
|
# }
|
118
124
|
#
|
119
125
|
# @!attribute [rw] dynamo_db
|
@@ -170,6 +176,10 @@ module Aws::IoT
|
|
170
176
|
# Send a message to a Salesforce IoT Cloud Input Stream.
|
171
177
|
# @return [Types::SalesforceAction]
|
172
178
|
#
|
179
|
+
# @!attribute [rw] iot_analytics
|
180
|
+
# Sends message data to an AWS IoT Analytics channel.
|
181
|
+
# @return [Types::IotAnalyticsAction]
|
182
|
+
#
|
173
183
|
class Action < Struct.new(
|
174
184
|
:dynamo_db,
|
175
185
|
:dynamo_d_bv_2,
|
@@ -183,7 +193,8 @@ module Aws::IoT
|
|
183
193
|
:cloudwatch_metric,
|
184
194
|
:cloudwatch_alarm,
|
185
195
|
:elasticsearch,
|
186
|
-
:salesforce
|
196
|
+
:salesforce,
|
197
|
+
:iot_analytics)
|
187
198
|
include Aws::Structure
|
188
199
|
end
|
189
200
|
|
@@ -578,12 +589,15 @@ module Aws::IoT
|
|
578
589
|
# @return [String]
|
579
590
|
#
|
580
591
|
# @!attribute [rw] last_modified_date
|
592
|
+
# The date the CA certificate was last modified.
|
581
593
|
# @return [Time]
|
582
594
|
#
|
583
595
|
# @!attribute [rw] customer_version
|
596
|
+
# The customer version of the CA certificate.
|
584
597
|
# @return [Integer]
|
585
598
|
#
|
586
599
|
# @!attribute [rw] generation_id
|
600
|
+
# The generation ID of the CA certificate.
|
587
601
|
# @return [String]
|
588
602
|
#
|
589
603
|
class CACertificateDescription < Struct.new(
|
@@ -610,7 +624,8 @@ module Aws::IoT
|
|
610
624
|
# }
|
611
625
|
#
|
612
626
|
# @!attribute [rw] certificate_id
|
613
|
-
# The ID of the certificate.
|
627
|
+
# The ID of the certificate. (The last part of the certificate ARN
|
628
|
+
# contains the certificate ID.)
|
614
629
|
# @return [String]
|
615
630
|
#
|
616
631
|
class CancelCertificateTransferRequest < Struct.new(
|
@@ -666,7 +681,8 @@ module Aws::IoT
|
|
666
681
|
# @return [String]
|
667
682
|
#
|
668
683
|
# @!attribute [rw] certificate_id
|
669
|
-
# The ID of the certificate.
|
684
|
+
# The ID of the certificate. (The last part of the certificate ARN
|
685
|
+
# contains the certificate ID.)
|
670
686
|
# @return [String]
|
671
687
|
#
|
672
688
|
# @!attribute [rw] status
|
@@ -728,6 +744,7 @@ module Aws::IoT
|
|
728
744
|
# @return [Time]
|
729
745
|
#
|
730
746
|
# @!attribute [rw] customer_version
|
747
|
+
# The customer version of the certificate.
|
731
748
|
# @return [Integer]
|
732
749
|
#
|
733
750
|
# @!attribute [rw] transfer_data
|
@@ -735,6 +752,7 @@ module Aws::IoT
|
|
735
752
|
# @return [Types::TransferData]
|
736
753
|
#
|
737
754
|
# @!attribute [rw] generation_id
|
755
|
+
# The generation ID of the certificate.
|
738
756
|
# @return [String]
|
739
757
|
#
|
740
758
|
class CertificateDescription < Struct.new(
|
@@ -1820,6 +1838,11 @@ module Aws::IoT
|
|
1820
1838
|
# token: "SalesforceToken", # required
|
1821
1839
|
# url: "SalesforceEndpoint", # required
|
1822
1840
|
# },
|
1841
|
+
# iot_analytics: {
|
1842
|
+
# channel_arn: "AwsArn",
|
1843
|
+
# channel_name: "ChannelName",
|
1844
|
+
# role_arn: "AwsArn",
|
1845
|
+
# },
|
1823
1846
|
# },
|
1824
1847
|
# ],
|
1825
1848
|
# rule_disabled: false,
|
@@ -1901,6 +1924,11 @@ module Aws::IoT
|
|
1901
1924
|
# token: "SalesforceToken", # required
|
1902
1925
|
# url: "SalesforceEndpoint", # required
|
1903
1926
|
# },
|
1927
|
+
# iot_analytics: {
|
1928
|
+
# channel_arn: "AwsArn",
|
1929
|
+
# channel_name: "ChannelName",
|
1930
|
+
# role_arn: "AwsArn",
|
1931
|
+
# },
|
1904
1932
|
# },
|
1905
1933
|
# },
|
1906
1934
|
# }
|
@@ -1996,7 +2024,8 @@ module Aws::IoT
|
|
1996
2024
|
# }
|
1997
2025
|
#
|
1998
2026
|
# @!attribute [rw] certificate_id
|
1999
|
-
# The ID of the certificate to delete.
|
2027
|
+
# The ID of the certificate to delete. (The last part of the
|
2028
|
+
# certificate ARN contains the certificate ID.)
|
2000
2029
|
# @return [String]
|
2001
2030
|
#
|
2002
2031
|
class DeleteCACertificateRequest < Struct.new(
|
@@ -2019,7 +2048,8 @@ module Aws::IoT
|
|
2019
2048
|
# }
|
2020
2049
|
#
|
2021
2050
|
# @!attribute [rw] certificate_id
|
2022
|
-
# The ID of the certificate.
|
2051
|
+
# The ID of the certificate. (The last part of the certificate ARN
|
2052
|
+
# contains the certificate ID.)
|
2023
2053
|
# @return [String]
|
2024
2054
|
#
|
2025
2055
|
# @!attribute [rw] force_delete
|
@@ -2373,7 +2403,8 @@ module Aws::IoT
|
|
2373
2403
|
# }
|
2374
2404
|
#
|
2375
2405
|
# @!attribute [rw] certificate_id
|
2376
|
-
# The ID of the certificate.
|
2406
|
+
# The ID of the certificate. (The last part of the certificate ARN
|
2407
|
+
# contains the certificate ID.)
|
2377
2408
|
# @return [String]
|
2378
2409
|
#
|
2379
2410
|
class DescribeCertificateRequest < Struct.new(
|
@@ -3394,12 +3425,15 @@ module Aws::IoT
|
|
3394
3425
|
# @return [String]
|
3395
3426
|
#
|
3396
3427
|
# @!attribute [rw] creation_date
|
3428
|
+
# The date the policy was created.
|
3397
3429
|
# @return [Time]
|
3398
3430
|
#
|
3399
3431
|
# @!attribute [rw] last_modified_date
|
3432
|
+
# The date the policy was last modified.
|
3400
3433
|
# @return [Time]
|
3401
3434
|
#
|
3402
3435
|
# @!attribute [rw] generation_id
|
3436
|
+
# The generation ID of the policy.
|
3403
3437
|
# @return [String]
|
3404
3438
|
#
|
3405
3439
|
class GetPolicyResponse < Struct.new(
|
@@ -3460,12 +3494,15 @@ module Aws::IoT
|
|
3460
3494
|
# @return [Boolean]
|
3461
3495
|
#
|
3462
3496
|
# @!attribute [rw] creation_date
|
3497
|
+
# The date the policy version was created.
|
3463
3498
|
# @return [Time]
|
3464
3499
|
#
|
3465
3500
|
# @!attribute [rw] last_modified_date
|
3501
|
+
# The date the policy version was last modified.
|
3466
3502
|
# @return [Time]
|
3467
3503
|
#
|
3468
3504
|
# @!attribute [rw] generation_id
|
3505
|
+
# The generation ID of the policy version.
|
3469
3506
|
# @return [String]
|
3470
3507
|
#
|
3471
3508
|
class GetPolicyVersionResponse < Struct.new(
|
@@ -3584,6 +3621,39 @@ module Aws::IoT
|
|
3584
3621
|
include Aws::Structure
|
3585
3622
|
end
|
3586
3623
|
|
3624
|
+
# Sends message data to an AWS IoT Analytics channel.
|
3625
|
+
#
|
3626
|
+
# @note When making an API call, you may pass IotAnalyticsAction
|
3627
|
+
# data as a hash:
|
3628
|
+
#
|
3629
|
+
# {
|
3630
|
+
# channel_arn: "AwsArn",
|
3631
|
+
# channel_name: "ChannelName",
|
3632
|
+
# role_arn: "AwsArn",
|
3633
|
+
# }
|
3634
|
+
#
|
3635
|
+
# @!attribute [rw] channel_arn
|
3636
|
+
# (deprecated) The ARN of the IoT Analytics channel to which message
|
3637
|
+
# data will be sent.
|
3638
|
+
# @return [String]
|
3639
|
+
#
|
3640
|
+
# @!attribute [rw] channel_name
|
3641
|
+
# The name of the IoT Analytics channel to which message data will be
|
3642
|
+
# sent.
|
3643
|
+
# @return [String]
|
3644
|
+
#
|
3645
|
+
# @!attribute [rw] role_arn
|
3646
|
+
# The ARN of the role which has a policy that grants IoT permission to
|
3647
|
+
# send message data via IoT Analytics (iotanalytics:BatchPutMessage).
|
3648
|
+
# @return [String]
|
3649
|
+
#
|
3650
|
+
class IotAnalyticsAction < Struct.new(
|
3651
|
+
:channel_arn,
|
3652
|
+
:channel_name,
|
3653
|
+
:role_arn)
|
3654
|
+
include Aws::Structure
|
3655
|
+
end
|
3656
|
+
|
3587
3657
|
# The `Job` object contains details about a job.
|
3588
3658
|
#
|
3589
3659
|
# @!attribute [rw] job_arn
|
@@ -4458,7 +4528,7 @@ module Aws::IoT
|
|
4458
4528
|
# @return [Integer]
|
4459
4529
|
#
|
4460
4530
|
# @!attribute [rw] next_token
|
4461
|
-
# A token used to
|
4531
|
+
# A token used to retrieve the next set of results.
|
4462
4532
|
# @return [String]
|
4463
4533
|
#
|
4464
4534
|
# @!attribute [rw] ota_update_status
|
@@ -5854,11 +5924,21 @@ module Aws::IoT
|
|
5854
5924
|
# }
|
5855
5925
|
#
|
5856
5926
|
# @!attribute [rw] template_body
|
5857
|
-
# The provisioning template.
|
5927
|
+
# The provisioning template. See [Programmatic Provisioning][1] for
|
5928
|
+
# more information.
|
5929
|
+
#
|
5930
|
+
#
|
5931
|
+
#
|
5932
|
+
# [1]: http://docs.aws.amazon.com/iot/latest/developerguide/programmatic-provisioning.html
|
5858
5933
|
# @return [String]
|
5859
5934
|
#
|
5860
5935
|
# @!attribute [rw] parameters
|
5861
|
-
# The parameters for provisioning a thing.
|
5936
|
+
# The parameters for provisioning a thing. See [Programmatic
|
5937
|
+
# Provisioning][1] for more information.
|
5938
|
+
#
|
5939
|
+
#
|
5940
|
+
#
|
5941
|
+
# [1]: http://docs.aws.amazon.com/iot/latest/developerguide/programmatic-provisioning.html
|
5862
5942
|
# @return [Hash<String,String>]
|
5863
5943
|
#
|
5864
5944
|
class RegisterThingRequest < Struct.new(
|
@@ -5916,7 +5996,8 @@ module Aws::IoT
|
|
5916
5996
|
# }
|
5917
5997
|
#
|
5918
5998
|
# @!attribute [rw] certificate_id
|
5919
|
-
# The ID of the certificate.
|
5999
|
+
# The ID of the certificate. (The last part of the certificate ARN
|
6000
|
+
# contains the certificate ID.)
|
5920
6001
|
# @return [String]
|
5921
6002
|
#
|
5922
6003
|
# @!attribute [rw] reject_reason
|
@@ -6053,6 +6134,11 @@ module Aws::IoT
|
|
6053
6134
|
# token: "SalesforceToken", # required
|
6054
6135
|
# url: "SalesforceEndpoint", # required
|
6055
6136
|
# },
|
6137
|
+
# iot_analytics: {
|
6138
|
+
# channel_arn: "AwsArn",
|
6139
|
+
# channel_name: "ChannelName",
|
6140
|
+
# role_arn: "AwsArn",
|
6141
|
+
# },
|
6056
6142
|
# },
|
6057
6143
|
# ],
|
6058
6144
|
# rule_disabled: false,
|
@@ -6134,6 +6220,11 @@ module Aws::IoT
|
|
6134
6220
|
# token: "SalesforceToken", # required
|
6135
6221
|
# url: "SalesforceEndpoint", # required
|
6136
6222
|
# },
|
6223
|
+
# iot_analytics: {
|
6224
|
+
# channel_arn: "AwsArn",
|
6225
|
+
# channel_name: "ChannelName",
|
6226
|
+
# role_arn: "AwsArn",
|
6227
|
+
# },
|
6137
6228
|
# },
|
6138
6229
|
# },
|
6139
6230
|
# }
|
@@ -6183,6 +6274,7 @@ module Aws::IoT
|
|
6183
6274
|
# @return [String]
|
6184
6275
|
#
|
6185
6276
|
# @!attribute [rw] role_alias_arn
|
6277
|
+
# The ARN of the role alias.
|
6186
6278
|
# @return [String]
|
6187
6279
|
#
|
6188
6280
|
# @!attribute [rw] role_arn
|
@@ -6937,7 +7029,7 @@ module Aws::IoT
|
|
6937
7029
|
# @return [Hash<String,String>]
|
6938
7030
|
#
|
6939
7031
|
# @!attribute [rw] shadow
|
6940
|
-
# The
|
7032
|
+
# The shadow.
|
6941
7033
|
# @return [String]
|
6942
7034
|
#
|
6943
7035
|
class ThingDocument < Struct.new(
|
@@ -7270,6 +7362,11 @@ module Aws::IoT
|
|
7270
7362
|
# token: "SalesforceToken", # required
|
7271
7363
|
# url: "SalesforceEndpoint", # required
|
7272
7364
|
# },
|
7365
|
+
# iot_analytics: {
|
7366
|
+
# channel_arn: "AwsArn",
|
7367
|
+
# channel_name: "ChannelName",
|
7368
|
+
# role_arn: "AwsArn",
|
7369
|
+
# },
|
7273
7370
|
# },
|
7274
7371
|
# ],
|
7275
7372
|
# rule_disabled: false,
|
@@ -7351,6 +7448,11 @@ module Aws::IoT
|
|
7351
7448
|
# token: "SalesforceToken", # required
|
7352
7449
|
# url: "SalesforceEndpoint", # required
|
7353
7450
|
# },
|
7451
|
+
# iot_analytics: {
|
7452
|
+
# channel_arn: "AwsArn",
|
7453
|
+
# channel_name: "ChannelName",
|
7454
|
+
# role_arn: "AwsArn",
|
7455
|
+
# },
|
7354
7456
|
# },
|
7355
7457
|
# }
|
7356
7458
|
#
|
@@ -7405,7 +7507,8 @@ module Aws::IoT
|
|
7405
7507
|
# }
|
7406
7508
|
#
|
7407
7509
|
# @!attribute [rw] certificate_id
|
7408
|
-
# The ID of the certificate.
|
7510
|
+
# The ID of the certificate. (The last part of the certificate ARN
|
7511
|
+
# contains the certificate ID.)
|
7409
7512
|
# @return [String]
|
7410
7513
|
#
|
7411
7514
|
# @!attribute [rw] target_aws_account
|
@@ -7581,7 +7684,8 @@ module Aws::IoT
|
|
7581
7684
|
# }
|
7582
7685
|
#
|
7583
7686
|
# @!attribute [rw] certificate_id
|
7584
|
-
# The ID of the certificate.
|
7687
|
+
# The ID of the certificate. (The last part of the certificate ARN
|
7688
|
+
# contains the certificate ID.)
|
7585
7689
|
# @return [String]
|
7586
7690
|
#
|
7587
7691
|
# @!attribute [rw] new_status
|
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.5.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-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|