aws-sdk-iot 1.96.0 → 1.97.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iot/client.rb +155 -8
- data/lib/aws-sdk-iot/client_api.rb +34 -0
- data/lib/aws-sdk-iot/endpoints.rb +14 -0
- data/lib/aws-sdk-iot/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-iot/types.rb +130 -1
- data/lib/aws-sdk-iot.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 521211841904fbce0e816b01c78a696f7113ba5467ef7a3d57e82448eacdab34
|
4
|
+
data.tar.gz: c335d4e65417cee60ed113ea5bcb311f479877f59132cbf84dcb02a46da9c8d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b32c2a862b5fcb47f8c4d817c1d102fc0c11dae5d74733929f1672bcc5372122e349a60365c0608cc0e17cb4a79bf42f892d1f432f2c96a9ec6aabf61937e7a
|
7
|
+
data.tar.gz: 5f1d3f589b05d8674478034b25e5903545be746325a8d48fe9a55718fc379e49e0ff164a35f29cecf47fcf0a32226fe4d2ce08881767460326fad90385d4bfd5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
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
|
+
|
4
9
|
1.96.0 (2022-10-31)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.97.0
|
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -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,
|
@@ -3671,6 +3677,12 @@ module Aws::IoT
|
|
3671
3677
|
# account: "AwsAccountId",
|
3672
3678
|
# iam_role_arn: "RoleArn",
|
3673
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",
|
3674
3686
|
# },
|
3675
3687
|
# })
|
3676
3688
|
#
|
@@ -4719,7 +4731,7 @@ module Aws::IoT
|
|
4719
4731
|
# resp.finding.task_start_time #=> Time
|
4720
4732
|
# resp.finding.finding_time #=> Time
|
4721
4733
|
# 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"
|
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"
|
4723
4735
|
# resp.finding.non_compliant_resource.resource_identifier.device_certificate_id #=> String
|
4724
4736
|
# resp.finding.non_compliant_resource.resource_identifier.ca_certificate_id #=> String
|
4725
4737
|
# resp.finding.non_compliant_resource.resource_identifier.cognito_identity_pool_id #=> String
|
@@ -4729,10 +4741,14 @@ module Aws::IoT
|
|
4729
4741
|
# resp.finding.non_compliant_resource.resource_identifier.account #=> String
|
4730
4742
|
# resp.finding.non_compliant_resource.resource_identifier.iam_role_arn #=> String
|
4731
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
|
4732
4748
|
# resp.finding.non_compliant_resource.additional_info #=> Hash
|
4733
4749
|
# resp.finding.non_compliant_resource.additional_info["String"] #=> String
|
4734
4750
|
# 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"
|
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"
|
4736
4752
|
# resp.finding.related_resources[0].resource_identifier.device_certificate_id #=> String
|
4737
4753
|
# resp.finding.related_resources[0].resource_identifier.ca_certificate_id #=> String
|
4738
4754
|
# resp.finding.related_resources[0].resource_identifier.cognito_identity_pool_id #=> String
|
@@ -4742,6 +4758,10 @@ module Aws::IoT
|
|
4742
4758
|
# resp.finding.related_resources[0].resource_identifier.account #=> String
|
4743
4759
|
# resp.finding.related_resources[0].resource_identifier.iam_role_arn #=> String
|
4744
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
|
4745
4765
|
# resp.finding.related_resources[0].additional_info #=> Hash
|
4746
4766
|
# resp.finding.related_resources[0].additional_info["String"] #=> String
|
4747
4767
|
# resp.finding.reason_for_non_compliance #=> String
|
@@ -4855,6 +4875,12 @@ module Aws::IoT
|
|
4855
4875
|
# account: "AwsAccountId",
|
4856
4876
|
# iam_role_arn: "RoleArn",
|
4857
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",
|
4858
4884
|
# },
|
4859
4885
|
# })
|
4860
4886
|
#
|
@@ -4870,6 +4896,10 @@ module Aws::IoT
|
|
4870
4896
|
# resp.resource_identifier.account #=> String
|
4871
4897
|
# resp.resource_identifier.iam_role_arn #=> String
|
4872
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
|
4873
4903
|
# resp.expiration_date #=> Time
|
4874
4904
|
# resp.suppress_indefinitely #=> Boolean
|
4875
4905
|
# resp.description #=> String
|
@@ -7696,6 +7726,12 @@ module Aws::IoT
|
|
7696
7726
|
# account: "AwsAccountId",
|
7697
7727
|
# iam_role_arn: "RoleArn",
|
7698
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",
|
7699
7735
|
# },
|
7700
7736
|
# max_results: 1,
|
7701
7737
|
# next_token: "NextToken",
|
@@ -7713,7 +7749,7 @@ module Aws::IoT
|
|
7713
7749
|
# resp.findings[0].task_start_time #=> Time
|
7714
7750
|
# resp.findings[0].finding_time #=> Time
|
7715
7751
|
# 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"
|
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"
|
7717
7753
|
# resp.findings[0].non_compliant_resource.resource_identifier.device_certificate_id #=> String
|
7718
7754
|
# resp.findings[0].non_compliant_resource.resource_identifier.ca_certificate_id #=> String
|
7719
7755
|
# resp.findings[0].non_compliant_resource.resource_identifier.cognito_identity_pool_id #=> String
|
@@ -7723,10 +7759,14 @@ module Aws::IoT
|
|
7723
7759
|
# resp.findings[0].non_compliant_resource.resource_identifier.account #=> String
|
7724
7760
|
# resp.findings[0].non_compliant_resource.resource_identifier.iam_role_arn #=> String
|
7725
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
|
7726
7766
|
# resp.findings[0].non_compliant_resource.additional_info #=> Hash
|
7727
7767
|
# resp.findings[0].non_compliant_resource.additional_info["String"] #=> String
|
7728
7768
|
# 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"
|
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"
|
7730
7770
|
# resp.findings[0].related_resources[0].resource_identifier.device_certificate_id #=> String
|
7731
7771
|
# resp.findings[0].related_resources[0].resource_identifier.ca_certificate_id #=> String
|
7732
7772
|
# resp.findings[0].related_resources[0].resource_identifier.cognito_identity_pool_id #=> String
|
@@ -7736,6 +7776,10 @@ module Aws::IoT
|
|
7736
7776
|
# resp.findings[0].related_resources[0].resource_identifier.account #=> String
|
7737
7777
|
# resp.findings[0].related_resources[0].resource_identifier.iam_role_arn #=> String
|
7738
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
|
7739
7783
|
# resp.findings[0].related_resources[0].additional_info #=> Hash
|
7740
7784
|
# resp.findings[0].related_resources[0].additional_info["String"] #=> String
|
7741
7785
|
# resp.findings[0].reason_for_non_compliance #=> String
|
@@ -7938,6 +7982,12 @@ module Aws::IoT
|
|
7938
7982
|
# account: "AwsAccountId",
|
7939
7983
|
# iam_role_arn: "RoleArn",
|
7940
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",
|
7941
7991
|
# },
|
7942
7992
|
# ascending_order: false,
|
7943
7993
|
# next_token: "NextToken",
|
@@ -7957,6 +8007,10 @@ module Aws::IoT
|
|
7957
8007
|
# resp.suppressions[0].resource_identifier.account #=> String
|
7958
8008
|
# resp.suppressions[0].resource_identifier.iam_role_arn #=> String
|
7959
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
|
7960
8014
|
# resp.suppressions[0].expiration_date #=> Time
|
7961
8015
|
# resp.suppressions[0].suppress_indefinitely #=> Boolean
|
7962
8016
|
# resp.suppressions[0].description #=> String
|
@@ -9549,6 +9603,91 @@ module Aws::IoT
|
|
9549
9603
|
req.send_request(options)
|
9550
9604
|
end
|
9551
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<Types::RelatedResource>
|
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
|
+
|
9552
9691
|
# Lists the role aliases registered in your account.
|
9553
9692
|
#
|
9554
9693
|
# Requires permission to access the [ListRoleAliases][1] action.
|
@@ -10242,9 +10381,10 @@ module Aws::IoT
|
|
10242
10381
|
# parameters to filter your things. For example, calling `ListThings`
|
10243
10382
|
# with attributeName=Color and attributeValue=Red retrieves all things
|
10244
10383
|
# in the registry that contain an attribute **Color** with the value
|
10245
|
-
# **Red**.
|
10384
|
+
# **Red**. For more information, see [List Things][1] from the *Amazon
|
10385
|
+
# Web Services IoT Core Developer Guide*.
|
10246
10386
|
#
|
10247
|
-
# Requires permission to access the [ListThings][
|
10387
|
+
# Requires permission to access the [ListThings][2] action.
|
10248
10388
|
#
|
10249
10389
|
# <note markdown="1"> You will not be charged for calling this API if an `Access denied`
|
10250
10390
|
# error is returned. You will also not be charged if no attributes or
|
@@ -10255,7 +10395,8 @@ module Aws::IoT
|
|
10255
10395
|
#
|
10256
10396
|
#
|
10257
10397
|
#
|
10258
|
-
# [1]: https://docs.aws.amazon.com/
|
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
|
10259
10400
|
#
|
10260
10401
|
# @option params [String] :next_token
|
10261
10402
|
# To retrieve the next set of results, the `nextToken` value from a
|
@@ -12374,6 +12515,12 @@ module Aws::IoT
|
|
12374
12515
|
# account: "AwsAccountId",
|
12375
12516
|
# iam_role_arn: "RoleArn",
|
12376
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",
|
12377
12524
|
# },
|
12378
12525
|
# expiration_date: Time.now,
|
12379
12526
|
# suppress_indefinitely: false,
|
@@ -13833,7 +13980,7 @@ module Aws::IoT
|
|
13833
13980
|
params: params,
|
13834
13981
|
config: config)
|
13835
13982
|
context[:gem_name] = 'aws-sdk-iot'
|
13836
|
-
context[:gem_version] = '1.
|
13983
|
+
context[:gem_version] = '1.97.0'
|
13837
13984
|
Seahorse::Client::Request.new(handlers, context)
|
13838
13985
|
end
|
13839
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')
|
@@ -3015,6 +3021,11 @@ module Aws::IoT
|
|
3015
3021
|
IotSiteWiseAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
|
3016
3022
|
IotSiteWiseAction.struct_class = Types::IotSiteWiseAction
|
3017
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
|
+
|
3018
3029
|
Job.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "jobArn"))
|
3019
3030
|
Job.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
|
3020
3031
|
Job.add_member(:target_selection, Shapes::ShapeRef.new(shape: TargetSelection, location_name: "targetSelection"))
|
@@ -3488,6 +3499,15 @@ module Aws::IoT
|
|
3488
3499
|
ListProvisioningTemplatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
3489
3500
|
ListProvisioningTemplatesResponse.struct_class = Types::ListProvisioningTemplatesResponse
|
3490
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
|
+
|
3491
3511
|
ListRoleAliasesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "pageSize"))
|
3492
3512
|
ListRoleAliasesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "marker"))
|
3493
3513
|
ListRoleAliasesRequest.add_member(:ascending_order, Shapes::ShapeRef.new(shape: AscendingOrder, location: "querystring", location_name: "isAscendingOrder"))
|
@@ -4058,6 +4078,8 @@ module Aws::IoT
|
|
4058
4078
|
ResourceIdentifier.add_member(:account, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "account"))
|
4059
4079
|
ResourceIdentifier.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "iamRoleArn"))
|
4060
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"))
|
4061
4083
|
ResourceIdentifier.struct_class = Types::ResourceIdentifier
|
4062
4084
|
|
4063
4085
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
@@ -7276,6 +7298,18 @@ module Aws::IoT
|
|
7276
7298
|
)
|
7277
7299
|
end)
|
7278
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
|
+
|
7279
7313
|
api.add_operation(:list_role_aliases, Seahorse::Model::Operation.new.tap do |o|
|
7280
7314
|
o.name = "ListRoleAliases"
|
7281
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
|
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -2825,6 +2825,12 @@ module Aws::IoT
|
|
2825
2825
|
# account: "AwsAccountId",
|
2826
2826
|
# iam_role_arn: "RoleArn",
|
2827
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",
|
2828
2834
|
# },
|
2829
2835
|
# expiration_date: Time.now,
|
2830
2836
|
# suppress_indefinitely: false,
|
@@ -5696,6 +5702,12 @@ module Aws::IoT
|
|
5696
5702
|
# account: "AwsAccountId",
|
5697
5703
|
# iam_role_arn: "RoleArn",
|
5698
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",
|
5699
5711
|
# },
|
5700
5712
|
# }
|
5701
5713
|
#
|
@@ -6641,6 +6653,12 @@ module Aws::IoT
|
|
6641
6653
|
# account: "AwsAccountId",
|
6642
6654
|
# iam_role_arn: "RoleArn",
|
6643
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",
|
6644
6662
|
# },
|
6645
6663
|
# }
|
6646
6664
|
#
|
@@ -10256,6 +10274,37 @@ module Aws::IoT
|
|
10256
10274
|
include Aws::Structure
|
10257
10275
|
end
|
10258
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
|
+
|
10259
10308
|
# The `Job` object contains details about a job.
|
10260
10309
|
#
|
10261
10310
|
# @!attribute [rw] job_arn
|
@@ -11064,6 +11113,12 @@ module Aws::IoT
|
|
11064
11113
|
# account: "AwsAccountId",
|
11065
11114
|
# iam_role_arn: "RoleArn",
|
11066
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",
|
11067
11122
|
# },
|
11068
11123
|
# max_results: 1,
|
11069
11124
|
# next_token: "NextToken",
|
@@ -11298,6 +11353,12 @@ module Aws::IoT
|
|
11298
11353
|
# account: "AwsAccountId",
|
11299
11354
|
# iam_role_arn: "RoleArn",
|
11300
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",
|
11301
11362
|
# },
|
11302
11363
|
# ascending_order: false,
|
11303
11364
|
# next_token: "NextToken",
|
@@ -12872,6 +12933,52 @@ module Aws::IoT
|
|
12872
12933
|
include Aws::Structure
|
12873
12934
|
end
|
12874
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
|
+
|
12875
12982
|
# @note When making an API call, you may pass ListRoleAliasesRequest
|
12876
12983
|
# data as a hash:
|
12877
12984
|
#
|
@@ -16089,6 +16196,12 @@ module Aws::IoT
|
|
16089
16196
|
# account: "AwsAccountId",
|
16090
16197
|
# iam_role_arn: "RoleArn",
|
16091
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",
|
16092
16205
|
# }
|
16093
16206
|
#
|
16094
16207
|
# @!attribute [rw] device_certificate_id
|
@@ -16123,6 +16236,14 @@ module Aws::IoT
|
|
16123
16236
|
# The ARN of the role alias that has overly permissive actions.
|
16124
16237
|
# @return [String]
|
16125
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
|
+
#
|
16126
16247
|
class ResourceIdentifier < Struct.new(
|
16127
16248
|
:device_certificate_id,
|
16128
16249
|
:ca_certificate_id,
|
@@ -16131,7 +16252,9 @@ module Aws::IoT
|
|
16131
16252
|
:policy_version_identifier,
|
16132
16253
|
:account,
|
16133
16254
|
:iam_role_arn,
|
16134
|
-
:role_alias_arn
|
16255
|
+
:role_alias_arn,
|
16256
|
+
:issuer_certificate_identifier,
|
16257
|
+
:device_certificate_arn)
|
16135
16258
|
SENSITIVE = []
|
16136
16259
|
include Aws::Structure
|
16137
16260
|
end
|
@@ -19225,6 +19348,12 @@ module Aws::IoT
|
|
19225
19348
|
# account: "AwsAccountId",
|
19226
19349
|
# iam_role_arn: "RoleArn",
|
19227
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",
|
19228
19357
|
# },
|
19229
19358
|
# expiration_date: Time.now,
|
19230
19359
|
# suppress_indefinitely: false,
|
data/lib/aws-sdk-iot.rb
CHANGED
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.
|
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-
|
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
|