aws-sdk-iot 1.50.0 → 1.55.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 +3 -1
- data/lib/aws-sdk-iot/client.rb +487 -20
- data/lib/aws-sdk-iot/client_api.rb +458 -0
- data/lib/aws-sdk-iot/customizations.rb +1 -0
- data/lib/aws-sdk-iot/errors.rb +2 -0
- data/lib/aws-sdk-iot/resource.rb +2 -0
- data/lib/aws-sdk-iot/types.rb +1171 -32
- 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: 16b8ccb716f5a53cdf0f013fdaf4a09d59da2d5902806a8ff687f573dda576c5
|
4
|
+
data.tar.gz: '03634198ecb61beeffc0df618f74f0c8f19f5a399d4cbcbc50444614f976901f'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b3ea90abb67abd0967523aef15fb651c44086cfe3bbc7b878ff70000c62d55751469b7c1fb48a9f8569374292f7c7054a1151a7248bbf7a789092007f977855
|
7
|
+
data.tar.gz: 628bf676fc8c3f32d9b38bc63fb0bcef5b59d0f785464c383920056042bd67b6d9f90de8cef197936d0d8f57e508a11fa8c3d81a3a74ae37d92d2c2b2cecd352
|
data/lib/aws-sdk-iot.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-iot/customizations'
|
|
45
47
|
# @service
|
46
48
|
module Aws::IoT
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.55.0'
|
49
51
|
|
50
52
|
end
|
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::IoT
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
78
|
|
@@ -161,7 +165,7 @@ module Aws::IoT
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -466,7 +470,7 @@ module Aws::IoT
|
|
466
470
|
#
|
467
471
|
#
|
468
472
|
#
|
469
|
-
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/
|
473
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/security-iam.html
|
470
474
|
#
|
471
475
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
472
476
|
#
|
@@ -781,6 +785,64 @@ module Aws::IoT
|
|
781
785
|
req.send_request(options)
|
782
786
|
end
|
783
787
|
|
788
|
+
# Creates a Device Defender audit suppression.
|
789
|
+
#
|
790
|
+
# @option params [required, String] :check_name
|
791
|
+
# An audit check name. Checks must be enabled for your account. (Use
|
792
|
+
# `DescribeAccountAuditConfiguration` to see the list of all checks,
|
793
|
+
# including those that are enabled or use
|
794
|
+
# `UpdateAccountAuditConfiguration` to select which checks are enabled.)
|
795
|
+
#
|
796
|
+
# @option params [required, Types::ResourceIdentifier] :resource_identifier
|
797
|
+
# Information that identifies the noncompliant resource.
|
798
|
+
#
|
799
|
+
# @option params [Time,DateTime,Date,Integer,String] :expiration_date
|
800
|
+
# The epoch timestamp in seconds at which this suppression expires.
|
801
|
+
#
|
802
|
+
# @option params [Boolean] :suppress_indefinitely
|
803
|
+
# Indicates whether a suppression should exist indefinitely or not.
|
804
|
+
#
|
805
|
+
# @option params [String] :description
|
806
|
+
# The description of the audit suppression.
|
807
|
+
#
|
808
|
+
# @option params [required, String] :client_request_token
|
809
|
+
# The epoch timestamp in seconds at which this suppression expires.
|
810
|
+
#
|
811
|
+
# **A suitable default value is auto-generated.** You should normally
|
812
|
+
# not need to pass this option.**
|
813
|
+
#
|
814
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
815
|
+
#
|
816
|
+
# @example Request syntax with placeholder values
|
817
|
+
#
|
818
|
+
# resp = client.create_audit_suppression({
|
819
|
+
# check_name: "AuditCheckName", # required
|
820
|
+
# resource_identifier: { # required
|
821
|
+
# device_certificate_id: "CertificateId",
|
822
|
+
# ca_certificate_id: "CertificateId",
|
823
|
+
# cognito_identity_pool_id: "CognitoIdentityPoolId",
|
824
|
+
# client_id: "ClientId",
|
825
|
+
# policy_version_identifier: {
|
826
|
+
# policy_name: "PolicyName",
|
827
|
+
# policy_version_id: "PolicyVersionId",
|
828
|
+
# },
|
829
|
+
# account: "AwsAccountId",
|
830
|
+
# iam_role_arn: "RoleArn",
|
831
|
+
# role_alias_arn: "RoleAliasArn",
|
832
|
+
# },
|
833
|
+
# expiration_date: Time.now,
|
834
|
+
# suppress_indefinitely: false,
|
835
|
+
# description: "AuditDescription",
|
836
|
+
# client_request_token: "ClientRequestToken", # required
|
837
|
+
# })
|
838
|
+
#
|
839
|
+
# @overload create_audit_suppression(params = {})
|
840
|
+
# @param [Hash] params ({})
|
841
|
+
def create_audit_suppression(params = {}, options = {})
|
842
|
+
req = build_request(:create_audit_suppression, params)
|
843
|
+
req.send_request(options)
|
844
|
+
end
|
845
|
+
|
784
846
|
# Creates an authorizer.
|
785
847
|
#
|
786
848
|
# @option params [required, String] :authorizer_name
|
@@ -1378,8 +1440,14 @@ module Aws::IoT
|
|
1378
1440
|
end
|
1379
1441
|
|
1380
1442
|
# Defines an action that can be applied to audit findings by using
|
1381
|
-
# StartAuditMitigationActionsTask.
|
1382
|
-
#
|
1443
|
+
# StartAuditMitigationActionsTask. Only certain types of mitigation
|
1444
|
+
# actions can be applied to specific check names. For more information,
|
1445
|
+
# see [Mitigation actions][1]. Each mitigation action can apply only one
|
1446
|
+
# type of change.
|
1447
|
+
#
|
1448
|
+
#
|
1449
|
+
#
|
1450
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/device-defender-mitigation-actions.html
|
1383
1451
|
#
|
1384
1452
|
# @option params [required, String] :action_name
|
1385
1453
|
# A friendly name for the action. Choose a friendly name that accurately
|
@@ -1455,7 +1523,7 @@ module Aws::IoT
|
|
1455
1523
|
# The description of the OTA update.
|
1456
1524
|
#
|
1457
1525
|
# @option params [required, Array<String>] :targets
|
1458
|
-
# The targeted
|
1526
|
+
# The devices targeted to receive OTA updates.
|
1459
1527
|
#
|
1460
1528
|
# @option params [Array<String>] :protocols
|
1461
1529
|
# The protocol used to transfer the OTA update image. Valid values are
|
@@ -1477,11 +1545,22 @@ module Aws::IoT
|
|
1477
1545
|
# @option params [Types::AwsJobPresignedUrlConfig] :aws_job_presigned_url_config
|
1478
1546
|
# Configuration information for pre-signed URLs.
|
1479
1547
|
#
|
1548
|
+
# @option params [Types::AwsJobAbortConfig] :aws_job_abort_config
|
1549
|
+
# The criteria that determine when and how a job abort takes place.
|
1550
|
+
#
|
1551
|
+
# @option params [Types::AwsJobTimeoutConfig] :aws_job_timeout_config
|
1552
|
+
# Specifies the amount of time each device has to finish its execution
|
1553
|
+
# of the job. A timer is started when the job execution status is set to
|
1554
|
+
# `IN_PROGRESS`. If the job execution status is not set to another
|
1555
|
+
# terminal state before the timer expires, it will be automatically set
|
1556
|
+
# to `TIMED_OUT`.
|
1557
|
+
#
|
1480
1558
|
# @option params [required, Array<Types::OTAUpdateFile>] :files
|
1481
1559
|
# The files to be streamed by the OTA update.
|
1482
1560
|
#
|
1483
1561
|
# @option params [required, String] :role_arn
|
1484
|
-
# The IAM role that
|
1562
|
+
# The IAM role that grants AWS IoT access to the Amazon S3, AWS IoT jobs
|
1563
|
+
# and AWS Code Signing resources to create an OTA update job.
|
1485
1564
|
#
|
1486
1565
|
# @option params [Hash<String,String>] :additional_parameters
|
1487
1566
|
# A list of additional OTA update parameters which are name-value pairs.
|
@@ -1507,10 +1586,31 @@ module Aws::IoT
|
|
1507
1586
|
# target_selection: "CONTINUOUS", # accepts CONTINUOUS, SNAPSHOT
|
1508
1587
|
# aws_job_executions_rollout_config: {
|
1509
1588
|
# maximum_per_minute: 1,
|
1589
|
+
# exponential_rate: {
|
1590
|
+
# base_rate_per_minute: 1, # required
|
1591
|
+
# increment_factor: 1.0, # required
|
1592
|
+
# rate_increase_criteria: { # required
|
1593
|
+
# number_of_notified_things: 1,
|
1594
|
+
# number_of_succeeded_things: 1,
|
1595
|
+
# },
|
1596
|
+
# },
|
1510
1597
|
# },
|
1511
1598
|
# aws_job_presigned_url_config: {
|
1512
1599
|
# expires_in_sec: 1,
|
1513
1600
|
# },
|
1601
|
+
# aws_job_abort_config: {
|
1602
|
+
# abort_criteria_list: [ # required
|
1603
|
+
# {
|
1604
|
+
# failure_type: "FAILED", # required, accepts FAILED, REJECTED, TIMED_OUT, ALL
|
1605
|
+
# action: "CANCEL", # required, accepts CANCEL
|
1606
|
+
# threshold_percentage: 1.0, # required
|
1607
|
+
# min_number_of_executed_things: 1, # required
|
1608
|
+
# },
|
1609
|
+
# ],
|
1610
|
+
# },
|
1611
|
+
# aws_job_timeout_config: {
|
1612
|
+
# in_progress_timeout_in_minutes: 1,
|
1613
|
+
# },
|
1514
1614
|
# files: [ # required
|
1515
1615
|
# {
|
1516
1616
|
# file_name: "FileName",
|
@@ -2701,6 +2801,45 @@ module Aws::IoT
|
|
2701
2801
|
req.send_request(options)
|
2702
2802
|
end
|
2703
2803
|
|
2804
|
+
# Deletes a Device Defender audit suppression.
|
2805
|
+
#
|
2806
|
+
# @option params [required, String] :check_name
|
2807
|
+
# An audit check name. Checks must be enabled for your account. (Use
|
2808
|
+
# `DescribeAccountAuditConfiguration` to see the list of all checks,
|
2809
|
+
# including those that are enabled or use
|
2810
|
+
# `UpdateAccountAuditConfiguration` to select which checks are enabled.)
|
2811
|
+
#
|
2812
|
+
# @option params [required, Types::ResourceIdentifier] :resource_identifier
|
2813
|
+
# Information that identifies the noncompliant resource.
|
2814
|
+
#
|
2815
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2816
|
+
#
|
2817
|
+
# @example Request syntax with placeholder values
|
2818
|
+
#
|
2819
|
+
# resp = client.delete_audit_suppression({
|
2820
|
+
# check_name: "AuditCheckName", # required
|
2821
|
+
# resource_identifier: { # required
|
2822
|
+
# device_certificate_id: "CertificateId",
|
2823
|
+
# ca_certificate_id: "CertificateId",
|
2824
|
+
# cognito_identity_pool_id: "CognitoIdentityPoolId",
|
2825
|
+
# client_id: "ClientId",
|
2826
|
+
# policy_version_identifier: {
|
2827
|
+
# policy_name: "PolicyName",
|
2828
|
+
# policy_version_id: "PolicyVersionId",
|
2829
|
+
# },
|
2830
|
+
# account: "AwsAccountId",
|
2831
|
+
# iam_role_arn: "RoleArn",
|
2832
|
+
# role_alias_arn: "RoleAliasArn",
|
2833
|
+
# },
|
2834
|
+
# })
|
2835
|
+
#
|
2836
|
+
# @overload delete_audit_suppression(params = {})
|
2837
|
+
# @param [Hash] params ({})
|
2838
|
+
def delete_audit_suppression(params = {}, options = {})
|
2839
|
+
req = build_request(:delete_audit_suppression, params)
|
2840
|
+
req.send_request(options)
|
2841
|
+
end
|
2842
|
+
|
2704
2843
|
# Deletes an authorizer.
|
2705
2844
|
#
|
2706
2845
|
# @option params [required, String] :authorizer_name
|
@@ -2989,7 +3128,7 @@ module Aws::IoT
|
|
2989
3128
|
# Delete an OTA update.
|
2990
3129
|
#
|
2991
3130
|
# @option params [required, String] :ota_update_id
|
2992
|
-
# The OTA update
|
3131
|
+
# The ID of the OTA update to delete.
|
2993
3132
|
#
|
2994
3133
|
# @option params [Boolean] :delete_stream
|
2995
3134
|
# Specifies if the stream associated with an OTA update should be
|
@@ -2997,7 +3136,7 @@ module Aws::IoT
|
|
2997
3136
|
#
|
2998
3137
|
# @option params [Boolean] :force_delete_aws_job
|
2999
3138
|
# Specifies if the AWS Job associated with the OTA update should be
|
3000
|
-
# deleted
|
3139
|
+
# deleted when the OTA update is deleted.
|
3001
3140
|
#
|
3002
3141
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3003
3142
|
#
|
@@ -3466,6 +3605,7 @@ module Aws::IoT
|
|
3466
3605
|
# resp.finding.related_resources[0].additional_info["String"] #=> String
|
3467
3606
|
# resp.finding.reason_for_non_compliance #=> String
|
3468
3607
|
# resp.finding.reason_for_non_compliance_code #=> String
|
3608
|
+
# resp.finding.is_suppressed #=> Boolean
|
3469
3609
|
#
|
3470
3610
|
# @overload describe_audit_finding(params = {})
|
3471
3611
|
# @param [Hash] params ({})
|
@@ -3539,6 +3679,67 @@ module Aws::IoT
|
|
3539
3679
|
req.send_request(options)
|
3540
3680
|
end
|
3541
3681
|
|
3682
|
+
# Gets information about a Device Defender audit suppression.
|
3683
|
+
#
|
3684
|
+
# @option params [required, String] :check_name
|
3685
|
+
# An audit check name. Checks must be enabled for your account. (Use
|
3686
|
+
# `DescribeAccountAuditConfiguration` to see the list of all checks,
|
3687
|
+
# including those that are enabled or use
|
3688
|
+
# `UpdateAccountAuditConfiguration` to select which checks are enabled.)
|
3689
|
+
#
|
3690
|
+
# @option params [required, Types::ResourceIdentifier] :resource_identifier
|
3691
|
+
# Information that identifies the noncompliant resource.
|
3692
|
+
#
|
3693
|
+
# @return [Types::DescribeAuditSuppressionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3694
|
+
#
|
3695
|
+
# * {Types::DescribeAuditSuppressionResponse#check_name #check_name} => String
|
3696
|
+
# * {Types::DescribeAuditSuppressionResponse#resource_identifier #resource_identifier} => Types::ResourceIdentifier
|
3697
|
+
# * {Types::DescribeAuditSuppressionResponse#expiration_date #expiration_date} => Time
|
3698
|
+
# * {Types::DescribeAuditSuppressionResponse#suppress_indefinitely #suppress_indefinitely} => Boolean
|
3699
|
+
# * {Types::DescribeAuditSuppressionResponse#description #description} => String
|
3700
|
+
#
|
3701
|
+
# @example Request syntax with placeholder values
|
3702
|
+
#
|
3703
|
+
# resp = client.describe_audit_suppression({
|
3704
|
+
# check_name: "AuditCheckName", # required
|
3705
|
+
# resource_identifier: { # required
|
3706
|
+
# device_certificate_id: "CertificateId",
|
3707
|
+
# ca_certificate_id: "CertificateId",
|
3708
|
+
# cognito_identity_pool_id: "CognitoIdentityPoolId",
|
3709
|
+
# client_id: "ClientId",
|
3710
|
+
# policy_version_identifier: {
|
3711
|
+
# policy_name: "PolicyName",
|
3712
|
+
# policy_version_id: "PolicyVersionId",
|
3713
|
+
# },
|
3714
|
+
# account: "AwsAccountId",
|
3715
|
+
# iam_role_arn: "RoleArn",
|
3716
|
+
# role_alias_arn: "RoleAliasArn",
|
3717
|
+
# },
|
3718
|
+
# })
|
3719
|
+
#
|
3720
|
+
# @example Response structure
|
3721
|
+
#
|
3722
|
+
# resp.check_name #=> String
|
3723
|
+
# resp.resource_identifier.device_certificate_id #=> String
|
3724
|
+
# resp.resource_identifier.ca_certificate_id #=> String
|
3725
|
+
# resp.resource_identifier.cognito_identity_pool_id #=> String
|
3726
|
+
# resp.resource_identifier.client_id #=> String
|
3727
|
+
# resp.resource_identifier.policy_version_identifier.policy_name #=> String
|
3728
|
+
# resp.resource_identifier.policy_version_identifier.policy_version_id #=> String
|
3729
|
+
# resp.resource_identifier.account #=> String
|
3730
|
+
# resp.resource_identifier.iam_role_arn #=> String
|
3731
|
+
# resp.resource_identifier.role_alias_arn #=> String
|
3732
|
+
# resp.expiration_date #=> Time
|
3733
|
+
# resp.suppress_indefinitely #=> Boolean
|
3734
|
+
# resp.description #=> String
|
3735
|
+
#
|
3736
|
+
# @overload describe_audit_suppression(params = {})
|
3737
|
+
# @param [Hash] params ({})
|
3738
|
+
def describe_audit_suppression(params = {}, options = {})
|
3739
|
+
req = build_request(:describe_audit_suppression, params)
|
3740
|
+
req.send_request(options)
|
3741
|
+
end
|
3742
|
+
|
3542
3743
|
# Gets information about a Device Defender audit.
|
3543
3744
|
#
|
3544
3745
|
# @option params [required, String] :task_id
|
@@ -3577,6 +3778,7 @@ module Aws::IoT
|
|
3577
3778
|
# resp.audit_details["AuditCheckName"].check_compliant #=> Boolean
|
3578
3779
|
# resp.audit_details["AuditCheckName"].total_resources_count #=> Integer
|
3579
3780
|
# resp.audit_details["AuditCheckName"].non_compliant_resources_count #=> Integer
|
3781
|
+
# resp.audit_details["AuditCheckName"].suppressed_non_compliant_resources_count #=> Integer
|
3580
3782
|
# resp.audit_details["AuditCheckName"].error_code #=> String
|
3581
3783
|
# resp.audit_details["AuditCheckName"].message #=> String
|
3582
3784
|
#
|
@@ -4578,8 +4780,11 @@ module Aws::IoT
|
|
4578
4780
|
# @option params [required, String] :principal
|
4579
4781
|
# The principal.
|
4580
4782
|
#
|
4581
|
-
#
|
4582
|
-
#
|
4783
|
+
# Valid principals are CertificateArn
|
4784
|
+
# (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
|
4785
|
+
# thingGroupArn
|
4786
|
+
# (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
|
4787
|
+
# CognitoId (*region*\:*id*).
|
4583
4788
|
#
|
4584
4789
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4585
4790
|
#
|
@@ -4739,7 +4944,11 @@ module Aws::IoT
|
|
4739
4944
|
# device gateway.
|
4740
4945
|
#
|
4741
4946
|
# @option params [String] :principal
|
4742
|
-
# The principal.
|
4947
|
+
# The principal. Valid principals are CertificateArn
|
4948
|
+
# (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
|
4949
|
+
# thingGroupArn
|
4950
|
+
# (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
|
4951
|
+
# CognitoId (*region*\:*id*).
|
4743
4952
|
#
|
4744
4953
|
# @option params [String] :cognito_identity_pool_id
|
4745
4954
|
# The Cognito identity pool ID.
|
@@ -4880,6 +5089,10 @@ module Aws::IoT
|
|
4880
5089
|
# resp.ota_update_info.protocols #=> Array
|
4881
5090
|
# resp.ota_update_info.protocols[0] #=> String, one of "MQTT", "HTTP"
|
4882
5091
|
# resp.ota_update_info.aws_job_executions_rollout_config.maximum_per_minute #=> Integer
|
5092
|
+
# resp.ota_update_info.aws_job_executions_rollout_config.exponential_rate.base_rate_per_minute #=> Integer
|
5093
|
+
# resp.ota_update_info.aws_job_executions_rollout_config.exponential_rate.increment_factor #=> Float
|
5094
|
+
# resp.ota_update_info.aws_job_executions_rollout_config.exponential_rate.rate_increase_criteria.number_of_notified_things #=> Integer
|
5095
|
+
# resp.ota_update_info.aws_job_executions_rollout_config.exponential_rate.rate_increase_criteria.number_of_succeeded_things #=> Integer
|
4883
5096
|
# resp.ota_update_info.aws_job_presigned_url_config.expires_in_sec #=> Integer
|
4884
5097
|
# resp.ota_update_info.target_selection #=> String, one of "CONTINUOUS", "SNAPSHOT"
|
4885
5098
|
# resp.ota_update_info.ota_update_files #=> Array
|
@@ -5392,6 +5605,8 @@ module Aws::IoT
|
|
5392
5605
|
# * {Types::ListActiveViolationsResponse#active_violations #active_violations} => Array<Types::ActiveViolation>
|
5393
5606
|
# * {Types::ListActiveViolationsResponse#next_token #next_token} => String
|
5394
5607
|
#
|
5608
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5609
|
+
#
|
5395
5610
|
# @example Request syntax with placeholder values
|
5396
5611
|
#
|
5397
5612
|
# resp = client.list_active_violations({
|
@@ -5440,7 +5655,12 @@ module Aws::IoT
|
|
5440
5655
|
# Lists the policies attached to the specified thing group.
|
5441
5656
|
#
|
5442
5657
|
# @option params [required, String] :target
|
5443
|
-
# The group or principal for which the policies will be listed.
|
5658
|
+
# The group or principal for which the policies will be listed. Valid
|
5659
|
+
# principals are CertificateArn
|
5660
|
+
# (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
|
5661
|
+
# thingGroupArn
|
5662
|
+
# (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
|
5663
|
+
# CognitoId (*region*\:*id*).
|
5444
5664
|
#
|
5445
5665
|
# @option params [Boolean] :recursive
|
5446
5666
|
# When true, recursively list attached policies.
|
@@ -5456,6 +5676,8 @@ module Aws::IoT
|
|
5456
5676
|
# * {Types::ListAttachedPoliciesResponse#policies #policies} => Array<Types::Policy>
|
5457
5677
|
# * {Types::ListAttachedPoliciesResponse#next_marker #next_marker} => String
|
5458
5678
|
#
|
5679
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5680
|
+
#
|
5459
5681
|
# @example Request syntax with placeholder values
|
5460
5682
|
#
|
5461
5683
|
# resp = client.list_attached_policies({
|
@@ -5511,11 +5733,19 @@ module Aws::IoT
|
|
5511
5733
|
# You must specify either the startTime and endTime or the taskId, but
|
5512
5734
|
# not both.
|
5513
5735
|
#
|
5736
|
+
# @option params [Boolean] :list_suppressed_findings
|
5737
|
+
# Boolean flag indicating whether only the suppressed findings or the
|
5738
|
+
# unsuppressed findings should be listed. If this parameter isn't
|
5739
|
+
# provided, the response will list both suppressed and unsuppressed
|
5740
|
+
# findings.
|
5741
|
+
#
|
5514
5742
|
# @return [Types::ListAuditFindingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5515
5743
|
#
|
5516
5744
|
# * {Types::ListAuditFindingsResponse#findings #findings} => Array<Types::AuditFinding>
|
5517
5745
|
# * {Types::ListAuditFindingsResponse#next_token #next_token} => String
|
5518
5746
|
#
|
5747
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5748
|
+
#
|
5519
5749
|
# @example Request syntax with placeholder values
|
5520
5750
|
#
|
5521
5751
|
# resp = client.list_audit_findings({
|
@@ -5538,6 +5768,7 @@ module Aws::IoT
|
|
5538
5768
|
# next_token: "NextToken",
|
5539
5769
|
# start_time: Time.now,
|
5540
5770
|
# end_time: Time.now,
|
5771
|
+
# list_suppressed_findings: false,
|
5541
5772
|
# })
|
5542
5773
|
#
|
5543
5774
|
# @example Response structure
|
@@ -5576,6 +5807,7 @@ module Aws::IoT
|
|
5576
5807
|
# resp.findings[0].related_resources[0].additional_info["String"] #=> String
|
5577
5808
|
# resp.findings[0].reason_for_non_compliance #=> String
|
5578
5809
|
# resp.findings[0].reason_for_non_compliance_code #=> String
|
5810
|
+
# resp.findings[0].is_suppressed #=> Boolean
|
5579
5811
|
# resp.next_token #=> String
|
5580
5812
|
#
|
5581
5813
|
# @overload list_audit_findings(params = {})
|
@@ -5610,6 +5842,8 @@ module Aws::IoT
|
|
5610
5842
|
# * {Types::ListAuditMitigationActionsExecutionsResponse#actions_executions #actions_executions} => Array<Types::AuditMitigationActionExecutionMetadata>
|
5611
5843
|
# * {Types::ListAuditMitigationActionsExecutionsResponse#next_token #next_token} => String
|
5612
5844
|
#
|
5845
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5846
|
+
#
|
5613
5847
|
# @example Request syntax with placeholder values
|
5614
5848
|
#
|
5615
5849
|
# resp = client.list_audit_mitigation_actions_executions({
|
@@ -5676,6 +5910,8 @@ module Aws::IoT
|
|
5676
5910
|
# * {Types::ListAuditMitigationActionsTasksResponse#tasks #tasks} => Array<Types::AuditMitigationActionsTaskMetadata>
|
5677
5911
|
# * {Types::ListAuditMitigationActionsTasksResponse#next_token #next_token} => String
|
5678
5912
|
#
|
5913
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5914
|
+
#
|
5679
5915
|
# @example Request syntax with placeholder values
|
5680
5916
|
#
|
5681
5917
|
# resp = client.list_audit_mitigation_actions_tasks({
|
@@ -5703,6 +5939,83 @@ module Aws::IoT
|
|
5703
5939
|
req.send_request(options)
|
5704
5940
|
end
|
5705
5941
|
|
5942
|
+
# Lists your Device Defender audit listings.
|
5943
|
+
#
|
5944
|
+
# @option params [String] :check_name
|
5945
|
+
# An audit check name. Checks must be enabled for your account. (Use
|
5946
|
+
# `DescribeAccountAuditConfiguration` to see the list of all checks,
|
5947
|
+
# including those that are enabled or use
|
5948
|
+
# `UpdateAccountAuditConfiguration` to select which checks are enabled.)
|
5949
|
+
#
|
5950
|
+
# @option params [Types::ResourceIdentifier] :resource_identifier
|
5951
|
+
# Information that identifies the noncompliant resource.
|
5952
|
+
#
|
5953
|
+
# @option params [Boolean] :ascending_order
|
5954
|
+
# Determines whether suppressions are listed in ascending order by
|
5955
|
+
# expiration date or not. If parameter isn't provided,
|
5956
|
+
# `ascendingOrder=true`.
|
5957
|
+
#
|
5958
|
+
# @option params [String] :next_token
|
5959
|
+
# The token for the next set of results.
|
5960
|
+
#
|
5961
|
+
# @option params [Integer] :max_results
|
5962
|
+
# The maximum number of results to return at one time. The default is
|
5963
|
+
# 25.
|
5964
|
+
#
|
5965
|
+
# @return [Types::ListAuditSuppressionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5966
|
+
#
|
5967
|
+
# * {Types::ListAuditSuppressionsResponse#suppressions #suppressions} => Array<Types::AuditSuppression>
|
5968
|
+
# * {Types::ListAuditSuppressionsResponse#next_token #next_token} => String
|
5969
|
+
#
|
5970
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5971
|
+
#
|
5972
|
+
# @example Request syntax with placeholder values
|
5973
|
+
#
|
5974
|
+
# resp = client.list_audit_suppressions({
|
5975
|
+
# check_name: "AuditCheckName",
|
5976
|
+
# resource_identifier: {
|
5977
|
+
# device_certificate_id: "CertificateId",
|
5978
|
+
# ca_certificate_id: "CertificateId",
|
5979
|
+
# cognito_identity_pool_id: "CognitoIdentityPoolId",
|
5980
|
+
# client_id: "ClientId",
|
5981
|
+
# policy_version_identifier: {
|
5982
|
+
# policy_name: "PolicyName",
|
5983
|
+
# policy_version_id: "PolicyVersionId",
|
5984
|
+
# },
|
5985
|
+
# account: "AwsAccountId",
|
5986
|
+
# iam_role_arn: "RoleArn",
|
5987
|
+
# role_alias_arn: "RoleAliasArn",
|
5988
|
+
# },
|
5989
|
+
# ascending_order: false,
|
5990
|
+
# next_token: "NextToken",
|
5991
|
+
# max_results: 1,
|
5992
|
+
# })
|
5993
|
+
#
|
5994
|
+
# @example Response structure
|
5995
|
+
#
|
5996
|
+
# resp.suppressions #=> Array
|
5997
|
+
# resp.suppressions[0].check_name #=> String
|
5998
|
+
# resp.suppressions[0].resource_identifier.device_certificate_id #=> String
|
5999
|
+
# resp.suppressions[0].resource_identifier.ca_certificate_id #=> String
|
6000
|
+
# resp.suppressions[0].resource_identifier.cognito_identity_pool_id #=> String
|
6001
|
+
# resp.suppressions[0].resource_identifier.client_id #=> String
|
6002
|
+
# resp.suppressions[0].resource_identifier.policy_version_identifier.policy_name #=> String
|
6003
|
+
# resp.suppressions[0].resource_identifier.policy_version_identifier.policy_version_id #=> String
|
6004
|
+
# resp.suppressions[0].resource_identifier.account #=> String
|
6005
|
+
# resp.suppressions[0].resource_identifier.iam_role_arn #=> String
|
6006
|
+
# resp.suppressions[0].resource_identifier.role_alias_arn #=> String
|
6007
|
+
# resp.suppressions[0].expiration_date #=> Time
|
6008
|
+
# resp.suppressions[0].suppress_indefinitely #=> Boolean
|
6009
|
+
# resp.suppressions[0].description #=> String
|
6010
|
+
# resp.next_token #=> String
|
6011
|
+
#
|
6012
|
+
# @overload list_audit_suppressions(params = {})
|
6013
|
+
# @param [Hash] params ({})
|
6014
|
+
def list_audit_suppressions(params = {}, options = {})
|
6015
|
+
req = build_request(:list_audit_suppressions, params)
|
6016
|
+
req.send_request(options)
|
6017
|
+
end
|
6018
|
+
|
5706
6019
|
# Lists the Device Defender audits that have been performed during a
|
5707
6020
|
# given time period.
|
5708
6021
|
#
|
@@ -5735,6 +6048,8 @@ module Aws::IoT
|
|
5735
6048
|
# * {Types::ListAuditTasksResponse#tasks #tasks} => Array<Types::AuditTaskMetadata>
|
5736
6049
|
# * {Types::ListAuditTasksResponse#next_token #next_token} => String
|
5737
6050
|
#
|
6051
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6052
|
+
#
|
5738
6053
|
# @example Request syntax with placeholder values
|
5739
6054
|
#
|
5740
6055
|
# resp = client.list_audit_tasks({
|
@@ -5780,6 +6095,8 @@ module Aws::IoT
|
|
5780
6095
|
# * {Types::ListAuthorizersResponse#authorizers #authorizers} => Array<Types::AuthorizerSummary>
|
5781
6096
|
# * {Types::ListAuthorizersResponse#next_marker #next_marker} => String
|
5782
6097
|
#
|
6098
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6099
|
+
#
|
5783
6100
|
# @example Request syntax with placeholder values
|
5784
6101
|
#
|
5785
6102
|
# resp = client.list_authorizers({
|
@@ -5819,6 +6136,8 @@ module Aws::IoT
|
|
5819
6136
|
# * {Types::ListBillingGroupsResponse#billing_groups #billing_groups} => Array<Types::GroupNameAndArn>
|
5820
6137
|
# * {Types::ListBillingGroupsResponse#next_token #next_token} => String
|
5821
6138
|
#
|
6139
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6140
|
+
#
|
5822
6141
|
# @example Request syntax with placeholder values
|
5823
6142
|
#
|
5824
6143
|
# resp = client.list_billing_groups({
|
@@ -5860,6 +6179,8 @@ module Aws::IoT
|
|
5860
6179
|
# * {Types::ListCACertificatesResponse#certificates #certificates} => Array<Types::CACertificate>
|
5861
6180
|
# * {Types::ListCACertificatesResponse#next_marker #next_marker} => String
|
5862
6181
|
#
|
6182
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6183
|
+
#
|
5863
6184
|
# @example Request syntax with placeholder values
|
5864
6185
|
#
|
5865
6186
|
# resp = client.list_ca_certificates({
|
@@ -5904,6 +6225,8 @@ module Aws::IoT
|
|
5904
6225
|
# * {Types::ListCertificatesResponse#certificates #certificates} => Array<Types::Certificate>
|
5905
6226
|
# * {Types::ListCertificatesResponse#next_marker #next_marker} => String
|
5906
6227
|
#
|
6228
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6229
|
+
#
|
5907
6230
|
# @example Request syntax with placeholder values
|
5908
6231
|
#
|
5909
6232
|
# resp = client.list_certificates({
|
@@ -5950,6 +6273,8 @@ module Aws::IoT
|
|
5950
6273
|
# * {Types::ListCertificatesByCAResponse#certificates #certificates} => Array<Types::Certificate>
|
5951
6274
|
# * {Types::ListCertificatesByCAResponse#next_marker #next_marker} => String
|
5952
6275
|
#
|
6276
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6277
|
+
#
|
5953
6278
|
# @example Request syntax with placeholder values
|
5954
6279
|
#
|
5955
6280
|
# resp = client.list_certificates_by_ca({
|
@@ -5989,6 +6314,8 @@ module Aws::IoT
|
|
5989
6314
|
# * {Types::ListDimensionsResponse#dimension_names #dimension_names} => Array<String>
|
5990
6315
|
# * {Types::ListDimensionsResponse#next_token #next_token} => String
|
5991
6316
|
#
|
6317
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6318
|
+
#
|
5992
6319
|
# @example Request syntax with placeholder values
|
5993
6320
|
#
|
5994
6321
|
# resp = client.list_dimensions({
|
@@ -6031,6 +6358,8 @@ module Aws::IoT
|
|
6031
6358
|
# * {Types::ListDomainConfigurationsResponse#domain_configurations #domain_configurations} => Array<Types::DomainConfigurationSummary>
|
6032
6359
|
# * {Types::ListDomainConfigurationsResponse#next_marker #next_marker} => String
|
6033
6360
|
#
|
6361
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6362
|
+
#
|
6034
6363
|
# @example Request syntax with placeholder values
|
6035
6364
|
#
|
6036
6365
|
# resp = client.list_domain_configurations({
|
@@ -6068,6 +6397,8 @@ module Aws::IoT
|
|
6068
6397
|
# * {Types::ListIndicesResponse#index_names #index_names} => Array<String>
|
6069
6398
|
# * {Types::ListIndicesResponse#next_token #next_token} => String
|
6070
6399
|
#
|
6400
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6401
|
+
#
|
6071
6402
|
# @example Request syntax with placeholder values
|
6072
6403
|
#
|
6073
6404
|
# resp = client.list_indices({
|
@@ -6107,6 +6438,8 @@ module Aws::IoT
|
|
6107
6438
|
# * {Types::ListJobExecutionsForJobResponse#execution_summaries #execution_summaries} => Array<Types::JobExecutionSummaryForJob>
|
6108
6439
|
# * {Types::ListJobExecutionsForJobResponse#next_token #next_token} => String
|
6109
6440
|
#
|
6441
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6442
|
+
#
|
6110
6443
|
# @example Request syntax with placeholder values
|
6111
6444
|
#
|
6112
6445
|
# resp = client.list_job_executions_for_job({
|
@@ -6154,6 +6487,8 @@ module Aws::IoT
|
|
6154
6487
|
# * {Types::ListJobExecutionsForThingResponse#execution_summaries #execution_summaries} => Array<Types::JobExecutionSummaryForThing>
|
6155
6488
|
# * {Types::ListJobExecutionsForThingResponse#next_token #next_token} => String
|
6156
6489
|
#
|
6490
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6491
|
+
#
|
6157
6492
|
# @example Request syntax with placeholder values
|
6158
6493
|
#
|
6159
6494
|
# resp = client.list_job_executions_for_thing({
|
@@ -6214,6 +6549,8 @@ module Aws::IoT
|
|
6214
6549
|
# * {Types::ListJobsResponse#jobs #jobs} => Array<Types::JobSummary>
|
6215
6550
|
# * {Types::ListJobsResponse#next_token #next_token} => String
|
6216
6551
|
#
|
6552
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6553
|
+
#
|
6217
6554
|
# @example Request syntax with placeholder values
|
6218
6555
|
#
|
6219
6556
|
# resp = client.list_jobs({
|
@@ -6264,6 +6601,8 @@ module Aws::IoT
|
|
6264
6601
|
# * {Types::ListMitigationActionsResponse#action_identifiers #action_identifiers} => Array<Types::MitigationActionIdentifier>
|
6265
6602
|
# * {Types::ListMitigationActionsResponse#next_token #next_token} => String
|
6266
6603
|
#
|
6604
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6605
|
+
#
|
6267
6606
|
# @example Request syntax with placeholder values
|
6268
6607
|
#
|
6269
6608
|
# resp = client.list_mitigation_actions({
|
@@ -6303,6 +6642,8 @@ module Aws::IoT
|
|
6303
6642
|
# * {Types::ListOTAUpdatesResponse#ota_updates #ota_updates} => Array<Types::OTAUpdateSummary>
|
6304
6643
|
# * {Types::ListOTAUpdatesResponse#next_token #next_token} => String
|
6305
6644
|
#
|
6645
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6646
|
+
#
|
6306
6647
|
# @example Request syntax with placeholder values
|
6307
6648
|
#
|
6308
6649
|
# resp = client.list_ota_updates({
|
@@ -6343,6 +6684,8 @@ module Aws::IoT
|
|
6343
6684
|
# * {Types::ListOutgoingCertificatesResponse#outgoing_certificates #outgoing_certificates} => Array<Types::OutgoingCertificate>
|
6344
6685
|
# * {Types::ListOutgoingCertificatesResponse#next_marker #next_marker} => String
|
6345
6686
|
#
|
6687
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6688
|
+
#
|
6346
6689
|
# @example Request syntax with placeholder values
|
6347
6690
|
#
|
6348
6691
|
# resp = client.list_outgoing_certificates({
|
@@ -6386,6 +6729,8 @@ module Aws::IoT
|
|
6386
6729
|
# * {Types::ListPoliciesResponse#policies #policies} => Array<Types::Policy>
|
6387
6730
|
# * {Types::ListPoliciesResponse#next_marker #next_marker} => String
|
6388
6731
|
#
|
6732
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6733
|
+
#
|
6389
6734
|
# @example Request syntax with placeholder values
|
6390
6735
|
#
|
6391
6736
|
# resp = client.list_policies({
|
@@ -6431,6 +6776,8 @@ module Aws::IoT
|
|
6431
6776
|
# * {Types::ListPolicyPrincipalsResponse#principals #principals} => Array<String>
|
6432
6777
|
# * {Types::ListPolicyPrincipalsResponse#next_marker #next_marker} => String
|
6433
6778
|
#
|
6779
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6780
|
+
#
|
6434
6781
|
# @example Request syntax with placeholder values
|
6435
6782
|
#
|
6436
6783
|
# resp = client.list_policy_principals({
|
@@ -6495,7 +6842,11 @@ module Aws::IoT
|
|
6495
6842
|
# [1]: https://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_GetCredentialsForIdentity.html#API_GetCredentialsForIdentity_RequestSyntax
|
6496
6843
|
#
|
6497
6844
|
# @option params [required, String] :principal
|
6498
|
-
# The principal.
|
6845
|
+
# The principal. Valid principals are CertificateArn
|
6846
|
+
# (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
|
6847
|
+
# thingGroupArn
|
6848
|
+
# (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
|
6849
|
+
# CognitoId (*region*\:*id*).
|
6499
6850
|
#
|
6500
6851
|
# @option params [String] :marker
|
6501
6852
|
# The marker for the next set of results.
|
@@ -6512,6 +6863,8 @@ module Aws::IoT
|
|
6512
6863
|
# * {Types::ListPrincipalPoliciesResponse#policies #policies} => Array<Types::Policy>
|
6513
6864
|
# * {Types::ListPrincipalPoliciesResponse#next_marker #next_marker} => String
|
6514
6865
|
#
|
6866
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6867
|
+
#
|
6515
6868
|
# @example Request syntax with placeholder values
|
6516
6869
|
#
|
6517
6870
|
# resp = client.list_principal_policies({
|
@@ -6553,6 +6906,8 @@ module Aws::IoT
|
|
6553
6906
|
# * {Types::ListPrincipalThingsResponse#things #things} => Array<String>
|
6554
6907
|
# * {Types::ListPrincipalThingsResponse#next_token #next_token} => String
|
6555
6908
|
#
|
6909
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6910
|
+
#
|
6556
6911
|
# @example Request syntax with placeholder values
|
6557
6912
|
#
|
6558
6913
|
# resp = client.list_principal_things({
|
@@ -6590,6 +6945,8 @@ module Aws::IoT
|
|
6590
6945
|
# * {Types::ListProvisioningTemplateVersionsResponse#versions #versions} => Array<Types::ProvisioningTemplateVersionSummary>
|
6591
6946
|
# * {Types::ListProvisioningTemplateVersionsResponse#next_token #next_token} => String
|
6592
6947
|
#
|
6948
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6949
|
+
#
|
6593
6950
|
# @example Request syntax with placeholder values
|
6594
6951
|
#
|
6595
6952
|
# resp = client.list_provisioning_template_versions({
|
@@ -6626,6 +6983,8 @@ module Aws::IoT
|
|
6626
6983
|
# * {Types::ListProvisioningTemplatesResponse#templates #templates} => Array<Types::ProvisioningTemplateSummary>
|
6627
6984
|
# * {Types::ListProvisioningTemplatesResponse#next_token #next_token} => String
|
6628
6985
|
#
|
6986
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6987
|
+
#
|
6629
6988
|
# @example Request syntax with placeholder values
|
6630
6989
|
#
|
6631
6990
|
# resp = client.list_provisioning_templates({
|
@@ -6667,6 +7026,8 @@ module Aws::IoT
|
|
6667
7026
|
# * {Types::ListRoleAliasesResponse#role_aliases #role_aliases} => Array<String>
|
6668
7027
|
# * {Types::ListRoleAliasesResponse#next_marker #next_marker} => String
|
6669
7028
|
#
|
7029
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7030
|
+
#
|
6670
7031
|
# @example Request syntax with placeholder values
|
6671
7032
|
#
|
6672
7033
|
# resp = client.list_role_aliases({
|
@@ -6702,6 +7063,8 @@ module Aws::IoT
|
|
6702
7063
|
# * {Types::ListScheduledAuditsResponse#scheduled_audits #scheduled_audits} => Array<Types::ScheduledAuditMetadata>
|
6703
7064
|
# * {Types::ListScheduledAuditsResponse#next_token #next_token} => String
|
6704
7065
|
#
|
7066
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7067
|
+
#
|
6705
7068
|
# @example Request syntax with placeholder values
|
6706
7069
|
#
|
6707
7070
|
# resp = client.list_scheduled_audits({
|
@@ -6745,6 +7108,8 @@ module Aws::IoT
|
|
6745
7108
|
# * {Types::ListSecurityProfilesResponse#security_profile_identifiers #security_profile_identifiers} => Array<Types::SecurityProfileIdentifier>
|
6746
7109
|
# * {Types::ListSecurityProfilesResponse#next_token #next_token} => String
|
6747
7110
|
#
|
7111
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7112
|
+
#
|
6748
7113
|
# @example Request syntax with placeholder values
|
6749
7114
|
#
|
6750
7115
|
# resp = client.list_security_profiles({
|
@@ -6788,6 +7153,8 @@ module Aws::IoT
|
|
6788
7153
|
# * {Types::ListSecurityProfilesForTargetResponse#security_profile_target_mappings #security_profile_target_mappings} => Array<Types::SecurityProfileTargetMapping>
|
6789
7154
|
# * {Types::ListSecurityProfilesForTargetResponse#next_token #next_token} => String
|
6790
7155
|
#
|
7156
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7157
|
+
#
|
6791
7158
|
# @example Request syntax with placeholder values
|
6792
7159
|
#
|
6793
7160
|
# resp = client.list_security_profiles_for_target({
|
@@ -6828,6 +7195,8 @@ module Aws::IoT
|
|
6828
7195
|
# * {Types::ListStreamsResponse#streams #streams} => Array<Types::StreamSummary>
|
6829
7196
|
# * {Types::ListStreamsResponse#next_token #next_token} => String
|
6830
7197
|
#
|
7198
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7199
|
+
#
|
6831
7200
|
# @example Request syntax with placeholder values
|
6832
7201
|
#
|
6833
7202
|
# resp = client.list_streams({
|
@@ -6865,6 +7234,8 @@ module Aws::IoT
|
|
6865
7234
|
# * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::Tag>
|
6866
7235
|
# * {Types::ListTagsForResourceResponse#next_token #next_token} => String
|
6867
7236
|
#
|
7237
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7238
|
+
#
|
6868
7239
|
# @example Request syntax with placeholder values
|
6869
7240
|
#
|
6870
7241
|
# resp = client.list_tags_for_resource({
|
@@ -6902,6 +7273,8 @@ module Aws::IoT
|
|
6902
7273
|
# * {Types::ListTargetsForPolicyResponse#targets #targets} => Array<String>
|
6903
7274
|
# * {Types::ListTargetsForPolicyResponse#next_marker #next_marker} => String
|
6904
7275
|
#
|
7276
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7277
|
+
#
|
6905
7278
|
# @example Request syntax with placeholder values
|
6906
7279
|
#
|
6907
7280
|
# resp = client.list_targets_for_policy({
|
@@ -6940,6 +7313,8 @@ module Aws::IoT
|
|
6940
7313
|
# * {Types::ListTargetsForSecurityProfileResponse#security_profile_targets #security_profile_targets} => Array<Types::SecurityProfileTarget>
|
6941
7314
|
# * {Types::ListTargetsForSecurityProfileResponse#next_token #next_token} => String
|
6942
7315
|
#
|
7316
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7317
|
+
#
|
6943
7318
|
# @example Request syntax with placeholder values
|
6944
7319
|
#
|
6945
7320
|
# resp = client.list_targets_for_security_profile({
|
@@ -6985,6 +7360,8 @@ module Aws::IoT
|
|
6985
7360
|
# * {Types::ListThingGroupsResponse#thing_groups #thing_groups} => Array<Types::GroupNameAndArn>
|
6986
7361
|
# * {Types::ListThingGroupsResponse#next_token #next_token} => String
|
6987
7362
|
#
|
7363
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7364
|
+
#
|
6988
7365
|
# @example Request syntax with placeholder values
|
6989
7366
|
#
|
6990
7367
|
# resp = client.list_thing_groups({
|
@@ -7025,6 +7402,8 @@ module Aws::IoT
|
|
7025
7402
|
# * {Types::ListThingGroupsForThingResponse#thing_groups #thing_groups} => Array<Types::GroupNameAndArn>
|
7026
7403
|
# * {Types::ListThingGroupsForThingResponse#next_token #next_token} => String
|
7027
7404
|
#
|
7405
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7406
|
+
#
|
7028
7407
|
# @example Request syntax with placeholder values
|
7029
7408
|
#
|
7030
7409
|
# resp = client.list_thing_groups_for_thing({
|
@@ -7096,6 +7475,8 @@ module Aws::IoT
|
|
7096
7475
|
# * {Types::ListThingRegistrationTaskReportsResponse#report_type #report_type} => String
|
7097
7476
|
# * {Types::ListThingRegistrationTaskReportsResponse#next_token #next_token} => String
|
7098
7477
|
#
|
7478
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7479
|
+
#
|
7099
7480
|
# @example Request syntax with placeholder values
|
7100
7481
|
#
|
7101
7482
|
# resp = client.list_thing_registration_task_reports({
|
@@ -7135,6 +7516,8 @@ module Aws::IoT
|
|
7135
7516
|
# * {Types::ListThingRegistrationTasksResponse#task_ids #task_ids} => Array<String>
|
7136
7517
|
# * {Types::ListThingRegistrationTasksResponse#next_token #next_token} => String
|
7137
7518
|
#
|
7519
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7520
|
+
#
|
7138
7521
|
# @example Request syntax with placeholder values
|
7139
7522
|
#
|
7140
7523
|
# resp = client.list_thing_registration_tasks({
|
@@ -7172,6 +7555,8 @@ module Aws::IoT
|
|
7172
7555
|
# * {Types::ListThingTypesResponse#thing_types #thing_types} => Array<Types::ThingTypeDefinition>
|
7173
7556
|
# * {Types::ListThingTypesResponse#next_token #next_token} => String
|
7174
7557
|
#
|
7558
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7559
|
+
#
|
7175
7560
|
# @example Request syntax with placeholder values
|
7176
7561
|
#
|
7177
7562
|
# resp = client.list_thing_types({
|
@@ -7206,6 +7591,13 @@ module Aws::IoT
|
|
7206
7591
|
# in the registry that contain an attribute **Color** with the value
|
7207
7592
|
# **Red**.
|
7208
7593
|
#
|
7594
|
+
# <note markdown="1"> You will not be charged for calling this API if an `Access denied`
|
7595
|
+
# error is returned. You will also not be charged if no attributes or
|
7596
|
+
# pagination token was provided in request and no pagination token and
|
7597
|
+
# no results were returned.
|
7598
|
+
#
|
7599
|
+
# </note>
|
7600
|
+
#
|
7209
7601
|
# @option params [String] :next_token
|
7210
7602
|
# The token to retrieve the next set of results.
|
7211
7603
|
#
|
@@ -7226,6 +7618,8 @@ module Aws::IoT
|
|
7226
7618
|
# * {Types::ListThingsResponse#things #things} => Array<Types::ThingAttribute>
|
7227
7619
|
# * {Types::ListThingsResponse#next_token #next_token} => String
|
7228
7620
|
#
|
7621
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7622
|
+
#
|
7229
7623
|
# @example Request syntax with placeholder values
|
7230
7624
|
#
|
7231
7625
|
# resp = client.list_things({
|
@@ -7270,6 +7664,8 @@ module Aws::IoT
|
|
7270
7664
|
# * {Types::ListThingsInBillingGroupResponse#things #things} => Array<String>
|
7271
7665
|
# * {Types::ListThingsInBillingGroupResponse#next_token #next_token} => String
|
7272
7666
|
#
|
7667
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7668
|
+
#
|
7273
7669
|
# @example Request syntax with placeholder values
|
7274
7670
|
#
|
7275
7671
|
# resp = client.list_things_in_billing_group({
|
@@ -7311,6 +7707,8 @@ module Aws::IoT
|
|
7311
7707
|
# * {Types::ListThingsInThingGroupResponse#things #things} => Array<String>
|
7312
7708
|
# * {Types::ListThingsInThingGroupResponse#next_token #next_token} => String
|
7313
7709
|
#
|
7710
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7711
|
+
#
|
7314
7712
|
# @example Request syntax with placeholder values
|
7315
7713
|
#
|
7316
7714
|
# resp = client.list_things_in_thing_group({
|
@@ -7346,6 +7744,8 @@ module Aws::IoT
|
|
7346
7744
|
# * {Types::ListTopicRuleDestinationsResponse#destination_summaries #destination_summaries} => Array<Types::TopicRuleDestinationSummary>
|
7347
7745
|
# * {Types::ListTopicRuleDestinationsResponse#next_token #next_token} => String
|
7348
7746
|
#
|
7747
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7748
|
+
#
|
7349
7749
|
# @example Request syntax with placeholder values
|
7350
7750
|
#
|
7351
7751
|
# resp = client.list_topic_rule_destinations({
|
@@ -7388,6 +7788,8 @@ module Aws::IoT
|
|
7388
7788
|
# * {Types::ListTopicRulesResponse#rules #rules} => Array<Types::TopicRuleListItem>
|
7389
7789
|
# * {Types::ListTopicRulesResponse#next_token #next_token} => String
|
7390
7790
|
#
|
7791
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7792
|
+
#
|
7391
7793
|
# @example Request syntax with placeholder values
|
7392
7794
|
#
|
7393
7795
|
# resp = client.list_topic_rules({
|
@@ -7432,6 +7834,8 @@ module Aws::IoT
|
|
7432
7834
|
# * {Types::ListV2LoggingLevelsResponse#log_target_configurations #log_target_configurations} => Array<Types::LogTargetConfiguration>
|
7433
7835
|
# * {Types::ListV2LoggingLevelsResponse#next_token #next_token} => String
|
7434
7836
|
#
|
7837
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7838
|
+
#
|
7435
7839
|
# @example Request syntax with placeholder values
|
7436
7840
|
#
|
7437
7841
|
# resp = client.list_v2_logging_levels({
|
@@ -7485,6 +7889,8 @@ module Aws::IoT
|
|
7485
7889
|
# * {Types::ListViolationEventsResponse#violation_events #violation_events} => Array<Types::ViolationEvent>
|
7486
7890
|
# * {Types::ListViolationEventsResponse#next_token #next_token} => String
|
7487
7891
|
#
|
7892
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7893
|
+
#
|
7488
7894
|
# @example Request syntax with placeholder values
|
7489
7895
|
#
|
7490
7896
|
# resp = client.list_violation_events({
|
@@ -7806,6 +8212,10 @@ module Aws::IoT
|
|
7806
8212
|
|
7807
8213
|
# Remove the specified thing from the specified group.
|
7808
8214
|
#
|
8215
|
+
# You must specify either a `thingGroupArn` or a `thingGroupName` to
|
8216
|
+
# identify the thing group and either a `thingArn` or a `thingName` to
|
8217
|
+
# identify the thing to remove from the thing group.
|
8218
|
+
#
|
7809
8219
|
# @option params [String] :thing_group_name
|
7810
8220
|
# The group name.
|
7811
8221
|
#
|
@@ -8536,7 +8946,11 @@ module Aws::IoT
|
|
8536
8946
|
# gateway.
|
8537
8947
|
#
|
8538
8948
|
# @option params [String] :principal
|
8539
|
-
# The principal.
|
8949
|
+
# The principal. Valid principals are CertificateArn
|
8950
|
+
# (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
|
8951
|
+
# thingGroupArn
|
8952
|
+
# (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
|
8953
|
+
# CognitoId (*region*\:*id*).
|
8540
8954
|
#
|
8541
8955
|
# @option params [String] :cognito_identity_pool_id
|
8542
8956
|
# The Cognito identity pool ID.
|
@@ -8796,6 +9210,58 @@ module Aws::IoT
|
|
8796
9210
|
req.send_request(options)
|
8797
9211
|
end
|
8798
9212
|
|
9213
|
+
# Updates a Device Defender audit suppression.
|
9214
|
+
#
|
9215
|
+
# @option params [required, String] :check_name
|
9216
|
+
# An audit check name. Checks must be enabled for your account. (Use
|
9217
|
+
# `DescribeAccountAuditConfiguration` to see the list of all checks,
|
9218
|
+
# including those that are enabled or use
|
9219
|
+
# `UpdateAccountAuditConfiguration` to select which checks are enabled.)
|
9220
|
+
#
|
9221
|
+
# @option params [required, Types::ResourceIdentifier] :resource_identifier
|
9222
|
+
# Information that identifies the noncompliant resource.
|
9223
|
+
#
|
9224
|
+
# @option params [Time,DateTime,Date,Integer,String] :expiration_date
|
9225
|
+
# The expiration date (epoch timestamp in seconds) that you want the
|
9226
|
+
# suppression to adhere to.
|
9227
|
+
#
|
9228
|
+
# @option params [Boolean] :suppress_indefinitely
|
9229
|
+
# Indicates whether a suppression should exist indefinitely or not.
|
9230
|
+
#
|
9231
|
+
# @option params [String] :description
|
9232
|
+
# The description of the audit suppression.
|
9233
|
+
#
|
9234
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
9235
|
+
#
|
9236
|
+
# @example Request syntax with placeholder values
|
9237
|
+
#
|
9238
|
+
# resp = client.update_audit_suppression({
|
9239
|
+
# check_name: "AuditCheckName", # required
|
9240
|
+
# resource_identifier: { # required
|
9241
|
+
# device_certificate_id: "CertificateId",
|
9242
|
+
# ca_certificate_id: "CertificateId",
|
9243
|
+
# cognito_identity_pool_id: "CognitoIdentityPoolId",
|
9244
|
+
# client_id: "ClientId",
|
9245
|
+
# policy_version_identifier: {
|
9246
|
+
# policy_name: "PolicyName",
|
9247
|
+
# policy_version_id: "PolicyVersionId",
|
9248
|
+
# },
|
9249
|
+
# account: "AwsAccountId",
|
9250
|
+
# iam_role_arn: "RoleArn",
|
9251
|
+
# role_alias_arn: "RoleAliasArn",
|
9252
|
+
# },
|
9253
|
+
# expiration_date: Time.now,
|
9254
|
+
# suppress_indefinitely: false,
|
9255
|
+
# description: "AuditDescription",
|
9256
|
+
# })
|
9257
|
+
#
|
9258
|
+
# @overload update_audit_suppression(params = {})
|
9259
|
+
# @param [Hash] params ({})
|
9260
|
+
def update_audit_suppression(params = {}, options = {})
|
9261
|
+
req = build_request(:update_audit_suppression, params)
|
9262
|
+
req.send_request(options)
|
9263
|
+
end
|
9264
|
+
|
8799
9265
|
# Updates an authorizer.
|
8800
9266
|
#
|
8801
9267
|
# @option params [required, String] :authorizer_name
|
@@ -8927,12 +9393,13 @@ module Aws::IoT
|
|
8927
9393
|
# Updates the status of the specified certificate. This operation is
|
8928
9394
|
# idempotent.
|
8929
9395
|
#
|
8930
|
-
#
|
8931
|
-
#
|
8932
|
-
# unable to reconnect.
|
9396
|
+
# Certificates must be in the ACTIVE state to authenticate devices that
|
9397
|
+
# use a certificate to connect to AWS IoT.
|
8933
9398
|
#
|
8934
|
-
#
|
8935
|
-
# IoT
|
9399
|
+
# Within a few minutes of updating a certificate from the ACTIVE state
|
9400
|
+
# to any other state, AWS IoT disconnects all devices that used that
|
9401
|
+
# certificate to connect. Devices cannot use a certificate that is not
|
9402
|
+
# in the ACTIVE state to reconnect.
|
8936
9403
|
#
|
8937
9404
|
# @option params [required, String] :certificate_id
|
8938
9405
|
# The ID of the certificate. (The last part of the certificate ARN
|
@@ -9925,7 +10392,7 @@ module Aws::IoT
|
|
9925
10392
|
params: params,
|
9926
10393
|
config: config)
|
9927
10394
|
context[:gem_name] = 'aws-sdk-iot'
|
9928
|
-
context[:gem_version] = '1.
|
10395
|
+
context[:gem_version] = '1.55.0'
|
9929
10396
|
Seahorse::Client::Request.new(handlers, context)
|
9930
10397
|
end
|
9931
10398
|
|