@aws-sdk/client-iottwinmaker 3.936.0 → 3.940.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.
@@ -1,4 +1,29 @@
1
1
  import { DocumentType as __DocumentType } from "@smithy/types";
2
+ import {
3
+ ColumnType,
4
+ ComponentUpdateType,
5
+ DestinationType,
6
+ ErrorCode,
7
+ GroupType,
8
+ InterpolationType,
9
+ MetadataTransferJobState,
10
+ Order,
11
+ OrderByTime,
12
+ ParentEntityUpdateType,
13
+ PricingMode,
14
+ PricingTier,
15
+ PropertyGroupUpdateType,
16
+ PropertyUpdateType,
17
+ SceneErrorCode,
18
+ Scope,
19
+ SourceType,
20
+ State,
21
+ SyncJobState,
22
+ SyncResourceState,
23
+ SyncResourceType,
24
+ Type,
25
+ UpdateReason,
26
+ } from "./enums";
2
27
  export interface EntityPropertyReference {
3
28
  componentName?: string | undefined;
4
29
  componentPath?: string | undefined;
@@ -19,32 +44,10 @@ export interface MetadataTransferJobProgress {
19
44
  skippedCount?: number | undefined;
20
45
  failedCount?: number | undefined;
21
46
  }
22
- export declare const ErrorCode: {
23
- readonly COMPOSITE_COMPONENT_FAILURE: "COMPOSITE_COMPONENT_FAILURE";
24
- readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
25
- readonly PROCESSING_ERROR: "PROCESSING_ERROR";
26
- readonly SYNC_CREATING_ERROR: "SYNC_CREATING_ERROR";
27
- readonly SYNC_DELETING_ERROR: "SYNC_DELETING_ERROR";
28
- readonly SYNC_INITIALIZING_ERROR: "SYNC_INITIALIZING_ERROR";
29
- readonly SYNC_PROCESSING_ERROR: "SYNC_PROCESSING_ERROR";
30
- readonly VALIDATION_ERROR: "VALIDATION_ERROR";
31
- };
32
- export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
33
47
  export interface ErrorDetails {
34
48
  code?: ErrorCode | undefined;
35
49
  message?: string | undefined;
36
50
  }
37
- export declare const MetadataTransferJobState: {
38
- readonly CANCELLED: "CANCELLED";
39
- readonly CANCELLING: "CANCELLING";
40
- readonly COMPLETED: "COMPLETED";
41
- readonly ERROR: "ERROR";
42
- readonly PENDING: "PENDING";
43
- readonly RUNNING: "RUNNING";
44
- readonly VALIDATING: "VALIDATING";
45
- };
46
- export type MetadataTransferJobState =
47
- (typeof MetadataTransferJobState)[keyof typeof MetadataTransferJobState];
48
51
  export interface MetadataTransferJobStatus {
49
52
  state?: MetadataTransferJobState | undefined;
50
53
  error?: ErrorDetails | undefined;
@@ -67,11 +70,6 @@ export interface DataConnector {
67
70
  lambda?: LambdaFunction | undefined;
68
71
  isNative?: boolean | undefined;
69
72
  }
70
- export declare const Scope: {
71
- readonly ENTITY: "ENTITY";
72
- readonly WORKSPACE: "WORKSPACE";
73
- };
74
- export type Scope = (typeof Scope)[keyof typeof Scope];
75
73
  export interface FunctionRequest {
76
74
  requiredProperties?: string[] | undefined;
77
75
  scope?: Scope | undefined;
@@ -81,53 +79,15 @@ export interface Relationship {
81
79
  targetComponentTypeId?: string | undefined;
82
80
  relationshipType?: string | undefined;
83
81
  }
84
- export declare const Type: {
85
- readonly BOOLEAN: "BOOLEAN";
86
- readonly DOUBLE: "DOUBLE";
87
- readonly INTEGER: "INTEGER";
88
- readonly LIST: "LIST";
89
- readonly LONG: "LONG";
90
- readonly MAP: "MAP";
91
- readonly RELATIONSHIP: "RELATIONSHIP";
92
- readonly STRING: "STRING";
93
- };
94
- export type Type = (typeof Type)[keyof typeof Type];
95
- export declare const GroupType: {
96
- readonly TABULAR: "TABULAR";
97
- };
98
- export type GroupType = (typeof GroupType)[keyof typeof GroupType];
99
82
  export interface PropertyGroupRequest {
100
83
  groupType?: GroupType | undefined;
101
84
  propertyNames?: string[] | undefined;
102
85
  }
103
- export declare const State: {
104
- readonly ACTIVE: "ACTIVE";
105
- readonly CREATING: "CREATING";
106
- readonly DELETING: "DELETING";
107
- readonly ERROR: "ERROR";
108
- readonly UPDATING: "UPDATING";
109
- };
110
- export type State = (typeof State)[keyof typeof State];
111
86
  export interface CreateComponentTypeResponse {
112
87
  arn: string | undefined;
113
88
  creationDateTime: Date | undefined;
114
89
  state: State | undefined;
115
90
  }
116
- export declare const PropertyUpdateType: {
117
- readonly CREATE: "CREATE";
118
- readonly DELETE: "DELETE";
119
- readonly RESET_VALUE: "RESET_VALUE";
120
- readonly UPDATE: "UPDATE";
121
- };
122
- export type PropertyUpdateType =
123
- (typeof PropertyUpdateType)[keyof typeof PropertyUpdateType];
124
- export declare const PropertyGroupUpdateType: {
125
- readonly CREATE: "CREATE";
126
- readonly DELETE: "DELETE";
127
- readonly UPDATE: "UPDATE";
128
- };
129
- export type PropertyGroupUpdateType =
130
- (typeof PropertyGroupUpdateType)[keyof typeof PropertyGroupUpdateType];
131
91
  export interface ComponentPropertyGroupRequest {
132
92
  groupType?: GroupType | undefined;
133
93
  propertyNames?: string[] | undefined;
@@ -145,13 +105,6 @@ export interface IotTwinMakerDestinationConfiguration {
145
105
  export interface S3DestinationConfiguration {
146
106
  location: string | undefined;
147
107
  }
148
- export declare const DestinationType: {
149
- readonly IOTSITEWISE: "iotsitewise";
150
- readonly IOTTWINMAKER: "iottwinmaker";
151
- readonly S3: "s3";
152
- };
153
- export type DestinationType =
154
- (typeof DestinationType)[keyof typeof DestinationType];
155
108
  export interface DestinationConfiguration {
156
109
  type: DestinationType | undefined;
157
110
  s3Configuration?: S3DestinationConfiguration | undefined;
@@ -237,12 +190,6 @@ export interface IotTwinMakerSourceConfiguration {
237
190
  export interface S3SourceConfiguration {
238
191
  location: string | undefined;
239
192
  }
240
- export declare const SourceType: {
241
- readonly IOTSITEWISE: "iotsitewise";
242
- readonly IOTTWINMAKER: "iottwinmaker";
243
- readonly S3: "s3";
244
- };
245
- export type SourceType = (typeof SourceType)[keyof typeof SourceType];
246
193
  export interface SourceConfiguration {
247
194
  type: SourceType | undefined;
248
195
  s3Configuration?: S3SourceConfiguration | undefined;
@@ -280,14 +227,6 @@ export interface CreateSyncJobRequest {
280
227
  syncRole: string | undefined;
281
228
  tags?: Record<string, string> | undefined;
282
229
  }
283
- export declare const SyncJobState: {
284
- readonly ACTIVE: "ACTIVE";
285
- readonly CREATING: "CREATING";
286
- readonly DELETING: "DELETING";
287
- readonly ERROR: "ERROR";
288
- readonly INITIALIZING: "INITIALIZING";
289
- };
290
- export type SyncJobState = (typeof SyncJobState)[keyof typeof SyncJobState];
291
230
  export interface CreateSyncJobResponse {
292
231
  arn: string | undefined;
293
232
  creationDateTime: Date | undefined;
@@ -343,12 +282,6 @@ export interface ExecuteQueryRequest {
343
282
  maxResults?: number | undefined;
344
283
  nextToken?: string | undefined;
345
284
  }
346
- export declare const ColumnType: {
347
- readonly EDGE: "EDGE";
348
- readonly NODE: "NODE";
349
- readonly VALUE: "VALUE";
350
- };
351
- export type ColumnType = (typeof ColumnType)[keyof typeof ColumnType];
352
285
  export interface ColumnDescription {
353
286
  name?: string | undefined;
354
287
  type?: ColumnType | undefined;
@@ -420,31 +353,10 @@ export interface GetMetadataTransferJobResponse {
420
353
  progress?: MetadataTransferJobProgress | undefined;
421
354
  }
422
355
  export interface GetPricingPlanRequest {}
423
- export declare const PricingTier: {
424
- readonly TIER_1: "TIER_1";
425
- readonly TIER_2: "TIER_2";
426
- readonly TIER_3: "TIER_3";
427
- readonly TIER_4: "TIER_4";
428
- };
429
- export type PricingTier = (typeof PricingTier)[keyof typeof PricingTier];
430
356
  export interface BundleInformation {
431
357
  bundleNames: string[] | undefined;
432
358
  pricingTier?: PricingTier | undefined;
433
359
  }
434
- export declare const PricingMode: {
435
- readonly BASIC: "BASIC";
436
- readonly STANDARD: "STANDARD";
437
- readonly TIERED_BUNDLE: "TIERED_BUNDLE";
438
- };
439
- export type PricingMode = (typeof PricingMode)[keyof typeof PricingMode];
440
- export declare const UpdateReason: {
441
- readonly DEFAULT: "DEFAULT";
442
- readonly ENTITY_COUNT_UPDATE: "ENTITY_COUNT_UPDATE";
443
- readonly OVERWRITTEN: "OVERWRITTEN";
444
- readonly PRICING_MODE_UPDATE: "PRICING_MODE_UPDATE";
445
- readonly PRICING_TIER_UPDATE: "PRICING_TIER_UPDATE";
446
- };
447
- export type UpdateReason = (typeof UpdateReason)[keyof typeof UpdateReason];
448
360
  export interface PricingPlan {
449
361
  billableEntityCount?: number | undefined;
450
362
  bundleInformation?: BundleInformation | undefined;
@@ -457,38 +369,18 @@ export interface GetPricingPlanResponse {
457
369
  currentPricingPlan: PricingPlan | undefined;
458
370
  pendingPricingPlan?: PricingPlan | undefined;
459
371
  }
460
- export declare const Order: {
461
- readonly ASCENDING: "ASCENDING";
462
- readonly DESCENDING: "DESCENDING";
463
- };
464
- export type Order = (typeof Order)[keyof typeof Order];
465
372
  export interface OrderBy {
466
373
  order?: Order | undefined;
467
374
  propertyName: string | undefined;
468
375
  }
469
- export declare const InterpolationType: {
470
- readonly LINEAR: "LINEAR";
471
- };
472
- export type InterpolationType =
473
- (typeof InterpolationType)[keyof typeof InterpolationType];
474
376
  export interface InterpolationParameters {
475
377
  interpolationType?: InterpolationType | undefined;
476
378
  intervalInSeconds?: number | undefined;
477
379
  }
478
- export declare const OrderByTime: {
479
- readonly ASCENDING: "ASCENDING";
480
- readonly DESCENDING: "DESCENDING";
481
- };
482
- export type OrderByTime = (typeof OrderByTime)[keyof typeof OrderByTime];
483
380
  export interface GetSceneRequest {
484
381
  workspaceId: string | undefined;
485
382
  sceneId: string | undefined;
486
383
  }
487
- export declare const SceneErrorCode: {
488
- readonly MATTERPORT_ERROR: "MATTERPORT_ERROR";
489
- };
490
- export type SceneErrorCode =
491
- (typeof SceneErrorCode)[keyof typeof SceneErrorCode];
492
384
  export interface SceneError {
493
385
  code?: SceneErrorCode | undefined;
494
386
  message?: string | undefined;
@@ -750,21 +642,6 @@ export interface ListSyncJobsResponse {
750
642
  syncJobSummaries?: SyncJobSummary[] | undefined;
751
643
  nextToken?: string | undefined;
752
644
  }
753
- export declare const SyncResourceType: {
754
- readonly COMPONENT_TYPE: "COMPONENT_TYPE";
755
- readonly ENTITY: "ENTITY";
756
- };
757
- export type SyncResourceType =
758
- (typeof SyncResourceType)[keyof typeof SyncResourceType];
759
- export declare const SyncResourceState: {
760
- readonly DELETED: "DELETED";
761
- readonly ERROR: "ERROR";
762
- readonly INITIALIZING: "INITIALIZING";
763
- readonly IN_SYNC: "IN_SYNC";
764
- readonly PROCESSING: "PROCESSING";
765
- };
766
- export type SyncResourceState =
767
- (typeof SyncResourceState)[keyof typeof SyncResourceState];
768
645
  export type SyncResourceFilter =
769
646
  | SyncResourceFilter.ExternalIdMember
770
647
  | SyncResourceFilter.ResourceIdMember
@@ -878,19 +755,6 @@ export interface UpdateComponentTypeResponse {
878
755
  componentTypeId: string | undefined;
879
756
  state: State | undefined;
880
757
  }
881
- export declare const ComponentUpdateType: {
882
- readonly CREATE: "CREATE";
883
- readonly DELETE: "DELETE";
884
- readonly UPDATE: "UPDATE";
885
- };
886
- export type ComponentUpdateType =
887
- (typeof ComponentUpdateType)[keyof typeof ComponentUpdateType];
888
- export declare const ParentEntityUpdateType: {
889
- readonly DELETE: "DELETE";
890
- readonly UPDATE: "UPDATE";
891
- };
892
- export type ParentEntityUpdateType =
893
- (typeof ParentEntityUpdateType)[keyof typeof ParentEntityUpdateType];
894
758
  export interface ParentEntityUpdateRequest {
895
759
  updateType: ParentEntityUpdateType | undefined;
896
760
  parentEntityId?: 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.936.0",
4
+ "version": "3.940.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,17 +20,17 @@
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.936.0",
24
- "@aws-sdk/credential-provider-node": "3.936.0",
23
+ "@aws-sdk/core": "3.940.0",
24
+ "@aws-sdk/credential-provider-node": "3.940.0",
25
25
  "@aws-sdk/middleware-host-header": "3.936.0",
26
26
  "@aws-sdk/middleware-logger": "3.936.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
- "@aws-sdk/middleware-user-agent": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.940.0",
29
29
  "@aws-sdk/region-config-resolver": "3.936.0",
30
30
  "@aws-sdk/types": "3.936.0",
31
31
  "@aws-sdk/util-endpoints": "3.936.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.936.0",
33
- "@aws-sdk/util-user-agent-node": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.940.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
35
  "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",