aws-sdk-iot 1.96.0 → 1.98.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: aa8ae5a478fab7a2b5193783cfb104e9b8417d18bafb66c9d5fb9ad3210e3820
4
- data.tar.gz: 620a8a71188cafdff10cde6c14a8acda5e11a2af261d51b1ba504b85308e3e00
3
+ metadata.gz: 98abdf790987147b8ee5938ad15028e56f0bc2717a3a60e7b70278faa3948359
4
+ data.tar.gz: 917059501d2307233af16a81b10321ae79dad8e5d117e3e6b6166e248fb559b8
5
5
  SHA512:
6
- metadata.gz: f9d7ed1dcf4fda64c817cbcc82509846f5a6c4703f8814b5b443d7aa12abd3c8c4b70b154514757126b49299b3bb4e0156f548463341f8cf3e4879129bd11591
7
- data.tar.gz: 6affc147aa60ec035bf99e572c0932803ac52b94aab969006d7dcc5d9e09393bdf66b08caaac671cad673e13a989dd5fbec192d4926fd138330eea06721a5858
6
+ metadata.gz: 35dad2d1c3b526ae4ff36f0a198313da42703d47eb5a03d26ece19b559efea359d6eeac3e39dd04268da2c5c940913de57555e26b139d3a63e6438412ce9ee77
7
+ data.tar.gz: d496604ba52eb0f5954407f619ac114ef223d33b217a123740494ae3432e2731ce5988c31de0ffec3b22325a2368ee35944e4ffa9d390967f7d9bf4b2739acb1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.98.0 (2022-11-28)
5
+ ------------------
6
+
7
+ * Feature - Job scheduling enables the scheduled rollout of a Job with start and end times and a customizable end behavior when end time is reached. This is available for continuous and snapshot jobs. Added support for MQTT5 properties to AWS IoT TopicRule Republish Action.
8
+
9
+ 1.97.0 (2022-11-11)
10
+ ------------------
11
+
12
+ * Feature - This release add new api listRelatedResourcesForAuditFinding and new member type IssuerCertificates for Iot device device defender Audit.
13
+
4
14
  1.96.0 (2022-10-31)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.96.0
1
+ 1.98.0
@@ -666,8 +666,8 @@ module Aws::IoT
666
666
  end
667
667
 
668
668
  # Attaches the specified principal to the specified thing. A principal
669
- # can be X.509 certificates, IAM users, groups, and roles, Amazon
670
- # Cognito identities or federated identities.
669
+ # can be X.509 certificates, Amazon Cognito identities or federated
670
+ # identities.
671
671
  #
672
672
  # Requires permission to access the [AttachThingPrincipal][1] action.
673
673
  #
@@ -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,
@@ -1787,6 +1793,11 @@ module Aws::IoT
1787
1793
  #
1788
1794
  # </note>
1789
1795
  #
1796
+ # @option params [Types::SchedulingConfig] :scheduling_config
1797
+ # The configuration that allows you to schedule a job for a future date
1798
+ # and time in addition to specifying the end behavior for each job
1799
+ # execution.
1800
+ #
1790
1801
  # @return [Types::CreateJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1791
1802
  #
1792
1803
  # * {Types::CreateJobResponse#job_arn #job_arn} => String
@@ -1849,6 +1860,11 @@ module Aws::IoT
1849
1860
  # document_parameters: {
1850
1861
  # "ParameterKey" => "ParameterValue",
1851
1862
  # },
1863
+ # scheduling_config: {
1864
+ # start_time: "StringDateTime",
1865
+ # end_time: "StringDateTime",
1866
+ # end_behavior: "STOP_ROLLOUT", # accepts STOP_ROLLOUT, CANCEL, FORCE_CANCEL
1867
+ # },
1852
1868
  # })
1853
1869
  #
1854
1870
  # @example Response structure
@@ -3207,6 +3223,19 @@ module Aws::IoT
3207
3223
  # role_arn: "AwsArn", # required
3208
3224
  # topic: "TopicPattern", # required
3209
3225
  # qos: 1,
3226
+ # headers: {
3227
+ # payload_format_indicator: "PayloadFormatIndicator",
3228
+ # content_type: "ContentType",
3229
+ # response_topic: "ResponseTopic",
3230
+ # correlation_data: "CorrelationData",
3231
+ # message_expiry: "MessageExpiry",
3232
+ # user_properties: [
3233
+ # {
3234
+ # key: "UserPropertyKey", # required
3235
+ # value: "UserPropertyValue", # required
3236
+ # },
3237
+ # ],
3238
+ # },
3210
3239
  # },
3211
3240
  # s3: {
3212
3241
  # role_arn: "AwsArn", # required
@@ -3396,6 +3425,19 @@ module Aws::IoT
3396
3425
  # role_arn: "AwsArn", # required
3397
3426
  # topic: "TopicPattern", # required
3398
3427
  # qos: 1,
3428
+ # headers: {
3429
+ # payload_format_indicator: "PayloadFormatIndicator",
3430
+ # content_type: "ContentType",
3431
+ # response_topic: "ResponseTopic",
3432
+ # correlation_data: "CorrelationData",
3433
+ # message_expiry: "MessageExpiry",
3434
+ # user_properties: [
3435
+ # {
3436
+ # key: "UserPropertyKey", # required
3437
+ # value: "UserPropertyValue", # required
3438
+ # },
3439
+ # ],
3440
+ # },
3399
3441
  # },
3400
3442
  # s3: {
3401
3443
  # role_arn: "AwsArn", # required
@@ -3671,6 +3713,12 @@ module Aws::IoT
3671
3713
  # account: "AwsAccountId",
3672
3714
  # iam_role_arn: "RoleArn",
3673
3715
  # role_alias_arn: "RoleAliasArn",
3716
+ # issuer_certificate_identifier: {
3717
+ # issuer_certificate_subject: "IssuerCertificateSubject",
3718
+ # issuer_id: "IssuerId",
3719
+ # issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
3720
+ # },
3721
+ # device_certificate_arn: "CertificateArn",
3674
3722
  # },
3675
3723
  # })
3676
3724
  #
@@ -4719,7 +4767,7 @@ module Aws::IoT
4719
4767
  # resp.finding.task_start_time #=> Time
4720
4768
  # resp.finding.finding_time #=> Time
4721
4769
  # resp.finding.severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW"
4722
- # 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"
4770
+ # 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"
4723
4771
  # resp.finding.non_compliant_resource.resource_identifier.device_certificate_id #=> String
4724
4772
  # resp.finding.non_compliant_resource.resource_identifier.ca_certificate_id #=> String
4725
4773
  # resp.finding.non_compliant_resource.resource_identifier.cognito_identity_pool_id #=> String
@@ -4729,10 +4777,14 @@ module Aws::IoT
4729
4777
  # resp.finding.non_compliant_resource.resource_identifier.account #=> String
4730
4778
  # resp.finding.non_compliant_resource.resource_identifier.iam_role_arn #=> String
4731
4779
  # resp.finding.non_compliant_resource.resource_identifier.role_alias_arn #=> String
4780
+ # resp.finding.non_compliant_resource.resource_identifier.issuer_certificate_identifier.issuer_certificate_subject #=> String
4781
+ # resp.finding.non_compliant_resource.resource_identifier.issuer_certificate_identifier.issuer_id #=> String
4782
+ # resp.finding.non_compliant_resource.resource_identifier.issuer_certificate_identifier.issuer_certificate_serial_number #=> String
4783
+ # resp.finding.non_compliant_resource.resource_identifier.device_certificate_arn #=> String
4732
4784
  # resp.finding.non_compliant_resource.additional_info #=> Hash
4733
4785
  # resp.finding.non_compliant_resource.additional_info["String"] #=> String
4734
4786
  # resp.finding.related_resources #=> Array
4735
- # 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"
4787
+ # 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"
4736
4788
  # resp.finding.related_resources[0].resource_identifier.device_certificate_id #=> String
4737
4789
  # resp.finding.related_resources[0].resource_identifier.ca_certificate_id #=> String
4738
4790
  # resp.finding.related_resources[0].resource_identifier.cognito_identity_pool_id #=> String
@@ -4742,6 +4794,10 @@ module Aws::IoT
4742
4794
  # resp.finding.related_resources[0].resource_identifier.account #=> String
4743
4795
  # resp.finding.related_resources[0].resource_identifier.iam_role_arn #=> String
4744
4796
  # resp.finding.related_resources[0].resource_identifier.role_alias_arn #=> String
4797
+ # resp.finding.related_resources[0].resource_identifier.issuer_certificate_identifier.issuer_certificate_subject #=> String
4798
+ # resp.finding.related_resources[0].resource_identifier.issuer_certificate_identifier.issuer_id #=> String
4799
+ # resp.finding.related_resources[0].resource_identifier.issuer_certificate_identifier.issuer_certificate_serial_number #=> String
4800
+ # resp.finding.related_resources[0].resource_identifier.device_certificate_arn #=> String
4745
4801
  # resp.finding.related_resources[0].additional_info #=> Hash
4746
4802
  # resp.finding.related_resources[0].additional_info["String"] #=> String
4747
4803
  # resp.finding.reason_for_non_compliance #=> String
@@ -4855,6 +4911,12 @@ module Aws::IoT
4855
4911
  # account: "AwsAccountId",
4856
4912
  # iam_role_arn: "RoleArn",
4857
4913
  # role_alias_arn: "RoleAliasArn",
4914
+ # issuer_certificate_identifier: {
4915
+ # issuer_certificate_subject: "IssuerCertificateSubject",
4916
+ # issuer_id: "IssuerId",
4917
+ # issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
4918
+ # },
4919
+ # device_certificate_arn: "CertificateArn",
4858
4920
  # },
4859
4921
  # })
4860
4922
  #
@@ -4870,6 +4932,10 @@ module Aws::IoT
4870
4932
  # resp.resource_identifier.account #=> String
4871
4933
  # resp.resource_identifier.iam_role_arn #=> String
4872
4934
  # resp.resource_identifier.role_alias_arn #=> String
4935
+ # resp.resource_identifier.issuer_certificate_identifier.issuer_certificate_subject #=> String
4936
+ # resp.resource_identifier.issuer_certificate_identifier.issuer_id #=> String
4937
+ # resp.resource_identifier.issuer_certificate_identifier.issuer_certificate_serial_number #=> String
4938
+ # resp.resource_identifier.device_certificate_arn #=> String
4873
4939
  # resp.expiration_date #=> Time
4874
4940
  # resp.suppress_indefinitely #=> Boolean
4875
4941
  # resp.description #=> String
@@ -5560,7 +5626,7 @@ module Aws::IoT
5560
5626
  # resp.job.job_arn #=> String
5561
5627
  # resp.job.job_id #=> String
5562
5628
  # resp.job.target_selection #=> String, one of "CONTINUOUS", "SNAPSHOT"
5563
- # resp.job.status #=> String, one of "IN_PROGRESS", "CANCELED", "COMPLETED", "DELETION_IN_PROGRESS"
5629
+ # resp.job.status #=> String, one of "IN_PROGRESS", "CANCELED", "COMPLETED", "DELETION_IN_PROGRESS", "SCHEDULED"
5564
5630
  # resp.job.force_canceled #=> Boolean
5565
5631
  # resp.job.reason_code #=> String
5566
5632
  # resp.job.comment #=> String
@@ -5601,6 +5667,9 @@ module Aws::IoT
5601
5667
  # resp.job.document_parameters #=> Hash
5602
5668
  # resp.job.document_parameters["ParameterKey"] #=> String
5603
5669
  # resp.job.is_concurrent #=> Boolean
5670
+ # resp.job.scheduling_config.start_time #=> String
5671
+ # resp.job.scheduling_config.end_time #=> String
5672
+ # resp.job.scheduling_config.end_behavior #=> String, one of "STOP_ROLLOUT", "CANCEL", "FORCE_CANCEL"
5604
5673
  #
5605
5674
  # @overload describe_job(params = {})
5606
5675
  # @param [Hash] params ({})
@@ -7195,6 +7264,14 @@ module Aws::IoT
7195
7264
  # resp.rule.actions[0].republish.role_arn #=> String
7196
7265
  # resp.rule.actions[0].republish.topic #=> String
7197
7266
  # resp.rule.actions[0].republish.qos #=> Integer
7267
+ # resp.rule.actions[0].republish.headers.payload_format_indicator #=> String
7268
+ # resp.rule.actions[0].republish.headers.content_type #=> String
7269
+ # resp.rule.actions[0].republish.headers.response_topic #=> String
7270
+ # resp.rule.actions[0].republish.headers.correlation_data #=> String
7271
+ # resp.rule.actions[0].republish.headers.message_expiry #=> String
7272
+ # resp.rule.actions[0].republish.headers.user_properties #=> Array
7273
+ # resp.rule.actions[0].republish.headers.user_properties[0].key #=> String
7274
+ # resp.rule.actions[0].republish.headers.user_properties[0].value #=> String
7198
7275
  # resp.rule.actions[0].s3.role_arn #=> String
7199
7276
  # resp.rule.actions[0].s3.bucket_name #=> String
7200
7277
  # resp.rule.actions[0].s3.key #=> String
@@ -7308,6 +7385,14 @@ module Aws::IoT
7308
7385
  # resp.rule.error_action.republish.role_arn #=> String
7309
7386
  # resp.rule.error_action.republish.topic #=> String
7310
7387
  # resp.rule.error_action.republish.qos #=> Integer
7388
+ # resp.rule.error_action.republish.headers.payload_format_indicator #=> String
7389
+ # resp.rule.error_action.republish.headers.content_type #=> String
7390
+ # resp.rule.error_action.republish.headers.response_topic #=> String
7391
+ # resp.rule.error_action.republish.headers.correlation_data #=> String
7392
+ # resp.rule.error_action.republish.headers.message_expiry #=> String
7393
+ # resp.rule.error_action.republish.headers.user_properties #=> Array
7394
+ # resp.rule.error_action.republish.headers.user_properties[0].key #=> String
7395
+ # resp.rule.error_action.republish.headers.user_properties[0].value #=> String
7311
7396
  # resp.rule.error_action.s3.role_arn #=> String
7312
7397
  # resp.rule.error_action.s3.bucket_name #=> String
7313
7398
  # resp.rule.error_action.s3.key #=> String
@@ -7696,6 +7781,12 @@ module Aws::IoT
7696
7781
  # account: "AwsAccountId",
7697
7782
  # iam_role_arn: "RoleArn",
7698
7783
  # role_alias_arn: "RoleAliasArn",
7784
+ # issuer_certificate_identifier: {
7785
+ # issuer_certificate_subject: "IssuerCertificateSubject",
7786
+ # issuer_id: "IssuerId",
7787
+ # issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
7788
+ # },
7789
+ # device_certificate_arn: "CertificateArn",
7699
7790
  # },
7700
7791
  # max_results: 1,
7701
7792
  # next_token: "NextToken",
@@ -7713,7 +7804,7 @@ module Aws::IoT
7713
7804
  # resp.findings[0].task_start_time #=> Time
7714
7805
  # resp.findings[0].finding_time #=> Time
7715
7806
  # resp.findings[0].severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW"
7716
- # 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"
7807
+ # 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"
7717
7808
  # resp.findings[0].non_compliant_resource.resource_identifier.device_certificate_id #=> String
7718
7809
  # resp.findings[0].non_compliant_resource.resource_identifier.ca_certificate_id #=> String
7719
7810
  # resp.findings[0].non_compliant_resource.resource_identifier.cognito_identity_pool_id #=> String
@@ -7723,10 +7814,14 @@ module Aws::IoT
7723
7814
  # resp.findings[0].non_compliant_resource.resource_identifier.account #=> String
7724
7815
  # resp.findings[0].non_compliant_resource.resource_identifier.iam_role_arn #=> String
7725
7816
  # resp.findings[0].non_compliant_resource.resource_identifier.role_alias_arn #=> String
7817
+ # resp.findings[0].non_compliant_resource.resource_identifier.issuer_certificate_identifier.issuer_certificate_subject #=> String
7818
+ # resp.findings[0].non_compliant_resource.resource_identifier.issuer_certificate_identifier.issuer_id #=> String
7819
+ # resp.findings[0].non_compliant_resource.resource_identifier.issuer_certificate_identifier.issuer_certificate_serial_number #=> String
7820
+ # resp.findings[0].non_compliant_resource.resource_identifier.device_certificate_arn #=> String
7726
7821
  # resp.findings[0].non_compliant_resource.additional_info #=> Hash
7727
7822
  # resp.findings[0].non_compliant_resource.additional_info["String"] #=> String
7728
7823
  # resp.findings[0].related_resources #=> Array
7729
- # 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"
7824
+ # 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"
7730
7825
  # resp.findings[0].related_resources[0].resource_identifier.device_certificate_id #=> String
7731
7826
  # resp.findings[0].related_resources[0].resource_identifier.ca_certificate_id #=> String
7732
7827
  # resp.findings[0].related_resources[0].resource_identifier.cognito_identity_pool_id #=> String
@@ -7736,6 +7831,10 @@ module Aws::IoT
7736
7831
  # resp.findings[0].related_resources[0].resource_identifier.account #=> String
7737
7832
  # resp.findings[0].related_resources[0].resource_identifier.iam_role_arn #=> String
7738
7833
  # resp.findings[0].related_resources[0].resource_identifier.role_alias_arn #=> String
7834
+ # resp.findings[0].related_resources[0].resource_identifier.issuer_certificate_identifier.issuer_certificate_subject #=> String
7835
+ # resp.findings[0].related_resources[0].resource_identifier.issuer_certificate_identifier.issuer_id #=> String
7836
+ # resp.findings[0].related_resources[0].resource_identifier.issuer_certificate_identifier.issuer_certificate_serial_number #=> String
7837
+ # resp.findings[0].related_resources[0].resource_identifier.device_certificate_arn #=> String
7739
7838
  # resp.findings[0].related_resources[0].additional_info #=> Hash
7740
7839
  # resp.findings[0].related_resources[0].additional_info["String"] #=> String
7741
7840
  # resp.findings[0].reason_for_non_compliance #=> String
@@ -7938,6 +8037,12 @@ module Aws::IoT
7938
8037
  # account: "AwsAccountId",
7939
8038
  # iam_role_arn: "RoleArn",
7940
8039
  # role_alias_arn: "RoleAliasArn",
8040
+ # issuer_certificate_identifier: {
8041
+ # issuer_certificate_subject: "IssuerCertificateSubject",
8042
+ # issuer_id: "IssuerId",
8043
+ # issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
8044
+ # },
8045
+ # device_certificate_arn: "CertificateArn",
7941
8046
  # },
7942
8047
  # ascending_order: false,
7943
8048
  # next_token: "NextToken",
@@ -7957,6 +8062,10 @@ module Aws::IoT
7957
8062
  # resp.suppressions[0].resource_identifier.account #=> String
7958
8063
  # resp.suppressions[0].resource_identifier.iam_role_arn #=> String
7959
8064
  # resp.suppressions[0].resource_identifier.role_alias_arn #=> String
8065
+ # resp.suppressions[0].resource_identifier.issuer_certificate_identifier.issuer_certificate_subject #=> String
8066
+ # resp.suppressions[0].resource_identifier.issuer_certificate_identifier.issuer_id #=> String
8067
+ # resp.suppressions[0].resource_identifier.issuer_certificate_identifier.issuer_certificate_serial_number #=> String
8068
+ # resp.suppressions[0].resource_identifier.device_certificate_arn #=> String
7960
8069
  # resp.suppressions[0].expiration_date #=> Time
7961
8070
  # resp.suppressions[0].suppress_indefinitely #=> Boolean
7962
8071
  # resp.suppressions[0].description #=> String
@@ -8910,7 +9019,7 @@ module Aws::IoT
8910
9019
  # @example Request syntax with placeholder values
8911
9020
  #
8912
9021
  # resp = client.list_jobs({
8913
- # status: "IN_PROGRESS", # accepts IN_PROGRESS, CANCELED, COMPLETED, DELETION_IN_PROGRESS
9022
+ # status: "IN_PROGRESS", # accepts IN_PROGRESS, CANCELED, COMPLETED, DELETION_IN_PROGRESS, SCHEDULED
8914
9023
  # target_selection: "CONTINUOUS", # accepts CONTINUOUS, SNAPSHOT
8915
9024
  # max_results: 1,
8916
9025
  # next_token: "NextToken",
@@ -8926,7 +9035,7 @@ module Aws::IoT
8926
9035
  # resp.jobs[0].job_id #=> String
8927
9036
  # resp.jobs[0].thing_group_id #=> String
8928
9037
  # resp.jobs[0].target_selection #=> String, one of "CONTINUOUS", "SNAPSHOT"
8929
- # resp.jobs[0].status #=> String, one of "IN_PROGRESS", "CANCELED", "COMPLETED", "DELETION_IN_PROGRESS"
9038
+ # resp.jobs[0].status #=> String, one of "IN_PROGRESS", "CANCELED", "COMPLETED", "DELETION_IN_PROGRESS", "SCHEDULED"
8930
9039
  # resp.jobs[0].created_at #=> Time
8931
9040
  # resp.jobs[0].last_updated_at #=> Time
8932
9041
  # resp.jobs[0].completed_at #=> Time
@@ -9549,6 +9658,91 @@ module Aws::IoT
9549
9658
  req.send_request(options)
9550
9659
  end
9551
9660
 
9661
+ # The related resources of an Audit finding. The following resources can
9662
+ # be returned from calling this API:
9663
+ #
9664
+ # * DEVICE\_CERTIFICATE
9665
+ #
9666
+ # * CA\_CERTIFICATE
9667
+ #
9668
+ # * IOT\_POLICY
9669
+ #
9670
+ # * COGNITO\_IDENTITY\_POOL
9671
+ #
9672
+ # * CLIENT\_ID
9673
+ #
9674
+ # * ACCOUNT\_SETTINGS
9675
+ #
9676
+ # * ROLE\_ALIAS
9677
+ #
9678
+ # * IAM\_ROLE
9679
+ #
9680
+ # * ISSUER\_CERTIFICATE
9681
+ #
9682
+ # <note markdown="1"> This API is similar to DescribeAuditFinding's [RelatedResources][1]
9683
+ # but provides pagination and is not limited to 10 resources. When
9684
+ # calling [DescribeAuditFinding][1] for the intermediate CA revoked for
9685
+ # active device certificates check, RelatedResources will not be
9686
+ # populated. You must use this API, ListRelatedResourcesForAuditFinding,
9687
+ # to list the certificates.
9688
+ #
9689
+ # </note>
9690
+ #
9691
+ #
9692
+ #
9693
+ # [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_DescribeAuditFinding.html
9694
+ #
9695
+ # @option params [required, String] :finding_id
9696
+ # The finding Id.
9697
+ #
9698
+ # @option params [String] :next_token
9699
+ # A token that can be used to retrieve the next set of results, or
9700
+ # `null` if there are no additional results.
9701
+ #
9702
+ # @option params [Integer] :max_results
9703
+ # The maximum number of results to return at one time.
9704
+ #
9705
+ # @return [Types::ListRelatedResourcesForAuditFindingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9706
+ #
9707
+ # * {Types::ListRelatedResourcesForAuditFindingResponse#related_resources #related_resources} => Array&lt;Types::RelatedResource&gt;
9708
+ # * {Types::ListRelatedResourcesForAuditFindingResponse#next_token #next_token} => String
9709
+ #
9710
+ # @example Request syntax with placeholder values
9711
+ #
9712
+ # resp = client.list_related_resources_for_audit_finding({
9713
+ # finding_id: "FindingId", # required
9714
+ # next_token: "NextToken",
9715
+ # max_results: 1,
9716
+ # })
9717
+ #
9718
+ # @example Response structure
9719
+ #
9720
+ # resp.related_resources #=> Array
9721
+ # 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"
9722
+ # resp.related_resources[0].resource_identifier.device_certificate_id #=> String
9723
+ # resp.related_resources[0].resource_identifier.ca_certificate_id #=> String
9724
+ # resp.related_resources[0].resource_identifier.cognito_identity_pool_id #=> String
9725
+ # resp.related_resources[0].resource_identifier.client_id #=> String
9726
+ # resp.related_resources[0].resource_identifier.policy_version_identifier.policy_name #=> String
9727
+ # resp.related_resources[0].resource_identifier.policy_version_identifier.policy_version_id #=> String
9728
+ # resp.related_resources[0].resource_identifier.account #=> String
9729
+ # resp.related_resources[0].resource_identifier.iam_role_arn #=> String
9730
+ # resp.related_resources[0].resource_identifier.role_alias_arn #=> String
9731
+ # resp.related_resources[0].resource_identifier.issuer_certificate_identifier.issuer_certificate_subject #=> String
9732
+ # resp.related_resources[0].resource_identifier.issuer_certificate_identifier.issuer_id #=> String
9733
+ # resp.related_resources[0].resource_identifier.issuer_certificate_identifier.issuer_certificate_serial_number #=> String
9734
+ # resp.related_resources[0].resource_identifier.device_certificate_arn #=> String
9735
+ # resp.related_resources[0].additional_info #=> Hash
9736
+ # resp.related_resources[0].additional_info["String"] #=> String
9737
+ # resp.next_token #=> String
9738
+ #
9739
+ # @overload list_related_resources_for_audit_finding(params = {})
9740
+ # @param [Hash] params ({})
9741
+ def list_related_resources_for_audit_finding(params = {}, options = {})
9742
+ req = build_request(:list_related_resources_for_audit_finding, params)
9743
+ req.send_request(options)
9744
+ end
9745
+
9552
9746
  # Lists the role aliases registered in your account.
9553
9747
  #
9554
9748
  # Requires permission to access the [ListRoleAliases][1] action.
@@ -10242,9 +10436,10 @@ module Aws::IoT
10242
10436
  # parameters to filter your things. For example, calling `ListThings`
10243
10437
  # with attributeName=Color and attributeValue=Red retrieves all things
10244
10438
  # in the registry that contain an attribute **Color** with the value
10245
- # **Red**.
10439
+ # **Red**. For more information, see [List Things][1] from the *Amazon
10440
+ # Web Services IoT Core Developer Guide*.
10246
10441
  #
10247
- # Requires permission to access the [ListThings][1] action.
10442
+ # Requires permission to access the [ListThings][2] action.
10248
10443
  #
10249
10444
  # <note markdown="1"> You will not be charged for calling this API if an `Access denied`
10250
10445
  # error is returned. You will also not be charged if no attributes or
@@ -10255,7 +10450,8 @@ module Aws::IoT
10255
10450
  #
10256
10451
  #
10257
10452
  #
10258
- # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
10453
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/thing-registry.html#list-things
10454
+ # [2]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
10259
10455
  #
10260
10456
  # @option params [String] :next_token
10261
10457
  # To retrieve the next set of results, the `nextToken` value from a
@@ -11165,6 +11361,19 @@ module Aws::IoT
11165
11361
  # role_arn: "AwsArn", # required
11166
11362
  # topic: "TopicPattern", # required
11167
11363
  # qos: 1,
11364
+ # headers: {
11365
+ # payload_format_indicator: "PayloadFormatIndicator",
11366
+ # content_type: "ContentType",
11367
+ # response_topic: "ResponseTopic",
11368
+ # correlation_data: "CorrelationData",
11369
+ # message_expiry: "MessageExpiry",
11370
+ # user_properties: [
11371
+ # {
11372
+ # key: "UserPropertyKey", # required
11373
+ # value: "UserPropertyValue", # required
11374
+ # },
11375
+ # ],
11376
+ # },
11168
11377
  # },
11169
11378
  # s3: {
11170
11379
  # role_arn: "AwsArn", # required
@@ -11354,6 +11563,19 @@ module Aws::IoT
11354
11563
  # role_arn: "AwsArn", # required
11355
11564
  # topic: "TopicPattern", # required
11356
11565
  # qos: 1,
11566
+ # headers: {
11567
+ # payload_format_indicator: "PayloadFormatIndicator",
11568
+ # content_type: "ContentType",
11569
+ # response_topic: "ResponseTopic",
11570
+ # correlation_data: "CorrelationData",
11571
+ # message_expiry: "MessageExpiry",
11572
+ # user_properties: [
11573
+ # {
11574
+ # key: "UserPropertyKey", # required
11575
+ # value: "UserPropertyValue", # required
11576
+ # },
11577
+ # ],
11578
+ # },
11357
11579
  # },
11358
11580
  # s3: {
11359
11581
  # role_arn: "AwsArn", # required
@@ -12374,6 +12596,12 @@ module Aws::IoT
12374
12596
  # account: "AwsAccountId",
12375
12597
  # iam_role_arn: "RoleArn",
12376
12598
  # role_alias_arn: "RoleAliasArn",
12599
+ # issuer_certificate_identifier: {
12600
+ # issuer_certificate_subject: "IssuerCertificateSubject",
12601
+ # issuer_id: "IssuerId",
12602
+ # issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
12603
+ # },
12604
+ # device_certificate_arn: "CertificateArn",
12377
12605
  # },
12378
12606
  # expiration_date: Time.now,
12379
12607
  # suppress_indefinitely: false,
@@ -13833,7 +14061,7 @@ module Aws::IoT
13833
14061
  params: params,
13834
14062
  config: config)
13835
14063
  context[:gem_name] = 'aws-sdk-iot'
13836
- context[:gem_version] = '1.96.0'
14064
+ context[:gem_version] = '1.98.0'
13837
14065
  Seahorse::Client::Request.new(handlers, context)
13838
14066
  end
13839
14067