@aws-sdk/client-iotsitewise 3.489.0 → 3.495.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/IoTSiteWise.js +1 -179
- package/dist-cjs/IoTSiteWiseClient.js +1 -43
- package/dist-cjs/commands/AssociateAssetsCommand.js +1 -28
- package/dist-cjs/commands/AssociateTimeSeriesToAssetPropertyCommand.js +1 -28
- package/dist-cjs/commands/BatchAssociateProjectAssetsCommand.js +1 -28
- package/dist-cjs/commands/BatchDisassociateProjectAssetsCommand.js +1 -28
- package/dist-cjs/commands/BatchGetAssetPropertyAggregatesCommand.js +1 -28
- package/dist-cjs/commands/BatchGetAssetPropertyValueCommand.js +1 -28
- package/dist-cjs/commands/BatchGetAssetPropertyValueHistoryCommand.js +1 -28
- package/dist-cjs/commands/BatchPutAssetPropertyValueCommand.js +1 -28
- package/dist-cjs/commands/CreateAccessPolicyCommand.js +1 -28
- package/dist-cjs/commands/CreateAssetCommand.js +1 -28
- package/dist-cjs/commands/CreateAssetModelCommand.js +1 -28
- package/dist-cjs/commands/CreateAssetModelCompositeModelCommand.js +1 -28
- package/dist-cjs/commands/CreateBulkImportJobCommand.js +1 -28
- package/dist-cjs/commands/CreateDashboardCommand.js +1 -28
- package/dist-cjs/commands/CreateGatewayCommand.js +1 -28
- package/dist-cjs/commands/CreatePortalCommand.js +1 -28
- package/dist-cjs/commands/CreateProjectCommand.js +1 -28
- package/dist-cjs/commands/DeleteAccessPolicyCommand.js +1 -28
- package/dist-cjs/commands/DeleteAssetCommand.js +1 -28
- package/dist-cjs/commands/DeleteAssetModelCommand.js +1 -28
- package/dist-cjs/commands/DeleteAssetModelCompositeModelCommand.js +1 -28
- package/dist-cjs/commands/DeleteDashboardCommand.js +1 -28
- package/dist-cjs/commands/DeleteGatewayCommand.js +1 -28
- package/dist-cjs/commands/DeletePortalCommand.js +1 -28
- package/dist-cjs/commands/DeleteProjectCommand.js +1 -28
- package/dist-cjs/commands/DeleteTimeSeriesCommand.js +1 -28
- package/dist-cjs/commands/DescribeAccessPolicyCommand.js +1 -28
- package/dist-cjs/commands/DescribeActionCommand.js +1 -28
- package/dist-cjs/commands/DescribeAssetCommand.js +1 -28
- package/dist-cjs/commands/DescribeAssetCompositeModelCommand.js +1 -28
- package/dist-cjs/commands/DescribeAssetModelCommand.js +1 -28
- package/dist-cjs/commands/DescribeAssetModelCompositeModelCommand.js +1 -28
- package/dist-cjs/commands/DescribeAssetPropertyCommand.js +1 -28
- package/dist-cjs/commands/DescribeBulkImportJobCommand.js +1 -28
- package/dist-cjs/commands/DescribeDashboardCommand.js +1 -28
- package/dist-cjs/commands/DescribeDefaultEncryptionConfigurationCommand.js +1 -28
- package/dist-cjs/commands/DescribeGatewayCapabilityConfigurationCommand.js +1 -28
- package/dist-cjs/commands/DescribeGatewayCommand.js +1 -28
- package/dist-cjs/commands/DescribeLoggingOptionsCommand.js +1 -28
- package/dist-cjs/commands/DescribePortalCommand.js +1 -28
- package/dist-cjs/commands/DescribeProjectCommand.js +1 -28
- package/dist-cjs/commands/DescribeStorageConfigurationCommand.js +1 -28
- package/dist-cjs/commands/DescribeTimeSeriesCommand.js +1 -28
- package/dist-cjs/commands/DisassociateAssetsCommand.js +1 -28
- package/dist-cjs/commands/DisassociateTimeSeriesFromAssetPropertyCommand.js +1 -28
- package/dist-cjs/commands/ExecuteActionCommand.js +1 -28
- package/dist-cjs/commands/ExecuteQueryCommand.js +1 -28
- package/dist-cjs/commands/GetAssetPropertyAggregatesCommand.js +1 -28
- package/dist-cjs/commands/GetAssetPropertyValueCommand.js +1 -28
- package/dist-cjs/commands/GetAssetPropertyValueHistoryCommand.js +1 -28
- package/dist-cjs/commands/GetInterpolatedAssetPropertyValuesCommand.js +1 -28
- package/dist-cjs/commands/ListAccessPoliciesCommand.js +1 -28
- package/dist-cjs/commands/ListActionsCommand.js +1 -28
- package/dist-cjs/commands/ListAssetModelCompositeModelsCommand.js +1 -28
- package/dist-cjs/commands/ListAssetModelPropertiesCommand.js +1 -28
- package/dist-cjs/commands/ListAssetModelsCommand.js +1 -28
- package/dist-cjs/commands/ListAssetPropertiesCommand.js +1 -28
- package/dist-cjs/commands/ListAssetRelationshipsCommand.js +1 -28
- package/dist-cjs/commands/ListAssetsCommand.js +1 -28
- package/dist-cjs/commands/ListAssociatedAssetsCommand.js +1 -28
- package/dist-cjs/commands/ListBulkImportJobsCommand.js +1 -28
- package/dist-cjs/commands/ListCompositionRelationshipsCommand.js +1 -28
- package/dist-cjs/commands/ListDashboardsCommand.js +1 -28
- package/dist-cjs/commands/ListGatewaysCommand.js +1 -28
- package/dist-cjs/commands/ListPortalsCommand.js +1 -28
- package/dist-cjs/commands/ListProjectAssetsCommand.js +1 -28
- package/dist-cjs/commands/ListProjectsCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/ListTimeSeriesCommand.js +1 -28
- package/dist-cjs/commands/PutDefaultEncryptionConfigurationCommand.js +1 -28
- package/dist-cjs/commands/PutLoggingOptionsCommand.js +1 -28
- package/dist-cjs/commands/PutStorageConfigurationCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateAccessPolicyCommand.js +1 -28
- package/dist-cjs/commands/UpdateAssetCommand.js +1 -28
- package/dist-cjs/commands/UpdateAssetModelCommand.js +1 -28
- package/dist-cjs/commands/UpdateAssetModelCompositeModelCommand.js +1 -28
- package/dist-cjs/commands/UpdateAssetPropertyCommand.js +1 -28
- package/dist-cjs/commands/UpdateDashboardCommand.js +1 -28
- package/dist-cjs/commands/UpdateGatewayCapabilityConfigurationCommand.js +1 -28
- package/dist-cjs/commands/UpdateGatewayCommand.js +1 -28
- package/dist-cjs/commands/UpdatePortalCommand.js +1 -28
- package/dist-cjs/commands/UpdateProjectCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -87
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +9238 -12
- package/dist-cjs/models/IoTSiteWiseServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -5
- package/dist-cjs/models/models_0.js +1 -388
- package/dist-cjs/models/models_1.js +1 -18
- package/dist-cjs/pagination/BatchGetAssetPropertyAggregatesPaginator.js +1 -7
- package/dist-cjs/pagination/BatchGetAssetPropertyValueHistoryPaginator.js +1 -7
- package/dist-cjs/pagination/BatchGetAssetPropertyValuePaginator.js +1 -7
- package/dist-cjs/pagination/ExecuteQueryPaginator.js +1 -7
- package/dist-cjs/pagination/GetAssetPropertyAggregatesPaginator.js +1 -7
- package/dist-cjs/pagination/GetAssetPropertyValueHistoryPaginator.js +1 -7
- package/dist-cjs/pagination/GetInterpolatedAssetPropertyValuesPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListAccessPoliciesPaginator.js +1 -7
- package/dist-cjs/pagination/ListAssetModelCompositeModelsPaginator.js +1 -7
- package/dist-cjs/pagination/ListAssetModelPropertiesPaginator.js +1 -7
- package/dist-cjs/pagination/ListAssetModelsPaginator.js +1 -7
- package/dist-cjs/pagination/ListAssetPropertiesPaginator.js +1 -7
- package/dist-cjs/pagination/ListAssetRelationshipsPaginator.js +1 -7
- package/dist-cjs/pagination/ListAssetsPaginator.js +1 -7
- package/dist-cjs/pagination/ListAssociatedAssetsPaginator.js +1 -7
- package/dist-cjs/pagination/ListBulkImportJobsPaginator.js +1 -7
- package/dist-cjs/pagination/ListCompositionRelationshipsPaginator.js +1 -7
- package/dist-cjs/pagination/ListDashboardsPaginator.js +1 -7
- package/dist-cjs/pagination/ListGatewaysPaginator.js +1 -7
- package/dist-cjs/pagination/ListPortalsPaginator.js +1 -7
- package/dist-cjs/pagination/ListProjectAssetsPaginator.js +1 -7
- package/dist-cjs/pagination/ListProjectsPaginator.js +1 -7
- package/dist-cjs/pagination/ListTimeSeriesPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -27
- package/dist-cjs/protocols/Aws_restJson1.js +1 -6652
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/dist-cjs/waiters/index.js +1 -9
- package/dist-cjs/waiters/waitForAssetActive.js +1 -45
- package/dist-cjs/waiters/waitForAssetModelActive.js +1 -45
- package/dist-cjs/waiters/waitForAssetModelNotExists.js +1 -30
- package/dist-cjs/waiters/waitForAssetNotExists.js +1 -30
- package/dist-cjs/waiters/waitForPortalActive.js +1 -36
- package/dist-cjs/waiters/waitForPortalNotExists.js +1 -30
- package/package.json +41 -41
|
@@ -1,22 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
-
const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
|
|
5
|
-
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
const asPartial = (t) => t;
|
|
8
|
-
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
9
|
-
const extensionConfiguration = {
|
|
10
|
-
...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
11
|
-
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
12
|
-
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
13
|
-
};
|
|
14
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
15
|
-
return {
|
|
16
|
-
...runtimeConfig,
|
|
17
|
-
...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
18
|
-
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
19
|
-
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
1
|
+
module.exports = require("./index.js");
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./waitForAssetActive"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./waitForAssetModelActive"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./waitForAssetModelNotExists"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./waitForAssetNotExists"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./waitForPortalActive"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./waitForPortalNotExists"), exports);
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,45 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.waitUntilAssetActive = exports.waitForAssetActive = void 0;
|
|
4
|
-
const util_waiter_1 = require("@smithy/util-waiter");
|
|
5
|
-
const DescribeAssetCommand_1 = require("../commands/DescribeAssetCommand");
|
|
6
|
-
const checkState = async (client, input) => {
|
|
7
|
-
let reason;
|
|
8
|
-
try {
|
|
9
|
-
const result = await client.send(new DescribeAssetCommand_1.DescribeAssetCommand(input));
|
|
10
|
-
reason = result;
|
|
11
|
-
try {
|
|
12
|
-
const returnComparator = () => {
|
|
13
|
-
return result.assetStatus.state;
|
|
14
|
-
};
|
|
15
|
-
if (returnComparator() === "ACTIVE") {
|
|
16
|
-
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
catch (e) { }
|
|
20
|
-
try {
|
|
21
|
-
const returnComparator = () => {
|
|
22
|
-
return result.assetStatus.state;
|
|
23
|
-
};
|
|
24
|
-
if (returnComparator() === "FAILED") {
|
|
25
|
-
return { state: util_waiter_1.WaiterState.FAILURE, reason };
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
catch (e) { }
|
|
29
|
-
}
|
|
30
|
-
catch (exception) {
|
|
31
|
-
reason = exception;
|
|
32
|
-
}
|
|
33
|
-
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
34
|
-
};
|
|
35
|
-
const waitForAssetActive = async (params, input) => {
|
|
36
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
37
|
-
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
38
|
-
};
|
|
39
|
-
exports.waitForAssetActive = waitForAssetActive;
|
|
40
|
-
const waitUntilAssetActive = async (params, input) => {
|
|
41
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
42
|
-
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
43
|
-
return (0, util_waiter_1.checkExceptions)(result);
|
|
44
|
-
};
|
|
45
|
-
exports.waitUntilAssetActive = waitUntilAssetActive;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,45 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.waitUntilAssetModelActive = exports.waitForAssetModelActive = void 0;
|
|
4
|
-
const util_waiter_1 = require("@smithy/util-waiter");
|
|
5
|
-
const DescribeAssetModelCommand_1 = require("../commands/DescribeAssetModelCommand");
|
|
6
|
-
const checkState = async (client, input) => {
|
|
7
|
-
let reason;
|
|
8
|
-
try {
|
|
9
|
-
const result = await client.send(new DescribeAssetModelCommand_1.DescribeAssetModelCommand(input));
|
|
10
|
-
reason = result;
|
|
11
|
-
try {
|
|
12
|
-
const returnComparator = () => {
|
|
13
|
-
return result.assetModelStatus.state;
|
|
14
|
-
};
|
|
15
|
-
if (returnComparator() === "ACTIVE") {
|
|
16
|
-
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
catch (e) { }
|
|
20
|
-
try {
|
|
21
|
-
const returnComparator = () => {
|
|
22
|
-
return result.assetModelStatus.state;
|
|
23
|
-
};
|
|
24
|
-
if (returnComparator() === "FAILED") {
|
|
25
|
-
return { state: util_waiter_1.WaiterState.FAILURE, reason };
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
catch (e) { }
|
|
29
|
-
}
|
|
30
|
-
catch (exception) {
|
|
31
|
-
reason = exception;
|
|
32
|
-
}
|
|
33
|
-
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
34
|
-
};
|
|
35
|
-
const waitForAssetModelActive = async (params, input) => {
|
|
36
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
37
|
-
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
38
|
-
};
|
|
39
|
-
exports.waitForAssetModelActive = waitForAssetModelActive;
|
|
40
|
-
const waitUntilAssetModelActive = async (params, input) => {
|
|
41
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
42
|
-
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
43
|
-
return (0, util_waiter_1.checkExceptions)(result);
|
|
44
|
-
};
|
|
45
|
-
exports.waitUntilAssetModelActive = waitUntilAssetModelActive;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,30 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.waitUntilAssetModelNotExists = exports.waitForAssetModelNotExists = void 0;
|
|
4
|
-
const util_waiter_1 = require("@smithy/util-waiter");
|
|
5
|
-
const DescribeAssetModelCommand_1 = require("../commands/DescribeAssetModelCommand");
|
|
6
|
-
const checkState = async (client, input) => {
|
|
7
|
-
let reason;
|
|
8
|
-
try {
|
|
9
|
-
const result = await client.send(new DescribeAssetModelCommand_1.DescribeAssetModelCommand(input));
|
|
10
|
-
reason = result;
|
|
11
|
-
}
|
|
12
|
-
catch (exception) {
|
|
13
|
-
reason = exception;
|
|
14
|
-
if (exception.name && exception.name == "ResourceNotFoundException") {
|
|
15
|
-
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
19
|
-
};
|
|
20
|
-
const waitForAssetModelNotExists = async (params, input) => {
|
|
21
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
22
|
-
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
23
|
-
};
|
|
24
|
-
exports.waitForAssetModelNotExists = waitForAssetModelNotExists;
|
|
25
|
-
const waitUntilAssetModelNotExists = async (params, input) => {
|
|
26
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
27
|
-
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
28
|
-
return (0, util_waiter_1.checkExceptions)(result);
|
|
29
|
-
};
|
|
30
|
-
exports.waitUntilAssetModelNotExists = waitUntilAssetModelNotExists;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,30 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.waitUntilAssetNotExists = exports.waitForAssetNotExists = void 0;
|
|
4
|
-
const util_waiter_1 = require("@smithy/util-waiter");
|
|
5
|
-
const DescribeAssetCommand_1 = require("../commands/DescribeAssetCommand");
|
|
6
|
-
const checkState = async (client, input) => {
|
|
7
|
-
let reason;
|
|
8
|
-
try {
|
|
9
|
-
const result = await client.send(new DescribeAssetCommand_1.DescribeAssetCommand(input));
|
|
10
|
-
reason = result;
|
|
11
|
-
}
|
|
12
|
-
catch (exception) {
|
|
13
|
-
reason = exception;
|
|
14
|
-
if (exception.name && exception.name == "ResourceNotFoundException") {
|
|
15
|
-
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
19
|
-
};
|
|
20
|
-
const waitForAssetNotExists = async (params, input) => {
|
|
21
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
22
|
-
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
23
|
-
};
|
|
24
|
-
exports.waitForAssetNotExists = waitForAssetNotExists;
|
|
25
|
-
const waitUntilAssetNotExists = async (params, input) => {
|
|
26
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
27
|
-
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
28
|
-
return (0, util_waiter_1.checkExceptions)(result);
|
|
29
|
-
};
|
|
30
|
-
exports.waitUntilAssetNotExists = waitUntilAssetNotExists;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,36 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.waitUntilPortalActive = exports.waitForPortalActive = void 0;
|
|
4
|
-
const util_waiter_1 = require("@smithy/util-waiter");
|
|
5
|
-
const DescribePortalCommand_1 = require("../commands/DescribePortalCommand");
|
|
6
|
-
const checkState = async (client, input) => {
|
|
7
|
-
let reason;
|
|
8
|
-
try {
|
|
9
|
-
const result = await client.send(new DescribePortalCommand_1.DescribePortalCommand(input));
|
|
10
|
-
reason = result;
|
|
11
|
-
try {
|
|
12
|
-
const returnComparator = () => {
|
|
13
|
-
return result.portalStatus.state;
|
|
14
|
-
};
|
|
15
|
-
if (returnComparator() === "ACTIVE") {
|
|
16
|
-
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
catch (e) { }
|
|
20
|
-
}
|
|
21
|
-
catch (exception) {
|
|
22
|
-
reason = exception;
|
|
23
|
-
}
|
|
24
|
-
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
25
|
-
};
|
|
26
|
-
const waitForPortalActive = async (params, input) => {
|
|
27
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
28
|
-
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
29
|
-
};
|
|
30
|
-
exports.waitForPortalActive = waitForPortalActive;
|
|
31
|
-
const waitUntilPortalActive = async (params, input) => {
|
|
32
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
33
|
-
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
34
|
-
return (0, util_waiter_1.checkExceptions)(result);
|
|
35
|
-
};
|
|
36
|
-
exports.waitUntilPortalActive = waitUntilPortalActive;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,30 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.waitUntilPortalNotExists = exports.waitForPortalNotExists = void 0;
|
|
4
|
-
const util_waiter_1 = require("@smithy/util-waiter");
|
|
5
|
-
const DescribePortalCommand_1 = require("../commands/DescribePortalCommand");
|
|
6
|
-
const checkState = async (client, input) => {
|
|
7
|
-
let reason;
|
|
8
|
-
try {
|
|
9
|
-
const result = await client.send(new DescribePortalCommand_1.DescribePortalCommand(input));
|
|
10
|
-
reason = result;
|
|
11
|
-
}
|
|
12
|
-
catch (exception) {
|
|
13
|
-
reason = exception;
|
|
14
|
-
if (exception.name && exception.name == "ResourceNotFoundException") {
|
|
15
|
-
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
19
|
-
};
|
|
20
|
-
const waitForPortalNotExists = async (params, input) => {
|
|
21
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
22
|
-
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
23
|
-
};
|
|
24
|
-
exports.waitForPortalNotExists = waitForPortalNotExists;
|
|
25
|
-
const waitUntilPortalNotExists = async (params, input) => {
|
|
26
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
27
|
-
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
28
|
-
return (0, util_waiter_1.checkExceptions)(result);
|
|
29
|
-
};
|
|
30
|
-
exports.waitUntilPortalNotExists = waitUntilPortalNotExists;
|
|
1
|
+
module.exports = require("../index.js");
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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.
|
|
4
|
+
"version": "3.495.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
-
"build:cjs": "
|
|
7
|
+
"build:cjs": "node ../../scripts/compilation/inline client-iotsitewise",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
@@ -20,49 +20,49 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0
|
|
37
|
-
"@smithy/core": "^1.
|
|
38
|
-
"@smithy/fetch-http-handler": "^2.
|
|
39
|
-
"@smithy/hash-node": "^2.0
|
|
40
|
-
"@smithy/invalid-dependency": "^2.0
|
|
41
|
-
"@smithy/middleware-content-length": "^2.0
|
|
42
|
-
"@smithy/middleware-endpoint": "^2.
|
|
43
|
-
"@smithy/middleware-retry": "^2.0
|
|
44
|
-
"@smithy/middleware-serde": "^2.0
|
|
45
|
-
"@smithy/middleware-stack": "^2.0
|
|
46
|
-
"@smithy/node-config-provider": "^2.
|
|
47
|
-
"@smithy/node-http-handler": "^2.
|
|
48
|
-
"@smithy/protocol-http": "^3.0
|
|
49
|
-
"@smithy/smithy-client": "^2.
|
|
50
|
-
"@smithy/types": "^2.
|
|
51
|
-
"@smithy/url-parser": "^2.0
|
|
52
|
-
"@smithy/util-base64": "^2.0
|
|
53
|
-
"@smithy/util-body-length-browser": "^2.0
|
|
54
|
-
"@smithy/util-body-length-node": "^2.
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^2.0
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^2.0
|
|
57
|
-
"@smithy/util-endpoints": "^1.0
|
|
58
|
-
"@smithy/util-retry": "^2.0
|
|
59
|
-
"@smithy/util-utf8": "^2.0
|
|
60
|
-
"@smithy/util-waiter": "^2.0
|
|
23
|
+
"@aws-sdk/client-sts": "3.495.0",
|
|
24
|
+
"@aws-sdk/core": "3.495.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.495.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.495.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.495.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.495.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.495.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.495.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.495.0",
|
|
32
|
+
"@aws-sdk/types": "3.495.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.495.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.495.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.495.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.1.0",
|
|
37
|
+
"@smithy/core": "^1.3.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^2.4.0",
|
|
39
|
+
"@smithy/hash-node": "^2.1.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^2.1.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^2.1.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^2.4.0",
|
|
43
|
+
"@smithy/middleware-retry": "^2.1.0",
|
|
44
|
+
"@smithy/middleware-serde": "^2.1.0",
|
|
45
|
+
"@smithy/middleware-stack": "^2.1.0",
|
|
46
|
+
"@smithy/node-config-provider": "^2.2.0",
|
|
47
|
+
"@smithy/node-http-handler": "^2.3.0",
|
|
48
|
+
"@smithy/protocol-http": "^3.1.0",
|
|
49
|
+
"@smithy/smithy-client": "^2.3.0",
|
|
50
|
+
"@smithy/types": "^2.9.0",
|
|
51
|
+
"@smithy/url-parser": "^2.1.0",
|
|
52
|
+
"@smithy/util-base64": "^2.1.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^2.1.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^2.2.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^2.1.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^2.1.0",
|
|
57
|
+
"@smithy/util-endpoints": "^1.1.0",
|
|
58
|
+
"@smithy/util-retry": "^2.1.0",
|
|
59
|
+
"@smithy/util-utf8": "^2.1.0",
|
|
60
|
+
"@smithy/util-waiter": "^2.1.0",
|
|
61
61
|
"tslib": "^2.5.0",
|
|
62
62
|
"uuid": "^8.3.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@smithy/service-client-documentation-generator": "^2.
|
|
65
|
+
"@smithy/service-client-documentation-generator": "^2.1.0",
|
|
66
66
|
"@tsconfig/node14": "1.0.3",
|
|
67
67
|
"@types/node": "^14.14.31",
|
|
68
68
|
"@types/uuid": "^8.3.0",
|