@wildix/wim-cache-client 1.0.1 → 1.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/WimCache.js +8 -0
- package/dist-cjs/WimCacheClient.js +14 -8
- package/dist-cjs/commands/DeleteEntitiesFromGeneralCacheCommand.js +12 -32
- package/dist-cjs/commands/DeleteIntegrationDataCommand.js +21 -0
- package/dist-cjs/commands/GetEntitiesByIdsCommand.js +12 -32
- package/dist-cjs/commands/GetIntegrationDataCommand.js +21 -0
- package/dist-cjs/commands/PutEntitiesToGeneralCacheCommand.js +12 -32
- package/dist-cjs/commands/PutIntegrationDataCommand.js +21 -0
- package/dist-cjs/commands/SearchEntitiesByListParamsCommand.js +12 -32
- package/dist-cjs/commands/SearchEntitiesByParamsCommand.js +12 -32
- package/dist-cjs/commands/SyncCacheCommand.js +12 -32
- package/dist-cjs/commands/UpdateEntitiesWeightCommand.js +21 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +16 -3
- package/dist-cjs/protocols/Aws_restJson1.js +227 -227
- package/dist-cjs/runtimeConfig.browser.js +5 -1
- package/dist-cjs/runtimeConfig.js +8 -3
- package/dist-cjs/runtimeConfig.shared.js +13 -11
- package/dist-cjs/runtimeExtensions.js +2 -10
- package/dist-es/WimCache.js +8 -0
- package/dist-es/WimCacheClient.js +15 -9
- package/dist-es/commands/DeleteEntitiesFromGeneralCacheCommand.js +12 -32
- package/dist-es/commands/DeleteIntegrationDataCommand.js +17 -0
- package/dist-es/commands/GetEntitiesByIdsCommand.js +12 -32
- package/dist-es/commands/GetIntegrationDataCommand.js +17 -0
- package/dist-es/commands/PutEntitiesToGeneralCacheCommand.js +12 -32
- package/dist-es/commands/PutIntegrationDataCommand.js +17 -0
- package/dist-es/commands/SearchEntitiesByListParamsCommand.js +12 -32
- package/dist-es/commands/SearchEntitiesByParamsCommand.js +12 -32
- package/dist-es/commands/SyncCacheCommand.js +12 -32
- package/dist-es/commands/UpdateEntitiesWeightCommand.js +17 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +14 -2
- package/dist-es/protocols/Aws_restJson1.js +209 -217
- package/dist-es/runtimeConfig.browser.js +4 -1
- package/dist-es/runtimeConfig.js +7 -3
- package/dist-es/runtimeConfig.shared.js +13 -11
- package/dist-es/runtimeExtensions.js +2 -10
- package/dist-types/WimCache.d.ts +31 -0
- package/dist-types/WimCacheClient.d.ts +22 -11
- package/dist-types/commands/DeleteEntitiesFromGeneralCacheCommand.d.ts +24 -21
- package/dist-types/commands/DeleteIntegrationDataCommand.d.ts +76 -0
- package/dist-types/commands/GetEntitiesByIdsCommand.d.ts +27 -21
- package/dist-types/commands/GetIntegrationDataCommand.d.ts +84 -0
- package/dist-types/commands/PutEntitiesToGeneralCacheCommand.d.ts +24 -21
- package/dist-types/commands/PutIntegrationDataCommand.d.ts +78 -0
- package/dist-types/commands/SearchEntitiesByListParamsCommand.d.ts +27 -21
- package/dist-types/commands/SearchEntitiesByParamsCommand.d.ts +27 -21
- package/dist-types/commands/SyncCacheCommand.d.ts +24 -21
- package/dist-types/commands/UpdateEntitiesWeightCommand.d.ts +79 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/index.d.ts +2 -0
- package/dist-types/models/WimCacheServiceException.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +213 -71
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/runtimeConfig.browser.d.ts +12 -5
- package/dist-types/runtimeConfig.d.ts +12 -5
- package/dist-types/runtimeConfig.native.d.ts +12 -5
- package/package.json +41 -35
package/dist-types/WimCache.d.ts
CHANGED
|
@@ -1,30 +1,54 @@
|
|
|
1
1
|
import { WimCacheClient } from "./WimCacheClient";
|
|
2
2
|
import { DeleteEntitiesFromGeneralCacheCommandInput, DeleteEntitiesFromGeneralCacheCommandOutput } from "./commands/DeleteEntitiesFromGeneralCacheCommand";
|
|
3
|
+
import { DeleteIntegrationDataCommandInput, DeleteIntegrationDataCommandOutput } from "./commands/DeleteIntegrationDataCommand";
|
|
3
4
|
import { GetEntitiesByIdsCommandInput, GetEntitiesByIdsCommandOutput } from "./commands/GetEntitiesByIdsCommand";
|
|
5
|
+
import { GetIntegrationDataCommandInput, GetIntegrationDataCommandOutput } from "./commands/GetIntegrationDataCommand";
|
|
4
6
|
import { PutEntitiesToGeneralCacheCommandInput, PutEntitiesToGeneralCacheCommandOutput } from "./commands/PutEntitiesToGeneralCacheCommand";
|
|
7
|
+
import { PutIntegrationDataCommandInput, PutIntegrationDataCommandOutput } from "./commands/PutIntegrationDataCommand";
|
|
5
8
|
import { SearchEntitiesByListParamsCommandInput, SearchEntitiesByListParamsCommandOutput } from "./commands/SearchEntitiesByListParamsCommand";
|
|
6
9
|
import { SearchEntitiesByParamsCommandInput, SearchEntitiesByParamsCommandOutput } from "./commands/SearchEntitiesByParamsCommand";
|
|
7
10
|
import { SyncCacheCommandInput, SyncCacheCommandOutput } from "./commands/SyncCacheCommand";
|
|
11
|
+
import { UpdateEntitiesWeightCommandInput, UpdateEntitiesWeightCommandOutput } from "./commands/UpdateEntitiesWeightCommand";
|
|
8
12
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
9
13
|
export interface WimCache {
|
|
10
14
|
/**
|
|
11
15
|
* @see {@link DeleteEntitiesFromGeneralCacheCommand}
|
|
12
16
|
*/
|
|
17
|
+
deleteEntitiesFromGeneralCache(): Promise<DeleteEntitiesFromGeneralCacheCommandOutput>;
|
|
13
18
|
deleteEntitiesFromGeneralCache(args: DeleteEntitiesFromGeneralCacheCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEntitiesFromGeneralCacheCommandOutput>;
|
|
14
19
|
deleteEntitiesFromGeneralCache(args: DeleteEntitiesFromGeneralCacheCommandInput, cb: (err: any, data?: DeleteEntitiesFromGeneralCacheCommandOutput) => void): void;
|
|
15
20
|
deleteEntitiesFromGeneralCache(args: DeleteEntitiesFromGeneralCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEntitiesFromGeneralCacheCommandOutput) => void): void;
|
|
21
|
+
/**
|
|
22
|
+
* @see {@link DeleteIntegrationDataCommand}
|
|
23
|
+
*/
|
|
24
|
+
deleteIntegrationData(args: DeleteIntegrationDataCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIntegrationDataCommandOutput>;
|
|
25
|
+
deleteIntegrationData(args: DeleteIntegrationDataCommandInput, cb: (err: any, data?: DeleteIntegrationDataCommandOutput) => void): void;
|
|
26
|
+
deleteIntegrationData(args: DeleteIntegrationDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIntegrationDataCommandOutput) => void): void;
|
|
16
27
|
/**
|
|
17
28
|
* @see {@link GetEntitiesByIdsCommand}
|
|
18
29
|
*/
|
|
19
30
|
getEntitiesByIds(args: GetEntitiesByIdsCommandInput, options?: __HttpHandlerOptions): Promise<GetEntitiesByIdsCommandOutput>;
|
|
20
31
|
getEntitiesByIds(args: GetEntitiesByIdsCommandInput, cb: (err: any, data?: GetEntitiesByIdsCommandOutput) => void): void;
|
|
21
32
|
getEntitiesByIds(args: GetEntitiesByIdsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEntitiesByIdsCommandOutput) => void): void;
|
|
33
|
+
/**
|
|
34
|
+
* @see {@link GetIntegrationDataCommand}
|
|
35
|
+
*/
|
|
36
|
+
getIntegrationData(args: GetIntegrationDataCommandInput, options?: __HttpHandlerOptions): Promise<GetIntegrationDataCommandOutput>;
|
|
37
|
+
getIntegrationData(args: GetIntegrationDataCommandInput, cb: (err: any, data?: GetIntegrationDataCommandOutput) => void): void;
|
|
38
|
+
getIntegrationData(args: GetIntegrationDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIntegrationDataCommandOutput) => void): void;
|
|
22
39
|
/**
|
|
23
40
|
* @see {@link PutEntitiesToGeneralCacheCommand}
|
|
24
41
|
*/
|
|
42
|
+
putEntitiesToGeneralCache(): Promise<PutEntitiesToGeneralCacheCommandOutput>;
|
|
25
43
|
putEntitiesToGeneralCache(args: PutEntitiesToGeneralCacheCommandInput, options?: __HttpHandlerOptions): Promise<PutEntitiesToGeneralCacheCommandOutput>;
|
|
26
44
|
putEntitiesToGeneralCache(args: PutEntitiesToGeneralCacheCommandInput, cb: (err: any, data?: PutEntitiesToGeneralCacheCommandOutput) => void): void;
|
|
27
45
|
putEntitiesToGeneralCache(args: PutEntitiesToGeneralCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutEntitiesToGeneralCacheCommandOutput) => void): void;
|
|
46
|
+
/**
|
|
47
|
+
* @see {@link PutIntegrationDataCommand}
|
|
48
|
+
*/
|
|
49
|
+
putIntegrationData(args: PutIntegrationDataCommandInput, options?: __HttpHandlerOptions): Promise<PutIntegrationDataCommandOutput>;
|
|
50
|
+
putIntegrationData(args: PutIntegrationDataCommandInput, cb: (err: any, data?: PutIntegrationDataCommandOutput) => void): void;
|
|
51
|
+
putIntegrationData(args: PutIntegrationDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutIntegrationDataCommandOutput) => void): void;
|
|
28
52
|
/**
|
|
29
53
|
* @see {@link SearchEntitiesByListParamsCommand}
|
|
30
54
|
*/
|
|
@@ -34,6 +58,7 @@ export interface WimCache {
|
|
|
34
58
|
/**
|
|
35
59
|
* @see {@link SearchEntitiesByParamsCommand}
|
|
36
60
|
*/
|
|
61
|
+
searchEntitiesByParams(): Promise<SearchEntitiesByParamsCommandOutput>;
|
|
37
62
|
searchEntitiesByParams(args: SearchEntitiesByParamsCommandInput, options?: __HttpHandlerOptions): Promise<SearchEntitiesByParamsCommandOutput>;
|
|
38
63
|
searchEntitiesByParams(args: SearchEntitiesByParamsCommandInput, cb: (err: any, data?: SearchEntitiesByParamsCommandOutput) => void): void;
|
|
39
64
|
searchEntitiesByParams(args: SearchEntitiesByParamsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchEntitiesByParamsCommandOutput) => void): void;
|
|
@@ -43,6 +68,12 @@ export interface WimCache {
|
|
|
43
68
|
syncCache(args: SyncCacheCommandInput, options?: __HttpHandlerOptions): Promise<SyncCacheCommandOutput>;
|
|
44
69
|
syncCache(args: SyncCacheCommandInput, cb: (err: any, data?: SyncCacheCommandOutput) => void): void;
|
|
45
70
|
syncCache(args: SyncCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SyncCacheCommandOutput) => void): void;
|
|
71
|
+
/**
|
|
72
|
+
* @see {@link UpdateEntitiesWeightCommand}
|
|
73
|
+
*/
|
|
74
|
+
updateEntitiesWeight(args: UpdateEntitiesWeightCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEntitiesWeightCommandOutput>;
|
|
75
|
+
updateEntitiesWeight(args: UpdateEntitiesWeightCommandInput, cb: (err: any, data?: UpdateEntitiesWeightCommandOutput) => void): void;
|
|
76
|
+
updateEntitiesWeight(args: UpdateEntitiesWeightCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEntitiesWeightCommandOutput) => void): void;
|
|
46
77
|
}
|
|
47
78
|
/**
|
|
48
79
|
* @public
|
|
@@ -1,31 +1,37 @@
|
|
|
1
1
|
import { DeleteEntitiesFromGeneralCacheCommandInput, DeleteEntitiesFromGeneralCacheCommandOutput } from "./commands/DeleteEntitiesFromGeneralCacheCommand";
|
|
2
|
+
import { DeleteIntegrationDataCommandInput, DeleteIntegrationDataCommandOutput } from "./commands/DeleteIntegrationDataCommand";
|
|
2
3
|
import { GetEntitiesByIdsCommandInput, GetEntitiesByIdsCommandOutput } from "./commands/GetEntitiesByIdsCommand";
|
|
4
|
+
import { GetIntegrationDataCommandInput, GetIntegrationDataCommandOutput } from "./commands/GetIntegrationDataCommand";
|
|
3
5
|
import { PutEntitiesToGeneralCacheCommandInput, PutEntitiesToGeneralCacheCommandOutput } from "./commands/PutEntitiesToGeneralCacheCommand";
|
|
6
|
+
import { PutIntegrationDataCommandInput, PutIntegrationDataCommandOutput } from "./commands/PutIntegrationDataCommand";
|
|
4
7
|
import { SearchEntitiesByListParamsCommandInput, SearchEntitiesByListParamsCommandOutput } from "./commands/SearchEntitiesByListParamsCommand";
|
|
5
8
|
import { SearchEntitiesByParamsCommandInput, SearchEntitiesByParamsCommandOutput } from "./commands/SearchEntitiesByParamsCommand";
|
|
6
9
|
import { SyncCacheCommandInput, SyncCacheCommandOutput } from "./commands/SyncCacheCommand";
|
|
10
|
+
import { UpdateEntitiesWeightCommandInput, UpdateEntitiesWeightCommandOutput } from "./commands/UpdateEntitiesWeightCommand";
|
|
7
11
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
8
|
-
import {
|
|
12
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
13
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
14
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
9
15
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
10
|
-
import { 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 } from "@smithy/types";
|
|
11
|
-
import { TokenProvider } from
|
|
16
|
+
import { Provider, 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";
|
|
17
|
+
import { TokenProvider } from '@wildix/smithy-utils';
|
|
12
18
|
export { __Client };
|
|
13
19
|
/**
|
|
14
20
|
* @public
|
|
15
21
|
*/
|
|
16
|
-
export type ServiceInputTypes = DeleteEntitiesFromGeneralCacheCommandInput | GetEntitiesByIdsCommandInput | PutEntitiesToGeneralCacheCommandInput | SearchEntitiesByListParamsCommandInput | SearchEntitiesByParamsCommandInput | SyncCacheCommandInput;
|
|
22
|
+
export type ServiceInputTypes = DeleteEntitiesFromGeneralCacheCommandInput | DeleteIntegrationDataCommandInput | GetEntitiesByIdsCommandInput | GetIntegrationDataCommandInput | PutEntitiesToGeneralCacheCommandInput | PutIntegrationDataCommandInput | SearchEntitiesByListParamsCommandInput | SearchEntitiesByParamsCommandInput | SyncCacheCommandInput | UpdateEntitiesWeightCommandInput;
|
|
17
23
|
/**
|
|
18
24
|
* @public
|
|
19
25
|
*/
|
|
20
|
-
export type ServiceOutputTypes = DeleteEntitiesFromGeneralCacheCommandOutput | GetEntitiesByIdsCommandOutput | PutEntitiesToGeneralCacheCommandOutput | SearchEntitiesByListParamsCommandOutput | SearchEntitiesByParamsCommandOutput | SyncCacheCommandOutput;
|
|
26
|
+
export type ServiceOutputTypes = DeleteEntitiesFromGeneralCacheCommandOutput | DeleteIntegrationDataCommandOutput | GetEntitiesByIdsCommandOutput | GetIntegrationDataCommandOutput | PutEntitiesToGeneralCacheCommandOutput | PutIntegrationDataCommandOutput | SearchEntitiesByListParamsCommandOutput | SearchEntitiesByParamsCommandOutput | SyncCacheCommandOutput | UpdateEntitiesWeightCommandOutput;
|
|
21
27
|
/**
|
|
22
28
|
* @public
|
|
23
29
|
*/
|
|
24
|
-
export interface ClientDefaults extends Partial<
|
|
30
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
25
31
|
/**
|
|
26
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
32
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
27
33
|
*/
|
|
28
|
-
requestHandler?:
|
|
34
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
29
35
|
/**
|
|
30
36
|
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
31
37
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
@@ -77,6 +83,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
77
83
|
* trait of an operation.
|
|
78
84
|
*/
|
|
79
85
|
disableHostPrefix?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
80
91
|
/**
|
|
81
92
|
* Value for how many times a request will be made at most in case of retry.
|
|
82
93
|
*/
|
|
@@ -103,20 +114,20 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
103
114
|
/**
|
|
104
115
|
* @public
|
|
105
116
|
*/
|
|
106
|
-
export type WimCacheClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults;
|
|
117
|
+
export type WimCacheClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig;
|
|
107
118
|
/**
|
|
108
119
|
* @public
|
|
109
120
|
*
|
|
110
121
|
* The configuration interface of WimCacheClient class constructor that set the region, credentials and other options.
|
|
111
122
|
*/
|
|
112
123
|
export interface WimCacheClientConfig extends WimCacheClientConfigType {
|
|
113
|
-
env
|
|
124
|
+
env?: 'stage' | 'stable' | 'prod';
|
|
114
125
|
token: TokenProvider;
|
|
115
126
|
}
|
|
116
127
|
/**
|
|
117
128
|
* @public
|
|
118
129
|
*/
|
|
119
|
-
export type WimCacheClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig;
|
|
130
|
+
export type WimCacheClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig;
|
|
120
131
|
/**
|
|
121
132
|
* @public
|
|
122
133
|
*
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ServiceInputTypes, ServiceOutputTypes, WimCacheClientResolvedConfig } from "../WimCacheClient";
|
|
2
2
|
import { DeleteEntitiesFromGeneralCacheInput, DeleteEntitiesFromGeneralCacheOutput } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
|
-
export { __MetadataBearer
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
9
10
|
/**
|
|
10
11
|
* @public
|
|
11
12
|
*
|
|
@@ -20,8 +21,12 @@ export interface DeleteEntitiesFromGeneralCacheCommandInput extends DeleteEntiti
|
|
|
20
21
|
*/
|
|
21
22
|
export interface DeleteEntitiesFromGeneralCacheCommandOutput extends DeleteEntitiesFromGeneralCacheOutput, __MetadataBearer {
|
|
22
23
|
}
|
|
24
|
+
declare const DeleteEntitiesFromGeneralCacheCommand_base: {
|
|
25
|
+
new (input: DeleteEntitiesFromGeneralCacheCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteEntitiesFromGeneralCacheCommandInput, DeleteEntitiesFromGeneralCacheCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [DeleteEntitiesFromGeneralCacheCommandInput]): import("@smithy/smithy-client").CommandImpl<DeleteEntitiesFromGeneralCacheCommandInput, DeleteEntitiesFromGeneralCacheCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
23
29
|
/**
|
|
24
|
-
* @public
|
|
25
30
|
* Deleting entities to the general cache, requires one of the parameters: email or phone or clean
|
|
26
31
|
* @example
|
|
27
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -48,26 +53,24 @@ export interface DeleteEntitiesFromGeneralCacheCommandOutput extends DeleteEntit
|
|
|
48
53
|
*
|
|
49
54
|
* @throws {@link ValidationException} (client fault)
|
|
50
55
|
*
|
|
56
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
57
|
+
*
|
|
51
58
|
* @throws {@link WimCacheServiceException}
|
|
52
59
|
* <p>Base exception class for all service exceptions from WimCache service.</p>
|
|
53
60
|
*
|
|
61
|
+
*
|
|
62
|
+
* @public
|
|
54
63
|
*/
|
|
55
|
-
export declare class DeleteEntitiesFromGeneralCacheCommand extends
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
*/
|
|
68
|
-
private serialize;
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
72
|
-
private deserialize;
|
|
64
|
+
export declare class DeleteEntitiesFromGeneralCacheCommand extends DeleteEntitiesFromGeneralCacheCommand_base {
|
|
65
|
+
/** @internal type navigation helper, not in runtime. */
|
|
66
|
+
protected static __types: {
|
|
67
|
+
api: {
|
|
68
|
+
input: DeleteEntitiesFromGeneralCacheInput;
|
|
69
|
+
output: {};
|
|
70
|
+
};
|
|
71
|
+
sdk: {
|
|
72
|
+
input: DeleteEntitiesFromGeneralCacheCommandInput;
|
|
73
|
+
output: DeleteEntitiesFromGeneralCacheCommandOutput;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
73
76
|
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WimCacheClientResolvedConfig } from "../WimCacheClient";
|
|
2
|
+
import { DeleteIntegrationDataInput, DeleteIntegrationDataOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteIntegrationDataCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteIntegrationDataCommandInput extends DeleteIntegrationDataInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteIntegrationDataCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteIntegrationDataCommandOutput extends DeleteIntegrationDataOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteIntegrationDataCommand_base: {
|
|
25
|
+
new (input: DeleteIntegrationDataCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteIntegrationDataCommandInput, DeleteIntegrationDataCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteIntegrationDataCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteIntegrationDataCommandInput, DeleteIntegrationDataCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Deletes integration data by id with optional filters
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WimCacheClient, DeleteIntegrationDataCommand } from "@wildix/wim-cache-client"; // ES Modules import
|
|
35
|
+
* // const { WimCacheClient, DeleteIntegrationDataCommand } = require("@wildix/wim-cache-client"); // CommonJS import
|
|
36
|
+
* const client = new WimCacheClient(config);
|
|
37
|
+
* const input = { // DeleteIntegrationDataInput
|
|
38
|
+
* id: "STRING_VALUE", // required
|
|
39
|
+
* companyId: "STRING_VALUE",
|
|
40
|
+
* type: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DeleteIntegrationDataCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param DeleteIntegrationDataCommandInput - {@link DeleteIntegrationDataCommandInput}
|
|
49
|
+
* @returns {@link DeleteIntegrationDataCommandOutput}
|
|
50
|
+
* @see {@link DeleteIntegrationDataCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link DeleteIntegrationDataCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link WimCacheClientResolvedConfig | config} for WimCacheClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ValidationException} (client fault)
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link WimCacheServiceException}
|
|
59
|
+
* <p>Base exception class for all service exceptions from WimCache service.</p>
|
|
60
|
+
*
|
|
61
|
+
*
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
export declare class DeleteIntegrationDataCommand extends DeleteIntegrationDataCommand_base {
|
|
65
|
+
/** @internal type navigation helper, not in runtime. */
|
|
66
|
+
protected static __types: {
|
|
67
|
+
api: {
|
|
68
|
+
input: DeleteIntegrationDataInput;
|
|
69
|
+
output: {};
|
|
70
|
+
};
|
|
71
|
+
sdk: {
|
|
72
|
+
input: DeleteIntegrationDataCommandInput;
|
|
73
|
+
output: DeleteIntegrationDataCommandOutput;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ServiceInputTypes, ServiceOutputTypes, WimCacheClientResolvedConfig } from "../WimCacheClient";
|
|
2
2
|
import { GetEntitiesByIdsInput, GetEntitiesByIdsOutput } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
|
-
export { __MetadataBearer
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
9
10
|
/**
|
|
10
11
|
* @public
|
|
11
12
|
*
|
|
@@ -20,8 +21,12 @@ export interface GetEntitiesByIdsCommandInput extends GetEntitiesByIdsInput {
|
|
|
20
21
|
*/
|
|
21
22
|
export interface GetEntitiesByIdsCommandOutput extends GetEntitiesByIdsOutput, __MetadataBearer {
|
|
22
23
|
}
|
|
24
|
+
declare const GetEntitiesByIdsCommand_base: {
|
|
25
|
+
new (input: GetEntitiesByIdsCommandInput): import("@smithy/smithy-client").CommandImpl<GetEntitiesByIdsCommandInput, GetEntitiesByIdsCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetEntitiesByIdsCommandInput): import("@smithy/smithy-client").CommandImpl<GetEntitiesByIdsCommandInput, GetEntitiesByIdsCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
23
29
|
/**
|
|
24
|
-
* @public
|
|
25
30
|
* Allows to retrieve entities by id, use only in backend integrations
|
|
26
31
|
* @example
|
|
27
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -59,6 +64,8 @@ export interface GetEntitiesByIdsCommandOutput extends GetEntitiesByIdsOutput, _
|
|
|
59
64
|
* // IsActive: true || false,
|
|
60
65
|
* // TimeZoneSidKey: "STRING_VALUE",
|
|
61
66
|
* // Extension: "STRING_VALUE",
|
|
67
|
+
* // PersonMobilePhone: "STRING_VALUE",
|
|
68
|
+
* // PersonOtherPhone: "STRING_VALUE",
|
|
62
69
|
* // attributes: { // SalesforceAttrubuteField
|
|
63
70
|
* // url: "STRING_VALUE",
|
|
64
71
|
* // type: "STRING_VALUE",
|
|
@@ -72,6 +79,7 @@ export interface GetEntitiesByIdsCommandOutput extends GetEntitiesByIdsOutput, _
|
|
|
72
79
|
* // "<keys>": "STRING_VALUE",
|
|
73
80
|
* // },
|
|
74
81
|
* // },
|
|
82
|
+
* // weight: Number("long"),
|
|
75
83
|
* // integrationOrder: Number("int"),
|
|
76
84
|
* // },
|
|
77
85
|
* // ],
|
|
@@ -87,26 +95,24 @@ export interface GetEntitiesByIdsCommandOutput extends GetEntitiesByIdsOutput, _
|
|
|
87
95
|
*
|
|
88
96
|
* @throws {@link ValidationException} (client fault)
|
|
89
97
|
*
|
|
98
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
99
|
+
*
|
|
90
100
|
* @throws {@link WimCacheServiceException}
|
|
91
101
|
* <p>Base exception class for all service exceptions from WimCache service.</p>
|
|
92
102
|
*
|
|
103
|
+
*
|
|
104
|
+
* @public
|
|
93
105
|
*/
|
|
94
|
-
export declare class GetEntitiesByIdsCommand extends
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
*/
|
|
107
|
-
private serialize;
|
|
108
|
-
/**
|
|
109
|
-
* @internal
|
|
110
|
-
*/
|
|
111
|
-
private deserialize;
|
|
106
|
+
export declare class GetEntitiesByIdsCommand extends GetEntitiesByIdsCommand_base {
|
|
107
|
+
/** @internal type navigation helper, not in runtime. */
|
|
108
|
+
protected static __types: {
|
|
109
|
+
api: {
|
|
110
|
+
input: GetEntitiesByIdsInput;
|
|
111
|
+
output: GetEntitiesByIdsOutput;
|
|
112
|
+
};
|
|
113
|
+
sdk: {
|
|
114
|
+
input: GetEntitiesByIdsCommandInput;
|
|
115
|
+
output: GetEntitiesByIdsCommandOutput;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
112
118
|
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WimCacheClientResolvedConfig } from "../WimCacheClient";
|
|
2
|
+
import { GetIntegrationDataInput, GetIntegrationDataOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetIntegrationDataCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetIntegrationDataCommandInput extends GetIntegrationDataInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetIntegrationDataCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetIntegrationDataCommandOutput extends GetIntegrationDataOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetIntegrationDataCommand_base: {
|
|
25
|
+
new (input: GetIntegrationDataCommandInput): import("@smithy/smithy-client").CommandImpl<GetIntegrationDataCommandInput, GetIntegrationDataCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetIntegrationDataCommandInput): import("@smithy/smithy-client").CommandImpl<GetIntegrationDataCommandInput, GetIntegrationDataCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Retrieves integration data by id with optional filters
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WimCacheClient, GetIntegrationDataCommand } from "@wildix/wim-cache-client"; // ES Modules import
|
|
35
|
+
* // const { WimCacheClient, GetIntegrationDataCommand } = require("@wildix/wim-cache-client"); // CommonJS import
|
|
36
|
+
* const client = new WimCacheClient(config);
|
|
37
|
+
* const input = { // GetIntegrationDataInput
|
|
38
|
+
* id: "STRING_VALUE", // required
|
|
39
|
+
* companyId: "STRING_VALUE",
|
|
40
|
+
* type: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetIntegrationDataCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetIntegrationDataOutput
|
|
45
|
+
* // items: [ // IntegrationDataList
|
|
46
|
+
* // { // IntegrationDataItem
|
|
47
|
+
* // type: "STRING_VALUE", // required
|
|
48
|
+
* // data: "DOCUMENT_VALUE", // required
|
|
49
|
+
* // integrationId: "STRING_VALUE", // required
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param GetIntegrationDataCommandInput - {@link GetIntegrationDataCommandInput}
|
|
57
|
+
* @returns {@link GetIntegrationDataCommandOutput}
|
|
58
|
+
* @see {@link GetIntegrationDataCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link GetIntegrationDataCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link WimCacheClientResolvedConfig | config} for WimCacheClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ValidationException} (client fault)
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link WimCacheServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from WimCache service.</p>
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class GetIntegrationDataCommand extends GetIntegrationDataCommand_base {
|
|
73
|
+
/** @internal type navigation helper, not in runtime. */
|
|
74
|
+
protected static __types: {
|
|
75
|
+
api: {
|
|
76
|
+
input: GetIntegrationDataInput;
|
|
77
|
+
output: GetIntegrationDataOutput;
|
|
78
|
+
};
|
|
79
|
+
sdk: {
|
|
80
|
+
input: GetIntegrationDataCommandInput;
|
|
81
|
+
output: GetIntegrationDataCommandOutput;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ServiceInputTypes, ServiceOutputTypes, WimCacheClientResolvedConfig } from "../WimCacheClient";
|
|
2
2
|
import { PutEntitiesToGeneralCacheInput, PutEntitiesToGeneralCacheOutput } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
|
-
export { __MetadataBearer
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
9
10
|
/**
|
|
10
11
|
* @public
|
|
11
12
|
*
|
|
@@ -20,8 +21,12 @@ export interface PutEntitiesToGeneralCacheCommandInput extends PutEntitiesToGene
|
|
|
20
21
|
*/
|
|
21
22
|
export interface PutEntitiesToGeneralCacheCommandOutput extends PutEntitiesToGeneralCacheOutput, __MetadataBearer {
|
|
22
23
|
}
|
|
24
|
+
declare const PutEntitiesToGeneralCacheCommand_base: {
|
|
25
|
+
new (input: PutEntitiesToGeneralCacheCommandInput): import("@smithy/smithy-client").CommandImpl<PutEntitiesToGeneralCacheCommandInput, PutEntitiesToGeneralCacheCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [PutEntitiesToGeneralCacheCommandInput]): import("@smithy/smithy-client").CommandImpl<PutEntitiesToGeneralCacheCommandInput, PutEntitiesToGeneralCacheCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
23
29
|
/**
|
|
24
|
-
* @public
|
|
25
30
|
* Adds entities to the general cache
|
|
26
31
|
* @example
|
|
27
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -61,26 +66,24 @@ export interface PutEntitiesToGeneralCacheCommandOutput extends PutEntitiesToGen
|
|
|
61
66
|
*
|
|
62
67
|
* @throws {@link ValidationException} (client fault)
|
|
63
68
|
*
|
|
69
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
70
|
+
*
|
|
64
71
|
* @throws {@link WimCacheServiceException}
|
|
65
72
|
* <p>Base exception class for all service exceptions from WimCache service.</p>
|
|
66
73
|
*
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
67
76
|
*/
|
|
68
|
-
export declare class PutEntitiesToGeneralCacheCommand extends
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
*/
|
|
81
|
-
private serialize;
|
|
82
|
-
/**
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
85
|
-
private deserialize;
|
|
77
|
+
export declare class PutEntitiesToGeneralCacheCommand extends PutEntitiesToGeneralCacheCommand_base {
|
|
78
|
+
/** @internal type navigation helper, not in runtime. */
|
|
79
|
+
protected static __types: {
|
|
80
|
+
api: {
|
|
81
|
+
input: PutEntitiesToGeneralCacheInput;
|
|
82
|
+
output: {};
|
|
83
|
+
};
|
|
84
|
+
sdk: {
|
|
85
|
+
input: PutEntitiesToGeneralCacheCommandInput;
|
|
86
|
+
output: PutEntitiesToGeneralCacheCommandOutput;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
86
89
|
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WimCacheClientResolvedConfig } from "../WimCacheClient";
|
|
2
|
+
import { PutIntegrationDataInput, PutIntegrationDataOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutIntegrationDataCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutIntegrationDataCommandInput extends PutIntegrationDataInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutIntegrationDataCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutIntegrationDataCommandOutput extends PutIntegrationDataOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutIntegrationDataCommand_base: {
|
|
25
|
+
new (input: PutIntegrationDataCommandInput): import("@smithy/smithy-client").CommandImpl<PutIntegrationDataCommandInput, PutIntegrationDataCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PutIntegrationDataCommandInput): import("@smithy/smithy-client").CommandImpl<PutIntegrationDataCommandInput, PutIntegrationDataCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Upsert operation for storing untyped integration data in the cache
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WimCacheClient, PutIntegrationDataCommand } from "@wildix/wim-cache-client"; // ES Modules import
|
|
35
|
+
* // const { WimCacheClient, PutIntegrationDataCommand } = require("@wildix/wim-cache-client"); // CommonJS import
|
|
36
|
+
* const client = new WimCacheClient(config);
|
|
37
|
+
* const input = { // PutIntegrationDataInput
|
|
38
|
+
* integrationId: "STRING_VALUE", // required
|
|
39
|
+
* id: "STRING_VALUE", // required
|
|
40
|
+
* data: "DOCUMENT_VALUE", // required
|
|
41
|
+
* type: "STRING_VALUE", // required
|
|
42
|
+
* companyId: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new PutIntegrationDataCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // {};
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param PutIntegrationDataCommandInput - {@link PutIntegrationDataCommandInput}
|
|
51
|
+
* @returns {@link PutIntegrationDataCommandOutput}
|
|
52
|
+
* @see {@link PutIntegrationDataCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link PutIntegrationDataCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link WimCacheClientResolvedConfig | config} for WimCacheClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ValidationException} (client fault)
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link WimCacheServiceException}
|
|
61
|
+
* <p>Base exception class for all service exceptions from WimCache service.</p>
|
|
62
|
+
*
|
|
63
|
+
*
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export declare class PutIntegrationDataCommand extends PutIntegrationDataCommand_base {
|
|
67
|
+
/** @internal type navigation helper, not in runtime. */
|
|
68
|
+
protected static __types: {
|
|
69
|
+
api: {
|
|
70
|
+
input: PutIntegrationDataInput;
|
|
71
|
+
output: {};
|
|
72
|
+
};
|
|
73
|
+
sdk: {
|
|
74
|
+
input: PutIntegrationDataCommandInput;
|
|
75
|
+
output: PutIntegrationDataCommandOutput;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
}
|