aws-sdk-iot 1.45.0 → 1.46.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-iot.rb +1 -1
- data/lib/aws-sdk-iot/client.rb +270 -4
- data/lib/aws-sdk-iot/client_api.rb +151 -4
- data/lib/aws-sdk-iot/resource.rb +1 -7
- data/lib/aws-sdk-iot/types.rb +391 -4
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 4382449a82754996007bdb4bdb34fa8b79647056
|
4
|
+
data.tar.gz: a38bacdd6e95a49d457a70e26a04e64fa12eebe0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2965d34e99c66adfe4404c1fda6b279b7f1c65f724e0e0c07bdca5f6e7f10c3d23b7c6eaa177cbb108a0a7f610446c63a0dd4b4b2eebc888390d1b3e81dcbb0
|
7
|
+
data.tar.gz: 259ae8fa73c2c2e32da544a4643c2dadf829414a11529e662e8c12a29ccc958bd7acb9afe75632b46b176d99ccabe4c01b5c76106dc847a4fd1df7c17ed297f0
|
data/lib/aws-sdk-iot.rb
CHANGED
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -269,8 +269,7 @@ module Aws::IoT
|
|
269
269
|
#
|
270
270
|
# @option options [Integer] :http_read_timeout (60) The default
|
271
271
|
# number of seconds to wait for response data. This value can
|
272
|
-
# safely be set
|
273
|
-
# per-request on the session yielded by {#session_for}.
|
272
|
+
# safely be set per-request on the session.
|
274
273
|
#
|
275
274
|
# @option options [Float] :http_idle_timeout (5) The number of
|
276
275
|
# seconds a connection is allowed to sit idle before it is
|
@@ -282,7 +281,7 @@ module Aws::IoT
|
|
282
281
|
# request body. This option has no effect unless the request has
|
283
282
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
284
283
|
# disables this behaviour. This value can safely be set per
|
285
|
-
# request on the session
|
284
|
+
# request on the session.
|
286
285
|
#
|
287
286
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
288
287
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -961,6 +960,68 @@ module Aws::IoT
|
|
961
960
|
req.send_request(options)
|
962
961
|
end
|
963
962
|
|
963
|
+
# Create a dimension that you can use to limit the scope of a metric
|
964
|
+
# used in a security profile for AWS IoT Device Defender. For example,
|
965
|
+
# using a `TOPIC_FILTER` dimension, you can narrow down the scope of the
|
966
|
+
# metric only to MQTT topics whose name match the pattern specified in
|
967
|
+
# the dimension.
|
968
|
+
#
|
969
|
+
# @option params [required, String] :name
|
970
|
+
# A unique identifier for the dimension. Choose something that describes
|
971
|
+
# the type and value to make it easy to remember what it does.
|
972
|
+
#
|
973
|
+
# @option params [required, String] :type
|
974
|
+
# Specifies the type of dimension. Supported types: `TOPIC_FILTER.`
|
975
|
+
#
|
976
|
+
# @option params [required, Array<String>] :string_values
|
977
|
+
# Specifies the value or list of values for the dimension. For
|
978
|
+
# `TOPIC_FILTER` dimensions, this is a pattern used to match the MQTT
|
979
|
+
# topic (for example, "admin/#").
|
980
|
+
#
|
981
|
+
# @option params [Array<Types::Tag>] :tags
|
982
|
+
# Metadata that can be used to manage the dimension.
|
983
|
+
#
|
984
|
+
# @option params [required, String] :client_request_token
|
985
|
+
# Each dimension must have a unique client request token. If you try to
|
986
|
+
# create a new dimension with the same token as a dimension that already
|
987
|
+
# exists, an exception occurs. If you omit this value, AWS SDKs will
|
988
|
+
# automatically generate a unique client request.
|
989
|
+
#
|
990
|
+
# **A suitable default value is auto-generated.** You should normally
|
991
|
+
# not need to pass this option.**
|
992
|
+
#
|
993
|
+
# @return [Types::CreateDimensionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
994
|
+
#
|
995
|
+
# * {Types::CreateDimensionResponse#name #name} => String
|
996
|
+
# * {Types::CreateDimensionResponse#arn #arn} => String
|
997
|
+
#
|
998
|
+
# @example Request syntax with placeholder values
|
999
|
+
#
|
1000
|
+
# resp = client.create_dimension({
|
1001
|
+
# name: "DimensionName", # required
|
1002
|
+
# type: "TOPIC_FILTER", # required, accepts TOPIC_FILTER
|
1003
|
+
# string_values: ["DimensionStringValue"], # required
|
1004
|
+
# tags: [
|
1005
|
+
# {
|
1006
|
+
# key: "TagKey",
|
1007
|
+
# value: "TagValue",
|
1008
|
+
# },
|
1009
|
+
# ],
|
1010
|
+
# client_request_token: "ClientRequestToken", # required
|
1011
|
+
# })
|
1012
|
+
#
|
1013
|
+
# @example Response structure
|
1014
|
+
#
|
1015
|
+
# resp.name #=> String
|
1016
|
+
# resp.arn #=> String
|
1017
|
+
#
|
1018
|
+
# @overload create_dimension(params = {})
|
1019
|
+
# @param [Hash] params ({})
|
1020
|
+
def create_dimension(params = {}, options = {})
|
1021
|
+
req = build_request(:create_dimension, params)
|
1022
|
+
req.send_request(options)
|
1023
|
+
end
|
1024
|
+
|
964
1025
|
# Creates a domain configuration.
|
965
1026
|
#
|
966
1027
|
# <note markdown="1"> The domain configuration feature is in public preview and is subject
|
@@ -1838,6 +1899,14 @@ module Aws::IoT
|
|
1838
1899
|
# retained for any metric used in the profile's `behaviors`, but it is
|
1839
1900
|
# also retained for any metric specified here.
|
1840
1901
|
#
|
1902
|
+
# **Note:** This API field is deprecated. Please use
|
1903
|
+
# CreateSecurityProfileRequest$additionalMetricsToRetainV2 instead.
|
1904
|
+
#
|
1905
|
+
# @option params [Array<Types::MetricToRetain>] :additional_metrics_to_retain_v2
|
1906
|
+
# A list of metrics whose data is retained (stored). By default, data is
|
1907
|
+
# retained for any metric used in the profile's `behaviors`, but it is
|
1908
|
+
# also retained for any metric specified here.
|
1909
|
+
#
|
1841
1910
|
# @option params [Array<Types::Tag>] :tags
|
1842
1911
|
# Metadata that can be used to manage the security profile.
|
1843
1912
|
#
|
@@ -1855,6 +1924,10 @@ module Aws::IoT
|
|
1855
1924
|
# {
|
1856
1925
|
# name: "BehaviorName", # required
|
1857
1926
|
# metric: "BehaviorMetric",
|
1927
|
+
# metric_dimension: {
|
1928
|
+
# dimension_name: "DimensionName", # required
|
1929
|
+
# operator: "IN", # accepts IN, NOT_IN
|
1930
|
+
# },
|
1858
1931
|
# criteria: {
|
1859
1932
|
# comparison_operator: "less-than", # accepts less-than, less-than-equals, greater-than, greater-than-equals, in-cidr-set, not-in-cidr-set, in-port-set, not-in-port-set
|
1860
1933
|
# value: {
|
@@ -1878,6 +1951,15 @@ module Aws::IoT
|
|
1878
1951
|
# },
|
1879
1952
|
# },
|
1880
1953
|
# additional_metrics_to_retain: ["BehaviorMetric"],
|
1954
|
+
# additional_metrics_to_retain_v2: [
|
1955
|
+
# {
|
1956
|
+
# metric: "BehaviorMetric", # required
|
1957
|
+
# metric_dimension: {
|
1958
|
+
# dimension_name: "DimensionName", # required
|
1959
|
+
# operator: "IN", # accepts IN, NOT_IN
|
1960
|
+
# },
|
1961
|
+
# },
|
1962
|
+
# ],
|
1881
1963
|
# tags: [
|
1882
1964
|
# {
|
1883
1965
|
# key: "TagKey",
|
@@ -2624,6 +2706,26 @@ module Aws::IoT
|
|
2624
2706
|
req.send_request(options)
|
2625
2707
|
end
|
2626
2708
|
|
2709
|
+
# Removes the specified dimension from your AWS account.
|
2710
|
+
#
|
2711
|
+
# @option params [required, String] :name
|
2712
|
+
# The unique identifier for the dimension that you want to delete.
|
2713
|
+
#
|
2714
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2715
|
+
#
|
2716
|
+
# @example Request syntax with placeholder values
|
2717
|
+
#
|
2718
|
+
# resp = client.delete_dimension({
|
2719
|
+
# name: "DimensionName", # required
|
2720
|
+
# })
|
2721
|
+
#
|
2722
|
+
# @overload delete_dimension(params = {})
|
2723
|
+
# @param [Hash] params ({})
|
2724
|
+
def delete_dimension(params = {}, options = {})
|
2725
|
+
req = build_request(:delete_dimension, params)
|
2726
|
+
req.send_request(options)
|
2727
|
+
end
|
2728
|
+
|
2627
2729
|
# Deletes the specified domain configuration.
|
2628
2730
|
#
|
2629
2731
|
# <note markdown="1"> The domain configuration feature is in public preview and is subject
|
@@ -3571,6 +3673,44 @@ module Aws::IoT
|
|
3571
3673
|
req.send_request(options)
|
3572
3674
|
end
|
3573
3675
|
|
3676
|
+
# Provides details about a dimension that is defined in your AWS
|
3677
|
+
# account.
|
3678
|
+
#
|
3679
|
+
# @option params [required, String] :name
|
3680
|
+
# The unique identifier for the dimension.
|
3681
|
+
#
|
3682
|
+
# @return [Types::DescribeDimensionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3683
|
+
#
|
3684
|
+
# * {Types::DescribeDimensionResponse#name #name} => String
|
3685
|
+
# * {Types::DescribeDimensionResponse#arn #arn} => String
|
3686
|
+
# * {Types::DescribeDimensionResponse#type #type} => String
|
3687
|
+
# * {Types::DescribeDimensionResponse#string_values #string_values} => Array<String>
|
3688
|
+
# * {Types::DescribeDimensionResponse#creation_date #creation_date} => Time
|
3689
|
+
# * {Types::DescribeDimensionResponse#last_modified_date #last_modified_date} => Time
|
3690
|
+
#
|
3691
|
+
# @example Request syntax with placeholder values
|
3692
|
+
#
|
3693
|
+
# resp = client.describe_dimension({
|
3694
|
+
# name: "DimensionName", # required
|
3695
|
+
# })
|
3696
|
+
#
|
3697
|
+
# @example Response structure
|
3698
|
+
#
|
3699
|
+
# resp.name #=> String
|
3700
|
+
# resp.arn #=> String
|
3701
|
+
# resp.type #=> String, one of "TOPIC_FILTER"
|
3702
|
+
# resp.string_values #=> Array
|
3703
|
+
# resp.string_values[0] #=> String
|
3704
|
+
# resp.creation_date #=> Time
|
3705
|
+
# resp.last_modified_date #=> Time
|
3706
|
+
#
|
3707
|
+
# @overload describe_dimension(params = {})
|
3708
|
+
# @param [Hash] params ({})
|
3709
|
+
def describe_dimension(params = {}, options = {})
|
3710
|
+
req = build_request(:describe_dimension, params)
|
3711
|
+
req.send_request(options)
|
3712
|
+
end
|
3713
|
+
|
3574
3714
|
# Gets summary information about a domain configuration.
|
3575
3715
|
#
|
3576
3716
|
# <note markdown="1"> The domain configuration feature is in public preview and is subject
|
@@ -4039,6 +4179,7 @@ module Aws::IoT
|
|
4039
4179
|
# * {Types::DescribeSecurityProfileResponse#behaviors #behaviors} => Array<Types::Behavior>
|
4040
4180
|
# * {Types::DescribeSecurityProfileResponse#alert_targets #alert_targets} => Hash<String,Types::AlertTarget>
|
4041
4181
|
# * {Types::DescribeSecurityProfileResponse#additional_metrics_to_retain #additional_metrics_to_retain} => Array<String>
|
4182
|
+
# * {Types::DescribeSecurityProfileResponse#additional_metrics_to_retain_v2 #additional_metrics_to_retain_v2} => Array<Types::MetricToRetain>
|
4042
4183
|
# * {Types::DescribeSecurityProfileResponse#version #version} => Integer
|
4043
4184
|
# * {Types::DescribeSecurityProfileResponse#creation_date #creation_date} => Time
|
4044
4185
|
# * {Types::DescribeSecurityProfileResponse#last_modified_date #last_modified_date} => Time
|
@@ -4057,6 +4198,8 @@ module Aws::IoT
|
|
4057
4198
|
# resp.behaviors #=> Array
|
4058
4199
|
# resp.behaviors[0].name #=> String
|
4059
4200
|
# resp.behaviors[0].metric #=> String
|
4201
|
+
# resp.behaviors[0].metric_dimension.dimension_name #=> String
|
4202
|
+
# resp.behaviors[0].metric_dimension.operator #=> String, one of "IN", "NOT_IN"
|
4060
4203
|
# resp.behaviors[0].criteria.comparison_operator #=> String, one of "less-than", "less-than-equals", "greater-than", "greater-than-equals", "in-cidr-set", "not-in-cidr-set", "in-port-set", "not-in-port-set"
|
4061
4204
|
# resp.behaviors[0].criteria.value.count #=> Integer
|
4062
4205
|
# resp.behaviors[0].criteria.value.cidrs #=> Array
|
@@ -4072,6 +4215,10 @@ module Aws::IoT
|
|
4072
4215
|
# resp.alert_targets["AlertTargetType"].role_arn #=> String
|
4073
4216
|
# resp.additional_metrics_to_retain #=> Array
|
4074
4217
|
# resp.additional_metrics_to_retain[0] #=> String
|
4218
|
+
# resp.additional_metrics_to_retain_v2 #=> Array
|
4219
|
+
# resp.additional_metrics_to_retain_v2[0].metric #=> String
|
4220
|
+
# resp.additional_metrics_to_retain_v2[0].metric_dimension.dimension_name #=> String
|
4221
|
+
# resp.additional_metrics_to_retain_v2[0].metric_dimension.operator #=> String, one of "IN", "NOT_IN"
|
4075
4222
|
# resp.version #=> Integer
|
4076
4223
|
# resp.creation_date #=> Time
|
4077
4224
|
# resp.last_modified_date #=> Time
|
@@ -5163,6 +5310,8 @@ module Aws::IoT
|
|
5163
5310
|
# resp.active_violations[0].security_profile_name #=> String
|
5164
5311
|
# resp.active_violations[0].behavior.name #=> String
|
5165
5312
|
# resp.active_violations[0].behavior.metric #=> String
|
5313
|
+
# resp.active_violations[0].behavior.metric_dimension.dimension_name #=> String
|
5314
|
+
# resp.active_violations[0].behavior.metric_dimension.operator #=> String, one of "IN", "NOT_IN"
|
5166
5315
|
# resp.active_violations[0].behavior.criteria.comparison_operator #=> String, one of "less-than", "less-than-equals", "greater-than", "greater-than-equals", "in-cidr-set", "not-in-cidr-set", "in-port-set", "not-in-port-set"
|
5167
5316
|
# resp.active_violations[0].behavior.criteria.value.count #=> Integer
|
5168
5317
|
# resp.active_violations[0].behavior.criteria.value.cidrs #=> Array
|
@@ -5726,6 +5875,39 @@ module Aws::IoT
|
|
5726
5875
|
req.send_request(options)
|
5727
5876
|
end
|
5728
5877
|
|
5878
|
+
# List the set of dimensions that are defined for your AWS account.
|
5879
|
+
#
|
5880
|
+
# @option params [String] :next_token
|
5881
|
+
# The token for the next set of results.
|
5882
|
+
#
|
5883
|
+
# @option params [Integer] :max_results
|
5884
|
+
# The maximum number of results to retrieve at one time.
|
5885
|
+
#
|
5886
|
+
# @return [Types::ListDimensionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5887
|
+
#
|
5888
|
+
# * {Types::ListDimensionsResponse#dimension_names #dimension_names} => Array<String>
|
5889
|
+
# * {Types::ListDimensionsResponse#next_token #next_token} => String
|
5890
|
+
#
|
5891
|
+
# @example Request syntax with placeholder values
|
5892
|
+
#
|
5893
|
+
# resp = client.list_dimensions({
|
5894
|
+
# next_token: "NextToken",
|
5895
|
+
# max_results: 1,
|
5896
|
+
# })
|
5897
|
+
#
|
5898
|
+
# @example Response structure
|
5899
|
+
#
|
5900
|
+
# resp.dimension_names #=> Array
|
5901
|
+
# resp.dimension_names[0] #=> String
|
5902
|
+
# resp.next_token #=> String
|
5903
|
+
#
|
5904
|
+
# @overload list_dimensions(params = {})
|
5905
|
+
# @param [Hash] params ({})
|
5906
|
+
def list_dimensions(params = {}, options = {})
|
5907
|
+
req = build_request(:list_dimensions, params)
|
5908
|
+
req.send_request(options)
|
5909
|
+
end
|
5910
|
+
|
5729
5911
|
# Gets a list of domain configurations for the user. This list is sorted
|
5730
5912
|
# alphabetically by domain configuration name.
|
5731
5913
|
#
|
@@ -6453,6 +6635,10 @@ module Aws::IoT
|
|
6453
6635
|
# @option params [Integer] :max_results
|
6454
6636
|
# The maximum number of results to return at one time.
|
6455
6637
|
#
|
6638
|
+
# @option params [String] :dimension_name
|
6639
|
+
# A filter to limit results to the security profiles that use the
|
6640
|
+
# defined dimension.
|
6641
|
+
#
|
6456
6642
|
# @return [Types::ListSecurityProfilesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6457
6643
|
#
|
6458
6644
|
# * {Types::ListSecurityProfilesResponse#security_profile_identifiers #security_profile_identifiers} => Array<Types::SecurityProfileIdentifier>
|
@@ -6463,6 +6649,7 @@ module Aws::IoT
|
|
6463
6649
|
# resp = client.list_security_profiles({
|
6464
6650
|
# next_token: "NextToken",
|
6465
6651
|
# max_results: 1,
|
6652
|
+
# dimension_name: "DimensionName",
|
6466
6653
|
# })
|
6467
6654
|
#
|
6468
6655
|
# @example Response structure
|
@@ -7216,6 +7403,8 @@ module Aws::IoT
|
|
7216
7403
|
# resp.violation_events[0].security_profile_name #=> String
|
7217
7404
|
# resp.violation_events[0].behavior.name #=> String
|
7218
7405
|
# resp.violation_events[0].behavior.metric #=> String
|
7406
|
+
# resp.violation_events[0].behavior.metric_dimension.dimension_name #=> String
|
7407
|
+
# resp.violation_events[0].behavior.metric_dimension.operator #=> String, one of "IN", "NOT_IN"
|
7219
7408
|
# resp.violation_events[0].behavior.criteria.comparison_operator #=> String, one of "less-than", "less-than-equals", "greater-than", "greater-than-equals", "in-cidr-set", "not-in-cidr-set", "in-port-set", "not-in-port-set"
|
7220
7409
|
# resp.violation_events[0].behavior.criteria.value.count #=> Integer
|
7221
7410
|
# resp.violation_events[0].behavior.criteria.value.cidrs #=> Array
|
@@ -8622,6 +8811,51 @@ module Aws::IoT
|
|
8622
8811
|
req.send_request(options)
|
8623
8812
|
end
|
8624
8813
|
|
8814
|
+
# Updates the definition for a dimension. You cannot change the type of
|
8815
|
+
# a dimension after it is created (you can delete it and re-create it).
|
8816
|
+
#
|
8817
|
+
# @option params [required, String] :name
|
8818
|
+
# A unique identifier for the dimension. Choose something that describes
|
8819
|
+
# the type and value to make it easy to remember what it does.
|
8820
|
+
#
|
8821
|
+
# @option params [required, Array<String>] :string_values
|
8822
|
+
# Specifies the value or list of values for the dimension. For
|
8823
|
+
# `TOPIC_FILTER` dimensions, this is a pattern used to match the MQTT
|
8824
|
+
# topic (for example, "admin/#").
|
8825
|
+
#
|
8826
|
+
# @return [Types::UpdateDimensionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8827
|
+
#
|
8828
|
+
# * {Types::UpdateDimensionResponse#name #name} => String
|
8829
|
+
# * {Types::UpdateDimensionResponse#arn #arn} => String
|
8830
|
+
# * {Types::UpdateDimensionResponse#type #type} => String
|
8831
|
+
# * {Types::UpdateDimensionResponse#string_values #string_values} => Array<String>
|
8832
|
+
# * {Types::UpdateDimensionResponse#creation_date #creation_date} => Time
|
8833
|
+
# * {Types::UpdateDimensionResponse#last_modified_date #last_modified_date} => Time
|
8834
|
+
#
|
8835
|
+
# @example Request syntax with placeholder values
|
8836
|
+
#
|
8837
|
+
# resp = client.update_dimension({
|
8838
|
+
# name: "DimensionName", # required
|
8839
|
+
# string_values: ["DimensionStringValue"], # required
|
8840
|
+
# })
|
8841
|
+
#
|
8842
|
+
# @example Response structure
|
8843
|
+
#
|
8844
|
+
# resp.name #=> String
|
8845
|
+
# resp.arn #=> String
|
8846
|
+
# resp.type #=> String, one of "TOPIC_FILTER"
|
8847
|
+
# resp.string_values #=> Array
|
8848
|
+
# resp.string_values[0] #=> String
|
8849
|
+
# resp.creation_date #=> Time
|
8850
|
+
# resp.last_modified_date #=> Time
|
8851
|
+
#
|
8852
|
+
# @overload update_dimension(params = {})
|
8853
|
+
# @param [Hash] params ({})
|
8854
|
+
def update_dimension(params = {}, options = {})
|
8855
|
+
req = build_request(:update_dimension, params)
|
8856
|
+
req.send_request(options)
|
8857
|
+
end
|
8858
|
+
|
8625
8859
|
# Updates values stored in the domain configuration. Domain
|
8626
8860
|
# configurations for default endpoints can't be updated.
|
8627
8861
|
#
|
@@ -9086,6 +9320,14 @@ module Aws::IoT
|
|
9086
9320
|
# retained for any metric used in the profile's `behaviors`, but it is
|
9087
9321
|
# also retained for any metric specified here.
|
9088
9322
|
#
|
9323
|
+
# **Note:** This API field is deprecated. Please use
|
9324
|
+
# UpdateSecurityProfileRequest$additionalMetricsToRetainV2 instead.
|
9325
|
+
#
|
9326
|
+
# @option params [Array<Types::MetricToRetain>] :additional_metrics_to_retain_v2
|
9327
|
+
# A list of metrics whose data is retained (stored). By default, data is
|
9328
|
+
# retained for any metric used in the profile's behaviors, but it is
|
9329
|
+
# also retained for any metric specified here.
|
9330
|
+
#
|
9089
9331
|
# @option params [Boolean] :delete_behaviors
|
9090
9332
|
# If true, delete all `behaviors` defined for this security profile. If
|
9091
9333
|
# any `behaviors` are defined in the current invocation, an exception
|
@@ -9115,6 +9357,7 @@ module Aws::IoT
|
|
9115
9357
|
# * {Types::UpdateSecurityProfileResponse#behaviors #behaviors} => Array<Types::Behavior>
|
9116
9358
|
# * {Types::UpdateSecurityProfileResponse#alert_targets #alert_targets} => Hash<String,Types::AlertTarget>
|
9117
9359
|
# * {Types::UpdateSecurityProfileResponse#additional_metrics_to_retain #additional_metrics_to_retain} => Array<String>
|
9360
|
+
# * {Types::UpdateSecurityProfileResponse#additional_metrics_to_retain_v2 #additional_metrics_to_retain_v2} => Array<Types::MetricToRetain>
|
9118
9361
|
# * {Types::UpdateSecurityProfileResponse#version #version} => Integer
|
9119
9362
|
# * {Types::UpdateSecurityProfileResponse#creation_date #creation_date} => Time
|
9120
9363
|
# * {Types::UpdateSecurityProfileResponse#last_modified_date #last_modified_date} => Time
|
@@ -9128,6 +9371,10 @@ module Aws::IoT
|
|
9128
9371
|
# {
|
9129
9372
|
# name: "BehaviorName", # required
|
9130
9373
|
# metric: "BehaviorMetric",
|
9374
|
+
# metric_dimension: {
|
9375
|
+
# dimension_name: "DimensionName", # required
|
9376
|
+
# operator: "IN", # accepts IN, NOT_IN
|
9377
|
+
# },
|
9131
9378
|
# criteria: {
|
9132
9379
|
# comparison_operator: "less-than", # accepts less-than, less-than-equals, greater-than, greater-than-equals, in-cidr-set, not-in-cidr-set, in-port-set, not-in-port-set
|
9133
9380
|
# value: {
|
@@ -9151,6 +9398,15 @@ module Aws::IoT
|
|
9151
9398
|
# },
|
9152
9399
|
# },
|
9153
9400
|
# additional_metrics_to_retain: ["BehaviorMetric"],
|
9401
|
+
# additional_metrics_to_retain_v2: [
|
9402
|
+
# {
|
9403
|
+
# metric: "BehaviorMetric", # required
|
9404
|
+
# metric_dimension: {
|
9405
|
+
# dimension_name: "DimensionName", # required
|
9406
|
+
# operator: "IN", # accepts IN, NOT_IN
|
9407
|
+
# },
|
9408
|
+
# },
|
9409
|
+
# ],
|
9154
9410
|
# delete_behaviors: false,
|
9155
9411
|
# delete_alert_targets: false,
|
9156
9412
|
# delete_additional_metrics_to_retain: false,
|
@@ -9165,6 +9421,8 @@ module Aws::IoT
|
|
9165
9421
|
# resp.behaviors #=> Array
|
9166
9422
|
# resp.behaviors[0].name #=> String
|
9167
9423
|
# resp.behaviors[0].metric #=> String
|
9424
|
+
# resp.behaviors[0].metric_dimension.dimension_name #=> String
|
9425
|
+
# resp.behaviors[0].metric_dimension.operator #=> String, one of "IN", "NOT_IN"
|
9168
9426
|
# resp.behaviors[0].criteria.comparison_operator #=> String, one of "less-than", "less-than-equals", "greater-than", "greater-than-equals", "in-cidr-set", "not-in-cidr-set", "in-port-set", "not-in-port-set"
|
9169
9427
|
# resp.behaviors[0].criteria.value.count #=> Integer
|
9170
9428
|
# resp.behaviors[0].criteria.value.cidrs #=> Array
|
@@ -9180,6 +9438,10 @@ module Aws::IoT
|
|
9180
9438
|
# resp.alert_targets["AlertTargetType"].role_arn #=> String
|
9181
9439
|
# resp.additional_metrics_to_retain #=> Array
|
9182
9440
|
# resp.additional_metrics_to_retain[0] #=> String
|
9441
|
+
# resp.additional_metrics_to_retain_v2 #=> Array
|
9442
|
+
# resp.additional_metrics_to_retain_v2[0].metric #=> String
|
9443
|
+
# resp.additional_metrics_to_retain_v2[0].metric_dimension.dimension_name #=> String
|
9444
|
+
# resp.additional_metrics_to_retain_v2[0].metric_dimension.operator #=> String, one of "IN", "NOT_IN"
|
9183
9445
|
# resp.version #=> Integer
|
9184
9446
|
# resp.creation_date #=> Time
|
9185
9447
|
# resp.last_modified_date #=> Time
|
@@ -9446,6 +9708,10 @@ module Aws::IoT
|
|
9446
9708
|
# {
|
9447
9709
|
# name: "BehaviorName", # required
|
9448
9710
|
# metric: "BehaviorMetric",
|
9711
|
+
# metric_dimension: {
|
9712
|
+
# dimension_name: "DimensionName", # required
|
9713
|
+
# operator: "IN", # accepts IN, NOT_IN
|
9714
|
+
# },
|
9449
9715
|
# criteria: {
|
9450
9716
|
# comparison_operator: "less-than", # accepts less-than, less-than-equals, greater-than, greater-than-equals, in-cidr-set, not-in-cidr-set, in-port-set, not-in-port-set
|
9451
9717
|
# value: {
|
@@ -9490,7 +9756,7 @@ module Aws::IoT
|
|
9490
9756
|
params: params,
|
9491
9757
|
config: config)
|
9492
9758
|
context[:gem_name] = 'aws-sdk-iot'
|
9493
|
-
context[:gem_version] = '1.
|
9759
|
+
context[:gem_version] = '1.46.0'
|
9494
9760
|
Seahorse::Client::Request.new(handlers, context)
|
9495
9761
|
end
|
9496
9762
|
|