@wildix/wilma-agents-client 1.0.1

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 (130) hide show
  1. package/dist-cjs/WilmaAgents.js +57 -0
  2. package/dist-cjs/WilmaAgentsClient.js +49 -0
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -0
  5. package/dist-cjs/commands/CompareAgentVersionsCommand.js +20 -0
  6. package/dist-cjs/commands/CreateAgentApiKeyCommand.js +20 -0
  7. package/dist-cjs/commands/CreateAgentCommand.js +20 -0
  8. package/dist-cjs/commands/CreateGuardrailCommand.js +20 -0
  9. package/dist-cjs/commands/DeleteAgentAliasCommand.js +20 -0
  10. package/dist-cjs/commands/DeleteAgentApiKeyCommand.js +20 -0
  11. package/dist-cjs/commands/DeleteAgentCommand.js +20 -0
  12. package/dist-cjs/commands/DeleteGuardrailCommand.js +20 -0
  13. package/dist-cjs/commands/ExecuteAgentCommand.js +20 -0
  14. package/dist-cjs/commands/GetAgentCommand.js +20 -0
  15. package/dist-cjs/commands/GetAgentVersionCommand.js +20 -0
  16. package/dist-cjs/commands/GetGuardrailCommand.js +20 -0
  17. package/dist-cjs/commands/ListAgentAliasesCommand.js +20 -0
  18. package/dist-cjs/commands/ListAgentApiKeysCommand.js +20 -0
  19. package/dist-cjs/commands/ListAgentVersionsCommand.js +20 -0
  20. package/dist-cjs/commands/ListAgentsCommand.js +20 -0
  21. package/dist-cjs/commands/ListAgentsNamesCommand.js +20 -0
  22. package/dist-cjs/commands/ListAuditRecordsCommand.js +20 -0
  23. package/dist-cjs/commands/ListGuardrailsCommand.js +20 -0
  24. package/dist-cjs/commands/PublishAgentVersionCommand.js +20 -0
  25. package/dist-cjs/commands/PutAgentAliasCommand.js +20 -0
  26. package/dist-cjs/commands/UpdateAgentCommand.js +20 -0
  27. package/dist-cjs/commands/UpdateGuardrailCommand.js +20 -0
  28. package/dist-cjs/commands/index.js +26 -0
  29. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  30. package/dist-cjs/endpoint/bdd.js +28 -0
  31. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  32. package/dist-cjs/extensionConfiguration.js +2 -0
  33. package/dist-cjs/index.js +13 -0
  34. package/dist-cjs/models/WilmaAgentsServiceException.js +12 -0
  35. package/dist-cjs/models/enums.js +118 -0
  36. package/dist-cjs/models/errors.js +154 -0
  37. package/dist-cjs/models/models_0.js +2 -0
  38. package/dist-cjs/runtimeConfig.browser.js +32 -0
  39. package/dist-cjs/runtimeConfig.js +41 -0
  40. package/dist-cjs/runtimeConfig.native.js +15 -0
  41. package/dist-cjs/runtimeConfig.shared.js +41 -0
  42. package/dist-cjs/runtimeExtensions.js +12 -0
  43. package/dist-cjs/schemas/schemas_0.js +1168 -0
  44. package/dist-es/WilmaAgents.js +53 -0
  45. package/dist-es/WilmaAgentsClient.js +45 -0
  46. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  47. package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
  48. package/dist-es/commands/CompareAgentVersionsCommand.js +16 -0
  49. package/dist-es/commands/CreateAgentApiKeyCommand.js +16 -0
  50. package/dist-es/commands/CreateAgentCommand.js +16 -0
  51. package/dist-es/commands/CreateGuardrailCommand.js +16 -0
  52. package/dist-es/commands/DeleteAgentAliasCommand.js +16 -0
  53. package/dist-es/commands/DeleteAgentApiKeyCommand.js +16 -0
  54. package/dist-es/commands/DeleteAgentCommand.js +16 -0
  55. package/dist-es/commands/DeleteGuardrailCommand.js +16 -0
  56. package/dist-es/commands/ExecuteAgentCommand.js +16 -0
  57. package/dist-es/commands/GetAgentCommand.js +16 -0
  58. package/dist-es/commands/GetAgentVersionCommand.js +16 -0
  59. package/dist-es/commands/GetGuardrailCommand.js +16 -0
  60. package/dist-es/commands/ListAgentAliasesCommand.js +16 -0
  61. package/dist-es/commands/ListAgentApiKeysCommand.js +16 -0
  62. package/dist-es/commands/ListAgentVersionsCommand.js +16 -0
  63. package/dist-es/commands/ListAgentsCommand.js +16 -0
  64. package/dist-es/commands/ListAgentsNamesCommand.js +16 -0
  65. package/dist-es/commands/ListAuditRecordsCommand.js +16 -0
  66. package/dist-es/commands/ListGuardrailsCommand.js +16 -0
  67. package/dist-es/commands/PublishAgentVersionCommand.js +16 -0
  68. package/dist-es/commands/PutAgentAliasCommand.js +16 -0
  69. package/dist-es/commands/UpdateAgentCommand.js +16 -0
  70. package/dist-es/commands/UpdateGuardrailCommand.js +16 -0
  71. package/dist-es/commands/index.js +23 -0
  72. package/dist-es/endpoint/EndpointParameters.js +12 -0
  73. package/dist-es/endpoint/bdd.js +25 -0
  74. package/dist-es/endpoint/endpointResolver.js +12 -0
  75. package/dist-es/extensionConfiguration.js +1 -0
  76. package/dist-es/index.js +8 -0
  77. package/dist-es/models/WilmaAgentsServiceException.js +8 -0
  78. package/dist-es/models/enums.js +115 -0
  79. package/dist-es/models/errors.js +141 -0
  80. package/dist-es/models/models_0.js +1 -0
  81. package/dist-es/runtimeConfig.browser.js +27 -0
  82. package/dist-es/runtimeConfig.js +36 -0
  83. package/dist-es/runtimeConfig.native.js +11 -0
  84. package/dist-es/runtimeConfig.shared.js +37 -0
  85. package/dist-es/runtimeExtensions.js +8 -0
  86. package/dist-es/schemas/schemas_0.js +1162 -0
  87. package/dist-types/WilmaAgents.d.ts +182 -0
  88. package/dist-types/WilmaAgentsClient.d.ts +192 -0
  89. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  90. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  91. package/dist-types/commands/CompareAgentVersionsCommand.d.ts +91 -0
  92. package/dist-types/commands/CreateAgentApiKeyCommand.d.ts +96 -0
  93. package/dist-types/commands/CreateAgentCommand.d.ts +654 -0
  94. package/dist-types/commands/CreateGuardrailCommand.d.ts +172 -0
  95. package/dist-types/commands/DeleteAgentAliasCommand.d.ts +82 -0
  96. package/dist-types/commands/DeleteAgentApiKeyCommand.d.ts +82 -0
  97. package/dist-types/commands/DeleteAgentCommand.d.ts +77 -0
  98. package/dist-types/commands/DeleteGuardrailCommand.d.ts +80 -0
  99. package/dist-types/commands/ExecuteAgentCommand.d.ts +112 -0
  100. package/dist-types/commands/GetAgentCommand.d.ts +386 -0
  101. package/dist-types/commands/GetAgentVersionCommand.d.ts +365 -0
  102. package/dist-types/commands/GetGuardrailCommand.d.ts +135 -0
  103. package/dist-types/commands/ListAgentAliasesCommand.d.ts +99 -0
  104. package/dist-types/commands/ListAgentApiKeysCommand.d.ts +95 -0
  105. package/dist-types/commands/ListAgentVersionsCommand.d.ts +99 -0
  106. package/dist-types/commands/ListAgentsCommand.d.ts +391 -0
  107. package/dist-types/commands/ListAgentsNamesCommand.d.ts +90 -0
  108. package/dist-types/commands/ListAuditRecordsCommand.d.ts +109 -0
  109. package/dist-types/commands/ListGuardrailsCommand.d.ts +137 -0
  110. package/dist-types/commands/PublishAgentVersionCommand.d.ts +370 -0
  111. package/dist-types/commands/PutAgentAliasCommand.d.ts +107 -0
  112. package/dist-types/commands/UpdateAgentCommand.d.ts +661 -0
  113. package/dist-types/commands/UpdateGuardrailCommand.d.ts +175 -0
  114. package/dist-types/commands/index.d.ts +23 -0
  115. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  116. package/dist-types/endpoint/bdd.d.ts +2 -0
  117. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  118. package/dist-types/extensionConfiguration.d.ts +8 -0
  119. package/dist-types/index.d.ts +23 -0
  120. package/dist-types/models/WilmaAgentsServiceException.d.ts +14 -0
  121. package/dist-types/models/enums.d.ts +301 -0
  122. package/dist-types/models/errors.d.ts +129 -0
  123. package/dist-types/models/models_0.d.ts +2186 -0
  124. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  125. package/dist-types/runtimeConfig.d.ts +55 -0
  126. package/dist-types/runtimeConfig.native.d.ts +54 -0
  127. package/dist-types/runtimeConfig.shared.d.ts +32 -0
  128. package/dist-types/runtimeExtensions.d.ts +17 -0
  129. package/dist-types/schemas/schemas_0.d.ts +160 -0
  130. package/package.json +57 -0
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WilmaAgents = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ const CompareAgentVersionsCommand_1 = require("./commands/CompareAgentVersionsCommand");
6
+ const CreateAgentApiKeyCommand_1 = require("./commands/CreateAgentApiKeyCommand");
7
+ const CreateAgentCommand_1 = require("./commands/CreateAgentCommand");
8
+ const CreateGuardrailCommand_1 = require("./commands/CreateGuardrailCommand");
9
+ const DeleteAgentAliasCommand_1 = require("./commands/DeleteAgentAliasCommand");
10
+ const DeleteAgentApiKeyCommand_1 = require("./commands/DeleteAgentApiKeyCommand");
11
+ const DeleteAgentCommand_1 = require("./commands/DeleteAgentCommand");
12
+ const DeleteGuardrailCommand_1 = require("./commands/DeleteGuardrailCommand");
13
+ const ExecuteAgentCommand_1 = require("./commands/ExecuteAgentCommand");
14
+ const GetAgentCommand_1 = require("./commands/GetAgentCommand");
15
+ const GetAgentVersionCommand_1 = require("./commands/GetAgentVersionCommand");
16
+ const GetGuardrailCommand_1 = require("./commands/GetGuardrailCommand");
17
+ const ListAgentAliasesCommand_1 = require("./commands/ListAgentAliasesCommand");
18
+ const ListAgentApiKeysCommand_1 = require("./commands/ListAgentApiKeysCommand");
19
+ const ListAgentsCommand_1 = require("./commands/ListAgentsCommand");
20
+ const ListAgentsNamesCommand_1 = require("./commands/ListAgentsNamesCommand");
21
+ const ListAgentVersionsCommand_1 = require("./commands/ListAgentVersionsCommand");
22
+ const ListAuditRecordsCommand_1 = require("./commands/ListAuditRecordsCommand");
23
+ const ListGuardrailsCommand_1 = require("./commands/ListGuardrailsCommand");
24
+ const PublishAgentVersionCommand_1 = require("./commands/PublishAgentVersionCommand");
25
+ const PutAgentAliasCommand_1 = require("./commands/PutAgentAliasCommand");
26
+ const UpdateAgentCommand_1 = require("./commands/UpdateAgentCommand");
27
+ const UpdateGuardrailCommand_1 = require("./commands/UpdateGuardrailCommand");
28
+ const WilmaAgentsClient_1 = require("./WilmaAgentsClient");
29
+ const commands = {
30
+ CompareAgentVersionsCommand: CompareAgentVersionsCommand_1.CompareAgentVersionsCommand,
31
+ CreateAgentCommand: CreateAgentCommand_1.CreateAgentCommand,
32
+ CreateAgentApiKeyCommand: CreateAgentApiKeyCommand_1.CreateAgentApiKeyCommand,
33
+ CreateGuardrailCommand: CreateGuardrailCommand_1.CreateGuardrailCommand,
34
+ DeleteAgentCommand: DeleteAgentCommand_1.DeleteAgentCommand,
35
+ DeleteAgentAliasCommand: DeleteAgentAliasCommand_1.DeleteAgentAliasCommand,
36
+ DeleteAgentApiKeyCommand: DeleteAgentApiKeyCommand_1.DeleteAgentApiKeyCommand,
37
+ DeleteGuardrailCommand: DeleteGuardrailCommand_1.DeleteGuardrailCommand,
38
+ ExecuteAgentCommand: ExecuteAgentCommand_1.ExecuteAgentCommand,
39
+ GetAgentCommand: GetAgentCommand_1.GetAgentCommand,
40
+ GetAgentVersionCommand: GetAgentVersionCommand_1.GetAgentVersionCommand,
41
+ GetGuardrailCommand: GetGuardrailCommand_1.GetGuardrailCommand,
42
+ ListAgentAliasesCommand: ListAgentAliasesCommand_1.ListAgentAliasesCommand,
43
+ ListAgentApiKeysCommand: ListAgentApiKeysCommand_1.ListAgentApiKeysCommand,
44
+ ListAgentsCommand: ListAgentsCommand_1.ListAgentsCommand,
45
+ ListAgentsNamesCommand: ListAgentsNamesCommand_1.ListAgentsNamesCommand,
46
+ ListAgentVersionsCommand: ListAgentVersionsCommand_1.ListAgentVersionsCommand,
47
+ ListAuditRecordsCommand: ListAuditRecordsCommand_1.ListAuditRecordsCommand,
48
+ ListGuardrailsCommand: ListGuardrailsCommand_1.ListGuardrailsCommand,
49
+ PublishAgentVersionCommand: PublishAgentVersionCommand_1.PublishAgentVersionCommand,
50
+ PutAgentAliasCommand: PutAgentAliasCommand_1.PutAgentAliasCommand,
51
+ UpdateAgentCommand: UpdateAgentCommand_1.UpdateAgentCommand,
52
+ UpdateGuardrailCommand: UpdateGuardrailCommand_1.UpdateGuardrailCommand,
53
+ };
54
+ class WilmaAgents extends WilmaAgentsClient_1.WilmaAgentsClient {
55
+ }
56
+ exports.WilmaAgents = WilmaAgents;
57
+ (0, client_1.createAggregatedClient)(commands, WilmaAgents);
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WilmaAgentsClient = exports.__Client = void 0;
4
+ const client_1 = require("@aws-sdk/core/client");
5
+ const core_1 = require("@smithy/core");
6
+ const client_2 = require("@smithy/core/client");
7
+ Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return client_2.Client; } });
8
+ const endpoints_1 = require("@smithy/core/endpoints");
9
+ const protocols_1 = require("@smithy/core/protocols");
10
+ const retry_1 = require("@smithy/core/retry");
11
+ const schema_1 = require("@smithy/core/schema");
12
+ const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
13
+ const EndpointParameters_1 = require("./endpoint/EndpointParameters");
14
+ const runtimeConfig_1 = require("./runtimeConfig");
15
+ const runtimeExtensions_1 = require("./runtimeExtensions");
16
+ class WilmaAgentsClient extends client_2.Client {
17
+ config;
18
+ constructor(...[configuration]) {
19
+ const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
20
+ super(_config_0);
21
+ this.initConfig = _config_0;
22
+ const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
23
+ const _config_2 = (0, client_1.resolveUserAgentConfig)(_config_1);
24
+ const _config_3 = (0, retry_1.resolveRetryConfig)(_config_2);
25
+ const _config_4 = (0, client_1.resolveHostHeaderConfig)(_config_3);
26
+ const _config_5 = (0, endpoints_1.resolveEndpointConfig)(_config_4);
27
+ const _config_6 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_5);
28
+ const _config_7 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_6, configuration?.extensions || []);
29
+ this.config = _config_7;
30
+ this.middlewareStack.use((0, schema_1.getSchemaSerdePlugin)(this.config));
31
+ this.middlewareStack.use((0, client_1.getUserAgentPlugin)(this.config));
32
+ this.middlewareStack.use((0, retry_1.getRetryPlugin)(this.config));
33
+ this.middlewareStack.use((0, protocols_1.getContentLengthPlugin)(this.config));
34
+ this.middlewareStack.use((0, client_1.getHostHeaderPlugin)(this.config));
35
+ this.middlewareStack.use((0, client_1.getLoggerPlugin)(this.config));
36
+ this.middlewareStack.use((0, client_1.getRecursionDetectionPlugin)(this.config));
37
+ this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
38
+ httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultWilmaAgentsHttpAuthSchemeParametersProvider,
39
+ identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({
40
+ "smithy.api#httpBearerAuth": config.token,
41
+ }),
42
+ }));
43
+ this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));
44
+ }
45
+ destroy() {
46
+ super.destroy();
47
+ }
48
+ }
49
+ exports.WilmaAgentsClient = WilmaAgentsClient;
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0;
4
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
5
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
6
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
7
+ let _token = runtimeConfig.token;
8
+ return {
9
+ setHttpAuthScheme(httpAuthScheme) {
10
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
11
+ if (index === -1) {
12
+ _httpAuthSchemes.push(httpAuthScheme);
13
+ }
14
+ else {
15
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
16
+ }
17
+ },
18
+ httpAuthSchemes() {
19
+ return _httpAuthSchemes;
20
+ },
21
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
22
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
23
+ },
24
+ httpAuthSchemeProvider() {
25
+ return _httpAuthSchemeProvider;
26
+ },
27
+ setToken(token) {
28
+ _token = token;
29
+ },
30
+ token() {
31
+ return _token;
32
+ },
33
+ };
34
+ };
35
+ exports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;
36
+ const resolveHttpAuthRuntimeConfig = (config) => {
37
+ return {
38
+ httpAuthSchemes: config.httpAuthSchemes(),
39
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
40
+ token: config.token(),
41
+ };
42
+ };
43
+ exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveHttpAuthSchemeConfig = exports.defaultWilmaAgentsHttpAuthSchemeProvider = exports.defaultWilmaAgentsHttpAuthSchemeParametersProvider = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const client_1 = require("@smithy/core/client");
6
+ const defaultWilmaAgentsHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
+ return {
8
+ operation: (0, client_1.getSmithyContext)(context).operation,
9
+ };
10
+ };
11
+ exports.defaultWilmaAgentsHttpAuthSchemeParametersProvider = defaultWilmaAgentsHttpAuthSchemeParametersProvider;
12
+ function createSmithyApiHttpBearerAuthHttpAuthOption(authParameters) {
13
+ return {
14
+ schemeId: "smithy.api#httpBearerAuth",
15
+ };
16
+ }
17
+ function createWildixAuthApiKeysHttpAuthOption(authParameters) {
18
+ return {
19
+ schemeId: "wildix.auth#apiKeys",
20
+ };
21
+ }
22
+ function createWildixAuthPbxHttpAuthOption(authParameters) {
23
+ return {
24
+ schemeId: "wildix.auth#pbx",
25
+ };
26
+ }
27
+ function createWildixAuthS2sHttpAuthOption(authParameters) {
28
+ return {
29
+ schemeId: "wildix.auth#s2s",
30
+ };
31
+ }
32
+ function createWildixAuthXbsHttpAuthOption(authParameters) {
33
+ return {
34
+ schemeId: "wildix.auth#xbs",
35
+ };
36
+ }
37
+ const defaultWilmaAgentsHttpAuthSchemeProvider = (authParameters) => {
38
+ const options = [];
39
+ switch (authParameters.operation) {
40
+ default: {
41
+ options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
42
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
43
+ options.push(createWildixAuthPbxHttpAuthOption(authParameters));
44
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
45
+ options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
46
+ }
47
+ }
48
+ return options;
49
+ };
50
+ exports.defaultWilmaAgentsHttpAuthSchemeProvider = defaultWilmaAgentsHttpAuthSchemeProvider;
51
+ const resolveHttpAuthSchemeConfig = (config) => {
52
+ const token = (0, core_1.memoizeIdentityProvider)(config.token, core_1.isIdentityExpired, core_1.doesIdentityRequireRefresh);
53
+ return Object.assign(config, {
54
+ authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
55
+ token,
56
+ });
57
+ };
58
+ exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CompareAgentVersionsCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class CompareAgentVersionsCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaAgents", "CompareAgentVersions", {})
16
+ .n("WilmaAgentsClient", "CompareAgentVersionsCommand")
17
+ .sc(schemas_0_1.CompareAgentVersions$)
18
+ .build() {
19
+ }
20
+ exports.CompareAgentVersionsCommand = CompareAgentVersionsCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateAgentApiKeyCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class CreateAgentApiKeyCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaAgents", "CreateAgentApiKey", {})
16
+ .n("WilmaAgentsClient", "CreateAgentApiKeyCommand")
17
+ .sc(schemas_0_1.CreateAgentApiKey$)
18
+ .build() {
19
+ }
20
+ exports.CreateAgentApiKeyCommand = CreateAgentApiKeyCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateAgentCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class CreateAgentCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaAgents", "CreateAgent", {})
16
+ .n("WilmaAgentsClient", "CreateAgentCommand")
17
+ .sc(schemas_0_1.CreateAgent$)
18
+ .build() {
19
+ }
20
+ exports.CreateAgentCommand = CreateAgentCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateGuardrailCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class CreateGuardrailCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaAgents", "CreateGuardrail", {})
16
+ .n("WilmaAgentsClient", "CreateGuardrailCommand")
17
+ .sc(schemas_0_1.CreateGuardrail$)
18
+ .build() {
19
+ }
20
+ exports.CreateGuardrailCommand = CreateGuardrailCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteAgentAliasCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class DeleteAgentAliasCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaAgents", "DeleteAgentAlias", {})
16
+ .n("WilmaAgentsClient", "DeleteAgentAliasCommand")
17
+ .sc(schemas_0_1.DeleteAgentAlias$)
18
+ .build() {
19
+ }
20
+ exports.DeleteAgentAliasCommand = DeleteAgentAliasCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteAgentApiKeyCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class DeleteAgentApiKeyCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaAgents", "DeleteAgentApiKey", {})
16
+ .n("WilmaAgentsClient", "DeleteAgentApiKeyCommand")
17
+ .sc(schemas_0_1.DeleteAgentApiKey$)
18
+ .build() {
19
+ }
20
+ exports.DeleteAgentApiKeyCommand = DeleteAgentApiKeyCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteAgentCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class DeleteAgentCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaAgents", "DeleteAgent", {})
16
+ .n("WilmaAgentsClient", "DeleteAgentCommand")
17
+ .sc(schemas_0_1.DeleteAgent$)
18
+ .build() {
19
+ }
20
+ exports.DeleteAgentCommand = DeleteAgentCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteGuardrailCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class DeleteGuardrailCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaAgents", "DeleteGuardrail", {})
16
+ .n("WilmaAgentsClient", "DeleteGuardrailCommand")
17
+ .sc(schemas_0_1.DeleteGuardrail$)
18
+ .build() {
19
+ }
20
+ exports.DeleteGuardrailCommand = DeleteGuardrailCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ExecuteAgentCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class ExecuteAgentCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaAgents", "ExecuteAgent", {})
16
+ .n("WilmaAgentsClient", "ExecuteAgentCommand")
17
+ .sc(schemas_0_1.ExecuteAgent$)
18
+ .build() {
19
+ }
20
+ exports.ExecuteAgentCommand = ExecuteAgentCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAgentCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class GetAgentCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaAgents", "GetAgent", {})
16
+ .n("WilmaAgentsClient", "GetAgentCommand")
17
+ .sc(schemas_0_1.GetAgent$)
18
+ .build() {
19
+ }
20
+ exports.GetAgentCommand = GetAgentCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAgentVersionCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class GetAgentVersionCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaAgents", "GetAgentVersion", {})
16
+ .n("WilmaAgentsClient", "GetAgentVersionCommand")
17
+ .sc(schemas_0_1.GetAgentVersion$)
18
+ .build() {
19
+ }
20
+ exports.GetAgentVersionCommand = GetAgentVersionCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetGuardrailCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class GetGuardrailCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaAgents", "GetGuardrail", {})
16
+ .n("WilmaAgentsClient", "GetGuardrailCommand")
17
+ .sc(schemas_0_1.GetGuardrail$)
18
+ .build() {
19
+ }
20
+ exports.GetGuardrailCommand = GetGuardrailCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListAgentAliasesCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class ListAgentAliasesCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaAgents", "ListAgentAliases", {})
16
+ .n("WilmaAgentsClient", "ListAgentAliasesCommand")
17
+ .sc(schemas_0_1.ListAgentAliases$)
18
+ .build() {
19
+ }
20
+ exports.ListAgentAliasesCommand = ListAgentAliasesCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListAgentApiKeysCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class ListAgentApiKeysCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaAgents", "ListAgentApiKeys", {})
16
+ .n("WilmaAgentsClient", "ListAgentApiKeysCommand")
17
+ .sc(schemas_0_1.ListAgentApiKeys$)
18
+ .build() {
19
+ }
20
+ exports.ListAgentApiKeysCommand = ListAgentApiKeysCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListAgentVersionsCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class ListAgentVersionsCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaAgents", "ListAgentVersions", {})
16
+ .n("WilmaAgentsClient", "ListAgentVersionsCommand")
17
+ .sc(schemas_0_1.ListAgentVersions$)
18
+ .build() {
19
+ }
20
+ exports.ListAgentVersionsCommand = ListAgentVersionsCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListAgentsCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class ListAgentsCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaAgents", "ListAgents", {})
16
+ .n("WilmaAgentsClient", "ListAgentsCommand")
17
+ .sc(schemas_0_1.ListAgents$)
18
+ .build() {
19
+ }
20
+ exports.ListAgentsCommand = ListAgentsCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListAgentsNamesCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class ListAgentsNamesCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaAgents", "ListAgentsNames", {})
16
+ .n("WilmaAgentsClient", "ListAgentsNamesCommand")
17
+ .sc(schemas_0_1.ListAgentsNames$)
18
+ .build() {
19
+ }
20
+ exports.ListAgentsNamesCommand = ListAgentsNamesCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListAuditRecordsCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class ListAuditRecordsCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaAgents", "ListAuditRecords", {})
16
+ .n("WilmaAgentsClient", "ListAuditRecordsCommand")
17
+ .sc(schemas_0_1.ListAuditRecords$)
18
+ .build() {
19
+ }
20
+ exports.ListAuditRecordsCommand = ListAuditRecordsCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListGuardrailsCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class ListGuardrailsCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaAgents", "ListGuardrails", {})
16
+ .n("WilmaAgentsClient", "ListGuardrailsCommand")
17
+ .sc(schemas_0_1.ListGuardrails$)
18
+ .build() {
19
+ }
20
+ exports.ListGuardrailsCommand = ListGuardrailsCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PublishAgentVersionCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class PublishAgentVersionCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaAgents", "PublishAgentVersion", {})
16
+ .n("WilmaAgentsClient", "PublishAgentVersionCommand")
17
+ .sc(schemas_0_1.PublishAgentVersion$)
18
+ .build() {
19
+ }
20
+ exports.PublishAgentVersionCommand = PublishAgentVersionCommand;