@wildix/wim-tools-client 4.0.1 → 4.0.4
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.
- package/dist-cjs/Tools.js +25 -1
- package/dist-cjs/ToolsClient.js +2 -0
- package/dist-cjs/commands/CreateConnectorCommand.js +20 -0
- package/dist-cjs/commands/DeleteConnectorCommand.js +20 -0
- package/dist-cjs/commands/ExecuteConnectorCommand.js +20 -0
- package/dist-cjs/commands/GetConnectorCommand.js +20 -0
- package/dist-cjs/commands/GetConnectorDefinitionCommand.js +20 -0
- package/dist-cjs/commands/ListConnectorDefinitionsCommand.js +20 -0
- package/dist-cjs/commands/ListConnectorsCommand.js +20 -0
- package/dist-cjs/commands/ResolveConnectorConfigurationCommand.js +20 -0
- package/dist-cjs/commands/UpdateConnectorCommand.js +20 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/index.js +1 -0
- package/dist-cjs/models/enums.js +18 -7
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListConnectorDefinitionsPaginator.js +7 -0
- package/dist-cjs/pagination/ListConnectorsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/runtimeConfig.shared.js +10 -0
- package/dist-cjs/schemas/schemas_0.js +340 -57
- package/dist-es/Tools.js +25 -1
- package/dist-es/ToolsClient.js +2 -0
- package/dist-es/commands/CreateConnectorCommand.js +16 -0
- package/dist-es/commands/DeleteConnectorCommand.js +16 -0
- package/dist-es/commands/ExecuteConnectorCommand.js +16 -0
- package/dist-es/commands/GetConnectorCommand.js +16 -0
- package/dist-es/commands/GetConnectorDefinitionCommand.js +16 -0
- package/dist-es/commands/ListConnectorDefinitionsCommand.js +16 -0
- package/dist-es/commands/ListConnectorsCommand.js +16 -0
- package/dist-es/commands/ResolveConnectorConfigurationCommand.js +16 -0
- package/dist-es/commands/UpdateConnectorCommand.js +16 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +17 -6
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListConnectorDefinitionsPaginator.js +4 -0
- package/dist-es/pagination/ListConnectorsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/runtimeConfig.shared.js +10 -0
- package/dist-es/schemas/schemas_0.js +338 -55
- package/dist-types/Tools.d.ts +80 -1
- package/dist-types/ToolsClient.d.ts +11 -2
- package/dist-types/commands/CreateConnectorCommand.d.ts +123 -0
- package/dist-types/commands/CreateToolCommand.d.ts +43 -3
- package/dist-types/commands/DeleteConnectorCommand.d.ts +87 -0
- package/dist-types/commands/DeleteToolCommand.d.ts +1 -3
- package/dist-types/commands/DescribeToolsCommand.d.ts +5 -3
- package/dist-types/commands/DiscoverToolsCommand.d.ts +1 -3
- package/dist-types/commands/ExecuteConnectorCommand.d.ts +96 -0
- package/dist-types/commands/ExecuteToolCommand.d.ts +1 -3
- package/dist-types/commands/GetConnectorCommand.d.ts +108 -0
- package/dist-types/commands/GetConnectorDefinitionCommand.d.ts +152 -0
- package/dist-types/commands/GetToolCommand.d.ts +22 -3
- package/dist-types/commands/ListConnectorDefinitionsCommand.d.ts +156 -0
- package/dist-types/commands/ListConnectorsCommand.d.ts +112 -0
- package/dist-types/commands/ListToolsCommand.d.ts +22 -3
- package/dist-types/commands/ResolveConnectorConfigurationCommand.d.ts +102 -0
- package/dist-types/commands/UpdateConnectorCommand.d.ts +124 -0
- package/dist-types/commands/UpdateToolCommand.d.ts +43 -3
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +40 -7
- package/dist-types/models/models_0.d.ts +816 -50
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListConnectorDefinitionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConnectorsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +41 -0
- package/package.json +1 -1
package/dist-types/Tools.d.ts
CHANGED
|
@@ -1,20 +1,41 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
|
+
import { type CreateConnectorCommandInput, type CreateConnectorCommandOutput } from "./commands/CreateConnectorCommand";
|
|
2
3
|
import { type CreateToolCommandInput, type CreateToolCommandOutput } from "./commands/CreateToolCommand";
|
|
4
|
+
import { type DeleteConnectorCommandInput, type DeleteConnectorCommandOutput } from "./commands/DeleteConnectorCommand";
|
|
3
5
|
import { type DeleteToolCommandInput, type DeleteToolCommandOutput } from "./commands/DeleteToolCommand";
|
|
4
6
|
import { type DescribeToolsCommandInput, type DescribeToolsCommandOutput } from "./commands/DescribeToolsCommand";
|
|
5
7
|
import { type DiscoverToolsCommandInput, type DiscoverToolsCommandOutput } from "./commands/DiscoverToolsCommand";
|
|
8
|
+
import { type ExecuteConnectorCommandInput, type ExecuteConnectorCommandOutput } from "./commands/ExecuteConnectorCommand";
|
|
6
9
|
import { type ExecuteToolCommandInput, type ExecuteToolCommandOutput } from "./commands/ExecuteToolCommand";
|
|
10
|
+
import { type GetConnectorCommandInput, type GetConnectorCommandOutput } from "./commands/GetConnectorCommand";
|
|
11
|
+
import { type GetConnectorDefinitionCommandInput, type GetConnectorDefinitionCommandOutput } from "./commands/GetConnectorDefinitionCommand";
|
|
7
12
|
import { type GetToolCommandInput, type GetToolCommandOutput } from "./commands/GetToolCommand";
|
|
13
|
+
import { type ListConnectorDefinitionsCommandInput, type ListConnectorDefinitionsCommandOutput } from "./commands/ListConnectorDefinitionsCommand";
|
|
14
|
+
import { type ListConnectorsCommandInput, type ListConnectorsCommandOutput } from "./commands/ListConnectorsCommand";
|
|
8
15
|
import { type ListToolsCommandInput, type ListToolsCommandOutput } from "./commands/ListToolsCommand";
|
|
16
|
+
import { type ResolveConnectorConfigurationCommandInput, type ResolveConnectorConfigurationCommandOutput } from "./commands/ResolveConnectorConfigurationCommand";
|
|
17
|
+
import { type UpdateConnectorCommandInput, type UpdateConnectorCommandOutput } from "./commands/UpdateConnectorCommand";
|
|
9
18
|
import { type UpdateToolCommandInput, type UpdateToolCommandOutput } from "./commands/UpdateToolCommand";
|
|
10
19
|
import { ToolsClient } from "./ToolsClient";
|
|
11
20
|
export interface Tools {
|
|
21
|
+
/**
|
|
22
|
+
* @see {@link CreateConnectorCommand}
|
|
23
|
+
*/
|
|
24
|
+
createConnector(args: CreateConnectorCommandInput, options?: __HttpHandlerOptions): Promise<CreateConnectorCommandOutput>;
|
|
25
|
+
createConnector(args: CreateConnectorCommandInput, cb: (err: any, data?: CreateConnectorCommandOutput) => void): void;
|
|
26
|
+
createConnector(args: CreateConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConnectorCommandOutput) => void): void;
|
|
12
27
|
/**
|
|
13
28
|
* @see {@link CreateToolCommand}
|
|
14
29
|
*/
|
|
15
30
|
createTool(args: CreateToolCommandInput, options?: __HttpHandlerOptions): Promise<CreateToolCommandOutput>;
|
|
16
31
|
createTool(args: CreateToolCommandInput, cb: (err: any, data?: CreateToolCommandOutput) => void): void;
|
|
17
32
|
createTool(args: CreateToolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateToolCommandOutput) => void): void;
|
|
33
|
+
/**
|
|
34
|
+
* @see {@link DeleteConnectorCommand}
|
|
35
|
+
*/
|
|
36
|
+
deleteConnector(args: DeleteConnectorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConnectorCommandOutput>;
|
|
37
|
+
deleteConnector(args: DeleteConnectorCommandInput, cb: (err: any, data?: DeleteConnectorCommandOutput) => void): void;
|
|
38
|
+
deleteConnector(args: DeleteConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConnectorCommandOutput) => void): void;
|
|
18
39
|
/**
|
|
19
40
|
* @see {@link DeleteToolCommand}
|
|
20
41
|
*/
|
|
@@ -33,18 +54,50 @@ export interface Tools {
|
|
|
33
54
|
discoverTools(args: DiscoverToolsCommandInput, options?: __HttpHandlerOptions): Promise<DiscoverToolsCommandOutput>;
|
|
34
55
|
discoverTools(args: DiscoverToolsCommandInput, cb: (err: any, data?: DiscoverToolsCommandOutput) => void): void;
|
|
35
56
|
discoverTools(args: DiscoverToolsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DiscoverToolsCommandOutput) => void): void;
|
|
57
|
+
/**
|
|
58
|
+
* @see {@link ExecuteConnectorCommand}
|
|
59
|
+
*/
|
|
60
|
+
executeConnector(args: ExecuteConnectorCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteConnectorCommandOutput>;
|
|
61
|
+
executeConnector(args: ExecuteConnectorCommandInput, cb: (err: any, data?: ExecuteConnectorCommandOutput) => void): void;
|
|
62
|
+
executeConnector(args: ExecuteConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteConnectorCommandOutput) => void): void;
|
|
36
63
|
/**
|
|
37
64
|
* @see {@link ExecuteToolCommand}
|
|
38
65
|
*/
|
|
39
66
|
executeTool(args: ExecuteToolCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteToolCommandOutput>;
|
|
40
67
|
executeTool(args: ExecuteToolCommandInput, cb: (err: any, data?: ExecuteToolCommandOutput) => void): void;
|
|
41
68
|
executeTool(args: ExecuteToolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteToolCommandOutput) => void): void;
|
|
69
|
+
/**
|
|
70
|
+
* @see {@link GetConnectorCommand}
|
|
71
|
+
*/
|
|
72
|
+
getConnector(args: GetConnectorCommandInput, options?: __HttpHandlerOptions): Promise<GetConnectorCommandOutput>;
|
|
73
|
+
getConnector(args: GetConnectorCommandInput, cb: (err: any, data?: GetConnectorCommandOutput) => void): void;
|
|
74
|
+
getConnector(args: GetConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConnectorCommandOutput) => void): void;
|
|
75
|
+
/**
|
|
76
|
+
* @see {@link GetConnectorDefinitionCommand}
|
|
77
|
+
*/
|
|
78
|
+
getConnectorDefinition(args: GetConnectorDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<GetConnectorDefinitionCommandOutput>;
|
|
79
|
+
getConnectorDefinition(args: GetConnectorDefinitionCommandInput, cb: (err: any, data?: GetConnectorDefinitionCommandOutput) => void): void;
|
|
80
|
+
getConnectorDefinition(args: GetConnectorDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConnectorDefinitionCommandOutput) => void): void;
|
|
42
81
|
/**
|
|
43
82
|
* @see {@link GetToolCommand}
|
|
44
83
|
*/
|
|
45
84
|
getTool(args: GetToolCommandInput, options?: __HttpHandlerOptions): Promise<GetToolCommandOutput>;
|
|
46
85
|
getTool(args: GetToolCommandInput, cb: (err: any, data?: GetToolCommandOutput) => void): void;
|
|
47
86
|
getTool(args: GetToolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetToolCommandOutput) => void): void;
|
|
87
|
+
/**
|
|
88
|
+
* @see {@link ListConnectorDefinitionsCommand}
|
|
89
|
+
*/
|
|
90
|
+
listConnectorDefinitions(): Promise<ListConnectorDefinitionsCommandOutput>;
|
|
91
|
+
listConnectorDefinitions(args: ListConnectorDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<ListConnectorDefinitionsCommandOutput>;
|
|
92
|
+
listConnectorDefinitions(args: ListConnectorDefinitionsCommandInput, cb: (err: any, data?: ListConnectorDefinitionsCommandOutput) => void): void;
|
|
93
|
+
listConnectorDefinitions(args: ListConnectorDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConnectorDefinitionsCommandOutput) => void): void;
|
|
94
|
+
/**
|
|
95
|
+
* @see {@link ListConnectorsCommand}
|
|
96
|
+
*/
|
|
97
|
+
listConnectors(): Promise<ListConnectorsCommandOutput>;
|
|
98
|
+
listConnectors(args: ListConnectorsCommandInput, options?: __HttpHandlerOptions): Promise<ListConnectorsCommandOutput>;
|
|
99
|
+
listConnectors(args: ListConnectorsCommandInput, cb: (err: any, data?: ListConnectorsCommandOutput) => void): void;
|
|
100
|
+
listConnectors(args: ListConnectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConnectorsCommandOutput) => void): void;
|
|
48
101
|
/**
|
|
49
102
|
* @see {@link ListToolsCommand}
|
|
50
103
|
*/
|
|
@@ -52,12 +105,38 @@ export interface Tools {
|
|
|
52
105
|
listTools(args: ListToolsCommandInput, options?: __HttpHandlerOptions): Promise<ListToolsCommandOutput>;
|
|
53
106
|
listTools(args: ListToolsCommandInput, cb: (err: any, data?: ListToolsCommandOutput) => void): void;
|
|
54
107
|
listTools(args: ListToolsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListToolsCommandOutput) => void): void;
|
|
108
|
+
/**
|
|
109
|
+
* @see {@link ResolveConnectorConfigurationCommand}
|
|
110
|
+
*/
|
|
111
|
+
resolveConnectorConfiguration(args: ResolveConnectorConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<ResolveConnectorConfigurationCommandOutput>;
|
|
112
|
+
resolveConnectorConfiguration(args: ResolveConnectorConfigurationCommandInput, cb: (err: any, data?: ResolveConnectorConfigurationCommandOutput) => void): void;
|
|
113
|
+
resolveConnectorConfiguration(args: ResolveConnectorConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResolveConnectorConfigurationCommandOutput) => void): void;
|
|
114
|
+
/**
|
|
115
|
+
* @see {@link UpdateConnectorCommand}
|
|
116
|
+
*/
|
|
117
|
+
updateConnector(args: UpdateConnectorCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConnectorCommandOutput>;
|
|
118
|
+
updateConnector(args: UpdateConnectorCommandInput, cb: (err: any, data?: UpdateConnectorCommandOutput) => void): void;
|
|
119
|
+
updateConnector(args: UpdateConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConnectorCommandOutput) => void): void;
|
|
55
120
|
/**
|
|
56
121
|
* @see {@link UpdateToolCommand}
|
|
57
122
|
*/
|
|
58
123
|
updateTool(args: UpdateToolCommandInput, options?: __HttpHandlerOptions): Promise<UpdateToolCommandOutput>;
|
|
59
124
|
updateTool(args: UpdateToolCommandInput, cb: (err: any, data?: UpdateToolCommandOutput) => void): void;
|
|
60
125
|
updateTool(args: UpdateToolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateToolCommandOutput) => void): void;
|
|
126
|
+
/**
|
|
127
|
+
* @see {@link ListConnectorDefinitionsCommand}
|
|
128
|
+
* @param args - command input.
|
|
129
|
+
* @param paginationConfig - optional pagination config.
|
|
130
|
+
* @returns AsyncIterable of {@link ListConnectorDefinitionsCommandOutput}.
|
|
131
|
+
*/
|
|
132
|
+
paginateListConnectorDefinitions(args?: ListConnectorDefinitionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListConnectorDefinitionsCommandOutput>;
|
|
133
|
+
/**
|
|
134
|
+
* @see {@link ListConnectorsCommand}
|
|
135
|
+
* @param args - command input.
|
|
136
|
+
* @param paginationConfig - optional pagination config.
|
|
137
|
+
* @returns AsyncIterable of {@link ListConnectorsCommandOutput}.
|
|
138
|
+
*/
|
|
139
|
+
paginateListConnectors(args?: ListConnectorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListConnectorsCommandOutput>;
|
|
61
140
|
}
|
|
62
141
|
/**
|
|
63
142
|
* @public
|
|
@@ -5,13 +5,22 @@ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/cor
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
6
6
|
import type { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
7
7
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
8
|
+
import type { CreateConnectorCommandInput, CreateConnectorCommandOutput } from "./commands/CreateConnectorCommand";
|
|
8
9
|
import type { CreateToolCommandInput, CreateToolCommandOutput } from "./commands/CreateToolCommand";
|
|
10
|
+
import type { DeleteConnectorCommandInput, DeleteConnectorCommandOutput } from "./commands/DeleteConnectorCommand";
|
|
9
11
|
import type { DeleteToolCommandInput, DeleteToolCommandOutput } from "./commands/DeleteToolCommand";
|
|
10
12
|
import type { DescribeToolsCommandInput, DescribeToolsCommandOutput } from "./commands/DescribeToolsCommand";
|
|
11
13
|
import type { DiscoverToolsCommandInput, DiscoverToolsCommandOutput } from "./commands/DiscoverToolsCommand";
|
|
14
|
+
import type { ExecuteConnectorCommandInput, ExecuteConnectorCommandOutput } from "./commands/ExecuteConnectorCommand";
|
|
12
15
|
import type { ExecuteToolCommandInput, ExecuteToolCommandOutput } from "./commands/ExecuteToolCommand";
|
|
16
|
+
import type { GetConnectorCommandInput, GetConnectorCommandOutput } from "./commands/GetConnectorCommand";
|
|
17
|
+
import type { GetConnectorDefinitionCommandInput, GetConnectorDefinitionCommandOutput } from "./commands/GetConnectorDefinitionCommand";
|
|
13
18
|
import type { GetToolCommandInput, GetToolCommandOutput } from "./commands/GetToolCommand";
|
|
19
|
+
import type { ListConnectorDefinitionsCommandInput, ListConnectorDefinitionsCommandOutput } from "./commands/ListConnectorDefinitionsCommand";
|
|
20
|
+
import type { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./commands/ListConnectorsCommand";
|
|
14
21
|
import type { ListToolsCommandInput, ListToolsCommandOutput } from "./commands/ListToolsCommand";
|
|
22
|
+
import type { ResolveConnectorConfigurationCommandInput, ResolveConnectorConfigurationCommandOutput } from "./commands/ResolveConnectorConfigurationCommand";
|
|
23
|
+
import type { UpdateConnectorCommandInput, UpdateConnectorCommandOutput } from "./commands/UpdateConnectorCommand";
|
|
15
24
|
import type { UpdateToolCommandInput, UpdateToolCommandOutput } from "./commands/UpdateToolCommand";
|
|
16
25
|
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
17
26
|
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
@@ -19,11 +28,11 @@ export { __Client };
|
|
|
19
28
|
/**
|
|
20
29
|
* @public
|
|
21
30
|
*/
|
|
22
|
-
export type ServiceInputTypes = CreateToolCommandInput | DeleteToolCommandInput | DescribeToolsCommandInput | DiscoverToolsCommandInput | ExecuteToolCommandInput | GetToolCommandInput | ListToolsCommandInput | UpdateToolCommandInput;
|
|
31
|
+
export type ServiceInputTypes = CreateConnectorCommandInput | CreateToolCommandInput | DeleteConnectorCommandInput | DeleteToolCommandInput | DescribeToolsCommandInput | DiscoverToolsCommandInput | ExecuteConnectorCommandInput | ExecuteToolCommandInput | GetConnectorCommandInput | GetConnectorDefinitionCommandInput | GetToolCommandInput | ListConnectorDefinitionsCommandInput | ListConnectorsCommandInput | ListToolsCommandInput | ResolveConnectorConfigurationCommandInput | UpdateConnectorCommandInput | UpdateToolCommandInput;
|
|
23
32
|
/**
|
|
24
33
|
* @public
|
|
25
34
|
*/
|
|
26
|
-
export type ServiceOutputTypes = CreateToolCommandOutput | DeleteToolCommandOutput | DescribeToolsCommandOutput | DiscoverToolsCommandOutput | ExecuteToolCommandOutput | GetToolCommandOutput | ListToolsCommandOutput | UpdateToolCommandOutput;
|
|
35
|
+
export type ServiceOutputTypes = CreateConnectorCommandOutput | CreateToolCommandOutput | DeleteConnectorCommandOutput | DeleteToolCommandOutput | DescribeToolsCommandOutput | DiscoverToolsCommandOutput | ExecuteConnectorCommandOutput | ExecuteToolCommandOutput | GetConnectorCommandOutput | GetConnectorDefinitionCommandOutput | GetToolCommandOutput | ListConnectorDefinitionsCommandOutput | ListConnectorsCommandOutput | ListToolsCommandOutput | ResolveConnectorConfigurationCommandOutput | UpdateConnectorCommandOutput | UpdateToolCommandOutput;
|
|
27
36
|
/**
|
|
28
37
|
* @public
|
|
29
38
|
*/
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateConnectorInput, CreateConnectorOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, ToolsClientResolvedConfig } from "../ToolsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateConnectorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateConnectorCommandInput extends CreateConnectorInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateConnectorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateConnectorCommandOutput extends CreateConnectorOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateConnectorCommand_base: {
|
|
25
|
+
new (input: CreateConnectorCommandInput): import("@smithy/core/client").CommandImpl<CreateConnectorCommandInput, CreateConnectorCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateConnectorCommandInput): import("@smithy/core/client").CommandImpl<CreateConnectorCommandInput, CreateConnectorCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Creates a company-owned connector from a server definition.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ToolsClient, CreateConnectorCommand } from "@wildix/wim-tools-client"; // ES Modules import
|
|
35
|
+
* // const { ToolsClient, CreateConnectorCommand } = require("@wildix/wim-tools-client"); // CommonJS import
|
|
36
|
+
* // import type { ToolsClientConfig } from "@wildix/wim-tools-client";
|
|
37
|
+
* const config = {}; // type is ToolsClientConfig
|
|
38
|
+
* const client = new ToolsClient(config);
|
|
39
|
+
* const input = { // CreateConnectorInput
|
|
40
|
+
* definition: { // ConnectorDefinitionRef
|
|
41
|
+
* key: "STRING_VALUE", // required
|
|
42
|
+
* version: "STRING_VALUE", // required
|
|
43
|
+
* },
|
|
44
|
+
* configuration: "DOCUMENT_VALUE", // required
|
|
45
|
+
* authorization: { // ConnectorAuthorization Union: only one key present
|
|
46
|
+
* shared: { // ConnectorSharedAuthorization
|
|
47
|
+
* connectionId: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* user: {},
|
|
50
|
+
* },
|
|
51
|
+
* name: "STRING_VALUE", // required
|
|
52
|
+
* description: "STRING_VALUE", // required
|
|
53
|
+
* enabledTools: [ // ConnectorEnabledTools // required
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
56
|
+
* companyId: "STRING_VALUE",
|
|
57
|
+
* };
|
|
58
|
+
* const command = new CreateConnectorCommand(input);
|
|
59
|
+
* const response = await client.send(command);
|
|
60
|
+
* // { // CreateConnectorOutput
|
|
61
|
+
* // connector: { // Connector
|
|
62
|
+
* // definition: { // ConnectorDefinitionRef
|
|
63
|
+
* // key: "STRING_VALUE", // required
|
|
64
|
+
* // version: "STRING_VALUE", // required
|
|
65
|
+
* // },
|
|
66
|
+
* // configuration: "DOCUMENT_VALUE", // required
|
|
67
|
+
* // authorization: { // ConnectorAuthorization Union: only one key present
|
|
68
|
+
* // shared: { // ConnectorSharedAuthorization
|
|
69
|
+
* // connectionId: "STRING_VALUE", // required
|
|
70
|
+
* // },
|
|
71
|
+
* // user: {},
|
|
72
|
+
* // },
|
|
73
|
+
* // name: "STRING_VALUE", // required
|
|
74
|
+
* // description: "STRING_VALUE", // required
|
|
75
|
+
* // enabledTools: [ // ConnectorEnabledTools // required
|
|
76
|
+
* // "STRING_VALUE",
|
|
77
|
+
* // ],
|
|
78
|
+
* // id: "STRING_VALUE", // required
|
|
79
|
+
* // companyId: "STRING_VALUE", // required
|
|
80
|
+
* // },
|
|
81
|
+
* // };
|
|
82
|
+
*
|
|
83
|
+
* ```
|
|
84
|
+
*
|
|
85
|
+
* @param CreateConnectorCommandInput - {@link CreateConnectorCommandInput}
|
|
86
|
+
* @returns {@link CreateConnectorCommandOutput}
|
|
87
|
+
* @see {@link CreateConnectorCommandInput} for command's `input` shape.
|
|
88
|
+
* @see {@link CreateConnectorCommandOutput} for command's `response` shape.
|
|
89
|
+
* @see {@link ToolsClientResolvedConfig | config} for ToolsClient's `config` shape.
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ValidationException} (client fault)
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link NotFoundException} (client fault)
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link AlreadyExistException} (client fault)
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link ToolExecutionException} (client fault)
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ToolExecutionServerException} (server fault)
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link ToolsServiceException}
|
|
106
|
+
* <p>Base exception class for all service exceptions from Tools service.</p>
|
|
107
|
+
*
|
|
108
|
+
*
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export declare class CreateConnectorCommand extends CreateConnectorCommand_base {
|
|
112
|
+
/** @internal type navigation helper, not in runtime. */
|
|
113
|
+
protected static __types: {
|
|
114
|
+
api: {
|
|
115
|
+
input: CreateConnectorInput;
|
|
116
|
+
output: CreateConnectorOutput;
|
|
117
|
+
};
|
|
118
|
+
sdk: {
|
|
119
|
+
input: CreateConnectorCommandInput;
|
|
120
|
+
output: CreateConnectorCommandOutput;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
}
|
|
@@ -24,9 +24,7 @@ export interface CreateToolCommandOutput extends CreateToolOutput, __MetadataBea
|
|
|
24
24
|
declare const CreateToolCommand_base: {
|
|
25
25
|
new (input: CreateToolCommandInput): import("@smithy/core/client").CommandImpl<CreateToolCommandInput, CreateToolCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: CreateToolCommandInput): import("@smithy/core/client").CommandImpl<CreateToolCommandInput, CreateToolCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
28
|
};
|
|
31
29
|
/**
|
|
32
30
|
* Create a new tool.
|
|
@@ -50,6 +48,10 @@ declare const CreateToolCommand_base: {
|
|
|
50
48
|
* type: "string" || "number" || "boolean" || "string_array" || "number_array" || "schema", // required
|
|
51
49
|
* optional: true || false, // required
|
|
52
50
|
* description: "STRING_VALUE",
|
|
51
|
+
* enum: [ // ToolVariableEnumValues
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* format: "STRING_VALUE",
|
|
53
55
|
* schema: "DOCUMENT_VALUE",
|
|
54
56
|
* },
|
|
55
57
|
* ],
|
|
@@ -131,6 +133,23 @@ declare const CreateToolCommand_base: {
|
|
|
131
133
|
* message: "STRING_VALUE", // required
|
|
132
134
|
* },
|
|
133
135
|
* },
|
|
136
|
+
* calendar: { // ToolCalendarConfig
|
|
137
|
+
* operation: "get_slots" || "schedule" || "reschedule" || "cancel" || "list_resource_events", // required
|
|
138
|
+
* },
|
|
139
|
+
* connector: { // ToolConnectorHandler
|
|
140
|
+
* definition: { // ConnectorDefinitionRef
|
|
141
|
+
* key: "STRING_VALUE", // required
|
|
142
|
+
* version: "STRING_VALUE", // required
|
|
143
|
+
* },
|
|
144
|
+
* configuration: "DOCUMENT_VALUE", // required
|
|
145
|
+
* authorization: { // ConnectorAuthorization Union: only one key present
|
|
146
|
+
* shared: { // ConnectorSharedAuthorization
|
|
147
|
+
* connectionId: "STRING_VALUE", // required
|
|
148
|
+
* },
|
|
149
|
+
* user: {},
|
|
150
|
+
* },
|
|
151
|
+
* toolId: "STRING_VALUE", // required
|
|
152
|
+
* },
|
|
134
153
|
* mcp: { // ToolMcpHandler
|
|
135
154
|
* serverUrl: "STRING_VALUE", // required
|
|
136
155
|
* authorization: { // ToolMcpAuthorization Union: only one key present
|
|
@@ -167,6 +186,10 @@ declare const CreateToolCommand_base: {
|
|
|
167
186
|
* // type: "string" || "number" || "boolean" || "string_array" || "number_array" || "schema", // required
|
|
168
187
|
* // optional: true || false, // required
|
|
169
188
|
* // description: "STRING_VALUE",
|
|
189
|
+
* // enum: [ // ToolVariableEnumValues
|
|
190
|
+
* // "STRING_VALUE",
|
|
191
|
+
* // ],
|
|
192
|
+
* // format: "STRING_VALUE",
|
|
170
193
|
* // schema: "DOCUMENT_VALUE",
|
|
171
194
|
* // },
|
|
172
195
|
* // ],
|
|
@@ -248,6 +271,23 @@ declare const CreateToolCommand_base: {
|
|
|
248
271
|
* // message: "STRING_VALUE", // required
|
|
249
272
|
* // },
|
|
250
273
|
* // },
|
|
274
|
+
* // calendar: { // ToolCalendarConfig
|
|
275
|
+
* // operation: "get_slots" || "schedule" || "reschedule" || "cancel" || "list_resource_events", // required
|
|
276
|
+
* // },
|
|
277
|
+
* // connector: { // ToolConnectorHandler
|
|
278
|
+
* // definition: { // ConnectorDefinitionRef
|
|
279
|
+
* // key: "STRING_VALUE", // required
|
|
280
|
+
* // version: "STRING_VALUE", // required
|
|
281
|
+
* // },
|
|
282
|
+
* // configuration: "DOCUMENT_VALUE", // required
|
|
283
|
+
* // authorization: { // ConnectorAuthorization Union: only one key present
|
|
284
|
+
* // shared: { // ConnectorSharedAuthorization
|
|
285
|
+
* // connectionId: "STRING_VALUE", // required
|
|
286
|
+
* // },
|
|
287
|
+
* // user: {},
|
|
288
|
+
* // },
|
|
289
|
+
* // toolId: "STRING_VALUE", // required
|
|
290
|
+
* // },
|
|
251
291
|
* // mcp: { // ToolMcpHandler
|
|
252
292
|
* // serverUrl: "STRING_VALUE", // required
|
|
253
293
|
* // authorization: { // ToolMcpAuthorization Union: only one key present
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DeleteConnectorInput, DeleteConnectorOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, ToolsClientResolvedConfig } from "../ToolsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteConnectorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteConnectorCommandInput extends DeleteConnectorInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteConnectorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteConnectorCommandOutput extends DeleteConnectorOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteConnectorCommand_base: {
|
|
25
|
+
new (input: DeleteConnectorCommandInput): import("@smithy/core/client").CommandImpl<DeleteConnectorCommandInput, DeleteConnectorCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteConnectorCommandInput): import("@smithy/core/client").CommandImpl<DeleteConnectorCommandInput, DeleteConnectorCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Deletes a configured connector.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ToolsClient, DeleteConnectorCommand } from "@wildix/wim-tools-client"; // ES Modules import
|
|
35
|
+
* // const { ToolsClient, DeleteConnectorCommand } = require("@wildix/wim-tools-client"); // CommonJS import
|
|
36
|
+
* // import type { ToolsClientConfig } from "@wildix/wim-tools-client";
|
|
37
|
+
* const config = {}; // type is ToolsClientConfig
|
|
38
|
+
* const client = new ToolsClient(config);
|
|
39
|
+
* const input = { // DeleteConnectorInput
|
|
40
|
+
* companyId: "STRING_VALUE",
|
|
41
|
+
* connectorId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DeleteConnectorCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param DeleteConnectorCommandInput - {@link DeleteConnectorCommandInput}
|
|
50
|
+
* @returns {@link DeleteConnectorCommandOutput}
|
|
51
|
+
* @see {@link DeleteConnectorCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link DeleteConnectorCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link ToolsClientResolvedConfig | config} for ToolsClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ValidationException} (client fault)
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link NotFoundException} (client fault)
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link AlreadyExistException} (client fault)
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ToolExecutionException} (client fault)
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ToolExecutionServerException} (server fault)
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ToolsServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from Tools service.</p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class DeleteConnectorCommand extends DeleteConnectorCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: DeleteConnectorInput;
|
|
80
|
+
output: {};
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: DeleteConnectorCommandInput;
|
|
84
|
+
output: DeleteConnectorCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -24,9 +24,7 @@ export interface DeleteToolCommandOutput extends DeleteToolOutput, __MetadataBea
|
|
|
24
24
|
declare const DeleteToolCommand_base: {
|
|
25
25
|
new (input: DeleteToolCommandInput): import("@smithy/core/client").CommandImpl<DeleteToolCommandInput, DeleteToolCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: DeleteToolCommandInput): import("@smithy/core/client").CommandImpl<DeleteToolCommandInput, DeleteToolCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
28
|
};
|
|
31
29
|
/**
|
|
32
30
|
* Delete a tool by its ID.
|
|
@@ -24,9 +24,7 @@ export interface DescribeToolsCommandOutput extends DescribeToolsOutput, __Metad
|
|
|
24
24
|
declare const DescribeToolsCommand_base: {
|
|
25
25
|
new (input: DescribeToolsCommandInput): import("@smithy/core/client").CommandImpl<DescribeToolsCommandInput, DescribeToolsCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: DescribeToolsCommandInput): import("@smithy/core/client").CommandImpl<DescribeToolsCommandInput, DescribeToolsCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
28
|
};
|
|
31
29
|
/**
|
|
32
30
|
* Describe multiple tools by their IDs.
|
|
@@ -58,6 +56,10 @@ declare const DescribeToolsCommand_base: {
|
|
|
58
56
|
* // type: "string" || "number" || "boolean" || "string_array" || "number_array" || "schema", // required
|
|
59
57
|
* // optional: true || false, // required
|
|
60
58
|
* // description: "STRING_VALUE",
|
|
59
|
+
* // enum: [ // ToolVariableEnumValues
|
|
60
|
+
* // "STRING_VALUE",
|
|
61
|
+
* // ],
|
|
62
|
+
* // format: "STRING_VALUE",
|
|
61
63
|
* // schema: "DOCUMENT_VALUE",
|
|
62
64
|
* // },
|
|
63
65
|
* // ],
|
|
@@ -24,9 +24,7 @@ export interface DiscoverToolsCommandOutput extends DiscoverToolsOutput, __Metad
|
|
|
24
24
|
declare const DiscoverToolsCommand_base: {
|
|
25
25
|
new (input: DiscoverToolsCommandInput): import("@smithy/core/client").CommandImpl<DiscoverToolsCommandInput, DiscoverToolsCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: DiscoverToolsCommandInput): import("@smithy/core/client").CommandImpl<DiscoverToolsCommandInput, DiscoverToolsCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
28
|
};
|
|
31
29
|
/**
|
|
32
30
|
* Discover tools from an MCP server.
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ExecuteConnectorInput, ExecuteConnectorOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, ToolsClientResolvedConfig } from "../ToolsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ExecuteConnectorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ExecuteConnectorCommandInput extends ExecuteConnectorInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ExecuteConnectorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ExecuteConnectorCommandOutput extends ExecuteConnectorOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ExecuteConnectorCommand_base: {
|
|
25
|
+
new (input: ExecuteConnectorCommandInput): import("@smithy/core/client").CommandImpl<ExecuteConnectorCommandInput, ExecuteConnectorCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ExecuteConnectorCommandInput): import("@smithy/core/client").CommandImpl<ExecuteConnectorCommandInput, ExecuteConnectorCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Executes a connector with the invocation payload supplied by the model or agent.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ToolsClient, ExecuteConnectorCommand } from "@wildix/wim-tools-client"; // ES Modules import
|
|
35
|
+
* // const { ToolsClient, ExecuteConnectorCommand } = require("@wildix/wim-tools-client"); // CommonJS import
|
|
36
|
+
* // import type { ToolsClientConfig } from "@wildix/wim-tools-client";
|
|
37
|
+
* const config = {}; // type is ToolsClientConfig
|
|
38
|
+
* const client = new ToolsClient(config);
|
|
39
|
+
* const input = { // ExecuteConnectorInput
|
|
40
|
+
* companyId: "STRING_VALUE",
|
|
41
|
+
* connectorId: "STRING_VALUE", // required
|
|
42
|
+
* input: "DOCUMENT_VALUE", // required
|
|
43
|
+
* service: "STRING_VALUE",
|
|
44
|
+
* user: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new ExecuteConnectorCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // ExecuteConnectorOutput
|
|
49
|
+
* // result: { // ConnectorExecutionResult
|
|
50
|
+
* // output: "DOCUMENT_VALUE", // required
|
|
51
|
+
* // executionId: "STRING_VALUE", // required
|
|
52
|
+
* // definitionVersion: "STRING_VALUE", // required
|
|
53
|
+
* // },
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param ExecuteConnectorCommandInput - {@link ExecuteConnectorCommandInput}
|
|
59
|
+
* @returns {@link ExecuteConnectorCommandOutput}
|
|
60
|
+
* @see {@link ExecuteConnectorCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link ExecuteConnectorCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link ToolsClientResolvedConfig | config} for ToolsClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ValidationException} (client fault)
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link NotFoundException} (client fault)
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ToolExecutionException} (client fault)
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ToolExecutionServerException} (server fault)
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link AlreadyExistException} (client fault)
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ToolsServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from Tools service.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class ExecuteConnectorCommand extends ExecuteConnectorCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: ExecuteConnectorInput;
|
|
89
|
+
output: ExecuteConnectorOutput;
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: ExecuteConnectorCommandInput;
|
|
93
|
+
output: ExecuteConnectorCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -24,9 +24,7 @@ export interface ExecuteToolCommandOutput extends ExecuteToolOutput, __MetadataB
|
|
|
24
24
|
declare const ExecuteToolCommand_base: {
|
|
25
25
|
new (input: ExecuteToolCommandInput): import("@smithy/core/client").CommandImpl<ExecuteToolCommandInput, ExecuteToolCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: ExecuteToolCommandInput): import("@smithy/core/client").CommandImpl<ExecuteToolCommandInput, ExecuteToolCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
28
|
};
|
|
31
29
|
/**
|
|
32
30
|
* Execute a tool with the provided input.
|