aws-sdk-iot 1.95.0 → 1.97.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: e3833e52c7b44eb9910c666430b135db469699f6f7ddddb710a3bceb8168c6fd
4
- data.tar.gz: 94bb2e5f590a94ad6b8f98504ab583263cbc2746a4613c8fac98a6ebd6fd27cd
3
+ metadata.gz: 521211841904fbce0e816b01c78a696f7113ba5467ef7a3d57e82448eacdab34
4
+ data.tar.gz: c335d4e65417cee60ed113ea5bcb311f479877f59132cbf84dcb02a46da9c8d2
5
5
  SHA512:
6
- metadata.gz: '08e11555856e2cb397a7dbd34121297459d4998dce0fe0318ac6978fc2c22f16b0eed5c8965c80daa880fc86ac97b88740c9675873d3cf69a529929340a25ec7'
7
- data.tar.gz: 6b430e419180abeec5e861bec693b1fde13aec2b7b6f3cfa13d3bb39ad83301d6960fbabb9eb8c102eca9d67f20a0d905e76c50611c4bdb6930dcb634f0bd2f0
6
+ metadata.gz: 7b32c2a862b5fcb47f8c4d817c1d102fc0c11dae5d74733929f1672bcc5372122e349a60365c0608cc0e17cb4a79bf42f892d1f432f2c96a9ec6aabf61937e7a
7
+ data.tar.gz: 5f1d3f589b05d8674478034b25e5903545be746325a8d48fe9a55718fc379e49e0ff164a35f29cecf47fcf0a32226fe4d2ce08881767460326fad90385d4bfd5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.97.0 (2022-11-11)
5
+ ------------------
6
+
7
+ * Feature - This release add new api listRelatedResourcesForAuditFinding and new member type IssuerCertificates for Iot device device defender Audit.
8
+
9
+ 1.96.0 (2022-10-31)
10
+ ------------------
11
+
12
+ * Feature - This release adds the Amazon Location action to IoT Rules Engine.
13
+
4
14
  1.95.0 (2022-10-25)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.95.0
1
+ 1.97.0
@@ -1038,6 +1038,12 @@ module Aws::IoT
1038
1038
  # account: "AwsAccountId",
1039
1039
  # iam_role_arn: "RoleArn",
1040
1040
  # role_alias_arn: "RoleAliasArn",
1041
+ # issuer_certificate_identifier: {
1042
+ # issuer_certificate_subject: "IssuerCertificateSubject",
1043
+ # issuer_id: "IssuerId",
1044
+ # issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
1045
+ # },
1046
+ # device_certificate_arn: "CertificateArn",
1041
1047
  # },
1042
1048
  # expiration_date: Time.now,
1043
1049
  # suppress_indefinitely: false,
@@ -2490,7 +2496,13 @@ module Aws::IoT
2490
2496
  # This IoT role grants permission to provision a device.
2491
2497
  #
2492
2498
  # @option params [Types::ProvisioningHook] :pre_provisioning_hook
2493
- # Creates a pre-provisioning hook template.
2499
+ # Creates a pre-provisioning hook template. Only supports template of
2500
+ # type `FLEET_PROVISIONING`. For more information about provisioning
2501
+ # template types, see [type][1].
2502
+ #
2503
+ #
2504
+ #
2505
+ # [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_CreateProvisioningTemplate.html#iot-CreateProvisioningTemplate-request-type
2494
2506
  #
2495
2507
  # @option params [Array<Types::Tag>] :tags
2496
2508
  # Metadata which can be used to manage the provisioning template.
@@ -3334,6 +3346,17 @@ module Aws::IoT
3334
3346
  # type: "ElasticsearchType", # required
3335
3347
  # id: "ElasticsearchId", # required
3336
3348
  # },
3349
+ # location: {
3350
+ # role_arn: "AwsArn", # required
3351
+ # tracker_name: "String", # required
3352
+ # device_id: "String", # required
3353
+ # timestamp: {
3354
+ # value: "String", # required
3355
+ # unit: "String",
3356
+ # },
3357
+ # latitude: "String", # required
3358
+ # longitude: "String", # required
3359
+ # },
3337
3360
  # },
3338
3361
  # ],
3339
3362
  # rule_disabled: false,
@@ -3512,6 +3535,17 @@ module Aws::IoT
3512
3535
  # type: "ElasticsearchType", # required
3513
3536
  # id: "ElasticsearchId", # required
3514
3537
  # },
3538
+ # location: {
3539
+ # role_arn: "AwsArn", # required
3540
+ # tracker_name: "String", # required
3541
+ # device_id: "String", # required
3542
+ # timestamp: {
3543
+ # value: "String", # required
3544
+ # unit: "String",
3545
+ # },
3546
+ # latitude: "String", # required
3547
+ # longitude: "String", # required
3548
+ # },
3515
3549
  # },
3516
3550
  # },
3517
3551
  # tags: "String",
@@ -3643,6 +3677,12 @@ module Aws::IoT
3643
3677
  # account: "AwsAccountId",
3644
3678
  # iam_role_arn: "RoleArn",
3645
3679
  # role_alias_arn: "RoleAliasArn",
3680
+ # issuer_certificate_identifier: {
3681
+ # issuer_certificate_subject: "IssuerCertificateSubject",
3682
+ # issuer_id: "IssuerId",
3683
+ # issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
3684
+ # },
3685
+ # device_certificate_arn: "CertificateArn",
3646
3686
  # },
3647
3687
  # })
3648
3688
  #
@@ -4691,7 +4731,7 @@ module Aws::IoT
4691
4731
  # resp.finding.task_start_time #=> Time
4692
4732
  # resp.finding.finding_time #=> Time
4693
4733
  # resp.finding.severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW"
4694
- # resp.finding.non_compliant_resource.resource_type #=> String, one of "DEVICE_CERTIFICATE", "CA_CERTIFICATE", "IOT_POLICY", "COGNITO_IDENTITY_POOL", "CLIENT_ID", "ACCOUNT_SETTINGS", "ROLE_ALIAS", "IAM_ROLE"
4734
+ # resp.finding.non_compliant_resource.resource_type #=> String, one of "DEVICE_CERTIFICATE", "CA_CERTIFICATE", "IOT_POLICY", "COGNITO_IDENTITY_POOL", "CLIENT_ID", "ACCOUNT_SETTINGS", "ROLE_ALIAS", "IAM_ROLE", "ISSUER_CERTIFICATE"
4695
4735
  # resp.finding.non_compliant_resource.resource_identifier.device_certificate_id #=> String
4696
4736
  # resp.finding.non_compliant_resource.resource_identifier.ca_certificate_id #=> String
4697
4737
  # resp.finding.non_compliant_resource.resource_identifier.cognito_identity_pool_id #=> String
@@ -4701,10 +4741,14 @@ module Aws::IoT
4701
4741
  # resp.finding.non_compliant_resource.resource_identifier.account #=> String
4702
4742
  # resp.finding.non_compliant_resource.resource_identifier.iam_role_arn #=> String
4703
4743
  # resp.finding.non_compliant_resource.resource_identifier.role_alias_arn #=> String
4744
+ # resp.finding.non_compliant_resource.resource_identifier.issuer_certificate_identifier.issuer_certificate_subject #=> String
4745
+ # resp.finding.non_compliant_resource.resource_identifier.issuer_certificate_identifier.issuer_id #=> String
4746
+ # resp.finding.non_compliant_resource.resource_identifier.issuer_certificate_identifier.issuer_certificate_serial_number #=> String
4747
+ # resp.finding.non_compliant_resource.resource_identifier.device_certificate_arn #=> String
4704
4748
  # resp.finding.non_compliant_resource.additional_info #=> Hash
4705
4749
  # resp.finding.non_compliant_resource.additional_info["String"] #=> String
4706
4750
  # resp.finding.related_resources #=> Array
4707
- # resp.finding.related_resources[0].resource_type #=> String, one of "DEVICE_CERTIFICATE", "CA_CERTIFICATE", "IOT_POLICY", "COGNITO_IDENTITY_POOL", "CLIENT_ID", "ACCOUNT_SETTINGS", "ROLE_ALIAS", "IAM_ROLE"
4751
+ # resp.finding.related_resources[0].resource_type #=> String, one of "DEVICE_CERTIFICATE", "CA_CERTIFICATE", "IOT_POLICY", "COGNITO_IDENTITY_POOL", "CLIENT_ID", "ACCOUNT_SETTINGS", "ROLE_ALIAS", "IAM_ROLE", "ISSUER_CERTIFICATE"
4708
4752
  # resp.finding.related_resources[0].resource_identifier.device_certificate_id #=> String
4709
4753
  # resp.finding.related_resources[0].resource_identifier.ca_certificate_id #=> String
4710
4754
  # resp.finding.related_resources[0].resource_identifier.cognito_identity_pool_id #=> String
@@ -4714,6 +4758,10 @@ module Aws::IoT
4714
4758
  # resp.finding.related_resources[0].resource_identifier.account #=> String
4715
4759
  # resp.finding.related_resources[0].resource_identifier.iam_role_arn #=> String
4716
4760
  # resp.finding.related_resources[0].resource_identifier.role_alias_arn #=> String
4761
+ # resp.finding.related_resources[0].resource_identifier.issuer_certificate_identifier.issuer_certificate_subject #=> String
4762
+ # resp.finding.related_resources[0].resource_identifier.issuer_certificate_identifier.issuer_id #=> String
4763
+ # resp.finding.related_resources[0].resource_identifier.issuer_certificate_identifier.issuer_certificate_serial_number #=> String
4764
+ # resp.finding.related_resources[0].resource_identifier.device_certificate_arn #=> String
4717
4765
  # resp.finding.related_resources[0].additional_info #=> Hash
4718
4766
  # resp.finding.related_resources[0].additional_info["String"] #=> String
4719
4767
  # resp.finding.reason_for_non_compliance #=> String
@@ -4827,6 +4875,12 @@ module Aws::IoT
4827
4875
  # account: "AwsAccountId",
4828
4876
  # iam_role_arn: "RoleArn",
4829
4877
  # role_alias_arn: "RoleAliasArn",
4878
+ # issuer_certificate_identifier: {
4879
+ # issuer_certificate_subject: "IssuerCertificateSubject",
4880
+ # issuer_id: "IssuerId",
4881
+ # issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
4882
+ # },
4883
+ # device_certificate_arn: "CertificateArn",
4830
4884
  # },
4831
4885
  # })
4832
4886
  #
@@ -4842,6 +4896,10 @@ module Aws::IoT
4842
4896
  # resp.resource_identifier.account #=> String
4843
4897
  # resp.resource_identifier.iam_role_arn #=> String
4844
4898
  # resp.resource_identifier.role_alias_arn #=> String
4899
+ # resp.resource_identifier.issuer_certificate_identifier.issuer_certificate_subject #=> String
4900
+ # resp.resource_identifier.issuer_certificate_identifier.issuer_id #=> String
4901
+ # resp.resource_identifier.issuer_certificate_identifier.issuer_certificate_serial_number #=> String
4902
+ # resp.resource_identifier.device_certificate_arn #=> String
4845
4903
  # resp.expiration_date #=> Time
4846
4904
  # resp.suppress_indefinitely #=> Boolean
4847
4905
  # resp.description #=> String
@@ -6509,7 +6567,7 @@ module Aws::IoT
6509
6567
  #
6510
6568
  # @option params [Integer] :max_results
6511
6569
  # The maximum number of results to return at one time. The default is
6512
- # 25.
6570
+ # 10.
6513
6571
  #
6514
6572
  # @option params [String] :next_token
6515
6573
  # The token for the next set of results.
@@ -7246,6 +7304,13 @@ module Aws::IoT
7246
7304
  # resp.rule.actions[0].open_search.index #=> String
7247
7305
  # resp.rule.actions[0].open_search.type #=> String
7248
7306
  # resp.rule.actions[0].open_search.id #=> String
7307
+ # resp.rule.actions[0].location.role_arn #=> String
7308
+ # resp.rule.actions[0].location.tracker_name #=> String
7309
+ # resp.rule.actions[0].location.device_id #=> String
7310
+ # resp.rule.actions[0].location.timestamp.value #=> String
7311
+ # resp.rule.actions[0].location.timestamp.unit #=> String
7312
+ # resp.rule.actions[0].location.latitude #=> String
7313
+ # resp.rule.actions[0].location.longitude #=> String
7249
7314
  # resp.rule.rule_disabled #=> Boolean
7250
7315
  # resp.rule.aws_iot_sql_version #=> String
7251
7316
  # resp.rule.error_action.dynamo_db.table_name #=> String
@@ -7352,6 +7417,13 @@ module Aws::IoT
7352
7417
  # resp.rule.error_action.open_search.index #=> String
7353
7418
  # resp.rule.error_action.open_search.type #=> String
7354
7419
  # resp.rule.error_action.open_search.id #=> String
7420
+ # resp.rule.error_action.location.role_arn #=> String
7421
+ # resp.rule.error_action.location.tracker_name #=> String
7422
+ # resp.rule.error_action.location.device_id #=> String
7423
+ # resp.rule.error_action.location.timestamp.value #=> String
7424
+ # resp.rule.error_action.location.timestamp.unit #=> String
7425
+ # resp.rule.error_action.location.latitude #=> String
7426
+ # resp.rule.error_action.location.longitude #=> String
7355
7427
  #
7356
7428
  # @overload get_topic_rule(params = {})
7357
7429
  # @param [Hash] params ({})
@@ -7654,6 +7726,12 @@ module Aws::IoT
7654
7726
  # account: "AwsAccountId",
7655
7727
  # iam_role_arn: "RoleArn",
7656
7728
  # role_alias_arn: "RoleAliasArn",
7729
+ # issuer_certificate_identifier: {
7730
+ # issuer_certificate_subject: "IssuerCertificateSubject",
7731
+ # issuer_id: "IssuerId",
7732
+ # issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
7733
+ # },
7734
+ # device_certificate_arn: "CertificateArn",
7657
7735
  # },
7658
7736
  # max_results: 1,
7659
7737
  # next_token: "NextToken",
@@ -7671,7 +7749,7 @@ module Aws::IoT
7671
7749
  # resp.findings[0].task_start_time #=> Time
7672
7750
  # resp.findings[0].finding_time #=> Time
7673
7751
  # resp.findings[0].severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW"
7674
- # resp.findings[0].non_compliant_resource.resource_type #=> String, one of "DEVICE_CERTIFICATE", "CA_CERTIFICATE", "IOT_POLICY", "COGNITO_IDENTITY_POOL", "CLIENT_ID", "ACCOUNT_SETTINGS", "ROLE_ALIAS", "IAM_ROLE"
7752
+ # resp.findings[0].non_compliant_resource.resource_type #=> String, one of "DEVICE_CERTIFICATE", "CA_CERTIFICATE", "IOT_POLICY", "COGNITO_IDENTITY_POOL", "CLIENT_ID", "ACCOUNT_SETTINGS", "ROLE_ALIAS", "IAM_ROLE", "ISSUER_CERTIFICATE"
7675
7753
  # resp.findings[0].non_compliant_resource.resource_identifier.device_certificate_id #=> String
7676
7754
  # resp.findings[0].non_compliant_resource.resource_identifier.ca_certificate_id #=> String
7677
7755
  # resp.findings[0].non_compliant_resource.resource_identifier.cognito_identity_pool_id #=> String
@@ -7681,10 +7759,14 @@ module Aws::IoT
7681
7759
  # resp.findings[0].non_compliant_resource.resource_identifier.account #=> String
7682
7760
  # resp.findings[0].non_compliant_resource.resource_identifier.iam_role_arn #=> String
7683
7761
  # resp.findings[0].non_compliant_resource.resource_identifier.role_alias_arn #=> String
7762
+ # resp.findings[0].non_compliant_resource.resource_identifier.issuer_certificate_identifier.issuer_certificate_subject #=> String
7763
+ # resp.findings[0].non_compliant_resource.resource_identifier.issuer_certificate_identifier.issuer_id #=> String
7764
+ # resp.findings[0].non_compliant_resource.resource_identifier.issuer_certificate_identifier.issuer_certificate_serial_number #=> String
7765
+ # resp.findings[0].non_compliant_resource.resource_identifier.device_certificate_arn #=> String
7684
7766
  # resp.findings[0].non_compliant_resource.additional_info #=> Hash
7685
7767
  # resp.findings[0].non_compliant_resource.additional_info["String"] #=> String
7686
7768
  # resp.findings[0].related_resources #=> Array
7687
- # resp.findings[0].related_resources[0].resource_type #=> String, one of "DEVICE_CERTIFICATE", "CA_CERTIFICATE", "IOT_POLICY", "COGNITO_IDENTITY_POOL", "CLIENT_ID", "ACCOUNT_SETTINGS", "ROLE_ALIAS", "IAM_ROLE"
7769
+ # resp.findings[0].related_resources[0].resource_type #=> String, one of "DEVICE_CERTIFICATE", "CA_CERTIFICATE", "IOT_POLICY", "COGNITO_IDENTITY_POOL", "CLIENT_ID", "ACCOUNT_SETTINGS", "ROLE_ALIAS", "IAM_ROLE", "ISSUER_CERTIFICATE"
7688
7770
  # resp.findings[0].related_resources[0].resource_identifier.device_certificate_id #=> String
7689
7771
  # resp.findings[0].related_resources[0].resource_identifier.ca_certificate_id #=> String
7690
7772
  # resp.findings[0].related_resources[0].resource_identifier.cognito_identity_pool_id #=> String
@@ -7694,6 +7776,10 @@ module Aws::IoT
7694
7776
  # resp.findings[0].related_resources[0].resource_identifier.account #=> String
7695
7777
  # resp.findings[0].related_resources[0].resource_identifier.iam_role_arn #=> String
7696
7778
  # resp.findings[0].related_resources[0].resource_identifier.role_alias_arn #=> String
7779
+ # resp.findings[0].related_resources[0].resource_identifier.issuer_certificate_identifier.issuer_certificate_subject #=> String
7780
+ # resp.findings[0].related_resources[0].resource_identifier.issuer_certificate_identifier.issuer_id #=> String
7781
+ # resp.findings[0].related_resources[0].resource_identifier.issuer_certificate_identifier.issuer_certificate_serial_number #=> String
7782
+ # resp.findings[0].related_resources[0].resource_identifier.device_certificate_arn #=> String
7697
7783
  # resp.findings[0].related_resources[0].additional_info #=> Hash
7698
7784
  # resp.findings[0].related_resources[0].additional_info["String"] #=> String
7699
7785
  # resp.findings[0].reason_for_non_compliance #=> String
@@ -7896,6 +7982,12 @@ module Aws::IoT
7896
7982
  # account: "AwsAccountId",
7897
7983
  # iam_role_arn: "RoleArn",
7898
7984
  # role_alias_arn: "RoleAliasArn",
7985
+ # issuer_certificate_identifier: {
7986
+ # issuer_certificate_subject: "IssuerCertificateSubject",
7987
+ # issuer_id: "IssuerId",
7988
+ # issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
7989
+ # },
7990
+ # device_certificate_arn: "CertificateArn",
7899
7991
  # },
7900
7992
  # ascending_order: false,
7901
7993
  # next_token: "NextToken",
@@ -7915,6 +8007,10 @@ module Aws::IoT
7915
8007
  # resp.suppressions[0].resource_identifier.account #=> String
7916
8008
  # resp.suppressions[0].resource_identifier.iam_role_arn #=> String
7917
8009
  # resp.suppressions[0].resource_identifier.role_alias_arn #=> String
8010
+ # resp.suppressions[0].resource_identifier.issuer_certificate_identifier.issuer_certificate_subject #=> String
8011
+ # resp.suppressions[0].resource_identifier.issuer_certificate_identifier.issuer_id #=> String
8012
+ # resp.suppressions[0].resource_identifier.issuer_certificate_identifier.issuer_certificate_serial_number #=> String
8013
+ # resp.suppressions[0].resource_identifier.device_certificate_arn #=> String
7918
8014
  # resp.suppressions[0].expiration_date #=> Time
7919
8015
  # resp.suppressions[0].suppress_indefinitely #=> Boolean
7920
8016
  # resp.suppressions[0].description #=> String
@@ -9507,6 +9603,91 @@ module Aws::IoT
9507
9603
  req.send_request(options)
9508
9604
  end
9509
9605
 
9606
+ # The related resources of an Audit finding. The following resources can
9607
+ # be returned from calling this API:
9608
+ #
9609
+ # * DEVICE\_CERTIFICATE
9610
+ #
9611
+ # * CA\_CERTIFICATE
9612
+ #
9613
+ # * IOT\_POLICY
9614
+ #
9615
+ # * COGNITO\_IDENTITY\_POOL
9616
+ #
9617
+ # * CLIENT\_ID
9618
+ #
9619
+ # * ACCOUNT\_SETTINGS
9620
+ #
9621
+ # * ROLE\_ALIAS
9622
+ #
9623
+ # * IAM\_ROLE
9624
+ #
9625
+ # * ISSUER\_CERTIFICATE
9626
+ #
9627
+ # <note markdown="1"> This API is similar to DescribeAuditFinding's [RelatedResources][1]
9628
+ # but provides pagination and is not limited to 10 resources. When
9629
+ # calling [DescribeAuditFinding][1] for the intermediate CA revoked for
9630
+ # active device certificates check, RelatedResources will not be
9631
+ # populated. You must use this API, ListRelatedResourcesForAuditFinding,
9632
+ # to list the certificates.
9633
+ #
9634
+ # </note>
9635
+ #
9636
+ #
9637
+ #
9638
+ # [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_DescribeAuditFinding.html
9639
+ #
9640
+ # @option params [required, String] :finding_id
9641
+ # The finding Id.
9642
+ #
9643
+ # @option params [String] :next_token
9644
+ # A token that can be used to retrieve the next set of results, or
9645
+ # `null` if there are no additional results.
9646
+ #
9647
+ # @option params [Integer] :max_results
9648
+ # The maximum number of results to return at one time.
9649
+ #
9650
+ # @return [Types::ListRelatedResourcesForAuditFindingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9651
+ #
9652
+ # * {Types::ListRelatedResourcesForAuditFindingResponse#related_resources #related_resources} => Array&lt;Types::RelatedResource&gt;
9653
+ # * {Types::ListRelatedResourcesForAuditFindingResponse#next_token #next_token} => String
9654
+ #
9655
+ # @example Request syntax with placeholder values
9656
+ #
9657
+ # resp = client.list_related_resources_for_audit_finding({
9658
+ # finding_id: "FindingId", # required
9659
+ # next_token: "NextToken",
9660
+ # max_results: 1,
9661
+ # })
9662
+ #
9663
+ # @example Response structure
9664
+ #
9665
+ # resp.related_resources #=> Array
9666
+ # resp.related_resources[0].resource_type #=> String, one of "DEVICE_CERTIFICATE", "CA_CERTIFICATE", "IOT_POLICY", "COGNITO_IDENTITY_POOL", "CLIENT_ID", "ACCOUNT_SETTINGS", "ROLE_ALIAS", "IAM_ROLE", "ISSUER_CERTIFICATE"
9667
+ # resp.related_resources[0].resource_identifier.device_certificate_id #=> String
9668
+ # resp.related_resources[0].resource_identifier.ca_certificate_id #=> String
9669
+ # resp.related_resources[0].resource_identifier.cognito_identity_pool_id #=> String
9670
+ # resp.related_resources[0].resource_identifier.client_id #=> String
9671
+ # resp.related_resources[0].resource_identifier.policy_version_identifier.policy_name #=> String
9672
+ # resp.related_resources[0].resource_identifier.policy_version_identifier.policy_version_id #=> String
9673
+ # resp.related_resources[0].resource_identifier.account #=> String
9674
+ # resp.related_resources[0].resource_identifier.iam_role_arn #=> String
9675
+ # resp.related_resources[0].resource_identifier.role_alias_arn #=> String
9676
+ # resp.related_resources[0].resource_identifier.issuer_certificate_identifier.issuer_certificate_subject #=> String
9677
+ # resp.related_resources[0].resource_identifier.issuer_certificate_identifier.issuer_id #=> String
9678
+ # resp.related_resources[0].resource_identifier.issuer_certificate_identifier.issuer_certificate_serial_number #=> String
9679
+ # resp.related_resources[0].resource_identifier.device_certificate_arn #=> String
9680
+ # resp.related_resources[0].additional_info #=> Hash
9681
+ # resp.related_resources[0].additional_info["String"] #=> String
9682
+ # resp.next_token #=> String
9683
+ #
9684
+ # @overload list_related_resources_for_audit_finding(params = {})
9685
+ # @param [Hash] params ({})
9686
+ def list_related_resources_for_audit_finding(params = {}, options = {})
9687
+ req = build_request(:list_related_resources_for_audit_finding, params)
9688
+ req.send_request(options)
9689
+ end
9690
+
9510
9691
  # Lists the role aliases registered in your account.
9511
9692
  #
9512
9693
  # Requires permission to access the [ListRoleAliases][1] action.
@@ -10200,9 +10381,10 @@ module Aws::IoT
10200
10381
  # parameters to filter your things. For example, calling `ListThings`
10201
10382
  # with attributeName=Color and attributeValue=Red retrieves all things
10202
10383
  # in the registry that contain an attribute **Color** with the value
10203
- # **Red**.
10384
+ # **Red**. For more information, see [List Things][1] from the *Amazon
10385
+ # Web Services IoT Core Developer Guide*.
10204
10386
  #
10205
- # Requires permission to access the [ListThings][1] action.
10387
+ # Requires permission to access the [ListThings][2] action.
10206
10388
  #
10207
10389
  # <note markdown="1"> You will not be charged for calling this API if an `Access denied`
10208
10390
  # error is returned. You will also not be charged if no attributes or
@@ -10213,7 +10395,8 @@ module Aws::IoT
10213
10395
  #
10214
10396
  #
10215
10397
  #
10216
- # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
10398
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/thing-registry.html#list-things
10399
+ # [2]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
10217
10400
  #
10218
10401
  # @option params [String] :next_token
10219
10402
  # To retrieve the next set of results, the `nextToken` value from a
@@ -11256,6 +11439,17 @@ module Aws::IoT
11256
11439
  # type: "ElasticsearchType", # required
11257
11440
  # id: "ElasticsearchId", # required
11258
11441
  # },
11442
+ # location: {
11443
+ # role_arn: "AwsArn", # required
11444
+ # tracker_name: "String", # required
11445
+ # device_id: "String", # required
11446
+ # timestamp: {
11447
+ # value: "String", # required
11448
+ # unit: "String",
11449
+ # },
11450
+ # latitude: "String", # required
11451
+ # longitude: "String", # required
11452
+ # },
11259
11453
  # },
11260
11454
  # ],
11261
11455
  # rule_disabled: false,
@@ -11434,6 +11628,17 @@ module Aws::IoT
11434
11628
  # type: "ElasticsearchType", # required
11435
11629
  # id: "ElasticsearchId", # required
11436
11630
  # },
11631
+ # location: {
11632
+ # role_arn: "AwsArn", # required
11633
+ # tracker_name: "String", # required
11634
+ # device_id: "String", # required
11635
+ # timestamp: {
11636
+ # value: "String", # required
11637
+ # unit: "String",
11638
+ # },
11639
+ # latitude: "String", # required
11640
+ # longitude: "String", # required
11641
+ # },
11437
11642
  # },
11438
11643
  # },
11439
11644
  # })
@@ -12310,6 +12515,12 @@ module Aws::IoT
12310
12515
  # account: "AwsAccountId",
12311
12516
  # iam_role_arn: "RoleArn",
12312
12517
  # role_alias_arn: "RoleAliasArn",
12518
+ # issuer_certificate_identifier: {
12519
+ # issuer_certificate_subject: "IssuerCertificateSubject",
12520
+ # issuer_id: "IssuerId",
12521
+ # issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
12522
+ # },
12523
+ # device_certificate_arn: "CertificateArn",
12313
12524
  # },
12314
12525
  # expiration_date: Time.now,
12315
12526
  # suppress_indefinitely: false,
@@ -13100,7 +13311,13 @@ module Aws::IoT
13100
13311
  # IoT role grants permission to provision a device.
13101
13312
  #
13102
13313
  # @option params [Types::ProvisioningHook] :pre_provisioning_hook
13103
- # Updates the pre-provisioning hook template.
13314
+ # Updates the pre-provisioning hook template. Only supports template of
13315
+ # type `FLEET_PROVISIONING`. For more information about provisioning
13316
+ # template types, see [type][1].
13317
+ #
13318
+ #
13319
+ #
13320
+ # [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_CreateProvisioningTemplate.html#iot-CreateProvisioningTemplate-request-type
13104
13321
  #
13105
13322
  # @option params [Boolean] :remove_pre_provisioning_hook
13106
13323
  # Removes pre-provisioning hook template.
@@ -13763,7 +13980,7 @@ module Aws::IoT
13763
13980
  params: params,
13764
13981
  config: config)
13765
13982
  context[:gem_name] = 'aws-sdk-iot'
13766
- context[:gem_version] = '1.95.0'
13983
+ context[:gem_version] = '1.97.0'
13767
13984
  Seahorse::Client::Request.new(handlers, context)
13768
13985
  end
13769
13986
 
@@ -616,6 +616,10 @@ module Aws::IoT
616
616
  IsDefaultVersion = Shapes::BooleanShape.new(name: 'IsDefaultVersion')
617
617
  IsDisabled = Shapes::BooleanShape.new(name: 'IsDisabled')
618
618
  IsSuppressed = Shapes::BooleanShape.new(name: 'IsSuppressed')
619
+ IssuerCertificateIdentifier = Shapes::StructureShape.new(name: 'IssuerCertificateIdentifier')
620
+ IssuerCertificateSerialNumber = Shapes::StringShape.new(name: 'IssuerCertificateSerialNumber')
621
+ IssuerCertificateSubject = Shapes::StringShape.new(name: 'IssuerCertificateSubject')
622
+ IssuerId = Shapes::StringShape.new(name: 'IssuerId')
619
623
  Job = Shapes::StructureShape.new(name: 'Job')
620
624
  JobArn = Shapes::StringShape.new(name: 'JobArn')
621
625
  JobDescription = Shapes::StringShape.new(name: 'JobDescription')
@@ -724,6 +728,8 @@ module Aws::IoT
724
728
  ListProvisioningTemplateVersionsResponse = Shapes::StructureShape.new(name: 'ListProvisioningTemplateVersionsResponse')
725
729
  ListProvisioningTemplatesRequest = Shapes::StructureShape.new(name: 'ListProvisioningTemplatesRequest')
726
730
  ListProvisioningTemplatesResponse = Shapes::StructureShape.new(name: 'ListProvisioningTemplatesResponse')
731
+ ListRelatedResourcesForAuditFindingRequest = Shapes::StructureShape.new(name: 'ListRelatedResourcesForAuditFindingRequest')
732
+ ListRelatedResourcesForAuditFindingResponse = Shapes::StructureShape.new(name: 'ListRelatedResourcesForAuditFindingResponse')
727
733
  ListRoleAliasesRequest = Shapes::StructureShape.new(name: 'ListRoleAliasesRequest')
728
734
  ListRoleAliasesResponse = Shapes::StructureShape.new(name: 'ListRoleAliasesResponse')
729
735
  ListScheduledAuditsRequest = Shapes::StructureShape.new(name: 'ListScheduledAuditsRequest')
@@ -768,6 +774,8 @@ module Aws::IoT
768
774
  ListV2LoggingLevelsResponse = Shapes::StructureShape.new(name: 'ListV2LoggingLevelsResponse')
769
775
  ListViolationEventsRequest = Shapes::StructureShape.new(name: 'ListViolationEventsRequest')
770
776
  ListViolationEventsResponse = Shapes::StructureShape.new(name: 'ListViolationEventsResponse')
777
+ LocationAction = Shapes::StructureShape.new(name: 'LocationAction')
778
+ LocationTimestamp = Shapes::StructureShape.new(name: 'LocationTimestamp')
771
779
  LogGroupName = Shapes::StringShape.new(name: 'LogGroupName')
772
780
  LogLevel = Shapes::StringShape.new(name: 'LogLevel')
773
781
  LogTarget = Shapes::StructureShape.new(name: 'LogTarget')
@@ -1305,6 +1313,7 @@ module Aws::IoT
1305
1313
  Action.add_member(:http, Shapes::ShapeRef.new(shape: HttpAction, location_name: "http"))
1306
1314
  Action.add_member(:kafka, Shapes::ShapeRef.new(shape: KafkaAction, location_name: "kafka"))
1307
1315
  Action.add_member(:open_search, Shapes::ShapeRef.new(shape: OpenSearchAction, location_name: "openSearch"))
1316
+ Action.add_member(:location, Shapes::ShapeRef.new(shape: LocationAction, location_name: "location"))
1308
1317
  Action.struct_class = Types::Action
1309
1318
 
1310
1319
  ActionList.member = Shapes::ShapeRef.new(shape: Action)
@@ -3012,6 +3021,11 @@ module Aws::IoT
3012
3021
  IotSiteWiseAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
3013
3022
  IotSiteWiseAction.struct_class = Types::IotSiteWiseAction
3014
3023
 
3024
+ IssuerCertificateIdentifier.add_member(:issuer_certificate_subject, Shapes::ShapeRef.new(shape: IssuerCertificateSubject, location_name: "issuerCertificateSubject"))
3025
+ IssuerCertificateIdentifier.add_member(:issuer_id, Shapes::ShapeRef.new(shape: IssuerId, location_name: "issuerId"))
3026
+ IssuerCertificateIdentifier.add_member(:issuer_certificate_serial_number, Shapes::ShapeRef.new(shape: IssuerCertificateSerialNumber, location_name: "issuerCertificateSerialNumber"))
3027
+ IssuerCertificateIdentifier.struct_class = Types::IssuerCertificateIdentifier
3028
+
3015
3029
  Job.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "jobArn"))
3016
3030
  Job.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
3017
3031
  Job.add_member(:target_selection, Shapes::ShapeRef.new(shape: TargetSelection, location_name: "targetSelection"))
@@ -3485,6 +3499,15 @@ module Aws::IoT
3485
3499
  ListProvisioningTemplatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
3486
3500
  ListProvisioningTemplatesResponse.struct_class = Types::ListProvisioningTemplatesResponse
3487
3501
 
3502
+ ListRelatedResourcesForAuditFindingRequest.add_member(:finding_id, Shapes::ShapeRef.new(shape: FindingId, required: true, location: "querystring", location_name: "findingId"))
3503
+ ListRelatedResourcesForAuditFindingRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
3504
+ ListRelatedResourcesForAuditFindingRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
3505
+ ListRelatedResourcesForAuditFindingRequest.struct_class = Types::ListRelatedResourcesForAuditFindingRequest
3506
+
3507
+ ListRelatedResourcesForAuditFindingResponse.add_member(:related_resources, Shapes::ShapeRef.new(shape: RelatedResources, location_name: "relatedResources"))
3508
+ ListRelatedResourcesForAuditFindingResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
3509
+ ListRelatedResourcesForAuditFindingResponse.struct_class = Types::ListRelatedResourcesForAuditFindingResponse
3510
+
3488
3511
  ListRoleAliasesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "pageSize"))
3489
3512
  ListRoleAliasesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "marker"))
3490
3513
  ListRoleAliasesRequest.add_member(:ascending_order, Shapes::ShapeRef.new(shape: AscendingOrder, location: "querystring", location_name: "isAscendingOrder"))
@@ -3688,6 +3711,18 @@ module Aws::IoT
3688
3711
  ListViolationEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
3689
3712
  ListViolationEventsResponse.struct_class = Types::ListViolationEventsResponse
3690
3713
 
3714
+ LocationAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
3715
+ LocationAction.add_member(:tracker_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "trackerName"))
3716
+ LocationAction.add_member(:device_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "deviceId"))
3717
+ LocationAction.add_member(:timestamp, Shapes::ShapeRef.new(shape: LocationTimestamp, location_name: "timestamp"))
3718
+ LocationAction.add_member(:latitude, Shapes::ShapeRef.new(shape: String, required: true, location_name: "latitude"))
3719
+ LocationAction.add_member(:longitude, Shapes::ShapeRef.new(shape: String, required: true, location_name: "longitude"))
3720
+ LocationAction.struct_class = Types::LocationAction
3721
+
3722
+ LocationTimestamp.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "value"))
3723
+ LocationTimestamp.add_member(:unit, Shapes::ShapeRef.new(shape: String, location_name: "unit"))
3724
+ LocationTimestamp.struct_class = Types::LocationTimestamp
3725
+
3691
3726
  LogTarget.add_member(:target_type, Shapes::ShapeRef.new(shape: LogTargetType, required: true, location_name: "targetType"))
3692
3727
  LogTarget.add_member(:target_name, Shapes::ShapeRef.new(shape: LogTargetName, location_name: "targetName"))
3693
3728
  LogTarget.struct_class = Types::LogTarget
@@ -4043,6 +4078,8 @@ module Aws::IoT
4043
4078
  ResourceIdentifier.add_member(:account, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "account"))
4044
4079
  ResourceIdentifier.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "iamRoleArn"))
4045
4080
  ResourceIdentifier.add_member(:role_alias_arn, Shapes::ShapeRef.new(shape: RoleAliasArn, location_name: "roleAliasArn"))
4081
+ ResourceIdentifier.add_member(:issuer_certificate_identifier, Shapes::ShapeRef.new(shape: IssuerCertificateIdentifier, location_name: "issuerCertificateIdentifier"))
4082
+ ResourceIdentifier.add_member(:device_certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "deviceCertificateArn"))
4046
4083
  ResourceIdentifier.struct_class = Types::ResourceIdentifier
4047
4084
 
4048
4085
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
@@ -7261,6 +7298,18 @@ module Aws::IoT
7261
7298
  )
7262
7299
  end)
7263
7300
 
7301
+ api.add_operation(:list_related_resources_for_audit_finding, Seahorse::Model::Operation.new.tap do |o|
7302
+ o.name = "ListRelatedResourcesForAuditFinding"
7303
+ o.http_method = "GET"
7304
+ o.http_request_uri = "/audit/relatedResources"
7305
+ o.input = Shapes::ShapeRef.new(shape: ListRelatedResourcesForAuditFindingRequest)
7306
+ o.output = Shapes::ShapeRef.new(shape: ListRelatedResourcesForAuditFindingResponse)
7307
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7308
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
7309
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7310
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
7311
+ end)
7312
+
7264
7313
  api.add_operation(:list_role_aliases, Seahorse::Model::Operation.new.tap do |o|
7265
7314
  o.name = "ListRoleAliases"
7266
7315
  o.http_method = "GET"
@@ -2335,6 +2335,20 @@ module Aws::IoT
2335
2335
  end
2336
2336
  end
2337
2337
 
2338
+ class ListRelatedResourcesForAuditFinding
2339
+ def self.build(context)
2340
+ unless context.config.regional_endpoint
2341
+ endpoint = context.config.endpoint.to_s
2342
+ end
2343
+ Aws::IoT::EndpointParameters.new(
2344
+ region: context.config.region,
2345
+ use_dual_stack: context.config.use_dualstack_endpoint,
2346
+ use_fips: context.config.use_fips_endpoint,
2347
+ endpoint: endpoint,
2348
+ )
2349
+ end
2350
+ end
2351
+
2338
2352
  class ListRoleAliases
2339
2353
  def self.build(context)
2340
2354
  unless context.config.regional_endpoint
@@ -388,6 +388,8 @@ module Aws::IoT
388
388
  Aws::IoT::Endpoints::ListProvisioningTemplateVersions.build(context)
389
389
  when :list_provisioning_templates
390
390
  Aws::IoT::Endpoints::ListProvisioningTemplates.build(context)
391
+ when :list_related_resources_for_audit_finding
392
+ Aws::IoT::Endpoints::ListRelatedResourcesForAuditFinding.build(context)
391
393
  when :list_role_aliases
392
394
  Aws::IoT::Endpoints::ListRoleAliases.build(context)
393
395
  when :list_scheduled_audits
@@ -283,6 +283,17 @@ module Aws::IoT
283
283
  # type: "ElasticsearchType", # required
284
284
  # id: "ElasticsearchId", # required
285
285
  # },
286
+ # location: {
287
+ # role_arn: "AwsArn", # required
288
+ # tracker_name: "String", # required
289
+ # device_id: "String", # required
290
+ # timestamp: {
291
+ # value: "String", # required
292
+ # unit: "String",
293
+ # },
294
+ # latitude: "String", # required
295
+ # longitude: "String", # required
296
+ # },
286
297
  # }
287
298
  #
288
299
  # @!attribute [rw] dynamo_db
@@ -394,6 +405,11 @@ module Aws::IoT
394
405
  # Write data to an Amazon OpenSearch Service domain.
395
406
  # @return [Types::OpenSearchAction]
396
407
  #
408
+ # @!attribute [rw] location
409
+ # The Amazon Location Service rule action sends device location
410
+ # updates from an MQTT message to an Amazon Location tracker resource.
411
+ # @return [Types::LocationAction]
412
+ #
397
413
  class Action < Struct.new(
398
414
  :dynamo_db,
399
415
  :dynamo_d_bv_2,
@@ -416,7 +432,8 @@ module Aws::IoT
416
432
  :timestream,
417
433
  :http,
418
434
  :kafka,
419
- :open_search)
435
+ :open_search,
436
+ :location)
420
437
  SENSITIVE = []
421
438
  include Aws::Structure
422
439
  end
@@ -2808,6 +2825,12 @@ module Aws::IoT
2808
2825
  # account: "AwsAccountId",
2809
2826
  # iam_role_arn: "RoleArn",
2810
2827
  # role_alias_arn: "RoleAliasArn",
2828
+ # issuer_certificate_identifier: {
2829
+ # issuer_certificate_subject: "IssuerCertificateSubject",
2830
+ # issuer_id: "IssuerId",
2831
+ # issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
2832
+ # },
2833
+ # device_certificate_arn: "CertificateArn",
2811
2834
  # },
2812
2835
  # expiration_date: Time.now,
2813
2836
  # suppress_indefinitely: false,
@@ -4451,7 +4474,13 @@ module Aws::IoT
4451
4474
  # @return [String]
4452
4475
  #
4453
4476
  # @!attribute [rw] pre_provisioning_hook
4454
- # Creates a pre-provisioning hook template.
4477
+ # Creates a pre-provisioning hook template. Only supports template of
4478
+ # type `FLEET_PROVISIONING`. For more information about provisioning
4479
+ # template types, see [type][1].
4480
+ #
4481
+ #
4482
+ #
4483
+ # [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_CreateProvisioningTemplate.html#iot-CreateProvisioningTemplate-request-type
4455
4484
  # @return [Types::ProvisioningHook]
4456
4485
  #
4457
4486
  # @!attribute [rw] tags
@@ -5349,6 +5378,17 @@ module Aws::IoT
5349
5378
  # type: "ElasticsearchType", # required
5350
5379
  # id: "ElasticsearchId", # required
5351
5380
  # },
5381
+ # location: {
5382
+ # role_arn: "AwsArn", # required
5383
+ # tracker_name: "String", # required
5384
+ # device_id: "String", # required
5385
+ # timestamp: {
5386
+ # value: "String", # required
5387
+ # unit: "String",
5388
+ # },
5389
+ # latitude: "String", # required
5390
+ # longitude: "String", # required
5391
+ # },
5352
5392
  # },
5353
5393
  # ],
5354
5394
  # rule_disabled: false,
@@ -5527,6 +5567,17 @@ module Aws::IoT
5527
5567
  # type: "ElasticsearchType", # required
5528
5568
  # id: "ElasticsearchId", # required
5529
5569
  # },
5570
+ # location: {
5571
+ # role_arn: "AwsArn", # required
5572
+ # tracker_name: "String", # required
5573
+ # device_id: "String", # required
5574
+ # timestamp: {
5575
+ # value: "String", # required
5576
+ # unit: "String",
5577
+ # },
5578
+ # latitude: "String", # required
5579
+ # longitude: "String", # required
5580
+ # },
5530
5581
  # },
5531
5582
  # },
5532
5583
  # tags: "String",
@@ -5651,6 +5702,12 @@ module Aws::IoT
5651
5702
  # account: "AwsAccountId",
5652
5703
  # iam_role_arn: "RoleArn",
5653
5704
  # role_alias_arn: "RoleAliasArn",
5705
+ # issuer_certificate_identifier: {
5706
+ # issuer_certificate_subject: "IssuerCertificateSubject",
5707
+ # issuer_id: "IssuerId",
5708
+ # issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
5709
+ # },
5710
+ # device_certificate_arn: "CertificateArn",
5654
5711
  # },
5655
5712
  # }
5656
5713
  #
@@ -6596,6 +6653,12 @@ module Aws::IoT
6596
6653
  # account: "AwsAccountId",
6597
6654
  # iam_role_arn: "RoleArn",
6598
6655
  # role_alias_arn: "RoleAliasArn",
6656
+ # issuer_certificate_identifier: {
6657
+ # issuer_certificate_subject: "IssuerCertificateSubject",
6658
+ # issuer_id: "IssuerId",
6659
+ # issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
6660
+ # },
6661
+ # device_certificate_arn: "CertificateArn",
6599
6662
  # },
6600
6663
  # }
6601
6664
  #
@@ -9078,7 +9141,7 @@ module Aws::IoT
9078
9141
  #
9079
9142
  # @!attribute [rw] max_results
9080
9143
  # The maximum number of results to return at one time. The default is
9081
- # 25.
9144
+ # 10.
9082
9145
  # @return [Integer]
9083
9146
  #
9084
9147
  # @!attribute [rw] next_token
@@ -10211,6 +10274,37 @@ module Aws::IoT
10211
10274
  include Aws::Structure
10212
10275
  end
10213
10276
 
10277
+ # The certificate issuer indentifier.
10278
+ #
10279
+ # @note When making an API call, you may pass IssuerCertificateIdentifier
10280
+ # data as a hash:
10281
+ #
10282
+ # {
10283
+ # issuer_certificate_subject: "IssuerCertificateSubject",
10284
+ # issuer_id: "IssuerId",
10285
+ # issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
10286
+ # }
10287
+ #
10288
+ # @!attribute [rw] issuer_certificate_subject
10289
+ # The subject of the issuer certificate.
10290
+ # @return [String]
10291
+ #
10292
+ # @!attribute [rw] issuer_id
10293
+ # The issuer ID.
10294
+ # @return [String]
10295
+ #
10296
+ # @!attribute [rw] issuer_certificate_serial_number
10297
+ # The issuer certificate serial number.
10298
+ # @return [String]
10299
+ #
10300
+ class IssuerCertificateIdentifier < Struct.new(
10301
+ :issuer_certificate_subject,
10302
+ :issuer_id,
10303
+ :issuer_certificate_serial_number)
10304
+ SENSITIVE = []
10305
+ include Aws::Structure
10306
+ end
10307
+
10214
10308
  # The `Job` object contains details about a job.
10215
10309
  #
10216
10310
  # @!attribute [rw] job_arn
@@ -11019,6 +11113,12 @@ module Aws::IoT
11019
11113
  # account: "AwsAccountId",
11020
11114
  # iam_role_arn: "RoleArn",
11021
11115
  # role_alias_arn: "RoleAliasArn",
11116
+ # issuer_certificate_identifier: {
11117
+ # issuer_certificate_subject: "IssuerCertificateSubject",
11118
+ # issuer_id: "IssuerId",
11119
+ # issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
11120
+ # },
11121
+ # device_certificate_arn: "CertificateArn",
11022
11122
  # },
11023
11123
  # max_results: 1,
11024
11124
  # next_token: "NextToken",
@@ -11253,6 +11353,12 @@ module Aws::IoT
11253
11353
  # account: "AwsAccountId",
11254
11354
  # iam_role_arn: "RoleArn",
11255
11355
  # role_alias_arn: "RoleAliasArn",
11356
+ # issuer_certificate_identifier: {
11357
+ # issuer_certificate_subject: "IssuerCertificateSubject",
11358
+ # issuer_id: "IssuerId",
11359
+ # issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
11360
+ # },
11361
+ # device_certificate_arn: "CertificateArn",
11256
11362
  # },
11257
11363
  # ascending_order: false,
11258
11364
  # next_token: "NextToken",
@@ -12827,6 +12933,52 @@ module Aws::IoT
12827
12933
  include Aws::Structure
12828
12934
  end
12829
12935
 
12936
+ # @note When making an API call, you may pass ListRelatedResourcesForAuditFindingRequest
12937
+ # data as a hash:
12938
+ #
12939
+ # {
12940
+ # finding_id: "FindingId", # required
12941
+ # next_token: "NextToken",
12942
+ # max_results: 1,
12943
+ # }
12944
+ #
12945
+ # @!attribute [rw] finding_id
12946
+ # The finding Id.
12947
+ # @return [String]
12948
+ #
12949
+ # @!attribute [rw] next_token
12950
+ # A token that can be used to retrieve the next set of results, or
12951
+ # `null` if there are no additional results.
12952
+ # @return [String]
12953
+ #
12954
+ # @!attribute [rw] max_results
12955
+ # The maximum number of results to return at one time.
12956
+ # @return [Integer]
12957
+ #
12958
+ class ListRelatedResourcesForAuditFindingRequest < Struct.new(
12959
+ :finding_id,
12960
+ :next_token,
12961
+ :max_results)
12962
+ SENSITIVE = []
12963
+ include Aws::Structure
12964
+ end
12965
+
12966
+ # @!attribute [rw] related_resources
12967
+ # The related resources.
12968
+ # @return [Array<Types::RelatedResource>]
12969
+ #
12970
+ # @!attribute [rw] next_token
12971
+ # A token that can be used to retrieve the next set of results, or
12972
+ # `null` for the first API call.
12973
+ # @return [String]
12974
+ #
12975
+ class ListRelatedResourcesForAuditFindingResponse < Struct.new(
12976
+ :related_resources,
12977
+ :next_token)
12978
+ SENSITIVE = []
12979
+ include Aws::Structure
12980
+ end
12981
+
12830
12982
  # @note When making an API call, you may pass ListRoleAliasesRequest
12831
12983
  # data as a hash:
12832
12984
  #
@@ -13910,6 +14062,94 @@ module Aws::IoT
13910
14062
  include Aws::Structure
13911
14063
  end
13912
14064
 
14065
+ # The Amazon Location rule action sends device location updates from an
14066
+ # MQTT message to an Amazon Location tracker resource.
14067
+ #
14068
+ # @note When making an API call, you may pass LocationAction
14069
+ # data as a hash:
14070
+ #
14071
+ # {
14072
+ # role_arn: "AwsArn", # required
14073
+ # tracker_name: "String", # required
14074
+ # device_id: "String", # required
14075
+ # timestamp: {
14076
+ # value: "String", # required
14077
+ # unit: "String",
14078
+ # },
14079
+ # latitude: "String", # required
14080
+ # longitude: "String", # required
14081
+ # }
14082
+ #
14083
+ # @!attribute [rw] role_arn
14084
+ # The IAM role that grants permission to write to the Amazon Location
14085
+ # resource.
14086
+ # @return [String]
14087
+ #
14088
+ # @!attribute [rw] tracker_name
14089
+ # The name of the tracker resource in Amazon Location in which the
14090
+ # location is updated.
14091
+ # @return [String]
14092
+ #
14093
+ # @!attribute [rw] device_id
14094
+ # The unique ID of the device providing the location data.
14095
+ # @return [String]
14096
+ #
14097
+ # @!attribute [rw] timestamp
14098
+ # The time that the location data was sampled. The default value is
14099
+ # the time the MQTT message was processed.
14100
+ # @return [Types::LocationTimestamp]
14101
+ #
14102
+ # @!attribute [rw] latitude
14103
+ # A string that evaluates to a double value that represents the
14104
+ # latitude of the device's location.
14105
+ # @return [String]
14106
+ #
14107
+ # @!attribute [rw] longitude
14108
+ # A string that evaluates to a double value that represents the
14109
+ # longitude of the device's location.
14110
+ # @return [String]
14111
+ #
14112
+ class LocationAction < Struct.new(
14113
+ :role_arn,
14114
+ :tracker_name,
14115
+ :device_id,
14116
+ :timestamp,
14117
+ :latitude,
14118
+ :longitude)
14119
+ SENSITIVE = []
14120
+ include Aws::Structure
14121
+ end
14122
+
14123
+ # Describes how to interpret an application-defined timestamp value from
14124
+ # an MQTT message payload and the precision of that value.
14125
+ #
14126
+ # @note When making an API call, you may pass LocationTimestamp
14127
+ # data as a hash:
14128
+ #
14129
+ # {
14130
+ # value: "String", # required
14131
+ # unit: "String",
14132
+ # }
14133
+ #
14134
+ # @!attribute [rw] value
14135
+ # An expression that returns a long epoch time value.
14136
+ # @return [String]
14137
+ #
14138
+ # @!attribute [rw] unit
14139
+ # The precision of the timestamp value that results from the
14140
+ # expression described in `value`.
14141
+ #
14142
+ # Valid values: `SECONDS` \| `MILLISECONDS` \| `MICROSECONDS` \|
14143
+ # `NANOSECONDS`. The default is `MILLISECONDS`.
14144
+ # @return [String]
14145
+ #
14146
+ class LocationTimestamp < Struct.new(
14147
+ :value,
14148
+ :unit)
14149
+ SENSITIVE = []
14150
+ include Aws::Structure
14151
+ end
14152
+
13913
14153
  # A log target.
13914
14154
  #
13915
14155
  # @note When making an API call, you may pass LogTarget
@@ -14850,7 +15090,7 @@ module Aws::IoT
14850
15090
  # A summary of information about a fleet provision template version.
14851
15091
  #
14852
15092
  # @!attribute [rw] version_id
14853
- # The ID of the fleet privisioning template version.
15093
+ # The ID of the fleet provisioning template version.
14854
15094
  # @return [Integer]
14855
15095
  #
14856
15096
  # @!attribute [rw] creation_date
@@ -15666,6 +15906,17 @@ module Aws::IoT
15666
15906
  # type: "ElasticsearchType", # required
15667
15907
  # id: "ElasticsearchId", # required
15668
15908
  # },
15909
+ # location: {
15910
+ # role_arn: "AwsArn", # required
15911
+ # tracker_name: "String", # required
15912
+ # device_id: "String", # required
15913
+ # timestamp: {
15914
+ # value: "String", # required
15915
+ # unit: "String",
15916
+ # },
15917
+ # latitude: "String", # required
15918
+ # longitude: "String", # required
15919
+ # },
15669
15920
  # },
15670
15921
  # ],
15671
15922
  # rule_disabled: false,
@@ -15844,6 +16095,17 @@ module Aws::IoT
15844
16095
  # type: "ElasticsearchType", # required
15845
16096
  # id: "ElasticsearchId", # required
15846
16097
  # },
16098
+ # location: {
16099
+ # role_arn: "AwsArn", # required
16100
+ # tracker_name: "String", # required
16101
+ # device_id: "String", # required
16102
+ # timestamp: {
16103
+ # value: "String", # required
16104
+ # unit: "String",
16105
+ # },
16106
+ # latitude: "String", # required
16107
+ # longitude: "String", # required
16108
+ # },
15847
16109
  # },
15848
16110
  # },
15849
16111
  # }
@@ -15934,6 +16196,12 @@ module Aws::IoT
15934
16196
  # account: "AwsAccountId",
15935
16197
  # iam_role_arn: "RoleArn",
15936
16198
  # role_alias_arn: "RoleAliasArn",
16199
+ # issuer_certificate_identifier: {
16200
+ # issuer_certificate_subject: "IssuerCertificateSubject",
16201
+ # issuer_id: "IssuerId",
16202
+ # issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
16203
+ # },
16204
+ # device_certificate_arn: "CertificateArn",
15937
16205
  # }
15938
16206
  #
15939
16207
  # @!attribute [rw] device_certificate_id
@@ -15968,6 +16236,14 @@ module Aws::IoT
15968
16236
  # The ARN of the role alias that has overly permissive actions.
15969
16237
  # @return [String]
15970
16238
  #
16239
+ # @!attribute [rw] issuer_certificate_identifier
16240
+ # The issuer certificate identifier.
16241
+ # @return [Types::IssuerCertificateIdentifier]
16242
+ #
16243
+ # @!attribute [rw] device_certificate_arn
16244
+ # The ARN of the identified device certificate.
16245
+ # @return [String]
16246
+ #
15971
16247
  class ResourceIdentifier < Struct.new(
15972
16248
  :device_certificate_id,
15973
16249
  :ca_certificate_id,
@@ -15976,7 +16252,9 @@ module Aws::IoT
15976
16252
  :policy_version_identifier,
15977
16253
  :account,
15978
16254
  :iam_role_arn,
15979
- :role_alias_arn)
16255
+ :role_alias_arn,
16256
+ :issuer_certificate_identifier,
16257
+ :device_certificate_arn)
15980
16258
  SENSITIVE = []
15981
16259
  include Aws::Structure
15982
16260
  end
@@ -18615,6 +18893,17 @@ module Aws::IoT
18615
18893
  # type: "ElasticsearchType", # required
18616
18894
  # id: "ElasticsearchId", # required
18617
18895
  # },
18896
+ # location: {
18897
+ # role_arn: "AwsArn", # required
18898
+ # tracker_name: "String", # required
18899
+ # device_id: "String", # required
18900
+ # timestamp: {
18901
+ # value: "String", # required
18902
+ # unit: "String",
18903
+ # },
18904
+ # latitude: "String", # required
18905
+ # longitude: "String", # required
18906
+ # },
18618
18907
  # },
18619
18908
  # ],
18620
18909
  # rule_disabled: false,
@@ -18793,6 +19082,17 @@ module Aws::IoT
18793
19082
  # type: "ElasticsearchType", # required
18794
19083
  # id: "ElasticsearchId", # required
18795
19084
  # },
19085
+ # location: {
19086
+ # role_arn: "AwsArn", # required
19087
+ # tracker_name: "String", # required
19088
+ # device_id: "String", # required
19089
+ # timestamp: {
19090
+ # value: "String", # required
19091
+ # unit: "String",
19092
+ # },
19093
+ # latitude: "String", # required
19094
+ # longitude: "String", # required
19095
+ # },
18796
19096
  # },
18797
19097
  # }
18798
19098
  #
@@ -19048,6 +19348,12 @@ module Aws::IoT
19048
19348
  # account: "AwsAccountId",
19049
19349
  # iam_role_arn: "RoleArn",
19050
19350
  # role_alias_arn: "RoleAliasArn",
19351
+ # issuer_certificate_identifier: {
19352
+ # issuer_certificate_subject: "IssuerCertificateSubject",
19353
+ # issuer_id: "IssuerId",
19354
+ # issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
19355
+ # },
19356
+ # device_certificate_arn: "CertificateArn",
19051
19357
  # },
19052
19358
  # expiration_date: Time.now,
19053
19359
  # suppress_indefinitely: false,
@@ -19957,7 +20263,13 @@ module Aws::IoT
19957
20263
  # @return [String]
19958
20264
  #
19959
20265
  # @!attribute [rw] pre_provisioning_hook
19960
- # Updates the pre-provisioning hook template.
20266
+ # Updates the pre-provisioning hook template. Only supports template
20267
+ # of type `FLEET_PROVISIONING`. For more information about
20268
+ # provisioning template types, see [type][1].
20269
+ #
20270
+ #
20271
+ #
20272
+ # [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_CreateProvisioningTemplate.html#iot-CreateProvisioningTemplate-request-type
19961
20273
  # @return [Types::ProvisioningHook]
19962
20274
  #
19963
20275
  # @!attribute [rw] remove_pre_provisioning_hook
data/lib/aws-sdk-iot.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-iot/customizations'
52
52
  # @!group service
53
53
  module Aws::IoT
54
54
 
55
- GEM_VERSION = '1.95.0'
55
+ GEM_VERSION = '1.97.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-iot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.95.0
4
+ version: 1.97.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2022-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core