@aws-sdk/client-iotsitewise 3.299.0 → 3.301.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-types/commands/AssociateAssetsCommand.d.ts +6 -0
- package/dist-types/commands/AssociateTimeSeriesToAssetPropertyCommand.d.ts +6 -0
- package/dist-types/commands/BatchAssociateProjectAssetsCommand.d.ts +7 -0
- package/dist-types/commands/BatchDisassociateProjectAssetsCommand.d.ts +7 -0
- package/dist-types/commands/BatchGetAssetPropertyAggregatesCommand.d.ts +22 -0
- package/dist-types/commands/BatchGetAssetPropertyValueCommand.d.ts +11 -0
- package/dist-types/commands/BatchGetAssetPropertyValueHistoryCommand.d.ts +18 -0
- package/dist-types/commands/BatchPutAssetPropertyValueCommand.d.ts +25 -0
- package/dist-types/commands/CreateAccessPolicyCommand.d.ts +29 -0
- package/dist-types/commands/CreateAssetCommand.d.ts +9 -0
- package/dist-types/commands/CreateAssetModelCommand.d.ts +139 -0
- package/dist-types/commands/CreateBulkImportJobCommand.d.ts +24 -0
- package/dist-types/commands/CreateDashboardCommand.d.ts +10 -0
- package/dist-types/commands/CreateGatewayCommand.d.ts +14 -0
- package/dist-types/commands/CreatePortalCommand.d.ts +20 -0
- package/dist-types/commands/CreateProjectCommand.d.ts +9 -0
- package/dist-types/commands/DeleteAccessPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteAssetCommand.d.ts +4 -0
- package/dist-types/commands/DeleteAssetModelCommand.d.ts +4 -0
- package/dist-types/commands/DeleteDashboardCommand.d.ts +4 -0
- package/dist-types/commands/DeleteGatewayCommand.d.ts +3 -0
- package/dist-types/commands/DeletePortalCommand.d.ts +4 -0
- package/dist-types/commands/DeleteProjectCommand.d.ts +4 -0
- package/dist-types/commands/DeleteTimeSeriesCommand.d.ts +6 -0
- package/dist-types/commands/DescribeAccessPolicyCommand.d.ts +3 -0
- package/dist-types/commands/DescribeAssetCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAssetModelCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAssetPropertyCommand.d.ts +4 -0
- package/dist-types/commands/DescribeBulkImportJobCommand.d.ts +3 -0
- package/dist-types/commands/DescribeDashboardCommand.d.ts +3 -0
- package/dist-types/commands/DescribeDefaultEncryptionConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/DescribeGatewayCapabilityConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/DescribeGatewayCommand.d.ts +3 -0
- package/dist-types/commands/DescribeLoggingOptionsCommand.d.ts +1 -0
- package/dist-types/commands/DescribePortalCommand.d.ts +3 -0
- package/dist-types/commands/DescribeProjectCommand.d.ts +3 -0
- package/dist-types/commands/DescribeStorageConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/DescribeTimeSeriesCommand.d.ts +5 -0
- package/dist-types/commands/DisassociateAssetsCommand.d.ts +6 -0
- package/dist-types/commands/DisassociateTimeSeriesFromAssetPropertyCommand.d.ts +6 -0
- package/dist-types/commands/GetAssetPropertyAggregatesCommand.d.ts +17 -0
- package/dist-types/commands/GetAssetPropertyValueCommand.d.ts +5 -0
- package/dist-types/commands/GetAssetPropertyValueHistoryCommand.d.ts +13 -0
- package/dist-types/commands/GetInterpolatedAssetPropertyValuesCommand.d.ts +15 -0
- package/dist-types/commands/ListAccessPoliciesCommand.d.ts +9 -0
- package/dist-types/commands/ListAssetModelPropertiesCommand.d.ts +6 -0
- package/dist-types/commands/ListAssetModelsCommand.d.ts +4 -0
- package/dist-types/commands/ListAssetPropertiesCommand.d.ts +6 -0
- package/dist-types/commands/ListAssetRelationshipsCommand.d.ts +6 -0
- package/dist-types/commands/ListAssetsCommand.d.ts +6 -0
- package/dist-types/commands/ListAssociatedAssetsCommand.d.ts +7 -0
- package/dist-types/commands/ListBulkImportJobsCommand.d.ts +5 -0
- package/dist-types/commands/ListDashboardsCommand.d.ts +5 -0
- package/dist-types/commands/ListGatewaysCommand.d.ts +4 -0
- package/dist-types/commands/ListPortalsCommand.d.ts +4 -0
- package/dist-types/commands/ListProjectAssetsCommand.d.ts +5 -0
- package/dist-types/commands/ListProjectsCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListTimeSeriesCommand.d.ts +7 -0
- package/dist-types/commands/PutDefaultEncryptionConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/PutLoggingOptionsCommand.d.ts +5 -0
- package/dist-types/commands/PutStorageConfigurationCommand.d.ts +14 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateAccessPolicyCommand.d.ts +27 -0
- package/dist-types/commands/UpdateAssetCommand.d.ts +6 -0
- package/dist-types/commands/UpdateAssetModelCommand.d.ts +141 -0
- package/dist-types/commands/UpdateAssetPropertyCommand.d.ts +8 -0
- package/dist-types/commands/UpdateDashboardCommand.d.ts +7 -0
- package/dist-types/commands/UpdateGatewayCapabilityConfigurationCommand.d.ts +5 -0
- package/dist-types/commands/UpdateGatewayCommand.d.ts +4 -0
- package/dist-types/commands/UpdatePortalCommand.d.ts +20 -0
- package/dist-types/commands/UpdateProjectCommand.d.ts +6 -0
- package/package.json +8 -8
|
@@ -26,6 +26,9 @@ export interface DescribeDashboardCommandOutput extends DescribeDashboardRespons
|
|
|
26
26
|
* import { IoTSiteWiseClient, DescribeDashboardCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
27
27
|
* // const { IoTSiteWiseClient, DescribeDashboardCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
28
28
|
* const client = new IoTSiteWiseClient(config);
|
|
29
|
+
* const input = { // DescribeDashboardRequest
|
|
30
|
+
* dashboardId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeDashboardCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -28,6 +28,7 @@ export interface DescribeDefaultEncryptionConfigurationCommandOutput extends Des
|
|
|
28
28
|
* import { IoTSiteWiseClient, DescribeDefaultEncryptionConfigurationCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
29
29
|
* // const { IoTSiteWiseClient, DescribeDefaultEncryptionConfigurationCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
30
30
|
* const client = new IoTSiteWiseClient(config);
|
|
31
|
+
* const input = {};
|
|
31
32
|
* const command = new DescribeDefaultEncryptionConfigurationCommand(input);
|
|
32
33
|
* const response = await client.send(command);
|
|
33
34
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface DescribeGatewayCapabilityConfigurationCommandOutput extends Des
|
|
|
30
30
|
* import { IoTSiteWiseClient, DescribeGatewayCapabilityConfigurationCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
31
31
|
* // const { IoTSiteWiseClient, DescribeGatewayCapabilityConfigurationCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
32
32
|
* const client = new IoTSiteWiseClient(config);
|
|
33
|
+
* const input = { // DescribeGatewayCapabilityConfigurationRequest
|
|
34
|
+
* gatewayId: "STRING_VALUE", // required
|
|
35
|
+
* capabilityNamespace: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
33
37
|
* const command = new DescribeGatewayCapabilityConfigurationCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeGatewayCommandOutput extends DescribeGatewayResponse, _
|
|
|
26
26
|
* import { IoTSiteWiseClient, DescribeGatewayCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
27
27
|
* // const { IoTSiteWiseClient, DescribeGatewayCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
28
28
|
* const client = new IoTSiteWiseClient(config);
|
|
29
|
+
* const input = { // DescribeGatewayRequest
|
|
30
|
+
* gatewayId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeGatewayCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface DescribeLoggingOptionsCommandOutput extends DescribeLoggingOpti
|
|
|
26
26
|
* import { IoTSiteWiseClient, DescribeLoggingOptionsCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
27
27
|
* // const { IoTSiteWiseClient, DescribeLoggingOptionsCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
28
28
|
* const client = new IoTSiteWiseClient(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new DescribeLoggingOptionsCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribePortalCommandOutput extends DescribePortalResponse, __M
|
|
|
26
26
|
* import { IoTSiteWiseClient, DescribePortalCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
27
27
|
* // const { IoTSiteWiseClient, DescribePortalCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
28
28
|
* const client = new IoTSiteWiseClient(config);
|
|
29
|
+
* const input = { // DescribePortalRequest
|
|
30
|
+
* portalId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribePortalCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeProjectCommandOutput extends DescribeProjectResponse, _
|
|
|
26
26
|
* import { IoTSiteWiseClient, DescribeProjectCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
27
27
|
* // const { IoTSiteWiseClient, DescribeProjectCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
28
28
|
* const client = new IoTSiteWiseClient(config);
|
|
29
|
+
* const input = { // DescribeProjectRequest
|
|
30
|
+
* projectId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeProjectCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface DescribeStorageConfigurationCommandOutput extends DescribeStora
|
|
|
26
26
|
* import { IoTSiteWiseClient, DescribeStorageConfigurationCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
27
27
|
* // const { IoTSiteWiseClient, DescribeStorageConfigurationCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
28
28
|
* const client = new IoTSiteWiseClient(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new DescribeStorageConfigurationCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -45,6 +45,11 @@ export interface DescribeTimeSeriesCommandOutput extends DescribeTimeSeriesRespo
|
|
|
45
45
|
* import { IoTSiteWiseClient, DescribeTimeSeriesCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
46
46
|
* // const { IoTSiteWiseClient, DescribeTimeSeriesCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
47
47
|
* const client = new IoTSiteWiseClient(config);
|
|
48
|
+
* const input = { // DescribeTimeSeriesRequest
|
|
49
|
+
* alias: "STRING_VALUE",
|
|
50
|
+
* assetId: "STRING_VALUE",
|
|
51
|
+
* propertyId: "STRING_VALUE",
|
|
52
|
+
* };
|
|
48
53
|
* const command = new DescribeTimeSeriesCommand(input);
|
|
49
54
|
* const response = await client.send(command);
|
|
50
55
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface DisassociateAssetsCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { IoTSiteWiseClient, DisassociateAssetsCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
28
28
|
* // const { IoTSiteWiseClient, DisassociateAssetsCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
29
29
|
* const client = new IoTSiteWiseClient(config);
|
|
30
|
+
* const input = { // DisassociateAssetsRequest
|
|
31
|
+
* assetId: "STRING_VALUE", // required
|
|
32
|
+
* hierarchyId: "STRING_VALUE", // required
|
|
33
|
+
* childAssetId: "STRING_VALUE", // required
|
|
34
|
+
* clientToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
30
36
|
* const command = new DisassociateAssetsCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface DisassociateTimeSeriesFromAssetPropertyCommandOutput extends __
|
|
|
26
26
|
* import { IoTSiteWiseClient, DisassociateTimeSeriesFromAssetPropertyCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
27
27
|
* // const { IoTSiteWiseClient, DisassociateTimeSeriesFromAssetPropertyCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
28
28
|
* const client = new IoTSiteWiseClient(config);
|
|
29
|
+
* const input = { // DisassociateTimeSeriesFromAssetPropertyRequest
|
|
30
|
+
* alias: "STRING_VALUE", // required
|
|
31
|
+
* assetId: "STRING_VALUE", // required
|
|
32
|
+
* propertyId: "STRING_VALUE", // required
|
|
33
|
+
* clientToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new DisassociateTimeSeriesFromAssetPropertyCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -37,6 +37,23 @@ export interface GetAssetPropertyAggregatesCommandOutput extends GetAssetPropert
|
|
|
37
37
|
* import { IoTSiteWiseClient, GetAssetPropertyAggregatesCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
38
38
|
* // const { IoTSiteWiseClient, GetAssetPropertyAggregatesCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
39
39
|
* const client = new IoTSiteWiseClient(config);
|
|
40
|
+
* const input = { // GetAssetPropertyAggregatesRequest
|
|
41
|
+
* assetId: "STRING_VALUE",
|
|
42
|
+
* propertyId: "STRING_VALUE",
|
|
43
|
+
* propertyAlias: "STRING_VALUE",
|
|
44
|
+
* aggregateTypes: [ // AggregateTypes // required
|
|
45
|
+
* "AVERAGE" || "COUNT" || "MAXIMUM" || "MINIMUM" || "SUM" || "STANDARD_DEVIATION",
|
|
46
|
+
* ],
|
|
47
|
+
* resolution: "STRING_VALUE", // required
|
|
48
|
+
* qualities: [ // Qualities
|
|
49
|
+
* "GOOD" || "BAD" || "UNCERTAIN",
|
|
50
|
+
* ],
|
|
51
|
+
* startDate: new Date("TIMESTAMP"), // required
|
|
52
|
+
* endDate: new Date("TIMESTAMP"), // required
|
|
53
|
+
* timeOrdering: "ASCENDING" || "DESCENDING",
|
|
54
|
+
* nextToken: "STRING_VALUE",
|
|
55
|
+
* maxResults: Number("int"),
|
|
56
|
+
* };
|
|
40
57
|
* const command = new GetAssetPropertyAggregatesCommand(input);
|
|
41
58
|
* const response = await client.send(command);
|
|
42
59
|
* ```
|
|
@@ -37,6 +37,11 @@ export interface GetAssetPropertyValueCommandOutput extends GetAssetPropertyValu
|
|
|
37
37
|
* import { IoTSiteWiseClient, GetAssetPropertyValueCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
38
38
|
* // const { IoTSiteWiseClient, GetAssetPropertyValueCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
39
39
|
* const client = new IoTSiteWiseClient(config);
|
|
40
|
+
* const input = { // GetAssetPropertyValueRequest
|
|
41
|
+
* assetId: "STRING_VALUE",
|
|
42
|
+
* propertyId: "STRING_VALUE",
|
|
43
|
+
* propertyAlias: "STRING_VALUE",
|
|
44
|
+
* };
|
|
40
45
|
* const command = new GetAssetPropertyValueCommand(input);
|
|
41
46
|
* const response = await client.send(command);
|
|
42
47
|
* ```
|
|
@@ -37,6 +37,19 @@ export interface GetAssetPropertyValueHistoryCommandOutput extends GetAssetPrope
|
|
|
37
37
|
* import { IoTSiteWiseClient, GetAssetPropertyValueHistoryCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
38
38
|
* // const { IoTSiteWiseClient, GetAssetPropertyValueHistoryCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
39
39
|
* const client = new IoTSiteWiseClient(config);
|
|
40
|
+
* const input = { // GetAssetPropertyValueHistoryRequest
|
|
41
|
+
* assetId: "STRING_VALUE",
|
|
42
|
+
* propertyId: "STRING_VALUE",
|
|
43
|
+
* propertyAlias: "STRING_VALUE",
|
|
44
|
+
* startDate: new Date("TIMESTAMP"),
|
|
45
|
+
* endDate: new Date("TIMESTAMP"),
|
|
46
|
+
* qualities: [ // Qualities
|
|
47
|
+
* "GOOD" || "BAD" || "UNCERTAIN",
|
|
48
|
+
* ],
|
|
49
|
+
* timeOrdering: "ASCENDING" || "DESCENDING",
|
|
50
|
+
* nextToken: "STRING_VALUE",
|
|
51
|
+
* maxResults: Number("int"),
|
|
52
|
+
* };
|
|
40
53
|
* const command = new GetAssetPropertyValueHistoryCommand(input);
|
|
41
54
|
* const response = await client.send(command);
|
|
42
55
|
* ```
|
|
@@ -40,6 +40,21 @@ export interface GetInterpolatedAssetPropertyValuesCommandOutput extends GetInte
|
|
|
40
40
|
* import { IoTSiteWiseClient, GetInterpolatedAssetPropertyValuesCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
41
41
|
* // const { IoTSiteWiseClient, GetInterpolatedAssetPropertyValuesCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
42
42
|
* const client = new IoTSiteWiseClient(config);
|
|
43
|
+
* const input = { // GetInterpolatedAssetPropertyValuesRequest
|
|
44
|
+
* assetId: "STRING_VALUE",
|
|
45
|
+
* propertyId: "STRING_VALUE",
|
|
46
|
+
* propertyAlias: "STRING_VALUE",
|
|
47
|
+
* startTimeInSeconds: Number("long"), // required
|
|
48
|
+
* startTimeOffsetInNanos: Number("int"),
|
|
49
|
+
* endTimeInSeconds: Number("long"), // required
|
|
50
|
+
* endTimeOffsetInNanos: Number("int"),
|
|
51
|
+
* quality: "GOOD" || "BAD" || "UNCERTAIN", // required
|
|
52
|
+
* intervalInSeconds: Number("long"), // required
|
|
53
|
+
* nextToken: "STRING_VALUE",
|
|
54
|
+
* maxResults: Number("int"),
|
|
55
|
+
* type: "STRING_VALUE", // required
|
|
56
|
+
* intervalWindowInSeconds: Number("long"),
|
|
57
|
+
* };
|
|
43
58
|
* const command = new GetInterpolatedAssetPropertyValuesCommand(input);
|
|
44
59
|
* const response = await client.send(command);
|
|
45
60
|
* ```
|
|
@@ -27,6 +27,15 @@ export interface ListAccessPoliciesCommandOutput extends ListAccessPoliciesRespo
|
|
|
27
27
|
* import { IoTSiteWiseClient, ListAccessPoliciesCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
28
28
|
* // const { IoTSiteWiseClient, ListAccessPoliciesCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
29
29
|
* const client = new IoTSiteWiseClient(config);
|
|
30
|
+
* const input = { // ListAccessPoliciesRequest
|
|
31
|
+
* identityType: "USER" || "GROUP" || "IAM",
|
|
32
|
+
* identityId: "STRING_VALUE",
|
|
33
|
+
* resourceType: "PORTAL" || "PROJECT",
|
|
34
|
+
* resourceId: "STRING_VALUE",
|
|
35
|
+
* iamArn: "STRING_VALUE",
|
|
36
|
+
* nextToken: "STRING_VALUE",
|
|
37
|
+
* maxResults: Number("int"),
|
|
38
|
+
* };
|
|
30
39
|
* const command = new ListAccessPoliciesCommand(input);
|
|
31
40
|
* const response = await client.send(command);
|
|
32
41
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface ListAssetModelPropertiesCommandOutput extends ListAssetModelPro
|
|
|
28
28
|
* import { IoTSiteWiseClient, ListAssetModelPropertiesCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
29
29
|
* // const { IoTSiteWiseClient, ListAssetModelPropertiesCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
30
30
|
* const client = new IoTSiteWiseClient(config);
|
|
31
|
+
* const input = { // ListAssetModelPropertiesRequest
|
|
32
|
+
* assetModelId: "STRING_VALUE", // required
|
|
33
|
+
* nextToken: "STRING_VALUE",
|
|
34
|
+
* maxResults: Number("int"),
|
|
35
|
+
* filter: "ALL" || "BASE",
|
|
36
|
+
* };
|
|
31
37
|
* const command = new ListAssetModelPropertiesCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListAssetModelsCommandOutput extends ListAssetModelsResponse, _
|
|
|
26
26
|
* import { IoTSiteWiseClient, ListAssetModelsCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
27
27
|
* // const { IoTSiteWiseClient, ListAssetModelsCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
28
28
|
* const client = new IoTSiteWiseClient(config);
|
|
29
|
+
* const input = { // ListAssetModelsRequest
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListAssetModelsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface ListAssetPropertiesCommandOutput extends ListAssetPropertiesRes
|
|
|
28
28
|
* import { IoTSiteWiseClient, ListAssetPropertiesCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
29
29
|
* // const { IoTSiteWiseClient, ListAssetPropertiesCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
30
30
|
* const client = new IoTSiteWiseClient(config);
|
|
31
|
+
* const input = { // ListAssetPropertiesRequest
|
|
32
|
+
* assetId: "STRING_VALUE", // required
|
|
33
|
+
* nextToken: "STRING_VALUE",
|
|
34
|
+
* maxResults: Number("int"),
|
|
35
|
+
* filter: "ALL" || "BASE",
|
|
36
|
+
* };
|
|
31
37
|
* const command = new ListAssetPropertiesCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface ListAssetRelationshipsCommandOutput extends ListAssetRelationsh
|
|
|
28
28
|
* import { IoTSiteWiseClient, ListAssetRelationshipsCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
29
29
|
* // const { IoTSiteWiseClient, ListAssetRelationshipsCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
30
30
|
* const client = new IoTSiteWiseClient(config);
|
|
31
|
+
* const input = { // ListAssetRelationshipsRequest
|
|
32
|
+
* assetId: "STRING_VALUE", // required
|
|
33
|
+
* traversalType: "PATH_TO_ROOT", // required
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* };
|
|
31
37
|
* const command = new ListAssetRelationshipsCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -38,6 +38,12 @@ export interface ListAssetsCommandOutput extends ListAssetsResponse, __MetadataB
|
|
|
38
38
|
* import { IoTSiteWiseClient, ListAssetsCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
39
39
|
* // const { IoTSiteWiseClient, ListAssetsCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
40
40
|
* const client = new IoTSiteWiseClient(config);
|
|
41
|
+
* const input = { // ListAssetsRequest
|
|
42
|
+
* nextToken: "STRING_VALUE",
|
|
43
|
+
* maxResults: Number("int"),
|
|
44
|
+
* assetModelId: "STRING_VALUE",
|
|
45
|
+
* filter: "ALL" || "TOP_LEVEL",
|
|
46
|
+
* };
|
|
41
47
|
* const command = new ListAssetsCommand(input);
|
|
42
48
|
* const response = await client.send(command);
|
|
43
49
|
* ```
|
|
@@ -35,6 +35,13 @@ export interface ListAssociatedAssetsCommandOutput extends ListAssociatedAssetsR
|
|
|
35
35
|
* import { IoTSiteWiseClient, ListAssociatedAssetsCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
36
36
|
* // const { IoTSiteWiseClient, ListAssociatedAssetsCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
37
37
|
* const client = new IoTSiteWiseClient(config);
|
|
38
|
+
* const input = { // ListAssociatedAssetsRequest
|
|
39
|
+
* assetId: "STRING_VALUE", // required
|
|
40
|
+
* hierarchyId: "STRING_VALUE",
|
|
41
|
+
* traversalDirection: "PARENT" || "CHILD",
|
|
42
|
+
* nextToken: "STRING_VALUE",
|
|
43
|
+
* maxResults: Number("int"),
|
|
44
|
+
* };
|
|
38
45
|
* const command = new ListAssociatedAssetsCommand(input);
|
|
39
46
|
* const response = await client.send(command);
|
|
40
47
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListBulkImportJobsCommandOutput extends ListBulkImportJobsRespo
|
|
|
27
27
|
* import { IoTSiteWiseClient, ListBulkImportJobsCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
28
28
|
* // const { IoTSiteWiseClient, ListBulkImportJobsCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
29
29
|
* const client = new IoTSiteWiseClient(config);
|
|
30
|
+
* const input = { // ListBulkImportJobsRequest
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* filter: "ALL" || "PENDING" || "RUNNING" || "CANCELLED" || "FAILED" || "COMPLETED_WITH_FAILURES" || "COMPLETED",
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListBulkImportJobsCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListDashboardsCommandOutput extends ListDashboardsResponse, __M
|
|
|
26
26
|
* import { IoTSiteWiseClient, ListDashboardsCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
27
27
|
* // const { IoTSiteWiseClient, ListDashboardsCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
28
28
|
* const client = new IoTSiteWiseClient(config);
|
|
29
|
+
* const input = { // ListDashboardsRequest
|
|
30
|
+
* projectId: "STRING_VALUE", // required
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListDashboardsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListGatewaysCommandOutput extends ListGatewaysResponse, __Metad
|
|
|
26
26
|
* import { IoTSiteWiseClient, ListGatewaysCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
27
27
|
* // const { IoTSiteWiseClient, ListGatewaysCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
28
28
|
* const client = new IoTSiteWiseClient(config);
|
|
29
|
+
* const input = { // ListGatewaysRequest
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListGatewaysCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListPortalsCommandOutput extends ListPortalsResponse, __Metadat
|
|
|
26
26
|
* import { IoTSiteWiseClient, ListPortalsCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
27
27
|
* // const { IoTSiteWiseClient, ListPortalsCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
28
28
|
* const client = new IoTSiteWiseClient(config);
|
|
29
|
+
* const input = { // ListPortalsRequest
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListPortalsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListProjectAssetsCommandOutput extends ListProjectAssetsRespons
|
|
|
26
26
|
* import { IoTSiteWiseClient, ListProjectAssetsCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
27
27
|
* // const { IoTSiteWiseClient, ListProjectAssetsCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
28
28
|
* const client = new IoTSiteWiseClient(config);
|
|
29
|
+
* const input = { // ListProjectAssetsRequest
|
|
30
|
+
* projectId: "STRING_VALUE", // required
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListProjectAssetsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListProjectsCommandOutput extends ListProjectsResponse, __Metad
|
|
|
26
26
|
* import { IoTSiteWiseClient, ListProjectsCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
27
27
|
* // const { IoTSiteWiseClient, ListProjectsCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
28
28
|
* const client = new IoTSiteWiseClient(config);
|
|
29
|
+
* const input = { // ListProjectsRequest
|
|
30
|
+
* portalId: "STRING_VALUE", // required
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListProjectsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { IoTSiteWiseClient, ListTagsForResourceCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
27
27
|
* // const { IoTSiteWiseClient, ListTagsForResourceCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
28
28
|
* const client = new IoTSiteWiseClient(config);
|
|
29
|
+
* const input = { // ListTagsForResourceRequest
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface ListTimeSeriesCommandOutput extends ListTimeSeriesResponse, __M
|
|
|
26
26
|
* import { IoTSiteWiseClient, ListTimeSeriesCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
27
27
|
* // const { IoTSiteWiseClient, ListTimeSeriesCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
28
28
|
* const client = new IoTSiteWiseClient(config);
|
|
29
|
+
* const input = { // ListTimeSeriesRequest
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* assetId: "STRING_VALUE",
|
|
33
|
+
* aliasPrefix: "STRING_VALUE",
|
|
34
|
+
* timeSeriesType: "ASSOCIATED" || "DISASSOCIATED",
|
|
35
|
+
* };
|
|
29
36
|
* const command = new ListTimeSeriesCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface PutDefaultEncryptionConfigurationCommandOutput extends PutDefau
|
|
|
28
28
|
* import { IoTSiteWiseClient, PutDefaultEncryptionConfigurationCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
29
29
|
* // const { IoTSiteWiseClient, PutDefaultEncryptionConfigurationCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
30
30
|
* const client = new IoTSiteWiseClient(config);
|
|
31
|
+
* const input = { // PutDefaultEncryptionConfigurationRequest
|
|
32
|
+
* encryptionType: "SITEWISE_DEFAULT_ENCRYPTION" || "KMS_BASED_ENCRYPTION", // required
|
|
33
|
+
* kmsKeyId: "STRING_VALUE",
|
|
34
|
+
* };
|
|
31
35
|
* const command = new PutDefaultEncryptionConfigurationCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface PutLoggingOptionsCommandOutput extends PutLoggingOptionsRespons
|
|
|
26
26
|
* import { IoTSiteWiseClient, PutLoggingOptionsCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
27
27
|
* // const { IoTSiteWiseClient, PutLoggingOptionsCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
28
28
|
* const client = new IoTSiteWiseClient(config);
|
|
29
|
+
* const input = { // PutLoggingOptionsRequest
|
|
30
|
+
* loggingOptions: { // LoggingOptions
|
|
31
|
+
* level: "ERROR" || "INFO" || "OFF", // required
|
|
32
|
+
* },
|
|
33
|
+
* };
|
|
29
34
|
* const command = new PutLoggingOptionsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,20 @@ export interface PutStorageConfigurationCommandOutput extends PutStorageConfigur
|
|
|
26
26
|
* import { IoTSiteWiseClient, PutStorageConfigurationCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
27
27
|
* // const { IoTSiteWiseClient, PutStorageConfigurationCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
28
28
|
* const client = new IoTSiteWiseClient(config);
|
|
29
|
+
* const input = { // PutStorageConfigurationRequest
|
|
30
|
+
* storageType: "SITEWISE_DEFAULT_STORAGE" || "MULTI_LAYER_STORAGE", // required
|
|
31
|
+
* multiLayerStorage: { // MultiLayerStorage
|
|
32
|
+
* customerManagedS3Storage: { // CustomerManagedS3Storage
|
|
33
|
+
* s3ResourceArn: "STRING_VALUE", // required
|
|
34
|
+
* roleArn: "STRING_VALUE", // required
|
|
35
|
+
* },
|
|
36
|
+
* },
|
|
37
|
+
* disassociatedDataStorage: "ENABLED" || "DISABLED",
|
|
38
|
+
* retentionPeriod: { // RetentionPeriod
|
|
39
|
+
* numberOfDays: Number("int"),
|
|
40
|
+
* unlimited: true || false,
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
29
43
|
* const command = new PutStorageConfigurationCommand(input);
|
|
30
44
|
* const response = await client.send(command);
|
|
31
45
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
27
27
|
* import { IoTSiteWiseClient, TagResourceCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
28
28
|
* // const { IoTSiteWiseClient, TagResourceCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
29
29
|
* const client = new IoTSiteWiseClient(config);
|
|
30
|
+
* const input = { // TagResourceRequest
|
|
31
|
+
* resourceArn: "STRING_VALUE", // required
|
|
32
|
+
* tags: { // TagMap // required
|
|
33
|
+
* "<keys>": "STRING_VALUE",
|
|
34
|
+
* },
|
|
35
|
+
* };
|
|
30
36
|
* const command = new TagResourceCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { IoTSiteWiseClient, UntagResourceCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
27
27
|
* // const { IoTSiteWiseClient, UntagResourceCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
28
28
|
* const client = new IoTSiteWiseClient(config);
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tagKeys: [ // TagKeyList // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -27,6 +27,33 @@ export interface UpdateAccessPolicyCommandOutput extends UpdateAccessPolicyRespo
|
|
|
27
27
|
* import { IoTSiteWiseClient, UpdateAccessPolicyCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
28
28
|
* // const { IoTSiteWiseClient, UpdateAccessPolicyCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
29
29
|
* const client = new IoTSiteWiseClient(config);
|
|
30
|
+
* const input = { // UpdateAccessPolicyRequest
|
|
31
|
+
* accessPolicyId: "STRING_VALUE", // required
|
|
32
|
+
* accessPolicyIdentity: { // Identity
|
|
33
|
+
* user: { // UserIdentity
|
|
34
|
+
* id: "STRING_VALUE", // required
|
|
35
|
+
* },
|
|
36
|
+
* group: { // GroupIdentity
|
|
37
|
+
* id: "STRING_VALUE", // required
|
|
38
|
+
* },
|
|
39
|
+
* iamUser: { // IAMUserIdentity
|
|
40
|
+
* arn: "STRING_VALUE", // required
|
|
41
|
+
* },
|
|
42
|
+
* iamRole: { // IAMRoleIdentity
|
|
43
|
+
* arn: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* accessPolicyResource: { // Resource
|
|
47
|
+
* portal: { // PortalResource
|
|
48
|
+
* id: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* project: { // ProjectResource
|
|
51
|
+
* id: "STRING_VALUE", // required
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* accessPolicyPermission: "ADMINISTRATOR" || "VIEWER", // required
|
|
55
|
+
* clientToken: "STRING_VALUE",
|
|
56
|
+
* };
|
|
30
57
|
* const command = new UpdateAccessPolicyCommand(input);
|
|
31
58
|
* const response = await client.send(command);
|
|
32
59
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface UpdateAssetCommandOutput extends UpdateAssetResponse, __Metadat
|
|
|
27
27
|
* import { IoTSiteWiseClient, UpdateAssetCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
28
28
|
* // const { IoTSiteWiseClient, UpdateAssetCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
29
29
|
* const client = new IoTSiteWiseClient(config);
|
|
30
|
+
* const input = { // UpdateAssetRequest
|
|
31
|
+
* assetId: "STRING_VALUE", // required
|
|
32
|
+
* assetName: "STRING_VALUE", // required
|
|
33
|
+
* clientToken: "STRING_VALUE",
|
|
34
|
+
* assetDescription: "STRING_VALUE",
|
|
35
|
+
* };
|
|
30
36
|
* const command = new UpdateAssetCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|