@aws-sdk/client-billing 3.714.0 → 3.717.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/README.md +72 -0
- package/dist-cjs/Billing.js +18 -0
- package/dist-cjs/commands/CreateBillingViewCommand.js +27 -0
- package/dist-cjs/commands/DeleteBillingViewCommand.js +26 -0
- package/dist-cjs/commands/GetBillingViewCommand.js +27 -0
- package/dist-cjs/commands/GetResourcePolicyCommand.js +26 -0
- package/dist-cjs/commands/ListSourceViewsForBillingViewCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/UpdateBillingViewCommand.js +27 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/models/models_0.js +80 -5
- package/dist-cjs/pagination/ListSourceViewsForBillingViewPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +269 -1
- package/dist-es/Billing.js +18 -0
- package/dist-es/commands/CreateBillingViewCommand.js +23 -0
- package/dist-es/commands/DeleteBillingViewCommand.js +22 -0
- package/dist-es/commands/GetBillingViewCommand.js +23 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +22 -0
- package/dist-es/commands/ListSourceViewsForBillingViewCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateBillingViewCommand.js +23 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +72 -4
- package/dist-es/pagination/ListSourceViewsForBillingViewPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +252 -2
- package/dist-types/Billing.d.ts +64 -0
- package/dist-types/BillingClient.d.ts +11 -2
- package/dist-types/commands/CreateBillingViewCommand.d.ts +124 -0
- package/dist-types/commands/DeleteBillingViewCommand.d.ts +91 -0
- package/dist-types/commands/GetBillingViewCommand.d.ts +114 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +93 -0
- package/dist-types/commands/ListBillingViewsCommand.d.ts +12 -4
- package/dist-types/commands/ListSourceViewsForBillingViewCommand.d.ts +97 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +97 -0
- package/dist-types/commands/TagResourceCommand.d.ts +97 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +94 -0
- package/dist-types/commands/UpdateBillingViewCommand.d.ts +119 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +640 -37
- package/dist-types/pagination/ListSourceViewsForBillingViewPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +81 -0
- package/dist-types/ts3.4/Billing.d.ts +154 -0
- package/dist-types/ts3.4/BillingClient.d.ts +58 -2
- package/dist-types/ts3.4/commands/CreateBillingViewCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteBillingViewCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetBillingViewCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListBillingViewsCommand.d.ts +10 -6
- package/dist-types/ts3.4/commands/ListSourceViewsForBillingViewCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateBillingViewCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +160 -20
- package/dist-types/ts3.4/pagination/ListSourceViewsForBillingViewPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +108 -0
- package/package.json +15 -13
package/README.md
CHANGED
|
@@ -209,6 +209,38 @@ see LICENSE for more information.
|
|
|
209
209
|
|
|
210
210
|
## Client Commands (Operations List)
|
|
211
211
|
|
|
212
|
+
<details>
|
|
213
|
+
<summary>
|
|
214
|
+
CreateBillingView
|
|
215
|
+
</summary>
|
|
216
|
+
|
|
217
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/billing/command/CreateBillingViewCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/CreateBillingViewCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/CreateBillingViewCommandOutput/)
|
|
218
|
+
|
|
219
|
+
</details>
|
|
220
|
+
<details>
|
|
221
|
+
<summary>
|
|
222
|
+
DeleteBillingView
|
|
223
|
+
</summary>
|
|
224
|
+
|
|
225
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/billing/command/DeleteBillingViewCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/DeleteBillingViewCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/DeleteBillingViewCommandOutput/)
|
|
226
|
+
|
|
227
|
+
</details>
|
|
228
|
+
<details>
|
|
229
|
+
<summary>
|
|
230
|
+
GetBillingView
|
|
231
|
+
</summary>
|
|
232
|
+
|
|
233
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/billing/command/GetBillingViewCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/GetBillingViewCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/GetBillingViewCommandOutput/)
|
|
234
|
+
|
|
235
|
+
</details>
|
|
236
|
+
<details>
|
|
237
|
+
<summary>
|
|
238
|
+
GetResourcePolicy
|
|
239
|
+
</summary>
|
|
240
|
+
|
|
241
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/billing/command/GetResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/GetResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/GetResourcePolicyCommandOutput/)
|
|
242
|
+
|
|
243
|
+
</details>
|
|
212
244
|
<details>
|
|
213
245
|
<summary>
|
|
214
246
|
ListBillingViews
|
|
@@ -217,3 +249,43 @@ ListBillingViews
|
|
|
217
249
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/billing/command/ListBillingViewsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/ListBillingViewsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/ListBillingViewsCommandOutput/)
|
|
218
250
|
|
|
219
251
|
</details>
|
|
252
|
+
<details>
|
|
253
|
+
<summary>
|
|
254
|
+
ListSourceViewsForBillingView
|
|
255
|
+
</summary>
|
|
256
|
+
|
|
257
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/billing/command/ListSourceViewsForBillingViewCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/ListSourceViewsForBillingViewCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/ListSourceViewsForBillingViewCommandOutput/)
|
|
258
|
+
|
|
259
|
+
</details>
|
|
260
|
+
<details>
|
|
261
|
+
<summary>
|
|
262
|
+
ListTagsForResource
|
|
263
|
+
</summary>
|
|
264
|
+
|
|
265
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/billing/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/ListTagsForResourceCommandOutput/)
|
|
266
|
+
|
|
267
|
+
</details>
|
|
268
|
+
<details>
|
|
269
|
+
<summary>
|
|
270
|
+
TagResource
|
|
271
|
+
</summary>
|
|
272
|
+
|
|
273
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/billing/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/TagResourceCommandOutput/)
|
|
274
|
+
|
|
275
|
+
</details>
|
|
276
|
+
<details>
|
|
277
|
+
<summary>
|
|
278
|
+
UntagResource
|
|
279
|
+
</summary>
|
|
280
|
+
|
|
281
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/billing/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/UntagResourceCommandOutput/)
|
|
282
|
+
|
|
283
|
+
</details>
|
|
284
|
+
<details>
|
|
285
|
+
<summary>
|
|
286
|
+
UpdateBillingView
|
|
287
|
+
</summary>
|
|
288
|
+
|
|
289
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/billing/command/UpdateBillingViewCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/UpdateBillingViewCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/UpdateBillingViewCommandOutput/)
|
|
290
|
+
|
|
291
|
+
</details>
|
package/dist-cjs/Billing.js
CHANGED
|
@@ -3,9 +3,27 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Billing = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const BillingClient_1 = require("./BillingClient");
|
|
6
|
+
const CreateBillingViewCommand_1 = require("./commands/CreateBillingViewCommand");
|
|
7
|
+
const DeleteBillingViewCommand_1 = require("./commands/DeleteBillingViewCommand");
|
|
8
|
+
const GetBillingViewCommand_1 = require("./commands/GetBillingViewCommand");
|
|
9
|
+
const GetResourcePolicyCommand_1 = require("./commands/GetResourcePolicyCommand");
|
|
6
10
|
const ListBillingViewsCommand_1 = require("./commands/ListBillingViewsCommand");
|
|
11
|
+
const ListSourceViewsForBillingViewCommand_1 = require("./commands/ListSourceViewsForBillingViewCommand");
|
|
12
|
+
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
13
|
+
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
14
|
+
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
15
|
+
const UpdateBillingViewCommand_1 = require("./commands/UpdateBillingViewCommand");
|
|
7
16
|
const commands = {
|
|
17
|
+
CreateBillingViewCommand: CreateBillingViewCommand_1.CreateBillingViewCommand,
|
|
18
|
+
DeleteBillingViewCommand: DeleteBillingViewCommand_1.DeleteBillingViewCommand,
|
|
19
|
+
GetBillingViewCommand: GetBillingViewCommand_1.GetBillingViewCommand,
|
|
20
|
+
GetResourcePolicyCommand: GetResourcePolicyCommand_1.GetResourcePolicyCommand,
|
|
8
21
|
ListBillingViewsCommand: ListBillingViewsCommand_1.ListBillingViewsCommand,
|
|
22
|
+
ListSourceViewsForBillingViewCommand: ListSourceViewsForBillingViewCommand_1.ListSourceViewsForBillingViewCommand,
|
|
23
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
24
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
25
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
26
|
+
UpdateBillingViewCommand: UpdateBillingViewCommand_1.UpdateBillingViewCommand,
|
|
9
27
|
};
|
|
10
28
|
class Billing extends BillingClient_1.BillingClient {
|
|
11
29
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateBillingViewCommand = 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 EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
11
|
+
class CreateBillingViewCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep(EndpointParameters_1.commonParams)
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("AWSBilling", "CreateBillingView", {})
|
|
21
|
+
.n("BillingClient", "CreateBillingViewCommand")
|
|
22
|
+
.f(models_0_1.CreateBillingViewRequestFilterSensitiveLog, void 0)
|
|
23
|
+
.ser(Aws_json1_0_1.se_CreateBillingViewCommand)
|
|
24
|
+
.de(Aws_json1_0_1.de_CreateBillingViewCommand)
|
|
25
|
+
.build() {
|
|
26
|
+
}
|
|
27
|
+
exports.CreateBillingViewCommand = CreateBillingViewCommand;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteBillingViewCommand = 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 EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
+
class DeleteBillingViewCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSBilling", "DeleteBillingView", {})
|
|
20
|
+
.n("BillingClient", "DeleteBillingViewCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_json1_0_1.se_DeleteBillingViewCommand)
|
|
23
|
+
.de(Aws_json1_0_1.de_DeleteBillingViewCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.DeleteBillingViewCommand = DeleteBillingViewCommand;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetBillingViewCommand = 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 EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
11
|
+
class GetBillingViewCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep(EndpointParameters_1.commonParams)
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("AWSBilling", "GetBillingView", {})
|
|
21
|
+
.n("BillingClient", "GetBillingViewCommand")
|
|
22
|
+
.f(void 0, models_0_1.GetBillingViewResponseFilterSensitiveLog)
|
|
23
|
+
.ser(Aws_json1_0_1.se_GetBillingViewCommand)
|
|
24
|
+
.de(Aws_json1_0_1.de_GetBillingViewCommand)
|
|
25
|
+
.build() {
|
|
26
|
+
}
|
|
27
|
+
exports.GetBillingViewCommand = GetBillingViewCommand;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetResourcePolicyCommand = 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 EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
+
class GetResourcePolicyCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSBilling", "GetResourcePolicy", {})
|
|
20
|
+
.n("BillingClient", "GetResourcePolicyCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_json1_0_1.se_GetResourcePolicyCommand)
|
|
23
|
+
.de(Aws_json1_0_1.de_GetResourcePolicyCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListSourceViewsForBillingViewCommand = 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 EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
+
class ListSourceViewsForBillingViewCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSBilling", "ListSourceViewsForBillingView", {})
|
|
20
|
+
.n("BillingClient", "ListSourceViewsForBillingViewCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_json1_0_1.se_ListSourceViewsForBillingViewCommand)
|
|
23
|
+
.de(Aws_json1_0_1.de_ListSourceViewsForBillingViewCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.ListSourceViewsForBillingViewCommand = ListSourceViewsForBillingViewCommand;
|
|
@@ -0,0 +1,26 @@
|
|
|
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 EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
+
class ListTagsForResourceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSBilling", "ListTagsForResource", {})
|
|
20
|
+
.n("BillingClient", "ListTagsForResourceCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_json1_0_1.se_ListTagsForResourceCommand)
|
|
23
|
+
.de(Aws_json1_0_1.de_ListTagsForResourceCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
@@ -0,0 +1,26 @@
|
|
|
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 EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
+
class TagResourceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSBilling", "TagResource", {})
|
|
20
|
+
.n("BillingClient", "TagResourceCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_json1_0_1.se_TagResourceCommand)
|
|
23
|
+
.de(Aws_json1_0_1.de_TagResourceCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -0,0 +1,26 @@
|
|
|
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 EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
+
class UntagResourceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSBilling", "UntagResource", {})
|
|
20
|
+
.n("BillingClient", "UntagResourceCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_json1_0_1.se_UntagResourceCommand)
|
|
23
|
+
.de(Aws_json1_0_1.de_UntagResourceCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateBillingViewCommand = 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 EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
11
|
+
class UpdateBillingViewCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep(EndpointParameters_1.commonParams)
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("AWSBilling", "UpdateBillingView", {})
|
|
21
|
+
.n("BillingClient", "UpdateBillingViewCommand")
|
|
22
|
+
.f(models_0_1.UpdateBillingViewRequestFilterSensitiveLog, void 0)
|
|
23
|
+
.ser(Aws_json1_0_1.se_UpdateBillingViewCommand)
|
|
24
|
+
.de(Aws_json1_0_1.de_UpdateBillingViewCommand)
|
|
25
|
+
.build() {
|
|
26
|
+
}
|
|
27
|
+
exports.UpdateBillingViewCommand = UpdateBillingViewCommand;
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./CreateBillingViewCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./DeleteBillingViewCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./GetBillingViewCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./GetResourcePolicyCommand"), exports);
|
|
4
8
|
tslib_1.__exportStar(require("./ListBillingViewsCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./ListSourceViewsForBillingViewCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./UpdateBillingViewCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListBillingViewsResponseFilterSensitiveLog = exports.BillingViewListElementFilterSensitiveLog = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.
|
|
3
|
+
exports.UpdateBillingViewRequestFilterSensitiveLog = exports.ListBillingViewsResponseFilterSensitiveLog = exports.BillingViewListElementFilterSensitiveLog = exports.GetBillingViewResponseFilterSensitiveLog = exports.BillingViewElementFilterSensitiveLog = exports.CreateBillingViewRequestFilterSensitiveLog = exports.ResourceNotFoundException = exports.BillingViewType = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.Dimension = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const BillingServiceException_1 = require("./BillingServiceException");
|
|
6
6
|
class AccessDeniedException extends BillingServiceException_1.BillingServiceException {
|
|
@@ -16,6 +16,24 @@ class AccessDeniedException extends BillingServiceException_1.BillingServiceExce
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
exports.AccessDeniedException = AccessDeniedException;
|
|
19
|
+
class ConflictException extends BillingServiceException_1.BillingServiceException {
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "ConflictException",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
this.name = "ConflictException";
|
|
27
|
+
this.$fault = "client";
|
|
28
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
29
|
+
this.resourceId = opts.resourceId;
|
|
30
|
+
this.resourceType = opts.resourceType;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.ConflictException = ConflictException;
|
|
34
|
+
exports.Dimension = {
|
|
35
|
+
LINKED_ACCOUNT: "LINKED_ACCOUNT",
|
|
36
|
+
};
|
|
19
37
|
class InternalServerException extends BillingServiceException_1.BillingServiceException {
|
|
20
38
|
constructor(opts) {
|
|
21
39
|
super({
|
|
@@ -29,10 +47,23 @@ class InternalServerException extends BillingServiceException_1.BillingServiceEx
|
|
|
29
47
|
}
|
|
30
48
|
}
|
|
31
49
|
exports.InternalServerException = InternalServerException;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
50
|
+
class ServiceQuotaExceededException extends BillingServiceException_1.BillingServiceException {
|
|
51
|
+
constructor(opts) {
|
|
52
|
+
super({
|
|
53
|
+
name: "ServiceQuotaExceededException",
|
|
54
|
+
$fault: "client",
|
|
55
|
+
...opts,
|
|
56
|
+
});
|
|
57
|
+
this.name = "ServiceQuotaExceededException";
|
|
58
|
+
this.$fault = "client";
|
|
59
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
60
|
+
this.resourceId = opts.resourceId;
|
|
61
|
+
this.resourceType = opts.resourceType;
|
|
62
|
+
this.serviceCode = opts.serviceCode;
|
|
63
|
+
this.quotaCode = opts.quotaCode;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
36
67
|
class ThrottlingException extends BillingServiceException_1.BillingServiceException {
|
|
37
68
|
constructor(opts) {
|
|
38
69
|
super({
|
|
@@ -67,9 +98,47 @@ class ValidationException extends BillingServiceException_1.BillingServiceExcept
|
|
|
67
98
|
}
|
|
68
99
|
}
|
|
69
100
|
exports.ValidationException = ValidationException;
|
|
101
|
+
exports.BillingViewType = {
|
|
102
|
+
BILLING_GROUP: "BILLING_GROUP",
|
|
103
|
+
CUSTOM: "CUSTOM",
|
|
104
|
+
PRIMARY: "PRIMARY",
|
|
105
|
+
};
|
|
106
|
+
class ResourceNotFoundException extends BillingServiceException_1.BillingServiceException {
|
|
107
|
+
constructor(opts) {
|
|
108
|
+
super({
|
|
109
|
+
name: "ResourceNotFoundException",
|
|
110
|
+
$fault: "client",
|
|
111
|
+
...opts,
|
|
112
|
+
});
|
|
113
|
+
this.name = "ResourceNotFoundException";
|
|
114
|
+
this.$fault = "client";
|
|
115
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
116
|
+
this.resourceId = opts.resourceId;
|
|
117
|
+
this.resourceType = opts.resourceType;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
121
|
+
const CreateBillingViewRequestFilterSensitiveLog = (obj) => ({
|
|
122
|
+
...obj,
|
|
123
|
+
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
|
|
124
|
+
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
125
|
+
});
|
|
126
|
+
exports.CreateBillingViewRequestFilterSensitiveLog = CreateBillingViewRequestFilterSensitiveLog;
|
|
127
|
+
const BillingViewElementFilterSensitiveLog = (obj) => ({
|
|
128
|
+
...obj,
|
|
129
|
+
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
|
|
130
|
+
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
131
|
+
});
|
|
132
|
+
exports.BillingViewElementFilterSensitiveLog = BillingViewElementFilterSensitiveLog;
|
|
133
|
+
const GetBillingViewResponseFilterSensitiveLog = (obj) => ({
|
|
134
|
+
...obj,
|
|
135
|
+
...(obj.billingView && { billingView: (0, exports.BillingViewElementFilterSensitiveLog)(obj.billingView) }),
|
|
136
|
+
});
|
|
137
|
+
exports.GetBillingViewResponseFilterSensitiveLog = GetBillingViewResponseFilterSensitiveLog;
|
|
70
138
|
const BillingViewListElementFilterSensitiveLog = (obj) => ({
|
|
71
139
|
...obj,
|
|
72
140
|
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
|
|
141
|
+
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
73
142
|
});
|
|
74
143
|
exports.BillingViewListElementFilterSensitiveLog = BillingViewListElementFilterSensitiveLog;
|
|
75
144
|
const ListBillingViewsResponseFilterSensitiveLog = (obj) => ({
|
|
@@ -79,3 +148,9 @@ const ListBillingViewsResponseFilterSensitiveLog = (obj) => ({
|
|
|
79
148
|
}),
|
|
80
149
|
});
|
|
81
150
|
exports.ListBillingViewsResponseFilterSensitiveLog = ListBillingViewsResponseFilterSensitiveLog;
|
|
151
|
+
const UpdateBillingViewRequestFilterSensitiveLog = (obj) => ({
|
|
152
|
+
...obj,
|
|
153
|
+
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
|
|
154
|
+
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
155
|
+
});
|
|
156
|
+
exports.UpdateBillingViewRequestFilterSensitiveLog = UpdateBillingViewRequestFilterSensitiveLog;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListSourceViewsForBillingView = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const BillingClient_1 = require("../BillingClient");
|
|
6
|
+
const ListSourceViewsForBillingViewCommand_1 = require("../commands/ListSourceViewsForBillingViewCommand");
|
|
7
|
+
exports.paginateListSourceViewsForBillingView = (0, core_1.createPaginator)(BillingClient_1.BillingClient, ListSourceViewsForBillingViewCommand_1.ListSourceViewsForBillingViewCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -3,3 +3,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./ListBillingViewsPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListSourceViewsForBillingViewPaginator"), exports);
|