aws-sdk-iot 1.58.0 → 1.63.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-iot.rb +1 -1
- data/lib/aws-sdk-iot/client.rb +184 -22
- data/lib/aws-sdk-iot/client_api.rb +30 -0
- data/lib/aws-sdk-iot/types.rb +346 -69
- 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: 95d1a1e0d8ec3ef76c6422d8575fb17f8c475e2b6befa251054daa0bdd1efce7
|
4
|
+
data.tar.gz: 3c3f38a1c01e8eb0e4ea3b2575cd9d5c8cc2e38906a8e82e5ac5578969d96c33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b07c14ff5dd238040965777dcd422c241589dfc3da3669316b744ac2bbe6359545e71fdfa99b45bf88f0c0d0d30e76475194faa3c6a07791968bfc984c0936f0
|
7
|
+
data.tar.gz: 633a7ec3980a0a0247a1252195b6050631ac3d1a709e22990e515459e37ff00be53c2b885bc5debe372630d94837f77e3f80d4782d10ec622c8ef1d73de2cccd
|
data/lib/aws-sdk-iot.rb
CHANGED
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
|
@@ -1629,6 +1657,7 @@ module Aws::IoT
|
|
1629
1657
|
# files: [ # required
|
1630
1658
|
# {
|
1631
1659
|
# file_name: "FileName",
|
1660
|
+
# file_type: 1,
|
1632
1661
|
# file_version: "OTAUpdateFileVersion",
|
1633
1662
|
# file_location: {
|
1634
1663
|
# stream: {
|
@@ -2101,13 +2130,13 @@ module Aws::IoT
|
|
2101
2130
|
# (thing) violates a behavior.
|
2102
2131
|
#
|
2103
2132
|
# @option params [Array<String>] :additional_metrics_to_retain
|
2133
|
+
# *Please use CreateSecurityProfileRequest$additionalMetricsToRetainV2
|
2134
|
+
# instead.*
|
2135
|
+
#
|
2104
2136
|
# A list of metrics whose data is retained (stored). By default, data is
|
2105
2137
|
# retained for any metric used in the profile's `behaviors`, but it is
|
2106
2138
|
# also retained for any metric specified here.
|
2107
2139
|
#
|
2108
|
-
# **Note:** This API field is deprecated. Please use
|
2109
|
-
# CreateSecurityProfileRequest$additionalMetricsToRetainV2 instead.
|
2110
|
-
#
|
2111
2140
|
# @option params [Array<Types::MetricToRetain>] :additional_metrics_to_retain_v2
|
2112
2141
|
# A list of metrics whose data is retained (stored). By default, data is
|
2113
2142
|
# retained for any metric used in the profile's `behaviors`, but it is
|
@@ -2516,6 +2545,7 @@ module Aws::IoT
|
|
2516
2545
|
# role_arn: "AwsArn", # required
|
2517
2546
|
# delivery_stream_name: "DeliveryStreamName", # required
|
2518
2547
|
# separator: "FirehoseSeparator",
|
2548
|
+
# batch_mode: false,
|
2519
2549
|
# },
|
2520
2550
|
# cloudwatch_metric: {
|
2521
2551
|
# role_arn: "AwsArn", # required
|
@@ -2549,11 +2579,13 @@ module Aws::IoT
|
|
2549
2579
|
# iot_analytics: {
|
2550
2580
|
# channel_arn: "AwsArn",
|
2551
2581
|
# channel_name: "ChannelName",
|
2582
|
+
# batch_mode: false,
|
2552
2583
|
# role_arn: "AwsArn",
|
2553
2584
|
# },
|
2554
2585
|
# iot_events: {
|
2555
2586
|
# input_name: "InputName", # required
|
2556
2587
|
# message_id: "MessageId",
|
2588
|
+
# batch_mode: false,
|
2557
2589
|
# role_arn: "AwsArn", # required
|
2558
2590
|
# },
|
2559
2591
|
# iot_site_wise: {
|
@@ -2675,6 +2707,7 @@ module Aws::IoT
|
|
2675
2707
|
# role_arn: "AwsArn", # required
|
2676
2708
|
# delivery_stream_name: "DeliveryStreamName", # required
|
2677
2709
|
# separator: "FirehoseSeparator",
|
2710
|
+
# batch_mode: false,
|
2678
2711
|
# },
|
2679
2712
|
# cloudwatch_metric: {
|
2680
2713
|
# role_arn: "AwsArn", # required
|
@@ -2708,11 +2741,13 @@ module Aws::IoT
|
|
2708
2741
|
# iot_analytics: {
|
2709
2742
|
# channel_arn: "AwsArn",
|
2710
2743
|
# channel_name: "ChannelName",
|
2744
|
+
# batch_mode: false,
|
2711
2745
|
# role_arn: "AwsArn",
|
2712
2746
|
# },
|
2713
2747
|
# iot_events: {
|
2714
2748
|
# input_name: "InputName", # required
|
2715
2749
|
# message_id: "MessageId",
|
2750
|
+
# batch_mode: false,
|
2716
2751
|
# role_arn: "AwsArn", # required
|
2717
2752
|
# },
|
2718
2753
|
# iot_site_wise: {
|
@@ -3086,6 +3121,19 @@ module Aws::IoT
|
|
3086
3121
|
#
|
3087
3122
|
# </note>
|
3088
3123
|
#
|
3124
|
+
# @option params [String] :namespace_id
|
3125
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
3126
|
+
#
|
3127
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
3128
|
+
# notifications to MQTT topics that contain the value in the following
|
3129
|
+
# format.
|
3130
|
+
#
|
3131
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
3132
|
+
#
|
3133
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
3134
|
+
#
|
3135
|
+
# </note>
|
3136
|
+
#
|
3089
3137
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3090
3138
|
#
|
3091
3139
|
# @example Request syntax with placeholder values
|
@@ -3093,6 +3141,7 @@ module Aws::IoT
|
|
3093
3141
|
# resp = client.delete_job({
|
3094
3142
|
# job_id: "JobId", # required
|
3095
3143
|
# force: false,
|
3144
|
+
# namespace_id: "NamespaceId",
|
3096
3145
|
# })
|
3097
3146
|
#
|
3098
3147
|
# @overload delete_job(params = {})
|
@@ -3132,6 +3181,19 @@ module Aws::IoT
|
|
3132
3181
|
#
|
3133
3182
|
# </note>
|
3134
3183
|
#
|
3184
|
+
# @option params [String] :namespace_id
|
3185
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
3186
|
+
#
|
3187
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
3188
|
+
# notifications to MQTT topics that contain the value in the following
|
3189
|
+
# format.
|
3190
|
+
#
|
3191
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
3192
|
+
#
|
3193
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
3194
|
+
#
|
3195
|
+
# </note>
|
3196
|
+
#
|
3135
3197
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3136
3198
|
#
|
3137
3199
|
# @example Request syntax with placeholder values
|
@@ -3141,6 +3203,7 @@ module Aws::IoT
|
|
3141
3203
|
# thing_name: "ThingName", # required
|
3142
3204
|
# execution_number: 1, # required
|
3143
3205
|
# force: false,
|
3206
|
+
# namespace_id: "NamespaceId",
|
3144
3207
|
# })
|
3145
3208
|
#
|
3146
3209
|
# @overload delete_job_execution(params = {})
|
@@ -4074,6 +4137,7 @@ module Aws::IoT
|
|
4074
4137
|
# * {Types::DescribeDomainConfigurationResponse#domain_configuration_status #domain_configuration_status} => String
|
4075
4138
|
# * {Types::DescribeDomainConfigurationResponse#service_type #service_type} => String
|
4076
4139
|
# * {Types::DescribeDomainConfigurationResponse#domain_type #domain_type} => String
|
4140
|
+
# * {Types::DescribeDomainConfigurationResponse#last_status_change_date #last_status_change_date} => Time
|
4077
4141
|
#
|
4078
4142
|
# @example Request syntax with placeholder values
|
4079
4143
|
#
|
@@ -4095,6 +4159,7 @@ module Aws::IoT
|
|
4095
4159
|
# resp.domain_configuration_status #=> String, one of "ENABLED", "DISABLED"
|
4096
4160
|
# resp.service_type #=> String, one of "DATA", "CREDENTIAL_PROVIDER", "JOBS"
|
4097
4161
|
# resp.domain_type #=> String, one of "ENDPOINT", "AWS_MANAGED", "CUSTOMER_MANAGED"
|
4162
|
+
# resp.last_status_change_date #=> Time
|
4098
4163
|
#
|
4099
4164
|
# @overload describe_domain_configuration(params = {})
|
4100
4165
|
# @param [Hash] params ({})
|
@@ -4260,6 +4325,7 @@ module Aws::IoT
|
|
4260
4325
|
# resp.job.job_process_details.number_of_removed_things #=> Integer
|
4261
4326
|
# resp.job.job_process_details.number_of_timed_out_things #=> Integer
|
4262
4327
|
# resp.job.timeout_config.in_progress_timeout_in_minutes #=> Integer
|
4328
|
+
# resp.job.namespace_id #=> String
|
4263
4329
|
#
|
4264
4330
|
# @overload describe_job(params = {})
|
4265
4331
|
# @param [Hash] params ({})
|
@@ -5142,6 +5208,7 @@ module Aws::IoT
|
|
5142
5208
|
# resp.ota_update_info.target_selection #=> String, one of "CONTINUOUS", "SNAPSHOT"
|
5143
5209
|
# resp.ota_update_info.ota_update_files #=> Array
|
5144
5210
|
# resp.ota_update_info.ota_update_files[0].file_name #=> String
|
5211
|
+
# resp.ota_update_info.ota_update_files[0].file_type #=> Integer
|
5145
5212
|
# resp.ota_update_info.ota_update_files[0].file_version #=> String
|
5146
5213
|
# resp.ota_update_info.ota_update_files[0].file_location.stream.stream_id #=> String
|
5147
5214
|
# resp.ota_update_info.ota_update_files[0].file_location.stream.file_id #=> Integer
|
@@ -5437,6 +5504,7 @@ module Aws::IoT
|
|
5437
5504
|
# resp.rule.actions[0].firehose.role_arn #=> String
|
5438
5505
|
# resp.rule.actions[0].firehose.delivery_stream_name #=> String
|
5439
5506
|
# resp.rule.actions[0].firehose.separator #=> String
|
5507
|
+
# resp.rule.actions[0].firehose.batch_mode #=> Boolean
|
5440
5508
|
# resp.rule.actions[0].cloudwatch_metric.role_arn #=> String
|
5441
5509
|
# resp.rule.actions[0].cloudwatch_metric.metric_namespace #=> String
|
5442
5510
|
# resp.rule.actions[0].cloudwatch_metric.metric_name #=> String
|
@@ -5458,9 +5526,11 @@ module Aws::IoT
|
|
5458
5526
|
# resp.rule.actions[0].salesforce.url #=> String
|
5459
5527
|
# resp.rule.actions[0].iot_analytics.channel_arn #=> String
|
5460
5528
|
# resp.rule.actions[0].iot_analytics.channel_name #=> String
|
5529
|
+
# resp.rule.actions[0].iot_analytics.batch_mode #=> Boolean
|
5461
5530
|
# resp.rule.actions[0].iot_analytics.role_arn #=> String
|
5462
5531
|
# resp.rule.actions[0].iot_events.input_name #=> String
|
5463
5532
|
# resp.rule.actions[0].iot_events.message_id #=> String
|
5533
|
+
# resp.rule.actions[0].iot_events.batch_mode #=> Boolean
|
5464
5534
|
# resp.rule.actions[0].iot_events.role_arn #=> String
|
5465
5535
|
# resp.rule.actions[0].iot_site_wise.put_asset_property_value_entries #=> Array
|
5466
5536
|
# resp.rule.actions[0].iot_site_wise.put_asset_property_value_entries[0].entry_id #=> String
|
@@ -5529,6 +5599,7 @@ module Aws::IoT
|
|
5529
5599
|
# resp.rule.error_action.firehose.role_arn #=> String
|
5530
5600
|
# resp.rule.error_action.firehose.delivery_stream_name #=> String
|
5531
5601
|
# resp.rule.error_action.firehose.separator #=> String
|
5602
|
+
# resp.rule.error_action.firehose.batch_mode #=> Boolean
|
5532
5603
|
# resp.rule.error_action.cloudwatch_metric.role_arn #=> String
|
5533
5604
|
# resp.rule.error_action.cloudwatch_metric.metric_namespace #=> String
|
5534
5605
|
# resp.rule.error_action.cloudwatch_metric.metric_name #=> String
|
@@ -5550,9 +5621,11 @@ module Aws::IoT
|
|
5550
5621
|
# resp.rule.error_action.salesforce.url #=> String
|
5551
5622
|
# resp.rule.error_action.iot_analytics.channel_arn #=> String
|
5552
5623
|
# resp.rule.error_action.iot_analytics.channel_name #=> String
|
5624
|
+
# resp.rule.error_action.iot_analytics.batch_mode #=> Boolean
|
5553
5625
|
# resp.rule.error_action.iot_analytics.role_arn #=> String
|
5554
5626
|
# resp.rule.error_action.iot_events.input_name #=> String
|
5555
5627
|
# resp.rule.error_action.iot_events.message_id #=> String
|
5628
|
+
# resp.rule.error_action.iot_events.batch_mode #=> Boolean
|
5556
5629
|
# resp.rule.error_action.iot_events.role_arn #=> String
|
5557
5630
|
# resp.rule.error_action.iot_site_wise.put_asset_property_value_entries #=> Array
|
5558
5631
|
# resp.rule.error_action.iot_site_wise.put_asset_property_value_entries[0].entry_id #=> String
|
@@ -6184,7 +6257,9 @@ module Aws::IoT
|
|
6184
6257
|
# Lists the billing groups you have created.
|
6185
6258
|
#
|
6186
6259
|
# @option params [String] :next_token
|
6187
|
-
#
|
6260
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
6261
|
+
# previous response; otherwise **null** to receive the first set of
|
6262
|
+
# results.
|
6188
6263
|
#
|
6189
6264
|
# @option params [Integer] :max_results
|
6190
6265
|
# The maximum number of results to return per request.
|
@@ -6537,6 +6612,19 @@ module Aws::IoT
|
|
6537
6612
|
# An optional filter that lets you search for jobs that have the
|
6538
6613
|
# specified status.
|
6539
6614
|
#
|
6615
|
+
# @option params [String] :namespace_id
|
6616
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
6617
|
+
#
|
6618
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
6619
|
+
# notifications to MQTT topics that contain the value in the following
|
6620
|
+
# format.
|
6621
|
+
#
|
6622
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
6623
|
+
#
|
6624
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
6625
|
+
#
|
6626
|
+
# </note>
|
6627
|
+
#
|
6540
6628
|
# @option params [Integer] :max_results
|
6541
6629
|
# The maximum number of results to be returned per request.
|
6542
6630
|
#
|
@@ -6555,6 +6643,7 @@ module Aws::IoT
|
|
6555
6643
|
# resp = client.list_job_executions_for_thing({
|
6556
6644
|
# thing_name: "ThingName", # required
|
6557
6645
|
# status: "QUEUED", # accepts QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT, REJECTED, REMOVED, CANCELED
|
6646
|
+
# namespace_id: "NamespaceId",
|
6558
6647
|
# max_results: 1,
|
6559
6648
|
# next_token: "NextToken",
|
6560
6649
|
# })
|
@@ -6605,6 +6694,19 @@ module Aws::IoT
|
|
6605
6694
|
# A filter that limits the returned jobs to those for the specified
|
6606
6695
|
# group.
|
6607
6696
|
#
|
6697
|
+
# @option params [String] :namespace_id
|
6698
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
6699
|
+
#
|
6700
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
6701
|
+
# notifications to MQTT topics that contain the value in the following
|
6702
|
+
# format.
|
6703
|
+
#
|
6704
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
6705
|
+
#
|
6706
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
6707
|
+
#
|
6708
|
+
# </note>
|
6709
|
+
#
|
6608
6710
|
# @return [Types::ListJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6609
6711
|
#
|
6610
6712
|
# * {Types::ListJobsResponse#jobs #jobs} => Array<Types::JobSummary>
|
@@ -6621,6 +6723,7 @@ module Aws::IoT
|
|
6621
6723
|
# next_token: "NextToken",
|
6622
6724
|
# thing_group_name: "ThingGroupName",
|
6623
6725
|
# thing_group_id: "ThingGroupId",
|
6726
|
+
# namespace_id: "NamespaceId",
|
6624
6727
|
# })
|
6625
6728
|
#
|
6626
6729
|
# @example Response structure
|
@@ -6954,7 +7057,9 @@ module Aws::IoT
|
|
6954
7057
|
# Cognito identities or federated identities.
|
6955
7058
|
#
|
6956
7059
|
# @option params [String] :next_token
|
6957
|
-
#
|
7060
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7061
|
+
# previous response; otherwise **null** to receive the first set of
|
7062
|
+
# results.
|
6958
7063
|
#
|
6959
7064
|
# @option params [Integer] :max_results
|
6960
7065
|
# The maximum number of results to return in this operation.
|
@@ -7288,7 +7393,9 @@ module Aws::IoT
|
|
7288
7393
|
# The ARN of the resource.
|
7289
7394
|
#
|
7290
7395
|
# @option params [String] :next_token
|
7291
|
-
#
|
7396
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7397
|
+
# previous response; otherwise **null** to receive the first set of
|
7398
|
+
# results.
|
7292
7399
|
#
|
7293
7400
|
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7294
7401
|
#
|
@@ -7400,7 +7507,9 @@ module Aws::IoT
|
|
7400
7507
|
# List the thing groups in your account.
|
7401
7508
|
#
|
7402
7509
|
# @option params [String] :next_token
|
7403
|
-
#
|
7510
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7511
|
+
# previous response; otherwise **null** to receive the first set of
|
7512
|
+
# results.
|
7404
7513
|
#
|
7405
7514
|
# @option params [Integer] :max_results
|
7406
7515
|
# The maximum number of results to return at one time.
|
@@ -7453,7 +7562,9 @@ module Aws::IoT
|
|
7453
7562
|
# The thing name.
|
7454
7563
|
#
|
7455
7564
|
# @option params [String] :next_token
|
7456
|
-
#
|
7565
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7566
|
+
# previous response; otherwise **null** to receive the first set of
|
7567
|
+
# results.
|
7457
7568
|
#
|
7458
7569
|
# @option params [Integer] :max_results
|
7459
7570
|
# The maximum number of results to return at one time.
|
@@ -7491,16 +7602,29 @@ module Aws::IoT
|
|
7491
7602
|
# can be X.509 certificates, IAM users, groups, and roles, Amazon
|
7492
7603
|
# Cognito identities or federated identities.
|
7493
7604
|
#
|
7605
|
+
# @option params [String] :next_token
|
7606
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7607
|
+
# previous response; otherwise **null** to receive the first set of
|
7608
|
+
# results.
|
7609
|
+
#
|
7610
|
+
# @option params [Integer] :max_results
|
7611
|
+
# The maximum number of results to return in this operation.
|
7612
|
+
#
|
7494
7613
|
# @option params [required, String] :thing_name
|
7495
7614
|
# The name of the thing.
|
7496
7615
|
#
|
7497
7616
|
# @return [Types::ListThingPrincipalsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7498
7617
|
#
|
7499
7618
|
# * {Types::ListThingPrincipalsResponse#principals #principals} => Array<String>
|
7619
|
+
# * {Types::ListThingPrincipalsResponse#next_token #next_token} => String
|
7620
|
+
#
|
7621
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7500
7622
|
#
|
7501
7623
|
# @example Request syntax with placeholder values
|
7502
7624
|
#
|
7503
7625
|
# resp = client.list_thing_principals({
|
7626
|
+
# next_token: "NextToken",
|
7627
|
+
# max_results: 1,
|
7504
7628
|
# thing_name: "ThingName", # required
|
7505
7629
|
# })
|
7506
7630
|
#
|
@@ -7508,6 +7632,7 @@ module Aws::IoT
|
|
7508
7632
|
#
|
7509
7633
|
# resp.principals #=> Array
|
7510
7634
|
# resp.principals[0] #=> String
|
7635
|
+
# resp.next_token #=> String
|
7511
7636
|
#
|
7512
7637
|
# @overload list_thing_principals(params = {})
|
7513
7638
|
# @param [Hash] params ({})
|
@@ -7525,7 +7650,9 @@ module Aws::IoT
|
|
7525
7650
|
# The type of task report.
|
7526
7651
|
#
|
7527
7652
|
# @option params [String] :next_token
|
7528
|
-
#
|
7653
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7654
|
+
# previous response; otherwise **null** to receive the first set of
|
7655
|
+
# results.
|
7529
7656
|
#
|
7530
7657
|
# @option params [Integer] :max_results
|
7531
7658
|
# The maximum number of results to return per request.
|
@@ -7564,7 +7691,9 @@ module Aws::IoT
|
|
7564
7691
|
# List bulk thing provisioning tasks.
|
7565
7692
|
#
|
7566
7693
|
# @option params [String] :next_token
|
7567
|
-
#
|
7694
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7695
|
+
# previous response; otherwise **null** to receive the first set of
|
7696
|
+
# results.
|
7568
7697
|
#
|
7569
7698
|
# @option params [Integer] :max_results
|
7570
7699
|
# The maximum number of results to return at one time.
|
@@ -7603,7 +7732,9 @@ module Aws::IoT
|
|
7603
7732
|
# Lists the existing thing types.
|
7604
7733
|
#
|
7605
7734
|
# @option params [String] :next_token
|
7606
|
-
#
|
7735
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7736
|
+
# previous response; otherwise **null** to receive the first set of
|
7737
|
+
# results.
|
7607
7738
|
#
|
7608
7739
|
# @option params [Integer] :max_results
|
7609
7740
|
# The maximum number of results to return in this operation.
|
@@ -7660,7 +7791,9 @@ module Aws::IoT
|
|
7660
7791
|
# </note>
|
7661
7792
|
#
|
7662
7793
|
# @option params [String] :next_token
|
7663
|
-
#
|
7794
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7795
|
+
# previous response; otherwise **null** to receive the first set of
|
7796
|
+
# results.
|
7664
7797
|
#
|
7665
7798
|
# @option params [Integer] :max_results
|
7666
7799
|
# The maximum number of results to return in this operation.
|
@@ -7715,7 +7848,9 @@ module Aws::IoT
|
|
7715
7848
|
# The name of the billing group.
|
7716
7849
|
#
|
7717
7850
|
# @option params [String] :next_token
|
7718
|
-
#
|
7851
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7852
|
+
# previous response; otherwise **null** to receive the first set of
|
7853
|
+
# results.
|
7719
7854
|
#
|
7720
7855
|
# @option params [Integer] :max_results
|
7721
7856
|
# The maximum number of results to return per request.
|
@@ -7758,7 +7893,9 @@ module Aws::IoT
|
|
7758
7893
|
# well.
|
7759
7894
|
#
|
7760
7895
|
# @option params [String] :next_token
|
7761
|
-
#
|
7896
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7897
|
+
# previous response; otherwise **null** to receive the first set of
|
7898
|
+
# results.
|
7762
7899
|
#
|
7763
7900
|
# @option params [Integer] :max_results
|
7764
7901
|
# The maximum number of results to return at one time.
|
@@ -7798,7 +7935,9 @@ module Aws::IoT
|
|
7798
7935
|
# The maximum number of results to return at one time.
|
7799
7936
|
#
|
7800
7937
|
# @option params [String] :next_token
|
7801
|
-
#
|
7938
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7939
|
+
# previous response; otherwise **null** to receive the first set of
|
7940
|
+
# results.
|
7802
7941
|
#
|
7803
7942
|
# @return [Types::ListTopicRuleDestinationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7804
7943
|
#
|
@@ -7839,7 +7978,9 @@ module Aws::IoT
|
|
7839
7978
|
# The maximum number of results to return.
|
7840
7979
|
#
|
7841
7980
|
# @option params [String] :next_token
|
7842
|
-
#
|
7981
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
7982
|
+
# previous response; otherwise **null** to receive the first set of
|
7983
|
+
# results.
|
7843
7984
|
#
|
7844
7985
|
# @option params [Boolean] :rule_disabled
|
7845
7986
|
# Specifies whether the rule is disabled.
|
@@ -7884,8 +8025,9 @@ module Aws::IoT
|
|
7884
8025
|
# `THING_Group`.
|
7885
8026
|
#
|
7886
8027
|
# @option params [String] :next_token
|
7887
|
-
#
|
7888
|
-
#
|
8028
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
8029
|
+
# previous response; otherwise **null** to receive the first set of
|
8030
|
+
# results.
|
7889
8031
|
#
|
7890
8032
|
# @option params [Integer] :max_results
|
7891
8033
|
# The maximum number of results to return at one time.
|
@@ -8380,6 +8522,7 @@ module Aws::IoT
|
|
8380
8522
|
# role_arn: "AwsArn", # required
|
8381
8523
|
# delivery_stream_name: "DeliveryStreamName", # required
|
8382
8524
|
# separator: "FirehoseSeparator",
|
8525
|
+
# batch_mode: false,
|
8383
8526
|
# },
|
8384
8527
|
# cloudwatch_metric: {
|
8385
8528
|
# role_arn: "AwsArn", # required
|
@@ -8413,11 +8556,13 @@ module Aws::IoT
|
|
8413
8556
|
# iot_analytics: {
|
8414
8557
|
# channel_arn: "AwsArn",
|
8415
8558
|
# channel_name: "ChannelName",
|
8559
|
+
# batch_mode: false,
|
8416
8560
|
# role_arn: "AwsArn",
|
8417
8561
|
# },
|
8418
8562
|
# iot_events: {
|
8419
8563
|
# input_name: "InputName", # required
|
8420
8564
|
# message_id: "MessageId",
|
8565
|
+
# batch_mode: false,
|
8421
8566
|
# role_arn: "AwsArn", # required
|
8422
8567
|
# },
|
8423
8568
|
# iot_site_wise: {
|
@@ -8539,6 +8684,7 @@ module Aws::IoT
|
|
8539
8684
|
# role_arn: "AwsArn", # required
|
8540
8685
|
# delivery_stream_name: "DeliveryStreamName", # required
|
8541
8686
|
# separator: "FirehoseSeparator",
|
8687
|
+
# batch_mode: false,
|
8542
8688
|
# },
|
8543
8689
|
# cloudwatch_metric: {
|
8544
8690
|
# role_arn: "AwsArn", # required
|
@@ -8572,11 +8718,13 @@ module Aws::IoT
|
|
8572
8718
|
# iot_analytics: {
|
8573
8719
|
# channel_arn: "AwsArn",
|
8574
8720
|
# channel_name: "ChannelName",
|
8721
|
+
# batch_mode: false,
|
8575
8722
|
# role_arn: "AwsArn",
|
8576
8723
|
# },
|
8577
8724
|
# iot_events: {
|
8578
8725
|
# input_name: "InputName", # required
|
8579
8726
|
# message_id: "MessageId",
|
8727
|
+
# batch_mode: false,
|
8580
8728
|
# role_arn: "AwsArn", # required
|
8581
8729
|
# },
|
8582
8730
|
# iot_site_wise: {
|
@@ -9781,6 +9929,19 @@ module Aws::IoT
|
|
9781
9929
|
# terminal state before the time expires, it will be automatically set
|
9782
9930
|
# to `TIMED_OUT`.
|
9783
9931
|
#
|
9932
|
+
# @option params [String] :namespace_id
|
9933
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
9934
|
+
#
|
9935
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
9936
|
+
# notifications to MQTT topics that contain the value in the following
|
9937
|
+
# format.
|
9938
|
+
#
|
9939
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
9940
|
+
#
|
9941
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
9942
|
+
#
|
9943
|
+
# </note>
|
9944
|
+
#
|
9784
9945
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
9785
9946
|
#
|
9786
9947
|
# @example Request syntax with placeholder values
|
@@ -9816,6 +9977,7 @@ module Aws::IoT
|
|
9816
9977
|
# timeout_config: {
|
9817
9978
|
# in_progress_timeout_in_minutes: 1,
|
9818
9979
|
# },
|
9980
|
+
# namespace_id: "NamespaceId",
|
9819
9981
|
# })
|
9820
9982
|
#
|
9821
9983
|
# @overload update_job(params = {})
|
@@ -10039,13 +10201,13 @@ module Aws::IoT
|
|
10039
10201
|
# Where the alerts are sent. (Alerts are always sent to the console.)
|
10040
10202
|
#
|
10041
10203
|
# @option params [Array<String>] :additional_metrics_to_retain
|
10204
|
+
# *Please use UpdateSecurityProfileRequest$additionalMetricsToRetainV2
|
10205
|
+
# instead.*
|
10206
|
+
#
|
10042
10207
|
# A list of metrics whose data is retained (stored). By default, data is
|
10043
10208
|
# retained for any metric used in the profile's `behaviors`, but it is
|
10044
10209
|
# also retained for any metric specified here.
|
10045
10210
|
#
|
10046
|
-
# **Note:** This API field is deprecated. Please use
|
10047
|
-
# UpdateSecurityProfileRequest$additionalMetricsToRetainV2 instead.
|
10048
|
-
#
|
10049
10211
|
# @option params [Array<Types::MetricToRetain>] :additional_metrics_to_retain_v2
|
10050
10212
|
# A list of metrics whose data is retained (stored). By default, data is
|
10051
10213
|
# retained for any metric used in the profile's behaviors, but it is
|
@@ -10483,7 +10645,7 @@ module Aws::IoT
|
|
10483
10645
|
params: params,
|
10484
10646
|
config: config)
|
10485
10647
|
context[:gem_name] = 'aws-sdk-iot'
|
10486
|
-
context[:gem_version] = '1.
|
10648
|
+
context[:gem_version] = '1.63.0'
|
10487
10649
|
Seahorse::Client::Request.new(handlers, context)
|
10488
10650
|
end
|
10489
10651
|
|