aws-sdk-iot 1.86.0 → 1.89.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iot/client.rb +98 -9
- data/lib/aws-sdk-iot/client_api.rb +47 -1
- data/lib/aws-sdk-iot/types.rb +139 -16
- 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: c93abcef586906c3c4f512b3548860da05959ca3425be606f380872cc0338f97
|
4
|
+
data.tar.gz: f7115d4563734c8e18dd4f044a0b7507dc80ccd5b81d83cf86df60c4f1c38a99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c9fde8f272f00209b792f3f4f867343ea29041ddac38ee7f94fc4f709c5a8e3bd2891e81b31f25920937103097df60799251b55c05420d6e624f11a1d131f11
|
7
|
+
data.tar.gz: de28929da80ae67575a6eb2f907201ff12869700b0bb666a85ad3705c812202818f139e39adae2a90b9124a2684c44738eb63624f659c4ecb525c5f4e4a54f95
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.89.0 (2022-05-05)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS IoT Jobs now allows you to create up to 100,000 active continuous and snapshot jobs by using concurrency control.
|
8
|
+
|
9
|
+
1.88.0 (2022-04-04)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - AWS IoT - AWS IoT Device Defender adds support to list metric datapoints collected for IoT devices through the ListMetricValues API
|
13
|
+
|
14
|
+
1.87.0 (2022-03-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Doc only update for IoT that fixes customer-reported issues.
|
18
|
+
|
4
19
|
1.86.0 (2022-02-24)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.89.0
|
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -1275,17 +1275,21 @@ module Aws::IoT
|
|
1275
1275
|
#
|
1276
1276
|
# @option params [required, String] :metric_name
|
1277
1277
|
# The name of the custom metric. This will be used in the metric report
|
1278
|
-
# submitted from the device/thing.
|
1279
|
-
#
|
1278
|
+
# submitted from the device/thing. The name can't begin with `aws:`.
|
1279
|
+
# You can't change the name after you define it.
|
1280
1280
|
#
|
1281
1281
|
# @option params [String] :display_name
|
1282
|
-
#
|
1283
|
-
#
|
1284
|
-
# identifier in the device metric report.
|
1282
|
+
# The friendly name in the console for the custom metric. This name
|
1283
|
+
# doesn't have to be unique. Don't use this name as the metric
|
1284
|
+
# identifier in the device metric report. You can update the friendly
|
1285
|
+
# name after you define it.
|
1285
1286
|
#
|
1286
1287
|
# @option params [required, String] :metric_type
|
1287
|
-
# The type of the custom metric.
|
1288
|
-
#
|
1288
|
+
# The type of the custom metric.
|
1289
|
+
#
|
1290
|
+
# The type `number` only takes a single metric value as an input, but
|
1291
|
+
# when you submit the metrics value in the DeviceMetrics report, you
|
1292
|
+
# must pass it as an array with a single value.
|
1289
1293
|
#
|
1290
1294
|
# @option params [Array<Types::Tag>] :tags
|
1291
1295
|
# Metadata that can be used to manage the custom metric.
|
@@ -2575,6 +2579,9 @@ module Aws::IoT
|
|
2575
2579
|
# How long (in seconds) the credentials will be valid. The default value
|
2576
2580
|
# is 3,600 seconds.
|
2577
2581
|
#
|
2582
|
+
# This value must be less than or equal to the maximum session duration
|
2583
|
+
# of the IAM role that the role alias references.
|
2584
|
+
#
|
2578
2585
|
# @option params [Array<Types::Tag>] :tags
|
2579
2586
|
# Metadata which can be used to manage the role alias.
|
2580
2587
|
#
|
@@ -5519,6 +5526,7 @@ module Aws::IoT
|
|
5519
5526
|
# resp.job.job_executions_retry_config.criteria_list[0].number_of_retries #=> Integer
|
5520
5527
|
# resp.job.document_parameters #=> Hash
|
5521
5528
|
# resp.job.document_parameters["ParameterKey"] #=> String
|
5529
|
+
# resp.job.is_concurrent #=> Boolean
|
5522
5530
|
#
|
5523
5531
|
# @overload describe_job(params = {})
|
5524
5532
|
# @param [Hash] params ({})
|
@@ -8819,6 +8827,7 @@ module Aws::IoT
|
|
8819
8827
|
# resp.jobs[0].created_at #=> Time
|
8820
8828
|
# resp.jobs[0].last_updated_at #=> Time
|
8821
8829
|
# resp.jobs[0].completed_at #=> Time
|
8830
|
+
# resp.jobs[0].is_concurrent #=> Boolean
|
8822
8831
|
# resp.next_token #=> String
|
8823
8832
|
#
|
8824
8833
|
# @overload list_jobs(params = {})
|
@@ -8872,6 +8881,78 @@ module Aws::IoT
|
|
8872
8881
|
req.send_request(options)
|
8873
8882
|
end
|
8874
8883
|
|
8884
|
+
# Lists the values reported for an IoT Device Defender metric
|
8885
|
+
# (device-side metric, cloud-side metric, or custom metric) by the given
|
8886
|
+
# thing during the specified time period.
|
8887
|
+
#
|
8888
|
+
# @option params [required, String] :thing_name
|
8889
|
+
# The name of the thing for which security profile metric values are
|
8890
|
+
# returned.
|
8891
|
+
#
|
8892
|
+
# @option params [required, String] :metric_name
|
8893
|
+
# The name of the security profile metric for which values are returned.
|
8894
|
+
#
|
8895
|
+
# @option params [String] :dimension_name
|
8896
|
+
# The dimension name.
|
8897
|
+
#
|
8898
|
+
# @option params [String] :dimension_value_operator
|
8899
|
+
# The dimension value operator.
|
8900
|
+
#
|
8901
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :start_time
|
8902
|
+
# The start of the time period for which metric values are returned.
|
8903
|
+
#
|
8904
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :end_time
|
8905
|
+
# The end of the time period for which metric values are returned.
|
8906
|
+
#
|
8907
|
+
# @option params [Integer] :max_results
|
8908
|
+
# The maximum number of results to return at one time.
|
8909
|
+
#
|
8910
|
+
# @option params [String] :next_token
|
8911
|
+
# The token for the next set of results.
|
8912
|
+
#
|
8913
|
+
# @return [Types::ListMetricValuesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8914
|
+
#
|
8915
|
+
# * {Types::ListMetricValuesResponse#metric_datum_list #metric_datum_list} => Array<Types::MetricDatum>
|
8916
|
+
# * {Types::ListMetricValuesResponse#next_token #next_token} => String
|
8917
|
+
#
|
8918
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
8919
|
+
#
|
8920
|
+
# @example Request syntax with placeholder values
|
8921
|
+
#
|
8922
|
+
# resp = client.list_metric_values({
|
8923
|
+
# thing_name: "DeviceDefenderThingName", # required
|
8924
|
+
# metric_name: "BehaviorMetric", # required
|
8925
|
+
# dimension_name: "DimensionName",
|
8926
|
+
# dimension_value_operator: "IN", # accepts IN, NOT_IN
|
8927
|
+
# start_time: Time.now, # required
|
8928
|
+
# end_time: Time.now, # required
|
8929
|
+
# max_results: 1,
|
8930
|
+
# next_token: "NextToken",
|
8931
|
+
# })
|
8932
|
+
#
|
8933
|
+
# @example Response structure
|
8934
|
+
#
|
8935
|
+
# resp.metric_datum_list #=> Array
|
8936
|
+
# resp.metric_datum_list[0].timestamp #=> Time
|
8937
|
+
# resp.metric_datum_list[0].value.count #=> Integer
|
8938
|
+
# resp.metric_datum_list[0].value.cidrs #=> Array
|
8939
|
+
# resp.metric_datum_list[0].value.cidrs[0] #=> String
|
8940
|
+
# resp.metric_datum_list[0].value.ports #=> Array
|
8941
|
+
# resp.metric_datum_list[0].value.ports[0] #=> Integer
|
8942
|
+
# resp.metric_datum_list[0].value.number #=> Float
|
8943
|
+
# resp.metric_datum_list[0].value.numbers #=> Array
|
8944
|
+
# resp.metric_datum_list[0].value.numbers[0] #=> Float
|
8945
|
+
# resp.metric_datum_list[0].value.strings #=> Array
|
8946
|
+
# resp.metric_datum_list[0].value.strings[0] #=> String
|
8947
|
+
# resp.next_token #=> String
|
8948
|
+
#
|
8949
|
+
# @overload list_metric_values(params = {})
|
8950
|
+
# @param [Hash] params ({})
|
8951
|
+
def list_metric_values(params = {}, options = {})
|
8952
|
+
req = build_request(:list_metric_values, params)
|
8953
|
+
req.send_request(options)
|
8954
|
+
end
|
8955
|
+
|
8875
8956
|
# Gets a list of all mitigation actions that match the specified filter
|
8876
8957
|
# criteria.
|
8877
8958
|
#
|
@@ -10559,6 +10640,8 @@ module Aws::IoT
|
|
10559
10640
|
# @option params [Boolean] :set_as_active
|
10560
10641
|
# A boolean value that specifies if the CA certificate is set to active.
|
10561
10642
|
#
|
10643
|
+
# Valid values: `ACTIVE | INACTIVE`
|
10644
|
+
#
|
10562
10645
|
# @option params [Boolean] :allow_auto_registration
|
10563
10646
|
# Allows this CA certificate to be used for auto registration of device
|
10564
10647
|
# certificates.
|
@@ -10637,8 +10720,11 @@ module Aws::IoT
|
|
10637
10720
|
# @option params [Boolean] :set_as_active
|
10638
10721
|
# A boolean value that specifies if the certificate is set to active.
|
10639
10722
|
#
|
10723
|
+
# Valid values: `ACTIVE | INACTIVE`
|
10724
|
+
#
|
10640
10725
|
# @option params [String] :status
|
10641
|
-
# The status of the register certificate request.
|
10726
|
+
# The status of the register certificate request. Valid values that you
|
10727
|
+
# can use include `ACTIVE`, `INACTIVE`, and `REVOKED`.
|
10642
10728
|
#
|
10643
10729
|
# @return [Types::RegisterCertificateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10644
10730
|
#
|
@@ -12971,6 +13057,9 @@ module Aws::IoT
|
|
12971
13057
|
# @option params [Integer] :credential_duration_seconds
|
12972
13058
|
# The number of seconds the credential will be valid.
|
12973
13059
|
#
|
13060
|
+
# This value must be less than or equal to the maximum session duration
|
13061
|
+
# of the IAM role that the role alias references.
|
13062
|
+
#
|
12974
13063
|
# @return [Types::UpdateRoleAliasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
12975
13064
|
#
|
12976
13065
|
# * {Types::UpdateRoleAliasResponse#role_alias #role_alias} => String
|
@@ -13585,7 +13674,7 @@ module Aws::IoT
|
|
13585
13674
|
params: params,
|
13586
13675
|
config: config)
|
13587
13676
|
context[:gem_name] = 'aws-sdk-iot'
|
13588
|
-
context[:gem_version] = '1.
|
13677
|
+
context[:gem_version] = '1.89.0'
|
13589
13678
|
Seahorse::Client::Request.new(handlers, context)
|
13590
13679
|
end
|
13591
13680
|
|
@@ -162,6 +162,7 @@ module Aws::IoT
|
|
162
162
|
BillingGroupProperties = Shapes::StructureShape.new(name: 'BillingGroupProperties')
|
163
163
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
164
164
|
BooleanKey = Shapes::BooleanShape.new(name: 'BooleanKey')
|
165
|
+
BooleanWrapperObject = Shapes::BooleanShape.new(name: 'BooleanWrapperObject')
|
165
166
|
Bucket = Shapes::StructureShape.new(name: 'Bucket')
|
166
167
|
BucketKeyValue = Shapes::StringShape.new(name: 'BucketKeyValue')
|
167
168
|
BucketName = Shapes::StringShape.new(name: 'BucketName')
|
@@ -700,6 +701,8 @@ module Aws::IoT
|
|
700
701
|
ListJobsResponse = Shapes::StructureShape.new(name: 'ListJobsResponse')
|
701
702
|
ListManagedJobTemplatesRequest = Shapes::StructureShape.new(name: 'ListManagedJobTemplatesRequest')
|
702
703
|
ListManagedJobTemplatesResponse = Shapes::StructureShape.new(name: 'ListManagedJobTemplatesResponse')
|
704
|
+
ListMetricValuesRequest = Shapes::StructureShape.new(name: 'ListMetricValuesRequest')
|
705
|
+
ListMetricValuesResponse = Shapes::StructureShape.new(name: 'ListMetricValuesResponse')
|
703
706
|
ListMitigationActionsRequest = Shapes::StructureShape.new(name: 'ListMitigationActionsRequest')
|
704
707
|
ListMitigationActionsResponse = Shapes::StructureShape.new(name: 'ListMitigationActionsResponse')
|
705
708
|
ListOTAUpdatesRequest = Shapes::StructureShape.new(name: 'ListOTAUpdatesRequest')
|
@@ -787,6 +790,8 @@ module Aws::IoT
|
|
787
790
|
Message = Shapes::StringShape.new(name: 'Message')
|
788
791
|
MessageFormat = Shapes::StringShape.new(name: 'MessageFormat')
|
789
792
|
MessageId = Shapes::StringShape.new(name: 'MessageId')
|
793
|
+
MetricDatum = Shapes::StructureShape.new(name: 'MetricDatum')
|
794
|
+
MetricDatumList = Shapes::ListShape.new(name: 'MetricDatumList')
|
790
795
|
MetricDimension = Shapes::StructureShape.new(name: 'MetricDimension')
|
791
796
|
MetricName = Shapes::StringShape.new(name: 'MetricName')
|
792
797
|
MetricNames = Shapes::ListShape.new(name: 'MetricNames')
|
@@ -1332,7 +1337,7 @@ module Aws::IoT
|
|
1332
1337
|
AddThingToThingGroupResponse.struct_class = Types::AddThingToThingGroupResponse
|
1333
1338
|
|
1334
1339
|
AddThingsToThingGroupParams.add_member(:thing_group_names, Shapes::ShapeRef.new(shape: ThingGroupNames, required: true, location_name: "thingGroupNames"))
|
1335
|
-
AddThingsToThingGroupParams.add_member(:override_dynamic_groups, Shapes::ShapeRef.new(shape:
|
1340
|
+
AddThingsToThingGroupParams.add_member(:override_dynamic_groups, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "overrideDynamicGroups"))
|
1336
1341
|
AddThingsToThingGroupParams.struct_class = Types::AddThingsToThingGroupParams
|
1337
1342
|
|
1338
1343
|
AdditionalMetricsToRetainList.member = Shapes::ShapeRef.new(shape: BehaviorMetric)
|
@@ -3018,6 +3023,7 @@ module Aws::IoT
|
|
3018
3023
|
Job.add_member(:job_template_arn, Shapes::ShapeRef.new(shape: JobTemplateArn, location_name: "jobTemplateArn"))
|
3019
3024
|
Job.add_member(:job_executions_retry_config, Shapes::ShapeRef.new(shape: JobExecutionsRetryConfig, location_name: "jobExecutionsRetryConfig"))
|
3020
3025
|
Job.add_member(:document_parameters, Shapes::ShapeRef.new(shape: ParameterMap, location_name: "documentParameters"))
|
3026
|
+
Job.add_member(:is_concurrent, Shapes::ShapeRef.new(shape: BooleanWrapperObject, location_name: "isConcurrent"))
|
3021
3027
|
Job.struct_class = Types::Job
|
3022
3028
|
|
3023
3029
|
JobExecution.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
|
@@ -3082,6 +3088,7 @@ module Aws::IoT
|
|
3082
3088
|
JobSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: DateType, location_name: "createdAt"))
|
3083
3089
|
JobSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateType, location_name: "lastUpdatedAt"))
|
3084
3090
|
JobSummary.add_member(:completed_at, Shapes::ShapeRef.new(shape: DateType, location_name: "completedAt"))
|
3091
|
+
JobSummary.add_member(:is_concurrent, Shapes::ShapeRef.new(shape: BooleanWrapperObject, location_name: "isConcurrent"))
|
3085
3092
|
JobSummary.struct_class = Types::JobSummary
|
3086
3093
|
|
3087
3094
|
JobSummaryList.member = Shapes::ShapeRef.new(shape: JobSummary)
|
@@ -3365,6 +3372,20 @@ module Aws::IoT
|
|
3365
3372
|
ListManagedJobTemplatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
3366
3373
|
ListManagedJobTemplatesResponse.struct_class = Types::ListManagedJobTemplatesResponse
|
3367
3374
|
|
3375
|
+
ListMetricValuesRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: DeviceDefenderThingName, required: true, location: "querystring", location_name: "thingName"))
|
3376
|
+
ListMetricValuesRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: BehaviorMetric, required: true, location: "querystring", location_name: "metricName"))
|
3377
|
+
ListMetricValuesRequest.add_member(:dimension_name, Shapes::ShapeRef.new(shape: DimensionName, location: "querystring", location_name: "dimensionName"))
|
3378
|
+
ListMetricValuesRequest.add_member(:dimension_value_operator, Shapes::ShapeRef.new(shape: DimensionValueOperator, location: "querystring", location_name: "dimensionValueOperator"))
|
3379
|
+
ListMetricValuesRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "startTime"))
|
3380
|
+
ListMetricValuesRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "endTime"))
|
3381
|
+
ListMetricValuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
3382
|
+
ListMetricValuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
3383
|
+
ListMetricValuesRequest.struct_class = Types::ListMetricValuesRequest
|
3384
|
+
|
3385
|
+
ListMetricValuesResponse.add_member(:metric_datum_list, Shapes::ShapeRef.new(shape: MetricDatumList, location_name: "metricDatumList"))
|
3386
|
+
ListMetricValuesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
3387
|
+
ListMetricValuesResponse.struct_class = Types::ListMetricValuesResponse
|
3388
|
+
|
3368
3389
|
ListMitigationActionsRequest.add_member(:action_type, Shapes::ShapeRef.new(shape: MitigationActionType, location: "querystring", location_name: "actionType"))
|
3369
3390
|
ListMitigationActionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
3370
3391
|
ListMitigationActionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
@@ -3685,6 +3706,12 @@ module Aws::IoT
|
|
3685
3706
|
|
3686
3707
|
ManagedJobTemplatesSummaryList.member = Shapes::ShapeRef.new(shape: ManagedJobTemplateSummary)
|
3687
3708
|
|
3709
|
+
MetricDatum.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "timestamp"))
|
3710
|
+
MetricDatum.add_member(:value, Shapes::ShapeRef.new(shape: MetricValue, location_name: "value"))
|
3711
|
+
MetricDatum.struct_class = Types::MetricDatum
|
3712
|
+
|
3713
|
+
MetricDatumList.member = Shapes::ShapeRef.new(shape: MetricDatum)
|
3714
|
+
|
3688
3715
|
MetricDimension.add_member(:dimension_name, Shapes::ShapeRef.new(shape: DimensionName, required: true, location_name: "dimensionName"))
|
3689
3716
|
MetricDimension.add_member(:operator, Shapes::ShapeRef.new(shape: DimensionValueOperator, location_name: "operator"))
|
3690
3717
|
MetricDimension.struct_class = Types::MetricDimension
|
@@ -4993,6 +5020,7 @@ module Aws::IoT
|
|
4993
5020
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
4994
5021
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
4995
5022
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
5023
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
4996
5024
|
end)
|
4997
5025
|
|
4998
5026
|
api.add_operation(:cancel_job_execution, Seahorse::Model::Operation.new.tap do |o|
|
@@ -7011,6 +7039,24 @@ module Aws::IoT
|
|
7011
7039
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
7012
7040
|
end)
|
7013
7041
|
|
7042
|
+
api.add_operation(:list_metric_values, Seahorse::Model::Operation.new.tap do |o|
|
7043
|
+
o.name = "ListMetricValues"
|
7044
|
+
o.http_method = "GET"
|
7045
|
+
o.http_request_uri = "/metric-values"
|
7046
|
+
o.input = Shapes::ShapeRef.new(shape: ListMetricValuesRequest)
|
7047
|
+
o.output = Shapes::ShapeRef.new(shape: ListMetricValuesResponse)
|
7048
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
7049
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
7050
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
7051
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
7052
|
+
o[:pager] = Aws::Pager.new(
|
7053
|
+
limit_key: "max_results",
|
7054
|
+
tokens: {
|
7055
|
+
"next_token" => "next_token"
|
7056
|
+
}
|
7057
|
+
)
|
7058
|
+
end)
|
7059
|
+
|
7014
7060
|
api.add_operation(:list_mitigation_actions, Seahorse::Model::Operation.new.tap do |o|
|
7015
7061
|
o.name = "ListMitigationActions"
|
7016
7062
|
o.http_method = "GET"
|
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -3041,20 +3041,23 @@ module Aws::IoT
|
|
3041
3041
|
#
|
3042
3042
|
# @!attribute [rw] metric_name
|
3043
3043
|
# The name of the custom metric. This will be used in the metric
|
3044
|
-
# report submitted from the device/thing.
|
3045
|
-
# `aws:`.
|
3044
|
+
# report submitted from the device/thing. The name can't begin with
|
3045
|
+
# `aws:`. You can't change the name after you define it.
|
3046
3046
|
# @return [String]
|
3047
3047
|
#
|
3048
3048
|
# @!attribute [rw] display_name
|
3049
|
-
#
|
3050
|
-
#
|
3051
|
-
#
|
3052
|
-
#
|
3049
|
+
# The friendly name in the console for the custom metric. This name
|
3050
|
+
# doesn't have to be unique. Don't use this name as the metric
|
3051
|
+
# identifier in the device metric report. You can update the friendly
|
3052
|
+
# name after you define it.
|
3053
3053
|
# @return [String]
|
3054
3054
|
#
|
3055
3055
|
# @!attribute [rw] metric_type
|
3056
|
-
# The type of the custom metric.
|
3057
|
-
#
|
3056
|
+
# The type of the custom metric.
|
3057
|
+
#
|
3058
|
+
# The type `number` only takes a single metric value as an input, but
|
3059
|
+
# when you submit the metrics value in the DeviceMetrics report, you
|
3060
|
+
# must pass it as an array with a single value.
|
3058
3061
|
# @return [String]
|
3059
3062
|
#
|
3060
3063
|
# @!attribute [rw] tags
|
@@ -3087,7 +3090,7 @@ module Aws::IoT
|
|
3087
3090
|
# @return [String]
|
3088
3091
|
#
|
3089
3092
|
# @!attribute [rw] metric_arn
|
3090
|
-
# The Amazon Resource Number (ARN) of the custom metric,
|
3093
|
+
# The Amazon Resource Number (ARN) of the custom metric. For example,
|
3091
3094
|
# `arn:aws-partition:iot:region:accountId:custommetric/metricName `
|
3092
3095
|
# @return [String]
|
3093
3096
|
#
|
@@ -4521,6 +4524,9 @@ module Aws::IoT
|
|
4521
4524
|
# @!attribute [rw] credential_duration_seconds
|
4522
4525
|
# How long (in seconds) the credentials will be valid. The default
|
4523
4526
|
# value is 3,600 seconds.
|
4527
|
+
#
|
4528
|
+
# This value must be less than or equal to the maximum session
|
4529
|
+
# duration of the IAM role that the role alias references.
|
4524
4530
|
# @return [Integer]
|
4525
4531
|
#
|
4526
4532
|
# @!attribute [rw] tags
|
@@ -6792,8 +6798,11 @@ module Aws::IoT
|
|
6792
6798
|
# @return [String]
|
6793
6799
|
#
|
6794
6800
|
# @!attribute [rw] metric_type
|
6795
|
-
# The type of the custom metric.
|
6796
|
-
#
|
6801
|
+
# The type of the custom metric.
|
6802
|
+
#
|
6803
|
+
# The type `number` only takes a single metric value as an input, but
|
6804
|
+
# while submitting the metrics value in the DeviceMetrics report, it
|
6805
|
+
# must be passed as an array with a single value.
|
6797
6806
|
# @return [String]
|
6798
6807
|
#
|
6799
6808
|
# @!attribute [rw] display_name
|
@@ -10180,6 +10189,9 @@ module Aws::IoT
|
|
10180
10189
|
# creating a job.
|
10181
10190
|
# @return [Hash<String,String>]
|
10182
10191
|
#
|
10192
|
+
# @!attribute [rw] is_concurrent
|
10193
|
+
# @return [Boolean]
|
10194
|
+
#
|
10183
10195
|
class Job < Struct.new(
|
10184
10196
|
:job_arn,
|
10185
10197
|
:job_id,
|
@@ -10201,7 +10213,8 @@ module Aws::IoT
|
|
10201
10213
|
:namespace_id,
|
10202
10214
|
:job_template_arn,
|
10203
10215
|
:job_executions_retry_config,
|
10204
|
-
:document_parameters
|
10216
|
+
:document_parameters,
|
10217
|
+
:is_concurrent)
|
10205
10218
|
SENSITIVE = []
|
10206
10219
|
include Aws::Structure
|
10207
10220
|
end
|
@@ -10530,6 +10543,9 @@ module Aws::IoT
|
|
10530
10543
|
# The time, in seconds since the epoch, when the job completed.
|
10531
10544
|
# @return [Time]
|
10532
10545
|
#
|
10546
|
+
# @!attribute [rw] is_concurrent
|
10547
|
+
# @return [Boolean]
|
10548
|
+
#
|
10533
10549
|
class JobSummary < Struct.new(
|
10534
10550
|
:job_arn,
|
10535
10551
|
:job_id,
|
@@ -10538,7 +10554,8 @@ module Aws::IoT
|
|
10538
10554
|
:status,
|
10539
10555
|
:created_at,
|
10540
10556
|
:last_updated_at,
|
10541
|
-
:completed_at
|
10557
|
+
:completed_at,
|
10558
|
+
:is_concurrent)
|
10542
10559
|
SENSITIVE = []
|
10543
10560
|
include Aws::Structure
|
10544
10561
|
end
|
@@ -12089,6 +12106,84 @@ module Aws::IoT
|
|
12089
12106
|
include Aws::Structure
|
12090
12107
|
end
|
12091
12108
|
|
12109
|
+
# @note When making an API call, you may pass ListMetricValuesRequest
|
12110
|
+
# data as a hash:
|
12111
|
+
#
|
12112
|
+
# {
|
12113
|
+
# thing_name: "DeviceDefenderThingName", # required
|
12114
|
+
# metric_name: "BehaviorMetric", # required
|
12115
|
+
# dimension_name: "DimensionName",
|
12116
|
+
# dimension_value_operator: "IN", # accepts IN, NOT_IN
|
12117
|
+
# start_time: Time.now, # required
|
12118
|
+
# end_time: Time.now, # required
|
12119
|
+
# max_results: 1,
|
12120
|
+
# next_token: "NextToken",
|
12121
|
+
# }
|
12122
|
+
#
|
12123
|
+
# @!attribute [rw] thing_name
|
12124
|
+
# The name of the thing for which security profile metric values are
|
12125
|
+
# returned.
|
12126
|
+
# @return [String]
|
12127
|
+
#
|
12128
|
+
# @!attribute [rw] metric_name
|
12129
|
+
# The name of the security profile metric for which values are
|
12130
|
+
# returned.
|
12131
|
+
# @return [String]
|
12132
|
+
#
|
12133
|
+
# @!attribute [rw] dimension_name
|
12134
|
+
# The dimension name.
|
12135
|
+
# @return [String]
|
12136
|
+
#
|
12137
|
+
# @!attribute [rw] dimension_value_operator
|
12138
|
+
# The dimension value operator.
|
12139
|
+
# @return [String]
|
12140
|
+
#
|
12141
|
+
# @!attribute [rw] start_time
|
12142
|
+
# The start of the time period for which metric values are returned.
|
12143
|
+
# @return [Time]
|
12144
|
+
#
|
12145
|
+
# @!attribute [rw] end_time
|
12146
|
+
# The end of the time period for which metric values are returned.
|
12147
|
+
# @return [Time]
|
12148
|
+
#
|
12149
|
+
# @!attribute [rw] max_results
|
12150
|
+
# The maximum number of results to return at one time.
|
12151
|
+
# @return [Integer]
|
12152
|
+
#
|
12153
|
+
# @!attribute [rw] next_token
|
12154
|
+
# The token for the next set of results.
|
12155
|
+
# @return [String]
|
12156
|
+
#
|
12157
|
+
class ListMetricValuesRequest < Struct.new(
|
12158
|
+
:thing_name,
|
12159
|
+
:metric_name,
|
12160
|
+
:dimension_name,
|
12161
|
+
:dimension_value_operator,
|
12162
|
+
:start_time,
|
12163
|
+
:end_time,
|
12164
|
+
:max_results,
|
12165
|
+
:next_token)
|
12166
|
+
SENSITIVE = []
|
12167
|
+
include Aws::Structure
|
12168
|
+
end
|
12169
|
+
|
12170
|
+
# @!attribute [rw] metric_datum_list
|
12171
|
+
# The data the thing reports for the metric during the specified time
|
12172
|
+
# period.
|
12173
|
+
# @return [Array<Types::MetricDatum>]
|
12174
|
+
#
|
12175
|
+
# @!attribute [rw] next_token
|
12176
|
+
# A token that can be used to retrieve the next set of results, or
|
12177
|
+
# `null` if there are no additional results.
|
12178
|
+
# @return [String]
|
12179
|
+
#
|
12180
|
+
class ListMetricValuesResponse < Struct.new(
|
12181
|
+
:metric_datum_list,
|
12182
|
+
:next_token)
|
12183
|
+
SENSITIVE = []
|
12184
|
+
include Aws::Structure
|
12185
|
+
end
|
12186
|
+
|
12092
12187
|
# @note When making an API call, you may pass ListMitigationActionsRequest
|
12093
12188
|
# data as a hash:
|
12094
12189
|
#
|
@@ -13773,6 +13868,23 @@ module Aws::IoT
|
|
13773
13868
|
include Aws::Structure
|
13774
13869
|
end
|
13775
13870
|
|
13871
|
+
# A metric.
|
13872
|
+
#
|
13873
|
+
# @!attribute [rw] timestamp
|
13874
|
+
# The time the metric value was reported.
|
13875
|
+
# @return [Time]
|
13876
|
+
#
|
13877
|
+
# @!attribute [rw] value
|
13878
|
+
# The value reported for the metric.
|
13879
|
+
# @return [Types::MetricValue]
|
13880
|
+
#
|
13881
|
+
class MetricDatum < Struct.new(
|
13882
|
+
:timestamp,
|
13883
|
+
:value)
|
13884
|
+
SENSITIVE = []
|
13885
|
+
include Aws::Structure
|
13886
|
+
end
|
13887
|
+
|
13776
13888
|
# The dimension of a metric.
|
13777
13889
|
#
|
13778
13890
|
# @note When making an API call, you may pass MetricDimension
|
@@ -14764,6 +14876,8 @@ module Aws::IoT
|
|
14764
14876
|
# @!attribute [rw] set_as_active
|
14765
14877
|
# A boolean value that specifies if the CA certificate is set to
|
14766
14878
|
# active.
|
14879
|
+
#
|
14880
|
+
# Valid values: `ACTIVE | INACTIVE`
|
14767
14881
|
# @return [Boolean]
|
14768
14882
|
#
|
14769
14883
|
# @!attribute [rw] allow_auto_registration
|
@@ -14841,10 +14955,13 @@ module Aws::IoT
|
|
14841
14955
|
#
|
14842
14956
|
# @!attribute [rw] set_as_active
|
14843
14957
|
# A boolean value that specifies if the certificate is set to active.
|
14958
|
+
#
|
14959
|
+
# Valid values: `ACTIVE | INACTIVE`
|
14844
14960
|
# @return [Boolean]
|
14845
14961
|
#
|
14846
14962
|
# @!attribute [rw] status
|
14847
|
-
# The status of the register certificate request.
|
14963
|
+
# The status of the register certificate request. Valid values that
|
14964
|
+
# you can use include `ACTIVE`, `INACTIVE`, and `REVOKED`.
|
14848
14965
|
# @return [String]
|
14849
14966
|
#
|
14850
14967
|
class RegisterCertificateRequest < Struct.new(
|
@@ -18984,8 +19101,11 @@ module Aws::IoT
|
|
18984
19101
|
# @return [String]
|
18985
19102
|
#
|
18986
19103
|
# @!attribute [rw] metric_type
|
18987
|
-
# The type of the custom metric.
|
18988
|
-
#
|
19104
|
+
# The type of the custom metric.
|
19105
|
+
#
|
19106
|
+
# The type `number` only takes a single metric value as an input, but
|
19107
|
+
# while submitting the metrics value in the DeviceMetrics report, it
|
19108
|
+
# must be passed as an array with a single value.
|
18989
19109
|
# @return [String]
|
18990
19110
|
#
|
18991
19111
|
# @!attribute [rw] display_name
|
@@ -19634,6 +19754,9 @@ module Aws::IoT
|
|
19634
19754
|
#
|
19635
19755
|
# @!attribute [rw] credential_duration_seconds
|
19636
19756
|
# The number of seconds the credential will be valid.
|
19757
|
+
#
|
19758
|
+
# This value must be less than or equal to the maximum session
|
19759
|
+
# duration of the IAM role that the role alias references.
|
19637
19760
|
# @return [Integer]
|
19638
19761
|
#
|
19639
19762
|
class UpdateRoleAliasRequest < Struct.new(
|
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.89.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: 2022-
|
11
|
+
date: 2022-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|