@aws-sdk/client-bcm-data-exports 3.478.0 → 3.481.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 (53) hide show
  1. package/dist-cjs/commands/CreateExportCommand.js +18 -40
  2. package/dist-cjs/commands/DeleteExportCommand.js +18 -40
  3. package/dist-cjs/commands/GetExecutionCommand.js +18 -40
  4. package/dist-cjs/commands/GetExportCommand.js +18 -40
  5. package/dist-cjs/commands/GetTableCommand.js +18 -40
  6. package/dist-cjs/commands/ListExecutionsCommand.js +18 -40
  7. package/dist-cjs/commands/ListExportsCommand.js +18 -40
  8. package/dist-cjs/commands/ListTablesCommand.js +18 -40
  9. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -40
  10. package/dist-cjs/commands/TagResourceCommand.js +18 -40
  11. package/dist-cjs/commands/UntagResourceCommand.js +18 -40
  12. package/dist-cjs/commands/UpdateExportCommand.js +18 -40
  13. package/dist-cjs/endpoint/EndpointParameters.js +6 -1
  14. package/dist-es/commands/CreateExportCommand.js +18 -40
  15. package/dist-es/commands/DeleteExportCommand.js +18 -40
  16. package/dist-es/commands/GetExecutionCommand.js +18 -40
  17. package/dist-es/commands/GetExportCommand.js +18 -40
  18. package/dist-es/commands/GetTableCommand.js +18 -40
  19. package/dist-es/commands/ListExecutionsCommand.js +18 -40
  20. package/dist-es/commands/ListExportsCommand.js +18 -40
  21. package/dist-es/commands/ListTablesCommand.js +18 -40
  22. package/dist-es/commands/ListTagsForResourceCommand.js +18 -40
  23. package/dist-es/commands/TagResourceCommand.js +18 -40
  24. package/dist-es/commands/UntagResourceCommand.js +18 -40
  25. package/dist-es/commands/UpdateExportCommand.js +18 -40
  26. package/dist-es/endpoint/EndpointParameters.js +5 -0
  27. package/dist-types/commands/CreateExportCommand.d.ts +6 -21
  28. package/dist-types/commands/DeleteExportCommand.d.ts +6 -21
  29. package/dist-types/commands/GetExecutionCommand.d.ts +6 -21
  30. package/dist-types/commands/GetExportCommand.d.ts +6 -21
  31. package/dist-types/commands/GetTableCommand.d.ts +6 -21
  32. package/dist-types/commands/ListExecutionsCommand.d.ts +6 -21
  33. package/dist-types/commands/ListExportsCommand.d.ts +6 -21
  34. package/dist-types/commands/ListTablesCommand.d.ts +6 -21
  35. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  36. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  37. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  38. package/dist-types/commands/UpdateExportCommand.d.ts +6 -21
  39. package/dist-types/endpoint/EndpointParameters.d.ts +14 -0
  40. package/dist-types/ts3.4/commands/CreateExportCommand.d.ts +14 -23
  41. package/dist-types/ts3.4/commands/DeleteExportCommand.d.ts +14 -23
  42. package/dist-types/ts3.4/commands/GetExecutionCommand.d.ts +14 -23
  43. package/dist-types/ts3.4/commands/GetExportCommand.d.ts +14 -23
  44. package/dist-types/ts3.4/commands/GetTableCommand.d.ts +14 -23
  45. package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +14 -23
  46. package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +14 -23
  47. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +14 -23
  48. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  49. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  50. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  51. package/dist-types/ts3.4/commands/UpdateExportCommand.d.ts +14 -23
  52. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +14 -0
  53. package/package.json +9 -9
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateExportCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateExportCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "BCMDataExportsClient";
28
- const commandName = "CreateExportCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "AWSBillingAndCostManagementDataExports",
37
- operation: "CreateExport",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_json1_1_1.se_CreateExportCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_json1_1_1.de_CreateExportCommand)(output, context);
48
- }
10
+ class CreateExportCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSBillingAndCostManagementDataExports", "CreateExport", {})
22
+ .n("BCMDataExportsClient", "CreateExportCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreateExportCommand)
25
+ .de(Aws_json1_1_1.de_CreateExportCommand)
26
+ .build() {
49
27
  }
50
28
  exports.CreateExportCommand = CreateExportCommand;
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DeleteExportCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteExportCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "BCMDataExportsClient";
28
- const commandName = "DeleteExportCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "AWSBillingAndCostManagementDataExports",
37
- operation: "DeleteExport",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_json1_1_1.se_DeleteExportCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_json1_1_1.de_DeleteExportCommand)(output, context);
48
- }
10
+ class DeleteExportCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSBillingAndCostManagementDataExports", "DeleteExport", {})
22
+ .n("BCMDataExportsClient", "DeleteExportCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_DeleteExportCommand)
25
+ .de(Aws_json1_1_1.de_DeleteExportCommand)
26
+ .build() {
49
27
  }
50
28
  exports.DeleteExportCommand = DeleteExportCommand;
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class GetExecutionCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetExecutionCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "BCMDataExportsClient";
28
- const commandName = "GetExecutionCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "AWSBillingAndCostManagementDataExports",
37
- operation: "GetExecution",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_json1_1_1.se_GetExecutionCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_json1_1_1.de_GetExecutionCommand)(output, context);
48
- }
10
+ class GetExecutionCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSBillingAndCostManagementDataExports", "GetExecution", {})
22
+ .n("BCMDataExportsClient", "GetExecutionCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_GetExecutionCommand)
25
+ .de(Aws_json1_1_1.de_GetExecutionCommand)
26
+ .build() {
49
27
  }
50
28
  exports.GetExecutionCommand = GetExecutionCommand;
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class GetExportCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetExportCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "BCMDataExportsClient";
28
- const commandName = "GetExportCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "AWSBillingAndCostManagementDataExports",
37
- operation: "GetExport",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_json1_1_1.se_GetExportCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_json1_1_1.de_GetExportCommand)(output, context);
48
- }
10
+ class GetExportCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSBillingAndCostManagementDataExports", "GetExport", {})
22
+ .n("BCMDataExportsClient", "GetExportCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_GetExportCommand)
25
+ .de(Aws_json1_1_1.de_GetExportCommand)
26
+ .build() {
49
27
  }
50
28
  exports.GetExportCommand = GetExportCommand;
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class GetTableCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetTableCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "BCMDataExportsClient";
28
- const commandName = "GetTableCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "AWSBillingAndCostManagementDataExports",
37
- operation: "GetTable",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_json1_1_1.se_GetTableCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_json1_1_1.de_GetTableCommand)(output, context);
48
- }
10
+ class GetTableCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSBillingAndCostManagementDataExports", "GetTable", {})
22
+ .n("BCMDataExportsClient", "GetTableCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_GetTableCommand)
25
+ .de(Aws_json1_1_1.de_GetTableCommand)
26
+ .build() {
49
27
  }
50
28
  exports.GetTableCommand = GetTableCommand;
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class ListExecutionsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListExecutionsCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "BCMDataExportsClient";
28
- const commandName = "ListExecutionsCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "AWSBillingAndCostManagementDataExports",
37
- operation: "ListExecutions",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_json1_1_1.se_ListExecutionsCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_json1_1_1.de_ListExecutionsCommand)(output, context);
48
- }
10
+ class ListExecutionsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSBillingAndCostManagementDataExports", "ListExecutions", {})
22
+ .n("BCMDataExportsClient", "ListExecutionsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_ListExecutionsCommand)
25
+ .de(Aws_json1_1_1.de_ListExecutionsCommand)
26
+ .build() {
49
27
  }
50
28
  exports.ListExecutionsCommand = ListExecutionsCommand;
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class ListExportsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListExportsCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "BCMDataExportsClient";
28
- const commandName = "ListExportsCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "AWSBillingAndCostManagementDataExports",
37
- operation: "ListExports",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_json1_1_1.se_ListExportsCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_json1_1_1.de_ListExportsCommand)(output, context);
48
- }
10
+ class ListExportsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSBillingAndCostManagementDataExports", "ListExports", {})
22
+ .n("BCMDataExportsClient", "ListExportsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_ListExportsCommand)
25
+ .de(Aws_json1_1_1.de_ListExportsCommand)
26
+ .build() {
49
27
  }
50
28
  exports.ListExportsCommand = ListExportsCommand;
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class ListTablesCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListTablesCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "BCMDataExportsClient";
28
- const commandName = "ListTablesCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "AWSBillingAndCostManagementDataExports",
37
- operation: "ListTables",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_json1_1_1.se_ListTablesCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_json1_1_1.de_ListTablesCommand)(output, context);
48
- }
10
+ class ListTablesCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSBillingAndCostManagementDataExports", "ListTables", {})
22
+ .n("BCMDataExportsClient", "ListTablesCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_ListTablesCommand)
25
+ .de(Aws_json1_1_1.de_ListTablesCommand)
26
+ .build() {
49
27
  }
50
28
  exports.ListTablesCommand = ListTablesCommand;
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class ListTagsForResourceCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "BCMDataExportsClient";
28
- const commandName = "ListTagsForResourceCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "AWSBillingAndCostManagementDataExports",
37
- operation: "ListTagsForResource",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_json1_1_1.se_ListTagsForResourceCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_json1_1_1.de_ListTagsForResourceCommand)(output, context);
48
- }
10
+ class ListTagsForResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSBillingAndCostManagementDataExports", "ListTagsForResource", {})
22
+ .n("BCMDataExportsClient", "ListTagsForResourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_ListTagsForResourceCommand)
25
+ .de(Aws_json1_1_1.de_ListTagsForResourceCommand)
26
+ .build() {
49
27
  }
50
28
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;