@aws-sdk/client-devops-agent 3.1116.0 → 3.1118.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.
Files changed (40) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +202 -104
  3. package/dist-es/DevOpsAgent.js +2 -0
  4. package/dist-es/commands/UpdateApprovalActionCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +25 -3
  7. package/dist-es/schemas/schemas_0.js +163 -100
  8. package/dist-types/DevOpsAgent.d.ts +7 -0
  9. package/dist-types/DevOpsAgentClient.d.ts +3 -2
  10. package/dist-types/commands/AssociateServiceCommand.d.ts +60 -2
  11. package/dist-types/commands/CreateAgentSpaceCommand.d.ts +6 -0
  12. package/dist-types/commands/CreateBacklogTaskCommand.d.ts +1 -1
  13. package/dist-types/commands/CreatePrivateConnectionCommand.d.ts +3 -3
  14. package/dist-types/commands/GetAgentSpaceCommand.d.ts +3 -0
  15. package/dist-types/commands/GetAssociationCommand.d.ts +30 -1
  16. package/dist-types/commands/GetBacklogTaskCommand.d.ts +1 -1
  17. package/dist-types/commands/GetServiceCommand.d.ts +3 -1
  18. package/dist-types/commands/ListAgentSpacesCommand.d.ts +3 -0
  19. package/dist-types/commands/ListAssociationsCommand.d.ts +30 -1
  20. package/dist-types/commands/ListBacklogTasksCommand.d.ts +2 -2
  21. package/dist-types/commands/ListExecutionsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListServicesCommand.d.ts +3 -1
  23. package/dist-types/commands/RegisterServiceCommand.d.ts +1 -1
  24. package/dist-types/commands/SendMessageCommand.d.ts +8 -0
  25. package/dist-types/commands/UpdateAgentSpaceCommand.d.ts +6 -0
  26. package/dist-types/commands/UpdateApprovalActionCommand.d.ts +111 -0
  27. package/dist-types/commands/UpdateAssociationCommand.d.ts +60 -2
  28. package/dist-types/commands/UpdateBacklogTaskCommand.d.ts +2 -2
  29. package/dist-types/commands/index.d.ts +1 -0
  30. package/dist-types/models/enums.d.ts +86 -11
  31. package/dist-types/models/models_0.d.ts +211 -7
  32. package/dist-types/schemas/schemas_0.d.ts +6 -0
  33. package/dist-types/ts3.4/DevOpsAgent.d.ts +17 -0
  34. package/dist-types/ts3.4/DevOpsAgentClient.d.ts +6 -0
  35. package/dist-types/ts3.4/commands/UpdateApprovalActionCommand.d.ts +39 -0
  36. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  37. package/dist-types/ts3.4/models/enums.d.ts +31 -4
  38. package/dist-types/ts3.4/models/models_0.d.ts +50 -1
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
  40. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
- import type { AuthFlow, CapabilityType, EventChannelType, ExecutionStatus, GithubRepoOwnerType, GitLabTokenType, GoalStatus, GoalType, IpAddressType, MCPServerAuthorizationMethod, MonitorAccountType, NewRelicRegion, OrderType, PostRegisterServiceSupportedService, Priority, PrivateConnectionStatus, PrivateConnectionType, RecommendationPriority, RecommendationStatus, RemoteAgentAuthorizationMethod, ResourceConfigDnsResolution, SchedulerState, Service, SourceAccountType, TaskSortField, TaskSortOrder, TaskStatus, TaskType, UserType, ValidationStatus, WebhookType } from "./enums";
2
+ import type { AgentSpacePreferenceKey, ApprovalActionType, ApprovalStatus, AuthFlow, CapabilityType, EventChannelType, ExecutionStatus, GithubRepoOwnerType, GitLabTokenType, GoalStatus, GoalType, IpAddressType, MCPServerAuthorizationMethod, MonitorAccountType, NewRelicRegion, OrderType, PostRegisterServiceSupportedService, Priority, PrivateConnectionStatus, PrivateConnectionType, RecommendationPriority, RecommendationStatus, RemoteAgentAuthorizationMethod, ResourceConfigDnsResolution, SchedulerState, Service, SourceAccountType, TaskSortField, TaskSortOrder, TaskStatus, TaskType, ToolClassification, UserType, ValidationStatus, WebhookType } from "./enums";
3
3
  /**
4
4
  * <p>Details specific to a registered Azure DevOps service.</p>
5
5
  * @public
@@ -767,6 +767,11 @@ export interface AgentSpace {
767
767
  * @public
768
768
  */
769
769
  agentSpaceId: string | undefined;
770
+ /**
771
+ * <p>The preferences configured on the agent space. Preferences that are not set take their default values.</p>
772
+ * @public
773
+ */
774
+ preferences?: Partial<Record<AgentSpacePreferenceKey, boolean>> | undefined;
770
775
  }
771
776
  /**
772
777
  * <p>Capability configuration for the AWS DevOps Agent.</p>
@@ -799,6 +804,16 @@ export interface AWSConfiguration {
799
804
  * @public
800
805
  */
801
806
  accountType: MonitorAccountType | undefined;
807
+ /**
808
+ * <p>Optional IAM role ARN to be assumed by AIDevOps for elevated directed actions on behalf of the customer. Used for mutating operations gated by elevatedActionsEnabled on the AgentSpace. When not provided, only non-elevated directed actions are available for this AWS account.</p>
809
+ * @public
810
+ */
811
+ agentElevatedRoleArn?: string | undefined;
812
+ /**
813
+ * <p>Validation status of the agentElevatedRoleArn. Updated asynchronously after the customer registers an elevated role. Possible values: PENDING_CONFIRMATION (validation in progress), VALID (role validated), INVALID (validation failed).</p>
814
+ * @public
815
+ */
816
+ agentElevatedRoleArnStatus?: ValidationStatus | undefined;
802
817
  }
803
818
  /**
804
819
  * <p>Configuration for Azure subscription integration.</p>
@@ -886,6 +901,8 @@ export interface GitHubConfiguration {
886
901
  instanceIdentifier?: string | undefined;
887
902
  /**
888
903
  * <p>Optional role ARN that AIDevOps assumes at runtime for automatic verification testing and VPC connectivity on this association.</p>
904
+ *
905
+ * @deprecated (since 2026-08-04) Superseded by the ReleaseManagement association. Configure the runtime role on the ReleaseManagement association and reference it via releaseManagementAssociationId.
889
906
  * @public
890
907
  */
891
908
  runtimeRoleArn?: string | undefined;
@@ -912,10 +929,28 @@ export interface GitLabConfiguration {
912
929
  instanceIdentifier?: string | undefined;
913
930
  /**
914
931
  * <p>Optional role ARN that AIDevOps assumes at runtime for automatic verification testing and VPC connectivity on this association.</p>
932
+ *
933
+ * @deprecated (since 2026-08-04) Superseded by the ReleaseManagement association. Configure the runtime role on the ReleaseManagement association and reference it via releaseManagementAssociationId.
915
934
  * @public
916
935
  */
917
936
  runtimeRoleArn?: string | undefined;
918
937
  }
938
+ /**
939
+ * <p>An MCP tool together with its access categorization.</p>
940
+ * @public
941
+ */
942
+ export interface MCPToolDetail {
943
+ /**
944
+ * <p>The name of the MCP tool.</p>
945
+ * @public
946
+ */
947
+ name: string | undefined;
948
+ /**
949
+ * <p>The access categorization of the MCP tool.</p>
950
+ * @public
951
+ */
952
+ toolClassification?: ToolClassification | undefined;
953
+ }
919
954
  /**
920
955
  * <p>Configuration for Model Context Protocol (MCP) server integration.</p>
921
956
  * @public
@@ -926,12 +961,22 @@ export interface MCPServerConfiguration {
926
961
  * @public
927
962
  */
928
963
  tools: string[] | undefined;
964
+ /**
965
+ * <p>List of MCP tools with their access categorization. When provided, the tool names must match those in the tools member.</p>
966
+ * @public
967
+ */
968
+ toolDetails?: MCPToolDetail[] | undefined;
929
969
  }
930
970
  /**
931
971
  * <p>Mixin for webhook update support.</p>
932
972
  * @public
933
973
  */
934
974
  export interface MCPServerDatadogConfiguration {
975
+ /**
976
+ * <p>The subset of elevated-access tools enabled for this integration.</p>
977
+ * @public
978
+ */
979
+ enabledElevatedTools?: MCPToolDetail[] | undefined;
935
980
  }
936
981
  /**
937
982
  * <p>Configuration for Grafana MCP server integration, used with an AWS-hosted MCP server.</p>
@@ -953,6 +998,11 @@ export interface MCPServerGrafanaConfiguration {
953
998
  * @public
954
999
  */
955
1000
  tools?: string[] | undefined;
1001
+ /**
1002
+ * <p>The subset of elevated-access tools enabled for this integration.</p>
1003
+ * @public
1004
+ */
1005
+ enabledElevatedTools?: MCPToolDetail[] | undefined;
956
1006
  }
957
1007
  /**
958
1008
  * <p>Mixin for webhook update support.</p>
@@ -980,6 +1030,11 @@ export interface MCPServerSigV4Configuration {
980
1030
  * @public
981
1031
  */
982
1032
  tools: string[] | undefined;
1033
+ /**
1034
+ * <p>List of MCP tools with their access categorization. When provided, the tool names must match those in the tools member.</p>
1035
+ * @public
1036
+ */
1037
+ toolDetails?: MCPToolDetail[] | undefined;
983
1038
  }
984
1039
  /**
985
1040
  * <p>Mixin for webhook update support.</p>
@@ -1085,7 +1140,7 @@ export interface SlackConfiguration {
1085
1140
  transmissionTarget: SlackTransmissionTarget | undefined;
1086
1141
  }
1087
1142
  /**
1088
- * <p>Configuration for AWS source account integration. Note: passRole check on 'assumableRoleArn' is not supported.</p>
1143
+ * <p>Configuration for AWS source account integration. Setting the role ARNs on this configuration requires the caller to have at least the iam:PassRole permission (see assumableRoleArn).</p>
1089
1144
  * @public
1090
1145
  */
1091
1146
  export interface SourceAwsConfiguration {
@@ -1100,7 +1155,7 @@ export interface SourceAwsConfiguration {
1100
1155
  */
1101
1156
  accountType: SourceAccountType | undefined;
1102
1157
  /**
1103
- * <p>Role ARN to be assumed by AIDevOps to operate on behalf of customer.</p>
1158
+ * <p>Role ARN to be assumed by AIDevOps to operate on behalf of customer. To set this role ARN on AssociateService or UpdateAssociation, the caller must have at least the iam:PassRole permission on arn:aws:iam::&lt;account-id&gt;:role/* in the caller's own account, with the condition iam:PassedToService set to aidevops.amazonaws.com. A broader iam:PassRole grant also satisfies this requirement.</p>
1104
1159
  * @public
1105
1160
  */
1106
1161
  assumableRoleArn: string | undefined;
@@ -1109,6 +1164,16 @@ export interface SourceAwsConfiguration {
1109
1164
  * @public
1110
1165
  */
1111
1166
  externalId?: string | undefined;
1167
+ /**
1168
+ * <p>Optional IAM role ARN to be assumed by AIDevOps for elevated directed actions on behalf of the customer. Used for mutating operations gated by elevatedActionsEnabled on the AgentSpace. When not provided, only non-elevated directed actions are available for this AWS account. Setting this role is subject to the same minimum iam:PassRole requirement described on assumableRoleArn.</p>
1169
+ * @public
1170
+ */
1171
+ agentElevatedRoleArn?: string | undefined;
1172
+ /**
1173
+ * <p>Validation status of the agentElevatedRoleArn. Updated asynchronously after the customer registers an elevated role. Possible values: PENDING_CONFIRMATION (validation in progress), VALID (role validated), INVALID (validation failed).</p>
1174
+ * @public
1175
+ */
1176
+ agentElevatedRoleArnStatus?: ValidationStatus | undefined;
1112
1177
  }
1113
1178
  /**
1114
1179
  * <p>Union of all supported service configuration types. Each service has its own specific configuration structure.</p>
@@ -2033,6 +2098,11 @@ export interface CreateAgentSpaceInput {
2033
2098
  * @public
2034
2099
  */
2035
2100
  tags?: Record<string, string> | undefined;
2101
+ /**
2102
+ * <p>The preferences to configure on the agent space. Preferences not provided take their default values.</p>
2103
+ * @public
2104
+ */
2105
+ preferences?: Partial<Record<AgentSpacePreferenceKey, boolean>> | undefined;
2036
2106
  }
2037
2107
  /**
2038
2108
  * <p>Output containing the newly created AgentSpace.</p>
@@ -2369,6 +2439,11 @@ export interface UpdateAgentSpaceInput {
2369
2439
  * @public
2370
2440
  */
2371
2441
  locale?: string | undefined;
2442
+ /**
2443
+ * <p>The preferences to configure on the agent space. When provided, this replaces the full set of configured preferences; preferences not included revert to their default values. When omitted, the current preferences are left unchanged.</p>
2444
+ * @public
2445
+ */
2446
+ preferences?: Partial<Record<AgentSpacePreferenceKey, boolean>> | undefined;
2372
2447
  }
2373
2448
  /**
2374
2449
  * <p>Output containing the updated AgentSpace.</p>
@@ -2413,6 +2488,53 @@ export interface UpdateOperatorAppIdpConfigOutput {
2413
2488
  */
2414
2489
  idp: IdpAuthConfiguration | undefined;
2415
2490
  }
2491
+ /**
2492
+ * <p>An approval decision supplied when resuming a paused agent execution. When an agent execution pauses to request approval for an elevated action, SendMessage streams an approval request carrying interrupt identifiers. This structure carries the decision back to the service — which paused tool invocation is being resumed, the opaque interrupt identifier that resumes it, the identifier of the approval request being resolved, optional display text of the control the user chose, and the action taken (APPROVED or REJECTED) — so the service can resume the paused execution. All members are optional on the wire; service-side validation is applied against the populated subset.</p>
2493
+ * @public
2494
+ */
2495
+ export interface ApprovalAction {
2496
+ /**
2497
+ * <p>Identifier of the specific paused tool invocation that requested approval. Correlates the approval decision back to the paused invocation.</p>
2498
+ * @public
2499
+ */
2500
+ toolUseId?: string | undefined;
2501
+ /**
2502
+ * <p>An opaque resume identifier issued by the service when an agent execution pauses for approval. Provide it when resuming so the service can resume the correct paused execution.</p>
2503
+ * @public
2504
+ */
2505
+ interruptId?: string | undefined;
2506
+ /**
2507
+ * <p>Identifier of the approval request being resolved.</p>
2508
+ * @public
2509
+ */
2510
+ approvalId?: string | undefined;
2511
+ /**
2512
+ * <p>Optional display text of the UI control the user chose (for example, "Approve Exact", "Approve Broader", or "Reject"), provided as auxiliary decision context.</p>
2513
+ * @public
2514
+ */
2515
+ buttonText?: string | undefined;
2516
+ /**
2517
+ * <p>The action taken on the approval request — APPROVED or REJECTED.</p>
2518
+ * @public
2519
+ */
2520
+ action?: ApprovalActionType | undefined;
2521
+ }
2522
+ /**
2523
+ * <p>Tool-invocation pattern primitive used to express both an agent-requested approval and a finalized approval. The primitive is uniform across AWS and third-party tools: a tool identifier plus a map of argument pins that narrow which invocations the pattern matches.</p>
2524
+ * @public
2525
+ */
2526
+ export interface ApprovalPattern {
2527
+ /**
2528
+ * <p>Identifier of the tool the pattern applies to (e.g. `use_aws` for AWS actions, or a third-party tool name).</p>
2529
+ * @public
2530
+ */
2531
+ tool: string | undefined;
2532
+ /**
2533
+ * <p>Argument constraints that narrow which tool invocations the pattern matches. For AWS tools, the map must include `operation` (the IAM action, e.g. `ec2:AuthorizeSecurityGroupIngress`) and `resource_arn` (the resource ARN or ARN glob); additional narrowing arguments go in further pin keys. The same `\{tool, argumentPins\}` shape is used uniformly for AWS and third-party tools, with tool-specific keys for third-party tools. Requests whose argument pins are collectively too large are rejected with a ValidationException.</p>
2534
+ * @public
2535
+ */
2536
+ argumentPins: Record<string, string> | undefined;
2537
+ }
2416
2538
  /**
2417
2539
  * <p>Represents an asset in an agent space, including its identifier, type, metadata, version, and timestamps.</p>
2418
2540
  * @public
@@ -2521,7 +2643,7 @@ export interface AssetFileContent {
2521
2643
  */
2522
2644
  export interface AssetSourceUrlContent {
2523
2645
  /**
2524
- * <p>The source URL to import asset content from</p>
2646
+ * <p>The source URL to import asset content from.</p>
2525
2647
  * @public
2526
2648
  */
2527
2649
  url: string | undefined;
@@ -3071,7 +3193,7 @@ export interface CreateBacklogTaskResponse {
3071
3193
  */
3072
3194
  export interface CreateChatRequest {
3073
3195
  /**
3074
- * <p>Unique identifier for an agent space (allows alphanumeric characters and hyphens; 1-64 characters)</p>
3196
+ * <p>The unique identifier for the agent space where the chat will be created.</p>
3075
3197
  * @public
3076
3198
  */
3077
3199
  agentSpaceId: string | undefined;
@@ -4304,7 +4426,7 @@ export interface ListBacklogTasksResponse {
4304
4426
  */
4305
4427
  export interface ListChatsRequest {
4306
4428
  /**
4307
- * <p>Unique identifier for an agent space (allows alphanumeric characters and hyphens; 1-64 characters)</p>
4429
+ * <p>The unique identifier for the agent space to list chats from.</p>
4308
4430
  * @public
4309
4431
  */
4310
4432
  agentSpaceId: string | undefined;
@@ -5122,10 +5244,15 @@ export interface SendMessageContext {
5122
5244
  */
5123
5245
  lastMessage?: string | undefined;
5124
5246
  /**
5125
- * <p>Response to a UI prompt (not a text conversation message). Operator App SDK clients set this to the control-string sentinel `"APPROVAL_ACTION"` when the request is resuming a paused tool call after an operator approval decision; in that case the structured decision context lives on the sibling `approvalAction` member and the chat agent reads from there. Preserved as a String for back-compat: pre-typed-approval clients still encode arbitrary UI-prompt responses as JSON in this field, and the chat agent parses them out during the transition.</p>
5247
+ * <p>Response to a UI prompt (not a text conversation message). Set this to the sentinel value `"APPROVAL_ACTION"` when the request is resuming a paused execution after an approval decision; in that case the structured decision is provided on the sibling `approvalAction` member. Preserved as a String for backward compatibility: clients that predate the typed approval field may still encode UI-prompt responses as JSON in this field.</p>
5126
5248
  * @public
5127
5249
  */
5128
5250
  userActionResponse?: string | undefined;
5251
+ /**
5252
+ * <p>An approval decision supplied when resuming a paused agent execution. When an agent execution pauses to request approval for an elevated action, SendMessage streams an approval request carrying interrupt identifiers. To resume the paused execution, call SendMessage again with `userActionResponse` set to `"APPROVAL_ACTION"` and this member populated with those identifiers and the decision (APPROVED or REJECTED). Optional; omit it for messages that are not resuming an approval.</p>
5253
+ * @public
5254
+ */
5255
+ approvalAction?: ApprovalAction | undefined;
5129
5256
  }
5130
5257
  /**
5131
5258
  * <p>Request structure for sending a chat message</p>
@@ -5164,6 +5291,11 @@ export interface SendMessageRequest {
5164
5291
  * @public
5165
5292
  */
5166
5293
  assetIds?: string[] | undefined;
5294
+ /**
5295
+ * <p>Optional model tier selection. Valid values: smart, balanced, fast. Absent or unrecognized values default to balanced.</p>
5296
+ * @public
5297
+ */
5298
+ modelTier?: string | undefined;
5167
5299
  }
5168
5300
  /**
5169
5301
  * <p>JSON delta containing partial JSON</p>
@@ -5684,6 +5816,16 @@ export interface RegisteredService {
5684
5816
  * @public
5685
5817
  */
5686
5818
  privateConnectionName?: string | undefined;
5819
+ /**
5820
+ * <p>The timestamp when the service was registered.</p>
5821
+ * @public
5822
+ */
5823
+ createdAt: Date | undefined;
5824
+ /**
5825
+ * <p>The timestamp when the service was last updated.</p>
5826
+ * @public
5827
+ */
5828
+ updatedAt: Date | undefined;
5687
5829
  }
5688
5830
  /**
5689
5831
  * <p>Output containing the requested service details.</p>
@@ -7080,6 +7222,68 @@ export interface UntagResourceRequest {
7080
7222
  */
7081
7223
  export interface UntagResourceResponse {
7082
7224
  }
7225
+ /**
7226
+ * <p>Request structure for UpdateApprovalAction. Submits the terminal decision (APPROVED or REJECTED) against an approval request, optionally carrying the finalized pattern and time-to-live when the action is APPROVED, or a free-text rationale when the action is REJECTED. Cross-field invariants between `action` and the approve-only / reject-only members are enforced by service-side validation.</p>
7227
+ * @public
7228
+ */
7229
+ export interface UpdateApprovalActionRequest {
7230
+ /**
7231
+ * <p>The agent space identifier — multi-tenant workspace scope. Bound from the request URI.</p>
7232
+ * @public
7233
+ */
7234
+ agentSpaceId: string | undefined;
7235
+ /**
7236
+ * <p>Identifier of the approval request being resolved. A UUID. Bound from the request URI.</p>
7237
+ * @public
7238
+ */
7239
+ approvalId: string | undefined;
7240
+ /**
7241
+ * <p>The action to take on the approval request — APPROVED or REJECTED.</p>
7242
+ * @public
7243
+ */
7244
+ action: ApprovalActionType | undefined;
7245
+ /**
7246
+ * <p>The finalized pattern (tool + argumentPins) that scopes the approval. Required when `action` is APPROVED; must be absent when `action` is REJECTED. The pattern narrows, and must not widen, the invocation originally requested by the agent. This cross-field invariant is enforced by service-side validation.</p>
7247
+ * @public
7248
+ */
7249
+ finalPattern?: ApprovalPattern | undefined;
7250
+ /**
7251
+ * <p>Optional free-text rationale for the decision. Permitted when `action` is REJECTED; ignored when `action` is APPROVED.</p>
7252
+ * @public
7253
+ */
7254
+ reason?: string | undefined;
7255
+ /**
7256
+ * <p>Approval lifetime in seconds, starting from when the decision is submitted. Required when `action` is APPROVED AND `singleUse` is false; must be absent when `action` is REJECTED or when `singleUse` is true (a single-use approval backs one executed action and the redemption window collapses). Cross-field invariants are enforced by service-side validation; the @range bound here is the operation-boundary check that always applies (a maximum of 4 hours).</p>
7257
+ * @public
7258
+ */
7259
+ ttlSeconds?: number | undefined;
7260
+ /**
7261
+ * <p>Whether the approved action backs a single executed tool call (true) or is reusable within ttlSeconds (false). Required when `action` is APPROVED; must be absent when `action` is REJECTED. When true, ttlSeconds must be absent (the redemption window collapses to the single use). When false, ttlSeconds is required and bounds the reuse window. Cross-field invariants are enforced by service-side validation.</p>
7262
+ * @public
7263
+ */
7264
+ singleUse?: boolean | undefined;
7265
+ }
7266
+ /**
7267
+ * <p>Response structure for UpdateApprovalAction. Reports the post-submission lifecycle status of the approval request and, when applicable, the absolute expiry timestamp. The status is a lifecycle state distinct from the action verb — an APPROVED submission transitions the request to APPROVED status (live, redeemable); a REJECTED submission transitions it to REJECTED status (terminal).</p>
7268
+ * @public
7269
+ */
7270
+ export interface UpdateApprovalActionResponse {
7271
+ /**
7272
+ * <p>Identifier of the approval request that was resolved. Echoed back so the client can correlate the response with the request.</p>
7273
+ * @public
7274
+ */
7275
+ approvalId: string | undefined;
7276
+ /**
7277
+ * <p>Lifecycle status of the approval request immediately after submission. Expected post-submission states are APPROVED (when the action is APPROVED) or REJECTED (when the action is REJECTED); PENDING is not returned from this operation, and REVOKED and REDEEMED are reachable only via subsequent reads.</p>
7278
+ * @public
7279
+ */
7280
+ status: ApprovalStatus | undefined;
7281
+ /**
7282
+ * <p>Absolute timestamp at which the approval expires. Set when status is APPROVED (computed as the submission time plus ttlSeconds); absent when status is REJECTED.</p>
7283
+ * @public
7284
+ */
7285
+ expiresAt?: Date | undefined;
7286
+ }
7083
7287
  /**
7084
7288
  * <p>Request structure for updating an asset</p>
7085
7289
  * @public
@@ -18,6 +18,8 @@ export declare var ValidationException$: StaticErrorSchema;
18
18
  */
19
19
  export declare const errorTypeRegistries: TypeRegistry[];
20
20
  export declare var AgentSpace$: StaticStructureSchema;
21
+ export declare var ApprovalAction$: StaticStructureSchema;
22
+ export declare var ApprovalPattern$: StaticStructureSchema;
21
23
  export declare var Asset$: StaticStructureSchema;
22
24
  export declare var AssetFile$: StaticStructureSchema;
23
25
  export declare var AssetFileContent$: StaticStructureSchema;
@@ -159,6 +161,7 @@ export declare var MCPServerSigV4AuthorizationConfig$: StaticStructureSchema;
159
161
  export declare var MCPServerSigV4Configuration$: StaticStructureSchema;
160
162
  export declare var MCPServerSigV4ServiceDetails$: StaticStructureSchema;
161
163
  export declare var MCPServerSplunkConfiguration$: StaticStructureSchema;
164
+ export declare var MCPToolDetail$: StaticStructureSchema;
162
165
  export declare var NewRelicApiKeyConfig$: StaticStructureSchema;
163
166
  export declare var NewRelicServiceDetails$: StaticStructureSchema;
164
167
  export declare var OAuthAdditionalStepDetails$: StaticStructureSchema;
@@ -229,6 +232,8 @@ export declare var UntagResourceRequest$: StaticStructureSchema;
229
232
  export declare var UntagResourceResponse$: StaticStructureSchema;
230
233
  export declare var UpdateAgentSpaceInput$: StaticStructureSchema;
231
234
  export declare var UpdateAgentSpaceOutput$: StaticStructureSchema;
235
+ export declare var UpdateApprovalActionRequest$: StaticStructureSchema;
236
+ export declare var UpdateApprovalActionResponse$: StaticStructureSchema;
232
237
  export declare var UpdateAssetFileRequest$: StaticStructureSchema;
233
238
  export declare var UpdateAssetFileResponse$: StaticStructureSchema;
234
239
  export declare var UpdateAssetRequest$: StaticStructureSchema;
@@ -325,6 +330,7 @@ export declare var SendMessage$: StaticOperationSchema;
325
330
  export declare var TagResource$: StaticOperationSchema;
326
331
  export declare var UntagResource$: StaticOperationSchema;
327
332
  export declare var UpdateAgentSpace$: StaticOperationSchema;
333
+ export declare var UpdateApprovalAction$: StaticOperationSchema;
328
334
  export declare var UpdateAsset$: StaticOperationSchema;
329
335
  export declare var UpdateAssetFile$: StaticOperationSchema;
330
336
  export declare var UpdateAssociation$: StaticOperationSchema;
@@ -178,6 +178,10 @@ import {
178
178
  UpdateAgentSpaceCommandInput,
179
179
  UpdateAgentSpaceCommandOutput,
180
180
  } from "./commands/UpdateAgentSpaceCommand";
181
+ import {
182
+ UpdateApprovalActionCommandInput,
183
+ UpdateApprovalActionCommandOutput,
184
+ } from "./commands/UpdateApprovalActionCommand";
181
185
  import { UpdateAssetCommandInput, UpdateAssetCommandOutput } from "./commands/UpdateAssetCommand";
182
186
  import {
183
187
  UpdateAssetFileCommandInput,
@@ -892,6 +896,19 @@ export interface DevOpsAgent {
892
896
  options: __HttpHandlerOptions,
893
897
  cb: (err: any, data?: UpdateAgentSpaceCommandOutput) => void,
894
898
  ): void;
899
+ updateApprovalAction(
900
+ args: UpdateApprovalActionCommandInput,
901
+ options?: __HttpHandlerOptions,
902
+ ): Promise<UpdateApprovalActionCommandOutput>;
903
+ updateApprovalAction(
904
+ args: UpdateApprovalActionCommandInput,
905
+ cb: (err: any, data?: UpdateApprovalActionCommandOutput) => void,
906
+ ): void;
907
+ updateApprovalAction(
908
+ args: UpdateApprovalActionCommandInput,
909
+ options: __HttpHandlerOptions,
910
+ cb: (err: any, data?: UpdateApprovalActionCommandOutput) => void,
911
+ ): void;
895
912
  updateAsset(
896
913
  args: UpdateAssetCommandInput,
897
914
  options?: __HttpHandlerOptions,
@@ -213,6 +213,10 @@ import {
213
213
  UpdateAgentSpaceCommandInput,
214
214
  UpdateAgentSpaceCommandOutput,
215
215
  } from "./commands/UpdateAgentSpaceCommand";
216
+ import {
217
+ UpdateApprovalActionCommandInput,
218
+ UpdateApprovalActionCommandOutput,
219
+ } from "./commands/UpdateApprovalActionCommand";
216
220
  import { UpdateAssetCommandInput, UpdateAssetCommandOutput } from "./commands/UpdateAssetCommand";
217
221
  import {
218
222
  UpdateAssetFileCommandInput,
@@ -307,6 +311,7 @@ export type ServiceInputTypes =
307
311
  | TagResourceCommandInput
308
312
  | UntagResourceCommandInput
309
313
  | UpdateAgentSpaceCommandInput
314
+ | UpdateApprovalActionCommandInput
310
315
  | UpdateAssetCommandInput
311
316
  | UpdateAssetFileCommandInput
312
317
  | UpdateAssociationCommandInput
@@ -370,6 +375,7 @@ export type ServiceOutputTypes =
370
375
  | TagResourceCommandOutput
371
376
  | UntagResourceCommandOutput
372
377
  | UpdateAgentSpaceCommandOutput
378
+ | UpdateApprovalActionCommandOutput
373
379
  | UpdateAssetCommandOutput
374
380
  | UpdateAssetFileCommandOutput
375
381
  | UpdateAssociationCommandOutput
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { UpdateApprovalActionRequest, UpdateApprovalActionResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface UpdateApprovalActionCommandInput extends UpdateApprovalActionRequest {}
5
+ export interface UpdateApprovalActionCommandOutput
6
+ extends UpdateApprovalActionResponse, __MetadataBearer {}
7
+ declare const UpdateApprovalActionCommand_base: {
8
+ new (
9
+ input: UpdateApprovalActionCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ UpdateApprovalActionCommandInput,
12
+ UpdateApprovalActionCommandOutput,
13
+ import("..").DevOpsAgentClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: UpdateApprovalActionCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ UpdateApprovalActionCommandInput,
21
+ UpdateApprovalActionCommandOutput,
22
+ import("..").DevOpsAgentClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class UpdateApprovalActionCommand extends UpdateApprovalActionCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: UpdateApprovalActionRequest;
32
+ output: UpdateApprovalActionResponse;
33
+ };
34
+ sdk: {
35
+ input: UpdateApprovalActionCommandInput;
36
+ output: UpdateApprovalActionCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -50,6 +50,7 @@ export * from "./SendMessageCommand";
50
50
  export * from "./TagResourceCommand";
51
51
  export * from "./UntagResourceCommand";
52
52
  export * from "./UpdateAgentSpaceCommand";
53
+ export * from "./UpdateApprovalActionCommand";
53
54
  export * from "./UpdateAssetCommand";
54
55
  export * from "./UpdateAssetFileCommand";
55
56
  export * from "./UpdateAssociationCommand";
@@ -18,6 +18,7 @@ export type MCPServerAuthorizationMethod =
18
18
  (typeof MCPServerAuthorizationMethod)[keyof typeof MCPServerAuthorizationMethod];
19
19
  export declare const NewRelicRegion: {
20
20
  readonly EU: "EU";
21
+ readonly JP: "JP";
21
22
  readonly US: "US";
22
23
  };
23
24
  export type NewRelicRegion = (typeof NewRelicRegion)[keyof typeof NewRelicRegion];
@@ -28,6 +29,11 @@ export declare const RemoteAgentAuthorizationMethod: {
28
29
  };
29
30
  export type RemoteAgentAuthorizationMethod =
30
31
  (typeof RemoteAgentAuthorizationMethod)[keyof typeof RemoteAgentAuthorizationMethod];
32
+ export declare const AgentSpacePreferenceKey: {
33
+ readonly ELEVATED_ACTIONS_ENABLED: "elevatedActionsEnabled";
34
+ };
35
+ export type AgentSpacePreferenceKey =
36
+ (typeof AgentSpacePreferenceKey)[keyof typeof AgentSpacePreferenceKey];
31
37
  export declare const CapabilityType: {
32
38
  readonly RELEASE_READINESS_REVIEW: "RELEASE_READINESS_REVIEW";
33
39
  readonly RELEASE_READINESS_REVIEW_AUTOMATED_TESTING: "RELEASE_READINESS_REVIEW_AUTOMATED_TESTING";
@@ -37,16 +43,22 @@ export declare const MonitorAccountType: {
37
43
  readonly MONITOR: "monitor";
38
44
  };
39
45
  export type MonitorAccountType = (typeof MonitorAccountType)[keyof typeof MonitorAccountType];
40
- export declare const SourceAccountType: {
41
- readonly SOURCE: "source";
42
- };
43
- export type SourceAccountType = (typeof SourceAccountType)[keyof typeof SourceAccountType];
44
46
  export declare const ValidationStatus: {
45
47
  readonly INVALID: "invalid";
46
48
  readonly PENDING_CONFIRMATION: "pending-confirmation";
47
49
  readonly VALID: "valid";
48
50
  };
49
51
  export type ValidationStatus = (typeof ValidationStatus)[keyof typeof ValidationStatus];
52
+ export declare const ToolClassification: {
53
+ readonly DESTRUCTIVE: "DESTRUCTIVE";
54
+ readonly MUTATIVE: "MUTATIVE";
55
+ readonly READ_ONLY: "READ_ONLY";
56
+ };
57
+ export type ToolClassification = (typeof ToolClassification)[keyof typeof ToolClassification];
58
+ export declare const SourceAccountType: {
59
+ readonly SOURCE: "source";
60
+ };
61
+ export type SourceAccountType = (typeof SourceAccountType)[keyof typeof SourceAccountType];
50
62
  export declare const WebhookType: {
51
63
  readonly API_KEY: "apikey";
52
64
  readonly GITLAB: "gitlab";
@@ -60,6 +72,19 @@ export declare const AuthFlow: {
60
72
  readonly IDP: "idp";
61
73
  };
62
74
  export type AuthFlow = (typeof AuthFlow)[keyof typeof AuthFlow];
75
+ export declare const ApprovalActionType: {
76
+ readonly APPROVED: "APPROVED";
77
+ readonly REJECTED: "REJECTED";
78
+ };
79
+ export type ApprovalActionType = (typeof ApprovalActionType)[keyof typeof ApprovalActionType];
80
+ export declare const ApprovalStatus: {
81
+ readonly APPROVED: "APPROVED";
82
+ readonly PENDING: "PENDING";
83
+ readonly REDEEMED: "REDEEMED";
84
+ readonly REJECTED: "REJECTED";
85
+ readonly REVOKED: "REVOKED";
86
+ };
87
+ export type ApprovalStatus = (typeof ApprovalStatus)[keyof typeof ApprovalStatus];
63
88
  export declare const Priority: {
64
89
  readonly CRITICAL: "CRITICAL";
65
90
  readonly HIGH: "HIGH";
@@ -86,6 +111,7 @@ export declare const TaskStatus: {
86
111
  readonly PENDING_TRIAGE: "PENDING_TRIAGE";
87
112
  readonly SKIPPED: "SKIPPED";
88
113
  readonly TIMED_OUT: "TIMED_OUT";
114
+ readonly WAITING: "WAITING";
89
115
  };
90
116
  export type TaskStatus = (typeof TaskStatus)[keyof typeof TaskStatus];
91
117
  export declare const UserType: {
@@ -153,6 +179,7 @@ export declare const ExecutionStatus: {
153
179
  readonly RUNNING: "RUNNING";
154
180
  readonly STOPPED: "STOPPED";
155
181
  readonly TIMED_OUT: "TIMED_OUT";
182
+ readonly WAITING: "WAITING";
156
183
  };
157
184
  export type ExecutionStatus = (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
158
185
  export declare const GoalType: {