@aws-sdk/client-iottwinmaker 3.934.0 → 3.935.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/dist-cjs/index.js CHANGED
@@ -177,25 +177,6 @@ let ValidationException$1 = class ValidationException extends IoTTwinMakerServic
177
177
  Object.setPrototypeOf(this, ValidationException.prototype);
178
178
  }
179
179
  };
180
- const ErrorCode = {
181
- COMPOSITE_COMPONENT_FAILURE: "COMPOSITE_COMPONENT_FAILURE",
182
- INTERNAL_FAILURE: "INTERNAL_FAILURE",
183
- PROCESSING_ERROR: "PROCESSING_ERROR",
184
- SYNC_CREATING_ERROR: "SYNC_CREATING_ERROR",
185
- SYNC_DELETING_ERROR: "SYNC_DELETING_ERROR",
186
- SYNC_INITIALIZING_ERROR: "SYNC_INITIALIZING_ERROR",
187
- SYNC_PROCESSING_ERROR: "SYNC_PROCESSING_ERROR",
188
- VALIDATION_ERROR: "VALIDATION_ERROR",
189
- };
190
- const MetadataTransferJobState = {
191
- CANCELLED: "CANCELLED",
192
- CANCELLING: "CANCELLING",
193
- COMPLETED: "COMPLETED",
194
- ERROR: "ERROR",
195
- PENDING: "PENDING",
196
- RUNNING: "RUNNING",
197
- VALIDATING: "VALIDATING",
198
- };
199
180
  let ConflictException$1 = class ConflictException extends IoTTwinMakerServiceException$1 {
200
181
  name = "ConflictException";
201
182
  $fault = "client";
@@ -208,30 +189,6 @@ let ConflictException$1 = class ConflictException extends IoTTwinMakerServiceExc
208
189
  Object.setPrototypeOf(this, ConflictException.prototype);
209
190
  }
210
191
  };
211
- const Scope = {
212
- ENTITY: "ENTITY",
213
- WORKSPACE: "WORKSPACE",
214
- };
215
- const Type = {
216
- BOOLEAN: "BOOLEAN",
217
- DOUBLE: "DOUBLE",
218
- INTEGER: "INTEGER",
219
- LIST: "LIST",
220
- LONG: "LONG",
221
- MAP: "MAP",
222
- RELATIONSHIP: "RELATIONSHIP",
223
- STRING: "STRING",
224
- };
225
- const GroupType = {
226
- TABULAR: "TABULAR",
227
- };
228
- const State = {
229
- ACTIVE: "ACTIVE",
230
- CREATING: "CREATING",
231
- DELETING: "DELETING",
232
- ERROR: "ERROR",
233
- UPDATING: "UPDATING",
234
- };
235
192
  let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends IoTTwinMakerServiceException$1 {
236
193
  name = "ServiceQuotaExceededException";
237
194
  $fault = "client";
@@ -244,39 +201,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
244
201
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
245
202
  }
246
203
  };
247
- const PropertyUpdateType = {
248
- CREATE: "CREATE",
249
- DELETE: "DELETE",
250
- RESET_VALUE: "RESET_VALUE",
251
- UPDATE: "UPDATE",
252
- };
253
- const PropertyGroupUpdateType = {
254
- CREATE: "CREATE",
255
- DELETE: "DELETE",
256
- UPDATE: "UPDATE",
257
- };
258
- const DestinationType = {
259
- IOTSITEWISE: "iotsitewise",
260
- IOTTWINMAKER: "iottwinmaker",
261
- S3: "s3",
262
- };
263
- const SourceType = {
264
- IOTSITEWISE: "iotsitewise",
265
- IOTTWINMAKER: "iottwinmaker",
266
- S3: "s3",
267
- };
268
- const SyncJobState = {
269
- ACTIVE: "ACTIVE",
270
- CREATING: "CREATING",
271
- DELETING: "DELETING",
272
- ERROR: "ERROR",
273
- INITIALIZING: "INITIALIZING",
274
- };
275
- const ColumnType = {
276
- EDGE: "EDGE",
277
- NODE: "NODE",
278
- VALUE: "VALUE",
279
- };
280
204
  let QueryTimeoutException$1 = class QueryTimeoutException extends IoTTwinMakerServiceException$1 {
281
205
  name = "QueryTimeoutException";
282
206
  $fault = "client";
@@ -290,24 +214,6 @@ let QueryTimeoutException$1 = class QueryTimeoutException extends IoTTwinMakerSe
290
214
  Object.setPrototypeOf(this, QueryTimeoutException.prototype);
291
215
  }
292
216
  };
293
- const PricingTier = {
294
- TIER_1: "TIER_1",
295
- TIER_2: "TIER_2",
296
- TIER_3: "TIER_3",
297
- TIER_4: "TIER_4",
298
- };
299
- const PricingMode = {
300
- BASIC: "BASIC",
301
- STANDARD: "STANDARD",
302
- TIERED_BUNDLE: "TIERED_BUNDLE",
303
- };
304
- const UpdateReason = {
305
- DEFAULT: "DEFAULT",
306
- ENTITY_COUNT_UPDATE: "ENTITY_COUNT_UPDATE",
307
- OVERWRITTEN: "OVERWRITTEN",
308
- PRICING_MODE_UPDATE: "PRICING_MODE_UPDATE",
309
- PRICING_TIER_UPDATE: "PRICING_TIER_UPDATE",
310
- };
311
217
  let ConnectorFailureException$1 = class ConnectorFailureException extends IoTTwinMakerServiceException$1 {
312
218
  name = "ConnectorFailureException";
313
219
  $fault = "client";
@@ -332,31 +238,6 @@ let ConnectorTimeoutException$1 = class ConnectorTimeoutException extends IoTTwi
332
238
  Object.setPrototypeOf(this, ConnectorTimeoutException.prototype);
333
239
  }
334
240
  };
335
- const Order = {
336
- ASCENDING: "ASCENDING",
337
- DESCENDING: "DESCENDING",
338
- };
339
- const InterpolationType = {
340
- LINEAR: "LINEAR",
341
- };
342
- const OrderByTime = {
343
- ASCENDING: "ASCENDING",
344
- DESCENDING: "DESCENDING",
345
- };
346
- const SceneErrorCode = {
347
- MATTERPORT_ERROR: "MATTERPORT_ERROR",
348
- };
349
- const SyncResourceType = {
350
- COMPONENT_TYPE: "COMPONENT_TYPE",
351
- ENTITY: "ENTITY",
352
- };
353
- const SyncResourceState = {
354
- DELETED: "DELETED",
355
- ERROR: "ERROR",
356
- INITIALIZING: "INITIALIZING",
357
- IN_SYNC: "IN_SYNC",
358
- PROCESSING: "PROCESSING",
359
- };
360
241
  let TooManyTagsException$1 = class TooManyTagsException extends IoTTwinMakerServiceException$1 {
361
242
  name = "TooManyTagsException";
362
243
  $fault = "client";
@@ -369,15 +250,6 @@ let TooManyTagsException$1 = class TooManyTagsException extends IoTTwinMakerServ
369
250
  Object.setPrototypeOf(this, TooManyTagsException.prototype);
370
251
  }
371
252
  };
372
- const ComponentUpdateType = {
373
- CREATE: "CREATE",
374
- DELETE: "DELETE",
375
- UPDATE: "UPDATE",
376
- };
377
- const ParentEntityUpdateType = {
378
- DELETE: "DELETE",
379
- UPDATE: "UPDATE",
380
- };
381
253
 
382
254
  const _ADE = "AccessDeniedException";
383
255
  const _BI = "BundleInformation";
@@ -2888,8 +2760,6 @@ Object.defineProperty(exports, "__Client", {
2888
2760
  exports.AccessDeniedException = AccessDeniedException$1;
2889
2761
  exports.BatchPutPropertyValuesCommand = BatchPutPropertyValuesCommand;
2890
2762
  exports.CancelMetadataTransferJobCommand = CancelMetadataTransferJobCommand;
2891
- exports.ColumnType = ColumnType;
2892
- exports.ComponentUpdateType = ComponentUpdateType;
2893
2763
  exports.ConflictException = ConflictException$1;
2894
2764
  exports.ConnectorFailureException = ConnectorFailureException$1;
2895
2765
  exports.ConnectorTimeoutException = ConnectorTimeoutException$1;
@@ -2904,8 +2774,6 @@ exports.DeleteEntityCommand = DeleteEntityCommand;
2904
2774
  exports.DeleteSceneCommand = DeleteSceneCommand;
2905
2775
  exports.DeleteSyncJobCommand = DeleteSyncJobCommand;
2906
2776
  exports.DeleteWorkspaceCommand = DeleteWorkspaceCommand;
2907
- exports.DestinationType = DestinationType;
2908
- exports.ErrorCode = ErrorCode;
2909
2777
  exports.ExecuteQueryCommand = ExecuteQueryCommand;
2910
2778
  exports.GetComponentTypeCommand = GetComponentTypeCommand;
2911
2779
  exports.GetEntityCommand = GetEntityCommand;
@@ -2916,9 +2784,7 @@ exports.GetPropertyValueHistoryCommand = GetPropertyValueHistoryCommand;
2916
2784
  exports.GetSceneCommand = GetSceneCommand;
2917
2785
  exports.GetSyncJobCommand = GetSyncJobCommand;
2918
2786
  exports.GetWorkspaceCommand = GetWorkspaceCommand;
2919
- exports.GroupType = GroupType;
2920
2787
  exports.InternalServerException = InternalServerException$1;
2921
- exports.InterpolationType = InterpolationType;
2922
2788
  exports.IoTTwinMaker = IoTTwinMaker;
2923
2789
  exports.IoTTwinMakerClient = IoTTwinMakerClient;
2924
2790
  exports.IoTTwinMakerServiceException = IoTTwinMakerServiceException$1;
@@ -2932,33 +2798,16 @@ exports.ListSyncJobsCommand = ListSyncJobsCommand;
2932
2798
  exports.ListSyncResourcesCommand = ListSyncResourcesCommand;
2933
2799
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2934
2800
  exports.ListWorkspacesCommand = ListWorkspacesCommand;
2935
- exports.MetadataTransferJobState = MetadataTransferJobState;
2936
- exports.Order = Order;
2937
- exports.OrderByTime = OrderByTime;
2938
- exports.ParentEntityUpdateType = ParentEntityUpdateType;
2939
- exports.PricingMode = PricingMode;
2940
- exports.PricingTier = PricingTier;
2941
- exports.PropertyGroupUpdateType = PropertyGroupUpdateType;
2942
- exports.PropertyUpdateType = PropertyUpdateType;
2943
2801
  exports.QueryTimeoutException = QueryTimeoutException$1;
2944
2802
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
2945
- exports.SceneErrorCode = SceneErrorCode;
2946
- exports.Scope = Scope;
2947
2803
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2948
- exports.SourceType = SourceType;
2949
- exports.State = State;
2950
- exports.SyncJobState = SyncJobState;
2951
- exports.SyncResourceState = SyncResourceState;
2952
- exports.SyncResourceType = SyncResourceType;
2953
2804
  exports.TagResourceCommand = TagResourceCommand;
2954
2805
  exports.ThrottlingException = ThrottlingException$1;
2955
2806
  exports.TooManyTagsException = TooManyTagsException$1;
2956
- exports.Type = Type;
2957
2807
  exports.UntagResourceCommand = UntagResourceCommand;
2958
2808
  exports.UpdateComponentTypeCommand = UpdateComponentTypeCommand;
2959
2809
  exports.UpdateEntityCommand = UpdateEntityCommand;
2960
2810
  exports.UpdatePricingPlanCommand = UpdatePricingPlanCommand;
2961
- exports.UpdateReason = UpdateReason;
2962
2811
  exports.UpdateSceneCommand = UpdateSceneCommand;
2963
2812
  exports.UpdateWorkspaceCommand = UpdateWorkspaceCommand;
2964
2813
  exports.ValidationException = ValidationException$1;
package/dist-es/index.js CHANGED
@@ -2,5 +2,5 @@ export * from "./IoTTwinMakerClient";
2
2
  export * from "./IoTTwinMaker";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/errors";
6
6
  export { IoTTwinMakerServiceException } from "./models/IoTTwinMakerServiceException";
@@ -0,0 +1,134 @@
1
+ import { IoTTwinMakerServiceException as __BaseException } from "./IoTTwinMakerServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "AccessDeniedException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ }
13
+ }
14
+ export class InternalServerException extends __BaseException {
15
+ name = "InternalServerException";
16
+ $fault = "server";
17
+ constructor(opts) {
18
+ super({
19
+ name: "InternalServerException",
20
+ $fault: "server",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, InternalServerException.prototype);
24
+ }
25
+ }
26
+ export class ResourceNotFoundException extends __BaseException {
27
+ name = "ResourceNotFoundException";
28
+ $fault = "client";
29
+ constructor(opts) {
30
+ super({
31
+ name: "ResourceNotFoundException",
32
+ $fault: "client",
33
+ ...opts,
34
+ });
35
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
36
+ }
37
+ }
38
+ export class ThrottlingException extends __BaseException {
39
+ name = "ThrottlingException";
40
+ $fault = "client";
41
+ constructor(opts) {
42
+ super({
43
+ name: "ThrottlingException",
44
+ $fault: "client",
45
+ ...opts,
46
+ });
47
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
48
+ }
49
+ }
50
+ export class ValidationException extends __BaseException {
51
+ name = "ValidationException";
52
+ $fault = "client";
53
+ constructor(opts) {
54
+ super({
55
+ name: "ValidationException",
56
+ $fault: "client",
57
+ ...opts,
58
+ });
59
+ Object.setPrototypeOf(this, ValidationException.prototype);
60
+ }
61
+ }
62
+ export class ConflictException extends __BaseException {
63
+ name = "ConflictException";
64
+ $fault = "client";
65
+ constructor(opts) {
66
+ super({
67
+ name: "ConflictException",
68
+ $fault: "client",
69
+ ...opts,
70
+ });
71
+ Object.setPrototypeOf(this, ConflictException.prototype);
72
+ }
73
+ }
74
+ export class ServiceQuotaExceededException extends __BaseException {
75
+ name = "ServiceQuotaExceededException";
76
+ $fault = "client";
77
+ constructor(opts) {
78
+ super({
79
+ name: "ServiceQuotaExceededException",
80
+ $fault: "client",
81
+ ...opts,
82
+ });
83
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
84
+ }
85
+ }
86
+ export class QueryTimeoutException extends __BaseException {
87
+ name = "QueryTimeoutException";
88
+ $fault = "client";
89
+ $retryable = {};
90
+ constructor(opts) {
91
+ super({
92
+ name: "QueryTimeoutException",
93
+ $fault: "client",
94
+ ...opts,
95
+ });
96
+ Object.setPrototypeOf(this, QueryTimeoutException.prototype);
97
+ }
98
+ }
99
+ export class ConnectorFailureException extends __BaseException {
100
+ name = "ConnectorFailureException";
101
+ $fault = "client";
102
+ constructor(opts) {
103
+ super({
104
+ name: "ConnectorFailureException",
105
+ $fault: "client",
106
+ ...opts,
107
+ });
108
+ Object.setPrototypeOf(this, ConnectorFailureException.prototype);
109
+ }
110
+ }
111
+ export class ConnectorTimeoutException extends __BaseException {
112
+ name = "ConnectorTimeoutException";
113
+ $fault = "client";
114
+ constructor(opts) {
115
+ super({
116
+ name: "ConnectorTimeoutException",
117
+ $fault: "client",
118
+ ...opts,
119
+ });
120
+ Object.setPrototypeOf(this, ConnectorTimeoutException.prototype);
121
+ }
122
+ }
123
+ export class TooManyTagsException extends __BaseException {
124
+ name = "TooManyTagsException";
125
+ $fault = "client";
126
+ constructor(opts) {
127
+ super({
128
+ name: "TooManyTagsException",
129
+ $fault: "client",
130
+ ...opts,
131
+ });
132
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
133
+ }
134
+ }
@@ -1,64 +1,3 @@
1
- import { IoTTwinMakerServiceException as __BaseException } from "./IoTTwinMakerServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- constructor(opts) {
6
- super({
7
- name: "AccessDeniedException",
8
- $fault: "client",
9
- ...opts,
10
- });
11
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
- }
13
- }
14
- export class InternalServerException extends __BaseException {
15
- name = "InternalServerException";
16
- $fault = "server";
17
- constructor(opts) {
18
- super({
19
- name: "InternalServerException",
20
- $fault: "server",
21
- ...opts,
22
- });
23
- Object.setPrototypeOf(this, InternalServerException.prototype);
24
- }
25
- }
26
- export class ResourceNotFoundException extends __BaseException {
27
- name = "ResourceNotFoundException";
28
- $fault = "client";
29
- constructor(opts) {
30
- super({
31
- name: "ResourceNotFoundException",
32
- $fault: "client",
33
- ...opts,
34
- });
35
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
36
- }
37
- }
38
- export class ThrottlingException extends __BaseException {
39
- name = "ThrottlingException";
40
- $fault = "client";
41
- constructor(opts) {
42
- super({
43
- name: "ThrottlingException",
44
- $fault: "client",
45
- ...opts,
46
- });
47
- Object.setPrototypeOf(this, ThrottlingException.prototype);
48
- }
49
- }
50
- export class ValidationException extends __BaseException {
51
- name = "ValidationException";
52
- $fault = "client";
53
- constructor(opts) {
54
- super({
55
- name: "ValidationException",
56
- $fault: "client",
57
- ...opts,
58
- });
59
- Object.setPrototypeOf(this, ValidationException.prototype);
60
- }
61
- }
62
1
  export const ErrorCode = {
63
2
  COMPOSITE_COMPONENT_FAILURE: "COMPOSITE_COMPONENT_FAILURE",
64
3
  INTERNAL_FAILURE: "INTERNAL_FAILURE",
@@ -78,18 +17,6 @@ export const MetadataTransferJobState = {
78
17
  RUNNING: "RUNNING",
79
18
  VALIDATING: "VALIDATING",
80
19
  };
81
- export class ConflictException extends __BaseException {
82
- name = "ConflictException";
83
- $fault = "client";
84
- constructor(opts) {
85
- super({
86
- name: "ConflictException",
87
- $fault: "client",
88
- ...opts,
89
- });
90
- Object.setPrototypeOf(this, ConflictException.prototype);
91
- }
92
- }
93
20
  export const Scope = {
94
21
  ENTITY: "ENTITY",
95
22
  WORKSPACE: "WORKSPACE",
@@ -114,18 +41,6 @@ export const State = {
114
41
  ERROR: "ERROR",
115
42
  UPDATING: "UPDATING",
116
43
  };
117
- export class ServiceQuotaExceededException extends __BaseException {
118
- name = "ServiceQuotaExceededException";
119
- $fault = "client";
120
- constructor(opts) {
121
- super({
122
- name: "ServiceQuotaExceededException",
123
- $fault: "client",
124
- ...opts,
125
- });
126
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
127
- }
128
- }
129
44
  export const PropertyUpdateType = {
130
45
  CREATE: "CREATE",
131
46
  DELETE: "DELETE",
@@ -159,19 +74,6 @@ export const ColumnType = {
159
74
  NODE: "NODE",
160
75
  VALUE: "VALUE",
161
76
  };
162
- export class QueryTimeoutException extends __BaseException {
163
- name = "QueryTimeoutException";
164
- $fault = "client";
165
- $retryable = {};
166
- constructor(opts) {
167
- super({
168
- name: "QueryTimeoutException",
169
- $fault: "client",
170
- ...opts,
171
- });
172
- Object.setPrototypeOf(this, QueryTimeoutException.prototype);
173
- }
174
- }
175
77
  export const PricingTier = {
176
78
  TIER_1: "TIER_1",
177
79
  TIER_2: "TIER_2",
@@ -190,30 +92,6 @@ export const UpdateReason = {
190
92
  PRICING_MODE_UPDATE: "PRICING_MODE_UPDATE",
191
93
  PRICING_TIER_UPDATE: "PRICING_TIER_UPDATE",
192
94
  };
193
- export class ConnectorFailureException extends __BaseException {
194
- name = "ConnectorFailureException";
195
- $fault = "client";
196
- constructor(opts) {
197
- super({
198
- name: "ConnectorFailureException",
199
- $fault: "client",
200
- ...opts,
201
- });
202
- Object.setPrototypeOf(this, ConnectorFailureException.prototype);
203
- }
204
- }
205
- export class ConnectorTimeoutException extends __BaseException {
206
- name = "ConnectorTimeoutException";
207
- $fault = "client";
208
- constructor(opts) {
209
- super({
210
- name: "ConnectorTimeoutException",
211
- $fault: "client",
212
- ...opts,
213
- });
214
- Object.setPrototypeOf(this, ConnectorTimeoutException.prototype);
215
- }
216
- }
217
95
  export const Order = {
218
96
  ASCENDING: "ASCENDING",
219
97
  DESCENDING: "DESCENDING",
@@ -239,18 +117,6 @@ export const SyncResourceState = {
239
117
  IN_SYNC: "IN_SYNC",
240
118
  PROCESSING: "PROCESSING",
241
119
  };
242
- export class TooManyTagsException extends __BaseException {
243
- name = "TooManyTagsException";
244
- $fault = "client";
245
- constructor(opts) {
246
- super({
247
- name: "TooManyTagsException",
248
- $fault: "client",
249
- ...opts,
250
- });
251
- Object.setPrototypeOf(this, TooManyTagsException.prototype);
252
- }
253
- }
254
120
  export const ComponentUpdateType = {
255
121
  CREATE: "CREATE",
256
122
  DELETE: "DELETE",
@@ -442,7 +442,7 @@ const _wI = "workspaceId";
442
442
  const _wS = "workspaceSummaries";
443
443
  const n0 = "com.amazonaws.iottwinmaker";
444
444
  import { TypeRegistry } from "@smithy/core/schema";
445
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, ConnectorFailureException as __ConnectorFailureException, ConnectorTimeoutException as __ConnectorTimeoutException, InternalServerException as __InternalServerException, QueryTimeoutException as __QueryTimeoutException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, TooManyTagsException as __TooManyTagsException, ValidationException as __ValidationException, } from "../models/index";
445
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, ConnectorFailureException as __ConnectorFailureException, ConnectorTimeoutException as __ConnectorTimeoutException, InternalServerException as __InternalServerException, QueryTimeoutException as __QueryTimeoutException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, TooManyTagsException as __TooManyTagsException, ValidationException as __ValidationException, } from "../models/errors";
446
446
  import { IoTTwinMakerServiceException as __IoTTwinMakerServiceException } from "../models/IoTTwinMakerServiceException";
447
447
  export var AccessDeniedException = [
448
448
  -3,
@@ -15,5 +15,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
15
15
  export type { IoTTwinMakerExtensionConfiguration } from "./extensionConfiguration";
16
16
  export * from "./commands";
17
17
  export * from "./pagination";
18
- export * from "./models";
18
+ export * from "./models/errors";
19
+ export type * from "./models/models_0";
19
20
  export { IoTTwinMakerServiceException } from "./models/IoTTwinMakerServiceException";
@@ -0,0 +1,135 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { IoTTwinMakerServiceException as __BaseException } from "./IoTTwinMakerServiceException";
3
+ /**
4
+ * <p>Access is denied.</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>An unexpected error has occurred.</p>
17
+ * @public
18
+ */
19
+ export declare class InternalServerException extends __BaseException {
20
+ readonly name: "InternalServerException";
21
+ readonly $fault: "server";
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
26
+ }
27
+ /**
28
+ * <p>The resource wasn't found.</p>
29
+ * @public
30
+ */
31
+ export declare class ResourceNotFoundException extends __BaseException {
32
+ readonly name: "ResourceNotFoundException";
33
+ readonly $fault: "client";
34
+ /**
35
+ * @internal
36
+ */
37
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
38
+ }
39
+ /**
40
+ * <p>The rate exceeds the limit.</p>
41
+ * @public
42
+ */
43
+ export declare class ThrottlingException extends __BaseException {
44
+ readonly name: "ThrottlingException";
45
+ readonly $fault: "client";
46
+ /**
47
+ * @internal
48
+ */
49
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
50
+ }
51
+ /**
52
+ * <p>Failed</p>
53
+ * @public
54
+ */
55
+ export declare class ValidationException extends __BaseException {
56
+ readonly name: "ValidationException";
57
+ readonly $fault: "client";
58
+ /**
59
+ * @internal
60
+ */
61
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
62
+ }
63
+ /**
64
+ * <p>A conflict occurred.</p>
65
+ * @public
66
+ */
67
+ export declare class ConflictException extends __BaseException {
68
+ readonly name: "ConflictException";
69
+ readonly $fault: "client";
70
+ /**
71
+ * @internal
72
+ */
73
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
74
+ }
75
+ /**
76
+ * <p>The service quota was exceeded.</p>
77
+ * @public
78
+ */
79
+ export declare class ServiceQuotaExceededException extends __BaseException {
80
+ readonly name: "ServiceQuotaExceededException";
81
+ readonly $fault: "client";
82
+ /**
83
+ * @internal
84
+ */
85
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
86
+ }
87
+ /**
88
+ * <p>The query timeout exception.</p>
89
+ * @public
90
+ */
91
+ export declare class QueryTimeoutException extends __BaseException {
92
+ readonly name: "QueryTimeoutException";
93
+ readonly $fault: "client";
94
+ $retryable: {};
95
+ /**
96
+ * @internal
97
+ */
98
+ constructor(opts: __ExceptionOptionType<QueryTimeoutException, __BaseException>);
99
+ }
100
+ /**
101
+ * <p>The connector failed.</p>
102
+ * @public
103
+ */
104
+ export declare class ConnectorFailureException extends __BaseException {
105
+ readonly name: "ConnectorFailureException";
106
+ readonly $fault: "client";
107
+ /**
108
+ * @internal
109
+ */
110
+ constructor(opts: __ExceptionOptionType<ConnectorFailureException, __BaseException>);
111
+ }
112
+ /**
113
+ * <p>The connector timed out.</p>
114
+ * @public
115
+ */
116
+ export declare class ConnectorTimeoutException extends __BaseException {
117
+ readonly name: "ConnectorTimeoutException";
118
+ readonly $fault: "client";
119
+ /**
120
+ * @internal
121
+ */
122
+ constructor(opts: __ExceptionOptionType<ConnectorTimeoutException, __BaseException>);
123
+ }
124
+ /**
125
+ * <p>The number of tags exceeds the limit.</p>
126
+ * @public
127
+ */
128
+ export declare class TooManyTagsException extends __BaseException {
129
+ readonly name: "TooManyTagsException";
130
+ readonly $fault: "client";
131
+ /**
132
+ * @internal
133
+ */
134
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
135
+ }
@@ -1,18 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
1
  import { DocumentType as __DocumentType } from "@smithy/types";
3
- import { IoTTwinMakerServiceException as __BaseException } from "./IoTTwinMakerServiceException";
4
- /**
5
- * <p>Access is denied.</p>
6
- * @public
7
- */
8
- export declare class AccessDeniedException extends __BaseException {
9
- readonly name: "AccessDeniedException";
10
- readonly $fault: "client";
11
- /**
12
- * @internal
13
- */
14
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
- }
16
2
  /**
17
3
  * <p>An object that uniquely identifies an entity property.</p>
18
4
  * @public
@@ -61,54 +47,6 @@ export interface RelationshipValue {
61
47
  */
62
48
  targetComponentName?: string | undefined;
63
49
  }
64
- /**
65
- * <p>An unexpected error has occurred.</p>
66
- * @public
67
- */
68
- export declare class InternalServerException extends __BaseException {
69
- readonly name: "InternalServerException";
70
- readonly $fault: "server";
71
- /**
72
- * @internal
73
- */
74
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
75
- }
76
- /**
77
- * <p>The resource wasn't found.</p>
78
- * @public
79
- */
80
- export declare class ResourceNotFoundException extends __BaseException {
81
- readonly name: "ResourceNotFoundException";
82
- readonly $fault: "client";
83
- /**
84
- * @internal
85
- */
86
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
87
- }
88
- /**
89
- * <p>The rate exceeds the limit.</p>
90
- * @public
91
- */
92
- export declare class ThrottlingException extends __BaseException {
93
- readonly name: "ThrottlingException";
94
- readonly $fault: "client";
95
- /**
96
- * @internal
97
- */
98
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
99
- }
100
- /**
101
- * <p>Failed</p>
102
- * @public
103
- */
104
- export declare class ValidationException extends __BaseException {
105
- readonly name: "ValidationException";
106
- readonly $fault: "client";
107
- /**
108
- * @internal
109
- */
110
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
111
- }
112
50
  /**
113
51
  * @public
114
52
  */
@@ -247,18 +185,6 @@ export interface CancelMetadataTransferJobResponse {
247
185
  */
248
186
  progress?: MetadataTransferJobProgress | undefined;
249
187
  }
250
- /**
251
- * <p>A conflict occurred.</p>
252
- * @public
253
- */
254
- export declare class ConflictException extends __BaseException {
255
- readonly name: "ConflictException";
256
- readonly $fault: "client";
257
- /**
258
- * @internal
259
- */
260
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
261
- }
262
188
  /**
263
189
  * <p>An object that sets information about the composite component types of a component type.</p>
264
190
  * @public
@@ -427,18 +353,6 @@ export interface CreateComponentTypeResponse {
427
353
  */
428
354
  state: State | undefined;
429
355
  }
430
- /**
431
- * <p>The service quota was exceeded.</p>
432
- * @public
433
- */
434
- export declare class ServiceQuotaExceededException extends __BaseException {
435
- readonly name: "ServiceQuotaExceededException";
436
- readonly $fault: "client";
437
- /**
438
- * @internal
439
- */
440
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
441
- }
442
356
  /**
443
357
  * @public
444
358
  * @enum
@@ -1232,19 +1146,6 @@ export interface ExecuteQueryResponse {
1232
1146
  */
1233
1147
  nextToken?: string | undefined;
1234
1148
  }
1235
- /**
1236
- * <p>The query timeout exception.</p>
1237
- * @public
1238
- */
1239
- export declare class QueryTimeoutException extends __BaseException {
1240
- readonly name: "QueryTimeoutException";
1241
- readonly $fault: "client";
1242
- $retryable: {};
1243
- /**
1244
- * @internal
1245
- */
1246
- constructor(opts: __ExceptionOptionType<QueryTimeoutException, __BaseException>);
1247
- }
1248
1149
  /**
1249
1150
  * @public
1250
1151
  */
@@ -1608,30 +1509,6 @@ export interface GetPricingPlanResponse {
1608
1509
  */
1609
1510
  pendingPricingPlan?: PricingPlan | undefined;
1610
1511
  }
1611
- /**
1612
- * <p>The connector failed.</p>
1613
- * @public
1614
- */
1615
- export declare class ConnectorFailureException extends __BaseException {
1616
- readonly name: "ConnectorFailureException";
1617
- readonly $fault: "client";
1618
- /**
1619
- * @internal
1620
- */
1621
- constructor(opts: __ExceptionOptionType<ConnectorFailureException, __BaseException>);
1622
- }
1623
- /**
1624
- * <p>The connector timed out.</p>
1625
- * @public
1626
- */
1627
- export declare class ConnectorTimeoutException extends __BaseException {
1628
- readonly name: "ConnectorTimeoutException";
1629
- readonly $fault: "client";
1630
- /**
1631
- * @internal
1632
- */
1633
- constructor(opts: __ExceptionOptionType<ConnectorTimeoutException, __BaseException>);
1634
- }
1635
1512
  /**
1636
1513
  * @public
1637
1514
  * @enum
@@ -2927,18 +2804,6 @@ export interface TagResourceRequest {
2927
2804
  */
2928
2805
  export interface TagResourceResponse {
2929
2806
  }
2930
- /**
2931
- * <p>The number of tags exceeds the limit.</p>
2932
- * @public
2933
- */
2934
- export declare class TooManyTagsException extends __BaseException {
2935
- readonly name: "TooManyTagsException";
2936
- readonly $fault: "client";
2937
- /**
2938
- * @internal
2939
- */
2940
- constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
2941
- }
2942
2807
  /**
2943
2808
  * @public
2944
2809
  */
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { IoTTwinMakerExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/errors";
9
+ export * from "./models/models_0";
9
10
  export { IoTTwinMakerServiceException } from "./models/IoTTwinMakerServiceException";
@@ -0,0 +1,78 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { IoTTwinMakerServiceException as __BaseException } from "./IoTTwinMakerServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
+ );
9
+ }
10
+ export declare class InternalServerException extends __BaseException {
11
+ readonly name: "InternalServerException";
12
+ readonly $fault: "server";
13
+ constructor(
14
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
15
+ );
16
+ }
17
+ export declare class ResourceNotFoundException extends __BaseException {
18
+ readonly name: "ResourceNotFoundException";
19
+ readonly $fault: "client";
20
+ constructor(
21
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
22
+ );
23
+ }
24
+ export declare class ThrottlingException extends __BaseException {
25
+ readonly name: "ThrottlingException";
26
+ readonly $fault: "client";
27
+ constructor(
28
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
29
+ );
30
+ }
31
+ export declare class ValidationException extends __BaseException {
32
+ readonly name: "ValidationException";
33
+ readonly $fault: "client";
34
+ constructor(
35
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
36
+ );
37
+ }
38
+ export declare class ConflictException extends __BaseException {
39
+ readonly name: "ConflictException";
40
+ readonly $fault: "client";
41
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
42
+ }
43
+ export declare class ServiceQuotaExceededException extends __BaseException {
44
+ readonly name: "ServiceQuotaExceededException";
45
+ readonly $fault: "client";
46
+ constructor(
47
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
48
+ );
49
+ }
50
+ export declare class QueryTimeoutException extends __BaseException {
51
+ readonly name: "QueryTimeoutException";
52
+ readonly $fault: "client";
53
+ $retryable: {};
54
+ constructor(
55
+ opts: __ExceptionOptionType<QueryTimeoutException, __BaseException>
56
+ );
57
+ }
58
+ export declare class ConnectorFailureException extends __BaseException {
59
+ readonly name: "ConnectorFailureException";
60
+ readonly $fault: "client";
61
+ constructor(
62
+ opts: __ExceptionOptionType<ConnectorFailureException, __BaseException>
63
+ );
64
+ }
65
+ export declare class ConnectorTimeoutException extends __BaseException {
66
+ readonly name: "ConnectorTimeoutException";
67
+ readonly $fault: "client";
68
+ constructor(
69
+ opts: __ExceptionOptionType<ConnectorTimeoutException, __BaseException>
70
+ );
71
+ }
72
+ export declare class TooManyTagsException extends __BaseException {
73
+ readonly name: "TooManyTagsException";
74
+ readonly $fault: "client";
75
+ constructor(
76
+ opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
77
+ );
78
+ }
@@ -1,13 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
1
  import { DocumentType as __DocumentType } from "@smithy/types";
3
- import { IoTTwinMakerServiceException as __BaseException } from "./IoTTwinMakerServiceException";
4
- export declare class AccessDeniedException extends __BaseException {
5
- readonly name: "AccessDeniedException";
6
- readonly $fault: "client";
7
- constructor(
8
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
- );
10
- }
11
2
  export interface EntityPropertyReference {
12
3
  componentName?: string | undefined;
13
4
  componentPath?: string | undefined;
@@ -19,34 +10,6 @@ export interface RelationshipValue {
19
10
  targetEntityId?: string | undefined;
20
11
  targetComponentName?: string | undefined;
21
12
  }
22
- export declare class InternalServerException extends __BaseException {
23
- readonly name: "InternalServerException";
24
- readonly $fault: "server";
25
- constructor(
26
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
27
- );
28
- }
29
- export declare class ResourceNotFoundException extends __BaseException {
30
- readonly name: "ResourceNotFoundException";
31
- readonly $fault: "client";
32
- constructor(
33
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
34
- );
35
- }
36
- export declare class ThrottlingException extends __BaseException {
37
- readonly name: "ThrottlingException";
38
- readonly $fault: "client";
39
- constructor(
40
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
41
- );
42
- }
43
- export declare class ValidationException extends __BaseException {
44
- readonly name: "ValidationException";
45
- readonly $fault: "client";
46
- constructor(
47
- opts: __ExceptionOptionType<ValidationException, __BaseException>
48
- );
49
- }
50
13
  export interface CancelMetadataTransferJobRequest {
51
14
  metadataTransferJobId: string | undefined;
52
15
  }
@@ -94,11 +57,6 @@ export interface CancelMetadataTransferJobResponse {
94
57
  status: MetadataTransferJobStatus | undefined;
95
58
  progress?: MetadataTransferJobProgress | undefined;
96
59
  }
97
- export declare class ConflictException extends __BaseException {
98
- readonly name: "ConflictException";
99
- readonly $fault: "client";
100
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
101
- }
102
60
  export interface CompositeComponentTypeRequest {
103
61
  componentTypeId?: string | undefined;
104
62
  }
@@ -155,13 +113,6 @@ export interface CreateComponentTypeResponse {
155
113
  creationDateTime: Date | undefined;
156
114
  state: State | undefined;
157
115
  }
158
- export declare class ServiceQuotaExceededException extends __BaseException {
159
- readonly name: "ServiceQuotaExceededException";
160
- readonly $fault: "client";
161
- constructor(
162
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
163
- );
164
- }
165
116
  export declare const PropertyUpdateType: {
166
117
  readonly CREATE: "CREATE";
167
118
  readonly DELETE: "DELETE";
@@ -410,14 +361,6 @@ export interface ExecuteQueryResponse {
410
361
  rows?: Row[] | undefined;
411
362
  nextToken?: string | undefined;
412
363
  }
413
- export declare class QueryTimeoutException extends __BaseException {
414
- readonly name: "QueryTimeoutException";
415
- readonly $fault: "client";
416
- $retryable: {};
417
- constructor(
418
- opts: __ExceptionOptionType<QueryTimeoutException, __BaseException>
419
- );
420
- }
421
364
  export interface GetComponentTypeRequest {
422
365
  workspaceId: string | undefined;
423
366
  componentTypeId: string | undefined;
@@ -514,20 +457,6 @@ export interface GetPricingPlanResponse {
514
457
  currentPricingPlan: PricingPlan | undefined;
515
458
  pendingPricingPlan?: PricingPlan | undefined;
516
459
  }
517
- export declare class ConnectorFailureException extends __BaseException {
518
- readonly name: "ConnectorFailureException";
519
- readonly $fault: "client";
520
- constructor(
521
- opts: __ExceptionOptionType<ConnectorFailureException, __BaseException>
522
- );
523
- }
524
- export declare class ConnectorTimeoutException extends __BaseException {
525
- readonly name: "ConnectorTimeoutException";
526
- readonly $fault: "client";
527
- constructor(
528
- opts: __ExceptionOptionType<ConnectorTimeoutException, __BaseException>
529
- );
530
- }
531
460
  export declare const Order: {
532
461
  readonly ASCENDING: "ASCENDING";
533
462
  readonly DESCENDING: "DESCENDING";
@@ -938,13 +867,6 @@ export interface TagResourceRequest {
938
867
  tags: Record<string, string> | undefined;
939
868
  }
940
869
  export interface TagResourceResponse {}
941
- export declare class TooManyTagsException extends __BaseException {
942
- readonly name: "TooManyTagsException";
943
- readonly $fault: "client";
944
- constructor(
945
- opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
946
- );
947
- }
948
870
  export interface UntagResourceRequest {
949
871
  resourceARN: string | undefined;
950
872
  tagKeys: string[] | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iottwinmaker",
3
3
  "description": "AWS SDK for JavaScript Iottwinmaker Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-iottwinmaker",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";