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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iot/client.rb +231 -5
- 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 +14 -5
- data/lib/aws-sdk-iot/types.rb +255 -7
- data/lib/aws-sdk-iot.rb +1 -1
- data/sig/client.rbs +73 -2
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +72 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d4484d2e87faa3ac80c80f5243d4fb4db7e8436318331d32feafa3714e0efc6
|
4
|
+
data.tar.gz: 115c9a711e4e3c85b7b830716f17367562c405c1756421e3e07f50ae46f1902e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 158d9ede09fb0e5010538e2b79157c03b92cc790ab44548c0a5b93b44b94b076709612704163d3606ee64a05f8675f7a8b6d06d8d66921cfa80770b88e00e0a8
|
7
|
+
data.tar.gz: 2134ea93029721abefc0b8bfcd2e4159c2c478222e74ae736ea265b33167c91de86ac7ed5901b62d250c0e100ae85b39dc5ad877ecc41c7540365d9dd676790f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.133.0 (2024-09-20)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.132.0 (2024-09-16)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.131.0 (2024-09-11)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.133.0
|
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -130,13 +130,15 @@ module Aws::IoT
|
|
130
130
|
# locations will be searched for credentials:
|
131
131
|
#
|
132
132
|
# * `Aws.config[:credentials]`
|
133
|
-
# * The `:access_key_id`, `:secret_access_key`,
|
134
|
-
#
|
133
|
+
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
134
|
+
# `:account_id` options.
|
135
|
+
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
|
136
|
+
# ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
|
135
137
|
# * `~/.aws/credentials`
|
136
138
|
# * `~/.aws/config`
|
137
139
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
138
140
|
# are very aggressive. Construct and pass an instance of
|
139
|
-
# `Aws::
|
141
|
+
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
140
142
|
# enable retries and extended timeouts. Instance profile credential
|
141
143
|
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
142
144
|
# to true.
|
@@ -155,6 +157,8 @@ module Aws::IoT
|
|
155
157
|
#
|
156
158
|
# @option options [String] :access_key_id
|
157
159
|
#
|
160
|
+
# @option options [String] :account_id
|
161
|
+
#
|
158
162
|
# @option options [Boolean] :active_endpoint_cache (false)
|
159
163
|
# When set to `true`, a thread polling for endpoints will be running in
|
160
164
|
# the background every 60 secs (default). Defaults to `false`.
|
@@ -369,7 +373,9 @@ module Aws::IoT
|
|
369
373
|
# sending the request.
|
370
374
|
#
|
371
375
|
# @option options [Aws::IoT::EndpointProvider] :endpoint_provider
|
372
|
-
# The endpoint provider used to resolve endpoints. Any object that responds to
|
376
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to
|
377
|
+
# `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
378
|
+
# `Aws::IoT::EndpointParameters`.
|
373
379
|
#
|
374
380
|
# @option options [Float] :http_continue_timeout (1)
|
375
381
|
# The number of seconds to wait for a 100-continue response before sending the
|
@@ -567,6 +573,72 @@ module Aws::IoT
|
|
567
573
|
req.send_request(options)
|
568
574
|
end
|
569
575
|
|
576
|
+
# Associates a software bill of materials (SBOM) with a specific
|
577
|
+
# software package version.
|
578
|
+
#
|
579
|
+
# Requires permission to access the [AssociateSbomWithPackageVersion][1]
|
580
|
+
# action.
|
581
|
+
#
|
582
|
+
#
|
583
|
+
#
|
584
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
585
|
+
#
|
586
|
+
# @option params [required, String] :package_name
|
587
|
+
# The name of the new software package.
|
588
|
+
#
|
589
|
+
# @option params [required, String] :version_name
|
590
|
+
# The name of the new package version.
|
591
|
+
#
|
592
|
+
# @option params [required, Types::Sbom] :sbom
|
593
|
+
# The Amazon S3 location for the software bill of materials associated
|
594
|
+
# with a software package version.
|
595
|
+
#
|
596
|
+
# @option params [String] :client_token
|
597
|
+
# A unique case-sensitive identifier that you can provide to ensure the
|
598
|
+
# idempotency of the request. Don't reuse this client token if a new
|
599
|
+
# idempotent request is required.
|
600
|
+
#
|
601
|
+
# **A suitable default value is auto-generated.** You should normally
|
602
|
+
# not need to pass this option.**
|
603
|
+
#
|
604
|
+
# @return [Types::AssociateSbomWithPackageVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
605
|
+
#
|
606
|
+
# * {Types::AssociateSbomWithPackageVersionResponse#package_name #package_name} => String
|
607
|
+
# * {Types::AssociateSbomWithPackageVersionResponse#version_name #version_name} => String
|
608
|
+
# * {Types::AssociateSbomWithPackageVersionResponse#sbom #sbom} => Types::Sbom
|
609
|
+
# * {Types::AssociateSbomWithPackageVersionResponse#sbom_validation_status #sbom_validation_status} => String
|
610
|
+
#
|
611
|
+
# @example Request syntax with placeholder values
|
612
|
+
#
|
613
|
+
# resp = client.associate_sbom_with_package_version({
|
614
|
+
# package_name: "PackageName", # required
|
615
|
+
# version_name: "VersionName", # required
|
616
|
+
# sbom: { # required
|
617
|
+
# s3_location: {
|
618
|
+
# bucket: "S3Bucket",
|
619
|
+
# key: "S3Key",
|
620
|
+
# version: "S3Version",
|
621
|
+
# },
|
622
|
+
# },
|
623
|
+
# client_token: "ClientToken",
|
624
|
+
# })
|
625
|
+
#
|
626
|
+
# @example Response structure
|
627
|
+
#
|
628
|
+
# resp.package_name #=> String
|
629
|
+
# resp.version_name #=> String
|
630
|
+
# resp.sbom.s3_location.bucket #=> String
|
631
|
+
# resp.sbom.s3_location.key #=> String
|
632
|
+
# resp.sbom.s3_location.version #=> String
|
633
|
+
# resp.sbom_validation_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED"
|
634
|
+
#
|
635
|
+
# @overload associate_sbom_with_package_version(params = {})
|
636
|
+
# @param [Hash] params ({})
|
637
|
+
def associate_sbom_with_package_version(params = {}, options = {})
|
638
|
+
req = build_request(:associate_sbom_with_package_version, params)
|
639
|
+
req.send_request(options)
|
640
|
+
end
|
641
|
+
|
570
642
|
# Associates a group with a continuous job. The following criteria must
|
571
643
|
# be met:
|
572
644
|
#
|
@@ -2616,6 +2688,15 @@ module Aws::IoT
|
|
2616
2688
|
# The combined size of all the attributes on a package version is
|
2617
2689
|
# limited to 3KB.
|
2618
2690
|
#
|
2691
|
+
# @option params [Types::PackageVersionArtifact] :artifact
|
2692
|
+
# The various build components created during the build process such as
|
2693
|
+
# libraries and configuration files that make up a software package
|
2694
|
+
# version.
|
2695
|
+
#
|
2696
|
+
# @option params [String] :recipe
|
2697
|
+
# The inline job document associated with a software package version
|
2698
|
+
# used for a quick job deployment via IoT Jobs.
|
2699
|
+
#
|
2619
2700
|
# @option params [Hash<String,String>] :tags
|
2620
2701
|
# Metadata that can be used to manage the package version.
|
2621
2702
|
#
|
@@ -2646,6 +2727,14 @@ module Aws::IoT
|
|
2646
2727
|
# attributes: {
|
2647
2728
|
# "ResourceAttributeKey" => "ResourceAttributeValue",
|
2648
2729
|
# },
|
2730
|
+
# artifact: {
|
2731
|
+
# s3_location: {
|
2732
|
+
# bucket: "S3Bucket",
|
2733
|
+
# key: "S3Key",
|
2734
|
+
# version: "S3Version",
|
2735
|
+
# },
|
2736
|
+
# },
|
2737
|
+
# recipe: "PackageVersionRecipe",
|
2649
2738
|
# tags: {
|
2650
2739
|
# "TagKey" => "TagValue",
|
2651
2740
|
# },
|
@@ -6163,6 +6252,10 @@ module Aws::IoT
|
|
6163
6252
|
# @option params [required, String] :job_id
|
6164
6253
|
# The unique identifier you assigned to this job when it was created.
|
6165
6254
|
#
|
6255
|
+
# @option params [Boolean] :before_substitution
|
6256
|
+
# A flag that provides a view of the job document before and after the
|
6257
|
+
# substitution parameters have been resolved with their exact values.
|
6258
|
+
#
|
6166
6259
|
# @return [Types::DescribeJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6167
6260
|
#
|
6168
6261
|
# * {Types::DescribeJobResponse#document_source #document_source} => String
|
@@ -6172,6 +6265,7 @@ module Aws::IoT
|
|
6172
6265
|
#
|
6173
6266
|
# resp = client.describe_job({
|
6174
6267
|
# job_id: "JobId", # required
|
6268
|
+
# before_substitution: false,
|
6175
6269
|
# })
|
6176
6270
|
#
|
6177
6271
|
# @example Response structure
|
@@ -7137,6 +7231,47 @@ module Aws::IoT
|
|
7137
7231
|
req.send_request(options)
|
7138
7232
|
end
|
7139
7233
|
|
7234
|
+
# Disassociates a software bill of materials (SBOM) from a specific
|
7235
|
+
# software package version.
|
7236
|
+
#
|
7237
|
+
# Requires permission to access the
|
7238
|
+
# [DisassociateSbomWithPackageVersion][1] action.
|
7239
|
+
#
|
7240
|
+
#
|
7241
|
+
#
|
7242
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
7243
|
+
#
|
7244
|
+
# @option params [required, String] :package_name
|
7245
|
+
# The name of the new software package.
|
7246
|
+
#
|
7247
|
+
# @option params [required, String] :version_name
|
7248
|
+
# The name of the new package version.
|
7249
|
+
#
|
7250
|
+
# @option params [String] :client_token
|
7251
|
+
# A unique case-sensitive identifier that you can provide to ensure the
|
7252
|
+
# idempotency of the request. Don't reuse this client token if a new
|
7253
|
+
# idempotent request is required.
|
7254
|
+
#
|
7255
|
+
# **A suitable default value is auto-generated.** You should normally
|
7256
|
+
# not need to pass this option.**
|
7257
|
+
#
|
7258
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
7259
|
+
#
|
7260
|
+
# @example Request syntax with placeholder values
|
7261
|
+
#
|
7262
|
+
# resp = client.disassociate_sbom_from_package_version({
|
7263
|
+
# package_name: "PackageName", # required
|
7264
|
+
# version_name: "VersionName", # required
|
7265
|
+
# client_token: "ClientToken",
|
7266
|
+
# })
|
7267
|
+
#
|
7268
|
+
# @overload disassociate_sbom_from_package_version(params = {})
|
7269
|
+
# @param [Hash] params ({})
|
7270
|
+
def disassociate_sbom_from_package_version(params = {}, options = {})
|
7271
|
+
req = build_request(:disassociate_sbom_from_package_version, params)
|
7272
|
+
req.send_request(options)
|
7273
|
+
end
|
7274
|
+
|
7140
7275
|
# Enables the rule.
|
7141
7276
|
#
|
7142
7277
|
# Requires permission to access the [EnableTopicRule][1] action.
|
@@ -7423,6 +7558,10 @@ module Aws::IoT
|
|
7423
7558
|
# @option params [required, String] :job_id
|
7424
7559
|
# The unique identifier you assigned to this job when it was created.
|
7425
7560
|
#
|
7561
|
+
# @option params [Boolean] :before_substitution
|
7562
|
+
# A flag that provides a view of the job document before and after the
|
7563
|
+
# substitution parameters have been resolved with their exact values.
|
7564
|
+
#
|
7426
7565
|
# @return [Types::GetJobDocumentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7427
7566
|
#
|
7428
7567
|
# * {Types::GetJobDocumentResponse#document #document} => String
|
@@ -7431,6 +7570,7 @@ module Aws::IoT
|
|
7431
7570
|
#
|
7432
7571
|
# resp = client.get_job_document({
|
7433
7572
|
# job_id: "JobId", # required
|
7573
|
+
# before_substitution: false,
|
7434
7574
|
# })
|
7435
7575
|
#
|
7436
7576
|
# @example Response structure
|
@@ -7637,10 +7777,14 @@ module Aws::IoT
|
|
7637
7777
|
# * {Types::GetPackageVersionResponse#version_name #version_name} => String
|
7638
7778
|
# * {Types::GetPackageVersionResponse#description #description} => String
|
7639
7779
|
# * {Types::GetPackageVersionResponse#attributes #attributes} => Hash<String,String>
|
7780
|
+
# * {Types::GetPackageVersionResponse#artifact #artifact} => Types::PackageVersionArtifact
|
7640
7781
|
# * {Types::GetPackageVersionResponse#status #status} => String
|
7641
7782
|
# * {Types::GetPackageVersionResponse#error_reason #error_reason} => String
|
7642
7783
|
# * {Types::GetPackageVersionResponse#creation_date #creation_date} => Time
|
7643
7784
|
# * {Types::GetPackageVersionResponse#last_modified_date #last_modified_date} => Time
|
7785
|
+
# * {Types::GetPackageVersionResponse#sbom #sbom} => Types::Sbom
|
7786
|
+
# * {Types::GetPackageVersionResponse#sbom_validation_status #sbom_validation_status} => String
|
7787
|
+
# * {Types::GetPackageVersionResponse#recipe #recipe} => String
|
7644
7788
|
#
|
7645
7789
|
# @example Request syntax with placeholder values
|
7646
7790
|
#
|
@@ -7657,10 +7801,18 @@ module Aws::IoT
|
|
7657
7801
|
# resp.description #=> String
|
7658
7802
|
# resp.attributes #=> Hash
|
7659
7803
|
# resp.attributes["ResourceAttributeKey"] #=> String
|
7804
|
+
# resp.artifact.s3_location.bucket #=> String
|
7805
|
+
# resp.artifact.s3_location.key #=> String
|
7806
|
+
# resp.artifact.s3_location.version #=> String
|
7660
7807
|
# resp.status #=> String, one of "DRAFT", "PUBLISHED", "DEPRECATED"
|
7661
7808
|
# resp.error_reason #=> String
|
7662
7809
|
# resp.creation_date #=> Time
|
7663
7810
|
# resp.last_modified_date #=> Time
|
7811
|
+
# resp.sbom.s3_location.bucket #=> String
|
7812
|
+
# resp.sbom.s3_location.key #=> String
|
7813
|
+
# resp.sbom.s3_location.version #=> String
|
7814
|
+
# resp.sbom_validation_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED"
|
7815
|
+
# resp.recipe #=> String
|
7664
7816
|
#
|
7665
7817
|
# @overload get_package_version(params = {})
|
7666
7818
|
# @param [Hash] params ({})
|
@@ -10656,6 +10808,65 @@ module Aws::IoT
|
|
10656
10808
|
req.send_request(options)
|
10657
10809
|
end
|
10658
10810
|
|
10811
|
+
# The validation results for all software bill of materials (SBOM)
|
10812
|
+
# attached to a specific software package version.
|
10813
|
+
#
|
10814
|
+
# Requires permission to access the [ListSbomValidationResults][1]
|
10815
|
+
# action.
|
10816
|
+
#
|
10817
|
+
#
|
10818
|
+
#
|
10819
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
10820
|
+
#
|
10821
|
+
# @option params [required, String] :package_name
|
10822
|
+
# The name of the new software package.
|
10823
|
+
#
|
10824
|
+
# @option params [required, String] :version_name
|
10825
|
+
# The name of the new package version.
|
10826
|
+
#
|
10827
|
+
# @option params [String] :validation_result
|
10828
|
+
# The end result of the
|
10829
|
+
#
|
10830
|
+
# @option params [Integer] :max_results
|
10831
|
+
# The maximum number of results to return at one time.
|
10832
|
+
#
|
10833
|
+
# @option params [String] :next_token
|
10834
|
+
# A token that can be used to retrieve the next set of results, or null
|
10835
|
+
# if there are no additional results.
|
10836
|
+
#
|
10837
|
+
# @return [Types::ListSbomValidationResultsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10838
|
+
#
|
10839
|
+
# * {Types::ListSbomValidationResultsResponse#validation_result_summaries #validation_result_summaries} => Array<Types::SbomValidationResultSummary>
|
10840
|
+
# * {Types::ListSbomValidationResultsResponse#next_token #next_token} => String
|
10841
|
+
#
|
10842
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
10843
|
+
#
|
10844
|
+
# @example Request syntax with placeholder values
|
10845
|
+
#
|
10846
|
+
# resp = client.list_sbom_validation_results({
|
10847
|
+
# package_name: "PackageName", # required
|
10848
|
+
# version_name: "VersionName", # required
|
10849
|
+
# validation_result: "FAILED", # accepts FAILED, SUCCEEDED
|
10850
|
+
# max_results: 1,
|
10851
|
+
# next_token: "NextToken",
|
10852
|
+
# })
|
10853
|
+
#
|
10854
|
+
# @example Response structure
|
10855
|
+
#
|
10856
|
+
# resp.validation_result_summaries #=> Array
|
10857
|
+
# resp.validation_result_summaries[0].file_name #=> String
|
10858
|
+
# resp.validation_result_summaries[0].validation_result #=> String, one of "FAILED", "SUCCEEDED"
|
10859
|
+
# resp.validation_result_summaries[0].error_code #=> String, one of "INCOMPATIBLE_FORMAT", "FILE_SIZE_LIMIT_EXCEEDED"
|
10860
|
+
# resp.validation_result_summaries[0].error_message #=> String
|
10861
|
+
# resp.next_token #=> String
|
10862
|
+
#
|
10863
|
+
# @overload list_sbom_validation_results(params = {})
|
10864
|
+
# @param [Hash] params ({})
|
10865
|
+
def list_sbom_validation_results(params = {}, options = {})
|
10866
|
+
req = build_request(:list_sbom_validation_results, params)
|
10867
|
+
req.send_request(options)
|
10868
|
+
end
|
10869
|
+
|
10659
10870
|
# Lists all of your scheduled audits.
|
10660
10871
|
#
|
10661
10872
|
# Requires permission to access the [ListScheduledAudits][1] action.
|
@@ -14450,6 +14661,9 @@ module Aws::IoT
|
|
14450
14661
|
# The combined size of all the attributes on a package version is
|
14451
14662
|
# limited to 3KB.
|
14452
14663
|
#
|
14664
|
+
# @option params [Types::PackageVersionArtifact] :artifact
|
14665
|
+
# The various components that make up a software package version.
|
14666
|
+
#
|
14453
14667
|
# @option params [String] :action
|
14454
14668
|
# The status that the package version should be assigned. For more
|
14455
14669
|
# information, see [Package version lifecycle][1].
|
@@ -14458,6 +14672,10 @@ module Aws::IoT
|
|
14458
14672
|
#
|
14459
14673
|
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/preparing-to-use-software-package-catalog.html#package-version-lifecycle
|
14460
14674
|
#
|
14675
|
+
# @option params [String] :recipe
|
14676
|
+
# The inline job document associated with a software package version
|
14677
|
+
# used for a quick job deployment via IoT Jobs.
|
14678
|
+
#
|
14461
14679
|
# @option params [String] :client_token
|
14462
14680
|
# A unique case-sensitive identifier that you can provide to ensure the
|
14463
14681
|
# idempotency of the request. Don't reuse this client token if a new
|
@@ -14477,7 +14695,15 @@ module Aws::IoT
|
|
14477
14695
|
# attributes: {
|
14478
14696
|
# "ResourceAttributeKey" => "ResourceAttributeValue",
|
14479
14697
|
# },
|
14698
|
+
# artifact: {
|
14699
|
+
# s3_location: {
|
14700
|
+
# bucket: "S3Bucket",
|
14701
|
+
# key: "S3Key",
|
14702
|
+
# version: "S3Version",
|
14703
|
+
# },
|
14704
|
+
# },
|
14480
14705
|
# action: "PUBLISH", # accepts PUBLISH, DEPRECATE
|
14706
|
+
# recipe: "PackageVersionRecipe",
|
14481
14707
|
# client_token: "ClientToken",
|
14482
14708
|
# })
|
14483
14709
|
#
|
@@ -15207,7 +15433,7 @@ module Aws::IoT
|
|
15207
15433
|
tracer: tracer
|
15208
15434
|
)
|
15209
15435
|
context[:gem_name] = 'aws-sdk-iot'
|
15210
|
-
context[:gem_version] = '1.
|
15436
|
+
context[:gem_version] = '1.133.0'
|
15211
15437
|
Seahorse::Client::Request.new(handlers, context)
|
15212
15438
|
end
|
15213
15439
|
|