aws-sdk-iot 1.75.0 → 1.76.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iot/client.rb +47 -2
- data/lib/aws-sdk-iot/client_api.rb +28 -0
- data/lib/aws-sdk-iot/types.rb +83 -9
- data/lib/aws-sdk-iot.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5775a8d8d9df11921ef1514c92e01ab967f296a45e9d7432bb6c44f6ac11045
|
4
|
+
data.tar.gz: 20cee15e7d5575401c5ace2df264c53ff0015220953403c3e7dcda0b9e95bcc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '03795a0eb460723bcb13aed53846f09bfb6b35f7db434905a1800bb29cf1e9963298248ebdf8c19ff70f2ef7e5329b19fa219b72ce1824f79b3523a3c0617c81'
|
7
|
+
data.tar.gz: d67db06013a512f5ef65e01e5b18c59a06793d2702922e85e3ff21282b3f3b018f833047405a17e4afdeb24df850c27ae025f153e3d28f773c9e16c0f8930802
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.76.0 (2021-09-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for verifying, viewing and filtering AWS IoT Device Defender detect violations with four verification states.
|
8
|
+
|
4
9
|
1.75.0 (2021-09-13)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.76.0
|
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -964,7 +964,10 @@ module Aws::IoT
|
|
964
964
|
# The description of the audit suppression.
|
965
965
|
#
|
966
966
|
# @option params [required, String] :client_request_token
|
967
|
-
#
|
967
|
+
# Each audit supression must have a unique client request token. If you
|
968
|
+
# try to create a new audit suppression with the same token as one that
|
969
|
+
# already exists, an exception occurs. If you omit this value, Amazon
|
970
|
+
# Web Services SDKs will automatically generate a unique client request.
|
968
971
|
#
|
969
972
|
# **A suitable default value is auto-generated.** You should normally
|
970
973
|
# not need to pass this option.**
|
@@ -7259,6 +7262,9 @@ module Aws::IoT
|
|
7259
7262
|
# @option params [Boolean] :list_suppressed_alerts
|
7260
7263
|
# A list of all suppressed alerts.
|
7261
7264
|
#
|
7265
|
+
# @option params [String] :verification_state
|
7266
|
+
# The verification state of the violation (detect alarm).
|
7267
|
+
#
|
7262
7268
|
# @option params [String] :next_token
|
7263
7269
|
# The token for the next set of results.
|
7264
7270
|
#
|
@@ -7279,6 +7285,7 @@ module Aws::IoT
|
|
7279
7285
|
# security_profile_name: "SecurityProfileName",
|
7280
7286
|
# behavior_criteria_type: "STATIC", # accepts STATIC, STATISTICAL, MACHINE_LEARNING
|
7281
7287
|
# list_suppressed_alerts: false,
|
7288
|
+
# verification_state: "FALSE_POSITIVE", # accepts FALSE_POSITIVE, BENIGN_POSITIVE, TRUE_POSITIVE, UNKNOWN
|
7282
7289
|
# next_token: "NextToken",
|
7283
7290
|
# max_results: 1,
|
7284
7291
|
# })
|
@@ -7321,6 +7328,8 @@ module Aws::IoT
|
|
7321
7328
|
# resp.active_violations[0].last_violation_value.strings #=> Array
|
7322
7329
|
# resp.active_violations[0].last_violation_value.strings[0] #=> String
|
7323
7330
|
# resp.active_violations[0].violation_event_additional_info.confidence_level #=> String, one of "LOW", "MEDIUM", "HIGH"
|
7331
|
+
# resp.active_violations[0].verification_state #=> String, one of "FALSE_POSITIVE", "BENIGN_POSITIVE", "TRUE_POSITIVE", "UNKNOWN"
|
7332
|
+
# resp.active_violations[0].verification_state_description #=> String
|
7324
7333
|
# resp.active_violations[0].last_violation_time #=> Time
|
7325
7334
|
# resp.active_violations[0].violation_start_time #=> Time
|
7326
7335
|
# resp.next_token #=> String
|
@@ -10233,6 +10242,9 @@ module Aws::IoT
|
|
10233
10242
|
# @option params [Boolean] :list_suppressed_alerts
|
10234
10243
|
# A list of all suppressed alerts.
|
10235
10244
|
#
|
10245
|
+
# @option params [String] :verification_state
|
10246
|
+
# The verification state of the violation (detect alarm).
|
10247
|
+
#
|
10236
10248
|
# @option params [String] :next_token
|
10237
10249
|
# The token for the next set of results.
|
10238
10250
|
#
|
@@ -10255,6 +10267,7 @@ module Aws::IoT
|
|
10255
10267
|
# security_profile_name: "SecurityProfileName",
|
10256
10268
|
# behavior_criteria_type: "STATIC", # accepts STATIC, STATISTICAL, MACHINE_LEARNING
|
10257
10269
|
# list_suppressed_alerts: false,
|
10270
|
+
# verification_state: "FALSE_POSITIVE", # accepts FALSE_POSITIVE, BENIGN_POSITIVE, TRUE_POSITIVE, UNKNOWN
|
10258
10271
|
# next_token: "NextToken",
|
10259
10272
|
# max_results: 1,
|
10260
10273
|
# })
|
@@ -10298,6 +10311,8 @@ module Aws::IoT
|
|
10298
10311
|
# resp.violation_events[0].metric_value.strings[0] #=> String
|
10299
10312
|
# resp.violation_events[0].violation_event_additional_info.confidence_level #=> String, one of "LOW", "MEDIUM", "HIGH"
|
10300
10313
|
# resp.violation_events[0].violation_event_type #=> String, one of "in-alarm", "alarm-cleared", "alarm-invalidated"
|
10314
|
+
# resp.violation_events[0].verification_state #=> String, one of "FALSE_POSITIVE", "BENIGN_POSITIVE", "TRUE_POSITIVE", "UNKNOWN"
|
10315
|
+
# resp.violation_events[0].verification_state_description #=> String
|
10301
10316
|
# resp.violation_events[0].violation_event_time #=> Time
|
10302
10317
|
# resp.next_token #=> String
|
10303
10318
|
#
|
@@ -10308,6 +10323,36 @@ module Aws::IoT
|
|
10308
10323
|
req.send_request(options)
|
10309
10324
|
end
|
10310
10325
|
|
10326
|
+
# Set a verification state and provide a description of that
|
10327
|
+
# verification state on a violation (detect alarm).
|
10328
|
+
#
|
10329
|
+
# @option params [required, String] :violation_id
|
10330
|
+
# The violation ID.
|
10331
|
+
#
|
10332
|
+
# @option params [required, String] :verification_state
|
10333
|
+
# The verification state of the violation.
|
10334
|
+
#
|
10335
|
+
# @option params [String] :verification_state_description
|
10336
|
+
# The description of the verification state of the violation (detect
|
10337
|
+
# alarm).
|
10338
|
+
#
|
10339
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
10340
|
+
#
|
10341
|
+
# @example Request syntax with placeholder values
|
10342
|
+
#
|
10343
|
+
# resp = client.put_verification_state_on_violation({
|
10344
|
+
# violation_id: "ViolationId", # required
|
10345
|
+
# verification_state: "FALSE_POSITIVE", # required, accepts FALSE_POSITIVE, BENIGN_POSITIVE, TRUE_POSITIVE, UNKNOWN
|
10346
|
+
# verification_state_description: "VerificationStateDescription",
|
10347
|
+
# })
|
10348
|
+
#
|
10349
|
+
# @overload put_verification_state_on_violation(params = {})
|
10350
|
+
# @param [Hash] params ({})
|
10351
|
+
def put_verification_state_on_violation(params = {}, options = {})
|
10352
|
+
req = build_request(:put_verification_state_on_violation, params)
|
10353
|
+
req.send_request(options)
|
10354
|
+
end
|
10355
|
+
|
10311
10356
|
# Registers a CA certificate with IoT. This CA certificate can then be
|
10312
10357
|
# used to sign device certificates, which can be then registered with
|
10313
10358
|
# IoT. You can register up to 10 CA certificates per Amazon Web Services
|
@@ -13328,7 +13373,7 @@ module Aws::IoT
|
|
13328
13373
|
params: params,
|
13329
13374
|
config: config)
|
13330
13375
|
context[:gem_name] = 'aws-sdk-iot'
|
13331
|
-
context[:gem_version] = '1.
|
13376
|
+
context[:gem_version] = '1.76.0'
|
13332
13377
|
Seahorse::Client::Request.new(handlers, context)
|
13333
13378
|
end
|
13334
13379
|
|
@@ -873,6 +873,8 @@ module Aws::IoT
|
|
873
873
|
PutAssetPropertyValueEntry = Shapes::StructureShape.new(name: 'PutAssetPropertyValueEntry')
|
874
874
|
PutAssetPropertyValueEntryList = Shapes::ListShape.new(name: 'PutAssetPropertyValueEntryList')
|
875
875
|
PutItemInput = Shapes::StructureShape.new(name: 'PutItemInput')
|
876
|
+
PutVerificationStateOnViolationRequest = Shapes::StructureShape.new(name: 'PutVerificationStateOnViolationRequest')
|
877
|
+
PutVerificationStateOnViolationResponse = Shapes::StructureShape.new(name: 'PutVerificationStateOnViolationResponse')
|
876
878
|
Qos = Shapes::IntegerShape.new(name: 'Qos')
|
877
879
|
QueryMaxResults = Shapes::IntegerShape.new(name: 'QueryMaxResults')
|
878
880
|
QueryString = Shapes::StringShape.new(name: 'QueryString')
|
@@ -1206,6 +1208,8 @@ module Aws::IoT
|
|
1206
1208
|
ValidationErrors = Shapes::ListShape.new(name: 'ValidationErrors')
|
1207
1209
|
Value = Shapes::StringShape.new(name: 'Value')
|
1208
1210
|
Variance = Shapes::FloatShape.new(name: 'Variance')
|
1211
|
+
VerificationState = Shapes::StringShape.new(name: 'VerificationState')
|
1212
|
+
VerificationStateDescription = Shapes::StringShape.new(name: 'VerificationStateDescription')
|
1209
1213
|
Version = Shapes::IntegerShape.new(name: 'Version')
|
1210
1214
|
VersionConflictException = Shapes::StructureShape.new(name: 'VersionConflictException')
|
1211
1215
|
VersionNumber = Shapes::IntegerShape.new(name: 'VersionNumber')
|
@@ -1274,6 +1278,8 @@ module Aws::IoT
|
|
1274
1278
|
ActiveViolation.add_member(:behavior, Shapes::ShapeRef.new(shape: Behavior, location_name: "behavior"))
|
1275
1279
|
ActiveViolation.add_member(:last_violation_value, Shapes::ShapeRef.new(shape: MetricValue, location_name: "lastViolationValue"))
|
1276
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"))
|
1277
1283
|
ActiveViolation.add_member(:last_violation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastViolationTime"))
|
1278
1284
|
ActiveViolation.add_member(:violation_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "violationStartTime"))
|
1279
1285
|
ActiveViolation.struct_class = Types::ActiveViolation
|
@@ -3049,6 +3055,7 @@ module Aws::IoT
|
|
3049
3055
|
ListActiveViolationsRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location: "querystring", location_name: "securityProfileName"))
|
3050
3056
|
ListActiveViolationsRequest.add_member(:behavior_criteria_type, Shapes::ShapeRef.new(shape: BehaviorCriteriaType, location: "querystring", location_name: "behaviorCriteriaType"))
|
3051
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"))
|
3052
3059
|
ListActiveViolationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
3053
3060
|
ListActiveViolationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
3054
3061
|
ListActiveViolationsRequest.struct_class = Types::ListActiveViolationsRequest
|
@@ -3563,6 +3570,7 @@ module Aws::IoT
|
|
3563
3570
|
ListViolationEventsRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location: "querystring", location_name: "securityProfileName"))
|
3564
3571
|
ListViolationEventsRequest.add_member(:behavior_criteria_type, Shapes::ShapeRef.new(shape: BehaviorCriteriaType, location: "querystring", location_name: "behaviorCriteriaType"))
|
3565
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"))
|
3566
3574
|
ListViolationEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
3567
3575
|
ListViolationEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
3568
3576
|
ListViolationEventsRequest.struct_class = Types::ListViolationEventsRequest
|
@@ -3788,6 +3796,13 @@ module Aws::IoT
|
|
3788
3796
|
PutItemInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "tableName"))
|
3789
3797
|
PutItemInput.struct_class = Types::PutItemInput
|
3790
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
|
+
|
3791
3806
|
RateIncreaseCriteria.add_member(:number_of_notified_things, Shapes::ShapeRef.new(shape: NumberOfThings, location_name: "numberOfNotifiedThings"))
|
3792
3807
|
RateIncreaseCriteria.add_member(:number_of_succeeded_things, Shapes::ShapeRef.new(shape: NumberOfThings, location_name: "numberOfSucceededThings"))
|
3793
3808
|
RateIncreaseCriteria.struct_class = Types::RateIncreaseCriteria
|
@@ -4657,6 +4672,8 @@ module Aws::IoT
|
|
4657
4672
|
ViolationEvent.add_member(:metric_value, Shapes::ShapeRef.new(shape: MetricValue, location_name: "metricValue"))
|
4658
4673
|
ViolationEvent.add_member(:violation_event_additional_info, Shapes::ShapeRef.new(shape: ViolationEventAdditionalInfo, location_name: "violationEventAdditionalInfo"))
|
4659
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"))
|
4660
4677
|
ViolationEvent.add_member(:violation_event_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "violationEventTime"))
|
4661
4678
|
ViolationEvent.struct_class = Types::ViolationEvent
|
4662
4679
|
|
@@ -7440,6 +7457,17 @@ module Aws::IoT
|
|
7440
7457
|
)
|
7441
7458
|
end)
|
7442
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
|
+
|
7443
7471
|
api.add_operation(:register_ca_certificate, Seahorse::Model::Operation.new.tap do |o|
|
7444
7472
|
o.name = "RegisterCACertificate"
|
7445
7473
|
o.http_method = "POST"
|
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -336,9 +336,12 @@ module Aws::IoT
|
|
336
336
|
# @return [Types::CloudwatchLogsAction]
|
337
337
|
#
|
338
338
|
# @!attribute [rw] elasticsearch
|
339
|
-
# Write data to an Amazon
|
339
|
+
# Write data to an Amazon OpenSearch Service domain.
|
340
340
|
#
|
341
|
-
# <note markdown="1">
|
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].
|
342
345
|
#
|
343
346
|
# </note>
|
344
347
|
#
|
@@ -446,6 +449,14 @@ module Aws::IoT
|
|
446
449
|
# The details of a violation event.
|
447
450
|
# @return [Types::ViolationEventAdditionalInfo]
|
448
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
|
+
#
|
449
460
|
# @!attribute [rw] last_violation_time
|
450
461
|
# The time the most recent violation occurred.
|
451
462
|
# @return [Time]
|
@@ -461,6 +472,8 @@ module Aws::IoT
|
|
461
472
|
:behavior,
|
462
473
|
:last_violation_value,
|
463
474
|
:violation_event_additional_info,
|
475
|
+
:verification_state,
|
476
|
+
:verification_state_description,
|
464
477
|
:last_violation_time,
|
465
478
|
:violation_start_time)
|
466
479
|
SENSITIVE = []
|
@@ -2769,7 +2782,11 @@ module Aws::IoT
|
|
2769
2782
|
# @return [String]
|
2770
2783
|
#
|
2771
2784
|
# @!attribute [rw] client_request_token
|
2772
|
-
#
|
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.
|
2773
2790
|
#
|
2774
2791
|
# **A suitable default value is auto-generated.** You should normally
|
2775
2792
|
# not need to pass this option.
|
@@ -8461,10 +8478,13 @@ module Aws::IoT
|
|
8461
8478
|
include Aws::Structure
|
8462
8479
|
end
|
8463
8480
|
|
8464
|
-
# Describes an action that writes data to an Amazon
|
8465
|
-
#
|
8481
|
+
# Describes an action that writes data to an Amazon OpenSearch Service
|
8482
|
+
# domain.
|
8466
8483
|
#
|
8467
|
-
# <note markdown="1">
|
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].
|
8468
8488
|
#
|
8469
8489
|
# </note>
|
8470
8490
|
#
|
@@ -8484,15 +8504,15 @@ module Aws::IoT
|
|
8484
8504
|
# }
|
8485
8505
|
#
|
8486
8506
|
# @!attribute [rw] role_arn
|
8487
|
-
# The IAM role ARN that has access to
|
8507
|
+
# The IAM role ARN that has access to OpenSearch.
|
8488
8508
|
# @return [String]
|
8489
8509
|
#
|
8490
8510
|
# @!attribute [rw] endpoint
|
8491
|
-
# The endpoint of your
|
8511
|
+
# The endpoint of your OpenSearch domain.
|
8492
8512
|
# @return [String]
|
8493
8513
|
#
|
8494
8514
|
# @!attribute [rw] index
|
8495
|
-
# The
|
8515
|
+
# The index where you want to store your data.
|
8496
8516
|
# @return [String]
|
8497
8517
|
#
|
8498
8518
|
# @!attribute [rw] type
|
@@ -10451,6 +10471,7 @@ module Aws::IoT
|
|
10451
10471
|
# security_profile_name: "SecurityProfileName",
|
10452
10472
|
# behavior_criteria_type: "STATIC", # accepts STATIC, STATISTICAL, MACHINE_LEARNING
|
10453
10473
|
# list_suppressed_alerts: false,
|
10474
|
+
# verification_state: "FALSE_POSITIVE", # accepts FALSE_POSITIVE, BENIGN_POSITIVE, TRUE_POSITIVE, UNKNOWN
|
10454
10475
|
# next_token: "NextToken",
|
10455
10476
|
# max_results: 1,
|
10456
10477
|
# }
|
@@ -10472,6 +10493,10 @@ module Aws::IoT
|
|
10472
10493
|
# A list of all suppressed alerts.
|
10473
10494
|
# @return [Boolean]
|
10474
10495
|
#
|
10496
|
+
# @!attribute [rw] verification_state
|
10497
|
+
# The verification state of the violation (detect alarm).
|
10498
|
+
# @return [String]
|
10499
|
+
#
|
10475
10500
|
# @!attribute [rw] next_token
|
10476
10501
|
# The token for the next set of results.
|
10477
10502
|
# @return [String]
|
@@ -10485,6 +10510,7 @@ module Aws::IoT
|
|
10485
10510
|
:security_profile_name,
|
10486
10511
|
:behavior_criteria_type,
|
10487
10512
|
:list_suppressed_alerts,
|
10513
|
+
:verification_state,
|
10488
10514
|
:next_token,
|
10489
10515
|
:max_results)
|
10490
10516
|
SENSITIVE = []
|
@@ -13254,6 +13280,7 @@ module Aws::IoT
|
|
13254
13280
|
# security_profile_name: "SecurityProfileName",
|
13255
13281
|
# behavior_criteria_type: "STATIC", # accepts STATIC, STATISTICAL, MACHINE_LEARNING
|
13256
13282
|
# list_suppressed_alerts: false,
|
13283
|
+
# verification_state: "FALSE_POSITIVE", # accepts FALSE_POSITIVE, BENIGN_POSITIVE, TRUE_POSITIVE, UNKNOWN
|
13257
13284
|
# next_token: "NextToken",
|
13258
13285
|
# max_results: 1,
|
13259
13286
|
# }
|
@@ -13284,6 +13311,10 @@ module Aws::IoT
|
|
13284
13311
|
# A list of all suppressed alerts.
|
13285
13312
|
# @return [Boolean]
|
13286
13313
|
#
|
13314
|
+
# @!attribute [rw] verification_state
|
13315
|
+
# The verification state of the violation (detect alarm).
|
13316
|
+
# @return [String]
|
13317
|
+
#
|
13287
13318
|
# @!attribute [rw] next_token
|
13288
13319
|
# The token for the next set of results.
|
13289
13320
|
# @return [String]
|
@@ -13299,6 +13330,7 @@ module Aws::IoT
|
|
13299
13330
|
:security_profile_name,
|
13300
13331
|
:behavior_criteria_type,
|
13301
13332
|
:list_suppressed_alerts,
|
13333
|
+
:verification_state,
|
13302
13334
|
:next_token,
|
13303
13335
|
:max_results)
|
13304
13336
|
SENSITIVE = []
|
@@ -14320,6 +14352,38 @@ module Aws::IoT
|
|
14320
14352
|
include Aws::Structure
|
14321
14353
|
end
|
14322
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
|
+
|
14323
14387
|
# Allows you to define a criteria to initiate the increase in rate of
|
14324
14388
|
# rollout for a job.
|
14325
14389
|
#
|
@@ -19837,6 +19901,14 @@ module Aws::IoT
|
|
19837
19901
|
# The type of violation event.
|
19838
19902
|
# @return [String]
|
19839
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
|
+
#
|
19840
19912
|
# @!attribute [rw] violation_event_time
|
19841
19913
|
# The time the violation event occurred.
|
19842
19914
|
# @return [Time]
|
@@ -19849,6 +19921,8 @@ module Aws::IoT
|
|
19849
19921
|
:metric_value,
|
19850
19922
|
:violation_event_additional_info,
|
19851
19923
|
:violation_event_type,
|
19924
|
+
:verification_state,
|
19925
|
+
:verification_state_description,
|
19852
19926
|
:violation_event_time)
|
19853
19927
|
SENSITIVE = []
|
19854
19928
|
include Aws::Structure
|
data/lib/aws-sdk-iot.rb
CHANGED
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.76.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-
|
11
|
+
date: 2021-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|