aws-sdk-iot 1.1.0 → 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a7dd8d2573b1823f82af719af47b23962214eca0
4
- data.tar.gz: dcb4f3cd320c14884dfc891dd94f7a006f5943a2
3
+ metadata.gz: 5c567747a23ea2d86cf9dec6ff0efdf331160f8b
4
+ data.tar.gz: f08f3df8ce8546615f675b7a4a8567d017a0c8ad
5
5
  SHA512:
6
- metadata.gz: b678233ac88bd095d5dddf4b0576ac29d5710a2e3e686103de36d6fc2ebe13d4d1fc482ff0be88dc396b3d17dd5e860030c42c0e10ab940abb986663a8cfbf1c
7
- data.tar.gz: b0b0ae92352a9f441dad9b5ed88cf31c289fdf3c249ba07633d95f5844b18f5426874e1d8db8be1727267a1741f3cb0ddfd906e6a53ab1cd493d687d9a48d2d7
6
+ metadata.gz: bb5b7bb98f2c609bf6aeca4f8b7965428e6673135dca7c16ce84397a0c7056568d1361415430c16035adafe9a01390aa8b9532b0f2965b8e21fc6fa2183210fa
7
+ data.tar.gz: b8ec9a8b03a150f223766398759bc33b1abfd24f2792c15937cb50b5f5e06064b410a535320ebd7307ff665b9f203f961758a34ddd55597becbeab41636d9799
data/lib/aws-sdk-iot.rb CHANGED
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-iot/customizations'
42
42
  # @service
43
43
  module Aws::IoT
44
44
 
45
- GEM_VERSION = '1.1.0'
45
+ GEM_VERSION = '1.2.0'
46
46
 
47
47
  end
@@ -1010,6 +1010,84 @@ module Aws::IoT
1010
1010
  # ],
1011
1011
  # rule_disabled: false,
1012
1012
  # aws_iot_sql_version: "AwsIotSqlVersion",
1013
+ # error_action: {
1014
+ # dynamo_db: {
1015
+ # table_name: "TableName", # required
1016
+ # role_arn: "AwsArn", # required
1017
+ # operation: "DynamoOperation",
1018
+ # hash_key_field: "HashKeyField", # required
1019
+ # hash_key_value: "HashKeyValue", # required
1020
+ # hash_key_type: "STRING", # accepts STRING, NUMBER
1021
+ # range_key_field: "RangeKeyField",
1022
+ # range_key_value: "RangeKeyValue",
1023
+ # range_key_type: "STRING", # accepts STRING, NUMBER
1024
+ # payload_field: "PayloadField",
1025
+ # },
1026
+ # dynamo_d_bv_2: {
1027
+ # role_arn: "AwsArn",
1028
+ # put_item: {
1029
+ # table_name: "TableName", # required
1030
+ # },
1031
+ # },
1032
+ # lambda: {
1033
+ # function_arn: "FunctionArn", # required
1034
+ # },
1035
+ # sns: {
1036
+ # target_arn: "AwsArn", # required
1037
+ # role_arn: "AwsArn", # required
1038
+ # message_format: "RAW", # accepts RAW, JSON
1039
+ # },
1040
+ # sqs: {
1041
+ # role_arn: "AwsArn", # required
1042
+ # queue_url: "QueueUrl", # required
1043
+ # use_base_64: false,
1044
+ # },
1045
+ # kinesis: {
1046
+ # role_arn: "AwsArn", # required
1047
+ # stream_name: "StreamName", # required
1048
+ # partition_key: "PartitionKey",
1049
+ # },
1050
+ # republish: {
1051
+ # role_arn: "AwsArn", # required
1052
+ # topic: "TopicPattern", # required
1053
+ # },
1054
+ # s3: {
1055
+ # role_arn: "AwsArn", # required
1056
+ # bucket_name: "BucketName", # required
1057
+ # key: "Key", # required
1058
+ # canned_acl: "private", # accepts private, public-read, public-read-write, aws-exec-read, authenticated-read, bucket-owner-read, bucket-owner-full-control, log-delivery-write
1059
+ # },
1060
+ # firehose: {
1061
+ # role_arn: "AwsArn", # required
1062
+ # delivery_stream_name: "DeliveryStreamName", # required
1063
+ # separator: "FirehoseSeparator",
1064
+ # },
1065
+ # cloudwatch_metric: {
1066
+ # role_arn: "AwsArn", # required
1067
+ # metric_namespace: "MetricNamespace", # required
1068
+ # metric_name: "MetricName", # required
1069
+ # metric_value: "MetricValue", # required
1070
+ # metric_unit: "MetricUnit", # required
1071
+ # metric_timestamp: "MetricTimestamp",
1072
+ # },
1073
+ # cloudwatch_alarm: {
1074
+ # role_arn: "AwsArn", # required
1075
+ # alarm_name: "AlarmName", # required
1076
+ # state_reason: "StateReason", # required
1077
+ # state_value: "StateValue", # required
1078
+ # },
1079
+ # elasticsearch: {
1080
+ # role_arn: "AwsArn", # required
1081
+ # endpoint: "ElasticsearchEndpoint", # required
1082
+ # index: "ElasticsearchIndex", # required
1083
+ # type: "ElasticsearchType", # required
1084
+ # id: "ElasticsearchId", # required
1085
+ # },
1086
+ # salesforce: {
1087
+ # token: "SalesforceToken", # required
1088
+ # url: "SalesforceEndpoint", # required
1089
+ # },
1090
+ # },
1013
1091
  # },
1014
1092
  # })
1015
1093
  #
@@ -1396,8 +1474,7 @@ module Aws::IoT
1396
1474
  req.send_request(options)
1397
1475
  end
1398
1476
 
1399
- # Gets information about the specified certificate. You may specify the
1400
- # certificate using either its ID or PEM.
1477
+ # Gets information about the specified certificate.
1401
1478
  #
1402
1479
  # @option params [required, String] :certificate_id
1403
1480
  # The ID of the certificate.
@@ -2214,6 +2291,54 @@ module Aws::IoT
2214
2291
  # resp.rule.actions[0].salesforce.url #=> String
2215
2292
  # resp.rule.rule_disabled #=> Boolean
2216
2293
  # resp.rule.aws_iot_sql_version #=> String
2294
+ # resp.rule.error_action.dynamo_db.table_name #=> String
2295
+ # resp.rule.error_action.dynamo_db.role_arn #=> String
2296
+ # resp.rule.error_action.dynamo_db.operation #=> String
2297
+ # resp.rule.error_action.dynamo_db.hash_key_field #=> String
2298
+ # resp.rule.error_action.dynamo_db.hash_key_value #=> String
2299
+ # resp.rule.error_action.dynamo_db.hash_key_type #=> String, one of "STRING", "NUMBER"
2300
+ # resp.rule.error_action.dynamo_db.range_key_field #=> String
2301
+ # resp.rule.error_action.dynamo_db.range_key_value #=> String
2302
+ # resp.rule.error_action.dynamo_db.range_key_type #=> String, one of "STRING", "NUMBER"
2303
+ # resp.rule.error_action.dynamo_db.payload_field #=> String
2304
+ # resp.rule.error_action.dynamo_d_bv_2.role_arn #=> String
2305
+ # resp.rule.error_action.dynamo_d_bv_2.put_item.table_name #=> String
2306
+ # resp.rule.error_action.lambda.function_arn #=> String
2307
+ # resp.rule.error_action.sns.target_arn #=> String
2308
+ # resp.rule.error_action.sns.role_arn #=> String
2309
+ # resp.rule.error_action.sns.message_format #=> String, one of "RAW", "JSON"
2310
+ # resp.rule.error_action.sqs.role_arn #=> String
2311
+ # resp.rule.error_action.sqs.queue_url #=> String
2312
+ # resp.rule.error_action.sqs.use_base_64 #=> Boolean
2313
+ # resp.rule.error_action.kinesis.role_arn #=> String
2314
+ # resp.rule.error_action.kinesis.stream_name #=> String
2315
+ # resp.rule.error_action.kinesis.partition_key #=> String
2316
+ # resp.rule.error_action.republish.role_arn #=> String
2317
+ # resp.rule.error_action.republish.topic #=> String
2318
+ # resp.rule.error_action.s3.role_arn #=> String
2319
+ # resp.rule.error_action.s3.bucket_name #=> String
2320
+ # resp.rule.error_action.s3.key #=> String
2321
+ # resp.rule.error_action.s3.canned_acl #=> String, one of "private", "public-read", "public-read-write", "aws-exec-read", "authenticated-read", "bucket-owner-read", "bucket-owner-full-control", "log-delivery-write"
2322
+ # resp.rule.error_action.firehose.role_arn #=> String
2323
+ # resp.rule.error_action.firehose.delivery_stream_name #=> String
2324
+ # resp.rule.error_action.firehose.separator #=> String
2325
+ # resp.rule.error_action.cloudwatch_metric.role_arn #=> String
2326
+ # resp.rule.error_action.cloudwatch_metric.metric_namespace #=> String
2327
+ # resp.rule.error_action.cloudwatch_metric.metric_name #=> String
2328
+ # resp.rule.error_action.cloudwatch_metric.metric_value #=> String
2329
+ # resp.rule.error_action.cloudwatch_metric.metric_unit #=> String
2330
+ # resp.rule.error_action.cloudwatch_metric.metric_timestamp #=> String
2331
+ # resp.rule.error_action.cloudwatch_alarm.role_arn #=> String
2332
+ # resp.rule.error_action.cloudwatch_alarm.alarm_name #=> String
2333
+ # resp.rule.error_action.cloudwatch_alarm.state_reason #=> String
2334
+ # resp.rule.error_action.cloudwatch_alarm.state_value #=> String
2335
+ # resp.rule.error_action.elasticsearch.role_arn #=> String
2336
+ # resp.rule.error_action.elasticsearch.endpoint #=> String
2337
+ # resp.rule.error_action.elasticsearch.index #=> String
2338
+ # resp.rule.error_action.elasticsearch.type #=> String
2339
+ # resp.rule.error_action.elasticsearch.id #=> String
2340
+ # resp.rule.error_action.salesforce.token #=> String
2341
+ # resp.rule.error_action.salesforce.url #=> String
2217
2342
  #
2218
2343
  # @overload get_topic_rule(params = {})
2219
2344
  # @param [Hash] params ({})
@@ -3698,6 +3823,84 @@ module Aws::IoT
3698
3823
  # ],
3699
3824
  # rule_disabled: false,
3700
3825
  # aws_iot_sql_version: "AwsIotSqlVersion",
3826
+ # error_action: {
3827
+ # dynamo_db: {
3828
+ # table_name: "TableName", # required
3829
+ # role_arn: "AwsArn", # required
3830
+ # operation: "DynamoOperation",
3831
+ # hash_key_field: "HashKeyField", # required
3832
+ # hash_key_value: "HashKeyValue", # required
3833
+ # hash_key_type: "STRING", # accepts STRING, NUMBER
3834
+ # range_key_field: "RangeKeyField",
3835
+ # range_key_value: "RangeKeyValue",
3836
+ # range_key_type: "STRING", # accepts STRING, NUMBER
3837
+ # payload_field: "PayloadField",
3838
+ # },
3839
+ # dynamo_d_bv_2: {
3840
+ # role_arn: "AwsArn",
3841
+ # put_item: {
3842
+ # table_name: "TableName", # required
3843
+ # },
3844
+ # },
3845
+ # lambda: {
3846
+ # function_arn: "FunctionArn", # required
3847
+ # },
3848
+ # sns: {
3849
+ # target_arn: "AwsArn", # required
3850
+ # role_arn: "AwsArn", # required
3851
+ # message_format: "RAW", # accepts RAW, JSON
3852
+ # },
3853
+ # sqs: {
3854
+ # role_arn: "AwsArn", # required
3855
+ # queue_url: "QueueUrl", # required
3856
+ # use_base_64: false,
3857
+ # },
3858
+ # kinesis: {
3859
+ # role_arn: "AwsArn", # required
3860
+ # stream_name: "StreamName", # required
3861
+ # partition_key: "PartitionKey",
3862
+ # },
3863
+ # republish: {
3864
+ # role_arn: "AwsArn", # required
3865
+ # topic: "TopicPattern", # required
3866
+ # },
3867
+ # s3: {
3868
+ # role_arn: "AwsArn", # required
3869
+ # bucket_name: "BucketName", # required
3870
+ # key: "Key", # required
3871
+ # canned_acl: "private", # accepts private, public-read, public-read-write, aws-exec-read, authenticated-read, bucket-owner-read, bucket-owner-full-control, log-delivery-write
3872
+ # },
3873
+ # firehose: {
3874
+ # role_arn: "AwsArn", # required
3875
+ # delivery_stream_name: "DeliveryStreamName", # required
3876
+ # separator: "FirehoseSeparator",
3877
+ # },
3878
+ # cloudwatch_metric: {
3879
+ # role_arn: "AwsArn", # required
3880
+ # metric_namespace: "MetricNamespace", # required
3881
+ # metric_name: "MetricName", # required
3882
+ # metric_value: "MetricValue", # required
3883
+ # metric_unit: "MetricUnit", # required
3884
+ # metric_timestamp: "MetricTimestamp",
3885
+ # },
3886
+ # cloudwatch_alarm: {
3887
+ # role_arn: "AwsArn", # required
3888
+ # alarm_name: "AlarmName", # required
3889
+ # state_reason: "StateReason", # required
3890
+ # state_value: "StateValue", # required
3891
+ # },
3892
+ # elasticsearch: {
3893
+ # role_arn: "AwsArn", # required
3894
+ # endpoint: "ElasticsearchEndpoint", # required
3895
+ # index: "ElasticsearchIndex", # required
3896
+ # type: "ElasticsearchType", # required
3897
+ # id: "ElasticsearchId", # required
3898
+ # },
3899
+ # salesforce: {
3900
+ # token: "SalesforceToken", # required
3901
+ # url: "SalesforceEndpoint", # required
3902
+ # },
3903
+ # },
3701
3904
  # },
3702
3905
  # })
3703
3906
  #
@@ -4457,7 +4660,7 @@ module Aws::IoT
4457
4660
  params: params,
4458
4661
  config: config)
4459
4662
  context[:gem_name] = 'aws-sdk-iot'
4460
- context[:gem_version] = '1.1.0'
4663
+ context[:gem_version] = '1.2.0'
4461
4664
  Seahorse::Client::Request.new(handlers, context)
4462
4665
  end
4463
4666
 
@@ -1759,6 +1759,7 @@ module Aws::IoT
1759
1759
  TopicRule.add_member(:actions, Shapes::ShapeRef.new(shape: ActionList, location_name: "actions"))
1760
1760
  TopicRule.add_member(:rule_disabled, Shapes::ShapeRef.new(shape: IsDisabled, location_name: "ruleDisabled"))
1761
1761
  TopicRule.add_member(:aws_iot_sql_version, Shapes::ShapeRef.new(shape: AwsIotSqlVersion, location_name: "awsIotSqlVersion"))
1762
+ TopicRule.add_member(:error_action, Shapes::ShapeRef.new(shape: Action, location_name: "errorAction"))
1762
1763
  TopicRule.struct_class = Types::TopicRule
1763
1764
 
1764
1765
  TopicRuleList.member = Shapes::ShapeRef.new(shape: TopicRuleListItem)
@@ -1775,6 +1776,7 @@ module Aws::IoT
1775
1776
  TopicRulePayload.add_member(:actions, Shapes::ShapeRef.new(shape: ActionList, required: true, location_name: "actions"))
1776
1777
  TopicRulePayload.add_member(:rule_disabled, Shapes::ShapeRef.new(shape: IsDisabled, location_name: "ruleDisabled"))
1777
1778
  TopicRulePayload.add_member(:aws_iot_sql_version, Shapes::ShapeRef.new(shape: AwsIotSqlVersion, location_name: "awsIotSqlVersion"))
1779
+ TopicRulePayload.add_member(:error_action, Shapes::ShapeRef.new(shape: Action, location_name: "errorAction"))
1778
1780
  TopicRulePayload.struct_class = Types::TopicRulePayload
1779
1781
 
1780
1782
  TransferCertificateRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "certificateId"))
@@ -1508,6 +1508,84 @@ module Aws::IoT
1508
1508
  # ],
1509
1509
  # rule_disabled: false,
1510
1510
  # aws_iot_sql_version: "AwsIotSqlVersion",
1511
+ # error_action: {
1512
+ # dynamo_db: {
1513
+ # table_name: "TableName", # required
1514
+ # role_arn: "AwsArn", # required
1515
+ # operation: "DynamoOperation",
1516
+ # hash_key_field: "HashKeyField", # required
1517
+ # hash_key_value: "HashKeyValue", # required
1518
+ # hash_key_type: "STRING", # accepts STRING, NUMBER
1519
+ # range_key_field: "RangeKeyField",
1520
+ # range_key_value: "RangeKeyValue",
1521
+ # range_key_type: "STRING", # accepts STRING, NUMBER
1522
+ # payload_field: "PayloadField",
1523
+ # },
1524
+ # dynamo_d_bv_2: {
1525
+ # role_arn: "AwsArn",
1526
+ # put_item: {
1527
+ # table_name: "TableName", # required
1528
+ # },
1529
+ # },
1530
+ # lambda: {
1531
+ # function_arn: "FunctionArn", # required
1532
+ # },
1533
+ # sns: {
1534
+ # target_arn: "AwsArn", # required
1535
+ # role_arn: "AwsArn", # required
1536
+ # message_format: "RAW", # accepts RAW, JSON
1537
+ # },
1538
+ # sqs: {
1539
+ # role_arn: "AwsArn", # required
1540
+ # queue_url: "QueueUrl", # required
1541
+ # use_base_64: false,
1542
+ # },
1543
+ # kinesis: {
1544
+ # role_arn: "AwsArn", # required
1545
+ # stream_name: "StreamName", # required
1546
+ # partition_key: "PartitionKey",
1547
+ # },
1548
+ # republish: {
1549
+ # role_arn: "AwsArn", # required
1550
+ # topic: "TopicPattern", # required
1551
+ # },
1552
+ # s3: {
1553
+ # role_arn: "AwsArn", # required
1554
+ # bucket_name: "BucketName", # required
1555
+ # key: "Key", # required
1556
+ # canned_acl: "private", # accepts private, public-read, public-read-write, aws-exec-read, authenticated-read, bucket-owner-read, bucket-owner-full-control, log-delivery-write
1557
+ # },
1558
+ # firehose: {
1559
+ # role_arn: "AwsArn", # required
1560
+ # delivery_stream_name: "DeliveryStreamName", # required
1561
+ # separator: "FirehoseSeparator",
1562
+ # },
1563
+ # cloudwatch_metric: {
1564
+ # role_arn: "AwsArn", # required
1565
+ # metric_namespace: "MetricNamespace", # required
1566
+ # metric_name: "MetricName", # required
1567
+ # metric_value: "MetricValue", # required
1568
+ # metric_unit: "MetricUnit", # required
1569
+ # metric_timestamp: "MetricTimestamp",
1570
+ # },
1571
+ # cloudwatch_alarm: {
1572
+ # role_arn: "AwsArn", # required
1573
+ # alarm_name: "AlarmName", # required
1574
+ # state_reason: "StateReason", # required
1575
+ # state_value: "StateValue", # required
1576
+ # },
1577
+ # elasticsearch: {
1578
+ # role_arn: "AwsArn", # required
1579
+ # endpoint: "ElasticsearchEndpoint", # required
1580
+ # index: "ElasticsearchIndex", # required
1581
+ # type: "ElasticsearchType", # required
1582
+ # id: "ElasticsearchId", # required
1583
+ # },
1584
+ # salesforce: {
1585
+ # token: "SalesforceToken", # required
1586
+ # url: "SalesforceEndpoint", # required
1587
+ # },
1588
+ # },
1511
1589
  # },
1512
1590
  # }
1513
1591
  #
@@ -5238,6 +5316,84 @@ module Aws::IoT
5238
5316
  # ],
5239
5317
  # rule_disabled: false,
5240
5318
  # aws_iot_sql_version: "AwsIotSqlVersion",
5319
+ # error_action: {
5320
+ # dynamo_db: {
5321
+ # table_name: "TableName", # required
5322
+ # role_arn: "AwsArn", # required
5323
+ # operation: "DynamoOperation",
5324
+ # hash_key_field: "HashKeyField", # required
5325
+ # hash_key_value: "HashKeyValue", # required
5326
+ # hash_key_type: "STRING", # accepts STRING, NUMBER
5327
+ # range_key_field: "RangeKeyField",
5328
+ # range_key_value: "RangeKeyValue",
5329
+ # range_key_type: "STRING", # accepts STRING, NUMBER
5330
+ # payload_field: "PayloadField",
5331
+ # },
5332
+ # dynamo_d_bv_2: {
5333
+ # role_arn: "AwsArn",
5334
+ # put_item: {
5335
+ # table_name: "TableName", # required
5336
+ # },
5337
+ # },
5338
+ # lambda: {
5339
+ # function_arn: "FunctionArn", # required
5340
+ # },
5341
+ # sns: {
5342
+ # target_arn: "AwsArn", # required
5343
+ # role_arn: "AwsArn", # required
5344
+ # message_format: "RAW", # accepts RAW, JSON
5345
+ # },
5346
+ # sqs: {
5347
+ # role_arn: "AwsArn", # required
5348
+ # queue_url: "QueueUrl", # required
5349
+ # use_base_64: false,
5350
+ # },
5351
+ # kinesis: {
5352
+ # role_arn: "AwsArn", # required
5353
+ # stream_name: "StreamName", # required
5354
+ # partition_key: "PartitionKey",
5355
+ # },
5356
+ # republish: {
5357
+ # role_arn: "AwsArn", # required
5358
+ # topic: "TopicPattern", # required
5359
+ # },
5360
+ # s3: {
5361
+ # role_arn: "AwsArn", # required
5362
+ # bucket_name: "BucketName", # required
5363
+ # key: "Key", # required
5364
+ # canned_acl: "private", # accepts private, public-read, public-read-write, aws-exec-read, authenticated-read, bucket-owner-read, bucket-owner-full-control, log-delivery-write
5365
+ # },
5366
+ # firehose: {
5367
+ # role_arn: "AwsArn", # required
5368
+ # delivery_stream_name: "DeliveryStreamName", # required
5369
+ # separator: "FirehoseSeparator",
5370
+ # },
5371
+ # cloudwatch_metric: {
5372
+ # role_arn: "AwsArn", # required
5373
+ # metric_namespace: "MetricNamespace", # required
5374
+ # metric_name: "MetricName", # required
5375
+ # metric_value: "MetricValue", # required
5376
+ # metric_unit: "MetricUnit", # required
5377
+ # metric_timestamp: "MetricTimestamp",
5378
+ # },
5379
+ # cloudwatch_alarm: {
5380
+ # role_arn: "AwsArn", # required
5381
+ # alarm_name: "AlarmName", # required
5382
+ # state_reason: "StateReason", # required
5383
+ # state_value: "StateValue", # required
5384
+ # },
5385
+ # elasticsearch: {
5386
+ # role_arn: "AwsArn", # required
5387
+ # endpoint: "ElasticsearchEndpoint", # required
5388
+ # index: "ElasticsearchIndex", # required
5389
+ # type: "ElasticsearchType", # required
5390
+ # id: "ElasticsearchId", # required
5391
+ # },
5392
+ # salesforce: {
5393
+ # token: "SalesforceToken", # required
5394
+ # url: "SalesforceEndpoint", # required
5395
+ # },
5396
+ # },
5241
5397
  # },
5242
5398
  # }
5243
5399
  #
@@ -6082,6 +6238,10 @@ module Aws::IoT
6082
6238
  # The version of the SQL rules engine to use when evaluating the rule.
6083
6239
  # @return [String]
6084
6240
  #
6241
+ # @!attribute [rw] error_action
6242
+ # The action to perform when an error occurs.
6243
+ # @return [Types::Action]
6244
+ #
6085
6245
  class TopicRule < Struct.new(
6086
6246
  :rule_name,
6087
6247
  :sql,
@@ -6089,7 +6249,8 @@ module Aws::IoT
6089
6249
  :created_at,
6090
6250
  :actions,
6091
6251
  :rule_disabled,
6092
- :aws_iot_sql_version)
6252
+ :aws_iot_sql_version,
6253
+ :error_action)
6093
6254
  include Aws::Structure
6094
6255
  end
6095
6256
 
@@ -6214,6 +6375,84 @@ module Aws::IoT
6214
6375
  # ],
6215
6376
  # rule_disabled: false,
6216
6377
  # aws_iot_sql_version: "AwsIotSqlVersion",
6378
+ # error_action: {
6379
+ # dynamo_db: {
6380
+ # table_name: "TableName", # required
6381
+ # role_arn: "AwsArn", # required
6382
+ # operation: "DynamoOperation",
6383
+ # hash_key_field: "HashKeyField", # required
6384
+ # hash_key_value: "HashKeyValue", # required
6385
+ # hash_key_type: "STRING", # accepts STRING, NUMBER
6386
+ # range_key_field: "RangeKeyField",
6387
+ # range_key_value: "RangeKeyValue",
6388
+ # range_key_type: "STRING", # accepts STRING, NUMBER
6389
+ # payload_field: "PayloadField",
6390
+ # },
6391
+ # dynamo_d_bv_2: {
6392
+ # role_arn: "AwsArn",
6393
+ # put_item: {
6394
+ # table_name: "TableName", # required
6395
+ # },
6396
+ # },
6397
+ # lambda: {
6398
+ # function_arn: "FunctionArn", # required
6399
+ # },
6400
+ # sns: {
6401
+ # target_arn: "AwsArn", # required
6402
+ # role_arn: "AwsArn", # required
6403
+ # message_format: "RAW", # accepts RAW, JSON
6404
+ # },
6405
+ # sqs: {
6406
+ # role_arn: "AwsArn", # required
6407
+ # queue_url: "QueueUrl", # required
6408
+ # use_base_64: false,
6409
+ # },
6410
+ # kinesis: {
6411
+ # role_arn: "AwsArn", # required
6412
+ # stream_name: "StreamName", # required
6413
+ # partition_key: "PartitionKey",
6414
+ # },
6415
+ # republish: {
6416
+ # role_arn: "AwsArn", # required
6417
+ # topic: "TopicPattern", # required
6418
+ # },
6419
+ # s3: {
6420
+ # role_arn: "AwsArn", # required
6421
+ # bucket_name: "BucketName", # required
6422
+ # key: "Key", # required
6423
+ # canned_acl: "private", # accepts private, public-read, public-read-write, aws-exec-read, authenticated-read, bucket-owner-read, bucket-owner-full-control, log-delivery-write
6424
+ # },
6425
+ # firehose: {
6426
+ # role_arn: "AwsArn", # required
6427
+ # delivery_stream_name: "DeliveryStreamName", # required
6428
+ # separator: "FirehoseSeparator",
6429
+ # },
6430
+ # cloudwatch_metric: {
6431
+ # role_arn: "AwsArn", # required
6432
+ # metric_namespace: "MetricNamespace", # required
6433
+ # metric_name: "MetricName", # required
6434
+ # metric_value: "MetricValue", # required
6435
+ # metric_unit: "MetricUnit", # required
6436
+ # metric_timestamp: "MetricTimestamp",
6437
+ # },
6438
+ # cloudwatch_alarm: {
6439
+ # role_arn: "AwsArn", # required
6440
+ # alarm_name: "AlarmName", # required
6441
+ # state_reason: "StateReason", # required
6442
+ # state_value: "StateValue", # required
6443
+ # },
6444
+ # elasticsearch: {
6445
+ # role_arn: "AwsArn", # required
6446
+ # endpoint: "ElasticsearchEndpoint", # required
6447
+ # index: "ElasticsearchIndex", # required
6448
+ # type: "ElasticsearchType", # required
6449
+ # id: "ElasticsearchId", # required
6450
+ # },
6451
+ # salesforce: {
6452
+ # token: "SalesforceToken", # required
6453
+ # url: "SalesforceEndpoint", # required
6454
+ # },
6455
+ # },
6217
6456
  # }
6218
6457
  #
6219
6458
  # @!attribute [rw] sql
@@ -6241,12 +6480,17 @@ module Aws::IoT
6241
6480
  # The version of the SQL rules engine to use when evaluating the rule.
6242
6481
  # @return [String]
6243
6482
  #
6483
+ # @!attribute [rw] error_action
6484
+ # The action to take when an error occurs.
6485
+ # @return [Types::Action]
6486
+ #
6244
6487
  class TopicRulePayload < Struct.new(
6245
6488
  :sql,
6246
6489
  :description,
6247
6490
  :actions,
6248
6491
  :rule_disabled,
6249
- :aws_iot_sql_version)
6492
+ :aws_iot_sql_version,
6493
+ :error_action)
6250
6494
  include Aws::Structure
6251
6495
  end
6252
6496
 
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.1.0
4
+ version: 1.2.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: 2017-11-29 00:00:00.000000000 Z
11
+ date: 2017-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core