@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,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,7 @@ import {
28
31
  TaskSortOrder,
29
32
  TaskStatus,
30
33
  TaskType,
34
+ ToolClassification,
31
35
  UserType,
32
36
  ValidationStatus,
33
37
  WebhookType,
@@ -455,6 +459,7 @@ export interface AgentSpace {
455
459
  updatedAt: Date | undefined;
456
460
  kmsKeyArn?: string | undefined;
457
461
  agentSpaceId: string | undefined;
462
+ preferences?: Partial<Record<AgentSpacePreferenceKey, boolean>> | undefined;
458
463
  }
459
464
  export interface CapabilityConfiguration {
460
465
  enabled?: boolean | undefined;
@@ -463,6 +468,8 @@ export interface AWSConfiguration {
463
468
  assumableRoleArn: string | undefined;
464
469
  accountId: string | undefined;
465
470
  accountType: MonitorAccountType | undefined;
471
+ agentElevatedRoleArn?: string | undefined;
472
+ agentElevatedRoleArnStatus?: ValidationStatus | undefined;
466
473
  }
467
474
  export interface AzureConfiguration {
468
475
  subscriptionId: string | undefined;
@@ -491,14 +498,22 @@ export interface GitLabConfiguration {
491
498
  instanceIdentifier?: string | undefined;
492
499
  runtimeRoleArn?: string | undefined;
493
500
  }
501
+ export interface MCPToolDetail {
502
+ name: string | undefined;
503
+ toolClassification?: ToolClassification | undefined;
504
+ }
494
505
  export interface MCPServerConfiguration {
495
506
  tools: string[] | undefined;
507
+ toolDetails?: MCPToolDetail[] | undefined;
508
+ }
509
+ export interface MCPServerDatadogConfiguration {
510
+ enabledElevatedTools?: MCPToolDetail[] | undefined;
496
511
  }
497
- export interface MCPServerDatadogConfiguration {}
498
512
  export interface MCPServerGrafanaConfiguration {
499
513
  endpoint: string | undefined;
500
514
  organizationId?: string | undefined;
501
515
  tools?: string[] | undefined;
516
+ enabledElevatedTools?: MCPToolDetail[] | undefined;
502
517
  }
503
518
  export interface MCPServerNewRelicConfiguration {
504
519
  accountId: string | undefined;
@@ -506,6 +521,7 @@ export interface MCPServerNewRelicConfiguration {
506
521
  }
507
522
  export interface MCPServerSigV4Configuration {
508
523
  tools: string[] | undefined;
524
+ toolDetails?: MCPToolDetail[] | undefined;
509
525
  }
510
526
  export interface MCPServerSplunkConfiguration {}
511
527
  export interface PagerDutyConfiguration {
@@ -536,6 +552,8 @@ export interface SourceAwsConfiguration {
536
552
  accountType: SourceAccountType | undefined;
537
553
  assumableRoleArn: string | undefined;
538
554
  externalId?: string | undefined;
555
+ agentElevatedRoleArn?: string | undefined;
556
+ agentElevatedRoleArnStatus?: ValidationStatus | undefined;
539
557
  }
540
558
  export type ServiceConfiguration =
541
559
  | ServiceConfiguration.AwsMember
@@ -1108,6 +1126,7 @@ export interface CreateAgentSpaceInput {
1108
1126
  kmsKeyArn?: string | undefined;
1109
1127
  clientToken?: string | undefined;
1110
1128
  tags?: Record<string, string> | undefined;
1129
+ preferences?: Partial<Record<AgentSpacePreferenceKey, boolean>> | undefined;
1111
1130
  }
1112
1131
  export interface CreateAgentSpaceOutput {
1113
1132
  agentSpace: AgentSpace | undefined;
@@ -1187,6 +1206,7 @@ export interface UpdateAgentSpaceInput {
1187
1206
  name?: string | undefined;
1188
1207
  description?: string | undefined;
1189
1208
  locale?: string | undefined;
1209
+ preferences?: Partial<Record<AgentSpacePreferenceKey, boolean>> | undefined;
1190
1210
  }
1191
1211
  export interface UpdateAgentSpaceOutput {
1192
1212
  agentSpace: AgentSpace | undefined;
@@ -1199,6 +1219,17 @@ export interface UpdateOperatorAppIdpConfigOutput {
1199
1219
  agentSpaceId: string | undefined;
1200
1220
  idp: IdpAuthConfiguration | undefined;
1201
1221
  }
1222
+ export interface ApprovalAction {
1223
+ toolUseId?: string | undefined;
1224
+ interruptId?: string | undefined;
1225
+ approvalId?: string | undefined;
1226
+ buttonText?: string | undefined;
1227
+ action?: ApprovalActionType | undefined;
1228
+ }
1229
+ export interface ApprovalPattern {
1230
+ tool: string | undefined;
1231
+ argumentPins: Record<string, string> | undefined;
1232
+ }
1202
1233
  export interface Asset {
1203
1234
  assetId: string | undefined;
1204
1235
  assetType: string | undefined;
@@ -1943,6 +1974,7 @@ export interface SendMessageContext {
1943
1974
  currentPage?: string | undefined;
1944
1975
  lastMessage?: string | undefined;
1945
1976
  userActionResponse?: string | undefined;
1977
+ approvalAction?: ApprovalAction | undefined;
1946
1978
  }
1947
1979
  export interface SendMessageRequest {
1948
1980
  agentSpaceId: string | undefined;
@@ -1951,6 +1983,7 @@ export interface SendMessageRequest {
1951
1983
  context?: SendMessageContext | undefined;
1952
1984
  userId?: string | undefined;
1953
1985
  assetIds?: string[] | undefined;
1986
+ modelTier?: string | undefined;
1954
1987
  }
1955
1988
  export interface SendMessageJsonDelta {
1956
1989
  partialJson?: string | undefined;
@@ -2191,6 +2224,8 @@ export interface RegisteredService {
2191
2224
  additionalServiceDetails?: AdditionalServiceDetails | undefined;
2192
2225
  kmsKeyArn?: string | undefined;
2193
2226
  privateConnectionName?: string | undefined;
2227
+ createdAt: Date | undefined;
2228
+ updatedAt: Date | undefined;
2194
2229
  }
2195
2230
  export interface GetServiceOutput {
2196
2231
  service: RegisteredService | undefined;
@@ -2830,6 +2865,20 @@ export interface UntagResourceRequest {
2830
2865
  tagKeys: string[] | undefined;
2831
2866
  }
2832
2867
  export interface UntagResourceResponse {}
2868
+ export interface UpdateApprovalActionRequest {
2869
+ agentSpaceId: string | undefined;
2870
+ approvalId: string | undefined;
2871
+ action: ApprovalActionType | undefined;
2872
+ finalPattern?: ApprovalPattern | undefined;
2873
+ reason?: string | undefined;
2874
+ ttlSeconds?: number | undefined;
2875
+ singleUse?: boolean | undefined;
2876
+ }
2877
+ export interface UpdateApprovalActionResponse {
2878
+ approvalId: string | undefined;
2879
+ status: ApprovalStatus | undefined;
2880
+ expiresAt?: Date | undefined;
2881
+ }
2833
2882
  export interface UpdateAssetRequest {
2834
2883
  agentSpaceId: string | undefined;
2835
2884
  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,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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-devops-agent",
3
- "version": "3.1116.0",
3
+ "version": "3.1118.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",