@aws-sdk/client-dataexchange 3.478.0 → 3.484.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 (125) hide show
  1. package/dist-cjs/commands/CancelJobCommand.js +18 -41
  2. package/dist-cjs/commands/CreateDataSetCommand.js +18 -41
  3. package/dist-cjs/commands/CreateEventActionCommand.js +18 -41
  4. package/dist-cjs/commands/CreateJobCommand.js +18 -41
  5. package/dist-cjs/commands/CreateRevisionCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteAssetCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteDataSetCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteEventActionCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteRevisionCommand.js +18 -41
  10. package/dist-cjs/commands/GetAssetCommand.js +18 -41
  11. package/dist-cjs/commands/GetDataSetCommand.js +18 -41
  12. package/dist-cjs/commands/GetEventActionCommand.js +18 -41
  13. package/dist-cjs/commands/GetJobCommand.js +18 -41
  14. package/dist-cjs/commands/GetRevisionCommand.js +18 -41
  15. package/dist-cjs/commands/ListDataSetRevisionsCommand.js +18 -41
  16. package/dist-cjs/commands/ListDataSetsCommand.js +18 -41
  17. package/dist-cjs/commands/ListEventActionsCommand.js +18 -41
  18. package/dist-cjs/commands/ListJobsCommand.js +18 -41
  19. package/dist-cjs/commands/ListRevisionAssetsCommand.js +18 -41
  20. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  21. package/dist-cjs/commands/RevokeRevisionCommand.js +18 -41
  22. package/dist-cjs/commands/SendApiAssetCommand.js +18 -41
  23. package/dist-cjs/commands/SendDataSetNotificationCommand.js +18 -41
  24. package/dist-cjs/commands/StartJobCommand.js +18 -41
  25. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  26. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  27. package/dist-cjs/commands/UpdateAssetCommand.js +18 -41
  28. package/dist-cjs/commands/UpdateDataSetCommand.js +18 -41
  29. package/dist-cjs/commands/UpdateEventActionCommand.js +18 -41
  30. package/dist-cjs/commands/UpdateRevisionCommand.js +18 -41
  31. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  32. package/dist-es/commands/CancelJobCommand.js +18 -41
  33. package/dist-es/commands/CreateDataSetCommand.js +18 -41
  34. package/dist-es/commands/CreateEventActionCommand.js +18 -41
  35. package/dist-es/commands/CreateJobCommand.js +18 -41
  36. package/dist-es/commands/CreateRevisionCommand.js +18 -41
  37. package/dist-es/commands/DeleteAssetCommand.js +18 -41
  38. package/dist-es/commands/DeleteDataSetCommand.js +18 -41
  39. package/dist-es/commands/DeleteEventActionCommand.js +18 -41
  40. package/dist-es/commands/DeleteRevisionCommand.js +18 -41
  41. package/dist-es/commands/GetAssetCommand.js +18 -41
  42. package/dist-es/commands/GetDataSetCommand.js +18 -41
  43. package/dist-es/commands/GetEventActionCommand.js +18 -41
  44. package/dist-es/commands/GetJobCommand.js +18 -41
  45. package/dist-es/commands/GetRevisionCommand.js +18 -41
  46. package/dist-es/commands/ListDataSetRevisionsCommand.js +18 -41
  47. package/dist-es/commands/ListDataSetsCommand.js +18 -41
  48. package/dist-es/commands/ListEventActionsCommand.js +18 -41
  49. package/dist-es/commands/ListJobsCommand.js +18 -41
  50. package/dist-es/commands/ListRevisionAssetsCommand.js +18 -41
  51. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  52. package/dist-es/commands/RevokeRevisionCommand.js +18 -41
  53. package/dist-es/commands/SendApiAssetCommand.js +18 -41
  54. package/dist-es/commands/SendDataSetNotificationCommand.js +18 -41
  55. package/dist-es/commands/StartJobCommand.js +18 -41
  56. package/dist-es/commands/TagResourceCommand.js +18 -41
  57. package/dist-es/commands/UntagResourceCommand.js +18 -41
  58. package/dist-es/commands/UpdateAssetCommand.js +18 -41
  59. package/dist-es/commands/UpdateDataSetCommand.js +18 -41
  60. package/dist-es/commands/UpdateEventActionCommand.js +18 -41
  61. package/dist-es/commands/UpdateRevisionCommand.js +18 -41
  62. package/dist-es/endpoint/EndpointParameters.js +6 -0
  63. package/dist-types/commands/CancelJobCommand.d.ts +6 -21
  64. package/dist-types/commands/CreateDataSetCommand.d.ts +6 -21
  65. package/dist-types/commands/CreateEventActionCommand.d.ts +6 -21
  66. package/dist-types/commands/CreateJobCommand.d.ts +6 -21
  67. package/dist-types/commands/CreateRevisionCommand.d.ts +6 -21
  68. package/dist-types/commands/DeleteAssetCommand.d.ts +6 -21
  69. package/dist-types/commands/DeleteDataSetCommand.d.ts +6 -21
  70. package/dist-types/commands/DeleteEventActionCommand.d.ts +6 -21
  71. package/dist-types/commands/DeleteRevisionCommand.d.ts +6 -21
  72. package/dist-types/commands/GetAssetCommand.d.ts +6 -21
  73. package/dist-types/commands/GetDataSetCommand.d.ts +6 -21
  74. package/dist-types/commands/GetEventActionCommand.d.ts +6 -21
  75. package/dist-types/commands/GetJobCommand.d.ts +6 -21
  76. package/dist-types/commands/GetRevisionCommand.d.ts +6 -21
  77. package/dist-types/commands/ListDataSetRevisionsCommand.d.ts +6 -21
  78. package/dist-types/commands/ListDataSetsCommand.d.ts +6 -21
  79. package/dist-types/commands/ListEventActionsCommand.d.ts +6 -21
  80. package/dist-types/commands/ListJobsCommand.d.ts +6 -21
  81. package/dist-types/commands/ListRevisionAssetsCommand.d.ts +6 -21
  82. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  83. package/dist-types/commands/RevokeRevisionCommand.d.ts +6 -21
  84. package/dist-types/commands/SendApiAssetCommand.d.ts +6 -21
  85. package/dist-types/commands/SendDataSetNotificationCommand.d.ts +6 -21
  86. package/dist-types/commands/StartJobCommand.d.ts +6 -21
  87. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  88. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  89. package/dist-types/commands/UpdateAssetCommand.d.ts +6 -21
  90. package/dist-types/commands/UpdateDataSetCommand.d.ts +6 -21
  91. package/dist-types/commands/UpdateEventActionCommand.d.ts +6 -21
  92. package/dist-types/commands/UpdateRevisionCommand.d.ts +6 -21
  93. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  94. package/dist-types/ts3.4/commands/CancelJobCommand.d.ts +14 -23
  95. package/dist-types/ts3.4/commands/CreateDataSetCommand.d.ts +14 -23
  96. package/dist-types/ts3.4/commands/CreateEventActionCommand.d.ts +14 -23
  97. package/dist-types/ts3.4/commands/CreateJobCommand.d.ts +14 -23
  98. package/dist-types/ts3.4/commands/CreateRevisionCommand.d.ts +14 -23
  99. package/dist-types/ts3.4/commands/DeleteAssetCommand.d.ts +14 -23
  100. package/dist-types/ts3.4/commands/DeleteDataSetCommand.d.ts +14 -23
  101. package/dist-types/ts3.4/commands/DeleteEventActionCommand.d.ts +14 -23
  102. package/dist-types/ts3.4/commands/DeleteRevisionCommand.d.ts +14 -23
  103. package/dist-types/ts3.4/commands/GetAssetCommand.d.ts +14 -23
  104. package/dist-types/ts3.4/commands/GetDataSetCommand.d.ts +14 -23
  105. package/dist-types/ts3.4/commands/GetEventActionCommand.d.ts +14 -23
  106. package/dist-types/ts3.4/commands/GetJobCommand.d.ts +12 -23
  107. package/dist-types/ts3.4/commands/GetRevisionCommand.d.ts +14 -23
  108. package/dist-types/ts3.4/commands/ListDataSetRevisionsCommand.d.ts +12 -24
  109. package/dist-types/ts3.4/commands/ListDataSetsCommand.d.ts +14 -23
  110. package/dist-types/ts3.4/commands/ListEventActionsCommand.d.ts +14 -23
  111. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +14 -23
  112. package/dist-types/ts3.4/commands/ListRevisionAssetsCommand.d.ts +14 -23
  113. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  114. package/dist-types/ts3.4/commands/RevokeRevisionCommand.d.ts +14 -23
  115. package/dist-types/ts3.4/commands/SendApiAssetCommand.d.ts +14 -23
  116. package/dist-types/ts3.4/commands/SendDataSetNotificationCommand.d.ts +12 -24
  117. package/dist-types/ts3.4/commands/StartJobCommand.d.ts +14 -23
  118. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  119. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  120. package/dist-types/ts3.4/commands/UpdateAssetCommand.d.ts +14 -23
  121. package/dist-types/ts3.4/commands/UpdateDataSetCommand.d.ts +14 -23
  122. package/dist-types/ts3.4/commands/UpdateEventActionCommand.d.ts +14 -23
  123. package/dist-types/ts3.4/commands/UpdateRevisionCommand.d.ts +14 -23
  124. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  125. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class TagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DataExchangeClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "DataExchange",
35
- operation: "TagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("DataExchange", "TagResource", {})
19
+ .n("DataExchangeClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UntagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DataExchangeClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "DataExchange",
35
- operation: "UntagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("DataExchange", "UntagResource", {})
19
+ .n("DataExchangeClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateAssetCommand, se_UpdateAssetCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateAssetCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateAssetCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DataExchangeClient";
26
- const commandName = "UpdateAssetCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "DataExchange",
35
- operation: "UpdateAsset",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateAssetCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateAssetCommand(output, context);
46
- }
7
+ export class UpdateAssetCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("DataExchange", "UpdateAsset", {})
19
+ .n("DataExchangeClient", "UpdateAssetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateAssetCommand)
22
+ .de(de_UpdateAssetCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateDataSetCommand, se_UpdateDataSetCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateDataSetCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateDataSetCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DataExchangeClient";
26
- const commandName = "UpdateDataSetCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "DataExchange",
35
- operation: "UpdateDataSet",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateDataSetCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateDataSetCommand(output, context);
46
- }
7
+ export class UpdateDataSetCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("DataExchange", "UpdateDataSet", {})
19
+ .n("DataExchangeClient", "UpdateDataSetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateDataSetCommand)
22
+ .de(de_UpdateDataSetCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateEventActionCommand, se_UpdateEventActionCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateEventActionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateEventActionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DataExchangeClient";
26
- const commandName = "UpdateEventActionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "DataExchange",
35
- operation: "UpdateEventAction",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateEventActionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateEventActionCommand(output, context);
46
- }
7
+ export class UpdateEventActionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("DataExchange", "UpdateEventAction", {})
19
+ .n("DataExchangeClient", "UpdateEventActionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateEventActionCommand)
22
+ .de(de_UpdateEventActionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateRevisionCommand, se_UpdateRevisionCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateRevisionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateRevisionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DataExchangeClient";
26
- const commandName = "UpdateRevisionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "DataExchange",
35
- operation: "UpdateRevision",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateRevisionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateRevisionCommand(output, context);
46
- }
7
+ export class UpdateRevisionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("DataExchange", "UpdateRevision", {})
19
+ .n("DataExchangeClient", "UpdateRevisionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateRevisionCommand)
22
+ .de(de_UpdateRevisionCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "dataexchange",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
5
4
  import { CancelJobRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CancelJobCommandInput extends CancelJobRequest {
21
20
  */
22
21
  export interface CancelJobCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const CancelJobCommand_base: {
24
+ new (input: CancelJobCommandInput): import("@smithy/smithy-client").CommandImpl<CancelJobCommandInput, CancelJobCommandOutput, DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.</p>
@@ -64,23 +67,5 @@ export interface CancelJobCommandOutput extends __MetadataBearer {
64
67
  * <p>Base exception class for all service exceptions from DataExchange service.</p>
65
68
  *
66
69
  */
67
- export declare class CancelJobCommand extends $Command<CancelJobCommandInput, CancelJobCommandOutput, DataExchangeClientResolvedConfig> {
68
- readonly input: CancelJobCommandInput;
69
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
70
- /**
71
- * @public
72
- */
73
- constructor(input: CancelJobCommandInput);
74
- /**
75
- * @internal
76
- */
77
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelJobCommandInput, CancelJobCommandOutput>;
78
- /**
79
- * @internal
80
- */
81
- private serialize;
82
- /**
83
- * @internal
84
- */
85
- private deserialize;
70
+ export declare class CancelJobCommand extends CancelJobCommand_base {
86
71
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
5
4
  import { CreateDataSetRequest, CreateDataSetResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateDataSetCommandInput extends CreateDataSetRequest {
21
20
  */
22
21
  export interface CreateDataSetCommandOutput extends CreateDataSetResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateDataSetCommand_base: {
24
+ new (input: CreateDataSetCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDataSetCommandInput, CreateDataSetCommandOutput, DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>This operation creates a data set.</p>
@@ -85,23 +88,5 @@ export interface CreateDataSetCommandOutput extends CreateDataSetResponse, __Met
85
88
  * <p>Base exception class for all service exceptions from DataExchange service.</p>
86
89
  *
87
90
  */
88
- export declare class CreateDataSetCommand extends $Command<CreateDataSetCommandInput, CreateDataSetCommandOutput, DataExchangeClientResolvedConfig> {
89
- readonly input: CreateDataSetCommandInput;
90
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
- /**
92
- * @public
93
- */
94
- constructor(input: CreateDataSetCommandInput);
95
- /**
96
- * @internal
97
- */
98
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDataSetCommandInput, CreateDataSetCommandOutput>;
99
- /**
100
- * @internal
101
- */
102
- private serialize;
103
- /**
104
- * @internal
105
- */
106
- private deserialize;
91
+ export declare class CreateDataSetCommand extends CreateDataSetCommand_base {
107
92
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
5
4
  import { CreateEventActionRequest, CreateEventActionResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateEventActionCommandInput extends CreateEventActionRequest
21
20
  */
22
21
  export interface CreateEventActionCommandOutput extends CreateEventActionResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateEventActionCommand_base: {
24
+ new (input: CreateEventActionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateEventActionCommandInput, CreateEventActionCommandOutput, DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>This operation creates an event action.</p>
@@ -102,23 +105,5 @@ export interface CreateEventActionCommandOutput extends CreateEventActionRespons
102
105
  * <p>Base exception class for all service exceptions from DataExchange service.</p>
103
106
  *
104
107
  */
105
- export declare class CreateEventActionCommand extends $Command<CreateEventActionCommandInput, CreateEventActionCommandOutput, DataExchangeClientResolvedConfig> {
106
- readonly input: CreateEventActionCommandInput;
107
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
108
- /**
109
- * @public
110
- */
111
- constructor(input: CreateEventActionCommandInput);
112
- /**
113
- * @internal
114
- */
115
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateEventActionCommandInput, CreateEventActionCommandOutput>;
116
- /**
117
- * @internal
118
- */
119
- private serialize;
120
- /**
121
- * @internal
122
- */
123
- private deserialize;
108
+ export declare class CreateEventActionCommand extends CreateEventActionCommand_base {
124
109
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
5
4
  import { CreateJobRequest, CreateJobResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateJobCommandInput extends CreateJobRequest {
21
20
  */
22
21
  export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateJobCommand_base: {
24
+ new (input: CreateJobCommandInput): import("@smithy/smithy-client").CommandImpl<CreateJobCommandInput, CreateJobCommandOutput, DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>This operation creates a job.</p>
@@ -346,23 +349,5 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
346
349
  * <p>Base exception class for all service exceptions from DataExchange service.</p>
347
350
  *
348
351
  */
349
- export declare class CreateJobCommand extends $Command<CreateJobCommandInput, CreateJobCommandOutput, DataExchangeClientResolvedConfig> {
350
- readonly input: CreateJobCommandInput;
351
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
352
- /**
353
- * @public
354
- */
355
- constructor(input: CreateJobCommandInput);
356
- /**
357
- * @internal
358
- */
359
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateJobCommandInput, CreateJobCommandOutput>;
360
- /**
361
- * @internal
362
- */
363
- private serialize;
364
- /**
365
- * @internal
366
- */
367
- private deserialize;
352
+ export declare class CreateJobCommand extends CreateJobCommand_base {
368
353
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
5
4
  import { CreateRevisionRequest, CreateRevisionResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateRevisionCommandInput extends CreateRevisionRequest {
21
20
  */
22
21
  export interface CreateRevisionCommandOutput extends CreateRevisionResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateRevisionCommand_base: {
24
+ new (input: CreateRevisionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRevisionCommandInput, CreateRevisionCommandOutput, DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>This operation creates a revision for a data set.</p>
@@ -83,23 +86,5 @@ export interface CreateRevisionCommandOutput extends CreateRevisionResponse, __M
83
86
  * <p>Base exception class for all service exceptions from DataExchange service.</p>
84
87
  *
85
88
  */
86
- export declare class CreateRevisionCommand extends $Command<CreateRevisionCommandInput, CreateRevisionCommandOutput, DataExchangeClientResolvedConfig> {
87
- readonly input: CreateRevisionCommandInput;
88
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
89
- /**
90
- * @public
91
- */
92
- constructor(input: CreateRevisionCommandInput);
93
- /**
94
- * @internal
95
- */
96
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateRevisionCommandInput, CreateRevisionCommandOutput>;
97
- /**
98
- * @internal
99
- */
100
- private serialize;
101
- /**
102
- * @internal
103
- */
104
- private deserialize;
89
+ export declare class CreateRevisionCommand extends CreateRevisionCommand_base {
105
90
  }