aws-sdk-iot 1.111.0 → 1.112.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: cdc5d391636eb0f1d6b0d3f7a4468b07307cbf6666ca43dc850f14a865c3dc68
4
- data.tar.gz: 6bd773712d0c5b31215103f45cb81ce7c8311559dc9d2ba833d2ca8e2941997a
3
+ metadata.gz: 7571f69633431fd900d72325637a9f5f0a829fb6794ed7900a4e1c5c4033ef8c
4
+ data.tar.gz: 0ebb8ddeccd9377a0509e1571525ff550a87a166e60cee981d665ec324777052
5
5
  SHA512:
6
- metadata.gz: c7c6f9c007320877cc142e5b2c284ed9cdda124b28e69c245af745596087091bb1437a4cba8c9c58c2282ace1cd6335b92a80d38f58380b26a9e0e1a378393ea
7
- data.tar.gz: e1a755e547ee6eb890a426b4c5e2763cac437818d218e097f8c3a5c9cfc4bb8efa1fd9f09491539fd2fc0c45ab584a2a6c9428cbfbb6a79710b45ef7c0c1167f
6
+ metadata.gz: 87c6c9c0808e967ca8d698432173edde9c5566b900e8021f831d9cac90d73cbcb2d94517d03d29402641acab6e086921fb3d764b397a6965a322f8c5c4703a61
7
+ data.tar.gz: 8129f8475f90fc898da90fce1bad02408bc75784cbbec8d3abc37881173672d94048d9b79b2796420aff17f500878e6225eb36b3414354d497484020e6fed907
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.112.0 (2023-11-14)
5
+ ------------------
6
+
7
+ * Feature - This release introduces new attributes in API CreateSecurityProfile, UpdateSecurityProfile and DescribeSecurityProfile to support management of Metrics Export for AWS IoT Device Defender Detect.
8
+
4
9
  1.111.0 (2023-09-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.111.0
1
+ 1.112.0
@@ -2998,6 +2998,9 @@ module Aws::IoT
2998
2998
  # @option params [Array<Types::Tag>] :tags
2999
2999
  # Metadata that can be used to manage the security profile.
3000
3000
  #
3001
+ # @option params [Types::MetricsExportConfig] :metrics_export_config
3002
+ # Specifies the MQTT topic and role ARN required for metric export.
3003
+ #
3001
3004
  # @return [Types::CreateSecurityProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3002
3005
  #
3003
3006
  # * {Types::CreateSecurityProfileResponse#security_profile_name #security_profile_name} => String
@@ -3037,6 +3040,7 @@ module Aws::IoT
3037
3040
  # },
3038
3041
  # },
3039
3042
  # suppress_alerts: false,
3043
+ # export_metric: false,
3040
3044
  # },
3041
3045
  # ],
3042
3046
  # alert_targets: {
@@ -3053,6 +3057,7 @@ module Aws::IoT
3053
3057
  # dimension_name: "DimensionName", # required
3054
3058
  # operator: "IN", # accepts IN, NOT_IN
3055
3059
  # },
3060
+ # export_metric: false,
3056
3061
  # },
3057
3062
  # ],
3058
3063
  # tags: [
@@ -3061,6 +3066,10 @@ module Aws::IoT
3061
3066
  # value: "TagValue",
3062
3067
  # },
3063
3068
  # ],
3069
+ # metrics_export_config: {
3070
+ # mqtt_topic: "MqttTopic", # required
3071
+ # role_arn: "RoleArn", # required
3072
+ # },
3064
3073
  # })
3065
3074
  #
3066
3075
  # @example Response structure
@@ -3221,6 +3230,9 @@ module Aws::IoT
3221
3230
  # <note markdown="1"> This is a control plane operation. See [Authorization][1] for
3222
3231
  # information about authorizing control plane actions.
3223
3232
  #
3233
+ # If the `ThingGroup` that you create has the exact same attributes as
3234
+ # an existing `ThingGroup`, you will get a 200 success response.
3235
+ #
3224
3236
  # </note>
3225
3237
  #
3226
3238
  # Requires permission to access the [CreateThingGroup][2] action.
@@ -6393,6 +6405,7 @@ module Aws::IoT
6393
6405
  # * {Types::DescribeSecurityProfileResponse#version #version} => Integer
6394
6406
  # * {Types::DescribeSecurityProfileResponse#creation_date #creation_date} => Time
6395
6407
  # * {Types::DescribeSecurityProfileResponse#last_modified_date #last_modified_date} => Time
6408
+ # * {Types::DescribeSecurityProfileResponse#metrics_export_config #metrics_export_config} => Types::MetricsExportConfig
6396
6409
  #
6397
6410
  # @example Request syntax with placeholder values
6398
6411
  #
@@ -6427,6 +6440,7 @@ module Aws::IoT
6427
6440
  # resp.behaviors[0].criteria.statistical_threshold.statistic #=> String
6428
6441
  # resp.behaviors[0].criteria.ml_detection_config.confidence_level #=> String, one of "LOW", "MEDIUM", "HIGH"
6429
6442
  # resp.behaviors[0].suppress_alerts #=> Boolean
6443
+ # resp.behaviors[0].export_metric #=> Boolean
6430
6444
  # resp.alert_targets #=> Hash
6431
6445
  # resp.alert_targets["AlertTargetType"].alert_target_arn #=> String
6432
6446
  # resp.alert_targets["AlertTargetType"].role_arn #=> String
@@ -6436,9 +6450,12 @@ module Aws::IoT
6436
6450
  # resp.additional_metrics_to_retain_v2[0].metric #=> String
6437
6451
  # resp.additional_metrics_to_retain_v2[0].metric_dimension.dimension_name #=> String
6438
6452
  # resp.additional_metrics_to_retain_v2[0].metric_dimension.operator #=> String, one of "IN", "NOT_IN"
6453
+ # resp.additional_metrics_to_retain_v2[0].export_metric #=> Boolean
6439
6454
  # resp.version #=> Integer
6440
6455
  # resp.creation_date #=> Time
6441
6456
  # resp.last_modified_date #=> Time
6457
+ # resp.metrics_export_config.mqtt_topic #=> String
6458
+ # resp.metrics_export_config.role_arn #=> String
6442
6459
  #
6443
6460
  # @overload describe_security_profile(params = {})
6444
6461
  # @param [Hash] params ({})
@@ -8061,6 +8078,7 @@ module Aws::IoT
8061
8078
  # resp.active_violations[0].behavior.criteria.statistical_threshold.statistic #=> String
8062
8079
  # resp.active_violations[0].behavior.criteria.ml_detection_config.confidence_level #=> String, one of "LOW", "MEDIUM", "HIGH"
8063
8080
  # resp.active_violations[0].behavior.suppress_alerts #=> Boolean
8081
+ # resp.active_violations[0].behavior.export_metric #=> Boolean
8064
8082
  # resp.active_violations[0].last_violation_value.count #=> Integer
8065
8083
  # resp.active_violations[0].last_violation_value.cidrs #=> Array
8066
8084
  # resp.active_violations[0].last_violation_value.cidrs[0] #=> String
@@ -11394,6 +11412,7 @@ module Aws::IoT
11394
11412
  # resp.violation_events[0].behavior.criteria.statistical_threshold.statistic #=> String
11395
11413
  # resp.violation_events[0].behavior.criteria.ml_detection_config.confidence_level #=> String, one of "LOW", "MEDIUM", "HIGH"
11396
11414
  # resp.violation_events[0].behavior.suppress_alerts #=> Boolean
11415
+ # resp.violation_events[0].behavior.export_metric #=> Boolean
11397
11416
  # resp.violation_events[0].metric_value.count #=> Integer
11398
11417
  # resp.violation_events[0].metric_value.cidrs #=> Array
11399
11418
  # resp.violation_events[0].metric_value.cidrs[0] #=> String
@@ -12300,7 +12319,8 @@ module Aws::IoT
12300
12319
  # no additional results.
12301
12320
  #
12302
12321
  # @option params [Integer] :max_results
12303
- # The maximum number of results to return at one time.
12322
+ # The maximum number of results to return at one time. The response
12323
+ # might contain fewer results but will never contain more.
12304
12324
  #
12305
12325
  # @option params [String] :query_version
12306
12326
  # The query version.
@@ -14304,6 +14324,12 @@ module Aws::IoT
14304
14324
  # value that is different from the actual version, a
14305
14325
  # `VersionConflictException` is thrown.
14306
14326
  #
14327
+ # @option params [Types::MetricsExportConfig] :metrics_export_config
14328
+ # Specifies the MQTT topic and role ARN required for metric export.
14329
+ #
14330
+ # @option params [Boolean] :delete_metrics_export_config
14331
+ # Set the value as true to delete metrics export related configurations.
14332
+ #
14307
14333
  # @return [Types::UpdateSecurityProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
14308
14334
  #
14309
14335
  # * {Types::UpdateSecurityProfileResponse#security_profile_name #security_profile_name} => String
@@ -14316,6 +14342,7 @@ module Aws::IoT
14316
14342
  # * {Types::UpdateSecurityProfileResponse#version #version} => Integer
14317
14343
  # * {Types::UpdateSecurityProfileResponse#creation_date #creation_date} => Time
14318
14344
  # * {Types::UpdateSecurityProfileResponse#last_modified_date #last_modified_date} => Time
14345
+ # * {Types::UpdateSecurityProfileResponse#metrics_export_config #metrics_export_config} => Types::MetricsExportConfig
14319
14346
  #
14320
14347
  # @example Request syntax with placeholder values
14321
14348
  #
@@ -14351,6 +14378,7 @@ module Aws::IoT
14351
14378
  # },
14352
14379
  # },
14353
14380
  # suppress_alerts: false,
14381
+ # export_metric: false,
14354
14382
  # },
14355
14383
  # ],
14356
14384
  # alert_targets: {
@@ -14367,12 +14395,18 @@ module Aws::IoT
14367
14395
  # dimension_name: "DimensionName", # required
14368
14396
  # operator: "IN", # accepts IN, NOT_IN
14369
14397
  # },
14398
+ # export_metric: false,
14370
14399
  # },
14371
14400
  # ],
14372
14401
  # delete_behaviors: false,
14373
14402
  # delete_alert_targets: false,
14374
14403
  # delete_additional_metrics_to_retain: false,
14375
14404
  # expected_version: 1,
14405
+ # metrics_export_config: {
14406
+ # mqtt_topic: "MqttTopic", # required
14407
+ # role_arn: "RoleArn", # required
14408
+ # },
14409
+ # delete_metrics_export_config: false,
14376
14410
  # })
14377
14411
  #
14378
14412
  # @example Response structure
@@ -14402,6 +14436,7 @@ module Aws::IoT
14402
14436
  # resp.behaviors[0].criteria.statistical_threshold.statistic #=> String
14403
14437
  # resp.behaviors[0].criteria.ml_detection_config.confidence_level #=> String, one of "LOW", "MEDIUM", "HIGH"
14404
14438
  # resp.behaviors[0].suppress_alerts #=> Boolean
14439
+ # resp.behaviors[0].export_metric #=> Boolean
14405
14440
  # resp.alert_targets #=> Hash
14406
14441
  # resp.alert_targets["AlertTargetType"].alert_target_arn #=> String
14407
14442
  # resp.alert_targets["AlertTargetType"].role_arn #=> String
@@ -14411,9 +14446,12 @@ module Aws::IoT
14411
14446
  # resp.additional_metrics_to_retain_v2[0].metric #=> String
14412
14447
  # resp.additional_metrics_to_retain_v2[0].metric_dimension.dimension_name #=> String
14413
14448
  # resp.additional_metrics_to_retain_v2[0].metric_dimension.operator #=> String, one of "IN", "NOT_IN"
14449
+ # resp.additional_metrics_to_retain_v2[0].export_metric #=> Boolean
14414
14450
  # resp.version #=> Integer
14415
14451
  # resp.creation_date #=> Time
14416
14452
  # resp.last_modified_date #=> Time
14453
+ # resp.metrics_export_config.mqtt_topic #=> String
14454
+ # resp.metrics_export_config.role_arn #=> String
14417
14455
  #
14418
14456
  # @overload update_security_profile(params = {})
14419
14457
  # @param [Hash] params ({})
@@ -14745,6 +14783,7 @@ module Aws::IoT
14745
14783
  # },
14746
14784
  # },
14747
14785
  # suppress_alerts: false,
14786
+ # export_metric: false,
14748
14787
  # },
14749
14788
  # ],
14750
14789
  # })
@@ -14775,7 +14814,7 @@ module Aws::IoT
14775
14814
  params: params,
14776
14815
  config: config)
14777
14816
  context[:gem_name] = 'aws-sdk-iot'
14778
- context[:gem_version] = '1.111.0'
14817
+ context[:gem_version] = '1.112.0'
14779
14818
  Seahorse::Client::Request.new(handlers, context)
14780
14819
  end
14781
14820
 
@@ -335,6 +335,7 @@ module Aws::IoT
335
335
  DeleteJobExecutionRequest = Shapes::StructureShape.new(name: 'DeleteJobExecutionRequest')
336
336
  DeleteJobRequest = Shapes::StructureShape.new(name: 'DeleteJobRequest')
337
337
  DeleteJobTemplateRequest = Shapes::StructureShape.new(name: 'DeleteJobTemplateRequest')
338
+ DeleteMetricsExportConfig = Shapes::BooleanShape.new(name: 'DeleteMetricsExportConfig')
338
339
  DeleteMitigationActionRequest = Shapes::StructureShape.new(name: 'DeleteMitigationActionRequest')
339
340
  DeleteMitigationActionResponse = Shapes::StructureShape.new(name: 'DeleteMitigationActionResponse')
340
341
  DeleteOTAUpdateRequest = Shapes::StructureShape.new(name: 'DeleteOTAUpdateRequest')
@@ -523,6 +524,7 @@ module Aws::IoT
523
524
  ExpiresInSeconds = Shapes::IntegerShape.new(name: 'ExpiresInSeconds')
524
525
  ExplicitDeny = Shapes::StructureShape.new(name: 'ExplicitDeny')
525
526
  ExponentialRolloutRate = Shapes::StructureShape.new(name: 'ExponentialRolloutRate')
527
+ ExportMetric = Shapes::BooleanShape.new(name: 'ExportMetric')
526
528
  FailedChecksCount = Shapes::IntegerShape.new(name: 'FailedChecksCount')
527
529
  FailedFindingsCount = Shapes::IntegerShape.new(name: 'FailedFindingsCount')
528
530
  FailedThings = Shapes::IntegerShape.new(name: 'FailedThings')
@@ -839,6 +841,7 @@ module Aws::IoT
839
841
  MetricNames = Shapes::ListShape.new(name: 'MetricNames')
840
842
  MetricToRetain = Shapes::StructureShape.new(name: 'MetricToRetain')
841
843
  MetricValue = Shapes::StructureShape.new(name: 'MetricValue')
844
+ MetricsExportConfig = Shapes::StructureShape.new(name: 'MetricsExportConfig')
842
845
  Minimum = Shapes::FloatShape.new(name: 'Minimum')
843
846
  MinimumNumberOfExecutedThings = Shapes::IntegerShape.new(name: 'MinimumNumberOfExecutedThings')
844
847
  MissingContextValue = Shapes::StringShape.new(name: 'MissingContextValue')
@@ -859,6 +862,7 @@ module Aws::IoT
859
862
  MqttContext = Shapes::StructureShape.new(name: 'MqttContext')
860
863
  MqttHeaders = Shapes::StructureShape.new(name: 'MqttHeaders')
861
864
  MqttPassword = Shapes::BlobShape.new(name: 'MqttPassword')
865
+ MqttTopic = Shapes::StringShape.new(name: 'MqttTopic')
862
866
  MqttUsername = Shapes::StringShape.new(name: 'MqttUsername')
863
867
  NamedShadowIndexingMode = Shapes::StringShape.new(name: 'NamedShadowIndexingMode')
864
868
  NamedShadowNamesFilter = Shapes::ListShape.new(name: 'NamedShadowNamesFilter')
@@ -1670,6 +1674,7 @@ module Aws::IoT
1670
1674
  Behavior.add_member(:metric_dimension, Shapes::ShapeRef.new(shape: MetricDimension, location_name: "metricDimension"))
1671
1675
  Behavior.add_member(:criteria, Shapes::ShapeRef.new(shape: BehaviorCriteria, location_name: "criteria"))
1672
1676
  Behavior.add_member(:suppress_alerts, Shapes::ShapeRef.new(shape: SuppressAlerts, location_name: "suppressAlerts"))
1677
+ Behavior.add_member(:export_metric, Shapes::ShapeRef.new(shape: ExportMetric, location_name: "exportMetric"))
1673
1678
  Behavior.struct_class = Types::Behavior
1674
1679
 
1675
1680
  BehaviorCriteria.add_member(:comparison_operator, Shapes::ShapeRef.new(shape: ComparisonOperator, location_name: "comparisonOperator"))
@@ -2169,6 +2174,7 @@ module Aws::IoT
2169
2174
  CreateSecurityProfileRequest.add_member(:additional_metrics_to_retain, Shapes::ShapeRef.new(shape: AdditionalMetricsToRetainList, deprecated: true, location_name: "additionalMetricsToRetain", metadata: {"deprecatedMessage"=>"Use additionalMetricsToRetainV2."}))
2170
2175
  CreateSecurityProfileRequest.add_member(:additional_metrics_to_retain_v2, Shapes::ShapeRef.new(shape: AdditionalMetricsToRetainV2List, location_name: "additionalMetricsToRetainV2"))
2171
2176
  CreateSecurityProfileRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
2177
+ CreateSecurityProfileRequest.add_member(:metrics_export_config, Shapes::ShapeRef.new(shape: MetricsExportConfig, location_name: "metricsExportConfig"))
2172
2178
  CreateSecurityProfileRequest.struct_class = Types::CreateSecurityProfileRequest
2173
2179
 
2174
2180
  CreateSecurityProfileResponse.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location_name: "securityProfileName"))
@@ -2699,6 +2705,7 @@ module Aws::IoT
2699
2705
  DescribeSecurityProfileResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
2700
2706
  DescribeSecurityProfileResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDate"))
2701
2707
  DescribeSecurityProfileResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedDate"))
2708
+ DescribeSecurityProfileResponse.add_member(:metrics_export_config, Shapes::ShapeRef.new(shape: MetricsExportConfig, location_name: "metricsExportConfig"))
2702
2709
  DescribeSecurityProfileResponse.struct_class = Types::DescribeSecurityProfileResponse
2703
2710
 
2704
2711
  DescribeStreamRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, required: true, location: "uri", location_name: "streamId"))
@@ -3957,6 +3964,7 @@ module Aws::IoT
3957
3964
 
3958
3965
  MetricToRetain.add_member(:metric, Shapes::ShapeRef.new(shape: BehaviorMetric, required: true, location_name: "metric"))
3959
3966
  MetricToRetain.add_member(:metric_dimension, Shapes::ShapeRef.new(shape: MetricDimension, location_name: "metricDimension"))
3967
+ MetricToRetain.add_member(:export_metric, Shapes::ShapeRef.new(shape: ExportMetric, location_name: "exportMetric"))
3960
3968
  MetricToRetain.struct_class = Types::MetricToRetain
3961
3969
 
3962
3970
  MetricValue.add_member(:count, Shapes::ShapeRef.new(shape: UnsignedLong, location_name: "count"))
@@ -3967,6 +3975,10 @@ module Aws::IoT
3967
3975
  MetricValue.add_member(:strings, Shapes::ShapeRef.new(shape: StringList, location_name: "strings"))
3968
3976
  MetricValue.struct_class = Types::MetricValue
3969
3977
 
3978
+ MetricsExportConfig.add_member(:mqtt_topic, Shapes::ShapeRef.new(shape: MqttTopic, required: true, location_name: "mqttTopic"))
3979
+ MetricsExportConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
3980
+ MetricsExportConfig.struct_class = Types::MetricsExportConfig
3981
+
3970
3982
  MissingContextValues.member = Shapes::ShapeRef.new(shape: MissingContextValue)
3971
3983
 
3972
3984
  MitigationAction.add_member(:name, Shapes::ShapeRef.new(shape: MitigationActionName, location_name: "name"))
@@ -5037,6 +5049,8 @@ module Aws::IoT
5037
5049
  UpdateSecurityProfileRequest.add_member(:delete_alert_targets, Shapes::ShapeRef.new(shape: DeleteAlertTargets, location_name: "deleteAlertTargets"))
5038
5050
  UpdateSecurityProfileRequest.add_member(:delete_additional_metrics_to_retain, Shapes::ShapeRef.new(shape: DeleteAdditionalMetricsToRetain, location_name: "deleteAdditionalMetricsToRetain"))
5039
5051
  UpdateSecurityProfileRequest.add_member(:expected_version, Shapes::ShapeRef.new(shape: OptionalVersion, location: "querystring", location_name: "expectedVersion"))
5052
+ UpdateSecurityProfileRequest.add_member(:metrics_export_config, Shapes::ShapeRef.new(shape: MetricsExportConfig, location_name: "metricsExportConfig"))
5053
+ UpdateSecurityProfileRequest.add_member(:delete_metrics_export_config, Shapes::ShapeRef.new(shape: DeleteMetricsExportConfig, location_name: "deleteMetricsExportConfig"))
5040
5054
  UpdateSecurityProfileRequest.struct_class = Types::UpdateSecurityProfileRequest
5041
5055
 
5042
5056
  UpdateSecurityProfileResponse.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location_name: "securityProfileName"))
@@ -5049,6 +5063,7 @@ module Aws::IoT
5049
5063
  UpdateSecurityProfileResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
5050
5064
  UpdateSecurityProfileResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDate"))
5051
5065
  UpdateSecurityProfileResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedDate"))
5066
+ UpdateSecurityProfileResponse.add_member(:metrics_export_config, Shapes::ShapeRef.new(shape: MetricsExportConfig, location_name: "metricsExportConfig"))
5052
5067
  UpdateSecurityProfileResponse.struct_class = Types::UpdateSecurityProfileResponse
5053
5068
 
5054
5069
  UpdateStreamRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, required: true, location: "uri", location_name: "streamId"))
@@ -32,7 +32,7 @@ module Aws::IoT
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://iot-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -1300,12 +1300,18 @@ module Aws::IoT
1300
1300
  # Suppresses alerts.
1301
1301
  # @return [Boolean]
1302
1302
  #
1303
+ # @!attribute [rw] export_metric
1304
+ # Value indicates exporting metrics related to the behavior when it is
1305
+ # true.
1306
+ # @return [Boolean]
1307
+ #
1303
1308
  class Behavior < Struct.new(
1304
1309
  :name,
1305
1310
  :metric,
1306
1311
  :metric_dimension,
1307
1312
  :criteria,
1308
- :suppress_alerts)
1313
+ :suppress_alerts,
1314
+ :export_metric)
1309
1315
  SENSITIVE = []
1310
1316
  include Aws::Structure
1311
1317
  end
@@ -3773,6 +3779,10 @@ module Aws::IoT
3773
3779
  # Metadata that can be used to manage the security profile.
3774
3780
  # @return [Array<Types::Tag>]
3775
3781
  #
3782
+ # @!attribute [rw] metrics_export_config
3783
+ # Specifies the MQTT topic and role ARN required for metric export.
3784
+ # @return [Types::MetricsExportConfig]
3785
+ #
3776
3786
  class CreateSecurityProfileRequest < Struct.new(
3777
3787
  :security_profile_name,
3778
3788
  :security_profile_description,
@@ -3780,7 +3790,8 @@ module Aws::IoT
3780
3790
  :alert_targets,
3781
3791
  :additional_metrics_to_retain,
3782
3792
  :additional_metrics_to_retain_v2,
3783
- :tags)
3793
+ :tags,
3794
+ :metrics_export_config)
3784
3795
  SENSITIVE = []
3785
3796
  include Aws::Structure
3786
3797
  end
@@ -5999,6 +6010,10 @@ module Aws::IoT
5999
6010
  # The time the security profile was last modified.
6000
6011
  # @return [Time]
6001
6012
  #
6013
+ # @!attribute [rw] metrics_export_config
6014
+ # Specifies the MQTT topic and role ARN required for metric export.
6015
+ # @return [Types::MetricsExportConfig]
6016
+ #
6002
6017
  class DescribeSecurityProfileResponse < Struct.new(
6003
6018
  :security_profile_name,
6004
6019
  :security_profile_arn,
@@ -6009,7 +6024,8 @@ module Aws::IoT
6009
6024
  :additional_metrics_to_retain_v2,
6010
6025
  :version,
6011
6026
  :creation_date,
6012
- :last_modified_date)
6027
+ :last_modified_date,
6028
+ :metrics_export_config)
6013
6029
  SENSITIVE = []
6014
6030
  include Aws::Structure
6015
6031
  end
@@ -11537,9 +11553,16 @@ module Aws::IoT
11537
11553
  # The dimension of a metric. This can't be used with custom metrics.
11538
11554
  # @return [Types::MetricDimension]
11539
11555
  #
11556
+ # @!attribute [rw] export_metric
11557
+ # Value added in both Behavior and AdditionalMetricsToRetainV2 to
11558
+ # indicate if Device Defender Detect should export the corresponding
11559
+ # metrics.
11560
+ # @return [Boolean]
11561
+ #
11540
11562
  class MetricToRetain < Struct.new(
11541
11563
  :metric,
11542
- :metric_dimension)
11564
+ :metric_dimension,
11565
+ :export_metric)
11543
11566
  SENSITIVE = []
11544
11567
  include Aws::Structure
11545
11568
  end
@@ -11584,6 +11607,26 @@ module Aws::IoT
11584
11607
  include Aws::Structure
11585
11608
  end
11586
11609
 
11610
+ # Set configurations for metrics export.
11611
+ #
11612
+ # @!attribute [rw] mqtt_topic
11613
+ # The MQTT topic that Device Defender Detect should publish messages
11614
+ # to for metrics export.
11615
+ # @return [String]
11616
+ #
11617
+ # @!attribute [rw] role_arn
11618
+ # This role ARN has permission to publish MQTT messages, after which
11619
+ # Device Defender Detect can assume the role and publish messages on
11620
+ # your behalf.
11621
+ # @return [String]
11622
+ #
11623
+ class MetricsExportConfig < Struct.new(
11624
+ :mqtt_topic,
11625
+ :role_arn)
11626
+ SENSITIVE = []
11627
+ include Aws::Structure
11628
+ end
11629
+
11587
11630
  # Describes which changes should be applied as part of a mitigation
11588
11631
  # action.
11589
11632
  #
@@ -13239,7 +13282,8 @@ module Aws::IoT
13239
13282
  # @return [String]
13240
13283
  #
13241
13284
  # @!attribute [rw] max_results
13242
- # The maximum number of results to return at one time.
13285
+ # The maximum number of results to return at one time. The response
13286
+ # might contain fewer results but will never contain more.
13243
13287
  # @return [Integer]
13244
13288
  #
13245
13289
  # @!attribute [rw] query_version
@@ -14414,6 +14458,11 @@ module Aws::IoT
14414
14458
  # information, see [Managed fields][1] in the *Amazon Web Services IoT
14415
14459
  # Core Developer Guide*.
14416
14460
  #
14461
+ # <note markdown="1"> You can't modify managed fields by updating fleet indexing
14462
+ # configuration.
14463
+ #
14464
+ # </note>
14465
+ #
14417
14466
  #
14418
14467
  #
14419
14468
  # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/managing-fleet-index.html#managed-field
@@ -14537,7 +14586,18 @@ module Aws::IoT
14537
14586
  #
14538
14587
  # @!attribute [rw] managed_fields
14539
14588
  # Contains fields that are indexed and whose types are already known
14540
- # by the Fleet Indexing service.
14589
+ # by the Fleet Indexing service. This is an optional field. For more
14590
+ # information, see [Managed fields][1] in the *Amazon Web Services IoT
14591
+ # Core Developer Guide*.
14592
+ #
14593
+ # <note markdown="1"> You can't modify managed fields by updating fleet indexing
14594
+ # configuration.
14595
+ #
14596
+ # </note>
14597
+ #
14598
+ #
14599
+ #
14600
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/managing-fleet-index.html#managed-field
14541
14601
  # @return [Array<Types::Field>]
14542
14602
  #
14543
14603
  # @!attribute [rw] custom_fields
@@ -16175,6 +16235,15 @@ module Aws::IoT
16175
16235
  # `VersionConflictException` is thrown.
16176
16236
  # @return [Integer]
16177
16237
  #
16238
+ # @!attribute [rw] metrics_export_config
16239
+ # Specifies the MQTT topic and role ARN required for metric export.
16240
+ # @return [Types::MetricsExportConfig]
16241
+ #
16242
+ # @!attribute [rw] delete_metrics_export_config
16243
+ # Set the value as true to delete metrics export related
16244
+ # configurations.
16245
+ # @return [Boolean]
16246
+ #
16178
16247
  class UpdateSecurityProfileRequest < Struct.new(
16179
16248
  :security_profile_name,
16180
16249
  :security_profile_description,
@@ -16185,7 +16254,9 @@ module Aws::IoT
16185
16254
  :delete_behaviors,
16186
16255
  :delete_alert_targets,
16187
16256
  :delete_additional_metrics_to_retain,
16188
- :expected_version)
16257
+ :expected_version,
16258
+ :metrics_export_config,
16259
+ :delete_metrics_export_config)
16189
16260
  SENSITIVE = []
16190
16261
  include Aws::Structure
16191
16262
  end
@@ -16239,6 +16310,10 @@ module Aws::IoT
16239
16310
  # The time the security profile was last modified.
16240
16311
  # @return [Time]
16241
16312
  #
16313
+ # @!attribute [rw] metrics_export_config
16314
+ # Specifies the MQTT topic and role ARN required for metric export.
16315
+ # @return [Types::MetricsExportConfig]
16316
+ #
16242
16317
  class UpdateSecurityProfileResponse < Struct.new(
16243
16318
  :security_profile_name,
16244
16319
  :security_profile_arn,
@@ -16249,7 +16324,8 @@ module Aws::IoT
16249
16324
  :additional_metrics_to_retain_v2,
16250
16325
  :version,
16251
16326
  :creation_date,
16252
- :last_modified_date)
16327
+ :last_modified_date,
16328
+ :metrics_export_config)
16253
16329
  SENSITIVE = []
16254
16330
  include Aws::Structure
16255
16331
  end
data/lib/aws-sdk-iot.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-iot/customizations'
52
52
  # @!group service
53
53
  module Aws::IoT
54
54
 
55
- GEM_VERSION = '1.111.0'
55
+ GEM_VERSION = '1.112.0'
56
56
 
57
57
  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.111.0
4
+ version: 1.112.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: 2023-09-27 00:00:00.000000000 Z
11
+ date: 2023-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core