aws-sdk-devopsagent 1.8.0 → 1.9.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: df040b1ca50bc0c183793c2cd669dd4c0290a27fde692149cd319d1376777fab
4
- data.tar.gz: fef5923337e2ce4efdc1bf534de0563eefc95f0bfffe2c0a04367b550a92d7ab
3
+ metadata.gz: 9591d58698c10366b038fcbbf7396539b2f4ced9534589eb4e8c76c39a3557e0
4
+ data.tar.gz: d84b894f592d3dde78246e5dc2634772ef5215ad9124abf936c5a527b89a6f7f
5
5
  SHA512:
6
- metadata.gz: 2efb1f638ff888d8bc10db5b0a3d7c016d5bc62f23824670767d72d41cfa2ac04030effd17ac4adc257c0ec6885c0598d1901b5da714e12e23c2342157038417
7
- data.tar.gz: f994cd741ac8e803aa15264848c9323c0ac90bbd4aae2aa2cd0a92311ced4aa7b1c630ec8378cebbe60cde4223dd095e46bba9af35bf8bbf6ee82c957ccbb2d2
6
+ metadata.gz: b2d7326791c735b4c98166046a931367f33c729d349f203c257d6bffc77aa77dbea45c7b054994fd5b26cb13df1258e3bd09d52e56c57d458db8636c65f7b41a
7
+ data.tar.gz: 4b9143325c08147bdb9674573c838cdf42a9583eefc46135255d1929c79327653134c4501500fce0518b315d09ebe8c67ee07fa0b59d78e754003d02de227de1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.9.0 (2026-06-12)
5
+ ------------------
6
+
7
+ * Feature - Adds support for Trigger CRUD APIs (CreateTrigger, GetTrigger, UpdateTrigger, DeleteTrigger, ListTriggers) for managing schedule-based automation triggers in DevOps Agent agent spaces.
8
+
4
9
  1.8.0 (2026-06-08)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.8.0
1
+ 1.9.0
@@ -1058,6 +1058,75 @@ module Aws::DevOpsAgent
1058
1058
  req.send_request(options)
1059
1059
  end
1060
1060
 
1061
+ # Creates a new Trigger in the specified agent space
1062
+ #
1063
+ # @option params [required, String] :agent_space_id
1064
+ # Unique identifier for an agent space (allows alphanumeric characters
1065
+ # and hyphens; 1-64 characters)
1066
+ #
1067
+ # @option params [required, String] :type
1068
+ # How the new Trigger fires
1069
+ #
1070
+ # @option params [required, Types::TriggerCondition] :condition
1071
+ # The condition that fires the new Trigger
1072
+ #
1073
+ # @option params [required, Hash,Array,String,Numeric,Boolean] :action
1074
+ # The action the new Trigger performs when it fires
1075
+ #
1076
+ # Document type used to carry open content
1077
+ # (Hash,Array,String,Numeric,Boolean). A document type value is
1078
+ # serialized using the same format as its surroundings and requires no
1079
+ # additional encoding or escaping.
1080
+ #
1081
+ # @option params [String] :status
1082
+ # The initial status of the Trigger
1083
+ #
1084
+ # @option params [String] :client_token
1085
+ # A unique, case-sensitive identifier used for idempotent Trigger
1086
+ # creation
1087
+ #
1088
+ # **A suitable default value is auto-generated.** You should normally
1089
+ # not need to pass this option.**
1090
+ #
1091
+ # @return [Types::CreateTriggerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1092
+ #
1093
+ # * {Types::CreateTriggerResponse#trigger #trigger} => Types::Trigger
1094
+ #
1095
+ # @example Request syntax with placeholder values
1096
+ #
1097
+ # resp = client.create_trigger({
1098
+ # agent_space_id: "AgentSpaceId", # required
1099
+ # type: "TriggerType", # required
1100
+ # condition: { # required
1101
+ # schedule: {
1102
+ # expression: "ScheduleExpression", # required
1103
+ # },
1104
+ # },
1105
+ # action: { # required
1106
+ # },
1107
+ # status: "TriggerStatus",
1108
+ # client_token: "CreateTriggerRequestClientTokenString",
1109
+ # })
1110
+ #
1111
+ # @example Response structure
1112
+ #
1113
+ # resp.trigger.trigger_id #=> String
1114
+ # resp.trigger.agent_space_id #=> String
1115
+ # resp.trigger.type #=> String
1116
+ # resp.trigger.condition.schedule.expression #=> String
1117
+ # resp.trigger.status #=> String
1118
+ # resp.trigger.created_at #=> Time
1119
+ # resp.trigger.updated_at #=> Time
1120
+ #
1121
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/CreateTrigger AWS API Documentation
1122
+ #
1123
+ # @overload create_trigger(params = {})
1124
+ # @param [Hash] params ({})
1125
+ def create_trigger(params = {}, options = {})
1126
+ req = build_request(:create_trigger, params)
1127
+ req.send_request(options)
1128
+ end
1129
+
1061
1130
  # Deletes an AgentSpace. This operation is idempotent and returns a 204
1062
1131
  # No Content response on success.
1063
1132
  #
@@ -1168,6 +1237,34 @@ module Aws::DevOpsAgent
1168
1237
  req.send_request(options)
1169
1238
  end
1170
1239
 
1240
+ # Deletes a Trigger from the specified agent space
1241
+ #
1242
+ # @option params [required, String] :agent_space_id
1243
+ # Unique identifier for an agent space (allows alphanumeric characters
1244
+ # and hyphens; 1-64 characters)
1245
+ #
1246
+ # @option params [required, String] :trigger_id
1247
+ # Generic resource identifier (allows alphanumeric characters, hyphens,
1248
+ # and underscores; 1-128 characters)
1249
+ #
1250
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1251
+ #
1252
+ # @example Request syntax with placeholder values
1253
+ #
1254
+ # resp = client.delete_trigger({
1255
+ # agent_space_id: "AgentSpaceId", # required
1256
+ # trigger_id: "ResourceId", # required
1257
+ # })
1258
+ #
1259
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/DeleteTrigger AWS API Documentation
1260
+ #
1261
+ # @overload delete_trigger(params = {})
1262
+ # @param [Hash] params ({})
1263
+ def delete_trigger(params = {}, options = {})
1264
+ req = build_request(:delete_trigger, params)
1265
+ req.send_request(options)
1266
+ end
1267
+
1171
1268
  # Deregister a service
1172
1269
  #
1173
1270
  # @option params [required, String] :service_id
@@ -1879,6 +1976,46 @@ module Aws::DevOpsAgent
1879
1976
  req.send_request(options)
1880
1977
  end
1881
1978
 
1979
+ # Gets a Trigger from the specified agent space
1980
+ #
1981
+ # @option params [required, String] :agent_space_id
1982
+ # Unique identifier for an agent space (allows alphanumeric characters
1983
+ # and hyphens; 1-64 characters)
1984
+ #
1985
+ # @option params [required, String] :trigger_id
1986
+ # Generic resource identifier (allows alphanumeric characters, hyphens,
1987
+ # and underscores; 1-128 characters)
1988
+ #
1989
+ # @return [Types::GetTriggerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1990
+ #
1991
+ # * {Types::GetTriggerResponse#trigger #trigger} => Types::Trigger
1992
+ #
1993
+ # @example Request syntax with placeholder values
1994
+ #
1995
+ # resp = client.get_trigger({
1996
+ # agent_space_id: "AgentSpaceId", # required
1997
+ # trigger_id: "ResourceId", # required
1998
+ # })
1999
+ #
2000
+ # @example Response structure
2001
+ #
2002
+ # resp.trigger.trigger_id #=> String
2003
+ # resp.trigger.agent_space_id #=> String
2004
+ # resp.trigger.type #=> String
2005
+ # resp.trigger.condition.schedule.expression #=> String
2006
+ # resp.trigger.status #=> String
2007
+ # resp.trigger.created_at #=> Time
2008
+ # resp.trigger.updated_at #=> Time
2009
+ #
2010
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/GetTrigger AWS API Documentation
2011
+ #
2012
+ # @overload get_trigger(params = {})
2013
+ # @param [Hash] params ({})
2014
+ def get_trigger(params = {}, options = {})
2015
+ req = build_request(:get_trigger, params)
2016
+ req.send_request(options)
2017
+ end
2018
+
1882
2019
  # Lists all AgentSpaces with optional pagination.
1883
2020
  #
1884
2021
  # @option params [Integer] :max_results
@@ -2795,6 +2932,59 @@ module Aws::DevOpsAgent
2795
2932
  req.send_request(options)
2796
2933
  end
2797
2934
 
2935
+ # Lists Triggers in the specified agent space
2936
+ #
2937
+ # @option params [required, String] :agent_space_id
2938
+ # Unique identifier for an agent space (allows alphanumeric characters
2939
+ # and hyphens; 1-64 characters)
2940
+ #
2941
+ # @option params [String] :status
2942
+ # Filter results to Triggers in this status
2943
+ #
2944
+ # @option params [String] :next_token
2945
+ # Pagination token from a previous response to retrieve the next page of
2946
+ # results
2947
+ #
2948
+ # @option params [Integer] :max_results
2949
+ # The maximum number of results to return in a single response
2950
+ #
2951
+ # @return [Types::ListTriggersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2952
+ #
2953
+ # * {Types::ListTriggersResponse#items #items} => Array<Types::Trigger>
2954
+ # * {Types::ListTriggersResponse#next_token #next_token} => String
2955
+ #
2956
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2957
+ #
2958
+ # @example Request syntax with placeholder values
2959
+ #
2960
+ # resp = client.list_triggers({
2961
+ # agent_space_id: "AgentSpaceId", # required
2962
+ # status: "TriggerStatus",
2963
+ # next_token: "NextToken",
2964
+ # max_results: 1,
2965
+ # })
2966
+ #
2967
+ # @example Response structure
2968
+ #
2969
+ # resp.items #=> Array
2970
+ # resp.items[0].trigger_id #=> String
2971
+ # resp.items[0].agent_space_id #=> String
2972
+ # resp.items[0].type #=> String
2973
+ # resp.items[0].condition.schedule.expression #=> String
2974
+ # resp.items[0].status #=> String
2975
+ # resp.items[0].created_at #=> Time
2976
+ # resp.items[0].updated_at #=> Time
2977
+ # resp.next_token #=> String
2978
+ #
2979
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/ListTriggers AWS API Documentation
2980
+ #
2981
+ # @overload list_triggers(params = {})
2982
+ # @param [Hash] params ({})
2983
+ def list_triggers(params = {}, options = {})
2984
+ req = build_request(:list_triggers, params)
2985
+ req.send_request(options)
2986
+ end
2987
+
2798
2988
  # List all webhooks for given Association
2799
2989
  #
2800
2990
  # @option params [required, String] :agent_space_id
@@ -4089,6 +4279,57 @@ module Aws::DevOpsAgent
4089
4279
  req.send_request(options)
4090
4280
  end
4091
4281
 
4282
+ # Updates the status of an existing Trigger
4283
+ #
4284
+ # @option params [required, String] :agent_space_id
4285
+ # Unique identifier for an agent space (allows alphanumeric characters
4286
+ # and hyphens; 1-64 characters)
4287
+ #
4288
+ # @option params [required, String] :trigger_id
4289
+ # Generic resource identifier (allows alphanumeric characters, hyphens,
4290
+ # and underscores; 1-128 characters)
4291
+ #
4292
+ # @option params [String] :status
4293
+ # The new status for the Trigger
4294
+ #
4295
+ # @option params [String] :client_token
4296
+ # A unique, case-sensitive identifier used for idempotent Trigger update
4297
+ #
4298
+ # **A suitable default value is auto-generated.** You should normally
4299
+ # not need to pass this option.**
4300
+ #
4301
+ # @return [Types::UpdateTriggerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4302
+ #
4303
+ # * {Types::UpdateTriggerResponse#trigger #trigger} => Types::Trigger
4304
+ #
4305
+ # @example Request syntax with placeholder values
4306
+ #
4307
+ # resp = client.update_trigger({
4308
+ # agent_space_id: "AgentSpaceId", # required
4309
+ # trigger_id: "ResourceId", # required
4310
+ # status: "TriggerStatus",
4311
+ # client_token: "UpdateTriggerRequestClientTokenString",
4312
+ # })
4313
+ #
4314
+ # @example Response structure
4315
+ #
4316
+ # resp.trigger.trigger_id #=> String
4317
+ # resp.trigger.agent_space_id #=> String
4318
+ # resp.trigger.type #=> String
4319
+ # resp.trigger.condition.schedule.expression #=> String
4320
+ # resp.trigger.status #=> String
4321
+ # resp.trigger.created_at #=> Time
4322
+ # resp.trigger.updated_at #=> Time
4323
+ #
4324
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/UpdateTrigger AWS API Documentation
4325
+ #
4326
+ # @overload update_trigger(params = {})
4327
+ # @param [Hash] params ({})
4328
+ def update_trigger(params = {}, options = {})
4329
+ req = build_request(:update_trigger, params)
4330
+ req.send_request(options)
4331
+ end
4332
+
4092
4333
  # Validates an aws association and set status and returns a 204 No
4093
4334
  # Content response on success.
4094
4335
  #
@@ -4130,7 +4371,7 @@ module Aws::DevOpsAgent
4130
4371
  tracer: tracer
4131
4372
  )
4132
4373
  context[:gem_name] = 'aws-sdk-devopsagent'
4133
- context[:gem_version] = '1.8.0'
4374
+ context[:gem_version] = '1.9.0'
4134
4375
  Seahorse::Client::Request.new(handlers, context)
4135
4376
  end
4136
4377
 
@@ -81,6 +81,9 @@ module Aws::DevOpsAgent
81
81
  CreateChatResponse = Shapes::StructureShape.new(name: 'CreateChatResponse')
82
82
  CreatePrivateConnectionInput = Shapes::StructureShape.new(name: 'CreatePrivateConnectionInput')
83
83
  CreatePrivateConnectionOutput = Shapes::StructureShape.new(name: 'CreatePrivateConnectionOutput')
84
+ CreateTriggerRequest = Shapes::StructureShape.new(name: 'CreateTriggerRequest')
85
+ CreateTriggerRequestClientTokenString = Shapes::StringShape.new(name: 'CreateTriggerRequestClientTokenString')
86
+ CreateTriggerResponse = Shapes::StructureShape.new(name: 'CreateTriggerResponse')
84
87
  CustomHeaderName = Shapes::StringShape.new(name: 'CustomHeaderName')
85
88
  CustomHeaderValue = Shapes::StringShape.new(name: 'CustomHeaderValue')
86
89
  CustomHeaders = Shapes::MapShape.new(name: 'CustomHeaders')
@@ -96,6 +99,8 @@ module Aws::DevOpsAgent
96
99
  DeleteAssetResponse = Shapes::StructureShape.new(name: 'DeleteAssetResponse')
97
100
  DeletePrivateConnectionInput = Shapes::StructureShape.new(name: 'DeletePrivateConnectionInput')
98
101
  DeletePrivateConnectionOutput = Shapes::StructureShape.new(name: 'DeletePrivateConnectionOutput')
102
+ DeleteTriggerRequest = Shapes::StructureShape.new(name: 'DeleteTriggerRequest')
103
+ DeleteTriggerResponse = Shapes::StructureShape.new(name: 'DeleteTriggerResponse')
99
104
  DeregisterServiceInput = Shapes::StructureShape.new(name: 'DeregisterServiceInput')
100
105
  DeregisterServiceOutput = Shapes::StructureShape.new(name: 'DeregisterServiceOutput')
101
106
  DescribePrivateConnectionInput = Shapes::StructureShape.new(name: 'DescribePrivateConnectionInput')
@@ -150,6 +155,8 @@ module Aws::DevOpsAgent
150
155
  GetRecommendationResponse = Shapes::StructureShape.new(name: 'GetRecommendationResponse')
151
156
  GetServiceInput = Shapes::StructureShape.new(name: 'GetServiceInput')
152
157
  GetServiceOutput = Shapes::StructureShape.new(name: 'GetServiceOutput')
158
+ GetTriggerRequest = Shapes::StructureShape.new(name: 'GetTriggerRequest')
159
+ GetTriggerResponse = Shapes::StructureShape.new(name: 'GetTriggerResponse')
153
160
  GitHubConfiguration = Shapes::StructureShape.new(name: 'GitHubConfiguration')
154
161
  GitLabConfiguration = Shapes::StructureShape.new(name: 'GitLabConfiguration')
155
162
  GitLabDetails = Shapes::StructureShape.new(name: 'GitLabDetails')
@@ -231,6 +238,9 @@ module Aws::DevOpsAgent
231
238
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
232
239
  ListTagsForResourceRequestResourceArnString = Shapes::StringShape.new(name: 'ListTagsForResourceRequestResourceArnString')
233
240
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
241
+ ListTriggersRequest = Shapes::StructureShape.new(name: 'ListTriggersRequest')
242
+ ListTriggersRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListTriggersRequestMaxResultsInteger')
243
+ ListTriggersResponse = Shapes::StructureShape.new(name: 'ListTriggersResponse')
234
244
  ListWebhooksInput = Shapes::StructureShape.new(name: 'ListWebhooksInput')
235
245
  ListWebhooksOutput = Shapes::StructureShape.new(name: 'ListWebhooksOutput')
236
246
  Locale = Shapes::StringShape.new(name: 'Locale')
@@ -353,6 +363,8 @@ module Aws::DevOpsAgent
353
363
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
354
364
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
355
365
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
366
+ ScheduleCondition = Shapes::StructureShape.new(name: 'ScheduleCondition')
367
+ ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
356
368
  SchedulerState = Shapes::StringShape.new(name: 'SchedulerState')
357
369
  Scopes = Shapes::ListShape.new(name: 'Scopes')
358
370
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
@@ -419,6 +431,12 @@ module Aws::DevOpsAgent
419
431
  TaskType = Shapes::StringShape.new(name: 'TaskType')
420
432
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
421
433
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
434
+ Trigger = Shapes::StructureShape.new(name: 'Trigger')
435
+ TriggerAction = Shapes::DocumentShape.new(name: 'TriggerAction', document: true)
436
+ TriggerCondition = Shapes::UnionShape.new(name: 'TriggerCondition')
437
+ TriggerList = Shapes::ListShape.new(name: 'TriggerList')
438
+ TriggerStatus = Shapes::StringShape.new(name: 'TriggerStatus')
439
+ TriggerType = Shapes::StringShape.new(name: 'TriggerType')
422
440
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
423
441
  UntagResourceRequestResourceArnString = Shapes::StringShape.new(name: 'UntagResourceRequestResourceArnString')
424
442
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
@@ -442,6 +460,9 @@ module Aws::DevOpsAgent
442
460
  UpdatePrivateConnectionCertificateOutput = Shapes::StructureShape.new(name: 'UpdatePrivateConnectionCertificateOutput')
443
461
  UpdateRecommendationRequest = Shapes::StructureShape.new(name: 'UpdateRecommendationRequest')
444
462
  UpdateRecommendationResponse = Shapes::StructureShape.new(name: 'UpdateRecommendationResponse')
463
+ UpdateTriggerRequest = Shapes::StructureShape.new(name: 'UpdateTriggerRequest')
464
+ UpdateTriggerRequestClientTokenString = Shapes::StringShape.new(name: 'UpdateTriggerRequestClientTokenString')
465
+ UpdateTriggerResponse = Shapes::StructureShape.new(name: 'UpdateTriggerResponse')
445
466
  UsageMetric = Shapes::StructureShape.new(name: 'UsageMetric')
446
467
  UserMessage = Shapes::ListShape.new(name: 'UserMessage')
447
468
  UserMessageBlock = Shapes::UnionShape.new(name: 'UserMessageBlock')
@@ -707,6 +728,17 @@ module Aws::DevOpsAgent
707
728
  CreatePrivateConnectionOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
708
729
  CreatePrivateConnectionOutput.struct_class = Types::CreatePrivateConnectionOutput
709
730
 
731
+ CreateTriggerRequest.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: AgentSpaceId, required: true, location: "uri", location_name: "agentSpaceId"))
732
+ CreateTriggerRequest.add_member(:type, Shapes::ShapeRef.new(shape: TriggerType, required: true, location_name: "type"))
733
+ CreateTriggerRequest.add_member(:condition, Shapes::ShapeRef.new(shape: TriggerCondition, required: true, location_name: "condition"))
734
+ CreateTriggerRequest.add_member(:action, Shapes::ShapeRef.new(shape: TriggerAction, required: true, location_name: "action"))
735
+ CreateTriggerRequest.add_member(:status, Shapes::ShapeRef.new(shape: TriggerStatus, location_name: "status"))
736
+ CreateTriggerRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: CreateTriggerRequestClientTokenString, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
737
+ CreateTriggerRequest.struct_class = Types::CreateTriggerRequest
738
+
739
+ CreateTriggerResponse.add_member(:trigger, Shapes::ShapeRef.new(shape: Trigger, required: true, location_name: "trigger"))
740
+ CreateTriggerResponse.struct_class = Types::CreateTriggerResponse
741
+
710
742
  CustomHeaders.key = Shapes::ShapeRef.new(shape: CustomHeaderName)
711
743
  CustomHeaders.value = Shapes::ShapeRef.new(shape: CustomHeaderValue)
712
744
 
@@ -747,6 +779,12 @@ module Aws::DevOpsAgent
747
779
  DeletePrivateConnectionOutput.add_member(:status, Shapes::ShapeRef.new(shape: PrivateConnectionStatus, required: true, location_name: "status"))
748
780
  DeletePrivateConnectionOutput.struct_class = Types::DeletePrivateConnectionOutput
749
781
 
782
+ DeleteTriggerRequest.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: AgentSpaceId, required: true, location: "uri", location_name: "agentSpaceId"))
783
+ DeleteTriggerRequest.add_member(:trigger_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "triggerId"))
784
+ DeleteTriggerRequest.struct_class = Types::DeleteTriggerRequest
785
+
786
+ DeleteTriggerResponse.struct_class = Types::DeleteTriggerResponse
787
+
750
788
  DeregisterServiceInput.add_member(:service_id, Shapes::ShapeRef.new(shape: ServiceId, required: true, location: "uri", location_name: "serviceId"))
751
789
  DeregisterServiceInput.struct_class = Types::DeregisterServiceInput
752
790
 
@@ -928,6 +966,13 @@ module Aws::DevOpsAgent
928
966
  GetServiceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
929
967
  GetServiceOutput.struct_class = Types::GetServiceOutput
930
968
 
969
+ GetTriggerRequest.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: AgentSpaceId, required: true, location: "uri", location_name: "agentSpaceId"))
970
+ GetTriggerRequest.add_member(:trigger_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "triggerId"))
971
+ GetTriggerRequest.struct_class = Types::GetTriggerRequest
972
+
973
+ GetTriggerResponse.add_member(:trigger, Shapes::ShapeRef.new(shape: Trigger, required: true, location_name: "trigger"))
974
+ GetTriggerResponse.struct_class = Types::GetTriggerResponse
975
+
931
976
  GitHubConfiguration.add_member(:repo_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "repoName"))
932
977
  GitHubConfiguration.add_member(:repo_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "repoId"))
933
978
  GitHubConfiguration.add_member(:owner, Shapes::ShapeRef.new(shape: String, required: true, location_name: "owner"))
@@ -1182,6 +1227,16 @@ module Aws::DevOpsAgent
1182
1227
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "tags"))
1183
1228
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
1184
1229
 
1230
+ ListTriggersRequest.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: AgentSpaceId, required: true, location: "uri", location_name: "agentSpaceId"))
1231
+ ListTriggersRequest.add_member(:status, Shapes::ShapeRef.new(shape: TriggerStatus, location: "querystring", location_name: "status"))
1232
+ ListTriggersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1233
+ ListTriggersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListTriggersRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
1234
+ ListTriggersRequest.struct_class = Types::ListTriggersRequest
1235
+
1236
+ ListTriggersResponse.add_member(:items, Shapes::ShapeRef.new(shape: TriggerList, required: true, location_name: "items"))
1237
+ ListTriggersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1238
+ ListTriggersResponse.struct_class = Types::ListTriggersResponse
1239
+
1185
1240
  ListWebhooksInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: AgentSpaceId, required: true, location: "uri", location_name: "agentSpaceId"))
1186
1241
  ListWebhooksInput.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, required: true, location: "uri", location_name: "associationId"))
1187
1242
  ListWebhooksInput.struct_class = Types::ListWebhooksInput
@@ -1487,6 +1542,9 @@ module Aws::DevOpsAgent
1487
1542
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
1488
1543
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
1489
1544
 
1545
+ ScheduleCondition.add_member(:expression, Shapes::ShapeRef.new(shape: ScheduleExpression, required: true, location_name: "expression"))
1546
+ ScheduleCondition.struct_class = Types::ScheduleCondition
1547
+
1490
1548
  Scopes.member = Shapes::ShapeRef.new(shape: OAuthScope)
1491
1549
 
1492
1550
  SelfManagedInput.add_member(:resource_configuration_id, Shapes::ShapeRef.new(shape: ResourceConfigurationArn, required: true, location_name: "resourceConfigurationId"))
@@ -1755,6 +1813,24 @@ module Aws::DevOpsAgent
1755
1813
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
1756
1814
  ThrottlingException.struct_class = Types::ThrottlingException
1757
1815
 
1816
+ Trigger.add_member(:trigger_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "triggerId"))
1817
+ Trigger.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: AgentSpaceId, required: true, location_name: "agentSpaceId"))
1818
+ Trigger.add_member(:type, Shapes::ShapeRef.new(shape: TriggerType, required: true, location_name: "type"))
1819
+ Trigger.add_member(:condition, Shapes::ShapeRef.new(shape: TriggerCondition, required: true, location_name: "condition"))
1820
+ Trigger.add_member(:action, Shapes::ShapeRef.new(shape: TriggerAction, required: true, location_name: "action"))
1821
+ Trigger.add_member(:status, Shapes::ShapeRef.new(shape: TriggerStatus, required: true, location_name: "status"))
1822
+ Trigger.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
1823
+ Trigger.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updatedAt"))
1824
+ Trigger.struct_class = Types::Trigger
1825
+
1826
+ TriggerCondition.add_member(:schedule, Shapes::ShapeRef.new(shape: ScheduleCondition, location_name: "schedule"))
1827
+ TriggerCondition.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1828
+ TriggerCondition.add_member_subclass(:schedule, Types::TriggerCondition::Schedule)
1829
+ TriggerCondition.add_member_subclass(:unknown, Types::TriggerCondition::Unknown)
1830
+ TriggerCondition.struct_class = Types::TriggerCondition
1831
+
1832
+ TriggerList.member = Shapes::ShapeRef.new(shape: Trigger)
1833
+
1758
1834
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: UntagResourceRequestResourceArnString, required: true, location: "uri", location_name: "resourceArn"))
1759
1835
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
1760
1836
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -1852,6 +1928,15 @@ module Aws::DevOpsAgent
1852
1928
  UpdateRecommendationResponse.add_member(:recommendation, Shapes::ShapeRef.new(shape: Recommendation, required: true, location_name: "recommendation"))
1853
1929
  UpdateRecommendationResponse.struct_class = Types::UpdateRecommendationResponse
1854
1930
 
1931
+ UpdateTriggerRequest.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: AgentSpaceId, required: true, location: "uri", location_name: "agentSpaceId"))
1932
+ UpdateTriggerRequest.add_member(:trigger_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "triggerId"))
1933
+ UpdateTriggerRequest.add_member(:status, Shapes::ShapeRef.new(shape: TriggerStatus, location_name: "status"))
1934
+ UpdateTriggerRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: UpdateTriggerRequestClientTokenString, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
1935
+ UpdateTriggerRequest.struct_class = Types::UpdateTriggerRequest
1936
+
1937
+ UpdateTriggerResponse.add_member(:trigger, Shapes::ShapeRef.new(shape: Trigger, required: true, location_name: "trigger"))
1938
+ UpdateTriggerResponse.struct_class = Types::UpdateTriggerResponse
1939
+
1855
1940
  UsageMetric.add_member(:limit, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "limit"))
1856
1941
  UsageMetric.add_member(:usage, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "usage"))
1857
1942
  UsageMetric.struct_class = Types::UsageMetric
@@ -2053,6 +2138,26 @@ module Aws::DevOpsAgent
2053
2138
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2054
2139
  end)
2055
2140
 
2141
+ api.add_operation(:create_trigger, Seahorse::Model::Operation.new.tap do |o|
2142
+ o.name = "CreateTrigger"
2143
+ o.http_method = "POST"
2144
+ o.http_request_uri = "/trigger/agent-space/{agentSpaceId}/triggers"
2145
+ o.endpoint_pattern = {
2146
+ "hostPrefix" => "dp.",
2147
+ }
2148
+ o.input = Shapes::ShapeRef.new(shape: CreateTriggerRequest)
2149
+ o.output = Shapes::ShapeRef.new(shape: CreateTriggerResponse)
2150
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2151
+ o.errors << Shapes::ShapeRef.new(shape: ContentSizeExceededException)
2152
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2153
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2154
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2155
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2156
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2157
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2158
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2159
+ end)
2160
+
2056
2161
  api.add_operation(:delete_agent_space, Seahorse::Model::Operation.new.tap do |o|
2057
2162
  o.name = "DeleteAgentSpace"
2058
2163
  o.http_method = "DELETE"
@@ -2133,6 +2238,26 @@ module Aws::DevOpsAgent
2133
2238
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2134
2239
  end)
2135
2240
 
2241
+ api.add_operation(:delete_trigger, Seahorse::Model::Operation.new.tap do |o|
2242
+ o.name = "DeleteTrigger"
2243
+ o.http_method = "DELETE"
2244
+ o.http_request_uri = "/trigger/agent-space/{agentSpaceId}/triggers/{triggerId}"
2245
+ o.endpoint_pattern = {
2246
+ "hostPrefix" => "dp.",
2247
+ }
2248
+ o.input = Shapes::ShapeRef.new(shape: DeleteTriggerRequest)
2249
+ o.output = Shapes::ShapeRef.new(shape: DeleteTriggerResponse)
2250
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2251
+ o.errors << Shapes::ShapeRef.new(shape: ContentSizeExceededException)
2252
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2253
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2254
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2255
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2256
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2257
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2258
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2259
+ end)
2260
+
2136
2261
  api.add_operation(:deregister_service, Seahorse::Model::Operation.new.tap do |o|
2137
2262
  o.name = "DeregisterService"
2138
2263
  o.http_method = "DELETE"
@@ -2435,6 +2560,26 @@ module Aws::DevOpsAgent
2435
2560
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2436
2561
  end)
2437
2562
 
2563
+ api.add_operation(:get_trigger, Seahorse::Model::Operation.new.tap do |o|
2564
+ o.name = "GetTrigger"
2565
+ o.http_method = "GET"
2566
+ o.http_request_uri = "/trigger/agent-space/{agentSpaceId}/triggers/{triggerId}"
2567
+ o.endpoint_pattern = {
2568
+ "hostPrefix" => "dp.",
2569
+ }
2570
+ o.input = Shapes::ShapeRef.new(shape: GetTriggerRequest)
2571
+ o.output = Shapes::ShapeRef.new(shape: GetTriggerResponse)
2572
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2573
+ o.errors << Shapes::ShapeRef.new(shape: ContentSizeExceededException)
2574
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2575
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2576
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2577
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2578
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2579
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2580
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2581
+ end)
2582
+
2438
2583
  api.add_operation(:list_agent_spaces, Seahorse::Model::Operation.new.tap do |o|
2439
2584
  o.name = "ListAgentSpaces"
2440
2585
  o.http_method = "POST"
@@ -2821,6 +2966,32 @@ module Aws::DevOpsAgent
2821
2966
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2822
2967
  end)
2823
2968
 
2969
+ api.add_operation(:list_triggers, Seahorse::Model::Operation.new.tap do |o|
2970
+ o.name = "ListTriggers"
2971
+ o.http_method = "GET"
2972
+ o.http_request_uri = "/trigger/agent-space/{agentSpaceId}/triggers"
2973
+ o.endpoint_pattern = {
2974
+ "hostPrefix" => "dp.",
2975
+ }
2976
+ o.input = Shapes::ShapeRef.new(shape: ListTriggersRequest)
2977
+ o.output = Shapes::ShapeRef.new(shape: ListTriggersResponse)
2978
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2979
+ o.errors << Shapes::ShapeRef.new(shape: ContentSizeExceededException)
2980
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2981
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2982
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2983
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2984
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2985
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2986
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2987
+ o[:pager] = Aws::Pager.new(
2988
+ limit_key: "max_results",
2989
+ tokens: {
2990
+ "next_token" => "next_token"
2991
+ }
2992
+ )
2993
+ end)
2994
+
2824
2995
  api.add_operation(:list_webhooks, Seahorse::Model::Operation.new.tap do |o|
2825
2996
  o.name = "ListWebhooks"
2826
2997
  o.http_method = "POST"
@@ -3101,6 +3272,26 @@ module Aws::DevOpsAgent
3101
3272
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3102
3273
  end)
3103
3274
 
3275
+ api.add_operation(:update_trigger, Seahorse::Model::Operation.new.tap do |o|
3276
+ o.name = "UpdateTrigger"
3277
+ o.http_method = "PATCH"
3278
+ o.http_request_uri = "/trigger/agent-space/{agentSpaceId}/triggers/{triggerId}"
3279
+ o.endpoint_pattern = {
3280
+ "hostPrefix" => "dp.",
3281
+ }
3282
+ o.input = Shapes::ShapeRef.new(shape: UpdateTriggerRequest)
3283
+ o.output = Shapes::ShapeRef.new(shape: UpdateTriggerResponse)
3284
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3285
+ o.errors << Shapes::ShapeRef.new(shape: ContentSizeExceededException)
3286
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
3287
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3288
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3289
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3290
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3291
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3292
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3293
+ end)
3294
+
3104
3295
  api.add_operation(:validate_aws_associations, Seahorse::Model::Operation.new.tap do |o|
3105
3296
  o.name = "ValidateAwsAssociations"
3106
3297
  o.http_method = "POST"
@@ -1056,6 +1056,60 @@ module Aws::DevOpsAgent
1056
1056
  include Aws::Structure
1057
1057
  end
1058
1058
 
1059
+ # @!attribute [rw] agent_space_id
1060
+ # Unique identifier for an agent space (allows alphanumeric characters
1061
+ # and hyphens; 1-64 characters)
1062
+ # @return [String]
1063
+ #
1064
+ # @!attribute [rw] type
1065
+ # How the new Trigger fires
1066
+ # @return [String]
1067
+ #
1068
+ # @!attribute [rw] condition
1069
+ # The condition that fires the new Trigger
1070
+ # @return [Types::TriggerCondition]
1071
+ #
1072
+ # @!attribute [rw] action
1073
+ # The action the new Trigger performs when it fires
1074
+ # @return [Hash,Array,String,Numeric,Boolean]
1075
+ #
1076
+ # @!attribute [rw] status
1077
+ # The initial status of the Trigger
1078
+ # @return [String]
1079
+ #
1080
+ # @!attribute [rw] client_token
1081
+ # A unique, case-sensitive identifier used for idempotent Trigger
1082
+ # creation
1083
+ #
1084
+ # **A suitable default value is auto-generated.** You should normally
1085
+ # not need to pass this option.
1086
+ # @return [String]
1087
+ #
1088
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/CreateTriggerRequest AWS API Documentation
1089
+ #
1090
+ class CreateTriggerRequest < Struct.new(
1091
+ :agent_space_id,
1092
+ :type,
1093
+ :condition,
1094
+ :action,
1095
+ :status,
1096
+ :client_token)
1097
+ SENSITIVE = []
1098
+ include Aws::Structure
1099
+ end
1100
+
1101
+ # @!attribute [rw] trigger
1102
+ # The Trigger object
1103
+ # @return [Types::Trigger]
1104
+ #
1105
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/CreateTriggerResponse AWS API Documentation
1106
+ #
1107
+ class CreateTriggerResponse < Struct.new(
1108
+ :trigger)
1109
+ SENSITIVE = []
1110
+ include Aws::Structure
1111
+ end
1112
+
1059
1113
  # Authorization configuration for Datadog MCP server (uses authorization
1060
1114
  # discovery only).
1061
1115
  #
@@ -1216,6 +1270,29 @@ module Aws::DevOpsAgent
1216
1270
  include Aws::Structure
1217
1271
  end
1218
1272
 
1273
+ # @!attribute [rw] agent_space_id
1274
+ # Unique identifier for an agent space (allows alphanumeric characters
1275
+ # and hyphens; 1-64 characters)
1276
+ # @return [String]
1277
+ #
1278
+ # @!attribute [rw] trigger_id
1279
+ # Generic resource identifier (allows alphanumeric characters,
1280
+ # hyphens, and underscores; 1-128 characters)
1281
+ # @return [String]
1282
+ #
1283
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/DeleteTriggerRequest AWS API Documentation
1284
+ #
1285
+ class DeleteTriggerRequest < Struct.new(
1286
+ :agent_space_id,
1287
+ :trigger_id)
1288
+ SENSITIVE = []
1289
+ include Aws::Structure
1290
+ end
1291
+
1292
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/DeleteTriggerResponse AWS API Documentation
1293
+ #
1294
+ class DeleteTriggerResponse < Aws::EmptyStructure; end
1295
+
1219
1296
  # Input for deregistering a service.
1220
1297
  #
1221
1298
  # @!attribute [rw] service_id
@@ -2045,6 +2122,37 @@ module Aws::DevOpsAgent
2045
2122
  include Aws::Structure
2046
2123
  end
2047
2124
 
2125
+ # @!attribute [rw] agent_space_id
2126
+ # Unique identifier for an agent space (allows alphanumeric characters
2127
+ # and hyphens; 1-64 characters)
2128
+ # @return [String]
2129
+ #
2130
+ # @!attribute [rw] trigger_id
2131
+ # Generic resource identifier (allows alphanumeric characters,
2132
+ # hyphens, and underscores; 1-128 characters)
2133
+ # @return [String]
2134
+ #
2135
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/GetTriggerRequest AWS API Documentation
2136
+ #
2137
+ class GetTriggerRequest < Struct.new(
2138
+ :agent_space_id,
2139
+ :trigger_id)
2140
+ SENSITIVE = []
2141
+ include Aws::Structure
2142
+ end
2143
+
2144
+ # @!attribute [rw] trigger
2145
+ # The Trigger object
2146
+ # @return [Types::Trigger]
2147
+ #
2148
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/GetTriggerResponse AWS API Documentation
2149
+ #
2150
+ class GetTriggerResponse < Struct.new(
2151
+ :trigger)
2152
+ SENSITIVE = []
2153
+ include Aws::Structure
2154
+ end
2155
+
2048
2156
  # Configuration for GitHub repository integration.
2049
2157
  #
2050
2158
  # @!attribute [rw] repo_name
@@ -3268,6 +3376,52 @@ module Aws::DevOpsAgent
3268
3376
  include Aws::Structure
3269
3377
  end
3270
3378
 
3379
+ # @!attribute [rw] agent_space_id
3380
+ # Unique identifier for an agent space (allows alphanumeric characters
3381
+ # and hyphens; 1-64 characters)
3382
+ # @return [String]
3383
+ #
3384
+ # @!attribute [rw] status
3385
+ # Filter results to Triggers in this status
3386
+ # @return [String]
3387
+ #
3388
+ # @!attribute [rw] next_token
3389
+ # Pagination token from a previous response to retrieve the next page
3390
+ # of results
3391
+ # @return [String]
3392
+ #
3393
+ # @!attribute [rw] max_results
3394
+ # The maximum number of results to return in a single response
3395
+ # @return [Integer]
3396
+ #
3397
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/ListTriggersRequest AWS API Documentation
3398
+ #
3399
+ class ListTriggersRequest < Struct.new(
3400
+ :agent_space_id,
3401
+ :status,
3402
+ :next_token,
3403
+ :max_results)
3404
+ SENSITIVE = []
3405
+ include Aws::Structure
3406
+ end
3407
+
3408
+ # @!attribute [rw] items
3409
+ # The list of Triggers
3410
+ # @return [Array<Types::Trigger>]
3411
+ #
3412
+ # @!attribute [rw] next_token
3413
+ # Pagination token for list operations (1-2048 characters)
3414
+ # @return [String]
3415
+ #
3416
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/ListTriggersResponse AWS API Documentation
3417
+ #
3418
+ class ListTriggersResponse < Struct.new(
3419
+ :items,
3420
+ :next_token)
3421
+ SENSITIVE = []
3422
+ include Aws::Structure
3423
+ end
3424
+
3271
3425
  # Input for listing service webhooks within an association.
3272
3426
  #
3273
3427
  # @!attribute [rw] agent_space_id
@@ -4601,6 +4755,20 @@ module Aws::DevOpsAgent
4601
4755
  include Aws::Structure
4602
4756
  end
4603
4757
 
4758
+ # Schedule-based condition that fires the Trigger
4759
+ #
4760
+ # @!attribute [rw] expression
4761
+ # The schedule expression
4762
+ # @return [String]
4763
+ #
4764
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/ScheduleCondition AWS API Documentation
4765
+ #
4766
+ class ScheduleCondition < Struct.new(
4767
+ :expression)
4768
+ SENSITIVE = []
4769
+ include Aws::Structure
4770
+ end
4771
+
4604
4772
  # Configuration for a self-managed Private Connection.
4605
4773
  #
4606
4774
  # @!attribute [rw] resource_configuration_id
@@ -5632,6 +5800,80 @@ module Aws::DevOpsAgent
5632
5800
  include Aws::Structure
5633
5801
  end
5634
5802
 
5803
+ # A Trigger fires on a schedule and invokes an agent
5804
+ #
5805
+ # @!attribute [rw] trigger_id
5806
+ # Generic resource identifier (allows alphanumeric characters,
5807
+ # hyphens, and underscores; 1-128 characters)
5808
+ # @return [String]
5809
+ #
5810
+ # @!attribute [rw] agent_space_id
5811
+ # Unique identifier for an agent space (allows alphanumeric characters
5812
+ # and hyphens; 1-64 characters)
5813
+ # @return [String]
5814
+ #
5815
+ # @!attribute [rw] type
5816
+ # How this Trigger fires
5817
+ # @return [String]
5818
+ #
5819
+ # @!attribute [rw] condition
5820
+ # The condition that fires this Trigger
5821
+ # @return [Types::TriggerCondition]
5822
+ #
5823
+ # @!attribute [rw] action
5824
+ # The action this Trigger performs when it fires
5825
+ # @return [Hash,Array,String,Numeric,Boolean]
5826
+ #
5827
+ # @!attribute [rw] status
5828
+ # The status of this Trigger
5829
+ # @return [String]
5830
+ #
5831
+ # @!attribute [rw] created_at
5832
+ # Timestamp when this Trigger was created
5833
+ # @return [Time]
5834
+ #
5835
+ # @!attribute [rw] updated_at
5836
+ # Timestamp when this Trigger was last updated
5837
+ # @return [Time]
5838
+ #
5839
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/Trigger AWS API Documentation
5840
+ #
5841
+ class Trigger < Struct.new(
5842
+ :trigger_id,
5843
+ :agent_space_id,
5844
+ :type,
5845
+ :condition,
5846
+ :action,
5847
+ :status,
5848
+ :created_at,
5849
+ :updated_at)
5850
+ SENSITIVE = []
5851
+ include Aws::Structure
5852
+ end
5853
+
5854
+ # Defines the firing condition for a Trigger
5855
+ #
5856
+ # @note TriggerCondition is a union - when making an API calls you must set exactly one of the members.
5857
+ #
5858
+ # @note TriggerCondition is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of TriggerCondition corresponding to the set member.
5859
+ #
5860
+ # @!attribute [rw] schedule
5861
+ # Time-based firing condition
5862
+ # @return [Types::ScheduleCondition]
5863
+ #
5864
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/TriggerCondition AWS API Documentation
5865
+ #
5866
+ class TriggerCondition < Struct.new(
5867
+ :schedule,
5868
+ :unknown)
5869
+ SENSITIVE = []
5870
+ include Aws::Structure
5871
+ include Aws::Structure::Union
5872
+
5873
+ class Schedule < TriggerCondition; end
5874
+ class Unknown < TriggerCondition; end
5875
+ end
5876
+
5635
5877
  # @!attribute [rw] resource_arn
5636
5878
  # The ARN of the resource to untag.
5637
5879
  # @return [String]
@@ -6125,6 +6367,51 @@ module Aws::DevOpsAgent
6125
6367
  include Aws::Structure
6126
6368
  end
6127
6369
 
6370
+ # @!attribute [rw] agent_space_id
6371
+ # Unique identifier for an agent space (allows alphanumeric characters
6372
+ # and hyphens; 1-64 characters)
6373
+ # @return [String]
6374
+ #
6375
+ # @!attribute [rw] trigger_id
6376
+ # Generic resource identifier (allows alphanumeric characters,
6377
+ # hyphens, and underscores; 1-128 characters)
6378
+ # @return [String]
6379
+ #
6380
+ # @!attribute [rw] status
6381
+ # The new status for the Trigger
6382
+ # @return [String]
6383
+ #
6384
+ # @!attribute [rw] client_token
6385
+ # A unique, case-sensitive identifier used for idempotent Trigger
6386
+ # update
6387
+ #
6388
+ # **A suitable default value is auto-generated.** You should normally
6389
+ # not need to pass this option.
6390
+ # @return [String]
6391
+ #
6392
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/UpdateTriggerRequest AWS API Documentation
6393
+ #
6394
+ class UpdateTriggerRequest < Struct.new(
6395
+ :agent_space_id,
6396
+ :trigger_id,
6397
+ :status,
6398
+ :client_token)
6399
+ SENSITIVE = []
6400
+ include Aws::Structure
6401
+ end
6402
+
6403
+ # @!attribute [rw] trigger
6404
+ # The Trigger object
6405
+ # @return [Types::Trigger]
6406
+ #
6407
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/UpdateTriggerResponse AWS API Documentation
6408
+ #
6409
+ class UpdateTriggerResponse < Struct.new(
6410
+ :trigger)
6411
+ SENSITIVE = []
6412
+ include Aws::Structure
6413
+ end
6414
+
6128
6415
  # Represents a usage metric with its configured limit and current usage
6129
6416
  # value.
6130
6417
  #
@@ -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.8.0'
58
+ GEM_VERSION = '1.9.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -217,6 +217,26 @@ module Aws
217
217
  ) -> _CreatePrivateConnectionResponseSuccess
218
218
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePrivateConnectionResponseSuccess
219
219
 
220
+ interface _CreateTriggerResponseSuccess
221
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateTriggerResponse]
222
+ def trigger: () -> Types::Trigger
223
+ end
224
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsAgent/Client.html#create_trigger-instance_method
225
+ def create_trigger: (
226
+ agent_space_id: ::String,
227
+ type: ::String,
228
+ condition: {
229
+ schedule: {
230
+ expression: ::String
231
+ }?
232
+ },
233
+ action: {
234
+ },
235
+ ?status: ::String,
236
+ ?client_token: ::String
237
+ ) -> _CreateTriggerResponseSuccess
238
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTriggerResponseSuccess
239
+
220
240
  interface _DeleteAgentSpaceResponseSuccess
221
241
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAgentSpaceOutput]
222
242
  end
@@ -258,6 +278,16 @@ module Aws
258
278
  ) -> _DeletePrivateConnectionResponseSuccess
259
279
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePrivateConnectionResponseSuccess
260
280
 
281
+ interface _DeleteTriggerResponseSuccess
282
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTriggerResponse]
283
+ end
284
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsAgent/Client.html#delete_trigger-instance_method
285
+ def delete_trigger: (
286
+ agent_space_id: ::String,
287
+ trigger_id: ::String
288
+ ) -> _DeleteTriggerResponseSuccess
289
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTriggerResponseSuccess
290
+
261
291
  interface _DeregisterServiceResponseSuccess
262
292
  include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterServiceOutput]
263
293
  end
@@ -446,6 +476,17 @@ module Aws
446
476
  ) -> _GetServiceResponseSuccess
447
477
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetServiceResponseSuccess
448
478
 
479
+ interface _GetTriggerResponseSuccess
480
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTriggerResponse]
481
+ def trigger: () -> Types::Trigger
482
+ end
483
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsAgent/Client.html#get_trigger-instance_method
484
+ def get_trigger: (
485
+ agent_space_id: ::String,
486
+ trigger_id: ::String
487
+ ) -> _GetTriggerResponseSuccess
488
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTriggerResponseSuccess
489
+
449
490
  interface _ListAgentSpacesResponseSuccess
450
491
  include ::Seahorse::Client::_ResponseSuccess[Types::ListAgentSpacesOutput]
451
492
  def next_token: () -> ::String
@@ -674,6 +715,20 @@ module Aws
674
715
  ) -> _ListTagsForResourceResponseSuccess
675
716
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
676
717
 
718
+ interface _ListTriggersResponseSuccess
719
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTriggersResponse]
720
+ def items: () -> ::Array[Types::Trigger]
721
+ def next_token: () -> ::String
722
+ end
723
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsAgent/Client.html#list_triggers-instance_method
724
+ def list_triggers: (
725
+ agent_space_id: ::String,
726
+ ?status: ::String,
727
+ ?next_token: ::String,
728
+ ?max_results: ::Integer
729
+ ) -> _ListTriggersResponseSuccess
730
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTriggersResponseSuccess
731
+
677
732
  interface _ListWebhooksResponseSuccess
678
733
  include ::Seahorse::Client::_ResponseSuccess[Types::ListWebhooksOutput]
679
734
  def webhooks: () -> ::Array[Types::Webhook]
@@ -969,6 +1024,19 @@ module Aws
969
1024
  ) -> _UpdateRecommendationResponseSuccess
970
1025
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRecommendationResponseSuccess
971
1026
 
1027
+ interface _UpdateTriggerResponseSuccess
1028
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTriggerResponse]
1029
+ def trigger: () -> Types::Trigger
1030
+ end
1031
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsAgent/Client.html#update_trigger-instance_method
1032
+ def update_trigger: (
1033
+ agent_space_id: ::String,
1034
+ trigger_id: ::String,
1035
+ ?status: ::String,
1036
+ ?client_token: ::String
1037
+ ) -> _UpdateTriggerResponseSuccess
1038
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTriggerResponseSuccess
1039
+
972
1040
  interface _ValidateAwsAssociationsResponseSuccess
973
1041
  include ::Seahorse::Client::_ResponseSuccess[Types::ValidateAwsAssociationsOutput]
974
1042
  end
data/sig/types.rbs CHANGED
@@ -335,6 +335,21 @@ module Aws::DevOpsAgent
335
335
  SENSITIVE: []
336
336
  end
337
337
 
338
+ class CreateTriggerRequest
339
+ attr_accessor agent_space_id: ::String
340
+ attr_accessor type: ::String
341
+ attr_accessor condition: Types::TriggerCondition
342
+ attr_accessor action: untyped
343
+ attr_accessor status: ::String
344
+ attr_accessor client_token: ::String
345
+ SENSITIVE: []
346
+ end
347
+
348
+ class CreateTriggerResponse
349
+ attr_accessor trigger: Types::Trigger
350
+ SENSITIVE: []
351
+ end
352
+
338
353
  class DatadogAuthorizationConfig
339
354
  attr_accessor authorization_discovery: Types::MCPServerAuthorizationDiscoveryConfig
340
355
  attr_accessor unknown: untyped
@@ -392,6 +407,15 @@ module Aws::DevOpsAgent
392
407
  SENSITIVE: []
393
408
  end
394
409
 
410
+ class DeleteTriggerRequest
411
+ attr_accessor agent_space_id: ::String
412
+ attr_accessor trigger_id: ::String
413
+ SENSITIVE: []
414
+ end
415
+
416
+ class DeleteTriggerResponse < Aws::EmptyStructure
417
+ end
418
+
395
419
  class DeregisterServiceInput
396
420
  attr_accessor service_id: ::String
397
421
  SENSITIVE: []
@@ -637,6 +661,17 @@ module Aws::DevOpsAgent
637
661
  SENSITIVE: []
638
662
  end
639
663
 
664
+ class GetTriggerRequest
665
+ attr_accessor agent_space_id: ::String
666
+ attr_accessor trigger_id: ::String
667
+ SENSITIVE: []
668
+ end
669
+
670
+ class GetTriggerResponse
671
+ attr_accessor trigger: Types::Trigger
672
+ SENSITIVE: []
673
+ end
674
+
640
675
  class GitHubConfiguration
641
676
  attr_accessor repo_name: ::String
642
677
  attr_accessor repo_id: ::String
@@ -976,6 +1011,20 @@ module Aws::DevOpsAgent
976
1011
  SENSITIVE: []
977
1012
  end
978
1013
 
1014
+ class ListTriggersRequest
1015
+ attr_accessor agent_space_id: ::String
1016
+ attr_accessor status: ::String
1017
+ attr_accessor next_token: ::String
1018
+ attr_accessor max_results: ::Integer
1019
+ SENSITIVE: []
1020
+ end
1021
+
1022
+ class ListTriggersResponse
1023
+ attr_accessor items: ::Array[Types::Trigger]
1024
+ attr_accessor next_token: ::String
1025
+ SENSITIVE: []
1026
+ end
1027
+
979
1028
  class ListWebhooksInput
980
1029
  attr_accessor agent_space_id: ::String
981
1030
  attr_accessor association_id: ::String
@@ -1372,6 +1421,11 @@ module Aws::DevOpsAgent
1372
1421
  SENSITIVE: []
1373
1422
  end
1374
1423
 
1424
+ class ScheduleCondition
1425
+ attr_accessor expression: ::String
1426
+ SENSITIVE: []
1427
+ end
1428
+
1375
1429
  class SelfManagedInput
1376
1430
  attr_accessor resource_configuration_id: ::String
1377
1431
  attr_accessor certificate: ::String
@@ -1726,6 +1780,29 @@ module Aws::DevOpsAgent
1726
1780
  SENSITIVE: []
1727
1781
  end
1728
1782
 
1783
+ class Trigger
1784
+ attr_accessor trigger_id: ::String
1785
+ attr_accessor agent_space_id: ::String
1786
+ attr_accessor type: ::String
1787
+ attr_accessor condition: Types::TriggerCondition
1788
+ attr_accessor action: untyped
1789
+ attr_accessor status: ::String
1790
+ attr_accessor created_at: ::Time
1791
+ attr_accessor updated_at: ::Time
1792
+ SENSITIVE: []
1793
+ end
1794
+
1795
+ class TriggerCondition
1796
+ attr_accessor schedule: Types::ScheduleCondition
1797
+ attr_accessor unknown: untyped
1798
+ SENSITIVE: []
1799
+
1800
+ class Schedule < TriggerCondition
1801
+ end
1802
+ class Unknown < TriggerCondition
1803
+ end
1804
+ end
1805
+
1729
1806
  class UntagResourceRequest
1730
1807
  attr_accessor resource_arn: ::String
1731
1808
  attr_accessor tag_keys: ::Array[::String]
@@ -1862,6 +1939,19 @@ module Aws::DevOpsAgent
1862
1939
  SENSITIVE: []
1863
1940
  end
1864
1941
 
1942
+ class UpdateTriggerRequest
1943
+ attr_accessor agent_space_id: ::String
1944
+ attr_accessor trigger_id: ::String
1945
+ attr_accessor status: ::String
1946
+ attr_accessor client_token: ::String
1947
+ SENSITIVE: []
1948
+ end
1949
+
1950
+ class UpdateTriggerResponse
1951
+ attr_accessor trigger: Types::Trigger
1952
+ SENSITIVE: []
1953
+ end
1954
+
1865
1955
  class UsageMetric
1866
1956
  attr_accessor limit: ::Integer
1867
1957
  attr_accessor usage: ::Float
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.8.0
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services