@wildix/wilma-agents-client 1.0.1 → 1.0.2

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 (72) hide show
  1. package/dist-cjs/WilmaAgents.js +12 -20
  2. package/dist-cjs/commands/{DeleteGuardrailCommand.js → CreateAgentDeploymentCommand.js} +6 -6
  3. package/dist-cjs/commands/{ExecuteAgentCommand.js → DeleteAgentDeploymentCommand.js} +6 -6
  4. package/dist-cjs/commands/{CreateGuardrailCommand.js → GetAgentDeploymentCommand.js} +6 -6
  5. package/dist-cjs/commands/{DeleteAgentAliasCommand.js → ListAgentDeploymentsCommand.js} +6 -6
  6. package/dist-cjs/commands/RestoreAgentVersionToDraftCommand.js +20 -0
  7. package/dist-cjs/commands/UpdateAgentDeploymentCommand.js +20 -0
  8. package/dist-cjs/commands/index.js +6 -10
  9. package/dist-cjs/models/enums.js +36 -81
  10. package/dist-cjs/models/errors.js +51 -36
  11. package/dist-cjs/schemas/schemas_0.js +358 -539
  12. package/dist-es/WilmaAgents.js +12 -20
  13. package/dist-es/commands/{DeleteAgentAliasCommand.js → CreateAgentDeploymentCommand.js} +5 -5
  14. package/dist-es/commands/{ExecuteAgentCommand.js → DeleteAgentDeploymentCommand.js} +5 -5
  15. package/dist-es/commands/{CreateGuardrailCommand.js → GetAgentDeploymentCommand.js} +5 -5
  16. package/dist-es/commands/{DeleteGuardrailCommand.js → ListAgentDeploymentsCommand.js} +5 -5
  17. package/dist-es/commands/RestoreAgentVersionToDraftCommand.js +16 -0
  18. package/dist-es/commands/UpdateAgentDeploymentCommand.js +16 -0
  19. package/dist-es/commands/index.js +6 -10
  20. package/dist-es/models/enums.js +35 -80
  21. package/dist-es/models/errors.js +42 -28
  22. package/dist-es/schemas/schemas_0.js +356 -536
  23. package/dist-types/WilmaAgents.d.ts +42 -71
  24. package/dist-types/WilmaAgentsClient.d.ts +16 -19
  25. package/dist-types/commands/CompareAgentVersionsCommand.d.ts +5 -5
  26. package/dist-types/commands/CreateAgentApiKeyCommand.d.ts +1 -3
  27. package/dist-types/commands/CreateAgentCommand.d.ts +451 -324
  28. package/dist-types/commands/CreateAgentDeploymentCommand.d.ts +116 -0
  29. package/dist-types/commands/DeleteAgentApiKeyCommand.d.ts +1 -3
  30. package/dist-types/commands/DeleteAgentCommand.d.ts +5 -4
  31. package/dist-types/commands/DeleteAgentDeploymentCommand.d.ts +83 -0
  32. package/dist-types/commands/GetAgentCommand.d.ts +237 -170
  33. package/dist-types/commands/GetAgentDeploymentCommand.d.ts +106 -0
  34. package/dist-types/commands/GetAgentVersionCommand.d.ts +219 -158
  35. package/dist-types/commands/ListAgentApiKeysCommand.d.ts +1 -3
  36. package/dist-types/commands/ListAgentDeploymentsCommand.d.ts +105 -0
  37. package/dist-types/commands/ListAgentVersionsCommand.d.ts +8 -7
  38. package/dist-types/commands/ListAgentsCommand.d.ts +241 -174
  39. package/dist-types/commands/ListAgentsNamesCommand.d.ts +6 -8
  40. package/dist-types/commands/PublishAgentVersionCommand.d.ts +221 -159
  41. package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +460 -0
  42. package/dist-types/commands/UpdateAgentCommand.d.ts +451 -324
  43. package/dist-types/commands/UpdateAgentDeploymentCommand.d.ts +120 -0
  44. package/dist-types/commands/index.d.ts +6 -10
  45. package/dist-types/index.d.ts +8 -7
  46. package/dist-types/models/enums.d.ts +126 -161
  47. package/dist-types/models/errors.d.ts +35 -22
  48. package/dist-types/models/models_0.d.ts +695 -741
  49. package/dist-types/schemas/schemas_0.d.ts +41 -61
  50. package/package.json +2 -2
  51. package/dist-cjs/commands/GetGuardrailCommand.js +0 -20
  52. package/dist-cjs/commands/ListAgentAliasesCommand.js +0 -20
  53. package/dist-cjs/commands/ListAuditRecordsCommand.js +0 -20
  54. package/dist-cjs/commands/ListGuardrailsCommand.js +0 -20
  55. package/dist-cjs/commands/PutAgentAliasCommand.js +0 -20
  56. package/dist-cjs/commands/UpdateGuardrailCommand.js +0 -20
  57. package/dist-es/commands/GetGuardrailCommand.js +0 -16
  58. package/dist-es/commands/ListAgentAliasesCommand.js +0 -16
  59. package/dist-es/commands/ListAuditRecordsCommand.js +0 -16
  60. package/dist-es/commands/ListGuardrailsCommand.js +0 -16
  61. package/dist-es/commands/PutAgentAliasCommand.js +0 -16
  62. package/dist-es/commands/UpdateGuardrailCommand.js +0 -16
  63. package/dist-types/commands/CreateGuardrailCommand.d.ts +0 -172
  64. package/dist-types/commands/DeleteAgentAliasCommand.d.ts +0 -82
  65. package/dist-types/commands/DeleteGuardrailCommand.d.ts +0 -80
  66. package/dist-types/commands/ExecuteAgentCommand.d.ts +0 -112
  67. package/dist-types/commands/GetGuardrailCommand.d.ts +0 -135
  68. package/dist-types/commands/ListAgentAliasesCommand.d.ts +0 -99
  69. package/dist-types/commands/ListAuditRecordsCommand.d.ts +0 -109
  70. package/dist-types/commands/ListGuardrailsCommand.d.ts +0 -137
  71. package/dist-types/commands/PutAgentAliasCommand.d.ts +0 -107
  72. package/dist-types/commands/UpdateGuardrailCommand.d.ts +0 -175
@@ -2,51 +2,43 @@ import { createAggregatedClient } from "@smithy/core/client";
2
2
  import { CompareAgentVersionsCommand, } from "./commands/CompareAgentVersionsCommand";
3
3
  import { CreateAgentApiKeyCommand, } from "./commands/CreateAgentApiKeyCommand";
4
4
  import { CreateAgentCommand, } from "./commands/CreateAgentCommand";
5
- import { CreateGuardrailCommand, } from "./commands/CreateGuardrailCommand";
6
- import { DeleteAgentAliasCommand, } from "./commands/DeleteAgentAliasCommand";
5
+ import { CreateAgentDeploymentCommand, } from "./commands/CreateAgentDeploymentCommand";
7
6
  import { DeleteAgentApiKeyCommand, } from "./commands/DeleteAgentApiKeyCommand";
8
7
  import { DeleteAgentCommand, } from "./commands/DeleteAgentCommand";
9
- import { DeleteGuardrailCommand, } from "./commands/DeleteGuardrailCommand";
10
- import { ExecuteAgentCommand, } from "./commands/ExecuteAgentCommand";
8
+ import { DeleteAgentDeploymentCommand, } from "./commands/DeleteAgentDeploymentCommand";
11
9
  import { GetAgentCommand } from "./commands/GetAgentCommand";
10
+ import { GetAgentDeploymentCommand, } from "./commands/GetAgentDeploymentCommand";
12
11
  import { GetAgentVersionCommand, } from "./commands/GetAgentVersionCommand";
13
- import { GetGuardrailCommand, } from "./commands/GetGuardrailCommand";
14
- import { ListAgentAliasesCommand, } from "./commands/ListAgentAliasesCommand";
15
12
  import { ListAgentApiKeysCommand, } from "./commands/ListAgentApiKeysCommand";
13
+ import { ListAgentDeploymentsCommand, } from "./commands/ListAgentDeploymentsCommand";
16
14
  import { ListAgentsCommand, } from "./commands/ListAgentsCommand";
17
15
  import { ListAgentsNamesCommand, } from "./commands/ListAgentsNamesCommand";
18
16
  import { ListAgentVersionsCommand, } from "./commands/ListAgentVersionsCommand";
19
- import { ListAuditRecordsCommand, } from "./commands/ListAuditRecordsCommand";
20
- import { ListGuardrailsCommand, } from "./commands/ListGuardrailsCommand";
21
17
  import { PublishAgentVersionCommand, } from "./commands/PublishAgentVersionCommand";
22
- import { PutAgentAliasCommand, } from "./commands/PutAgentAliasCommand";
18
+ import { RestoreAgentVersionToDraftCommand, } from "./commands/RestoreAgentVersionToDraftCommand";
23
19
  import { UpdateAgentCommand, } from "./commands/UpdateAgentCommand";
24
- import { UpdateGuardrailCommand, } from "./commands/UpdateGuardrailCommand";
20
+ import { UpdateAgentDeploymentCommand, } from "./commands/UpdateAgentDeploymentCommand";
25
21
  import { WilmaAgentsClient } from "./WilmaAgentsClient";
26
22
  const commands = {
27
23
  CompareAgentVersionsCommand,
28
24
  CreateAgentCommand,
29
25
  CreateAgentApiKeyCommand,
30
- CreateGuardrailCommand,
26
+ CreateAgentDeploymentCommand,
31
27
  DeleteAgentCommand,
32
- DeleteAgentAliasCommand,
33
28
  DeleteAgentApiKeyCommand,
34
- DeleteGuardrailCommand,
35
- ExecuteAgentCommand,
29
+ DeleteAgentDeploymentCommand,
36
30
  GetAgentCommand,
31
+ GetAgentDeploymentCommand,
37
32
  GetAgentVersionCommand,
38
- GetGuardrailCommand,
39
- ListAgentAliasesCommand,
40
33
  ListAgentApiKeysCommand,
34
+ ListAgentDeploymentsCommand,
41
35
  ListAgentsCommand,
42
36
  ListAgentsNamesCommand,
43
37
  ListAgentVersionsCommand,
44
- ListAuditRecordsCommand,
45
- ListGuardrailsCommand,
46
38
  PublishAgentVersionCommand,
47
- PutAgentAliasCommand,
39
+ RestoreAgentVersionToDraftCommand,
48
40
  UpdateAgentCommand,
49
- UpdateGuardrailCommand,
41
+ UpdateAgentDeploymentCommand,
50
42
  };
51
43
  export class WilmaAgents extends WilmaAgentsClient {
52
44
  }
@@ -1,16 +1,16 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteAgentAlias$ } from "../schemas/schemas_0";
4
+ import { CreateAgentDeployment$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
- export class DeleteAgentAliasCommand extends $Command
6
+ export class CreateAgentDeploymentCommand extends $Command
7
7
  .classBuilder()
8
8
  .ep(commonParams)
9
9
  .m(function (Command, cs, config, o) {
10
10
  return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
11
  })
12
- .s("WilmaAgents", "DeleteAgentAlias", {})
13
- .n("WilmaAgentsClient", "DeleteAgentAliasCommand")
14
- .sc(DeleteAgentAlias$)
12
+ .s("WilmaAgents", "CreateAgentDeployment", {})
13
+ .n("WilmaAgentsClient", "CreateAgentDeploymentCommand")
14
+ .sc(CreateAgentDeployment$)
15
15
  .build() {
16
16
  }
@@ -1,16 +1,16 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ExecuteAgent$ } from "../schemas/schemas_0";
4
+ import { DeleteAgentDeployment$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
- export class ExecuteAgentCommand extends $Command
6
+ export class DeleteAgentDeploymentCommand extends $Command
7
7
  .classBuilder()
8
8
  .ep(commonParams)
9
9
  .m(function (Command, cs, config, o) {
10
10
  return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
11
  })
12
- .s("WilmaAgents", "ExecuteAgent", {})
13
- .n("WilmaAgentsClient", "ExecuteAgentCommand")
14
- .sc(ExecuteAgent$)
12
+ .s("WilmaAgents", "DeleteAgentDeployment", {})
13
+ .n("WilmaAgentsClient", "DeleteAgentDeploymentCommand")
14
+ .sc(DeleteAgentDeployment$)
15
15
  .build() {
16
16
  }
@@ -1,16 +1,16 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateGuardrail$ } from "../schemas/schemas_0";
4
+ import { GetAgentDeployment$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
- export class CreateGuardrailCommand extends $Command
6
+ export class GetAgentDeploymentCommand extends $Command
7
7
  .classBuilder()
8
8
  .ep(commonParams)
9
9
  .m(function (Command, cs, config, o) {
10
10
  return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
11
  })
12
- .s("WilmaAgents", "CreateGuardrail", {})
13
- .n("WilmaAgentsClient", "CreateGuardrailCommand")
14
- .sc(CreateGuardrail$)
12
+ .s("WilmaAgents", "GetAgentDeployment", {})
13
+ .n("WilmaAgentsClient", "GetAgentDeploymentCommand")
14
+ .sc(GetAgentDeployment$)
15
15
  .build() {
16
16
  }
@@ -1,16 +1,16 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteGuardrail$ } from "../schemas/schemas_0";
4
+ import { ListAgentDeployments$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
- export class DeleteGuardrailCommand extends $Command
6
+ export class ListAgentDeploymentsCommand extends $Command
7
7
  .classBuilder()
8
8
  .ep(commonParams)
9
9
  .m(function (Command, cs, config, o) {
10
10
  return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
11
  })
12
- .s("WilmaAgents", "DeleteGuardrail", {})
13
- .n("WilmaAgentsClient", "DeleteGuardrailCommand")
14
- .sc(DeleteGuardrail$)
12
+ .s("WilmaAgents", "ListAgentDeployments", {})
13
+ .n("WilmaAgentsClient", "ListAgentDeploymentsCommand")
14
+ .sc(ListAgentDeployments$)
15
15
  .build() {
16
16
  }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { RestoreAgentVersionToDraft$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class RestoreAgentVersionToDraftCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaAgents", "RestoreAgentVersionToDraft", {})
13
+ .n("WilmaAgentsClient", "RestoreAgentVersionToDraftCommand")
14
+ .sc(RestoreAgentVersionToDraft$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { UpdateAgentDeployment$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class UpdateAgentDeploymentCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaAgents", "UpdateAgentDeployment", {})
13
+ .n("WilmaAgentsClient", "UpdateAgentDeploymentCommand")
14
+ .sc(UpdateAgentDeployment$)
15
+ .build() {
16
+ }
@@ -1,23 +1,19 @@
1
1
  export * from "./CompareAgentVersionsCommand";
2
2
  export * from "./CreateAgentApiKeyCommand";
3
3
  export * from "./CreateAgentCommand";
4
- export * from "./CreateGuardrailCommand";
5
- export * from "./DeleteAgentAliasCommand";
4
+ export * from "./CreateAgentDeploymentCommand";
6
5
  export * from "./DeleteAgentApiKeyCommand";
7
6
  export * from "./DeleteAgentCommand";
8
- export * from "./DeleteGuardrailCommand";
9
- export * from "./ExecuteAgentCommand";
7
+ export * from "./DeleteAgentDeploymentCommand";
10
8
  export * from "./GetAgentCommand";
9
+ export * from "./GetAgentDeploymentCommand";
11
10
  export * from "./GetAgentVersionCommand";
12
- export * from "./GetGuardrailCommand";
13
- export * from "./ListAgentAliasesCommand";
14
11
  export * from "./ListAgentApiKeysCommand";
12
+ export * from "./ListAgentDeploymentsCommand";
15
13
  export * from "./ListAgentVersionsCommand";
16
14
  export * from "./ListAgentsCommand";
17
15
  export * from "./ListAgentsNamesCommand";
18
- export * from "./ListAuditRecordsCommand";
19
- export * from "./ListGuardrailsCommand";
20
16
  export * from "./PublishAgentVersionCommand";
21
- export * from "./PutAgentAliasCommand";
17
+ export * from "./RestoreAgentVersionToDraftCommand";
22
18
  export * from "./UpdateAgentCommand";
23
- export * from "./UpdateGuardrailCommand";
19
+ export * from "./UpdateAgentDeploymentCommand";
@@ -1,33 +1,51 @@
1
+ export const AgentVisibility = {
2
+ EXPLICIT: "explicit",
3
+ ORGANIZATION: "organization",
4
+ };
1
5
  export const ActorType = {
2
6
  API_KEY: "api_key",
3
7
  SERVICE: "service",
4
8
  USER: "user",
5
9
  };
6
- export const AgentGrantPermission = {
7
- EDIT: "edit",
8
- USE: "use",
9
- VIEW: "view",
10
+ export const AgentDeploymentStatus = {
11
+ ACTIVE: "active",
12
+ PAUSED: "paused",
10
13
  };
11
- export const AgentVisibility = {
12
- EXPLICIT: "explicit",
13
- ORGANIZATION: "organization",
14
+ export const AgentHandoverPipelineType = {
15
+ HANDOVER: "handover",
16
+ REPLY_AND_HANDOVER: "reply_and_handover",
17
+ REPLY_INSTRUCTED_AND_HANDOVER: "reply_instructed_and_handover",
14
18
  };
15
- export const SpeechProvider = {
16
- ELEVENLABS: "elevenlabs",
17
- GOOGLE: "google",
19
+ export const AgentHandoverVariant = {
20
+ AGENT: "agent",
21
+ SERVICE: "service",
18
22
  };
19
- export const WebhookMethod = {
20
- DELETE: "delete",
21
- GET: "get",
22
- PATCH: "patch",
23
- POST: "post",
24
- PUT: "put",
23
+ export const AgentHangupPipelineType = {
24
+ HANGUP: "hangup",
25
+ REPLY_AND_HANGUP: "reply_and_hangup",
26
+ REPLY_INSTRUCTED_AND_HANGUP: "reply_instructed_and_hangup",
25
27
  };
26
28
  export const SandboxNetworkAccess = {
27
29
  ALL: "allow-all",
28
30
  ALLOWLIST: "allowlist",
29
31
  NONE: "deny-all",
30
32
  };
33
+ export const AgentToolPipelineType = {
34
+ ASYNC_REQUEST: "async_request",
35
+ ASYNC_REQUEST_GUIDED: "async_request_guided",
36
+ BLOCKING_REQUEST: "blocking_request",
37
+ BLOCKING_REQUEST_GUIDED: "blocking_request_guided",
38
+ };
39
+ export const AgentTransferPipelineType = {
40
+ REPLY_AND_TRANSFER: "reply_and_transfer",
41
+ REPLY_INSTRUCTED_AND_TRANSFER: "reply_instructed_and_transfer",
42
+ TRANSFER: "transfer",
43
+ };
44
+ export const AgentTransferVariant = {
45
+ DIRECTORY: "directory",
46
+ DYNAMIC: "dynamic",
47
+ PREDEFINED: "predefined",
48
+ };
31
49
  export const WebSearchContextSize = {
32
50
  HIGH: "high",
33
51
  LOW: "low",
@@ -42,74 +60,11 @@ export const AgentVariableType = {
42
60
  };
43
61
  export const AgentStatus = {
44
62
  ACTIVE: "active",
45
- ARCHIVED: "archived",
46
63
  DRAFT: "draft",
47
64
  };
48
- export const AgentFileScope = {
49
- AGENT: "agent",
50
- USER: "user",
51
- };
52
65
  export const ChannelType = {
53
- API: "api",
54
66
  ASSISTANT: "assistant",
67
+ AUTONOMOUS: "autonomous",
55
68
  CHAT: "chat",
56
69
  VOICE: "voice",
57
70
  };
58
- export const AuditAction = {
59
- ALIAS_DELETED: "alias_deleted",
60
- ALIAS_UPDATED: "alias_updated",
61
- API_KEY_CREATED: "api_key_created",
62
- API_KEY_DELETED: "api_key_deleted",
63
- ARCHIVED: "archived",
64
- CREATED: "created",
65
- DELETED: "deleted",
66
- EVALUATION_CANCELLED: "evaluation_cancelled",
67
- EVALUATION_STARTED: "evaluation_started",
68
- PUBLISHED: "published",
69
- UPDATED: "updated",
70
- };
71
- export const AuditResourceType = {
72
- AGENT: "agent",
73
- AGENT_ALIAS: "agent_alias",
74
- AGENT_API_KEY: "agent_api_key",
75
- AGENT_VERSION: "agent_version",
76
- DATASET: "dataset",
77
- EVALUATION: "evaluation",
78
- EVALUATOR: "evaluator",
79
- GUARDRAIL: "guardrail",
80
- SKILL: "skill",
81
- TEST_CASE: "test_case",
82
- };
83
- export const GuardrailContentCategory = {
84
- HATE: "hate",
85
- INSULTS: "insults",
86
- MISCONDUCT: "misconduct",
87
- PROMPT_ATTACK: "prompt_attack",
88
- SEXUAL: "sexual",
89
- VIOLENCE: "violence",
90
- };
91
- export const GuardrailFilterStrength = {
92
- HIGH: "high",
93
- LOW: "low",
94
- MEDIUM: "medium",
95
- NONE: "none",
96
- };
97
- export const GuardrailPiiAction = {
98
- ANONYMIZE: "anonymize",
99
- BLOCK: "block",
100
- };
101
- export const GuardrailPiiEntityType = {
102
- ADDRESS: "address",
103
- CREDIT_CARD: "credit_card",
104
- CUSTOM: "custom",
105
- EMAIL: "email",
106
- IBAN: "iban",
107
- NAME: "name",
108
- NATIONAL_ID: "national_id",
109
- PASSWORD: "password",
110
- PHONE_NUMBER: "phone_number",
111
- };
112
- export const GuardrailAction = {
113
- BLOCK: "block",
114
- DETECT: "detect",
115
- };
@@ -11,101 +11,115 @@ export class ValidationException extends __BaseException {
11
11
  Object.setPrototypeOf(this, ValidationException.prototype);
12
12
  }
13
13
  }
14
- export class AgentAliasNotFoundException extends __BaseException {
15
- name = "AgentAliasNotFoundException";
14
+ export class AgentApiKeyNotFoundException extends __BaseException {
15
+ name = "AgentApiKeyNotFoundException";
16
16
  $fault = "client";
17
17
  type;
18
18
  constructor(opts) {
19
19
  super({
20
- name: "AgentAliasNotFoundException",
20
+ name: "AgentApiKeyNotFoundException",
21
21
  $fault: "client",
22
22
  ...opts,
23
23
  });
24
- Object.setPrototypeOf(this, AgentAliasNotFoundException.prototype);
24
+ Object.setPrototypeOf(this, AgentApiKeyNotFoundException.prototype);
25
25
  this.type = opts.type;
26
26
  }
27
27
  }
28
- export class AgentApiKeyNotFoundException extends __BaseException {
29
- name = "AgentApiKeyNotFoundException";
28
+ export class AgentDeploymentInUseException extends __BaseException {
29
+ name = "AgentDeploymentInUseException";
30
30
  $fault = "client";
31
31
  type;
32
32
  constructor(opts) {
33
33
  super({
34
- name: "AgentApiKeyNotFoundException",
34
+ name: "AgentDeploymentInUseException",
35
35
  $fault: "client",
36
36
  ...opts,
37
37
  });
38
- Object.setPrototypeOf(this, AgentApiKeyNotFoundException.prototype);
38
+ Object.setPrototypeOf(this, AgentDeploymentInUseException.prototype);
39
39
  this.type = opts.type;
40
40
  }
41
41
  }
42
- export class AgentNonUniqueNameException extends __BaseException {
43
- name = "AgentNonUniqueNameException";
42
+ export class AgentDeploymentNonUniqueNameException extends __BaseException {
43
+ name = "AgentDeploymentNonUniqueNameException";
44
44
  $fault = "client";
45
45
  type;
46
46
  constructor(opts) {
47
47
  super({
48
- name: "AgentNonUniqueNameException",
48
+ name: "AgentDeploymentNonUniqueNameException",
49
49
  $fault: "client",
50
50
  ...opts,
51
51
  });
52
- Object.setPrototypeOf(this, AgentNonUniqueNameException.prototype);
52
+ Object.setPrototypeOf(this, AgentDeploymentNonUniqueNameException.prototype);
53
53
  this.type = opts.type;
54
54
  }
55
55
  }
56
- export class AgentNotFoundException extends __BaseException {
57
- name = "AgentNotFoundException";
56
+ export class AgentDeploymentNotFoundException extends __BaseException {
57
+ name = "AgentDeploymentNotFoundException";
58
58
  $fault = "client";
59
59
  type;
60
60
  constructor(opts) {
61
61
  super({
62
- name: "AgentNotFoundException",
62
+ name: "AgentDeploymentNotFoundException",
63
63
  $fault: "client",
64
64
  ...opts,
65
65
  });
66
- Object.setPrototypeOf(this, AgentNotFoundException.prototype);
66
+ Object.setPrototypeOf(this, AgentDeploymentNotFoundException.prototype);
67
67
  this.type = opts.type;
68
68
  }
69
69
  }
70
- export class AgentVersionNotFoundException extends __BaseException {
71
- name = "AgentVersionNotFoundException";
70
+ export class AgentInUseException extends __BaseException {
71
+ name = "AgentInUseException";
72
72
  $fault = "client";
73
73
  type;
74
74
  constructor(opts) {
75
75
  super({
76
- name: "AgentVersionNotFoundException",
76
+ name: "AgentInUseException",
77
77
  $fault: "client",
78
78
  ...opts,
79
79
  });
80
- Object.setPrototypeOf(this, AgentVersionNotFoundException.prototype);
80
+ Object.setPrototypeOf(this, AgentInUseException.prototype);
81
+ this.type = opts.type;
82
+ }
83
+ }
84
+ export class AgentNonUniqueNameException extends __BaseException {
85
+ name = "AgentNonUniqueNameException";
86
+ $fault = "client";
87
+ type;
88
+ constructor(opts) {
89
+ super({
90
+ name: "AgentNonUniqueNameException",
91
+ $fault: "client",
92
+ ...opts,
93
+ });
94
+ Object.setPrototypeOf(this, AgentNonUniqueNameException.prototype);
81
95
  this.type = opts.type;
82
96
  }
83
97
  }
84
- export class GuardrailInUseException extends __BaseException {
85
- name = "GuardrailInUseException";
98
+ export class AgentNotFoundException extends __BaseException {
99
+ name = "AgentNotFoundException";
86
100
  $fault = "client";
87
101
  type;
88
102
  constructor(opts) {
89
103
  super({
90
- name: "GuardrailInUseException",
104
+ name: "AgentNotFoundException",
91
105
  $fault: "client",
92
106
  ...opts,
93
107
  });
94
- Object.setPrototypeOf(this, GuardrailInUseException.prototype);
108
+ Object.setPrototypeOf(this, AgentNotFoundException.prototype);
95
109
  this.type = opts.type;
96
110
  }
97
111
  }
98
- export class GuardrailNotFoundException extends __BaseException {
99
- name = "GuardrailNotFoundException";
112
+ export class AgentVersionNotFoundException extends __BaseException {
113
+ name = "AgentVersionNotFoundException";
100
114
  $fault = "client";
101
115
  type;
102
116
  constructor(opts) {
103
117
  super({
104
- name: "GuardrailNotFoundException",
118
+ name: "AgentVersionNotFoundException",
105
119
  $fault: "client",
106
120
  ...opts,
107
121
  });
108
- Object.setPrototypeOf(this, GuardrailNotFoundException.prototype);
122
+ Object.setPrototypeOf(this, AgentVersionNotFoundException.prototype);
109
123
  this.type = opts.type;
110
124
  }
111
125
  }