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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iot/client.rb +221 -1
- data/lib/aws-sdk-iot/client_api.rb +116 -0
- data/lib/aws-sdk-iot/endpoints.rb +33 -0
- data/lib/aws-sdk-iot/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-iot/types.rb +255 -7
- data/lib/aws-sdk-iot.rb +1 -1
- data/sig/client.rbs +72 -2
- data/sig/types.rbs +72 -3
- metadata +2 -2
@@ -45,6 +45,17 @@ module Aws::IoT
|
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
|
+
class AssociateSbomWithPackageVersion
|
49
|
+
def self.build(context)
|
50
|
+
Aws::IoT::EndpointParameters.new(
|
51
|
+
region: context.config.region,
|
52
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
53
|
+
use_fips: context.config.use_fips_endpoint,
|
54
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
55
|
+
)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
48
59
|
class AssociateTargetsWithJob
|
49
60
|
def self.build(context)
|
50
61
|
Aws::IoT::EndpointParameters.new(
|
@@ -1343,6 +1354,17 @@ module Aws::IoT
|
|
1343
1354
|
end
|
1344
1355
|
end
|
1345
1356
|
|
1357
|
+
class DisassociateSbomFromPackageVersion
|
1358
|
+
def self.build(context)
|
1359
|
+
Aws::IoT::EndpointParameters.new(
|
1360
|
+
region: context.config.region,
|
1361
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1362
|
+
use_fips: context.config.use_fips_endpoint,
|
1363
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1364
|
+
)
|
1365
|
+
end
|
1366
|
+
end
|
1367
|
+
|
1346
1368
|
class EnableTopicRule
|
1347
1369
|
def self.build(context)
|
1348
1370
|
Aws::IoT::EndpointParameters.new(
|
@@ -2003,6 +2025,17 @@ module Aws::IoT
|
|
2003
2025
|
end
|
2004
2026
|
end
|
2005
2027
|
|
2028
|
+
class ListSbomValidationResults
|
2029
|
+
def self.build(context)
|
2030
|
+
Aws::IoT::EndpointParameters.new(
|
2031
|
+
region: context.config.region,
|
2032
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
2033
|
+
use_fips: context.config.use_fips_endpoint,
|
2034
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2035
|
+
)
|
2036
|
+
end
|
2037
|
+
end
|
2038
|
+
|
2006
2039
|
class ListScheduledAudits
|
2007
2040
|
def self.build(context)
|
2008
2041
|
Aws::IoT::EndpointParameters.new(
|
@@ -73,6 +73,8 @@ module Aws::IoT
|
|
73
73
|
Aws::IoT::Endpoints::AddThingToBillingGroup.build(context)
|
74
74
|
when :add_thing_to_thing_group
|
75
75
|
Aws::IoT::Endpoints::AddThingToThingGroup.build(context)
|
76
|
+
when :associate_sbom_with_package_version
|
77
|
+
Aws::IoT::Endpoints::AssociateSbomWithPackageVersion.build(context)
|
76
78
|
when :associate_targets_with_job
|
77
79
|
Aws::IoT::Endpoints::AssociateTargetsWithJob.build(context)
|
78
80
|
when :attach_policy
|
@@ -309,6 +311,8 @@ module Aws::IoT
|
|
309
311
|
Aws::IoT::Endpoints::DetachThingPrincipal.build(context)
|
310
312
|
when :disable_topic_rule
|
311
313
|
Aws::IoT::Endpoints::DisableTopicRule.build(context)
|
314
|
+
when :disassociate_sbom_from_package_version
|
315
|
+
Aws::IoT::Endpoints::DisassociateSbomFromPackageVersion.build(context)
|
312
316
|
when :enable_topic_rule
|
313
317
|
Aws::IoT::Endpoints::EnableTopicRule.build(context)
|
314
318
|
when :get_behavior_model_training_summaries
|
@@ -429,6 +433,8 @@ module Aws::IoT
|
|
429
433
|
Aws::IoT::Endpoints::ListRelatedResourcesForAuditFinding.build(context)
|
430
434
|
when :list_role_aliases
|
431
435
|
Aws::IoT::Endpoints::ListRoleAliases.build(context)
|
436
|
+
when :list_sbom_validation_results
|
437
|
+
Aws::IoT::Endpoints::ListSbomValidationResults.build(context)
|
432
438
|
when :list_scheduled_audits
|
433
439
|
Aws::IoT::Endpoints::ListScheduledAudits.build(context)
|
434
440
|
when :list_security_profiles
|
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -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
|
-
|
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-
|
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
data/sig/client.rbs
CHANGED
@@ -106,6 +106,28 @@ module Aws
|
|
106
106
|
) -> _AddThingToThingGroupResponseSuccess
|
107
107
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddThingToThingGroupResponseSuccess
|
108
108
|
|
109
|
+
interface _AssociateSbomWithPackageVersionResponseSuccess
|
110
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateSbomWithPackageVersionResponse]
|
111
|
+
def package_name: () -> ::String
|
112
|
+
def version_name: () -> ::String
|
113
|
+
def sbom: () -> Types::Sbom
|
114
|
+
def sbom_validation_status: () -> ("IN_PROGRESS" | "FAILED" | "SUCCEEDED")
|
115
|
+
end
|
116
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#associate_sbom_with_package_version-instance_method
|
117
|
+
def associate_sbom_with_package_version: (
|
118
|
+
package_name: ::String,
|
119
|
+
version_name: ::String,
|
120
|
+
sbom: {
|
121
|
+
s3_location: {
|
122
|
+
bucket: ::String?,
|
123
|
+
key: ::String?,
|
124
|
+
version: ::String?
|
125
|
+
}?
|
126
|
+
},
|
127
|
+
?client_token: ::String
|
128
|
+
) -> _AssociateSbomWithPackageVersionResponseSuccess
|
129
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateSbomWithPackageVersionResponseSuccess
|
130
|
+
|
109
131
|
interface _AssociateTargetsWithJobResponseSuccess
|
110
132
|
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateTargetsWithJobResponse]
|
111
133
|
def job_arn: () -> ::String
|
@@ -791,6 +813,14 @@ module Aws
|
|
791
813
|
version_name: ::String,
|
792
814
|
?description: ::String,
|
793
815
|
?attributes: Hash[::String, ::String],
|
816
|
+
?artifact: {
|
817
|
+
s3_location: {
|
818
|
+
bucket: ::String?,
|
819
|
+
key: ::String?,
|
820
|
+
version: ::String?
|
821
|
+
}?
|
822
|
+
},
|
823
|
+
?recipe: ::String,
|
794
824
|
?tags: Hash[::String, ::String],
|
795
825
|
?client_token: ::String
|
796
826
|
) -> _CreatePackageVersionResponseSuccess
|
@@ -2139,7 +2169,8 @@ module Aws
|
|
2139
2169
|
end
|
2140
2170
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#describe_job-instance_method
|
2141
2171
|
def describe_job: (
|
2142
|
-
job_id: ::String
|
2172
|
+
job_id: ::String,
|
2173
|
+
?before_substitution: bool
|
2143
2174
|
) -> _DescribeJobResponseSuccess
|
2144
2175
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeJobResponseSuccess
|
2145
2176
|
|
@@ -2411,6 +2442,17 @@ module Aws
|
|
2411
2442
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
2412
2443
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
2413
2444
|
|
2445
|
+
interface _DisassociateSbomFromPackageVersionResponseSuccess
|
2446
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateSbomFromPackageVersionResponse]
|
2447
|
+
end
|
2448
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#disassociate_sbom_from_package_version-instance_method
|
2449
|
+
def disassociate_sbom_from_package_version: (
|
2450
|
+
package_name: ::String,
|
2451
|
+
version_name: ::String,
|
2452
|
+
?client_token: ::String
|
2453
|
+
) -> _DisassociateSbomFromPackageVersionResponseSuccess
|
2454
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateSbomFromPackageVersionResponseSuccess
|
2455
|
+
|
2414
2456
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#enable_topic_rule-instance_method
|
2415
2457
|
def enable_topic_rule: (
|
2416
2458
|
rule_name: ::String
|
@@ -2490,7 +2532,8 @@ module Aws
|
|
2490
2532
|
end
|
2491
2533
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#get_job_document-instance_method
|
2492
2534
|
def get_job_document: (
|
2493
|
-
job_id: ::String
|
2535
|
+
job_id: ::String,
|
2536
|
+
?before_substitution: bool
|
2494
2537
|
) -> _GetJobDocumentResponseSuccess
|
2495
2538
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetJobDocumentResponseSuccess
|
2496
2539
|
|
@@ -2545,10 +2588,14 @@ module Aws
|
|
2545
2588
|
def version_name: () -> ::String
|
2546
2589
|
def description: () -> ::String
|
2547
2590
|
def attributes: () -> ::Hash[::String, ::String]
|
2591
|
+
def artifact: () -> Types::PackageVersionArtifact
|
2548
2592
|
def status: () -> ("DRAFT" | "PUBLISHED" | "DEPRECATED")
|
2549
2593
|
def error_reason: () -> ::String
|
2550
2594
|
def creation_date: () -> ::Time
|
2551
2595
|
def last_modified_date: () -> ::Time
|
2596
|
+
def sbom: () -> Types::Sbom
|
2597
|
+
def sbom_validation_status: () -> ("IN_PROGRESS" | "FAILED" | "SUCCEEDED")
|
2598
|
+
def recipe: () -> ::String
|
2552
2599
|
end
|
2553
2600
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#get_package_version-instance_method
|
2554
2601
|
def get_package_version: (
|
@@ -3249,6 +3296,21 @@ module Aws
|
|
3249
3296
|
) -> _ListRoleAliasesResponseSuccess
|
3250
3297
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRoleAliasesResponseSuccess
|
3251
3298
|
|
3299
|
+
interface _ListSbomValidationResultsResponseSuccess
|
3300
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSbomValidationResultsResponse]
|
3301
|
+
def validation_result_summaries: () -> ::Array[Types::SbomValidationResultSummary]
|
3302
|
+
def next_token: () -> ::String
|
3303
|
+
end
|
3304
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#list_sbom_validation_results-instance_method
|
3305
|
+
def list_sbom_validation_results: (
|
3306
|
+
package_name: ::String,
|
3307
|
+
version_name: ::String,
|
3308
|
+
?validation_result: ("FAILED" | "SUCCEEDED"),
|
3309
|
+
?max_results: ::Integer,
|
3310
|
+
?next_token: ::String
|
3311
|
+
) -> _ListSbomValidationResultsResponseSuccess
|
3312
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSbomValidationResultsResponseSuccess
|
3313
|
+
|
3252
3314
|
interface _ListScheduledAuditsResponseSuccess
|
3253
3315
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListScheduledAuditsResponse]
|
3254
3316
|
def scheduled_audits: () -> ::Array[Types::ScheduledAuditMetadata]
|
@@ -4649,7 +4711,15 @@ module Aws
|
|
4649
4711
|
version_name: ::String,
|
4650
4712
|
?description: ::String,
|
4651
4713
|
?attributes: Hash[::String, ::String],
|
4714
|
+
?artifact: {
|
4715
|
+
s3_location: {
|
4716
|
+
bucket: ::String?,
|
4717
|
+
key: ::String?,
|
4718
|
+
version: ::String?
|
4719
|
+
}?
|
4720
|
+
},
|
4652
4721
|
?action: ("PUBLISH" | "DEPRECATE"),
|
4722
|
+
?recipe: ::String,
|
4653
4723
|
?client_token: ::String
|
4654
4724
|
) -> _UpdatePackageVersionResponseSuccess
|
4655
4725
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePackageVersionResponseSuccess
|