aws-sdk-iot 1.54.0 → 1.55.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: 16b8ccb716f5a53cdf0f013fdaf4a09d59da2d5902806a8ff687f573dda576c5
4
+ data.tar.gz: '03634198ecb61beeffc0df618f74f0c8f19f5a399d4cbcbc50444614f976901f'
5
5
  SHA512:
6
- metadata.gz: f80072f13e0b574bee87c90dfadd9ff88fde6ba31aafe833bf8d5ba69653def38f83b59f63fed5843e9a153ec9bdfdeca8573c87ae7eec3a69d7298e8ac120b5
7
- data.tar.gz: 0ef2fdb69f3b59a8efb609d66efe35fb292e65f1003fbd8c89837e232fa86d187eefb63c1ed2ec31ecff715764912b5972ae0a13f4be526a19382f128b21d815
6
+ metadata.gz: 7b3ea90abb67abd0967523aef15fb651c44086cfe3bbc7b878ff70000c62d55751469b7c1fb48a9f8569374292f7c7054a1151a7248bbf7a789092007f977855
7
+ data.tar.gz: 628bf676fc8c3f32d9b38bc63fb0bcef5b59d0f785464c383920056042bd67b6d9f90de8cef197936d0d8f57e508a11fa8c3d81a3a74ae37d92d2c2b2cecd352
@@ -47,6 +47,6 @@ require_relative 'aws-sdk-iot/customizations'
47
47
  # @service
48
48
  module Aws::IoT
49
49
 
50
- GEM_VERSION = '1.54.0'
50
+ GEM_VERSION = '1.55.0'
51
51
 
52
52
  end
@@ -785,6 +785,64 @@ module Aws::IoT
785
785
  req.send_request(options)
786
786
  end
787
787
 
788
+ # Creates a Device Defender audit suppression.
789
+ #
790
+ # @option params [required, String] :check_name
791
+ # An audit check name. Checks must be enabled for your account. (Use
792
+ # `DescribeAccountAuditConfiguration` to see the list of all checks,
793
+ # including those that are enabled or use
794
+ # `UpdateAccountAuditConfiguration` to select which checks are enabled.)
795
+ #
796
+ # @option params [required, Types::ResourceIdentifier] :resource_identifier
797
+ # Information that identifies the noncompliant resource.
798
+ #
799
+ # @option params [Time,DateTime,Date,Integer,String] :expiration_date
800
+ # The epoch timestamp in seconds at which this suppression expires.
801
+ #
802
+ # @option params [Boolean] :suppress_indefinitely
803
+ # Indicates whether a suppression should exist indefinitely or not.
804
+ #
805
+ # @option params [String] :description
806
+ # The description of the audit suppression.
807
+ #
808
+ # @option params [required, String] :client_request_token
809
+ # The epoch timestamp in seconds at which this suppression expires.
810
+ #
811
+ # **A suitable default value is auto-generated.** You should normally
812
+ # not need to pass this option.**
813
+ #
814
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
815
+ #
816
+ # @example Request syntax with placeholder values
817
+ #
818
+ # resp = client.create_audit_suppression({
819
+ # check_name: "AuditCheckName", # required
820
+ # resource_identifier: { # required
821
+ # device_certificate_id: "CertificateId",
822
+ # ca_certificate_id: "CertificateId",
823
+ # cognito_identity_pool_id: "CognitoIdentityPoolId",
824
+ # client_id: "ClientId",
825
+ # policy_version_identifier: {
826
+ # policy_name: "PolicyName",
827
+ # policy_version_id: "PolicyVersionId",
828
+ # },
829
+ # account: "AwsAccountId",
830
+ # iam_role_arn: "RoleArn",
831
+ # role_alias_arn: "RoleAliasArn",
832
+ # },
833
+ # expiration_date: Time.now,
834
+ # suppress_indefinitely: false,
835
+ # description: "AuditDescription",
836
+ # client_request_token: "ClientRequestToken", # required
837
+ # })
838
+ #
839
+ # @overload create_audit_suppression(params = {})
840
+ # @param [Hash] params ({})
841
+ def create_audit_suppression(params = {}, options = {})
842
+ req = build_request(:create_audit_suppression, params)
843
+ req.send_request(options)
844
+ end
845
+
788
846
  # Creates an authorizer.
789
847
  #
790
848
  # @option params [required, String] :authorizer_name
@@ -1382,8 +1440,14 @@ module Aws::IoT
1382
1440
  end
1383
1441
 
1384
1442
  # 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.
1443
+ # StartAuditMitigationActionsTask. Only certain types of mitigation
1444
+ # actions can be applied to specific check names. For more information,
1445
+ # see [Mitigation actions][1]. Each mitigation action can apply only one
1446
+ # type of change.
1447
+ #
1448
+ #
1449
+ #
1450
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/device-defender-mitigation-actions.html
1387
1451
  #
1388
1452
  # @option params [required, String] :action_name
1389
1453
  # A friendly name for the action. Choose a friendly name that accurately
@@ -2737,6 +2801,45 @@ module Aws::IoT
2737
2801
  req.send_request(options)
2738
2802
  end
2739
2803
 
2804
+ # Deletes a Device Defender audit suppression.
2805
+ #
2806
+ # @option params [required, String] :check_name
2807
+ # An audit check name. Checks must be enabled for your account. (Use
2808
+ # `DescribeAccountAuditConfiguration` to see the list of all checks,
2809
+ # including those that are enabled or use
2810
+ # `UpdateAccountAuditConfiguration` to select which checks are enabled.)
2811
+ #
2812
+ # @option params [required, Types::ResourceIdentifier] :resource_identifier
2813
+ # Information that identifies the noncompliant resource.
2814
+ #
2815
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2816
+ #
2817
+ # @example Request syntax with placeholder values
2818
+ #
2819
+ # resp = client.delete_audit_suppression({
2820
+ # check_name: "AuditCheckName", # required
2821
+ # resource_identifier: { # required
2822
+ # device_certificate_id: "CertificateId",
2823
+ # ca_certificate_id: "CertificateId",
2824
+ # cognito_identity_pool_id: "CognitoIdentityPoolId",
2825
+ # client_id: "ClientId",
2826
+ # policy_version_identifier: {
2827
+ # policy_name: "PolicyName",
2828
+ # policy_version_id: "PolicyVersionId",
2829
+ # },
2830
+ # account: "AwsAccountId",
2831
+ # iam_role_arn: "RoleArn",
2832
+ # role_alias_arn: "RoleAliasArn",
2833
+ # },
2834
+ # })
2835
+ #
2836
+ # @overload delete_audit_suppression(params = {})
2837
+ # @param [Hash] params ({})
2838
+ def delete_audit_suppression(params = {}, options = {})
2839
+ req = build_request(:delete_audit_suppression, params)
2840
+ req.send_request(options)
2841
+ end
2842
+
2740
2843
  # Deletes an authorizer.
2741
2844
  #
2742
2845
  # @option params [required, String] :authorizer_name
@@ -3502,6 +3605,7 @@ module Aws::IoT
3502
3605
  # resp.finding.related_resources[0].additional_info["String"] #=> String
3503
3606
  # resp.finding.reason_for_non_compliance #=> String
3504
3607
  # resp.finding.reason_for_non_compliance_code #=> String
3608
+ # resp.finding.is_suppressed #=> Boolean
3505
3609
  #
3506
3610
  # @overload describe_audit_finding(params = {})
3507
3611
  # @param [Hash] params ({})
@@ -3575,6 +3679,67 @@ module Aws::IoT
3575
3679
  req.send_request(options)
3576
3680
  end
3577
3681
 
3682
+ # Gets information about a Device Defender audit suppression.
3683
+ #
3684
+ # @option params [required, String] :check_name
3685
+ # An audit check name. Checks must be enabled for your account. (Use
3686
+ # `DescribeAccountAuditConfiguration` to see the list of all checks,
3687
+ # including those that are enabled or use
3688
+ # `UpdateAccountAuditConfiguration` to select which checks are enabled.)
3689
+ #
3690
+ # @option params [required, Types::ResourceIdentifier] :resource_identifier
3691
+ # Information that identifies the noncompliant resource.
3692
+ #
3693
+ # @return [Types::DescribeAuditSuppressionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3694
+ #
3695
+ # * {Types::DescribeAuditSuppressionResponse#check_name #check_name} => String
3696
+ # * {Types::DescribeAuditSuppressionResponse#resource_identifier #resource_identifier} => Types::ResourceIdentifier
3697
+ # * {Types::DescribeAuditSuppressionResponse#expiration_date #expiration_date} => Time
3698
+ # * {Types::DescribeAuditSuppressionResponse#suppress_indefinitely #suppress_indefinitely} => Boolean
3699
+ # * {Types::DescribeAuditSuppressionResponse#description #description} => String
3700
+ #
3701
+ # @example Request syntax with placeholder values
3702
+ #
3703
+ # resp = client.describe_audit_suppression({
3704
+ # check_name: "AuditCheckName", # required
3705
+ # resource_identifier: { # required
3706
+ # device_certificate_id: "CertificateId",
3707
+ # ca_certificate_id: "CertificateId",
3708
+ # cognito_identity_pool_id: "CognitoIdentityPoolId",
3709
+ # client_id: "ClientId",
3710
+ # policy_version_identifier: {
3711
+ # policy_name: "PolicyName",
3712
+ # policy_version_id: "PolicyVersionId",
3713
+ # },
3714
+ # account: "AwsAccountId",
3715
+ # iam_role_arn: "RoleArn",
3716
+ # role_alias_arn: "RoleAliasArn",
3717
+ # },
3718
+ # })
3719
+ #
3720
+ # @example Response structure
3721
+ #
3722
+ # resp.check_name #=> String
3723
+ # resp.resource_identifier.device_certificate_id #=> String
3724
+ # resp.resource_identifier.ca_certificate_id #=> String
3725
+ # resp.resource_identifier.cognito_identity_pool_id #=> String
3726
+ # resp.resource_identifier.client_id #=> String
3727
+ # resp.resource_identifier.policy_version_identifier.policy_name #=> String
3728
+ # resp.resource_identifier.policy_version_identifier.policy_version_id #=> String
3729
+ # resp.resource_identifier.account #=> String
3730
+ # resp.resource_identifier.iam_role_arn #=> String
3731
+ # resp.resource_identifier.role_alias_arn #=> String
3732
+ # resp.expiration_date #=> Time
3733
+ # resp.suppress_indefinitely #=> Boolean
3734
+ # resp.description #=> String
3735
+ #
3736
+ # @overload describe_audit_suppression(params = {})
3737
+ # @param [Hash] params ({})
3738
+ def describe_audit_suppression(params = {}, options = {})
3739
+ req = build_request(:describe_audit_suppression, params)
3740
+ req.send_request(options)
3741
+ end
3742
+
3578
3743
  # Gets information about a Device Defender audit.
3579
3744
  #
3580
3745
  # @option params [required, String] :task_id
@@ -3613,6 +3778,7 @@ module Aws::IoT
3613
3778
  # resp.audit_details["AuditCheckName"].check_compliant #=> Boolean
3614
3779
  # resp.audit_details["AuditCheckName"].total_resources_count #=> Integer
3615
3780
  # resp.audit_details["AuditCheckName"].non_compliant_resources_count #=> Integer
3781
+ # resp.audit_details["AuditCheckName"].suppressed_non_compliant_resources_count #=> Integer
3616
3782
  # resp.audit_details["AuditCheckName"].error_code #=> String
3617
3783
  # resp.audit_details["AuditCheckName"].message #=> String
3618
3784
  #
@@ -4614,8 +4780,11 @@ module Aws::IoT
4614
4780
  # @option params [required, String] :principal
4615
4781
  # The principal.
4616
4782
  #
4617
- # If the principal is a certificate, specify the certificate ARN. If the
4618
- # principal is an Amazon Cognito identity, specify the identity ID.
4783
+ # Valid principals are CertificateArn
4784
+ # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
4785
+ # thingGroupArn
4786
+ # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
4787
+ # CognitoId (*region*\:*id*).
4619
4788
  #
4620
4789
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4621
4790
  #
@@ -4775,7 +4944,11 @@ module Aws::IoT
4775
4944
  # device gateway.
4776
4945
  #
4777
4946
  # @option params [String] :principal
4778
- # The principal.
4947
+ # The principal. Valid principals are CertificateArn
4948
+ # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
4949
+ # thingGroupArn
4950
+ # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
4951
+ # CognitoId (*region*\:*id*).
4779
4952
  #
4780
4953
  # @option params [String] :cognito_identity_pool_id
4781
4954
  # The Cognito identity pool ID.
@@ -5432,6 +5605,8 @@ module Aws::IoT
5432
5605
  # * {Types::ListActiveViolationsResponse#active_violations #active_violations} => Array<Types::ActiveViolation>
5433
5606
  # * {Types::ListActiveViolationsResponse#next_token #next_token} => String
5434
5607
  #
5608
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5609
+ #
5435
5610
  # @example Request syntax with placeholder values
5436
5611
  #
5437
5612
  # resp = client.list_active_violations({
@@ -5480,7 +5655,12 @@ module Aws::IoT
5480
5655
  # Lists the policies attached to the specified thing group.
5481
5656
  #
5482
5657
  # @option params [required, String] :target
5483
- # The group or principal for which the policies will be listed.
5658
+ # The group or principal for which the policies will be listed. Valid
5659
+ # principals are CertificateArn
5660
+ # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
5661
+ # thingGroupArn
5662
+ # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
5663
+ # CognitoId (*region*\:*id*).
5484
5664
  #
5485
5665
  # @option params [Boolean] :recursive
5486
5666
  # When true, recursively list attached policies.
@@ -5496,6 +5676,8 @@ module Aws::IoT
5496
5676
  # * {Types::ListAttachedPoliciesResponse#policies #policies} => Array<Types::Policy>
5497
5677
  # * {Types::ListAttachedPoliciesResponse#next_marker #next_marker} => String
5498
5678
  #
5679
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5680
+ #
5499
5681
  # @example Request syntax with placeholder values
5500
5682
  #
5501
5683
  # resp = client.list_attached_policies({
@@ -5551,11 +5733,19 @@ module Aws::IoT
5551
5733
  # You must specify either the startTime and endTime or the taskId, but
5552
5734
  # not both.
5553
5735
  #
5736
+ # @option params [Boolean] :list_suppressed_findings
5737
+ # Boolean flag indicating whether only the suppressed findings or the
5738
+ # unsuppressed findings should be listed. If this parameter isn't
5739
+ # provided, the response will list both suppressed and unsuppressed
5740
+ # findings.
5741
+ #
5554
5742
  # @return [Types::ListAuditFindingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5555
5743
  #
5556
5744
  # * {Types::ListAuditFindingsResponse#findings #findings} => Array<Types::AuditFinding>
5557
5745
  # * {Types::ListAuditFindingsResponse#next_token #next_token} => String
5558
5746
  #
5747
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5748
+ #
5559
5749
  # @example Request syntax with placeholder values
5560
5750
  #
5561
5751
  # resp = client.list_audit_findings({
@@ -5578,6 +5768,7 @@ module Aws::IoT
5578
5768
  # next_token: "NextToken",
5579
5769
  # start_time: Time.now,
5580
5770
  # end_time: Time.now,
5771
+ # list_suppressed_findings: false,
5581
5772
  # })
5582
5773
  #
5583
5774
  # @example Response structure
@@ -5616,6 +5807,7 @@ module Aws::IoT
5616
5807
  # resp.findings[0].related_resources[0].additional_info["String"] #=> String
5617
5808
  # resp.findings[0].reason_for_non_compliance #=> String
5618
5809
  # resp.findings[0].reason_for_non_compliance_code #=> String
5810
+ # resp.findings[0].is_suppressed #=> Boolean
5619
5811
  # resp.next_token #=> String
5620
5812
  #
5621
5813
  # @overload list_audit_findings(params = {})
@@ -5650,6 +5842,8 @@ module Aws::IoT
5650
5842
  # * {Types::ListAuditMitigationActionsExecutionsResponse#actions_executions #actions_executions} => Array<Types::AuditMitigationActionExecutionMetadata>
5651
5843
  # * {Types::ListAuditMitigationActionsExecutionsResponse#next_token #next_token} => String
5652
5844
  #
5845
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5846
+ #
5653
5847
  # @example Request syntax with placeholder values
5654
5848
  #
5655
5849
  # resp = client.list_audit_mitigation_actions_executions({
@@ -5716,6 +5910,8 @@ module Aws::IoT
5716
5910
  # * {Types::ListAuditMitigationActionsTasksResponse#tasks #tasks} => Array<Types::AuditMitigationActionsTaskMetadata>
5717
5911
  # * {Types::ListAuditMitigationActionsTasksResponse#next_token #next_token} => String
5718
5912
  #
5913
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5914
+ #
5719
5915
  # @example Request syntax with placeholder values
5720
5916
  #
5721
5917
  # resp = client.list_audit_mitigation_actions_tasks({
@@ -5743,6 +5939,83 @@ module Aws::IoT
5743
5939
  req.send_request(options)
5744
5940
  end
5745
5941
 
5942
+ # Lists your Device Defender audit listings.
5943
+ #
5944
+ # @option params [String] :check_name
5945
+ # An audit check name. Checks must be enabled for your account. (Use
5946
+ # `DescribeAccountAuditConfiguration` to see the list of all checks,
5947
+ # including those that are enabled or use
5948
+ # `UpdateAccountAuditConfiguration` to select which checks are enabled.)
5949
+ #
5950
+ # @option params [Types::ResourceIdentifier] :resource_identifier
5951
+ # Information that identifies the noncompliant resource.
5952
+ #
5953
+ # @option params [Boolean] :ascending_order
5954
+ # Determines whether suppressions are listed in ascending order by
5955
+ # expiration date or not. If parameter isn't provided,
5956
+ # `ascendingOrder=true`.
5957
+ #
5958
+ # @option params [String] :next_token
5959
+ # The token for the next set of results.
5960
+ #
5961
+ # @option params [Integer] :max_results
5962
+ # The maximum number of results to return at one time. The default is
5963
+ # 25.
5964
+ #
5965
+ # @return [Types::ListAuditSuppressionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5966
+ #
5967
+ # * {Types::ListAuditSuppressionsResponse#suppressions #suppressions} => Array<Types::AuditSuppression>
5968
+ # * {Types::ListAuditSuppressionsResponse#next_token #next_token} => String
5969
+ #
5970
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5971
+ #
5972
+ # @example Request syntax with placeholder values
5973
+ #
5974
+ # resp = client.list_audit_suppressions({
5975
+ # check_name: "AuditCheckName",
5976
+ # resource_identifier: {
5977
+ # device_certificate_id: "CertificateId",
5978
+ # ca_certificate_id: "CertificateId",
5979
+ # cognito_identity_pool_id: "CognitoIdentityPoolId",
5980
+ # client_id: "ClientId",
5981
+ # policy_version_identifier: {
5982
+ # policy_name: "PolicyName",
5983
+ # policy_version_id: "PolicyVersionId",
5984
+ # },
5985
+ # account: "AwsAccountId",
5986
+ # iam_role_arn: "RoleArn",
5987
+ # role_alias_arn: "RoleAliasArn",
5988
+ # },
5989
+ # ascending_order: false,
5990
+ # next_token: "NextToken",
5991
+ # max_results: 1,
5992
+ # })
5993
+ #
5994
+ # @example Response structure
5995
+ #
5996
+ # resp.suppressions #=> Array
5997
+ # resp.suppressions[0].check_name #=> String
5998
+ # resp.suppressions[0].resource_identifier.device_certificate_id #=> String
5999
+ # resp.suppressions[0].resource_identifier.ca_certificate_id #=> String
6000
+ # resp.suppressions[0].resource_identifier.cognito_identity_pool_id #=> String
6001
+ # resp.suppressions[0].resource_identifier.client_id #=> String
6002
+ # resp.suppressions[0].resource_identifier.policy_version_identifier.policy_name #=> String
6003
+ # resp.suppressions[0].resource_identifier.policy_version_identifier.policy_version_id #=> String
6004
+ # resp.suppressions[0].resource_identifier.account #=> String
6005
+ # resp.suppressions[0].resource_identifier.iam_role_arn #=> String
6006
+ # resp.suppressions[0].resource_identifier.role_alias_arn #=> String
6007
+ # resp.suppressions[0].expiration_date #=> Time
6008
+ # resp.suppressions[0].suppress_indefinitely #=> Boolean
6009
+ # resp.suppressions[0].description #=> String
6010
+ # resp.next_token #=> String
6011
+ #
6012
+ # @overload list_audit_suppressions(params = {})
6013
+ # @param [Hash] params ({})
6014
+ def list_audit_suppressions(params = {}, options = {})
6015
+ req = build_request(:list_audit_suppressions, params)
6016
+ req.send_request(options)
6017
+ end
6018
+
5746
6019
  # Lists the Device Defender audits that have been performed during a
5747
6020
  # given time period.
5748
6021
  #
@@ -5775,6 +6048,8 @@ module Aws::IoT
5775
6048
  # * {Types::ListAuditTasksResponse#tasks #tasks} => Array<Types::AuditTaskMetadata>
5776
6049
  # * {Types::ListAuditTasksResponse#next_token #next_token} => String
5777
6050
  #
6051
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6052
+ #
5778
6053
  # @example Request syntax with placeholder values
5779
6054
  #
5780
6055
  # resp = client.list_audit_tasks({
@@ -5820,6 +6095,8 @@ module Aws::IoT
5820
6095
  # * {Types::ListAuthorizersResponse#authorizers #authorizers} => Array<Types::AuthorizerSummary>
5821
6096
  # * {Types::ListAuthorizersResponse#next_marker #next_marker} => String
5822
6097
  #
6098
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6099
+ #
5823
6100
  # @example Request syntax with placeholder values
5824
6101
  #
5825
6102
  # resp = client.list_authorizers({
@@ -5859,6 +6136,8 @@ module Aws::IoT
5859
6136
  # * {Types::ListBillingGroupsResponse#billing_groups #billing_groups} => Array<Types::GroupNameAndArn>
5860
6137
  # * {Types::ListBillingGroupsResponse#next_token #next_token} => String
5861
6138
  #
6139
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6140
+ #
5862
6141
  # @example Request syntax with placeholder values
5863
6142
  #
5864
6143
  # resp = client.list_billing_groups({
@@ -5900,6 +6179,8 @@ module Aws::IoT
5900
6179
  # * {Types::ListCACertificatesResponse#certificates #certificates} => Array<Types::CACertificate>
5901
6180
  # * {Types::ListCACertificatesResponse#next_marker #next_marker} => String
5902
6181
  #
6182
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6183
+ #
5903
6184
  # @example Request syntax with placeholder values
5904
6185
  #
5905
6186
  # resp = client.list_ca_certificates({
@@ -5944,6 +6225,8 @@ module Aws::IoT
5944
6225
  # * {Types::ListCertificatesResponse#certificates #certificates} => Array<Types::Certificate>
5945
6226
  # * {Types::ListCertificatesResponse#next_marker #next_marker} => String
5946
6227
  #
6228
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6229
+ #
5947
6230
  # @example Request syntax with placeholder values
5948
6231
  #
5949
6232
  # resp = client.list_certificates({
@@ -5990,6 +6273,8 @@ module Aws::IoT
5990
6273
  # * {Types::ListCertificatesByCAResponse#certificates #certificates} => Array<Types::Certificate>
5991
6274
  # * {Types::ListCertificatesByCAResponse#next_marker #next_marker} => String
5992
6275
  #
6276
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6277
+ #
5993
6278
  # @example Request syntax with placeholder values
5994
6279
  #
5995
6280
  # resp = client.list_certificates_by_ca({
@@ -6029,6 +6314,8 @@ module Aws::IoT
6029
6314
  # * {Types::ListDimensionsResponse#dimension_names #dimension_names} => Array<String>
6030
6315
  # * {Types::ListDimensionsResponse#next_token #next_token} => String
6031
6316
  #
6317
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6318
+ #
6032
6319
  # @example Request syntax with placeholder values
6033
6320
  #
6034
6321
  # resp = client.list_dimensions({
@@ -6071,6 +6358,8 @@ module Aws::IoT
6071
6358
  # * {Types::ListDomainConfigurationsResponse#domain_configurations #domain_configurations} => Array<Types::DomainConfigurationSummary>
6072
6359
  # * {Types::ListDomainConfigurationsResponse#next_marker #next_marker} => String
6073
6360
  #
6361
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6362
+ #
6074
6363
  # @example Request syntax with placeholder values
6075
6364
  #
6076
6365
  # resp = client.list_domain_configurations({
@@ -6108,6 +6397,8 @@ module Aws::IoT
6108
6397
  # * {Types::ListIndicesResponse#index_names #index_names} => Array<String>
6109
6398
  # * {Types::ListIndicesResponse#next_token #next_token} => String
6110
6399
  #
6400
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6401
+ #
6111
6402
  # @example Request syntax with placeholder values
6112
6403
  #
6113
6404
  # resp = client.list_indices({
@@ -6147,6 +6438,8 @@ module Aws::IoT
6147
6438
  # * {Types::ListJobExecutionsForJobResponse#execution_summaries #execution_summaries} => Array<Types::JobExecutionSummaryForJob>
6148
6439
  # * {Types::ListJobExecutionsForJobResponse#next_token #next_token} => String
6149
6440
  #
6441
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6442
+ #
6150
6443
  # @example Request syntax with placeholder values
6151
6444
  #
6152
6445
  # resp = client.list_job_executions_for_job({
@@ -6194,6 +6487,8 @@ module Aws::IoT
6194
6487
  # * {Types::ListJobExecutionsForThingResponse#execution_summaries #execution_summaries} => Array<Types::JobExecutionSummaryForThing>
6195
6488
  # * {Types::ListJobExecutionsForThingResponse#next_token #next_token} => String
6196
6489
  #
6490
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6491
+ #
6197
6492
  # @example Request syntax with placeholder values
6198
6493
  #
6199
6494
  # resp = client.list_job_executions_for_thing({
@@ -6254,6 +6549,8 @@ module Aws::IoT
6254
6549
  # * {Types::ListJobsResponse#jobs #jobs} => Array<Types::JobSummary>
6255
6550
  # * {Types::ListJobsResponse#next_token #next_token} => String
6256
6551
  #
6552
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6553
+ #
6257
6554
  # @example Request syntax with placeholder values
6258
6555
  #
6259
6556
  # resp = client.list_jobs({
@@ -6304,6 +6601,8 @@ module Aws::IoT
6304
6601
  # * {Types::ListMitigationActionsResponse#action_identifiers #action_identifiers} => Array<Types::MitigationActionIdentifier>
6305
6602
  # * {Types::ListMitigationActionsResponse#next_token #next_token} => String
6306
6603
  #
6604
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6605
+ #
6307
6606
  # @example Request syntax with placeholder values
6308
6607
  #
6309
6608
  # resp = client.list_mitigation_actions({
@@ -6343,6 +6642,8 @@ module Aws::IoT
6343
6642
  # * {Types::ListOTAUpdatesResponse#ota_updates #ota_updates} => Array<Types::OTAUpdateSummary>
6344
6643
  # * {Types::ListOTAUpdatesResponse#next_token #next_token} => String
6345
6644
  #
6645
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6646
+ #
6346
6647
  # @example Request syntax with placeholder values
6347
6648
  #
6348
6649
  # resp = client.list_ota_updates({
@@ -6383,6 +6684,8 @@ module Aws::IoT
6383
6684
  # * {Types::ListOutgoingCertificatesResponse#outgoing_certificates #outgoing_certificates} => Array<Types::OutgoingCertificate>
6384
6685
  # * {Types::ListOutgoingCertificatesResponse#next_marker #next_marker} => String
6385
6686
  #
6687
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6688
+ #
6386
6689
  # @example Request syntax with placeholder values
6387
6690
  #
6388
6691
  # resp = client.list_outgoing_certificates({
@@ -6426,6 +6729,8 @@ module Aws::IoT
6426
6729
  # * {Types::ListPoliciesResponse#policies #policies} => Array<Types::Policy>
6427
6730
  # * {Types::ListPoliciesResponse#next_marker #next_marker} => String
6428
6731
  #
6732
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6733
+ #
6429
6734
  # @example Request syntax with placeholder values
6430
6735
  #
6431
6736
  # resp = client.list_policies({
@@ -6471,6 +6776,8 @@ module Aws::IoT
6471
6776
  # * {Types::ListPolicyPrincipalsResponse#principals #principals} => Array<String>
6472
6777
  # * {Types::ListPolicyPrincipalsResponse#next_marker #next_marker} => String
6473
6778
  #
6779
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6780
+ #
6474
6781
  # @example Request syntax with placeholder values
6475
6782
  #
6476
6783
  # resp = client.list_policy_principals({
@@ -6535,7 +6842,11 @@ module Aws::IoT
6535
6842
  # [1]: https://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_GetCredentialsForIdentity.html#API_GetCredentialsForIdentity_RequestSyntax
6536
6843
  #
6537
6844
  # @option params [required, String] :principal
6538
- # The principal.
6845
+ # The principal. Valid principals are CertificateArn
6846
+ # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
6847
+ # thingGroupArn
6848
+ # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
6849
+ # CognitoId (*region*\:*id*).
6539
6850
  #
6540
6851
  # @option params [String] :marker
6541
6852
  # The marker for the next set of results.
@@ -6552,6 +6863,8 @@ module Aws::IoT
6552
6863
  # * {Types::ListPrincipalPoliciesResponse#policies #policies} => Array<Types::Policy>
6553
6864
  # * {Types::ListPrincipalPoliciesResponse#next_marker #next_marker} => String
6554
6865
  #
6866
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6867
+ #
6555
6868
  # @example Request syntax with placeholder values
6556
6869
  #
6557
6870
  # resp = client.list_principal_policies({
@@ -6593,6 +6906,8 @@ module Aws::IoT
6593
6906
  # * {Types::ListPrincipalThingsResponse#things #things} => Array<String>
6594
6907
  # * {Types::ListPrincipalThingsResponse#next_token #next_token} => String
6595
6908
  #
6909
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6910
+ #
6596
6911
  # @example Request syntax with placeholder values
6597
6912
  #
6598
6913
  # resp = client.list_principal_things({
@@ -6630,6 +6945,8 @@ module Aws::IoT
6630
6945
  # * {Types::ListProvisioningTemplateVersionsResponse#versions #versions} => Array<Types::ProvisioningTemplateVersionSummary>
6631
6946
  # * {Types::ListProvisioningTemplateVersionsResponse#next_token #next_token} => String
6632
6947
  #
6948
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6949
+ #
6633
6950
  # @example Request syntax with placeholder values
6634
6951
  #
6635
6952
  # resp = client.list_provisioning_template_versions({
@@ -6666,6 +6983,8 @@ module Aws::IoT
6666
6983
  # * {Types::ListProvisioningTemplatesResponse#templates #templates} => Array<Types::ProvisioningTemplateSummary>
6667
6984
  # * {Types::ListProvisioningTemplatesResponse#next_token #next_token} => String
6668
6985
  #
6986
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6987
+ #
6669
6988
  # @example Request syntax with placeholder values
6670
6989
  #
6671
6990
  # resp = client.list_provisioning_templates({
@@ -6707,6 +7026,8 @@ module Aws::IoT
6707
7026
  # * {Types::ListRoleAliasesResponse#role_aliases #role_aliases} => Array<String>
6708
7027
  # * {Types::ListRoleAliasesResponse#next_marker #next_marker} => String
6709
7028
  #
7029
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7030
+ #
6710
7031
  # @example Request syntax with placeholder values
6711
7032
  #
6712
7033
  # resp = client.list_role_aliases({
@@ -6742,6 +7063,8 @@ module Aws::IoT
6742
7063
  # * {Types::ListScheduledAuditsResponse#scheduled_audits #scheduled_audits} => Array<Types::ScheduledAuditMetadata>
6743
7064
  # * {Types::ListScheduledAuditsResponse#next_token #next_token} => String
6744
7065
  #
7066
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7067
+ #
6745
7068
  # @example Request syntax with placeholder values
6746
7069
  #
6747
7070
  # resp = client.list_scheduled_audits({
@@ -6785,6 +7108,8 @@ module Aws::IoT
6785
7108
  # * {Types::ListSecurityProfilesResponse#security_profile_identifiers #security_profile_identifiers} => Array<Types::SecurityProfileIdentifier>
6786
7109
  # * {Types::ListSecurityProfilesResponse#next_token #next_token} => String
6787
7110
  #
7111
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7112
+ #
6788
7113
  # @example Request syntax with placeholder values
6789
7114
  #
6790
7115
  # resp = client.list_security_profiles({
@@ -6828,6 +7153,8 @@ module Aws::IoT
6828
7153
  # * {Types::ListSecurityProfilesForTargetResponse#security_profile_target_mappings #security_profile_target_mappings} => Array<Types::SecurityProfileTargetMapping>
6829
7154
  # * {Types::ListSecurityProfilesForTargetResponse#next_token #next_token} => String
6830
7155
  #
7156
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7157
+ #
6831
7158
  # @example Request syntax with placeholder values
6832
7159
  #
6833
7160
  # resp = client.list_security_profiles_for_target({
@@ -6868,6 +7195,8 @@ module Aws::IoT
6868
7195
  # * {Types::ListStreamsResponse#streams #streams} => Array<Types::StreamSummary>
6869
7196
  # * {Types::ListStreamsResponse#next_token #next_token} => String
6870
7197
  #
7198
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7199
+ #
6871
7200
  # @example Request syntax with placeholder values
6872
7201
  #
6873
7202
  # resp = client.list_streams({
@@ -6905,6 +7234,8 @@ module Aws::IoT
6905
7234
  # * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::Tag>
6906
7235
  # * {Types::ListTagsForResourceResponse#next_token #next_token} => String
6907
7236
  #
7237
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7238
+ #
6908
7239
  # @example Request syntax with placeholder values
6909
7240
  #
6910
7241
  # resp = client.list_tags_for_resource({
@@ -6942,6 +7273,8 @@ module Aws::IoT
6942
7273
  # * {Types::ListTargetsForPolicyResponse#targets #targets} => Array<String>
6943
7274
  # * {Types::ListTargetsForPolicyResponse#next_marker #next_marker} => String
6944
7275
  #
7276
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7277
+ #
6945
7278
  # @example Request syntax with placeholder values
6946
7279
  #
6947
7280
  # resp = client.list_targets_for_policy({
@@ -6980,6 +7313,8 @@ module Aws::IoT
6980
7313
  # * {Types::ListTargetsForSecurityProfileResponse#security_profile_targets #security_profile_targets} => Array<Types::SecurityProfileTarget>
6981
7314
  # * {Types::ListTargetsForSecurityProfileResponse#next_token #next_token} => String
6982
7315
  #
7316
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7317
+ #
6983
7318
  # @example Request syntax with placeholder values
6984
7319
  #
6985
7320
  # resp = client.list_targets_for_security_profile({
@@ -7025,6 +7360,8 @@ module Aws::IoT
7025
7360
  # * {Types::ListThingGroupsResponse#thing_groups #thing_groups} => Array<Types::GroupNameAndArn>
7026
7361
  # * {Types::ListThingGroupsResponse#next_token #next_token} => String
7027
7362
  #
7363
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7364
+ #
7028
7365
  # @example Request syntax with placeholder values
7029
7366
  #
7030
7367
  # resp = client.list_thing_groups({
@@ -7065,6 +7402,8 @@ module Aws::IoT
7065
7402
  # * {Types::ListThingGroupsForThingResponse#thing_groups #thing_groups} => Array<Types::GroupNameAndArn>
7066
7403
  # * {Types::ListThingGroupsForThingResponse#next_token #next_token} => String
7067
7404
  #
7405
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7406
+ #
7068
7407
  # @example Request syntax with placeholder values
7069
7408
  #
7070
7409
  # resp = client.list_thing_groups_for_thing({
@@ -7136,6 +7475,8 @@ module Aws::IoT
7136
7475
  # * {Types::ListThingRegistrationTaskReportsResponse#report_type #report_type} => String
7137
7476
  # * {Types::ListThingRegistrationTaskReportsResponse#next_token #next_token} => String
7138
7477
  #
7478
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7479
+ #
7139
7480
  # @example Request syntax with placeholder values
7140
7481
  #
7141
7482
  # resp = client.list_thing_registration_task_reports({
@@ -7175,6 +7516,8 @@ module Aws::IoT
7175
7516
  # * {Types::ListThingRegistrationTasksResponse#task_ids #task_ids} => Array<String>
7176
7517
  # * {Types::ListThingRegistrationTasksResponse#next_token #next_token} => String
7177
7518
  #
7519
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7520
+ #
7178
7521
  # @example Request syntax with placeholder values
7179
7522
  #
7180
7523
  # resp = client.list_thing_registration_tasks({
@@ -7212,6 +7555,8 @@ module Aws::IoT
7212
7555
  # * {Types::ListThingTypesResponse#thing_types #thing_types} => Array<Types::ThingTypeDefinition>
7213
7556
  # * {Types::ListThingTypesResponse#next_token #next_token} => String
7214
7557
  #
7558
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7559
+ #
7215
7560
  # @example Request syntax with placeholder values
7216
7561
  #
7217
7562
  # resp = client.list_thing_types({
@@ -7246,6 +7591,13 @@ module Aws::IoT
7246
7591
  # in the registry that contain an attribute **Color** with the value
7247
7592
  # **Red**.
7248
7593
  #
7594
+ # <note markdown="1"> You will not be charged for calling this API if an `Access denied`
7595
+ # error is returned. You will also not be charged if no attributes or
7596
+ # pagination token was provided in request and no pagination token and
7597
+ # no results were returned.
7598
+ #
7599
+ # </note>
7600
+ #
7249
7601
  # @option params [String] :next_token
7250
7602
  # The token to retrieve the next set of results.
7251
7603
  #
@@ -7266,6 +7618,8 @@ module Aws::IoT
7266
7618
  # * {Types::ListThingsResponse#things #things} => Array&lt;Types::ThingAttribute&gt;
7267
7619
  # * {Types::ListThingsResponse#next_token #next_token} => String
7268
7620
  #
7621
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7622
+ #
7269
7623
  # @example Request syntax with placeholder values
7270
7624
  #
7271
7625
  # resp = client.list_things({
@@ -7310,6 +7664,8 @@ module Aws::IoT
7310
7664
  # * {Types::ListThingsInBillingGroupResponse#things #things} => Array&lt;String&gt;
7311
7665
  # * {Types::ListThingsInBillingGroupResponse#next_token #next_token} => String
7312
7666
  #
7667
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7668
+ #
7313
7669
  # @example Request syntax with placeholder values
7314
7670
  #
7315
7671
  # resp = client.list_things_in_billing_group({
@@ -7351,6 +7707,8 @@ module Aws::IoT
7351
7707
  # * {Types::ListThingsInThingGroupResponse#things #things} => Array&lt;String&gt;
7352
7708
  # * {Types::ListThingsInThingGroupResponse#next_token #next_token} => String
7353
7709
  #
7710
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7711
+ #
7354
7712
  # @example Request syntax with placeholder values
7355
7713
  #
7356
7714
  # resp = client.list_things_in_thing_group({
@@ -7386,6 +7744,8 @@ module Aws::IoT
7386
7744
  # * {Types::ListTopicRuleDestinationsResponse#destination_summaries #destination_summaries} => Array&lt;Types::TopicRuleDestinationSummary&gt;
7387
7745
  # * {Types::ListTopicRuleDestinationsResponse#next_token #next_token} => String
7388
7746
  #
7747
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7748
+ #
7389
7749
  # @example Request syntax with placeholder values
7390
7750
  #
7391
7751
  # resp = client.list_topic_rule_destinations({
@@ -7428,6 +7788,8 @@ module Aws::IoT
7428
7788
  # * {Types::ListTopicRulesResponse#rules #rules} => Array&lt;Types::TopicRuleListItem&gt;
7429
7789
  # * {Types::ListTopicRulesResponse#next_token #next_token} => String
7430
7790
  #
7791
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7792
+ #
7431
7793
  # @example Request syntax with placeholder values
7432
7794
  #
7433
7795
  # resp = client.list_topic_rules({
@@ -7472,6 +7834,8 @@ module Aws::IoT
7472
7834
  # * {Types::ListV2LoggingLevelsResponse#log_target_configurations #log_target_configurations} => Array&lt;Types::LogTargetConfiguration&gt;
7473
7835
  # * {Types::ListV2LoggingLevelsResponse#next_token #next_token} => String
7474
7836
  #
7837
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7838
+ #
7475
7839
  # @example Request syntax with placeholder values
7476
7840
  #
7477
7841
  # resp = client.list_v2_logging_levels({
@@ -7525,6 +7889,8 @@ module Aws::IoT
7525
7889
  # * {Types::ListViolationEventsResponse#violation_events #violation_events} => Array&lt;Types::ViolationEvent&gt;
7526
7890
  # * {Types::ListViolationEventsResponse#next_token #next_token} => String
7527
7891
  #
7892
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7893
+ #
7528
7894
  # @example Request syntax with placeholder values
7529
7895
  #
7530
7896
  # resp = client.list_violation_events({
@@ -8580,7 +8946,11 @@ module Aws::IoT
8580
8946
  # gateway.
8581
8947
  #
8582
8948
  # @option params [String] :principal
8583
- # The principal.
8949
+ # The principal. Valid principals are CertificateArn
8950
+ # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
8951
+ # thingGroupArn
8952
+ # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
8953
+ # CognitoId (*region*\:*id*).
8584
8954
  #
8585
8955
  # @option params [String] :cognito_identity_pool_id
8586
8956
  # The Cognito identity pool ID.
@@ -8840,6 +9210,58 @@ module Aws::IoT
8840
9210
  req.send_request(options)
8841
9211
  end
8842
9212
 
9213
+ # Updates a Device Defender audit suppression.
9214
+ #
9215
+ # @option params [required, String] :check_name
9216
+ # An audit check name. Checks must be enabled for your account. (Use
9217
+ # `DescribeAccountAuditConfiguration` to see the list of all checks,
9218
+ # including those that are enabled or use
9219
+ # `UpdateAccountAuditConfiguration` to select which checks are enabled.)
9220
+ #
9221
+ # @option params [required, Types::ResourceIdentifier] :resource_identifier
9222
+ # Information that identifies the noncompliant resource.
9223
+ #
9224
+ # @option params [Time,DateTime,Date,Integer,String] :expiration_date
9225
+ # The expiration date (epoch timestamp in seconds) that you want the
9226
+ # suppression to adhere to.
9227
+ #
9228
+ # @option params [Boolean] :suppress_indefinitely
9229
+ # Indicates whether a suppression should exist indefinitely or not.
9230
+ #
9231
+ # @option params [String] :description
9232
+ # The description of the audit suppression.
9233
+ #
9234
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
9235
+ #
9236
+ # @example Request syntax with placeholder values
9237
+ #
9238
+ # resp = client.update_audit_suppression({
9239
+ # check_name: "AuditCheckName", # required
9240
+ # resource_identifier: { # required
9241
+ # device_certificate_id: "CertificateId",
9242
+ # ca_certificate_id: "CertificateId",
9243
+ # cognito_identity_pool_id: "CognitoIdentityPoolId",
9244
+ # client_id: "ClientId",
9245
+ # policy_version_identifier: {
9246
+ # policy_name: "PolicyName",
9247
+ # policy_version_id: "PolicyVersionId",
9248
+ # },
9249
+ # account: "AwsAccountId",
9250
+ # iam_role_arn: "RoleArn",
9251
+ # role_alias_arn: "RoleAliasArn",
9252
+ # },
9253
+ # expiration_date: Time.now,
9254
+ # suppress_indefinitely: false,
9255
+ # description: "AuditDescription",
9256
+ # })
9257
+ #
9258
+ # @overload update_audit_suppression(params = {})
9259
+ # @param [Hash] params ({})
9260
+ def update_audit_suppression(params = {}, options = {})
9261
+ req = build_request(:update_audit_suppression, params)
9262
+ req.send_request(options)
9263
+ end
9264
+
8843
9265
  # Updates an authorizer.
8844
9266
  #
8845
9267
  # @option params [required, String] :authorizer_name
@@ -8971,12 +9393,13 @@ module Aws::IoT
8971
9393
  # Updates the status of the specified certificate. This operation is
8972
9394
  # idempotent.
8973
9395
  #
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.
9396
+ # Certificates must be in the ACTIVE state to authenticate devices that
9397
+ # use a certificate to connect to AWS IoT.
8977
9398
  #
8978
- # The ACTIVE state is required to authenticate devices connecting to AWS
8979
- # IoT using a certificate.
9399
+ # Within a few minutes of updating a certificate from the ACTIVE state
9400
+ # to any other state, AWS IoT disconnects all devices that used that
9401
+ # certificate to connect. Devices cannot use a certificate that is not
9402
+ # in the ACTIVE state to reconnect.
8980
9403
  #
8981
9404
  # @option params [required, String] :certificate_id
8982
9405
  # The ID of the certificate. (The last part of the certificate ARN
@@ -9969,7 +10392,7 @@ module Aws::IoT
9969
10392
  params: params,
9970
10393
  config: config)
9971
10394
  context[:gem_name] = 'aws-sdk-iot'
9972
- context[:gem_version] = '1.54.0'
10395
+ context[:gem_version] = '1.55.0'
9973
10396
  Seahorse::Client::Request.new(handlers, context)
9974
10397
  end
9975
10398