@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.
Files changed (56) hide show
  1. package/dist-cjs/index.js +1005 -1318
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/IoTThingsGraphClient.js +2 -0
  4. package/dist-es/commands/AssociateEntityToThingCommand.js +3 -9
  5. package/dist-es/commands/CreateFlowTemplateCommand.js +3 -9
  6. package/dist-es/commands/CreateSystemInstanceCommand.js +3 -9
  7. package/dist-es/commands/CreateSystemTemplateCommand.js +3 -9
  8. package/dist-es/commands/DeleteFlowTemplateCommand.js +3 -9
  9. package/dist-es/commands/DeleteNamespaceCommand.js +3 -9
  10. package/dist-es/commands/DeleteSystemInstanceCommand.js +3 -9
  11. package/dist-es/commands/DeleteSystemTemplateCommand.js +3 -9
  12. package/dist-es/commands/DeploySystemInstanceCommand.js +3 -9
  13. package/dist-es/commands/DeprecateFlowTemplateCommand.js +3 -9
  14. package/dist-es/commands/DeprecateSystemTemplateCommand.js +3 -9
  15. package/dist-es/commands/DescribeNamespaceCommand.js +3 -9
  16. package/dist-es/commands/DissociateEntityFromThingCommand.js +3 -9
  17. package/dist-es/commands/GetEntitiesCommand.js +3 -9
  18. package/dist-es/commands/GetFlowTemplateCommand.js +3 -9
  19. package/dist-es/commands/GetFlowTemplateRevisionsCommand.js +3 -9
  20. package/dist-es/commands/GetNamespaceDeletionStatusCommand.js +3 -9
  21. package/dist-es/commands/GetSystemInstanceCommand.js +3 -9
  22. package/dist-es/commands/GetSystemTemplateCommand.js +3 -9
  23. package/dist-es/commands/GetSystemTemplateRevisionsCommand.js +3 -9
  24. package/dist-es/commands/GetUploadStatusCommand.js +3 -9
  25. package/dist-es/commands/ListFlowExecutionMessagesCommand.js +3 -9
  26. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  27. package/dist-es/commands/SearchEntitiesCommand.js +3 -9
  28. package/dist-es/commands/SearchFlowExecutionsCommand.js +3 -9
  29. package/dist-es/commands/SearchFlowTemplatesCommand.js +3 -9
  30. package/dist-es/commands/SearchSystemInstancesCommand.js +3 -9
  31. package/dist-es/commands/SearchSystemTemplatesCommand.js +3 -9
  32. package/dist-es/commands/SearchThingsCommand.js +3 -9
  33. package/dist-es/commands/TagResourceCommand.js +3 -9
  34. package/dist-es/commands/UndeploySystemInstanceCommand.js +3 -9
  35. package/dist-es/commands/UntagResourceCommand.js +3 -9
  36. package/dist-es/commands/UpdateFlowTemplateCommand.js +3 -9
  37. package/dist-es/commands/UpdateSystemTemplateCommand.js +3 -9
  38. package/dist-es/commands/UploadEntityDefinitionsCommand.js +3 -9
  39. package/dist-es/runtimeConfig.shared.js +7 -0
  40. package/dist-es/schemas/schemas_0.js +921 -0
  41. package/dist-types/IoTThingsGraphClient.d.ts +10 -1
  42. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  43. package/dist-types/runtimeConfig.d.ts +1 -0
  44. package/dist-types/runtimeConfig.native.d.ts +1 -0
  45. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  46. package/dist-types/schemas/schemas_0.d.ts +154 -0
  47. package/dist-types/ts3.4/IoTThingsGraphClient.d.ts +4 -0
  48. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  49. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  50. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  51. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  52. package/dist-types/ts3.4/schemas/schemas_0.d.ts +159 -0
  53. package/package.json +5 -5
  54. package/dist-es/protocols/Aws_json1_1.js +0 -1056
  55. package/dist-types/protocols/Aws_json1_1.d.ts +0 -317
  56. 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 { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_SearchEntitiesCommand, se_SearchEntitiesCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_SearchFlowExecutionsCommand, se_SearchFlowExecutionsCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_SearchFlowTemplatesCommand, se_SearchFlowTemplatesCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_SearchSystemInstancesCommand, se_SearchSystemInstancesCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_SearchSystemTemplatesCommand, se_SearchSystemTemplatesCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_SearchThingsCommand, se_SearchThingsCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UndeploySystemInstanceCommand, se_UndeploySystemInstanceCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateFlowTemplateCommand, se_UpdateFlowTemplateCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateSystemTemplateCommand, se_UpdateSystemTemplateCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UploadEntityDefinitionsCommand, se_UploadEntityDefinitionsCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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,