@aws-sdk/client-devops-agent 3.1117.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
@@ -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,6 +22,9 @@ 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",
@@ -28,14 +32,19 @@ export const CapabilityType = {
28
32
  export const MonitorAccountType = {
29
33
  MONITOR: "monitor",
30
34
  };
31
- export const SourceAccountType = {
32
- SOURCE: "source",
33
- };
34
35
  export const ValidationStatus = {
35
36
  INVALID: "invalid",
36
37
  PENDING_CONFIRMATION: "pending-confirmation",
37
38
  VALID: "valid",
38
39
  };
40
+ export const ToolClassification = {
41
+ DESTRUCTIVE: "DESTRUCTIVE",
42
+ MUTATIVE: "MUTATIVE",
43
+ READ_ONLY: "READ_ONLY",
44
+ };
45
+ export const SourceAccountType = {
46
+ SOURCE: "source",
47
+ };
39
48
  export const WebhookType = {
40
49
  API_KEY: "apikey",
41
50
  GITLAB: "gitlab",
@@ -47,6 +56,17 @@ export const AuthFlow = {
47
56
  IDC: "idc",
48
57
  IDP: "idp",
49
58
  };
59
+ export const ApprovalActionType = {
60
+ APPROVED: "APPROVED",
61
+ REJECTED: "REJECTED",
62
+ };
63
+ export const ApprovalStatus = {
64
+ APPROVED: "APPROVED",
65
+ PENDING: "PENDING",
66
+ REDEEMED: "REDEEMED",
67
+ REJECTED: "REJECTED",
68
+ REVOKED: "REVOKED",
69
+ };
50
70
  export const Priority = {
51
71
  CRITICAL: "CRITICAL",
52
72
  HIGH: "HIGH",
@@ -71,6 +91,7 @@ export const TaskStatus = {
71
91
  PENDING_TRIAGE: "PENDING_TRIAGE",
72
92
  SKIPPED: "SKIPPED",
73
93
  TIMED_OUT: "TIMED_OUT",
94
+ WAITING: "WAITING",
74
95
  };
75
96
  export const UserType = {
76
97
  IAM: "IAM",
@@ -124,6 +145,7 @@ export const ExecutionStatus = {
124
145
  RUNNING: "RUNNING",
125
146
  STOPPED: "STOPPED",
126
147
  TIMED_OUT: "TIMED_OUT",
148
+ WAITING: "WAITING",
127
149
  };
128
150
  export const GoalType = {
129
151
  CUSTOMER_DEFINED: "CUSTOMER_DEFINED",