@aws-sdk/client-greengrassv2 3.35.0 → 3.36.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 (216) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/GreengrassV2.js +0 -1
  3. package/dist-cjs/GreengrassV2Client.js +0 -1
  4. package/dist-cjs/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +0 -1
  5. package/dist-cjs/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +0 -1
  6. package/dist-cjs/commands/CancelDeploymentCommand.js +0 -1
  7. package/dist-cjs/commands/CreateComponentVersionCommand.js +0 -1
  8. package/dist-cjs/commands/CreateDeploymentCommand.js +0 -1
  9. package/dist-cjs/commands/DeleteComponentCommand.js +0 -1
  10. package/dist-cjs/commands/DeleteCoreDeviceCommand.js +0 -1
  11. package/dist-cjs/commands/DescribeComponentCommand.js +0 -1
  12. package/dist-cjs/commands/GetComponentCommand.js +0 -1
  13. package/dist-cjs/commands/GetComponentVersionArtifactCommand.js +0 -1
  14. package/dist-cjs/commands/GetCoreDeviceCommand.js +0 -1
  15. package/dist-cjs/commands/GetDeploymentCommand.js +0 -1
  16. package/dist-cjs/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +0 -1
  17. package/dist-cjs/commands/ListComponentVersionsCommand.js +0 -1
  18. package/dist-cjs/commands/ListComponentsCommand.js +0 -1
  19. package/dist-cjs/commands/ListCoreDevicesCommand.js +0 -1
  20. package/dist-cjs/commands/ListDeploymentsCommand.js +0 -1
  21. package/dist-cjs/commands/ListEffectiveDeploymentsCommand.js +0 -1
  22. package/dist-cjs/commands/ListInstalledComponentsCommand.js +0 -1
  23. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  24. package/dist-cjs/commands/ResolveComponentCandidatesCommand.js +0 -1
  25. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  26. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  27. package/dist-cjs/endpoints.js +0 -1
  28. package/dist-cjs/index.js +0 -1
  29. package/dist-cjs/models/index.js +0 -1
  30. package/dist-cjs/models/models_0.js +0 -1
  31. package/dist-cjs/pagination/Interfaces.js +0 -1
  32. package/dist-cjs/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.js +0 -1
  33. package/dist-cjs/pagination/ListComponentVersionsPaginator.js +0 -1
  34. package/dist-cjs/pagination/ListComponentsPaginator.js +0 -1
  35. package/dist-cjs/pagination/ListCoreDevicesPaginator.js +0 -1
  36. package/dist-cjs/pagination/ListDeploymentsPaginator.js +0 -1
  37. package/dist-cjs/pagination/ListEffectiveDeploymentsPaginator.js +0 -1
  38. package/dist-cjs/pagination/ListInstalledComponentsPaginator.js +0 -1
  39. package/dist-cjs/protocols/Aws_restJson1.js +0 -1
  40. package/dist-cjs/runtimeConfig.browser.js +2 -3
  41. package/dist-cjs/runtimeConfig.js +3 -4
  42. package/dist-cjs/runtimeConfig.native.js +0 -1
  43. package/dist-cjs/runtimeConfig.shared.js +0 -1
  44. package/dist-es/GreengrassV2.js +0 -1
  45. package/dist-es/GreengrassV2Client.js +0 -1
  46. package/dist-es/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +0 -1
  47. package/dist-es/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +0 -1
  48. package/dist-es/commands/CancelDeploymentCommand.js +0 -1
  49. package/dist-es/commands/CreateComponentVersionCommand.js +0 -1
  50. package/dist-es/commands/CreateDeploymentCommand.js +0 -1
  51. package/dist-es/commands/DeleteComponentCommand.js +0 -1
  52. package/dist-es/commands/DeleteCoreDeviceCommand.js +0 -1
  53. package/dist-es/commands/DescribeComponentCommand.js +0 -1
  54. package/dist-es/commands/GetComponentCommand.js +0 -1
  55. package/dist-es/commands/GetComponentVersionArtifactCommand.js +0 -1
  56. package/dist-es/commands/GetCoreDeviceCommand.js +0 -1
  57. package/dist-es/commands/GetDeploymentCommand.js +0 -1
  58. package/dist-es/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +0 -1
  59. package/dist-es/commands/ListComponentVersionsCommand.js +0 -1
  60. package/dist-es/commands/ListComponentsCommand.js +0 -1
  61. package/dist-es/commands/ListCoreDevicesCommand.js +0 -1
  62. package/dist-es/commands/ListDeploymentsCommand.js +0 -1
  63. package/dist-es/commands/ListEffectiveDeploymentsCommand.js +0 -1
  64. package/dist-es/commands/ListInstalledComponentsCommand.js +0 -1
  65. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  66. package/dist-es/commands/ResolveComponentCandidatesCommand.js +0 -1
  67. package/dist-es/commands/TagResourceCommand.js +0 -1
  68. package/dist-es/commands/UntagResourceCommand.js +0 -1
  69. package/dist-es/endpoints.js +0 -1
  70. package/dist-es/index.js +0 -1
  71. package/dist-es/models/index.js +0 -1
  72. package/dist-es/models/models_0.js +0 -1
  73. package/dist-es/pagination/Interfaces.js +0 -1
  74. package/dist-es/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.js +0 -1
  75. package/dist-es/pagination/ListComponentVersionsPaginator.js +0 -1
  76. package/dist-es/pagination/ListComponentsPaginator.js +0 -1
  77. package/dist-es/pagination/ListCoreDevicesPaginator.js +0 -1
  78. package/dist-es/pagination/ListDeploymentsPaginator.js +0 -1
  79. package/dist-es/pagination/ListEffectiveDeploymentsPaginator.js +0 -1
  80. package/dist-es/pagination/ListInstalledComponentsPaginator.js +0 -1
  81. package/dist-es/protocols/Aws_restJson1.js +0 -1
  82. package/dist-es/runtimeConfig.browser.js +1 -2
  83. package/dist-es/runtimeConfig.js +2 -3
  84. package/dist-es/runtimeConfig.native.js +0 -1
  85. package/dist-es/runtimeConfig.shared.js +0 -1
  86. package/package.json +33 -30
  87. package/dist-cjs/GreengrassV2.js.map +0 -1
  88. package/dist-cjs/GreengrassV2Client.js.map +0 -1
  89. package/dist-cjs/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js.map +0 -1
  90. package/dist-cjs/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js.map +0 -1
  91. package/dist-cjs/commands/CancelDeploymentCommand.js.map +0 -1
  92. package/dist-cjs/commands/CreateComponentVersionCommand.js.map +0 -1
  93. package/dist-cjs/commands/CreateDeploymentCommand.js.map +0 -1
  94. package/dist-cjs/commands/DeleteComponentCommand.js.map +0 -1
  95. package/dist-cjs/commands/DeleteCoreDeviceCommand.js.map +0 -1
  96. package/dist-cjs/commands/DescribeComponentCommand.js.map +0 -1
  97. package/dist-cjs/commands/GetComponentCommand.js.map +0 -1
  98. package/dist-cjs/commands/GetComponentVersionArtifactCommand.js.map +0 -1
  99. package/dist-cjs/commands/GetCoreDeviceCommand.js.map +0 -1
  100. package/dist-cjs/commands/GetDeploymentCommand.js.map +0 -1
  101. package/dist-cjs/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js.map +0 -1
  102. package/dist-cjs/commands/ListComponentVersionsCommand.js.map +0 -1
  103. package/dist-cjs/commands/ListComponentsCommand.js.map +0 -1
  104. package/dist-cjs/commands/ListCoreDevicesCommand.js.map +0 -1
  105. package/dist-cjs/commands/ListDeploymentsCommand.js.map +0 -1
  106. package/dist-cjs/commands/ListEffectiveDeploymentsCommand.js.map +0 -1
  107. package/dist-cjs/commands/ListInstalledComponentsCommand.js.map +0 -1
  108. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  109. package/dist-cjs/commands/ResolveComponentCandidatesCommand.js.map +0 -1
  110. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  111. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  112. package/dist-cjs/endpoints.js.map +0 -1
  113. package/dist-cjs/index.js.map +0 -1
  114. package/dist-cjs/models/index.js.map +0 -1
  115. package/dist-cjs/models/models_0.js.map +0 -1
  116. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  117. package/dist-cjs/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.js.map +0 -1
  118. package/dist-cjs/pagination/ListComponentVersionsPaginator.js.map +0 -1
  119. package/dist-cjs/pagination/ListComponentsPaginator.js.map +0 -1
  120. package/dist-cjs/pagination/ListCoreDevicesPaginator.js.map +0 -1
  121. package/dist-cjs/pagination/ListDeploymentsPaginator.js.map +0 -1
  122. package/dist-cjs/pagination/ListEffectiveDeploymentsPaginator.js.map +0 -1
  123. package/dist-cjs/pagination/ListInstalledComponentsPaginator.js.map +0 -1
  124. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  125. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  126. package/dist-cjs/runtimeConfig.js.map +0 -1
  127. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  128. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  129. package/dist-es/GreengrassV2.js.map +0 -1
  130. package/dist-es/GreengrassV2Client.js.map +0 -1
  131. package/dist-es/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js.map +0 -1
  132. package/dist-es/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js.map +0 -1
  133. package/dist-es/commands/CancelDeploymentCommand.js.map +0 -1
  134. package/dist-es/commands/CreateComponentVersionCommand.js.map +0 -1
  135. package/dist-es/commands/CreateDeploymentCommand.js.map +0 -1
  136. package/dist-es/commands/DeleteComponentCommand.js.map +0 -1
  137. package/dist-es/commands/DeleteCoreDeviceCommand.js.map +0 -1
  138. package/dist-es/commands/DescribeComponentCommand.js.map +0 -1
  139. package/dist-es/commands/GetComponentCommand.js.map +0 -1
  140. package/dist-es/commands/GetComponentVersionArtifactCommand.js.map +0 -1
  141. package/dist-es/commands/GetCoreDeviceCommand.js.map +0 -1
  142. package/dist-es/commands/GetDeploymentCommand.js.map +0 -1
  143. package/dist-es/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js.map +0 -1
  144. package/dist-es/commands/ListComponentVersionsCommand.js.map +0 -1
  145. package/dist-es/commands/ListComponentsCommand.js.map +0 -1
  146. package/dist-es/commands/ListCoreDevicesCommand.js.map +0 -1
  147. package/dist-es/commands/ListDeploymentsCommand.js.map +0 -1
  148. package/dist-es/commands/ListEffectiveDeploymentsCommand.js.map +0 -1
  149. package/dist-es/commands/ListInstalledComponentsCommand.js.map +0 -1
  150. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  151. package/dist-es/commands/ResolveComponentCandidatesCommand.js.map +0 -1
  152. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  153. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  154. package/dist-es/endpoints.js.map +0 -1
  155. package/dist-es/index.js.map +0 -1
  156. package/dist-es/models/index.js.map +0 -1
  157. package/dist-es/models/models_0.js.map +0 -1
  158. package/dist-es/pagination/Interfaces.js.map +0 -1
  159. package/dist-es/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.js.map +0 -1
  160. package/dist-es/pagination/ListComponentVersionsPaginator.js.map +0 -1
  161. package/dist-es/pagination/ListComponentsPaginator.js.map +0 -1
  162. package/dist-es/pagination/ListCoreDevicesPaginator.js.map +0 -1
  163. package/dist-es/pagination/ListDeploymentsPaginator.js.map +0 -1
  164. package/dist-es/pagination/ListEffectiveDeploymentsPaginator.js.map +0 -1
  165. package/dist-es/pagination/ListInstalledComponentsPaginator.js.map +0 -1
  166. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  167. package/dist-es/runtimeConfig.browser.js.map +0 -1
  168. package/dist-es/runtimeConfig.js.map +0 -1
  169. package/dist-es/runtimeConfig.native.js.map +0 -1
  170. package/dist-es/runtimeConfig.shared.js.map +0 -1
  171. package/jest.config.js +0 -4
  172. package/src/GreengrassV2.ts +0 -970
  173. package/src/GreengrassV2Client.ts +0 -345
  174. package/src/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.ts +0 -122
  175. package/src/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.ts +0 -112
  176. package/src/commands/CancelDeploymentCommand.ts +0 -97
  177. package/src/commands/CreateComponentVersionCommand.ts +0 -148
  178. package/src/commands/CreateDeploymentCommand.ts +0 -105
  179. package/src/commands/DeleteComponentCommand.ts +0 -101
  180. package/src/commands/DeleteCoreDeviceCommand.ts +0 -98
  181. package/src/commands/DescribeComponentCommand.ts +0 -95
  182. package/src/commands/GetComponentCommand.ts +0 -96
  183. package/src/commands/GetComponentVersionArtifactCommand.ts +0 -101
  184. package/src/commands/GetCoreDeviceCommand.ts +0 -95
  185. package/src/commands/GetDeploymentCommand.ts +0 -95
  186. package/src/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.ts +0 -111
  187. package/src/commands/ListComponentVersionsCommand.ts +0 -95
  188. package/src/commands/ListComponentsCommand.ts +0 -96
  189. package/src/commands/ListCoreDevicesCommand.ts +0 -95
  190. package/src/commands/ListDeploymentsCommand.ts +0 -95
  191. package/src/commands/ListEffectiveDeploymentsCommand.ts +0 -96
  192. package/src/commands/ListInstalledComponentsCommand.ts +0 -95
  193. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  194. package/src/commands/ResolveComponentCandidatesCommand.ts +0 -112
  195. package/src/commands/TagResourceCommand.ts +0 -96
  196. package/src/commands/UntagResourceCommand.ts +0 -95
  197. package/src/endpoints.ts +0 -84
  198. package/src/index.ts +0 -34
  199. package/src/models/index.ts +0 -1
  200. package/src/models/models_0.ts +0 -2867
  201. package/src/pagination/Interfaces.ts +0 -8
  202. package/src/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.ts +0 -59
  203. package/src/pagination/ListComponentVersionsPaginator.ts +0 -59
  204. package/src/pagination/ListComponentsPaginator.ts +0 -59
  205. package/src/pagination/ListCoreDevicesPaginator.ts +0 -59
  206. package/src/pagination/ListDeploymentsPaginator.ts +0 -59
  207. package/src/pagination/ListEffectiveDeploymentsPaginator.ts +0 -59
  208. package/src/pagination/ListInstalledComponentsPaginator.ts +0 -59
  209. package/src/protocols/Aws_restJson1.ts +0 -4401
  210. package/src/runtimeConfig.browser.ts +0 -41
  211. package/src/runtimeConfig.native.ts +0 -17
  212. package/src/runtimeConfig.shared.ts +0 -17
  213. package/src/runtimeConfig.ts +0 -46
  214. package/tsconfig.es.json +0 -10
  215. package/tsconfig.json +0 -33
  216. package/tsconfig.types.json +0 -9
@@ -1,101 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassV2Client";
15
- import { GetComponentVersionArtifactRequest, GetComponentVersionArtifactResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetComponentVersionArtifactCommand,
18
- serializeAws_restJson1GetComponentVersionArtifactCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetComponentVersionArtifactCommandInput extends GetComponentVersionArtifactRequest {}
22
- export interface GetComponentVersionArtifactCommandOutput
23
- extends GetComponentVersionArtifactResponse,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * <p>Gets the pre-signed URL to download a public component artifact. Core devices call this
28
- * operation to identify the URL that they can use to download an artifact to install.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { GreengrassV2Client, GetComponentVersionArtifactCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
33
- * // const { GreengrassV2Client, GetComponentVersionArtifactCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
34
- * const client = new GreengrassV2Client(config);
35
- * const command = new GetComponentVersionArtifactCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link GetComponentVersionArtifactCommandInput} for command's `input` shape.
40
- * @see {@link GetComponentVersionArtifactCommandOutput} for command's `response` shape.
41
- * @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class GetComponentVersionArtifactCommand extends $Command<
45
- GetComponentVersionArtifactCommandInput,
46
- GetComponentVersionArtifactCommandOutput,
47
- GreengrassV2ClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: GetComponentVersionArtifactCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: GreengrassV2ClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<GetComponentVersionArtifactCommandInput, GetComponentVersionArtifactCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "GreengrassV2Client";
72
- const commandName = "GetComponentVersionArtifactCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: GetComponentVersionArtifactRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: GetComponentVersionArtifactResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: GetComponentVersionArtifactCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_restJson1GetComponentVersionArtifactCommand(input, context);
90
- }
91
-
92
- private deserialize(
93
- output: __HttpResponse,
94
- context: __SerdeContext
95
- ): Promise<GetComponentVersionArtifactCommandOutput> {
96
- return deserializeAws_restJson1GetComponentVersionArtifactCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassV2Client";
15
- import { GetCoreDeviceRequest, GetCoreDeviceResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetCoreDeviceCommand,
18
- serializeAws_restJson1GetCoreDeviceCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetCoreDeviceCommandInput extends GetCoreDeviceRequest {}
22
- export interface GetCoreDeviceCommandOutput extends GetCoreDeviceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves metadata for a Greengrass core device.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { GreengrassV2Client, GetCoreDeviceCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
30
- * // const { GreengrassV2Client, GetCoreDeviceCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
31
- * const client = new GreengrassV2Client(config);
32
- * const command = new GetCoreDeviceCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetCoreDeviceCommandInput} for command's `input` shape.
37
- * @see {@link GetCoreDeviceCommandOutput} for command's `response` shape.
38
- * @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetCoreDeviceCommand extends $Command<
42
- GetCoreDeviceCommandInput,
43
- GetCoreDeviceCommandOutput,
44
- GreengrassV2ClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GetCoreDeviceCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: GreengrassV2ClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<GetCoreDeviceCommandInput, GetCoreDeviceCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "GreengrassV2Client";
69
- const commandName = "GetCoreDeviceCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GetCoreDeviceRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: GetCoreDeviceResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: GetCoreDeviceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1GetCoreDeviceCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetCoreDeviceCommandOutput> {
90
- return deserializeAws_restJson1GetCoreDeviceCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassV2Client";
15
- import { GetDeploymentRequest, GetDeploymentResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetDeploymentCommand,
18
- serializeAws_restJson1GetDeploymentCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetDeploymentCommandInput extends GetDeploymentRequest {}
22
- export interface GetDeploymentCommandOutput extends GetDeploymentResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Gets a deployment. Deployments define the components that run on Greengrass core devices.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { GreengrassV2Client, GetDeploymentCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
30
- * // const { GreengrassV2Client, GetDeploymentCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
31
- * const client = new GreengrassV2Client(config);
32
- * const command = new GetDeploymentCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetDeploymentCommandInput} for command's `input` shape.
37
- * @see {@link GetDeploymentCommandOutput} for command's `response` shape.
38
- * @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetDeploymentCommand extends $Command<
42
- GetDeploymentCommandInput,
43
- GetDeploymentCommandOutput,
44
- GreengrassV2ClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GetDeploymentCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: GreengrassV2ClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<GetDeploymentCommandInput, GetDeploymentCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "GreengrassV2Client";
69
- const commandName = "GetDeploymentCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GetDeploymentRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: GetDeploymentResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: GetDeploymentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1GetDeploymentCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetDeploymentCommandOutput> {
90
- return deserializeAws_restJson1GetDeploymentCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,111 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassV2Client";
15
- import {
16
- ListClientDevicesAssociatedWithCoreDeviceRequest,
17
- ListClientDevicesAssociatedWithCoreDeviceResponse,
18
- } from "../models/models_0";
19
- import {
20
- deserializeAws_restJson1ListClientDevicesAssociatedWithCoreDeviceCommand,
21
- serializeAws_restJson1ListClientDevicesAssociatedWithCoreDeviceCommand,
22
- } from "../protocols/Aws_restJson1";
23
-
24
- export interface ListClientDevicesAssociatedWithCoreDeviceCommandInput
25
- extends ListClientDevicesAssociatedWithCoreDeviceRequest {}
26
- export interface ListClientDevicesAssociatedWithCoreDeviceCommandOutput
27
- extends ListClientDevicesAssociatedWithCoreDeviceResponse,
28
- __MetadataBearer {}
29
-
30
- /**
31
- * <p>Retrieves a paginated list of client devices that are associated with a core
32
- * device.</p>
33
- * @example
34
- * Use a bare-bones client and the command you need to make an API call.
35
- * ```javascript
36
- * import { GreengrassV2Client, ListClientDevicesAssociatedWithCoreDeviceCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
37
- * // const { GreengrassV2Client, ListClientDevicesAssociatedWithCoreDeviceCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
38
- * const client = new GreengrassV2Client(config);
39
- * const command = new ListClientDevicesAssociatedWithCoreDeviceCommand(input);
40
- * const response = await client.send(command);
41
- * ```
42
- *
43
- * @see {@link ListClientDevicesAssociatedWithCoreDeviceCommandInput} for command's `input` shape.
44
- * @see {@link ListClientDevicesAssociatedWithCoreDeviceCommandOutput} for command's `response` shape.
45
- * @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
46
- *
47
- */
48
- export class ListClientDevicesAssociatedWithCoreDeviceCommand extends $Command<
49
- ListClientDevicesAssociatedWithCoreDeviceCommandInput,
50
- ListClientDevicesAssociatedWithCoreDeviceCommandOutput,
51
- GreengrassV2ClientResolvedConfig
52
- > {
53
- // Start section: command_properties
54
- // End section: command_properties
55
-
56
- constructor(readonly input: ListClientDevicesAssociatedWithCoreDeviceCommandInput) {
57
- // Start section: command_constructor
58
- super();
59
- // End section: command_constructor
60
- }
61
-
62
- /**
63
- * @internal
64
- */
65
- resolveMiddleware(
66
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
67
- configuration: GreengrassV2ClientResolvedConfig,
68
- options?: __HttpHandlerOptions
69
- ): Handler<
70
- ListClientDevicesAssociatedWithCoreDeviceCommandInput,
71
- ListClientDevicesAssociatedWithCoreDeviceCommandOutput
72
- > {
73
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
74
-
75
- const stack = clientStack.concat(this.middlewareStack);
76
-
77
- const { logger } = configuration;
78
- const clientName = "GreengrassV2Client";
79
- const commandName = "ListClientDevicesAssociatedWithCoreDeviceCommand";
80
- const handlerExecutionContext: HandlerExecutionContext = {
81
- logger,
82
- clientName,
83
- commandName,
84
- inputFilterSensitiveLog: ListClientDevicesAssociatedWithCoreDeviceRequest.filterSensitiveLog,
85
- outputFilterSensitiveLog: ListClientDevicesAssociatedWithCoreDeviceResponse.filterSensitiveLog,
86
- };
87
- const { requestHandler } = configuration;
88
- return stack.resolve(
89
- (request: FinalizeHandlerArguments<any>) =>
90
- requestHandler.handle(request.request as __HttpRequest, options || {}),
91
- handlerExecutionContext
92
- );
93
- }
94
-
95
- private serialize(
96
- input: ListClientDevicesAssociatedWithCoreDeviceCommandInput,
97
- context: __SerdeContext
98
- ): Promise<__HttpRequest> {
99
- return serializeAws_restJson1ListClientDevicesAssociatedWithCoreDeviceCommand(input, context);
100
- }
101
-
102
- private deserialize(
103
- output: __HttpResponse,
104
- context: __SerdeContext
105
- ): Promise<ListClientDevicesAssociatedWithCoreDeviceCommandOutput> {
106
- return deserializeAws_restJson1ListClientDevicesAssociatedWithCoreDeviceCommand(output, context);
107
- }
108
-
109
- // Start section: command_body_extra
110
- // End section: command_body_extra
111
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassV2Client";
15
- import { ListComponentVersionsRequest, ListComponentVersionsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListComponentVersionsCommand,
18
- serializeAws_restJson1ListComponentVersionsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListComponentVersionsCommandInput extends ListComponentVersionsRequest {}
22
- export interface ListComponentVersionsCommandOutput extends ListComponentVersionsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves a paginated list of all versions for a component. Greater versions are listed first.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { GreengrassV2Client, ListComponentVersionsCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
30
- * // const { GreengrassV2Client, ListComponentVersionsCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
31
- * const client = new GreengrassV2Client(config);
32
- * const command = new ListComponentVersionsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListComponentVersionsCommandInput} for command's `input` shape.
37
- * @see {@link ListComponentVersionsCommandOutput} for command's `response` shape.
38
- * @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListComponentVersionsCommand extends $Command<
42
- ListComponentVersionsCommandInput,
43
- ListComponentVersionsCommandOutput,
44
- GreengrassV2ClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListComponentVersionsCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: GreengrassV2ClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListComponentVersionsCommandInput, ListComponentVersionsCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "GreengrassV2Client";
69
- const commandName = "ListComponentVersionsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListComponentVersionsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListComponentVersionsResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListComponentVersionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListComponentVersionsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListComponentVersionsCommandOutput> {
90
- return deserializeAws_restJson1ListComponentVersionsCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassV2Client";
15
- import { ListComponentsRequest, ListComponentsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListComponentsCommand,
18
- serializeAws_restJson1ListComponentsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListComponentsCommandInput extends ListComponentsRequest {}
22
- export interface ListComponentsCommandOutput extends ListComponentsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves a paginated list of component summaries. This list includes components that you
26
- * have permission to view.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { GreengrassV2Client, ListComponentsCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
31
- * // const { GreengrassV2Client, ListComponentsCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
32
- * const client = new GreengrassV2Client(config);
33
- * const command = new ListComponentsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link ListComponentsCommandInput} for command's `input` shape.
38
- * @see {@link ListComponentsCommandOutput} for command's `response` shape.
39
- * @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class ListComponentsCommand extends $Command<
43
- ListComponentsCommandInput,
44
- ListComponentsCommandOutput,
45
- GreengrassV2ClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: ListComponentsCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: GreengrassV2ClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<ListComponentsCommandInput, ListComponentsCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "GreengrassV2Client";
70
- const commandName = "ListComponentsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: ListComponentsRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: ListComponentsResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: ListComponentsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1ListComponentsCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListComponentsCommandOutput> {
91
- return deserializeAws_restJson1ListComponentsCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }