aws-sdk-continuum 1.9.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -55,7 +55,7 @@ module Aws::Continuum
55
55
  autoload :EndpointProvider, 'aws-sdk-continuum/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-continuum/endpoints'
57
57
 
58
- GEM_VERSION = '1.9.0'
58
+ GEM_VERSION = '1.10.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -99,7 +99,7 @@ module Aws
99
99
  def finding_id: () -> ::String
100
100
  def finding_arn: () -> ::String
101
101
  def title: () -> ::String
102
- def status: () -> ("SUBMITTED" | "VALIDATING" | "CONFIRMED" | "DISCARDED")
102
+ def status: () -> ("SUBMITTED" | "VALIDATING" | "CONFIRMED" | "DISCARDED" | "NOT_PURSUED")
103
103
  def created_at: () -> ::Time
104
104
  end
105
105
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#create_code_finding-instance_method
@@ -154,13 +154,7 @@ module Aws
154
154
  ?configuration: {
155
155
  code_configuration: {
156
156
  source_configuration: Params::environment_source_configuration?,
157
- environment_configuration: {
158
- network: {
159
- allowed_domains: Array[::String]?
160
- }?,
161
- scan_frequency: ::String?,
162
- patch_creation_policy: ("ENABLED" | "DISABLED")?
163
- }?
157
+ environment_configuration: Params::environment_configuration?
164
158
  }?
165
159
  }
166
160
  ) -> _CreateEnvironmentResponseSuccess
@@ -171,6 +165,8 @@ module Aws
171
165
  def integration_id: () -> ::String
172
166
  def integration_arn: () -> ::String
173
167
  def created_at: () -> ::Time
168
+ def kms_key_id: () -> ::String
169
+ def tags: () -> ::Hash[::String, ::String]
174
170
  end
175
171
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#create_integration-instance_method
176
172
  def create_integration: (
@@ -196,10 +192,63 @@ module Aws
196
192
  role_arn: ::String,
197
193
  external_id: ::String
198
194
  }?
199
- }
195
+ },
196
+ ?kms_key_id: ::String,
197
+ ?tags: Hash[::String, ::String]
200
198
  ) -> _CreateIntegrationResponseSuccess
201
199
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateIntegrationResponseSuccess
202
200
 
201
+ interface _CreatePackageDecisionResponseSuccess
202
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreatePackageDecisionResponse]
203
+ def decision_id: () -> ::String
204
+ def canonical_purl: () -> ::String
205
+ def evaluated_action: () -> ("ALLOW" | "DENY")
206
+ def enforcement_action: () -> ("ALLOW" | "DENY")
207
+ def enforcement_mode: () -> ("NONE" | "AUDIT" | "ENFORCE")
208
+ def reason: () -> ("NO_DENY_MATCH" | "MALICIOUS_PACKAGE" | "POLICY_RULE_MATCHED")
209
+ end
210
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#create_package_decision-instance_method
211
+ def create_package_decision: (
212
+ purl: ::String,
213
+ ?client_token: ::String
214
+ ) -> _CreatePackageDecisionResponseSuccess
215
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePackageDecisionResponseSuccess
216
+
217
+ interface _CreateSupplyChainPolicyResponseSuccess
218
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSupplyChainPolicyResponse]
219
+ def id: () -> ::String
220
+ def arn: () -> ::String
221
+ def policy: () -> Types::SupplyChainPolicy
222
+ def created_at: () -> ::Time
223
+ def updated_at: () -> ::Time
224
+ def tags: () -> ::Hash[::String, ::String]
225
+ end
226
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#create_supply_chain_policy-instance_method
227
+ def create_supply_chain_policy: (
228
+ policy: Params::supply_chain_policy,
229
+ ?tags: Hash[::String, ::String],
230
+ ?client_token: ::String
231
+ ) -> _CreateSupplyChainPolicyResponseSuccess
232
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSupplyChainPolicyResponseSuccess
233
+
234
+ interface _CreateSupplyChainPolicyExceptionResponseSuccess
235
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSupplyChainPolicyExceptionResponse]
236
+ def id: () -> ::String
237
+ def arn: () -> ::String
238
+ def exception: () -> Types::SupplyChainPolicyException
239
+ def status: () -> ("ACTIVE" | "EXPIRED")
240
+ def created_at: () -> ::Time
241
+ def updated_at: () -> ::Time
242
+ def tags: () -> ::Hash[::String, ::String]
243
+ end
244
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#create_supply_chain_policy_exception-instance_method
245
+ def create_supply_chain_policy_exception: (
246
+ exception: Params::supply_chain_policy_exception,
247
+ ?tags: Hash[::String, ::String],
248
+ ?client_token: ::String
249
+ ) -> _CreateSupplyChainPolicyExceptionResponseSuccess
250
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSupplyChainPolicyExceptionResponseSuccess
251
+
203
252
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#delete_collector-instance_method
204
253
  def delete_collector: (
205
254
  collector_id: ::String
@@ -218,6 +267,18 @@ module Aws
218
267
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
219
268
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
220
269
 
270
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#delete_supply_chain_policy-instance_method
271
+ def delete_supply_chain_policy: (
272
+ id: ::String
273
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
274
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
275
+
276
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#delete_supply_chain_policy_exception-instance_method
277
+ def delete_supply_chain_policy_exception: (
278
+ id: ::String
279
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
280
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
281
+
221
282
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#disassociate_collector-instance_method
222
283
  def disassociate_collector: (
223
284
  environment_id: ::String,
@@ -267,7 +328,7 @@ module Aws
267
328
  def source: () -> ::String
268
329
  def source_finding_id: () -> ::String
269
330
  def reported_at: () -> ::Time
270
- def status: () -> ("SUBMITTED" | "VALIDATING" | "CONFIRMED" | "DISCARDED")
331
+ def status: () -> ("SUBMITTED" | "VALIDATING" | "CONFIRMED" | "DISCARDED" | "NOT_PURSUED")
271
332
  def status_updated_at: () -> ::Time
272
333
  def created_at: () -> ::Time
273
334
  def scan_run_id: () -> ::String
@@ -277,6 +338,7 @@ module Aws
277
338
  def duplicate_of_issue_id: () -> ::String
278
339
  def created_issue_id: () -> ::String
279
340
  def completed_at: () -> ::Time
341
+ def not_pursued_reason: () -> ("FOCUS_MODE" | "ISSUE_BUDGET")
280
342
  end
281
343
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#get_code_finding-instance_method
282
344
  def get_code_finding: (
@@ -397,6 +459,8 @@ module Aws
397
459
  def provider_details: () -> Types::ProviderDetails
398
460
  def created_at: () -> ::Time
399
461
  def updated_at: () -> ::Time
462
+ def kms_key_id: () -> ::String
463
+ def tags: () -> ::Hash[::String, ::String]
400
464
  end
401
465
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#get_integration-instance_method
402
466
  def get_integration: (
@@ -404,6 +468,23 @@ module Aws
404
468
  ) -> _GetIntegrationResponseSuccess
405
469
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIntegrationResponseSuccess
406
470
 
471
+ interface _GetPackageDecisionResponseSuccess
472
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPackageDecisionResponse]
473
+ def decision_id: () -> ::String
474
+ def evaluated_at: () -> ::Time
475
+ def completed_at: () -> ::Time
476
+ def canonical_purl: () -> ::String
477
+ def evaluated_action: () -> ("ALLOW" | "DENY")
478
+ def enforcement_action: () -> ("ALLOW" | "DENY")
479
+ def enforcement_mode: () -> ("NONE" | "AUDIT" | "ENFORCE")
480
+ def reason: () -> ("NO_DENY_MATCH" | "MALICIOUS_PACKAGE" | "POLICY_RULE_MATCHED")
481
+ end
482
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#get_package_decision-instance_method
483
+ def get_package_decision: (
484
+ decision_id: ::String
485
+ ) -> _GetPackageDecisionResponseSuccess
486
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPackageDecisionResponseSuccess
487
+
407
488
  interface _GetResourcePolicyResponseSuccess
408
489
  include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyOutput]
409
490
  def arn: () -> ::String
@@ -416,6 +497,66 @@ module Aws
416
497
  ) -> _GetResourcePolicyResponseSuccess
417
498
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
418
499
 
500
+ interface _GetSupplyChainManagedPolicyResponseSuccess
501
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSupplyChainManagedPolicyResponse]
502
+ def id: () -> ::String
503
+ def arn: () -> ::String
504
+ def managed_by: () -> ::String
505
+ def policy: () -> Types::SupplyChainPolicy
506
+ end
507
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#get_supply_chain_managed_policy-instance_method
508
+ def get_supply_chain_managed_policy: (
509
+ id: ::String
510
+ ) -> _GetSupplyChainManagedPolicyResponseSuccess
511
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSupplyChainManagedPolicyResponseSuccess
512
+
513
+ interface _GetSupplyChainPolicyResponseSuccess
514
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSupplyChainPolicyResponse]
515
+ def id: () -> ::String
516
+ def arn: () -> ::String
517
+ def policy: () -> Types::SupplyChainPolicy
518
+ def created_at: () -> ::Time
519
+ def updated_at: () -> ::Time
520
+ def tags: () -> ::Hash[::String, ::String]
521
+ end
522
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#get_supply_chain_policy-instance_method
523
+ def get_supply_chain_policy: (
524
+ id: ::String
525
+ ) -> _GetSupplyChainPolicyResponseSuccess
526
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSupplyChainPolicyResponseSuccess
527
+
528
+ interface _GetSupplyChainPolicyExceptionResponseSuccess
529
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSupplyChainPolicyExceptionResponse]
530
+ def id: () -> ::String
531
+ def arn: () -> ::String
532
+ def exception: () -> Types::SupplyChainPolicyException
533
+ def status: () -> ("ACTIVE" | "EXPIRED")
534
+ def created_at: () -> ::Time
535
+ def updated_at: () -> ::Time
536
+ def tags: () -> ::Hash[::String, ::String]
537
+ end
538
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#get_supply_chain_policy_exception-instance_method
539
+ def get_supply_chain_policy_exception: (
540
+ id: ::String
541
+ ) -> _GetSupplyChainPolicyExceptionResponseSuccess
542
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSupplyChainPolicyExceptionResponseSuccess
543
+
544
+ interface _GetVulnerabilityResponseSuccess
545
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetVulnerabilityResponse]
546
+ def id: () -> ::String
547
+ def malicious: () -> bool
548
+ def severity: () -> ("CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "INFO" | "NONE" | "UNKNOWN")
549
+ def analysis_state: () -> ("RESOLVED" | "RESOLVED_WITH_PEDIGREE" | "EXPLOITABLE" | "IN_TRIAGE" | "FALSE_POSITIVE" | "NOT_AFFECTED")
550
+ def description: () -> ::String
551
+ def cwes: () -> ::Array[::Integer]
552
+ def advisory_urls: () -> ::Array[::String]
553
+ end
554
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#get_vulnerability-instance_method
555
+ def get_vulnerability: (
556
+ vulnerability_id: ::String
557
+ ) -> _GetVulnerabilityResponseSuccess
558
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetVulnerabilityResponseSuccess
559
+
419
560
  interface _ListAssociatedCollectorsResponseSuccess
420
561
  include ::Seahorse::Client::_ResponseSuccess[Types::ListAssociatedCollectorsOutput]
421
562
  def associated_collectors: () -> ::Array[Types::AssociatedCollector]
@@ -505,6 +646,19 @@ module Aws
505
646
  ) -> _ListCollectorsResponseSuccess
506
647
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCollectorsResponseSuccess
507
648
 
649
+ interface _ListDecisionEvidenceResponseSuccess
650
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDecisionEvidenceResponse]
651
+ def evidence: () -> ::Array[Types::DecisionEvidence]
652
+ def next_token: () -> ::String
653
+ end
654
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#list_decision_evidence-instance_method
655
+ def list_decision_evidence: (
656
+ decision_id: ::String,
657
+ ?max_results: ::Integer,
658
+ ?next_token: ::String
659
+ ) -> _ListDecisionEvidenceResponseSuccess
660
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDecisionEvidenceResponseSuccess
661
+
508
662
  interface _ListEnvironmentsResponseSuccess
509
663
  include ::Seahorse::Client::_ResponseSuccess[Types::ListEnvironmentsOutput]
510
664
  def items: () -> ::Array[Types::EnvironmentListEntry]
@@ -529,6 +683,55 @@ module Aws
529
683
  ) -> _ListIntegrationsResponseSuccess
530
684
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIntegrationsResponseSuccess
531
685
 
686
+ interface _ListPackageDecisionsResponseSuccess
687
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPackageDecisionsResponse]
688
+ def decisions: () -> ::Array[Types::PackageDecisionSummary]
689
+ def next_token: () -> ::String
690
+ end
691
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#list_package_decisions-instance_method
692
+ def list_package_decisions: (
693
+ ?completed_after: ::Time,
694
+ ?completed_before: ::Time,
695
+ ?max_results: ::Integer,
696
+ ?next_token: ::String
697
+ ) -> _ListPackageDecisionsResponseSuccess
698
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPackageDecisionsResponseSuccess
699
+
700
+ interface _ListSupplyChainPoliciesResponseSuccess
701
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSupplyChainPoliciesResponse]
702
+ def policies: () -> ::Array[Types::PolicyListEntry]
703
+ def next_token: () -> ::String
704
+ end
705
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#list_supply_chain_policies-instance_method
706
+ def list_supply_chain_policies: (
707
+ ?policy_type: ("CUSTOMER_MANAGED" | "SERVICE_MANAGED"),
708
+ ?max_results: ::Integer,
709
+ ?next_token: ::String
710
+ ) -> _ListSupplyChainPoliciesResponseSuccess
711
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSupplyChainPoliciesResponseSuccess
712
+
713
+ interface _ListSupplyChainPolicyExceptionsResponseSuccess
714
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSupplyChainPolicyExceptionsResponse]
715
+ def exceptions: () -> ::Array[Types::PolicyExceptionSummary]
716
+ def next_token: () -> ::String
717
+ end
718
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#list_supply_chain_policy_exceptions-instance_method
719
+ def list_supply_chain_policy_exceptions: (
720
+ ?max_results: ::Integer,
721
+ ?next_token: ::String
722
+ ) -> _ListSupplyChainPolicyExceptionsResponseSuccess
723
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSupplyChainPolicyExceptionsResponseSuccess
724
+
725
+ interface _ListTagsForResourceResponseSuccess
726
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
727
+ def tags: () -> ::Hash[::String, ::String]
728
+ end
729
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#list_tags_for_resource-instance_method
730
+ def list_tags_for_resource: (
731
+ resource_arn: ::String
732
+ ) -> _ListTagsForResourceResponseSuccess
733
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
734
+
532
735
  interface _PutResourcePolicyResponseSuccess
533
736
  include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyOutput]
534
737
  def arn: () -> ::String
@@ -557,6 +760,26 @@ module Aws
557
760
  ) -> _StartIntegrationAuthorizationResponseSuccess
558
761
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartIntegrationAuthorizationResponseSuccess
559
762
 
763
+ interface _TagResourceResponseSuccess
764
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
765
+ end
766
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#tag_resource-instance_method
767
+ def tag_resource: (
768
+ resource_arn: ::String,
769
+ tags: Hash[::String, ::String]
770
+ ) -> _TagResourceResponseSuccess
771
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
772
+
773
+ interface _UntagResourceResponseSuccess
774
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput]
775
+ end
776
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#untag_resource-instance_method
777
+ def untag_resource: (
778
+ resource_arn: ::String,
779
+ tag_keys: Array[::String]
780
+ ) -> _UntagResourceResponseSuccess
781
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
782
+
560
783
  interface _UpdateCollectorResponseSuccess
561
784
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCollectorOutput]
562
785
  def collector_id: () -> ::String
@@ -601,13 +824,7 @@ module Aws
601
824
  ?configuration: {
602
825
  code_configuration: {
603
826
  source_configuration: Params::environment_source_configuration?,
604
- environment_configuration: {
605
- network: {
606
- allowed_domains: Array[::String]?
607
- }?,
608
- scan_frequency: ::String?,
609
- patch_creation_policy: ("ENABLED" | "DISABLED")?
610
- }?
827
+ environment_configuration: Params::environment_configuration?
611
828
  }?
612
829
  }
613
830
  ) -> _UpdateEnvironmentResponseSuccess
@@ -635,6 +852,37 @@ module Aws
635
852
  ) -> _UpdateIntegrationResponseSuccess
636
853
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIntegrationResponseSuccess
637
854
 
855
+ interface _UpdateSupplyChainPolicyResponseSuccess
856
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSupplyChainPolicyResponse]
857
+ def id: () -> ::String
858
+ def arn: () -> ::String
859
+ def policy: () -> Types::SupplyChainPolicy
860
+ def created_at: () -> ::Time
861
+ def updated_at: () -> ::Time
862
+ end
863
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#update_supply_chain_policy-instance_method
864
+ def update_supply_chain_policy: (
865
+ id: ::String,
866
+ policy: Params::supply_chain_policy
867
+ ) -> _UpdateSupplyChainPolicyResponseSuccess
868
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSupplyChainPolicyResponseSuccess
869
+
870
+ interface _UpdateSupplyChainPolicyExceptionResponseSuccess
871
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSupplyChainPolicyExceptionResponse]
872
+ def id: () -> ::String
873
+ def arn: () -> ::String
874
+ def exception: () -> Types::SupplyChainPolicyException
875
+ def status: () -> ("ACTIVE" | "EXPIRED")
876
+ def created_at: () -> ::Time
877
+ def updated_at: () -> ::Time
878
+ end
879
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#update_supply_chain_policy_exception-instance_method
880
+ def update_supply_chain_policy_exception: (
881
+ id: ::String,
882
+ exception: Params::supply_chain_policy_exception
883
+ ) -> _UpdateSupplyChainPolicyExceptionResponseSuccess
884
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSupplyChainPolicyExceptionResponseSuccess
885
+
638
886
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Continuum/Client.html#wait_until-instance_method
639
887
  def wait_until: (:code_scan_succeeded waiter_name,
640
888
  environment_id: ::String,
data/sig/params.rbs CHANGED
@@ -25,6 +25,70 @@ module Aws
25
25
  ]?
26
26
  }
27
27
 
28
+ type environment_configuration = {
29
+ network: {
30
+ allowed_domains: Array[::String]?
31
+ }?,
32
+ scan_frequency: ::String?,
33
+ patch_creation_policy: ("ENABLED" | "DISABLED")?,
34
+ focus_mode: ("COMPREHENSIVE" | "FOCUSED")?,
35
+ issue_budget: {
36
+ max_issues_per_scan: ::Integer
37
+ }?
38
+ }
39
+
40
+ type supply_chain_policy = {
41
+ name: ::String,
42
+ description: ::String?,
43
+ rules: Array[
44
+ Params::rule
45
+ ]
46
+ }
47
+
48
+ type deny_when = {
49
+ all_of: Array[
50
+ Params::condition
51
+ ]
52
+ }
53
+
54
+ type rule = {
55
+ rule_id: ::String,
56
+ enforcement_mode: ("AUDIT" | "ENFORCE"),
57
+ deny_when: Params::deny_when
58
+ }
59
+
60
+ type condition_value = {
61
+ package_identity: {
62
+ ecosystem: ::String,
63
+ name: ::String,
64
+ version: ::String?,
65
+ version_range: ::String?
66
+ }?,
67
+ severity: ("LOW" | "MEDIUM" | "HIGH" | "CRITICAL" | "UNTRIAGED")?,
68
+ string_value: ::String?,
69
+ string_set: Array[::String]?
70
+ }
71
+
72
+ type condition = {
73
+ signal: ("PACKAGE_IDENTITY" | "INSPECTOR_SEVERITY" | "KEV" | "MALICIOUS"),
74
+ operator: ("MATCHES" | "AT_LEAST" | "EQUALS" | "NOT_EQUALS" | "IN" | "PRESENT"),
75
+ value: Params::condition_value?
76
+ }
77
+
78
+ type supply_chain_policy_exception = {
79
+ name: ::String,
80
+ policy_arn: ::String,
81
+ rule_ids: Array[::String],
82
+ package: {
83
+ ecosystem: ::String,
84
+ name: ::String,
85
+ version: ::String?,
86
+ version_range: ::String?
87
+ },
88
+ justification: ::String,
89
+ expires_at: ::Time
90
+ }
91
+
28
92
  end
29
93
  end
30
94
  end