@aws-sdk/client-iottwinmaker 3.301.0 → 3.306.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.
@@ -58,10 +58,11 @@ export interface DataConnector {
58
58
  lambda?: LambdaFunction;
59
59
  isNative?: boolean;
60
60
  }
61
- export declare enum Scope {
62
- ENTITY = "ENTITY",
63
- WORKSPACE = "WORKSPACE",
64
- }
61
+ export declare const Scope: {
62
+ readonly ENTITY: "ENTITY";
63
+ readonly WORKSPACE: "WORKSPACE";
64
+ };
65
+ export type Scope = (typeof Scope)[keyof typeof Scope];
65
66
  export interface FunctionRequest {
66
67
  requiredProperties?: string[];
67
68
  scope?: Scope | string;
@@ -71,30 +72,33 @@ export interface Relationship {
71
72
  targetComponentTypeId?: string;
72
73
  relationshipType?: string;
73
74
  }
74
- export declare enum Type {
75
- BOOLEAN = "BOOLEAN",
76
- DOUBLE = "DOUBLE",
77
- INTEGER = "INTEGER",
78
- LIST = "LIST",
79
- LONG = "LONG",
80
- MAP = "MAP",
81
- RELATIONSHIP = "RELATIONSHIP",
82
- STRING = "STRING",
83
- }
84
- export declare enum GroupType {
85
- TABULAR = "TABULAR",
86
- }
75
+ export declare const Type: {
76
+ readonly BOOLEAN: "BOOLEAN";
77
+ readonly DOUBLE: "DOUBLE";
78
+ readonly INTEGER: "INTEGER";
79
+ readonly LIST: "LIST";
80
+ readonly LONG: "LONG";
81
+ readonly MAP: "MAP";
82
+ readonly RELATIONSHIP: "RELATIONSHIP";
83
+ readonly STRING: "STRING";
84
+ };
85
+ export type Type = (typeof Type)[keyof typeof Type];
86
+ export declare const GroupType: {
87
+ readonly TABULAR: "TABULAR";
88
+ };
89
+ export type GroupType = (typeof GroupType)[keyof typeof GroupType];
87
90
  export interface PropertyGroupRequest {
88
91
  groupType?: GroupType | string;
89
92
  propertyNames?: string[];
90
93
  }
91
- export declare enum State {
92
- ACTIVE = "ACTIVE",
93
- CREATING = "CREATING",
94
- DELETING = "DELETING",
95
- ERROR = "ERROR",
96
- UPDATING = "UPDATING",
97
- }
94
+ export declare const State: {
95
+ readonly ACTIVE: "ACTIVE";
96
+ readonly CREATING: "CREATING";
97
+ readonly DELETING: "DELETING";
98
+ readonly ERROR: "ERROR";
99
+ readonly UPDATING: "UPDATING";
100
+ };
101
+ export type State = (typeof State)[keyof typeof State];
98
102
  export interface CreateComponentTypeResponse {
99
103
  arn: string | undefined;
100
104
  creationDateTime: Date | undefined;
@@ -107,16 +111,20 @@ export declare class ServiceQuotaExceededException extends __BaseException {
107
111
  opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
108
112
  );
109
113
  }
110
- export declare enum PropertyUpdateType {
111
- CREATE = "CREATE",
112
- DELETE = "DELETE",
113
- UPDATE = "UPDATE",
114
- }
115
- export declare enum PropertyGroupUpdateType {
116
- CREATE = "CREATE",
117
- DELETE = "DELETE",
118
- UPDATE = "UPDATE",
119
- }
114
+ export declare const PropertyUpdateType: {
115
+ readonly CREATE: "CREATE";
116
+ readonly DELETE: "DELETE";
117
+ readonly UPDATE: "UPDATE";
118
+ };
119
+ export type PropertyUpdateType =
120
+ (typeof PropertyUpdateType)[keyof typeof PropertyUpdateType];
121
+ export declare const PropertyGroupUpdateType: {
122
+ readonly CREATE: "CREATE";
123
+ readonly DELETE: "DELETE";
124
+ readonly UPDATE: "UPDATE";
125
+ };
126
+ export type PropertyGroupUpdateType =
127
+ (typeof PropertyGroupUpdateType)[keyof typeof PropertyGroupUpdateType];
120
128
  export interface ComponentPropertyGroupRequest {
121
129
  groupType?: GroupType | string;
122
130
  propertyNames?: string[];
@@ -147,13 +155,14 @@ export interface CreateSyncJobRequest {
147
155
  syncRole: string | undefined;
148
156
  tags?: Record<string, string>;
149
157
  }
150
- export declare enum SyncJobState {
151
- ACTIVE = "ACTIVE",
152
- CREATING = "CREATING",
153
- DELETING = "DELETING",
154
- ERROR = "ERROR",
155
- INITIALIZING = "INITIALIZING",
156
- }
158
+ export declare const SyncJobState: {
159
+ readonly ACTIVE: "ACTIVE";
160
+ readonly CREATING: "CREATING";
161
+ readonly DELETING: "DELETING";
162
+ readonly ERROR: "ERROR";
163
+ readonly INITIALIZING: "INITIALIZING";
164
+ };
165
+ export type SyncJobState = (typeof SyncJobState)[keyof typeof SyncJobState];
157
166
  export interface CreateSyncJobResponse {
158
167
  arn: string | undefined;
159
168
  creationDateTime: Date | undefined;
@@ -207,11 +216,12 @@ export interface ExecuteQueryRequest {
207
216
  maxResults?: number;
208
217
  nextToken?: string;
209
218
  }
210
- export declare enum ColumnType {
211
- EDGE = "EDGE",
212
- NODE = "NODE",
213
- VALUE = "VALUE",
214
- }
219
+ export declare const ColumnType: {
220
+ readonly EDGE: "EDGE";
221
+ readonly NODE: "NODE";
222
+ readonly VALUE: "VALUE";
223
+ };
224
+ export type ColumnType = (typeof ColumnType)[keyof typeof ColumnType];
215
225
  export interface ColumnDescription {
216
226
  name?: string;
217
227
  type?: ColumnType | string;
@@ -247,13 +257,14 @@ export interface PropertyGroupResponse {
247
257
  propertyNames: string[] | undefined;
248
258
  isInherited: boolean | undefined;
249
259
  }
250
- export declare enum ErrorCode {
251
- INTERNAL_FAILURE = "INTERNAL_FAILURE",
252
- SYNC_CREATING_ERROR = "SYNC_CREATING_ERROR",
253
- SYNC_INITIALIZING_ERROR = "SYNC_INITIALIZING_ERROR",
254
- SYNC_PROCESSING_ERROR = "SYNC_PROCESSING_ERROR",
255
- VALIDATION_ERROR = "VALIDATION_ERROR",
256
- }
260
+ export declare const ErrorCode: {
261
+ readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
262
+ readonly SYNC_CREATING_ERROR: "SYNC_CREATING_ERROR";
263
+ readonly SYNC_INITIALIZING_ERROR: "SYNC_INITIALIZING_ERROR";
264
+ readonly SYNC_PROCESSING_ERROR: "SYNC_PROCESSING_ERROR";
265
+ readonly VALIDATION_ERROR: "VALIDATION_ERROR";
266
+ };
267
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
257
268
  export interface ErrorDetails {
258
269
  code?: ErrorCode | string;
259
270
  message?: string;
@@ -272,28 +283,31 @@ export interface ComponentPropertyGroupResponse {
272
283
  isInherited: boolean | undefined;
273
284
  }
274
285
  export interface GetPricingPlanRequest {}
275
- export declare enum PricingTier {
276
- TIER_1 = "TIER_1",
277
- TIER_2 = "TIER_2",
278
- TIER_3 = "TIER_3",
279
- TIER_4 = "TIER_4",
280
- }
286
+ export declare const PricingTier: {
287
+ readonly TIER_1: "TIER_1";
288
+ readonly TIER_2: "TIER_2";
289
+ readonly TIER_3: "TIER_3";
290
+ readonly TIER_4: "TIER_4";
291
+ };
292
+ export type PricingTier = (typeof PricingTier)[keyof typeof PricingTier];
281
293
  export interface BundleInformation {
282
294
  bundleNames: string[] | undefined;
283
295
  pricingTier?: PricingTier | string;
284
296
  }
285
- export declare enum PricingMode {
286
- BASIC = "BASIC",
287
- STANDARD = "STANDARD",
288
- TIERED_BUNDLE = "TIERED_BUNDLE",
289
- }
290
- export declare enum UpdateReason {
291
- DEFAULT = "DEFAULT",
292
- ENTITY_COUNT_UPDATE = "ENTITY_COUNT_UPDATE",
293
- OVERWRITTEN = "OVERWRITTEN",
294
- PRICING_MODE_UPDATE = "PRICING_MODE_UPDATE",
295
- PRICING_TIER_UPDATE = "PRICING_TIER_UPDATE",
296
- }
297
+ export declare const PricingMode: {
298
+ readonly BASIC: "BASIC";
299
+ readonly STANDARD: "STANDARD";
300
+ readonly TIERED_BUNDLE: "TIERED_BUNDLE";
301
+ };
302
+ export type PricingMode = (typeof PricingMode)[keyof typeof PricingMode];
303
+ export declare const UpdateReason: {
304
+ readonly DEFAULT: "DEFAULT";
305
+ readonly ENTITY_COUNT_UPDATE: "ENTITY_COUNT_UPDATE";
306
+ readonly OVERWRITTEN: "OVERWRITTEN";
307
+ readonly PRICING_MODE_UPDATE: "PRICING_MODE_UPDATE";
308
+ readonly PRICING_TIER_UPDATE: "PRICING_TIER_UPDATE";
309
+ };
310
+ export type UpdateReason = (typeof UpdateReason)[keyof typeof UpdateReason];
297
311
  export interface PricingPlan {
298
312
  billableEntityCount?: number;
299
313
  bundleInformation?: BundleInformation;
@@ -320,25 +334,29 @@ export declare class ConnectorTimeoutException extends __BaseException {
320
334
  opts: __ExceptionOptionType<ConnectorTimeoutException, __BaseException>
321
335
  );
322
336
  }
323
- export declare enum Order {
324
- ASCENDING = "ASCENDING",
325
- DESCENDING = "DESCENDING",
326
- }
337
+ export declare const Order: {
338
+ readonly ASCENDING: "ASCENDING";
339
+ readonly DESCENDING: "DESCENDING";
340
+ };
341
+ export type Order = (typeof Order)[keyof typeof Order];
327
342
  export interface OrderBy {
328
343
  order?: Order | string;
329
344
  propertyName: string | undefined;
330
345
  }
331
- export declare enum InterpolationType {
332
- LINEAR = "LINEAR",
333
- }
346
+ export declare const InterpolationType: {
347
+ readonly LINEAR: "LINEAR";
348
+ };
349
+ export type InterpolationType =
350
+ (typeof InterpolationType)[keyof typeof InterpolationType];
334
351
  export interface InterpolationParameters {
335
352
  interpolationType?: InterpolationType | string;
336
353
  intervalInSeconds?: number;
337
354
  }
338
- export declare enum OrderByTime {
339
- ASCENDING = "ASCENDING",
340
- DESCENDING = "DESCENDING",
341
- }
355
+ export declare const OrderByTime: {
356
+ readonly ASCENDING: "ASCENDING";
357
+ readonly DESCENDING: "DESCENDING";
358
+ };
359
+ export type OrderByTime = (typeof OrderByTime)[keyof typeof OrderByTime];
342
360
  export interface GetSceneRequest {
343
361
  workspaceId: string | undefined;
344
362
  sceneId: string | undefined;
@@ -536,17 +554,21 @@ export interface ListSyncJobsResponse {
536
554
  syncJobSummaries?: SyncJobSummary[];
537
555
  nextToken?: string;
538
556
  }
539
- export declare enum SyncResourceType {
540
- COMPONENT_TYPE = "COMPONENT_TYPE",
541
- ENTITY = "ENTITY",
542
- }
543
- export declare enum SyncResourceState {
544
- DELETED = "DELETED",
545
- ERROR = "ERROR",
546
- INITIALIZING = "INITIALIZING",
547
- IN_SYNC = "IN_SYNC",
548
- PROCESSING = "PROCESSING",
549
- }
557
+ export declare const SyncResourceType: {
558
+ readonly COMPONENT_TYPE: "COMPONENT_TYPE";
559
+ readonly ENTITY: "ENTITY";
560
+ };
561
+ export type SyncResourceType =
562
+ (typeof SyncResourceType)[keyof typeof SyncResourceType];
563
+ export declare const SyncResourceState: {
564
+ readonly DELETED: "DELETED";
565
+ readonly ERROR: "ERROR";
566
+ readonly INITIALIZING: "INITIALIZING";
567
+ readonly IN_SYNC: "IN_SYNC";
568
+ readonly PROCESSING: "PROCESSING";
569
+ };
570
+ export type SyncResourceState =
571
+ (typeof SyncResourceState)[keyof typeof SyncResourceState];
550
572
  export type SyncResourceFilter =
551
573
  | SyncResourceFilter.ExternalIdMember
552
574
  | SyncResourceFilter.ResourceIdMember
@@ -667,15 +689,19 @@ export interface UpdateComponentTypeResponse {
667
689
  componentTypeId: string | undefined;
668
690
  state: State | string | undefined;
669
691
  }
670
- export declare enum ComponentUpdateType {
671
- CREATE = "CREATE",
672
- DELETE = "DELETE",
673
- UPDATE = "UPDATE",
674
- }
675
- export declare enum ParentEntityUpdateType {
676
- DELETE = "DELETE",
677
- UPDATE = "UPDATE",
678
- }
692
+ export declare const ComponentUpdateType: {
693
+ readonly CREATE: "CREATE";
694
+ readonly DELETE: "DELETE";
695
+ readonly UPDATE: "UPDATE";
696
+ };
697
+ export type ComponentUpdateType =
698
+ (typeof ComponentUpdateType)[keyof typeof ComponentUpdateType];
699
+ export declare const ParentEntityUpdateType: {
700
+ readonly DELETE: "DELETE";
701
+ readonly UPDATE: "UPDATE";
702
+ };
703
+ export type ParentEntityUpdateType =
704
+ (typeof ParentEntityUpdateType)[keyof typeof ParentEntityUpdateType];
679
705
  export interface ParentEntityUpdateRequest {
680
706
  updateType: ParentEntityUpdateType | string | undefined;
681
707
  parentEntityId?: string;
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.301.0",
4
+ "version": "3.306.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.306.0",
25
+ "@aws-sdk/config-resolver": "3.306.0",
26
+ "@aws-sdk/credential-provider-node": "3.306.0",
27
+ "@aws-sdk/fetch-http-handler": "3.306.0",
28
+ "@aws-sdk/hash-node": "3.306.0",
29
+ "@aws-sdk/invalid-dependency": "3.306.0",
30
+ "@aws-sdk/middleware-content-length": "3.306.0",
31
+ "@aws-sdk/middleware-endpoint": "3.306.0",
32
+ "@aws-sdk/middleware-host-header": "3.306.0",
33
+ "@aws-sdk/middleware-logger": "3.306.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.306.0",
35
+ "@aws-sdk/middleware-retry": "3.306.0",
36
+ "@aws-sdk/middleware-serde": "3.306.0",
37
+ "@aws-sdk/middleware-signing": "3.306.0",
38
+ "@aws-sdk/middleware-stack": "3.306.0",
39
+ "@aws-sdk/middleware-user-agent": "3.306.0",
40
+ "@aws-sdk/node-config-provider": "3.306.0",
41
+ "@aws-sdk/node-http-handler": "3.306.0",
42
+ "@aws-sdk/protocol-http": "3.306.0",
43
+ "@aws-sdk/smithy-client": "3.306.0",
44
+ "@aws-sdk/types": "3.306.0",
45
+ "@aws-sdk/url-parser": "3.306.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.306.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.306.0",
51
+ "@aws-sdk/util-endpoints": "3.306.0",
52
+ "@aws-sdk/util-retry": "3.306.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.306.0",
54
+ "@aws-sdk/util-user-agent-node": "3.306.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",