aws-sdk-devopsagent 1.12.0 → 1.13.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fde39cd30399629b17dd30247f384ce6df3e9e2e4dfadf55b2b8ae912e5f5368
4
- data.tar.gz: 2d49de8ae4ab3c49ab87f1328ec376c46e5950a4589e6da32846b8fa7fa3ffb5
3
+ metadata.gz: 518b30f3df227d93fbb957917a3fa016540380b69ddb45df47e9deb1249d8497
4
+ data.tar.gz: 77b7491730c2981ba7a979cd9acbba51ca60d088ec7177a0a08ce7b0de5563fd
5
5
  SHA512:
6
- metadata.gz: d67bdf41c4511ea0e17717eb8eb0016b6fca1817f1bbaba3fd0e9e57eff2ece9441aef1ae54f6f319b1c710733f2927e92304fff4a95f53c06beee2f5934fdc9
7
- data.tar.gz: abbfc0161f92f95424cdc2b45ba341a2fa097913a92543ff4da90e5b0558434744234b4287c16af0c43b24c02dd99504bffc4545a6f665a5e5af9e16576284d7
6
+ metadata.gz: b1126024a539f197d9884c1af91d385001d94a1a0f8fd7c145b1e2eaa6cf27587883778bd2d93db14cad1c34d77e1412cb3f40211f9b9bad1e03c26e03ae9166
7
+ data.tar.gz: d1831444d3a38993863c19fc023a8f8dbdf4f8031b8e8c143623a9191419497cf1977c611f68312c3f1277ef38871735db8d3e47c1760238fe89418cd7e130f6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.13.0 (2026-08-26)
5
+ ------------------
6
+
7
+ * Feature - AWS DevOps Agent now supports trigger filter groups for Release Readiness Review, letting you control when the capability auto-triggers based on webhook events and target branches.
8
+
4
9
  1.12.0 (2026-08-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.12.0
1
+ 1.13.0
@@ -629,6 +629,14 @@ module Aws::DevOpsAgent
629
629
  # capabilities: {
630
630
  # "RELEASE_READINESS_REVIEW" => {
631
631
  # enabled: false,
632
+ # trigger_filter_groups: [
633
+ # {
634
+ # events: ["PULL_REQUEST_READY_FOR_REVIEW"], # accepts PULL_REQUEST_READY_FOR_REVIEW, PULL_REQUEST_DRAFT
635
+ # target_branches: {
636
+ # patterns: ["TriggerRegexPattern"], # required
637
+ # },
638
+ # },
639
+ # ],
632
640
  # },
633
641
  # },
634
642
  # })
@@ -705,6 +713,11 @@ module Aws::DevOpsAgent
705
713
  # resp.association.configuration.mcpserversigv4.tool_details[0].tool_classification #=> String, one of "READ_ONLY", "MUTATIVE", "DESTRUCTIVE"
706
714
  # resp.association.capabilities #=> Hash
707
715
  # resp.association.capabilities["CapabilityType"].enabled #=> Boolean
716
+ # resp.association.capabilities["CapabilityType"].trigger_filter_groups #=> Array
717
+ # resp.association.capabilities["CapabilityType"].trigger_filter_groups[0].events #=> Array
718
+ # resp.association.capabilities["CapabilityType"].trigger_filter_groups[0].events[0] #=> String, one of "PULL_REQUEST_READY_FOR_REVIEW", "PULL_REQUEST_DRAFT"
719
+ # resp.association.capabilities["CapabilityType"].trigger_filter_groups[0].target_branches.patterns #=> Array
720
+ # resp.association.capabilities["CapabilityType"].trigger_filter_groups[0].target_branches.patterns[0] #=> String
708
721
  # resp.webhook.webhook_url #=> String
709
722
  # resp.webhook.webhook_id #=> String
710
723
  # resp.webhook.webhook_type #=> String, one of "hmac", "apikey", "gitlab", "pagerduty"
@@ -1830,6 +1843,11 @@ module Aws::DevOpsAgent
1830
1843
  # resp.association.configuration.mcpserversigv4.tool_details[0].tool_classification #=> String, one of "READ_ONLY", "MUTATIVE", "DESTRUCTIVE"
1831
1844
  # resp.association.capabilities #=> Hash
1832
1845
  # resp.association.capabilities["CapabilityType"].enabled #=> Boolean
1846
+ # resp.association.capabilities["CapabilityType"].trigger_filter_groups #=> Array
1847
+ # resp.association.capabilities["CapabilityType"].trigger_filter_groups[0].events #=> Array
1848
+ # resp.association.capabilities["CapabilityType"].trigger_filter_groups[0].events[0] #=> String, one of "PULL_REQUEST_READY_FOR_REVIEW", "PULL_REQUEST_DRAFT"
1849
+ # resp.association.capabilities["CapabilityType"].trigger_filter_groups[0].target_branches.patterns #=> Array
1850
+ # resp.association.capabilities["CapabilityType"].trigger_filter_groups[0].target_branches.patterns[0] #=> String
1833
1851
  #
1834
1852
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/GetAssociation AWS API Documentation
1835
1853
  #
@@ -2471,6 +2489,11 @@ module Aws::DevOpsAgent
2471
2489
  # resp.associations[0].configuration.mcpserversigv4.tool_details[0].tool_classification #=> String, one of "READ_ONLY", "MUTATIVE", "DESTRUCTIVE"
2472
2490
  # resp.associations[0].capabilities #=> Hash
2473
2491
  # resp.associations[0].capabilities["CapabilityType"].enabled #=> Boolean
2492
+ # resp.associations[0].capabilities["CapabilityType"].trigger_filter_groups #=> Array
2493
+ # resp.associations[0].capabilities["CapabilityType"].trigger_filter_groups[0].events #=> Array
2494
+ # resp.associations[0].capabilities["CapabilityType"].trigger_filter_groups[0].events[0] #=> String, one of "PULL_REQUEST_READY_FOR_REVIEW", "PULL_REQUEST_DRAFT"
2495
+ # resp.associations[0].capabilities["CapabilityType"].trigger_filter_groups[0].target_branches.patterns #=> Array
2496
+ # resp.associations[0].capabilities["CapabilityType"].trigger_filter_groups[0].target_branches.patterns[0] #=> String
2474
2497
  #
2475
2498
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/ListAssociations AWS API Documentation
2476
2499
  #
@@ -4260,6 +4283,14 @@ module Aws::DevOpsAgent
4260
4283
  # capabilities: {
4261
4284
  # "RELEASE_READINESS_REVIEW" => {
4262
4285
  # enabled: false,
4286
+ # trigger_filter_groups: [
4287
+ # {
4288
+ # events: ["PULL_REQUEST_READY_FOR_REVIEW"], # accepts PULL_REQUEST_READY_FOR_REVIEW, PULL_REQUEST_DRAFT
4289
+ # target_branches: {
4290
+ # patterns: ["TriggerRegexPattern"], # required
4291
+ # },
4292
+ # },
4293
+ # ],
4263
4294
  # },
4264
4295
  # },
4265
4296
  # })
@@ -4336,6 +4367,11 @@ module Aws::DevOpsAgent
4336
4367
  # resp.association.configuration.mcpserversigv4.tool_details[0].tool_classification #=> String, one of "READ_ONLY", "MUTATIVE", "DESTRUCTIVE"
4337
4368
  # resp.association.capabilities #=> Hash
4338
4369
  # resp.association.capabilities["CapabilityType"].enabled #=> Boolean
4370
+ # resp.association.capabilities["CapabilityType"].trigger_filter_groups #=> Array
4371
+ # resp.association.capabilities["CapabilityType"].trigger_filter_groups[0].events #=> Array
4372
+ # resp.association.capabilities["CapabilityType"].trigger_filter_groups[0].events[0] #=> String, one of "PULL_REQUEST_READY_FOR_REVIEW", "PULL_REQUEST_DRAFT"
4373
+ # resp.association.capabilities["CapabilityType"].trigger_filter_groups[0].target_branches.patterns #=> Array
4374
+ # resp.association.capabilities["CapabilityType"].trigger_filter_groups[0].target_branches.patterns[0] #=> String
4339
4375
  # resp.webhook.webhook_url #=> String
4340
4376
  # resp.webhook.webhook_id #=> String
4341
4377
  # resp.webhook.webhook_type #=> String, one of "hmac", "apikey", "gitlab", "pagerduty"
@@ -4715,7 +4751,7 @@ module Aws::DevOpsAgent
4715
4751
  tracer: tracer
4716
4752
  )
4717
4753
  context[:gem_name] = 'aws-sdk-devopsagent'
4718
- context[:gem_version] = '1.12.0'
4754
+ context[:gem_version] = '1.13.0'
4719
4755
  Seahorse::Client::Request.new(handlers, context)
4720
4756
  end
4721
4757
 
@@ -339,6 +339,7 @@ module Aws::DevOpsAgent
339
339
  PagerDutyScopes = Shapes::ListShape.new(name: 'PagerDutyScopes')
340
340
  PagerDutyScopesList = Shapes::ListShape.new(name: 'PagerDutyScopesList')
341
341
  PagerDutyServicesList = Shapes::ListShape.new(name: 'PagerDutyServicesList')
342
+ PatternFilter = Shapes::StructureShape.new(name: 'PatternFilter')
342
343
  PendingMessage = Shapes::StructureShape.new(name: 'PendingMessage')
343
344
  PendingMessages = Shapes::ListShape.new(name: 'PendingMessages')
344
345
  PortRange = Shapes::StringShape.new(name: 'PortRange')
@@ -489,7 +490,13 @@ module Aws::DevOpsAgent
489
490
  Trigger = Shapes::StructureShape.new(name: 'Trigger')
490
491
  TriggerAction = Shapes::DocumentShape.new(name: 'TriggerAction', document: true)
491
492
  TriggerCondition = Shapes::UnionShape.new(name: 'TriggerCondition')
493
+ TriggerEvent = Shapes::StringShape.new(name: 'TriggerEvent')
494
+ TriggerEventList = Shapes::ListShape.new(name: 'TriggerEventList')
495
+ TriggerFilterGroup = Shapes::StructureShape.new(name: 'TriggerFilterGroup')
496
+ TriggerFilterGroups = Shapes::ListShape.new(name: 'TriggerFilterGroups')
492
497
  TriggerList = Shapes::ListShape.new(name: 'TriggerList')
498
+ TriggerRegexPattern = Shapes::StringShape.new(name: 'TriggerRegexPattern')
499
+ TriggerRegexPatternList = Shapes::ListShape.new(name: 'TriggerRegexPatternList')
493
500
  TriggerStatus = Shapes::StringShape.new(name: 'TriggerStatus')
494
501
  TriggerType = Shapes::StringShape.new(name: 'TriggerType')
495
502
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
@@ -738,6 +745,7 @@ module Aws::DevOpsAgent
738
745
  AzureDevOpsConfiguration.struct_class = Types::AzureDevOpsConfiguration
739
746
 
740
747
  CapabilityConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
748
+ CapabilityConfiguration.add_member(:trigger_filter_groups, Shapes::ShapeRef.new(shape: TriggerFilterGroups, location_name: "triggerFilterGroups"))
741
749
  CapabilityConfiguration.struct_class = Types::CapabilityConfiguration
742
750
 
743
751
  ChatExecution.add_member(:execution_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "executionId"))
@@ -1501,6 +1509,9 @@ module Aws::DevOpsAgent
1501
1509
 
1502
1510
  PagerDutyServicesList.member = Shapes::ShapeRef.new(shape: String)
1503
1511
 
1512
+ PatternFilter.add_member(:patterns, Shapes::ShapeRef.new(shape: TriggerRegexPatternList, required: true, location_name: "patterns"))
1513
+ PatternFilter.struct_class = Types::PatternFilter
1514
+
1504
1515
  PendingMessage.add_member(:message_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "messageId"))
1505
1516
  PendingMessage.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "message"))
1506
1517
  PendingMessage.struct_class = Types::PendingMessage
@@ -2018,8 +2029,18 @@ module Aws::DevOpsAgent
2018
2029
  TriggerCondition.add_member_subclass(:unknown, Types::TriggerCondition::Unknown)
2019
2030
  TriggerCondition.struct_class = Types::TriggerCondition
2020
2031
 
2032
+ TriggerEventList.member = Shapes::ShapeRef.new(shape: TriggerEvent)
2033
+
2034
+ TriggerFilterGroup.add_member(:events, Shapes::ShapeRef.new(shape: TriggerEventList, location_name: "events"))
2035
+ TriggerFilterGroup.add_member(:target_branches, Shapes::ShapeRef.new(shape: PatternFilter, location_name: "targetBranches"))
2036
+ TriggerFilterGroup.struct_class = Types::TriggerFilterGroup
2037
+
2038
+ TriggerFilterGroups.member = Shapes::ShapeRef.new(shape: TriggerFilterGroup)
2039
+
2021
2040
  TriggerList.member = Shapes::ShapeRef.new(shape: Trigger)
2022
2041
 
2042
+ TriggerRegexPatternList.member = Shapes::ShapeRef.new(shape: TriggerRegexPattern)
2043
+
2023
2044
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: UntagResourceRequestResourceArnString, required: true, location: "uri", location_name: "resourceArn"))
2024
2045
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
2025
2046
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -773,10 +773,17 @@ module Aws::DevOpsAgent
773
773
  # Whether the capability is enabled.
774
774
  # @return [Boolean]
775
775
  #
776
+ # @!attribute [rw] trigger_filter_groups
777
+ # Optional trigger filter groups. Evaluated only when enabled=true;
778
+ # retained while the capability is disabled, so re-enabling restores
779
+ # the prior trigger behavior.
780
+ # @return [Array<Types::TriggerFilterGroup>]
781
+ #
776
782
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/CapabilityConfiguration AWS API Documentation
777
783
  #
778
784
  class CapabilityConfiguration < Struct.new(
779
- :enabled)
785
+ :enabled,
786
+ :trigger_filter_groups)
780
787
  SENSITIVE = []
781
788
  include Aws::Structure
782
789
  end
@@ -4286,6 +4293,22 @@ module Aws::DevOpsAgent
4286
4293
  include Aws::Structure
4287
4294
  end
4288
4295
 
4296
+ # A regex-based match condition. Passes when the value matches any
4297
+ # pattern.
4298
+ #
4299
+ # @!attribute [rw] patterns
4300
+ # Anchored full-match regex patterns. The condition passes when the
4301
+ # value matches at least one pattern.
4302
+ # @return [Array<String>]
4303
+ #
4304
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/PatternFilter AWS API Documentation
4305
+ #
4306
+ class PatternFilter < Struct.new(
4307
+ :patterns)
4308
+ SENSITIVE = []
4309
+ include Aws::Structure
4310
+ end
4311
+
4289
4312
  # Represents a pending message in an agent execution.
4290
4313
  #
4291
4314
  # @!attribute [rw] message_id
@@ -6484,6 +6507,28 @@ module Aws::DevOpsAgent
6484
6507
  class Unknown < TriggerCondition; end
6485
6508
  end
6486
6509
 
6510
+ # A group of trigger conditions. The group matches when ALL present
6511
+ # conditions pass. A group cannot be empty: at least one condition must
6512
+ # be present.
6513
+ #
6514
+ # @!attribute [rw] events
6515
+ # Passes when the webhook event is one of the listed events.
6516
+ # @return [Array<String>]
6517
+ #
6518
+ # @!attribute [rw] target_branches
6519
+ # Passes when the change request target branch matches. Applicable to
6520
+ # RELEASE\_READINESS\_REVIEW only.
6521
+ # @return [Types::PatternFilter]
6522
+ #
6523
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/TriggerFilterGroup AWS API Documentation
6524
+ #
6525
+ class TriggerFilterGroup < Struct.new(
6526
+ :events,
6527
+ :target_branches)
6528
+ SENSITIVE = []
6529
+ include Aws::Structure
6530
+ end
6531
+
6487
6532
  # @!attribute [rw] resource_arn
6488
6533
  # The ARN of the resource to untag.
6489
6534
  # @return [String]
@@ -55,7 +55,7 @@ module Aws::DevOpsAgent
55
55
  autoload :Endpoints, 'aws-sdk-devopsagent/endpoints'
56
56
  autoload :EventStreams, 'aws-sdk-devopsagent/event_streams'
57
57
 
58
- GEM_VERSION = '1.12.0'
58
+ GEM_VERSION = '1.13.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -91,9 +91,7 @@ module Aws
91
91
  agent_space_id: ::String,
92
92
  service_id: ::String,
93
93
  configuration: Params::service_configuration,
94
- ?capabilities: Hash[("RELEASE_READINESS_REVIEW" | "RELEASE_READINESS_REVIEW_AUTOMATED_TESTING"), {
95
- enabled: bool?
96
- }]
94
+ ?capabilities: Hash[("RELEASE_READINESS_REVIEW" | "RELEASE_READINESS_REVIEW_AUTOMATED_TESTING"), Params::capability_configuration]
97
95
  ) -> _AssociateServiceResponseSuccess
98
96
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateServiceResponseSuccess
99
97
 
@@ -1016,9 +1014,7 @@ module Aws
1016
1014
  agent_space_id: ::String,
1017
1015
  association_id: ::String,
1018
1016
  configuration: Params::service_configuration,
1019
- ?capabilities: Hash[("RELEASE_READINESS_REVIEW" | "RELEASE_READINESS_REVIEW_AUTOMATED_TESTING"), {
1020
- enabled: bool?
1021
- }]
1017
+ ?capabilities: Hash[("RELEASE_READINESS_REVIEW" | "RELEASE_READINESS_REVIEW_AUTOMATED_TESTING"), Params::capability_configuration]
1022
1018
  ) -> _UpdateAssociationResponseSuccess
1023
1019
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAssociationResponseSuccess
1024
1020
 
data/sig/params.rbs CHANGED
@@ -133,6 +133,18 @@ module Aws
133
133
  }?
134
134
  }
135
135
 
136
+ type capability_configuration = {
137
+ enabled: bool?,
138
+ trigger_filter_groups: Array[
139
+ {
140
+ events: Array[("PULL_REQUEST_READY_FOR_REVIEW" | "PULL_REQUEST_DRAFT")]?,
141
+ target_branches: {
142
+ patterns: Array[::String]
143
+ }?
144
+ }
145
+ ]?
146
+ }
147
+
136
148
  type asset_file_content = {
137
149
  path: ::String,
138
150
  body: {
data/sig/types.rbs CHANGED
@@ -257,6 +257,7 @@ module Aws::DevOpsAgent
257
257
 
258
258
  class CapabilityConfiguration
259
259
  attr_accessor enabled: bool
260
+ attr_accessor trigger_filter_groups: ::Array[Types::TriggerFilterGroup]
260
261
  SENSITIVE: []
261
262
  end
262
263
 
@@ -1284,6 +1285,11 @@ module Aws::DevOpsAgent
1284
1285
  SENSITIVE: [:client_id, :client_secret]
1285
1286
  end
1286
1287
 
1288
+ class PatternFilter
1289
+ attr_accessor patterns: ::Array[::String]
1290
+ SENSITIVE: []
1291
+ end
1292
+
1287
1293
  class PendingMessage
1288
1294
  attr_accessor message_id: ::String
1289
1295
  attr_accessor message: Types::Message
@@ -1963,6 +1969,12 @@ module Aws::DevOpsAgent
1963
1969
  end
1964
1970
  end
1965
1971
 
1972
+ class TriggerFilterGroup
1973
+ attr_accessor events: ::Array[("PULL_REQUEST_READY_FOR_REVIEW" | "PULL_REQUEST_DRAFT")]
1974
+ attr_accessor target_branches: Types::PatternFilter
1975
+ SENSITIVE: []
1976
+ end
1977
+
1966
1978
  class UntagResourceRequest
1967
1979
  attr_accessor resource_arn: ::String
1968
1980
  attr_accessor tag_keys: ::Array[::String]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-devopsagent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services