@aws-sdk/client-billingconductor 3.55.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 (220) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +215 -0
  4. package/dist-cjs/Billingconductor.js +457 -0
  5. package/dist-cjs/BillingconductorClient.js +35 -0
  6. package/dist-cjs/commands/AssociateAccountsCommand.js +36 -0
  7. package/dist-cjs/commands/AssociatePricingRulesCommand.js +36 -0
  8. package/dist-cjs/commands/BatchAssociateResourcesToCustomLineItemCommand.js +36 -0
  9. package/dist-cjs/commands/BatchDisassociateResourcesFromCustomLineItemCommand.js +36 -0
  10. package/dist-cjs/commands/CreateBillingGroupCommand.js +36 -0
  11. package/dist-cjs/commands/CreateCustomLineItemCommand.js +36 -0
  12. package/dist-cjs/commands/CreatePricingPlanCommand.js +36 -0
  13. package/dist-cjs/commands/CreatePricingRuleCommand.js +36 -0
  14. package/dist-cjs/commands/DeleteBillingGroupCommand.js +36 -0
  15. package/dist-cjs/commands/DeleteCustomLineItemCommand.js +36 -0
  16. package/dist-cjs/commands/DeletePricingPlanCommand.js +36 -0
  17. package/dist-cjs/commands/DeletePricingRuleCommand.js +36 -0
  18. package/dist-cjs/commands/DisassociateAccountsCommand.js +36 -0
  19. package/dist-cjs/commands/DisassociatePricingRulesCommand.js +36 -0
  20. package/dist-cjs/commands/ListAccountAssociationsCommand.js +36 -0
  21. package/dist-cjs/commands/ListBillingGroupCostReportsCommand.js +36 -0
  22. package/dist-cjs/commands/ListBillingGroupsCommand.js +36 -0
  23. package/dist-cjs/commands/ListCustomLineItemsCommand.js +36 -0
  24. package/dist-cjs/commands/ListPricingPlansAssociatedWithPricingRuleCommand.js +36 -0
  25. package/dist-cjs/commands/ListPricingPlansCommand.js +36 -0
  26. package/dist-cjs/commands/ListPricingRulesAssociatedToPricingPlanCommand.js +36 -0
  27. package/dist-cjs/commands/ListPricingRulesCommand.js +36 -0
  28. package/dist-cjs/commands/ListResourcesAssociatedToCustomLineItemCommand.js +36 -0
  29. package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
  30. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  31. package/dist-cjs/commands/UntagResourceCommand.js +36 -0
  32. package/dist-cjs/commands/UpdateBillingGroupCommand.js +36 -0
  33. package/dist-cjs/commands/UpdateCustomLineItemCommand.js +36 -0
  34. package/dist-cjs/commands/UpdatePricingPlanCommand.js +36 -0
  35. package/dist-cjs/commands/UpdatePricingRuleCommand.js +36 -0
  36. package/dist-cjs/commands/index.js +33 -0
  37. package/dist-cjs/endpoints.js +131 -0
  38. package/dist-cjs/index.js +11 -0
  39. package/dist-cjs/models/BillingconductorServiceException.js +11 -0
  40. package/dist-cjs/models/index.js +4 -0
  41. package/dist-cjs/models/models_0.js +792 -0
  42. package/dist-cjs/pagination/Interfaces.js +2 -0
  43. package/dist-cjs/pagination/ListAccountAssociationsPaginator.js +34 -0
  44. package/dist-cjs/pagination/ListBillingGroupCostReportsPaginator.js +35 -0
  45. package/dist-cjs/pagination/ListBillingGroupsPaginator.js +35 -0
  46. package/dist-cjs/pagination/ListCustomLineItemsPaginator.js +35 -0
  47. package/dist-cjs/pagination/ListPricingPlansAssociatedWithPricingRulePaginator.js +35 -0
  48. package/dist-cjs/pagination/ListPricingPlansPaginator.js +35 -0
  49. package/dist-cjs/pagination/ListPricingRulesAssociatedToPricingPlanPaginator.js +35 -0
  50. package/dist-cjs/pagination/ListPricingRulesPaginator.js +35 -0
  51. package/dist-cjs/pagination/ListResourcesAssociatedToCustomLineItemPaginator.js +35 -0
  52. package/dist-cjs/pagination/index.js +13 -0
  53. package/dist-cjs/protocols/Aws_restJson1.js +3178 -0
  54. package/dist-cjs/runtimeConfig.browser.js +45 -0
  55. package/dist-cjs/runtimeConfig.js +50 -0
  56. package/dist-cjs/runtimeConfig.native.js +16 -0
  57. package/dist-cjs/runtimeConfig.shared.js +17 -0
  58. package/dist-es/Billingconductor.js +460 -0
  59. package/dist-es/BillingconductorClient.js +37 -0
  60. package/dist-es/commands/AssociateAccountsCommand.js +39 -0
  61. package/dist-es/commands/AssociatePricingRulesCommand.js +39 -0
  62. package/dist-es/commands/BatchAssociateResourcesToCustomLineItemCommand.js +39 -0
  63. package/dist-es/commands/BatchDisassociateResourcesFromCustomLineItemCommand.js +39 -0
  64. package/dist-es/commands/CreateBillingGroupCommand.js +39 -0
  65. package/dist-es/commands/CreateCustomLineItemCommand.js +39 -0
  66. package/dist-es/commands/CreatePricingPlanCommand.js +39 -0
  67. package/dist-es/commands/CreatePricingRuleCommand.js +39 -0
  68. package/dist-es/commands/DeleteBillingGroupCommand.js +39 -0
  69. package/dist-es/commands/DeleteCustomLineItemCommand.js +39 -0
  70. package/dist-es/commands/DeletePricingPlanCommand.js +39 -0
  71. package/dist-es/commands/DeletePricingRuleCommand.js +39 -0
  72. package/dist-es/commands/DisassociateAccountsCommand.js +39 -0
  73. package/dist-es/commands/DisassociatePricingRulesCommand.js +39 -0
  74. package/dist-es/commands/ListAccountAssociationsCommand.js +39 -0
  75. package/dist-es/commands/ListBillingGroupCostReportsCommand.js +39 -0
  76. package/dist-es/commands/ListBillingGroupsCommand.js +39 -0
  77. package/dist-es/commands/ListCustomLineItemsCommand.js +39 -0
  78. package/dist-es/commands/ListPricingPlansAssociatedWithPricingRuleCommand.js +39 -0
  79. package/dist-es/commands/ListPricingPlansCommand.js +39 -0
  80. package/dist-es/commands/ListPricingRulesAssociatedToPricingPlanCommand.js +39 -0
  81. package/dist-es/commands/ListPricingRulesCommand.js +39 -0
  82. package/dist-es/commands/ListResourcesAssociatedToCustomLineItemCommand.js +39 -0
  83. package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
  84. package/dist-es/commands/TagResourceCommand.js +39 -0
  85. package/dist-es/commands/UntagResourceCommand.js +39 -0
  86. package/dist-es/commands/UpdateBillingGroupCommand.js +39 -0
  87. package/dist-es/commands/UpdateCustomLineItemCommand.js +39 -0
  88. package/dist-es/commands/UpdatePricingPlanCommand.js +39 -0
  89. package/dist-es/commands/UpdatePricingRuleCommand.js +39 -0
  90. package/dist-es/commands/index.js +30 -0
  91. package/dist-es/endpoints.js +127 -0
  92. package/dist-es/index.js +6 -0
  93. package/dist-es/models/BillingconductorServiceException.js +12 -0
  94. package/dist-es/models/index.js +1 -0
  95. package/dist-es/models/models_0.js +560 -0
  96. package/dist-es/pagination/Interfaces.js +1 -0
  97. package/dist-es/pagination/ListAccountAssociationsPaginator.js +73 -0
  98. package/dist-es/pagination/ListBillingGroupCostReportsPaginator.js +74 -0
  99. package/dist-es/pagination/ListBillingGroupsPaginator.js +74 -0
  100. package/dist-es/pagination/ListCustomLineItemsPaginator.js +74 -0
  101. package/dist-es/pagination/ListPricingPlansAssociatedWithPricingRulePaginator.js +74 -0
  102. package/dist-es/pagination/ListPricingPlansPaginator.js +74 -0
  103. package/dist-es/pagination/ListPricingRulesAssociatedToPricingPlanPaginator.js +74 -0
  104. package/dist-es/pagination/ListPricingRulesPaginator.js +74 -0
  105. package/dist-es/pagination/ListResourcesAssociatedToCustomLineItemPaginator.js +74 -0
  106. package/dist-es/pagination/index.js +10 -0
  107. package/dist-es/protocols/Aws_restJson1.js +3850 -0
  108. package/dist-es/runtimeConfig.browser.js +26 -0
  109. package/dist-es/runtimeConfig.js +28 -0
  110. package/dist-es/runtimeConfig.native.js +8 -0
  111. package/dist-es/runtimeConfig.shared.js +13 -0
  112. package/dist-types/Billingconductor.d.ts +283 -0
  113. package/dist-types/BillingconductorClient.d.ts +186 -0
  114. package/dist-types/commands/AssociateAccountsCommand.d.ts +38 -0
  115. package/dist-types/commands/AssociatePricingRulesCommand.d.ts +36 -0
  116. package/dist-types/commands/BatchAssociateResourcesToCustomLineItemCommand.d.ts +37 -0
  117. package/dist-types/commands/BatchDisassociateResourcesFromCustomLineItemCommand.d.ts +37 -0
  118. package/dist-types/commands/CreateBillingGroupCommand.d.ts +37 -0
  119. package/dist-types/commands/CreateCustomLineItemCommand.d.ts +37 -0
  120. package/dist-types/commands/CreatePricingPlanCommand.d.ts +36 -0
  121. package/dist-types/commands/CreatePricingRuleCommand.d.ts +37 -0
  122. package/dist-types/commands/DeleteBillingGroupCommand.d.ts +37 -0
  123. package/dist-types/commands/DeleteCustomLineItemCommand.d.ts +37 -0
  124. package/dist-types/commands/DeletePricingPlanCommand.d.ts +36 -0
  125. package/dist-types/commands/DeletePricingRuleCommand.d.ts +35 -0
  126. package/dist-types/commands/DisassociateAccountsCommand.d.ts +35 -0
  127. package/dist-types/commands/DisassociatePricingRulesCommand.d.ts +37 -0
  128. package/dist-types/commands/ListAccountAssociationsCommand.d.ts +43 -0
  129. package/dist-types/commands/ListBillingGroupCostReportsCommand.d.ts +36 -0
  130. package/dist-types/commands/ListBillingGroupsCommand.d.ts +35 -0
  131. package/dist-types/commands/ListCustomLineItemsCommand.d.ts +37 -0
  132. package/dist-types/commands/ListPricingPlansAssociatedWithPricingRuleCommand.d.ts +37 -0
  133. package/dist-types/commands/ListPricingPlansCommand.d.ts +36 -0
  134. package/dist-types/commands/ListPricingRulesAssociatedToPricingPlanCommand.d.ts +37 -0
  135. package/dist-types/commands/ListPricingRulesCommand.d.ts +37 -0
  136. package/dist-types/commands/ListResourcesAssociatedToCustomLineItemCommand.d.ts +37 -0
  137. package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
  138. package/dist-types/commands/TagResourceCommand.d.ts +37 -0
  139. package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
  140. package/dist-types/commands/UpdateBillingGroupCommand.d.ts +36 -0
  141. package/dist-types/commands/UpdateCustomLineItemCommand.d.ts +37 -0
  142. package/dist-types/commands/UpdatePricingPlanCommand.d.ts +36 -0
  143. package/dist-types/commands/UpdatePricingRuleCommand.d.ts +37 -0
  144. package/dist-types/commands/index.d.ts +30 -0
  145. package/dist-types/endpoints.d.ts +2 -0
  146. package/dist-types/index.d.ts +6 -0
  147. package/dist-types/models/BillingconductorServiceException.d.ts +10 -0
  148. package/dist-types/models/index.d.ts +1 -0
  149. package/dist-types/models/models_0.d.ts +2576 -0
  150. package/dist-types/pagination/Interfaces.d.ts +6 -0
  151. package/dist-types/pagination/ListAccountAssociationsPaginator.d.ts +4 -0
  152. package/dist-types/pagination/ListBillingGroupCostReportsPaginator.d.ts +4 -0
  153. package/dist-types/pagination/ListBillingGroupsPaginator.d.ts +4 -0
  154. package/dist-types/pagination/ListCustomLineItemsPaginator.d.ts +4 -0
  155. package/dist-types/pagination/ListPricingPlansAssociatedWithPricingRulePaginator.d.ts +4 -0
  156. package/dist-types/pagination/ListPricingPlansPaginator.d.ts +4 -0
  157. package/dist-types/pagination/ListPricingRulesAssociatedToPricingPlanPaginator.d.ts +4 -0
  158. package/dist-types/pagination/ListPricingRulesPaginator.d.ts +4 -0
  159. package/dist-types/pagination/ListResourcesAssociatedToCustomLineItemPaginator.d.ts +4 -0
  160. package/dist-types/pagination/index.d.ts +10 -0
  161. package/dist-types/protocols/Aws_restJson1.d.ts +92 -0
  162. package/dist-types/runtimeConfig.browser.d.ts +40 -0
  163. package/dist-types/runtimeConfig.d.ts +40 -0
  164. package/dist-types/runtimeConfig.native.d.ts +39 -0
  165. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  166. package/dist-types/ts3.4/Billingconductor.d.ts +155 -0
  167. package/dist-types/ts3.4/BillingconductorClient.d.ts +103 -0
  168. package/dist-types/ts3.4/commands/AssociateAccountsCommand.d.ts +17 -0
  169. package/dist-types/ts3.4/commands/AssociatePricingRulesCommand.d.ts +17 -0
  170. package/dist-types/ts3.4/commands/BatchAssociateResourcesToCustomLineItemCommand.d.ts +17 -0
  171. package/dist-types/ts3.4/commands/BatchDisassociateResourcesFromCustomLineItemCommand.d.ts +17 -0
  172. package/dist-types/ts3.4/commands/CreateBillingGroupCommand.d.ts +17 -0
  173. package/dist-types/ts3.4/commands/CreateCustomLineItemCommand.d.ts +17 -0
  174. package/dist-types/ts3.4/commands/CreatePricingPlanCommand.d.ts +17 -0
  175. package/dist-types/ts3.4/commands/CreatePricingRuleCommand.d.ts +17 -0
  176. package/dist-types/ts3.4/commands/DeleteBillingGroupCommand.d.ts +17 -0
  177. package/dist-types/ts3.4/commands/DeleteCustomLineItemCommand.d.ts +17 -0
  178. package/dist-types/ts3.4/commands/DeletePricingPlanCommand.d.ts +17 -0
  179. package/dist-types/ts3.4/commands/DeletePricingRuleCommand.d.ts +17 -0
  180. package/dist-types/ts3.4/commands/DisassociateAccountsCommand.d.ts +17 -0
  181. package/dist-types/ts3.4/commands/DisassociatePricingRulesCommand.d.ts +17 -0
  182. package/dist-types/ts3.4/commands/ListAccountAssociationsCommand.d.ts +17 -0
  183. package/dist-types/ts3.4/commands/ListBillingGroupCostReportsCommand.d.ts +17 -0
  184. package/dist-types/ts3.4/commands/ListBillingGroupsCommand.d.ts +17 -0
  185. package/dist-types/ts3.4/commands/ListCustomLineItemsCommand.d.ts +17 -0
  186. package/dist-types/ts3.4/commands/ListPricingPlansAssociatedWithPricingRuleCommand.d.ts +17 -0
  187. package/dist-types/ts3.4/commands/ListPricingPlansCommand.d.ts +17 -0
  188. package/dist-types/ts3.4/commands/ListPricingRulesAssociatedToPricingPlanCommand.d.ts +17 -0
  189. package/dist-types/ts3.4/commands/ListPricingRulesCommand.d.ts +17 -0
  190. package/dist-types/ts3.4/commands/ListResourcesAssociatedToCustomLineItemCommand.d.ts +17 -0
  191. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  192. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  193. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  194. package/dist-types/ts3.4/commands/UpdateBillingGroupCommand.d.ts +17 -0
  195. package/dist-types/ts3.4/commands/UpdateCustomLineItemCommand.d.ts +17 -0
  196. package/dist-types/ts3.4/commands/UpdatePricingPlanCommand.d.ts +17 -0
  197. package/dist-types/ts3.4/commands/UpdatePricingRuleCommand.d.ts +17 -0
  198. package/dist-types/ts3.4/commands/index.d.ts +30 -0
  199. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  200. package/dist-types/ts3.4/index.d.ts +6 -0
  201. package/dist-types/ts3.4/models/BillingconductorServiceException.d.ts +6 -0
  202. package/dist-types/ts3.4/models/index.d.ts +1 -0
  203. package/dist-types/ts3.4/models/models_0.d.ts +1266 -0
  204. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  205. package/dist-types/ts3.4/pagination/ListAccountAssociationsPaginator.d.ts +4 -0
  206. package/dist-types/ts3.4/pagination/ListBillingGroupCostReportsPaginator.d.ts +4 -0
  207. package/dist-types/ts3.4/pagination/ListBillingGroupsPaginator.d.ts +4 -0
  208. package/dist-types/ts3.4/pagination/ListCustomLineItemsPaginator.d.ts +4 -0
  209. package/dist-types/ts3.4/pagination/ListPricingPlansAssociatedWithPricingRulePaginator.d.ts +4 -0
  210. package/dist-types/ts3.4/pagination/ListPricingPlansPaginator.d.ts +4 -0
  211. package/dist-types/ts3.4/pagination/ListPricingRulesAssociatedToPricingPlanPaginator.d.ts +4 -0
  212. package/dist-types/ts3.4/pagination/ListPricingRulesPaginator.d.ts +4 -0
  213. package/dist-types/ts3.4/pagination/ListResourcesAssociatedToCustomLineItemPaginator.d.ts +4 -0
  214. package/dist-types/ts3.4/pagination/index.d.ts +10 -0
  215. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +92 -0
  216. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  217. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  218. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  219. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  220. package/package.json +95 -0
@@ -0,0 +1,2576 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { BillingconductorServiceException as __BaseException } from "./BillingconductorServiceException";
3
+ /**
4
+ * <p>You do not have sufficient access to perform this action.
5
+ * </p>
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ Message: string | undefined;
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
+ }
16
+ /**
17
+ * <p>
18
+ * <i>
19
+ * <b>Amazon Web Services Billing Conductor is in beta release and is subject to change. Your use of Amazon Web Services Billing Conductor is subject to the Beta Service Participation terms of the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a> (Section 1.10).</b>
20
+ * </i>
21
+ * </p>
22
+ * <p> A representation of a linked account. </p>
23
+ */
24
+ export interface AccountAssociationsListElement {
25
+ /**
26
+ * <p>
27
+ * The associating array of account IDs.
28
+ * </p>
29
+ */
30
+ AccountId?: string;
31
+ /**
32
+ * <p> The Billing Group Arn that the linked account is associated to. </p>
33
+ */
34
+ BillingGroupArn?: string;
35
+ /**
36
+ * <p>
37
+ * The Amazon Web Services account name.
38
+ * </p>
39
+ */
40
+ AccountName?: string;
41
+ /**
42
+ * <p>
43
+ * The Amazon Web Services account email.
44
+ * </p>
45
+ */
46
+ AccountEmail?: string;
47
+ }
48
+ export declare namespace AccountAssociationsListElement {
49
+ /**
50
+ * @internal
51
+ */
52
+ const filterSensitiveLog: (obj: AccountAssociationsListElement) => any;
53
+ }
54
+ /**
55
+ * <p>
56
+ * The set of accounts that will be under the billing group. The set of accounts resemble the linked accounts in a consolidated family.
57
+ * </p>
58
+ */
59
+ export interface AccountGrouping {
60
+ /**
61
+ * <p>
62
+ * The account IDs that make up the billing group. Account IDs must be a part of the consolidated billing family, and not associated with another billing group.
63
+ * </p>
64
+ */
65
+ LinkedAccountIds: string[] | undefined;
66
+ }
67
+ export declare namespace AccountGrouping {
68
+ /**
69
+ * @internal
70
+ */
71
+ const filterSensitiveLog: (obj: AccountGrouping) => any;
72
+ }
73
+ export interface AssociateAccountsInput {
74
+ /**
75
+ * <p> The Amazon Resource Name (ARN) of the billing group that associates the array of
76
+ * account IDs. </p>
77
+ */
78
+ Arn: string | undefined;
79
+ /**
80
+ * <p>
81
+ * The associating array of account IDs.
82
+ * </p>
83
+ */
84
+ AccountIds: string[] | undefined;
85
+ }
86
+ export declare namespace AssociateAccountsInput {
87
+ /**
88
+ * @internal
89
+ */
90
+ const filterSensitiveLog: (obj: AssociateAccountsInput) => any;
91
+ }
92
+ export interface AssociateAccountsOutput {
93
+ /**
94
+ * <p> The Amazon Resource Name (ARN) of the billing group that associates the array of
95
+ * account IDs. </p>
96
+ */
97
+ Arn?: string;
98
+ }
99
+ export declare namespace AssociateAccountsOutput {
100
+ /**
101
+ * @internal
102
+ */
103
+ const filterSensitiveLog: (obj: AssociateAccountsOutput) => any;
104
+ }
105
+ /**
106
+ * <p>You can cause an inconsistent state by updating or deleting a resource.
107
+ * </p>
108
+ */
109
+ export declare class ConflictException extends __BaseException {
110
+ readonly name: "ConflictException";
111
+ readonly $fault: "client";
112
+ Message: string | undefined;
113
+ /**
114
+ * <p>Identifier of the resource in use.
115
+ * </p>
116
+ */
117
+ ResourceId: string | undefined;
118
+ /**
119
+ * <p>Type of the resource in use.
120
+ * </p>
121
+ */
122
+ ResourceType: string | undefined;
123
+ /**
124
+ * @internal
125
+ */
126
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
127
+ }
128
+ /**
129
+ * <p>An unexpected error occurred while processing a request.
130
+ * </p>
131
+ */
132
+ export declare class InternalServerException extends __BaseException {
133
+ readonly name: "InternalServerException";
134
+ readonly $fault: "server";
135
+ Message: string | undefined;
136
+ /**
137
+ * <p>Number of seconds you can retry after the call.
138
+ * </p>
139
+ */
140
+ RetryAfterSeconds?: number;
141
+ /**
142
+ * @internal
143
+ */
144
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
145
+ }
146
+ /**
147
+ * <p>The request references a resource that doesn't exist.
148
+ * </p>
149
+ */
150
+ export declare class ResourceNotFoundException extends __BaseException {
151
+ readonly name: "ResourceNotFoundException";
152
+ readonly $fault: "client";
153
+ Message: string | undefined;
154
+ /**
155
+ * <p>Resource identifier that was not found.
156
+ * </p>
157
+ */
158
+ ResourceId: string | undefined;
159
+ /**
160
+ * <p>Resource type that was not found.
161
+ * </p>
162
+ */
163
+ ResourceType: string | undefined;
164
+ /**
165
+ * @internal
166
+ */
167
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
168
+ }
169
+ /**
170
+ * <p>The request would cause a service limit to exceed.
171
+ * </p>
172
+ */
173
+ export declare class ServiceLimitExceededException extends __BaseException {
174
+ readonly name: "ServiceLimitExceededException";
175
+ readonly $fault: "client";
176
+ Message: string | undefined;
177
+ /**
178
+ * <p>Identifier of the resource affected.
179
+ * </p>
180
+ */
181
+ ResourceId?: string;
182
+ /**
183
+ * <p>Type of the resource affected.
184
+ * </p>
185
+ */
186
+ ResourceType?: string;
187
+ /**
188
+ * <p>The unique code identifier of the service limit that is being exceeded.
189
+ * </p>
190
+ */
191
+ LimitCode: string | undefined;
192
+ /**
193
+ * <p>The unique code for the service of the limit that is being exceeded.
194
+ * </p>
195
+ */
196
+ ServiceCode: string | undefined;
197
+ /**
198
+ * @internal
199
+ */
200
+ constructor(opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>);
201
+ }
202
+ /**
203
+ * <p>The request was denied due to request throttling.
204
+ * </p>
205
+ */
206
+ export declare class ThrottlingException extends __BaseException {
207
+ readonly name: "ThrottlingException";
208
+ readonly $fault: "client";
209
+ Message: string | undefined;
210
+ /**
211
+ * <p>Number of seconds you can safely retry after the call.
212
+ * </p>
213
+ */
214
+ RetryAfterSeconds?: number;
215
+ /**
216
+ * @internal
217
+ */
218
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
219
+ }
220
+ /**
221
+ * <p>The field's information of a request that resulted in an exception.
222
+ * </p>
223
+ */
224
+ export interface ValidationExceptionField {
225
+ /**
226
+ * <p>The field name.
227
+ * </p>
228
+ */
229
+ Name: string | undefined;
230
+ /**
231
+ * <p>The message describing why the field failed validation.
232
+ * </p>
233
+ */
234
+ Message: string | undefined;
235
+ }
236
+ export declare namespace ValidationExceptionField {
237
+ /**
238
+ * @internal
239
+ */
240
+ const filterSensitiveLog: (obj: ValidationExceptionField) => any;
241
+ }
242
+ export declare enum ValidationExceptionReason {
243
+ ACCOUNTS_ALREADY_ASSOCIATED = "ACCOUNTS_ALREADY_ASSOCIATED",
244
+ ACCOUNTS_NOT_ASSOCIATED = "ACCOUNTS_NOT_ASSOCIATED",
245
+ CANNOT_PARSE = "CANNOT_PARSE",
246
+ DUPLICATE_ACCOUNT = "DUPLICATE_ACCOUNT",
247
+ DUPLICATE_PRICINGRULE_ARNS = "DUPLICATE_PRICINGRULE_ARNS",
248
+ FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
249
+ ILLEGAL_ACCOUNTS = "ILLEGAL_ACCOUNTS",
250
+ ILLEGAL_BILLING_PERIOD = "ILLEGAL_BILLING_PERIOD",
251
+ ILLEGAL_BILLING_PERIOD_RANGE = "ILLEGAL_BILLING_PERIOD_RANGE",
252
+ ILLEGAL_CHARGE_DETAILS = "ILLEGAL_CHARGE_DETAILS",
253
+ ILLEGAL_CUSTOMLINEITEM = "ILLEGAL_CUSTOMLINEITEM",
254
+ ILLEGAL_CUSTOMLINEITEM_MODIFICATION = "ILLEGAL_CUSTOMLINEITEM_MODIFICATION",
255
+ ILLEGAL_CUSTOMLINEITEM_UPDATE = "ILLEGAL_CUSTOMLINEITEM_UPDATE",
256
+ ILLEGAL_EXPRESSION = "ILLEGAL_EXPRESSION",
257
+ ILLEGAL_PRIMARY_ACCOUNT = "ILLEGAL_PRIMARY_ACCOUNT",
258
+ ILLEGAL_RESOURCE_ARNS = "ILLEGAL_RESOURCE_ARNS",
259
+ ILLEGAL_SCOPE = "ILLEGAL_SCOPE",
260
+ ILLEGAL_SERVICE = "ILLEGAL_SERVICE",
261
+ ILLEGAL_UPDATE_CHARGE_DETAILS = "ILLEGAL_UPDATE_CHARGE_DETAILS",
262
+ INVALID_ARN = "INVALID_ARN",
263
+ INVALID_BILLINGVIEW_ARN = "INVALID_BILLINGVIEW_ARN",
264
+ INVALID_BILLING_GROUP_STATUS = "INVALID_BILLING_GROUP_STATUS",
265
+ INVALID_TIME_RANGE = "INVALID_TIME_RANGE",
266
+ MISMATCHED_BILLINGGROUP_ARN = "MISMATCHED_BILLINGGROUP_ARN",
267
+ MISMATCHED_BILLINGVIEW_ARN = "MISMATCHED_BILLINGVIEW_ARN",
268
+ MISMATCHED_CUSTOMLINEITEM_ARN = "MISMATCHED_CUSTOMLINEITEM_ARN",
269
+ MISMATCHED_PRICINGPLAN_ARN = "MISMATCHED_PRICINGPLAN_ARN",
270
+ MISMATCHED_PRICINGRULE_ARN = "MISMATCHED_PRICINGRULE_ARN",
271
+ MISSING_BILLINGGROUP = "MISSING_BILLINGGROUP",
272
+ MISSING_CUSTOMLINEITEM = "MISSING_CUSTOMLINEITEM",
273
+ MISSING_LINKED_ACCOUNT_IDS = "MISSING_LINKED_ACCOUNT_IDS",
274
+ MISSING_PRICINGPLAN = "MISSING_PRICINGPLAN",
275
+ MISSING_PRICING_PLAN_ARN = "MISSING_PRICING_PLAN_ARN",
276
+ MULTIPLE_LINKED_ACCOUNT_IDS = "MULTIPLE_LINKED_ACCOUNT_IDS",
277
+ MULTIPLE_PRICING_PLAN_ARN = "MULTIPLE_PRICING_PLAN_ARN",
278
+ OTHER = "OTHER",
279
+ PRICINGRULES_ALREADY_ASSOCIATED = "PRICINGRULES_ALREADY_ASSOCIATED",
280
+ PRICINGRULES_NOT_ASSOCIATED = "PRICINGRULES_NOT_ASSOCIATED",
281
+ PRICINGRULES_NOT_EXIST = "PRICINGRULES_NOT_EXIST",
282
+ PRIMARY_CANNOT_DISASSOCIATE = "PRIMARY_CANNOT_DISASSOCIATE",
283
+ PRIMARY_NOT_ASSOCIATED = "PRIMARY_NOT_ASSOCIATED",
284
+ TOO_MANY_ACCOUNTS_IN_REQUEST = "TOO_MANY_ACCOUNTS_IN_REQUEST",
285
+ TOO_MANY_CUSTOMLINEITEMS_IN_REQUEST = "TOO_MANY_CUSTOMLINEITEMS_IN_REQUEST",
286
+ UNKNOWN_OPERATION = "UNKNOWN_OPERATION"
287
+ }
288
+ /**
289
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
290
+ */
291
+ export declare class ValidationException extends __BaseException {
292
+ readonly name: "ValidationException";
293
+ readonly $fault: "client";
294
+ Message: string | undefined;
295
+ /**
296
+ * <p>The reason the request's validation failed.
297
+ * </p>
298
+ */
299
+ Reason?: ValidationExceptionReason | string;
300
+ /**
301
+ * <p>The fields that caused the error, if applicable.
302
+ * </p>
303
+ */
304
+ Fields?: ValidationExceptionField[];
305
+ /**
306
+ * @internal
307
+ */
308
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
309
+ }
310
+ export interface AssociatePricingRulesInput {
311
+ /**
312
+ * <p>
313
+ * The <code>PricingPlanArn</code> that the <code>PricingRuleArns</code> are associated with.
314
+ * </p>
315
+ */
316
+ Arn: string | undefined;
317
+ /**
318
+ * <p>
319
+ * The <code>PricingRuleArns</code> that are associated with the Pricing Plan.
320
+ * </p>
321
+ */
322
+ PricingRuleArns: string[] | undefined;
323
+ }
324
+ export declare namespace AssociatePricingRulesInput {
325
+ /**
326
+ * @internal
327
+ */
328
+ const filterSensitiveLog: (obj: AssociatePricingRulesInput) => any;
329
+ }
330
+ export interface AssociatePricingRulesOutput {
331
+ /**
332
+ * <p>
333
+ * The <code>PricingPlanArn</code> that the <code>PricingRuleArns</code> are associated with.
334
+ * </p>
335
+ */
336
+ Arn?: string;
337
+ }
338
+ export declare namespace AssociatePricingRulesOutput {
339
+ /**
340
+ * @internal
341
+ */
342
+ const filterSensitiveLog: (obj: AssociatePricingRulesOutput) => any;
343
+ }
344
+ export declare enum AssociateResourceErrorReason {
345
+ ILLEGAL_CUSTOMLINEITEM = "ILLEGAL_CUSTOMLINEITEM",
346
+ INTERNAL_SERVER_EXCEPTION = "INTERNAL_SERVER_EXCEPTION",
347
+ INVALID_ARN = "INVALID_ARN",
348
+ SERVICE_LIMIT_EXCEEDED = "SERVICE_LIMIT_EXCEEDED"
349
+ }
350
+ /**
351
+ * <p>
352
+ * A representation of a resource association error.
353
+ * </p>
354
+ */
355
+ export interface AssociateResourceError {
356
+ /**
357
+ * <p>
358
+ * The reason the resource association failed.
359
+ * </p>
360
+ */
361
+ Message?: string;
362
+ /**
363
+ * <p>
364
+ * A static error code that used to classify the type of failure.
365
+ * </p>
366
+ */
367
+ Reason?: AssociateResourceErrorReason | string;
368
+ }
369
+ export declare namespace AssociateResourceError {
370
+ /**
371
+ * @internal
372
+ */
373
+ const filterSensitiveLog: (obj: AssociateResourceError) => any;
374
+ }
375
+ /**
376
+ * <p>
377
+ * A resource association result for a percentage custom line item.
378
+ * </p>
379
+ */
380
+ export interface AssociateResourceResponseElement {
381
+ /**
382
+ * <p>
383
+ * The resource ARN that was associated to the custom line item.
384
+ * </p>
385
+ */
386
+ Arn?: string;
387
+ /**
388
+ * <p>
389
+ * An <code>AssociateResourceError</code> that will populate if the resource association fails.
390
+ * </p>
391
+ */
392
+ Error?: AssociateResourceError;
393
+ }
394
+ export declare namespace AssociateResourceResponseElement {
395
+ /**
396
+ * @internal
397
+ */
398
+ const filterSensitiveLog: (obj: AssociateResourceResponseElement) => any;
399
+ }
400
+ /**
401
+ * <p>
402
+ * The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
403
+ * </p>
404
+ */
405
+ export interface ComputationPreference {
406
+ /**
407
+ * <p>
408
+ * The Amazon Resource Name (ARN) of the pricing plan used to compute the Amazon Web Services charges for a billing group.
409
+ * </p>
410
+ */
411
+ PricingPlanArn: string | undefined;
412
+ }
413
+ export declare namespace ComputationPreference {
414
+ /**
415
+ * @internal
416
+ */
417
+ const filterSensitiveLog: (obj: ComputationPreference) => any;
418
+ }
419
+ export interface CreateBillingGroupInput {
420
+ /**
421
+ * <p>
422
+ * The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.
423
+ * </p>
424
+ */
425
+ ClientToken?: string;
426
+ /**
427
+ * <p>
428
+ * The billing group name. The names must be unique.
429
+ * </p>
430
+ */
431
+ Name: string | undefined;
432
+ /**
433
+ * <p>
434
+ * The set of accounts that will be under the billing group. The set of accounts resemble the linked accounts in a consolidated family.
435
+ * </p>
436
+ */
437
+ AccountGrouping: AccountGrouping | undefined;
438
+ /**
439
+ * <p>
440
+ * The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
441
+ * </p>
442
+ */
443
+ ComputationPreference: ComputationPreference | undefined;
444
+ /**
445
+ * <p> The account ID that serves as the main account in a billing group. </p>
446
+ */
447
+ PrimaryAccountId?: string;
448
+ /**
449
+ * <p>The billing group description.
450
+ * </p>
451
+ */
452
+ Description?: string;
453
+ /**
454
+ * <p> A map that contains tag keys and tag values that are attached to a billing group. This
455
+ * feature isn't available during the beta. </p>
456
+ */
457
+ Tags?: {
458
+ [key: string]: string;
459
+ };
460
+ }
461
+ export declare namespace CreateBillingGroupInput {
462
+ /**
463
+ * @internal
464
+ */
465
+ const filterSensitiveLog: (obj: CreateBillingGroupInput) => any;
466
+ }
467
+ export interface CreateBillingGroupOutput {
468
+ /**
469
+ * <p>The Amazon Resource Name (ARN) of the created billing group. </p>
470
+ */
471
+ Arn?: string;
472
+ }
473
+ export declare namespace CreateBillingGroupOutput {
474
+ /**
475
+ * @internal
476
+ */
477
+ const filterSensitiveLog: (obj: CreateBillingGroupOutput) => any;
478
+ }
479
+ export interface DeleteBillingGroupInput {
480
+ /**
481
+ * <p>The Amazon Resource Name (ARN) of the billing group you're deleting.</p>
482
+ */
483
+ Arn: string | undefined;
484
+ }
485
+ export declare namespace DeleteBillingGroupInput {
486
+ /**
487
+ * @internal
488
+ */
489
+ const filterSensitiveLog: (obj: DeleteBillingGroupInput) => any;
490
+ }
491
+ export interface DeleteBillingGroupOutput {
492
+ /**
493
+ * <p>The Amazon Resource Name (ARN) of the deleted billing group.</p>
494
+ */
495
+ Arn?: string;
496
+ }
497
+ export declare namespace DeleteBillingGroupOutput {
498
+ /**
499
+ * @internal
500
+ */
501
+ const filterSensitiveLog: (obj: DeleteBillingGroupOutput) => any;
502
+ }
503
+ export interface DisassociateAccountsInput {
504
+ /**
505
+ * <p>The Amazon Resource Name (ARN) of the billing group that the array of account IDs will
506
+ * disassociate from. </p>
507
+ */
508
+ Arn: string | undefined;
509
+ /**
510
+ * <p>The array of account IDs to disassociate.
511
+ * </p>
512
+ */
513
+ AccountIds: string[] | undefined;
514
+ }
515
+ export declare namespace DisassociateAccountsInput {
516
+ /**
517
+ * @internal
518
+ */
519
+ const filterSensitiveLog: (obj: DisassociateAccountsInput) => any;
520
+ }
521
+ export interface DisassociateAccountsOutput {
522
+ /**
523
+ * <p>The Amazon Resource Name (ARN) of the billing group that the array of account IDs is
524
+ * disassociated from. </p>
525
+ */
526
+ Arn?: string;
527
+ }
528
+ export declare namespace DisassociateAccountsOutput {
529
+ /**
530
+ * @internal
531
+ */
532
+ const filterSensitiveLog: (obj: DisassociateAccountsOutput) => any;
533
+ }
534
+ /**
535
+ * <p>The filter that specifies the billing groups and pricing plans to retrieve billing group information.
536
+ * </p>
537
+ */
538
+ export interface ListBillingGroupsFilter {
539
+ /**
540
+ * <p>The list of billing group Amazon Resource Names (ARNs) to retrieve information. </p>
541
+ */
542
+ Arns?: string[];
543
+ /**
544
+ * <p>The pricing plan Amazon Resource Names (ARNs) to retrieve information. </p>
545
+ */
546
+ PricingPlan?: string;
547
+ }
548
+ export declare namespace ListBillingGroupsFilter {
549
+ /**
550
+ * @internal
551
+ */
552
+ const filterSensitiveLog: (obj: ListBillingGroupsFilter) => any;
553
+ }
554
+ export interface ListBillingGroupsInput {
555
+ /**
556
+ * <p>The preferred billing period to get billing groups.
557
+ * </p>
558
+ */
559
+ BillingPeriod?: string;
560
+ /**
561
+ * <p>The maximum number of billing groups to retrieve.
562
+ * </p>
563
+ */
564
+ MaxResults?: number;
565
+ /**
566
+ * <p>The pagination token used on subsequent calls to get billing groups.
567
+ * </p>
568
+ */
569
+ NextToken?: string;
570
+ /**
571
+ * <p>A <code>ListBillingGroupsFilter</code> that specifies the billing group and pricing plan to retrieve billing group information.
572
+ * </p>
573
+ */
574
+ Filters?: ListBillingGroupsFilter;
575
+ }
576
+ export declare namespace ListBillingGroupsInput {
577
+ /**
578
+ * @internal
579
+ */
580
+ const filterSensitiveLog: (obj: ListBillingGroupsInput) => any;
581
+ }
582
+ export declare enum BillingGroupStatus {
583
+ ACTIVE = "ACTIVE",
584
+ PRIMARY_ACCOUNT_MISSING = "PRIMARY_ACCOUNT_MISSING"
585
+ }
586
+ /**
587
+ * <p>A representation of a billing group.
588
+ * </p>
589
+ */
590
+ export interface BillingGroupListElement {
591
+ /**
592
+ * <p>The billing group's name.
593
+ * </p>
594
+ */
595
+ Name?: string;
596
+ /**
597
+ * <p>The Amazon Resource Number (ARN) that can be used to uniquely identify the billing group.
598
+ * </p>
599
+ */
600
+ Arn?: string;
601
+ /**
602
+ * <p>The billing group description.
603
+ * </p>
604
+ */
605
+ Description?: string;
606
+ /**
607
+ * <p>The account ID that serves as the main account in a billing group. </p>
608
+ */
609
+ PrimaryAccountId?: string;
610
+ /**
611
+ * <p>
612
+ * The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
613
+ * </p>
614
+ */
615
+ ComputationPreference?: ComputationPreference;
616
+ /**
617
+ * <p>The number of accounts in the particular billing group.
618
+ * </p>
619
+ */
620
+ Size?: number;
621
+ /**
622
+ * <p>
623
+ * The time the billing group was created.
624
+ * </p>
625
+ */
626
+ CreationTime?: number;
627
+ /**
628
+ * <p>
629
+ * The most recent time the billing group was modified.
630
+ * </p>
631
+ */
632
+ LastModifiedTime?: number;
633
+ /**
634
+ * <p>The billing group status. Only one of the valid values can be used.
635
+ * </p>
636
+ */
637
+ Status?: BillingGroupStatus | string;
638
+ /**
639
+ * <p>The reason why the billing group is in its current status.
640
+ * </p>
641
+ */
642
+ StatusReason?: string;
643
+ }
644
+ export declare namespace BillingGroupListElement {
645
+ /**
646
+ * @internal
647
+ */
648
+ const filterSensitiveLog: (obj: BillingGroupListElement) => any;
649
+ }
650
+ export interface ListBillingGroupsOutput {
651
+ /**
652
+ * <p>A list of <code>BillingGroupListElement</code> retrieved.
653
+ * </p>
654
+ */
655
+ BillingGroups?: BillingGroupListElement[];
656
+ /**
657
+ * <p>The pagination token used on subsequent calls to get billing groups.
658
+ * </p>
659
+ */
660
+ NextToken?: string;
661
+ }
662
+ export declare namespace ListBillingGroupsOutput {
663
+ /**
664
+ * @internal
665
+ */
666
+ const filterSensitiveLog: (obj: ListBillingGroupsOutput) => any;
667
+ }
668
+ export interface UpdateBillingGroupInput {
669
+ /**
670
+ * <p>The Amazon Resource Name (ARN) of the billing group being updated. </p>
671
+ */
672
+ Arn: string | undefined;
673
+ /**
674
+ * <p>The name of the billing group. The names must be unique to each billing group.
675
+ * </p>
676
+ */
677
+ Name?: string;
678
+ /**
679
+ * <p>The status of the billing group. Only one of the valid values can be used.
680
+ * </p>
681
+ */
682
+ Status?: BillingGroupStatus | string;
683
+ /**
684
+ * <p>
685
+ * The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
686
+ * </p>
687
+ */
688
+ ComputationPreference?: ComputationPreference;
689
+ /**
690
+ * <p>A description of the billing group.
691
+ * </p>
692
+ */
693
+ Description?: string;
694
+ }
695
+ export declare namespace UpdateBillingGroupInput {
696
+ /**
697
+ * @internal
698
+ */
699
+ const filterSensitiveLog: (obj: UpdateBillingGroupInput) => any;
700
+ }
701
+ export interface UpdateBillingGroupOutput {
702
+ /**
703
+ * <p>The Amazon Resource Name (ARN) of the billing group that was updated. </p>
704
+ */
705
+ Arn?: string;
706
+ /**
707
+ * <p>
708
+ * The name of the billing group. The names must be unique to each billing group.
709
+ * </p>
710
+ */
711
+ Name?: string;
712
+ /**
713
+ * <p>
714
+ * A description of the billing group.
715
+ * </p>
716
+ */
717
+ Description?: string;
718
+ /**
719
+ * <p>
720
+ * The account ID that serves as the main account in a billing group.
721
+ * </p>
722
+ */
723
+ PrimaryAccountId?: string;
724
+ /**
725
+ * <p>
726
+ * The Amazon Resource Name (ARN) of the pricing plan to compute Amazon Web Services charges for the
727
+ * billing group.
728
+ * </p>
729
+ */
730
+ PricingPlanArn?: string;
731
+ /**
732
+ * <p>
733
+ * The number of accounts in the particular billing group.
734
+ * </p>
735
+ */
736
+ Size?: number;
737
+ /**
738
+ * <p>
739
+ * The most recent time the billing group was modified.
740
+ * </p>
741
+ */
742
+ LastModifiedTime?: number;
743
+ /**
744
+ * <p>
745
+ * The status of the billing group. Only one of the valid values can be used.
746
+ * </p>
747
+ */
748
+ Status?: BillingGroupStatus | string;
749
+ /**
750
+ * <p>
751
+ * The reason why the billing group is in its current status.
752
+ * </p>
753
+ */
754
+ StatusReason?: string;
755
+ }
756
+ export declare namespace UpdateBillingGroupOutput {
757
+ /**
758
+ * @internal
759
+ */
760
+ const filterSensitiveLog: (obj: UpdateBillingGroupOutput) => any;
761
+ }
762
+ /**
763
+ * <p>
764
+ * The billing period range in which the custom line item request will be applied.
765
+ * </p>
766
+ */
767
+ export interface CustomLineItemBillingPeriodRange {
768
+ /**
769
+ * <p>
770
+ * The inclusive start billing period that defines a billing period range where a custom line is applied.
771
+ * </p>
772
+ */
773
+ InclusiveStartBillingPeriod: string | undefined;
774
+ /**
775
+ * <p>
776
+ * The inclusive end billing period that defines a billing period range where a custom line is applied.
777
+ * </p>
778
+ */
779
+ ExclusiveEndBillingPeriod: string | undefined;
780
+ }
781
+ export declare namespace CustomLineItemBillingPeriodRange {
782
+ /**
783
+ * @internal
784
+ */
785
+ const filterSensitiveLog: (obj: CustomLineItemBillingPeriodRange) => any;
786
+ }
787
+ export interface BatchAssociateResourcesToCustomLineItemInput {
788
+ /**
789
+ * <p>
790
+ * A percentage custom line item ARN to associate the resources to.
791
+ * </p>
792
+ */
793
+ TargetArn: string | undefined;
794
+ /**
795
+ * <p>
796
+ * A list containing the ARNs of the resources to be associated.
797
+ * </p>
798
+ */
799
+ ResourceArns: string[] | undefined;
800
+ /**
801
+ * <p>
802
+ * The billing period range in which the custom line item request will be applied.
803
+ * </p>
804
+ */
805
+ BillingPeriodRange?: CustomLineItemBillingPeriodRange;
806
+ }
807
+ export declare namespace BatchAssociateResourcesToCustomLineItemInput {
808
+ /**
809
+ * @internal
810
+ */
811
+ const filterSensitiveLog: (obj: BatchAssociateResourcesToCustomLineItemInput) => any;
812
+ }
813
+ export interface BatchAssociateResourcesToCustomLineItemOutput {
814
+ /**
815
+ * <p>
816
+ * A list of <code>AssociateResourceResponseElement</code> for each resource that's been associated to a percentage custom line item successfully.
817
+ * </p>
818
+ */
819
+ SuccessfullyAssociatedResources?: AssociateResourceResponseElement[];
820
+ /**
821
+ * <p>
822
+ * A list of <code>AssociateResourceResponseElement</code> for each resource that failed association to a percentage custom line item.
823
+ * </p>
824
+ */
825
+ FailedAssociatedResources?: AssociateResourceResponseElement[];
826
+ }
827
+ export declare namespace BatchAssociateResourcesToCustomLineItemOutput {
828
+ /**
829
+ * @internal
830
+ */
831
+ const filterSensitiveLog: (obj: BatchAssociateResourcesToCustomLineItemOutput) => any;
832
+ }
833
+ export interface BatchDisassociateResourcesFromCustomLineItemInput {
834
+ /**
835
+ * <p>
836
+ * A percentage custom line item ARN to disassociate the resources from.
837
+ * </p>
838
+ */
839
+ TargetArn: string | undefined;
840
+ /**
841
+ * <p>
842
+ * A list containing the ARNs of resources to be disassociated.
843
+ * </p>
844
+ */
845
+ ResourceArns: string[] | undefined;
846
+ /**
847
+ * <p>
848
+ * The billing period range in which the custom line item request will be applied.
849
+ * </p>
850
+ */
851
+ BillingPeriodRange?: CustomLineItemBillingPeriodRange;
852
+ }
853
+ export declare namespace BatchDisassociateResourcesFromCustomLineItemInput {
854
+ /**
855
+ * @internal
856
+ */
857
+ const filterSensitiveLog: (obj: BatchDisassociateResourcesFromCustomLineItemInput) => any;
858
+ }
859
+ /**
860
+ * <p>
861
+ * A resource disassociation result for a percentage custom line item.
862
+ * </p>
863
+ */
864
+ export interface DisassociateResourceResponseElement {
865
+ /**
866
+ * <p>
867
+ * The resource ARN that was disassociated from the custom line item.
868
+ * </p>
869
+ */
870
+ Arn?: string;
871
+ /**
872
+ * <p>
873
+ * An <code>AssociateResourceError</code> shown if the resource disassociation fails.
874
+ * </p>
875
+ */
876
+ Error?: AssociateResourceError;
877
+ }
878
+ export declare namespace DisassociateResourceResponseElement {
879
+ /**
880
+ * @internal
881
+ */
882
+ const filterSensitiveLog: (obj: DisassociateResourceResponseElement) => any;
883
+ }
884
+ export interface BatchDisassociateResourcesFromCustomLineItemOutput {
885
+ /**
886
+ * <p>
887
+ * A list of <code>DisassociateResourceResponseElement</code> for each resource that's been disassociated from a percentage custom line item successfully.
888
+ * </p>
889
+ */
890
+ SuccessfullyDisassociatedResources?: DisassociateResourceResponseElement[];
891
+ /**
892
+ * <p>
893
+ * A list of <code>DisassociateResourceResponseElement</code> for each resource that failed disassociation from a percentage custom line item.
894
+ * </p>
895
+ */
896
+ FailedDisassociatedResources?: DisassociateResourceResponseElement[];
897
+ }
898
+ export declare namespace BatchDisassociateResourcesFromCustomLineItemOutput {
899
+ /**
900
+ * @internal
901
+ */
902
+ const filterSensitiveLog: (obj: BatchDisassociateResourcesFromCustomLineItemOutput) => any;
903
+ }
904
+ /**
905
+ * <p>
906
+ * A representation of the charge details associated with a flat custom line item.
907
+ * </p>
908
+ */
909
+ export interface CustomLineItemFlatChargeDetails {
910
+ /**
911
+ * <p>
912
+ * The custom line item's fixed charge value in USD.
913
+ * </p>
914
+ */
915
+ ChargeValue: number | undefined;
916
+ }
917
+ export declare namespace CustomLineItemFlatChargeDetails {
918
+ /**
919
+ * @internal
920
+ */
921
+ const filterSensitiveLog: (obj: CustomLineItemFlatChargeDetails) => any;
922
+ }
923
+ /**
924
+ * <p>
925
+ * A representation of the charge details associated with a percentage custom line item.
926
+ * </p>
927
+ */
928
+ export interface CustomLineItemPercentageChargeDetails {
929
+ /**
930
+ * <p>
931
+ * The custom line item's percentage value. This will be multiplied against the combined value of its associated resources to determine its charge value.
932
+ * </p>
933
+ */
934
+ PercentageValue: number | undefined;
935
+ /**
936
+ * <p>
937
+ * A list of resource ARNs to associate to the percentage custom line item.
938
+ * </p>
939
+ */
940
+ AssociatedValues?: string[];
941
+ }
942
+ export declare namespace CustomLineItemPercentageChargeDetails {
943
+ /**
944
+ * @internal
945
+ */
946
+ const filterSensitiveLog: (obj: CustomLineItemPercentageChargeDetails) => any;
947
+ }
948
+ export declare enum CustomLineItemType {
949
+ CREDIT = "CREDIT",
950
+ FEE = "FEE"
951
+ }
952
+ /**
953
+ * <p>
954
+ * The charge details of a custom line item. It should contain only one of <code>Flat</code> or <code>Percentage</code>.
955
+ * </p>
956
+ */
957
+ export interface CustomLineItemChargeDetails {
958
+ /**
959
+ * <p>
960
+ * A <code>CustomLineItemFlatChargeDetails</code> that describes the charge details of a flat custom line item.
961
+ * </p>
962
+ */
963
+ Flat?: CustomLineItemFlatChargeDetails;
964
+ /**
965
+ * <p>
966
+ * A <code>CustomLineItemPercentageChargeDetails</code> that describes the charge details of a percentage custom line item.
967
+ * </p>
968
+ */
969
+ Percentage?: CustomLineItemPercentageChargeDetails;
970
+ /**
971
+ * <p>
972
+ * The type of the custom line item that indicates whether the charge is a fee or credit.
973
+ * </p>
974
+ */
975
+ Type: CustomLineItemType | string | undefined;
976
+ }
977
+ export declare namespace CustomLineItemChargeDetails {
978
+ /**
979
+ * @internal
980
+ */
981
+ const filterSensitiveLog: (obj: CustomLineItemChargeDetails) => any;
982
+ }
983
+ export interface CreateCustomLineItemInput {
984
+ /**
985
+ * <p>
986
+ * The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.
987
+ * </p>
988
+ */
989
+ ClientToken?: string;
990
+ /**
991
+ * <p>
992
+ * The name of the custom line item.
993
+ * </p>
994
+ */
995
+ Name: string | undefined;
996
+ /**
997
+ * <p>
998
+ * The description of the custom line item. This is shown on the Bills page in association with the charge value.
999
+ * </p>
1000
+ */
1001
+ Description: string | undefined;
1002
+ /**
1003
+ * <p> The Amazon Resource Name (ARN) that references the billing group where the custom line
1004
+ * item applies to. </p>
1005
+ */
1006
+ BillingGroupArn: string | undefined;
1007
+ /**
1008
+ * <p> A time range for which the custom line item is effective. </p>
1009
+ */
1010
+ BillingPeriodRange?: CustomLineItemBillingPeriodRange;
1011
+ /**
1012
+ * <p> A map that contains tag keys and tag values that are attached to a custom line item. </p>
1013
+ */
1014
+ Tags?: {
1015
+ [key: string]: string;
1016
+ };
1017
+ /**
1018
+ * <p>
1019
+ * A <code>CustomLineItemChargeDetails</code> that describes the charge details for a custom line item.
1020
+ * </p>
1021
+ */
1022
+ ChargeDetails: CustomLineItemChargeDetails | undefined;
1023
+ }
1024
+ export declare namespace CreateCustomLineItemInput {
1025
+ /**
1026
+ * @internal
1027
+ */
1028
+ const filterSensitiveLog: (obj: CreateCustomLineItemInput) => any;
1029
+ }
1030
+ export interface CreateCustomLineItemOutput {
1031
+ /**
1032
+ * <p> The Amazon Resource Name (ARN) of the created custom line item. </p>
1033
+ */
1034
+ Arn?: string;
1035
+ }
1036
+ export declare namespace CreateCustomLineItemOutput {
1037
+ /**
1038
+ * @internal
1039
+ */
1040
+ const filterSensitiveLog: (obj: CreateCustomLineItemOutput) => any;
1041
+ }
1042
+ export interface DeleteCustomLineItemInput {
1043
+ /**
1044
+ * <p>
1045
+ * The ARN of the custom line item to be deleted.
1046
+ * </p>
1047
+ */
1048
+ Arn: string | undefined;
1049
+ /**
1050
+ * <p>
1051
+ * The billing period range in which the custom line item request will be applied.
1052
+ * </p>
1053
+ */
1054
+ BillingPeriodRange?: CustomLineItemBillingPeriodRange;
1055
+ }
1056
+ export declare namespace DeleteCustomLineItemInput {
1057
+ /**
1058
+ * @internal
1059
+ */
1060
+ const filterSensitiveLog: (obj: DeleteCustomLineItemInput) => any;
1061
+ }
1062
+ export interface DeleteCustomLineItemOutput {
1063
+ /**
1064
+ * <p>
1065
+ * Then ARN of the deleted custom line item.
1066
+ * </p>
1067
+ */
1068
+ Arn?: string;
1069
+ }
1070
+ export declare namespace DeleteCustomLineItemOutput {
1071
+ /**
1072
+ * @internal
1073
+ */
1074
+ const filterSensitiveLog: (obj: DeleteCustomLineItemOutput) => any;
1075
+ }
1076
+ /**
1077
+ * <p>
1078
+ * A filter that specifies the custom line items and billing groups to retrieve FFLI information.
1079
+ * </p>
1080
+ */
1081
+ export interface ListCustomLineItemsFilter {
1082
+ /**
1083
+ * <p>
1084
+ * A list of custom line items to retrieve information.
1085
+ * </p>
1086
+ */
1087
+ Names?: string[];
1088
+ /**
1089
+ * <p> The billing group Amazon Resource Names (ARNs) to retrieve information. </p>
1090
+ */
1091
+ BillingGroups?: string[];
1092
+ /**
1093
+ * <p>
1094
+ * A list of custom line item ARNs to retrieve information.
1095
+ * </p>
1096
+ */
1097
+ Arns?: string[];
1098
+ }
1099
+ export declare namespace ListCustomLineItemsFilter {
1100
+ /**
1101
+ * @internal
1102
+ */
1103
+ const filterSensitiveLog: (obj: ListCustomLineItemsFilter) => any;
1104
+ }
1105
+ export interface ListCustomLineItemsInput {
1106
+ /**
1107
+ * <p>
1108
+ * The preferred billing period to get custom line items (FFLIs).
1109
+ * </p>
1110
+ */
1111
+ BillingPeriod?: string;
1112
+ /**
1113
+ * <p>
1114
+ * The maximum number of billing groups to retrieve.
1115
+ * </p>
1116
+ */
1117
+ MaxResults?: number;
1118
+ /**
1119
+ * <p>
1120
+ * The pagination token used on subsequent calls to get custom line items (FFLIs).
1121
+ * </p>
1122
+ */
1123
+ NextToken?: string;
1124
+ /**
1125
+ * <p>A <code>ListCustomLineItemsFilter</code> that specifies the custom line item names
1126
+ * and/or billing group Amazon Resource Names (ARNs) to retrieve FFLI information.</p>
1127
+ */
1128
+ Filters?: ListCustomLineItemsFilter;
1129
+ }
1130
+ export declare namespace ListCustomLineItemsInput {
1131
+ /**
1132
+ * @internal
1133
+ */
1134
+ const filterSensitiveLog: (obj: ListCustomLineItemsInput) => any;
1135
+ }
1136
+ /**
1137
+ * <p>
1138
+ * A representation of the charge details associated with a flat custom line item.
1139
+ * </p>
1140
+ */
1141
+ export interface ListCustomLineItemFlatChargeDetails {
1142
+ /**
1143
+ * <p>
1144
+ * The custom line item's fixed charge value in USD.
1145
+ * </p>
1146
+ */
1147
+ ChargeValue: number | undefined;
1148
+ }
1149
+ export declare namespace ListCustomLineItemFlatChargeDetails {
1150
+ /**
1151
+ * @internal
1152
+ */
1153
+ const filterSensitiveLog: (obj: ListCustomLineItemFlatChargeDetails) => any;
1154
+ }
1155
+ /**
1156
+ * <p>
1157
+ * A representation of the charge details associated with a percentage custom line item.
1158
+ * </p>
1159
+ */
1160
+ export interface ListCustomLineItemPercentageChargeDetails {
1161
+ /**
1162
+ * <p>
1163
+ * The custom line item's percentage value. This will be multiplied against the combined value of its associated resources to determine its charge value.
1164
+ * </p>
1165
+ */
1166
+ PercentageValue: number | undefined;
1167
+ }
1168
+ export declare namespace ListCustomLineItemPercentageChargeDetails {
1169
+ /**
1170
+ * @internal
1171
+ */
1172
+ const filterSensitiveLog: (obj: ListCustomLineItemPercentageChargeDetails) => any;
1173
+ }
1174
+ /**
1175
+ * <p>
1176
+ * A representation of the charge details of a custom line item.
1177
+ * </p>
1178
+ */
1179
+ export interface ListCustomLineItemChargeDetails {
1180
+ /**
1181
+ * <p>
1182
+ * A <code>ListCustomLineItemFlatChargeDetails</code> that describes the charge details of a flat custom line item.
1183
+ * </p>
1184
+ */
1185
+ Flat?: ListCustomLineItemFlatChargeDetails;
1186
+ /**
1187
+ * <p>
1188
+ * A <code>ListCustomLineItemPercentageChargeDetails</code> that describes the charge details of a percentage custom line item.
1189
+ * </p>
1190
+ */
1191
+ Percentage?: ListCustomLineItemPercentageChargeDetails;
1192
+ /**
1193
+ * <p>
1194
+ * The type of the custom line item that indicates whether the charge is a <code>fee</code> or <code>credit</code>.
1195
+ * </p>
1196
+ */
1197
+ Type: CustomLineItemType | string | undefined;
1198
+ }
1199
+ export declare namespace ListCustomLineItemChargeDetails {
1200
+ /**
1201
+ * @internal
1202
+ */
1203
+ const filterSensitiveLog: (obj: ListCustomLineItemChargeDetails) => any;
1204
+ }
1205
+ export declare enum CurrencyCode {
1206
+ CNY = "CNY",
1207
+ USD = "USD"
1208
+ }
1209
+ /**
1210
+ * <p>
1211
+ * A representation of a custom line item.
1212
+ * </p>
1213
+ */
1214
+ export interface CustomLineItemListElement {
1215
+ /**
1216
+ * <p> The Amazon Resource Names (ARNs) for custom line items. </p>
1217
+ */
1218
+ Arn?: string;
1219
+ /**
1220
+ * <p>
1221
+ * The custom line item's name.
1222
+ * </p>
1223
+ */
1224
+ Name?: string;
1225
+ /**
1226
+ * <p>
1227
+ * A <code>ListCustomLineItemChargeDetails</code> that describes the charge details of a custom line item.
1228
+ * </p>
1229
+ */
1230
+ ChargeDetails?: ListCustomLineItemChargeDetails;
1231
+ /**
1232
+ * <p>
1233
+ * The custom line item's charge value currency. Only one of the valid values can be used.
1234
+ * </p>
1235
+ */
1236
+ CurrencyCode?: CurrencyCode | string;
1237
+ /**
1238
+ * <p>
1239
+ * The custom line item's description. This is shown on the Bills page in association with the charge value.
1240
+ * </p>
1241
+ */
1242
+ Description?: string;
1243
+ /**
1244
+ * <p>
1245
+ * The product code associated with the custom line item.
1246
+ * </p>
1247
+ */
1248
+ ProductCode?: string;
1249
+ /**
1250
+ * <p> The Amazon Resource Name (ARN) that references the billing group where the custom line
1251
+ * item applies to. </p>
1252
+ */
1253
+ BillingGroupArn?: string;
1254
+ /**
1255
+ * <p>
1256
+ * The time created.
1257
+ * </p>
1258
+ */
1259
+ CreationTime?: number;
1260
+ /**
1261
+ * <p>
1262
+ * The most recent time the custom line item was modified.
1263
+ * </p>
1264
+ */
1265
+ LastModifiedTime?: number;
1266
+ /**
1267
+ * <p>
1268
+ * The number of resources that are associated to the custom line item.
1269
+ * </p>
1270
+ */
1271
+ AssociationSize?: number;
1272
+ }
1273
+ export declare namespace CustomLineItemListElement {
1274
+ /**
1275
+ * @internal
1276
+ */
1277
+ const filterSensitiveLog: (obj: CustomLineItemListElement) => any;
1278
+ }
1279
+ export interface ListCustomLineItemsOutput {
1280
+ /**
1281
+ * <p>
1282
+ * A list of <code>FreeFormLineItemListElements</code> received.
1283
+ * </p>
1284
+ */
1285
+ CustomLineItems?: CustomLineItemListElement[];
1286
+ /**
1287
+ * <p>
1288
+ * The pagination token used on subsequent calls to get custom line items (FFLIs).
1289
+ * </p>
1290
+ */
1291
+ NextToken?: string;
1292
+ }
1293
+ export declare namespace ListCustomLineItemsOutput {
1294
+ /**
1295
+ * @internal
1296
+ */
1297
+ const filterSensitiveLog: (obj: ListCustomLineItemsOutput) => any;
1298
+ }
1299
+ export declare enum CustomLineItemRelationship {
1300
+ CHILD = "CHILD",
1301
+ PARENT = "PARENT"
1302
+ }
1303
+ /**
1304
+ * <p>
1305
+ * A filter that specifies the type of resource associations that should be retrieved for a custom line item.
1306
+ * </p>
1307
+ */
1308
+ export interface ListResourcesAssociatedToCustomLineItemFilter {
1309
+ /**
1310
+ * <p>
1311
+ * The type of relationship between the custom line item and the associated resource.
1312
+ * </p>
1313
+ */
1314
+ Relationship?: CustomLineItemRelationship | string;
1315
+ }
1316
+ export declare namespace ListResourcesAssociatedToCustomLineItemFilter {
1317
+ /**
1318
+ * @internal
1319
+ */
1320
+ const filterSensitiveLog: (obj: ListResourcesAssociatedToCustomLineItemFilter) => any;
1321
+ }
1322
+ export interface ListResourcesAssociatedToCustomLineItemInput {
1323
+ /**
1324
+ * <p>
1325
+ * The billing period for which the resource associations will be listed.
1326
+ * </p>
1327
+ */
1328
+ BillingPeriod?: string;
1329
+ /**
1330
+ * <p>
1331
+ * The ARN of the custom line item for which the resource associations will be listed.
1332
+ * </p>
1333
+ */
1334
+ Arn: string | undefined;
1335
+ /**
1336
+ * <p>
1337
+ * (Optional) The maximum number of resource associations to be retrieved.
1338
+ * </p>
1339
+ */
1340
+ MaxResults?: number;
1341
+ /**
1342
+ * <p>
1343
+ * (Optional) The pagination token returned by a previous request.
1344
+ * </p>
1345
+ */
1346
+ NextToken?: string;
1347
+ /**
1348
+ * <p>
1349
+ * (Optional) A <code>ListResourcesAssociatedToCustomLineItemFilter</code> that can specify the types of resources that should be retrieved.
1350
+ * </p>
1351
+ */
1352
+ Filters?: ListResourcesAssociatedToCustomLineItemFilter;
1353
+ }
1354
+ export declare namespace ListResourcesAssociatedToCustomLineItemInput {
1355
+ /**
1356
+ * @internal
1357
+ */
1358
+ const filterSensitiveLog: (obj: ListResourcesAssociatedToCustomLineItemInput) => any;
1359
+ }
1360
+ /**
1361
+ * <p>
1362
+ * A representation of a resource association for a custom line item.
1363
+ * </p>
1364
+ */
1365
+ export interface ListResourcesAssociatedToCustomLineItemResponseElement {
1366
+ /**
1367
+ * <p>
1368
+ * The ARN of the associated resource.
1369
+ * </p>
1370
+ */
1371
+ Arn?: string;
1372
+ /**
1373
+ * <p>
1374
+ * The type of relationship between the custom line item and the associated resource.
1375
+ * </p>
1376
+ */
1377
+ Relationship?: CustomLineItemRelationship | string;
1378
+ }
1379
+ export declare namespace ListResourcesAssociatedToCustomLineItemResponseElement {
1380
+ /**
1381
+ * @internal
1382
+ */
1383
+ const filterSensitiveLog: (obj: ListResourcesAssociatedToCustomLineItemResponseElement) => any;
1384
+ }
1385
+ export interface ListResourcesAssociatedToCustomLineItemOutput {
1386
+ /**
1387
+ * <p>
1388
+ * The custom line item ARN for which the resource associations are listed.
1389
+ * </p>
1390
+ */
1391
+ Arn?: string;
1392
+ /**
1393
+ * <p>
1394
+ * A list of <code>ListResourcesAssociatedToCustomLineItemResponseElement</code> for each resource association retrieved.
1395
+ * </p>
1396
+ */
1397
+ AssociatedResources?: ListResourcesAssociatedToCustomLineItemResponseElement[];
1398
+ /**
1399
+ * <p>
1400
+ * The pagination token to be used in subsequent requests to retrieve additional results.
1401
+ * </p>
1402
+ */
1403
+ NextToken?: string;
1404
+ }
1405
+ export declare namespace ListResourcesAssociatedToCustomLineItemOutput {
1406
+ /**
1407
+ * @internal
1408
+ */
1409
+ const filterSensitiveLog: (obj: ListResourcesAssociatedToCustomLineItemOutput) => any;
1410
+ }
1411
+ /**
1412
+ * <p>
1413
+ * A representation of the new charge details associated with a flat custom line item.
1414
+ * </p>
1415
+ */
1416
+ export interface UpdateCustomLineItemFlatChargeDetails {
1417
+ /**
1418
+ * <p>
1419
+ * The custom line item's new fixed charge value in USD.
1420
+ * </p>
1421
+ */
1422
+ ChargeValue: number | undefined;
1423
+ }
1424
+ export declare namespace UpdateCustomLineItemFlatChargeDetails {
1425
+ /**
1426
+ * @internal
1427
+ */
1428
+ const filterSensitiveLog: (obj: UpdateCustomLineItemFlatChargeDetails) => any;
1429
+ }
1430
+ /**
1431
+ * <p>
1432
+ * A representation of the new charge details associated with a percentage custom line item.
1433
+ * </p>
1434
+ */
1435
+ export interface UpdateCustomLineItemPercentageChargeDetails {
1436
+ /**
1437
+ * <p>
1438
+ * The custom line item's new percentage value. This will be multiplied against the combined value of its associated resources to determine its charge value.
1439
+ * </p>
1440
+ */
1441
+ PercentageValue: number | undefined;
1442
+ }
1443
+ export declare namespace UpdateCustomLineItemPercentageChargeDetails {
1444
+ /**
1445
+ * @internal
1446
+ */
1447
+ const filterSensitiveLog: (obj: UpdateCustomLineItemPercentageChargeDetails) => any;
1448
+ }
1449
+ /**
1450
+ * <p>
1451
+ * A representation of the new charge details of a custom line item. This should contain only one of <code>Flat</code> or <code>Percentage</code>.
1452
+ * </p>
1453
+ */
1454
+ export interface UpdateCustomLineItemChargeDetails {
1455
+ /**
1456
+ * <p>
1457
+ * An <code>UpdateCustomLineItemFlatChargeDetails</code> that describes the new charge details of a flat custom line item.
1458
+ * </p>
1459
+ */
1460
+ Flat?: UpdateCustomLineItemFlatChargeDetails;
1461
+ /**
1462
+ * <p>
1463
+ * An <code>UpdateCustomLineItemPercentageChargeDetails</code> that describes the new charge details of a percentage custom line item.
1464
+ * </p>
1465
+ */
1466
+ Percentage?: UpdateCustomLineItemPercentageChargeDetails;
1467
+ }
1468
+ export declare namespace UpdateCustomLineItemChargeDetails {
1469
+ /**
1470
+ * @internal
1471
+ */
1472
+ const filterSensitiveLog: (obj: UpdateCustomLineItemChargeDetails) => any;
1473
+ }
1474
+ export interface UpdateCustomLineItemInput {
1475
+ /**
1476
+ * <p>
1477
+ * The ARN of the custom line item to be updated.
1478
+ * </p>
1479
+ */
1480
+ Arn: string | undefined;
1481
+ /**
1482
+ * <p>
1483
+ * The new name for the custom line item.
1484
+ * </p>
1485
+ */
1486
+ Name?: string;
1487
+ /**
1488
+ * <p>
1489
+ * The new line item description of the custom line item.
1490
+ * </p>
1491
+ */
1492
+ Description?: string;
1493
+ /**
1494
+ * <p>
1495
+ * A <code>ListCustomLineItemChargeDetails</code> containing the new charge details for the custom line item.
1496
+ * </p>
1497
+ */
1498
+ ChargeDetails?: UpdateCustomLineItemChargeDetails;
1499
+ /**
1500
+ * <p>
1501
+ * The billing period range in which the custom line item request will be applied.
1502
+ * </p>
1503
+ */
1504
+ BillingPeriodRange?: CustomLineItemBillingPeriodRange;
1505
+ }
1506
+ export declare namespace UpdateCustomLineItemInput {
1507
+ /**
1508
+ * @internal
1509
+ */
1510
+ const filterSensitiveLog: (obj: UpdateCustomLineItemInput) => any;
1511
+ }
1512
+ export interface UpdateCustomLineItemOutput {
1513
+ /**
1514
+ * <p>
1515
+ * The ARN of the successfully updated custom line item.
1516
+ * </p>
1517
+ */
1518
+ Arn?: string;
1519
+ /**
1520
+ * <p>
1521
+ * The ARN of the billing group that the custom line item is applied to.
1522
+ * </p>
1523
+ */
1524
+ BillingGroupArn?: string;
1525
+ /**
1526
+ * <p>
1527
+ * The name of the successfully updated custom line item.
1528
+ * </p>
1529
+ */
1530
+ Name?: string;
1531
+ /**
1532
+ * <p>
1533
+ * The description of the successfully updated custom line item.
1534
+ * </p>
1535
+ */
1536
+ Description?: string;
1537
+ /**
1538
+ * <p>
1539
+ * A <code>ListCustomLineItemChargeDetails</code> containing the charge details of the successfully updated custom line item.
1540
+ * </p>
1541
+ */
1542
+ ChargeDetails?: ListCustomLineItemChargeDetails;
1543
+ /**
1544
+ * <p>
1545
+ * The most recent time the custom line item was modified.
1546
+ * </p>
1547
+ */
1548
+ LastModifiedTime?: number;
1549
+ /**
1550
+ * <p>
1551
+ * The number of resources that are associated to the custom line item.
1552
+ * </p>
1553
+ */
1554
+ AssociationSize?: number;
1555
+ }
1556
+ export declare namespace UpdateCustomLineItemOutput {
1557
+ /**
1558
+ * @internal
1559
+ */
1560
+ const filterSensitiveLog: (obj: UpdateCustomLineItemOutput) => any;
1561
+ }
1562
+ /**
1563
+ * <p>The filter on the account ID of the linked account, or any of the following:</p>
1564
+ * <p>
1565
+ * <code>MONITORED</code>: linked accounts that are associated to billing groups.</p>
1566
+ * <p>
1567
+ * <code>UNMONITORED</code>: linked accounts that are not associated to billing
1568
+ * groups.</p>
1569
+ * <p>
1570
+ * <code>Billing Group Arn</code>: linked accounts that are associated to the provided
1571
+ * Billing Group Arn. </p>
1572
+ */
1573
+ export interface ListAccountAssociationsFilter {
1574
+ /**
1575
+ * <p>
1576
+ * <code>MONITORED</code>: linked accounts that are associated to billing groups.</p>
1577
+ * <p>
1578
+ * <code>UNMONITORED</code>: linked accounts that are not associated to billing
1579
+ * groups.</p>
1580
+ * <p>
1581
+ * <code>Billing Group Arn</code>: linked accounts that are associated to the provided
1582
+ * Billing Group Arn. </p>
1583
+ */
1584
+ Association?: string;
1585
+ /**
1586
+ * <p>
1587
+ * The Amazon Web Services account ID to filter on.
1588
+ * </p>
1589
+ */
1590
+ AccountId?: string;
1591
+ }
1592
+ export declare namespace ListAccountAssociationsFilter {
1593
+ /**
1594
+ * @internal
1595
+ */
1596
+ const filterSensitiveLog: (obj: ListAccountAssociationsFilter) => any;
1597
+ }
1598
+ export interface ListAccountAssociationsInput {
1599
+ /**
1600
+ * <p>
1601
+ * The preferred billing period to get account associations.
1602
+ * </p>
1603
+ */
1604
+ BillingPeriod?: string;
1605
+ /**
1606
+ * <p>The filter on the account ID of the linked account, or any of the following:</p>
1607
+ * <p>
1608
+ * <code>MONITORED</code>: linked accounts that are associated to billing groups.</p>
1609
+ * <p>
1610
+ * <code>UNMONITORED</code>: linked accounts that are not associated to billing
1611
+ * groups.</p>
1612
+ * <p>
1613
+ * <code>Billing Group Arn</code>: linked accounts that are associated to the provided
1614
+ * billing group Arn. </p>
1615
+ */
1616
+ Filters?: ListAccountAssociationsFilter;
1617
+ /**
1618
+ * <p>
1619
+ * The pagination token used on subsequent calls to retrieve accounts.
1620
+ * </p>
1621
+ */
1622
+ NextToken?: string;
1623
+ }
1624
+ export declare namespace ListAccountAssociationsInput {
1625
+ /**
1626
+ * @internal
1627
+ */
1628
+ const filterSensitiveLog: (obj: ListAccountAssociationsInput) => any;
1629
+ }
1630
+ export interface ListAccountAssociationsOutput {
1631
+ /**
1632
+ * <p> The list of linked accounts in the payer account. </p>
1633
+ */
1634
+ LinkedAccounts?: AccountAssociationsListElement[];
1635
+ /**
1636
+ * <p>
1637
+ * The pagination token used on subsequent calls to get accounts.
1638
+ * </p>
1639
+ */
1640
+ NextToken?: string;
1641
+ }
1642
+ export declare namespace ListAccountAssociationsOutput {
1643
+ /**
1644
+ * @internal
1645
+ */
1646
+ const filterSensitiveLog: (obj: ListAccountAssociationsOutput) => any;
1647
+ }
1648
+ /**
1649
+ * <p>The filter used to retrieve specific <code>BillingGroupCostReportElements</code>.
1650
+ * </p>
1651
+ */
1652
+ export interface ListBillingGroupCostReportsFilter {
1653
+ /**
1654
+ * <p>The list of Amazon Resource Names (ARNs) used to filter billing groups to retrieve
1655
+ * reports. </p>
1656
+ */
1657
+ BillingGroupArns?: string[];
1658
+ }
1659
+ export declare namespace ListBillingGroupCostReportsFilter {
1660
+ /**
1661
+ * @internal
1662
+ */
1663
+ const filterSensitiveLog: (obj: ListBillingGroupCostReportsFilter) => any;
1664
+ }
1665
+ export interface ListBillingGroupCostReportsInput {
1666
+ /**
1667
+ * <p>The preferred billing period for your report.
1668
+ * </p>
1669
+ */
1670
+ BillingPeriod?: string;
1671
+ /**
1672
+ * <p>The maximum number of reports to retrieve.
1673
+ * </p>
1674
+ */
1675
+ MaxResults?: number;
1676
+ /**
1677
+ * <p>The pagination token used on subsequent calls to get reports.
1678
+ * </p>
1679
+ */
1680
+ NextToken?: string;
1681
+ /**
1682
+ * <p>A <code>ListBillingGroupCostReportsFilter</code> to specify billing groups to retrieve reports from.
1683
+ * </p>
1684
+ */
1685
+ Filters?: ListBillingGroupCostReportsFilter;
1686
+ }
1687
+ export declare namespace ListBillingGroupCostReportsInput {
1688
+ /**
1689
+ * @internal
1690
+ */
1691
+ const filterSensitiveLog: (obj: ListBillingGroupCostReportsInput) => any;
1692
+ }
1693
+ /**
1694
+ * <p>A summary report of actual Amazon Web Services charges and calculated Amazon Web Services charges, based on the associated pricing plan of a billing group.
1695
+ * </p>
1696
+ */
1697
+ export interface BillingGroupCostReportElement {
1698
+ /**
1699
+ * <p>The Amazon Resource Name (ARN) of a billing group. </p>
1700
+ */
1701
+ Arn?: string;
1702
+ /**
1703
+ * <p>The actual Amazon Web Services charges for the billing group.
1704
+ * </p>
1705
+ */
1706
+ AWSCost?: string;
1707
+ /**
1708
+ * <p>The hypothetical Amazon Web Services charges based on the associated pricing plan of a billing group.
1709
+ * </p>
1710
+ */
1711
+ ProformaCost?: string;
1712
+ /**
1713
+ * <p>
1714
+ * The billing group margin.
1715
+ * </p>
1716
+ */
1717
+ Margin?: string;
1718
+ /**
1719
+ * <p>
1720
+ * The percentage of billing group margin.
1721
+ * </p>
1722
+ */
1723
+ MarginPercentage?: string;
1724
+ /**
1725
+ * <p>The displayed currency.
1726
+ * </p>
1727
+ */
1728
+ Currency?: string;
1729
+ }
1730
+ export declare namespace BillingGroupCostReportElement {
1731
+ /**
1732
+ * @internal
1733
+ */
1734
+ const filterSensitiveLog: (obj: BillingGroupCostReportElement) => any;
1735
+ }
1736
+ export interface ListBillingGroupCostReportsOutput {
1737
+ /**
1738
+ * <p>A list of <code>BillingGroupCostReportElement</code> retrieved.
1739
+ * </p>
1740
+ */
1741
+ BillingGroupCostReports?: BillingGroupCostReportElement[];
1742
+ /**
1743
+ * <p>The pagination token used on subsequent calls to get reports.
1744
+ * </p>
1745
+ */
1746
+ NextToken?: string;
1747
+ }
1748
+ export declare namespace ListBillingGroupCostReportsOutput {
1749
+ /**
1750
+ * @internal
1751
+ */
1752
+ const filterSensitiveLog: (obj: ListBillingGroupCostReportsOutput) => any;
1753
+ }
1754
+ export interface ListTagsForResourceRequest {
1755
+ /**
1756
+ * <p>
1757
+ * The Amazon Resource Name (ARN) that identifies the resource to list the tags.
1758
+ * </p>
1759
+ */
1760
+ ResourceArn: string | undefined;
1761
+ }
1762
+ export declare namespace ListTagsForResourceRequest {
1763
+ /**
1764
+ * @internal
1765
+ */
1766
+ const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
1767
+ }
1768
+ export interface ListTagsForResourceResponse {
1769
+ /**
1770
+ * <p>
1771
+ * The tags for the resource.
1772
+ * </p>
1773
+ */
1774
+ Tags?: {
1775
+ [key: string]: string;
1776
+ };
1777
+ }
1778
+ export declare namespace ListTagsForResourceResponse {
1779
+ /**
1780
+ * @internal
1781
+ */
1782
+ const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
1783
+ }
1784
+ export interface CreatePricingPlanInput {
1785
+ /**
1786
+ * <p>
1787
+ * The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.
1788
+ * </p>
1789
+ */
1790
+ ClientToken?: string;
1791
+ /**
1792
+ * <p>The pricing plan name. The names must be unique to each pricing plan.
1793
+ * </p>
1794
+ */
1795
+ Name: string | undefined;
1796
+ /**
1797
+ * <p>The pricing plan description.
1798
+ * </p>
1799
+ */
1800
+ Description?: string;
1801
+ /**
1802
+ * <p> A list of Amazon Resource Names (ARNs) that define the pricing plan parameters. </p>
1803
+ */
1804
+ PricingRuleArns?: string[];
1805
+ /**
1806
+ * <p>
1807
+ * A map that contains tag keys and tag values that are attached to a pricing plan.
1808
+ * </p>
1809
+ */
1810
+ Tags?: {
1811
+ [key: string]: string;
1812
+ };
1813
+ }
1814
+ export declare namespace CreatePricingPlanInput {
1815
+ /**
1816
+ * @internal
1817
+ */
1818
+ const filterSensitiveLog: (obj: CreatePricingPlanInput) => any;
1819
+ }
1820
+ export interface CreatePricingPlanOutput {
1821
+ /**
1822
+ * <p>The Amazon Resource Name (ARN) of the created pricing plan.</p>
1823
+ */
1824
+ Arn?: string;
1825
+ }
1826
+ export declare namespace CreatePricingPlanOutput {
1827
+ /**
1828
+ * @internal
1829
+ */
1830
+ const filterSensitiveLog: (obj: CreatePricingPlanOutput) => any;
1831
+ }
1832
+ export interface DeletePricingPlanInput {
1833
+ /**
1834
+ * <p>The Amazon Resource Name (ARN) of the pricing plan you're deleting. </p>
1835
+ */
1836
+ Arn: string | undefined;
1837
+ }
1838
+ export declare namespace DeletePricingPlanInput {
1839
+ /**
1840
+ * @internal
1841
+ */
1842
+ const filterSensitiveLog: (obj: DeletePricingPlanInput) => any;
1843
+ }
1844
+ export interface DeletePricingPlanOutput {
1845
+ /**
1846
+ * <p> The Amazon Resource Name (ARN) of the deleted pricing plan. </p>
1847
+ */
1848
+ Arn?: string;
1849
+ }
1850
+ export declare namespace DeletePricingPlanOutput {
1851
+ /**
1852
+ * @internal
1853
+ */
1854
+ const filterSensitiveLog: (obj: DeletePricingPlanOutput) => any;
1855
+ }
1856
+ export interface DisassociatePricingRulesInput {
1857
+ /**
1858
+ * <p> The pricing plan Amazon Resource Name (ARN) to disassociate pricing rules from. </p>
1859
+ */
1860
+ Arn: string | undefined;
1861
+ /**
1862
+ * <p> A list containing the Amazon Resource Name (ARN) of the pricing rules that will be
1863
+ * disassociated. </p>
1864
+ */
1865
+ PricingRuleArns: string[] | undefined;
1866
+ }
1867
+ export declare namespace DisassociatePricingRulesInput {
1868
+ /**
1869
+ * @internal
1870
+ */
1871
+ const filterSensitiveLog: (obj: DisassociatePricingRulesInput) => any;
1872
+ }
1873
+ export interface DisassociatePricingRulesOutput {
1874
+ /**
1875
+ * <p> The Amazon Resource Name (ARN) of the pricing plan that the pricing rules successfully
1876
+ * disassociated from. </p>
1877
+ */
1878
+ Arn?: string;
1879
+ }
1880
+ export declare namespace DisassociatePricingRulesOutput {
1881
+ /**
1882
+ * @internal
1883
+ */
1884
+ const filterSensitiveLog: (obj: DisassociatePricingRulesOutput) => any;
1885
+ }
1886
+ /**
1887
+ * <p>The filter that specifies the Amazon Resource Names (ARNs) of pricing plans, to retrieve
1888
+ * pricing plan information. </p>
1889
+ */
1890
+ export interface ListPricingPlansFilter {
1891
+ /**
1892
+ * <p>A list of pricing plan Amazon Resource Names (ARNs) to retrieve information. </p>
1893
+ */
1894
+ Arns?: string[];
1895
+ }
1896
+ export declare namespace ListPricingPlansFilter {
1897
+ /**
1898
+ * @internal
1899
+ */
1900
+ const filterSensitiveLog: (obj: ListPricingPlansFilter) => any;
1901
+ }
1902
+ export interface ListPricingPlansInput {
1903
+ /**
1904
+ * <p>The preferred billing period to get pricing plan.
1905
+ * </p>
1906
+ */
1907
+ BillingPeriod?: string;
1908
+ /**
1909
+ * <p>A <code>ListPricingPlansFilter</code> that specifies the Amazon Resource Name (ARNs)
1910
+ * of pricing plans to retrieve pricing plans information.</p>
1911
+ */
1912
+ Filters?: ListPricingPlansFilter;
1913
+ /**
1914
+ * <p>The maximum number of pricing plans to retrieve.</p>
1915
+ */
1916
+ MaxResults?: number;
1917
+ /**
1918
+ * <p>The pagination token used on subsequent call to get pricing plans.
1919
+ * </p>
1920
+ */
1921
+ NextToken?: string;
1922
+ }
1923
+ export declare namespace ListPricingPlansInput {
1924
+ /**
1925
+ * @internal
1926
+ */
1927
+ const filterSensitiveLog: (obj: ListPricingPlansInput) => any;
1928
+ }
1929
+ /**
1930
+ * <p>A representation of a pricing plan.
1931
+ * </p>
1932
+ */
1933
+ export interface PricingPlanListElement {
1934
+ /**
1935
+ * <p>The name of a pricing plan.
1936
+ * </p>
1937
+ */
1938
+ Name?: string;
1939
+ /**
1940
+ * <p>The pricing plan Amazon Resource Names (ARN). This can be used to uniquely identify a
1941
+ * pricing plan. </p>
1942
+ */
1943
+ Arn?: string;
1944
+ /**
1945
+ * <p>The pricing plan description.
1946
+ * </p>
1947
+ */
1948
+ Description?: string;
1949
+ /**
1950
+ * <p>
1951
+ * The pricing rules count currently associated with this pricing plan list element.
1952
+ * </p>
1953
+ */
1954
+ Size?: number;
1955
+ /**
1956
+ * <p>
1957
+ * The time the pricing plan was created.
1958
+ * </p>
1959
+ */
1960
+ CreationTime?: number;
1961
+ /**
1962
+ * <p>
1963
+ * The most recent time the pricing plan was modified.
1964
+ * </p>
1965
+ */
1966
+ LastModifiedTime?: number;
1967
+ }
1968
+ export declare namespace PricingPlanListElement {
1969
+ /**
1970
+ * @internal
1971
+ */
1972
+ const filterSensitiveLog: (obj: PricingPlanListElement) => any;
1973
+ }
1974
+ export interface ListPricingPlansOutput {
1975
+ /**
1976
+ * <p>
1977
+ * The billing period for which the described pricing plans are applicable.
1978
+ * </p>
1979
+ */
1980
+ BillingPeriod?: string;
1981
+ /**
1982
+ * <p>A list of <code>PricingPlanListElement</code> retrieved.
1983
+ * </p>
1984
+ */
1985
+ PricingPlans?: PricingPlanListElement[];
1986
+ /**
1987
+ * <p>The pagination token used on subsequent calls to get pricing plans.
1988
+ * </p>
1989
+ */
1990
+ NextToken?: string;
1991
+ }
1992
+ export declare namespace ListPricingPlansOutput {
1993
+ /**
1994
+ * @internal
1995
+ */
1996
+ const filterSensitiveLog: (obj: ListPricingPlansOutput) => any;
1997
+ }
1998
+ export interface ListPricingPlansAssociatedWithPricingRuleInput {
1999
+ /**
2000
+ * <p>
2001
+ * The pricing plan billing period for which associations will be listed.
2002
+ * </p>
2003
+ */
2004
+ BillingPeriod?: string;
2005
+ /**
2006
+ * <p> The pricing rule Amazon Resource Name (ARN) for which associations will be listed. </p>
2007
+ */
2008
+ PricingRuleArn: string | undefined;
2009
+ /**
2010
+ * <p>
2011
+ * The optional maximum number of pricing rule associations to retrieve.
2012
+ * </p>
2013
+ */
2014
+ MaxResults?: number;
2015
+ /**
2016
+ * <p>
2017
+ * The optional pagination token returned by a previous call.
2018
+ * </p>
2019
+ */
2020
+ NextToken?: string;
2021
+ }
2022
+ export declare namespace ListPricingPlansAssociatedWithPricingRuleInput {
2023
+ /**
2024
+ * @internal
2025
+ */
2026
+ const filterSensitiveLog: (obj: ListPricingPlansAssociatedWithPricingRuleInput) => any;
2027
+ }
2028
+ export interface ListPricingPlansAssociatedWithPricingRuleOutput {
2029
+ /**
2030
+ * <p>
2031
+ * The pricing plan billing period for which associations will be listed.
2032
+ * </p>
2033
+ */
2034
+ BillingPeriod?: string;
2035
+ /**
2036
+ * <p> The pricing rule Amazon Resource Name (ARN) for which associations will be listed. </p>
2037
+ */
2038
+ PricingRuleArn?: string;
2039
+ /**
2040
+ * <p>
2041
+ * The list containing pricing plans associated with the requested pricing rule.
2042
+ * </p>
2043
+ */
2044
+ PricingPlanArns?: string[];
2045
+ /**
2046
+ * <p>
2047
+ * The pagination token to be used on subsequent calls.
2048
+ * </p>
2049
+ */
2050
+ NextToken?: string;
2051
+ }
2052
+ export declare namespace ListPricingPlansAssociatedWithPricingRuleOutput {
2053
+ /**
2054
+ * @internal
2055
+ */
2056
+ const filterSensitiveLog: (obj: ListPricingPlansAssociatedWithPricingRuleOutput) => any;
2057
+ }
2058
+ export interface UpdatePricingPlanInput {
2059
+ /**
2060
+ * <p>The Amazon Resource Name (ARN) of the pricing plan you're updating. </p>
2061
+ */
2062
+ Arn: string | undefined;
2063
+ /**
2064
+ * <p>The name of the pricing plan. The name must be unique to each pricing plan.
2065
+ * </p>
2066
+ */
2067
+ Name?: string;
2068
+ /**
2069
+ * <p>The pricing plan description.
2070
+ * </p>
2071
+ */
2072
+ Description?: string;
2073
+ }
2074
+ export declare namespace UpdatePricingPlanInput {
2075
+ /**
2076
+ * @internal
2077
+ */
2078
+ const filterSensitiveLog: (obj: UpdatePricingPlanInput) => any;
2079
+ }
2080
+ export interface UpdatePricingPlanOutput {
2081
+ /**
2082
+ * <p>The Amazon Resource Name (ARN) of the updated pricing plan. </p>
2083
+ */
2084
+ Arn?: string;
2085
+ /**
2086
+ * <p>
2087
+ * The name of the pricing plan. The name must be unique to each pricing plan.
2088
+ * </p>
2089
+ */
2090
+ Name?: string;
2091
+ /**
2092
+ * <p>
2093
+ * The new description for the pricing rule.
2094
+ * </p>
2095
+ */
2096
+ Description?: string;
2097
+ /**
2098
+ * <p>
2099
+ * The pricing rules count currently associated with this pricing plan list.
2100
+ * </p>
2101
+ */
2102
+ Size?: number;
2103
+ /**
2104
+ * <p>
2105
+ * The most recent time the pricing plan was modified.
2106
+ * </p>
2107
+ */
2108
+ LastModifiedTime?: number;
2109
+ }
2110
+ export declare namespace UpdatePricingPlanOutput {
2111
+ /**
2112
+ * @internal
2113
+ */
2114
+ const filterSensitiveLog: (obj: UpdatePricingPlanOutput) => any;
2115
+ }
2116
+ export declare enum PricingRuleScope {
2117
+ GLOBAL = "GLOBAL",
2118
+ SERVICE = "SERVICE"
2119
+ }
2120
+ export declare enum PricingRuleType {
2121
+ DISCOUNT = "DISCOUNT",
2122
+ MARKUP = "MARKUP"
2123
+ }
2124
+ export interface CreatePricingRuleInput {
2125
+ /**
2126
+ * <p>
2127
+ * The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.
2128
+ * </p>
2129
+ */
2130
+ ClientToken?: string;
2131
+ /**
2132
+ * <p>
2133
+ * The pricing rule name. The names must be unique to each pricing rule.
2134
+ * </p>
2135
+ */
2136
+ Name: string | undefined;
2137
+ /**
2138
+ * <p>
2139
+ * The pricing rule description.
2140
+ * </p>
2141
+ */
2142
+ Description?: string;
2143
+ /**
2144
+ * <p>
2145
+ * The scope of pricing rule that indicates if it is globally applicable, or is service-specific.
2146
+ * </p>
2147
+ */
2148
+ Scope: PricingRuleScope | string | undefined;
2149
+ /**
2150
+ * <p>
2151
+ * The type of pricing rule.
2152
+ * </p>
2153
+ */
2154
+ Type: PricingRuleType | string | undefined;
2155
+ /**
2156
+ * <p>
2157
+ * A percentage modifier applied on the public pricing rates.
2158
+ * </p>
2159
+ */
2160
+ ModifierPercentage: number | undefined;
2161
+ /**
2162
+ * <p>
2163
+ * If the <code>Scope</code> attribute is set to <code>SERVICE</code>, the attribute indicates which service the <code>PricingRule</code> is applicable for.
2164
+ * </p>
2165
+ */
2166
+ Service?: string;
2167
+ /**
2168
+ * <p>
2169
+ * A map that contains tag keys and tag values that are attached to a pricing rule.
2170
+ * </p>
2171
+ */
2172
+ Tags?: {
2173
+ [key: string]: string;
2174
+ };
2175
+ }
2176
+ export declare namespace CreatePricingRuleInput {
2177
+ /**
2178
+ * @internal
2179
+ */
2180
+ const filterSensitiveLog: (obj: CreatePricingRuleInput) => any;
2181
+ }
2182
+ export interface CreatePricingRuleOutput {
2183
+ /**
2184
+ * <p> The Amazon Resource Name (ARN) of the created pricing rule. </p>
2185
+ */
2186
+ Arn?: string;
2187
+ }
2188
+ export declare namespace CreatePricingRuleOutput {
2189
+ /**
2190
+ * @internal
2191
+ */
2192
+ const filterSensitiveLog: (obj: CreatePricingRuleOutput) => any;
2193
+ }
2194
+ export interface DeletePricingRuleInput {
2195
+ /**
2196
+ * <p> The Amazon Resource Name (ARN) of the pricing rule you are deleting. </p>
2197
+ */
2198
+ Arn: string | undefined;
2199
+ }
2200
+ export declare namespace DeletePricingRuleInput {
2201
+ /**
2202
+ * @internal
2203
+ */
2204
+ const filterSensitiveLog: (obj: DeletePricingRuleInput) => any;
2205
+ }
2206
+ export interface DeletePricingRuleOutput {
2207
+ /**
2208
+ * <p> The Amazon Resource Name (ARN) of the deleted pricing rule. </p>
2209
+ */
2210
+ Arn?: string;
2211
+ }
2212
+ export declare namespace DeletePricingRuleOutput {
2213
+ /**
2214
+ * @internal
2215
+ */
2216
+ const filterSensitiveLog: (obj: DeletePricingRuleOutput) => any;
2217
+ }
2218
+ /**
2219
+ * <p> The filter that specifies criteria that the pricing rules returned by the
2220
+ * <code>ListPricingRules</code> API will adhere to. </p>
2221
+ */
2222
+ export interface ListPricingRulesFilter {
2223
+ /**
2224
+ * <p> A list containing the pricing rule Amazon Resource Names (ARNs) to include in the API
2225
+ * response. </p>
2226
+ */
2227
+ Arns?: string[];
2228
+ }
2229
+ export declare namespace ListPricingRulesFilter {
2230
+ /**
2231
+ * @internal
2232
+ */
2233
+ const filterSensitiveLog: (obj: ListPricingRulesFilter) => any;
2234
+ }
2235
+ export interface ListPricingRulesInput {
2236
+ /**
2237
+ * <p>
2238
+ * The preferred billing period to get the pricing plan.
2239
+ * </p>
2240
+ */
2241
+ BillingPeriod?: string;
2242
+ /**
2243
+ * <p> A <code>DescribePricingRuleFilter</code> that specifies the Amazon Resource Name (ARNs)
2244
+ * of pricing rules to retrieve pricing rules information. </p>
2245
+ */
2246
+ Filters?: ListPricingRulesFilter;
2247
+ /**
2248
+ * <p>
2249
+ * The maximum number of pricing rules to retrieve.
2250
+ * </p>
2251
+ */
2252
+ MaxResults?: number;
2253
+ /**
2254
+ * <p>
2255
+ * The pagination token used on subsequent call to get pricing rules.
2256
+ * </p>
2257
+ */
2258
+ NextToken?: string;
2259
+ }
2260
+ export declare namespace ListPricingRulesInput {
2261
+ /**
2262
+ * @internal
2263
+ */
2264
+ const filterSensitiveLog: (obj: ListPricingRulesInput) => any;
2265
+ }
2266
+ /**
2267
+ * <p>
2268
+ * A representation of a pricing rule.
2269
+ * </p>
2270
+ */
2271
+ export interface PricingRuleListElement {
2272
+ /**
2273
+ * <p>
2274
+ * The name of a pricing rule.
2275
+ * </p>
2276
+ */
2277
+ Name?: string;
2278
+ /**
2279
+ * <p> The Amazon Resource Name (ARN) used to uniquely identify a pricing rule. </p>
2280
+ */
2281
+ Arn?: string;
2282
+ /**
2283
+ * <p>
2284
+ * The pricing rule description.
2285
+ * </p>
2286
+ */
2287
+ Description?: string;
2288
+ /**
2289
+ * <p>
2290
+ * The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.
2291
+ * </p>
2292
+ */
2293
+ Scope?: PricingRuleScope | string;
2294
+ /**
2295
+ * <p>
2296
+ * The type of pricing rule.
2297
+ * </p>
2298
+ */
2299
+ Type?: PricingRuleType | string;
2300
+ /**
2301
+ * <p>
2302
+ * A percentage modifier applied on the public pricing rates.
2303
+ * </p>
2304
+ */
2305
+ ModifierPercentage?: number;
2306
+ /**
2307
+ * <p>
2308
+ * If the <code>Scope</code> attribute is <code>SERVICE</code>, this attribute indicates which service the <code>PricingRule</code> is applicable for.
2309
+ * </p>
2310
+ */
2311
+ Service?: string;
2312
+ /**
2313
+ * <p>
2314
+ * The pricing plans count that this pricing rule is associated with.
2315
+ * </p>
2316
+ */
2317
+ AssociatedPricingPlanCount?: number;
2318
+ /**
2319
+ * <p>
2320
+ * The time the pricing rule was created.
2321
+ * </p>
2322
+ */
2323
+ CreationTime?: number;
2324
+ /**
2325
+ * <p>
2326
+ * The most recent time the pricing rule was modified.
2327
+ * </p>
2328
+ */
2329
+ LastModifiedTime?: number;
2330
+ }
2331
+ export declare namespace PricingRuleListElement {
2332
+ /**
2333
+ * @internal
2334
+ */
2335
+ const filterSensitiveLog: (obj: PricingRuleListElement) => any;
2336
+ }
2337
+ export interface ListPricingRulesOutput {
2338
+ /**
2339
+ * <p>
2340
+ * The billing period for which the described pricing rules are applicable.
2341
+ * </p>
2342
+ */
2343
+ BillingPeriod?: string;
2344
+ /**
2345
+ * <p>
2346
+ * A list containing the described pricing rules.
2347
+ * </p>
2348
+ */
2349
+ PricingRules?: PricingRuleListElement[];
2350
+ /**
2351
+ * <p>
2352
+ * The pagination token used on subsequent calls to get pricing rules.
2353
+ * </p>
2354
+ */
2355
+ NextToken?: string;
2356
+ }
2357
+ export declare namespace ListPricingRulesOutput {
2358
+ /**
2359
+ * @internal
2360
+ */
2361
+ const filterSensitiveLog: (obj: ListPricingRulesOutput) => any;
2362
+ }
2363
+ export interface ListPricingRulesAssociatedToPricingPlanInput {
2364
+ /**
2365
+ * <p>
2366
+ * The billing period for which the pricing rule associations are to be listed.
2367
+ * </p>
2368
+ */
2369
+ BillingPeriod?: string;
2370
+ /**
2371
+ * <p> The Amazon Resource Name (ARN) of the pricing plan for which associations are to be
2372
+ * listed.</p>
2373
+ */
2374
+ PricingPlanArn: string | undefined;
2375
+ /**
2376
+ * <p>The optional maximum number of pricing rule associations to retrieve.</p>
2377
+ */
2378
+ MaxResults?: number;
2379
+ /**
2380
+ * <p>
2381
+ * The optional pagination token returned by a previous call.
2382
+ * </p>
2383
+ */
2384
+ NextToken?: string;
2385
+ }
2386
+ export declare namespace ListPricingRulesAssociatedToPricingPlanInput {
2387
+ /**
2388
+ * @internal
2389
+ */
2390
+ const filterSensitiveLog: (obj: ListPricingRulesAssociatedToPricingPlanInput) => any;
2391
+ }
2392
+ export interface ListPricingRulesAssociatedToPricingPlanOutput {
2393
+ /**
2394
+ * <p>
2395
+ * The billing period for which the pricing rule associations are listed.
2396
+ * </p>
2397
+ */
2398
+ BillingPeriod?: string;
2399
+ /**
2400
+ * <p> The Amazon Resource Name (ARN) of the pricing plan for which associations are
2401
+ * listed.</p>
2402
+ */
2403
+ PricingPlanArn?: string;
2404
+ /**
2405
+ * <p>
2406
+ * A list containing pricing rules associated with the requested pricing plan.
2407
+ * </p>
2408
+ */
2409
+ PricingRuleArns?: string[];
2410
+ /**
2411
+ * <p>
2412
+ * The pagination token to be used on subsequent calls.
2413
+ * </p>
2414
+ */
2415
+ NextToken?: string;
2416
+ }
2417
+ export declare namespace ListPricingRulesAssociatedToPricingPlanOutput {
2418
+ /**
2419
+ * @internal
2420
+ */
2421
+ const filterSensitiveLog: (obj: ListPricingRulesAssociatedToPricingPlanOutput) => any;
2422
+ }
2423
+ export interface UpdatePricingRuleInput {
2424
+ /**
2425
+ * <p> The Amazon Resource Name (ARN) of the pricing rule to update. </p>
2426
+ */
2427
+ Arn: string | undefined;
2428
+ /**
2429
+ * <p>
2430
+ * The new name of the pricing rule. The name must be unique to each pricing rule.
2431
+ * </p>
2432
+ */
2433
+ Name?: string;
2434
+ /**
2435
+ * <p>
2436
+ * The new description for the pricing rule.
2437
+ * </p>
2438
+ */
2439
+ Description?: string;
2440
+ /**
2441
+ * <p>
2442
+ * The new pricing rule type.
2443
+ * </p>
2444
+ */
2445
+ Type?: PricingRuleType | string;
2446
+ /**
2447
+ * <p>
2448
+ * The new modifier to show pricing plan rates as a percentage.
2449
+ * </p>
2450
+ */
2451
+ ModifierPercentage?: number;
2452
+ }
2453
+ export declare namespace UpdatePricingRuleInput {
2454
+ /**
2455
+ * @internal
2456
+ */
2457
+ const filterSensitiveLog: (obj: UpdatePricingRuleInput) => any;
2458
+ }
2459
+ export interface UpdatePricingRuleOutput {
2460
+ /**
2461
+ * <p> The Amazon Resource Name (ARN) of the successfully updated pricing rule. </p>
2462
+ */
2463
+ Arn?: string;
2464
+ /**
2465
+ * <p>
2466
+ * The new name of the pricing rule. The name must be unique to each pricing rule.
2467
+ * </p>
2468
+ */
2469
+ Name?: string;
2470
+ /**
2471
+ * <p>
2472
+ * The new description for the pricing rule.
2473
+ * </p>
2474
+ */
2475
+ Description?: string;
2476
+ /**
2477
+ * <p>
2478
+ * The scope of pricing rule that indicates if it is globally applicable, or is service-specific.
2479
+ * </p>
2480
+ */
2481
+ Scope?: PricingRuleScope | string;
2482
+ /**
2483
+ * <p>
2484
+ * The new pricing rule type.
2485
+ * </p>
2486
+ */
2487
+ Type?: PricingRuleType | string;
2488
+ /**
2489
+ * <p>
2490
+ * The new modifier to show pricing plan rates as a percentage.
2491
+ * </p>
2492
+ */
2493
+ ModifierPercentage?: number;
2494
+ /**
2495
+ * <p>
2496
+ * If the <code>Scope</code> attribute is set to <code>SERVICE</code>, the attribute indicates which service the <code>PricingRule</code> is applicable for.
2497
+ * </p>
2498
+ */
2499
+ Service?: string;
2500
+ /**
2501
+ * <p>
2502
+ * The pricing plans count that this pricing rule is associated with.
2503
+ * </p>
2504
+ */
2505
+ AssociatedPricingPlanCount?: number;
2506
+ /**
2507
+ * <p>
2508
+ * The most recent time the pricing rule was modified.
2509
+ * </p>
2510
+ */
2511
+ LastModifiedTime?: number;
2512
+ }
2513
+ export declare namespace UpdatePricingRuleOutput {
2514
+ /**
2515
+ * @internal
2516
+ */
2517
+ const filterSensitiveLog: (obj: UpdatePricingRuleOutput) => any;
2518
+ }
2519
+ export interface TagResourceRequest {
2520
+ /**
2521
+ * <p>
2522
+ * The Amazon Resource Name (ARN) of the resource to which to add tags.
2523
+ * </p>
2524
+ */
2525
+ ResourceArn: string | undefined;
2526
+ /**
2527
+ * <p>
2528
+ * The tags to add to the resource as a list of key-value pairs.
2529
+ * </p>
2530
+ */
2531
+ Tags: {
2532
+ [key: string]: string;
2533
+ } | undefined;
2534
+ }
2535
+ export declare namespace TagResourceRequest {
2536
+ /**
2537
+ * @internal
2538
+ */
2539
+ const filterSensitiveLog: (obj: TagResourceRequest) => any;
2540
+ }
2541
+ export interface TagResourceResponse {
2542
+ }
2543
+ export declare namespace TagResourceResponse {
2544
+ /**
2545
+ * @internal
2546
+ */
2547
+ const filterSensitiveLog: (obj: TagResourceResponse) => any;
2548
+ }
2549
+ export interface UntagResourceRequest {
2550
+ /**
2551
+ * <p>
2552
+ * The Amazon Resource Name (ARN) of the resource to which to delete tags.
2553
+ * </p>
2554
+ */
2555
+ ResourceArn: string | undefined;
2556
+ /**
2557
+ * <p>
2558
+ * The tags to delete from the resource as a list of key-value pairs.
2559
+ * </p>
2560
+ */
2561
+ TagKeys: string[] | undefined;
2562
+ }
2563
+ export declare namespace UntagResourceRequest {
2564
+ /**
2565
+ * @internal
2566
+ */
2567
+ const filterSensitiveLog: (obj: UntagResourceRequest) => any;
2568
+ }
2569
+ export interface UntagResourceResponse {
2570
+ }
2571
+ export declare namespace UntagResourceResponse {
2572
+ /**
2573
+ * @internal
2574
+ */
2575
+ const filterSensitiveLog: (obj: UntagResourceResponse) => any;
2576
+ }