@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 TagResourceCommand 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, TagResourceCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "BCMDataExportsClient";
28
- const commandName = "TagResourceCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "AWSBillingAndCostManagementDataExports",
37
- operation: "TagResource",
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_TagResourceCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_json1_1_1.de_TagResourceCommand)(output, context);
48
- }
10
+ class TagResourceCommand 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", "TagResource", {})
22
+ .n("BCMDataExportsClient", "TagResourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_TagResourceCommand)
25
+ .de(Aws_json1_1_1.de_TagResourceCommand)
26
+ .build() {
49
27
  }
50
28
  exports.TagResourceCommand = TagResourceCommand;
@@ -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 UntagResourceCommand 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, UntagResourceCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "BCMDataExportsClient";
28
- const commandName = "UntagResourceCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "AWSBillingAndCostManagementDataExports",
37
- operation: "UntagResource",
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_UntagResourceCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_json1_1_1.de_UntagResourceCommand)(output, context);
48
- }
10
+ class UntagResourceCommand 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", "UntagResource", {})
22
+ .n("BCMDataExportsClient", "UntagResourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UntagResourceCommand)
25
+ .de(Aws_json1_1_1.de_UntagResourceCommand)
26
+ .build() {
49
27
  }
50
28
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -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 UpdateExportCommand 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, UpdateExportCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "BCMDataExportsClient";
28
- const commandName = "UpdateExportCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "AWSBillingAndCostManagementDataExports",
37
- operation: "UpdateExport",
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_UpdateExportCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_json1_1_1.de_UpdateExportCommand)(output, context);
48
- }
10
+ class UpdateExportCommand 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", "UpdateExport", {})
22
+ .n("BCMDataExportsClient", "UpdateExportCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateExportCommand)
25
+ .de(Aws_json1_1_1.de_UpdateExportCommand)
26
+ .build() {
49
27
  }
50
28
  exports.UpdateExportCommand = UpdateExportCommand;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveClientEndpointParameters = void 0;
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
5
  return {
6
6
  ...options,
@@ -9,3 +9,8 @@ const resolveClientEndpointParameters = (options) => {
9
9
  };
10
10
  };
11
11
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
12
+ exports.commonParams = {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ };
@@ -1,46 +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_CreateExportCommand, se_CreateExportCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class CreateExportCommand 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
- };
14
- }
15
- constructor(input) {
16
- super();
17
- this.input = input;
18
- }
19
- resolveMiddleware(clientStack, configuration, options) {
20
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateExportCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "BCMDataExportsClient";
25
- const commandName = "CreateExportCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "AWSBillingAndCostManagementDataExports",
34
- operation: "CreateExport",
35
- },
36
- };
37
- const { requestHandler } = configuration;
38
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
- }
40
- serialize(input, context) {
41
- return se_CreateExportCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_CreateExportCommand(output, context);
45
- }
7
+ export class CreateExportCommand 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("AWSBillingAndCostManagementDataExports", "CreateExport", {})
19
+ .n("BCMDataExportsClient", "CreateExportCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateExportCommand)
22
+ .de(de_CreateExportCommand)
23
+ .build() {
46
24
  }
@@ -1,46 +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_DeleteExportCommand, se_DeleteExportCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DeleteExportCommand 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
- };
14
- }
15
- constructor(input) {
16
- super();
17
- this.input = input;
18
- }
19
- resolveMiddleware(clientStack, configuration, options) {
20
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteExportCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "BCMDataExportsClient";
25
- const commandName = "DeleteExportCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "AWSBillingAndCostManagementDataExports",
34
- operation: "DeleteExport",
35
- },
36
- };
37
- const { requestHandler } = configuration;
38
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
- }
40
- serialize(input, context) {
41
- return se_DeleteExportCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_DeleteExportCommand(output, context);
45
- }
7
+ export class DeleteExportCommand 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("AWSBillingAndCostManagementDataExports", "DeleteExport", {})
19
+ .n("BCMDataExportsClient", "DeleteExportCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteExportCommand)
22
+ .de(de_DeleteExportCommand)
23
+ .build() {
46
24
  }
@@ -1,46 +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_GetExecutionCommand, se_GetExecutionCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetExecutionCommand 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
- };
14
- }
15
- constructor(input) {
16
- super();
17
- this.input = input;
18
- }
19
- resolveMiddleware(clientStack, configuration, options) {
20
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
- this.middlewareStack.use(getEndpointPlugin(configuration, GetExecutionCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "BCMDataExportsClient";
25
- const commandName = "GetExecutionCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "AWSBillingAndCostManagementDataExports",
34
- operation: "GetExecution",
35
- },
36
- };
37
- const { requestHandler } = configuration;
38
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
- }
40
- serialize(input, context) {
41
- return se_GetExecutionCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_GetExecutionCommand(output, context);
45
- }
7
+ export class GetExecutionCommand 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("AWSBillingAndCostManagementDataExports", "GetExecution", {})
19
+ .n("BCMDataExportsClient", "GetExecutionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetExecutionCommand)
22
+ .de(de_GetExecutionCommand)
23
+ .build() {
46
24
  }
@@ -1,46 +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_GetExportCommand, se_GetExportCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetExportCommand 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
- };
14
- }
15
- constructor(input) {
16
- super();
17
- this.input = input;
18
- }
19
- resolveMiddleware(clientStack, configuration, options) {
20
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
- this.middlewareStack.use(getEndpointPlugin(configuration, GetExportCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "BCMDataExportsClient";
25
- const commandName = "GetExportCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "AWSBillingAndCostManagementDataExports",
34
- operation: "GetExport",
35
- },
36
- };
37
- const { requestHandler } = configuration;
38
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
- }
40
- serialize(input, context) {
41
- return se_GetExportCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_GetExportCommand(output, context);
45
- }
7
+ export class GetExportCommand 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("AWSBillingAndCostManagementDataExports", "GetExport", {})
19
+ .n("BCMDataExportsClient", "GetExportCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetExportCommand)
22
+ .de(de_GetExportCommand)
23
+ .build() {
46
24
  }
@@ -1,46 +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_GetTableCommand, se_GetTableCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetTableCommand 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
- };
14
- }
15
- constructor(input) {
16
- super();
17
- this.input = input;
18
- }
19
- resolveMiddleware(clientStack, configuration, options) {
20
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
- this.middlewareStack.use(getEndpointPlugin(configuration, GetTableCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "BCMDataExportsClient";
25
- const commandName = "GetTableCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "AWSBillingAndCostManagementDataExports",
34
- operation: "GetTable",
35
- },
36
- };
37
- const { requestHandler } = configuration;
38
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
- }
40
- serialize(input, context) {
41
- return se_GetTableCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_GetTableCommand(output, context);
45
- }
7
+ export class GetTableCommand 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("AWSBillingAndCostManagementDataExports", "GetTable", {})
19
+ .n("BCMDataExportsClient", "GetTableCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetTableCommand)
22
+ .de(de_GetTableCommand)
23
+ .build() {
46
24
  }
@@ -1,46 +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_ListExecutionsCommand, se_ListExecutionsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListExecutionsCommand 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
- };
14
- }
15
- constructor(input) {
16
- super();
17
- this.input = input;
18
- }
19
- resolveMiddleware(clientStack, configuration, options) {
20
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
- this.middlewareStack.use(getEndpointPlugin(configuration, ListExecutionsCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "BCMDataExportsClient";
25
- const commandName = "ListExecutionsCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "AWSBillingAndCostManagementDataExports",
34
- operation: "ListExecutions",
35
- },
36
- };
37
- const { requestHandler } = configuration;
38
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
- }
40
- serialize(input, context) {
41
- return se_ListExecutionsCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_ListExecutionsCommand(output, context);
45
- }
7
+ export class ListExecutionsCommand 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("AWSBillingAndCostManagementDataExports", "ListExecutions", {})
19
+ .n("BCMDataExportsClient", "ListExecutionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListExecutionsCommand)
22
+ .de(de_ListExecutionsCommand)
23
+ .build() {
46
24
  }