@aws-sdk/client-iottwinmaker 3.1076.0 → 3.1078.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 (140) hide show
  1. package/dist-cjs/index.js +51 -405
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/BatchPutPropertyValuesCommand.js +2 -14
  4. package/dist-es/commands/CancelMetadataTransferJobCommand.js +2 -14
  5. package/dist-es/commands/CreateComponentTypeCommand.js +2 -14
  6. package/dist-es/commands/CreateEntityCommand.js +2 -14
  7. package/dist-es/commands/CreateMetadataTransferJobCommand.js +2 -14
  8. package/dist-es/commands/CreateSceneCommand.js +2 -14
  9. package/dist-es/commands/CreateSyncJobCommand.js +2 -14
  10. package/dist-es/commands/CreateWorkspaceCommand.js +2 -14
  11. package/dist-es/commands/DeleteComponentTypeCommand.js +2 -14
  12. package/dist-es/commands/DeleteEntityCommand.js +2 -14
  13. package/dist-es/commands/DeleteSceneCommand.js +2 -14
  14. package/dist-es/commands/DeleteSyncJobCommand.js +2 -14
  15. package/dist-es/commands/DeleteWorkspaceCommand.js +2 -14
  16. package/dist-es/commands/ExecuteQueryCommand.js +2 -14
  17. package/dist-es/commands/GetComponentTypeCommand.js +2 -14
  18. package/dist-es/commands/GetEntityCommand.js +2 -14
  19. package/dist-es/commands/GetMetadataTransferJobCommand.js +2 -14
  20. package/dist-es/commands/GetPricingPlanCommand.js +2 -14
  21. package/dist-es/commands/GetPropertyValueCommand.js +2 -14
  22. package/dist-es/commands/GetPropertyValueHistoryCommand.js +2 -14
  23. package/dist-es/commands/GetSceneCommand.js +2 -14
  24. package/dist-es/commands/GetSyncJobCommand.js +2 -14
  25. package/dist-es/commands/GetWorkspaceCommand.js +2 -14
  26. package/dist-es/commands/ListComponentTypesCommand.js +2 -14
  27. package/dist-es/commands/ListComponentsCommand.js +2 -14
  28. package/dist-es/commands/ListEntitiesCommand.js +2 -14
  29. package/dist-es/commands/ListMetadataTransferJobsCommand.js +2 -14
  30. package/dist-es/commands/ListPropertiesCommand.js +2 -14
  31. package/dist-es/commands/ListScenesCommand.js +2 -14
  32. package/dist-es/commands/ListSyncJobsCommand.js +2 -14
  33. package/dist-es/commands/ListSyncResourcesCommand.js +2 -14
  34. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  35. package/dist-es/commands/ListWorkspacesCommand.js +2 -14
  36. package/dist-es/commands/TagResourceCommand.js +2 -14
  37. package/dist-es/commands/UntagResourceCommand.js +2 -14
  38. package/dist-es/commands/UpdateComponentTypeCommand.js +2 -14
  39. package/dist-es/commands/UpdateEntityCommand.js +2 -14
  40. package/dist-es/commands/UpdatePricingPlanCommand.js +2 -14
  41. package/dist-es/commands/UpdateSceneCommand.js +2 -14
  42. package/dist-es/commands/UpdateWorkspaceCommand.js +2 -14
  43. package/dist-es/index.js +1 -0
  44. package/dist-es/runtimeConfig.browser.js +0 -2
  45. package/dist-es/runtimeConfig.js +1 -2
  46. package/dist-es/runtimeConfig.native.js +0 -2
  47. package/dist-es/runtimeConfig.shared.js +2 -0
  48. package/dist-types/commandBuilder.d.ts +18 -0
  49. package/dist-types/commands/BatchPutPropertyValuesCommand.d.ts +3 -8
  50. package/dist-types/commands/CancelMetadataTransferJobCommand.d.ts +3 -8
  51. package/dist-types/commands/CreateComponentTypeCommand.d.ts +3 -8
  52. package/dist-types/commands/CreateEntityCommand.d.ts +3 -8
  53. package/dist-types/commands/CreateMetadataTransferJobCommand.d.ts +3 -8
  54. package/dist-types/commands/CreateSceneCommand.d.ts +3 -8
  55. package/dist-types/commands/CreateSyncJobCommand.d.ts +3 -8
  56. package/dist-types/commands/CreateWorkspaceCommand.d.ts +3 -8
  57. package/dist-types/commands/DeleteComponentTypeCommand.d.ts +3 -8
  58. package/dist-types/commands/DeleteEntityCommand.d.ts +3 -8
  59. package/dist-types/commands/DeleteSceneCommand.d.ts +3 -8
  60. package/dist-types/commands/DeleteSyncJobCommand.d.ts +3 -8
  61. package/dist-types/commands/DeleteWorkspaceCommand.d.ts +3 -8
  62. package/dist-types/commands/ExecuteQueryCommand.d.ts +3 -8
  63. package/dist-types/commands/GetComponentTypeCommand.d.ts +3 -8
  64. package/dist-types/commands/GetEntityCommand.d.ts +3 -8
  65. package/dist-types/commands/GetMetadataTransferJobCommand.d.ts +3 -8
  66. package/dist-types/commands/GetPricingPlanCommand.d.ts +3 -8
  67. package/dist-types/commands/GetPropertyValueCommand.d.ts +3 -8
  68. package/dist-types/commands/GetPropertyValueHistoryCommand.d.ts +3 -8
  69. package/dist-types/commands/GetSceneCommand.d.ts +3 -8
  70. package/dist-types/commands/GetSyncJobCommand.d.ts +3 -8
  71. package/dist-types/commands/GetWorkspaceCommand.d.ts +3 -8
  72. package/dist-types/commands/ListComponentTypesCommand.d.ts +3 -8
  73. package/dist-types/commands/ListComponentsCommand.d.ts +3 -8
  74. package/dist-types/commands/ListEntitiesCommand.d.ts +3 -8
  75. package/dist-types/commands/ListMetadataTransferJobsCommand.d.ts +3 -8
  76. package/dist-types/commands/ListPropertiesCommand.d.ts +3 -8
  77. package/dist-types/commands/ListScenesCommand.d.ts +3 -8
  78. package/dist-types/commands/ListSyncJobsCommand.d.ts +3 -8
  79. package/dist-types/commands/ListSyncResourcesCommand.d.ts +3 -8
  80. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  81. package/dist-types/commands/ListWorkspacesCommand.d.ts +3 -8
  82. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  83. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  84. package/dist-types/commands/UpdateComponentTypeCommand.d.ts +3 -8
  85. package/dist-types/commands/UpdateEntityCommand.d.ts +3 -8
  86. package/dist-types/commands/UpdatePricingPlanCommand.d.ts +3 -8
  87. package/dist-types/commands/UpdateSceneCommand.d.ts +3 -8
  88. package/dist-types/commands/UpdateWorkspaceCommand.d.ts +3 -8
  89. package/dist-types/index.d.ts +1 -0
  90. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  91. package/dist-types/runtimeConfig.d.ts +1 -1
  92. package/dist-types/runtimeConfig.native.d.ts +1 -1
  93. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  94. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  95. package/dist-types/ts3.4/commands/BatchPutPropertyValuesCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/CancelMetadataTransferJobCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/CreateComponentTypeCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/CreateEntityCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/CreateMetadataTransferJobCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/CreateSceneCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/CreateSyncJobCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/CreateWorkspaceCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/DeleteComponentTypeCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/DeleteEntityCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/DeleteSceneCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/DeleteSyncJobCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/DeleteWorkspaceCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/ExecuteQueryCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/GetComponentTypeCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/GetEntityCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/GetMetadataTransferJobCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/GetPricingPlanCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/GetPropertyValueCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/GetPropertyValueHistoryCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/GetSceneCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/GetSyncJobCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/GetWorkspaceCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/commands/ListComponentTypesCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/commands/ListEntitiesCommand.d.ts +7 -16
  121. package/dist-types/ts3.4/commands/ListMetadataTransferJobsCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/ListPropertiesCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/ListScenesCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/commands/ListSyncJobsCommand.d.ts +7 -16
  125. package/dist-types/ts3.4/commands/ListSyncResourcesCommand.d.ts +7 -16
  126. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  127. package/dist-types/ts3.4/commands/ListWorkspacesCommand.d.ts +7 -16
  128. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  129. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  130. package/dist-types/ts3.4/commands/UpdateComponentTypeCommand.d.ts +7 -16
  131. package/dist-types/ts3.4/commands/UpdateEntityCommand.d.ts +7 -16
  132. package/dist-types/ts3.4/commands/UpdatePricingPlanCommand.d.ts +7 -16
  133. package/dist-types/ts3.4/commands/UpdateSceneCommand.d.ts +7 -16
  134. package/dist-types/ts3.4/commands/UpdateWorkspaceCommand.d.ts +7 -16
  135. package/dist-types/ts3.4/index.d.ts +1 -0
  136. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  137. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  138. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  139. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  140. package/package.json +8 -10
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultIoTTwinMakerHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -1843,6 +1845,7 @@ const getRuntimeConfig$1 = (config) => {
1843
1845
  serviceTarget: "AWSIoTTwinMaker",
1844
1846
  },
1845
1847
  serviceId: config?.serviceId ?? "IoTTwinMaker",
1848
+ sha256: config?.sha256 ?? Sha256,
1846
1849
  urlParser: config?.urlParser ?? parseUrl,
1847
1850
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1848
1851
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1876,7 +1879,6 @@ const getRuntimeConfig = (config) => {
1876
1879
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1877
1880
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1878
1881
  }, config),
1879
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1880
1882
  streamCollector: config?.streamCollector ?? streamCollector,
1881
1883
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1882
1884
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1964,484 +1966,128 @@ class IoTTwinMakerClient extends Client {
1964
1966
  }
1965
1967
  }
1966
1968
 
1967
- class BatchPutPropertyValuesCommand extends Command
1968
- .classBuilder()
1969
- .ep(commonParams)
1970
- .m(function (Command, cs, config, o) {
1971
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1972
- })
1973
- .s("AWSIoTTwinMaker", "BatchPutPropertyValues", {})
1974
- .n("IoTTwinMakerClient", "BatchPutPropertyValuesCommand")
1975
- .sc(BatchPutPropertyValues$)
1976
- .build() {
1969
+ const command = makeBuilder(commonParams, "AWSIoTTwinMaker", "IoTTwinMakerClient", getEndpointPlugin);
1970
+ const _ep0 = {};
1971
+ const _mw0 = (Command, cs, config, o) => [];
1972
+
1973
+ class BatchPutPropertyValuesCommand extends command(_ep0, _mw0, "BatchPutPropertyValues", BatchPutPropertyValues$) {
1977
1974
  }
1978
1975
 
1979
- class CancelMetadataTransferJobCommand extends Command
1980
- .classBuilder()
1981
- .ep(commonParams)
1982
- .m(function (Command, cs, config, o) {
1983
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1984
- })
1985
- .s("AWSIoTTwinMaker", "CancelMetadataTransferJob", {})
1986
- .n("IoTTwinMakerClient", "CancelMetadataTransferJobCommand")
1987
- .sc(CancelMetadataTransferJob$)
1988
- .build() {
1976
+ class CancelMetadataTransferJobCommand extends command(_ep0, _mw0, "CancelMetadataTransferJob", CancelMetadataTransferJob$) {
1989
1977
  }
1990
1978
 
1991
- class CreateComponentTypeCommand extends Command
1992
- .classBuilder()
1993
- .ep(commonParams)
1994
- .m(function (Command, cs, config, o) {
1995
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1996
- })
1997
- .s("AWSIoTTwinMaker", "CreateComponentType", {})
1998
- .n("IoTTwinMakerClient", "CreateComponentTypeCommand")
1999
- .sc(CreateComponentType$)
2000
- .build() {
1979
+ class CreateComponentTypeCommand extends command(_ep0, _mw0, "CreateComponentType", CreateComponentType$) {
2001
1980
  }
2002
1981
 
2003
- class CreateEntityCommand extends Command
2004
- .classBuilder()
2005
- .ep(commonParams)
2006
- .m(function (Command, cs, config, o) {
2007
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2008
- })
2009
- .s("AWSIoTTwinMaker", "CreateEntity", {})
2010
- .n("IoTTwinMakerClient", "CreateEntityCommand")
2011
- .sc(CreateEntity$)
2012
- .build() {
1982
+ class CreateEntityCommand extends command(_ep0, _mw0, "CreateEntity", CreateEntity$) {
2013
1983
  }
2014
1984
 
2015
- class CreateMetadataTransferJobCommand extends Command
2016
- .classBuilder()
2017
- .ep(commonParams)
2018
- .m(function (Command, cs, config, o) {
2019
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2020
- })
2021
- .s("AWSIoTTwinMaker", "CreateMetadataTransferJob", {})
2022
- .n("IoTTwinMakerClient", "CreateMetadataTransferJobCommand")
2023
- .sc(CreateMetadataTransferJob$)
2024
- .build() {
1985
+ class CreateMetadataTransferJobCommand extends command(_ep0, _mw0, "CreateMetadataTransferJob", CreateMetadataTransferJob$) {
2025
1986
  }
2026
1987
 
2027
- class CreateSceneCommand extends Command
2028
- .classBuilder()
2029
- .ep(commonParams)
2030
- .m(function (Command, cs, config, o) {
2031
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2032
- })
2033
- .s("AWSIoTTwinMaker", "CreateScene", {})
2034
- .n("IoTTwinMakerClient", "CreateSceneCommand")
2035
- .sc(CreateScene$)
2036
- .build() {
1988
+ class CreateSceneCommand extends command(_ep0, _mw0, "CreateScene", CreateScene$) {
2037
1989
  }
2038
1990
 
2039
- class CreateSyncJobCommand extends Command
2040
- .classBuilder()
2041
- .ep(commonParams)
2042
- .m(function (Command, cs, config, o) {
2043
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2044
- })
2045
- .s("AWSIoTTwinMaker", "CreateSyncJob", {})
2046
- .n("IoTTwinMakerClient", "CreateSyncJobCommand")
2047
- .sc(CreateSyncJob$)
2048
- .build() {
1991
+ class CreateSyncJobCommand extends command(_ep0, _mw0, "CreateSyncJob", CreateSyncJob$) {
2049
1992
  }
2050
1993
 
2051
- class CreateWorkspaceCommand extends Command
2052
- .classBuilder()
2053
- .ep(commonParams)
2054
- .m(function (Command, cs, config, o) {
2055
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2056
- })
2057
- .s("AWSIoTTwinMaker", "CreateWorkspace", {})
2058
- .n("IoTTwinMakerClient", "CreateWorkspaceCommand")
2059
- .sc(CreateWorkspace$)
2060
- .build() {
1994
+ class CreateWorkspaceCommand extends command(_ep0, _mw0, "CreateWorkspace", CreateWorkspace$) {
2061
1995
  }
2062
1996
 
2063
- class DeleteComponentTypeCommand extends Command
2064
- .classBuilder()
2065
- .ep(commonParams)
2066
- .m(function (Command, cs, config, o) {
2067
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2068
- })
2069
- .s("AWSIoTTwinMaker", "DeleteComponentType", {})
2070
- .n("IoTTwinMakerClient", "DeleteComponentTypeCommand")
2071
- .sc(DeleteComponentType$)
2072
- .build() {
1997
+ class DeleteComponentTypeCommand extends command(_ep0, _mw0, "DeleteComponentType", DeleteComponentType$) {
2073
1998
  }
2074
1999
 
2075
- class DeleteEntityCommand extends Command
2076
- .classBuilder()
2077
- .ep(commonParams)
2078
- .m(function (Command, cs, config, o) {
2079
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2080
- })
2081
- .s("AWSIoTTwinMaker", "DeleteEntity", {})
2082
- .n("IoTTwinMakerClient", "DeleteEntityCommand")
2083
- .sc(DeleteEntity$)
2084
- .build() {
2000
+ class DeleteEntityCommand extends command(_ep0, _mw0, "DeleteEntity", DeleteEntity$) {
2085
2001
  }
2086
2002
 
2087
- class DeleteSceneCommand extends Command
2088
- .classBuilder()
2089
- .ep(commonParams)
2090
- .m(function (Command, cs, config, o) {
2091
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2092
- })
2093
- .s("AWSIoTTwinMaker", "DeleteScene", {})
2094
- .n("IoTTwinMakerClient", "DeleteSceneCommand")
2095
- .sc(DeleteScene$)
2096
- .build() {
2003
+ class DeleteSceneCommand extends command(_ep0, _mw0, "DeleteScene", DeleteScene$) {
2097
2004
  }
2098
2005
 
2099
- class DeleteSyncJobCommand extends Command
2100
- .classBuilder()
2101
- .ep(commonParams)
2102
- .m(function (Command, cs, config, o) {
2103
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2104
- })
2105
- .s("AWSIoTTwinMaker", "DeleteSyncJob", {})
2106
- .n("IoTTwinMakerClient", "DeleteSyncJobCommand")
2107
- .sc(DeleteSyncJob$)
2108
- .build() {
2006
+ class DeleteSyncJobCommand extends command(_ep0, _mw0, "DeleteSyncJob", DeleteSyncJob$) {
2109
2007
  }
2110
2008
 
2111
- class DeleteWorkspaceCommand extends Command
2112
- .classBuilder()
2113
- .ep(commonParams)
2114
- .m(function (Command, cs, config, o) {
2115
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2116
- })
2117
- .s("AWSIoTTwinMaker", "DeleteWorkspace", {})
2118
- .n("IoTTwinMakerClient", "DeleteWorkspaceCommand")
2119
- .sc(DeleteWorkspace$)
2120
- .build() {
2009
+ class DeleteWorkspaceCommand extends command(_ep0, _mw0, "DeleteWorkspace", DeleteWorkspace$) {
2121
2010
  }
2122
2011
 
2123
- class ExecuteQueryCommand extends Command
2124
- .classBuilder()
2125
- .ep(commonParams)
2126
- .m(function (Command, cs, config, o) {
2127
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2128
- })
2129
- .s("AWSIoTTwinMaker", "ExecuteQuery", {})
2130
- .n("IoTTwinMakerClient", "ExecuteQueryCommand")
2131
- .sc(ExecuteQuery$)
2132
- .build() {
2012
+ class ExecuteQueryCommand extends command(_ep0, _mw0, "ExecuteQuery", ExecuteQuery$) {
2133
2013
  }
2134
2014
 
2135
- class GetComponentTypeCommand extends Command
2136
- .classBuilder()
2137
- .ep(commonParams)
2138
- .m(function (Command, cs, config, o) {
2139
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2140
- })
2141
- .s("AWSIoTTwinMaker", "GetComponentType", {})
2142
- .n("IoTTwinMakerClient", "GetComponentTypeCommand")
2143
- .sc(GetComponentType$)
2144
- .build() {
2015
+ class GetComponentTypeCommand extends command(_ep0, _mw0, "GetComponentType", GetComponentType$) {
2145
2016
  }
2146
2017
 
2147
- class GetEntityCommand extends Command
2148
- .classBuilder()
2149
- .ep(commonParams)
2150
- .m(function (Command, cs, config, o) {
2151
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2152
- })
2153
- .s("AWSIoTTwinMaker", "GetEntity", {})
2154
- .n("IoTTwinMakerClient", "GetEntityCommand")
2155
- .sc(GetEntity$)
2156
- .build() {
2018
+ class GetEntityCommand extends command(_ep0, _mw0, "GetEntity", GetEntity$) {
2157
2019
  }
2158
2020
 
2159
- class GetMetadataTransferJobCommand extends Command
2160
- .classBuilder()
2161
- .ep(commonParams)
2162
- .m(function (Command, cs, config, o) {
2163
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2164
- })
2165
- .s("AWSIoTTwinMaker", "GetMetadataTransferJob", {})
2166
- .n("IoTTwinMakerClient", "GetMetadataTransferJobCommand")
2167
- .sc(GetMetadataTransferJob$)
2168
- .build() {
2021
+ class GetMetadataTransferJobCommand extends command(_ep0, _mw0, "GetMetadataTransferJob", GetMetadataTransferJob$) {
2169
2022
  }
2170
2023
 
2171
- class GetPricingPlanCommand extends Command
2172
- .classBuilder()
2173
- .ep(commonParams)
2174
- .m(function (Command, cs, config, o) {
2175
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2176
- })
2177
- .s("AWSIoTTwinMaker", "GetPricingPlan", {})
2178
- .n("IoTTwinMakerClient", "GetPricingPlanCommand")
2179
- .sc(GetPricingPlan$)
2180
- .build() {
2024
+ class GetPricingPlanCommand extends command(_ep0, _mw0, "GetPricingPlan", GetPricingPlan$) {
2181
2025
  }
2182
2026
 
2183
- class GetPropertyValueCommand extends Command
2184
- .classBuilder()
2185
- .ep(commonParams)
2186
- .m(function (Command, cs, config, o) {
2187
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2188
- })
2189
- .s("AWSIoTTwinMaker", "GetPropertyValue", {})
2190
- .n("IoTTwinMakerClient", "GetPropertyValueCommand")
2191
- .sc(GetPropertyValue$)
2192
- .build() {
2027
+ class GetPropertyValueCommand extends command(_ep0, _mw0, "GetPropertyValue", GetPropertyValue$) {
2193
2028
  }
2194
2029
 
2195
- class GetPropertyValueHistoryCommand extends Command
2196
- .classBuilder()
2197
- .ep(commonParams)
2198
- .m(function (Command, cs, config, o) {
2199
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2200
- })
2201
- .s("AWSIoTTwinMaker", "GetPropertyValueHistory", {})
2202
- .n("IoTTwinMakerClient", "GetPropertyValueHistoryCommand")
2203
- .sc(GetPropertyValueHistory$)
2204
- .build() {
2030
+ class GetPropertyValueHistoryCommand extends command(_ep0, _mw0, "GetPropertyValueHistory", GetPropertyValueHistory$) {
2205
2031
  }
2206
2032
 
2207
- class GetSceneCommand extends Command
2208
- .classBuilder()
2209
- .ep(commonParams)
2210
- .m(function (Command, cs, config, o) {
2211
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2212
- })
2213
- .s("AWSIoTTwinMaker", "GetScene", {})
2214
- .n("IoTTwinMakerClient", "GetSceneCommand")
2215
- .sc(GetScene$)
2216
- .build() {
2033
+ class GetSceneCommand extends command(_ep0, _mw0, "GetScene", GetScene$) {
2217
2034
  }
2218
2035
 
2219
- class GetSyncJobCommand extends Command
2220
- .classBuilder()
2221
- .ep(commonParams)
2222
- .m(function (Command, cs, config, o) {
2223
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2224
- })
2225
- .s("AWSIoTTwinMaker", "GetSyncJob", {})
2226
- .n("IoTTwinMakerClient", "GetSyncJobCommand")
2227
- .sc(GetSyncJob$)
2228
- .build() {
2036
+ class GetSyncJobCommand extends command(_ep0, _mw0, "GetSyncJob", GetSyncJob$) {
2229
2037
  }
2230
2038
 
2231
- class GetWorkspaceCommand extends Command
2232
- .classBuilder()
2233
- .ep(commonParams)
2234
- .m(function (Command, cs, config, o) {
2235
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2236
- })
2237
- .s("AWSIoTTwinMaker", "GetWorkspace", {})
2238
- .n("IoTTwinMakerClient", "GetWorkspaceCommand")
2239
- .sc(GetWorkspace$)
2240
- .build() {
2039
+ class GetWorkspaceCommand extends command(_ep0, _mw0, "GetWorkspace", GetWorkspace$) {
2241
2040
  }
2242
2041
 
2243
- class ListComponentsCommand extends Command
2244
- .classBuilder()
2245
- .ep(commonParams)
2246
- .m(function (Command, cs, config, o) {
2247
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2248
- })
2249
- .s("AWSIoTTwinMaker", "ListComponents", {})
2250
- .n("IoTTwinMakerClient", "ListComponentsCommand")
2251
- .sc(ListComponents$)
2252
- .build() {
2042
+ class ListComponentsCommand extends command(_ep0, _mw0, "ListComponents", ListComponents$) {
2253
2043
  }
2254
2044
 
2255
- class ListComponentTypesCommand extends Command
2256
- .classBuilder()
2257
- .ep(commonParams)
2258
- .m(function (Command, cs, config, o) {
2259
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2260
- })
2261
- .s("AWSIoTTwinMaker", "ListComponentTypes", {})
2262
- .n("IoTTwinMakerClient", "ListComponentTypesCommand")
2263
- .sc(ListComponentTypes$)
2264
- .build() {
2045
+ class ListComponentTypesCommand extends command(_ep0, _mw0, "ListComponentTypes", ListComponentTypes$) {
2265
2046
  }
2266
2047
 
2267
- class ListEntitiesCommand extends Command
2268
- .classBuilder()
2269
- .ep(commonParams)
2270
- .m(function (Command, cs, config, o) {
2271
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2272
- })
2273
- .s("AWSIoTTwinMaker", "ListEntities", {})
2274
- .n("IoTTwinMakerClient", "ListEntitiesCommand")
2275
- .sc(ListEntities$)
2276
- .build() {
2048
+ class ListEntitiesCommand extends command(_ep0, _mw0, "ListEntities", ListEntities$) {
2277
2049
  }
2278
2050
 
2279
- class ListMetadataTransferJobsCommand extends Command
2280
- .classBuilder()
2281
- .ep(commonParams)
2282
- .m(function (Command, cs, config, o) {
2283
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2284
- })
2285
- .s("AWSIoTTwinMaker", "ListMetadataTransferJobs", {})
2286
- .n("IoTTwinMakerClient", "ListMetadataTransferJobsCommand")
2287
- .sc(ListMetadataTransferJobs$)
2288
- .build() {
2051
+ class ListMetadataTransferJobsCommand extends command(_ep0, _mw0, "ListMetadataTransferJobs", ListMetadataTransferJobs$) {
2289
2052
  }
2290
2053
 
2291
- class ListPropertiesCommand extends Command
2292
- .classBuilder()
2293
- .ep(commonParams)
2294
- .m(function (Command, cs, config, o) {
2295
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2296
- })
2297
- .s("AWSIoTTwinMaker", "ListProperties", {})
2298
- .n("IoTTwinMakerClient", "ListPropertiesCommand")
2299
- .sc(ListProperties$)
2300
- .build() {
2054
+ class ListPropertiesCommand extends command(_ep0, _mw0, "ListProperties", ListProperties$) {
2301
2055
  }
2302
2056
 
2303
- class ListScenesCommand extends Command
2304
- .classBuilder()
2305
- .ep(commonParams)
2306
- .m(function (Command, cs, config, o) {
2307
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2308
- })
2309
- .s("AWSIoTTwinMaker", "ListScenes", {})
2310
- .n("IoTTwinMakerClient", "ListScenesCommand")
2311
- .sc(ListScenes$)
2312
- .build() {
2057
+ class ListScenesCommand extends command(_ep0, _mw0, "ListScenes", ListScenes$) {
2313
2058
  }
2314
2059
 
2315
- class ListSyncJobsCommand extends Command
2316
- .classBuilder()
2317
- .ep(commonParams)
2318
- .m(function (Command, cs, config, o) {
2319
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2320
- })
2321
- .s("AWSIoTTwinMaker", "ListSyncJobs", {})
2322
- .n("IoTTwinMakerClient", "ListSyncJobsCommand")
2323
- .sc(ListSyncJobs$)
2324
- .build() {
2060
+ class ListSyncJobsCommand extends command(_ep0, _mw0, "ListSyncJobs", ListSyncJobs$) {
2325
2061
  }
2326
2062
 
2327
- class ListSyncResourcesCommand extends Command
2328
- .classBuilder()
2329
- .ep(commonParams)
2330
- .m(function (Command, cs, config, o) {
2331
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2332
- })
2333
- .s("AWSIoTTwinMaker", "ListSyncResources", {})
2334
- .n("IoTTwinMakerClient", "ListSyncResourcesCommand")
2335
- .sc(ListSyncResources$)
2336
- .build() {
2063
+ class ListSyncResourcesCommand extends command(_ep0, _mw0, "ListSyncResources", ListSyncResources$) {
2337
2064
  }
2338
2065
 
2339
- class ListTagsForResourceCommand extends Command
2340
- .classBuilder()
2341
- .ep(commonParams)
2342
- .m(function (Command, cs, config, o) {
2343
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2344
- })
2345
- .s("AWSIoTTwinMaker", "ListTagsForResource", {})
2346
- .n("IoTTwinMakerClient", "ListTagsForResourceCommand")
2347
- .sc(ListTagsForResource$)
2348
- .build() {
2066
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
2349
2067
  }
2350
2068
 
2351
- class ListWorkspacesCommand extends Command
2352
- .classBuilder()
2353
- .ep(commonParams)
2354
- .m(function (Command, cs, config, o) {
2355
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2356
- })
2357
- .s("AWSIoTTwinMaker", "ListWorkspaces", {})
2358
- .n("IoTTwinMakerClient", "ListWorkspacesCommand")
2359
- .sc(ListWorkspaces$)
2360
- .build() {
2069
+ class ListWorkspacesCommand extends command(_ep0, _mw0, "ListWorkspaces", ListWorkspaces$) {
2361
2070
  }
2362
2071
 
2363
- class TagResourceCommand extends Command
2364
- .classBuilder()
2365
- .ep(commonParams)
2366
- .m(function (Command, cs, config, o) {
2367
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2368
- })
2369
- .s("AWSIoTTwinMaker", "TagResource", {})
2370
- .n("IoTTwinMakerClient", "TagResourceCommand")
2371
- .sc(TagResource$)
2372
- .build() {
2072
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
2373
2073
  }
2374
2074
 
2375
- class UntagResourceCommand extends Command
2376
- .classBuilder()
2377
- .ep(commonParams)
2378
- .m(function (Command, cs, config, o) {
2379
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2380
- })
2381
- .s("AWSIoTTwinMaker", "UntagResource", {})
2382
- .n("IoTTwinMakerClient", "UntagResourceCommand")
2383
- .sc(UntagResource$)
2384
- .build() {
2075
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
2385
2076
  }
2386
2077
 
2387
- class UpdateComponentTypeCommand extends Command
2388
- .classBuilder()
2389
- .ep(commonParams)
2390
- .m(function (Command, cs, config, o) {
2391
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2392
- })
2393
- .s("AWSIoTTwinMaker", "UpdateComponentType", {})
2394
- .n("IoTTwinMakerClient", "UpdateComponentTypeCommand")
2395
- .sc(UpdateComponentType$)
2396
- .build() {
2078
+ class UpdateComponentTypeCommand extends command(_ep0, _mw0, "UpdateComponentType", UpdateComponentType$) {
2397
2079
  }
2398
2080
 
2399
- class UpdateEntityCommand extends Command
2400
- .classBuilder()
2401
- .ep(commonParams)
2402
- .m(function (Command, cs, config, o) {
2403
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2404
- })
2405
- .s("AWSIoTTwinMaker", "UpdateEntity", {})
2406
- .n("IoTTwinMakerClient", "UpdateEntityCommand")
2407
- .sc(UpdateEntity$)
2408
- .build() {
2081
+ class UpdateEntityCommand extends command(_ep0, _mw0, "UpdateEntity", UpdateEntity$) {
2409
2082
  }
2410
2083
 
2411
- class UpdatePricingPlanCommand extends Command
2412
- .classBuilder()
2413
- .ep(commonParams)
2414
- .m(function (Command, cs, config, o) {
2415
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2416
- })
2417
- .s("AWSIoTTwinMaker", "UpdatePricingPlan", {})
2418
- .n("IoTTwinMakerClient", "UpdatePricingPlanCommand")
2419
- .sc(UpdatePricingPlan$)
2420
- .build() {
2084
+ class UpdatePricingPlanCommand extends command(_ep0, _mw0, "UpdatePricingPlan", UpdatePricingPlan$) {
2421
2085
  }
2422
2086
 
2423
- class UpdateSceneCommand extends Command
2424
- .classBuilder()
2425
- .ep(commonParams)
2426
- .m(function (Command, cs, config, o) {
2427
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2428
- })
2429
- .s("AWSIoTTwinMaker", "UpdateScene", {})
2430
- .n("IoTTwinMakerClient", "UpdateSceneCommand")
2431
- .sc(UpdateScene$)
2432
- .build() {
2087
+ class UpdateSceneCommand extends command(_ep0, _mw0, "UpdateScene", UpdateScene$) {
2433
2088
  }
2434
2089
 
2435
- class UpdateWorkspaceCommand extends Command
2436
- .classBuilder()
2437
- .ep(commonParams)
2438
- .m(function (Command, cs, config, o) {
2439
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2440
- })
2441
- .s("AWSIoTTwinMaker", "UpdateWorkspace", {})
2442
- .n("IoTTwinMakerClient", "UpdateWorkspaceCommand")
2443
- .sc(UpdateWorkspace$)
2444
- .build() {
2090
+ class UpdateWorkspaceCommand extends command(_ep0, _mw0, "UpdateWorkspace", UpdateWorkspace$) {
2445
2091
  }
2446
2092
 
2447
2093
  const paginateExecuteQuery = createPaginator(IoTTwinMakerClient, ExecuteQueryCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AWSIoTTwinMaker", "IoTTwinMakerClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { BatchPutPropertyValues$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchPutPropertyValuesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSIoTTwinMaker", "BatchPutPropertyValues", {})
13
- .n("IoTTwinMakerClient", "BatchPutPropertyValuesCommand")
14
- .sc(BatchPutPropertyValues$)
15
- .build() {
3
+ export class BatchPutPropertyValuesCommand extends command(_ep0, _mw0, "BatchPutPropertyValues", BatchPutPropertyValues$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CancelMetadataTransferJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelMetadataTransferJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSIoTTwinMaker", "CancelMetadataTransferJob", {})
13
- .n("IoTTwinMakerClient", "CancelMetadataTransferJobCommand")
14
- .sc(CancelMetadataTransferJob$)
15
- .build() {
3
+ export class CancelMetadataTransferJobCommand extends command(_ep0, _mw0, "CancelMetadataTransferJob", CancelMetadataTransferJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateComponentType$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateComponentTypeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSIoTTwinMaker", "CreateComponentType", {})
13
- .n("IoTTwinMakerClient", "CreateComponentTypeCommand")
14
- .sc(CreateComponentType$)
15
- .build() {
3
+ export class CreateComponentTypeCommand extends command(_ep0, _mw0, "CreateComponentType", CreateComponentType$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateEntity$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateEntityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSIoTTwinMaker", "CreateEntity", {})
13
- .n("IoTTwinMakerClient", "CreateEntityCommand")
14
- .sc(CreateEntity$)
15
- .build() {
3
+ export class CreateEntityCommand extends command(_ep0, _mw0, "CreateEntity", CreateEntity$) {
16
4
  }