@aws-sdk/client-supplychain 3.670.0 → 3.672.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -7
- package/dist-cjs/index.js +264 -2
- package/dist-es/SupplyChain.js +10 -0
- package/dist-es/commands/CreateInstanceCommand.js +22 -0
- package/dist-es/commands/DeleteInstanceCommand.js +22 -0
- package/dist-es/commands/GetInstanceCommand.js +22 -0
- package/dist-es/commands/ListInstancesCommand.js +22 -0
- package/dist-es/commands/UpdateInstanceCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/pagination/ListInstancesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +160 -1
- package/dist-types/SupplyChain.d.ts +37 -0
- package/dist-types/SupplyChainClient.d.ts +7 -2
- package/dist-types/commands/CreateInstanceCommand.d.ts +163 -0
- package/dist-types/commands/DeleteInstanceCommand.d.ts +129 -0
- package/dist-types/commands/GetInstanceCommand.d.ts +129 -0
- package/dist-types/commands/ListInstancesCommand.d.ts +239 -0
- package/dist-types/commands/UpdateInstanceCommand.d.ts +133 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +232 -0
- package/dist-types/pagination/ListInstancesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/SupplyChain.d.ts +87 -0
- package/dist-types/ts3.4/SupplyChainClient.d.ts +32 -2
- package/dist-types/ts3.4/commands/CreateInstanceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteInstanceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetInstanceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateInstanceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +61 -0
- package/dist-types/ts3.4/pagination/ListInstancesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +1 -1
|
@@ -11,6 +11,10 @@ import {
|
|
|
11
11
|
CreateDataLakeDatasetCommandInput,
|
|
12
12
|
CreateDataLakeDatasetCommandOutput,
|
|
13
13
|
} from "./commands/CreateDataLakeDatasetCommand";
|
|
14
|
+
import {
|
|
15
|
+
CreateInstanceCommandInput,
|
|
16
|
+
CreateInstanceCommandOutput,
|
|
17
|
+
} from "./commands/CreateInstanceCommand";
|
|
14
18
|
import {
|
|
15
19
|
DeleteDataIntegrationFlowCommandInput,
|
|
16
20
|
DeleteDataIntegrationFlowCommandOutput,
|
|
@@ -19,6 +23,10 @@ import {
|
|
|
19
23
|
DeleteDataLakeDatasetCommandInput,
|
|
20
24
|
DeleteDataLakeDatasetCommandOutput,
|
|
21
25
|
} from "./commands/DeleteDataLakeDatasetCommand";
|
|
26
|
+
import {
|
|
27
|
+
DeleteInstanceCommandInput,
|
|
28
|
+
DeleteInstanceCommandOutput,
|
|
29
|
+
} from "./commands/DeleteInstanceCommand";
|
|
22
30
|
import {
|
|
23
31
|
GetBillOfMaterialsImportJobCommandInput,
|
|
24
32
|
GetBillOfMaterialsImportJobCommandOutput,
|
|
@@ -31,6 +39,10 @@ import {
|
|
|
31
39
|
GetDataLakeDatasetCommandInput,
|
|
32
40
|
GetDataLakeDatasetCommandOutput,
|
|
33
41
|
} from "./commands/GetDataLakeDatasetCommand";
|
|
42
|
+
import {
|
|
43
|
+
GetInstanceCommandInput,
|
|
44
|
+
GetInstanceCommandOutput,
|
|
45
|
+
} from "./commands/GetInstanceCommand";
|
|
34
46
|
import {
|
|
35
47
|
ListDataIntegrationFlowsCommandInput,
|
|
36
48
|
ListDataIntegrationFlowsCommandOutput,
|
|
@@ -39,6 +51,10 @@ import {
|
|
|
39
51
|
ListDataLakeDatasetsCommandInput,
|
|
40
52
|
ListDataLakeDatasetsCommandOutput,
|
|
41
53
|
} from "./commands/ListDataLakeDatasetsCommand";
|
|
54
|
+
import {
|
|
55
|
+
ListInstancesCommandInput,
|
|
56
|
+
ListInstancesCommandOutput,
|
|
57
|
+
} from "./commands/ListInstancesCommand";
|
|
42
58
|
import {
|
|
43
59
|
ListTagsForResourceCommandInput,
|
|
44
60
|
ListTagsForResourceCommandOutput,
|
|
@@ -63,6 +79,10 @@ import {
|
|
|
63
79
|
UpdateDataLakeDatasetCommandInput,
|
|
64
80
|
UpdateDataLakeDatasetCommandOutput,
|
|
65
81
|
} from "./commands/UpdateDataLakeDatasetCommand";
|
|
82
|
+
import {
|
|
83
|
+
UpdateInstanceCommandInput,
|
|
84
|
+
UpdateInstanceCommandOutput,
|
|
85
|
+
} from "./commands/UpdateInstanceCommand";
|
|
66
86
|
import { SupplyChainClient } from "./SupplyChainClient";
|
|
67
87
|
export interface SupplyChain {
|
|
68
88
|
createBillOfMaterialsImportJob(
|
|
@@ -104,6 +124,20 @@ export interface SupplyChain {
|
|
|
104
124
|
options: __HttpHandlerOptions,
|
|
105
125
|
cb: (err: any, data?: CreateDataLakeDatasetCommandOutput) => void
|
|
106
126
|
): void;
|
|
127
|
+
createInstance(): Promise<CreateInstanceCommandOutput>;
|
|
128
|
+
createInstance(
|
|
129
|
+
args: CreateInstanceCommandInput,
|
|
130
|
+
options?: __HttpHandlerOptions
|
|
131
|
+
): Promise<CreateInstanceCommandOutput>;
|
|
132
|
+
createInstance(
|
|
133
|
+
args: CreateInstanceCommandInput,
|
|
134
|
+
cb: (err: any, data?: CreateInstanceCommandOutput) => void
|
|
135
|
+
): void;
|
|
136
|
+
createInstance(
|
|
137
|
+
args: CreateInstanceCommandInput,
|
|
138
|
+
options: __HttpHandlerOptions,
|
|
139
|
+
cb: (err: any, data?: CreateInstanceCommandOutput) => void
|
|
140
|
+
): void;
|
|
107
141
|
deleteDataIntegrationFlow(
|
|
108
142
|
args: DeleteDataIntegrationFlowCommandInput,
|
|
109
143
|
options?: __HttpHandlerOptions
|
|
@@ -130,6 +164,19 @@ export interface SupplyChain {
|
|
|
130
164
|
options: __HttpHandlerOptions,
|
|
131
165
|
cb: (err: any, data?: DeleteDataLakeDatasetCommandOutput) => void
|
|
132
166
|
): void;
|
|
167
|
+
deleteInstance(
|
|
168
|
+
args: DeleteInstanceCommandInput,
|
|
169
|
+
options?: __HttpHandlerOptions
|
|
170
|
+
): Promise<DeleteInstanceCommandOutput>;
|
|
171
|
+
deleteInstance(
|
|
172
|
+
args: DeleteInstanceCommandInput,
|
|
173
|
+
cb: (err: any, data?: DeleteInstanceCommandOutput) => void
|
|
174
|
+
): void;
|
|
175
|
+
deleteInstance(
|
|
176
|
+
args: DeleteInstanceCommandInput,
|
|
177
|
+
options: __HttpHandlerOptions,
|
|
178
|
+
cb: (err: any, data?: DeleteInstanceCommandOutput) => void
|
|
179
|
+
): void;
|
|
133
180
|
getBillOfMaterialsImportJob(
|
|
134
181
|
args: GetBillOfMaterialsImportJobCommandInput,
|
|
135
182
|
options?: __HttpHandlerOptions
|
|
@@ -169,6 +216,19 @@ export interface SupplyChain {
|
|
|
169
216
|
options: __HttpHandlerOptions,
|
|
170
217
|
cb: (err: any, data?: GetDataLakeDatasetCommandOutput) => void
|
|
171
218
|
): void;
|
|
219
|
+
getInstance(
|
|
220
|
+
args: GetInstanceCommandInput,
|
|
221
|
+
options?: __HttpHandlerOptions
|
|
222
|
+
): Promise<GetInstanceCommandOutput>;
|
|
223
|
+
getInstance(
|
|
224
|
+
args: GetInstanceCommandInput,
|
|
225
|
+
cb: (err: any, data?: GetInstanceCommandOutput) => void
|
|
226
|
+
): void;
|
|
227
|
+
getInstance(
|
|
228
|
+
args: GetInstanceCommandInput,
|
|
229
|
+
options: __HttpHandlerOptions,
|
|
230
|
+
cb: (err: any, data?: GetInstanceCommandOutput) => void
|
|
231
|
+
): void;
|
|
172
232
|
listDataIntegrationFlows(
|
|
173
233
|
args: ListDataIntegrationFlowsCommandInput,
|
|
174
234
|
options?: __HttpHandlerOptions
|
|
@@ -195,6 +255,20 @@ export interface SupplyChain {
|
|
|
195
255
|
options: __HttpHandlerOptions,
|
|
196
256
|
cb: (err: any, data?: ListDataLakeDatasetsCommandOutput) => void
|
|
197
257
|
): void;
|
|
258
|
+
listInstances(): Promise<ListInstancesCommandOutput>;
|
|
259
|
+
listInstances(
|
|
260
|
+
args: ListInstancesCommandInput,
|
|
261
|
+
options?: __HttpHandlerOptions
|
|
262
|
+
): Promise<ListInstancesCommandOutput>;
|
|
263
|
+
listInstances(
|
|
264
|
+
args: ListInstancesCommandInput,
|
|
265
|
+
cb: (err: any, data?: ListInstancesCommandOutput) => void
|
|
266
|
+
): void;
|
|
267
|
+
listInstances(
|
|
268
|
+
args: ListInstancesCommandInput,
|
|
269
|
+
options: __HttpHandlerOptions,
|
|
270
|
+
cb: (err: any, data?: ListInstancesCommandOutput) => void
|
|
271
|
+
): void;
|
|
198
272
|
listTagsForResource(
|
|
199
273
|
args: ListTagsForResourceCommandInput,
|
|
200
274
|
options?: __HttpHandlerOptions
|
|
@@ -273,6 +347,19 @@ export interface SupplyChain {
|
|
|
273
347
|
options: __HttpHandlerOptions,
|
|
274
348
|
cb: (err: any, data?: UpdateDataLakeDatasetCommandOutput) => void
|
|
275
349
|
): void;
|
|
350
|
+
updateInstance(
|
|
351
|
+
args: UpdateInstanceCommandInput,
|
|
352
|
+
options?: __HttpHandlerOptions
|
|
353
|
+
): Promise<UpdateInstanceCommandOutput>;
|
|
354
|
+
updateInstance(
|
|
355
|
+
args: UpdateInstanceCommandInput,
|
|
356
|
+
cb: (err: any, data?: UpdateInstanceCommandOutput) => void
|
|
357
|
+
): void;
|
|
358
|
+
updateInstance(
|
|
359
|
+
args: UpdateInstanceCommandInput,
|
|
360
|
+
options: __HttpHandlerOptions,
|
|
361
|
+
cb: (err: any, data?: UpdateInstanceCommandOutput) => void
|
|
362
|
+
): void;
|
|
276
363
|
}
|
|
277
364
|
export declare class SupplyChain
|
|
278
365
|
extends SupplyChainClient
|
|
@@ -57,6 +57,10 @@ import {
|
|
|
57
57
|
CreateDataLakeDatasetCommandInput,
|
|
58
58
|
CreateDataLakeDatasetCommandOutput,
|
|
59
59
|
} from "./commands/CreateDataLakeDatasetCommand";
|
|
60
|
+
import {
|
|
61
|
+
CreateInstanceCommandInput,
|
|
62
|
+
CreateInstanceCommandOutput,
|
|
63
|
+
} from "./commands/CreateInstanceCommand";
|
|
60
64
|
import {
|
|
61
65
|
DeleteDataIntegrationFlowCommandInput,
|
|
62
66
|
DeleteDataIntegrationFlowCommandOutput,
|
|
@@ -65,6 +69,10 @@ import {
|
|
|
65
69
|
DeleteDataLakeDatasetCommandInput,
|
|
66
70
|
DeleteDataLakeDatasetCommandOutput,
|
|
67
71
|
} from "./commands/DeleteDataLakeDatasetCommand";
|
|
72
|
+
import {
|
|
73
|
+
DeleteInstanceCommandInput,
|
|
74
|
+
DeleteInstanceCommandOutput,
|
|
75
|
+
} from "./commands/DeleteInstanceCommand";
|
|
68
76
|
import {
|
|
69
77
|
GetBillOfMaterialsImportJobCommandInput,
|
|
70
78
|
GetBillOfMaterialsImportJobCommandOutput,
|
|
@@ -77,6 +85,10 @@ import {
|
|
|
77
85
|
GetDataLakeDatasetCommandInput,
|
|
78
86
|
GetDataLakeDatasetCommandOutput,
|
|
79
87
|
} from "./commands/GetDataLakeDatasetCommand";
|
|
88
|
+
import {
|
|
89
|
+
GetInstanceCommandInput,
|
|
90
|
+
GetInstanceCommandOutput,
|
|
91
|
+
} from "./commands/GetInstanceCommand";
|
|
80
92
|
import {
|
|
81
93
|
ListDataIntegrationFlowsCommandInput,
|
|
82
94
|
ListDataIntegrationFlowsCommandOutput,
|
|
@@ -85,6 +97,10 @@ import {
|
|
|
85
97
|
ListDataLakeDatasetsCommandInput,
|
|
86
98
|
ListDataLakeDatasetsCommandOutput,
|
|
87
99
|
} from "./commands/ListDataLakeDatasetsCommand";
|
|
100
|
+
import {
|
|
101
|
+
ListInstancesCommandInput,
|
|
102
|
+
ListInstancesCommandOutput,
|
|
103
|
+
} from "./commands/ListInstancesCommand";
|
|
88
104
|
import {
|
|
89
105
|
ListTagsForResourceCommandInput,
|
|
90
106
|
ListTagsForResourceCommandOutput,
|
|
@@ -109,6 +125,10 @@ import {
|
|
|
109
125
|
UpdateDataLakeDatasetCommandInput,
|
|
110
126
|
UpdateDataLakeDatasetCommandOutput,
|
|
111
127
|
} from "./commands/UpdateDataLakeDatasetCommand";
|
|
128
|
+
import {
|
|
129
|
+
UpdateInstanceCommandInput,
|
|
130
|
+
UpdateInstanceCommandOutput,
|
|
131
|
+
} from "./commands/UpdateInstanceCommand";
|
|
112
132
|
import {
|
|
113
133
|
ClientInputEndpointParameters,
|
|
114
134
|
ClientResolvedEndpointParameters,
|
|
@@ -120,36 +140,46 @@ export type ServiceInputTypes =
|
|
|
120
140
|
| CreateBillOfMaterialsImportJobCommandInput
|
|
121
141
|
| CreateDataIntegrationFlowCommandInput
|
|
122
142
|
| CreateDataLakeDatasetCommandInput
|
|
143
|
+
| CreateInstanceCommandInput
|
|
123
144
|
| DeleteDataIntegrationFlowCommandInput
|
|
124
145
|
| DeleteDataLakeDatasetCommandInput
|
|
146
|
+
| DeleteInstanceCommandInput
|
|
125
147
|
| GetBillOfMaterialsImportJobCommandInput
|
|
126
148
|
| GetDataIntegrationFlowCommandInput
|
|
127
149
|
| GetDataLakeDatasetCommandInput
|
|
150
|
+
| GetInstanceCommandInput
|
|
128
151
|
| ListDataIntegrationFlowsCommandInput
|
|
129
152
|
| ListDataLakeDatasetsCommandInput
|
|
153
|
+
| ListInstancesCommandInput
|
|
130
154
|
| ListTagsForResourceCommandInput
|
|
131
155
|
| SendDataIntegrationEventCommandInput
|
|
132
156
|
| TagResourceCommandInput
|
|
133
157
|
| UntagResourceCommandInput
|
|
134
158
|
| UpdateDataIntegrationFlowCommandInput
|
|
135
|
-
| UpdateDataLakeDatasetCommandInput
|
|
159
|
+
| UpdateDataLakeDatasetCommandInput
|
|
160
|
+
| UpdateInstanceCommandInput;
|
|
136
161
|
export type ServiceOutputTypes =
|
|
137
162
|
| CreateBillOfMaterialsImportJobCommandOutput
|
|
138
163
|
| CreateDataIntegrationFlowCommandOutput
|
|
139
164
|
| CreateDataLakeDatasetCommandOutput
|
|
165
|
+
| CreateInstanceCommandOutput
|
|
140
166
|
| DeleteDataIntegrationFlowCommandOutput
|
|
141
167
|
| DeleteDataLakeDatasetCommandOutput
|
|
168
|
+
| DeleteInstanceCommandOutput
|
|
142
169
|
| GetBillOfMaterialsImportJobCommandOutput
|
|
143
170
|
| GetDataIntegrationFlowCommandOutput
|
|
144
171
|
| GetDataLakeDatasetCommandOutput
|
|
172
|
+
| GetInstanceCommandOutput
|
|
145
173
|
| ListDataIntegrationFlowsCommandOutput
|
|
146
174
|
| ListDataLakeDatasetsCommandOutput
|
|
175
|
+
| ListInstancesCommandOutput
|
|
147
176
|
| ListTagsForResourceCommandOutput
|
|
148
177
|
| SendDataIntegrationEventCommandOutput
|
|
149
178
|
| TagResourceCommandOutput
|
|
150
179
|
| UntagResourceCommandOutput
|
|
151
180
|
| UpdateDataIntegrationFlowCommandOutput
|
|
152
|
-
| UpdateDataLakeDatasetCommandOutput
|
|
181
|
+
| UpdateDataLakeDatasetCommandOutput
|
|
182
|
+
| UpdateInstanceCommandOutput;
|
|
153
183
|
export interface ClientDefaults
|
|
154
184
|
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
155
185
|
requestHandler?: __HttpHandlerUserInput;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CreateInstanceRequest,
|
|
5
|
+
CreateInstanceResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
SupplyChainClientResolvedConfig,
|
|
11
|
+
} from "../SupplyChainClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface CreateInstanceCommandInput extends CreateInstanceRequest {}
|
|
15
|
+
export interface CreateInstanceCommandOutput
|
|
16
|
+
extends CreateInstanceResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const CreateInstanceCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: CreateInstanceCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
CreateInstanceCommandInput,
|
|
23
|
+
CreateInstanceCommandOutput,
|
|
24
|
+
SupplyChainClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
...[input]: [] | [CreateInstanceCommandInput]
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
CreateInstanceCommandInput,
|
|
32
|
+
CreateInstanceCommandOutput,
|
|
33
|
+
SupplyChainClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class CreateInstanceCommand extends CreateInstanceCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: CreateInstanceRequest;
|
|
43
|
+
output: CreateInstanceResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: CreateInstanceCommandInput;
|
|
47
|
+
output: CreateInstanceCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DeleteInstanceRequest,
|
|
5
|
+
DeleteInstanceResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
SupplyChainClientResolvedConfig,
|
|
11
|
+
} from "../SupplyChainClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DeleteInstanceCommandInput extends DeleteInstanceRequest {}
|
|
15
|
+
export interface DeleteInstanceCommandOutput
|
|
16
|
+
extends DeleteInstanceResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const DeleteInstanceCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: DeleteInstanceCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
DeleteInstanceCommandInput,
|
|
23
|
+
DeleteInstanceCommandOutput,
|
|
24
|
+
SupplyChainClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: DeleteInstanceCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
DeleteInstanceCommandInput,
|
|
32
|
+
DeleteInstanceCommandOutput,
|
|
33
|
+
SupplyChainClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class DeleteInstanceCommand extends DeleteInstanceCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: DeleteInstanceRequest;
|
|
43
|
+
output: DeleteInstanceResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: DeleteInstanceCommandInput;
|
|
47
|
+
output: DeleteInstanceCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetInstanceRequest, GetInstanceResponse } from "../models/models_0";
|
|
4
|
+
import {
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
SupplyChainClientResolvedConfig,
|
|
8
|
+
} from "../SupplyChainClient";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface GetInstanceCommandInput extends GetInstanceRequest {}
|
|
12
|
+
export interface GetInstanceCommandOutput
|
|
13
|
+
extends GetInstanceResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const GetInstanceCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: GetInstanceCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
GetInstanceCommandInput,
|
|
20
|
+
GetInstanceCommandOutput,
|
|
21
|
+
SupplyChainClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
__0_0: GetInstanceCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
GetInstanceCommandInput,
|
|
29
|
+
GetInstanceCommandOutput,
|
|
30
|
+
SupplyChainClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class GetInstanceCommand extends GetInstanceCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: GetInstanceRequest;
|
|
40
|
+
output: GetInstanceResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: GetInstanceCommandInput;
|
|
44
|
+
output: GetInstanceCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ListInstancesRequest,
|
|
5
|
+
ListInstancesResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
SupplyChainClientResolvedConfig,
|
|
11
|
+
} from "../SupplyChainClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListInstancesCommandInput extends ListInstancesRequest {}
|
|
15
|
+
export interface ListInstancesCommandOutput
|
|
16
|
+
extends ListInstancesResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const ListInstancesCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: ListInstancesCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
ListInstancesCommandInput,
|
|
23
|
+
ListInstancesCommandOutput,
|
|
24
|
+
SupplyChainClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
...[input]: [] | [ListInstancesCommandInput]
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
ListInstancesCommandInput,
|
|
32
|
+
ListInstancesCommandOutput,
|
|
33
|
+
SupplyChainClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class ListInstancesCommand extends ListInstancesCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: ListInstancesRequest;
|
|
43
|
+
output: ListInstancesResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: ListInstancesCommandInput;
|
|
47
|
+
output: ListInstancesCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
UpdateInstanceRequest,
|
|
5
|
+
UpdateInstanceResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
SupplyChainClientResolvedConfig,
|
|
11
|
+
} from "../SupplyChainClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateInstanceCommandInput extends UpdateInstanceRequest {}
|
|
15
|
+
export interface UpdateInstanceCommandOutput
|
|
16
|
+
extends UpdateInstanceResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const UpdateInstanceCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: UpdateInstanceCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
UpdateInstanceCommandInput,
|
|
23
|
+
UpdateInstanceCommandOutput,
|
|
24
|
+
SupplyChainClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: UpdateInstanceCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
UpdateInstanceCommandInput,
|
|
32
|
+
UpdateInstanceCommandOutput,
|
|
33
|
+
SupplyChainClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class UpdateInstanceCommand extends UpdateInstanceCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: UpdateInstanceRequest;
|
|
43
|
+
output: UpdateInstanceResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: UpdateInstanceCommandInput;
|
|
47
|
+
output: UpdateInstanceCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
export * from "./CreateBillOfMaterialsImportJobCommand";
|
|
2
2
|
export * from "./CreateDataIntegrationFlowCommand";
|
|
3
3
|
export * from "./CreateDataLakeDatasetCommand";
|
|
4
|
+
export * from "./CreateInstanceCommand";
|
|
4
5
|
export * from "./DeleteDataIntegrationFlowCommand";
|
|
5
6
|
export * from "./DeleteDataLakeDatasetCommand";
|
|
7
|
+
export * from "./DeleteInstanceCommand";
|
|
6
8
|
export * from "./GetBillOfMaterialsImportJobCommand";
|
|
7
9
|
export * from "./GetDataIntegrationFlowCommand";
|
|
8
10
|
export * from "./GetDataLakeDatasetCommand";
|
|
11
|
+
export * from "./GetInstanceCommand";
|
|
9
12
|
export * from "./ListDataIntegrationFlowsCommand";
|
|
10
13
|
export * from "./ListDataLakeDatasetsCommand";
|
|
14
|
+
export * from "./ListInstancesCommand";
|
|
11
15
|
export * from "./ListTagsForResourceCommand";
|
|
12
16
|
export * from "./SendDataIntegrationEventCommand";
|
|
13
17
|
export * from "./TagResourceCommand";
|
|
14
18
|
export * from "./UntagResourceCommand";
|
|
15
19
|
export * from "./UpdateDataIntegrationFlowCommand";
|
|
16
20
|
export * from "./UpdateDataLakeDatasetCommand";
|
|
21
|
+
export * from "./UpdateInstanceCommand";
|
|
@@ -206,6 +206,37 @@ export interface DataLakeDataset {
|
|
|
206
206
|
export interface CreateDataLakeDatasetResponse {
|
|
207
207
|
dataset: DataLakeDataset | undefined;
|
|
208
208
|
}
|
|
209
|
+
export interface CreateInstanceRequest {
|
|
210
|
+
instanceName?: string;
|
|
211
|
+
instanceDescription?: string;
|
|
212
|
+
kmsKeyArn?: string;
|
|
213
|
+
tags?: Record<string, string>;
|
|
214
|
+
clientToken?: string;
|
|
215
|
+
}
|
|
216
|
+
export declare const InstanceState: {
|
|
217
|
+
readonly ACTIVE: "Active";
|
|
218
|
+
readonly CREATE_FAILED: "CreateFailed";
|
|
219
|
+
readonly DELETED: "Deleted";
|
|
220
|
+
readonly DELETE_FAILED: "DeleteFailed";
|
|
221
|
+
readonly DELETING: "Deleting";
|
|
222
|
+
readonly INITIALIZING: "Initializing";
|
|
223
|
+
};
|
|
224
|
+
export type InstanceState = (typeof InstanceState)[keyof typeof InstanceState];
|
|
225
|
+
export interface Instance {
|
|
226
|
+
instanceId: string | undefined;
|
|
227
|
+
awsAccountId: string | undefined;
|
|
228
|
+
state: InstanceState | undefined;
|
|
229
|
+
webAppDnsDomain?: string;
|
|
230
|
+
createdTime?: Date;
|
|
231
|
+
lastModifiedTime?: Date;
|
|
232
|
+
instanceName?: string;
|
|
233
|
+
instanceDescription?: string;
|
|
234
|
+
kmsKeyArn?: string;
|
|
235
|
+
versionNumber?: number;
|
|
236
|
+
}
|
|
237
|
+
export interface CreateInstanceResponse {
|
|
238
|
+
instance: Instance | undefined;
|
|
239
|
+
}
|
|
209
240
|
export declare const DataIntegrationEventType: {
|
|
210
241
|
readonly FORECAST: "scn.data.forecast";
|
|
211
242
|
readonly INBOUND_ORDER: "scn.data.inboundorder";
|
|
@@ -316,6 +347,36 @@ export interface UpdateDataLakeDatasetRequest {
|
|
|
316
347
|
export interface UpdateDataLakeDatasetResponse {
|
|
317
348
|
dataset: DataLakeDataset | undefined;
|
|
318
349
|
}
|
|
350
|
+
export interface DeleteInstanceRequest {
|
|
351
|
+
instanceId: string | undefined;
|
|
352
|
+
}
|
|
353
|
+
export interface DeleteInstanceResponse {
|
|
354
|
+
instance: Instance | undefined;
|
|
355
|
+
}
|
|
356
|
+
export interface GetInstanceRequest {
|
|
357
|
+
instanceId: string | undefined;
|
|
358
|
+
}
|
|
359
|
+
export interface GetInstanceResponse {
|
|
360
|
+
instance: Instance | undefined;
|
|
361
|
+
}
|
|
362
|
+
export interface ListInstancesRequest {
|
|
363
|
+
nextToken?: string;
|
|
364
|
+
maxResults?: number;
|
|
365
|
+
instanceNameFilter?: string[];
|
|
366
|
+
instanceStateFilter?: InstanceState[];
|
|
367
|
+
}
|
|
368
|
+
export interface ListInstancesResponse {
|
|
369
|
+
instances: Instance[] | undefined;
|
|
370
|
+
nextToken?: string;
|
|
371
|
+
}
|
|
372
|
+
export interface UpdateInstanceRequest {
|
|
373
|
+
instanceId: string | undefined;
|
|
374
|
+
instanceName?: string;
|
|
375
|
+
instanceDescription?: string;
|
|
376
|
+
}
|
|
377
|
+
export interface UpdateInstanceResponse {
|
|
378
|
+
instance: Instance | undefined;
|
|
379
|
+
}
|
|
319
380
|
export interface ListTagsForResourceRequest {
|
|
320
381
|
resourceArn: string | undefined;
|
|
321
382
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListInstancesCommandInput,
|
|
4
|
+
ListInstancesCommandOutput,
|
|
5
|
+
} from "../commands/ListInstancesCommand";
|
|
6
|
+
import { SupplyChainPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListInstances: (
|
|
8
|
+
config: SupplyChainPaginationConfiguration,
|
|
9
|
+
input: ListInstancesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListInstancesCommandOutput>;
|