@aws-sdk/client-bcm-data-exports 3.477.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.
- package/dist-cjs/commands/CreateExportCommand.js +18 -40
- package/dist-cjs/commands/DeleteExportCommand.js +18 -40
- package/dist-cjs/commands/GetExecutionCommand.js +18 -40
- package/dist-cjs/commands/GetExportCommand.js +18 -40
- package/dist-cjs/commands/GetTableCommand.js +18 -40
- package/dist-cjs/commands/ListExecutionsCommand.js +18 -40
- package/dist-cjs/commands/ListExportsCommand.js +18 -40
- package/dist-cjs/commands/ListTablesCommand.js +18 -40
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -40
- package/dist-cjs/commands/TagResourceCommand.js +18 -40
- package/dist-cjs/commands/UntagResourceCommand.js +18 -40
- package/dist-cjs/commands/UpdateExportCommand.js +18 -40
- package/dist-cjs/endpoint/EndpointParameters.js +6 -1
- package/dist-cjs/pagination/ListExecutionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListExportsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTablesPaginator.js +2 -24
- package/dist-es/commands/CreateExportCommand.js +18 -40
- package/dist-es/commands/DeleteExportCommand.js +18 -40
- package/dist-es/commands/GetExecutionCommand.js +18 -40
- package/dist-es/commands/GetExportCommand.js +18 -40
- package/dist-es/commands/GetTableCommand.js +18 -40
- package/dist-es/commands/ListExecutionsCommand.js +18 -40
- package/dist-es/commands/ListExportsCommand.js +18 -40
- package/dist-es/commands/ListTablesCommand.js +18 -40
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -40
- package/dist-es/commands/TagResourceCommand.js +18 -40
- package/dist-es/commands/UntagResourceCommand.js +18 -40
- package/dist-es/commands/UpdateExportCommand.js +18 -40
- package/dist-es/endpoint/EndpointParameters.js +5 -0
- package/dist-es/pagination/ListExecutionsPaginator.js +2 -23
- package/dist-es/pagination/ListExportsPaginator.js +2 -23
- package/dist-es/pagination/ListTablesPaginator.js +2 -23
- package/dist-types/commands/CreateExportCommand.d.ts +6 -21
- package/dist-types/commands/DeleteExportCommand.d.ts +6 -21
- package/dist-types/commands/GetExecutionCommand.d.ts +6 -21
- package/dist-types/commands/GetExportCommand.d.ts +6 -21
- package/dist-types/commands/GetTableCommand.d.ts +6 -21
- package/dist-types/commands/ListExecutionsCommand.d.ts +6 -21
- package/dist-types/commands/ListExportsCommand.d.ts +6 -21
- package/dist-types/commands/ListTablesCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateExportCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +14 -0
- package/dist-types/pagination/ListExecutionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListExportsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTablesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateExportCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteExportCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetExecutionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetExportCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetTableCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateExportCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +14 -0
- package/dist-types/ts3.4/pagination/ListExecutionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -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 {
|
|
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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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
|
}
|
|
@@ -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 {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListExportsCommand, se_ListExportsCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListExportsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const clientName = "BCMDataExportsClient";
|
|
25
|
-
const commandName = "ListExportsCommand";
|
|
26
|
-
const handlerExecutionContext = {
|
|
27
|
-
logger,
|
|
28
|
-
clientName,
|
|
29
|
-
commandName,
|
|
30
|
-
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog: (_) => _,
|
|
32
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
-
service: "AWSBillingAndCostManagementDataExports",
|
|
34
|
-
operation: "ListExports",
|
|
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_ListExportsCommand(input, context);
|
|
42
|
-
}
|
|
43
|
-
deserialize(output, context) {
|
|
44
|
-
return de_ListExportsCommand(output, context);
|
|
45
|
-
}
|
|
7
|
+
export class ListExportsCommand 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", "ListExports", {})
|
|
19
|
+
.n("BCMDataExportsClient", "ListExportsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListExportsCommand)
|
|
22
|
+
.de(de_ListExportsCommand)
|
|
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 {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListTablesCommand, se_ListTablesCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListTablesCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const clientName = "BCMDataExportsClient";
|
|
25
|
-
const commandName = "ListTablesCommand";
|
|
26
|
-
const handlerExecutionContext = {
|
|
27
|
-
logger,
|
|
28
|
-
clientName,
|
|
29
|
-
commandName,
|
|
30
|
-
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog: (_) => _,
|
|
32
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
-
service: "AWSBillingAndCostManagementDataExports",
|
|
34
|
-
operation: "ListTables",
|
|
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_ListTablesCommand(input, context);
|
|
42
|
-
}
|
|
43
|
-
deserialize(output, context) {
|
|
44
|
-
return de_ListTablesCommand(output, context);
|
|
45
|
-
}
|
|
7
|
+
export class ListTablesCommand 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", "ListTables", {})
|
|
19
|
+
.n("BCMDataExportsClient", "ListTablesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListTablesCommand)
|
|
22
|
+
.de(de_ListTablesCommand)
|
|
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 {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListTagsForResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const clientName = "BCMDataExportsClient";
|
|
25
|
-
const commandName = "ListTagsForResourceCommand";
|
|
26
|
-
const handlerExecutionContext = {
|
|
27
|
-
logger,
|
|
28
|
-
clientName,
|
|
29
|
-
commandName,
|
|
30
|
-
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog: (_) => _,
|
|
32
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
-
service: "AWSBillingAndCostManagementDataExports",
|
|
34
|
-
operation: "ListTagsForResource",
|
|
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_ListTagsForResourceCommand(input, context);
|
|
42
|
-
}
|
|
43
|
-
deserialize(output, context) {
|
|
44
|
-
return de_ListTagsForResourceCommand(output, context);
|
|
45
|
-
}
|
|
7
|
+
export class ListTagsForResourceCommand 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", "ListTagsForResource", {})
|
|
19
|
+
.n("BCMDataExportsClient", "ListTagsForResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListTagsForResourceCommand)
|
|
22
|
+
.de(de_ListTagsForResourceCommand)
|
|
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 {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class TagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const clientName = "BCMDataExportsClient";
|
|
25
|
-
const commandName = "TagResourceCommand";
|
|
26
|
-
const handlerExecutionContext = {
|
|
27
|
-
logger,
|
|
28
|
-
clientName,
|
|
29
|
-
commandName,
|
|
30
|
-
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog: (_) => _,
|
|
32
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
-
service: "AWSBillingAndCostManagementDataExports",
|
|
34
|
-
operation: "TagResource",
|
|
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_TagResourceCommand(input, context);
|
|
42
|
-
}
|
|
43
|
-
deserialize(output, context) {
|
|
44
|
-
return de_TagResourceCommand(output, context);
|
|
45
|
-
}
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSBillingAndCostManagementDataExports", "TagResource", {})
|
|
19
|
+
.n("BCMDataExportsClient", "TagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_TagResourceCommand)
|
|
22
|
+
.de(de_TagResourceCommand)
|
|
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 {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UntagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const clientName = "BCMDataExportsClient";
|
|
25
|
-
const commandName = "UntagResourceCommand";
|
|
26
|
-
const handlerExecutionContext = {
|
|
27
|
-
logger,
|
|
28
|
-
clientName,
|
|
29
|
-
commandName,
|
|
30
|
-
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog: (_) => _,
|
|
32
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
-
service: "AWSBillingAndCostManagementDataExports",
|
|
34
|
-
operation: "UntagResource",
|
|
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_UntagResourceCommand(input, context);
|
|
42
|
-
}
|
|
43
|
-
deserialize(output, context) {
|
|
44
|
-
return de_UntagResourceCommand(output, context);
|
|
45
|
-
}
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSBillingAndCostManagementDataExports", "UntagResource", {})
|
|
19
|
+
.n("BCMDataExportsClient", "UntagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UntagResourceCommand)
|
|
22
|
+
.de(de_UntagResourceCommand)
|
|
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 {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateExportCommand, se_UpdateExportCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateExportCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const clientName = "BCMDataExportsClient";
|
|
25
|
-
const commandName = "UpdateExportCommand";
|
|
26
|
-
const handlerExecutionContext = {
|
|
27
|
-
logger,
|
|
28
|
-
clientName,
|
|
29
|
-
commandName,
|
|
30
|
-
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog: (_) => _,
|
|
32
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
-
service: "AWSBillingAndCostManagementDataExports",
|
|
34
|
-
operation: "UpdateExport",
|
|
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_UpdateExportCommand(input, context);
|
|
42
|
-
}
|
|
43
|
-
deserialize(output, context) {
|
|
44
|
-
return de_UpdateExportCommand(output, context);
|
|
45
|
-
}
|
|
7
|
+
export class UpdateExportCommand 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", "UpdateExport", {})
|
|
19
|
+
.n("BCMDataExportsClient", "UpdateExportCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateExportCommand)
|
|
22
|
+
.de(de_UpdateExportCommand)
|
|
23
|
+
.build() {
|
|
46
24
|
}
|
|
@@ -5,3 +5,8 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
5
5
|
defaultSigningName: "bcm-data-exports",
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
|
+
export const commonParams = {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { BCMDataExportsClient } from "../BCMDataExportsClient";
|
|
2
3
|
import { ListExecutionsCommand, } from "../commands/ListExecutionsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListExecutionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListExecutions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof BCMDataExportsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected BCMDataExports | BCMDataExportsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListExecutions = createPaginator(BCMDataExportsClient, ListExecutionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { BCMDataExportsClient } from "../BCMDataExportsClient";
|
|
2
3
|
import { ListExportsCommand } from "../commands/ListExportsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListExportsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListExports(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof BCMDataExportsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected BCMDataExports | BCMDataExportsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListExports = createPaginator(BCMDataExportsClient, ListExportsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { BCMDataExportsClient } from "../BCMDataExportsClient";
|
|
2
3
|
import { ListTablesCommand } from "../commands/ListTablesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTablesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTables(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof BCMDataExportsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected BCMDataExports | BCMDataExportsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListTables = createPaginator(BCMDataExportsClient, ListTablesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { BCMDataExportsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BCMDataExportsClient";
|
|
5
4
|
import { CreateExportRequest, CreateExportResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateExportCommandInput extends CreateExportRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateExportCommandOutput extends CreateExportResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateExportCommand_base: {
|
|
24
|
+
new (input: CreateExportCommandInput): import("@smithy/smithy-client").CommandImpl<CreateExportCommandInput, CreateExportCommandOutput, BCMDataExportsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a data export and specifies the data query, the delivery preference, and any
|
|
@@ -116,23 +119,5 @@ export interface CreateExportCommandOutput extends CreateExportResponse, __Metad
|
|
|
116
119
|
* <p>Base exception class for all service exceptions from BCMDataExports service.</p>
|
|
117
120
|
*
|
|
118
121
|
*/
|
|
119
|
-
export declare class CreateExportCommand extends
|
|
120
|
-
readonly input: CreateExportCommandInput;
|
|
121
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
122
|
-
/**
|
|
123
|
-
* @public
|
|
124
|
-
*/
|
|
125
|
-
constructor(input: CreateExportCommandInput);
|
|
126
|
-
/**
|
|
127
|
-
* @internal
|
|
128
|
-
*/
|
|
129
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BCMDataExportsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateExportCommandInput, CreateExportCommandOutput>;
|
|
130
|
-
/**
|
|
131
|
-
* @internal
|
|
132
|
-
*/
|
|
133
|
-
private serialize;
|
|
134
|
-
/**
|
|
135
|
-
* @internal
|
|
136
|
-
*/
|
|
137
|
-
private deserialize;
|
|
122
|
+
export declare class CreateExportCommand extends CreateExportCommand_base {
|
|
138
123
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { BCMDataExportsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BCMDataExportsClient";
|
|
5
4
|
import { DeleteExportRequest, DeleteExportResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteExportCommandInput extends DeleteExportRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteExportCommandOutput extends DeleteExportResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteExportCommand_base: {
|
|
24
|
+
new (input: DeleteExportCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteExportCommandInput, DeleteExportCommandOutput, BCMDataExportsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes an existing data export.</p>
|
|
@@ -65,23 +68,5 @@ export interface DeleteExportCommandOutput extends DeleteExportResponse, __Metad
|
|
|
65
68
|
* <p>Base exception class for all service exceptions from BCMDataExports service.</p>
|
|
66
69
|
*
|
|
67
70
|
*/
|
|
68
|
-
export declare class DeleteExportCommand extends
|
|
69
|
-
readonly input: DeleteExportCommandInput;
|
|
70
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
71
|
-
/**
|
|
72
|
-
* @public
|
|
73
|
-
*/
|
|
74
|
-
constructor(input: DeleteExportCommandInput);
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BCMDataExportsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteExportCommandInput, DeleteExportCommandOutput>;
|
|
79
|
-
/**
|
|
80
|
-
* @internal
|
|
81
|
-
*/
|
|
82
|
-
private serialize;
|
|
83
|
-
/**
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
86
|
-
private deserialize;
|
|
71
|
+
export declare class DeleteExportCommand extends DeleteExportCommand_base {
|
|
87
72
|
}
|