aws-sdk-iot 1.44.0 → 1.45.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
- SHA1:
3
- metadata.gz: 5d30f89c1b982493fd7e12e0ea0cde7cf431f145
4
- data.tar.gz: 4265b0081e333123c8aefddf815c6943bd943182
2
+ SHA256:
3
+ metadata.gz: 3e8d2e53276b04ad2282b5d2e43438facd487869142548e8b7a24b900a5f85f9
4
+ data.tar.gz: 39e28e44523037fefc8ba4d41dd538b7398faacb2400b8a73158c23ef8a37d7a
5
5
  SHA512:
6
- metadata.gz: b41409a17b8e4c4531d7a9c19ce6567ec5b09fedef79343ee5894599d78e20540e7cbf23034444250d5413a647390bde5e7c7538ae2017e8323727b9b3389a26
7
- data.tar.gz: d14ed2322fbab57d4360552339787a84e15b8c5ab52288cee7a99779cbb03d8485e2ec1d8de28b32ae707115167842e6a4185ae66988bb9d1b4005238ee0a80f
6
+ metadata.gz: 2ac0b8aad04714e57f4ce43257cf6bf86320482ef7a0246cd7cddd82ad36416e5258cb7f1c54d6978a8d17cf306c70ea0bed6f8c94a1b47c00b94fa308ab22d8
7
+ data.tar.gz: ced9f72cbd1ff1aec07ecd1ab0f7df12e7c78e82cf75b39222ef65fed0ad09e3b504abed221b39b5bb52280eabd6c1f9b861e26cf198e422b401c663281a3600
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-iot/customizations'
45
45
  # @service
46
46
  module Aws::IoT
47
47
 
48
- GEM_VERSION = '1.44.0'
48
+ GEM_VERSION = '1.45.0'
49
49
 
50
50
  end
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:iot)
32
32
  module Aws::IoT
33
33
  # An API client for IoT. To construct a client, you need to configure a `:region` and `:credentials`.
34
34
  #
35
- # client = Aws::IoT::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
35
+ # client = Aws::IoT::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
40
  #
41
41
  # For details on configuring region and credentials see
42
42
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -229,15 +229,19 @@ module Aws::IoT
229
229
  #
230
230
  # @option options [String] :retry_mode ("legacy")
231
231
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
232
+ #
233
+ # * `legacy` - The pre-existing retry behavior. This is default value if
234
+ # no retry mode is provided.
235
+ #
236
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
237
+ # This includes support for retry quotas, which limit the number of
238
+ # unsuccessful retries a client can make.
239
+ #
240
+ # * `adaptive` - An experimental retry mode that includes all the
241
+ # functionality of `standard` mode along with automatic client side
242
+ # throttling. This is a provisional mode that may change behavior
243
+ # in the future.
244
+ #
241
245
  #
242
246
  # @option options [String] :secret_access_key
243
247
  #
@@ -1972,7 +1976,7 @@ module Aws::IoT
1972
1976
  #
1973
1977
  #
1974
1978
  #
1975
- # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/authorization.html
1979
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-authorization.html
1976
1980
  #
1977
1981
  # @option params [required, String] :thing_name
1978
1982
  # The name of the thing to create.
@@ -2031,7 +2035,7 @@ module Aws::IoT
2031
2035
  #
2032
2036
  #
2033
2037
  #
2034
- # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/authorization.html
2038
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-authorization.html
2035
2039
  #
2036
2040
  # @option params [required, String] :thing_group_name
2037
2041
  # The thing group name to create.
@@ -2235,6 +2239,10 @@ module Aws::IoT
2235
2239
  # state_reason: "StateReason", # required
2236
2240
  # state_value: "StateValue", # required
2237
2241
  # },
2242
+ # cloudwatch_logs: {
2243
+ # role_arn: "AwsArn", # required
2244
+ # log_group_name: "LogGroupName", # required
2245
+ # },
2238
2246
  # elasticsearch: {
2239
2247
  # role_arn: "AwsArn", # required
2240
2248
  # endpoint: "ElasticsearchEndpoint", # required
@@ -2375,6 +2383,10 @@ module Aws::IoT
2375
2383
  # state_reason: "StateReason", # required
2376
2384
  # state_value: "StateValue", # required
2377
2385
  # },
2386
+ # cloudwatch_logs: {
2387
+ # role_arn: "AwsArn", # required
2388
+ # log_group_name: "LogGroupName", # required
2389
+ # },
2378
2390
  # elasticsearch: {
2379
2391
  # role_arn: "AwsArn", # required
2380
2392
  # endpoint: "ElasticsearchEndpoint", # required
@@ -3633,6 +3645,10 @@ module Aws::IoT
3633
3645
  #
3634
3646
  # ^
3635
3647
  #
3648
+ # We strongly recommend that customers use the newer `iot:Data-ATS`
3649
+ # endpoint type to avoid issues related to the widespread distrust of
3650
+ # Symantec certificate authorities.
3651
+ #
3636
3652
  # @return [Types::DescribeEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3637
3653
  #
3638
3654
  # * {Types::DescribeEndpointResponse#endpoint_address #endpoint_address} => String
@@ -4927,6 +4943,8 @@ module Aws::IoT
4927
4943
  # resp.rule.actions[0].cloudwatch_alarm.alarm_name #=> String
4928
4944
  # resp.rule.actions[0].cloudwatch_alarm.state_reason #=> String
4929
4945
  # resp.rule.actions[0].cloudwatch_alarm.state_value #=> String
4946
+ # resp.rule.actions[0].cloudwatch_logs.role_arn #=> String
4947
+ # resp.rule.actions[0].cloudwatch_logs.log_group_name #=> String
4930
4948
  # resp.rule.actions[0].elasticsearch.role_arn #=> String
4931
4949
  # resp.rule.actions[0].elasticsearch.endpoint #=> String
4932
4950
  # resp.rule.actions[0].elasticsearch.index #=> String
@@ -5009,6 +5027,8 @@ module Aws::IoT
5009
5027
  # resp.rule.error_action.cloudwatch_alarm.alarm_name #=> String
5010
5028
  # resp.rule.error_action.cloudwatch_alarm.state_reason #=> String
5011
5029
  # resp.rule.error_action.cloudwatch_alarm.state_value #=> String
5030
+ # resp.rule.error_action.cloudwatch_logs.role_arn #=> String
5031
+ # resp.rule.error_action.cloudwatch_logs.log_group_name #=> String
5012
5032
  # resp.rule.error_action.elasticsearch.role_arn #=> String
5013
5033
  # resp.rule.error_action.elasticsearch.endpoint #=> String
5014
5034
  # resp.rule.error_action.elasticsearch.index #=> String
@@ -7333,12 +7353,12 @@ module Aws::IoT
7333
7353
  # [2]: https://console.aws.amazon.com/support/home
7334
7354
  #
7335
7355
  # @option params [required, String] :template_body
7336
- # The provisioning template. See [Programmatic Provisioning][1] for more
7337
- # information.
7356
+ # The provisioning template. See [Provisioning Devices That Have Device
7357
+ # Certificates][1] for more information.
7338
7358
  #
7339
7359
  #
7340
7360
  #
7341
- # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/programmatic-provisioning.html
7361
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/provision-w-cert.html
7342
7362
  #
7343
7363
  # @option params [Hash<String,String>] :parameters
7344
7364
  # The parameters for provisioning a thing. See [Programmatic
@@ -7561,6 +7581,10 @@ module Aws::IoT
7561
7581
  # state_reason: "StateReason", # required
7562
7582
  # state_value: "StateValue", # required
7563
7583
  # },
7584
+ # cloudwatch_logs: {
7585
+ # role_arn: "AwsArn", # required
7586
+ # log_group_name: "LogGroupName", # required
7587
+ # },
7564
7588
  # elasticsearch: {
7565
7589
  # role_arn: "AwsArn", # required
7566
7590
  # endpoint: "ElasticsearchEndpoint", # required
@@ -7701,6 +7725,10 @@ module Aws::IoT
7701
7725
  # state_reason: "StateReason", # required
7702
7726
  # state_value: "StateValue", # required
7703
7727
  # },
7728
+ # cloudwatch_logs: {
7729
+ # role_arn: "AwsArn", # required
7730
+ # log_group_name: "LogGroupName", # required
7731
+ # },
7704
7732
  # elasticsearch: {
7705
7733
  # role_arn: "AwsArn", # required
7706
7734
  # endpoint: "ElasticsearchEndpoint", # required
@@ -8570,9 +8598,10 @@ module Aws::IoT
8570
8598
  # @option params [required, String] :new_status
8571
8599
  # The new status.
8572
8600
  #
8573
- # **Note:** Setting the status to PENDING\_TRANSFER will result in an
8574
- # exception being thrown. PENDING\_TRANSFER is a status used internally
8575
- # by AWS IoT. It is not intended for developer use.
8601
+ # **Note:** Setting the status to PENDING\_TRANSFER or
8602
+ # PENDING\_ACTIVATION will result in an exception being thrown.
8603
+ # PENDING\_TRANSFER and PENDING\_ACTIVATION are statuses used internally
8604
+ # by AWS IoT. They are not intended for developer use.
8576
8605
  #
8577
8606
  # **Note:** The status value REGISTER\_INACTIVE is deprecated and should
8578
8607
  # not be used.
@@ -9461,7 +9490,7 @@ module Aws::IoT
9461
9490
  params: params,
9462
9491
  config: config)
9463
9492
  context[:gem_name] = 'aws-sdk-iot'
9464
- context[:gem_version] = '1.44.0'
9493
+ context[:gem_version] = '1.45.0'
9465
9494
  Seahorse::Client::Request.new(handlers, context)
9466
9495
  end
9467
9496
 
@@ -176,6 +176,7 @@ module Aws::IoT
176
176
  ClientId = Shapes::StringShape.new(name: 'ClientId')
177
177
  ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
178
178
  CloudwatchAlarmAction = Shapes::StructureShape.new(name: 'CloudwatchAlarmAction')
179
+ CloudwatchLogsAction = Shapes::StructureShape.new(name: 'CloudwatchLogsAction')
179
180
  CloudwatchMetricAction = Shapes::StructureShape.new(name: 'CloudwatchMetricAction')
180
181
  Code = Shapes::StringShape.new(name: 'Code')
181
182
  CodeSigning = Shapes::StructureShape.new(name: 'CodeSigning')
@@ -625,6 +626,7 @@ module Aws::IoT
625
626
  ListV2LoggingLevelsResponse = Shapes::StructureShape.new(name: 'ListV2LoggingLevelsResponse')
626
627
  ListViolationEventsRequest = Shapes::StructureShape.new(name: 'ListViolationEventsRequest')
627
628
  ListViolationEventsResponse = Shapes::StructureShape.new(name: 'ListViolationEventsResponse')
629
+ LogGroupName = Shapes::StringShape.new(name: 'LogGroupName')
628
630
  LogLevel = Shapes::StringShape.new(name: 'LogLevel')
629
631
  LogTarget = Shapes::StructureShape.new(name: 'LogTarget')
630
632
  LogTargetConfiguration = Shapes::StructureShape.new(name: 'LogTargetConfiguration')
@@ -1069,6 +1071,7 @@ module Aws::IoT
1069
1071
  Action.add_member(:firehose, Shapes::ShapeRef.new(shape: FirehoseAction, location_name: "firehose"))
1070
1072
  Action.add_member(:cloudwatch_metric, Shapes::ShapeRef.new(shape: CloudwatchMetricAction, location_name: "cloudwatchMetric"))
1071
1073
  Action.add_member(:cloudwatch_alarm, Shapes::ShapeRef.new(shape: CloudwatchAlarmAction, location_name: "cloudwatchAlarm"))
1074
+ Action.add_member(:cloudwatch_logs, Shapes::ShapeRef.new(shape: CloudwatchLogsAction, location_name: "cloudwatchLogs"))
1072
1075
  Action.add_member(:elasticsearch, Shapes::ShapeRef.new(shape: ElasticsearchAction, location_name: "elasticsearch"))
1073
1076
  Action.add_member(:salesforce, Shapes::ShapeRef.new(shape: SalesforceAction, location_name: "salesforce"))
1074
1077
  Action.add_member(:iot_analytics, Shapes::ShapeRef.new(shape: IotAnalyticsAction, location_name: "iotAnalytics"))
@@ -1429,6 +1432,10 @@ module Aws::IoT
1429
1432
  CloudwatchAlarmAction.add_member(:state_value, Shapes::ShapeRef.new(shape: StateValue, required: true, location_name: "stateValue"))
1430
1433
  CloudwatchAlarmAction.struct_class = Types::CloudwatchAlarmAction
1431
1434
 
1435
+ CloudwatchLogsAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
1436
+ CloudwatchLogsAction.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
1437
+ CloudwatchLogsAction.struct_class = Types::CloudwatchLogsAction
1438
+
1432
1439
  CloudwatchMetricAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
1433
1440
  CloudwatchMetricAction.add_member(:metric_namespace, Shapes::ShapeRef.new(shape: String, required: true, location_name: "metricNamespace"))
1434
1441
  CloudwatchMetricAction.add_member(:metric_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "metricName"))
@@ -171,6 +171,10 @@ module Aws::IoT
171
171
  # state_reason: "StateReason", # required
172
172
  # state_value: "StateValue", # required
173
173
  # },
174
+ # cloudwatch_logs: {
175
+ # role_arn: "AwsArn", # required
176
+ # log_group_name: "LogGroupName", # required
177
+ # },
174
178
  # elasticsearch: {
175
179
  # role_arn: "AwsArn", # required
176
180
  # endpoint: "ElasticsearchEndpoint", # required
@@ -288,6 +292,10 @@ module Aws::IoT
288
292
  # Change the state of a CloudWatch alarm.
289
293
  # @return [Types::CloudwatchAlarmAction]
290
294
  #
295
+ # @!attribute [rw] cloudwatch_logs
296
+ # Send data to CloudWatch logs.
297
+ # @return [Types::CloudwatchLogsAction]
298
+ #
291
299
  # @!attribute [rw] elasticsearch
292
300
  # Write data to an Amazon Elasticsearch Service domain.
293
301
  # @return [Types::ElasticsearchAction]
@@ -329,6 +337,7 @@ module Aws::IoT
329
337
  :firehose,
330
338
  :cloudwatch_metric,
331
339
  :cloudwatch_alarm,
340
+ :cloudwatch_logs,
332
341
  :elasticsearch,
333
342
  :salesforce,
334
343
  :iot_analytics,
@@ -1916,6 +1925,30 @@ module Aws::IoT
1916
1925
  include Aws::Structure
1917
1926
  end
1918
1927
 
1928
+ # Describes an action that sends data to CloudWatch logs.
1929
+ #
1930
+ # @note When making an API call, you may pass CloudwatchLogsAction
1931
+ # data as a hash:
1932
+ #
1933
+ # {
1934
+ # role_arn: "AwsArn", # required
1935
+ # log_group_name: "LogGroupName", # required
1936
+ # }
1937
+ #
1938
+ # @!attribute [rw] role_arn
1939
+ # The IAM role that allows access to the CloudWatch log.
1940
+ # @return [String]
1941
+ #
1942
+ # @!attribute [rw] log_group_name
1943
+ # The CloudWatch log group to which the action sends data.
1944
+ # @return [String]
1945
+ #
1946
+ class CloudwatchLogsAction < Struct.new(
1947
+ :role_arn,
1948
+ :log_group_name)
1949
+ include Aws::Structure
1950
+ end
1951
+
1919
1952
  # Describes an action that captures a CloudWatch metric.
1920
1953
  #
1921
1954
  # @note When making an API call, you may pass CloudwatchMetricAction
@@ -3778,6 +3811,10 @@ module Aws::IoT
3778
3811
  # state_reason: "StateReason", # required
3779
3812
  # state_value: "StateValue", # required
3780
3813
  # },
3814
+ # cloudwatch_logs: {
3815
+ # role_arn: "AwsArn", # required
3816
+ # log_group_name: "LogGroupName", # required
3817
+ # },
3781
3818
  # elasticsearch: {
3782
3819
  # role_arn: "AwsArn", # required
3783
3820
  # endpoint: "ElasticsearchEndpoint", # required
@@ -3918,6 +3955,10 @@ module Aws::IoT
3918
3955
  # state_reason: "StateReason", # required
3919
3956
  # state_value: "StateValue", # required
3920
3957
  # },
3958
+ # cloudwatch_logs: {
3959
+ # role_arn: "AwsArn", # required
3960
+ # log_group_name: "LogGroupName", # required
3961
+ # },
3921
3962
  # elasticsearch: {
3922
3963
  # role_arn: "AwsArn", # required
3923
3964
  # endpoint: "ElasticsearchEndpoint", # required
@@ -5139,6 +5180,10 @@ module Aws::IoT
5139
5180
  # endpoint.
5140
5181
  #
5141
5182
  # ^
5183
+ #
5184
+ # We strongly recommend that customers use the newer `iot:Data-ATS`
5185
+ # endpoint type to avoid issues related to the widespread distrust of
5186
+ # Symantec certificate authorities.
5142
5187
  # @return [String]
5143
5188
  #
5144
5189
  class DescribeEndpointRequest < Struct.new(
@@ -11103,12 +11148,12 @@ module Aws::IoT
11103
11148
  # }
11104
11149
  #
11105
11150
  # @!attribute [rw] template_body
11106
- # The provisioning template. See [Programmatic Provisioning][1] for
11107
- # more information.
11151
+ # The provisioning template. See [Provisioning Devices That Have
11152
+ # Device Certificates][1] for more information.
11108
11153
  #
11109
11154
  #
11110
11155
  #
11111
- # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/programmatic-provisioning.html
11156
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/provision-w-cert.html
11112
11157
  # @return [String]
11113
11158
  #
11114
11159
  # @!attribute [rw] parameters
@@ -11391,6 +11436,10 @@ module Aws::IoT
11391
11436
  # state_reason: "StateReason", # required
11392
11437
  # state_value: "StateValue", # required
11393
11438
  # },
11439
+ # cloudwatch_logs: {
11440
+ # role_arn: "AwsArn", # required
11441
+ # log_group_name: "LogGroupName", # required
11442
+ # },
11394
11443
  # elasticsearch: {
11395
11444
  # role_arn: "AwsArn", # required
11396
11445
  # endpoint: "ElasticsearchEndpoint", # required
@@ -11531,6 +11580,10 @@ module Aws::IoT
11531
11580
  # state_reason: "StateReason", # required
11532
11581
  # state_value: "StateValue", # required
11533
11582
  # },
11583
+ # cloudwatch_logs: {
11584
+ # role_arn: "AwsArn", # required
11585
+ # log_group_name: "LogGroupName", # required
11586
+ # },
11534
11587
  # elasticsearch: {
11535
11588
  # role_arn: "AwsArn", # required
11536
11589
  # endpoint: "ElasticsearchEndpoint", # required
@@ -13794,6 +13847,10 @@ module Aws::IoT
13794
13847
  # state_reason: "StateReason", # required
13795
13848
  # state_value: "StateValue", # required
13796
13849
  # },
13850
+ # cloudwatch_logs: {
13851
+ # role_arn: "AwsArn", # required
13852
+ # log_group_name: "LogGroupName", # required
13853
+ # },
13797
13854
  # elasticsearch: {
13798
13855
  # role_arn: "AwsArn", # required
13799
13856
  # endpoint: "ElasticsearchEndpoint", # required
@@ -13934,6 +13991,10 @@ module Aws::IoT
13934
13991
  # state_reason: "StateReason", # required
13935
13992
  # state_value: "StateValue", # required
13936
13993
  # },
13994
+ # cloudwatch_logs: {
13995
+ # role_arn: "AwsArn", # required
13996
+ # log_group_name: "LogGroupName", # required
13997
+ # },
13937
13998
  # elasticsearch: {
13938
13999
  # role_arn: "AwsArn", # required
13939
14000
  # endpoint: "ElasticsearchEndpoint", # required
@@ -14417,9 +14478,10 @@ module Aws::IoT
14417
14478
  # @!attribute [rw] new_status
14418
14479
  # The new status.
14419
14480
  #
14420
- # **Note:** Setting the status to PENDING\_TRANSFER will result in an
14421
- # exception being thrown. PENDING\_TRANSFER is a status used
14422
- # internally by AWS IoT. It is not intended for developer use.
14481
+ # **Note:** Setting the status to PENDING\_TRANSFER or
14482
+ # PENDING\_ACTIVATION will result in an exception being thrown.
14483
+ # PENDING\_TRANSFER and PENDING\_ACTIVATION are statuses used
14484
+ # internally by AWS IoT. They are not intended for developer use.
14423
14485
  #
14424
14486
  # **Note:** The status value REGISTER\_INACTIVE is deprecated and
14425
14487
  # should not be used.
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.44.0
4
+ version: 1.45.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: 2020-03-09 00:00:00.000000000 Z
11
+ date: 2020-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -80,8 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  - !ruby/object:Gem::Version
81
81
  version: '0'
82
82
  requirements: []
83
- rubyforge_project:
84
- rubygems_version: 2.5.2.3
83
+ rubygems_version: 3.0.3
85
84
  signing_key:
86
85
  specification_version: 4
87
86
  summary: AWS SDK for Ruby - AWS IoT