aws-sdk-iot 1.54.0 → 1.59.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: a4394dd35da5f9a54e44e6ea555f31e9945d61adc50802a0fdf05bf7bb8aaa57
4
- data.tar.gz: 97213885a6d71516a6e7febbbaca52ea26a0546a722dccc90a2b88fc2748fd3b
3
+ metadata.gz: ab7824aa7d6f7254404e0bfcb0bdb6f9f4016af28948086b81e3021442bb7d68
4
+ data.tar.gz: 2add98c241dda9ffb0eff5c68dd1c2a57ae604acae884c1dc3a1c0a99d50b914
5
5
  SHA512:
6
- metadata.gz: f80072f13e0b574bee87c90dfadd9ff88fde6ba31aafe833bf8d5ba69653def38f83b59f63fed5843e9a153ec9bdfdeca8573c87ae7eec3a69d7298e8ac120b5
7
- data.tar.gz: 0ef2fdb69f3b59a8efb609d66efe35fb292e65f1003fbd8c89837e232fa86d187eefb63c1ed2ec31ecff715764912b5972ae0a13f4be526a19382f128b21d815
6
+ metadata.gz: 6c2c9c7f8901d548908431f29f76214e42a11edacd55e3d50ed16b296662ab7b9354e525da55ab19761bf6431ade9311e749a3fe0744c035ea630d8826e33376
7
+ data.tar.gz: c8dc7e1f90d1e7b80ef74f9b92858d724e5b3817b70afa89a5b1004949a1535805eb235f562cd6ab230a595a381776d0b325f9fa96bb024e956eda7e8ef018be
@@ -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.54.0'
51
+ GEM_VERSION = '1.59.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
@@ -2022,13 +2101,13 @@ module Aws::IoT
2022
2101
  # (thing) violates a behavior.
2023
2102
  #
2024
2103
  # @option params [Array<String>] :additional_metrics_to_retain
2104
+ # *Please use CreateSecurityProfileRequest$additionalMetricsToRetainV2
2105
+ # instead.*
2106
+ #
2025
2107
  # A list of metrics whose data is retained (stored). By default, data is
2026
2108
  # retained for any metric used in the profile's `behaviors`, but it is
2027
2109
  # also retained for any metric specified here.
2028
2110
  #
2029
- # **Note:** This API field is deprecated. Please use
2030
- # CreateSecurityProfileRequest$additionalMetricsToRetainV2 instead.
2031
- #
2032
2111
  # @option params [Array<Types::MetricToRetain>] :additional_metrics_to_retain_v2
2033
2112
  # A list of metrics whose data is retained (stored). By default, data is
2034
2113
  # retained for any metric used in the profile's `behaviors`, but it is
@@ -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
  #
@@ -3863,6 +4074,7 @@ module Aws::IoT
3863
4074
  # * {Types::DescribeDomainConfigurationResponse#domain_configuration_status #domain_configuration_status} => String
3864
4075
  # * {Types::DescribeDomainConfigurationResponse#service_type #service_type} => String
3865
4076
  # * {Types::DescribeDomainConfigurationResponse#domain_type #domain_type} => String
4077
+ # * {Types::DescribeDomainConfigurationResponse#last_status_change_date #last_status_change_date} => Time
3866
4078
  #
3867
4079
  # @example Request syntax with placeholder values
3868
4080
  #
@@ -3884,6 +4096,7 @@ module Aws::IoT
3884
4096
  # resp.domain_configuration_status #=> String, one of "ENABLED", "DISABLED"
3885
4097
  # resp.service_type #=> String, one of "DATA", "CREDENTIAL_PROVIDER", "JOBS"
3886
4098
  # resp.domain_type #=> String, one of "ENDPOINT", "AWS_MANAGED", "CUSTOMER_MANAGED"
4099
+ # resp.last_status_change_date #=> Time
3887
4100
  #
3888
4101
  # @overload describe_domain_configuration(params = {})
3889
4102
  # @param [Hash] params ({})
@@ -4614,8 +4827,11 @@ module Aws::IoT
4614
4827
  # @option params [required, String] :principal
4615
4828
  # The principal.
4616
4829
  #
4617
- # If the principal is a certificate, specify the certificate ARN. If the
4618
- # principal is an Amazon Cognito identity, specify the identity ID.
4830
+ # Valid principals are CertificateArn
4831
+ # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
4832
+ # thingGroupArn
4833
+ # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
4834
+ # CognitoId (*region*\:*id*).
4619
4835
  #
4620
4836
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4621
4837
  #
@@ -4775,7 +4991,11 @@ module Aws::IoT
4775
4991
  # device gateway.
4776
4992
  #
4777
4993
  # @option params [String] :principal
4778
- # The principal.
4994
+ # The principal. Valid principals are CertificateArn
4995
+ # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
4996
+ # thingGroupArn
4997
+ # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
4998
+ # CognitoId (*region*\:*id*).
4779
4999
  #
4780
5000
  # @option params [String] :cognito_identity_pool_id
4781
5001
  # The Cognito identity pool ID.
@@ -5261,6 +5481,14 @@ module Aws::IoT
5261
5481
  # resp.rule.actions[0].step_functions.execution_name_prefix #=> String
5262
5482
  # resp.rule.actions[0].step_functions.state_machine_name #=> String
5263
5483
  # resp.rule.actions[0].step_functions.role_arn #=> String
5484
+ # resp.rule.actions[0].timestream.role_arn #=> String
5485
+ # resp.rule.actions[0].timestream.database_name #=> String
5486
+ # resp.rule.actions[0].timestream.table_name #=> String
5487
+ # resp.rule.actions[0].timestream.dimensions #=> Array
5488
+ # resp.rule.actions[0].timestream.dimensions[0].name #=> String
5489
+ # resp.rule.actions[0].timestream.dimensions[0].value #=> String
5490
+ # resp.rule.actions[0].timestream.timestamp.value #=> String
5491
+ # resp.rule.actions[0].timestream.timestamp.unit #=> String
5264
5492
  # resp.rule.actions[0].http.url #=> String
5265
5493
  # resp.rule.actions[0].http.confirmation_url #=> String
5266
5494
  # resp.rule.actions[0].http.headers #=> Array
@@ -5345,6 +5573,14 @@ module Aws::IoT
5345
5573
  # resp.rule.error_action.step_functions.execution_name_prefix #=> String
5346
5574
  # resp.rule.error_action.step_functions.state_machine_name #=> String
5347
5575
  # resp.rule.error_action.step_functions.role_arn #=> String
5576
+ # resp.rule.error_action.timestream.role_arn #=> String
5577
+ # resp.rule.error_action.timestream.database_name #=> String
5578
+ # resp.rule.error_action.timestream.table_name #=> String
5579
+ # resp.rule.error_action.timestream.dimensions #=> Array
5580
+ # resp.rule.error_action.timestream.dimensions[0].name #=> String
5581
+ # resp.rule.error_action.timestream.dimensions[0].value #=> String
5582
+ # resp.rule.error_action.timestream.timestamp.value #=> String
5583
+ # resp.rule.error_action.timestream.timestamp.unit #=> String
5348
5584
  # resp.rule.error_action.http.url #=> String
5349
5585
  # resp.rule.error_action.http.confirmation_url #=> String
5350
5586
  # resp.rule.error_action.http.headers #=> Array
@@ -5432,6 +5668,8 @@ module Aws::IoT
5432
5668
  # * {Types::ListActiveViolationsResponse#active_violations #active_violations} => Array&lt;Types::ActiveViolation&gt;
5433
5669
  # * {Types::ListActiveViolationsResponse#next_token #next_token} => String
5434
5670
  #
5671
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5672
+ #
5435
5673
  # @example Request syntax with placeholder values
5436
5674
  #
5437
5675
  # resp = client.list_active_violations({
@@ -5480,7 +5718,12 @@ module Aws::IoT
5480
5718
  # Lists the policies attached to the specified thing group.
5481
5719
  #
5482
5720
  # @option params [required, String] :target
5483
- # The group or principal for which the policies will be listed.
5721
+ # The group or principal for which the policies will be listed. Valid
5722
+ # principals are CertificateArn
5723
+ # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
5724
+ # thingGroupArn
5725
+ # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
5726
+ # CognitoId (*region*\:*id*).
5484
5727
  #
5485
5728
  # @option params [Boolean] :recursive
5486
5729
  # When true, recursively list attached policies.
@@ -5496,6 +5739,8 @@ module Aws::IoT
5496
5739
  # * {Types::ListAttachedPoliciesResponse#policies #policies} => Array&lt;Types::Policy&gt;
5497
5740
  # * {Types::ListAttachedPoliciesResponse#next_marker #next_marker} => String
5498
5741
  #
5742
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5743
+ #
5499
5744
  # @example Request syntax with placeholder values
5500
5745
  #
5501
5746
  # resp = client.list_attached_policies({
@@ -5521,7 +5766,7 @@ module Aws::IoT
5521
5766
 
5522
5767
  # Lists the findings (results) of a Device Defender audit or of the
5523
5768
  # audits performed during a specified time period. (Findings are
5524
- # retained for 180 days.)
5769
+ # retained for 90 days.)
5525
5770
  #
5526
5771
  # @option params [String] :task_id
5527
5772
  # A filter to limit results to the audit with the specified ID. You must
@@ -5551,11 +5796,19 @@ module Aws::IoT
5551
5796
  # You must specify either the startTime and endTime or the taskId, but
5552
5797
  # not both.
5553
5798
  #
5799
+ # @option params [Boolean] :list_suppressed_findings
5800
+ # Boolean flag indicating whether only the suppressed findings or the
5801
+ # unsuppressed findings should be listed. If this parameter isn't
5802
+ # provided, the response will list both suppressed and unsuppressed
5803
+ # findings.
5804
+ #
5554
5805
  # @return [Types::ListAuditFindingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5555
5806
  #
5556
5807
  # * {Types::ListAuditFindingsResponse#findings #findings} => Array&lt;Types::AuditFinding&gt;
5557
5808
  # * {Types::ListAuditFindingsResponse#next_token #next_token} => String
5558
5809
  #
5810
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5811
+ #
5559
5812
  # @example Request syntax with placeholder values
5560
5813
  #
5561
5814
  # resp = client.list_audit_findings({
@@ -5578,6 +5831,7 @@ module Aws::IoT
5578
5831
  # next_token: "NextToken",
5579
5832
  # start_time: Time.now,
5580
5833
  # end_time: Time.now,
5834
+ # list_suppressed_findings: false,
5581
5835
  # })
5582
5836
  #
5583
5837
  # @example Response structure
@@ -5616,6 +5870,7 @@ module Aws::IoT
5616
5870
  # resp.findings[0].related_resources[0].additional_info["String"] #=> String
5617
5871
  # resp.findings[0].reason_for_non_compliance #=> String
5618
5872
  # resp.findings[0].reason_for_non_compliance_code #=> String
5873
+ # resp.findings[0].is_suppressed #=> Boolean
5619
5874
  # resp.next_token #=> String
5620
5875
  #
5621
5876
  # @overload list_audit_findings(params = {})
@@ -5650,6 +5905,8 @@ module Aws::IoT
5650
5905
  # * {Types::ListAuditMitigationActionsExecutionsResponse#actions_executions #actions_executions} => Array&lt;Types::AuditMitigationActionExecutionMetadata&gt;
5651
5906
  # * {Types::ListAuditMitigationActionsExecutionsResponse#next_token #next_token} => String
5652
5907
  #
5908
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5909
+ #
5653
5910
  # @example Request syntax with placeholder values
5654
5911
  #
5655
5912
  # resp = client.list_audit_mitigation_actions_executions({
@@ -5716,6 +5973,8 @@ module Aws::IoT
5716
5973
  # * {Types::ListAuditMitigationActionsTasksResponse#tasks #tasks} => Array&lt;Types::AuditMitigationActionsTaskMetadata&gt;
5717
5974
  # * {Types::ListAuditMitigationActionsTasksResponse#next_token #next_token} => String
5718
5975
  #
5976
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5977
+ #
5719
5978
  # @example Request syntax with placeholder values
5720
5979
  #
5721
5980
  # resp = client.list_audit_mitigation_actions_tasks({
@@ -5743,12 +6002,89 @@ module Aws::IoT
5743
6002
  req.send_request(options)
5744
6003
  end
5745
6004
 
6005
+ # Lists your Device Defender audit listings.
6006
+ #
6007
+ # @option params [String] :check_name
6008
+ # An audit check name. Checks must be enabled for your account. (Use
6009
+ # `DescribeAccountAuditConfiguration` to see the list of all checks,
6010
+ # including those that are enabled or use
6011
+ # `UpdateAccountAuditConfiguration` to select which checks are enabled.)
6012
+ #
6013
+ # @option params [Types::ResourceIdentifier] :resource_identifier
6014
+ # Information that identifies the noncompliant resource.
6015
+ #
6016
+ # @option params [Boolean] :ascending_order
6017
+ # Determines whether suppressions are listed in ascending order by
6018
+ # expiration date or not. If parameter isn't provided,
6019
+ # `ascendingOrder=true`.
6020
+ #
6021
+ # @option params [String] :next_token
6022
+ # The token for the next set of results.
6023
+ #
6024
+ # @option params [Integer] :max_results
6025
+ # The maximum number of results to return at one time. The default is
6026
+ # 25.
6027
+ #
6028
+ # @return [Types::ListAuditSuppressionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6029
+ #
6030
+ # * {Types::ListAuditSuppressionsResponse#suppressions #suppressions} => Array&lt;Types::AuditSuppression&gt;
6031
+ # * {Types::ListAuditSuppressionsResponse#next_token #next_token} => String
6032
+ #
6033
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6034
+ #
6035
+ # @example Request syntax with placeholder values
6036
+ #
6037
+ # resp = client.list_audit_suppressions({
6038
+ # check_name: "AuditCheckName",
6039
+ # resource_identifier: {
6040
+ # device_certificate_id: "CertificateId",
6041
+ # ca_certificate_id: "CertificateId",
6042
+ # cognito_identity_pool_id: "CognitoIdentityPoolId",
6043
+ # client_id: "ClientId",
6044
+ # policy_version_identifier: {
6045
+ # policy_name: "PolicyName",
6046
+ # policy_version_id: "PolicyVersionId",
6047
+ # },
6048
+ # account: "AwsAccountId",
6049
+ # iam_role_arn: "RoleArn",
6050
+ # role_alias_arn: "RoleAliasArn",
6051
+ # },
6052
+ # ascending_order: false,
6053
+ # next_token: "NextToken",
6054
+ # max_results: 1,
6055
+ # })
6056
+ #
6057
+ # @example Response structure
6058
+ #
6059
+ # resp.suppressions #=> Array
6060
+ # resp.suppressions[0].check_name #=> String
6061
+ # resp.suppressions[0].resource_identifier.device_certificate_id #=> String
6062
+ # resp.suppressions[0].resource_identifier.ca_certificate_id #=> String
6063
+ # resp.suppressions[0].resource_identifier.cognito_identity_pool_id #=> String
6064
+ # resp.suppressions[0].resource_identifier.client_id #=> String
6065
+ # resp.suppressions[0].resource_identifier.policy_version_identifier.policy_name #=> String
6066
+ # resp.suppressions[0].resource_identifier.policy_version_identifier.policy_version_id #=> String
6067
+ # resp.suppressions[0].resource_identifier.account #=> String
6068
+ # resp.suppressions[0].resource_identifier.iam_role_arn #=> String
6069
+ # resp.suppressions[0].resource_identifier.role_alias_arn #=> String
6070
+ # resp.suppressions[0].expiration_date #=> Time
6071
+ # resp.suppressions[0].suppress_indefinitely #=> Boolean
6072
+ # resp.suppressions[0].description #=> String
6073
+ # resp.next_token #=> String
6074
+ #
6075
+ # @overload list_audit_suppressions(params = {})
6076
+ # @param [Hash] params ({})
6077
+ def list_audit_suppressions(params = {}, options = {})
6078
+ req = build_request(:list_audit_suppressions, params)
6079
+ req.send_request(options)
6080
+ end
6081
+
5746
6082
  # Lists the Device Defender audits that have been performed during a
5747
6083
  # given time period.
5748
6084
  #
5749
6085
  # @option params [required, Time,DateTime,Date,Integer,String] :start_time
5750
6086
  # 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
6087
+ # limited time (90 days). Requesting a start time prior to what is
5752
6088
  # retained results in an "InvalidRequestException".
5753
6089
  #
5754
6090
  # @option params [required, Time,DateTime,Date,Integer,String] :end_time
@@ -5775,6 +6111,8 @@ module Aws::IoT
5775
6111
  # * {Types::ListAuditTasksResponse#tasks #tasks} => Array&lt;Types::AuditTaskMetadata&gt;
5776
6112
  # * {Types::ListAuditTasksResponse#next_token #next_token} => String
5777
6113
  #
6114
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6115
+ #
5778
6116
  # @example Request syntax with placeholder values
5779
6117
  #
5780
6118
  # resp = client.list_audit_tasks({
@@ -5820,6 +6158,8 @@ module Aws::IoT
5820
6158
  # * {Types::ListAuthorizersResponse#authorizers #authorizers} => Array&lt;Types::AuthorizerSummary&gt;
5821
6159
  # * {Types::ListAuthorizersResponse#next_marker #next_marker} => String
5822
6160
  #
6161
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6162
+ #
5823
6163
  # @example Request syntax with placeholder values
5824
6164
  #
5825
6165
  # resp = client.list_authorizers({
@@ -5859,6 +6199,8 @@ module Aws::IoT
5859
6199
  # * {Types::ListBillingGroupsResponse#billing_groups #billing_groups} => Array&lt;Types::GroupNameAndArn&gt;
5860
6200
  # * {Types::ListBillingGroupsResponse#next_token #next_token} => String
5861
6201
  #
6202
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6203
+ #
5862
6204
  # @example Request syntax with placeholder values
5863
6205
  #
5864
6206
  # resp = client.list_billing_groups({
@@ -5900,6 +6242,8 @@ module Aws::IoT
5900
6242
  # * {Types::ListCACertificatesResponse#certificates #certificates} => Array&lt;Types::CACertificate&gt;
5901
6243
  # * {Types::ListCACertificatesResponse#next_marker #next_marker} => String
5902
6244
  #
6245
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6246
+ #
5903
6247
  # @example Request syntax with placeholder values
5904
6248
  #
5905
6249
  # resp = client.list_ca_certificates({
@@ -5944,6 +6288,8 @@ module Aws::IoT
5944
6288
  # * {Types::ListCertificatesResponse#certificates #certificates} => Array&lt;Types::Certificate&gt;
5945
6289
  # * {Types::ListCertificatesResponse#next_marker #next_marker} => String
5946
6290
  #
6291
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6292
+ #
5947
6293
  # @example Request syntax with placeholder values
5948
6294
  #
5949
6295
  # resp = client.list_certificates({
@@ -5990,6 +6336,8 @@ module Aws::IoT
5990
6336
  # * {Types::ListCertificatesByCAResponse#certificates #certificates} => Array&lt;Types::Certificate&gt;
5991
6337
  # * {Types::ListCertificatesByCAResponse#next_marker #next_marker} => String
5992
6338
  #
6339
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6340
+ #
5993
6341
  # @example Request syntax with placeholder values
5994
6342
  #
5995
6343
  # resp = client.list_certificates_by_ca({
@@ -6029,6 +6377,8 @@ module Aws::IoT
6029
6377
  # * {Types::ListDimensionsResponse#dimension_names #dimension_names} => Array&lt;String&gt;
6030
6378
  # * {Types::ListDimensionsResponse#next_token #next_token} => String
6031
6379
  #
6380
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6381
+ #
6032
6382
  # @example Request syntax with placeholder values
6033
6383
  #
6034
6384
  # resp = client.list_dimensions({
@@ -6071,6 +6421,8 @@ module Aws::IoT
6071
6421
  # * {Types::ListDomainConfigurationsResponse#domain_configurations #domain_configurations} => Array&lt;Types::DomainConfigurationSummary&gt;
6072
6422
  # * {Types::ListDomainConfigurationsResponse#next_marker #next_marker} => String
6073
6423
  #
6424
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6425
+ #
6074
6426
  # @example Request syntax with placeholder values
6075
6427
  #
6076
6428
  # resp = client.list_domain_configurations({
@@ -6108,6 +6460,8 @@ module Aws::IoT
6108
6460
  # * {Types::ListIndicesResponse#index_names #index_names} => Array&lt;String&gt;
6109
6461
  # * {Types::ListIndicesResponse#next_token #next_token} => String
6110
6462
  #
6463
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6464
+ #
6111
6465
  # @example Request syntax with placeholder values
6112
6466
  #
6113
6467
  # resp = client.list_indices({
@@ -6147,6 +6501,8 @@ module Aws::IoT
6147
6501
  # * {Types::ListJobExecutionsForJobResponse#execution_summaries #execution_summaries} => Array&lt;Types::JobExecutionSummaryForJob&gt;
6148
6502
  # * {Types::ListJobExecutionsForJobResponse#next_token #next_token} => String
6149
6503
  #
6504
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6505
+ #
6150
6506
  # @example Request syntax with placeholder values
6151
6507
  #
6152
6508
  # resp = client.list_job_executions_for_job({
@@ -6194,6 +6550,8 @@ module Aws::IoT
6194
6550
  # * {Types::ListJobExecutionsForThingResponse#execution_summaries #execution_summaries} => Array&lt;Types::JobExecutionSummaryForThing&gt;
6195
6551
  # * {Types::ListJobExecutionsForThingResponse#next_token #next_token} => String
6196
6552
  #
6553
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6554
+ #
6197
6555
  # @example Request syntax with placeholder values
6198
6556
  #
6199
6557
  # resp = client.list_job_executions_for_thing({
@@ -6254,6 +6612,8 @@ module Aws::IoT
6254
6612
  # * {Types::ListJobsResponse#jobs #jobs} => Array&lt;Types::JobSummary&gt;
6255
6613
  # * {Types::ListJobsResponse#next_token #next_token} => String
6256
6614
  #
6615
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6616
+ #
6257
6617
  # @example Request syntax with placeholder values
6258
6618
  #
6259
6619
  # resp = client.list_jobs({
@@ -6304,6 +6664,8 @@ module Aws::IoT
6304
6664
  # * {Types::ListMitigationActionsResponse#action_identifiers #action_identifiers} => Array&lt;Types::MitigationActionIdentifier&gt;
6305
6665
  # * {Types::ListMitigationActionsResponse#next_token #next_token} => String
6306
6666
  #
6667
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6668
+ #
6307
6669
  # @example Request syntax with placeholder values
6308
6670
  #
6309
6671
  # resp = client.list_mitigation_actions({
@@ -6343,6 +6705,8 @@ module Aws::IoT
6343
6705
  # * {Types::ListOTAUpdatesResponse#ota_updates #ota_updates} => Array&lt;Types::OTAUpdateSummary&gt;
6344
6706
  # * {Types::ListOTAUpdatesResponse#next_token #next_token} => String
6345
6707
  #
6708
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6709
+ #
6346
6710
  # @example Request syntax with placeholder values
6347
6711
  #
6348
6712
  # resp = client.list_ota_updates({
@@ -6383,6 +6747,8 @@ module Aws::IoT
6383
6747
  # * {Types::ListOutgoingCertificatesResponse#outgoing_certificates #outgoing_certificates} => Array&lt;Types::OutgoingCertificate&gt;
6384
6748
  # * {Types::ListOutgoingCertificatesResponse#next_marker #next_marker} => String
6385
6749
  #
6750
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6751
+ #
6386
6752
  # @example Request syntax with placeholder values
6387
6753
  #
6388
6754
  # resp = client.list_outgoing_certificates({
@@ -6426,6 +6792,8 @@ module Aws::IoT
6426
6792
  # * {Types::ListPoliciesResponse#policies #policies} => Array&lt;Types::Policy&gt;
6427
6793
  # * {Types::ListPoliciesResponse#next_marker #next_marker} => String
6428
6794
  #
6795
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6796
+ #
6429
6797
  # @example Request syntax with placeholder values
6430
6798
  #
6431
6799
  # resp = client.list_policies({
@@ -6471,6 +6839,8 @@ module Aws::IoT
6471
6839
  # * {Types::ListPolicyPrincipalsResponse#principals #principals} => Array&lt;String&gt;
6472
6840
  # * {Types::ListPolicyPrincipalsResponse#next_marker #next_marker} => String
6473
6841
  #
6842
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6843
+ #
6474
6844
  # @example Request syntax with placeholder values
6475
6845
  #
6476
6846
  # resp = client.list_policy_principals({
@@ -6535,7 +6905,11 @@ module Aws::IoT
6535
6905
  # [1]: https://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_GetCredentialsForIdentity.html#API_GetCredentialsForIdentity_RequestSyntax
6536
6906
  #
6537
6907
  # @option params [required, String] :principal
6538
- # The principal.
6908
+ # The principal. Valid principals are CertificateArn
6909
+ # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
6910
+ # thingGroupArn
6911
+ # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
6912
+ # CognitoId (*region*\:*id*).
6539
6913
  #
6540
6914
  # @option params [String] :marker
6541
6915
  # The marker for the next set of results.
@@ -6552,6 +6926,8 @@ module Aws::IoT
6552
6926
  # * {Types::ListPrincipalPoliciesResponse#policies #policies} => Array&lt;Types::Policy&gt;
6553
6927
  # * {Types::ListPrincipalPoliciesResponse#next_marker #next_marker} => String
6554
6928
  #
6929
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6930
+ #
6555
6931
  # @example Request syntax with placeholder values
6556
6932
  #
6557
6933
  # resp = client.list_principal_policies({
@@ -6593,6 +6969,8 @@ module Aws::IoT
6593
6969
  # * {Types::ListPrincipalThingsResponse#things #things} => Array&lt;String&gt;
6594
6970
  # * {Types::ListPrincipalThingsResponse#next_token #next_token} => String
6595
6971
  #
6972
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6973
+ #
6596
6974
  # @example Request syntax with placeholder values
6597
6975
  #
6598
6976
  # resp = client.list_principal_things({
@@ -6630,6 +7008,8 @@ module Aws::IoT
6630
7008
  # * {Types::ListProvisioningTemplateVersionsResponse#versions #versions} => Array&lt;Types::ProvisioningTemplateVersionSummary&gt;
6631
7009
  # * {Types::ListProvisioningTemplateVersionsResponse#next_token #next_token} => String
6632
7010
  #
7011
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7012
+ #
6633
7013
  # @example Request syntax with placeholder values
6634
7014
  #
6635
7015
  # resp = client.list_provisioning_template_versions({
@@ -6666,6 +7046,8 @@ module Aws::IoT
6666
7046
  # * {Types::ListProvisioningTemplatesResponse#templates #templates} => Array&lt;Types::ProvisioningTemplateSummary&gt;
6667
7047
  # * {Types::ListProvisioningTemplatesResponse#next_token #next_token} => String
6668
7048
  #
7049
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7050
+ #
6669
7051
  # @example Request syntax with placeholder values
6670
7052
  #
6671
7053
  # resp = client.list_provisioning_templates({
@@ -6707,6 +7089,8 @@ module Aws::IoT
6707
7089
  # * {Types::ListRoleAliasesResponse#role_aliases #role_aliases} => Array&lt;String&gt;
6708
7090
  # * {Types::ListRoleAliasesResponse#next_marker #next_marker} => String
6709
7091
  #
7092
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7093
+ #
6710
7094
  # @example Request syntax with placeholder values
6711
7095
  #
6712
7096
  # resp = client.list_role_aliases({
@@ -6742,6 +7126,8 @@ module Aws::IoT
6742
7126
  # * {Types::ListScheduledAuditsResponse#scheduled_audits #scheduled_audits} => Array&lt;Types::ScheduledAuditMetadata&gt;
6743
7127
  # * {Types::ListScheduledAuditsResponse#next_token #next_token} => String
6744
7128
  #
7129
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7130
+ #
6745
7131
  # @example Request syntax with placeholder values
6746
7132
  #
6747
7133
  # resp = client.list_scheduled_audits({
@@ -6785,6 +7171,8 @@ module Aws::IoT
6785
7171
  # * {Types::ListSecurityProfilesResponse#security_profile_identifiers #security_profile_identifiers} => Array&lt;Types::SecurityProfileIdentifier&gt;
6786
7172
  # * {Types::ListSecurityProfilesResponse#next_token #next_token} => String
6787
7173
  #
7174
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7175
+ #
6788
7176
  # @example Request syntax with placeholder values
6789
7177
  #
6790
7178
  # resp = client.list_security_profiles({
@@ -6828,6 +7216,8 @@ module Aws::IoT
6828
7216
  # * {Types::ListSecurityProfilesForTargetResponse#security_profile_target_mappings #security_profile_target_mappings} => Array&lt;Types::SecurityProfileTargetMapping&gt;
6829
7217
  # * {Types::ListSecurityProfilesForTargetResponse#next_token #next_token} => String
6830
7218
  #
7219
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7220
+ #
6831
7221
  # @example Request syntax with placeholder values
6832
7222
  #
6833
7223
  # resp = client.list_security_profiles_for_target({
@@ -6868,6 +7258,8 @@ module Aws::IoT
6868
7258
  # * {Types::ListStreamsResponse#streams #streams} => Array&lt;Types::StreamSummary&gt;
6869
7259
  # * {Types::ListStreamsResponse#next_token #next_token} => String
6870
7260
  #
7261
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7262
+ #
6871
7263
  # @example Request syntax with placeholder values
6872
7264
  #
6873
7265
  # resp = client.list_streams({
@@ -6905,6 +7297,8 @@ module Aws::IoT
6905
7297
  # * {Types::ListTagsForResourceResponse#tags #tags} => Array&lt;Types::Tag&gt;
6906
7298
  # * {Types::ListTagsForResourceResponse#next_token #next_token} => String
6907
7299
  #
7300
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7301
+ #
6908
7302
  # @example Request syntax with placeholder values
6909
7303
  #
6910
7304
  # resp = client.list_tags_for_resource({
@@ -6942,6 +7336,8 @@ module Aws::IoT
6942
7336
  # * {Types::ListTargetsForPolicyResponse#targets #targets} => Array&lt;String&gt;
6943
7337
  # * {Types::ListTargetsForPolicyResponse#next_marker #next_marker} => String
6944
7338
  #
7339
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7340
+ #
6945
7341
  # @example Request syntax with placeholder values
6946
7342
  #
6947
7343
  # resp = client.list_targets_for_policy({
@@ -6980,6 +7376,8 @@ module Aws::IoT
6980
7376
  # * {Types::ListTargetsForSecurityProfileResponse#security_profile_targets #security_profile_targets} => Array&lt;Types::SecurityProfileTarget&gt;
6981
7377
  # * {Types::ListTargetsForSecurityProfileResponse#next_token #next_token} => String
6982
7378
  #
7379
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7380
+ #
6983
7381
  # @example Request syntax with placeholder values
6984
7382
  #
6985
7383
  # resp = client.list_targets_for_security_profile({
@@ -7025,6 +7423,8 @@ module Aws::IoT
7025
7423
  # * {Types::ListThingGroupsResponse#thing_groups #thing_groups} => Array&lt;Types::GroupNameAndArn&gt;
7026
7424
  # * {Types::ListThingGroupsResponse#next_token #next_token} => String
7027
7425
  #
7426
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7427
+ #
7028
7428
  # @example Request syntax with placeholder values
7029
7429
  #
7030
7430
  # resp = client.list_thing_groups({
@@ -7065,6 +7465,8 @@ module Aws::IoT
7065
7465
  # * {Types::ListThingGroupsForThingResponse#thing_groups #thing_groups} => Array&lt;Types::GroupNameAndArn&gt;
7066
7466
  # * {Types::ListThingGroupsForThingResponse#next_token #next_token} => String
7067
7467
  #
7468
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7469
+ #
7068
7470
  # @example Request syntax with placeholder values
7069
7471
  #
7070
7472
  # resp = client.list_thing_groups_for_thing({
@@ -7136,6 +7538,8 @@ module Aws::IoT
7136
7538
  # * {Types::ListThingRegistrationTaskReportsResponse#report_type #report_type} => String
7137
7539
  # * {Types::ListThingRegistrationTaskReportsResponse#next_token #next_token} => String
7138
7540
  #
7541
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7542
+ #
7139
7543
  # @example Request syntax with placeholder values
7140
7544
  #
7141
7545
  # resp = client.list_thing_registration_task_reports({
@@ -7175,6 +7579,8 @@ module Aws::IoT
7175
7579
  # * {Types::ListThingRegistrationTasksResponse#task_ids #task_ids} => Array&lt;String&gt;
7176
7580
  # * {Types::ListThingRegistrationTasksResponse#next_token #next_token} => String
7177
7581
  #
7582
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7583
+ #
7178
7584
  # @example Request syntax with placeholder values
7179
7585
  #
7180
7586
  # resp = client.list_thing_registration_tasks({
@@ -7212,6 +7618,8 @@ module Aws::IoT
7212
7618
  # * {Types::ListThingTypesResponse#thing_types #thing_types} => Array&lt;Types::ThingTypeDefinition&gt;
7213
7619
  # * {Types::ListThingTypesResponse#next_token #next_token} => String
7214
7620
  #
7621
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7622
+ #
7215
7623
  # @example Request syntax with placeholder values
7216
7624
  #
7217
7625
  # resp = client.list_thing_types({
@@ -7246,6 +7654,13 @@ module Aws::IoT
7246
7654
  # in the registry that contain an attribute **Color** with the value
7247
7655
  # **Red**.
7248
7656
  #
7657
+ # <note markdown="1"> You will not be charged for calling this API if an `Access denied`
7658
+ # error is returned. You will also not be charged if no attributes or
7659
+ # pagination token was provided in request and no pagination token and
7660
+ # no results were returned.
7661
+ #
7662
+ # </note>
7663
+ #
7249
7664
  # @option params [String] :next_token
7250
7665
  # The token to retrieve the next set of results.
7251
7666
  #
@@ -7266,6 +7681,8 @@ module Aws::IoT
7266
7681
  # * {Types::ListThingsResponse#things #things} => Array&lt;Types::ThingAttribute&gt;
7267
7682
  # * {Types::ListThingsResponse#next_token #next_token} => String
7268
7683
  #
7684
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7685
+ #
7269
7686
  # @example Request syntax with placeholder values
7270
7687
  #
7271
7688
  # resp = client.list_things({
@@ -7310,6 +7727,8 @@ module Aws::IoT
7310
7727
  # * {Types::ListThingsInBillingGroupResponse#things #things} => Array&lt;String&gt;
7311
7728
  # * {Types::ListThingsInBillingGroupResponse#next_token #next_token} => String
7312
7729
  #
7730
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7731
+ #
7313
7732
  # @example Request syntax with placeholder values
7314
7733
  #
7315
7734
  # resp = client.list_things_in_billing_group({
@@ -7351,6 +7770,8 @@ module Aws::IoT
7351
7770
  # * {Types::ListThingsInThingGroupResponse#things #things} => Array&lt;String&gt;
7352
7771
  # * {Types::ListThingsInThingGroupResponse#next_token #next_token} => String
7353
7772
  #
7773
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7774
+ #
7354
7775
  # @example Request syntax with placeholder values
7355
7776
  #
7356
7777
  # resp = client.list_things_in_thing_group({
@@ -7386,6 +7807,8 @@ module Aws::IoT
7386
7807
  # * {Types::ListTopicRuleDestinationsResponse#destination_summaries #destination_summaries} => Array&lt;Types::TopicRuleDestinationSummary&gt;
7387
7808
  # * {Types::ListTopicRuleDestinationsResponse#next_token #next_token} => String
7388
7809
  #
7810
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7811
+ #
7389
7812
  # @example Request syntax with placeholder values
7390
7813
  #
7391
7814
  # resp = client.list_topic_rule_destinations({
@@ -7428,6 +7851,8 @@ module Aws::IoT
7428
7851
  # * {Types::ListTopicRulesResponse#rules #rules} => Array&lt;Types::TopicRuleListItem&gt;
7429
7852
  # * {Types::ListTopicRulesResponse#next_token #next_token} => String
7430
7853
  #
7854
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7855
+ #
7431
7856
  # @example Request syntax with placeholder values
7432
7857
  #
7433
7858
  # resp = client.list_topic_rules({
@@ -7472,6 +7897,8 @@ module Aws::IoT
7472
7897
  # * {Types::ListV2LoggingLevelsResponse#log_target_configurations #log_target_configurations} => Array&lt;Types::LogTargetConfiguration&gt;
7473
7898
  # * {Types::ListV2LoggingLevelsResponse#next_token #next_token} => String
7474
7899
  #
7900
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7901
+ #
7475
7902
  # @example Request syntax with placeholder values
7476
7903
  #
7477
7904
  # resp = client.list_v2_logging_levels({
@@ -7525,6 +7952,8 @@ module Aws::IoT
7525
7952
  # * {Types::ListViolationEventsResponse#violation_events #violation_events} => Array&lt;Types::ViolationEvent&gt;
7526
7953
  # * {Types::ListViolationEventsResponse#next_token #next_token} => String
7527
7954
  #
7955
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7956
+ #
7528
7957
  # @example Request syntax with placeholder values
7529
7958
  #
7530
7959
  # resp = client.list_violation_events({
@@ -8024,6 +8453,21 @@ module Aws::IoT
8024
8453
  # state_machine_name: "StateMachineName", # required
8025
8454
  # role_arn: "AwsArn", # required
8026
8455
  # },
8456
+ # timestream: {
8457
+ # role_arn: "AwsArn", # required
8458
+ # database_name: "TimestreamDatabaseName", # required
8459
+ # table_name: "TimestreamTableName", # required
8460
+ # dimensions: [ # required
8461
+ # {
8462
+ # name: "TimestreamDimensionName", # required
8463
+ # value: "TimestreamDimensionValue", # required
8464
+ # },
8465
+ # ],
8466
+ # timestamp: {
8467
+ # value: "TimestreamTimestampValue", # required
8468
+ # unit: "TimestreamTimestampUnit", # required
8469
+ # },
8470
+ # },
8027
8471
  # http: {
8028
8472
  # url: "Url", # required
8029
8473
  # confirmation_url: "Url",
@@ -8168,6 +8612,21 @@ module Aws::IoT
8168
8612
  # state_machine_name: "StateMachineName", # required
8169
8613
  # role_arn: "AwsArn", # required
8170
8614
  # },
8615
+ # timestream: {
8616
+ # role_arn: "AwsArn", # required
8617
+ # database_name: "TimestreamDatabaseName", # required
8618
+ # table_name: "TimestreamTableName", # required
8619
+ # dimensions: [ # required
8620
+ # {
8621
+ # name: "TimestreamDimensionName", # required
8622
+ # value: "TimestreamDimensionValue", # required
8623
+ # },
8624
+ # ],
8625
+ # timestamp: {
8626
+ # value: "TimestreamTimestampValue", # required
8627
+ # unit: "TimestreamTimestampUnit", # required
8628
+ # },
8629
+ # },
8171
8630
  # http: {
8172
8631
  # url: "Url", # required
8173
8632
  # confirmation_url: "Url",
@@ -8580,7 +9039,11 @@ module Aws::IoT
8580
9039
  # gateway.
8581
9040
  #
8582
9041
  # @option params [String] :principal
8583
- # The principal.
9042
+ # The principal. Valid principals are CertificateArn
9043
+ # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
9044
+ # thingGroupArn
9045
+ # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
9046
+ # CognitoId (*region*\:*id*).
8584
9047
  #
8585
9048
  # @option params [String] :cognito_identity_pool_id
8586
9049
  # The Cognito identity pool ID.
@@ -8840,6 +9303,58 @@ module Aws::IoT
8840
9303
  req.send_request(options)
8841
9304
  end
8842
9305
 
9306
+ # Updates a Device Defender audit suppression.
9307
+ #
9308
+ # @option params [required, String] :check_name
9309
+ # An audit check name. Checks must be enabled for your account. (Use
9310
+ # `DescribeAccountAuditConfiguration` to see the list of all checks,
9311
+ # including those that are enabled or use
9312
+ # `UpdateAccountAuditConfiguration` to select which checks are enabled.)
9313
+ #
9314
+ # @option params [required, Types::ResourceIdentifier] :resource_identifier
9315
+ # Information that identifies the noncompliant resource.
9316
+ #
9317
+ # @option params [Time,DateTime,Date,Integer,String] :expiration_date
9318
+ # The expiration date (epoch timestamp in seconds) that you want the
9319
+ # suppression to adhere to.
9320
+ #
9321
+ # @option params [Boolean] :suppress_indefinitely
9322
+ # Indicates whether a suppression should exist indefinitely or not.
9323
+ #
9324
+ # @option params [String] :description
9325
+ # The description of the audit suppression.
9326
+ #
9327
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
9328
+ #
9329
+ # @example Request syntax with placeholder values
9330
+ #
9331
+ # resp = client.update_audit_suppression({
9332
+ # check_name: "AuditCheckName", # required
9333
+ # resource_identifier: { # required
9334
+ # device_certificate_id: "CertificateId",
9335
+ # ca_certificate_id: "CertificateId",
9336
+ # cognito_identity_pool_id: "CognitoIdentityPoolId",
9337
+ # client_id: "ClientId",
9338
+ # policy_version_identifier: {
9339
+ # policy_name: "PolicyName",
9340
+ # policy_version_id: "PolicyVersionId",
9341
+ # },
9342
+ # account: "AwsAccountId",
9343
+ # iam_role_arn: "RoleArn",
9344
+ # role_alias_arn: "RoleAliasArn",
9345
+ # },
9346
+ # expiration_date: Time.now,
9347
+ # suppress_indefinitely: false,
9348
+ # description: "AuditDescription",
9349
+ # })
9350
+ #
9351
+ # @overload update_audit_suppression(params = {})
9352
+ # @param [Hash] params ({})
9353
+ def update_audit_suppression(params = {}, options = {})
9354
+ req = build_request(:update_audit_suppression, params)
9355
+ req.send_request(options)
9356
+ end
9357
+
8843
9358
  # Updates an authorizer.
8844
9359
  #
8845
9360
  # @option params [required, String] :authorizer_name
@@ -8971,12 +9486,13 @@ module Aws::IoT
8971
9486
  # Updates the status of the specified certificate. This operation is
8972
9487
  # idempotent.
8973
9488
  #
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.
9489
+ # Certificates must be in the ACTIVE state to authenticate devices that
9490
+ # use a certificate to connect to AWS IoT.
8977
9491
  #
8978
- # The ACTIVE state is required to authenticate devices connecting to AWS
8979
- # IoT using a certificate.
9492
+ # Within a few minutes of updating a certificate from the ACTIVE state
9493
+ # to any other state, AWS IoT disconnects all devices that used that
9494
+ # certificate to connect. Devices cannot use a certificate that is not
9495
+ # in the ACTIVE state to reconnect.
8980
9496
  #
8981
9497
  # @option params [required, String] :certificate_id
8982
9498
  # The ID of the certificate. (The last part of the certificate ARN
@@ -9525,13 +10041,13 @@ module Aws::IoT
9525
10041
  # Where the alerts are sent. (Alerts are always sent to the console.)
9526
10042
  #
9527
10043
  # @option params [Array<String>] :additional_metrics_to_retain
10044
+ # *Please use UpdateSecurityProfileRequest$additionalMetricsToRetainV2
10045
+ # instead.*
10046
+ #
9528
10047
  # A list of metrics whose data is retained (stored). By default, data is
9529
10048
  # retained for any metric used in the profile's `behaviors`, but it is
9530
10049
  # also retained for any metric specified here.
9531
10050
  #
9532
- # **Note:** This API field is deprecated. Please use
9533
- # UpdateSecurityProfileRequest$additionalMetricsToRetainV2 instead.
9534
- #
9535
10051
  # @option params [Array<Types::MetricToRetain>] :additional_metrics_to_retain_v2
9536
10052
  # A list of metrics whose data is retained (stored). By default, data is
9537
10053
  # retained for any metric used in the profile's behaviors, but it is
@@ -9969,7 +10485,7 @@ module Aws::IoT
9969
10485
  params: params,
9970
10486
  config: config)
9971
10487
  context[:gem_name] = 'aws-sdk-iot'
9972
- context[:gem_version] = '1.54.0'
10488
+ context[:gem_version] = '1.59.0'
9973
10489
  Seahorse::Client::Request.new(handlers, context)
9974
10490
  end
9975
10491