@aws-sdk/client-bcm-data-exports 3.458.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.
- package/LICENSE +201 -0
- package/README.md +308 -0
- package/dist-cjs/BCMDataExports.js +35 -0
- package/dist-cjs/BCMDataExportsClient.js +43 -0
- package/dist-cjs/commands/CreateExportCommand.js +50 -0
- package/dist-cjs/commands/DeleteExportCommand.js +50 -0
- package/dist-cjs/commands/GetExecutionCommand.js +50 -0
- package/dist-cjs/commands/GetExportCommand.js +50 -0
- package/dist-cjs/commands/GetTableCommand.js +50 -0
- package/dist-cjs/commands/ListExecutionsCommand.js +50 -0
- package/dist-cjs/commands/ListExportsCommand.js +50 -0
- package/dist-cjs/commands/ListTablesCommand.js +50 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +50 -0
- package/dist-cjs/commands/TagResourceCommand.js +50 -0
- package/dist-cjs/commands/UntagResourceCommand.js +50 -0
- package/dist-cjs/commands/UpdateExportCommand.js +50 -0
- package/dist-cjs/commands/index.js +15 -0
- package/dist-cjs/endpoint/EndpointParameters.js +11 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/BCMDataExportsServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +126 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListExecutionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListExportsPaginator.js +29 -0
- package/dist-cjs/pagination/ListTablesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_json1_1.js +775 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +24 -0
- package/dist-cjs/runtimeExtensions.js +22 -0
- package/dist-es/BCMDataExports.js +31 -0
- package/dist-es/BCMDataExportsClient.js +39 -0
- package/dist-es/commands/CreateExportCommand.js +46 -0
- package/dist-es/commands/DeleteExportCommand.js +46 -0
- package/dist-es/commands/GetExecutionCommand.js +46 -0
- package/dist-es/commands/GetExportCommand.js +46 -0
- package/dist-es/commands/GetTableCommand.js +46 -0
- package/dist-es/commands/ListExecutionsCommand.js +46 -0
- package/dist-es/commands/ListExportsCommand.js +46 -0
- package/dist-es/commands/ListTablesCommand.js +46 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-es/commands/TagResourceCommand.js +46 -0
- package/dist-es/commands/UntagResourceCommand.js +46 -0
- package/dist-es/commands/UpdateExportCommand.js +46 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/endpoint/EndpointParameters.js +7 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/BCMDataExportsServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +118 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListExecutionsPaginator.js +25 -0
- package/dist-es/pagination/ListExportsPaginator.js +25 -0
- package/dist-es/pagination/ListTablesPaginator.js +25 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +748 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +20 -0
- package/dist-es/runtimeExtensions.js +18 -0
- package/dist-types/BCMDataExports.d.ts +101 -0
- package/dist-types/BCMDataExportsClient.d.ts +188 -0
- package/dist-types/commands/CreateExportCommand.d.ts +138 -0
- package/dist-types/commands/DeleteExportCommand.d.ts +87 -0
- package/dist-types/commands/GetExecutionCommand.d.ts +124 -0
- package/dist-types/commands/GetExportCommand.d.ts +122 -0
- package/dist-types/commands/GetTableCommand.d.ts +99 -0
- package/dist-types/commands/ListExecutionsCommand.d.ts +101 -0
- package/dist-types/commands/ListExportsCommand.d.ts +98 -0
- package/dist-types/commands/ListTablesCommand.d.ts +101 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +95 -0
- package/dist-types/commands/TagResourceCommand.d.ts +91 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
- package/dist-types/commands/UpdateExportCommand.d.ts +117 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +20 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +22 -0
- package/dist-types/models/BCMDataExportsServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +921 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListExportsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTablesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +110 -0
- package/dist-types/runtimeConfig.browser.d.ts +46 -0
- package/dist-types/runtimeConfig.d.ts +46 -0
- package/dist-types/runtimeConfig.native.d.ts +45 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/BCMDataExports.d.ts +211 -0
- package/dist-types/ts3.4/BCMDataExportsClient.d.ts +191 -0
- package/dist-types/ts3.4/commands/CreateExportCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteExportCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetExecutionCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetExportCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetTableCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateExportCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +31 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/BCMDataExportsServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +277 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +149 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +102 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteExportCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
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
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.DeleteExportCommand = DeleteExportCommand;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetExecutionCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
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
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.GetExecutionCommand = GetExecutionCommand;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetExportCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
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
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.GetExportCommand = GetExportCommand;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetTableCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
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
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.GetTableCommand = GetTableCommand;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListExecutionsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
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
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.ListExecutionsCommand = ListExecutionsCommand;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListExportsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
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
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.ListExportsCommand = ListExportsCommand;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListTablesCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
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
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.ListTablesCommand = ListTablesCommand;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListTagsForResourceCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
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
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TagResourceCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
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
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UntagResourceCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
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
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateExportCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
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
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.UpdateExportCommand = UpdateExportCommand;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./CreateExportCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./DeleteExportCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./GetExecutionCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./GetExportCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./GetTableCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./ListExecutionsCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ListExportsCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./ListTablesCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./UpdateExportCommand"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveClientEndpointParameters = void 0;
|
|
4
|
+
const resolveClientEndpointParameters = (options) => {
|
|
5
|
+
return {
|
|
6
|
+
...options,
|
|
7
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
8
|
+
defaultSigningName: "bcm-data-exports",
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultEndpointResolver = void 0;
|
|
4
|
+
const util_endpoints_1 = require("@smithy/util-endpoints");
|
|
5
|
+
const ruleset_1 = require("./ruleset");
|
|
6
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
+
return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
|
+
endpointParams: endpointParams,
|
|
9
|
+
logger: context.logger,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ruleSet = void 0;
|
|
4
|
+
const r = "argv", s = "ref";
|
|
5
|
+
const a = false, b = true, c = "isSet", d = "booleanEquals", e = "error", f = "endpoint", g = "tree", h = "PartitionResult", i = "getAttr", j = { "required": false, "type": "String" }, k = { [s]: "Endpoint" }, l = {}, m = { [s]: h }, n = { [e]: "FIPS is enabled but this partition does not support FIPS", "type": e }, o = [{ "fn": d, [r]: [{ [s]: "UseFIPS" }, true] }], p = [{ [s]: "Region" }], q = [{ "fn": d, [r]: [{ "fn": i, [r]: [m, "supportsFIPS"] }, true] }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: j, UseFIPS: { required: b, default: a, type: "Boolean" }, Endpoint: j }, rules: [{ conditions: [{ fn: c, [r]: [k] }], rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: e }, { endpoint: { url: k, properties: l, headers: l }, type: f }], type: g }, { conditions: [{ fn: c, [r]: p }], rules: [{ conditions: [{ fn: "aws.partition", [r]: p, assign: h }], rules: [{ conditions: [{ fn: "stringEquals", [r]: [{ fn: i, [r]: [m, "name"] }, "aws"] }], rules: [{ conditions: o, rules: [{ conditions: q, rules: [{ endpoint: { url: "https://bcm-data-exports-fips.{Region}.api.aws", properties: l, headers: l }, type: f }], type: g }, n], type: g }, { endpoint: { url: "https://bcm-data-exports.us-east-1.api.aws", properties: { authSchemes: [{ name: "sigv4", signingName: "bcm-data-exports", signingRegion: "us-east-1" }] }, headers: l }, type: f }], type: g }, { conditions: [{ fn: d, [r]: [b, { fn: i, [r]: [m, "supportsDualStack"] }] }], rules: [{ conditions: o, rules: [{ conditions: q, rules: [{ endpoint: { url: "https://bcm-data-exports-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: f }], type: g }, n], type: g }, { endpoint: { url: "https://bcm-data-exports.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: f }], type: g }, { conditions: o, rules: [{ conditions: q, rules: [{ endpoint: { url: "https://bcm-data-exports-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: f }], type: g }, n], type: g }, { endpoint: { url: "https://bcm-data-exports.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: f }], type: g }], type: g }, { error: "Invalid Configuration: Missing Region", type: e }] };
|
|
7
|
+
exports.ruleSet = _data;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BCMDataExportsServiceException = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
tslib_1.__exportStar(require("./BCMDataExportsClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./BCMDataExports"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
10
|
+
require("@aws-sdk/util-endpoints");
|
|
11
|
+
var BCMDataExportsServiceException_1 = require("./models/BCMDataExportsServiceException");
|
|
12
|
+
Object.defineProperty(exports, "BCMDataExportsServiceException", { enumerable: true, get: function () { return BCMDataExportsServiceException_1.BCMDataExportsServiceException; } });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BCMDataExportsServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class BCMDataExportsServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, BCMDataExportsServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.BCMDataExportsServiceException = BCMDataExportsServiceException;
|