@aws-sdk/client-supplychain 3.670.0 → 3.671.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.
Files changed (38) hide show
  1. package/README.md +47 -7
  2. package/dist-cjs/index.js +264 -2
  3. package/dist-es/SupplyChain.js +10 -0
  4. package/dist-es/commands/CreateInstanceCommand.js +22 -0
  5. package/dist-es/commands/DeleteInstanceCommand.js +22 -0
  6. package/dist-es/commands/GetInstanceCommand.js +22 -0
  7. package/dist-es/commands/ListInstancesCommand.js +22 -0
  8. package/dist-es/commands/UpdateInstanceCommand.js +22 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +8 -0
  11. package/dist-es/pagination/ListInstancesPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_restJson1.js +160 -1
  14. package/dist-types/SupplyChain.d.ts +37 -0
  15. package/dist-types/SupplyChainClient.d.ts +7 -2
  16. package/dist-types/commands/CreateInstanceCommand.d.ts +109 -0
  17. package/dist-types/commands/DeleteInstanceCommand.d.ts +103 -0
  18. package/dist-types/commands/GetInstanceCommand.d.ts +103 -0
  19. package/dist-types/commands/ListInstancesCommand.d.ts +113 -0
  20. package/dist-types/commands/UpdateInstanceCommand.d.ts +105 -0
  21. package/dist-types/commands/index.d.ts +5 -0
  22. package/dist-types/models/models_0.d.ts +232 -0
  23. package/dist-types/pagination/ListInstancesPaginator.d.ts +7 -0
  24. package/dist-types/pagination/index.d.ts +1 -0
  25. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  26. package/dist-types/ts3.4/SupplyChain.d.ts +87 -0
  27. package/dist-types/ts3.4/SupplyChainClient.d.ts +32 -2
  28. package/dist-types/ts3.4/commands/CreateInstanceCommand.d.ts +50 -0
  29. package/dist-types/ts3.4/commands/DeleteInstanceCommand.d.ts +50 -0
  30. package/dist-types/ts3.4/commands/GetInstanceCommand.d.ts +47 -0
  31. package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +50 -0
  32. package/dist-types/ts3.4/commands/UpdateInstanceCommand.d.ts +50 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +61 -0
  35. package/dist-types/ts3.4/pagination/ListInstancesPaginator.d.ts +11 -0
  36. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  37. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  38. package/package.json +1 -1
@@ -645,6 +645,120 @@ export interface CreateDataLakeDatasetResponse {
645
645
  */
646
646
  dataset: DataLakeDataset | undefined;
647
647
  }
648
+ /**
649
+ * <p>The request parameters for CreateInstance.</p>
650
+ * @public
651
+ */
652
+ export interface CreateInstanceRequest {
653
+ /**
654
+ * <p>The AWS Supply Chain instance name.</p>
655
+ * @public
656
+ */
657
+ instanceName?: string;
658
+ /**
659
+ * <p>The AWS Supply Chain instance description.</p>
660
+ * @public
661
+ */
662
+ instanceDescription?: string;
663
+ /**
664
+ * <p>The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption. This is required if you do not want to use the Amazon Web Services owned KMS key. If you don't provide anything here, AWS Supply Chain uses the Amazon Web Services owned KMS key.</p>
665
+ * @public
666
+ */
667
+ kmsKeyArn?: string;
668
+ /**
669
+ * <p>The Amazon Web Services tags of an instance to be created.</p>
670
+ * @public
671
+ */
672
+ tags?: Record<string, string>;
673
+ /**
674
+ * <p>The client token for idempotency.</p>
675
+ * @public
676
+ */
677
+ clientToken?: string;
678
+ }
679
+ /**
680
+ * @public
681
+ * @enum
682
+ */
683
+ export declare const InstanceState: {
684
+ readonly ACTIVE: "Active";
685
+ readonly CREATE_FAILED: "CreateFailed";
686
+ readonly DELETED: "Deleted";
687
+ readonly DELETE_FAILED: "DeleteFailed";
688
+ readonly DELETING: "Deleting";
689
+ readonly INITIALIZING: "Initializing";
690
+ };
691
+ /**
692
+ * @public
693
+ */
694
+ export type InstanceState = (typeof InstanceState)[keyof typeof InstanceState];
695
+ /**
696
+ * <p>The details of the instance.</p>
697
+ * @public
698
+ */
699
+ export interface Instance {
700
+ /**
701
+ * <p>The Amazon Web Services Supply Chain instance identifier.</p>
702
+ * @public
703
+ */
704
+ instanceId: string | undefined;
705
+ /**
706
+ * <p>The Amazon Web Services account ID that owns the instance.</p>
707
+ * @public
708
+ */
709
+ awsAccountId: string | undefined;
710
+ /**
711
+ * <p>The state of the instance.</p>
712
+ * @public
713
+ */
714
+ state: InstanceState | undefined;
715
+ /**
716
+ * <p>The WebApp DNS domain name of the instance.</p>
717
+ * @public
718
+ */
719
+ webAppDnsDomain?: string;
720
+ /**
721
+ * <p>The instance creation timestamp.</p>
722
+ * @public
723
+ */
724
+ createdTime?: Date;
725
+ /**
726
+ * <p>The instance last modified timestamp.</p>
727
+ * @public
728
+ */
729
+ lastModifiedTime?: Date;
730
+ /**
731
+ * <p>The Amazon Web Services Supply Chain instance name.</p>
732
+ * @public
733
+ */
734
+ instanceName?: string;
735
+ /**
736
+ * <p>The Amazon Web Services Supply Chain instance description.</p>
737
+ * @public
738
+ */
739
+ instanceDescription?: string;
740
+ /**
741
+ * <p>The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you optionally provided for encryption. If you did not provide anything here, AWS Supply Chain uses the Amazon Web Services owned KMS key and nothing is returned.</p>
742
+ * @public
743
+ */
744
+ kmsKeyArn?: string;
745
+ /**
746
+ * <p>The version number of the instance.</p>
747
+ * @public
748
+ */
749
+ versionNumber?: number;
750
+ }
751
+ /**
752
+ * <p>The response parameters for CreateInstance.</p>
753
+ * @public
754
+ */
755
+ export interface CreateInstanceResponse {
756
+ /**
757
+ * <p>The AWS Supply Chain instance resource data details.</p>
758
+ * @public
759
+ */
760
+ instance: Instance | undefined;
761
+ }
648
762
  /**
649
763
  * @public
650
764
  * @enum
@@ -1091,6 +1205,124 @@ export interface UpdateDataLakeDatasetResponse {
1091
1205
  */
1092
1206
  dataset: DataLakeDataset | undefined;
1093
1207
  }
1208
+ /**
1209
+ * <p>The request parameters for DeleteInstance.</p>
1210
+ * @public
1211
+ */
1212
+ export interface DeleteInstanceRequest {
1213
+ /**
1214
+ * <p>The AWS Supply Chain instance identifier.</p>
1215
+ * @public
1216
+ */
1217
+ instanceId: string | undefined;
1218
+ }
1219
+ /**
1220
+ * <p>The response parameters for DeleteInstance.</p>
1221
+ * @public
1222
+ */
1223
+ export interface DeleteInstanceResponse {
1224
+ /**
1225
+ * <p>The AWS Supply Chain instance resource data details.</p>
1226
+ * @public
1227
+ */
1228
+ instance: Instance | undefined;
1229
+ }
1230
+ /**
1231
+ * <p>The request parameters for GetInstance.</p>
1232
+ * @public
1233
+ */
1234
+ export interface GetInstanceRequest {
1235
+ /**
1236
+ * <p>The AWS Supply Chain instance identifier</p>
1237
+ * @public
1238
+ */
1239
+ instanceId: string | undefined;
1240
+ }
1241
+ /**
1242
+ * <p>The response parameters for GetInstance.</p>
1243
+ * @public
1244
+ */
1245
+ export interface GetInstanceResponse {
1246
+ /**
1247
+ * <p>The instance resource data details.</p>
1248
+ * @public
1249
+ */
1250
+ instance: Instance | undefined;
1251
+ }
1252
+ /**
1253
+ * <p>The request parameters for ListInstances.</p>
1254
+ * @public
1255
+ */
1256
+ export interface ListInstancesRequest {
1257
+ /**
1258
+ * <p>The pagination token to fetch the next page of instances.</p>
1259
+ * @public
1260
+ */
1261
+ nextToken?: string;
1262
+ /**
1263
+ * <p>Specify the maximum number of instances to fetch in this paginated request.</p>
1264
+ * @public
1265
+ */
1266
+ maxResults?: number;
1267
+ /**
1268
+ * <p>The filter to ListInstances based on their names.</p>
1269
+ * @public
1270
+ */
1271
+ instanceNameFilter?: string[];
1272
+ /**
1273
+ * <p>The filter to ListInstances based on their state.</p>
1274
+ * @public
1275
+ */
1276
+ instanceStateFilter?: InstanceState[];
1277
+ }
1278
+ /**
1279
+ * <p>The response parameters for ListInstances.</p>
1280
+ * @public
1281
+ */
1282
+ export interface ListInstancesResponse {
1283
+ /**
1284
+ * <p>The list of instances resource data details.</p>
1285
+ * @public
1286
+ */
1287
+ instances: Instance[] | undefined;
1288
+ /**
1289
+ * <p>The pagination token to fetch the next page of instances.</p>
1290
+ * @public
1291
+ */
1292
+ nextToken?: string;
1293
+ }
1294
+ /**
1295
+ * <p>The request parameters for UpdateInstance.</p>
1296
+ * @public
1297
+ */
1298
+ export interface UpdateInstanceRequest {
1299
+ /**
1300
+ * <p>The AWS Supply Chain instance identifier.</p>
1301
+ * @public
1302
+ */
1303
+ instanceId: string | undefined;
1304
+ /**
1305
+ * <p>The AWS Supply Chain instance name.</p>
1306
+ * @public
1307
+ */
1308
+ instanceName?: string;
1309
+ /**
1310
+ * <p>The AWS Supply Chain instance description.</p>
1311
+ * @public
1312
+ */
1313
+ instanceDescription?: string;
1314
+ }
1315
+ /**
1316
+ * <p>The response parameters for UpdateInstance.</p>
1317
+ * @public
1318
+ */
1319
+ export interface UpdateInstanceResponse {
1320
+ /**
1321
+ * <p>The instance resource data details.</p>
1322
+ * @public
1323
+ */
1324
+ instance: Instance | undefined;
1325
+ }
1094
1326
  /**
1095
1327
  * <p>The request parameters of ListTagsForResource.</p>
1096
1328
  * @public
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListInstancesCommandInput, ListInstancesCommandOutput } from "../commands/ListInstancesCommand";
3
+ import { SupplyChainPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListInstances: (config: SupplyChainPaginationConfiguration, input: ListInstancesCommandInput, ...rest: any[]) => Paginator<ListInstancesCommandOutput>;
@@ -1,3 +1,4 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListDataIntegrationFlowsPaginator";
3
3
  export * from "./ListDataLakeDatasetsPaginator";
4
+ export * from "./ListInstancesPaginator";
@@ -3,19 +3,24 @@ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { CreateBillOfMaterialsImportJobCommandInput, CreateBillOfMaterialsImportJobCommandOutput } from "../commands/CreateBillOfMaterialsImportJobCommand";
4
4
  import { CreateDataIntegrationFlowCommandInput, CreateDataIntegrationFlowCommandOutput } from "../commands/CreateDataIntegrationFlowCommand";
5
5
  import { CreateDataLakeDatasetCommandInput, CreateDataLakeDatasetCommandOutput } from "../commands/CreateDataLakeDatasetCommand";
6
+ import { CreateInstanceCommandInput, CreateInstanceCommandOutput } from "../commands/CreateInstanceCommand";
6
7
  import { DeleteDataIntegrationFlowCommandInput, DeleteDataIntegrationFlowCommandOutput } from "../commands/DeleteDataIntegrationFlowCommand";
7
8
  import { DeleteDataLakeDatasetCommandInput, DeleteDataLakeDatasetCommandOutput } from "../commands/DeleteDataLakeDatasetCommand";
9
+ import { DeleteInstanceCommandInput, DeleteInstanceCommandOutput } from "../commands/DeleteInstanceCommand";
8
10
  import { GetBillOfMaterialsImportJobCommandInput, GetBillOfMaterialsImportJobCommandOutput } from "../commands/GetBillOfMaterialsImportJobCommand";
9
11
  import { GetDataIntegrationFlowCommandInput, GetDataIntegrationFlowCommandOutput } from "../commands/GetDataIntegrationFlowCommand";
10
12
  import { GetDataLakeDatasetCommandInput, GetDataLakeDatasetCommandOutput } from "../commands/GetDataLakeDatasetCommand";
13
+ import { GetInstanceCommandInput, GetInstanceCommandOutput } from "../commands/GetInstanceCommand";
11
14
  import { ListDataIntegrationFlowsCommandInput, ListDataIntegrationFlowsCommandOutput } from "../commands/ListDataIntegrationFlowsCommand";
12
15
  import { ListDataLakeDatasetsCommandInput, ListDataLakeDatasetsCommandOutput } from "../commands/ListDataLakeDatasetsCommand";
16
+ import { ListInstancesCommandInput, ListInstancesCommandOutput } from "../commands/ListInstancesCommand";
13
17
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
14
18
  import { SendDataIntegrationEventCommandInput, SendDataIntegrationEventCommandOutput } from "../commands/SendDataIntegrationEventCommand";
15
19
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
16
20
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
17
21
  import { UpdateDataIntegrationFlowCommandInput, UpdateDataIntegrationFlowCommandOutput } from "../commands/UpdateDataIntegrationFlowCommand";
18
22
  import { UpdateDataLakeDatasetCommandInput, UpdateDataLakeDatasetCommandOutput } from "../commands/UpdateDataLakeDatasetCommand";
23
+ import { UpdateInstanceCommandInput, UpdateInstanceCommandOutput } from "../commands/UpdateInstanceCommand";
19
24
  /**
20
25
  * serializeAws_restJson1CreateBillOfMaterialsImportJobCommand
21
26
  */
@@ -28,6 +33,10 @@ export declare const se_CreateDataIntegrationFlowCommand: (input: CreateDataInte
28
33
  * serializeAws_restJson1CreateDataLakeDatasetCommand
29
34
  */
30
35
  export declare const se_CreateDataLakeDatasetCommand: (input: CreateDataLakeDatasetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
36
+ /**
37
+ * serializeAws_restJson1CreateInstanceCommand
38
+ */
39
+ export declare const se_CreateInstanceCommand: (input: CreateInstanceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
31
40
  /**
32
41
  * serializeAws_restJson1DeleteDataIntegrationFlowCommand
33
42
  */
@@ -36,6 +45,10 @@ export declare const se_DeleteDataIntegrationFlowCommand: (input: DeleteDataInte
36
45
  * serializeAws_restJson1DeleteDataLakeDatasetCommand
37
46
  */
38
47
  export declare const se_DeleteDataLakeDatasetCommand: (input: DeleteDataLakeDatasetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
+ /**
49
+ * serializeAws_restJson1DeleteInstanceCommand
50
+ */
51
+ export declare const se_DeleteInstanceCommand: (input: DeleteInstanceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
52
  /**
40
53
  * serializeAws_restJson1GetBillOfMaterialsImportJobCommand
41
54
  */
@@ -48,6 +61,10 @@ export declare const se_GetDataIntegrationFlowCommand: (input: GetDataIntegratio
48
61
  * serializeAws_restJson1GetDataLakeDatasetCommand
49
62
  */
50
63
  export declare const se_GetDataLakeDatasetCommand: (input: GetDataLakeDatasetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
64
+ /**
65
+ * serializeAws_restJson1GetInstanceCommand
66
+ */
67
+ export declare const se_GetInstanceCommand: (input: GetInstanceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
51
68
  /**
52
69
  * serializeAws_restJson1ListDataIntegrationFlowsCommand
53
70
  */
@@ -56,6 +73,10 @@ export declare const se_ListDataIntegrationFlowsCommand: (input: ListDataIntegra
56
73
  * serializeAws_restJson1ListDataLakeDatasetsCommand
57
74
  */
58
75
  export declare const se_ListDataLakeDatasetsCommand: (input: ListDataLakeDatasetsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
76
+ /**
77
+ * serializeAws_restJson1ListInstancesCommand
78
+ */
79
+ export declare const se_ListInstancesCommand: (input: ListInstancesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
59
80
  /**
60
81
  * serializeAws_restJson1ListTagsForResourceCommand
61
82
  */
@@ -80,6 +101,10 @@ export declare const se_UpdateDataIntegrationFlowCommand: (input: UpdateDataInte
80
101
  * serializeAws_restJson1UpdateDataLakeDatasetCommand
81
102
  */
82
103
  export declare const se_UpdateDataLakeDatasetCommand: (input: UpdateDataLakeDatasetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
104
+ /**
105
+ * serializeAws_restJson1UpdateInstanceCommand
106
+ */
107
+ export declare const se_UpdateInstanceCommand: (input: UpdateInstanceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
83
108
  /**
84
109
  * deserializeAws_restJson1CreateBillOfMaterialsImportJobCommand
85
110
  */
@@ -92,6 +117,10 @@ export declare const de_CreateDataIntegrationFlowCommand: (output: __HttpRespons
92
117
  * deserializeAws_restJson1CreateDataLakeDatasetCommand
93
118
  */
94
119
  export declare const de_CreateDataLakeDatasetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateDataLakeDatasetCommandOutput>;
120
+ /**
121
+ * deserializeAws_restJson1CreateInstanceCommand
122
+ */
123
+ export declare const de_CreateInstanceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateInstanceCommandOutput>;
95
124
  /**
96
125
  * deserializeAws_restJson1DeleteDataIntegrationFlowCommand
97
126
  */
@@ -100,6 +129,10 @@ export declare const de_DeleteDataIntegrationFlowCommand: (output: __HttpRespons
100
129
  * deserializeAws_restJson1DeleteDataLakeDatasetCommand
101
130
  */
102
131
  export declare const de_DeleteDataLakeDatasetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteDataLakeDatasetCommandOutput>;
132
+ /**
133
+ * deserializeAws_restJson1DeleteInstanceCommand
134
+ */
135
+ export declare const de_DeleteInstanceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteInstanceCommandOutput>;
103
136
  /**
104
137
  * deserializeAws_restJson1GetBillOfMaterialsImportJobCommand
105
138
  */
@@ -112,6 +145,10 @@ export declare const de_GetDataIntegrationFlowCommand: (output: __HttpResponse,
112
145
  * deserializeAws_restJson1GetDataLakeDatasetCommand
113
146
  */
114
147
  export declare const de_GetDataLakeDatasetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDataLakeDatasetCommandOutput>;
148
+ /**
149
+ * deserializeAws_restJson1GetInstanceCommand
150
+ */
151
+ export declare const de_GetInstanceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetInstanceCommandOutput>;
115
152
  /**
116
153
  * deserializeAws_restJson1ListDataIntegrationFlowsCommand
117
154
  */
@@ -120,6 +157,10 @@ export declare const de_ListDataIntegrationFlowsCommand: (output: __HttpResponse
120
157
  * deserializeAws_restJson1ListDataLakeDatasetsCommand
121
158
  */
122
159
  export declare const de_ListDataLakeDatasetsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDataLakeDatasetsCommandOutput>;
160
+ /**
161
+ * deserializeAws_restJson1ListInstancesCommand
162
+ */
163
+ export declare const de_ListInstancesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListInstancesCommandOutput>;
123
164
  /**
124
165
  * deserializeAws_restJson1ListTagsForResourceCommand
125
166
  */
@@ -144,3 +185,7 @@ export declare const de_UpdateDataIntegrationFlowCommand: (output: __HttpRespons
144
185
  * deserializeAws_restJson1UpdateDataLakeDatasetCommand
145
186
  */
146
187
  export declare const de_UpdateDataLakeDatasetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDataLakeDatasetCommandOutput>;
188
+ /**
189
+ * deserializeAws_restJson1UpdateInstanceCommand
190
+ */
191
+ export declare const de_UpdateInstanceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateInstanceCommandOutput>;
@@ -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
+ }