@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.
Files changed (66) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/Billing.js +18 -0
  3. package/dist-cjs/commands/CreateBillingViewCommand.js +27 -0
  4. package/dist-cjs/commands/DeleteBillingViewCommand.js +26 -0
  5. package/dist-cjs/commands/GetBillingViewCommand.js +27 -0
  6. package/dist-cjs/commands/GetResourcePolicyCommand.js +26 -0
  7. package/dist-cjs/commands/ListSourceViewsForBillingViewCommand.js +26 -0
  8. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  9. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  10. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  11. package/dist-cjs/commands/UpdateBillingViewCommand.js +27 -0
  12. package/dist-cjs/commands/index.js +9 -0
  13. package/dist-cjs/models/models_0.js +80 -5
  14. package/dist-cjs/pagination/ListSourceViewsForBillingViewPaginator.js +7 -0
  15. package/dist-cjs/pagination/index.js +1 -0
  16. package/dist-cjs/protocols/Aws_json1_0.js +269 -1
  17. package/dist-es/Billing.js +18 -0
  18. package/dist-es/commands/CreateBillingViewCommand.js +23 -0
  19. package/dist-es/commands/DeleteBillingViewCommand.js +22 -0
  20. package/dist-es/commands/GetBillingViewCommand.js +23 -0
  21. package/dist-es/commands/GetResourcePolicyCommand.js +22 -0
  22. package/dist-es/commands/ListSourceViewsForBillingViewCommand.js +22 -0
  23. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  24. package/dist-es/commands/TagResourceCommand.js +22 -0
  25. package/dist-es/commands/UntagResourceCommand.js +22 -0
  26. package/dist-es/commands/UpdateBillingViewCommand.js +23 -0
  27. package/dist-es/commands/index.js +9 -0
  28. package/dist-es/models/models_0.js +72 -4
  29. package/dist-es/pagination/ListSourceViewsForBillingViewPaginator.js +4 -0
  30. package/dist-es/pagination/index.js +1 -0
  31. package/dist-es/protocols/Aws_json1_0.js +252 -2
  32. package/dist-types/Billing.d.ts +64 -0
  33. package/dist-types/BillingClient.d.ts +11 -2
  34. package/dist-types/commands/CreateBillingViewCommand.d.ts +124 -0
  35. package/dist-types/commands/DeleteBillingViewCommand.d.ts +91 -0
  36. package/dist-types/commands/GetBillingViewCommand.d.ts +114 -0
  37. package/dist-types/commands/GetResourcePolicyCommand.d.ts +93 -0
  38. package/dist-types/commands/ListBillingViewsCommand.d.ts +12 -4
  39. package/dist-types/commands/ListSourceViewsForBillingViewCommand.d.ts +97 -0
  40. package/dist-types/commands/ListTagsForResourceCommand.d.ts +97 -0
  41. package/dist-types/commands/TagResourceCommand.d.ts +97 -0
  42. package/dist-types/commands/UntagResourceCommand.d.ts +94 -0
  43. package/dist-types/commands/UpdateBillingViewCommand.d.ts +119 -0
  44. package/dist-types/commands/index.d.ts +9 -0
  45. package/dist-types/models/models_0.d.ts +640 -37
  46. package/dist-types/pagination/ListSourceViewsForBillingViewPaginator.d.ts +7 -0
  47. package/dist-types/pagination/index.d.ts +1 -0
  48. package/dist-types/protocols/Aws_json1_0.d.ts +81 -0
  49. package/dist-types/ts3.4/Billing.d.ts +154 -0
  50. package/dist-types/ts3.4/BillingClient.d.ts +58 -2
  51. package/dist-types/ts3.4/commands/CreateBillingViewCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/DeleteBillingViewCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/GetBillingViewCommand.d.ts +50 -0
  54. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/ListBillingViewsCommand.d.ts +10 -6
  56. package/dist-types/ts3.4/commands/ListSourceViewsForBillingViewCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  59. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  60. package/dist-types/ts3.4/commands/UpdateBillingViewCommand.d.ts +51 -0
  61. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  62. package/dist-types/ts3.4/models/models_0.d.ts +160 -20
  63. package/dist-types/ts3.4/pagination/ListSourceViewsForBillingViewPaginator.d.ts +11 -0
  64. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  65. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +108 -0
  66. 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>
@@ -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.BillingViewType = exports.InternalServerException = exports.AccessDeniedException = void 0;
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
- exports.BillingViewType = {
33
- BILLING_GROUP: "BILLING_GROUP",
34
- PRIMARY: "PRIMARY",
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);