@aws-sdk/client-devops-agent 3.1117.0 → 3.1119.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 +230 -106
  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 +29 -3
  7. package/dist-es/schemas/schemas_0.js +186 -102
  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 +84 -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 +42 -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 +42 -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 +84 -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 +99 -6
  31. package/dist-types/models/models_0.d.ts +243 -7
  32. package/dist-types/schemas/schemas_0.d.ts +8 -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 +36 -4
  38. package/dist-types/ts3.4/models/models_0.d.ts +59 -1
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  40. package/package.json +1 -1
@@ -1,5 +1,8 @@
1
1
  import { DocumentType as __DocumentType } from "@smithy/types";
2
2
  import {
3
+ AgentSpacePreferenceKey,
4
+ ApprovalActionType,
5
+ ApprovalStatus,
3
6
  AuthFlow,
4
7
  CapabilityType,
5
8
  EventChannelType,
@@ -28,6 +31,8 @@ import {
28
31
  TaskSortOrder,
29
32
  TaskStatus,
30
33
  TaskType,
34
+ ToolClassification,
35
+ TriggerEvent,
31
36
  UserType,
32
37
  ValidationStatus,
33
38
  WebhookType,
@@ -455,14 +460,25 @@ export interface AgentSpace {
455
460
  updatedAt: Date | undefined;
456
461
  kmsKeyArn?: string | undefined;
457
462
  agentSpaceId: string | undefined;
463
+ preferences?: Partial<Record<AgentSpacePreferenceKey, boolean>> | undefined;
464
+ }
465
+ export interface PatternFilter {
466
+ patterns: string[] | undefined;
467
+ }
468
+ export interface TriggerFilterGroup {
469
+ events?: TriggerEvent[] | undefined;
470
+ targetBranches?: PatternFilter | undefined;
458
471
  }
459
472
  export interface CapabilityConfiguration {
460
473
  enabled?: boolean | undefined;
474
+ triggerFilterGroups?: TriggerFilterGroup[] | undefined;
461
475
  }
462
476
  export interface AWSConfiguration {
463
477
  assumableRoleArn: string | undefined;
464
478
  accountId: string | undefined;
465
479
  accountType: MonitorAccountType | undefined;
480
+ agentElevatedRoleArn?: string | undefined;
481
+ agentElevatedRoleArnStatus?: ValidationStatus | undefined;
466
482
  }
467
483
  export interface AzureConfiguration {
468
484
  subscriptionId: string | undefined;
@@ -491,14 +507,22 @@ export interface GitLabConfiguration {
491
507
  instanceIdentifier?: string | undefined;
492
508
  runtimeRoleArn?: string | undefined;
493
509
  }
510
+ export interface MCPToolDetail {
511
+ name: string | undefined;
512
+ toolClassification?: ToolClassification | undefined;
513
+ }
494
514
  export interface MCPServerConfiguration {
495
515
  tools: string[] | undefined;
516
+ toolDetails?: MCPToolDetail[] | undefined;
517
+ }
518
+ export interface MCPServerDatadogConfiguration {
519
+ enabledElevatedTools?: MCPToolDetail[] | undefined;
496
520
  }
497
- export interface MCPServerDatadogConfiguration {}
498
521
  export interface MCPServerGrafanaConfiguration {
499
522
  endpoint: string | undefined;
500
523
  organizationId?: string | undefined;
501
524
  tools?: string[] | undefined;
525
+ enabledElevatedTools?: MCPToolDetail[] | undefined;
502
526
  }
503
527
  export interface MCPServerNewRelicConfiguration {
504
528
  accountId: string | undefined;
@@ -506,6 +530,7 @@ export interface MCPServerNewRelicConfiguration {
506
530
  }
507
531
  export interface MCPServerSigV4Configuration {
508
532
  tools: string[] | undefined;
533
+ toolDetails?: MCPToolDetail[] | undefined;
509
534
  }
510
535
  export interface MCPServerSplunkConfiguration {}
511
536
  export interface PagerDutyConfiguration {
@@ -536,6 +561,8 @@ export interface SourceAwsConfiguration {
536
561
  accountType: SourceAccountType | undefined;
537
562
  assumableRoleArn: string | undefined;
538
563
  externalId?: string | undefined;
564
+ agentElevatedRoleArn?: string | undefined;
565
+ agentElevatedRoleArnStatus?: ValidationStatus | undefined;
539
566
  }
540
567
  export type ServiceConfiguration =
541
568
  | ServiceConfiguration.AwsMember
@@ -1108,6 +1135,7 @@ export interface CreateAgentSpaceInput {
1108
1135
  kmsKeyArn?: string | undefined;
1109
1136
  clientToken?: string | undefined;
1110
1137
  tags?: Record<string, string> | undefined;
1138
+ preferences?: Partial<Record<AgentSpacePreferenceKey, boolean>> | undefined;
1111
1139
  }
1112
1140
  export interface CreateAgentSpaceOutput {
1113
1141
  agentSpace: AgentSpace | undefined;
@@ -1187,6 +1215,7 @@ export interface UpdateAgentSpaceInput {
1187
1215
  name?: string | undefined;
1188
1216
  description?: string | undefined;
1189
1217
  locale?: string | undefined;
1218
+ preferences?: Partial<Record<AgentSpacePreferenceKey, boolean>> | undefined;
1190
1219
  }
1191
1220
  export interface UpdateAgentSpaceOutput {
1192
1221
  agentSpace: AgentSpace | undefined;
@@ -1199,6 +1228,17 @@ export interface UpdateOperatorAppIdpConfigOutput {
1199
1228
  agentSpaceId: string | undefined;
1200
1229
  idp: IdpAuthConfiguration | undefined;
1201
1230
  }
1231
+ export interface ApprovalAction {
1232
+ toolUseId?: string | undefined;
1233
+ interruptId?: string | undefined;
1234
+ approvalId?: string | undefined;
1235
+ buttonText?: string | undefined;
1236
+ action?: ApprovalActionType | undefined;
1237
+ }
1238
+ export interface ApprovalPattern {
1239
+ tool: string | undefined;
1240
+ argumentPins: Record<string, string> | undefined;
1241
+ }
1202
1242
  export interface Asset {
1203
1243
  assetId: string | undefined;
1204
1244
  assetType: string | undefined;
@@ -1943,6 +1983,7 @@ export interface SendMessageContext {
1943
1983
  currentPage?: string | undefined;
1944
1984
  lastMessage?: string | undefined;
1945
1985
  userActionResponse?: string | undefined;
1986
+ approvalAction?: ApprovalAction | undefined;
1946
1987
  }
1947
1988
  export interface SendMessageRequest {
1948
1989
  agentSpaceId: string | undefined;
@@ -1951,6 +1992,7 @@ export interface SendMessageRequest {
1951
1992
  context?: SendMessageContext | undefined;
1952
1993
  userId?: string | undefined;
1953
1994
  assetIds?: string[] | undefined;
1995
+ modelTier?: string | undefined;
1954
1996
  }
1955
1997
  export interface SendMessageJsonDelta {
1956
1998
  partialJson?: string | undefined;
@@ -2191,6 +2233,8 @@ export interface RegisteredService {
2191
2233
  additionalServiceDetails?: AdditionalServiceDetails | undefined;
2192
2234
  kmsKeyArn?: string | undefined;
2193
2235
  privateConnectionName?: string | undefined;
2236
+ createdAt: Date | undefined;
2237
+ updatedAt: Date | undefined;
2194
2238
  }
2195
2239
  export interface GetServiceOutput {
2196
2240
  service: RegisteredService | undefined;
@@ -2830,6 +2874,20 @@ export interface UntagResourceRequest {
2830
2874
  tagKeys: string[] | undefined;
2831
2875
  }
2832
2876
  export interface UntagResourceResponse {}
2877
+ export interface UpdateApprovalActionRequest {
2878
+ agentSpaceId: string | undefined;
2879
+ approvalId: string | undefined;
2880
+ action: ApprovalActionType | undefined;
2881
+ finalPattern?: ApprovalPattern | undefined;
2882
+ reason?: string | undefined;
2883
+ ttlSeconds?: number | undefined;
2884
+ singleUse?: boolean | undefined;
2885
+ }
2886
+ export interface UpdateApprovalActionResponse {
2887
+ approvalId: string | undefined;
2888
+ status: ApprovalStatus | undefined;
2889
+ expiresAt?: Date | undefined;
2890
+ }
2833
2891
  export interface UpdateAssetRequest {
2834
2892
  agentSpaceId: string | undefined;
2835
2893
  assetId: string | undefined;
@@ -18,6 +18,8 @@ export declare var ThrottlingException$: StaticErrorSchema;
18
18
  export declare var ValidationException$: StaticErrorSchema;
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,12 +161,14 @@ 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;
165
168
  export declare var PagerDutyConfiguration$: StaticStructureSchema;
166
169
  export declare var PagerDutyDetails$: StaticStructureSchema;
167
170
  export declare var PagerDutyOAuthClientCredentialsConfig$: StaticStructureSchema;
171
+ export declare var PatternFilter$: StaticStructureSchema;
168
172
  export declare var PendingMessage$: StaticStructureSchema;
169
173
  export declare var PrivateConnectionSummary$: StaticStructureSchema;
170
174
  export declare var Recommendation$: StaticStructureSchema;
@@ -225,10 +229,13 @@ export declare var TagResourceResponse$: StaticStructureSchema;
225
229
  export declare var Task$: StaticStructureSchema;
226
230
  export declare var TaskFilter$: StaticStructureSchema;
227
231
  export declare var Trigger$: StaticStructureSchema;
232
+ export declare var TriggerFilterGroup$: StaticStructureSchema;
228
233
  export declare var UntagResourceRequest$: StaticStructureSchema;
229
234
  export declare var UntagResourceResponse$: StaticStructureSchema;
230
235
  export declare var UpdateAgentSpaceInput$: StaticStructureSchema;
231
236
  export declare var UpdateAgentSpaceOutput$: StaticStructureSchema;
237
+ export declare var UpdateApprovalActionRequest$: StaticStructureSchema;
238
+ export declare var UpdateApprovalActionResponse$: StaticStructureSchema;
232
239
  export declare var UpdateAssetFileRequest$: StaticStructureSchema;
233
240
  export declare var UpdateAssetFileResponse$: StaticStructureSchema;
234
241
  export declare var UpdateAssetRequest$: StaticStructureSchema;
@@ -325,6 +332,7 @@ export declare var SendMessage$: StaticOperationSchema;
325
332
  export declare var TagResource$: StaticOperationSchema;
326
333
  export declare var UntagResource$: StaticOperationSchema;
327
334
  export declare var UpdateAgentSpace$: StaticOperationSchema;
335
+ export declare var UpdateApprovalAction$: StaticOperationSchema;
328
336
  export declare var UpdateAsset$: StaticOperationSchema;
329
337
  export declare var UpdateAssetFile$: StaticOperationSchema;
330
338
  export declare var UpdateAssociation$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-devops-agent",
3
- "version": "3.1117.0",
3
+ "version": "3.1119.0",
4
4
  "description": "AWS SDK for JavaScript Devops Agent Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-devops-agent",
6
6
  "license": "Apache-2.0",