aws-sdk-iot 1.74.0 → 1.78.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f94f5bf43d4aaf29f175fb9cd42e674950496644f334c3e455de0249e27d0de1
4
- data.tar.gz: 454fe30646d9155e501126ea6f0f02295b0fdccf29630a6b739a536250edc491
3
+ metadata.gz: c82b9d892d1bb4d96a50e23bb61c7f4f4a106fc07bf660e8a1965b7fa28a4daa
4
+ data.tar.gz: 122168fc15400309ed71bf85b13c627960211571228ae63fa104172d5422ece0
5
5
  SHA512:
6
- metadata.gz: bcb337813edb0d1a58b0bf6524a95de521fbe5e138356c8d7d444c2f6af73bd939bee2c19cf37cc28678df5091a86cf16c139fffb8fb2a8b92004be7cc5047e8
7
- data.tar.gz: a98cfe4dc9834e3103bc62f1c90f9435576945ac78642dae99179e79cff670b29735bbf03a117c3ca5cb7d506f6b2c927a23177af6cfddd007a31328daeeac24
6
+ metadata.gz: 39e384486eab50467be8cfa341e9bb8c65b096e0b452a9fb80d7acbe37028aa3453c791be85901afd4b7e455e59c8ea60d12efe01a86d7d2aab8ae213d168a1c
7
+ data.tar.gz: 808f03415589795e6e367a13bb98e4dcc1caa0889daf1b673fd26d5a7ad95ceebd21570780db030007676125582e754b31fc0d3b04d9450d422b621f022efd84
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.78.0 (2021-11-04)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.77.0 (2021-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.76.0 (2021-09-21)
15
+ ------------------
16
+
17
+ * Feature - This release adds support for verifying, viewing and filtering AWS IoT Device Defender detect violations with four verification states.
18
+
19
+ 1.75.0 (2021-09-13)
20
+ ------------------
21
+
22
+ * Feature - AWS IoT Rules Engine adds OpenSearch action. The OpenSearch rule action lets you stream data from IoT sensors and applications to Amazon OpenSearch Service which is a successor to Amazon Elasticsearch Service.
23
+
4
24
  1.74.0 (2021-09-01)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.74.0
1
+ 1.78.0
@@ -275,6 +275,15 @@ module Aws::IoT
275
275
  # ** Please note ** When response stubbing is enabled, no HTTP
276
276
  # requests are made, and retries are disabled.
277
277
  #
278
+ # @option options [Boolean] :use_dualstack_endpoint
279
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
280
+ # will be used if available.
281
+ #
282
+ # @option options [Boolean] :use_fips_endpoint
283
+ # When set to `true`, fips compatible endpoints will be used if available.
284
+ # When a `fips` region is used, the region is normalized and this config
285
+ # is set to `true`.
286
+ #
278
287
  # @option options [Boolean] :validate_params (true)
279
288
  # When `true`, request parameters are validated before
280
289
  # sending the request.
@@ -964,7 +973,10 @@ module Aws::IoT
964
973
  # The description of the audit suppression.
965
974
  #
966
975
  # @option params [required, String] :client_request_token
967
- # The epoch timestamp in seconds at which this suppression expires.
976
+ # Each audit supression must have a unique client request token. If you
977
+ # try to create a new audit suppression with the same token as one that
978
+ # already exists, an exception occurs. If you omit this value, Amazon
979
+ # Web Services SDKs will automatically generate a unique client request.
968
980
  #
969
981
  # **A suitable default value is auto-generated.** You should normally
970
982
  # not need to pass this option.**
@@ -3203,6 +3215,13 @@ module Aws::IoT
3203
3215
  # "String" => "String",
3204
3216
  # },
3205
3217
  # },
3218
+ # open_search: {
3219
+ # role_arn: "AwsArn", # required
3220
+ # endpoint: "ElasticsearchEndpoint", # required
3221
+ # index: "ElasticsearchIndex", # required
3222
+ # type: "ElasticsearchType", # required
3223
+ # id: "ElasticsearchId", # required
3224
+ # },
3206
3225
  # },
3207
3226
  # ],
3208
3227
  # rule_disabled: false,
@@ -3374,6 +3393,13 @@ module Aws::IoT
3374
3393
  # "String" => "String",
3375
3394
  # },
3376
3395
  # },
3396
+ # open_search: {
3397
+ # role_arn: "AwsArn", # required
3398
+ # endpoint: "ElasticsearchEndpoint", # required
3399
+ # index: "ElasticsearchIndex", # required
3400
+ # type: "ElasticsearchType", # required
3401
+ # id: "ElasticsearchId", # required
3402
+ # },
3377
3403
  # },
3378
3404
  # },
3379
3405
  # tags: "String",
@@ -7034,6 +7060,11 @@ module Aws::IoT
7034
7060
  # resp.rule.actions[0].kafka.partition #=> String
7035
7061
  # resp.rule.actions[0].kafka.client_properties #=> Hash
7036
7062
  # resp.rule.actions[0].kafka.client_properties["String"] #=> String
7063
+ # resp.rule.actions[0].open_search.role_arn #=> String
7064
+ # resp.rule.actions[0].open_search.endpoint #=> String
7065
+ # resp.rule.actions[0].open_search.index #=> String
7066
+ # resp.rule.actions[0].open_search.type #=> String
7067
+ # resp.rule.actions[0].open_search.id #=> String
7037
7068
  # resp.rule.rule_disabled #=> Boolean
7038
7069
  # resp.rule.aws_iot_sql_version #=> String
7039
7070
  # resp.rule.error_action.dynamo_db.table_name #=> String
@@ -7135,6 +7166,11 @@ module Aws::IoT
7135
7166
  # resp.rule.error_action.kafka.partition #=> String
7136
7167
  # resp.rule.error_action.kafka.client_properties #=> Hash
7137
7168
  # resp.rule.error_action.kafka.client_properties["String"] #=> String
7169
+ # resp.rule.error_action.open_search.role_arn #=> String
7170
+ # resp.rule.error_action.open_search.endpoint #=> String
7171
+ # resp.rule.error_action.open_search.index #=> String
7172
+ # resp.rule.error_action.open_search.type #=> String
7173
+ # resp.rule.error_action.open_search.id #=> String
7138
7174
  #
7139
7175
  # @overload get_topic_rule(params = {})
7140
7176
  # @param [Hash] params ({})
@@ -7235,6 +7271,9 @@ module Aws::IoT
7235
7271
  # @option params [Boolean] :list_suppressed_alerts
7236
7272
  # A list of all suppressed alerts.
7237
7273
  #
7274
+ # @option params [String] :verification_state
7275
+ # The verification state of the violation (detect alarm).
7276
+ #
7238
7277
  # @option params [String] :next_token
7239
7278
  # The token for the next set of results.
7240
7279
  #
@@ -7255,6 +7294,7 @@ module Aws::IoT
7255
7294
  # security_profile_name: "SecurityProfileName",
7256
7295
  # behavior_criteria_type: "STATIC", # accepts STATIC, STATISTICAL, MACHINE_LEARNING
7257
7296
  # list_suppressed_alerts: false,
7297
+ # verification_state: "FALSE_POSITIVE", # accepts FALSE_POSITIVE, BENIGN_POSITIVE, TRUE_POSITIVE, UNKNOWN
7258
7298
  # next_token: "NextToken",
7259
7299
  # max_results: 1,
7260
7300
  # })
@@ -7297,6 +7337,8 @@ module Aws::IoT
7297
7337
  # resp.active_violations[0].last_violation_value.strings #=> Array
7298
7338
  # resp.active_violations[0].last_violation_value.strings[0] #=> String
7299
7339
  # resp.active_violations[0].violation_event_additional_info.confidence_level #=> String, one of "LOW", "MEDIUM", "HIGH"
7340
+ # resp.active_violations[0].verification_state #=> String, one of "FALSE_POSITIVE", "BENIGN_POSITIVE", "TRUE_POSITIVE", "UNKNOWN"
7341
+ # resp.active_violations[0].verification_state_description #=> String
7300
7342
  # resp.active_violations[0].last_violation_time #=> Time
7301
7343
  # resp.active_violations[0].violation_start_time #=> Time
7302
7344
  # resp.next_token #=> String
@@ -10209,6 +10251,9 @@ module Aws::IoT
10209
10251
  # @option params [Boolean] :list_suppressed_alerts
10210
10252
  # A list of all suppressed alerts.
10211
10253
  #
10254
+ # @option params [String] :verification_state
10255
+ # The verification state of the violation (detect alarm).
10256
+ #
10212
10257
  # @option params [String] :next_token
10213
10258
  # The token for the next set of results.
10214
10259
  #
@@ -10231,6 +10276,7 @@ module Aws::IoT
10231
10276
  # security_profile_name: "SecurityProfileName",
10232
10277
  # behavior_criteria_type: "STATIC", # accepts STATIC, STATISTICAL, MACHINE_LEARNING
10233
10278
  # list_suppressed_alerts: false,
10279
+ # verification_state: "FALSE_POSITIVE", # accepts FALSE_POSITIVE, BENIGN_POSITIVE, TRUE_POSITIVE, UNKNOWN
10234
10280
  # next_token: "NextToken",
10235
10281
  # max_results: 1,
10236
10282
  # })
@@ -10274,6 +10320,8 @@ module Aws::IoT
10274
10320
  # resp.violation_events[0].metric_value.strings[0] #=> String
10275
10321
  # resp.violation_events[0].violation_event_additional_info.confidence_level #=> String, one of "LOW", "MEDIUM", "HIGH"
10276
10322
  # resp.violation_events[0].violation_event_type #=> String, one of "in-alarm", "alarm-cleared", "alarm-invalidated"
10323
+ # resp.violation_events[0].verification_state #=> String, one of "FALSE_POSITIVE", "BENIGN_POSITIVE", "TRUE_POSITIVE", "UNKNOWN"
10324
+ # resp.violation_events[0].verification_state_description #=> String
10277
10325
  # resp.violation_events[0].violation_event_time #=> Time
10278
10326
  # resp.next_token #=> String
10279
10327
  #
@@ -10284,6 +10332,36 @@ module Aws::IoT
10284
10332
  req.send_request(options)
10285
10333
  end
10286
10334
 
10335
+ # Set a verification state and provide a description of that
10336
+ # verification state on a violation (detect alarm).
10337
+ #
10338
+ # @option params [required, String] :violation_id
10339
+ # The violation ID.
10340
+ #
10341
+ # @option params [required, String] :verification_state
10342
+ # The verification state of the violation.
10343
+ #
10344
+ # @option params [String] :verification_state_description
10345
+ # The description of the verification state of the violation (detect
10346
+ # alarm).
10347
+ #
10348
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
10349
+ #
10350
+ # @example Request syntax with placeholder values
10351
+ #
10352
+ # resp = client.put_verification_state_on_violation({
10353
+ # violation_id: "ViolationId", # required
10354
+ # verification_state: "FALSE_POSITIVE", # required, accepts FALSE_POSITIVE, BENIGN_POSITIVE, TRUE_POSITIVE, UNKNOWN
10355
+ # verification_state_description: "VerificationStateDescription",
10356
+ # })
10357
+ #
10358
+ # @overload put_verification_state_on_violation(params = {})
10359
+ # @param [Hash] params ({})
10360
+ def put_verification_state_on_violation(params = {}, options = {})
10361
+ req = build_request(:put_verification_state_on_violation, params)
10362
+ req.send_request(options)
10363
+ end
10364
+
10287
10365
  # Registers a CA certificate with IoT. This CA certificate can then be
10288
10366
  # used to sign device certificates, which can be then registered with
10289
10367
  # IoT. You can register up to 10 CA certificates per Amazon Web Services
@@ -10822,6 +10900,13 @@ module Aws::IoT
10822
10900
  # "String" => "String",
10823
10901
  # },
10824
10902
  # },
10903
+ # open_search: {
10904
+ # role_arn: "AwsArn", # required
10905
+ # endpoint: "ElasticsearchEndpoint", # required
10906
+ # index: "ElasticsearchIndex", # required
10907
+ # type: "ElasticsearchType", # required
10908
+ # id: "ElasticsearchId", # required
10909
+ # },
10825
10910
  # },
10826
10911
  # ],
10827
10912
  # rule_disabled: false,
@@ -10993,6 +11078,13 @@ module Aws::IoT
10993
11078
  # "String" => "String",
10994
11079
  # },
10995
11080
  # },
11081
+ # open_search: {
11082
+ # role_arn: "AwsArn", # required
11083
+ # endpoint: "ElasticsearchEndpoint", # required
11084
+ # index: "ElasticsearchIndex", # required
11085
+ # type: "ElasticsearchType", # required
11086
+ # id: "ElasticsearchId", # required
11087
+ # },
10996
11088
  # },
10997
11089
  # },
10998
11090
  # })
@@ -13290,7 +13382,7 @@ module Aws::IoT
13290
13382
  params: params,
13291
13383
  config: config)
13292
13384
  context[:gem_name] = 'aws-sdk-iot'
13293
- context[:gem_version] = '1.74.0'
13385
+ context[:gem_version] = '1.78.0'
13294
13386
  Seahorse::Client::Request.new(handlers, context)
13295
13387
  end
13296
13388
 
@@ -816,6 +816,7 @@ module Aws::IoT
816
816
  OTAUpdateStatus = Shapes::StringShape.new(name: 'OTAUpdateStatus')
817
817
  OTAUpdateSummary = Shapes::StructureShape.new(name: 'OTAUpdateSummary')
818
818
  OTAUpdatesSummary = Shapes::ListShape.new(name: 'OTAUpdatesSummary')
819
+ OpenSearchAction = Shapes::StructureShape.new(name: 'OpenSearchAction')
819
820
  OptionalVersion = Shapes::IntegerShape.new(name: 'OptionalVersion')
820
821
  OutgoingCertificate = Shapes::StructureShape.new(name: 'OutgoingCertificate')
821
822
  OutgoingCertificates = Shapes::ListShape.new(name: 'OutgoingCertificates')
@@ -872,6 +873,8 @@ module Aws::IoT
872
873
  PutAssetPropertyValueEntry = Shapes::StructureShape.new(name: 'PutAssetPropertyValueEntry')
873
874
  PutAssetPropertyValueEntryList = Shapes::ListShape.new(name: 'PutAssetPropertyValueEntryList')
874
875
  PutItemInput = Shapes::StructureShape.new(name: 'PutItemInput')
876
+ PutVerificationStateOnViolationRequest = Shapes::StructureShape.new(name: 'PutVerificationStateOnViolationRequest')
877
+ PutVerificationStateOnViolationResponse = Shapes::StructureShape.new(name: 'PutVerificationStateOnViolationResponse')
875
878
  Qos = Shapes::IntegerShape.new(name: 'Qos')
876
879
  QueryMaxResults = Shapes::IntegerShape.new(name: 'QueryMaxResults')
877
880
  QueryString = Shapes::StringShape.new(name: 'QueryString')
@@ -1205,6 +1208,8 @@ module Aws::IoT
1205
1208
  ValidationErrors = Shapes::ListShape.new(name: 'ValidationErrors')
1206
1209
  Value = Shapes::StringShape.new(name: 'Value')
1207
1210
  Variance = Shapes::FloatShape.new(name: 'Variance')
1211
+ VerificationState = Shapes::StringShape.new(name: 'VerificationState')
1212
+ VerificationStateDescription = Shapes::StringShape.new(name: 'VerificationStateDescription')
1208
1213
  Version = Shapes::IntegerShape.new(name: 'Version')
1209
1214
  VersionConflictException = Shapes::StructureShape.new(name: 'VersionConflictException')
1210
1215
  VersionNumber = Shapes::IntegerShape.new(name: 'VersionNumber')
@@ -1262,6 +1267,7 @@ module Aws::IoT
1262
1267
  Action.add_member(:timestream, Shapes::ShapeRef.new(shape: TimestreamAction, location_name: "timestream"))
1263
1268
  Action.add_member(:http, Shapes::ShapeRef.new(shape: HttpAction, location_name: "http"))
1264
1269
  Action.add_member(:kafka, Shapes::ShapeRef.new(shape: KafkaAction, location_name: "kafka"))
1270
+ Action.add_member(:open_search, Shapes::ShapeRef.new(shape: OpenSearchAction, location_name: "openSearch"))
1265
1271
  Action.struct_class = Types::Action
1266
1272
 
1267
1273
  ActionList.member = Shapes::ShapeRef.new(shape: Action)
@@ -1272,6 +1278,8 @@ module Aws::IoT
1272
1278
  ActiveViolation.add_member(:behavior, Shapes::ShapeRef.new(shape: Behavior, location_name: "behavior"))
1273
1279
  ActiveViolation.add_member(:last_violation_value, Shapes::ShapeRef.new(shape: MetricValue, location_name: "lastViolationValue"))
1274
1280
  ActiveViolation.add_member(:violation_event_additional_info, Shapes::ShapeRef.new(shape: ViolationEventAdditionalInfo, location_name: "violationEventAdditionalInfo"))
1281
+ ActiveViolation.add_member(:verification_state, Shapes::ShapeRef.new(shape: VerificationState, location_name: "verificationState"))
1282
+ ActiveViolation.add_member(:verification_state_description, Shapes::ShapeRef.new(shape: VerificationStateDescription, location_name: "verificationStateDescription"))
1275
1283
  ActiveViolation.add_member(:last_violation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastViolationTime"))
1276
1284
  ActiveViolation.add_member(:violation_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "violationStartTime"))
1277
1285
  ActiveViolation.struct_class = Types::ActiveViolation
@@ -3047,6 +3055,7 @@ module Aws::IoT
3047
3055
  ListActiveViolationsRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location: "querystring", location_name: "securityProfileName"))
3048
3056
  ListActiveViolationsRequest.add_member(:behavior_criteria_type, Shapes::ShapeRef.new(shape: BehaviorCriteriaType, location: "querystring", location_name: "behaviorCriteriaType"))
3049
3057
  ListActiveViolationsRequest.add_member(:list_suppressed_alerts, Shapes::ShapeRef.new(shape: ListSuppressedAlerts, location: "querystring", location_name: "listSuppressedAlerts"))
3058
+ ListActiveViolationsRequest.add_member(:verification_state, Shapes::ShapeRef.new(shape: VerificationState, location: "querystring", location_name: "verificationState"))
3050
3059
  ListActiveViolationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
3051
3060
  ListActiveViolationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
3052
3061
  ListActiveViolationsRequest.struct_class = Types::ListActiveViolationsRequest
@@ -3561,6 +3570,7 @@ module Aws::IoT
3561
3570
  ListViolationEventsRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location: "querystring", location_name: "securityProfileName"))
3562
3571
  ListViolationEventsRequest.add_member(:behavior_criteria_type, Shapes::ShapeRef.new(shape: BehaviorCriteriaType, location: "querystring", location_name: "behaviorCriteriaType"))
3563
3572
  ListViolationEventsRequest.add_member(:list_suppressed_alerts, Shapes::ShapeRef.new(shape: ListSuppressedAlerts, location: "querystring", location_name: "listSuppressedAlerts"))
3573
+ ListViolationEventsRequest.add_member(:verification_state, Shapes::ShapeRef.new(shape: VerificationState, location: "querystring", location_name: "verificationState"))
3564
3574
  ListViolationEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
3565
3575
  ListViolationEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
3566
3576
  ListViolationEventsRequest.struct_class = Types::ListViolationEventsRequest
@@ -3684,6 +3694,13 @@ module Aws::IoT
3684
3694
 
3685
3695
  OTAUpdatesSummary.member = Shapes::ShapeRef.new(shape: OTAUpdateSummary)
3686
3696
 
3697
+ OpenSearchAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
3698
+ OpenSearchAction.add_member(:endpoint, Shapes::ShapeRef.new(shape: ElasticsearchEndpoint, required: true, location_name: "endpoint"))
3699
+ OpenSearchAction.add_member(:index, Shapes::ShapeRef.new(shape: ElasticsearchIndex, required: true, location_name: "index"))
3700
+ OpenSearchAction.add_member(:type, Shapes::ShapeRef.new(shape: ElasticsearchType, required: true, location_name: "type"))
3701
+ OpenSearchAction.add_member(:id, Shapes::ShapeRef.new(shape: ElasticsearchId, required: true, location_name: "id"))
3702
+ OpenSearchAction.struct_class = Types::OpenSearchAction
3703
+
3687
3704
  OutgoingCertificate.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
3688
3705
  OutgoingCertificate.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
3689
3706
  OutgoingCertificate.add_member(:transferred_to, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "transferredTo"))
@@ -3779,6 +3796,13 @@ module Aws::IoT
3779
3796
  PutItemInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "tableName"))
3780
3797
  PutItemInput.struct_class = Types::PutItemInput
3781
3798
 
3799
+ PutVerificationStateOnViolationRequest.add_member(:violation_id, Shapes::ShapeRef.new(shape: ViolationId, required: true, location: "uri", location_name: "violationId"))
3800
+ PutVerificationStateOnViolationRequest.add_member(:verification_state, Shapes::ShapeRef.new(shape: VerificationState, required: true, location_name: "verificationState"))
3801
+ PutVerificationStateOnViolationRequest.add_member(:verification_state_description, Shapes::ShapeRef.new(shape: VerificationStateDescription, location_name: "verificationStateDescription"))
3802
+ PutVerificationStateOnViolationRequest.struct_class = Types::PutVerificationStateOnViolationRequest
3803
+
3804
+ PutVerificationStateOnViolationResponse.struct_class = Types::PutVerificationStateOnViolationResponse
3805
+
3782
3806
  RateIncreaseCriteria.add_member(:number_of_notified_things, Shapes::ShapeRef.new(shape: NumberOfThings, location_name: "numberOfNotifiedThings"))
3783
3807
  RateIncreaseCriteria.add_member(:number_of_succeeded_things, Shapes::ShapeRef.new(shape: NumberOfThings, location_name: "numberOfSucceededThings"))
3784
3808
  RateIncreaseCriteria.struct_class = Types::RateIncreaseCriteria
@@ -4648,6 +4672,8 @@ module Aws::IoT
4648
4672
  ViolationEvent.add_member(:metric_value, Shapes::ShapeRef.new(shape: MetricValue, location_name: "metricValue"))
4649
4673
  ViolationEvent.add_member(:violation_event_additional_info, Shapes::ShapeRef.new(shape: ViolationEventAdditionalInfo, location_name: "violationEventAdditionalInfo"))
4650
4674
  ViolationEvent.add_member(:violation_event_type, Shapes::ShapeRef.new(shape: ViolationEventType, location_name: "violationEventType"))
4675
+ ViolationEvent.add_member(:verification_state, Shapes::ShapeRef.new(shape: VerificationState, location_name: "verificationState"))
4676
+ ViolationEvent.add_member(:verification_state_description, Shapes::ShapeRef.new(shape: VerificationStateDescription, location_name: "verificationStateDescription"))
4651
4677
  ViolationEvent.add_member(:violation_event_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "violationEventTime"))
4652
4678
  ViolationEvent.struct_class = Types::ViolationEvent
4653
4679
 
@@ -7431,6 +7457,17 @@ module Aws::IoT
7431
7457
  )
7432
7458
  end)
7433
7459
 
7460
+ api.add_operation(:put_verification_state_on_violation, Seahorse::Model::Operation.new.tap do |o|
7461
+ o.name = "PutVerificationStateOnViolation"
7462
+ o.http_method = "POST"
7463
+ o.http_request_uri = "/violations/verification-state/{violationId}"
7464
+ o.input = Shapes::ShapeRef.new(shape: PutVerificationStateOnViolationRequest)
7465
+ o.output = Shapes::ShapeRef.new(shape: PutVerificationStateOnViolationResponse)
7466
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
7467
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7468
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
7469
+ end)
7470
+
7434
7471
  api.add_operation(:register_ca_certificate, Seahorse::Model::Operation.new.tap do |o|
7435
7472
  o.name = "RegisterCACertificate"
7436
7473
  o.http_method = "POST"
@@ -276,6 +276,13 @@ module Aws::IoT
276
276
  # "String" => "String",
277
277
  # },
278
278
  # },
279
+ # open_search: {
280
+ # role_arn: "AwsArn", # required
281
+ # endpoint: "ElasticsearchEndpoint", # required
282
+ # index: "ElasticsearchIndex", # required
283
+ # type: "ElasticsearchType", # required
284
+ # id: "ElasticsearchId", # required
285
+ # },
279
286
  # }
280
287
  #
281
288
  # @!attribute [rw] dynamo_db
@@ -329,7 +336,18 @@ module Aws::IoT
329
336
  # @return [Types::CloudwatchLogsAction]
330
337
  #
331
338
  # @!attribute [rw] elasticsearch
332
- # Write data to an Amazon Elasticsearch Service domain.
339
+ # Write data to an Amazon OpenSearch Service domain.
340
+ #
341
+ # <note markdown="1"> The `Elasticsearch` action can only be used by existing rule
342
+ # actions. To create a new rule action or to update an existing rule
343
+ # action, use the `OpenSearch` rule action instead. For more
344
+ # information, see [OpenSearchAction][1].
345
+ #
346
+ # </note>
347
+ #
348
+ #
349
+ #
350
+ # [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_OpenSearchAction.html
333
351
  # @return [Types::ElasticsearchAction]
334
352
  #
335
353
  # @!attribute [rw] salesforce
@@ -372,6 +390,10 @@ module Aws::IoT
372
390
  # (Amazon MSK) or self-managed Apache Kafka cluster.
373
391
  # @return [Types::KafkaAction]
374
392
  #
393
+ # @!attribute [rw] open_search
394
+ # Write data to an Amazon OpenSearch Service domain.
395
+ # @return [Types::OpenSearchAction]
396
+ #
375
397
  class Action < Struct.new(
376
398
  :dynamo_db,
377
399
  :dynamo_d_bv_2,
@@ -393,7 +415,8 @@ module Aws::IoT
393
415
  :step_functions,
394
416
  :timestream,
395
417
  :http,
396
- :kafka)
418
+ :kafka,
419
+ :open_search)
397
420
  SENSITIVE = []
398
421
  include Aws::Structure
399
422
  end
@@ -426,6 +449,14 @@ module Aws::IoT
426
449
  # The details of a violation event.
427
450
  # @return [Types::ViolationEventAdditionalInfo]
428
451
  #
452
+ # @!attribute [rw] verification_state
453
+ # The verification state of the violation (detect alarm).
454
+ # @return [String]
455
+ #
456
+ # @!attribute [rw] verification_state_description
457
+ # The description of the verification state of the violation.
458
+ # @return [String]
459
+ #
429
460
  # @!attribute [rw] last_violation_time
430
461
  # The time the most recent violation occurred.
431
462
  # @return [Time]
@@ -441,6 +472,8 @@ module Aws::IoT
441
472
  :behavior,
442
473
  :last_violation_value,
443
474
  :violation_event_additional_info,
475
+ :verification_state,
476
+ :verification_state_description,
444
477
  :last_violation_time,
445
478
  :violation_start_time)
446
479
  SENSITIVE = []
@@ -2749,7 +2782,11 @@ module Aws::IoT
2749
2782
  # @return [String]
2750
2783
  #
2751
2784
  # @!attribute [rw] client_request_token
2752
- # The epoch timestamp in seconds at which this suppression expires.
2785
+ # Each audit supression must have a unique client request token. If
2786
+ # you try to create a new audit suppression with the same token as one
2787
+ # that already exists, an exception occurs. If you omit this value,
2788
+ # Amazon Web Services SDKs will automatically generate a unique client
2789
+ # request.
2753
2790
  #
2754
2791
  # **A suitable default value is auto-generated.** You should normally
2755
2792
  # not need to pass this option.
@@ -5168,6 +5205,13 @@ module Aws::IoT
5168
5205
  # "String" => "String",
5169
5206
  # },
5170
5207
  # },
5208
+ # open_search: {
5209
+ # role_arn: "AwsArn", # required
5210
+ # endpoint: "ElasticsearchEndpoint", # required
5211
+ # index: "ElasticsearchIndex", # required
5212
+ # type: "ElasticsearchType", # required
5213
+ # id: "ElasticsearchId", # required
5214
+ # },
5171
5215
  # },
5172
5216
  # ],
5173
5217
  # rule_disabled: false,
@@ -5339,6 +5383,13 @@ module Aws::IoT
5339
5383
  # "String" => "String",
5340
5384
  # },
5341
5385
  # },
5386
+ # open_search: {
5387
+ # role_arn: "AwsArn", # required
5388
+ # endpoint: "ElasticsearchEndpoint", # required
5389
+ # index: "ElasticsearchIndex", # required
5390
+ # type: "ElasticsearchType", # required
5391
+ # id: "ElasticsearchId", # required
5392
+ # },
5342
5393
  # },
5343
5394
  # },
5344
5395
  # tags: "String",
@@ -8427,8 +8478,19 @@ module Aws::IoT
8427
8478
  include Aws::Structure
8428
8479
  end
8429
8480
 
8430
- # Describes an action that writes data to an Amazon Elasticsearch
8431
- # Service domain.
8481
+ # Describes an action that writes data to an Amazon OpenSearch Service
8482
+ # domain.
8483
+ #
8484
+ # <note markdown="1"> The `Elasticsearch` action can only be used by existing rule actions.
8485
+ # To create a new rule action or to update an existing rule action, use
8486
+ # the `OpenSearch` rule action instead. For more information, see
8487
+ # [OpenSearchAction][1].
8488
+ #
8489
+ # </note>
8490
+ #
8491
+ #
8492
+ #
8493
+ # [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_OpenSearchAction.html
8432
8494
  #
8433
8495
  # @note When making an API call, you may pass ElasticsearchAction
8434
8496
  # data as a hash:
@@ -8442,15 +8504,15 @@ module Aws::IoT
8442
8504
  # }
8443
8505
  #
8444
8506
  # @!attribute [rw] role_arn
8445
- # The IAM role ARN that has access to Elasticsearch.
8507
+ # The IAM role ARN that has access to OpenSearch.
8446
8508
  # @return [String]
8447
8509
  #
8448
8510
  # @!attribute [rw] endpoint
8449
- # The endpoint of your Elasticsearch domain.
8511
+ # The endpoint of your OpenSearch domain.
8450
8512
  # @return [String]
8451
8513
  #
8452
8514
  # @!attribute [rw] index
8453
- # The Elasticsearch index where you want to store your data.
8515
+ # The index where you want to store your data.
8454
8516
  # @return [String]
8455
8517
  #
8456
8518
  # @!attribute [rw] type
@@ -10409,6 +10471,7 @@ module Aws::IoT
10409
10471
  # security_profile_name: "SecurityProfileName",
10410
10472
  # behavior_criteria_type: "STATIC", # accepts STATIC, STATISTICAL, MACHINE_LEARNING
10411
10473
  # list_suppressed_alerts: false,
10474
+ # verification_state: "FALSE_POSITIVE", # accepts FALSE_POSITIVE, BENIGN_POSITIVE, TRUE_POSITIVE, UNKNOWN
10412
10475
  # next_token: "NextToken",
10413
10476
  # max_results: 1,
10414
10477
  # }
@@ -10430,6 +10493,10 @@ module Aws::IoT
10430
10493
  # A list of all suppressed alerts.
10431
10494
  # @return [Boolean]
10432
10495
  #
10496
+ # @!attribute [rw] verification_state
10497
+ # The verification state of the violation (detect alarm).
10498
+ # @return [String]
10499
+ #
10433
10500
  # @!attribute [rw] next_token
10434
10501
  # The token for the next set of results.
10435
10502
  # @return [String]
@@ -10443,6 +10510,7 @@ module Aws::IoT
10443
10510
  :security_profile_name,
10444
10511
  :behavior_criteria_type,
10445
10512
  :list_suppressed_alerts,
10513
+ :verification_state,
10446
10514
  :next_token,
10447
10515
  :max_results)
10448
10516
  SENSITIVE = []
@@ -13212,6 +13280,7 @@ module Aws::IoT
13212
13280
  # security_profile_name: "SecurityProfileName",
13213
13281
  # behavior_criteria_type: "STATIC", # accepts STATIC, STATISTICAL, MACHINE_LEARNING
13214
13282
  # list_suppressed_alerts: false,
13283
+ # verification_state: "FALSE_POSITIVE", # accepts FALSE_POSITIVE, BENIGN_POSITIVE, TRUE_POSITIVE, UNKNOWN
13215
13284
  # next_token: "NextToken",
13216
13285
  # max_results: 1,
13217
13286
  # }
@@ -13242,6 +13311,10 @@ module Aws::IoT
13242
13311
  # A list of all suppressed alerts.
13243
13312
  # @return [Boolean]
13244
13313
  #
13314
+ # @!attribute [rw] verification_state
13315
+ # The verification state of the violation (detect alarm).
13316
+ # @return [String]
13317
+ #
13245
13318
  # @!attribute [rw] next_token
13246
13319
  # The token for the next set of results.
13247
13320
  # @return [String]
@@ -13257,6 +13330,7 @@ module Aws::IoT
13257
13330
  :security_profile_name,
13258
13331
  :behavior_criteria_type,
13259
13332
  :list_suppressed_alerts,
13333
+ :verification_state,
13260
13334
  :next_token,
13261
13335
  :max_results)
13262
13336
  SENSITIVE = []
@@ -13889,6 +13963,50 @@ module Aws::IoT
13889
13963
  include Aws::Structure
13890
13964
  end
13891
13965
 
13966
+ # Describes an action that writes data to an Amazon OpenSearch Service
13967
+ # domain.
13968
+ #
13969
+ # @note When making an API call, you may pass OpenSearchAction
13970
+ # data as a hash:
13971
+ #
13972
+ # {
13973
+ # role_arn: "AwsArn", # required
13974
+ # endpoint: "ElasticsearchEndpoint", # required
13975
+ # index: "ElasticsearchIndex", # required
13976
+ # type: "ElasticsearchType", # required
13977
+ # id: "ElasticsearchId", # required
13978
+ # }
13979
+ #
13980
+ # @!attribute [rw] role_arn
13981
+ # The IAM role ARN that has access to OpenSearch.
13982
+ # @return [String]
13983
+ #
13984
+ # @!attribute [rw] endpoint
13985
+ # The endpoint of your OpenSearch domain.
13986
+ # @return [String]
13987
+ #
13988
+ # @!attribute [rw] index
13989
+ # The OpenSearch index where you want to store your data.
13990
+ # @return [String]
13991
+ #
13992
+ # @!attribute [rw] type
13993
+ # The type of document you are storing.
13994
+ # @return [String]
13995
+ #
13996
+ # @!attribute [rw] id
13997
+ # The unique identifier for the document you are storing.
13998
+ # @return [String]
13999
+ #
14000
+ class OpenSearchAction < Struct.new(
14001
+ :role_arn,
14002
+ :endpoint,
14003
+ :index,
14004
+ :type,
14005
+ :id)
14006
+ SENSITIVE = []
14007
+ include Aws::Structure
14008
+ end
14009
+
13892
14010
  # A certificate that has been transferred but not yet accepted.
13893
14011
  #
13894
14012
  # @!attribute [rw] certificate_arn
@@ -14234,6 +14352,38 @@ module Aws::IoT
14234
14352
  include Aws::Structure
14235
14353
  end
14236
14354
 
14355
+ # @note When making an API call, you may pass PutVerificationStateOnViolationRequest
14356
+ # data as a hash:
14357
+ #
14358
+ # {
14359
+ # violation_id: "ViolationId", # required
14360
+ # verification_state: "FALSE_POSITIVE", # required, accepts FALSE_POSITIVE, BENIGN_POSITIVE, TRUE_POSITIVE, UNKNOWN
14361
+ # verification_state_description: "VerificationStateDescription",
14362
+ # }
14363
+ #
14364
+ # @!attribute [rw] violation_id
14365
+ # The violation ID.
14366
+ # @return [String]
14367
+ #
14368
+ # @!attribute [rw] verification_state
14369
+ # The verification state of the violation.
14370
+ # @return [String]
14371
+ #
14372
+ # @!attribute [rw] verification_state_description
14373
+ # The description of the verification state of the violation (detect
14374
+ # alarm).
14375
+ # @return [String]
14376
+ #
14377
+ class PutVerificationStateOnViolationRequest < Struct.new(
14378
+ :violation_id,
14379
+ :verification_state,
14380
+ :verification_state_description)
14381
+ SENSITIVE = []
14382
+ include Aws::Structure
14383
+ end
14384
+
14385
+ class PutVerificationStateOnViolationResponse < Aws::EmptyStructure; end
14386
+
14237
14387
  # Allows you to define a criteria to initiate the increase in rate of
14238
14388
  # rollout for a job.
14239
14389
  #
@@ -14851,6 +15001,13 @@ module Aws::IoT
14851
15001
  # "String" => "String",
14852
15002
  # },
14853
15003
  # },
15004
+ # open_search: {
15005
+ # role_arn: "AwsArn", # required
15006
+ # endpoint: "ElasticsearchEndpoint", # required
15007
+ # index: "ElasticsearchIndex", # required
15008
+ # type: "ElasticsearchType", # required
15009
+ # id: "ElasticsearchId", # required
15010
+ # },
14854
15011
  # },
14855
15012
  # ],
14856
15013
  # rule_disabled: false,
@@ -15022,6 +15179,13 @@ module Aws::IoT
15022
15179
  # "String" => "String",
15023
15180
  # },
15024
15181
  # },
15182
+ # open_search: {
15183
+ # role_arn: "AwsArn", # required
15184
+ # endpoint: "ElasticsearchEndpoint", # required
15185
+ # index: "ElasticsearchIndex", # required
15186
+ # type: "ElasticsearchType", # required
15187
+ # id: "ElasticsearchId", # required
15188
+ # },
15025
15189
  # },
15026
15190
  # },
15027
15191
  # }
@@ -16724,7 +16888,9 @@ module Aws::IoT
16724
16888
  # @return [Integer]
16725
16889
  #
16726
16890
  # @!attribute [rw] disconnect_reason
16727
- # The reason why the client is disconnected.
16891
+ # The reason why the client is disconnected. If the thing has been
16892
+ # disconnected for approximately an hour, the `disconnectReason` value
16893
+ # might be missing.
16728
16894
  # @return [String]
16729
16895
  #
16730
16896
  class ThingConnectivity < Struct.new(
@@ -17679,6 +17845,13 @@ module Aws::IoT
17679
17845
  # "String" => "String",
17680
17846
  # },
17681
17847
  # },
17848
+ # open_search: {
17849
+ # role_arn: "AwsArn", # required
17850
+ # endpoint: "ElasticsearchEndpoint", # required
17851
+ # index: "ElasticsearchIndex", # required
17852
+ # type: "ElasticsearchType", # required
17853
+ # id: "ElasticsearchId", # required
17854
+ # },
17682
17855
  # },
17683
17856
  # ],
17684
17857
  # rule_disabled: false,
@@ -17850,6 +18023,13 @@ module Aws::IoT
17850
18023
  # "String" => "String",
17851
18024
  # },
17852
18025
  # },
18026
+ # open_search: {
18027
+ # role_arn: "AwsArn", # required
18028
+ # endpoint: "ElasticsearchEndpoint", # required
18029
+ # index: "ElasticsearchIndex", # required
18030
+ # type: "ElasticsearchType", # required
18031
+ # id: "ElasticsearchId", # required
18032
+ # },
17853
18033
  # },
17854
18034
  # }
17855
18035
  #
@@ -19721,6 +19901,14 @@ module Aws::IoT
19721
19901
  # The type of violation event.
19722
19902
  # @return [String]
19723
19903
  #
19904
+ # @!attribute [rw] verification_state
19905
+ # The verification state of the violation (detect alarm).
19906
+ # @return [String]
19907
+ #
19908
+ # @!attribute [rw] verification_state_description
19909
+ # The description of the verification state of the violation.
19910
+ # @return [String]
19911
+ #
19724
19912
  # @!attribute [rw] violation_event_time
19725
19913
  # The time the violation event occurred.
19726
19914
  # @return [Time]
@@ -19733,6 +19921,8 @@ module Aws::IoT
19733
19921
  :metric_value,
19734
19922
  :violation_event_additional_info,
19735
19923
  :violation_event_type,
19924
+ :verification_state,
19925
+ :verification_state_description,
19736
19926
  :violation_event_time)
19737
19927
  SENSITIVE = []
19738
19928
  include Aws::Structure
data/lib/aws-sdk-iot.rb CHANGED
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-iot/customizations'
48
48
  # @!group service
49
49
  module Aws::IoT
50
50
 
51
- GEM_VERSION = '1.74.0'
51
+ GEM_VERSION = '1.78.0'
52
52
 
53
53
  end
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.74.0
4
+ version: 1.78.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: 2021-09-01 00:00:00.000000000 Z
11
+ date: 2021-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.120.0
22
+ version: 3.122.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.120.0
32
+ version: 3.122.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement