aws-sdk-iot 1.56.0 → 1.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-iot.rb +2 -1
- data/lib/aws-sdk-iot/client.rb +242 -24
- data/lib/aws-sdk-iot/client_api.rb +53 -0
- data/lib/aws-sdk-iot/types.rb +494 -65
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 400aa57de321a8029fe740b7a2b7eb789e9c82b8a9b0865f1e64590d4c336527
|
4
|
+
data.tar.gz: e3c567b6a2b28b95113e43cc05c5b75a22c08899ea365006fd94b9409841f96f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6707e377cdc6ba21c0d32ef0d1325a9ec230e63d92e5ba63a02f6eff3492b9441b13024ab0dd25e76a0e3eb963f1a00fa0ab342506a62337396e488e3a2c34b2
|
7
|
+
data.tar.gz: 48f9cd799cdf2d055abf3c203fc28353e8b4068f23f4900ccfeaf9676e97920f32e3c3fc736b3f08a53da71f4c03e3c984df55ec612918927f147319d256fa20
|
data/lib/aws-sdk-iot.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-iot/customizations'
|
|
47
48
|
# @!group service
|
48
49
|
module Aws::IoT
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.61.0'
|
51
52
|
|
52
53
|
end
|
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -448,6 +448,19 @@ module Aws::IoT
|
|
448
448
|
# An optional comment string describing why the job was associated with
|
449
449
|
# the targets.
|
450
450
|
#
|
451
|
+
# @option params [String] :namespace_id
|
452
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
453
|
+
#
|
454
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
455
|
+
# notifications to MQTT topics that contain the value in the following
|
456
|
+
# format.
|
457
|
+
#
|
458
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
459
|
+
#
|
460
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
461
|
+
#
|
462
|
+
# </note>
|
463
|
+
#
|
451
464
|
# @return [Types::AssociateTargetsWithJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
452
465
|
#
|
453
466
|
# * {Types::AssociateTargetsWithJobResponse#job_arn #job_arn} => String
|
@@ -460,6 +473,7 @@ module Aws::IoT
|
|
460
473
|
# targets: ["TargetArn"], # required
|
461
474
|
# job_id: "JobId", # required
|
462
475
|
# comment: "Comment",
|
476
|
+
# namespace_id: "NamespaceId",
|
463
477
|
# })
|
464
478
|
#
|
465
479
|
# @example Response structure
|
@@ -1347,6 +1361,19 @@ module Aws::IoT
|
|
1347
1361
|
# @option params [Array<Types::Tag>] :tags
|
1348
1362
|
# Metadata which can be used to manage the job.
|
1349
1363
|
#
|
1364
|
+
# @option params [String] :namespace_id
|
1365
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
1366
|
+
#
|
1367
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
1368
|
+
# notifications to MQTT topics that contain the value in the following
|
1369
|
+
# format.
|
1370
|
+
#
|
1371
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
1372
|
+
#
|
1373
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
1374
|
+
#
|
1375
|
+
# </note>
|
1376
|
+
#
|
1350
1377
|
# @return [Types::CreateJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1351
1378
|
#
|
1352
1379
|
# * {Types::CreateJobResponse#job_arn #job_arn} => String
|
@@ -1396,6 +1423,7 @@ module Aws::IoT
|
|
1396
1423
|
# value: "TagValue",
|
1397
1424
|
# },
|
1398
1425
|
# ],
|
1426
|
+
# namespace_id: "NamespaceId",
|
1399
1427
|
# })
|
1400
1428
|
#
|
1401
1429
|
# @example Response structure
|
@@ -2101,13 +2129,13 @@ module Aws::IoT
|
|
2101
2129
|
# (thing) violates a behavior.
|
2102
2130
|
#
|
2103
2131
|
# @option params [Array<String>] :additional_metrics_to_retain
|
2132
|
+
# *Please use CreateSecurityProfileRequest$additionalMetricsToRetainV2
|
2133
|
+
# instead.*
|
2134
|
+
#
|
2104
2135
|
# A list of metrics whose data is retained (stored). By default, data is
|
2105
2136
|
# retained for any metric used in the profile's `behaviors`, but it is
|
2106
2137
|
# also retained for any metric specified here.
|
2107
2138
|
#
|
2108
|
-
# **Note:** This API field is deprecated. Please use
|
2109
|
-
# CreateSecurityProfileRequest$additionalMetricsToRetainV2 instead.
|
2110
|
-
#
|
2111
2139
|
# @option params [Array<Types::MetricToRetain>] :additional_metrics_to_retain_v2
|
2112
2140
|
# A list of metrics whose data is retained (stored). By default, data is
|
2113
2141
|
# retained for any metric used in the profile's `behaviors`, but it is
|
@@ -2587,6 +2615,21 @@ module Aws::IoT
|
|
2587
2615
|
# state_machine_name: "StateMachineName", # required
|
2588
2616
|
# role_arn: "AwsArn", # required
|
2589
2617
|
# },
|
2618
|
+
# timestream: {
|
2619
|
+
# role_arn: "AwsArn", # required
|
2620
|
+
# database_name: "TimestreamDatabaseName", # required
|
2621
|
+
# table_name: "TimestreamTableName", # required
|
2622
|
+
# dimensions: [ # required
|
2623
|
+
# {
|
2624
|
+
# name: "TimestreamDimensionName", # required
|
2625
|
+
# value: "TimestreamDimensionValue", # required
|
2626
|
+
# },
|
2627
|
+
# ],
|
2628
|
+
# timestamp: {
|
2629
|
+
# value: "TimestreamTimestampValue", # required
|
2630
|
+
# unit: "TimestreamTimestampUnit", # required
|
2631
|
+
# },
|
2632
|
+
# },
|
2590
2633
|
# http: {
|
2591
2634
|
# url: "Url", # required
|
2592
2635
|
# confirmation_url: "Url",
|
@@ -2731,6 +2774,21 @@ module Aws::IoT
|
|
2731
2774
|
# state_machine_name: "StateMachineName", # required
|
2732
2775
|
# role_arn: "AwsArn", # required
|
2733
2776
|
# },
|
2777
|
+
# timestream: {
|
2778
|
+
# role_arn: "AwsArn", # required
|
2779
|
+
# database_name: "TimestreamDatabaseName", # required
|
2780
|
+
# table_name: "TimestreamTableName", # required
|
2781
|
+
# dimensions: [ # required
|
2782
|
+
# {
|
2783
|
+
# name: "TimestreamDimensionName", # required
|
2784
|
+
# value: "TimestreamDimensionValue", # required
|
2785
|
+
# },
|
2786
|
+
# ],
|
2787
|
+
# timestamp: {
|
2788
|
+
# value: "TimestreamTimestampValue", # required
|
2789
|
+
# unit: "TimestreamTimestampUnit", # required
|
2790
|
+
# },
|
2791
|
+
# },
|
2734
2792
|
# http: {
|
2735
2793
|
# url: "Url", # required
|
2736
2794
|
# confirmation_url: "Url",
|
@@ -3056,6 +3114,19 @@ module Aws::IoT
|
|
3056
3114
|
#
|
3057
3115
|
# </note>
|
3058
3116
|
#
|
3117
|
+
# @option params [String] :namespace_id
|
3118
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
3119
|
+
#
|
3120
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
3121
|
+
# notifications to MQTT topics that contain the value in the following
|
3122
|
+
# format.
|
3123
|
+
#
|
3124
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
3125
|
+
#
|
3126
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
3127
|
+
#
|
3128
|
+
# </note>
|
3129
|
+
#
|
3059
3130
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3060
3131
|
#
|
3061
3132
|
# @example Request syntax with placeholder values
|
@@ -3063,6 +3134,7 @@ module Aws::IoT
|
|
3063
3134
|
# resp = client.delete_job({
|
3064
3135
|
# job_id: "JobId", # required
|
3065
3136
|
# force: false,
|
3137
|
+
# namespace_id: "NamespaceId",
|
3066
3138
|
# })
|
3067
3139
|
#
|
3068
3140
|
# @overload delete_job(params = {})
|
@@ -3102,6 +3174,19 @@ module Aws::IoT
|
|
3102
3174
|
#
|
3103
3175
|
# </note>
|
3104
3176
|
#
|
3177
|
+
# @option params [String] :namespace_id
|
3178
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
3179
|
+
#
|
3180
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
3181
|
+
# notifications to MQTT topics that contain the value in the following
|
3182
|
+
# format.
|
3183
|
+
#
|
3184
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
3185
|
+
#
|
3186
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
3187
|
+
#
|
3188
|
+
# </note>
|
3189
|
+
#
|
3105
3190
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3106
3191
|
#
|
3107
3192
|
# @example Request syntax with placeholder values
|
@@ -3111,6 +3196,7 @@ module Aws::IoT
|
|
3111
3196
|
# thing_name: "ThingName", # required
|
3112
3197
|
# execution_number: 1, # required
|
3113
3198
|
# force: false,
|
3199
|
+
# namespace_id: "NamespaceId",
|
3114
3200
|
# })
|
3115
3201
|
#
|
3116
3202
|
# @overload delete_job_execution(params = {})
|
@@ -4044,6 +4130,7 @@ module Aws::IoT
|
|
4044
4130
|
# * {Types::DescribeDomainConfigurationResponse#domain_configuration_status #domain_configuration_status} => String
|
4045
4131
|
# * {Types::DescribeDomainConfigurationResponse#service_type #service_type} => String
|
4046
4132
|
# * {Types::DescribeDomainConfigurationResponse#domain_type #domain_type} => String
|
4133
|
+
# * {Types::DescribeDomainConfigurationResponse#last_status_change_date #last_status_change_date} => Time
|
4047
4134
|
#
|
4048
4135
|
# @example Request syntax with placeholder values
|
4049
4136
|
#
|
@@ -4065,6 +4152,7 @@ module Aws::IoT
|
|
4065
4152
|
# resp.domain_configuration_status #=> String, one of "ENABLED", "DISABLED"
|
4066
4153
|
# resp.service_type #=> String, one of "DATA", "CREDENTIAL_PROVIDER", "JOBS"
|
4067
4154
|
# resp.domain_type #=> String, one of "ENDPOINT", "AWS_MANAGED", "CUSTOMER_MANAGED"
|
4155
|
+
# resp.last_status_change_date #=> Time
|
4068
4156
|
#
|
4069
4157
|
# @overload describe_domain_configuration(params = {})
|
4070
4158
|
# @param [Hash] params ({})
|
@@ -4230,6 +4318,7 @@ module Aws::IoT
|
|
4230
4318
|
# resp.job.job_process_details.number_of_removed_things #=> Integer
|
4231
4319
|
# resp.job.job_process_details.number_of_timed_out_things #=> Integer
|
4232
4320
|
# resp.job.timeout_config.in_progress_timeout_in_minutes #=> Integer
|
4321
|
+
# resp.job.namespace_id #=> String
|
4233
4322
|
#
|
4234
4323
|
# @overload describe_job(params = {})
|
4235
4324
|
# @param [Hash] params ({})
|
@@ -5449,6 +5538,14 @@ module Aws::IoT
|
|
5449
5538
|
# resp.rule.actions[0].step_functions.execution_name_prefix #=> String
|
5450
5539
|
# resp.rule.actions[0].step_functions.state_machine_name #=> String
|
5451
5540
|
# resp.rule.actions[0].step_functions.role_arn #=> String
|
5541
|
+
# resp.rule.actions[0].timestream.role_arn #=> String
|
5542
|
+
# resp.rule.actions[0].timestream.database_name #=> String
|
5543
|
+
# resp.rule.actions[0].timestream.table_name #=> String
|
5544
|
+
# resp.rule.actions[0].timestream.dimensions #=> Array
|
5545
|
+
# resp.rule.actions[0].timestream.dimensions[0].name #=> String
|
5546
|
+
# resp.rule.actions[0].timestream.dimensions[0].value #=> String
|
5547
|
+
# resp.rule.actions[0].timestream.timestamp.value #=> String
|
5548
|
+
# resp.rule.actions[0].timestream.timestamp.unit #=> String
|
5452
5549
|
# resp.rule.actions[0].http.url #=> String
|
5453
5550
|
# resp.rule.actions[0].http.confirmation_url #=> String
|
5454
5551
|
# resp.rule.actions[0].http.headers #=> Array
|
@@ -5533,6 +5630,14 @@ module Aws::IoT
|
|
5533
5630
|
# resp.rule.error_action.step_functions.execution_name_prefix #=> String
|
5534
5631
|
# resp.rule.error_action.step_functions.state_machine_name #=> String
|
5535
5632
|
# resp.rule.error_action.step_functions.role_arn #=> String
|
5633
|
+
# resp.rule.error_action.timestream.role_arn #=> String
|
5634
|
+
# resp.rule.error_action.timestream.database_name #=> String
|
5635
|
+
# resp.rule.error_action.timestream.table_name #=> String
|
5636
|
+
# resp.rule.error_action.timestream.dimensions #=> Array
|
5637
|
+
# resp.rule.error_action.timestream.dimensions[0].name #=> String
|
5638
|
+
# resp.rule.error_action.timestream.dimensions[0].value #=> String
|
5639
|
+
# resp.rule.error_action.timestream.timestamp.value #=> String
|
5640
|
+
# resp.rule.error_action.timestream.timestamp.unit #=> String
|
5536
5641
|
# resp.rule.error_action.http.url #=> String
|
5537
5642
|
# resp.rule.error_action.http.confirmation_url #=> String
|
5538
5643
|
# resp.rule.error_action.http.headers #=> Array
|
@@ -5718,7 +5823,7 @@ module Aws::IoT
|
|
5718
5823
|
|
5719
5824
|
# Lists the findings (results) of a Device Defender audit or of the
|
5720
5825
|
# audits performed during a specified time period. (Findings are
|
5721
|
-
# retained for
|
5826
|
+
# retained for 90 days.)
|
5722
5827
|
#
|
5723
5828
|
# @option params [String] :task_id
|
5724
5829
|
# A filter to limit results to the audit with the specified ID. You must
|
@@ -6036,7 +6141,7 @@ module Aws::IoT
|
|
6036
6141
|
#
|
6037
6142
|
# @option params [required, Time,DateTime,Date,Integer,String] :start_time
|
6038
6143
|
# The beginning of the time period. Audit information is retained for a
|
6039
|
-
# limited time (
|
6144
|
+
# limited time (90 days). Requesting a start time prior to what is
|
6040
6145
|
# retained results in an "InvalidRequestException".
|
6041
6146
|
#
|
6042
6147
|
# @option params [required, Time,DateTime,Date,Integer,String] :end_time
|
@@ -6138,7 +6243,9 @@ module Aws::IoT
|
|
6138
6243
|
# Lists the billing groups you have created.
|
6139
6244
|
#
|
6140
6245
|
# @option params [String] :next_token
|
6141
|
-
#
|
6246
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
6247
|
+
# previous response; otherwise **null** to receive the first set of
|
6248
|
+
# results.
|
6142
6249
|
#
|
6143
6250
|
# @option params [Integer] :max_results
|
6144
6251
|
# The maximum number of results to return per request.
|
@@ -6491,6 +6598,19 @@ module Aws::IoT
|
|
6491
6598
|
# An optional filter that lets you search for jobs that have the
|
6492
6599
|
# specified status.
|
6493
6600
|
#
|
6601
|
+
# @option params [String] :namespace_id
|
6602
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
6603
|
+
#
|
6604
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
6605
|
+
# notifications to MQTT topics that contain the value in the following
|
6606
|
+
# format.
|
6607
|
+
#
|
6608
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
6609
|
+
#
|
6610
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
6611
|
+
#
|
6612
|
+
# </note>
|
6613
|
+
#
|
6494
6614
|
# @option params [Integer] :max_results
|
6495
6615
|
# The maximum number of results to be returned per request.
|
6496
6616
|
#
|
@@ -6509,6 +6629,7 @@ module Aws::IoT
|
|
6509
6629
|
# resp = client.list_job_executions_for_thing({
|
6510
6630
|
# thing_name: "ThingName", # required
|
6511
6631
|
# status: "QUEUED", # accepts QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT, REJECTED, REMOVED, CANCELED
|
6632
|
+
# namespace_id: "NamespaceId",
|
6512
6633
|
# max_results: 1,
|
6513
6634
|
# next_token: "NextToken",
|
6514
6635
|
# })
|
@@ -6559,6 +6680,19 @@ module Aws::IoT
|
|
6559
6680
|
# A filter that limits the returned jobs to those for the specified
|
6560
6681
|
# group.
|
6561
6682
|
#
|
6683
|
+
# @option params [String] :namespace_id
|
6684
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
6685
|
+
#
|
6686
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
6687
|
+
# notifications to MQTT topics that contain the value in the following
|
6688
|
+
# format.
|
6689
|
+
#
|
6690
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
6691
|
+
#
|
6692
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
6693
|
+
#
|
6694
|
+
# </note>
|
6695
|
+
#
|
6562
6696
|
# @return [Types::ListJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6563
6697
|
#
|
6564
6698
|
# * {Types::ListJobsResponse#jobs #jobs} => Array<Types::JobSummary>
|
@@ -6575,6 +6709,7 @@ module Aws::IoT
|
|
6575
6709
|
# next_token: "NextToken",
|
6576
6710
|
# thing_group_name: "ThingGroupName",
|
6577
6711
|
# thing_group_id: "ThingGroupId",
|
6712
|
+
# namespace_id: "NamespaceId",
|
6578
6713
|
# })
|
6579
6714
|
#
|
6580
6715
|
# @example Response structure
|
@@ -6908,7 +7043,9 @@ module Aws::IoT
|
|
6908
7043
|
# Cognito identities or federated identities.
|
6909
7044
|
#
|
6910
7045
|
# @option params [String] :next_token
|
6911
|
-
#
|
7046
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7047
|
+
# previous response; otherwise **null** to receive the first set of
|
7048
|
+
# results.
|
6912
7049
|
#
|
6913
7050
|
# @option params [Integer] :max_results
|
6914
7051
|
# The maximum number of results to return in this operation.
|
@@ -7242,7 +7379,9 @@ module Aws::IoT
|
|
7242
7379
|
# The ARN of the resource.
|
7243
7380
|
#
|
7244
7381
|
# @option params [String] :next_token
|
7245
|
-
#
|
7382
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7383
|
+
# previous response; otherwise **null** to receive the first set of
|
7384
|
+
# results.
|
7246
7385
|
#
|
7247
7386
|
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7248
7387
|
#
|
@@ -7354,7 +7493,9 @@ module Aws::IoT
|
|
7354
7493
|
# List the thing groups in your account.
|
7355
7494
|
#
|
7356
7495
|
# @option params [String] :next_token
|
7357
|
-
#
|
7496
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7497
|
+
# previous response; otherwise **null** to receive the first set of
|
7498
|
+
# results.
|
7358
7499
|
#
|
7359
7500
|
# @option params [Integer] :max_results
|
7360
7501
|
# The maximum number of results to return at one time.
|
@@ -7407,7 +7548,9 @@ module Aws::IoT
|
|
7407
7548
|
# The thing name.
|
7408
7549
|
#
|
7409
7550
|
# @option params [String] :next_token
|
7410
|
-
#
|
7551
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7552
|
+
# previous response; otherwise **null** to receive the first set of
|
7553
|
+
# results.
|
7411
7554
|
#
|
7412
7555
|
# @option params [Integer] :max_results
|
7413
7556
|
# The maximum number of results to return at one time.
|
@@ -7445,16 +7588,29 @@ module Aws::IoT
|
|
7445
7588
|
# can be X.509 certificates, IAM users, groups, and roles, Amazon
|
7446
7589
|
# Cognito identities or federated identities.
|
7447
7590
|
#
|
7591
|
+
# @option params [String] :next_token
|
7592
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7593
|
+
# previous response; otherwise **null** to receive the first set of
|
7594
|
+
# results.
|
7595
|
+
#
|
7596
|
+
# @option params [Integer] :max_results
|
7597
|
+
# The maximum number of results to return in this operation.
|
7598
|
+
#
|
7448
7599
|
# @option params [required, String] :thing_name
|
7449
7600
|
# The name of the thing.
|
7450
7601
|
#
|
7451
7602
|
# @return [Types::ListThingPrincipalsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7452
7603
|
#
|
7453
7604
|
# * {Types::ListThingPrincipalsResponse#principals #principals} => Array<String>
|
7605
|
+
# * {Types::ListThingPrincipalsResponse#next_token #next_token} => String
|
7606
|
+
#
|
7607
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7454
7608
|
#
|
7455
7609
|
# @example Request syntax with placeholder values
|
7456
7610
|
#
|
7457
7611
|
# resp = client.list_thing_principals({
|
7612
|
+
# next_token: "NextToken",
|
7613
|
+
# max_results: 1,
|
7458
7614
|
# thing_name: "ThingName", # required
|
7459
7615
|
# })
|
7460
7616
|
#
|
@@ -7462,6 +7618,7 @@ module Aws::IoT
|
|
7462
7618
|
#
|
7463
7619
|
# resp.principals #=> Array
|
7464
7620
|
# resp.principals[0] #=> String
|
7621
|
+
# resp.next_token #=> String
|
7465
7622
|
#
|
7466
7623
|
# @overload list_thing_principals(params = {})
|
7467
7624
|
# @param [Hash] params ({})
|
@@ -7479,7 +7636,9 @@ module Aws::IoT
|
|
7479
7636
|
# The type of task report.
|
7480
7637
|
#
|
7481
7638
|
# @option params [String] :next_token
|
7482
|
-
#
|
7639
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7640
|
+
# previous response; otherwise **null** to receive the first set of
|
7641
|
+
# results.
|
7483
7642
|
#
|
7484
7643
|
# @option params [Integer] :max_results
|
7485
7644
|
# The maximum number of results to return per request.
|
@@ -7518,7 +7677,9 @@ module Aws::IoT
|
|
7518
7677
|
# List bulk thing provisioning tasks.
|
7519
7678
|
#
|
7520
7679
|
# @option params [String] :next_token
|
7521
|
-
#
|
7680
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7681
|
+
# previous response; otherwise **null** to receive the first set of
|
7682
|
+
# results.
|
7522
7683
|
#
|
7523
7684
|
# @option params [Integer] :max_results
|
7524
7685
|
# The maximum number of results to return at one time.
|
@@ -7557,7 +7718,9 @@ module Aws::IoT
|
|
7557
7718
|
# Lists the existing thing types.
|
7558
7719
|
#
|
7559
7720
|
# @option params [String] :next_token
|
7560
|
-
#
|
7721
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7722
|
+
# previous response; otherwise **null** to receive the first set of
|
7723
|
+
# results.
|
7561
7724
|
#
|
7562
7725
|
# @option params [Integer] :max_results
|
7563
7726
|
# The maximum number of results to return in this operation.
|
@@ -7614,7 +7777,9 @@ module Aws::IoT
|
|
7614
7777
|
# </note>
|
7615
7778
|
#
|
7616
7779
|
# @option params [String] :next_token
|
7617
|
-
#
|
7780
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7781
|
+
# previous response; otherwise **null** to receive the first set of
|
7782
|
+
# results.
|
7618
7783
|
#
|
7619
7784
|
# @option params [Integer] :max_results
|
7620
7785
|
# The maximum number of results to return in this operation.
|
@@ -7669,7 +7834,9 @@ module Aws::IoT
|
|
7669
7834
|
# The name of the billing group.
|
7670
7835
|
#
|
7671
7836
|
# @option params [String] :next_token
|
7672
|
-
#
|
7837
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7838
|
+
# previous response; otherwise **null** to receive the first set of
|
7839
|
+
# results.
|
7673
7840
|
#
|
7674
7841
|
# @option params [Integer] :max_results
|
7675
7842
|
# The maximum number of results to return per request.
|
@@ -7712,7 +7879,9 @@ module Aws::IoT
|
|
7712
7879
|
# well.
|
7713
7880
|
#
|
7714
7881
|
# @option params [String] :next_token
|
7715
|
-
#
|
7882
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7883
|
+
# previous response; otherwise **null** to receive the first set of
|
7884
|
+
# results.
|
7716
7885
|
#
|
7717
7886
|
# @option params [Integer] :max_results
|
7718
7887
|
# The maximum number of results to return at one time.
|
@@ -7752,7 +7921,9 @@ module Aws::IoT
|
|
7752
7921
|
# The maximum number of results to return at one time.
|
7753
7922
|
#
|
7754
7923
|
# @option params [String] :next_token
|
7755
|
-
#
|
7924
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7925
|
+
# previous response; otherwise **null** to receive the first set of
|
7926
|
+
# results.
|
7756
7927
|
#
|
7757
7928
|
# @return [Types::ListTopicRuleDestinationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7758
7929
|
#
|
@@ -7793,7 +7964,9 @@ module Aws::IoT
|
|
7793
7964
|
# The maximum number of results to return.
|
7794
7965
|
#
|
7795
7966
|
# @option params [String] :next_token
|
7796
|
-
#
|
7967
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7968
|
+
# previous response; otherwise **null** to receive the first set of
|
7969
|
+
# results.
|
7797
7970
|
#
|
7798
7971
|
# @option params [Boolean] :rule_disabled
|
7799
7972
|
# Specifies whether the rule is disabled.
|
@@ -7838,8 +8011,9 @@ module Aws::IoT
|
|
7838
8011
|
# `THING_Group`.
|
7839
8012
|
#
|
7840
8013
|
# @option params [String] :next_token
|
7841
|
-
#
|
7842
|
-
#
|
8014
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
8015
|
+
# previous response; otherwise **null** to receive the first set of
|
8016
|
+
# results.
|
7843
8017
|
#
|
7844
8018
|
# @option params [Integer] :max_results
|
7845
8019
|
# The maximum number of results to return at one time.
|
@@ -8405,6 +8579,21 @@ module Aws::IoT
|
|
8405
8579
|
# state_machine_name: "StateMachineName", # required
|
8406
8580
|
# role_arn: "AwsArn", # required
|
8407
8581
|
# },
|
8582
|
+
# timestream: {
|
8583
|
+
# role_arn: "AwsArn", # required
|
8584
|
+
# database_name: "TimestreamDatabaseName", # required
|
8585
|
+
# table_name: "TimestreamTableName", # required
|
8586
|
+
# dimensions: [ # required
|
8587
|
+
# {
|
8588
|
+
# name: "TimestreamDimensionName", # required
|
8589
|
+
# value: "TimestreamDimensionValue", # required
|
8590
|
+
# },
|
8591
|
+
# ],
|
8592
|
+
# timestamp: {
|
8593
|
+
# value: "TimestreamTimestampValue", # required
|
8594
|
+
# unit: "TimestreamTimestampUnit", # required
|
8595
|
+
# },
|
8596
|
+
# },
|
8408
8597
|
# http: {
|
8409
8598
|
# url: "Url", # required
|
8410
8599
|
# confirmation_url: "Url",
|
@@ -8549,6 +8738,21 @@ module Aws::IoT
|
|
8549
8738
|
# state_machine_name: "StateMachineName", # required
|
8550
8739
|
# role_arn: "AwsArn", # required
|
8551
8740
|
# },
|
8741
|
+
# timestream: {
|
8742
|
+
# role_arn: "AwsArn", # required
|
8743
|
+
# database_name: "TimestreamDatabaseName", # required
|
8744
|
+
# table_name: "TimestreamTableName", # required
|
8745
|
+
# dimensions: [ # required
|
8746
|
+
# {
|
8747
|
+
# name: "TimestreamDimensionName", # required
|
8748
|
+
# value: "TimestreamDimensionValue", # required
|
8749
|
+
# },
|
8750
|
+
# ],
|
8751
|
+
# timestamp: {
|
8752
|
+
# value: "TimestreamTimestampValue", # required
|
8753
|
+
# unit: "TimestreamTimestampUnit", # required
|
8754
|
+
# },
|
8755
|
+
# },
|
8552
8756
|
# http: {
|
8553
8757
|
# url: "Url", # required
|
8554
8758
|
# confirmation_url: "Url",
|
@@ -9705,6 +9909,19 @@ module Aws::IoT
|
|
9705
9909
|
# terminal state before the time expires, it will be automatically set
|
9706
9910
|
# to `TIMED_OUT`.
|
9707
9911
|
#
|
9912
|
+
# @option params [String] :namespace_id
|
9913
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
9914
|
+
#
|
9915
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
9916
|
+
# notifications to MQTT topics that contain the value in the following
|
9917
|
+
# format.
|
9918
|
+
#
|
9919
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
9920
|
+
#
|
9921
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
9922
|
+
#
|
9923
|
+
# </note>
|
9924
|
+
#
|
9708
9925
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
9709
9926
|
#
|
9710
9927
|
# @example Request syntax with placeholder values
|
@@ -9740,6 +9957,7 @@ module Aws::IoT
|
|
9740
9957
|
# timeout_config: {
|
9741
9958
|
# in_progress_timeout_in_minutes: 1,
|
9742
9959
|
# },
|
9960
|
+
# namespace_id: "NamespaceId",
|
9743
9961
|
# })
|
9744
9962
|
#
|
9745
9963
|
# @overload update_job(params = {})
|
@@ -9963,13 +10181,13 @@ module Aws::IoT
|
|
9963
10181
|
# Where the alerts are sent. (Alerts are always sent to the console.)
|
9964
10182
|
#
|
9965
10183
|
# @option params [Array<String>] :additional_metrics_to_retain
|
10184
|
+
# *Please use UpdateSecurityProfileRequest$additionalMetricsToRetainV2
|
10185
|
+
# instead.*
|
10186
|
+
#
|
9966
10187
|
# A list of metrics whose data is retained (stored). By default, data is
|
9967
10188
|
# retained for any metric used in the profile's `behaviors`, but it is
|
9968
10189
|
# also retained for any metric specified here.
|
9969
10190
|
#
|
9970
|
-
# **Note:** This API field is deprecated. Please use
|
9971
|
-
# UpdateSecurityProfileRequest$additionalMetricsToRetainV2 instead.
|
9972
|
-
#
|
9973
10191
|
# @option params [Array<Types::MetricToRetain>] :additional_metrics_to_retain_v2
|
9974
10192
|
# A list of metrics whose data is retained (stored). By default, data is
|
9975
10193
|
# retained for any metric used in the profile's behaviors, but it is
|
@@ -10407,7 +10625,7 @@ module Aws::IoT
|
|
10407
10625
|
params: params,
|
10408
10626
|
config: config)
|
10409
10627
|
context[:gem_name] = 'aws-sdk-iot'
|
10410
|
-
context[:gem_version] = '1.
|
10628
|
+
context[:gem_version] = '1.61.0'
|
10411
10629
|
Seahorse::Client::Request.new(handlers, context)
|
10412
10630
|
end
|
10413
10631
|
|