aws-sdk-devopsagent 1.11.0 → 1.12.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
@@ -768,6 +871,11 @@ module Aws::DevOpsAgent
768
871
  # Tags to add to the AgentSpace at creation time.
769
872
  # @return [Hash<String,String>]
770
873
  #
874
+ # @!attribute [rw] preferences
875
+ # The preferences to configure on the agent space. Preferences not
876
+ # provided take their default values.
877
+ # @return [Hash<String,Boolean>]
878
+ #
771
879
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/CreateAgentSpaceInput AWS API Documentation
772
880
  #
773
881
  class CreateAgentSpaceInput < Struct.new(
@@ -776,7 +884,8 @@ module Aws::DevOpsAgent
776
884
  :locale,
777
885
  :kms_key_arn,
778
886
  :client_token,
779
- :tags)
887
+ :tags,
888
+ :preferences)
780
889
  SENSITIVE = [:description]
781
890
  include Aws::Structure
782
891
  end
@@ -977,8 +1086,8 @@ module Aws::DevOpsAgent
977
1086
  # Request structure for creating a new chat
978
1087
  #
979
1088
  # @!attribute [rw] agent_space_id
980
- # Unique identifier for an agent space (allows alphanumeric characters
981
- # and hyphens; 1-64 characters)
1089
+ # The unique identifier for the agent space where the chat will be
1090
+ # created.
982
1091
  # @return [String]
983
1092
  #
984
1093
  # @!attribute [rw] user_id
@@ -3034,8 +3143,7 @@ module Aws::DevOpsAgent
3034
3143
  # Request structure for listing chats
3035
3144
  #
3036
3145
  # @!attribute [rw] agent_space_id
3037
- # Unique identifier for an agent space (allows alphanumeric characters
3038
- # and hyphens; 1-64 characters)
3146
+ # The unique identifier for the agent space to list chats from.
3039
3147
  # @return [String]
3040
3148
  #
3041
3149
  # @!attribute [rw] user_id
@@ -3654,21 +3762,33 @@ module Aws::DevOpsAgent
3654
3762
  # List of MCP tools can be used with the association.
3655
3763
  # @return [Array<String>]
3656
3764
  #
3765
+ # @!attribute [rw] tool_details
3766
+ # List of MCP tools with their access categorization. When provided,
3767
+ # the tool names must match those in the tools member.
3768
+ # @return [Array<Types::MCPToolDetail>]
3769
+ #
3657
3770
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/MCPServerConfiguration AWS API Documentation
3658
3771
  #
3659
3772
  class MCPServerConfiguration < Struct.new(
3660
- :tools)
3773
+ :tools,
3774
+ :tool_details)
3661
3775
  SENSITIVE = []
3662
3776
  include Aws::Structure
3663
3777
  end
3664
3778
 
3665
3779
  # Mixin for webhook update support.
3666
3780
  #
3667
- # @api private
3781
+ # @!attribute [rw] enabled_elevated_tools
3782
+ # The subset of elevated-access tools enabled for this integration.
3783
+ # @return [Array<Types::MCPToolDetail>]
3668
3784
  #
3669
3785
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/MCPServerDatadogConfiguration AWS API Documentation
3670
3786
  #
3671
- class MCPServerDatadogConfiguration < Aws::EmptyStructure; end
3787
+ class MCPServerDatadogConfiguration < Struct.new(
3788
+ :enabled_elevated_tools)
3789
+ SENSITIVE = []
3790
+ include Aws::Structure
3791
+ end
3672
3792
 
3673
3793
  # Complete service details for MCP server integration.
3674
3794
  #
@@ -3714,12 +3834,17 @@ module Aws::DevOpsAgent
3714
3834
  # List of MCP tools that can be used.
3715
3835
  # @return [Array<String>]
3716
3836
  #
3837
+ # @!attribute [rw] enabled_elevated_tools
3838
+ # The subset of elevated-access tools enabled for this integration.
3839
+ # @return [Array<Types::MCPToolDetail>]
3840
+ #
3717
3841
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/MCPServerGrafanaConfiguration AWS API Documentation
3718
3842
  #
3719
3843
  class MCPServerGrafanaConfiguration < Struct.new(
3720
3844
  :endpoint,
3721
3845
  :organization_id,
3722
- :tools)
3846
+ :tools,
3847
+ :enabled_elevated_tools)
3723
3848
  SENSITIVE = []
3724
3849
  include Aws::Structure
3725
3850
  end
@@ -3886,10 +4011,16 @@ module Aws::DevOpsAgent
3886
4011
  # List of MCP tools available for the association.
3887
4012
  # @return [Array<String>]
3888
4013
  #
4014
+ # @!attribute [rw] tool_details
4015
+ # List of MCP tools with their access categorization. When provided,
4016
+ # the tool names must match those in the tools member.
4017
+ # @return [Array<Types::MCPToolDetail>]
4018
+ #
3889
4019
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/MCPServerSigV4Configuration AWS API Documentation
3890
4020
  #
3891
4021
  class MCPServerSigV4Configuration < Struct.new(
3892
- :tools)
4022
+ :tools,
4023
+ :tool_details)
3893
4024
  SENSITIVE = []
3894
4025
  include Aws::Structure
3895
4026
  end
@@ -3932,6 +4063,25 @@ module Aws::DevOpsAgent
3932
4063
  #
3933
4064
  class MCPServerSplunkConfiguration < Aws::EmptyStructure; end
3934
4065
 
4066
+ # An MCP tool together with its access categorization.
4067
+ #
4068
+ # @!attribute [rw] name
4069
+ # The name of the MCP tool.
4070
+ # @return [String]
4071
+ #
4072
+ # @!attribute [rw] tool_classification
4073
+ # The access categorization of the MCP tool.
4074
+ # @return [String]
4075
+ #
4076
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/MCPToolDetail AWS API Documentation
4077
+ #
4078
+ class MCPToolDetail < Struct.new(
4079
+ :name,
4080
+ :tool_classification)
4081
+ SENSITIVE = []
4082
+ include Aws::Structure
4083
+ end
4084
+
3935
4085
  # A message in a conversation, either from the user or the assistant.
3936
4086
  #
3937
4087
  # @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.
@@ -4850,6 +5000,14 @@ module Aws::DevOpsAgent
4850
5000
  # The name of the private connection used for VPC connectivity.
4851
5001
  # @return [String]
4852
5002
  #
5003
+ # @!attribute [rw] created_at
5004
+ # The timestamp when the service was registered.
5005
+ # @return [Time]
5006
+ #
5007
+ # @!attribute [rw] updated_at
5008
+ # The timestamp when the service was last updated.
5009
+ # @return [Time]
5010
+ #
4853
5011
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/RegisteredService AWS API Documentation
4854
5012
  #
4855
5013
  class RegisteredService < Struct.new(
@@ -4859,7 +5017,9 @@ module Aws::DevOpsAgent
4859
5017
  :accessible_resources,
4860
5018
  :additional_service_details,
4861
5019
  :kms_key_arn,
4862
- :private_connection_name)
5020
+ :private_connection_name,
5021
+ :created_at,
5022
+ :updated_at)
4863
5023
  SENSITIVE = []
4864
5024
  include Aws::Structure
4865
5025
  end
@@ -5302,23 +5462,33 @@ module Aws::DevOpsAgent
5302
5462
  # @return [String]
5303
5463
  #
5304
5464
  # @!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]
5465
+ # Response to a UI prompt (not a text conversation message). Set this
5466
+ # to the sentinel value `"APPROVAL\_ACTION"` when the request is
5467
+ # resuming a paused execution after an approval decision; in that case
5468
+ # the structured decision is provided on the sibling
5469
+ # `approvalAction` member. Preserved as a String for backward
5470
+ # compatibility: clients that predate the typed approval field may
5471
+ # still encode UI-prompt responses as JSON in this field.
5472
+ # @return [String]
5473
+ #
5474
+ # @!attribute [rw] approval_action
5475
+ # An approval decision supplied when resuming a paused agent
5476
+ # execution. When an agent execution pauses to request approval for an
5477
+ # elevated action, SendMessage streams an approval request carrying
5478
+ # interrupt identifiers. To resume the paused execution, call
5479
+ # SendMessage again with `userActionResponse` set to
5480
+ # `"APPROVAL\_ACTION"` and this member populated with those
5481
+ # identifiers and the decision (APPROVED or REJECTED). Optional; omit
5482
+ # it for messages that are not resuming an approval.
5483
+ # @return [Types::ApprovalAction]
5315
5484
  #
5316
5485
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/SendMessageContext AWS API Documentation
5317
5486
  #
5318
5487
  class SendMessageContext < Struct.new(
5319
5488
  :current_page,
5320
5489
  :last_message,
5321
- :user_action_response)
5490
+ :user_action_response,
5491
+ :approval_action)
5322
5492
  SENSITIVE = []
5323
5493
  include Aws::Structure
5324
5494
  end
@@ -5374,6 +5544,11 @@ module Aws::DevOpsAgent
5374
5544
  # Optional list of asset identifiers to attach to the message
5375
5545
  # @return [Array<String>]
5376
5546
  #
5547
+ # @!attribute [rw] model_tier
5548
+ # Optional model tier selection. Valid values: smart, balanced, fast.
5549
+ # Absent or unrecognized values default to balanced.
5550
+ # @return [String]
5551
+ #
5377
5552
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/SendMessageRequest AWS API Documentation
5378
5553
  #
5379
5554
  class SendMessageRequest < Struct.new(
@@ -5382,7 +5557,8 @@ module Aws::DevOpsAgent
5382
5557
  :content,
5383
5558
  :context,
5384
5559
  :user_id,
5385
- :asset_ids)
5560
+ :asset_ids,
5561
+ :model_tier)
5386
5562
  SENSITIVE = []
5387
5563
  include Aws::Structure
5388
5564
  end
@@ -6009,8 +6185,9 @@ module Aws::DevOpsAgent
6009
6185
  include Aws::Structure
6010
6186
  end
6011
6187
 
6012
- # Configuration for AWS source account integration. Note: passRole check
6013
- # on 'assumableRoleArn' is not supported.
6188
+ # Configuration for AWS source account integration. Setting the role
6189
+ # ARNs on this configuration requires the caller to have at least the
6190
+ # iam:PassRole permission (see assumableRoleArn).
6014
6191
  #
6015
6192
  # @!attribute [rw] account_id
6016
6193
  # AWS Account Id corresponding to provided resources.
@@ -6022,6 +6199,12 @@ module Aws::DevOpsAgent
6022
6199
  #
6023
6200
  # @!attribute [rw] assumable_role_arn
6024
6201
  # Role ARN to be assumed by AIDevOps to operate on behalf of customer.
6202
+ # To set this role ARN on AssociateService or UpdateAssociation, the
6203
+ # caller must have at least the iam:PassRole permission on
6204
+ # arn:aws:iam::&lt;account-id&gt;:role/* in the caller's own
6205
+ # account, with the condition iam:PassedToService set to
6206
+ # aidevops.amazonaws.com. A broader iam:PassRole grant also satisfies
6207
+ # this requirement.
6025
6208
  # @return [String]
6026
6209
  #
6027
6210
  # @!attribute [rw] external_id
@@ -6029,13 +6212,31 @@ module Aws::DevOpsAgent
6029
6212
  # prevent the confused deputy problem.
6030
6213
  # @return [String]
6031
6214
  #
6215
+ # @!attribute [rw] agent_elevated_role_arn
6216
+ # Optional IAM role ARN to be assumed by AIDevOps for elevated
6217
+ # directed actions on behalf of the customer. Used for mutating
6218
+ # operations gated by elevatedActionsEnabled on the AgentSpace. When
6219
+ # not provided, only non-elevated directed actions are available for
6220
+ # this AWS account. Setting this role is subject to the same minimum
6221
+ # iam:PassRole requirement described on assumableRoleArn.
6222
+ # @return [String]
6223
+ #
6224
+ # @!attribute [rw] agent_elevated_role_arn_status
6225
+ # Validation status of the agentElevatedRoleArn. Updated
6226
+ # asynchronously after the customer registers an elevated role.
6227
+ # Possible values: PENDING\_CONFIRMATION (validation in progress),
6228
+ # VALID (role validated), INVALID (validation failed).
6229
+ # @return [String]
6230
+ #
6032
6231
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/SourceAwsConfiguration AWS API Documentation
6033
6232
  #
6034
6233
  class SourceAwsConfiguration < Struct.new(
6035
6234
  :account_id,
6036
6235
  :account_type,
6037
6236
  :assumable_role_arn,
6038
- :external_id)
6237
+ :external_id,
6238
+ :agent_elevated_role_arn,
6239
+ :agent_elevated_role_arn_status)
6039
6240
  SENSITIVE = []
6040
6241
  include Aws::Structure
6041
6242
  end
@@ -6324,13 +6525,21 @@ module Aws::DevOpsAgent
6324
6525
  # used in agent responses.
6325
6526
  # @return [String]
6326
6527
  #
6528
+ # @!attribute [rw] preferences
6529
+ # The preferences to configure on the agent space. When provided, this
6530
+ # replaces the full set of configured preferences; preferences not
6531
+ # included revert to their default values. When omitted, the current
6532
+ # preferences are left unchanged.
6533
+ # @return [Hash<String,Boolean>]
6534
+ #
6327
6535
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/UpdateAgentSpaceInput AWS API Documentation
6328
6536
  #
6329
6537
  class UpdateAgentSpaceInput < Struct.new(
6330
6538
  :agent_space_id,
6331
6539
  :name,
6332
6540
  :description,
6333
- :locale)
6541
+ :locale,
6542
+ :preferences)
6334
6543
  SENSITIVE = [:description]
6335
6544
  include Aws::Structure
6336
6545
  end
@@ -6350,6 +6559,112 @@ module Aws::DevOpsAgent
6350
6559
  include Aws::Structure
6351
6560
  end
6352
6561
 
6562
+ # Request structure for UpdateApprovalAction. Submits the terminal
6563
+ # decision (APPROVED or REJECTED) against an approval request,
6564
+ # optionally carrying the finalized pattern and time-to-live when the
6565
+ # action is APPROVED, or a free-text rationale when the action is
6566
+ # REJECTED. Cross-field invariants between `action` and the
6567
+ # approve-only / reject-only members are enforced by service-side
6568
+ # validation.
6569
+ #
6570
+ # @!attribute [rw] agent_space_id
6571
+ # The agent space identifier — multi-tenant workspace scope. Bound
6572
+ # from the request URI.
6573
+ # @return [String]
6574
+ #
6575
+ # @!attribute [rw] approval_id
6576
+ # Identifier of the approval request being resolved. A UUID. Bound
6577
+ # from the request URI.
6578
+ # @return [String]
6579
+ #
6580
+ # @!attribute [rw] action
6581
+ # The action to take on the approval request — APPROVED or REJECTED.
6582
+ # @return [String]
6583
+ #
6584
+ # @!attribute [rw] final_pattern
6585
+ # The finalized pattern (tool + argumentPins) that scopes the
6586
+ # approval. Required when `action` is APPROVED; must be absent when
6587
+ # `action` is REJECTED. The pattern narrows, and must not widen, the
6588
+ # invocation originally requested by the agent. This cross-field
6589
+ # invariant is enforced by service-side validation.
6590
+ # @return [Types::ApprovalPattern]
6591
+ #
6592
+ # @!attribute [rw] reason
6593
+ # Optional free-text rationale for the decision. Permitted when
6594
+ # `action` is REJECTED; ignored when `action` is APPROVED.
6595
+ # @return [String]
6596
+ #
6597
+ # @!attribute [rw] ttl_seconds
6598
+ # Approval lifetime in seconds, starting from when the decision is
6599
+ # submitted. Required when `action` is APPROVED AND `singleUse` is
6600
+ # false; must be absent when `action` is REJECTED or when
6601
+ # `singleUse` is true (a single-use approval backs one executed
6602
+ # action and the redemption window collapses). Cross-field invariants
6603
+ # are enforced by service-side validation; the @range bound here is
6604
+ # the operation-boundary check that always applies (a maximum of 4
6605
+ # hours).
6606
+ # @return [Integer]
6607
+ #
6608
+ # @!attribute [rw] single_use
6609
+ # Whether the approved action backs a single executed tool call (true)
6610
+ # or is reusable within ttlSeconds (false). Required when `action`
6611
+ # is APPROVED; must be absent when `action` is REJECTED. When true,
6612
+ # ttlSeconds must be absent (the redemption window collapses to the
6613
+ # single use). When false, ttlSeconds is required and bounds the reuse
6614
+ # window. Cross-field invariants are enforced by service-side
6615
+ # validation.
6616
+ # @return [Boolean]
6617
+ #
6618
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/UpdateApprovalActionRequest AWS API Documentation
6619
+ #
6620
+ class UpdateApprovalActionRequest < Struct.new(
6621
+ :agent_space_id,
6622
+ :approval_id,
6623
+ :action,
6624
+ :final_pattern,
6625
+ :reason,
6626
+ :ttl_seconds,
6627
+ :single_use)
6628
+ SENSITIVE = []
6629
+ include Aws::Structure
6630
+ end
6631
+
6632
+ # Response structure for UpdateApprovalAction. Reports the
6633
+ # post-submission lifecycle status of the approval request and, when
6634
+ # applicable, the absolute expiry timestamp. The status is a lifecycle
6635
+ # state distinct from the action verb — an APPROVED submission
6636
+ # transitions the request to APPROVED status (live, redeemable); a
6637
+ # REJECTED submission transitions it to REJECTED status (terminal).
6638
+ #
6639
+ # @!attribute [rw] approval_id
6640
+ # Identifier of the approval request that was resolved. Echoed back so
6641
+ # the client can correlate the response with the request.
6642
+ # @return [String]
6643
+ #
6644
+ # @!attribute [rw] status
6645
+ # Lifecycle status of the approval request immediately after
6646
+ # submission. Expected post-submission states are APPROVED (when the
6647
+ # action is APPROVED) or REJECTED (when the action is REJECTED);
6648
+ # PENDING is not returned from this operation, and REVOKED and
6649
+ # REDEEMED are reachable only via subsequent reads.
6650
+ # @return [String]
6651
+ #
6652
+ # @!attribute [rw] expires_at
6653
+ # Absolute timestamp at which the approval expires. Set when status is
6654
+ # APPROVED (computed as the submission time plus ttlSeconds); absent
6655
+ # when status is REJECTED.
6656
+ # @return [Time]
6657
+ #
6658
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/UpdateApprovalActionResponse AWS API Documentation
6659
+ #
6660
+ class UpdateApprovalActionResponse < Struct.new(
6661
+ :approval_id,
6662
+ :status,
6663
+ :expires_at)
6664
+ SENSITIVE = []
6665
+ include Aws::Structure
6666
+ end
6667
+
6353
6668
  # Request structure for updating an asset file
6354
6669
  #
6355
6670
  # @!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.12.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -109,7 +109,8 @@ module Aws
109
109
  ?locale: ::String,
110
110
  ?kms_key_arn: ::String,
111
111
  ?client_token: ::String,
112
- ?tags: Hash[::String, ::String]
112
+ ?tags: Hash[::String, ::String],
113
+ ?preferences: Hash[("elevatedActionsEnabled"), bool]
113
114
  ) -> _CreateAgentSpaceResponseSuccess
114
115
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAgentSpaceResponseSuccess
115
116
 
@@ -585,7 +586,7 @@ module Aws
585
586
  created_after: ::Time?,
586
587
  created_before: ::Time?,
587
588
  priority: Array[("CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "MINIMAL")]?,
588
- status: Array[("PENDING_TRIAGE" | "LINKED" | "PENDING_START" | "IN_PROGRESS" | "PENDING_CUSTOMER_APPROVAL" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "CANCELED" | "SKIPPED")]?,
589
+ status: Array[("PENDING_TRIAGE" | "LINKED" | "PENDING_START" | "IN_PROGRESS" | "PENDING_CUSTOMER_APPROVAL" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "CANCELED" | "SKIPPED" | "WAITING")]?,
589
590
  task_type: Array[("INVESTIGATION" | "EVALUATION" | "RELEASE_READINESS_REVIEW" | "RELEASE_TESTING")]?,
590
591
  primary_task_id: ::String?
591
592
  },
@@ -799,7 +800,7 @@ module Aws
799
800
  api_key: {
800
801
  api_key: ::String,
801
802
  account_id: ::String,
802
- region: ("US" | "EU"),
803
+ region: ("US" | "EU" | "JP"),
803
804
  application_ids: Array[::String]?,
804
805
  entity_guids: Array[::String]?,
805
806
  alert_policy_ids: Array[::String]?
@@ -901,10 +902,18 @@ module Aws
901
902
  ?context: {
902
903
  current_page: ::String?,
903
904
  last_message: ::String?,
904
- user_action_response: ::String?
905
+ user_action_response: ::String?,
906
+ approval_action: {
907
+ tool_use_id: ::String?,
908
+ interrupt_id: ::String?,
909
+ approval_id: ::String?,
910
+ button_text: ::String?,
911
+ action: ("APPROVED" | "REJECTED")?
912
+ }?
905
913
  },
906
914
  ?user_id: ::String,
907
- ?asset_ids: Array[::String]
915
+ ?asset_ids: Array[::String],
916
+ ?model_tier: ::String
908
917
  ) ?{ (*untyped) -> void } -> _SendMessageResponseSuccess
909
918
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _SendMessageResponseSuccess
910
919
 
@@ -937,10 +946,32 @@ module Aws
937
946
  agent_space_id: ::String,
938
947
  ?name: ::String,
939
948
  ?description: ::String,
940
- ?locale: ::String
949
+ ?locale: ::String,
950
+ ?preferences: Hash[("elevatedActionsEnabled"), bool]
941
951
  ) -> _UpdateAgentSpaceResponseSuccess
942
952
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAgentSpaceResponseSuccess
943
953
 
954
+ interface _UpdateApprovalActionResponseSuccess
955
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateApprovalActionResponse]
956
+ def approval_id: () -> ::String
957
+ def status: () -> ("PENDING" | "APPROVED" | "REJECTED" | "REVOKED" | "REDEEMED")
958
+ def expires_at: () -> ::Time
959
+ end
960
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsAgent/Client.html#update_approval_action-instance_method
961
+ def update_approval_action: (
962
+ agent_space_id: ::String,
963
+ approval_id: ::String,
964
+ action: ("APPROVED" | "REJECTED"),
965
+ ?final_pattern: {
966
+ tool: ::String,
967
+ argument_pins: Hash[::String, ::String]
968
+ },
969
+ ?reason: ::String,
970
+ ?ttl_seconds: ::Integer,
971
+ ?single_use: bool
972
+ ) -> _UpdateApprovalActionResponseSuccess
973
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApprovalActionResponseSuccess
974
+
944
975
  interface _UpdateAssetResponseSuccess
945
976
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAssetResponse]
946
977
  def asset: () -> Types::Asset
@@ -999,7 +1030,7 @@ module Aws
999
1030
  def update_backlog_task: (
1000
1031
  agent_space_id: ::String,
1001
1032
  task_id: ::String,
1002
- ?task_status: ("PENDING_TRIAGE" | "LINKED" | "PENDING_START" | "IN_PROGRESS" | "PENDING_CUSTOMER_APPROVAL" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "CANCELED" | "SKIPPED"),
1033
+ ?task_status: ("PENDING_TRIAGE" | "LINKED" | "PENDING_START" | "IN_PROGRESS" | "PENDING_CUSTOMER_APPROVAL" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "CANCELED" | "SKIPPED" | "WAITING"),
1003
1034
  ?client_token: ::String
1004
1035
  ) -> _UpdateBacklogTaskResponseSuccess
1005
1036
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateBacklogTaskResponseSuccess