aws-sdk-devopsagent 1.11.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.
@@ -25,12 +25,29 @@ module Aws::DevOpsAgent
25
25
  # Account Type 'monitor' for AIDevOps monitoring.
26
26
  # @return [String]
27
27
  #
28
+ # @!attribute [rw] agent_elevated_role_arn
29
+ # Optional IAM role ARN to be assumed by AIDevOps for elevated
30
+ # directed actions on behalf of the customer. Used for mutating
31
+ # operations gated by elevatedActionsEnabled on the AgentSpace. When
32
+ # not provided, only non-elevated directed actions are available for
33
+ # this AWS account.
34
+ # @return [String]
35
+ #
36
+ # @!attribute [rw] agent_elevated_role_arn_status
37
+ # Validation status of the agentElevatedRoleArn. Updated
38
+ # asynchronously after the customer registers an elevated role.
39
+ # Possible values: PENDING\_CONFIRMATION (validation in progress),
40
+ # VALID (role validated), INVALID (validation failed).
41
+ # @return [String]
42
+ #
28
43
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/AWSConfiguration AWS API Documentation
29
44
  #
30
45
  class AWSConfiguration < Struct.new(
31
46
  :assumable_role_arn,
32
47
  :account_id,
33
- :account_type)
48
+ :account_type,
49
+ :agent_elevated_role_arn,
50
+ :agent_elevated_role_arn_status)
34
51
  SENSITIVE = []
35
52
  include Aws::Structure
36
53
  end
@@ -209,6 +226,11 @@ module Aws::DevOpsAgent
209
226
  # The unique identifier of the AgentSpace
210
227
  # @return [String]
211
228
  #
229
+ # @!attribute [rw] preferences
230
+ # The preferences configured on the agent space. Preferences that are
231
+ # not set take their default values.
232
+ # @return [Hash<String,Boolean>]
233
+ #
212
234
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/AgentSpace AWS API Documentation
213
235
  #
214
236
  class AgentSpace < Struct.new(
@@ -218,11 +240,92 @@ module Aws::DevOpsAgent
218
240
  :created_at,
219
241
  :updated_at,
220
242
  :kms_key_arn,
221
- :agent_space_id)
243
+ :agent_space_id,
244
+ :preferences)
222
245
  SENSITIVE = [:description]
223
246
  include Aws::Structure
224
247
  end
225
248
 
249
+ # An approval decision supplied when resuming a paused agent execution.
250
+ # When an agent execution pauses to request approval for an elevated
251
+ # action, SendMessage streams an approval request carrying interrupt
252
+ # identifiers. This structure carries the decision back to the service —
253
+ # which paused tool invocation is being resumed, the opaque interrupt
254
+ # identifier that resumes it, the identifier of the approval request
255
+ # being resolved, optional display text of the control the user chose,
256
+ # and the action taken (APPROVED or REJECTED) — so the service can
257
+ # resume the paused execution. All members are optional on the wire;
258
+ # service-side validation is applied against the populated subset.
259
+ #
260
+ # @!attribute [rw] tool_use_id
261
+ # Identifier of the specific paused tool invocation that requested
262
+ # approval. Correlates the approval decision back to the paused
263
+ # invocation.
264
+ # @return [String]
265
+ #
266
+ # @!attribute [rw] interrupt_id
267
+ # An opaque resume identifier issued by the service when an agent
268
+ # execution pauses for approval. Provide it when resuming so the
269
+ # service can resume the correct paused execution.
270
+ # @return [String]
271
+ #
272
+ # @!attribute [rw] approval_id
273
+ # Identifier of the approval request being resolved.
274
+ # @return [String]
275
+ #
276
+ # @!attribute [rw] button_text
277
+ # Optional display text of the UI control the user chose (for example,
278
+ # "Approve Exact", "Approve Broader", or "Reject"), provided as
279
+ # auxiliary decision context.
280
+ # @return [String]
281
+ #
282
+ # @!attribute [rw] action
283
+ # The action taken on the approval request — APPROVED or REJECTED.
284
+ # @return [String]
285
+ #
286
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/ApprovalAction AWS API Documentation
287
+ #
288
+ class ApprovalAction < Struct.new(
289
+ :tool_use_id,
290
+ :interrupt_id,
291
+ :approval_id,
292
+ :button_text,
293
+ :action)
294
+ SENSITIVE = []
295
+ include Aws::Structure
296
+ end
297
+
298
+ # Tool-invocation pattern primitive used to express both an
299
+ # agent-requested approval and a finalized approval. The primitive is
300
+ # uniform across AWS and third-party tools: a tool identifier plus a map
301
+ # of argument pins that narrow which invocations the pattern matches.
302
+ #
303
+ # @!attribute [rw] tool
304
+ # Identifier of the tool the pattern applies to (e.g. `use\_aws` for
305
+ # AWS actions, or a third-party tool name).
306
+ # @return [String]
307
+ #
308
+ # @!attribute [rw] argument_pins
309
+ # Argument constraints that narrow which tool invocations the pattern
310
+ # matches. For AWS tools, the map must include `operation` (the IAM
311
+ # action, e.g. `ec2:AuthorizeSecurityGroupIngress`) and
312
+ # `resource\_arn` (the resource ARN or ARN glob); additional
313
+ # narrowing arguments go in further pin keys. The same `\{tool,
314
+ # argumentPins}` shape is used uniformly for AWS and third-party
315
+ # tools, with tool-specific keys for third-party tools. Requests whose
316
+ # argument pins are collectively too large are rejected with a
317
+ # ValidationException.
318
+ # @return [Hash<String,String>]
319
+ #
320
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/ApprovalPattern AWS API Documentation
321
+ #
322
+ class ApprovalPattern < Struct.new(
323
+ :tool,
324
+ :argument_pins)
325
+ SENSITIVE = []
326
+ include Aws::Structure
327
+ end
328
+
226
329
  # Represents an asset in an agent space, including its identifier, type,
227
330
  # metadata, version, and timestamps.
228
331
  #
@@ -428,7 +531,7 @@ module Aws::DevOpsAgent
428
531
  # Content for an asset sourced from an external URL.
429
532
  #
430
533
  # @!attribute [rw] url
431
- # The source URL to import asset content from
534
+ # The source URL to import asset content from.
432
535
  # @return [String]
433
536
  #
434
537
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/AssetSourceUrlContent AWS API Documentation
@@ -670,10 +773,17 @@ module Aws::DevOpsAgent
670
773
  # Whether the capability is enabled.
671
774
  # @return [Boolean]
672
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
+ #
673
782
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/CapabilityConfiguration AWS API Documentation
674
783
  #
675
784
  class CapabilityConfiguration < Struct.new(
676
- :enabled)
785
+ :enabled,
786
+ :trigger_filter_groups)
677
787
  SENSITIVE = []
678
788
  include Aws::Structure
679
789
  end
@@ -768,6 +878,11 @@ module Aws::DevOpsAgent
768
878
  # Tags to add to the AgentSpace at creation time.
769
879
  # @return [Hash<String,String>]
770
880
  #
881
+ # @!attribute [rw] preferences
882
+ # The preferences to configure on the agent space. Preferences not
883
+ # provided take their default values.
884
+ # @return [Hash<String,Boolean>]
885
+ #
771
886
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/CreateAgentSpaceInput AWS API Documentation
772
887
  #
773
888
  class CreateAgentSpaceInput < Struct.new(
@@ -776,7 +891,8 @@ module Aws::DevOpsAgent
776
891
  :locale,
777
892
  :kms_key_arn,
778
893
  :client_token,
779
- :tags)
894
+ :tags,
895
+ :preferences)
780
896
  SENSITIVE = [:description]
781
897
  include Aws::Structure
782
898
  end
@@ -977,8 +1093,8 @@ module Aws::DevOpsAgent
977
1093
  # Request structure for creating a new chat
978
1094
  #
979
1095
  # @!attribute [rw] agent_space_id
980
- # Unique identifier for an agent space (allows alphanumeric characters
981
- # and hyphens; 1-64 characters)
1096
+ # The unique identifier for the agent space where the chat will be
1097
+ # created.
982
1098
  # @return [String]
983
1099
  #
984
1100
  # @!attribute [rw] user_id
@@ -3034,8 +3150,7 @@ module Aws::DevOpsAgent
3034
3150
  # Request structure for listing chats
3035
3151
  #
3036
3152
  # @!attribute [rw] agent_space_id
3037
- # Unique identifier for an agent space (allows alphanumeric characters
3038
- # and hyphens; 1-64 characters)
3153
+ # The unique identifier for the agent space to list chats from.
3039
3154
  # @return [String]
3040
3155
  #
3041
3156
  # @!attribute [rw] user_id
@@ -3654,21 +3769,33 @@ module Aws::DevOpsAgent
3654
3769
  # List of MCP tools can be used with the association.
3655
3770
  # @return [Array<String>]
3656
3771
  #
3772
+ # @!attribute [rw] tool_details
3773
+ # List of MCP tools with their access categorization. When provided,
3774
+ # the tool names must match those in the tools member.
3775
+ # @return [Array<Types::MCPToolDetail>]
3776
+ #
3657
3777
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/MCPServerConfiguration AWS API Documentation
3658
3778
  #
3659
3779
  class MCPServerConfiguration < Struct.new(
3660
- :tools)
3780
+ :tools,
3781
+ :tool_details)
3661
3782
  SENSITIVE = []
3662
3783
  include Aws::Structure
3663
3784
  end
3664
3785
 
3665
3786
  # Mixin for webhook update support.
3666
3787
  #
3667
- # @api private
3788
+ # @!attribute [rw] enabled_elevated_tools
3789
+ # The subset of elevated-access tools enabled for this integration.
3790
+ # @return [Array<Types::MCPToolDetail>]
3668
3791
  #
3669
3792
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/MCPServerDatadogConfiguration AWS API Documentation
3670
3793
  #
3671
- class MCPServerDatadogConfiguration < Aws::EmptyStructure; end
3794
+ class MCPServerDatadogConfiguration < Struct.new(
3795
+ :enabled_elevated_tools)
3796
+ SENSITIVE = []
3797
+ include Aws::Structure
3798
+ end
3672
3799
 
3673
3800
  # Complete service details for MCP server integration.
3674
3801
  #
@@ -3714,12 +3841,17 @@ module Aws::DevOpsAgent
3714
3841
  # List of MCP tools that can be used.
3715
3842
  # @return [Array<String>]
3716
3843
  #
3844
+ # @!attribute [rw] enabled_elevated_tools
3845
+ # The subset of elevated-access tools enabled for this integration.
3846
+ # @return [Array<Types::MCPToolDetail>]
3847
+ #
3717
3848
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/MCPServerGrafanaConfiguration AWS API Documentation
3718
3849
  #
3719
3850
  class MCPServerGrafanaConfiguration < Struct.new(
3720
3851
  :endpoint,
3721
3852
  :organization_id,
3722
- :tools)
3853
+ :tools,
3854
+ :enabled_elevated_tools)
3723
3855
  SENSITIVE = []
3724
3856
  include Aws::Structure
3725
3857
  end
@@ -3886,10 +4018,16 @@ module Aws::DevOpsAgent
3886
4018
  # List of MCP tools available for the association.
3887
4019
  # @return [Array<String>]
3888
4020
  #
4021
+ # @!attribute [rw] tool_details
4022
+ # List of MCP tools with their access categorization. When provided,
4023
+ # the tool names must match those in the tools member.
4024
+ # @return [Array<Types::MCPToolDetail>]
4025
+ #
3889
4026
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/MCPServerSigV4Configuration AWS API Documentation
3890
4027
  #
3891
4028
  class MCPServerSigV4Configuration < Struct.new(
3892
- :tools)
4029
+ :tools,
4030
+ :tool_details)
3893
4031
  SENSITIVE = []
3894
4032
  include Aws::Structure
3895
4033
  end
@@ -3932,6 +4070,25 @@ module Aws::DevOpsAgent
3932
4070
  #
3933
4071
  class MCPServerSplunkConfiguration < Aws::EmptyStructure; end
3934
4072
 
4073
+ # An MCP tool together with its access categorization.
4074
+ #
4075
+ # @!attribute [rw] name
4076
+ # The name of the MCP tool.
4077
+ # @return [String]
4078
+ #
4079
+ # @!attribute [rw] tool_classification
4080
+ # The access categorization of the MCP tool.
4081
+ # @return [String]
4082
+ #
4083
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/MCPToolDetail AWS API Documentation
4084
+ #
4085
+ class MCPToolDetail < Struct.new(
4086
+ :name,
4087
+ :tool_classification)
4088
+ SENSITIVE = []
4089
+ include Aws::Structure
4090
+ end
4091
+
3935
4092
  # A message in a conversation, either from the user or the assistant.
3936
4093
  #
3937
4094
  # @note Message is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Message corresponding to the set member.
@@ -4136,6 +4293,22 @@ module Aws::DevOpsAgent
4136
4293
  include Aws::Structure
4137
4294
  end
4138
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
+
4139
4312
  # Represents a pending message in an agent execution.
4140
4313
  #
4141
4314
  # @!attribute [rw] message_id
@@ -4850,6 +5023,14 @@ module Aws::DevOpsAgent
4850
5023
  # The name of the private connection used for VPC connectivity.
4851
5024
  # @return [String]
4852
5025
  #
5026
+ # @!attribute [rw] created_at
5027
+ # The timestamp when the service was registered.
5028
+ # @return [Time]
5029
+ #
5030
+ # @!attribute [rw] updated_at
5031
+ # The timestamp when the service was last updated.
5032
+ # @return [Time]
5033
+ #
4853
5034
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/RegisteredService AWS API Documentation
4854
5035
  #
4855
5036
  class RegisteredService < Struct.new(
@@ -4859,7 +5040,9 @@ module Aws::DevOpsAgent
4859
5040
  :accessible_resources,
4860
5041
  :additional_service_details,
4861
5042
  :kms_key_arn,
4862
- :private_connection_name)
5043
+ :private_connection_name,
5044
+ :created_at,
5045
+ :updated_at)
4863
5046
  SENSITIVE = []
4864
5047
  include Aws::Structure
4865
5048
  end
@@ -5302,23 +5485,33 @@ module Aws::DevOpsAgent
5302
5485
  # @return [String]
5303
5486
  #
5304
5487
  # @!attribute [rw] user_action_response
5305
- # Response to a UI prompt (not a text conversation message). Operator
5306
- # App SDK clients set this to the control-string sentinel
5307
- # `"APPROVAL\_ACTION"` when the request is resuming a paused tool
5308
- # call after an operator approval decision; in that case the
5309
- # structured decision context lives on the sibling `approvalAction`
5310
- # member and the chat agent reads from there. Preserved as a String
5311
- # for back-compat: pre-typed-approval clients still encode arbitrary
5312
- # UI-prompt responses as JSON in this field, and the chat agent parses
5313
- # them out during the transition.
5314
- # @return [String]
5488
+ # Response to a UI prompt (not a text conversation message). Set this
5489
+ # to the sentinel value `"APPROVAL\_ACTION"` when the request is
5490
+ # resuming a paused execution after an approval decision; in that case
5491
+ # the structured decision is provided on the sibling
5492
+ # `approvalAction` member. Preserved as a String for backward
5493
+ # compatibility: clients that predate the typed approval field may
5494
+ # still encode UI-prompt responses as JSON in this field.
5495
+ # @return [String]
5496
+ #
5497
+ # @!attribute [rw] approval_action
5498
+ # An approval decision supplied when resuming a paused agent
5499
+ # execution. When an agent execution pauses to request approval for an
5500
+ # elevated action, SendMessage streams an approval request carrying
5501
+ # interrupt identifiers. To resume the paused execution, call
5502
+ # SendMessage again with `userActionResponse` set to
5503
+ # `"APPROVAL\_ACTION"` and this member populated with those
5504
+ # identifiers and the decision (APPROVED or REJECTED). Optional; omit
5505
+ # it for messages that are not resuming an approval.
5506
+ # @return [Types::ApprovalAction]
5315
5507
  #
5316
5508
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/SendMessageContext AWS API Documentation
5317
5509
  #
5318
5510
  class SendMessageContext < Struct.new(
5319
5511
  :current_page,
5320
5512
  :last_message,
5321
- :user_action_response)
5513
+ :user_action_response,
5514
+ :approval_action)
5322
5515
  SENSITIVE = []
5323
5516
  include Aws::Structure
5324
5517
  end
@@ -5374,6 +5567,11 @@ module Aws::DevOpsAgent
5374
5567
  # Optional list of asset identifiers to attach to the message
5375
5568
  # @return [Array<String>]
5376
5569
  #
5570
+ # @!attribute [rw] model_tier
5571
+ # Optional model tier selection. Valid values: smart, balanced, fast.
5572
+ # Absent or unrecognized values default to balanced.
5573
+ # @return [String]
5574
+ #
5377
5575
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/SendMessageRequest AWS API Documentation
5378
5576
  #
5379
5577
  class SendMessageRequest < Struct.new(
@@ -5382,7 +5580,8 @@ module Aws::DevOpsAgent
5382
5580
  :content,
5383
5581
  :context,
5384
5582
  :user_id,
5385
- :asset_ids)
5583
+ :asset_ids,
5584
+ :model_tier)
5386
5585
  SENSITIVE = []
5387
5586
  include Aws::Structure
5388
5587
  end
@@ -6009,8 +6208,9 @@ module Aws::DevOpsAgent
6009
6208
  include Aws::Structure
6010
6209
  end
6011
6210
 
6012
- # Configuration for AWS source account integration. Note: passRole check
6013
- # on 'assumableRoleArn' is not supported.
6211
+ # Configuration for AWS source account integration. Setting the role
6212
+ # ARNs on this configuration requires the caller to have at least the
6213
+ # iam:PassRole permission (see assumableRoleArn).
6014
6214
  #
6015
6215
  # @!attribute [rw] account_id
6016
6216
  # AWS Account Id corresponding to provided resources.
@@ -6022,6 +6222,12 @@ module Aws::DevOpsAgent
6022
6222
  #
6023
6223
  # @!attribute [rw] assumable_role_arn
6024
6224
  # Role ARN to be assumed by AIDevOps to operate on behalf of customer.
6225
+ # To set this role ARN on AssociateService or UpdateAssociation, the
6226
+ # caller must have at least the iam:PassRole permission on
6227
+ # arn:aws:iam::&lt;account-id&gt;:role/* in the caller's own
6228
+ # account, with the condition iam:PassedToService set to
6229
+ # aidevops.amazonaws.com. A broader iam:PassRole grant also satisfies
6230
+ # this requirement.
6025
6231
  # @return [String]
6026
6232
  #
6027
6233
  # @!attribute [rw] external_id
@@ -6029,13 +6235,31 @@ module Aws::DevOpsAgent
6029
6235
  # prevent the confused deputy problem.
6030
6236
  # @return [String]
6031
6237
  #
6238
+ # @!attribute [rw] agent_elevated_role_arn
6239
+ # Optional IAM role ARN to be assumed by AIDevOps for elevated
6240
+ # directed actions on behalf of the customer. Used for mutating
6241
+ # operations gated by elevatedActionsEnabled on the AgentSpace. When
6242
+ # not provided, only non-elevated directed actions are available for
6243
+ # this AWS account. Setting this role is subject to the same minimum
6244
+ # iam:PassRole requirement described on assumableRoleArn.
6245
+ # @return [String]
6246
+ #
6247
+ # @!attribute [rw] agent_elevated_role_arn_status
6248
+ # Validation status of the agentElevatedRoleArn. Updated
6249
+ # asynchronously after the customer registers an elevated role.
6250
+ # Possible values: PENDING\_CONFIRMATION (validation in progress),
6251
+ # VALID (role validated), INVALID (validation failed).
6252
+ # @return [String]
6253
+ #
6032
6254
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/SourceAwsConfiguration AWS API Documentation
6033
6255
  #
6034
6256
  class SourceAwsConfiguration < Struct.new(
6035
6257
  :account_id,
6036
6258
  :account_type,
6037
6259
  :assumable_role_arn,
6038
- :external_id)
6260
+ :external_id,
6261
+ :agent_elevated_role_arn,
6262
+ :agent_elevated_role_arn_status)
6039
6263
  SENSITIVE = []
6040
6264
  include Aws::Structure
6041
6265
  end
@@ -6283,6 +6507,28 @@ module Aws::DevOpsAgent
6283
6507
  class Unknown < TriggerCondition; end
6284
6508
  end
6285
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
+
6286
6532
  # @!attribute [rw] resource_arn
6287
6533
  # The ARN of the resource to untag.
6288
6534
  # @return [String]
@@ -6324,13 +6570,21 @@ module Aws::DevOpsAgent
6324
6570
  # used in agent responses.
6325
6571
  # @return [String]
6326
6572
  #
6573
+ # @!attribute [rw] preferences
6574
+ # The preferences to configure on the agent space. When provided, this
6575
+ # replaces the full set of configured preferences; preferences not
6576
+ # included revert to their default values. When omitted, the current
6577
+ # preferences are left unchanged.
6578
+ # @return [Hash<String,Boolean>]
6579
+ #
6327
6580
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/UpdateAgentSpaceInput AWS API Documentation
6328
6581
  #
6329
6582
  class UpdateAgentSpaceInput < Struct.new(
6330
6583
  :agent_space_id,
6331
6584
  :name,
6332
6585
  :description,
6333
- :locale)
6586
+ :locale,
6587
+ :preferences)
6334
6588
  SENSITIVE = [:description]
6335
6589
  include Aws::Structure
6336
6590
  end
@@ -6350,6 +6604,112 @@ module Aws::DevOpsAgent
6350
6604
  include Aws::Structure
6351
6605
  end
6352
6606
 
6607
+ # Request structure for UpdateApprovalAction. Submits the terminal
6608
+ # decision (APPROVED or REJECTED) against an approval request,
6609
+ # optionally carrying the finalized pattern and time-to-live when the
6610
+ # action is APPROVED, or a free-text rationale when the action is
6611
+ # REJECTED. Cross-field invariants between `action` and the
6612
+ # approve-only / reject-only members are enforced by service-side
6613
+ # validation.
6614
+ #
6615
+ # @!attribute [rw] agent_space_id
6616
+ # The agent space identifier — multi-tenant workspace scope. Bound
6617
+ # from the request URI.
6618
+ # @return [String]
6619
+ #
6620
+ # @!attribute [rw] approval_id
6621
+ # Identifier of the approval request being resolved. A UUID. Bound
6622
+ # from the request URI.
6623
+ # @return [String]
6624
+ #
6625
+ # @!attribute [rw] action
6626
+ # The action to take on the approval request — APPROVED or REJECTED.
6627
+ # @return [String]
6628
+ #
6629
+ # @!attribute [rw] final_pattern
6630
+ # The finalized pattern (tool + argumentPins) that scopes the
6631
+ # approval. Required when `action` is APPROVED; must be absent when
6632
+ # `action` is REJECTED. The pattern narrows, and must not widen, the
6633
+ # invocation originally requested by the agent. This cross-field
6634
+ # invariant is enforced by service-side validation.
6635
+ # @return [Types::ApprovalPattern]
6636
+ #
6637
+ # @!attribute [rw] reason
6638
+ # Optional free-text rationale for the decision. Permitted when
6639
+ # `action` is REJECTED; ignored when `action` is APPROVED.
6640
+ # @return [String]
6641
+ #
6642
+ # @!attribute [rw] ttl_seconds
6643
+ # Approval lifetime in seconds, starting from when the decision is
6644
+ # submitted. Required when `action` is APPROVED AND `singleUse` is
6645
+ # false; must be absent when `action` is REJECTED or when
6646
+ # `singleUse` is true (a single-use approval backs one executed
6647
+ # action and the redemption window collapses). Cross-field invariants
6648
+ # are enforced by service-side validation; the @range bound here is
6649
+ # the operation-boundary check that always applies (a maximum of 4
6650
+ # hours).
6651
+ # @return [Integer]
6652
+ #
6653
+ # @!attribute [rw] single_use
6654
+ # Whether the approved action backs a single executed tool call (true)
6655
+ # or is reusable within ttlSeconds (false). Required when `action`
6656
+ # is APPROVED; must be absent when `action` is REJECTED. When true,
6657
+ # ttlSeconds must be absent (the redemption window collapses to the
6658
+ # single use). When false, ttlSeconds is required and bounds the reuse
6659
+ # window. Cross-field invariants are enforced by service-side
6660
+ # validation.
6661
+ # @return [Boolean]
6662
+ #
6663
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/UpdateApprovalActionRequest AWS API Documentation
6664
+ #
6665
+ class UpdateApprovalActionRequest < Struct.new(
6666
+ :agent_space_id,
6667
+ :approval_id,
6668
+ :action,
6669
+ :final_pattern,
6670
+ :reason,
6671
+ :ttl_seconds,
6672
+ :single_use)
6673
+ SENSITIVE = []
6674
+ include Aws::Structure
6675
+ end
6676
+
6677
+ # Response structure for UpdateApprovalAction. Reports the
6678
+ # post-submission lifecycle status of the approval request and, when
6679
+ # applicable, the absolute expiry timestamp. The status is a lifecycle
6680
+ # state distinct from the action verb — an APPROVED submission
6681
+ # transitions the request to APPROVED status (live, redeemable); a
6682
+ # REJECTED submission transitions it to REJECTED status (terminal).
6683
+ #
6684
+ # @!attribute [rw] approval_id
6685
+ # Identifier of the approval request that was resolved. Echoed back so
6686
+ # the client can correlate the response with the request.
6687
+ # @return [String]
6688
+ #
6689
+ # @!attribute [rw] status
6690
+ # Lifecycle status of the approval request immediately after
6691
+ # submission. Expected post-submission states are APPROVED (when the
6692
+ # action is APPROVED) or REJECTED (when the action is REJECTED);
6693
+ # PENDING is not returned from this operation, and REVOKED and
6694
+ # REDEEMED are reachable only via subsequent reads.
6695
+ # @return [String]
6696
+ #
6697
+ # @!attribute [rw] expires_at
6698
+ # Absolute timestamp at which the approval expires. Set when status is
6699
+ # APPROVED (computed as the submission time plus ttlSeconds); absent
6700
+ # when status is REJECTED.
6701
+ # @return [Time]
6702
+ #
6703
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/UpdateApprovalActionResponse AWS API Documentation
6704
+ #
6705
+ class UpdateApprovalActionResponse < Struct.new(
6706
+ :approval_id,
6707
+ :status,
6708
+ :expires_at)
6709
+ SENSITIVE = []
6710
+ include Aws::Structure
6711
+ end
6712
+
6353
6713
  # Request structure for updating an asset file
6354
6714
  #
6355
6715
  # @!attribute [rw] agent_space_id
@@ -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.11.0'
58
+ GEM_VERSION = '1.13.0'
59
59
 
60
60
  end
61
61