aws-sdk-iot 1.73.0 → 1.77.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
  SHA256:
3
- metadata.gz: df943e8f0ebb7e7fac1534c073c7d5b0f297418b410e4f21170aa3a498320f28
4
- data.tar.gz: a4926fc854b918ea1257d943ce98892a04923e1cc63ae180b22e572a668345bf
3
+ metadata.gz: 2898aa3b43153d798911a1b538c1453229adeb832c23df1a3afadf19b19122b0
4
+ data.tar.gz: 6d1b7040e4adbdd4a148962c11745ef05b461ffcb2e4b65128cce4b0536044a7
5
5
  SHA512:
6
- metadata.gz: e1f85a5707d40a475d0677fc61d8e5be2c8bef37d23e6232f9da1aeef6553f8e14b744991285731a572e7663b4966395aa018d19a613b36614764cf14bd68195
7
- data.tar.gz: 45d9233ce57d066f352068164912d3e9a6117e03c2d6dbba87b78c32655917bd30303c7f877770de408db6aa7cb1ddebe7ed3946402c0106f2deb155ca6f3041
6
+ metadata.gz: b597b78d53779013df257a87a22f6e9ce5702f49385fc6c78f5fe08ea6f38eec4aad8f73202ab61ade609df87d6b93f8f467e58f7c7aedb58461cb652574bcf4
7
+ data.tar.gz: d9171d42f1543b448c3ec45a593e5d207012b2fb6ac3f4a9fcac54c82a72596f8ff991145592a74607503efae90fc91dea28c061334283ea7a74e6f02a59f83c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.77.0 (2021-10-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.76.0 (2021-09-21)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for verifying, viewing and filtering AWS IoT Device Defender detect violations with four verification states.
13
+
14
+ 1.75.0 (2021-09-13)
15
+ ------------------
16
+
17
+ * 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.
18
+
19
+ 1.74.0 (2021-09-01)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.73.0 (2021-08-31)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.73.0
1
+ 1.77.0
@@ -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
- # The epoch timestamp in seconds at which this suppression expires.
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.**
@@ -3203,6 +3206,13 @@ module Aws::IoT
3203
3206
  # "String" => "String",
3204
3207
  # },
3205
3208
  # },
3209
+ # open_search: {
3210
+ # role_arn: "AwsArn", # required
3211
+ # endpoint: "ElasticsearchEndpoint", # required
3212
+ # index: "ElasticsearchIndex", # required
3213
+ # type: "ElasticsearchType", # required
3214
+ # id: "ElasticsearchId", # required
3215
+ # },
3206
3216
  # },
3207
3217
  # ],
3208
3218
  # rule_disabled: false,
@@ -3374,6 +3384,13 @@ module Aws::IoT
3374
3384
  # "String" => "String",
3375
3385
  # },
3376
3386
  # },
3387
+ # open_search: {
3388
+ # role_arn: "AwsArn", # required
3389
+ # endpoint: "ElasticsearchEndpoint", # required
3390
+ # index: "ElasticsearchIndex", # required
3391
+ # type: "ElasticsearchType", # required
3392
+ # id: "ElasticsearchId", # required
3393
+ # },
3377
3394
  # },
3378
3395
  # },
3379
3396
  # tags: "String",
@@ -7034,6 +7051,11 @@ module Aws::IoT
7034
7051
  # resp.rule.actions[0].kafka.partition #=> String
7035
7052
  # resp.rule.actions[0].kafka.client_properties #=> Hash
7036
7053
  # resp.rule.actions[0].kafka.client_properties["String"] #=> String
7054
+ # resp.rule.actions[0].open_search.role_arn #=> String
7055
+ # resp.rule.actions[0].open_search.endpoint #=> String
7056
+ # resp.rule.actions[0].open_search.index #=> String
7057
+ # resp.rule.actions[0].open_search.type #=> String
7058
+ # resp.rule.actions[0].open_search.id #=> String
7037
7059
  # resp.rule.rule_disabled #=> Boolean
7038
7060
  # resp.rule.aws_iot_sql_version #=> String
7039
7061
  # resp.rule.error_action.dynamo_db.table_name #=> String
@@ -7135,6 +7157,11 @@ module Aws::IoT
7135
7157
  # resp.rule.error_action.kafka.partition #=> String
7136
7158
  # resp.rule.error_action.kafka.client_properties #=> Hash
7137
7159
  # resp.rule.error_action.kafka.client_properties["String"] #=> String
7160
+ # resp.rule.error_action.open_search.role_arn #=> String
7161
+ # resp.rule.error_action.open_search.endpoint #=> String
7162
+ # resp.rule.error_action.open_search.index #=> String
7163
+ # resp.rule.error_action.open_search.type #=> String
7164
+ # resp.rule.error_action.open_search.id #=> String
7138
7165
  #
7139
7166
  # @overload get_topic_rule(params = {})
7140
7167
  # @param [Hash] params ({})
@@ -7235,6 +7262,9 @@ module Aws::IoT
7235
7262
  # @option params [Boolean] :list_suppressed_alerts
7236
7263
  # A list of all suppressed alerts.
7237
7264
  #
7265
+ # @option params [String] :verification_state
7266
+ # The verification state of the violation (detect alarm).
7267
+ #
7238
7268
  # @option params [String] :next_token
7239
7269
  # The token for the next set of results.
7240
7270
  #
@@ -7255,6 +7285,7 @@ module Aws::IoT
7255
7285
  # security_profile_name: "SecurityProfileName",
7256
7286
  # behavior_criteria_type: "STATIC", # accepts STATIC, STATISTICAL, MACHINE_LEARNING
7257
7287
  # list_suppressed_alerts: false,
7288
+ # verification_state: "FALSE_POSITIVE", # accepts FALSE_POSITIVE, BENIGN_POSITIVE, TRUE_POSITIVE, UNKNOWN
7258
7289
  # next_token: "NextToken",
7259
7290
  # max_results: 1,
7260
7291
  # })
@@ -7297,6 +7328,8 @@ module Aws::IoT
7297
7328
  # resp.active_violations[0].last_violation_value.strings #=> Array
7298
7329
  # resp.active_violations[0].last_violation_value.strings[0] #=> String
7299
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
7300
7333
  # resp.active_violations[0].last_violation_time #=> Time
7301
7334
  # resp.active_violations[0].violation_start_time #=> Time
7302
7335
  # resp.next_token #=> String
@@ -10209,6 +10242,9 @@ module Aws::IoT
10209
10242
  # @option params [Boolean] :list_suppressed_alerts
10210
10243
  # A list of all suppressed alerts.
10211
10244
  #
10245
+ # @option params [String] :verification_state
10246
+ # The verification state of the violation (detect alarm).
10247
+ #
10212
10248
  # @option params [String] :next_token
10213
10249
  # The token for the next set of results.
10214
10250
  #
@@ -10231,6 +10267,7 @@ module Aws::IoT
10231
10267
  # security_profile_name: "SecurityProfileName",
10232
10268
  # behavior_criteria_type: "STATIC", # accepts STATIC, STATISTICAL, MACHINE_LEARNING
10233
10269
  # list_suppressed_alerts: false,
10270
+ # verification_state: "FALSE_POSITIVE", # accepts FALSE_POSITIVE, BENIGN_POSITIVE, TRUE_POSITIVE, UNKNOWN
10234
10271
  # next_token: "NextToken",
10235
10272
  # max_results: 1,
10236
10273
  # })
@@ -10274,6 +10311,8 @@ module Aws::IoT
10274
10311
  # resp.violation_events[0].metric_value.strings[0] #=> String
10275
10312
  # resp.violation_events[0].violation_event_additional_info.confidence_level #=> String, one of "LOW", "MEDIUM", "HIGH"
10276
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
10277
10316
  # resp.violation_events[0].violation_event_time #=> Time
10278
10317
  # resp.next_token #=> String
10279
10318
  #
@@ -10284,6 +10323,36 @@ module Aws::IoT
10284
10323
  req.send_request(options)
10285
10324
  end
10286
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
+
10287
10356
  # Registers a CA certificate with IoT. This CA certificate can then be
10288
10357
  # used to sign device certificates, which can be then registered with
10289
10358
  # IoT. You can register up to 10 CA certificates per Amazon Web Services
@@ -10822,6 +10891,13 @@ module Aws::IoT
10822
10891
  # "String" => "String",
10823
10892
  # },
10824
10893
  # },
10894
+ # open_search: {
10895
+ # role_arn: "AwsArn", # required
10896
+ # endpoint: "ElasticsearchEndpoint", # required
10897
+ # index: "ElasticsearchIndex", # required
10898
+ # type: "ElasticsearchType", # required
10899
+ # id: "ElasticsearchId", # required
10900
+ # },
10825
10901
  # },
10826
10902
  # ],
10827
10903
  # rule_disabled: false,
@@ -10993,6 +11069,13 @@ module Aws::IoT
10993
11069
  # "String" => "String",
10994
11070
  # },
10995
11071
  # },
11072
+ # open_search: {
11073
+ # role_arn: "AwsArn", # required
11074
+ # endpoint: "ElasticsearchEndpoint", # required
11075
+ # index: "ElasticsearchIndex", # required
11076
+ # type: "ElasticsearchType", # required
11077
+ # id: "ElasticsearchId", # required
11078
+ # },
10996
11079
  # },
10997
11080
  # },
10998
11081
  # })
@@ -13290,7 +13373,7 @@ module Aws::IoT
13290
13373
  params: params,
13291
13374
  config: config)
13292
13375
  context[:gem_name] = 'aws-sdk-iot'
13293
- context[:gem_version] = '1.73.0'
13376
+ context[:gem_version] = '1.77.0'
13294
13377
  Seahorse::Client::Request.new(handlers, context)
13295
13378
  end
13296
13379
 
@@ -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.73.0'
51
+ GEM_VERSION = '1.77.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.73.0
4
+ version: 1.77.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-08-31 00:00:00.000000000 Z
11
+ date: 2021-10-18 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.119.0
22
+ version: 3.121.2
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.119.0
32
+ version: 3.121.2
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
76
  requirements:
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: '0'
79
+ version: '2.3'
80
80
  required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - ">="