@aws-sdk/client-greengrass 3.36.0 → 3.36.1

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 (201) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/Greengrass.js +0 -3
  3. package/dist-cjs/GreengrassClient.js +0 -8
  4. package/dist-cjs/commands/AssociateRoleToGroupCommand.js +0 -24
  5. package/dist-cjs/commands/AssociateServiceRoleToAccountCommand.js +0 -24
  6. package/dist-cjs/commands/CreateConnectorDefinitionCommand.js +0 -24
  7. package/dist-cjs/commands/CreateConnectorDefinitionVersionCommand.js +0 -24
  8. package/dist-cjs/commands/CreateCoreDefinitionCommand.js +0 -24
  9. package/dist-cjs/commands/CreateCoreDefinitionVersionCommand.js +0 -24
  10. package/dist-cjs/commands/CreateDeploymentCommand.js +0 -24
  11. package/dist-cjs/commands/CreateDeviceDefinitionCommand.js +0 -24
  12. package/dist-cjs/commands/CreateDeviceDefinitionVersionCommand.js +0 -24
  13. package/dist-cjs/commands/CreateFunctionDefinitionCommand.js +0 -24
  14. package/dist-cjs/commands/CreateFunctionDefinitionVersionCommand.js +0 -24
  15. package/dist-cjs/commands/CreateGroupCertificateAuthorityCommand.js +0 -24
  16. package/dist-cjs/commands/CreateGroupCommand.js +0 -24
  17. package/dist-cjs/commands/CreateGroupVersionCommand.js +0 -24
  18. package/dist-cjs/commands/CreateLoggerDefinitionCommand.js +0 -24
  19. package/dist-cjs/commands/CreateLoggerDefinitionVersionCommand.js +0 -24
  20. package/dist-cjs/commands/CreateResourceDefinitionCommand.js +0 -24
  21. package/dist-cjs/commands/CreateResourceDefinitionVersionCommand.js +0 -24
  22. package/dist-cjs/commands/CreateSoftwareUpdateJobCommand.js +0 -24
  23. package/dist-cjs/commands/CreateSubscriptionDefinitionCommand.js +0 -24
  24. package/dist-cjs/commands/CreateSubscriptionDefinitionVersionCommand.js +0 -24
  25. package/dist-cjs/commands/DeleteConnectorDefinitionCommand.js +0 -24
  26. package/dist-cjs/commands/DeleteCoreDefinitionCommand.js +0 -24
  27. package/dist-cjs/commands/DeleteDeviceDefinitionCommand.js +0 -24
  28. package/dist-cjs/commands/DeleteFunctionDefinitionCommand.js +0 -24
  29. package/dist-cjs/commands/DeleteGroupCommand.js +0 -24
  30. package/dist-cjs/commands/DeleteLoggerDefinitionCommand.js +0 -24
  31. package/dist-cjs/commands/DeleteResourceDefinitionCommand.js +0 -24
  32. package/dist-cjs/commands/DeleteSubscriptionDefinitionCommand.js +0 -24
  33. package/dist-cjs/commands/DisassociateRoleFromGroupCommand.js +0 -24
  34. package/dist-cjs/commands/DisassociateServiceRoleFromAccountCommand.js +0 -24
  35. package/dist-cjs/commands/GetAssociatedRoleCommand.js +0 -24
  36. package/dist-cjs/commands/GetBulkDeploymentStatusCommand.js +0 -24
  37. package/dist-cjs/commands/GetConnectivityInfoCommand.js +0 -24
  38. package/dist-cjs/commands/GetConnectorDefinitionCommand.js +0 -24
  39. package/dist-cjs/commands/GetConnectorDefinitionVersionCommand.js +0 -24
  40. package/dist-cjs/commands/GetCoreDefinitionCommand.js +0 -24
  41. package/dist-cjs/commands/GetCoreDefinitionVersionCommand.js +0 -24
  42. package/dist-cjs/commands/GetDeploymentStatusCommand.js +0 -24
  43. package/dist-cjs/commands/GetDeviceDefinitionCommand.js +0 -24
  44. package/dist-cjs/commands/GetDeviceDefinitionVersionCommand.js +0 -24
  45. package/dist-cjs/commands/GetFunctionDefinitionCommand.js +0 -24
  46. package/dist-cjs/commands/GetFunctionDefinitionVersionCommand.js +0 -24
  47. package/dist-cjs/commands/GetGroupCertificateAuthorityCommand.js +0 -24
  48. package/dist-cjs/commands/GetGroupCertificateConfigurationCommand.js +0 -24
  49. package/dist-cjs/commands/GetGroupCommand.js +0 -24
  50. package/dist-cjs/commands/GetGroupVersionCommand.js +0 -24
  51. package/dist-cjs/commands/GetLoggerDefinitionCommand.js +0 -24
  52. package/dist-cjs/commands/GetLoggerDefinitionVersionCommand.js +0 -24
  53. package/dist-cjs/commands/GetResourceDefinitionCommand.js +0 -24
  54. package/dist-cjs/commands/GetResourceDefinitionVersionCommand.js +0 -24
  55. package/dist-cjs/commands/GetServiceRoleForAccountCommand.js +0 -24
  56. package/dist-cjs/commands/GetSubscriptionDefinitionCommand.js +0 -24
  57. package/dist-cjs/commands/GetSubscriptionDefinitionVersionCommand.js +0 -24
  58. package/dist-cjs/commands/GetThingRuntimeConfigurationCommand.js +0 -24
  59. package/dist-cjs/commands/ListBulkDeploymentDetailedReportsCommand.js +0 -24
  60. package/dist-cjs/commands/ListBulkDeploymentsCommand.js +0 -24
  61. package/dist-cjs/commands/ListConnectorDefinitionVersionsCommand.js +0 -24
  62. package/dist-cjs/commands/ListConnectorDefinitionsCommand.js +0 -24
  63. package/dist-cjs/commands/ListCoreDefinitionVersionsCommand.js +0 -24
  64. package/dist-cjs/commands/ListCoreDefinitionsCommand.js +0 -24
  65. package/dist-cjs/commands/ListDeploymentsCommand.js +0 -24
  66. package/dist-cjs/commands/ListDeviceDefinitionVersionsCommand.js +0 -24
  67. package/dist-cjs/commands/ListDeviceDefinitionsCommand.js +0 -24
  68. package/dist-cjs/commands/ListFunctionDefinitionVersionsCommand.js +0 -24
  69. package/dist-cjs/commands/ListFunctionDefinitionsCommand.js +0 -24
  70. package/dist-cjs/commands/ListGroupCertificateAuthoritiesCommand.js +0 -24
  71. package/dist-cjs/commands/ListGroupVersionsCommand.js +0 -24
  72. package/dist-cjs/commands/ListGroupsCommand.js +0 -24
  73. package/dist-cjs/commands/ListLoggerDefinitionVersionsCommand.js +0 -24
  74. package/dist-cjs/commands/ListLoggerDefinitionsCommand.js +0 -24
  75. package/dist-cjs/commands/ListResourceDefinitionVersionsCommand.js +0 -24
  76. package/dist-cjs/commands/ListResourceDefinitionsCommand.js +0 -24
  77. package/dist-cjs/commands/ListSubscriptionDefinitionVersionsCommand.js +0 -24
  78. package/dist-cjs/commands/ListSubscriptionDefinitionsCommand.js +0 -24
  79. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
  80. package/dist-cjs/commands/ResetDeploymentsCommand.js +0 -24
  81. package/dist-cjs/commands/StartBulkDeploymentCommand.js +0 -24
  82. package/dist-cjs/commands/StopBulkDeploymentCommand.js +0 -24
  83. package/dist-cjs/commands/TagResourceCommand.js +0 -24
  84. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  85. package/dist-cjs/commands/UpdateConnectivityInfoCommand.js +0 -24
  86. package/dist-cjs/commands/UpdateConnectorDefinitionCommand.js +0 -24
  87. package/dist-cjs/commands/UpdateCoreDefinitionCommand.js +0 -24
  88. package/dist-cjs/commands/UpdateDeviceDefinitionCommand.js +0 -24
  89. package/dist-cjs/commands/UpdateFunctionDefinitionCommand.js +0 -24
  90. package/dist-cjs/commands/UpdateGroupCertificateConfigurationCommand.js +0 -24
  91. package/dist-cjs/commands/UpdateGroupCommand.js +0 -24
  92. package/dist-cjs/commands/UpdateLoggerDefinitionCommand.js +0 -24
  93. package/dist-cjs/commands/UpdateResourceDefinitionCommand.js +0 -24
  94. package/dist-cjs/commands/UpdateSubscriptionDefinitionCommand.js +0 -24
  95. package/dist-cjs/commands/UpdateThingRuntimeConfigurationCommand.js +0 -24
  96. package/dist-cjs/models/models_0.js +0 -681
  97. package/dist-cjs/protocols/Aws_restJson1.js +0 -5
  98. package/dist-cjs/runtimeConfig.browser.js +1 -5
  99. package/dist-cjs/runtimeConfig.js +1 -5
  100. package/dist-cjs/runtimeConfig.native.js +0 -3
  101. package/dist-cjs/runtimeConfig.shared.js +0 -3
  102. package/dist-types/ts3.4/Greengrass.d.ts +93 -279
  103. package/dist-types/ts3.4/GreengrassClient.d.ts +24 -89
  104. package/dist-types/ts3.4/commands/AssociateRoleToGroupCommand.d.ts +2 -20
  105. package/dist-types/ts3.4/commands/AssociateServiceRoleToAccountCommand.d.ts +2 -20
  106. package/dist-types/ts3.4/commands/CreateConnectorDefinitionCommand.d.ts +2 -20
  107. package/dist-types/ts3.4/commands/CreateConnectorDefinitionVersionCommand.d.ts +2 -20
  108. package/dist-types/ts3.4/commands/CreateCoreDefinitionCommand.d.ts +2 -20
  109. package/dist-types/ts3.4/commands/CreateCoreDefinitionVersionCommand.d.ts +2 -20
  110. package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +2 -20
  111. package/dist-types/ts3.4/commands/CreateDeviceDefinitionCommand.d.ts +2 -20
  112. package/dist-types/ts3.4/commands/CreateDeviceDefinitionVersionCommand.d.ts +2 -20
  113. package/dist-types/ts3.4/commands/CreateFunctionDefinitionCommand.d.ts +2 -20
  114. package/dist-types/ts3.4/commands/CreateFunctionDefinitionVersionCommand.d.ts +2 -20
  115. package/dist-types/ts3.4/commands/CreateGroupCertificateAuthorityCommand.d.ts +2 -20
  116. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +2 -20
  117. package/dist-types/ts3.4/commands/CreateGroupVersionCommand.d.ts +2 -20
  118. package/dist-types/ts3.4/commands/CreateLoggerDefinitionCommand.d.ts +2 -20
  119. package/dist-types/ts3.4/commands/CreateLoggerDefinitionVersionCommand.d.ts +2 -20
  120. package/dist-types/ts3.4/commands/CreateResourceDefinitionCommand.d.ts +2 -20
  121. package/dist-types/ts3.4/commands/CreateResourceDefinitionVersionCommand.d.ts +2 -20
  122. package/dist-types/ts3.4/commands/CreateSoftwareUpdateJobCommand.d.ts +2 -20
  123. package/dist-types/ts3.4/commands/CreateSubscriptionDefinitionCommand.d.ts +2 -20
  124. package/dist-types/ts3.4/commands/CreateSubscriptionDefinitionVersionCommand.d.ts +2 -20
  125. package/dist-types/ts3.4/commands/DeleteConnectorDefinitionCommand.d.ts +2 -20
  126. package/dist-types/ts3.4/commands/DeleteCoreDefinitionCommand.d.ts +2 -20
  127. package/dist-types/ts3.4/commands/DeleteDeviceDefinitionCommand.d.ts +2 -20
  128. package/dist-types/ts3.4/commands/DeleteFunctionDefinitionCommand.d.ts +2 -20
  129. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +2 -20
  130. package/dist-types/ts3.4/commands/DeleteLoggerDefinitionCommand.d.ts +2 -20
  131. package/dist-types/ts3.4/commands/DeleteResourceDefinitionCommand.d.ts +2 -20
  132. package/dist-types/ts3.4/commands/DeleteSubscriptionDefinitionCommand.d.ts +2 -20
  133. package/dist-types/ts3.4/commands/DisassociateRoleFromGroupCommand.d.ts +2 -20
  134. package/dist-types/ts3.4/commands/DisassociateServiceRoleFromAccountCommand.d.ts +2 -20
  135. package/dist-types/ts3.4/commands/GetAssociatedRoleCommand.d.ts +2 -20
  136. package/dist-types/ts3.4/commands/GetBulkDeploymentStatusCommand.d.ts +2 -20
  137. package/dist-types/ts3.4/commands/GetConnectivityInfoCommand.d.ts +2 -20
  138. package/dist-types/ts3.4/commands/GetConnectorDefinitionCommand.d.ts +2 -20
  139. package/dist-types/ts3.4/commands/GetConnectorDefinitionVersionCommand.d.ts +2 -20
  140. package/dist-types/ts3.4/commands/GetCoreDefinitionCommand.d.ts +2 -20
  141. package/dist-types/ts3.4/commands/GetCoreDefinitionVersionCommand.d.ts +2 -20
  142. package/dist-types/ts3.4/commands/GetDeploymentStatusCommand.d.ts +2 -20
  143. package/dist-types/ts3.4/commands/GetDeviceDefinitionCommand.d.ts +2 -20
  144. package/dist-types/ts3.4/commands/GetDeviceDefinitionVersionCommand.d.ts +2 -20
  145. package/dist-types/ts3.4/commands/GetFunctionDefinitionCommand.d.ts +2 -20
  146. package/dist-types/ts3.4/commands/GetFunctionDefinitionVersionCommand.d.ts +2 -20
  147. package/dist-types/ts3.4/commands/GetGroupCertificateAuthorityCommand.d.ts +2 -20
  148. package/dist-types/ts3.4/commands/GetGroupCertificateConfigurationCommand.d.ts +2 -20
  149. package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +2 -20
  150. package/dist-types/ts3.4/commands/GetGroupVersionCommand.d.ts +2 -20
  151. package/dist-types/ts3.4/commands/GetLoggerDefinitionCommand.d.ts +2 -20
  152. package/dist-types/ts3.4/commands/GetLoggerDefinitionVersionCommand.d.ts +2 -20
  153. package/dist-types/ts3.4/commands/GetResourceDefinitionCommand.d.ts +2 -20
  154. package/dist-types/ts3.4/commands/GetResourceDefinitionVersionCommand.d.ts +2 -20
  155. package/dist-types/ts3.4/commands/GetServiceRoleForAccountCommand.d.ts +2 -20
  156. package/dist-types/ts3.4/commands/GetSubscriptionDefinitionCommand.d.ts +2 -20
  157. package/dist-types/ts3.4/commands/GetSubscriptionDefinitionVersionCommand.d.ts +2 -20
  158. package/dist-types/ts3.4/commands/GetThingRuntimeConfigurationCommand.d.ts +2 -20
  159. package/dist-types/ts3.4/commands/ListBulkDeploymentDetailedReportsCommand.d.ts +2 -20
  160. package/dist-types/ts3.4/commands/ListBulkDeploymentsCommand.d.ts +2 -20
  161. package/dist-types/ts3.4/commands/ListConnectorDefinitionVersionsCommand.d.ts +2 -20
  162. package/dist-types/ts3.4/commands/ListConnectorDefinitionsCommand.d.ts +2 -20
  163. package/dist-types/ts3.4/commands/ListCoreDefinitionVersionsCommand.d.ts +2 -20
  164. package/dist-types/ts3.4/commands/ListCoreDefinitionsCommand.d.ts +2 -20
  165. package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +2 -20
  166. package/dist-types/ts3.4/commands/ListDeviceDefinitionVersionsCommand.d.ts +2 -20
  167. package/dist-types/ts3.4/commands/ListDeviceDefinitionsCommand.d.ts +2 -20
  168. package/dist-types/ts3.4/commands/ListFunctionDefinitionVersionsCommand.d.ts +2 -20
  169. package/dist-types/ts3.4/commands/ListFunctionDefinitionsCommand.d.ts +2 -20
  170. package/dist-types/ts3.4/commands/ListGroupCertificateAuthoritiesCommand.d.ts +2 -20
  171. package/dist-types/ts3.4/commands/ListGroupVersionsCommand.d.ts +2 -20
  172. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +2 -20
  173. package/dist-types/ts3.4/commands/ListLoggerDefinitionVersionsCommand.d.ts +2 -20
  174. package/dist-types/ts3.4/commands/ListLoggerDefinitionsCommand.d.ts +2 -20
  175. package/dist-types/ts3.4/commands/ListResourceDefinitionVersionsCommand.d.ts +2 -20
  176. package/dist-types/ts3.4/commands/ListResourceDefinitionsCommand.d.ts +2 -20
  177. package/dist-types/ts3.4/commands/ListSubscriptionDefinitionVersionsCommand.d.ts +2 -20
  178. package/dist-types/ts3.4/commands/ListSubscriptionDefinitionsCommand.d.ts +2 -20
  179. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  180. package/dist-types/ts3.4/commands/ResetDeploymentsCommand.d.ts +2 -20
  181. package/dist-types/ts3.4/commands/StartBulkDeploymentCommand.d.ts +2 -20
  182. package/dist-types/ts3.4/commands/StopBulkDeploymentCommand.d.ts +2 -20
  183. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  184. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  185. package/dist-types/ts3.4/commands/UpdateConnectivityInfoCommand.d.ts +2 -20
  186. package/dist-types/ts3.4/commands/UpdateConnectorDefinitionCommand.d.ts +2 -20
  187. package/dist-types/ts3.4/commands/UpdateCoreDefinitionCommand.d.ts +2 -20
  188. package/dist-types/ts3.4/commands/UpdateDeviceDefinitionCommand.d.ts +2 -20
  189. package/dist-types/ts3.4/commands/UpdateFunctionDefinitionCommand.d.ts +2 -20
  190. package/dist-types/ts3.4/commands/UpdateGroupCertificateConfigurationCommand.d.ts +2 -20
  191. package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +2 -20
  192. package/dist-types/ts3.4/commands/UpdateLoggerDefinitionCommand.d.ts +2 -20
  193. package/dist-types/ts3.4/commands/UpdateResourceDefinitionCommand.d.ts +2 -20
  194. package/dist-types/ts3.4/commands/UpdateSubscriptionDefinitionCommand.d.ts +2 -20
  195. package/dist-types/ts3.4/commands/UpdateThingRuntimeConfigurationCommand.d.ts +2 -20
  196. package/dist-types/ts3.4/models/models_0.d.ts +905 -2715
  197. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  198. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  199. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  200. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  201. package/package.json +3 -3
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Retrieves the connectivity information for a core.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GreengrassClient, GetConnectivityInfoCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
14
- * // const { GreengrassClient, GetConnectivityInfoCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
15
- * const client = new GreengrassClient(config);
16
- * const command = new GetConnectivityInfoCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetConnectivityInfoCommandInput} for command's `input` shape.
21
- * @see {@link GetConnectivityInfoCommandOutput} for command's `response` shape.
22
- * @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetConnectivityInfoCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Retrieves information about a connector definition.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GreengrassClient, GetConnectorDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
14
- * // const { GreengrassClient, GetConnectorDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
15
- * const client = new GreengrassClient(config);
16
- * const command = new GetConnectorDefinitionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetConnectorDefinitionCommandInput} for command's `input` shape.
21
- * @see {@link GetConnectorDefinitionCommandOutput} for command's `response` shape.
22
- * @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetConnectorDefinitionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Retrieves information about a connector definition version, including the connectors that the version contains. Connectors are prebuilt modules that interact with local infrastructure, device protocols, AWS, and other cloud services.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GreengrassClient, GetConnectorDefinitionVersionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
14
- * // const { GreengrassClient, GetConnectorDefinitionVersionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
15
- * const client = new GreengrassClient(config);
16
- * const command = new GetConnectorDefinitionVersionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetConnectorDefinitionVersionCommandInput} for command's `input` shape.
21
- * @see {@link GetConnectorDefinitionVersionCommandOutput} for command's `response` shape.
22
- * @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetConnectorDefinitionVersionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Retrieves information about a core definition version.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GreengrassClient, GetCoreDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
14
- * // const { GreengrassClient, GetCoreDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
15
- * const client = new GreengrassClient(config);
16
- * const command = new GetCoreDefinitionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetCoreDefinitionCommandInput} for command's `input` shape.
21
- * @see {@link GetCoreDefinitionCommandOutput} for command's `response` shape.
22
- * @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetCoreDefinitionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Retrieves information about a core definition version.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GreengrassClient, GetCoreDefinitionVersionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
14
- * // const { GreengrassClient, GetCoreDefinitionVersionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
15
- * const client = new GreengrassClient(config);
16
- * const command = new GetCoreDefinitionVersionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetCoreDefinitionVersionCommandInput} for command's `input` shape.
21
- * @see {@link GetCoreDefinitionVersionCommandOutput} for command's `response` shape.
22
- * @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetCoreDefinitionVersionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Returns the status of a deployment.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GreengrassClient, GetDeploymentStatusCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
14
- * // const { GreengrassClient, GetDeploymentStatusCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
15
- * const client = new GreengrassClient(config);
16
- * const command = new GetDeploymentStatusCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetDeploymentStatusCommandInput} for command's `input` shape.
21
- * @see {@link GetDeploymentStatusCommandOutput} for command's `response` shape.
22
- * @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetDeploymentStatusCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Retrieves information about a device definition.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GreengrassClient, GetDeviceDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
14
- * // const { GreengrassClient, GetDeviceDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
15
- * const client = new GreengrassClient(config);
16
- * const command = new GetDeviceDefinitionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetDeviceDefinitionCommandInput} for command's `input` shape.
21
- * @see {@link GetDeviceDefinitionCommandOutput} for command's `response` shape.
22
- * @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetDeviceDefinitionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Retrieves information about a device definition version.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GreengrassClient, GetDeviceDefinitionVersionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
14
- * // const { GreengrassClient, GetDeviceDefinitionVersionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
15
- * const client = new GreengrassClient(config);
16
- * const command = new GetDeviceDefinitionVersionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetDeviceDefinitionVersionCommandInput} for command's `input` shape.
21
- * @see {@link GetDeviceDefinitionVersionCommandOutput} for command's `response` shape.
22
- * @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetDeviceDefinitionVersionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Retrieves information about a Lambda function definition, including its creation time and latest version.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GreengrassClient, GetFunctionDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
14
- * // const { GreengrassClient, GetFunctionDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
15
- * const client = new GreengrassClient(config);
16
- * const command = new GetFunctionDefinitionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetFunctionDefinitionCommandInput} for command's `input` shape.
21
- * @see {@link GetFunctionDefinitionCommandOutput} for command's `response` shape.
22
- * @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetFunctionDefinitionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Retrieves information about a Lambda function definition version, including which Lambda functions are included in the version and their configurations.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GreengrassClient, GetFunctionDefinitionVersionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
14
- * // const { GreengrassClient, GetFunctionDefinitionVersionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
15
- * const client = new GreengrassClient(config);
16
- * const command = new GetFunctionDefinitionVersionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetFunctionDefinitionVersionCommandInput} for command's `input` shape.
21
- * @see {@link GetFunctionDefinitionVersionCommandOutput} for command's `response` shape.
22
- * @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetFunctionDefinitionVersionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Retreives the CA associated with a group. Returns the public key of the CA.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GreengrassClient, GetGroupCertificateAuthorityCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
14
- * // const { GreengrassClient, GetGroupCertificateAuthorityCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
15
- * const client = new GreengrassClient(config);
16
- * const command = new GetGroupCertificateAuthorityCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetGroupCertificateAuthorityCommandInput} for command's `input` shape.
21
- * @see {@link GetGroupCertificateAuthorityCommandOutput} for command's `response` shape.
22
- * @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetGroupCertificateAuthorityCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Retrieves the current configuration for the CA used by the group.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GreengrassClient, GetGroupCertificateConfigurationCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
14
- * // const { GreengrassClient, GetGroupCertificateConfigurationCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
15
- * const client = new GreengrassClient(config);
16
- * const command = new GetGroupCertificateConfigurationCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetGroupCertificateConfigurationCommandInput} for command's `input` shape.
21
- * @see {@link GetGroupCertificateConfigurationCommandOutput} for command's `response` shape.
22
- * @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetGroupCertificateConfigurationCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Retrieves information about a group.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GreengrassClient, GetGroupCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
14
- * // const { GreengrassClient, GetGroupCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
15
- * const client = new GreengrassClient(config);
16
- * const command = new GetGroupCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetGroupCommandInput} for command's `input` shape.
21
- * @see {@link GetGroupCommandOutput} for command's `response` shape.
22
- * @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetGroupCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Retrieves information about a group version.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GreengrassClient, GetGroupVersionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
14
- * // const { GreengrassClient, GetGroupVersionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
15
- * const client = new GreengrassClient(config);
16
- * const command = new GetGroupVersionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetGroupVersionCommandInput} for command's `input` shape.
21
- * @see {@link GetGroupVersionCommandOutput} for command's `response` shape.
22
- * @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetGroupVersionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Retrieves information about a logger definition.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GreengrassClient, GetLoggerDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
14
- * // const { GreengrassClient, GetLoggerDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
15
- * const client = new GreengrassClient(config);
16
- * const command = new GetLoggerDefinitionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetLoggerDefinitionCommandInput} for command's `input` shape.
21
- * @see {@link GetLoggerDefinitionCommandOutput} for command's `response` shape.
22
- * @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetLoggerDefinitionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Retrieves information about a logger definition version.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GreengrassClient, GetLoggerDefinitionVersionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
14
- * // const { GreengrassClient, GetLoggerDefinitionVersionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
15
- * const client = new GreengrassClient(config);
16
- * const command = new GetLoggerDefinitionVersionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetLoggerDefinitionVersionCommandInput} for command's `input` shape.
21
- * @see {@link GetLoggerDefinitionVersionCommandOutput} for command's `response` shape.
22
- * @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetLoggerDefinitionVersionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Retrieves information about a resource definition, including its creation time and latest version.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GreengrassClient, GetResourceDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
14
- * // const { GreengrassClient, GetResourceDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
15
- * const client = new GreengrassClient(config);
16
- * const command = new GetResourceDefinitionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetResourceDefinitionCommandInput} for command's `input` shape.
21
- * @see {@link GetResourceDefinitionCommandOutput} for command's `response` shape.
22
- * @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetResourceDefinitionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);