@aws-sdk/client-iottwinmaker 3.477.0 → 3.481.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/commands/BatchPutPropertyValuesCommand.js +18 -41
- package/dist-cjs/commands/CancelMetadataTransferJobCommand.js +18 -41
- package/dist-cjs/commands/CreateComponentTypeCommand.js +18 -41
- package/dist-cjs/commands/CreateEntityCommand.js +18 -41
- package/dist-cjs/commands/CreateMetadataTransferJobCommand.js +18 -41
- package/dist-cjs/commands/CreateSceneCommand.js +18 -41
- package/dist-cjs/commands/CreateSyncJobCommand.js +18 -41
- package/dist-cjs/commands/CreateWorkspaceCommand.js +18 -41
- package/dist-cjs/commands/DeleteComponentTypeCommand.js +18 -41
- package/dist-cjs/commands/DeleteEntityCommand.js +18 -41
- package/dist-cjs/commands/DeleteSceneCommand.js +18 -41
- package/dist-cjs/commands/DeleteSyncJobCommand.js +18 -41
- package/dist-cjs/commands/DeleteWorkspaceCommand.js +18 -41
- package/dist-cjs/commands/ExecuteQueryCommand.js +18 -41
- package/dist-cjs/commands/GetComponentTypeCommand.js +18 -41
- package/dist-cjs/commands/GetEntityCommand.js +18 -41
- package/dist-cjs/commands/GetMetadataTransferJobCommand.js +18 -41
- package/dist-cjs/commands/GetPricingPlanCommand.js +18 -41
- package/dist-cjs/commands/GetPropertyValueCommand.js +18 -41
- package/dist-cjs/commands/GetPropertyValueHistoryCommand.js +18 -41
- package/dist-cjs/commands/GetSceneCommand.js +18 -41
- package/dist-cjs/commands/GetSyncJobCommand.js +18 -41
- package/dist-cjs/commands/GetWorkspaceCommand.js +18 -41
- package/dist-cjs/commands/ListComponentTypesCommand.js +18 -41
- package/dist-cjs/commands/ListComponentsCommand.js +18 -41
- package/dist-cjs/commands/ListEntitiesCommand.js +18 -41
- package/dist-cjs/commands/ListMetadataTransferJobsCommand.js +18 -41
- package/dist-cjs/commands/ListPropertiesCommand.js +18 -41
- package/dist-cjs/commands/ListScenesCommand.js +18 -41
- package/dist-cjs/commands/ListSyncJobsCommand.js +18 -41
- package/dist-cjs/commands/ListSyncResourcesCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListWorkspacesCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateComponentTypeCommand.js +18 -41
- package/dist-cjs/commands/UpdateEntityCommand.js +18 -41
- package/dist-cjs/commands/UpdatePricingPlanCommand.js +18 -41
- package/dist-cjs/commands/UpdateSceneCommand.js +18 -41
- package/dist-cjs/commands/UpdateWorkspaceCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ExecuteQueryPaginator.js +2 -24
- package/dist-cjs/pagination/GetPropertyValueHistoryPaginator.js +2 -24
- package/dist-cjs/pagination/GetPropertyValuePaginator.js +2 -24
- package/dist-cjs/pagination/ListComponentTypesPaginator.js +2 -24
- package/dist-cjs/pagination/ListComponentsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEntitiesPaginator.js +2 -24
- package/dist-cjs/pagination/ListMetadataTransferJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPropertiesPaginator.js +2 -24
- package/dist-cjs/pagination/ListScenesPaginator.js +2 -24
- package/dist-cjs/pagination/ListSyncJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSyncResourcesPaginator.js +2 -24
- package/dist-cjs/pagination/ListWorkspacesPaginator.js +2 -24
- package/dist-es/commands/BatchPutPropertyValuesCommand.js +18 -41
- package/dist-es/commands/CancelMetadataTransferJobCommand.js +18 -41
- package/dist-es/commands/CreateComponentTypeCommand.js +18 -41
- package/dist-es/commands/CreateEntityCommand.js +18 -41
- package/dist-es/commands/CreateMetadataTransferJobCommand.js +18 -41
- package/dist-es/commands/CreateSceneCommand.js +18 -41
- package/dist-es/commands/CreateSyncJobCommand.js +18 -41
- package/dist-es/commands/CreateWorkspaceCommand.js +18 -41
- package/dist-es/commands/DeleteComponentTypeCommand.js +18 -41
- package/dist-es/commands/DeleteEntityCommand.js +18 -41
- package/dist-es/commands/DeleteSceneCommand.js +18 -41
- package/dist-es/commands/DeleteSyncJobCommand.js +18 -41
- package/dist-es/commands/DeleteWorkspaceCommand.js +18 -41
- package/dist-es/commands/ExecuteQueryCommand.js +18 -41
- package/dist-es/commands/GetComponentTypeCommand.js +18 -41
- package/dist-es/commands/GetEntityCommand.js +18 -41
- package/dist-es/commands/GetMetadataTransferJobCommand.js +18 -41
- package/dist-es/commands/GetPricingPlanCommand.js +18 -41
- package/dist-es/commands/GetPropertyValueCommand.js +18 -41
- package/dist-es/commands/GetPropertyValueHistoryCommand.js +18 -41
- package/dist-es/commands/GetSceneCommand.js +18 -41
- package/dist-es/commands/GetSyncJobCommand.js +18 -41
- package/dist-es/commands/GetWorkspaceCommand.js +18 -41
- package/dist-es/commands/ListComponentTypesCommand.js +18 -41
- package/dist-es/commands/ListComponentsCommand.js +18 -41
- package/dist-es/commands/ListEntitiesCommand.js +18 -41
- package/dist-es/commands/ListMetadataTransferJobsCommand.js +18 -41
- package/dist-es/commands/ListPropertiesCommand.js +18 -41
- package/dist-es/commands/ListScenesCommand.js +18 -41
- package/dist-es/commands/ListSyncJobsCommand.js +18 -41
- package/dist-es/commands/ListSyncResourcesCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListWorkspacesCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateComponentTypeCommand.js +18 -41
- package/dist-es/commands/UpdateEntityCommand.js +18 -41
- package/dist-es/commands/UpdatePricingPlanCommand.js +18 -41
- package/dist-es/commands/UpdateSceneCommand.js +18 -41
- package/dist-es/commands/UpdateWorkspaceCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ExecuteQueryPaginator.js +2 -23
- package/dist-es/pagination/GetPropertyValueHistoryPaginator.js +2 -23
- package/dist-es/pagination/GetPropertyValuePaginator.js +2 -23
- package/dist-es/pagination/ListComponentTypesPaginator.js +2 -23
- package/dist-es/pagination/ListComponentsPaginator.js +2 -23
- package/dist-es/pagination/ListEntitiesPaginator.js +2 -23
- package/dist-es/pagination/ListMetadataTransferJobsPaginator.js +2 -23
- package/dist-es/pagination/ListPropertiesPaginator.js +2 -23
- package/dist-es/pagination/ListScenesPaginator.js +2 -23
- package/dist-es/pagination/ListSyncJobsPaginator.js +2 -23
- package/dist-es/pagination/ListSyncResourcesPaginator.js +2 -23
- package/dist-es/pagination/ListWorkspacesPaginator.js +2 -23
- package/dist-types/commands/BatchPutPropertyValuesCommand.d.ts +6 -21
- package/dist-types/commands/CancelMetadataTransferJobCommand.d.ts +6 -21
- package/dist-types/commands/CreateComponentTypeCommand.d.ts +6 -21
- package/dist-types/commands/CreateEntityCommand.d.ts +6 -21
- package/dist-types/commands/CreateMetadataTransferJobCommand.d.ts +6 -21
- package/dist-types/commands/CreateSceneCommand.d.ts +6 -21
- package/dist-types/commands/CreateSyncJobCommand.d.ts +6 -21
- package/dist-types/commands/CreateWorkspaceCommand.d.ts +6 -21
- package/dist-types/commands/DeleteComponentTypeCommand.d.ts +6 -21
- package/dist-types/commands/DeleteEntityCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSceneCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSyncJobCommand.d.ts +6 -21
- package/dist-types/commands/DeleteWorkspaceCommand.d.ts +6 -21
- package/dist-types/commands/ExecuteQueryCommand.d.ts +6 -21
- package/dist-types/commands/GetComponentTypeCommand.d.ts +6 -21
- package/dist-types/commands/GetEntityCommand.d.ts +6 -21
- package/dist-types/commands/GetMetadataTransferJobCommand.d.ts +6 -21
- package/dist-types/commands/GetPricingPlanCommand.d.ts +6 -21
- package/dist-types/commands/GetPropertyValueCommand.d.ts +6 -21
- package/dist-types/commands/GetPropertyValueHistoryCommand.d.ts +6 -21
- package/dist-types/commands/GetSceneCommand.d.ts +6 -21
- package/dist-types/commands/GetSyncJobCommand.d.ts +6 -21
- package/dist-types/commands/GetWorkspaceCommand.d.ts +6 -21
- package/dist-types/commands/ListComponentTypesCommand.d.ts +6 -21
- package/dist-types/commands/ListComponentsCommand.d.ts +6 -21
- package/dist-types/commands/ListEntitiesCommand.d.ts +6 -21
- package/dist-types/commands/ListMetadataTransferJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListPropertiesCommand.d.ts +6 -21
- package/dist-types/commands/ListScenesCommand.d.ts +6 -21
- package/dist-types/commands/ListSyncJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListSyncResourcesCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListWorkspacesCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateComponentTypeCommand.d.ts +6 -21
- package/dist-types/commands/UpdateEntityCommand.d.ts +6 -21
- package/dist-types/commands/UpdatePricingPlanCommand.d.ts +6 -21
- package/dist-types/commands/UpdateSceneCommand.d.ts +6 -21
- package/dist-types/commands/UpdateWorkspaceCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ExecuteQueryPaginator.d.ts +1 -1
- package/dist-types/pagination/GetPropertyValueHistoryPaginator.d.ts +1 -1
- package/dist-types/pagination/GetPropertyValuePaginator.d.ts +1 -1
- package/dist-types/pagination/ListComponentTypesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListComponentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEntitiesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMetadataTransferJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPropertiesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListScenesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSyncJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSyncResourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkspacesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchPutPropertyValuesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CancelMetadataTransferJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateComponentTypeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateEntityCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateMetadataTransferJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateSceneCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateSyncJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateWorkspaceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteComponentTypeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteEntityCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteSceneCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteSyncJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteWorkspaceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ExecuteQueryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetComponentTypeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetEntityCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMetadataTransferJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetPricingPlanCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetPropertyValueCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetPropertyValueHistoryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetSceneCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetSyncJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetWorkspaceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListComponentTypesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListEntitiesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListMetadataTransferJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListPropertiesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListScenesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListSyncJobsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListSyncResourcesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListWorkspacesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateComponentTypeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateEntityCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdatePricingPlanCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateSceneCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateWorkspaceCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ExecuteQueryPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetPropertyValueHistoryPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetPropertyValuePaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListComponentTypesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListComponentsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEntitiesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMetadataTransferJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPropertiesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListScenesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSyncJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSyncResourcesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWorkspacesPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateEntityCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "IoTTwinMakerClient";
|
|
29
|
-
const commandName = "UpdateEntityCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSIoTTwinMaker",
|
|
38
|
-
operation: "UpdateEntity",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateEntityCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateEntityCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateEntityCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSIoTTwinMaker", "UpdateEntity", {})
|
|
22
|
+
.n("IoTTwinMakerClient", "UpdateEntityCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateEntityCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateEntityCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateEntityCommand = UpdateEntityCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdatePricingPlanCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "IoTTwinMakerClient";
|
|
29
|
-
const commandName = "UpdatePricingPlanCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSIoTTwinMaker",
|
|
38
|
-
operation: "UpdatePricingPlan",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdatePricingPlanCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdatePricingPlanCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdatePricingPlanCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSIoTTwinMaker", "UpdatePricingPlan", {})
|
|
22
|
+
.n("IoTTwinMakerClient", "UpdatePricingPlanCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdatePricingPlanCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdatePricingPlanCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdatePricingPlanCommand = UpdatePricingPlanCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateSceneCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "IoTTwinMakerClient";
|
|
29
|
-
const commandName = "UpdateSceneCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSIoTTwinMaker",
|
|
38
|
-
operation: "UpdateScene",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateSceneCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateSceneCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateSceneCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSIoTTwinMaker", "UpdateScene", {})
|
|
22
|
+
.n("IoTTwinMakerClient", "UpdateSceneCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateSceneCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateSceneCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateSceneCommand = UpdateSceneCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateWorkspaceCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "IoTTwinMakerClient";
|
|
29
|
-
const commandName = "UpdateWorkspaceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSIoTTwinMaker",
|
|
38
|
-
operation: "UpdateWorkspace",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateWorkspaceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateWorkspaceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateWorkspaceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSIoTTwinMaker", "UpdateWorkspace", {})
|
|
22
|
+
.n("IoTTwinMakerClient", "UpdateWorkspaceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateWorkspaceCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateWorkspaceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateWorkspaceCommand = UpdateWorkspaceCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateExecuteQuery = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ExecuteQueryCommand_1 = require("../commands/ExecuteQueryCommand");
|
|
5
6
|
const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ExecuteQueryCommand_1.ExecuteQueryCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateExecuteQuery(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateExecuteQuery = paginateExecuteQuery;
|
|
7
|
+
exports.paginateExecuteQuery = (0, core_1.createPaginator)(IoTTwinMakerClient_1.IoTTwinMakerClient, ExecuteQueryCommand_1.ExecuteQueryCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetPropertyValueHistory = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetPropertyValueHistoryCommand_1 = require("../commands/GetPropertyValueHistoryCommand");
|
|
5
6
|
const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetPropertyValueHistoryCommand_1.GetPropertyValueHistoryCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetPropertyValueHistory(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateGetPropertyValueHistory = paginateGetPropertyValueHistory;
|
|
7
|
+
exports.paginateGetPropertyValueHistory = (0, core_1.createPaginator)(IoTTwinMakerClient_1.IoTTwinMakerClient, GetPropertyValueHistoryCommand_1.GetPropertyValueHistoryCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetPropertyValue = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetPropertyValueCommand_1 = require("../commands/GetPropertyValueCommand");
|
|
5
6
|
const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetPropertyValueCommand_1.GetPropertyValueCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetPropertyValue(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateGetPropertyValue = paginateGetPropertyValue;
|
|
7
|
+
exports.paginateGetPropertyValue = (0, core_1.createPaginator)(IoTTwinMakerClient_1.IoTTwinMakerClient, GetPropertyValueCommand_1.GetPropertyValueCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListComponentTypes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListComponentTypesCommand_1 = require("../commands/ListComponentTypesCommand");
|
|
5
6
|
const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListComponentTypesCommand_1.ListComponentTypesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListComponentTypes(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListComponentTypes = paginateListComponentTypes;
|
|
7
|
+
exports.paginateListComponentTypes = (0, core_1.createPaginator)(IoTTwinMakerClient_1.IoTTwinMakerClient, ListComponentTypesCommand_1.ListComponentTypesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListComponents = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListComponentsCommand_1 = require("../commands/ListComponentsCommand");
|
|
5
6
|
const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListComponentsCommand_1.ListComponentsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListComponents(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListComponents = paginateListComponents;
|
|
7
|
+
exports.paginateListComponents = (0, core_1.createPaginator)(IoTTwinMakerClient_1.IoTTwinMakerClient, ListComponentsCommand_1.ListComponentsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEntities = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListEntitiesCommand_1 = require("../commands/ListEntitiesCommand");
|
|
5
6
|
const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListEntitiesCommand_1.ListEntitiesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListEntities(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListEntities = paginateListEntities;
|
|
7
|
+
exports.paginateListEntities = (0, core_1.createPaginator)(IoTTwinMakerClient_1.IoTTwinMakerClient, ListEntitiesCommand_1.ListEntitiesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListMetadataTransferJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListMetadataTransferJobsCommand_1 = require("../commands/ListMetadataTransferJobsCommand");
|
|
5
6
|
const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListMetadataTransferJobsCommand_1.ListMetadataTransferJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListMetadataTransferJobs(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListMetadataTransferJobs = paginateListMetadataTransferJobs;
|
|
7
|
+
exports.paginateListMetadataTransferJobs = (0, core_1.createPaginator)(IoTTwinMakerClient_1.IoTTwinMakerClient, ListMetadataTransferJobsCommand_1.ListMetadataTransferJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListProperties = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListPropertiesCommand_1 = require("../commands/ListPropertiesCommand");
|
|
5
6
|
const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListPropertiesCommand_1.ListPropertiesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListProperties(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListProperties = paginateListProperties;
|
|
7
|
+
exports.paginateListProperties = (0, core_1.createPaginator)(IoTTwinMakerClient_1.IoTTwinMakerClient, ListPropertiesCommand_1.ListPropertiesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListScenes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListScenesCommand_1 = require("../commands/ListScenesCommand");
|
|
5
6
|
const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListScenesCommand_1.ListScenesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListScenes(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListScenes = paginateListScenes;
|
|
7
|
+
exports.paginateListScenes = (0, core_1.createPaginator)(IoTTwinMakerClient_1.IoTTwinMakerClient, ListScenesCommand_1.ListScenesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSyncJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListSyncJobsCommand_1 = require("../commands/ListSyncJobsCommand");
|
|
5
6
|
const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListSyncJobsCommand_1.ListSyncJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListSyncJobs(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListSyncJobs = paginateListSyncJobs;
|
|
7
|
+
exports.paginateListSyncJobs = (0, core_1.createPaginator)(IoTTwinMakerClient_1.IoTTwinMakerClient, ListSyncJobsCommand_1.ListSyncJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSyncResources = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListSyncResourcesCommand_1 = require("../commands/ListSyncResourcesCommand");
|
|
5
6
|
const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListSyncResourcesCommand_1.ListSyncResourcesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListSyncResources(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListSyncResources = paginateListSyncResources;
|
|
7
|
+
exports.paginateListSyncResources = (0, core_1.createPaginator)(IoTTwinMakerClient_1.IoTTwinMakerClient, ListSyncResourcesCommand_1.ListSyncResourcesCommand, "nextToken", "nextToken", "maxResults");
|