aws-sdk-iot 1.131.0 → 1.132.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: 0adf8bae8f18fad1418acc90634823a4314a49ca2c66119feae33e98f3bf3b1f
4
- data.tar.gz: 01113f309d9ba570078786d09e9bb85055c0f0733be9e422b09d9857bd7ac648
3
+ metadata.gz: 305ffd7d304ebf51f320c9fe67b1899ede70f6a94ecd3eb50f2c98e876f68212
4
+ data.tar.gz: ff4e12299273625d514cd53efecf637ee10e61dc38543bcb1cf8ae3f35013eb1
5
5
  SHA512:
6
- metadata.gz: 98c71729b1d946b7b303f099f12c1ff461a14d5e0bbe64b1890245b5930729724ab175c236f3f1f7000bac2a860a504ae4be73e0cfe995f19b3eb90f182cf65c
7
- data.tar.gz: 22f226bff6ca613b384cf6807c251af9cd9886531df5aa15fe6429f49df3f46598b36d1ca06a7275be4abb8f47e4236fbf52e92268df4beb26e6ec45c903b4e6
6
+ metadata.gz: 88dda50fbb85d04cdd71ee4e6e6bb9a35a38e99dffd61c975a2680ee5620e2b16c880058cdb6369827245af20477ffeb7aaaabeebdc2efd693327059f8c9d082
7
+ data.tar.gz: 2ebf0bc748e5f6917dad5dddca40a152040f9967b4530a2b2c33490dac4e694c375bba4733f28740df806f661f21491374edba180244edaf0dfff89429536ef1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.132.0 (2024-09-16)
5
+ ------------------
6
+
7
+ * Feature - This release adds additional enhancements to AWS IoT Device Management Software Package Catalog and Jobs. It also adds SBOM support in Software Package Version.
8
+
4
9
  1.131.0 (2024-09-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.131.0
1
+ 1.132.0
@@ -567,6 +567,72 @@ module Aws::IoT
567
567
  req.send_request(options)
568
568
  end
569
569
 
570
+ # Associates a software bill of materials (SBOM) with a specific
571
+ # software package version.
572
+ #
573
+ # Requires permission to access the [AssociateSbomWithPackageVersion][1]
574
+ # action.
575
+ #
576
+ #
577
+ #
578
+ # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
579
+ #
580
+ # @option params [required, String] :package_name
581
+ # The name of the new software package.
582
+ #
583
+ # @option params [required, String] :version_name
584
+ # The name of the new package version.
585
+ #
586
+ # @option params [required, Types::Sbom] :sbom
587
+ # The Amazon S3 location for the software bill of materials associated
588
+ # with a software package version.
589
+ #
590
+ # @option params [String] :client_token
591
+ # A unique case-sensitive identifier that you can provide to ensure the
592
+ # idempotency of the request. Don't reuse this client token if a new
593
+ # idempotent request is required.
594
+ #
595
+ # **A suitable default value is auto-generated.** You should normally
596
+ # not need to pass this option.**
597
+ #
598
+ # @return [Types::AssociateSbomWithPackageVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
599
+ #
600
+ # * {Types::AssociateSbomWithPackageVersionResponse#package_name #package_name} => String
601
+ # * {Types::AssociateSbomWithPackageVersionResponse#version_name #version_name} => String
602
+ # * {Types::AssociateSbomWithPackageVersionResponse#sbom #sbom} => Types::Sbom
603
+ # * {Types::AssociateSbomWithPackageVersionResponse#sbom_validation_status #sbom_validation_status} => String
604
+ #
605
+ # @example Request syntax with placeholder values
606
+ #
607
+ # resp = client.associate_sbom_with_package_version({
608
+ # package_name: "PackageName", # required
609
+ # version_name: "VersionName", # required
610
+ # sbom: { # required
611
+ # s3_location: {
612
+ # bucket: "S3Bucket",
613
+ # key: "S3Key",
614
+ # version: "S3Version",
615
+ # },
616
+ # },
617
+ # client_token: "ClientToken",
618
+ # })
619
+ #
620
+ # @example Response structure
621
+ #
622
+ # resp.package_name #=> String
623
+ # resp.version_name #=> String
624
+ # resp.sbom.s3_location.bucket #=> String
625
+ # resp.sbom.s3_location.key #=> String
626
+ # resp.sbom.s3_location.version #=> String
627
+ # resp.sbom_validation_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED"
628
+ #
629
+ # @overload associate_sbom_with_package_version(params = {})
630
+ # @param [Hash] params ({})
631
+ def associate_sbom_with_package_version(params = {}, options = {})
632
+ req = build_request(:associate_sbom_with_package_version, params)
633
+ req.send_request(options)
634
+ end
635
+
570
636
  # Associates a group with a continuous job. The following criteria must
571
637
  # be met:
572
638
  #
@@ -2616,6 +2682,15 @@ module Aws::IoT
2616
2682
  # The combined size of all the attributes on a package version is
2617
2683
  # limited to 3KB.
2618
2684
  #
2685
+ # @option params [Types::PackageVersionArtifact] :artifact
2686
+ # The various build components created during the build process such as
2687
+ # libraries and configuration files that make up a software package
2688
+ # version.
2689
+ #
2690
+ # @option params [String] :recipe
2691
+ # The inline job document associated with a software package version
2692
+ # used for a quick job deployment via IoT Jobs.
2693
+ #
2619
2694
  # @option params [Hash<String,String>] :tags
2620
2695
  # Metadata that can be used to manage the package version.
2621
2696
  #
@@ -2646,6 +2721,14 @@ module Aws::IoT
2646
2721
  # attributes: {
2647
2722
  # "ResourceAttributeKey" => "ResourceAttributeValue",
2648
2723
  # },
2724
+ # artifact: {
2725
+ # s3_location: {
2726
+ # bucket: "S3Bucket",
2727
+ # key: "S3Key",
2728
+ # version: "S3Version",
2729
+ # },
2730
+ # },
2731
+ # recipe: "PackageVersionRecipe",
2649
2732
  # tags: {
2650
2733
  # "TagKey" => "TagValue",
2651
2734
  # },
@@ -6163,6 +6246,10 @@ module Aws::IoT
6163
6246
  # @option params [required, String] :job_id
6164
6247
  # The unique identifier you assigned to this job when it was created.
6165
6248
  #
6249
+ # @option params [Boolean] :before_substitution
6250
+ # A flag that provides a view of the job document before and after the
6251
+ # substitution parameters have been resolved with their exact values.
6252
+ #
6166
6253
  # @return [Types::DescribeJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6167
6254
  #
6168
6255
  # * {Types::DescribeJobResponse#document_source #document_source} => String
@@ -6172,6 +6259,7 @@ module Aws::IoT
6172
6259
  #
6173
6260
  # resp = client.describe_job({
6174
6261
  # job_id: "JobId", # required
6262
+ # before_substitution: false,
6175
6263
  # })
6176
6264
  #
6177
6265
  # @example Response structure
@@ -7137,6 +7225,47 @@ module Aws::IoT
7137
7225
  req.send_request(options)
7138
7226
  end
7139
7227
 
7228
+ # Disassociates a software bill of materials (SBOM) from a specific
7229
+ # software package version.
7230
+ #
7231
+ # Requires permission to access the
7232
+ # [DisassociateSbomWithPackageVersion][1] action.
7233
+ #
7234
+ #
7235
+ #
7236
+ # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
7237
+ #
7238
+ # @option params [required, String] :package_name
7239
+ # The name of the new software package.
7240
+ #
7241
+ # @option params [required, String] :version_name
7242
+ # The name of the new package version.
7243
+ #
7244
+ # @option params [String] :client_token
7245
+ # A unique case-sensitive identifier that you can provide to ensure the
7246
+ # idempotency of the request. Don't reuse this client token if a new
7247
+ # idempotent request is required.
7248
+ #
7249
+ # **A suitable default value is auto-generated.** You should normally
7250
+ # not need to pass this option.**
7251
+ #
7252
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7253
+ #
7254
+ # @example Request syntax with placeholder values
7255
+ #
7256
+ # resp = client.disassociate_sbom_from_package_version({
7257
+ # package_name: "PackageName", # required
7258
+ # version_name: "VersionName", # required
7259
+ # client_token: "ClientToken",
7260
+ # })
7261
+ #
7262
+ # @overload disassociate_sbom_from_package_version(params = {})
7263
+ # @param [Hash] params ({})
7264
+ def disassociate_sbom_from_package_version(params = {}, options = {})
7265
+ req = build_request(:disassociate_sbom_from_package_version, params)
7266
+ req.send_request(options)
7267
+ end
7268
+
7140
7269
  # Enables the rule.
7141
7270
  #
7142
7271
  # Requires permission to access the [EnableTopicRule][1] action.
@@ -7423,6 +7552,10 @@ module Aws::IoT
7423
7552
  # @option params [required, String] :job_id
7424
7553
  # The unique identifier you assigned to this job when it was created.
7425
7554
  #
7555
+ # @option params [Boolean] :before_substitution
7556
+ # A flag that provides a view of the job document before and after the
7557
+ # substitution parameters have been resolved with their exact values.
7558
+ #
7426
7559
  # @return [Types::GetJobDocumentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7427
7560
  #
7428
7561
  # * {Types::GetJobDocumentResponse#document #document} => String
@@ -7431,6 +7564,7 @@ module Aws::IoT
7431
7564
  #
7432
7565
  # resp = client.get_job_document({
7433
7566
  # job_id: "JobId", # required
7567
+ # before_substitution: false,
7434
7568
  # })
7435
7569
  #
7436
7570
  # @example Response structure
@@ -7637,10 +7771,14 @@ module Aws::IoT
7637
7771
  # * {Types::GetPackageVersionResponse#version_name #version_name} => String
7638
7772
  # * {Types::GetPackageVersionResponse#description #description} => String
7639
7773
  # * {Types::GetPackageVersionResponse#attributes #attributes} => Hash&lt;String,String&gt;
7774
+ # * {Types::GetPackageVersionResponse#artifact #artifact} => Types::PackageVersionArtifact
7640
7775
  # * {Types::GetPackageVersionResponse#status #status} => String
7641
7776
  # * {Types::GetPackageVersionResponse#error_reason #error_reason} => String
7642
7777
  # * {Types::GetPackageVersionResponse#creation_date #creation_date} => Time
7643
7778
  # * {Types::GetPackageVersionResponse#last_modified_date #last_modified_date} => Time
7779
+ # * {Types::GetPackageVersionResponse#sbom #sbom} => Types::Sbom
7780
+ # * {Types::GetPackageVersionResponse#sbom_validation_status #sbom_validation_status} => String
7781
+ # * {Types::GetPackageVersionResponse#recipe #recipe} => String
7644
7782
  #
7645
7783
  # @example Request syntax with placeholder values
7646
7784
  #
@@ -7657,10 +7795,18 @@ module Aws::IoT
7657
7795
  # resp.description #=> String
7658
7796
  # resp.attributes #=> Hash
7659
7797
  # resp.attributes["ResourceAttributeKey"] #=> String
7798
+ # resp.artifact.s3_location.bucket #=> String
7799
+ # resp.artifact.s3_location.key #=> String
7800
+ # resp.artifact.s3_location.version #=> String
7660
7801
  # resp.status #=> String, one of "DRAFT", "PUBLISHED", "DEPRECATED"
7661
7802
  # resp.error_reason #=> String
7662
7803
  # resp.creation_date #=> Time
7663
7804
  # resp.last_modified_date #=> Time
7805
+ # resp.sbom.s3_location.bucket #=> String
7806
+ # resp.sbom.s3_location.key #=> String
7807
+ # resp.sbom.s3_location.version #=> String
7808
+ # resp.sbom_validation_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED"
7809
+ # resp.recipe #=> String
7664
7810
  #
7665
7811
  # @overload get_package_version(params = {})
7666
7812
  # @param [Hash] params ({})
@@ -10656,6 +10802,65 @@ module Aws::IoT
10656
10802
  req.send_request(options)
10657
10803
  end
10658
10804
 
10805
+ # The validation results for all software bill of materials (SBOM)
10806
+ # attached to a specific software package version.
10807
+ #
10808
+ # Requires permission to access the [ListSbomValidationResults][1]
10809
+ # action.
10810
+ #
10811
+ #
10812
+ #
10813
+ # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
10814
+ #
10815
+ # @option params [required, String] :package_name
10816
+ # The name of the new software package.
10817
+ #
10818
+ # @option params [required, String] :version_name
10819
+ # The name of the new package version.
10820
+ #
10821
+ # @option params [String] :validation_result
10822
+ # The end result of the
10823
+ #
10824
+ # @option params [Integer] :max_results
10825
+ # The maximum number of results to return at one time.
10826
+ #
10827
+ # @option params [String] :next_token
10828
+ # A token that can be used to retrieve the next set of results, or null
10829
+ # if there are no additional results.
10830
+ #
10831
+ # @return [Types::ListSbomValidationResultsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10832
+ #
10833
+ # * {Types::ListSbomValidationResultsResponse#validation_result_summaries #validation_result_summaries} => Array&lt;Types::SbomValidationResultSummary&gt;
10834
+ # * {Types::ListSbomValidationResultsResponse#next_token #next_token} => String
10835
+ #
10836
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
10837
+ #
10838
+ # @example Request syntax with placeholder values
10839
+ #
10840
+ # resp = client.list_sbom_validation_results({
10841
+ # package_name: "PackageName", # required
10842
+ # version_name: "VersionName", # required
10843
+ # validation_result: "FAILED", # accepts FAILED, SUCCEEDED
10844
+ # max_results: 1,
10845
+ # next_token: "NextToken",
10846
+ # })
10847
+ #
10848
+ # @example Response structure
10849
+ #
10850
+ # resp.validation_result_summaries #=> Array
10851
+ # resp.validation_result_summaries[0].file_name #=> String
10852
+ # resp.validation_result_summaries[0].validation_result #=> String, one of "FAILED", "SUCCEEDED"
10853
+ # resp.validation_result_summaries[0].error_code #=> String, one of "INCOMPATIBLE_FORMAT", "FILE_SIZE_LIMIT_EXCEEDED"
10854
+ # resp.validation_result_summaries[0].error_message #=> String
10855
+ # resp.next_token #=> String
10856
+ #
10857
+ # @overload list_sbom_validation_results(params = {})
10858
+ # @param [Hash] params ({})
10859
+ def list_sbom_validation_results(params = {}, options = {})
10860
+ req = build_request(:list_sbom_validation_results, params)
10861
+ req.send_request(options)
10862
+ end
10863
+
10659
10864
  # Lists all of your scheduled audits.
10660
10865
  #
10661
10866
  # Requires permission to access the [ListScheduledAudits][1] action.
@@ -14450,6 +14655,9 @@ module Aws::IoT
14450
14655
  # The combined size of all the attributes on a package version is
14451
14656
  # limited to 3KB.
14452
14657
  #
14658
+ # @option params [Types::PackageVersionArtifact] :artifact
14659
+ # The various components that make up a software package version.
14660
+ #
14453
14661
  # @option params [String] :action
14454
14662
  # The status that the package version should be assigned. For more
14455
14663
  # information, see [Package version lifecycle][1].
@@ -14458,6 +14666,10 @@ module Aws::IoT
14458
14666
  #
14459
14667
  # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/preparing-to-use-software-package-catalog.html#package-version-lifecycle
14460
14668
  #
14669
+ # @option params [String] :recipe
14670
+ # The inline job document associated with a software package version
14671
+ # used for a quick job deployment via IoT Jobs.
14672
+ #
14461
14673
  # @option params [String] :client_token
14462
14674
  # A unique case-sensitive identifier that you can provide to ensure the
14463
14675
  # idempotency of the request. Don't reuse this client token if a new
@@ -14477,7 +14689,15 @@ module Aws::IoT
14477
14689
  # attributes: {
14478
14690
  # "ResourceAttributeKey" => "ResourceAttributeValue",
14479
14691
  # },
14692
+ # artifact: {
14693
+ # s3_location: {
14694
+ # bucket: "S3Bucket",
14695
+ # key: "S3Key",
14696
+ # version: "S3Version",
14697
+ # },
14698
+ # },
14480
14699
  # action: "PUBLISH", # accepts PUBLISH, DEPRECATE
14700
+ # recipe: "PackageVersionRecipe",
14481
14701
  # client_token: "ClientToken",
14482
14702
  # })
14483
14703
  #
@@ -15207,7 +15427,7 @@ module Aws::IoT
15207
15427
  tracer: tracer
15208
15428
  )
15209
15429
  context[:gem_name] = 'aws-sdk-iot'
15210
- context[:gem_version] = '1.131.0'
15430
+ context[:gem_version] = '1.132.0'
15211
15431
  Seahorse::Client::Request.new(handlers, context)
15212
15432
  end
15213
15433
 
@@ -63,6 +63,8 @@ module Aws::IoT
63
63
  AssetPropertyValue = Shapes::StructureShape.new(name: 'AssetPropertyValue')
64
64
  AssetPropertyValueList = Shapes::ListShape.new(name: 'AssetPropertyValueList')
65
65
  AssetPropertyVariant = Shapes::StructureShape.new(name: 'AssetPropertyVariant')
66
+ AssociateSbomWithPackageVersionRequest = Shapes::StructureShape.new(name: 'AssociateSbomWithPackageVersionRequest')
67
+ AssociateSbomWithPackageVersionResponse = Shapes::StructureShape.new(name: 'AssociateSbomWithPackageVersionResponse')
66
68
  AssociateTargetsWithJobRequest = Shapes::StructureShape.new(name: 'AssociateTargetsWithJobRequest')
67
69
  AssociateTargetsWithJobResponse = Shapes::StructureShape.new(name: 'AssociateTargetsWithJobResponse')
68
70
  AttachPolicyRequest = Shapes::StructureShape.new(name: 'AttachPolicyRequest')
@@ -145,6 +147,7 @@ module Aws::IoT
145
147
  AwsJobTimeoutConfig = Shapes::StructureShape.new(name: 'AwsJobTimeoutConfig')
146
148
  AwsJobTimeoutInProgressTimeoutInMinutes = Shapes::IntegerShape.new(name: 'AwsJobTimeoutInProgressTimeoutInMinutes')
147
149
  BatchMode = Shapes::BooleanShape.new(name: 'BatchMode')
150
+ BeforeSubstitutionFlag = Shapes::BooleanShape.new(name: 'BeforeSubstitutionFlag')
148
151
  Behavior = Shapes::StructureShape.new(name: 'Behavior')
149
152
  BehaviorCriteria = Shapes::StructureShape.new(name: 'BehaviorCriteria')
150
153
  BehaviorCriteriaType = Shapes::StringShape.new(name: 'BehaviorCriteriaType')
@@ -490,6 +493,8 @@ module Aws::IoT
490
493
  DimensionValueOperator = Shapes::StringShape.new(name: 'DimensionValueOperator')
491
494
  DisableAllLogs = Shapes::BooleanShape.new(name: 'DisableAllLogs')
492
495
  DisableTopicRuleRequest = Shapes::StructureShape.new(name: 'DisableTopicRuleRequest')
496
+ DisassociateSbomFromPackageVersionRequest = Shapes::StructureShape.new(name: 'DisassociateSbomFromPackageVersionRequest')
497
+ DisassociateSbomFromPackageVersionResponse = Shapes::StructureShape.new(name: 'DisassociateSbomFromPackageVersionResponse')
493
498
  DisconnectReason = Shapes::StringShape.new(name: 'DisconnectReason')
494
499
  DocumentParameter = Shapes::StructureShape.new(name: 'DocumentParameter')
495
500
  DocumentParameters = Shapes::ListShape.new(name: 'DocumentParameters')
@@ -782,6 +787,8 @@ module Aws::IoT
782
787
  ListRelatedResourcesForAuditFindingResponse = Shapes::StructureShape.new(name: 'ListRelatedResourcesForAuditFindingResponse')
783
788
  ListRoleAliasesRequest = Shapes::StructureShape.new(name: 'ListRoleAliasesRequest')
784
789
  ListRoleAliasesResponse = Shapes::StructureShape.new(name: 'ListRoleAliasesResponse')
790
+ ListSbomValidationResultsRequest = Shapes::StructureShape.new(name: 'ListSbomValidationResultsRequest')
791
+ ListSbomValidationResultsResponse = Shapes::StructureShape.new(name: 'ListSbomValidationResultsResponse')
785
792
  ListScheduledAuditsRequest = Shapes::StructureShape.new(name: 'ListScheduledAuditsRequest')
786
793
  ListScheduledAuditsResponse = Shapes::StructureShape.new(name: 'ListScheduledAuditsResponse')
787
794
  ListSecurityProfilesForTargetRequest = Shapes::StructureShape.new(name: 'ListSecurityProfilesForTargetRequest')
@@ -919,7 +926,9 @@ module Aws::IoT
919
926
  PackageSummaryList = Shapes::ListShape.new(name: 'PackageSummaryList')
920
927
  PackageVersionAction = Shapes::StringShape.new(name: 'PackageVersionAction')
921
928
  PackageVersionArn = Shapes::StringShape.new(name: 'PackageVersionArn')
929
+ PackageVersionArtifact = Shapes::StructureShape.new(name: 'PackageVersionArtifact')
922
930
  PackageVersionErrorReason = Shapes::StringShape.new(name: 'PackageVersionErrorReason')
931
+ PackageVersionRecipe = Shapes::StringShape.new(name: 'PackageVersionRecipe')
923
932
  PackageVersionStatus = Shapes::StringShape.new(name: 'PackageVersionStatus')
924
933
  PackageVersionSummary = Shapes::StructureShape.new(name: 'PackageVersionSummary')
925
934
  PackageVersionSummaryList = Shapes::ListShape.new(name: 'PackageVersionSummaryList')
@@ -1068,6 +1077,13 @@ module Aws::IoT
1068
1077
  SalesforceAction = Shapes::StructureShape.new(name: 'SalesforceAction')
1069
1078
  SalesforceEndpoint = Shapes::StringShape.new(name: 'SalesforceEndpoint')
1070
1079
  SalesforceToken = Shapes::StringShape.new(name: 'SalesforceToken')
1080
+ Sbom = Shapes::StructureShape.new(name: 'Sbom')
1081
+ SbomValidationErrorCode = Shapes::StringShape.new(name: 'SbomValidationErrorCode')
1082
+ SbomValidationErrorMessage = Shapes::StringShape.new(name: 'SbomValidationErrorMessage')
1083
+ SbomValidationResult = Shapes::StringShape.new(name: 'SbomValidationResult')
1084
+ SbomValidationResultSummary = Shapes::StructureShape.new(name: 'SbomValidationResultSummary')
1085
+ SbomValidationResultSummaryList = Shapes::ListShape.new(name: 'SbomValidationResultSummaryList')
1086
+ SbomValidationStatus = Shapes::StringShape.new(name: 'SbomValidationStatus')
1071
1087
  ScheduledAuditArn = Shapes::StringShape.new(name: 'ScheduledAuditArn')
1072
1088
  ScheduledAuditMetadata = Shapes::StructureShape.new(name: 'ScheduledAuditMetadata')
1073
1089
  ScheduledAuditMetadataList = Shapes::ListShape.new(name: 'ScheduledAuditMetadataList')
@@ -1494,6 +1510,18 @@ module Aws::IoT
1494
1510
  AssetPropertyVariant.add_member(:boolean_value, Shapes::ShapeRef.new(shape: AssetPropertyBooleanValue, location_name: "booleanValue"))
1495
1511
  AssetPropertyVariant.struct_class = Types::AssetPropertyVariant
1496
1512
 
1513
+ AssociateSbomWithPackageVersionRequest.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "uri", location_name: "packageName"))
1514
+ AssociateSbomWithPackageVersionRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, required: true, location: "uri", location_name: "versionName"))
1515
+ AssociateSbomWithPackageVersionRequest.add_member(:sbom, Shapes::ShapeRef.new(shape: Sbom, required: true, location_name: "sbom"))
1516
+ AssociateSbomWithPackageVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1517
+ AssociateSbomWithPackageVersionRequest.struct_class = Types::AssociateSbomWithPackageVersionRequest
1518
+
1519
+ AssociateSbomWithPackageVersionResponse.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, location_name: "packageName"))
1520
+ AssociateSbomWithPackageVersionResponse.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "versionName"))
1521
+ AssociateSbomWithPackageVersionResponse.add_member(:sbom, Shapes::ShapeRef.new(shape: Sbom, location_name: "sbom"))
1522
+ AssociateSbomWithPackageVersionResponse.add_member(:sbom_validation_status, Shapes::ShapeRef.new(shape: SbomValidationStatus, location_name: "sbomValidationStatus"))
1523
+ AssociateSbomWithPackageVersionResponse.struct_class = Types::AssociateSbomWithPackageVersionResponse
1524
+
1497
1525
  AssociateTargetsWithJobRequest.add_member(:targets, Shapes::ShapeRef.new(shape: JobTargets, required: true, location_name: "targets"))
1498
1526
  AssociateTargetsWithJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
1499
1527
  AssociateTargetsWithJobRequest.add_member(:comment, Shapes::ShapeRef.new(shape: Comment, location_name: "comment"))
@@ -2120,6 +2148,8 @@ module Aws::IoT
2120
2148
  CreatePackageVersionRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, required: true, location: "uri", location_name: "versionName"))
2121
2149
  CreatePackageVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
2122
2150
  CreatePackageVersionRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: ResourceAttributes, location_name: "attributes"))
2151
+ CreatePackageVersionRequest.add_member(:artifact, Shapes::ShapeRef.new(shape: PackageVersionArtifact, location_name: "artifact"))
2152
+ CreatePackageVersionRequest.add_member(:recipe, Shapes::ShapeRef.new(shape: PackageVersionRecipe, location_name: "recipe"))
2123
2153
  CreatePackageVersionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
2124
2154
  CreatePackageVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
2125
2155
  CreatePackageVersionRequest.struct_class = Types::CreatePackageVersionRequest
@@ -2660,6 +2690,7 @@ module Aws::IoT
2660
2690
  DescribeJobExecutionResponse.struct_class = Types::DescribeJobExecutionResponse
2661
2691
 
2662
2692
  DescribeJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
2693
+ DescribeJobRequest.add_member(:before_substitution, Shapes::ShapeRef.new(shape: BeforeSubstitutionFlag, location: "querystring", location_name: "beforeSubstitution"))
2663
2694
  DescribeJobRequest.struct_class = Types::DescribeJobRequest
2664
2695
 
2665
2696
  DescribeJobResponse.add_member(:document_source, Shapes::ShapeRef.new(shape: JobDocumentSource, location_name: "documentSource"))
@@ -2904,6 +2935,13 @@ module Aws::IoT
2904
2935
  DisableTopicRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, required: true, location: "uri", location_name: "ruleName"))
2905
2936
  DisableTopicRuleRequest.struct_class = Types::DisableTopicRuleRequest
2906
2937
 
2938
+ DisassociateSbomFromPackageVersionRequest.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "uri", location_name: "packageName"))
2939
+ DisassociateSbomFromPackageVersionRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, required: true, location: "uri", location_name: "versionName"))
2940
+ DisassociateSbomFromPackageVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
2941
+ DisassociateSbomFromPackageVersionRequest.struct_class = Types::DisassociateSbomFromPackageVersionRequest
2942
+
2943
+ DisassociateSbomFromPackageVersionResponse.struct_class = Types::DisassociateSbomFromPackageVersionResponse
2944
+
2907
2945
  DocumentParameter.add_member(:key, Shapes::ShapeRef.new(shape: ParameterKey, location_name: "key"))
2908
2946
  DocumentParameter.add_member(:description, Shapes::ShapeRef.new(shape: JobDescription, location_name: "description"))
2909
2947
  DocumentParameter.add_member(:regex, Shapes::ShapeRef.new(shape: Regex, location_name: "regex"))
@@ -3048,6 +3086,7 @@ module Aws::IoT
3048
3086
  GetIndexingConfigurationResponse.struct_class = Types::GetIndexingConfigurationResponse
3049
3087
 
3050
3088
  GetJobDocumentRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
3089
+ GetJobDocumentRequest.add_member(:before_substitution, Shapes::ShapeRef.new(shape: BeforeSubstitutionFlag, location: "querystring", location_name: "beforeSubstitution"))
3051
3090
  GetJobDocumentRequest.struct_class = Types::GetJobDocumentRequest
3052
3091
 
3053
3092
  GetJobDocumentResponse.add_member(:document, Shapes::ShapeRef.new(shape: JobDocument, location_name: "document"))
@@ -3090,10 +3129,14 @@ module Aws::IoT
3090
3129
  GetPackageVersionResponse.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "versionName"))
3091
3130
  GetPackageVersionResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
3092
3131
  GetPackageVersionResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: ResourceAttributes, location_name: "attributes"))
3132
+ GetPackageVersionResponse.add_member(:artifact, Shapes::ShapeRef.new(shape: PackageVersionArtifact, location_name: "artifact"))
3093
3133
  GetPackageVersionResponse.add_member(:status, Shapes::ShapeRef.new(shape: PackageVersionStatus, location_name: "status"))
3094
3134
  GetPackageVersionResponse.add_member(:error_reason, Shapes::ShapeRef.new(shape: PackageVersionErrorReason, location_name: "errorReason"))
3095
3135
  GetPackageVersionResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "creationDate"))
3096
3136
  GetPackageVersionResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: LastModifiedDate, location_name: "lastModifiedDate"))
3137
+ GetPackageVersionResponse.add_member(:sbom, Shapes::ShapeRef.new(shape: Sbom, location_name: "sbom"))
3138
+ GetPackageVersionResponse.add_member(:sbom_validation_status, Shapes::ShapeRef.new(shape: SbomValidationStatus, location_name: "sbomValidationStatus"))
3139
+ GetPackageVersionResponse.add_member(:recipe, Shapes::ShapeRef.new(shape: PackageVersionRecipe, location_name: "recipe"))
3097
3140
  GetPackageVersionResponse.struct_class = Types::GetPackageVersionResponse
3098
3141
 
3099
3142
  GetPercentilesRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
@@ -3785,6 +3828,17 @@ module Aws::IoT
3785
3828
  ListRoleAliasesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
3786
3829
  ListRoleAliasesResponse.struct_class = Types::ListRoleAliasesResponse
3787
3830
 
3831
+ ListSbomValidationResultsRequest.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "uri", location_name: "packageName"))
3832
+ ListSbomValidationResultsRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, required: true, location: "uri", location_name: "versionName"))
3833
+ ListSbomValidationResultsRequest.add_member(:validation_result, Shapes::ShapeRef.new(shape: SbomValidationResult, location: "querystring", location_name: "validationResult"))
3834
+ ListSbomValidationResultsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PackageCatalogMaxResults, location: "querystring", location_name: "maxResults"))
3835
+ ListSbomValidationResultsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
3836
+ ListSbomValidationResultsRequest.struct_class = Types::ListSbomValidationResultsRequest
3837
+
3838
+ ListSbomValidationResultsResponse.add_member(:validation_result_summaries, Shapes::ShapeRef.new(shape: SbomValidationResultSummaryList, location_name: "validationResultSummaries"))
3839
+ ListSbomValidationResultsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
3840
+ ListSbomValidationResultsResponse.struct_class = Types::ListSbomValidationResultsResponse
3841
+
3788
3842
  ListScheduledAuditsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
3789
3843
  ListScheduledAuditsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
3790
3844
  ListScheduledAuditsRequest.struct_class = Types::ListScheduledAuditsRequest
@@ -4167,6 +4221,9 @@ module Aws::IoT
4167
4221
 
4168
4222
  PackageSummaryList.member = Shapes::ShapeRef.new(shape: PackageSummary)
4169
4223
 
4224
+ PackageVersionArtifact.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "s3Location"))
4225
+ PackageVersionArtifact.struct_class = Types::PackageVersionArtifact
4226
+
4170
4227
  PackageVersionSummary.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, location_name: "packageName"))
4171
4228
  PackageVersionSummary.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "versionName"))
4172
4229
  PackageVersionSummary.add_member(:status, Shapes::ShapeRef.new(shape: PackageVersionStatus, location_name: "status"))
@@ -4436,6 +4493,17 @@ module Aws::IoT
4436
4493
  SalesforceAction.add_member(:url, Shapes::ShapeRef.new(shape: SalesforceEndpoint, required: true, location_name: "url"))
4437
4494
  SalesforceAction.struct_class = Types::SalesforceAction
4438
4495
 
4496
+ Sbom.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "s3Location"))
4497
+ Sbom.struct_class = Types::Sbom
4498
+
4499
+ SbomValidationResultSummary.add_member(:file_name, Shapes::ShapeRef.new(shape: FileName, location_name: "fileName"))
4500
+ SbomValidationResultSummary.add_member(:validation_result, Shapes::ShapeRef.new(shape: SbomValidationResult, location_name: "validationResult"))
4501
+ SbomValidationResultSummary.add_member(:error_code, Shapes::ShapeRef.new(shape: SbomValidationErrorCode, location_name: "errorCode"))
4502
+ SbomValidationResultSummary.add_member(:error_message, Shapes::ShapeRef.new(shape: SbomValidationErrorMessage, location_name: "errorMessage"))
4503
+ SbomValidationResultSummary.struct_class = Types::SbomValidationResultSummary
4504
+
4505
+ SbomValidationResultSummaryList.member = Shapes::ShapeRef.new(shape: SbomValidationResultSummary)
4506
+
4439
4507
  ScheduledAuditMetadata.add_member(:scheduled_audit_name, Shapes::ShapeRef.new(shape: ScheduledAuditName, location_name: "scheduledAuditName"))
4440
4508
  ScheduledAuditMetadata.add_member(:scheduled_audit_arn, Shapes::ShapeRef.new(shape: ScheduledAuditArn, location_name: "scheduledAuditArn"))
4441
4509
  ScheduledAuditMetadata.add_member(:frequency, Shapes::ShapeRef.new(shape: AuditFrequency, location_name: "frequency"))
@@ -5092,7 +5160,9 @@ module Aws::IoT
5092
5160
  UpdatePackageVersionRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, required: true, location: "uri", location_name: "versionName"))
5093
5161
  UpdatePackageVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
5094
5162
  UpdatePackageVersionRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: ResourceAttributes, location_name: "attributes"))
5163
+ UpdatePackageVersionRequest.add_member(:artifact, Shapes::ShapeRef.new(shape: PackageVersionArtifact, location_name: "artifact"))
5095
5164
  UpdatePackageVersionRequest.add_member(:action, Shapes::ShapeRef.new(shape: PackageVersionAction, location_name: "action"))
5165
+ UpdatePackageVersionRequest.add_member(:recipe, Shapes::ShapeRef.new(shape: PackageVersionRecipe, location_name: "recipe"))
5096
5166
  UpdatePackageVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
5097
5167
  UpdatePackageVersionRequest.struct_class = Types::UpdatePackageVersionRequest
5098
5168
 
@@ -5326,6 +5396,20 @@ module Aws::IoT
5326
5396
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5327
5397
  end)
5328
5398
 
5399
+ api.add_operation(:associate_sbom_with_package_version, Seahorse::Model::Operation.new.tap do |o|
5400
+ o.name = "AssociateSbomWithPackageVersion"
5401
+ o.http_method = "PUT"
5402
+ o.http_request_uri = "/packages/{packageName}/versions/{versionName}/sbom"
5403
+ o.input = Shapes::ShapeRef.new(shape: AssociateSbomWithPackageVersionRequest)
5404
+ o.output = Shapes::ShapeRef.new(shape: AssociateSbomWithPackageVersionResponse)
5405
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5406
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
5407
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
5408
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
5409
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
5410
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5411
+ end)
5412
+
5329
5413
  api.add_operation(:associate_targets_with_job, Seahorse::Model::Operation.new.tap do |o|
5330
5414
  o.name = "AssociateTargetsWithJob"
5331
5415
  o.http_method = "POST"
@@ -6904,6 +6988,19 @@ module Aws::IoT
6904
6988
  o.errors << Shapes::ShapeRef.new(shape: ConflictingResourceUpdateException)
6905
6989
  end)
6906
6990
 
6991
+ api.add_operation(:disassociate_sbom_from_package_version, Seahorse::Model::Operation.new.tap do |o|
6992
+ o.name = "DisassociateSbomFromPackageVersion"
6993
+ o.http_method = "DELETE"
6994
+ o.http_request_uri = "/packages/{packageName}/versions/{versionName}/sbom"
6995
+ o.input = Shapes::ShapeRef.new(shape: DisassociateSbomFromPackageVersionRequest)
6996
+ o.output = Shapes::ShapeRef.new(shape: DisassociateSbomFromPackageVersionResponse)
6997
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6998
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
6999
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
7000
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
7001
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7002
+ end)
7003
+
6907
7004
  api.add_operation(:enable_topic_rule, Seahorse::Model::Operation.new.tap do |o|
6908
7005
  o.name = "EnableTopicRule"
6909
7006
  o.http_method = "POST"
@@ -7899,6 +7996,24 @@ module Aws::IoT
7899
7996
  )
7900
7997
  end)
7901
7998
 
7999
+ api.add_operation(:list_sbom_validation_results, Seahorse::Model::Operation.new.tap do |o|
8000
+ o.name = "ListSbomValidationResults"
8001
+ o.http_method = "GET"
8002
+ o.http_request_uri = "/packages/{packageName}/versions/{versionName}/sbom-validation-results"
8003
+ o.input = Shapes::ShapeRef.new(shape: ListSbomValidationResultsRequest)
8004
+ o.output = Shapes::ShapeRef.new(shape: ListSbomValidationResultsResponse)
8005
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
8006
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
8007
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
8008
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
8009
+ o[:pager] = Aws::Pager.new(
8010
+ limit_key: "max_results",
8011
+ tokens: {
8012
+ "next_token" => "next_token"
8013
+ }
8014
+ )
8015
+ end)
8016
+
7902
8017
  api.add_operation(:list_scheduled_audits, Seahorse::Model::Operation.new.tap do |o|
7903
8018
  o.name = "ListScheduledAudits"
7904
8019
  o.http_method = "GET"
@@ -8917,6 +9032,7 @@ module Aws::IoT
8917
9032
  o.input = Shapes::ShapeRef.new(shape: UpdateStreamRequest)
8918
9033
  o.output = Shapes::ShapeRef.new(shape: UpdateStreamResponse)
8919
9034
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
9035
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
8920
9036
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
8921
9037
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
8922
9038
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)