@aws-sdk/client-iotthingsgraph 3.926.0 → 3.928.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1005 -1318
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/IoTThingsGraphClient.js +2 -0
- package/dist-es/commands/AssociateEntityToThingCommand.js +3 -9
- package/dist-es/commands/CreateFlowTemplateCommand.js +3 -9
- package/dist-es/commands/CreateSystemInstanceCommand.js +3 -9
- package/dist-es/commands/CreateSystemTemplateCommand.js +3 -9
- package/dist-es/commands/DeleteFlowTemplateCommand.js +3 -9
- package/dist-es/commands/DeleteNamespaceCommand.js +3 -9
- package/dist-es/commands/DeleteSystemInstanceCommand.js +3 -9
- package/dist-es/commands/DeleteSystemTemplateCommand.js +3 -9
- package/dist-es/commands/DeploySystemInstanceCommand.js +3 -9
- package/dist-es/commands/DeprecateFlowTemplateCommand.js +3 -9
- package/dist-es/commands/DeprecateSystemTemplateCommand.js +3 -9
- package/dist-es/commands/DescribeNamespaceCommand.js +3 -9
- package/dist-es/commands/DissociateEntityFromThingCommand.js +3 -9
- package/dist-es/commands/GetEntitiesCommand.js +3 -9
- package/dist-es/commands/GetFlowTemplateCommand.js +3 -9
- package/dist-es/commands/GetFlowTemplateRevisionsCommand.js +3 -9
- package/dist-es/commands/GetNamespaceDeletionStatusCommand.js +3 -9
- package/dist-es/commands/GetSystemInstanceCommand.js +3 -9
- package/dist-es/commands/GetSystemTemplateCommand.js +3 -9
- package/dist-es/commands/GetSystemTemplateRevisionsCommand.js +3 -9
- package/dist-es/commands/GetUploadStatusCommand.js +3 -9
- package/dist-es/commands/ListFlowExecutionMessagesCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/SearchEntitiesCommand.js +3 -9
- package/dist-es/commands/SearchFlowExecutionsCommand.js +3 -9
- package/dist-es/commands/SearchFlowTemplatesCommand.js +3 -9
- package/dist-es/commands/SearchSystemInstancesCommand.js +3 -9
- package/dist-es/commands/SearchSystemTemplatesCommand.js +3 -9
- package/dist-es/commands/SearchThingsCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UndeploySystemInstanceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateFlowTemplateCommand.js +3 -9
- package/dist-es/commands/UpdateSystemTemplateCommand.js +3 -9
- package/dist-es/commands/UploadEntityDefinitionsCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +921 -0
- package/dist-types/IoTThingsGraphClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +154 -0
- package/dist-types/ts3.4/IoTThingsGraphClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +159 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -1056
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -317
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -425
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListTagsForResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("IotThingsGraphFrontEndService", "ListTagsForResource", {})
|
|
17
13
|
.n("IoTThingsGraphClient", "ListTagsForResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListTagsForResourceCommand)
|
|
20
|
-
.de(de_ListTagsForResourceCommand)
|
|
14
|
+
.sc(ListTagsForResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { SearchEntities } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SearchEntitiesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("IotThingsGraphFrontEndService", "SearchEntities", {})
|
|
17
13
|
.n("IoTThingsGraphClient", "SearchEntitiesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SearchEntitiesCommand)
|
|
20
|
-
.de(de_SearchEntitiesCommand)
|
|
14
|
+
.sc(SearchEntities)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { SearchFlowExecutions } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SearchFlowExecutionsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("IotThingsGraphFrontEndService", "SearchFlowExecutions", {})
|
|
17
13
|
.n("IoTThingsGraphClient", "SearchFlowExecutionsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SearchFlowExecutionsCommand)
|
|
20
|
-
.de(de_SearchFlowExecutionsCommand)
|
|
14
|
+
.sc(SearchFlowExecutions)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { SearchFlowTemplates } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SearchFlowTemplatesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("IotThingsGraphFrontEndService", "SearchFlowTemplates", {})
|
|
17
13
|
.n("IoTThingsGraphClient", "SearchFlowTemplatesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SearchFlowTemplatesCommand)
|
|
20
|
-
.de(de_SearchFlowTemplatesCommand)
|
|
14
|
+
.sc(SearchFlowTemplates)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { SearchSystemInstances } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SearchSystemInstancesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("IotThingsGraphFrontEndService", "SearchSystemInstances", {})
|
|
17
13
|
.n("IoTThingsGraphClient", "SearchSystemInstancesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SearchSystemInstancesCommand)
|
|
20
|
-
.de(de_SearchSystemInstancesCommand)
|
|
14
|
+
.sc(SearchSystemInstances)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { SearchSystemTemplates } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SearchSystemTemplatesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("IotThingsGraphFrontEndService", "SearchSystemTemplates", {})
|
|
17
13
|
.n("IoTThingsGraphClient", "SearchSystemTemplatesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SearchSystemTemplatesCommand)
|
|
20
|
-
.de(de_SearchSystemTemplatesCommand)
|
|
14
|
+
.sc(SearchSystemTemplates)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { SearchThings } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SearchThingsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("IotThingsGraphFrontEndService", "SearchThings", {})
|
|
17
13
|
.n("IoTThingsGraphClient", "SearchThingsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SearchThingsCommand)
|
|
20
|
-
.de(de_SearchThingsCommand)
|
|
14
|
+
.sc(SearchThings)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("IotThingsGraphFrontEndService", "TagResource", {})
|
|
17
13
|
.n("IoTThingsGraphClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UndeploySystemInstance } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UndeploySystemInstanceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("IotThingsGraphFrontEndService", "UndeploySystemInstance", {})
|
|
17
13
|
.n("IoTThingsGraphClient", "UndeploySystemInstanceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UndeploySystemInstanceCommand)
|
|
20
|
-
.de(de_UndeploySystemInstanceCommand)
|
|
14
|
+
.sc(UndeploySystemInstance)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("IotThingsGraphFrontEndService", "UntagResource", {})
|
|
17
13
|
.n("IoTThingsGraphClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateFlowTemplate } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateFlowTemplateCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("IotThingsGraphFrontEndService", "UpdateFlowTemplate", {})
|
|
17
13
|
.n("IoTThingsGraphClient", "UpdateFlowTemplateCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateFlowTemplateCommand)
|
|
20
|
-
.de(de_UpdateFlowTemplateCommand)
|
|
14
|
+
.sc(UpdateFlowTemplate)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateSystemTemplate } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSystemTemplateCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("IotThingsGraphFrontEndService", "UpdateSystemTemplate", {})
|
|
17
13
|
.n("IoTThingsGraphClient", "UpdateSystemTemplateCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSystemTemplateCommand)
|
|
20
|
-
.de(de_UpdateSystemTemplateCommand)
|
|
14
|
+
.sc(UpdateSystemTemplate)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UploadEntityDefinitions } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UploadEntityDefinitionsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("IotThingsGraphFrontEndService", "UploadEntityDefinitions", {})
|
|
17
13
|
.n("IoTThingsGraphClient", "UploadEntityDefinitionsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UploadEntityDefinitionsCommand)
|
|
20
|
-
.de(de_UploadEntityDefinitionsCommand)
|
|
14
|
+
.sc(UploadEntityDefinitions)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_1Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.iotthingsgraph",
|
|
29
|
+
serviceTarget: "IotThingsGraphFrontEndService",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "IoTThingsGraph",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|