@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
@@ -0,0 +1,91 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BillingClient";
4
+ import { DeleteBillingViewRequest, DeleteBillingViewResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteBillingViewCommand}.
14
+ */
15
+ export interface DeleteBillingViewCommandInput extends DeleteBillingViewRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteBillingViewCommand}.
21
+ */
22
+ export interface DeleteBillingViewCommandOutput extends DeleteBillingViewResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteBillingViewCommand_base: {
25
+ new (input: DeleteBillingViewCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBillingViewCommandInput, DeleteBillingViewCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteBillingViewCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBillingViewCommandInput, DeleteBillingViewCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes the specified billing view.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BillingClient, DeleteBillingViewCommand } from "@aws-sdk/client-billing"; // ES Modules import
35
+ * // const { BillingClient, DeleteBillingViewCommand } = require("@aws-sdk/client-billing"); // CommonJS import
36
+ * const client = new BillingClient(config);
37
+ * const input = { // DeleteBillingViewRequest
38
+ * arn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DeleteBillingViewCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // DeleteBillingViewResponse
43
+ * // arn: "STRING_VALUE", // required
44
+ * // };
45
+ *
46
+ * ```
47
+ *
48
+ * @param DeleteBillingViewCommandInput - {@link DeleteBillingViewCommandInput}
49
+ * @returns {@link DeleteBillingViewCommandOutput}
50
+ * @see {@link DeleteBillingViewCommandInput} for command's `input` shape.
51
+ * @see {@link DeleteBillingViewCommandOutput} for command's `response` shape.
52
+ * @see {@link BillingClientResolvedConfig | config} for BillingClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>You don't have sufficient access to perform this action.</p>
56
+ *
57
+ * @throws {@link ConflictException} (client fault)
58
+ * <p>
59
+ * The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.
60
+ * </p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>The request processing failed because of an unknown error, exception, or failure.
64
+ * </p>
65
+ *
66
+ * @throws {@link ThrottlingException} (client fault)
67
+ * <p>The request was denied due to request throttling.
68
+ * </p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.
72
+ * </p>
73
+ *
74
+ * @throws {@link BillingServiceException}
75
+ * <p>Base exception class for all service exceptions from Billing service.</p>
76
+ *
77
+ * @public
78
+ */
79
+ export declare class DeleteBillingViewCommand extends DeleteBillingViewCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: DeleteBillingViewRequest;
84
+ output: DeleteBillingViewResponse;
85
+ };
86
+ sdk: {
87
+ input: DeleteBillingViewCommandInput;
88
+ output: DeleteBillingViewCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -0,0 +1,114 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BillingClient";
4
+ import { GetBillingViewRequest, GetBillingViewResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetBillingViewCommand}.
14
+ */
15
+ export interface GetBillingViewCommandInput extends GetBillingViewRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetBillingViewCommand}.
21
+ */
22
+ export interface GetBillingViewCommandOutput extends GetBillingViewResponse, __MetadataBearer {
23
+ }
24
+ declare const GetBillingViewCommand_base: {
25
+ new (input: GetBillingViewCommandInput): import("@smithy/smithy-client").CommandImpl<GetBillingViewCommandInput, GetBillingViewCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetBillingViewCommandInput): import("@smithy/smithy-client").CommandImpl<GetBillingViewCommandInput, GetBillingViewCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns the metadata associated to the specified billing view ARN.
31
+ * </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { BillingClient, GetBillingViewCommand } from "@aws-sdk/client-billing"; // ES Modules import
36
+ * // const { BillingClient, GetBillingViewCommand } = require("@aws-sdk/client-billing"); // CommonJS import
37
+ * const client = new BillingClient(config);
38
+ * const input = { // GetBillingViewRequest
39
+ * arn: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new GetBillingViewCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetBillingViewResponse
44
+ * // billingView: { // BillingViewElement
45
+ * // arn: "STRING_VALUE",
46
+ * // name: "STRING_VALUE",
47
+ * // description: "STRING_VALUE",
48
+ * // billingViewType: "PRIMARY" || "BILLING_GROUP" || "CUSTOM",
49
+ * // ownerAccountId: "STRING_VALUE",
50
+ * // dataFilterExpression: { // Expression
51
+ * // dimensions: { // DimensionValues
52
+ * // key: "LINKED_ACCOUNT", // required
53
+ * // values: [ // Values // required
54
+ * // "STRING_VALUE",
55
+ * // ],
56
+ * // },
57
+ * // tags: { // TagValues
58
+ * // key: "STRING_VALUE", // required
59
+ * // values: [ // required
60
+ * // "STRING_VALUE",
61
+ * // ],
62
+ * // },
63
+ * // },
64
+ * // createdAt: new Date("TIMESTAMP"),
65
+ * // updatedAt: new Date("TIMESTAMP"),
66
+ * // },
67
+ * // };
68
+ *
69
+ * ```
70
+ *
71
+ * @param GetBillingViewCommandInput - {@link GetBillingViewCommandInput}
72
+ * @returns {@link GetBillingViewCommandOutput}
73
+ * @see {@link GetBillingViewCommandInput} for command's `input` shape.
74
+ * @see {@link GetBillingViewCommandOutput} for command's `response` shape.
75
+ * @see {@link BillingClientResolvedConfig | config} for BillingClient's `config` shape.
76
+ *
77
+ * @throws {@link AccessDeniedException} (client fault)
78
+ * <p>You don't have sufficient access to perform this action.</p>
79
+ *
80
+ * @throws {@link InternalServerException} (server fault)
81
+ * <p>The request processing failed because of an unknown error, exception, or failure.
82
+ * </p>
83
+ *
84
+ * @throws {@link ResourceNotFoundException} (client fault)
85
+ * <p>
86
+ * The specified ARN in the request doesn't exist.
87
+ * </p>
88
+ *
89
+ * @throws {@link ThrottlingException} (client fault)
90
+ * <p>The request was denied due to request throttling.
91
+ * </p>
92
+ *
93
+ * @throws {@link ValidationException} (client fault)
94
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.
95
+ * </p>
96
+ *
97
+ * @throws {@link BillingServiceException}
98
+ * <p>Base exception class for all service exceptions from Billing service.</p>
99
+ *
100
+ * @public
101
+ */
102
+ export declare class GetBillingViewCommand extends GetBillingViewCommand_base {
103
+ /** @internal type navigation helper, not in runtime. */
104
+ protected static __types: {
105
+ api: {
106
+ input: GetBillingViewRequest;
107
+ output: GetBillingViewResponse;
108
+ };
109
+ sdk: {
110
+ input: GetBillingViewCommandInput;
111
+ output: GetBillingViewCommandOutput;
112
+ };
113
+ };
114
+ }
@@ -0,0 +1,93 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BillingClient";
4
+ import { GetResourcePolicyRequest, GetResourcePolicyResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetResourcePolicyCommand}.
14
+ */
15
+ export interface GetResourcePolicyCommandInput extends GetResourcePolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetResourcePolicyCommand}.
21
+ */
22
+ export interface GetResourcePolicyCommandOutput extends GetResourcePolicyResponse, __MetadataBearer {
23
+ }
24
+ declare const GetResourcePolicyCommand_base: {
25
+ new (input: GetResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns the resource-based policy document attached to the resource in <code>JSON</code> format.
31
+ * </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { BillingClient, GetResourcePolicyCommand } from "@aws-sdk/client-billing"; // ES Modules import
36
+ * // const { BillingClient, GetResourcePolicyCommand } = require("@aws-sdk/client-billing"); // CommonJS import
37
+ * const client = new BillingClient(config);
38
+ * const input = { // GetResourcePolicyRequest
39
+ * resourceArn: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new GetResourcePolicyCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetResourcePolicyResponse
44
+ * // resourceArn: "STRING_VALUE", // required
45
+ * // policy: "STRING_VALUE",
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param GetResourcePolicyCommandInput - {@link GetResourcePolicyCommandInput}
51
+ * @returns {@link GetResourcePolicyCommandOutput}
52
+ * @see {@link GetResourcePolicyCommandInput} for command's `input` shape.
53
+ * @see {@link GetResourcePolicyCommandOutput} for command's `response` shape.
54
+ * @see {@link BillingClientResolvedConfig | config} for BillingClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>You don't have sufficient access to perform this action.</p>
58
+ *
59
+ * @throws {@link InternalServerException} (server fault)
60
+ * <p>The request processing failed because of an unknown error, exception, or failure.
61
+ * </p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>
65
+ * The specified ARN in the request doesn't exist.
66
+ * </p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>The request was denied due to request throttling.
70
+ * </p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.
74
+ * </p>
75
+ *
76
+ * @throws {@link BillingServiceException}
77
+ * <p>Base exception class for all service exceptions from Billing service.</p>
78
+ *
79
+ * @public
80
+ */
81
+ export declare class GetResourcePolicyCommand extends GetResourcePolicyCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: GetResourcePolicyRequest;
86
+ output: GetResourcePolicyResponse;
87
+ };
88
+ sdk: {
89
+ input: GetResourcePolicyCommandInput;
90
+ output: GetResourcePolicyCommandOutput;
91
+ };
92
+ };
93
+ }
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { BillingClientResolvedConfig } from "../BillingClient";
3
+ import { BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BillingClient";
4
4
  import { ListBillingViewsRequest, ListBillingViewsResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
@@ -22,8 +22,8 @@ export interface ListBillingViewsCommandInput extends ListBillingViewsRequest {
22
22
  export interface ListBillingViewsCommandOutput extends ListBillingViewsResponse, __MetadataBearer {
23
23
  }
24
24
  declare const ListBillingViewsCommand_base: {
25
- new (input: ListBillingViewsCommandInput): import("@smithy/smithy-client").CommandImpl<ListBillingViewsCommandInput, ListBillingViewsCommandOutput, BillingClientResolvedConfig, ListBillingViewsCommandInput, ListBillingViewsCommandOutput>;
26
- new (__0_0: ListBillingViewsCommandInput): import("@smithy/smithy-client").CommandImpl<ListBillingViewsCommandInput, ListBillingViewsCommandOutput, BillingClientResolvedConfig, ListBillingViewsCommandInput, ListBillingViewsCommandOutput>;
25
+ new (input: ListBillingViewsCommandInput): import("@smithy/smithy-client").CommandImpl<ListBillingViewsCommandInput, ListBillingViewsCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListBillingViewsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListBillingViewsCommandInput, ListBillingViewsCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -41,6 +41,13 @@ declare const ListBillingViewsCommand_base: {
41
41
  * activeAfterInclusive: new Date("TIMESTAMP"), // required
42
42
  * activeBeforeInclusive: new Date("TIMESTAMP"), // required
43
43
  * },
44
+ * arns: [ // BillingViewArnList
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * billingViewTypes: [ // BillingViewTypeList
48
+ * "PRIMARY" || "BILLING_GROUP" || "CUSTOM",
49
+ * ],
50
+ * ownerAccountId: "STRING_VALUE",
44
51
  * maxResults: Number("int"),
45
52
  * nextToken: "STRING_VALUE",
46
53
  * };
@@ -51,8 +58,9 @@ declare const ListBillingViewsCommand_base: {
51
58
  * // { // BillingViewListElement
52
59
  * // arn: "STRING_VALUE",
53
60
  * // name: "STRING_VALUE",
61
+ * // description: "STRING_VALUE",
54
62
  * // ownerAccountId: "STRING_VALUE",
55
- * // billingViewType: "PRIMARY" || "BILLING_GROUP",
63
+ * // billingViewType: "PRIMARY" || "BILLING_GROUP" || "CUSTOM",
56
64
  * // },
57
65
  * // ],
58
66
  * // nextToken: "STRING_VALUE",
@@ -0,0 +1,97 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BillingClient";
4
+ import { ListSourceViewsForBillingViewRequest, ListSourceViewsForBillingViewResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListSourceViewsForBillingViewCommand}.
14
+ */
15
+ export interface ListSourceViewsForBillingViewCommandInput extends ListSourceViewsForBillingViewRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListSourceViewsForBillingViewCommand}.
21
+ */
22
+ export interface ListSourceViewsForBillingViewCommandOutput extends ListSourceViewsForBillingViewResponse, __MetadataBearer {
23
+ }
24
+ declare const ListSourceViewsForBillingViewCommand_base: {
25
+ new (input: ListSourceViewsForBillingViewCommandInput): import("@smithy/smithy-client").CommandImpl<ListSourceViewsForBillingViewCommandInput, ListSourceViewsForBillingViewCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListSourceViewsForBillingViewCommandInput): import("@smithy/smithy-client").CommandImpl<ListSourceViewsForBillingViewCommandInput, ListSourceViewsForBillingViewCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the source views (managed Amazon Web Services billing views) associated with the billing view.
31
+ * </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { BillingClient, ListSourceViewsForBillingViewCommand } from "@aws-sdk/client-billing"; // ES Modules import
36
+ * // const { BillingClient, ListSourceViewsForBillingViewCommand } = require("@aws-sdk/client-billing"); // CommonJS import
37
+ * const client = new BillingClient(config);
38
+ * const input = { // ListSourceViewsForBillingViewRequest
39
+ * arn: "STRING_VALUE", // required
40
+ * maxResults: Number("int"),
41
+ * nextToken: "STRING_VALUE",
42
+ * };
43
+ * const command = new ListSourceViewsForBillingViewCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListSourceViewsForBillingViewResponse
46
+ * // sourceViews: [ // BillingViewSourceViewsList // required
47
+ * // "STRING_VALUE",
48
+ * // ],
49
+ * // nextToken: "STRING_VALUE",
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param ListSourceViewsForBillingViewCommandInput - {@link ListSourceViewsForBillingViewCommandInput}
55
+ * @returns {@link ListSourceViewsForBillingViewCommandOutput}
56
+ * @see {@link ListSourceViewsForBillingViewCommandInput} for command's `input` shape.
57
+ * @see {@link ListSourceViewsForBillingViewCommandOutput} for command's `response` shape.
58
+ * @see {@link BillingClientResolvedConfig | config} for BillingClient's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>You don't have sufficient access to perform this action.</p>
62
+ *
63
+ * @throws {@link InternalServerException} (server fault)
64
+ * <p>The request processing failed because of an unknown error, exception, or failure.
65
+ * </p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>
69
+ * The specified ARN in the request doesn't exist.
70
+ * </p>
71
+ *
72
+ * @throws {@link ThrottlingException} (client fault)
73
+ * <p>The request was denied due to request throttling.
74
+ * </p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.
78
+ * </p>
79
+ *
80
+ * @throws {@link BillingServiceException}
81
+ * <p>Base exception class for all service exceptions from Billing service.</p>
82
+ *
83
+ * @public
84
+ */
85
+ export declare class ListSourceViewsForBillingViewCommand extends ListSourceViewsForBillingViewCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: ListSourceViewsForBillingViewRequest;
90
+ output: ListSourceViewsForBillingViewResponse;
91
+ };
92
+ sdk: {
93
+ input: ListSourceViewsForBillingViewCommandInput;
94
+ output: ListSourceViewsForBillingViewCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -0,0 +1,97 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BillingClient";
4
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTagsForResourceCommand}.
14
+ */
15
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTagsForResourceCommand}.
21
+ */
22
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const ListTagsForResourceCommand_base: {
25
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists tags associated with the billing view resource.
31
+ * </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { BillingClient, ListTagsForResourceCommand } from "@aws-sdk/client-billing"; // ES Modules import
36
+ * // const { BillingClient, ListTagsForResourceCommand } = require("@aws-sdk/client-billing"); // CommonJS import
37
+ * const client = new BillingClient(config);
38
+ * const input = { // ListTagsForResourceRequest
39
+ * resourceArn: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new ListTagsForResourceCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListTagsForResourceResponse
44
+ * // resourceTags: [ // ResourceTagList
45
+ * // { // ResourceTag
46
+ * // key: "STRING_VALUE", // required
47
+ * // value: "STRING_VALUE",
48
+ * // },
49
+ * // ],
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
55
+ * @returns {@link ListTagsForResourceCommandOutput}
56
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
57
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
58
+ * @see {@link BillingClientResolvedConfig | config} for BillingClient's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>You don't have sufficient access to perform this action.</p>
62
+ *
63
+ * @throws {@link InternalServerException} (server fault)
64
+ * <p>The request processing failed because of an unknown error, exception, or failure.
65
+ * </p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>
69
+ * The specified ARN in the request doesn't exist.
70
+ * </p>
71
+ *
72
+ * @throws {@link ThrottlingException} (client fault)
73
+ * <p>The request was denied due to request throttling.
74
+ * </p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.
78
+ * </p>
79
+ *
80
+ * @throws {@link BillingServiceException}
81
+ * <p>Base exception class for all service exceptions from Billing service.</p>
82
+ *
83
+ * @public
84
+ */
85
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: ListTagsForResourceRequest;
90
+ output: ListTagsForResourceResponse;
91
+ };
92
+ sdk: {
93
+ input: ListTagsForResourceCommandInput;
94
+ output: ListTagsForResourceCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -0,0 +1,97 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BillingClient";
4
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TagResourceCommand}.
14
+ */
15
+ export interface TagResourceCommandInput extends TagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TagResourceCommand}.
21
+ */
22
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const TagResourceCommand_base: {
25
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>
31
+ * An API operation for adding one or more tags (key-value pairs) to a resource.
32
+ * </p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { BillingClient, TagResourceCommand } from "@aws-sdk/client-billing"; // ES Modules import
37
+ * // const { BillingClient, TagResourceCommand } = require("@aws-sdk/client-billing"); // CommonJS import
38
+ * const client = new BillingClient(config);
39
+ * const input = { // TagResourceRequest
40
+ * resourceArn: "STRING_VALUE", // required
41
+ * resourceTags: [ // ResourceTagList // required
42
+ * { // ResourceTag
43
+ * key: "STRING_VALUE", // required
44
+ * value: "STRING_VALUE",
45
+ * },
46
+ * ],
47
+ * };
48
+ * const command = new TagResourceCommand(input);
49
+ * const response = await client.send(command);
50
+ * // {};
51
+ *
52
+ * ```
53
+ *
54
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
55
+ * @returns {@link TagResourceCommandOutput}
56
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
57
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
58
+ * @see {@link BillingClientResolvedConfig | config} for BillingClient's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>You don't have sufficient access to perform this action.</p>
62
+ *
63
+ * @throws {@link InternalServerException} (server fault)
64
+ * <p>The request processing failed because of an unknown error, exception, or failure.
65
+ * </p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>
69
+ * The specified ARN in the request doesn't exist.
70
+ * </p>
71
+ *
72
+ * @throws {@link ThrottlingException} (client fault)
73
+ * <p>The request was denied due to request throttling.
74
+ * </p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.
78
+ * </p>
79
+ *
80
+ * @throws {@link BillingServiceException}
81
+ * <p>Base exception class for all service exceptions from Billing service.</p>
82
+ *
83
+ * @public
84
+ */
85
+ export declare class TagResourceCommand extends TagResourceCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: TagResourceRequest;
90
+ output: {};
91
+ };
92
+ sdk: {
93
+ input: TagResourceCommandInput;
94
+ output: TagResourceCommandOutput;
95
+ };
96
+ };
97
+ }