@aws-sdk/client-iotsitewise 3.758.0 → 3.761.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
@@ -48,6 +48,7 @@ __export(src_exports, {
48
48
  ComputeLocation: () => ComputeLocation,
49
49
  ConfigurationState: () => ConfigurationState,
50
50
  ConflictingOperationException: () => ConflictingOperationException,
51
+ CoreDeviceOperatingSystem: () => CoreDeviceOperatingSystem,
51
52
  CreateAccessPolicyCommand: () => CreateAccessPolicyCommand,
52
53
  CreateAssetCommand: () => CreateAssetCommand,
53
54
  CreateAssetModelCommand: () => CreateAssetModelCommand,
@@ -766,6 +767,11 @@ var DatasetState = {
766
767
  FAILED: "FAILED",
767
768
  UPDATING: "UPDATING"
768
769
  };
770
+ var CoreDeviceOperatingSystem = {
771
+ LINUX_AARCH64: "LINUX_AARCH64",
772
+ LINUX_AMD64: "LINUX_AMD64",
773
+ WINDOWS_AMD64: "WINDOWS_AMD64"
774
+ };
769
775
  var ImageFileType = {
770
776
  PNG: "PNG"
771
777
  };
@@ -1443,6 +1449,7 @@ var se_CreateGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {
1443
1449
  (0, import_smithy_client.take)(input, {
1444
1450
  gatewayName: [],
1445
1451
  gatewayPlatform: (_) => (0, import_smithy_client._json)(_),
1452
+ gatewayVersion: [],
1446
1453
  tags: (_) => (0, import_smithy_client._json)(_)
1447
1454
  })
1448
1455
  );
@@ -3781,6 +3788,7 @@ var de_DescribeGatewayCommand = /* @__PURE__ */ __name(async (output, context) =
3781
3788
  gatewayId: import_smithy_client.expectString,
3782
3789
  gatewayName: import_smithy_client.expectString,
3783
3790
  gatewayPlatform: import_smithy_client._json,
3791
+ gatewayVersion: import_smithy_client.expectString,
3784
3792
  lastUpdateDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
3785
3793
  });
3786
3794
  Object.assign(contents, doc);
@@ -5249,6 +5257,7 @@ var de_GatewaySummary = /* @__PURE__ */ __name((output, context) => {
5249
5257
  gatewayId: import_smithy_client.expectString,
5250
5258
  gatewayName: import_smithy_client.expectString,
5251
5259
  gatewayPlatform: import_smithy_client._json,
5260
+ gatewayVersion: import_smithy_client.expectString,
5252
5261
  lastUpdateDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
5253
5262
  });
5254
5263
  }, "de_GatewaySummary");
@@ -7304,6 +7313,7 @@ var waitUntilPortalNotExists = /* @__PURE__ */ __name(async (params, input) => {
7304
7313
  DatasetSourceFormat,
7305
7314
  DatasetSourceType,
7306
7315
  DatasetState,
7316
+ CoreDeviceOperatingSystem,
7307
7317
  ImageFileType,
7308
7318
  PortalType,
7309
7319
  MonitorErrorCode,
@@ -281,6 +281,11 @@ export const DatasetState = {
281
281
  FAILED: "FAILED",
282
282
  UPDATING: "UPDATING",
283
283
  };
284
+ export const CoreDeviceOperatingSystem = {
285
+ LINUX_AARCH64: "LINUX_AARCH64",
286
+ LINUX_AMD64: "LINUX_AMD64",
287
+ WINDOWS_AMD64: "WINDOWS_AMD64",
288
+ };
284
289
  export const ImageFileType = {
285
290
  PNG: "PNG",
286
291
  };
@@ -396,6 +396,7 @@ export const se_CreateGatewayCommand = async (input, context) => {
396
396
  body = JSON.stringify(take(input, {
397
397
  gatewayName: [],
398
398
  gatewayPlatform: (_) => _json(_),
399
+ gatewayVersion: [],
399
400
  tags: (_) => _json(_),
400
401
  }));
401
402
  let { hostname: resolvedHostname } = await context.endpoint();
@@ -2687,6 +2688,7 @@ export const de_DescribeGatewayCommand = async (output, context) => {
2687
2688
  gatewayId: __expectString,
2688
2689
  gatewayName: __expectString,
2689
2690
  gatewayPlatform: _json,
2691
+ gatewayVersion: __expectString,
2690
2692
  lastUpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2691
2693
  });
2692
2694
  Object.assign(contents, doc);
@@ -4195,6 +4197,7 @@ const de_GatewaySummary = (output, context) => {
4195
4197
  gatewayId: __expectString,
4196
4198
  gatewayName: __expectString,
4197
4199
  gatewayPlatform: _json,
4200
+ gatewayVersion: __expectString,
4198
4201
  lastUpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
4199
4202
  });
4200
4203
  };
@@ -44,11 +44,13 @@ declare const CreateGatewayCommand_base: {
44
44
  * },
45
45
  * greengrassV2: { // GreengrassV2
46
46
  * coreDeviceThingName: "STRING_VALUE", // required
47
+ * coreDeviceOperatingSystem: "LINUX_AARCH64" || "LINUX_AMD64" || "WINDOWS_AMD64",
47
48
  * },
48
49
  * siemensIE: { // SiemensIE
49
50
  * iotCoreThingName: "STRING_VALUE", // required
50
51
  * },
51
52
  * },
53
+ * gatewayVersion: "STRING_VALUE",
52
54
  * tags: { // TagMap
53
55
  * "<keys>": "STRING_VALUE",
54
56
  * },
@@ -49,11 +49,13 @@ declare const DescribeGatewayCommand_base: {
49
49
  * // },
50
50
  * // greengrassV2: { // GreengrassV2
51
51
  * // coreDeviceThingName: "STRING_VALUE", // required
52
+ * // coreDeviceOperatingSystem: "LINUX_AARCH64" || "LINUX_AMD64" || "WINDOWS_AMD64",
52
53
  * // },
53
54
  * // siemensIE: { // SiemensIE
54
55
  * // iotCoreThingName: "STRING_VALUE", // required
55
56
  * // },
56
57
  * // },
58
+ * // gatewayVersion: "STRING_VALUE",
57
59
  * // gatewayCapabilitySummaries: [ // GatewayCapabilitySummaries // required
58
60
  * // { // GatewayCapabilitySummary
59
61
  * // capabilityNamespace: "STRING_VALUE", // required
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { IoTSiteWiseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTSiteWiseClient";
4
- import { ListAssetsRequest, ListAssetsResponse } from "../models/models_0";
4
+ import { ListAssetsRequest } from "../models/models_0";
5
+ import { ListAssetsResponse } from "../models/models_1";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -51,11 +51,13 @@ declare const ListGatewaysCommand_base: {
51
51
  * // },
52
52
  * // greengrassV2: { // GreengrassV2
53
53
  * // coreDeviceThingName: "STRING_VALUE", // required
54
+ * // coreDeviceOperatingSystem: "LINUX_AARCH64" || "LINUX_AMD64" || "WINDOWS_AMD64",
54
55
  * // },
55
56
  * // siemensIE: { // SiemensIE
56
57
  * // iotCoreThingName: "STRING_VALUE", // required
57
58
  * // },
58
59
  * // },
60
+ * // gatewayVersion: "STRING_VALUE",
59
61
  * // gatewayCapabilitySummaries: [ // GatewayCapabilitySummaries
60
62
  * // { // GatewayCapabilitySummary
61
63
  * // capabilityNamespace: "STRING_VALUE", // required
@@ -3749,6 +3749,19 @@ export interface Greengrass {
3749
3749
  */
3750
3750
  groupArn: string | undefined;
3751
3751
  }
3752
+ /**
3753
+ * @public
3754
+ * @enum
3755
+ */
3756
+ export declare const CoreDeviceOperatingSystem: {
3757
+ readonly LINUX_AARCH64: "LINUX_AARCH64";
3758
+ readonly LINUX_AMD64: "LINUX_AMD64";
3759
+ readonly WINDOWS_AMD64: "WINDOWS_AMD64";
3760
+ };
3761
+ /**
3762
+ * @public
3763
+ */
3764
+ export type CoreDeviceOperatingSystem = (typeof CoreDeviceOperatingSystem)[keyof typeof CoreDeviceOperatingSystem];
3752
3765
  /**
3753
3766
  * <p>Contains details for a gateway that runs on IoT Greengrass V2. To create a gateway that runs on IoT Greengrass V2,
3754
3767
  * you must deploy the IoT SiteWise Edge component to your gateway device. Your <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/device-service-role.html">Greengrass
@@ -3763,6 +3776,11 @@ export interface GreengrassV2 {
3763
3776
  * @public
3764
3777
  */
3765
3778
  coreDeviceThingName: string | undefined;
3779
+ /**
3780
+ * <p>The operating system of the core device in IoT Greengrass V2.</p>
3781
+ * @public
3782
+ */
3783
+ coreDeviceOperatingSystem?: CoreDeviceOperatingSystem | undefined;
3766
3784
  }
3767
3785
  /**
3768
3786
  * <p>Contains details for a SiteWise Edge gateway that runs on a Siemens Industrial Edge
@@ -3811,6 +3829,17 @@ export interface CreateGatewayRequest {
3811
3829
  * @public
3812
3830
  */
3813
3831
  gatewayPlatform: GatewayPlatform | undefined;
3832
+ /**
3833
+ * <p>The version of the gateway to create. Specify <code>3</code> to create an MQTT-enabled, V3
3834
+ * gateway and <code>2</code> To create a Classic streams, V2 gateway. If the version isn't
3835
+ * specified, a Classic streams, V2 gateway is created by default.</p>
3836
+ * <p> We recommend creating an MQTT-enabled, V3 gateway for self-hosted gateways. SiteWise Edge
3837
+ * gateways on Siemens Industrial Edge should use gateway version <code>2</code>. For more information on
3838
+ * gateway versions, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/gw-self-host-gg2.html"> Self-host a SiteWise Edge
3839
+ * gateway with IoT Greengrass V2</a>.</p>
3840
+ * @public
3841
+ */
3842
+ gatewayVersion?: string | undefined;
3814
3843
  /**
3815
3844
  * <p>A list of key-value pairs that contain metadata for the gateway. For more information, see
3816
3845
  * <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html">Tagging your IoT SiteWise
@@ -5458,6 +5487,12 @@ export interface DescribeGatewayResponse {
5458
5487
  * @public
5459
5488
  */
5460
5489
  gatewayPlatform?: GatewayPlatform | undefined;
5490
+ /**
5491
+ * <p>The version of the gateway. A value of <code>3</code> indicates an MQTT-enabled, V3
5492
+ * gateway, while <code>2</code> indicates a Classic streams, V2 gateway.</p>
5493
+ * @public
5494
+ */
5495
+ gatewayVersion?: string | undefined;
5461
5496
  /**
5462
5497
  * <p>A list of gateway capability summaries that each contain a namespace and status. Each
5463
5498
  * gateway capability defines data sources for the gateway. To retrieve a capability
@@ -7411,21 +7446,6 @@ export interface ListAssetsRequest {
7411
7446
  */
7412
7447
  filter?: ListAssetsFilter | undefined;
7413
7448
  }
7414
- /**
7415
- * @public
7416
- */
7417
- export interface ListAssetsResponse {
7418
- /**
7419
- * <p>A list that summarizes each asset.</p>
7420
- * @public
7421
- */
7422
- assetSummaries: AssetSummary[] | undefined;
7423
- /**
7424
- * <p>The token for the next set of results, or null if there are no additional results.</p>
7425
- * @public
7426
- */
7427
- nextToken?: string | undefined;
7428
- }
7429
7449
  /**
7430
7450
  * @internal
7431
7451
  */
@@ -1,6 +1,21 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { IoTSiteWiseServiceException as __BaseException } from "./IoTSiteWiseServiceException";
3
- import { Alarms, AssetModelCompositeModel, AssetModelCompositeModelPathSegment, AssetModelHierarchy, AssetModelProperty, AssetModelStatus, AssetModelVersionType, AssetStatus, AssociatedAssetsSummary, CapabilitySyncStatus, ColumnInfo, ConfigurationStatus, DatasetSource, DatasetSourceType, DatasetStatus, DisassociatedDataStorageState, EncryptionType, GatewayCapabilitySummary, GatewayPlatform, Identity, ImageFile, JobStatus, LoggingOptions, MultiLayerStorage, Permission, PortalStatus, PortalType, PortalTypeEntry, PropertyDataType, PropertyNotificationState, Resource, RetentionPeriod, StorageType, WarmTierRetentionPeriod, WarmTierState } from "./models_0";
3
+ import { Alarms, AssetModelCompositeModel, AssetModelCompositeModelPathSegment, AssetModelHierarchy, AssetModelProperty, AssetModelStatus, AssetModelVersionType, AssetStatus, AssetSummary, AssociatedAssetsSummary, CapabilitySyncStatus, ColumnInfo, ConfigurationStatus, DatasetSource, DatasetSourceType, DatasetStatus, DisassociatedDataStorageState, EncryptionType, GatewayCapabilitySummary, GatewayPlatform, Identity, ImageFile, JobStatus, LoggingOptions, MultiLayerStorage, Permission, PortalStatus, PortalType, PortalTypeEntry, PropertyDataType, PropertyNotificationState, Resource, RetentionPeriod, StorageType, WarmTierRetentionPeriod, WarmTierState } from "./models_0";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface ListAssetsResponse {
8
+ /**
9
+ * <p>A list that summarizes each asset.</p>
10
+ * @public
11
+ */
12
+ assetSummaries: AssetSummary[] | undefined;
13
+ /**
14
+ * <p>The token for the next set of results, or null if there are no additional results.</p>
15
+ * @public
16
+ */
17
+ nextToken?: string | undefined;
18
+ }
4
19
  /**
5
20
  * @public
6
21
  * @enum
@@ -419,6 +434,12 @@ export interface GatewaySummary {
419
434
  * @public
420
435
  */
421
436
  gatewayPlatform?: GatewayPlatform | undefined;
437
+ /**
438
+ * <p>The version of the gateway. A value of <code>3</code> indicates an MQTT-enabled, V3
439
+ * gateway, while <code>2</code> indicates a Classic streams, V2 gateway.</p>
440
+ * @public
441
+ */
442
+ gatewayVersion?: string | undefined;
422
443
  /**
423
444
  * <p>A list of gateway capability summaries that each contain a namespace and status. Each
424
445
  * gateway capability defines data sources for the gateway. To retrieve a capability
@@ -5,7 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../IoTSiteWiseClient";
8
- import { ListAssetsRequest, ListAssetsResponse } from "../models/models_0";
8
+ import { ListAssetsRequest } from "../models/models_0";
9
+ import { ListAssetsResponse } from "../models/models_1";
9
10
  export { __MetadataBearer };
10
11
  export { $Command };
11
12
  export interface ListAssetsCommandInput extends ListAssetsRequest {}
@@ -912,8 +912,16 @@ export interface CreateDatasetResponse {
912
912
  export interface Greengrass {
913
913
  groupArn: string | undefined;
914
914
  }
915
+ export declare const CoreDeviceOperatingSystem: {
916
+ readonly LINUX_AARCH64: "LINUX_AARCH64";
917
+ readonly LINUX_AMD64: "LINUX_AMD64";
918
+ readonly WINDOWS_AMD64: "WINDOWS_AMD64";
919
+ };
920
+ export type CoreDeviceOperatingSystem =
921
+ (typeof CoreDeviceOperatingSystem)[keyof typeof CoreDeviceOperatingSystem];
915
922
  export interface GreengrassV2 {
916
923
  coreDeviceThingName: string | undefined;
924
+ coreDeviceOperatingSystem?: CoreDeviceOperatingSystem | undefined;
917
925
  }
918
926
  export interface SiemensIE {
919
927
  iotCoreThingName: string | undefined;
@@ -926,6 +934,7 @@ export interface GatewayPlatform {
926
934
  export interface CreateGatewayRequest {
927
935
  gatewayName: string | undefined;
928
936
  gatewayPlatform: GatewayPlatform | undefined;
937
+ gatewayVersion?: string | undefined;
929
938
  tags?: Record<string, string> | undefined;
930
939
  }
931
940
  export interface CreateGatewayResponse {
@@ -1300,6 +1309,7 @@ export interface DescribeGatewayResponse {
1300
1309
  gatewayName: string | undefined;
1301
1310
  gatewayArn: string | undefined;
1302
1311
  gatewayPlatform?: GatewayPlatform | undefined;
1312
+ gatewayVersion?: string | undefined;
1303
1313
  gatewayCapabilitySummaries: GatewayCapabilitySummary[] | undefined;
1304
1314
  creationDate: Date | undefined;
1305
1315
  lastUpdateDate: Date | undefined;
@@ -1846,10 +1856,6 @@ export interface ListAssetsRequest {
1846
1856
  assetModelId?: string | undefined;
1847
1857
  filter?: ListAssetsFilter | undefined;
1848
1858
  }
1849
- export interface ListAssetsResponse {
1850
- assetSummaries: AssetSummary[] | undefined;
1851
- nextToken?: string | undefined;
1852
- }
1853
1859
  export declare const CreatePortalRequestFilterSensitiveLog: (
1854
1860
  obj: CreatePortalRequest
1855
1861
  ) => any;
@@ -9,6 +9,7 @@ import {
9
9
  AssetModelStatus,
10
10
  AssetModelVersionType,
11
11
  AssetStatus,
12
+ AssetSummary,
12
13
  AssociatedAssetsSummary,
13
14
  CapabilitySyncStatus,
14
15
  ColumnInfo,
@@ -37,6 +38,10 @@ import {
37
38
  WarmTierRetentionPeriod,
38
39
  WarmTierState,
39
40
  } from "./models_0";
41
+ export interface ListAssetsResponse {
42
+ assetSummaries: AssetSummary[] | undefined;
43
+ nextToken?: string | undefined;
44
+ }
40
45
  export declare const TraversalDirection: {
41
46
  readonly CHILD: "CHILD";
42
47
  readonly PARENT: "PARENT";
@@ -137,6 +142,7 @@ export interface GatewaySummary {
137
142
  gatewayId: string | undefined;
138
143
  gatewayName: string | undefined;
139
144
  gatewayPlatform?: GatewayPlatform | undefined;
145
+ gatewayVersion?: string | undefined;
140
146
  gatewayCapabilitySummaries?: GatewayCapabilitySummary[] | undefined;
141
147
  creationDate: Date | undefined;
142
148
  lastUpdateDate: Date | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iotsitewise",
3
3
  "description": "AWS SDK for JavaScript Iotsitewise Client for Node.js, Browser and React Native",
4
- "version": "3.758.0",
4
+ "version": "3.761.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-iotsitewise",