aws-sdk-iot 1.53.0 → 1.58.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: 9e8a1d28d2845d4576e5eaef405d1c8cb46a0cec2095cab987aa396ca0e0a34d
4
- data.tar.gz: 7e5048c21c70a98bb170a0910918805eb9b415c3ac925baed28ae5466b09017a
3
+ metadata.gz: 850296b7409e4ff85c578ba17e6f2c4fc1dcf67b3611ce500243a8d03b595a76
4
+ data.tar.gz: 2d93dd80a9e7dbdfba2b8109e4ff47917586c6f36c05c8e98b17a386629b7b9b
5
5
  SHA512:
6
- metadata.gz: 1d0fb64242996f85fb5d6537e2e51f997b537331c91dd894cf0e052199745d0e72d0aa427389e5b5c0b57502423e82e478d48de2981ce229d02bf3d1d28d192b
7
- data.tar.gz: 884ab55ab715003842604c54e026efeb5e48160c196a53f5136b2d99d2ca62c31ca955904e72b8f696ad9049c59423fdd974ea6b438103542105fb9ad332fc3e
6
+ metadata.gz: f8a4569f4f37626dc71f220ff8d44e9a2d89690feccb29e9d54df29277a5418cfe79136044dbf69a4ba6591d33a6105d1403fee44e9b0ab0b27a70c5638e1647
7
+ data.tar.gz: 2fa346b63b92cecc0c3c90016251eece0636cf5071349463ba56d61d7c8e0472acdeedc997a775d379babc4e1e42ed9be65f15da01918b5c7d6f42bc7b8f534b
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-iot/customizations'
44
45
  #
45
46
  # See {Errors} for more information.
46
47
  #
47
- # @service
48
+ # @!group service
48
49
  module Aws::IoT
49
50
 
50
- GEM_VERSION = '1.53.0'
51
+ GEM_VERSION = '1.58.0'
51
52
 
52
53
  end
@@ -85,13 +85,28 @@ module Aws::IoT
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
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
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::IoT
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # 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.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -785,6 +800,64 @@ module Aws::IoT
785
800
  req.send_request(options)
786
801
  end
787
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
+
788
861
  # Creates an authorizer.
789
862
  #
790
863
  # @option params [required, String] :authorizer_name
@@ -1382,8 +1455,14 @@ module Aws::IoT
1382
1455
  end
1383
1456
 
1384
1457
  # Defines an action that can be applied to audit findings by using
1385
- # StartAuditMitigationActionsTask. Each mitigation action can apply only
1386
- # 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
1387
1466
  #
1388
1467
  # @option params [required, String] :action_name
1389
1468
  # A friendly name for the action. Choose a friendly name that accurately
@@ -2508,6 +2587,21 @@ module Aws::IoT
2508
2587
  # state_machine_name: "StateMachineName", # required
2509
2588
  # role_arn: "AwsArn", # required
2510
2589
  # },
2590
+ # timestream: {
2591
+ # role_arn: "AwsArn", # required
2592
+ # database_name: "TimestreamDatabaseName", # required
2593
+ # table_name: "TimestreamTableName", # required
2594
+ # dimensions: [ # required
2595
+ # {
2596
+ # name: "TimestreamDimensionName", # required
2597
+ # value: "TimestreamDimensionValue", # required
2598
+ # },
2599
+ # ],
2600
+ # timestamp: {
2601
+ # value: "TimestreamTimestampValue", # required
2602
+ # unit: "TimestreamTimestampUnit", # required
2603
+ # },
2604
+ # },
2511
2605
  # http: {
2512
2606
  # url: "Url", # required
2513
2607
  # confirmation_url: "Url",
@@ -2652,6 +2746,21 @@ module Aws::IoT
2652
2746
  # state_machine_name: "StateMachineName", # required
2653
2747
  # role_arn: "AwsArn", # required
2654
2748
  # },
2749
+ # timestream: {
2750
+ # role_arn: "AwsArn", # required
2751
+ # database_name: "TimestreamDatabaseName", # required
2752
+ # table_name: "TimestreamTableName", # required
2753
+ # dimensions: [ # required
2754
+ # {
2755
+ # name: "TimestreamDimensionName", # required
2756
+ # value: "TimestreamDimensionValue", # required
2757
+ # },
2758
+ # ],
2759
+ # timestamp: {
2760
+ # value: "TimestreamTimestampValue", # required
2761
+ # unit: "TimestreamTimestampUnit", # required
2762
+ # },
2763
+ # },
2655
2764
  # http: {
2656
2765
  # url: "Url", # required
2657
2766
  # confirmation_url: "Url",
@@ -2737,6 +2846,45 @@ module Aws::IoT
2737
2846
  req.send_request(options)
2738
2847
  end
2739
2848
 
2849
+ # Deletes a Device Defender audit suppression.
2850
+ #
2851
+ # @option params [required, String] :check_name
2852
+ # An audit check name. Checks must be enabled for your account. (Use
2853
+ # `DescribeAccountAuditConfiguration` to see the list of all checks,
2854
+ # including those that are enabled or use
2855
+ # `UpdateAccountAuditConfiguration` to select which checks are enabled.)
2856
+ #
2857
+ # @option params [required, Types::ResourceIdentifier] :resource_identifier
2858
+ # Information that identifies the noncompliant resource.
2859
+ #
2860
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2861
+ #
2862
+ # @example Request syntax with placeholder values
2863
+ #
2864
+ # resp = client.delete_audit_suppression({
2865
+ # check_name: "AuditCheckName", # required
2866
+ # resource_identifier: { # required
2867
+ # device_certificate_id: "CertificateId",
2868
+ # ca_certificate_id: "CertificateId",
2869
+ # cognito_identity_pool_id: "CognitoIdentityPoolId",
2870
+ # client_id: "ClientId",
2871
+ # policy_version_identifier: {
2872
+ # policy_name: "PolicyName",
2873
+ # policy_version_id: "PolicyVersionId",
2874
+ # },
2875
+ # account: "AwsAccountId",
2876
+ # iam_role_arn: "RoleArn",
2877
+ # role_alias_arn: "RoleAliasArn",
2878
+ # },
2879
+ # })
2880
+ #
2881
+ # @overload delete_audit_suppression(params = {})
2882
+ # @param [Hash] params ({})
2883
+ def delete_audit_suppression(params = {}, options = {})
2884
+ req = build_request(:delete_audit_suppression, params)
2885
+ req.send_request(options)
2886
+ end
2887
+
2740
2888
  # Deletes an authorizer.
2741
2889
  #
2742
2890
  # @option params [required, String] :authorizer_name
@@ -3502,6 +3650,7 @@ module Aws::IoT
3502
3650
  # resp.finding.related_resources[0].additional_info["String"] #=> String
3503
3651
  # resp.finding.reason_for_non_compliance #=> String
3504
3652
  # resp.finding.reason_for_non_compliance_code #=> String
3653
+ # resp.finding.is_suppressed #=> Boolean
3505
3654
  #
3506
3655
  # @overload describe_audit_finding(params = {})
3507
3656
  # @param [Hash] params ({})
@@ -3575,6 +3724,67 @@ module Aws::IoT
3575
3724
  req.send_request(options)
3576
3725
  end
3577
3726
 
3727
+ # Gets information about a Device Defender audit suppression.
3728
+ #
3729
+ # @option params [required, String] :check_name
3730
+ # An audit check name. Checks must be enabled for your account. (Use
3731
+ # `DescribeAccountAuditConfiguration` to see the list of all checks,
3732
+ # including those that are enabled or use
3733
+ # `UpdateAccountAuditConfiguration` to select which checks are enabled.)
3734
+ #
3735
+ # @option params [required, Types::ResourceIdentifier] :resource_identifier
3736
+ # Information that identifies the noncompliant resource.
3737
+ #
3738
+ # @return [Types::DescribeAuditSuppressionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3739
+ #
3740
+ # * {Types::DescribeAuditSuppressionResponse#check_name #check_name} => String
3741
+ # * {Types::DescribeAuditSuppressionResponse#resource_identifier #resource_identifier} => Types::ResourceIdentifier
3742
+ # * {Types::DescribeAuditSuppressionResponse#expiration_date #expiration_date} => Time
3743
+ # * {Types::DescribeAuditSuppressionResponse#suppress_indefinitely #suppress_indefinitely} => Boolean
3744
+ # * {Types::DescribeAuditSuppressionResponse#description #description} => String
3745
+ #
3746
+ # @example Request syntax with placeholder values
3747
+ #
3748
+ # resp = client.describe_audit_suppression({
3749
+ # check_name: "AuditCheckName", # required
3750
+ # resource_identifier: { # required
3751
+ # device_certificate_id: "CertificateId",
3752
+ # ca_certificate_id: "CertificateId",
3753
+ # cognito_identity_pool_id: "CognitoIdentityPoolId",
3754
+ # client_id: "ClientId",
3755
+ # policy_version_identifier: {
3756
+ # policy_name: "PolicyName",
3757
+ # policy_version_id: "PolicyVersionId",
3758
+ # },
3759
+ # account: "AwsAccountId",
3760
+ # iam_role_arn: "RoleArn",
3761
+ # role_alias_arn: "RoleAliasArn",
3762
+ # },
3763
+ # })
3764
+ #
3765
+ # @example Response structure
3766
+ #
3767
+ # resp.check_name #=> String
3768
+ # resp.resource_identifier.device_certificate_id #=> String
3769
+ # resp.resource_identifier.ca_certificate_id #=> String
3770
+ # resp.resource_identifier.cognito_identity_pool_id #=> String
3771
+ # resp.resource_identifier.client_id #=> String
3772
+ # resp.resource_identifier.policy_version_identifier.policy_name #=> String
3773
+ # resp.resource_identifier.policy_version_identifier.policy_version_id #=> String
3774
+ # resp.resource_identifier.account #=> String
3775
+ # resp.resource_identifier.iam_role_arn #=> String
3776
+ # resp.resource_identifier.role_alias_arn #=> String
3777
+ # resp.expiration_date #=> Time
3778
+ # resp.suppress_indefinitely #=> Boolean
3779
+ # resp.description #=> String
3780
+ #
3781
+ # @overload describe_audit_suppression(params = {})
3782
+ # @param [Hash] params ({})
3783
+ def describe_audit_suppression(params = {}, options = {})
3784
+ req = build_request(:describe_audit_suppression, params)
3785
+ req.send_request(options)
3786
+ end
3787
+
3578
3788
  # Gets information about a Device Defender audit.
3579
3789
  #
3580
3790
  # @option params [required, String] :task_id
@@ -3613,6 +3823,7 @@ module Aws::IoT
3613
3823
  # resp.audit_details["AuditCheckName"].check_compliant #=> Boolean
3614
3824
  # resp.audit_details["AuditCheckName"].total_resources_count #=> Integer
3615
3825
  # resp.audit_details["AuditCheckName"].non_compliant_resources_count #=> Integer
3826
+ # resp.audit_details["AuditCheckName"].suppressed_non_compliant_resources_count #=> Integer
3616
3827
  # resp.audit_details["AuditCheckName"].error_code #=> String
3617
3828
  # resp.audit_details["AuditCheckName"].message #=> String
3618
3829
  #
@@ -4614,8 +4825,11 @@ module Aws::IoT
4614
4825
  # @option params [required, String] :principal
4615
4826
  # The principal.
4616
4827
  #
4617
- # If the principal is a certificate, specify the certificate ARN. If the
4618
- # principal is an Amazon Cognito identity, specify the identity ID.
4828
+ # Valid principals are CertificateArn
4829
+ # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
4830
+ # thingGroupArn
4831
+ # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
4832
+ # CognitoId (*region*\:*id*).
4619
4833
  #
4620
4834
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4621
4835
  #
@@ -4775,7 +4989,11 @@ module Aws::IoT
4775
4989
  # device gateway.
4776
4990
  #
4777
4991
  # @option params [String] :principal
4778
- # The principal.
4992
+ # The principal. Valid principals are CertificateArn
4993
+ # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
4994
+ # thingGroupArn
4995
+ # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
4996
+ # CognitoId (*region*\:*id*).
4779
4997
  #
4780
4998
  # @option params [String] :cognito_identity_pool_id
4781
4999
  # The Cognito identity pool ID.
@@ -5261,6 +5479,14 @@ module Aws::IoT
5261
5479
  # resp.rule.actions[0].step_functions.execution_name_prefix #=> String
5262
5480
  # resp.rule.actions[0].step_functions.state_machine_name #=> String
5263
5481
  # resp.rule.actions[0].step_functions.role_arn #=> String
5482
+ # resp.rule.actions[0].timestream.role_arn #=> String
5483
+ # resp.rule.actions[0].timestream.database_name #=> String
5484
+ # resp.rule.actions[0].timestream.table_name #=> String
5485
+ # resp.rule.actions[0].timestream.dimensions #=> Array
5486
+ # resp.rule.actions[0].timestream.dimensions[0].name #=> String
5487
+ # resp.rule.actions[0].timestream.dimensions[0].value #=> String
5488
+ # resp.rule.actions[0].timestream.timestamp.value #=> String
5489
+ # resp.rule.actions[0].timestream.timestamp.unit #=> String
5264
5490
  # resp.rule.actions[0].http.url #=> String
5265
5491
  # resp.rule.actions[0].http.confirmation_url #=> String
5266
5492
  # resp.rule.actions[0].http.headers #=> Array
@@ -5345,6 +5571,14 @@ module Aws::IoT
5345
5571
  # resp.rule.error_action.step_functions.execution_name_prefix #=> String
5346
5572
  # resp.rule.error_action.step_functions.state_machine_name #=> String
5347
5573
  # resp.rule.error_action.step_functions.role_arn #=> String
5574
+ # resp.rule.error_action.timestream.role_arn #=> String
5575
+ # resp.rule.error_action.timestream.database_name #=> String
5576
+ # resp.rule.error_action.timestream.table_name #=> String
5577
+ # resp.rule.error_action.timestream.dimensions #=> Array
5578
+ # resp.rule.error_action.timestream.dimensions[0].name #=> String
5579
+ # resp.rule.error_action.timestream.dimensions[0].value #=> String
5580
+ # resp.rule.error_action.timestream.timestamp.value #=> String
5581
+ # resp.rule.error_action.timestream.timestamp.unit #=> String
5348
5582
  # resp.rule.error_action.http.url #=> String
5349
5583
  # resp.rule.error_action.http.confirmation_url #=> String
5350
5584
  # resp.rule.error_action.http.headers #=> Array
@@ -5432,6 +5666,8 @@ module Aws::IoT
5432
5666
  # * {Types::ListActiveViolationsResponse#active_violations #active_violations} => Array<Types::ActiveViolation>
5433
5667
  # * {Types::ListActiveViolationsResponse#next_token #next_token} => String
5434
5668
  #
5669
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5670
+ #
5435
5671
  # @example Request syntax with placeholder values
5436
5672
  #
5437
5673
  # resp = client.list_active_violations({
@@ -5480,7 +5716,12 @@ module Aws::IoT
5480
5716
  # Lists the policies attached to the specified thing group.
5481
5717
  #
5482
5718
  # @option params [required, String] :target
5483
- # The group or principal for which the policies will be listed.
5719
+ # The group or principal for which the policies will be listed. Valid
5720
+ # principals are CertificateArn
5721
+ # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
5722
+ # thingGroupArn
5723
+ # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
5724
+ # CognitoId (*region*\:*id*).
5484
5725
  #
5485
5726
  # @option params [Boolean] :recursive
5486
5727
  # When true, recursively list attached policies.
@@ -5496,6 +5737,8 @@ module Aws::IoT
5496
5737
  # * {Types::ListAttachedPoliciesResponse#policies #policies} => Array<Types::Policy>
5497
5738
  # * {Types::ListAttachedPoliciesResponse#next_marker #next_marker} => String
5498
5739
  #
5740
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5741
+ #
5499
5742
  # @example Request syntax with placeholder values
5500
5743
  #
5501
5744
  # resp = client.list_attached_policies({
@@ -5521,7 +5764,7 @@ module Aws::IoT
5521
5764
 
5522
5765
  # Lists the findings (results) of a Device Defender audit or of the
5523
5766
  # audits performed during a specified time period. (Findings are
5524
- # retained for 180 days.)
5767
+ # retained for 90 days.)
5525
5768
  #
5526
5769
  # @option params [String] :task_id
5527
5770
  # A filter to limit results to the audit with the specified ID. You must
@@ -5551,11 +5794,19 @@ module Aws::IoT
5551
5794
  # You must specify either the startTime and endTime or the taskId, but
5552
5795
  # not both.
5553
5796
  #
5797
+ # @option params [Boolean] :list_suppressed_findings
5798
+ # Boolean flag indicating whether only the suppressed findings or the
5799
+ # unsuppressed findings should be listed. If this parameter isn't
5800
+ # provided, the response will list both suppressed and unsuppressed
5801
+ # findings.
5802
+ #
5554
5803
  # @return [Types::ListAuditFindingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5555
5804
  #
5556
5805
  # * {Types::ListAuditFindingsResponse#findings #findings} => Array<Types::AuditFinding>
5557
5806
  # * {Types::ListAuditFindingsResponse#next_token #next_token} => String
5558
5807
  #
5808
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5809
+ #
5559
5810
  # @example Request syntax with placeholder values
5560
5811
  #
5561
5812
  # resp = client.list_audit_findings({
@@ -5578,6 +5829,7 @@ module Aws::IoT
5578
5829
  # next_token: "NextToken",
5579
5830
  # start_time: Time.now,
5580
5831
  # end_time: Time.now,
5832
+ # list_suppressed_findings: false,
5581
5833
  # })
5582
5834
  #
5583
5835
  # @example Response structure
@@ -5616,6 +5868,7 @@ module Aws::IoT
5616
5868
  # resp.findings[0].related_resources[0].additional_info["String"] #=> String
5617
5869
  # resp.findings[0].reason_for_non_compliance #=> String
5618
5870
  # resp.findings[0].reason_for_non_compliance_code #=> String
5871
+ # resp.findings[0].is_suppressed #=> Boolean
5619
5872
  # resp.next_token #=> String
5620
5873
  #
5621
5874
  # @overload list_audit_findings(params = {})
@@ -5650,6 +5903,8 @@ module Aws::IoT
5650
5903
  # * {Types::ListAuditMitigationActionsExecutionsResponse#actions_executions #actions_executions} => Array<Types::AuditMitigationActionExecutionMetadata>
5651
5904
  # * {Types::ListAuditMitigationActionsExecutionsResponse#next_token #next_token} => String
5652
5905
  #
5906
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5907
+ #
5653
5908
  # @example Request syntax with placeholder values
5654
5909
  #
5655
5910
  # resp = client.list_audit_mitigation_actions_executions({
@@ -5716,6 +5971,8 @@ module Aws::IoT
5716
5971
  # * {Types::ListAuditMitigationActionsTasksResponse#tasks #tasks} => Array<Types::AuditMitigationActionsTaskMetadata>
5717
5972
  # * {Types::ListAuditMitigationActionsTasksResponse#next_token #next_token} => String
5718
5973
  #
5974
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5975
+ #
5719
5976
  # @example Request syntax with placeholder values
5720
5977
  #
5721
5978
  # resp = client.list_audit_mitigation_actions_tasks({
@@ -5743,12 +6000,89 @@ module Aws::IoT
5743
6000
  req.send_request(options)
5744
6001
  end
5745
6002
 
6003
+ # Lists your Device Defender audit listings.
6004
+ #
6005
+ # @option params [String] :check_name
6006
+ # An audit check name. Checks must be enabled for your account. (Use
6007
+ # `DescribeAccountAuditConfiguration` to see the list of all checks,
6008
+ # including those that are enabled or use
6009
+ # `UpdateAccountAuditConfiguration` to select which checks are enabled.)
6010
+ #
6011
+ # @option params [Types::ResourceIdentifier] :resource_identifier
6012
+ # Information that identifies the noncompliant resource.
6013
+ #
6014
+ # @option params [Boolean] :ascending_order
6015
+ # Determines whether suppressions are listed in ascending order by
6016
+ # expiration date or not. If parameter isn't provided,
6017
+ # `ascendingOrder=true`.
6018
+ #
6019
+ # @option params [String] :next_token
6020
+ # The token for the next set of results.
6021
+ #
6022
+ # @option params [Integer] :max_results
6023
+ # The maximum number of results to return at one time. The default is
6024
+ # 25.
6025
+ #
6026
+ # @return [Types::ListAuditSuppressionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6027
+ #
6028
+ # * {Types::ListAuditSuppressionsResponse#suppressions #suppressions} => Array<Types::AuditSuppression>
6029
+ # * {Types::ListAuditSuppressionsResponse#next_token #next_token} => String
6030
+ #
6031
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6032
+ #
6033
+ # @example Request syntax with placeholder values
6034
+ #
6035
+ # resp = client.list_audit_suppressions({
6036
+ # check_name: "AuditCheckName",
6037
+ # resource_identifier: {
6038
+ # device_certificate_id: "CertificateId",
6039
+ # ca_certificate_id: "CertificateId",
6040
+ # cognito_identity_pool_id: "CognitoIdentityPoolId",
6041
+ # client_id: "ClientId",
6042
+ # policy_version_identifier: {
6043
+ # policy_name: "PolicyName",
6044
+ # policy_version_id: "PolicyVersionId",
6045
+ # },
6046
+ # account: "AwsAccountId",
6047
+ # iam_role_arn: "RoleArn",
6048
+ # role_alias_arn: "RoleAliasArn",
6049
+ # },
6050
+ # ascending_order: false,
6051
+ # next_token: "NextToken",
6052
+ # max_results: 1,
6053
+ # })
6054
+ #
6055
+ # @example Response structure
6056
+ #
6057
+ # resp.suppressions #=> Array
6058
+ # resp.suppressions[0].check_name #=> String
6059
+ # resp.suppressions[0].resource_identifier.device_certificate_id #=> String
6060
+ # resp.suppressions[0].resource_identifier.ca_certificate_id #=> String
6061
+ # resp.suppressions[0].resource_identifier.cognito_identity_pool_id #=> String
6062
+ # resp.suppressions[0].resource_identifier.client_id #=> String
6063
+ # resp.suppressions[0].resource_identifier.policy_version_identifier.policy_name #=> String
6064
+ # resp.suppressions[0].resource_identifier.policy_version_identifier.policy_version_id #=> String
6065
+ # resp.suppressions[0].resource_identifier.account #=> String
6066
+ # resp.suppressions[0].resource_identifier.iam_role_arn #=> String
6067
+ # resp.suppressions[0].resource_identifier.role_alias_arn #=> String
6068
+ # resp.suppressions[0].expiration_date #=> Time
6069
+ # resp.suppressions[0].suppress_indefinitely #=> Boolean
6070
+ # resp.suppressions[0].description #=> String
6071
+ # resp.next_token #=> String
6072
+ #
6073
+ # @overload list_audit_suppressions(params = {})
6074
+ # @param [Hash] params ({})
6075
+ def list_audit_suppressions(params = {}, options = {})
6076
+ req = build_request(:list_audit_suppressions, params)
6077
+ req.send_request(options)
6078
+ end
6079
+
5746
6080
  # Lists the Device Defender audits that have been performed during a
5747
6081
  # given time period.
5748
6082
  #
5749
6083
  # @option params [required, Time,DateTime,Date,Integer,String] :start_time
5750
6084
  # The beginning of the time period. Audit information is retained for a
5751
- # limited time (180 days). Requesting a start time prior to what is
6085
+ # limited time (90 days). Requesting a start time prior to what is
5752
6086
  # retained results in an "InvalidRequestException".
5753
6087
  #
5754
6088
  # @option params [required, Time,DateTime,Date,Integer,String] :end_time
@@ -5775,6 +6109,8 @@ module Aws::IoT
5775
6109
  # * {Types::ListAuditTasksResponse#tasks #tasks} => Array<Types::AuditTaskMetadata>
5776
6110
  # * {Types::ListAuditTasksResponse#next_token #next_token} => String
5777
6111
  #
6112
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6113
+ #
5778
6114
  # @example Request syntax with placeholder values
5779
6115
  #
5780
6116
  # resp = client.list_audit_tasks({
@@ -5820,6 +6156,8 @@ module Aws::IoT
5820
6156
  # * {Types::ListAuthorizersResponse#authorizers #authorizers} => Array<Types::AuthorizerSummary>
5821
6157
  # * {Types::ListAuthorizersResponse#next_marker #next_marker} => String
5822
6158
  #
6159
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6160
+ #
5823
6161
  # @example Request syntax with placeholder values
5824
6162
  #
5825
6163
  # resp = client.list_authorizers({
@@ -5859,6 +6197,8 @@ module Aws::IoT
5859
6197
  # * {Types::ListBillingGroupsResponse#billing_groups #billing_groups} => Array<Types::GroupNameAndArn>
5860
6198
  # * {Types::ListBillingGroupsResponse#next_token #next_token} => String
5861
6199
  #
6200
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6201
+ #
5862
6202
  # @example Request syntax with placeholder values
5863
6203
  #
5864
6204
  # resp = client.list_billing_groups({
@@ -5900,6 +6240,8 @@ module Aws::IoT
5900
6240
  # * {Types::ListCACertificatesResponse#certificates #certificates} => Array<Types::CACertificate>
5901
6241
  # * {Types::ListCACertificatesResponse#next_marker #next_marker} => String
5902
6242
  #
6243
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6244
+ #
5903
6245
  # @example Request syntax with placeholder values
5904
6246
  #
5905
6247
  # resp = client.list_ca_certificates({
@@ -5944,6 +6286,8 @@ module Aws::IoT
5944
6286
  # * {Types::ListCertificatesResponse#certificates #certificates} => Array<Types::Certificate>
5945
6287
  # * {Types::ListCertificatesResponse#next_marker #next_marker} => String
5946
6288
  #
6289
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6290
+ #
5947
6291
  # @example Request syntax with placeholder values
5948
6292
  #
5949
6293
  # resp = client.list_certificates({
@@ -5990,6 +6334,8 @@ module Aws::IoT
5990
6334
  # * {Types::ListCertificatesByCAResponse#certificates #certificates} => Array<Types::Certificate>
5991
6335
  # * {Types::ListCertificatesByCAResponse#next_marker #next_marker} => String
5992
6336
  #
6337
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6338
+ #
5993
6339
  # @example Request syntax with placeholder values
5994
6340
  #
5995
6341
  # resp = client.list_certificates_by_ca({
@@ -6029,6 +6375,8 @@ module Aws::IoT
6029
6375
  # * {Types::ListDimensionsResponse#dimension_names #dimension_names} => Array<String>
6030
6376
  # * {Types::ListDimensionsResponse#next_token #next_token} => String
6031
6377
  #
6378
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6379
+ #
6032
6380
  # @example Request syntax with placeholder values
6033
6381
  #
6034
6382
  # resp = client.list_dimensions({
@@ -6071,6 +6419,8 @@ module Aws::IoT
6071
6419
  # * {Types::ListDomainConfigurationsResponse#domain_configurations #domain_configurations} => Array<Types::DomainConfigurationSummary>
6072
6420
  # * {Types::ListDomainConfigurationsResponse#next_marker #next_marker} => String
6073
6421
  #
6422
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6423
+ #
6074
6424
  # @example Request syntax with placeholder values
6075
6425
  #
6076
6426
  # resp = client.list_domain_configurations({
@@ -6108,6 +6458,8 @@ module Aws::IoT
6108
6458
  # * {Types::ListIndicesResponse#index_names #index_names} => Array<String>
6109
6459
  # * {Types::ListIndicesResponse#next_token #next_token} => String
6110
6460
  #
6461
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6462
+ #
6111
6463
  # @example Request syntax with placeholder values
6112
6464
  #
6113
6465
  # resp = client.list_indices({
@@ -6147,6 +6499,8 @@ module Aws::IoT
6147
6499
  # * {Types::ListJobExecutionsForJobResponse#execution_summaries #execution_summaries} => Array<Types::JobExecutionSummaryForJob>
6148
6500
  # * {Types::ListJobExecutionsForJobResponse#next_token #next_token} => String
6149
6501
  #
6502
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6503
+ #
6150
6504
  # @example Request syntax with placeholder values
6151
6505
  #
6152
6506
  # resp = client.list_job_executions_for_job({
@@ -6194,6 +6548,8 @@ module Aws::IoT
6194
6548
  # * {Types::ListJobExecutionsForThingResponse#execution_summaries #execution_summaries} => Array<Types::JobExecutionSummaryForThing>
6195
6549
  # * {Types::ListJobExecutionsForThingResponse#next_token #next_token} => String
6196
6550
  #
6551
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6552
+ #
6197
6553
  # @example Request syntax with placeholder values
6198
6554
  #
6199
6555
  # resp = client.list_job_executions_for_thing({
@@ -6254,6 +6610,8 @@ module Aws::IoT
6254
6610
  # * {Types::ListJobsResponse#jobs #jobs} => Array<Types::JobSummary>
6255
6611
  # * {Types::ListJobsResponse#next_token #next_token} => String
6256
6612
  #
6613
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6614
+ #
6257
6615
  # @example Request syntax with placeholder values
6258
6616
  #
6259
6617
  # resp = client.list_jobs({
@@ -6304,6 +6662,8 @@ module Aws::IoT
6304
6662
  # * {Types::ListMitigationActionsResponse#action_identifiers #action_identifiers} => Array<Types::MitigationActionIdentifier>
6305
6663
  # * {Types::ListMitigationActionsResponse#next_token #next_token} => String
6306
6664
  #
6665
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6666
+ #
6307
6667
  # @example Request syntax with placeholder values
6308
6668
  #
6309
6669
  # resp = client.list_mitigation_actions({
@@ -6343,6 +6703,8 @@ module Aws::IoT
6343
6703
  # * {Types::ListOTAUpdatesResponse#ota_updates #ota_updates} => Array<Types::OTAUpdateSummary>
6344
6704
  # * {Types::ListOTAUpdatesResponse#next_token #next_token} => String
6345
6705
  #
6706
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6707
+ #
6346
6708
  # @example Request syntax with placeholder values
6347
6709
  #
6348
6710
  # resp = client.list_ota_updates({
@@ -6383,6 +6745,8 @@ module Aws::IoT
6383
6745
  # * {Types::ListOutgoingCertificatesResponse#outgoing_certificates #outgoing_certificates} => Array<Types::OutgoingCertificate>
6384
6746
  # * {Types::ListOutgoingCertificatesResponse#next_marker #next_marker} => String
6385
6747
  #
6748
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6749
+ #
6386
6750
  # @example Request syntax with placeholder values
6387
6751
  #
6388
6752
  # resp = client.list_outgoing_certificates({
@@ -6426,6 +6790,8 @@ module Aws::IoT
6426
6790
  # * {Types::ListPoliciesResponse#policies #policies} => Array<Types::Policy>
6427
6791
  # * {Types::ListPoliciesResponse#next_marker #next_marker} => String
6428
6792
  #
6793
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6794
+ #
6429
6795
  # @example Request syntax with placeholder values
6430
6796
  #
6431
6797
  # resp = client.list_policies({
@@ -6471,6 +6837,8 @@ module Aws::IoT
6471
6837
  # * {Types::ListPolicyPrincipalsResponse#principals #principals} => Array<String>
6472
6838
  # * {Types::ListPolicyPrincipalsResponse#next_marker #next_marker} => String
6473
6839
  #
6840
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6841
+ #
6474
6842
  # @example Request syntax with placeholder values
6475
6843
  #
6476
6844
  # resp = client.list_policy_principals({
@@ -6535,7 +6903,11 @@ module Aws::IoT
6535
6903
  # [1]: https://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_GetCredentialsForIdentity.html#API_GetCredentialsForIdentity_RequestSyntax
6536
6904
  #
6537
6905
  # @option params [required, String] :principal
6538
- # The principal.
6906
+ # The principal. Valid principals are CertificateArn
6907
+ # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
6908
+ # thingGroupArn
6909
+ # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
6910
+ # CognitoId (*region*\:*id*).
6539
6911
  #
6540
6912
  # @option params [String] :marker
6541
6913
  # The marker for the next set of results.
@@ -6552,6 +6924,8 @@ module Aws::IoT
6552
6924
  # * {Types::ListPrincipalPoliciesResponse#policies #policies} => Array<Types::Policy>
6553
6925
  # * {Types::ListPrincipalPoliciesResponse#next_marker #next_marker} => String
6554
6926
  #
6927
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6928
+ #
6555
6929
  # @example Request syntax with placeholder values
6556
6930
  #
6557
6931
  # resp = client.list_principal_policies({
@@ -6593,6 +6967,8 @@ module Aws::IoT
6593
6967
  # * {Types::ListPrincipalThingsResponse#things #things} => Array<String>
6594
6968
  # * {Types::ListPrincipalThingsResponse#next_token #next_token} => String
6595
6969
  #
6970
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6971
+ #
6596
6972
  # @example Request syntax with placeholder values
6597
6973
  #
6598
6974
  # resp = client.list_principal_things({
@@ -6630,6 +7006,8 @@ module Aws::IoT
6630
7006
  # * {Types::ListProvisioningTemplateVersionsResponse#versions #versions} => Array<Types::ProvisioningTemplateVersionSummary>
6631
7007
  # * {Types::ListProvisioningTemplateVersionsResponse#next_token #next_token} => String
6632
7008
  #
7009
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7010
+ #
6633
7011
  # @example Request syntax with placeholder values
6634
7012
  #
6635
7013
  # resp = client.list_provisioning_template_versions({
@@ -6666,6 +7044,8 @@ module Aws::IoT
6666
7044
  # * {Types::ListProvisioningTemplatesResponse#templates #templates} => Array<Types::ProvisioningTemplateSummary>
6667
7045
  # * {Types::ListProvisioningTemplatesResponse#next_token #next_token} => String
6668
7046
  #
7047
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7048
+ #
6669
7049
  # @example Request syntax with placeholder values
6670
7050
  #
6671
7051
  # resp = client.list_provisioning_templates({
@@ -6707,6 +7087,8 @@ module Aws::IoT
6707
7087
  # * {Types::ListRoleAliasesResponse#role_aliases #role_aliases} => Array<String>
6708
7088
  # * {Types::ListRoleAliasesResponse#next_marker #next_marker} => String
6709
7089
  #
7090
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7091
+ #
6710
7092
  # @example Request syntax with placeholder values
6711
7093
  #
6712
7094
  # resp = client.list_role_aliases({
@@ -6742,6 +7124,8 @@ module Aws::IoT
6742
7124
  # * {Types::ListScheduledAuditsResponse#scheduled_audits #scheduled_audits} => Array<Types::ScheduledAuditMetadata>
6743
7125
  # * {Types::ListScheduledAuditsResponse#next_token #next_token} => String
6744
7126
  #
7127
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7128
+ #
6745
7129
  # @example Request syntax with placeholder values
6746
7130
  #
6747
7131
  # resp = client.list_scheduled_audits({
@@ -6785,6 +7169,8 @@ module Aws::IoT
6785
7169
  # * {Types::ListSecurityProfilesResponse#security_profile_identifiers #security_profile_identifiers} => Array<Types::SecurityProfileIdentifier>
6786
7170
  # * {Types::ListSecurityProfilesResponse#next_token #next_token} => String
6787
7171
  #
7172
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7173
+ #
6788
7174
  # @example Request syntax with placeholder values
6789
7175
  #
6790
7176
  # resp = client.list_security_profiles({
@@ -6828,6 +7214,8 @@ module Aws::IoT
6828
7214
  # * {Types::ListSecurityProfilesForTargetResponse#security_profile_target_mappings #security_profile_target_mappings} => Array<Types::SecurityProfileTargetMapping>
6829
7215
  # * {Types::ListSecurityProfilesForTargetResponse#next_token #next_token} => String
6830
7216
  #
7217
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7218
+ #
6831
7219
  # @example Request syntax with placeholder values
6832
7220
  #
6833
7221
  # resp = client.list_security_profiles_for_target({
@@ -6868,6 +7256,8 @@ module Aws::IoT
6868
7256
  # * {Types::ListStreamsResponse#streams #streams} => Array<Types::StreamSummary>
6869
7257
  # * {Types::ListStreamsResponse#next_token #next_token} => String
6870
7258
  #
7259
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7260
+ #
6871
7261
  # @example Request syntax with placeholder values
6872
7262
  #
6873
7263
  # resp = client.list_streams({
@@ -6905,6 +7295,8 @@ module Aws::IoT
6905
7295
  # * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::Tag>
6906
7296
  # * {Types::ListTagsForResourceResponse#next_token #next_token} => String
6907
7297
  #
7298
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7299
+ #
6908
7300
  # @example Request syntax with placeholder values
6909
7301
  #
6910
7302
  # resp = client.list_tags_for_resource({
@@ -6942,6 +7334,8 @@ module Aws::IoT
6942
7334
  # * {Types::ListTargetsForPolicyResponse#targets #targets} => Array<String>
6943
7335
  # * {Types::ListTargetsForPolicyResponse#next_marker #next_marker} => String
6944
7336
  #
7337
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7338
+ #
6945
7339
  # @example Request syntax with placeholder values
6946
7340
  #
6947
7341
  # resp = client.list_targets_for_policy({
@@ -6980,6 +7374,8 @@ module Aws::IoT
6980
7374
  # * {Types::ListTargetsForSecurityProfileResponse#security_profile_targets #security_profile_targets} => Array<Types::SecurityProfileTarget>
6981
7375
  # * {Types::ListTargetsForSecurityProfileResponse#next_token #next_token} => String
6982
7376
  #
7377
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7378
+ #
6983
7379
  # @example Request syntax with placeholder values
6984
7380
  #
6985
7381
  # resp = client.list_targets_for_security_profile({
@@ -7025,6 +7421,8 @@ module Aws::IoT
7025
7421
  # * {Types::ListThingGroupsResponse#thing_groups #thing_groups} => Array<Types::GroupNameAndArn>
7026
7422
  # * {Types::ListThingGroupsResponse#next_token #next_token} => String
7027
7423
  #
7424
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7425
+ #
7028
7426
  # @example Request syntax with placeholder values
7029
7427
  #
7030
7428
  # resp = client.list_thing_groups({
@@ -7065,6 +7463,8 @@ module Aws::IoT
7065
7463
  # * {Types::ListThingGroupsForThingResponse#thing_groups #thing_groups} => Array<Types::GroupNameAndArn>
7066
7464
  # * {Types::ListThingGroupsForThingResponse#next_token #next_token} => String
7067
7465
  #
7466
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7467
+ #
7068
7468
  # @example Request syntax with placeholder values
7069
7469
  #
7070
7470
  # resp = client.list_thing_groups_for_thing({
@@ -7136,6 +7536,8 @@ module Aws::IoT
7136
7536
  # * {Types::ListThingRegistrationTaskReportsResponse#report_type #report_type} => String
7137
7537
  # * {Types::ListThingRegistrationTaskReportsResponse#next_token #next_token} => String
7138
7538
  #
7539
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7540
+ #
7139
7541
  # @example Request syntax with placeholder values
7140
7542
  #
7141
7543
  # resp = client.list_thing_registration_task_reports({
@@ -7175,6 +7577,8 @@ module Aws::IoT
7175
7577
  # * {Types::ListThingRegistrationTasksResponse#task_ids #task_ids} => Array<String>
7176
7578
  # * {Types::ListThingRegistrationTasksResponse#next_token #next_token} => String
7177
7579
  #
7580
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7581
+ #
7178
7582
  # @example Request syntax with placeholder values
7179
7583
  #
7180
7584
  # resp = client.list_thing_registration_tasks({
@@ -7212,6 +7616,8 @@ module Aws::IoT
7212
7616
  # * {Types::ListThingTypesResponse#thing_types #thing_types} => Array<Types::ThingTypeDefinition>
7213
7617
  # * {Types::ListThingTypesResponse#next_token #next_token} => String
7214
7618
  #
7619
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7620
+ #
7215
7621
  # @example Request syntax with placeholder values
7216
7622
  #
7217
7623
  # resp = client.list_thing_types({
@@ -7246,6 +7652,13 @@ module Aws::IoT
7246
7652
  # in the registry that contain an attribute **Color** with the value
7247
7653
  # **Red**.
7248
7654
  #
7655
+ # <note markdown="1"> You will not be charged for calling this API if an `Access denied`
7656
+ # error is returned. You will also not be charged if no attributes or
7657
+ # pagination token was provided in request and no pagination token and
7658
+ # no results were returned.
7659
+ #
7660
+ # </note>
7661
+ #
7249
7662
  # @option params [String] :next_token
7250
7663
  # The token to retrieve the next set of results.
7251
7664
  #
@@ -7266,6 +7679,8 @@ module Aws::IoT
7266
7679
  # * {Types::ListThingsResponse#things #things} => Array&lt;Types::ThingAttribute&gt;
7267
7680
  # * {Types::ListThingsResponse#next_token #next_token} => String
7268
7681
  #
7682
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7683
+ #
7269
7684
  # @example Request syntax with placeholder values
7270
7685
  #
7271
7686
  # resp = client.list_things({
@@ -7310,6 +7725,8 @@ module Aws::IoT
7310
7725
  # * {Types::ListThingsInBillingGroupResponse#things #things} => Array&lt;String&gt;
7311
7726
  # * {Types::ListThingsInBillingGroupResponse#next_token #next_token} => String
7312
7727
  #
7728
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7729
+ #
7313
7730
  # @example Request syntax with placeholder values
7314
7731
  #
7315
7732
  # resp = client.list_things_in_billing_group({
@@ -7351,6 +7768,8 @@ module Aws::IoT
7351
7768
  # * {Types::ListThingsInThingGroupResponse#things #things} => Array&lt;String&gt;
7352
7769
  # * {Types::ListThingsInThingGroupResponse#next_token #next_token} => String
7353
7770
  #
7771
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7772
+ #
7354
7773
  # @example Request syntax with placeholder values
7355
7774
  #
7356
7775
  # resp = client.list_things_in_thing_group({
@@ -7386,6 +7805,8 @@ module Aws::IoT
7386
7805
  # * {Types::ListTopicRuleDestinationsResponse#destination_summaries #destination_summaries} => Array&lt;Types::TopicRuleDestinationSummary&gt;
7387
7806
  # * {Types::ListTopicRuleDestinationsResponse#next_token #next_token} => String
7388
7807
  #
7808
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7809
+ #
7389
7810
  # @example Request syntax with placeholder values
7390
7811
  #
7391
7812
  # resp = client.list_topic_rule_destinations({
@@ -7428,6 +7849,8 @@ module Aws::IoT
7428
7849
  # * {Types::ListTopicRulesResponse#rules #rules} => Array&lt;Types::TopicRuleListItem&gt;
7429
7850
  # * {Types::ListTopicRulesResponse#next_token #next_token} => String
7430
7851
  #
7852
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7853
+ #
7431
7854
  # @example Request syntax with placeholder values
7432
7855
  #
7433
7856
  # resp = client.list_topic_rules({
@@ -7472,6 +7895,8 @@ module Aws::IoT
7472
7895
  # * {Types::ListV2LoggingLevelsResponse#log_target_configurations #log_target_configurations} => Array&lt;Types::LogTargetConfiguration&gt;
7473
7896
  # * {Types::ListV2LoggingLevelsResponse#next_token #next_token} => String
7474
7897
  #
7898
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7899
+ #
7475
7900
  # @example Request syntax with placeholder values
7476
7901
  #
7477
7902
  # resp = client.list_v2_logging_levels({
@@ -7525,6 +7950,8 @@ module Aws::IoT
7525
7950
  # * {Types::ListViolationEventsResponse#violation_events #violation_events} => Array&lt;Types::ViolationEvent&gt;
7526
7951
  # * {Types::ListViolationEventsResponse#next_token #next_token} => String
7527
7952
  #
7953
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7954
+ #
7528
7955
  # @example Request syntax with placeholder values
7529
7956
  #
7530
7957
  # resp = client.list_violation_events({
@@ -8024,6 +8451,21 @@ module Aws::IoT
8024
8451
  # state_machine_name: "StateMachineName", # required
8025
8452
  # role_arn: "AwsArn", # required
8026
8453
  # },
8454
+ # timestream: {
8455
+ # role_arn: "AwsArn", # required
8456
+ # database_name: "TimestreamDatabaseName", # required
8457
+ # table_name: "TimestreamTableName", # required
8458
+ # dimensions: [ # required
8459
+ # {
8460
+ # name: "TimestreamDimensionName", # required
8461
+ # value: "TimestreamDimensionValue", # required
8462
+ # },
8463
+ # ],
8464
+ # timestamp: {
8465
+ # value: "TimestreamTimestampValue", # required
8466
+ # unit: "TimestreamTimestampUnit", # required
8467
+ # },
8468
+ # },
8027
8469
  # http: {
8028
8470
  # url: "Url", # required
8029
8471
  # confirmation_url: "Url",
@@ -8168,6 +8610,21 @@ module Aws::IoT
8168
8610
  # state_machine_name: "StateMachineName", # required
8169
8611
  # role_arn: "AwsArn", # required
8170
8612
  # },
8613
+ # timestream: {
8614
+ # role_arn: "AwsArn", # required
8615
+ # database_name: "TimestreamDatabaseName", # required
8616
+ # table_name: "TimestreamTableName", # required
8617
+ # dimensions: [ # required
8618
+ # {
8619
+ # name: "TimestreamDimensionName", # required
8620
+ # value: "TimestreamDimensionValue", # required
8621
+ # },
8622
+ # ],
8623
+ # timestamp: {
8624
+ # value: "TimestreamTimestampValue", # required
8625
+ # unit: "TimestreamTimestampUnit", # required
8626
+ # },
8627
+ # },
8171
8628
  # http: {
8172
8629
  # url: "Url", # required
8173
8630
  # confirmation_url: "Url",
@@ -8580,7 +9037,11 @@ module Aws::IoT
8580
9037
  # gateway.
8581
9038
  #
8582
9039
  # @option params [String] :principal
8583
- # The principal.
9040
+ # The principal. Valid principals are CertificateArn
9041
+ # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
9042
+ # thingGroupArn
9043
+ # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
9044
+ # CognitoId (*region*\:*id*).
8584
9045
  #
8585
9046
  # @option params [String] :cognito_identity_pool_id
8586
9047
  # The Cognito identity pool ID.
@@ -8840,6 +9301,58 @@ module Aws::IoT
8840
9301
  req.send_request(options)
8841
9302
  end
8842
9303
 
9304
+ # Updates a Device Defender audit suppression.
9305
+ #
9306
+ # @option params [required, String] :check_name
9307
+ # An audit check name. Checks must be enabled for your account. (Use
9308
+ # `DescribeAccountAuditConfiguration` to see the list of all checks,
9309
+ # including those that are enabled or use
9310
+ # `UpdateAccountAuditConfiguration` to select which checks are enabled.)
9311
+ #
9312
+ # @option params [required, Types::ResourceIdentifier] :resource_identifier
9313
+ # Information that identifies the noncompliant resource.
9314
+ #
9315
+ # @option params [Time,DateTime,Date,Integer,String] :expiration_date
9316
+ # The expiration date (epoch timestamp in seconds) that you want the
9317
+ # suppression to adhere to.
9318
+ #
9319
+ # @option params [Boolean] :suppress_indefinitely
9320
+ # Indicates whether a suppression should exist indefinitely or not.
9321
+ #
9322
+ # @option params [String] :description
9323
+ # The description of the audit suppression.
9324
+ #
9325
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
9326
+ #
9327
+ # @example Request syntax with placeholder values
9328
+ #
9329
+ # resp = client.update_audit_suppression({
9330
+ # check_name: "AuditCheckName", # required
9331
+ # resource_identifier: { # required
9332
+ # device_certificate_id: "CertificateId",
9333
+ # ca_certificate_id: "CertificateId",
9334
+ # cognito_identity_pool_id: "CognitoIdentityPoolId",
9335
+ # client_id: "ClientId",
9336
+ # policy_version_identifier: {
9337
+ # policy_name: "PolicyName",
9338
+ # policy_version_id: "PolicyVersionId",
9339
+ # },
9340
+ # account: "AwsAccountId",
9341
+ # iam_role_arn: "RoleArn",
9342
+ # role_alias_arn: "RoleAliasArn",
9343
+ # },
9344
+ # expiration_date: Time.now,
9345
+ # suppress_indefinitely: false,
9346
+ # description: "AuditDescription",
9347
+ # })
9348
+ #
9349
+ # @overload update_audit_suppression(params = {})
9350
+ # @param [Hash] params ({})
9351
+ def update_audit_suppression(params = {}, options = {})
9352
+ req = build_request(:update_audit_suppression, params)
9353
+ req.send_request(options)
9354
+ end
9355
+
8843
9356
  # Updates an authorizer.
8844
9357
  #
8845
9358
  # @option params [required, String] :authorizer_name
@@ -8971,12 +9484,13 @@ module Aws::IoT
8971
9484
  # Updates the status of the specified certificate. This operation is
8972
9485
  # idempotent.
8973
9486
  #
8974
- # Moving a certificate from the ACTIVE state (including REVOKED) will
8975
- # not disconnect currently connected devices, but these devices will be
8976
- # unable to reconnect.
9487
+ # Certificates must be in the ACTIVE state to authenticate devices that
9488
+ # use a certificate to connect to AWS IoT.
8977
9489
  #
8978
- # The ACTIVE state is required to authenticate devices connecting to AWS
8979
- # IoT using a certificate.
9490
+ # Within a few minutes of updating a certificate from the ACTIVE state
9491
+ # to any other state, AWS IoT disconnects all devices that used that
9492
+ # certificate to connect. Devices cannot use a certificate that is not
9493
+ # in the ACTIVE state to reconnect.
8980
9494
  #
8981
9495
  # @option params [required, String] :certificate_id
8982
9496
  # The ID of the certificate. (The last part of the certificate ARN
@@ -9969,7 +10483,7 @@ module Aws::IoT
9969
10483
  params: params,
9970
10484
  config: config)
9971
10485
  context[:gem_name] = 'aws-sdk-iot'
9972
- context[:gem_version] = '1.53.0'
10486
+ context[:gem_version] = '1.58.0'
9973
10487
  Seahorse::Client::Request.new(handlers, context)
9974
10488
  end
9975
10489