@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
@@ -51,6 +51,7 @@ import { SendMessageCommand, } from "./commands/SendMessageCommand";
51
51
  import { TagResourceCommand, } from "./commands/TagResourceCommand";
52
52
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
53
53
  import { UpdateAgentSpaceCommand, } from "./commands/UpdateAgentSpaceCommand";
54
+ import { UpdateApprovalActionCommand, } from "./commands/UpdateApprovalActionCommand";
54
55
  import { UpdateAssetCommand, } from "./commands/UpdateAssetCommand";
55
56
  import { UpdateAssetFileCommand, } from "./commands/UpdateAssetFileCommand";
56
57
  import { UpdateAssociationCommand, } from "./commands/UpdateAssociationCommand";
@@ -127,6 +128,7 @@ const commands = {
127
128
  TagResourceCommand,
128
129
  UntagResourceCommand,
129
130
  UpdateAgentSpaceCommand,
131
+ UpdateApprovalActionCommand,
130
132
  UpdateAssetCommand,
131
133
  UpdateAssetFileCommand,
132
134
  UpdateAssociationCommand,
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { UpdateApprovalAction$ } from "../schemas/schemas_0";
3
+ export class UpdateApprovalActionCommand extends command(_ep0, _mw0, "UpdateApprovalAction", UpdateApprovalAction$) {
4
+ }
@@ -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";
@@ -14,6 +14,7 @@ export const MCPServerAuthorizationMethod = {
14
14
  };
15
15
  export const NewRelicRegion = {
16
16
  EU: "EU",
17
+ JP: "JP",
17
18
  US: "US",
18
19
  };
19
20
  export const RemoteAgentAuthorizationMethod = {
@@ -21,21 +22,33 @@ export const RemoteAgentAuthorizationMethod = {
21
22
  BEARER_TOKEN: "bearer-token",
22
23
  OAUTH_CLIENT_CREDENTIALS: "oauth-client-credentials",
23
24
  };
25
+ export const AgentSpacePreferenceKey = {
26
+ ELEVATED_ACTIONS_ENABLED: "elevatedActionsEnabled",
27
+ };
24
28
  export const CapabilityType = {
25
29
  RELEASE_READINESS_REVIEW: "RELEASE_READINESS_REVIEW",
26
30
  RELEASE_READINESS_REVIEW_AUTOMATED_TESTING: "RELEASE_READINESS_REVIEW_AUTOMATED_TESTING",
27
31
  };
32
+ export const TriggerEvent = {
33
+ PULL_REQUEST_DRAFT: "PULL_REQUEST_DRAFT",
34
+ PULL_REQUEST_READY_FOR_REVIEW: "PULL_REQUEST_READY_FOR_REVIEW",
35
+ };
28
36
  export const MonitorAccountType = {
29
37
  MONITOR: "monitor",
30
38
  };
31
- export const SourceAccountType = {
32
- SOURCE: "source",
33
- };
34
39
  export const ValidationStatus = {
35
40
  INVALID: "invalid",
36
41
  PENDING_CONFIRMATION: "pending-confirmation",
37
42
  VALID: "valid",
38
43
  };
44
+ export const ToolClassification = {
45
+ DESTRUCTIVE: "DESTRUCTIVE",
46
+ MUTATIVE: "MUTATIVE",
47
+ READ_ONLY: "READ_ONLY",
48
+ };
49
+ export const SourceAccountType = {
50
+ SOURCE: "source",
51
+ };
39
52
  export const WebhookType = {
40
53
  API_KEY: "apikey",
41
54
  GITLAB: "gitlab",
@@ -47,6 +60,17 @@ export const AuthFlow = {
47
60
  IDC: "idc",
48
61
  IDP: "idp",
49
62
  };
63
+ export const ApprovalActionType = {
64
+ APPROVED: "APPROVED",
65
+ REJECTED: "REJECTED",
66
+ };
67
+ export const ApprovalStatus = {
68
+ APPROVED: "APPROVED",
69
+ PENDING: "PENDING",
70
+ REDEEMED: "REDEEMED",
71
+ REJECTED: "REJECTED",
72
+ REVOKED: "REVOKED",
73
+ };
50
74
  export const Priority = {
51
75
  CRITICAL: "CRITICAL",
52
76
  HIGH: "HIGH",
@@ -71,6 +95,7 @@ export const TaskStatus = {
71
95
  PENDING_TRIAGE: "PENDING_TRIAGE",
72
96
  SKIPPED: "SKIPPED",
73
97
  TIMED_OUT: "TIMED_OUT",
98
+ WAITING: "WAITING",
74
99
  };
75
100
  export const UserType = {
76
101
  IAM: "IAM",
@@ -124,6 +149,7 @@ export const ExecutionStatus = {
124
149
  RUNNING: "RUNNING",
125
150
  STOPPED: "STOPPED",
126
151
  TIMED_OUT: "TIMED_OUT",
152
+ WAITING: "WAITING",
127
153
  };
128
154
  export const GoalType = {
129
155
  CUSTOMER_DEFINED: "CUSTOMER_DEFINED",