@aws-sdk/client-dataexchange 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 (226) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/DataExchange.js +0 -1
  3. package/dist-cjs/DataExchangeClient.js +0 -1
  4. package/dist-cjs/commands/CancelJobCommand.js +0 -1
  5. package/dist-cjs/commands/CreateDataSetCommand.js +0 -1
  6. package/dist-cjs/commands/CreateEventActionCommand.js +0 -1
  7. package/dist-cjs/commands/CreateJobCommand.js +0 -1
  8. package/dist-cjs/commands/CreateRevisionCommand.js +0 -1
  9. package/dist-cjs/commands/DeleteAssetCommand.js +0 -1
  10. package/dist-cjs/commands/DeleteDataSetCommand.js +0 -1
  11. package/dist-cjs/commands/DeleteEventActionCommand.js +0 -1
  12. package/dist-cjs/commands/DeleteRevisionCommand.js +0 -1
  13. package/dist-cjs/commands/GetAssetCommand.js +0 -1
  14. package/dist-cjs/commands/GetDataSetCommand.js +0 -1
  15. package/dist-cjs/commands/GetEventActionCommand.js +0 -1
  16. package/dist-cjs/commands/GetJobCommand.js +0 -1
  17. package/dist-cjs/commands/GetRevisionCommand.js +0 -1
  18. package/dist-cjs/commands/ListDataSetRevisionsCommand.js +0 -1
  19. package/dist-cjs/commands/ListDataSetsCommand.js +0 -1
  20. package/dist-cjs/commands/ListEventActionsCommand.js +0 -1
  21. package/dist-cjs/commands/ListJobsCommand.js +0 -1
  22. package/dist-cjs/commands/ListRevisionAssetsCommand.js +0 -1
  23. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  24. package/dist-cjs/commands/StartJobCommand.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/commands/UpdateAssetCommand.js +0 -1
  28. package/dist-cjs/commands/UpdateDataSetCommand.js +0 -1
  29. package/dist-cjs/commands/UpdateEventActionCommand.js +0 -1
  30. package/dist-cjs/commands/UpdateRevisionCommand.js +0 -1
  31. package/dist-cjs/endpoints.js +0 -1
  32. package/dist-cjs/index.js +0 -1
  33. package/dist-cjs/models/index.js +0 -1
  34. package/dist-cjs/models/models_0.js +0 -1
  35. package/dist-cjs/pagination/Interfaces.js +0 -1
  36. package/dist-cjs/pagination/ListDataSetRevisionsPaginator.js +0 -1
  37. package/dist-cjs/pagination/ListDataSetsPaginator.js +0 -1
  38. package/dist-cjs/pagination/ListEventActionsPaginator.js +0 -1
  39. package/dist-cjs/pagination/ListJobsPaginator.js +0 -1
  40. package/dist-cjs/pagination/ListRevisionAssetsPaginator.js +0 -1
  41. package/dist-cjs/protocols/Aws_restJson1.js +0 -1
  42. package/dist-cjs/runtimeConfig.browser.js +2 -3
  43. package/dist-cjs/runtimeConfig.js +3 -4
  44. package/dist-cjs/runtimeConfig.native.js +0 -1
  45. package/dist-cjs/runtimeConfig.shared.js +0 -1
  46. package/dist-es/DataExchange.js +0 -1
  47. package/dist-es/DataExchangeClient.js +0 -1
  48. package/dist-es/commands/CancelJobCommand.js +0 -1
  49. package/dist-es/commands/CreateDataSetCommand.js +0 -1
  50. package/dist-es/commands/CreateEventActionCommand.js +0 -1
  51. package/dist-es/commands/CreateJobCommand.js +0 -1
  52. package/dist-es/commands/CreateRevisionCommand.js +0 -1
  53. package/dist-es/commands/DeleteAssetCommand.js +0 -1
  54. package/dist-es/commands/DeleteDataSetCommand.js +0 -1
  55. package/dist-es/commands/DeleteEventActionCommand.js +0 -1
  56. package/dist-es/commands/DeleteRevisionCommand.js +0 -1
  57. package/dist-es/commands/GetAssetCommand.js +0 -1
  58. package/dist-es/commands/GetDataSetCommand.js +0 -1
  59. package/dist-es/commands/GetEventActionCommand.js +0 -1
  60. package/dist-es/commands/GetJobCommand.js +0 -1
  61. package/dist-es/commands/GetRevisionCommand.js +0 -1
  62. package/dist-es/commands/ListDataSetRevisionsCommand.js +0 -1
  63. package/dist-es/commands/ListDataSetsCommand.js +0 -1
  64. package/dist-es/commands/ListEventActionsCommand.js +0 -1
  65. package/dist-es/commands/ListJobsCommand.js +0 -1
  66. package/dist-es/commands/ListRevisionAssetsCommand.js +0 -1
  67. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  68. package/dist-es/commands/StartJobCommand.js +0 -1
  69. package/dist-es/commands/TagResourceCommand.js +0 -1
  70. package/dist-es/commands/UntagResourceCommand.js +0 -1
  71. package/dist-es/commands/UpdateAssetCommand.js +0 -1
  72. package/dist-es/commands/UpdateDataSetCommand.js +0 -1
  73. package/dist-es/commands/UpdateEventActionCommand.js +0 -1
  74. package/dist-es/commands/UpdateRevisionCommand.js +0 -1
  75. package/dist-es/endpoints.js +0 -1
  76. package/dist-es/index.js +0 -1
  77. package/dist-es/models/index.js +0 -1
  78. package/dist-es/models/models_0.js +0 -1
  79. package/dist-es/pagination/Interfaces.js +0 -1
  80. package/dist-es/pagination/ListDataSetRevisionsPaginator.js +0 -1
  81. package/dist-es/pagination/ListDataSetsPaginator.js +0 -1
  82. package/dist-es/pagination/ListEventActionsPaginator.js +0 -1
  83. package/dist-es/pagination/ListJobsPaginator.js +0 -1
  84. package/dist-es/pagination/ListRevisionAssetsPaginator.js +0 -1
  85. package/dist-es/protocols/Aws_restJson1.js +0 -1
  86. package/dist-es/runtimeConfig.browser.js +1 -2
  87. package/dist-es/runtimeConfig.js +2 -3
  88. package/dist-es/runtimeConfig.native.js +0 -1
  89. package/dist-es/runtimeConfig.shared.js +0 -1
  90. package/package.json +33 -30
  91. package/dist-cjs/DataExchange.js.map +0 -1
  92. package/dist-cjs/DataExchangeClient.js.map +0 -1
  93. package/dist-cjs/commands/CancelJobCommand.js.map +0 -1
  94. package/dist-cjs/commands/CreateDataSetCommand.js.map +0 -1
  95. package/dist-cjs/commands/CreateEventActionCommand.js.map +0 -1
  96. package/dist-cjs/commands/CreateJobCommand.js.map +0 -1
  97. package/dist-cjs/commands/CreateRevisionCommand.js.map +0 -1
  98. package/dist-cjs/commands/DeleteAssetCommand.js.map +0 -1
  99. package/dist-cjs/commands/DeleteDataSetCommand.js.map +0 -1
  100. package/dist-cjs/commands/DeleteEventActionCommand.js.map +0 -1
  101. package/dist-cjs/commands/DeleteRevisionCommand.js.map +0 -1
  102. package/dist-cjs/commands/GetAssetCommand.js.map +0 -1
  103. package/dist-cjs/commands/GetDataSetCommand.js.map +0 -1
  104. package/dist-cjs/commands/GetEventActionCommand.js.map +0 -1
  105. package/dist-cjs/commands/GetJobCommand.js.map +0 -1
  106. package/dist-cjs/commands/GetRevisionCommand.js.map +0 -1
  107. package/dist-cjs/commands/ListDataSetRevisionsCommand.js.map +0 -1
  108. package/dist-cjs/commands/ListDataSetsCommand.js.map +0 -1
  109. package/dist-cjs/commands/ListEventActionsCommand.js.map +0 -1
  110. package/dist-cjs/commands/ListJobsCommand.js.map +0 -1
  111. package/dist-cjs/commands/ListRevisionAssetsCommand.js.map +0 -1
  112. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  113. package/dist-cjs/commands/StartJobCommand.js.map +0 -1
  114. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  115. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  116. package/dist-cjs/commands/UpdateAssetCommand.js.map +0 -1
  117. package/dist-cjs/commands/UpdateDataSetCommand.js.map +0 -1
  118. package/dist-cjs/commands/UpdateEventActionCommand.js.map +0 -1
  119. package/dist-cjs/commands/UpdateRevisionCommand.js.map +0 -1
  120. package/dist-cjs/endpoints.js.map +0 -1
  121. package/dist-cjs/index.js.map +0 -1
  122. package/dist-cjs/models/index.js.map +0 -1
  123. package/dist-cjs/models/models_0.js.map +0 -1
  124. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  125. package/dist-cjs/pagination/ListDataSetRevisionsPaginator.js.map +0 -1
  126. package/dist-cjs/pagination/ListDataSetsPaginator.js.map +0 -1
  127. package/dist-cjs/pagination/ListEventActionsPaginator.js.map +0 -1
  128. package/dist-cjs/pagination/ListJobsPaginator.js.map +0 -1
  129. package/dist-cjs/pagination/ListRevisionAssetsPaginator.js.map +0 -1
  130. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  131. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  132. package/dist-cjs/runtimeConfig.js.map +0 -1
  133. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  134. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  135. package/dist-es/DataExchange.js.map +0 -1
  136. package/dist-es/DataExchangeClient.js.map +0 -1
  137. package/dist-es/commands/CancelJobCommand.js.map +0 -1
  138. package/dist-es/commands/CreateDataSetCommand.js.map +0 -1
  139. package/dist-es/commands/CreateEventActionCommand.js.map +0 -1
  140. package/dist-es/commands/CreateJobCommand.js.map +0 -1
  141. package/dist-es/commands/CreateRevisionCommand.js.map +0 -1
  142. package/dist-es/commands/DeleteAssetCommand.js.map +0 -1
  143. package/dist-es/commands/DeleteDataSetCommand.js.map +0 -1
  144. package/dist-es/commands/DeleteEventActionCommand.js.map +0 -1
  145. package/dist-es/commands/DeleteRevisionCommand.js.map +0 -1
  146. package/dist-es/commands/GetAssetCommand.js.map +0 -1
  147. package/dist-es/commands/GetDataSetCommand.js.map +0 -1
  148. package/dist-es/commands/GetEventActionCommand.js.map +0 -1
  149. package/dist-es/commands/GetJobCommand.js.map +0 -1
  150. package/dist-es/commands/GetRevisionCommand.js.map +0 -1
  151. package/dist-es/commands/ListDataSetRevisionsCommand.js.map +0 -1
  152. package/dist-es/commands/ListDataSetsCommand.js.map +0 -1
  153. package/dist-es/commands/ListEventActionsCommand.js.map +0 -1
  154. package/dist-es/commands/ListJobsCommand.js.map +0 -1
  155. package/dist-es/commands/ListRevisionAssetsCommand.js.map +0 -1
  156. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  157. package/dist-es/commands/StartJobCommand.js.map +0 -1
  158. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  159. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  160. package/dist-es/commands/UpdateAssetCommand.js.map +0 -1
  161. package/dist-es/commands/UpdateDataSetCommand.js.map +0 -1
  162. package/dist-es/commands/UpdateEventActionCommand.js.map +0 -1
  163. package/dist-es/commands/UpdateRevisionCommand.js.map +0 -1
  164. package/dist-es/endpoints.js.map +0 -1
  165. package/dist-es/index.js.map +0 -1
  166. package/dist-es/models/index.js.map +0 -1
  167. package/dist-es/models/models_0.js.map +0 -1
  168. package/dist-es/pagination/Interfaces.js.map +0 -1
  169. package/dist-es/pagination/ListDataSetRevisionsPaginator.js.map +0 -1
  170. package/dist-es/pagination/ListDataSetsPaginator.js.map +0 -1
  171. package/dist-es/pagination/ListEventActionsPaginator.js.map +0 -1
  172. package/dist-es/pagination/ListJobsPaginator.js.map +0 -1
  173. package/dist-es/pagination/ListRevisionAssetsPaginator.js.map +0 -1
  174. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  175. package/dist-es/runtimeConfig.browser.js.map +0 -1
  176. package/dist-es/runtimeConfig.js.map +0 -1
  177. package/dist-es/runtimeConfig.native.js.map +0 -1
  178. package/dist-es/runtimeConfig.shared.js.map +0 -1
  179. package/jest.config.js +0 -4
  180. package/src/DataExchange.ts +0 -894
  181. package/src/DataExchangeClient.ts +0 -323
  182. package/src/commands/CancelJobCommand.ts +0 -95
  183. package/src/commands/CreateDataSetCommand.ts +0 -95
  184. package/src/commands/CreateEventActionCommand.ts +0 -95
  185. package/src/commands/CreateJobCommand.ts +0 -95
  186. package/src/commands/CreateRevisionCommand.ts +0 -95
  187. package/src/commands/DeleteAssetCommand.ts +0 -95
  188. package/src/commands/DeleteDataSetCommand.ts +0 -95
  189. package/src/commands/DeleteEventActionCommand.ts +0 -95
  190. package/src/commands/DeleteRevisionCommand.ts +0 -95
  191. package/src/commands/GetAssetCommand.ts +0 -95
  192. package/src/commands/GetDataSetCommand.ts +0 -95
  193. package/src/commands/GetEventActionCommand.ts +0 -95
  194. package/src/commands/GetJobCommand.ts +0 -88
  195. package/src/commands/GetRevisionCommand.ts +0 -95
  196. package/src/commands/ListDataSetRevisionsCommand.ts +0 -95
  197. package/src/commands/ListDataSetsCommand.ts +0 -95
  198. package/src/commands/ListEventActionsCommand.ts +0 -95
  199. package/src/commands/ListJobsCommand.ts +0 -95
  200. package/src/commands/ListRevisionAssetsCommand.ts +0 -95
  201. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  202. package/src/commands/StartJobCommand.ts +0 -95
  203. package/src/commands/TagResourceCommand.ts +0 -95
  204. package/src/commands/UntagResourceCommand.ts +0 -95
  205. package/src/commands/UpdateAssetCommand.ts +0 -95
  206. package/src/commands/UpdateDataSetCommand.ts +0 -95
  207. package/src/commands/UpdateEventActionCommand.ts +0 -95
  208. package/src/commands/UpdateRevisionCommand.ts +0 -95
  209. package/src/endpoints.ts +0 -57
  210. package/src/index.ts +0 -36
  211. package/src/models/index.ts +0 -1
  212. package/src/models/models_0.ts +0 -2753
  213. package/src/pagination/Interfaces.ts +0 -8
  214. package/src/pagination/ListDataSetRevisionsPaginator.ts +0 -59
  215. package/src/pagination/ListDataSetsPaginator.ts +0 -59
  216. package/src/pagination/ListEventActionsPaginator.ts +0 -59
  217. package/src/pagination/ListJobsPaginator.ts +0 -55
  218. package/src/pagination/ListRevisionAssetsPaginator.ts +0 -59
  219. package/src/protocols/Aws_restJson1.ts +0 -4522
  220. package/src/runtimeConfig.browser.ts +0 -41
  221. package/src/runtimeConfig.native.ts +0 -17
  222. package/src/runtimeConfig.shared.ts +0 -17
  223. package/src/runtimeConfig.ts +0 -46
  224. package/tsconfig.es.json +0 -10
  225. package/tsconfig.json +0 -33
  226. package/tsconfig.types.json +0 -9
@@ -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 { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
15
- import { ListJobsRequest, ListJobsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListJobsCommand,
18
- serializeAws_restJson1ListJobsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListJobsCommandInput extends ListJobsRequest {}
22
- export interface ListJobsCommandOutput extends ListJobsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>This operation lists your jobs sorted by CreatedAt in descending order.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { DataExchangeClient, ListJobsCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
30
- * // const { DataExchangeClient, ListJobsCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
31
- * const client = new DataExchangeClient(config);
32
- * const command = new ListJobsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListJobsCommandInput} for command's `input` shape.
37
- * @see {@link ListJobsCommandOutput} for command's `response` shape.
38
- * @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListJobsCommand extends $Command<
42
- ListJobsCommandInput,
43
- ListJobsCommandOutput,
44
- DataExchangeClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListJobsCommandInput) {
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: DataExchangeClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListJobsCommandInput, ListJobsCommandOutput> {
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 = "DataExchangeClient";
69
- const commandName = "ListJobsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListJobsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListJobsResponse.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: ListJobsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListJobsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListJobsCommandOutput> {
90
- return deserializeAws_restJson1ListJobsCommand(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 { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
15
- import { ListRevisionAssetsRequest, ListRevisionAssetsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListRevisionAssetsCommand,
18
- serializeAws_restJson1ListRevisionAssetsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListRevisionAssetsCommandInput extends ListRevisionAssetsRequest {}
22
- export interface ListRevisionAssetsCommandOutput extends ListRevisionAssetsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>This operation lists a revision's assets sorted alphabetically in descending order.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { DataExchangeClient, ListRevisionAssetsCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
30
- * // const { DataExchangeClient, ListRevisionAssetsCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
31
- * const client = new DataExchangeClient(config);
32
- * const command = new ListRevisionAssetsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListRevisionAssetsCommandInput} for command's `input` shape.
37
- * @see {@link ListRevisionAssetsCommandOutput} for command's `response` shape.
38
- * @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListRevisionAssetsCommand extends $Command<
42
- ListRevisionAssetsCommandInput,
43
- ListRevisionAssetsCommandOutput,
44
- DataExchangeClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListRevisionAssetsCommandInput) {
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: DataExchangeClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListRevisionAssetsCommandInput, ListRevisionAssetsCommandOutput> {
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 = "DataExchangeClient";
69
- const commandName = "ListRevisionAssetsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListRevisionAssetsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListRevisionAssetsResponse.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: ListRevisionAssetsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListRevisionAssetsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListRevisionAssetsCommandOutput> {
90
- return deserializeAws_restJson1ListRevisionAssetsCommand(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 { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
15
- import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListTagsForResourceCommand,
18
- serializeAws_restJson1ListTagsForResourceCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
22
- export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>This operation lists the tags on the resource.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { DataExchangeClient, ListTagsForResourceCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
30
- * // const { DataExchangeClient, ListTagsForResourceCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
31
- * const client = new DataExchangeClient(config);
32
- * const command = new ListTagsForResourceCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
37
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
38
- * @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListTagsForResourceCommand extends $Command<
42
- ListTagsForResourceCommandInput,
43
- ListTagsForResourceCommandOutput,
44
- DataExchangeClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListTagsForResourceCommandInput) {
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: DataExchangeClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
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 = "DataExchangeClient";
69
- const commandName = "ListTagsForResourceCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListTagsForResourceResponse.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: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListTagsForResourceCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
90
- return deserializeAws_restJson1ListTagsForResourceCommand(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 { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
15
- import { StartJobRequest, StartJobResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1StartJobCommand,
18
- serializeAws_restJson1StartJobCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface StartJobCommandInput extends StartJobRequest {}
22
- export interface StartJobCommandOutput extends StartJobResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>This operation starts a job.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { DataExchangeClient, StartJobCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
30
- * // const { DataExchangeClient, StartJobCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
31
- * const client = new DataExchangeClient(config);
32
- * const command = new StartJobCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link StartJobCommandInput} for command's `input` shape.
37
- * @see {@link StartJobCommandOutput} for command's `response` shape.
38
- * @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class StartJobCommand extends $Command<
42
- StartJobCommandInput,
43
- StartJobCommandOutput,
44
- DataExchangeClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: StartJobCommandInput) {
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: DataExchangeClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<StartJobCommandInput, StartJobCommandOutput> {
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 = "DataExchangeClient";
69
- const commandName = "StartJobCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: StartJobRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: StartJobResponse.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: StartJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1StartJobCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartJobCommandOutput> {
90
- return deserializeAws_restJson1StartJobCommand(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 { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
15
- import { TagResourceRequest } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1TagResourceCommand,
18
- serializeAws_restJson1TagResourceCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface TagResourceCommandInput extends TagResourceRequest {}
22
- export interface TagResourceCommandOutput extends __MetadataBearer {}
23
-
24
- /**
25
- * <p>This operation tags a resource.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { DataExchangeClient, TagResourceCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
30
- * // const { DataExchangeClient, TagResourceCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
31
- * const client = new DataExchangeClient(config);
32
- * const command = new TagResourceCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link TagResourceCommandInput} for command's `input` shape.
37
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
38
- * @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class TagResourceCommand extends $Command<
42
- TagResourceCommandInput,
43
- TagResourceCommandOutput,
44
- DataExchangeClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: TagResourceCommandInput) {
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: DataExchangeClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<TagResourceCommandInput, TagResourceCommandOutput> {
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 = "DataExchangeClient";
69
- const commandName = "TagResourceCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: (output: any) => output,
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: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1TagResourceCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
90
- return deserializeAws_restJson1TagResourceCommand(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 { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
15
- import { UntagResourceRequest } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1UntagResourceCommand,
18
- serializeAws_restJson1UntagResourceCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface UntagResourceCommandInput extends UntagResourceRequest {}
22
- export interface UntagResourceCommandOutput extends __MetadataBearer {}
23
-
24
- /**
25
- * <p>This operation removes one or more tags from a resource.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { DataExchangeClient, UntagResourceCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
30
- * // const { DataExchangeClient, UntagResourceCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
31
- * const client = new DataExchangeClient(config);
32
- * const command = new UntagResourceCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
37
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
38
- * @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class UntagResourceCommand extends $Command<
42
- UntagResourceCommandInput,
43
- UntagResourceCommandOutput,
44
- DataExchangeClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: UntagResourceCommandInput) {
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: DataExchangeClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<UntagResourceCommandInput, UntagResourceCommandOutput> {
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 = "DataExchangeClient";
69
- const commandName = "UntagResourceCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: (output: any) => output,
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: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1UntagResourceCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
90
- return deserializeAws_restJson1UntagResourceCommand(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 { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
15
- import { UpdateAssetRequest, UpdateAssetResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1UpdateAssetCommand,
18
- serializeAws_restJson1UpdateAssetCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface UpdateAssetCommandInput extends UpdateAssetRequest {}
22
- export interface UpdateAssetCommandOutput extends UpdateAssetResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>This operation updates an asset.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { DataExchangeClient, UpdateAssetCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
30
- * // const { DataExchangeClient, UpdateAssetCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
31
- * const client = new DataExchangeClient(config);
32
- * const command = new UpdateAssetCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link UpdateAssetCommandInput} for command's `input` shape.
37
- * @see {@link UpdateAssetCommandOutput} for command's `response` shape.
38
- * @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class UpdateAssetCommand extends $Command<
42
- UpdateAssetCommandInput,
43
- UpdateAssetCommandOutput,
44
- DataExchangeClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: UpdateAssetCommandInput) {
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: DataExchangeClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<UpdateAssetCommandInput, UpdateAssetCommandOutput> {
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 = "DataExchangeClient";
69
- const commandName = "UpdateAssetCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: UpdateAssetRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: UpdateAssetResponse.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: UpdateAssetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1UpdateAssetCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateAssetCommandOutput> {
90
- return deserializeAws_restJson1UpdateAssetCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }