aws-sdk-iot 1.52.0 → 1.57.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 34d0cf141a1d23ed3d624ae3c0368689384abb41d3962d9d1087669ff041a084
4
- data.tar.gz: e7383faa6d760e4192b30611558ea43ac22b18e453fb10458b2658fca7074e25
3
+ metadata.gz: '09ba3831c59952f57554b88a823843b2e5f70adc288b26190219e75c57fbc756'
4
+ data.tar.gz: a02b870903972779934140eb34e8e785a8910bdc49e1fdb66cbaa771c4ceb4c2
5
5
  SHA512:
6
- metadata.gz: 6e2010a9c15f8375419e6fe60e33c41c15c2396751e6f0f70f5aa72b845a6aefc5d237a67075aa43b05a22c7e5c67ffb275a53b48337ba2d480a7b4a9bf75f53
7
- data.tar.gz: 2beb536daaed0840db6e24ea469288e7635b2be6e29b24b1db070c967ba451f3312fa27b782b4e3723dc7e508f69840e9c4393b7f92ff07be15c03fe34b5bfaf
6
+ metadata.gz: 500cfe2efd2ca2c4aeb08ff2c255a503677c4e563bbeb83d4e4d463bed2adf6a5f0d1eb9de6cfb7a0499e41edf759634fee45f2dbf202cdd641de830367c44c3
7
+ data.tar.gz: 3988a7884b709d5288236aee40aef9a5c0115bd792ea5df4bab6227a45de74302fe040a8595f1eef792f9e66addde0fc59da29118ab464f2447f4a73baa52760
@@ -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:
@@ -5,6 +7,7 @@
5
7
  #
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
10
+
8
11
  require 'aws-sdk-core'
9
12
  require 'aws-sigv4'
10
13
 
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-iot/customizations'
42
45
  #
43
46
  # See {Errors} for more information.
44
47
  #
45
- # @service
48
+ # @!group service
46
49
  module Aws::IoT
47
50
 
48
- GEM_VERSION = '1.52.0'
51
+ GEM_VERSION = '1.57.0'
49
52
 
50
53
  end
@@ -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:
@@ -83,13 +85,28 @@ module Aws::IoT
83
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
84
86
  # credentials.
85
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
86
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
87
103
  # from an EC2 IMDS on an EC2 instance.
88
104
  #
89
- # * `Aws::SharedCredentials` - Used for loading credentials from a
90
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
91
107
  #
92
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
93
110
  #
94
111
  # When `:credentials` are not configured directly, the following
95
112
  # locations will be searched for credentials:
@@ -99,10 +116,10 @@ module Aws::IoT
99
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
100
117
  # * `~/.aws/credentials`
101
118
  # * `~/.aws/config`
102
- # * EC2 IMDS instance profile - When used by default, the timeouts are
103
- # very aggressive. Construct and pass an instance of
104
- # `Aws::InstanceProfileCredentails` to enable retries and extended
105
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
106
123
  #
107
124
  # @option options [required, String] :region
108
125
  # The AWS region to connect to. The configured `:region` is
@@ -783,6 +800,64 @@ module Aws::IoT
783
800
  req.send_request(options)
784
801
  end
785
802
 
803
+ # Creates a Device Defender audit suppression.
804
+ #
805
+ # @option params [required, String] :check_name
806
+ # An audit check name. Checks must be enabled for your account. (Use
807
+ # `DescribeAccountAuditConfiguration` to see the list of all checks,
808
+ # including those that are enabled or use
809
+ # `UpdateAccountAuditConfiguration` to select which checks are enabled.)
810
+ #
811
+ # @option params [required, Types::ResourceIdentifier] :resource_identifier
812
+ # Information that identifies the noncompliant resource.
813
+ #
814
+ # @option params [Time,DateTime,Date,Integer,String] :expiration_date
815
+ # The epoch timestamp in seconds at which this suppression expires.
816
+ #
817
+ # @option params [Boolean] :suppress_indefinitely
818
+ # Indicates whether a suppression should exist indefinitely or not.
819
+ #
820
+ # @option params [String] :description
821
+ # The description of the audit suppression.
822
+ #
823
+ # @option params [required, String] :client_request_token
824
+ # The epoch timestamp in seconds at which this suppression expires.
825
+ #
826
+ # **A suitable default value is auto-generated.** You should normally
827
+ # not need to pass this option.**
828
+ #
829
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
830
+ #
831
+ # @example Request syntax with placeholder values
832
+ #
833
+ # resp = client.create_audit_suppression({
834
+ # check_name: "AuditCheckName", # required
835
+ # resource_identifier: { # required
836
+ # device_certificate_id: "CertificateId",
837
+ # ca_certificate_id: "CertificateId",
838
+ # cognito_identity_pool_id: "CognitoIdentityPoolId",
839
+ # client_id: "ClientId",
840
+ # policy_version_identifier: {
841
+ # policy_name: "PolicyName",
842
+ # policy_version_id: "PolicyVersionId",
843
+ # },
844
+ # account: "AwsAccountId",
845
+ # iam_role_arn: "RoleArn",
846
+ # role_alias_arn: "RoleAliasArn",
847
+ # },
848
+ # expiration_date: Time.now,
849
+ # suppress_indefinitely: false,
850
+ # description: "AuditDescription",
851
+ # client_request_token: "ClientRequestToken", # required
852
+ # })
853
+ #
854
+ # @overload create_audit_suppression(params = {})
855
+ # @param [Hash] params ({})
856
+ def create_audit_suppression(params = {}, options = {})
857
+ req = build_request(:create_audit_suppression, params)
858
+ req.send_request(options)
859
+ end
860
+
786
861
  # Creates an authorizer.
787
862
  #
788
863
  # @option params [required, String] :authorizer_name
@@ -1380,8 +1455,14 @@ module Aws::IoT
1380
1455
  end
1381
1456
 
1382
1457
  # Defines an action that can be applied to audit findings by using
1383
- # StartAuditMitigationActionsTask. Each mitigation action can apply only
1384
- # one type of change.
1458
+ # StartAuditMitigationActionsTask. Only certain types of mitigation
1459
+ # actions can be applied to specific check names. For more information,
1460
+ # see [Mitigation actions][1]. Each mitigation action can apply only one
1461
+ # type of change.
1462
+ #
1463
+ #
1464
+ #
1465
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/device-defender-mitigation-actions.html
1385
1466
  #
1386
1467
  # @option params [required, String] :action_name
1387
1468
  # A friendly name for the action. Choose a friendly name that accurately
@@ -2735,6 +2816,45 @@ module Aws::IoT
2735
2816
  req.send_request(options)
2736
2817
  end
2737
2818
 
2819
+ # Deletes a Device Defender audit suppression.
2820
+ #
2821
+ # @option params [required, String] :check_name
2822
+ # An audit check name. Checks must be enabled for your account. (Use
2823
+ # `DescribeAccountAuditConfiguration` to see the list of all checks,
2824
+ # including those that are enabled or use
2825
+ # `UpdateAccountAuditConfiguration` to select which checks are enabled.)
2826
+ #
2827
+ # @option params [required, Types::ResourceIdentifier] :resource_identifier
2828
+ # Information that identifies the noncompliant resource.
2829
+ #
2830
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2831
+ #
2832
+ # @example Request syntax with placeholder values
2833
+ #
2834
+ # resp = client.delete_audit_suppression({
2835
+ # check_name: "AuditCheckName", # required
2836
+ # resource_identifier: { # required
2837
+ # device_certificate_id: "CertificateId",
2838
+ # ca_certificate_id: "CertificateId",
2839
+ # cognito_identity_pool_id: "CognitoIdentityPoolId",
2840
+ # client_id: "ClientId",
2841
+ # policy_version_identifier: {
2842
+ # policy_name: "PolicyName",
2843
+ # policy_version_id: "PolicyVersionId",
2844
+ # },
2845
+ # account: "AwsAccountId",
2846
+ # iam_role_arn: "RoleArn",
2847
+ # role_alias_arn: "RoleAliasArn",
2848
+ # },
2849
+ # })
2850
+ #
2851
+ # @overload delete_audit_suppression(params = {})
2852
+ # @param [Hash] params ({})
2853
+ def delete_audit_suppression(params = {}, options = {})
2854
+ req = build_request(:delete_audit_suppression, params)
2855
+ req.send_request(options)
2856
+ end
2857
+
2738
2858
  # Deletes an authorizer.
2739
2859
  #
2740
2860
  # @option params [required, String] :authorizer_name
@@ -3500,6 +3620,7 @@ module Aws::IoT
3500
3620
  # resp.finding.related_resources[0].additional_info["String"] #=> String
3501
3621
  # resp.finding.reason_for_non_compliance #=> String
3502
3622
  # resp.finding.reason_for_non_compliance_code #=> String
3623
+ # resp.finding.is_suppressed #=> Boolean
3503
3624
  #
3504
3625
  # @overload describe_audit_finding(params = {})
3505
3626
  # @param [Hash] params ({})
@@ -3573,6 +3694,67 @@ module Aws::IoT
3573
3694
  req.send_request(options)
3574
3695
  end
3575
3696
 
3697
+ # Gets information about a Device Defender audit suppression.
3698
+ #
3699
+ # @option params [required, String] :check_name
3700
+ # An audit check name. Checks must be enabled for your account. (Use
3701
+ # `DescribeAccountAuditConfiguration` to see the list of all checks,
3702
+ # including those that are enabled or use
3703
+ # `UpdateAccountAuditConfiguration` to select which checks are enabled.)
3704
+ #
3705
+ # @option params [required, Types::ResourceIdentifier] :resource_identifier
3706
+ # Information that identifies the noncompliant resource.
3707
+ #
3708
+ # @return [Types::DescribeAuditSuppressionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3709
+ #
3710
+ # * {Types::DescribeAuditSuppressionResponse#check_name #check_name} => String
3711
+ # * {Types::DescribeAuditSuppressionResponse#resource_identifier #resource_identifier} => Types::ResourceIdentifier
3712
+ # * {Types::DescribeAuditSuppressionResponse#expiration_date #expiration_date} => Time
3713
+ # * {Types::DescribeAuditSuppressionResponse#suppress_indefinitely #suppress_indefinitely} => Boolean
3714
+ # * {Types::DescribeAuditSuppressionResponse#description #description} => String
3715
+ #
3716
+ # @example Request syntax with placeholder values
3717
+ #
3718
+ # resp = client.describe_audit_suppression({
3719
+ # check_name: "AuditCheckName", # required
3720
+ # resource_identifier: { # required
3721
+ # device_certificate_id: "CertificateId",
3722
+ # ca_certificate_id: "CertificateId",
3723
+ # cognito_identity_pool_id: "CognitoIdentityPoolId",
3724
+ # client_id: "ClientId",
3725
+ # policy_version_identifier: {
3726
+ # policy_name: "PolicyName",
3727
+ # policy_version_id: "PolicyVersionId",
3728
+ # },
3729
+ # account: "AwsAccountId",
3730
+ # iam_role_arn: "RoleArn",
3731
+ # role_alias_arn: "RoleAliasArn",
3732
+ # },
3733
+ # })
3734
+ #
3735
+ # @example Response structure
3736
+ #
3737
+ # resp.check_name #=> String
3738
+ # resp.resource_identifier.device_certificate_id #=> String
3739
+ # resp.resource_identifier.ca_certificate_id #=> String
3740
+ # resp.resource_identifier.cognito_identity_pool_id #=> String
3741
+ # resp.resource_identifier.client_id #=> String
3742
+ # resp.resource_identifier.policy_version_identifier.policy_name #=> String
3743
+ # resp.resource_identifier.policy_version_identifier.policy_version_id #=> String
3744
+ # resp.resource_identifier.account #=> String
3745
+ # resp.resource_identifier.iam_role_arn #=> String
3746
+ # resp.resource_identifier.role_alias_arn #=> String
3747
+ # resp.expiration_date #=> Time
3748
+ # resp.suppress_indefinitely #=> Boolean
3749
+ # resp.description #=> String
3750
+ #
3751
+ # @overload describe_audit_suppression(params = {})
3752
+ # @param [Hash] params ({})
3753
+ def describe_audit_suppression(params = {}, options = {})
3754
+ req = build_request(:describe_audit_suppression, params)
3755
+ req.send_request(options)
3756
+ end
3757
+
3576
3758
  # Gets information about a Device Defender audit.
3577
3759
  #
3578
3760
  # @option params [required, String] :task_id
@@ -3611,6 +3793,7 @@ module Aws::IoT
3611
3793
  # resp.audit_details["AuditCheckName"].check_compliant #=> Boolean
3612
3794
  # resp.audit_details["AuditCheckName"].total_resources_count #=> Integer
3613
3795
  # resp.audit_details["AuditCheckName"].non_compliant_resources_count #=> Integer
3796
+ # resp.audit_details["AuditCheckName"].suppressed_non_compliant_resources_count #=> Integer
3614
3797
  # resp.audit_details["AuditCheckName"].error_code #=> String
3615
3798
  # resp.audit_details["AuditCheckName"].message #=> String
3616
3799
  #
@@ -4612,8 +4795,11 @@ module Aws::IoT
4612
4795
  # @option params [required, String] :principal
4613
4796
  # The principal.
4614
4797
  #
4615
- # If the principal is a certificate, specify the certificate ARN. If the
4616
- # principal is an Amazon Cognito identity, specify the identity ID.
4798
+ # Valid principals are CertificateArn
4799
+ # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
4800
+ # thingGroupArn
4801
+ # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
4802
+ # CognitoId (*region*\:*id*).
4617
4803
  #
4618
4804
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4619
4805
  #
@@ -4773,7 +4959,11 @@ module Aws::IoT
4773
4959
  # device gateway.
4774
4960
  #
4775
4961
  # @option params [String] :principal
4776
- # The principal.
4962
+ # The principal. Valid principals are CertificateArn
4963
+ # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
4964
+ # thingGroupArn
4965
+ # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
4966
+ # CognitoId (*region*\:*id*).
4777
4967
  #
4778
4968
  # @option params [String] :cognito_identity_pool_id
4779
4969
  # The Cognito identity pool ID.
@@ -5430,6 +5620,8 @@ module Aws::IoT
5430
5620
  # * {Types::ListActiveViolationsResponse#active_violations #active_violations} => Array<Types::ActiveViolation>
5431
5621
  # * {Types::ListActiveViolationsResponse#next_token #next_token} => String
5432
5622
  #
5623
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5624
+ #
5433
5625
  # @example Request syntax with placeholder values
5434
5626
  #
5435
5627
  # resp = client.list_active_violations({
@@ -5478,7 +5670,12 @@ module Aws::IoT
5478
5670
  # Lists the policies attached to the specified thing group.
5479
5671
  #
5480
5672
  # @option params [required, String] :target
5481
- # The group or principal for which the policies will be listed.
5673
+ # The group or principal for which the policies will be listed. Valid
5674
+ # principals are CertificateArn
5675
+ # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
5676
+ # thingGroupArn
5677
+ # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
5678
+ # CognitoId (*region*\:*id*).
5482
5679
  #
5483
5680
  # @option params [Boolean] :recursive
5484
5681
  # When true, recursively list attached policies.
@@ -5494,6 +5691,8 @@ module Aws::IoT
5494
5691
  # * {Types::ListAttachedPoliciesResponse#policies #policies} => Array<Types::Policy>
5495
5692
  # * {Types::ListAttachedPoliciesResponse#next_marker #next_marker} => String
5496
5693
  #
5694
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5695
+ #
5497
5696
  # @example Request syntax with placeholder values
5498
5697
  #
5499
5698
  # resp = client.list_attached_policies({
@@ -5549,11 +5748,19 @@ module Aws::IoT
5549
5748
  # You must specify either the startTime and endTime or the taskId, but
5550
5749
  # not both.
5551
5750
  #
5751
+ # @option params [Boolean] :list_suppressed_findings
5752
+ # Boolean flag indicating whether only the suppressed findings or the
5753
+ # unsuppressed findings should be listed. If this parameter isn't
5754
+ # provided, the response will list both suppressed and unsuppressed
5755
+ # findings.
5756
+ #
5552
5757
  # @return [Types::ListAuditFindingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5553
5758
  #
5554
5759
  # * {Types::ListAuditFindingsResponse#findings #findings} => Array<Types::AuditFinding>
5555
5760
  # * {Types::ListAuditFindingsResponse#next_token #next_token} => String
5556
5761
  #
5762
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5763
+ #
5557
5764
  # @example Request syntax with placeholder values
5558
5765
  #
5559
5766
  # resp = client.list_audit_findings({
@@ -5576,6 +5783,7 @@ module Aws::IoT
5576
5783
  # next_token: "NextToken",
5577
5784
  # start_time: Time.now,
5578
5785
  # end_time: Time.now,
5786
+ # list_suppressed_findings: false,
5579
5787
  # })
5580
5788
  #
5581
5789
  # @example Response structure
@@ -5614,6 +5822,7 @@ module Aws::IoT
5614
5822
  # resp.findings[0].related_resources[0].additional_info["String"] #=> String
5615
5823
  # resp.findings[0].reason_for_non_compliance #=> String
5616
5824
  # resp.findings[0].reason_for_non_compliance_code #=> String
5825
+ # resp.findings[0].is_suppressed #=> Boolean
5617
5826
  # resp.next_token #=> String
5618
5827
  #
5619
5828
  # @overload list_audit_findings(params = {})
@@ -5648,6 +5857,8 @@ module Aws::IoT
5648
5857
  # * {Types::ListAuditMitigationActionsExecutionsResponse#actions_executions #actions_executions} => Array<Types::AuditMitigationActionExecutionMetadata>
5649
5858
  # * {Types::ListAuditMitigationActionsExecutionsResponse#next_token #next_token} => String
5650
5859
  #
5860
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5861
+ #
5651
5862
  # @example Request syntax with placeholder values
5652
5863
  #
5653
5864
  # resp = client.list_audit_mitigation_actions_executions({
@@ -5714,6 +5925,8 @@ module Aws::IoT
5714
5925
  # * {Types::ListAuditMitigationActionsTasksResponse#tasks #tasks} => Array<Types::AuditMitigationActionsTaskMetadata>
5715
5926
  # * {Types::ListAuditMitigationActionsTasksResponse#next_token #next_token} => String
5716
5927
  #
5928
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5929
+ #
5717
5930
  # @example Request syntax with placeholder values
5718
5931
  #
5719
5932
  # resp = client.list_audit_mitigation_actions_tasks({
@@ -5741,6 +5954,83 @@ module Aws::IoT
5741
5954
  req.send_request(options)
5742
5955
  end
5743
5956
 
5957
+ # Lists your Device Defender audit listings.
5958
+ #
5959
+ # @option params [String] :check_name
5960
+ # An audit check name. Checks must be enabled for your account. (Use
5961
+ # `DescribeAccountAuditConfiguration` to see the list of all checks,
5962
+ # including those that are enabled or use
5963
+ # `UpdateAccountAuditConfiguration` to select which checks are enabled.)
5964
+ #
5965
+ # @option params [Types::ResourceIdentifier] :resource_identifier
5966
+ # Information that identifies the noncompliant resource.
5967
+ #
5968
+ # @option params [Boolean] :ascending_order
5969
+ # Determines whether suppressions are listed in ascending order by
5970
+ # expiration date or not. If parameter isn't provided,
5971
+ # `ascendingOrder=true`.
5972
+ #
5973
+ # @option params [String] :next_token
5974
+ # The token for the next set of results.
5975
+ #
5976
+ # @option params [Integer] :max_results
5977
+ # The maximum number of results to return at one time. The default is
5978
+ # 25.
5979
+ #
5980
+ # @return [Types::ListAuditSuppressionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5981
+ #
5982
+ # * {Types::ListAuditSuppressionsResponse#suppressions #suppressions} => Array<Types::AuditSuppression>
5983
+ # * {Types::ListAuditSuppressionsResponse#next_token #next_token} => String
5984
+ #
5985
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5986
+ #
5987
+ # @example Request syntax with placeholder values
5988
+ #
5989
+ # resp = client.list_audit_suppressions({
5990
+ # check_name: "AuditCheckName",
5991
+ # resource_identifier: {
5992
+ # device_certificate_id: "CertificateId",
5993
+ # ca_certificate_id: "CertificateId",
5994
+ # cognito_identity_pool_id: "CognitoIdentityPoolId",
5995
+ # client_id: "ClientId",
5996
+ # policy_version_identifier: {
5997
+ # policy_name: "PolicyName",
5998
+ # policy_version_id: "PolicyVersionId",
5999
+ # },
6000
+ # account: "AwsAccountId",
6001
+ # iam_role_arn: "RoleArn",
6002
+ # role_alias_arn: "RoleAliasArn",
6003
+ # },
6004
+ # ascending_order: false,
6005
+ # next_token: "NextToken",
6006
+ # max_results: 1,
6007
+ # })
6008
+ #
6009
+ # @example Response structure
6010
+ #
6011
+ # resp.suppressions #=> Array
6012
+ # resp.suppressions[0].check_name #=> String
6013
+ # resp.suppressions[0].resource_identifier.device_certificate_id #=> String
6014
+ # resp.suppressions[0].resource_identifier.ca_certificate_id #=> String
6015
+ # resp.suppressions[0].resource_identifier.cognito_identity_pool_id #=> String
6016
+ # resp.suppressions[0].resource_identifier.client_id #=> String
6017
+ # resp.suppressions[0].resource_identifier.policy_version_identifier.policy_name #=> String
6018
+ # resp.suppressions[0].resource_identifier.policy_version_identifier.policy_version_id #=> String
6019
+ # resp.suppressions[0].resource_identifier.account #=> String
6020
+ # resp.suppressions[0].resource_identifier.iam_role_arn #=> String
6021
+ # resp.suppressions[0].resource_identifier.role_alias_arn #=> String
6022
+ # resp.suppressions[0].expiration_date #=> Time
6023
+ # resp.suppressions[0].suppress_indefinitely #=> Boolean
6024
+ # resp.suppressions[0].description #=> String
6025
+ # resp.next_token #=> String
6026
+ #
6027
+ # @overload list_audit_suppressions(params = {})
6028
+ # @param [Hash] params ({})
6029
+ def list_audit_suppressions(params = {}, options = {})
6030
+ req = build_request(:list_audit_suppressions, params)
6031
+ req.send_request(options)
6032
+ end
6033
+
5744
6034
  # Lists the Device Defender audits that have been performed during a
5745
6035
  # given time period.
5746
6036
  #
@@ -5773,6 +6063,8 @@ module Aws::IoT
5773
6063
  # * {Types::ListAuditTasksResponse#tasks #tasks} => Array<Types::AuditTaskMetadata>
5774
6064
  # * {Types::ListAuditTasksResponse#next_token #next_token} => String
5775
6065
  #
6066
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6067
+ #
5776
6068
  # @example Request syntax with placeholder values
5777
6069
  #
5778
6070
  # resp = client.list_audit_tasks({
@@ -5818,6 +6110,8 @@ module Aws::IoT
5818
6110
  # * {Types::ListAuthorizersResponse#authorizers #authorizers} => Array<Types::AuthorizerSummary>
5819
6111
  # * {Types::ListAuthorizersResponse#next_marker #next_marker} => String
5820
6112
  #
6113
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6114
+ #
5821
6115
  # @example Request syntax with placeholder values
5822
6116
  #
5823
6117
  # resp = client.list_authorizers({
@@ -5857,6 +6151,8 @@ module Aws::IoT
5857
6151
  # * {Types::ListBillingGroupsResponse#billing_groups #billing_groups} => Array<Types::GroupNameAndArn>
5858
6152
  # * {Types::ListBillingGroupsResponse#next_token #next_token} => String
5859
6153
  #
6154
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6155
+ #
5860
6156
  # @example Request syntax with placeholder values
5861
6157
  #
5862
6158
  # resp = client.list_billing_groups({
@@ -5898,6 +6194,8 @@ module Aws::IoT
5898
6194
  # * {Types::ListCACertificatesResponse#certificates #certificates} => Array<Types::CACertificate>
5899
6195
  # * {Types::ListCACertificatesResponse#next_marker #next_marker} => String
5900
6196
  #
6197
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6198
+ #
5901
6199
  # @example Request syntax with placeholder values
5902
6200
  #
5903
6201
  # resp = client.list_ca_certificates({
@@ -5942,6 +6240,8 @@ module Aws::IoT
5942
6240
  # * {Types::ListCertificatesResponse#certificates #certificates} => Array<Types::Certificate>
5943
6241
  # * {Types::ListCertificatesResponse#next_marker #next_marker} => String
5944
6242
  #
6243
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6244
+ #
5945
6245
  # @example Request syntax with placeholder values
5946
6246
  #
5947
6247
  # resp = client.list_certificates({
@@ -5988,6 +6288,8 @@ module Aws::IoT
5988
6288
  # * {Types::ListCertificatesByCAResponse#certificates #certificates} => Array<Types::Certificate>
5989
6289
  # * {Types::ListCertificatesByCAResponse#next_marker #next_marker} => String
5990
6290
  #
6291
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6292
+ #
5991
6293
  # @example Request syntax with placeholder values
5992
6294
  #
5993
6295
  # resp = client.list_certificates_by_ca({
@@ -6027,6 +6329,8 @@ module Aws::IoT
6027
6329
  # * {Types::ListDimensionsResponse#dimension_names #dimension_names} => Array<String>
6028
6330
  # * {Types::ListDimensionsResponse#next_token #next_token} => String
6029
6331
  #
6332
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6333
+ #
6030
6334
  # @example Request syntax with placeholder values
6031
6335
  #
6032
6336
  # resp = client.list_dimensions({
@@ -6069,6 +6373,8 @@ module Aws::IoT
6069
6373
  # * {Types::ListDomainConfigurationsResponse#domain_configurations #domain_configurations} => Array<Types::DomainConfigurationSummary>
6070
6374
  # * {Types::ListDomainConfigurationsResponse#next_marker #next_marker} => String
6071
6375
  #
6376
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6377
+ #
6072
6378
  # @example Request syntax with placeholder values
6073
6379
  #
6074
6380
  # resp = client.list_domain_configurations({
@@ -6106,6 +6412,8 @@ module Aws::IoT
6106
6412
  # * {Types::ListIndicesResponse#index_names #index_names} => Array<String>
6107
6413
  # * {Types::ListIndicesResponse#next_token #next_token} => String
6108
6414
  #
6415
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6416
+ #
6109
6417
  # @example Request syntax with placeholder values
6110
6418
  #
6111
6419
  # resp = client.list_indices({
@@ -6145,6 +6453,8 @@ module Aws::IoT
6145
6453
  # * {Types::ListJobExecutionsForJobResponse#execution_summaries #execution_summaries} => Array<Types::JobExecutionSummaryForJob>
6146
6454
  # * {Types::ListJobExecutionsForJobResponse#next_token #next_token} => String
6147
6455
  #
6456
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6457
+ #
6148
6458
  # @example Request syntax with placeholder values
6149
6459
  #
6150
6460
  # resp = client.list_job_executions_for_job({
@@ -6192,6 +6502,8 @@ module Aws::IoT
6192
6502
  # * {Types::ListJobExecutionsForThingResponse#execution_summaries #execution_summaries} => Array<Types::JobExecutionSummaryForThing>
6193
6503
  # * {Types::ListJobExecutionsForThingResponse#next_token #next_token} => String
6194
6504
  #
6505
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6506
+ #
6195
6507
  # @example Request syntax with placeholder values
6196
6508
  #
6197
6509
  # resp = client.list_job_executions_for_thing({
@@ -6252,6 +6564,8 @@ module Aws::IoT
6252
6564
  # * {Types::ListJobsResponse#jobs #jobs} => Array<Types::JobSummary>
6253
6565
  # * {Types::ListJobsResponse#next_token #next_token} => String
6254
6566
  #
6567
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6568
+ #
6255
6569
  # @example Request syntax with placeholder values
6256
6570
  #
6257
6571
  # resp = client.list_jobs({
@@ -6302,6 +6616,8 @@ module Aws::IoT
6302
6616
  # * {Types::ListMitigationActionsResponse#action_identifiers #action_identifiers} => Array<Types::MitigationActionIdentifier>
6303
6617
  # * {Types::ListMitigationActionsResponse#next_token #next_token} => String
6304
6618
  #
6619
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6620
+ #
6305
6621
  # @example Request syntax with placeholder values
6306
6622
  #
6307
6623
  # resp = client.list_mitigation_actions({
@@ -6341,6 +6657,8 @@ module Aws::IoT
6341
6657
  # * {Types::ListOTAUpdatesResponse#ota_updates #ota_updates} => Array<Types::OTAUpdateSummary>
6342
6658
  # * {Types::ListOTAUpdatesResponse#next_token #next_token} => String
6343
6659
  #
6660
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6661
+ #
6344
6662
  # @example Request syntax with placeholder values
6345
6663
  #
6346
6664
  # resp = client.list_ota_updates({
@@ -6381,6 +6699,8 @@ module Aws::IoT
6381
6699
  # * {Types::ListOutgoingCertificatesResponse#outgoing_certificates #outgoing_certificates} => Array<Types::OutgoingCertificate>
6382
6700
  # * {Types::ListOutgoingCertificatesResponse#next_marker #next_marker} => String
6383
6701
  #
6702
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6703
+ #
6384
6704
  # @example Request syntax with placeholder values
6385
6705
  #
6386
6706
  # resp = client.list_outgoing_certificates({
@@ -6424,6 +6744,8 @@ module Aws::IoT
6424
6744
  # * {Types::ListPoliciesResponse#policies #policies} => Array<Types::Policy>
6425
6745
  # * {Types::ListPoliciesResponse#next_marker #next_marker} => String
6426
6746
  #
6747
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6748
+ #
6427
6749
  # @example Request syntax with placeholder values
6428
6750
  #
6429
6751
  # resp = client.list_policies({
@@ -6469,6 +6791,8 @@ module Aws::IoT
6469
6791
  # * {Types::ListPolicyPrincipalsResponse#principals #principals} => Array<String>
6470
6792
  # * {Types::ListPolicyPrincipalsResponse#next_marker #next_marker} => String
6471
6793
  #
6794
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6795
+ #
6472
6796
  # @example Request syntax with placeholder values
6473
6797
  #
6474
6798
  # resp = client.list_policy_principals({
@@ -6533,7 +6857,11 @@ module Aws::IoT
6533
6857
  # [1]: https://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_GetCredentialsForIdentity.html#API_GetCredentialsForIdentity_RequestSyntax
6534
6858
  #
6535
6859
  # @option params [required, String] :principal
6536
- # The principal.
6860
+ # The principal. Valid principals are CertificateArn
6861
+ # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
6862
+ # thingGroupArn
6863
+ # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
6864
+ # CognitoId (*region*\:*id*).
6537
6865
  #
6538
6866
  # @option params [String] :marker
6539
6867
  # The marker for the next set of results.
@@ -6550,6 +6878,8 @@ module Aws::IoT
6550
6878
  # * {Types::ListPrincipalPoliciesResponse#policies #policies} => Array<Types::Policy>
6551
6879
  # * {Types::ListPrincipalPoliciesResponse#next_marker #next_marker} => String
6552
6880
  #
6881
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6882
+ #
6553
6883
  # @example Request syntax with placeholder values
6554
6884
  #
6555
6885
  # resp = client.list_principal_policies({
@@ -6591,6 +6921,8 @@ module Aws::IoT
6591
6921
  # * {Types::ListPrincipalThingsResponse#things #things} => Array<String>
6592
6922
  # * {Types::ListPrincipalThingsResponse#next_token #next_token} => String
6593
6923
  #
6924
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6925
+ #
6594
6926
  # @example Request syntax with placeholder values
6595
6927
  #
6596
6928
  # resp = client.list_principal_things({
@@ -6628,6 +6960,8 @@ module Aws::IoT
6628
6960
  # * {Types::ListProvisioningTemplateVersionsResponse#versions #versions} => Array<Types::ProvisioningTemplateVersionSummary>
6629
6961
  # * {Types::ListProvisioningTemplateVersionsResponse#next_token #next_token} => String
6630
6962
  #
6963
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6964
+ #
6631
6965
  # @example Request syntax with placeholder values
6632
6966
  #
6633
6967
  # resp = client.list_provisioning_template_versions({
@@ -6664,6 +6998,8 @@ module Aws::IoT
6664
6998
  # * {Types::ListProvisioningTemplatesResponse#templates #templates} => Array<Types::ProvisioningTemplateSummary>
6665
6999
  # * {Types::ListProvisioningTemplatesResponse#next_token #next_token} => String
6666
7000
  #
7001
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7002
+ #
6667
7003
  # @example Request syntax with placeholder values
6668
7004
  #
6669
7005
  # resp = client.list_provisioning_templates({
@@ -6705,6 +7041,8 @@ module Aws::IoT
6705
7041
  # * {Types::ListRoleAliasesResponse#role_aliases #role_aliases} => Array<String>
6706
7042
  # * {Types::ListRoleAliasesResponse#next_marker #next_marker} => String
6707
7043
  #
7044
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7045
+ #
6708
7046
  # @example Request syntax with placeholder values
6709
7047
  #
6710
7048
  # resp = client.list_role_aliases({
@@ -6740,6 +7078,8 @@ module Aws::IoT
6740
7078
  # * {Types::ListScheduledAuditsResponse#scheduled_audits #scheduled_audits} => Array<Types::ScheduledAuditMetadata>
6741
7079
  # * {Types::ListScheduledAuditsResponse#next_token #next_token} => String
6742
7080
  #
7081
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7082
+ #
6743
7083
  # @example Request syntax with placeholder values
6744
7084
  #
6745
7085
  # resp = client.list_scheduled_audits({
@@ -6783,6 +7123,8 @@ module Aws::IoT
6783
7123
  # * {Types::ListSecurityProfilesResponse#security_profile_identifiers #security_profile_identifiers} => Array<Types::SecurityProfileIdentifier>
6784
7124
  # * {Types::ListSecurityProfilesResponse#next_token #next_token} => String
6785
7125
  #
7126
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7127
+ #
6786
7128
  # @example Request syntax with placeholder values
6787
7129
  #
6788
7130
  # resp = client.list_security_profiles({
@@ -6826,6 +7168,8 @@ module Aws::IoT
6826
7168
  # * {Types::ListSecurityProfilesForTargetResponse#security_profile_target_mappings #security_profile_target_mappings} => Array<Types::SecurityProfileTargetMapping>
6827
7169
  # * {Types::ListSecurityProfilesForTargetResponse#next_token #next_token} => String
6828
7170
  #
7171
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7172
+ #
6829
7173
  # @example Request syntax with placeholder values
6830
7174
  #
6831
7175
  # resp = client.list_security_profiles_for_target({
@@ -6866,6 +7210,8 @@ module Aws::IoT
6866
7210
  # * {Types::ListStreamsResponse#streams #streams} => Array<Types::StreamSummary>
6867
7211
  # * {Types::ListStreamsResponse#next_token #next_token} => String
6868
7212
  #
7213
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7214
+ #
6869
7215
  # @example Request syntax with placeholder values
6870
7216
  #
6871
7217
  # resp = client.list_streams({
@@ -6903,6 +7249,8 @@ module Aws::IoT
6903
7249
  # * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::Tag>
6904
7250
  # * {Types::ListTagsForResourceResponse#next_token #next_token} => String
6905
7251
  #
7252
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7253
+ #
6906
7254
  # @example Request syntax with placeholder values
6907
7255
  #
6908
7256
  # resp = client.list_tags_for_resource({
@@ -6940,6 +7288,8 @@ module Aws::IoT
6940
7288
  # * {Types::ListTargetsForPolicyResponse#targets #targets} => Array<String>
6941
7289
  # * {Types::ListTargetsForPolicyResponse#next_marker #next_marker} => String
6942
7290
  #
7291
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7292
+ #
6943
7293
  # @example Request syntax with placeholder values
6944
7294
  #
6945
7295
  # resp = client.list_targets_for_policy({
@@ -6978,6 +7328,8 @@ module Aws::IoT
6978
7328
  # * {Types::ListTargetsForSecurityProfileResponse#security_profile_targets #security_profile_targets} => Array<Types::SecurityProfileTarget>
6979
7329
  # * {Types::ListTargetsForSecurityProfileResponse#next_token #next_token} => String
6980
7330
  #
7331
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7332
+ #
6981
7333
  # @example Request syntax with placeholder values
6982
7334
  #
6983
7335
  # resp = client.list_targets_for_security_profile({
@@ -7023,6 +7375,8 @@ module Aws::IoT
7023
7375
  # * {Types::ListThingGroupsResponse#thing_groups #thing_groups} => Array<Types::GroupNameAndArn>
7024
7376
  # * {Types::ListThingGroupsResponse#next_token #next_token} => String
7025
7377
  #
7378
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7379
+ #
7026
7380
  # @example Request syntax with placeholder values
7027
7381
  #
7028
7382
  # resp = client.list_thing_groups({
@@ -7063,6 +7417,8 @@ module Aws::IoT
7063
7417
  # * {Types::ListThingGroupsForThingResponse#thing_groups #thing_groups} => Array<Types::GroupNameAndArn>
7064
7418
  # * {Types::ListThingGroupsForThingResponse#next_token #next_token} => String
7065
7419
  #
7420
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7421
+ #
7066
7422
  # @example Request syntax with placeholder values
7067
7423
  #
7068
7424
  # resp = client.list_thing_groups_for_thing({
@@ -7134,6 +7490,8 @@ module Aws::IoT
7134
7490
  # * {Types::ListThingRegistrationTaskReportsResponse#report_type #report_type} => String
7135
7491
  # * {Types::ListThingRegistrationTaskReportsResponse#next_token #next_token} => String
7136
7492
  #
7493
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7494
+ #
7137
7495
  # @example Request syntax with placeholder values
7138
7496
  #
7139
7497
  # resp = client.list_thing_registration_task_reports({
@@ -7173,6 +7531,8 @@ module Aws::IoT
7173
7531
  # * {Types::ListThingRegistrationTasksResponse#task_ids #task_ids} => Array<String>
7174
7532
  # * {Types::ListThingRegistrationTasksResponse#next_token #next_token} => String
7175
7533
  #
7534
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7535
+ #
7176
7536
  # @example Request syntax with placeholder values
7177
7537
  #
7178
7538
  # resp = client.list_thing_registration_tasks({
@@ -7210,6 +7570,8 @@ module Aws::IoT
7210
7570
  # * {Types::ListThingTypesResponse#thing_types #thing_types} => Array<Types::ThingTypeDefinition>
7211
7571
  # * {Types::ListThingTypesResponse#next_token #next_token} => String
7212
7572
  #
7573
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7574
+ #
7213
7575
  # @example Request syntax with placeholder values
7214
7576
  #
7215
7577
  # resp = client.list_thing_types({
@@ -7244,6 +7606,13 @@ module Aws::IoT
7244
7606
  # in the registry that contain an attribute **Color** with the value
7245
7607
  # **Red**.
7246
7608
  #
7609
+ # <note markdown="1"> You will not be charged for calling this API if an `Access denied`
7610
+ # error is returned. You will also not be charged if no attributes or
7611
+ # pagination token was provided in request and no pagination token and
7612
+ # no results were returned.
7613
+ #
7614
+ # </note>
7615
+ #
7247
7616
  # @option params [String] :next_token
7248
7617
  # The token to retrieve the next set of results.
7249
7618
  #
@@ -7264,6 +7633,8 @@ module Aws::IoT
7264
7633
  # * {Types::ListThingsResponse#things #things} => Array&lt;Types::ThingAttribute&gt;
7265
7634
  # * {Types::ListThingsResponse#next_token #next_token} => String
7266
7635
  #
7636
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7637
+ #
7267
7638
  # @example Request syntax with placeholder values
7268
7639
  #
7269
7640
  # resp = client.list_things({
@@ -7308,6 +7679,8 @@ module Aws::IoT
7308
7679
  # * {Types::ListThingsInBillingGroupResponse#things #things} => Array&lt;String&gt;
7309
7680
  # * {Types::ListThingsInBillingGroupResponse#next_token #next_token} => String
7310
7681
  #
7682
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7683
+ #
7311
7684
  # @example Request syntax with placeholder values
7312
7685
  #
7313
7686
  # resp = client.list_things_in_billing_group({
@@ -7349,6 +7722,8 @@ module Aws::IoT
7349
7722
  # * {Types::ListThingsInThingGroupResponse#things #things} => Array&lt;String&gt;
7350
7723
  # * {Types::ListThingsInThingGroupResponse#next_token #next_token} => String
7351
7724
  #
7725
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7726
+ #
7352
7727
  # @example Request syntax with placeholder values
7353
7728
  #
7354
7729
  # resp = client.list_things_in_thing_group({
@@ -7384,6 +7759,8 @@ module Aws::IoT
7384
7759
  # * {Types::ListTopicRuleDestinationsResponse#destination_summaries #destination_summaries} => Array&lt;Types::TopicRuleDestinationSummary&gt;
7385
7760
  # * {Types::ListTopicRuleDestinationsResponse#next_token #next_token} => String
7386
7761
  #
7762
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7763
+ #
7387
7764
  # @example Request syntax with placeholder values
7388
7765
  #
7389
7766
  # resp = client.list_topic_rule_destinations({
@@ -7426,6 +7803,8 @@ module Aws::IoT
7426
7803
  # * {Types::ListTopicRulesResponse#rules #rules} => Array&lt;Types::TopicRuleListItem&gt;
7427
7804
  # * {Types::ListTopicRulesResponse#next_token #next_token} => String
7428
7805
  #
7806
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7807
+ #
7429
7808
  # @example Request syntax with placeholder values
7430
7809
  #
7431
7810
  # resp = client.list_topic_rules({
@@ -7470,6 +7849,8 @@ module Aws::IoT
7470
7849
  # * {Types::ListV2LoggingLevelsResponse#log_target_configurations #log_target_configurations} => Array&lt;Types::LogTargetConfiguration&gt;
7471
7850
  # * {Types::ListV2LoggingLevelsResponse#next_token #next_token} => String
7472
7851
  #
7852
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7853
+ #
7473
7854
  # @example Request syntax with placeholder values
7474
7855
  #
7475
7856
  # resp = client.list_v2_logging_levels({
@@ -7523,6 +7904,8 @@ module Aws::IoT
7523
7904
  # * {Types::ListViolationEventsResponse#violation_events #violation_events} => Array&lt;Types::ViolationEvent&gt;
7524
7905
  # * {Types::ListViolationEventsResponse#next_token #next_token} => String
7525
7906
  #
7907
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7908
+ #
7526
7909
  # @example Request syntax with placeholder values
7527
7910
  #
7528
7911
  # resp = client.list_violation_events({
@@ -8578,7 +8961,11 @@ module Aws::IoT
8578
8961
  # gateway.
8579
8962
  #
8580
8963
  # @option params [String] :principal
8581
- # The principal.
8964
+ # The principal. Valid principals are CertificateArn
8965
+ # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
8966
+ # thingGroupArn
8967
+ # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
8968
+ # CognitoId (*region*\:*id*).
8582
8969
  #
8583
8970
  # @option params [String] :cognito_identity_pool_id
8584
8971
  # The Cognito identity pool ID.
@@ -8838,6 +9225,58 @@ module Aws::IoT
8838
9225
  req.send_request(options)
8839
9226
  end
8840
9227
 
9228
+ # Updates a Device Defender audit suppression.
9229
+ #
9230
+ # @option params [required, String] :check_name
9231
+ # An audit check name. Checks must be enabled for your account. (Use
9232
+ # `DescribeAccountAuditConfiguration` to see the list of all checks,
9233
+ # including those that are enabled or use
9234
+ # `UpdateAccountAuditConfiguration` to select which checks are enabled.)
9235
+ #
9236
+ # @option params [required, Types::ResourceIdentifier] :resource_identifier
9237
+ # Information that identifies the noncompliant resource.
9238
+ #
9239
+ # @option params [Time,DateTime,Date,Integer,String] :expiration_date
9240
+ # The expiration date (epoch timestamp in seconds) that you want the
9241
+ # suppression to adhere to.
9242
+ #
9243
+ # @option params [Boolean] :suppress_indefinitely
9244
+ # Indicates whether a suppression should exist indefinitely or not.
9245
+ #
9246
+ # @option params [String] :description
9247
+ # The description of the audit suppression.
9248
+ #
9249
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
9250
+ #
9251
+ # @example Request syntax with placeholder values
9252
+ #
9253
+ # resp = client.update_audit_suppression({
9254
+ # check_name: "AuditCheckName", # required
9255
+ # resource_identifier: { # required
9256
+ # device_certificate_id: "CertificateId",
9257
+ # ca_certificate_id: "CertificateId",
9258
+ # cognito_identity_pool_id: "CognitoIdentityPoolId",
9259
+ # client_id: "ClientId",
9260
+ # policy_version_identifier: {
9261
+ # policy_name: "PolicyName",
9262
+ # policy_version_id: "PolicyVersionId",
9263
+ # },
9264
+ # account: "AwsAccountId",
9265
+ # iam_role_arn: "RoleArn",
9266
+ # role_alias_arn: "RoleAliasArn",
9267
+ # },
9268
+ # expiration_date: Time.now,
9269
+ # suppress_indefinitely: false,
9270
+ # description: "AuditDescription",
9271
+ # })
9272
+ #
9273
+ # @overload update_audit_suppression(params = {})
9274
+ # @param [Hash] params ({})
9275
+ def update_audit_suppression(params = {}, options = {})
9276
+ req = build_request(:update_audit_suppression, params)
9277
+ req.send_request(options)
9278
+ end
9279
+
8841
9280
  # Updates an authorizer.
8842
9281
  #
8843
9282
  # @option params [required, String] :authorizer_name
@@ -8969,12 +9408,13 @@ module Aws::IoT
8969
9408
  # Updates the status of the specified certificate. This operation is
8970
9409
  # idempotent.
8971
9410
  #
8972
- # Moving a certificate from the ACTIVE state (including REVOKED) will
8973
- # not disconnect currently connected devices, but these devices will be
8974
- # unable to reconnect.
9411
+ # Certificates must be in the ACTIVE state to authenticate devices that
9412
+ # use a certificate to connect to AWS IoT.
8975
9413
  #
8976
- # The ACTIVE state is required to authenticate devices connecting to AWS
8977
- # IoT using a certificate.
9414
+ # Within a few minutes of updating a certificate from the ACTIVE state
9415
+ # to any other state, AWS IoT disconnects all devices that used that
9416
+ # certificate to connect. Devices cannot use a certificate that is not
9417
+ # in the ACTIVE state to reconnect.
8978
9418
  #
8979
9419
  # @option params [required, String] :certificate_id
8980
9420
  # The ID of the certificate. (The last part of the certificate ARN
@@ -9967,7 +10407,7 @@ module Aws::IoT
9967
10407
  params: params,
9968
10408
  config: config)
9969
10409
  context[:gem_name] = 'aws-sdk-iot'
9970
- context[:gem_version] = '1.52.0'
10410
+ context[:gem_version] = '1.57.0'
9971
10411
  Seahorse::Client::Request.new(handlers, context)
9972
10412
  end
9973
10413