aws-sdk-iot 1.131.0 → 1.133.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -487,6 +487,65 @@ module Aws::IoT
487
487
  include Aws::Structure
488
488
  end
489
489
 
490
+ # @!attribute [rw] package_name
491
+ # The name of the new software package.
492
+ # @return [String]
493
+ #
494
+ # @!attribute [rw] version_name
495
+ # The name of the new package version.
496
+ # @return [String]
497
+ #
498
+ # @!attribute [rw] sbom
499
+ # The Amazon S3 location for the software bill of materials associated
500
+ # with a software package version.
501
+ # @return [Types::Sbom]
502
+ #
503
+ # @!attribute [rw] client_token
504
+ # A unique case-sensitive identifier that you can provide to ensure
505
+ # the idempotency of the request. Don't reuse this client token if a
506
+ # new idempotent request is required.
507
+ #
508
+ # **A suitable default value is auto-generated.** You should normally
509
+ # not need to pass this option.
510
+ # @return [String]
511
+ #
512
+ class AssociateSbomWithPackageVersionRequest < Struct.new(
513
+ :package_name,
514
+ :version_name,
515
+ :sbom,
516
+ :client_token)
517
+ SENSITIVE = []
518
+ include Aws::Structure
519
+ end
520
+
521
+ # @!attribute [rw] package_name
522
+ # The name of the new software package.
523
+ # @return [String]
524
+ #
525
+ # @!attribute [rw] version_name
526
+ # The name of the new package version.
527
+ # @return [String]
528
+ #
529
+ # @!attribute [rw] sbom
530
+ # The Amazon S3 location for the software bill of materials associated
531
+ # with a software package version.
532
+ # @return [Types::Sbom]
533
+ #
534
+ # @!attribute [rw] sbom_validation_status
535
+ # The status of the initial validation for the SBOM against the
536
+ # Software Package Data Exchange (SPDX) and CycloneDX industry
537
+ # standard format.
538
+ # @return [String]
539
+ #
540
+ class AssociateSbomWithPackageVersionResponse < Struct.new(
541
+ :package_name,
542
+ :version_name,
543
+ :sbom,
544
+ :sbom_validation_status)
545
+ SENSITIVE = []
546
+ include Aws::Structure
547
+ end
548
+
490
549
  # @!attribute [rw] targets
491
550
  # A list of thing group ARNs that define the targets of the job.
492
551
  # @return [Array<String>]
@@ -3366,6 +3425,17 @@ module Aws::IoT
3366
3425
  # limited to 3KB.
3367
3426
  # @return [Hash<String,String>]
3368
3427
  #
3428
+ # @!attribute [rw] artifact
3429
+ # The various build components created during the build process such
3430
+ # as libraries and configuration files that make up a software package
3431
+ # version.
3432
+ # @return [Types::PackageVersionArtifact]
3433
+ #
3434
+ # @!attribute [rw] recipe
3435
+ # The inline job document associated with a software package version
3436
+ # used for a quick job deployment via IoT Jobs.
3437
+ # @return [String]
3438
+ #
3369
3439
  # @!attribute [rw] tags
3370
3440
  # Metadata that can be used to manage the package version.
3371
3441
  # @return [Hash<String,String>]
@@ -3384,9 +3454,11 @@ module Aws::IoT
3384
3454
  :version_name,
3385
3455
  :description,
3386
3456
  :attributes,
3457
+ :artifact,
3458
+ :recipe,
3387
3459
  :tags,
3388
3460
  :client_token)
3389
- SENSITIVE = [:description, :attributes]
3461
+ SENSITIVE = [:description, :attributes, :recipe]
3390
3462
  include Aws::Structure
3391
3463
  end
3392
3464
 
@@ -5698,8 +5770,14 @@ module Aws::IoT
5698
5770
  # The unique identifier you assigned to this job when it was created.
5699
5771
  # @return [String]
5700
5772
  #
5773
+ # @!attribute [rw] before_substitution
5774
+ # A flag that provides a view of the job document before and after the
5775
+ # substitution parameters have been resolved with their exact values.
5776
+ # @return [Boolean]
5777
+ #
5701
5778
  class DescribeJobRequest < Struct.new(
5702
- :job_id)
5779
+ :job_id,
5780
+ :before_substitution)
5703
5781
  SENSITIVE = []
5704
5782
  include Aws::Structure
5705
5783
  end
@@ -6756,6 +6834,33 @@ module Aws::IoT
6756
6834
  include Aws::Structure
6757
6835
  end
6758
6836
 
6837
+ # @!attribute [rw] package_name
6838
+ # The name of the new software package.
6839
+ # @return [String]
6840
+ #
6841
+ # @!attribute [rw] version_name
6842
+ # The name of the new package version.
6843
+ # @return [String]
6844
+ #
6845
+ # @!attribute [rw] client_token
6846
+ # A unique case-sensitive identifier that you can provide to ensure
6847
+ # the idempotency of the request. Don't reuse this client token if a
6848
+ # new idempotent request is required.
6849
+ #
6850
+ # **A suitable default value is auto-generated.** You should normally
6851
+ # not need to pass this option.
6852
+ # @return [String]
6853
+ #
6854
+ class DisassociateSbomFromPackageVersionRequest < Struct.new(
6855
+ :package_name,
6856
+ :version_name,
6857
+ :client_token)
6858
+ SENSITIVE = []
6859
+ include Aws::Structure
6860
+ end
6861
+
6862
+ class DisassociateSbomFromPackageVersionResponse < Aws::EmptyStructure; end
6863
+
6759
6864
  # A map of key-value pairs containing the patterns that need to be
6760
6865
  # replaced in a managed template job document schema. You can use the
6761
6866
  # description of each key as a guidance to specify the inputs during
@@ -7386,8 +7491,14 @@ module Aws::IoT
7386
7491
  # The unique identifier you assigned to this job when it was created.
7387
7492
  # @return [String]
7388
7493
  #
7494
+ # @!attribute [rw] before_substitution
7495
+ # A flag that provides a view of the job document before and after the
7496
+ # substitution parameters have been resolved with their exact values.
7497
+ # @return [Boolean]
7498
+ #
7389
7499
  class GetJobDocumentRequest < Struct.new(
7390
- :job_id)
7500
+ :job_id,
7501
+ :before_substitution)
7391
7502
  SENSITIVE = []
7392
7503
  include Aws::Structure
7393
7504
  end
@@ -7540,6 +7651,10 @@ module Aws::IoT
7540
7651
  # define a package version’s configuration.
7541
7652
  # @return [Hash<String,String>]
7542
7653
  #
7654
+ # @!attribute [rw] artifact
7655
+ # The various components that make up a software package version.
7656
+ # @return [Types::PackageVersionArtifact]
7657
+ #
7543
7658
  # @!attribute [rw] status
7544
7659
  # The status associated to the package version. For more information,
7545
7660
  # see [Package version lifecycle][1].
@@ -7562,17 +7677,35 @@ module Aws::IoT
7562
7677
  # The date when the package version was last updated.
7563
7678
  # @return [Time]
7564
7679
  #
7680
+ # @!attribute [rw] sbom
7681
+ # The software bill of materials for a software package version.
7682
+ # @return [Types::Sbom]
7683
+ #
7684
+ # @!attribute [rw] sbom_validation_status
7685
+ # The status of the validation for a new software bill of materials
7686
+ # added to a software package version.
7687
+ # @return [String]
7688
+ #
7689
+ # @!attribute [rw] recipe
7690
+ # The inline job document associated with a software package version
7691
+ # used for a quick job deployment via IoT Jobs.
7692
+ # @return [String]
7693
+ #
7565
7694
  class GetPackageVersionResponse < Struct.new(
7566
7695
  :package_version_arn,
7567
7696
  :package_name,
7568
7697
  :version_name,
7569
7698
  :description,
7570
7699
  :attributes,
7700
+ :artifact,
7571
7701
  :status,
7572
7702
  :error_reason,
7573
7703
  :creation_date,
7574
- :last_modified_date)
7575
- SENSITIVE = [:description, :attributes]
7704
+ :last_modified_date,
7705
+ :sbom,
7706
+ :sbom_validation_status,
7707
+ :recipe)
7708
+ SENSITIVE = [:description, :attributes, :recipe]
7576
7709
  include Aws::Structure
7577
7710
  end
7578
7711
 
@@ -10760,6 +10893,54 @@ module Aws::IoT
10760
10893
  include Aws::Structure
10761
10894
  end
10762
10895
 
10896
+ # @!attribute [rw] package_name
10897
+ # The name of the new software package.
10898
+ # @return [String]
10899
+ #
10900
+ # @!attribute [rw] version_name
10901
+ # The name of the new package version.
10902
+ # @return [String]
10903
+ #
10904
+ # @!attribute [rw] validation_result
10905
+ # The end result of the
10906
+ # @return [String]
10907
+ #
10908
+ # @!attribute [rw] max_results
10909
+ # The maximum number of results to return at one time.
10910
+ # @return [Integer]
10911
+ #
10912
+ # @!attribute [rw] next_token
10913
+ # A token that can be used to retrieve the next set of results, or
10914
+ # null if there are no additional results.
10915
+ # @return [String]
10916
+ #
10917
+ class ListSbomValidationResultsRequest < Struct.new(
10918
+ :package_name,
10919
+ :version_name,
10920
+ :validation_result,
10921
+ :max_results,
10922
+ :next_token)
10923
+ SENSITIVE = []
10924
+ include Aws::Structure
10925
+ end
10926
+
10927
+ # @!attribute [rw] validation_result_summaries
10928
+ # A summary of the validation results for each software bill of
10929
+ # materials attached to a software package version.
10930
+ # @return [Array<Types::SbomValidationResultSummary>]
10931
+ #
10932
+ # @!attribute [rw] next_token
10933
+ # A token that can be used to retrieve the next set of results, or
10934
+ # null if there are no additional results.
10935
+ # @return [String]
10936
+ #
10937
+ class ListSbomValidationResultsResponse < Struct.new(
10938
+ :validation_result_summaries,
10939
+ :next_token)
10940
+ SENSITIVE = []
10941
+ include Aws::Structure
10942
+ end
10943
+
10763
10944
  # @!attribute [rw] next_token
10764
10945
  # The token for the next set of results.
10765
10946
  # @return [String]
@@ -12442,6 +12623,19 @@ module Aws::IoT
12442
12623
  include Aws::Structure
12443
12624
  end
12444
12625
 
12626
+ # The Amazon S3 location for the artifacts associated with a software
12627
+ # package version.
12628
+ #
12629
+ # @!attribute [rw] s3_location
12630
+ # The S3 location.
12631
+ # @return [Types::S3Location]
12632
+ #
12633
+ class PackageVersionArtifact < Struct.new(
12634
+ :s3_location)
12635
+ SENSITIVE = []
12636
+ include Aws::Structure
12637
+ end
12638
+
12445
12639
  # A summary of information about a package version.
12446
12640
  #
12447
12641
  # @!attribute [rw] package_name
@@ -13449,6 +13643,49 @@ module Aws::IoT
13449
13643
  include Aws::Structure
13450
13644
  end
13451
13645
 
13646
+ # The Amazon S3 location for the software bill of materials associated
13647
+ # with a software package version.
13648
+ #
13649
+ # @!attribute [rw] s3_location
13650
+ # The S3 location.
13651
+ # @return [Types::S3Location]
13652
+ #
13653
+ class Sbom < Struct.new(
13654
+ :s3_location)
13655
+ SENSITIVE = []
13656
+ include Aws::Structure
13657
+ end
13658
+
13659
+ # A summary of the validation results for a specific software bill of
13660
+ # materials (SBOM) attached to a software package version.
13661
+ #
13662
+ # @!attribute [rw] file_name
13663
+ # The name of the SBOM file.
13664
+ # @return [String]
13665
+ #
13666
+ # @!attribute [rw] validation_result
13667
+ # The end result of the SBOM validation.
13668
+ # @return [String]
13669
+ #
13670
+ # @!attribute [rw] error_code
13671
+ # The `errorCode` representing the validation failure error if the
13672
+ # SBOM validation failed.
13673
+ # @return [String]
13674
+ #
13675
+ # @!attribute [rw] error_message
13676
+ # The `errorMessage` representing the validation failure error if the
13677
+ # SBOM validation failed.
13678
+ # @return [String]
13679
+ #
13680
+ class SbomValidationResultSummary < Struct.new(
13681
+ :file_name,
13682
+ :validation_result,
13683
+ :error_code,
13684
+ :error_message)
13685
+ SENSITIVE = []
13686
+ include Aws::Structure
13687
+ end
13688
+
13452
13689
  # Information about the scheduled audit.
13453
13690
  #
13454
13691
  # @!attribute [rw] scheduled_audit_name
@@ -13685,7 +13922,7 @@ module Aws::IoT
13685
13922
  #
13686
13923
  #
13687
13924
  #
13688
- # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-custom-domain-ocsp-config.html
13925
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-custom-endpoints-cert-config.html
13689
13926
  # @return [Boolean]
13690
13927
  #
13691
13928
  class ServerCertificateConfig < Struct.new(
@@ -16393,6 +16630,10 @@ module Aws::IoT
16393
16630
  # limited to 3KB.
16394
16631
  # @return [Hash<String,String>]
16395
16632
  #
16633
+ # @!attribute [rw] artifact
16634
+ # The various components that make up a software package version.
16635
+ # @return [Types::PackageVersionArtifact]
16636
+ #
16396
16637
  # @!attribute [rw] action
16397
16638
  # The status that the package version should be assigned. For more
16398
16639
  # information, see [Package version lifecycle][1].
@@ -16402,6 +16643,11 @@ module Aws::IoT
16402
16643
  # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/preparing-to-use-software-package-catalog.html#package-version-lifecycle
16403
16644
  # @return [String]
16404
16645
  #
16646
+ # @!attribute [rw] recipe
16647
+ # The inline job document associated with a software package version
16648
+ # used for a quick job deployment via IoT Jobs.
16649
+ # @return [String]
16650
+ #
16405
16651
  # @!attribute [rw] client_token
16406
16652
  # A unique case-sensitive identifier that you can provide to ensure
16407
16653
  # the idempotency of the request. Don't reuse this client token if a
@@ -16416,9 +16662,11 @@ module Aws::IoT
16416
16662
  :version_name,
16417
16663
  :description,
16418
16664
  :attributes,
16665
+ :artifact,
16419
16666
  :action,
16667
+ :recipe,
16420
16668
  :client_token)
16421
- SENSITIVE = [:description, :attributes]
16669
+ SENSITIVE = [:description, :attributes, :recipe]
16422
16670
  include Aws::Structure
16423
16671
  end
16424
16672
 
data/lib/aws-sdk-iot.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-iot/customizations'
52
52
  # @!group service
53
53
  module Aws::IoT
54
54
 
55
- GEM_VERSION = '1.131.0'
55
+ GEM_VERSION = '1.133.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
@@ -106,6 +107,28 @@ module Aws
106
107
  ) -> _AddThingToThingGroupResponseSuccess
107
108
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddThingToThingGroupResponseSuccess
108
109
 
110
+ interface _AssociateSbomWithPackageVersionResponseSuccess
111
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateSbomWithPackageVersionResponse]
112
+ def package_name: () -> ::String
113
+ def version_name: () -> ::String
114
+ def sbom: () -> Types::Sbom
115
+ def sbom_validation_status: () -> ("IN_PROGRESS" | "FAILED" | "SUCCEEDED")
116
+ end
117
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#associate_sbom_with_package_version-instance_method
118
+ def associate_sbom_with_package_version: (
119
+ package_name: ::String,
120
+ version_name: ::String,
121
+ sbom: {
122
+ s3_location: {
123
+ bucket: ::String?,
124
+ key: ::String?,
125
+ version: ::String?
126
+ }?
127
+ },
128
+ ?client_token: ::String
129
+ ) -> _AssociateSbomWithPackageVersionResponseSuccess
130
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateSbomWithPackageVersionResponseSuccess
131
+
109
132
  interface _AssociateTargetsWithJobResponseSuccess
110
133
  include ::Seahorse::Client::_ResponseSuccess[Types::AssociateTargetsWithJobResponse]
111
134
  def job_arn: () -> ::String
@@ -791,6 +814,14 @@ module Aws
791
814
  version_name: ::String,
792
815
  ?description: ::String,
793
816
  ?attributes: Hash[::String, ::String],
817
+ ?artifact: {
818
+ s3_location: {
819
+ bucket: ::String?,
820
+ key: ::String?,
821
+ version: ::String?
822
+ }?
823
+ },
824
+ ?recipe: ::String,
794
825
  ?tags: Hash[::String, ::String],
795
826
  ?client_token: ::String
796
827
  ) -> _CreatePackageVersionResponseSuccess
@@ -2139,7 +2170,8 @@ module Aws
2139
2170
  end
2140
2171
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#describe_job-instance_method
2141
2172
  def describe_job: (
2142
- job_id: ::String
2173
+ job_id: ::String,
2174
+ ?before_substitution: bool
2143
2175
  ) -> _DescribeJobResponseSuccess
2144
2176
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeJobResponseSuccess
2145
2177
 
@@ -2411,6 +2443,17 @@ module Aws
2411
2443
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2412
2444
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2413
2445
 
2446
+ interface _DisassociateSbomFromPackageVersionResponseSuccess
2447
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateSbomFromPackageVersionResponse]
2448
+ end
2449
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#disassociate_sbom_from_package_version-instance_method
2450
+ def disassociate_sbom_from_package_version: (
2451
+ package_name: ::String,
2452
+ version_name: ::String,
2453
+ ?client_token: ::String
2454
+ ) -> _DisassociateSbomFromPackageVersionResponseSuccess
2455
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateSbomFromPackageVersionResponseSuccess
2456
+
2414
2457
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#enable_topic_rule-instance_method
2415
2458
  def enable_topic_rule: (
2416
2459
  rule_name: ::String
@@ -2490,7 +2533,8 @@ module Aws
2490
2533
  end
2491
2534
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#get_job_document-instance_method
2492
2535
  def get_job_document: (
2493
- job_id: ::String
2536
+ job_id: ::String,
2537
+ ?before_substitution: bool
2494
2538
  ) -> _GetJobDocumentResponseSuccess
2495
2539
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetJobDocumentResponseSuccess
2496
2540
 
@@ -2545,10 +2589,14 @@ module Aws
2545
2589
  def version_name: () -> ::String
2546
2590
  def description: () -> ::String
2547
2591
  def attributes: () -> ::Hash[::String, ::String]
2592
+ def artifact: () -> Types::PackageVersionArtifact
2548
2593
  def status: () -> ("DRAFT" | "PUBLISHED" | "DEPRECATED")
2549
2594
  def error_reason: () -> ::String
2550
2595
  def creation_date: () -> ::Time
2551
2596
  def last_modified_date: () -> ::Time
2597
+ def sbom: () -> Types::Sbom
2598
+ def sbom_validation_status: () -> ("IN_PROGRESS" | "FAILED" | "SUCCEEDED")
2599
+ def recipe: () -> ::String
2552
2600
  end
2553
2601
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#get_package_version-instance_method
2554
2602
  def get_package_version: (
@@ -3249,6 +3297,21 @@ module Aws
3249
3297
  ) -> _ListRoleAliasesResponseSuccess
3250
3298
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRoleAliasesResponseSuccess
3251
3299
 
3300
+ interface _ListSbomValidationResultsResponseSuccess
3301
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSbomValidationResultsResponse]
3302
+ def validation_result_summaries: () -> ::Array[Types::SbomValidationResultSummary]
3303
+ def next_token: () -> ::String
3304
+ end
3305
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#list_sbom_validation_results-instance_method
3306
+ def list_sbom_validation_results: (
3307
+ package_name: ::String,
3308
+ version_name: ::String,
3309
+ ?validation_result: ("FAILED" | "SUCCEEDED"),
3310
+ ?max_results: ::Integer,
3311
+ ?next_token: ::String
3312
+ ) -> _ListSbomValidationResultsResponseSuccess
3313
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSbomValidationResultsResponseSuccess
3314
+
3252
3315
  interface _ListScheduledAuditsResponseSuccess
3253
3316
  include ::Seahorse::Client::_ResponseSuccess[Types::ListScheduledAuditsResponse]
3254
3317
  def scheduled_audits: () -> ::Array[Types::ScheduledAuditMetadata]
@@ -4649,7 +4712,15 @@ module Aws
4649
4712
  version_name: ::String,
4650
4713
  ?description: ::String,
4651
4714
  ?attributes: Hash[::String, ::String],
4715
+ ?artifact: {
4716
+ s3_location: {
4717
+ bucket: ::String?,
4718
+ key: ::String?,
4719
+ version: ::String?
4720
+ }?
4721
+ },
4652
4722
  ?action: ("PUBLISH" | "DEPRECATE"),
4723
+ ?recipe: ::String,
4653
4724
  ?client_token: ::String
4654
4725
  ) -> _UpdatePackageVersionResponseSuccess
4655
4726
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePackageVersionResponseSuccess
data/sig/resource.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
data/sig/types.rbs CHANGED
@@ -135,6 +135,22 @@ module Aws::IoT
135
135
  SENSITIVE: []
136
136
  end
137
137
 
138
+ class AssociateSbomWithPackageVersionRequest
139
+ attr_accessor package_name: ::String
140
+ attr_accessor version_name: ::String
141
+ attr_accessor sbom: Types::Sbom
142
+ attr_accessor client_token: ::String
143
+ SENSITIVE: []
144
+ end
145
+
146
+ class AssociateSbomWithPackageVersionResponse
147
+ attr_accessor package_name: ::String
148
+ attr_accessor version_name: ::String
149
+ attr_accessor sbom: Types::Sbom
150
+ attr_accessor sbom_validation_status: ("IN_PROGRESS" | "FAILED" | "SUCCEEDED")
151
+ SENSITIVE: []
152
+ end
153
+
138
154
  class AssociateTargetsWithJobRequest
139
155
  attr_accessor targets: ::Array[::String]
140
156
  attr_accessor job_id: ::String
@@ -892,9 +908,11 @@ module Aws::IoT
892
908
  attr_accessor version_name: ::String
893
909
  attr_accessor description: ::String
894
910
  attr_accessor attributes: ::Hash[::String, ::String]
911
+ attr_accessor artifact: Types::PackageVersionArtifact
912
+ attr_accessor recipe: ::String
895
913
  attr_accessor tags: ::Hash[::String, ::String]
896
914
  attr_accessor client_token: ::String
897
- SENSITIVE: [:description, :attributes]
915
+ SENSITIVE: [:description, :attributes, :recipe]
898
916
  end
899
917
 
900
918
  class CreatePackageVersionResponse
@@ -1666,6 +1684,7 @@ module Aws::IoT
1666
1684
 
1667
1685
  class DescribeJobRequest
1668
1686
  attr_accessor job_id: ::String
1687
+ attr_accessor before_substitution: bool
1669
1688
  SENSITIVE: []
1670
1689
  end
1671
1690
 
@@ -1972,6 +1991,16 @@ module Aws::IoT
1972
1991
  SENSITIVE: []
1973
1992
  end
1974
1993
 
1994
+ class DisassociateSbomFromPackageVersionRequest
1995
+ attr_accessor package_name: ::String
1996
+ attr_accessor version_name: ::String
1997
+ attr_accessor client_token: ::String
1998
+ SENSITIVE: []
1999
+ end
2000
+
2001
+ class DisassociateSbomFromPackageVersionResponse < Aws::EmptyStructure
2002
+ end
2003
+
1975
2004
  class DocumentParameter
1976
2005
  attr_accessor key: ::String
1977
2006
  attr_accessor description: ::String
@@ -2149,6 +2178,7 @@ module Aws::IoT
2149
2178
 
2150
2179
  class GetJobDocumentRequest
2151
2180
  attr_accessor job_id: ::String
2181
+ attr_accessor before_substitution: bool
2152
2182
  SENSITIVE: []
2153
2183
  end
2154
2184
 
@@ -2211,11 +2241,15 @@ module Aws::IoT
2211
2241
  attr_accessor version_name: ::String
2212
2242
  attr_accessor description: ::String
2213
2243
  attr_accessor attributes: ::Hash[::String, ::String]
2244
+ attr_accessor artifact: Types::PackageVersionArtifact
2214
2245
  attr_accessor status: ("DRAFT" | "PUBLISHED" | "DEPRECATED")
2215
2246
  attr_accessor error_reason: ::String
2216
2247
  attr_accessor creation_date: ::Time
2217
2248
  attr_accessor last_modified_date: ::Time
2218
- SENSITIVE: [:description, :attributes]
2249
+ attr_accessor sbom: Types::Sbom
2250
+ attr_accessor sbom_validation_status: ("IN_PROGRESS" | "FAILED" | "SUCCEEDED")
2251
+ attr_accessor recipe: ::String
2252
+ SENSITIVE: [:description, :attributes, :recipe]
2219
2253
  end
2220
2254
 
2221
2255
  class GetPercentilesRequest
@@ -3158,6 +3192,21 @@ module Aws::IoT
3158
3192
  SENSITIVE: []
3159
3193
  end
3160
3194
 
3195
+ class ListSbomValidationResultsRequest
3196
+ attr_accessor package_name: ::String
3197
+ attr_accessor version_name: ::String
3198
+ attr_accessor validation_result: ("FAILED" | "SUCCEEDED")
3199
+ attr_accessor max_results: ::Integer
3200
+ attr_accessor next_token: ::String
3201
+ SENSITIVE: []
3202
+ end
3203
+
3204
+ class ListSbomValidationResultsResponse
3205
+ attr_accessor validation_result_summaries: ::Array[Types::SbomValidationResultSummary]
3206
+ attr_accessor next_token: ::String
3207
+ SENSITIVE: []
3208
+ end
3209
+
3161
3210
  class ListScheduledAuditsRequest
3162
3211
  attr_accessor next_token: ::String
3163
3212
  attr_accessor max_results: ::Integer
@@ -3644,6 +3693,11 @@ module Aws::IoT
3644
3693
  SENSITIVE: []
3645
3694
  end
3646
3695
 
3696
+ class PackageVersionArtifact
3697
+ attr_accessor s3_location: Types::S3Location
3698
+ SENSITIVE: []
3699
+ end
3700
+
3647
3701
  class PackageVersionSummary
3648
3702
  attr_accessor package_name: ::String
3649
3703
  attr_accessor version_name: ::String
@@ -3939,6 +3993,19 @@ module Aws::IoT
3939
3993
  SENSITIVE: []
3940
3994
  end
3941
3995
 
3996
+ class Sbom
3997
+ attr_accessor s3_location: Types::S3Location
3998
+ SENSITIVE: []
3999
+ end
4000
+
4001
+ class SbomValidationResultSummary
4002
+ attr_accessor file_name: ::String
4003
+ attr_accessor validation_result: ("FAILED" | "SUCCEEDED")
4004
+ attr_accessor error_code: ("INCOMPATIBLE_FORMAT" | "FILE_SIZE_LIMIT_EXCEEDED")
4005
+ attr_accessor error_message: ::String
4006
+ SENSITIVE: []
4007
+ end
4008
+
3942
4009
  class ScheduledAuditMetadata
3943
4010
  attr_accessor scheduled_audit_name: ::String
3944
4011
  attr_accessor scheduled_audit_arn: ::String
@@ -4753,9 +4820,11 @@ module Aws::IoT
4753
4820
  attr_accessor version_name: ::String
4754
4821
  attr_accessor description: ::String
4755
4822
  attr_accessor attributes: ::Hash[::String, ::String]
4823
+ attr_accessor artifact: Types::PackageVersionArtifact
4756
4824
  attr_accessor action: ("PUBLISH" | "DEPRECATE")
4825
+ attr_accessor recipe: ::String
4757
4826
  attr_accessor client_token: ::String
4758
- SENSITIVE: [:description, :attributes]
4827
+ SENSITIVE: [:description, :attributes, :recipe]
4759
4828
  end
4760
4829
 
4761
4830
  class UpdatePackageVersionResponse < Aws::EmptyStructure