@aws-sdk/client-billing 3.1156.0 → 3.1158.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 (64) hide show
  1. package/README.md +63 -0
  2. package/dist-cjs/index.js +531 -43
  3. package/dist-es/Billing.js +26 -0
  4. package/dist-es/commands/AssociateContractCommand.js +4 -0
  5. package/dist-es/commands/CancelContractualInvestmentAttestationCommand.js +4 -0
  6. package/dist-es/commands/CreateContractualInvestmentAttestationCommand.js +4 -0
  7. package/dist-es/commands/DisassociateContractCommand.js +4 -0
  8. package/dist-es/commands/GetContractInformationCommand.js +4 -0
  9. package/dist-es/commands/ListContractsCommand.js +4 -0
  10. package/dist-es/commands/ListContractualInvestmentAttestationsCommand.js +4 -0
  11. package/dist-es/commands/ListContractualInvestmentSummariesCommand.js +4 -0
  12. package/dist-es/commands/ListContractualInvestmentsCommand.js +4 -0
  13. package/dist-es/commands/index.js +9 -0
  14. package/dist-es/models/enums.js +28 -0
  15. package/dist-es/models/errors.js +34 -34
  16. package/dist-es/pagination/ListContractsPaginator.js +4 -0
  17. package/dist-es/pagination/ListContractualInvestmentAttestationsPaginator.js +4 -0
  18. package/dist-es/pagination/ListContractualInvestmentSummariesPaginator.js +4 -0
  19. package/dist-es/pagination/ListContractualInvestmentsPaginator.js +4 -0
  20. package/dist-es/pagination/index.js +4 -0
  21. package/dist-es/schemas/schemas_0.js +359 -8
  22. package/dist-types/Billing.d.ts +92 -0
  23. package/dist-types/BillingClient.d.ts +11 -2
  24. package/dist-types/commands/AssociateContractCommand.d.ts +102 -0
  25. package/dist-types/commands/CancelContractualInvestmentAttestationCommand.d.ts +104 -0
  26. package/dist-types/commands/CreateContractualInvestmentAttestationCommand.d.ts +262 -0
  27. package/dist-types/commands/DisassociateContractCommand.d.ts +97 -0
  28. package/dist-types/commands/GetContractInformationCommand.d.ts +143 -0
  29. package/dist-types/commands/ListContractsCommand.d.ts +121 -0
  30. package/dist-types/commands/ListContractualInvestmentAttestationsCommand.d.ts +164 -0
  31. package/dist-types/commands/ListContractualInvestmentSummariesCommand.d.ts +125 -0
  32. package/dist-types/commands/ListContractualInvestmentsCommand.d.ts +168 -0
  33. package/dist-types/commands/index.d.ts +9 -0
  34. package/dist-types/models/enums.d.ts +76 -0
  35. package/dist-types/models/errors.d.ts +41 -41
  36. package/dist-types/models/models_0.d.ts +775 -7
  37. package/dist-types/pagination/ListContractsPaginator.d.ts +7 -0
  38. package/dist-types/pagination/ListContractualInvestmentAttestationsPaginator.d.ts +7 -0
  39. package/dist-types/pagination/ListContractualInvestmentSummariesPaginator.d.ts +7 -0
  40. package/dist-types/pagination/ListContractualInvestmentsPaginator.d.ts +7 -0
  41. package/dist-types/pagination/index.d.ts +4 -0
  42. package/dist-types/schemas/schemas_0.d.ts +46 -1
  43. package/dist-types/ts3.4/Billing.d.ts +182 -0
  44. package/dist-types/ts3.4/BillingClient.d.ts +54 -0
  45. package/dist-types/ts3.4/commands/AssociateContractCommand.d.ts +39 -0
  46. package/dist-types/ts3.4/commands/CancelContractualInvestmentAttestationCommand.d.ts +42 -0
  47. package/dist-types/ts3.4/commands/CreateContractualInvestmentAttestationCommand.d.ts +42 -0
  48. package/dist-types/ts3.4/commands/DisassociateContractCommand.d.ts +39 -0
  49. package/dist-types/ts3.4/commands/GetContractInformationCommand.d.ts +39 -0
  50. package/dist-types/ts3.4/commands/ListContractsCommand.d.ts +38 -0
  51. package/dist-types/ts3.4/commands/ListContractualInvestmentAttestationsCommand.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/ListContractualInvestmentSummariesCommand.d.ts +42 -0
  53. package/dist-types/ts3.4/commands/ListContractualInvestmentsCommand.d.ts +42 -0
  54. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  55. package/dist-types/ts3.4/models/enums.d.ts +35 -0
  56. package/dist-types/ts3.4/models/errors.d.ts +16 -16
  57. package/dist-types/ts3.4/models/models_0.d.ts +234 -3
  58. package/dist-types/ts3.4/pagination/ListContractsPaginator.d.ts +11 -0
  59. package/dist-types/ts3.4/pagination/ListContractualInvestmentAttestationsPaginator.d.ts +11 -0
  60. package/dist-types/ts3.4/pagination/ListContractualInvestmentSummariesPaginator.d.ts +11 -0
  61. package/dist-types/ts3.4/pagination/ListContractualInvestmentsPaginator.d.ts +11 -0
  62. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  63. package/dist-types/ts3.4/schemas/schemas_0.d.ts +51 -1
  64. package/package.json +5 -5
@@ -1,11 +1,16 @@
1
1
  import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { BillingClient } from "./BillingClient";
3
+ import { type AssociateContractCommandInput, type AssociateContractCommandOutput } from "./commands/AssociateContractCommand";
3
4
  import { type AssociateSourceViewsCommandInput, type AssociateSourceViewsCommandOutput } from "./commands/AssociateSourceViewsCommand";
5
+ import { type CancelContractualInvestmentAttestationCommandInput, type CancelContractualInvestmentAttestationCommandOutput } from "./commands/CancelContractualInvestmentAttestationCommand";
4
6
  import { type CreateBillingViewCommandInput, type CreateBillingViewCommandOutput } from "./commands/CreateBillingViewCommand";
7
+ import { type CreateContractualInvestmentAttestationCommandInput, type CreateContractualInvestmentAttestationCommandOutput } from "./commands/CreateContractualInvestmentAttestationCommand";
5
8
  import { type DeleteBillingViewCommandInput, type DeleteBillingViewCommandOutput } from "./commands/DeleteBillingViewCommand";
9
+ import { type DisassociateContractCommandInput, type DisassociateContractCommandOutput } from "./commands/DisassociateContractCommand";
6
10
  import { type DisassociateSourceViewsCommandInput, type DisassociateSourceViewsCommandOutput } from "./commands/DisassociateSourceViewsCommand";
7
11
  import { type GetBillingPreferencesCommandInput, type GetBillingPreferencesCommandOutput } from "./commands/GetBillingPreferencesCommand";
8
12
  import { type GetBillingViewCommandInput, type GetBillingViewCommandOutput } from "./commands/GetBillingViewCommand";
13
+ import { type GetContractInformationCommandInput, type GetContractInformationCommandOutput } from "./commands/GetContractInformationCommand";
9
14
  import { type GetCreditAllocationHistoryCommandInput, type GetCreditAllocationHistoryCommandOutput } from "./commands/GetCreditAllocationHistoryCommand";
10
15
  import { type GetCreditsCommandInput, type GetCreditsCommandOutput } from "./commands/GetCreditsCommand";
11
16
  import { type GetEnterpriseSupportChargeSummaryCommandInput, type GetEnterpriseSupportChargeSummaryCommandOutput } from "./commands/GetEnterpriseSupportChargeSummaryCommand";
@@ -15,6 +20,10 @@ import { type ListBillingViewsCommandInput, type ListBillingViewsCommandOutput }
15
20
  import { type ListBillingViewSegmentsCommandInput, type ListBillingViewSegmentsCommandOutput } from "./commands/ListBillingViewSegmentsCommand";
16
21
  import { type ListBusinessSupportAccountChargesCommandInput, type ListBusinessSupportAccountChargesCommandOutput } from "./commands/ListBusinessSupportAccountChargesCommand";
17
22
  import { type ListBusinessSupportSubscriptionHistoryCommandInput, type ListBusinessSupportSubscriptionHistoryCommandOutput } from "./commands/ListBusinessSupportSubscriptionHistoryCommand";
23
+ import { type ListContractsCommandInput, type ListContractsCommandOutput } from "./commands/ListContractsCommand";
24
+ import { type ListContractualInvestmentAttestationsCommandInput, type ListContractualInvestmentAttestationsCommandOutput } from "./commands/ListContractualInvestmentAttestationsCommand";
25
+ import { type ListContractualInvestmentsCommandInput, type ListContractualInvestmentsCommandOutput } from "./commands/ListContractualInvestmentsCommand";
26
+ import { type ListContractualInvestmentSummariesCommandInput, type ListContractualInvestmentSummariesCommandOutput } from "./commands/ListContractualInvestmentSummariesCommand";
18
27
  import { type ListEnterpriseSupportLinkedAccountChargesCommandInput, type ListEnterpriseSupportLinkedAccountChargesCommandOutput } from "./commands/ListEnterpriseSupportLinkedAccountChargesCommand";
19
28
  import { type ListSourceViewsForBillingViewCommandInput, type ListSourceViewsForBillingViewCommandOutput } from "./commands/ListSourceViewsForBillingViewCommand";
20
29
  import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
@@ -30,24 +39,48 @@ export interface BillingRequestOptions extends __HttpHandlerOptions {
30
39
  metricsRecorder?: __MetricsRecorder<unknown>;
31
40
  }
32
41
  export interface Billing {
42
+ /**
43
+ * @see {@link AssociateContractCommand}
44
+ */
45
+ associateContract(args: AssociateContractCommandInput, options?: BillingRequestOptions): Promise<AssociateContractCommandOutput>;
46
+ associateContract(args: AssociateContractCommandInput, cb: (err: any, data?: AssociateContractCommandOutput) => void): void;
47
+ associateContract(args: AssociateContractCommandInput, options: BillingRequestOptions, cb: (err: any, data?: AssociateContractCommandOutput) => void): void;
33
48
  /**
34
49
  * @see {@link AssociateSourceViewsCommand}
35
50
  */
36
51
  associateSourceViews(args: AssociateSourceViewsCommandInput, options?: BillingRequestOptions): Promise<AssociateSourceViewsCommandOutput>;
37
52
  associateSourceViews(args: AssociateSourceViewsCommandInput, cb: (err: any, data?: AssociateSourceViewsCommandOutput) => void): void;
38
53
  associateSourceViews(args: AssociateSourceViewsCommandInput, options: BillingRequestOptions, cb: (err: any, data?: AssociateSourceViewsCommandOutput) => void): void;
54
+ /**
55
+ * @see {@link CancelContractualInvestmentAttestationCommand}
56
+ */
57
+ cancelContractualInvestmentAttestation(args: CancelContractualInvestmentAttestationCommandInput, options?: BillingRequestOptions): Promise<CancelContractualInvestmentAttestationCommandOutput>;
58
+ cancelContractualInvestmentAttestation(args: CancelContractualInvestmentAttestationCommandInput, cb: (err: any, data?: CancelContractualInvestmentAttestationCommandOutput) => void): void;
59
+ cancelContractualInvestmentAttestation(args: CancelContractualInvestmentAttestationCommandInput, options: BillingRequestOptions, cb: (err: any, data?: CancelContractualInvestmentAttestationCommandOutput) => void): void;
39
60
  /**
40
61
  * @see {@link CreateBillingViewCommand}
41
62
  */
42
63
  createBillingView(args: CreateBillingViewCommandInput, options?: BillingRequestOptions): Promise<CreateBillingViewCommandOutput>;
43
64
  createBillingView(args: CreateBillingViewCommandInput, cb: (err: any, data?: CreateBillingViewCommandOutput) => void): void;
44
65
  createBillingView(args: CreateBillingViewCommandInput, options: BillingRequestOptions, cb: (err: any, data?: CreateBillingViewCommandOutput) => void): void;
66
+ /**
67
+ * @see {@link CreateContractualInvestmentAttestationCommand}
68
+ */
69
+ createContractualInvestmentAttestation(args: CreateContractualInvestmentAttestationCommandInput, options?: BillingRequestOptions): Promise<CreateContractualInvestmentAttestationCommandOutput>;
70
+ createContractualInvestmentAttestation(args: CreateContractualInvestmentAttestationCommandInput, cb: (err: any, data?: CreateContractualInvestmentAttestationCommandOutput) => void): void;
71
+ createContractualInvestmentAttestation(args: CreateContractualInvestmentAttestationCommandInput, options: BillingRequestOptions, cb: (err: any, data?: CreateContractualInvestmentAttestationCommandOutput) => void): void;
45
72
  /**
46
73
  * @see {@link DeleteBillingViewCommand}
47
74
  */
48
75
  deleteBillingView(args: DeleteBillingViewCommandInput, options?: BillingRequestOptions): Promise<DeleteBillingViewCommandOutput>;
49
76
  deleteBillingView(args: DeleteBillingViewCommandInput, cb: (err: any, data?: DeleteBillingViewCommandOutput) => void): void;
50
77
  deleteBillingView(args: DeleteBillingViewCommandInput, options: BillingRequestOptions, cb: (err: any, data?: DeleteBillingViewCommandOutput) => void): void;
78
+ /**
79
+ * @see {@link DisassociateContractCommand}
80
+ */
81
+ disassociateContract(args: DisassociateContractCommandInput, options?: BillingRequestOptions): Promise<DisassociateContractCommandOutput>;
82
+ disassociateContract(args: DisassociateContractCommandInput, cb: (err: any, data?: DisassociateContractCommandOutput) => void): void;
83
+ disassociateContract(args: DisassociateContractCommandInput, options: BillingRequestOptions, cb: (err: any, data?: DisassociateContractCommandOutput) => void): void;
51
84
  /**
52
85
  * @see {@link DisassociateSourceViewsCommand}
53
86
  */
@@ -66,6 +99,12 @@ export interface Billing {
66
99
  getBillingView(args: GetBillingViewCommandInput, options?: BillingRequestOptions): Promise<GetBillingViewCommandOutput>;
67
100
  getBillingView(args: GetBillingViewCommandInput, cb: (err: any, data?: GetBillingViewCommandOutput) => void): void;
68
101
  getBillingView(args: GetBillingViewCommandInput, options: BillingRequestOptions, cb: (err: any, data?: GetBillingViewCommandOutput) => void): void;
102
+ /**
103
+ * @see {@link GetContractInformationCommand}
104
+ */
105
+ getContractInformation(args: GetContractInformationCommandInput, options?: BillingRequestOptions): Promise<GetContractInformationCommandOutput>;
106
+ getContractInformation(args: GetContractInformationCommandInput, cb: (err: any, data?: GetContractInformationCommandOutput) => void): void;
107
+ getContractInformation(args: GetContractInformationCommandInput, options: BillingRequestOptions, cb: (err: any, data?: GetContractInformationCommandOutput) => void): void;
69
108
  /**
70
109
  * @see {@link GetCreditAllocationHistoryCommand}
71
110
  */
@@ -123,6 +162,31 @@ export interface Billing {
123
162
  listBusinessSupportSubscriptionHistory(args: ListBusinessSupportSubscriptionHistoryCommandInput, options?: BillingRequestOptions): Promise<ListBusinessSupportSubscriptionHistoryCommandOutput>;
124
163
  listBusinessSupportSubscriptionHistory(args: ListBusinessSupportSubscriptionHistoryCommandInput, cb: (err: any, data?: ListBusinessSupportSubscriptionHistoryCommandOutput) => void): void;
125
164
  listBusinessSupportSubscriptionHistory(args: ListBusinessSupportSubscriptionHistoryCommandInput, options: BillingRequestOptions, cb: (err: any, data?: ListBusinessSupportSubscriptionHistoryCommandOutput) => void): void;
165
+ /**
166
+ * @see {@link ListContractsCommand}
167
+ */
168
+ listContracts(): Promise<ListContractsCommandOutput>;
169
+ listContracts(args: ListContractsCommandInput, options?: BillingRequestOptions): Promise<ListContractsCommandOutput>;
170
+ listContracts(args: ListContractsCommandInput, cb: (err: any, data?: ListContractsCommandOutput) => void): void;
171
+ listContracts(args: ListContractsCommandInput, options: BillingRequestOptions, cb: (err: any, data?: ListContractsCommandOutput) => void): void;
172
+ /**
173
+ * @see {@link ListContractualInvestmentAttestationsCommand}
174
+ */
175
+ listContractualInvestmentAttestations(args: ListContractualInvestmentAttestationsCommandInput, options?: BillingRequestOptions): Promise<ListContractualInvestmentAttestationsCommandOutput>;
176
+ listContractualInvestmentAttestations(args: ListContractualInvestmentAttestationsCommandInput, cb: (err: any, data?: ListContractualInvestmentAttestationsCommandOutput) => void): void;
177
+ listContractualInvestmentAttestations(args: ListContractualInvestmentAttestationsCommandInput, options: BillingRequestOptions, cb: (err: any, data?: ListContractualInvestmentAttestationsCommandOutput) => void): void;
178
+ /**
179
+ * @see {@link ListContractualInvestmentsCommand}
180
+ */
181
+ listContractualInvestments(args: ListContractualInvestmentsCommandInput, options?: BillingRequestOptions): Promise<ListContractualInvestmentsCommandOutput>;
182
+ listContractualInvestments(args: ListContractualInvestmentsCommandInput, cb: (err: any, data?: ListContractualInvestmentsCommandOutput) => void): void;
183
+ listContractualInvestments(args: ListContractualInvestmentsCommandInput, options: BillingRequestOptions, cb: (err: any, data?: ListContractualInvestmentsCommandOutput) => void): void;
184
+ /**
185
+ * @see {@link ListContractualInvestmentSummariesCommand}
186
+ */
187
+ listContractualInvestmentSummaries(args: ListContractualInvestmentSummariesCommandInput, options?: BillingRequestOptions): Promise<ListContractualInvestmentSummariesCommandOutput>;
188
+ listContractualInvestmentSummaries(args: ListContractualInvestmentSummariesCommandInput, cb: (err: any, data?: ListContractualInvestmentSummariesCommandOutput) => void): void;
189
+ listContractualInvestmentSummaries(args: ListContractualInvestmentSummariesCommandInput, options: BillingRequestOptions, cb: (err: any, data?: ListContractualInvestmentSummariesCommandOutput) => void): void;
126
190
  /**
127
191
  * @see {@link ListEnterpriseSupportLinkedAccountChargesCommand}
128
192
  */
@@ -206,6 +270,34 @@ export interface Billing {
206
270
  * @returns AsyncIterable of {@link ListBusinessSupportSubscriptionHistoryCommandOutput}.
207
271
  */
208
272
  paginateListBusinessSupportSubscriptionHistory(args?: ListBusinessSupportSubscriptionHistoryCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBusinessSupportSubscriptionHistoryCommandOutput>;
273
+ /**
274
+ * @see {@link ListContractsCommand}
275
+ * @param args - command input.
276
+ * @param paginationConfig - optional pagination config.
277
+ * @returns AsyncIterable of {@link ListContractsCommandOutput}.
278
+ */
279
+ paginateListContracts(args?: ListContractsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListContractsCommandOutput>;
280
+ /**
281
+ * @see {@link ListContractualInvestmentAttestationsCommand}
282
+ * @param args - command input.
283
+ * @param paginationConfig - optional pagination config.
284
+ * @returns AsyncIterable of {@link ListContractualInvestmentAttestationsCommandOutput}.
285
+ */
286
+ paginateListContractualInvestmentAttestations(args: ListContractualInvestmentAttestationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListContractualInvestmentAttestationsCommandOutput>;
287
+ /**
288
+ * @see {@link ListContractualInvestmentsCommand}
289
+ * @param args - command input.
290
+ * @param paginationConfig - optional pagination config.
291
+ * @returns AsyncIterable of {@link ListContractualInvestmentsCommandOutput}.
292
+ */
293
+ paginateListContractualInvestments(args: ListContractualInvestmentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListContractualInvestmentsCommandOutput>;
294
+ /**
295
+ * @see {@link ListContractualInvestmentSummariesCommand}
296
+ * @param args - command input.
297
+ * @param paginationConfig - optional pagination config.
298
+ * @returns AsyncIterable of {@link ListContractualInvestmentSummariesCommandOutput}.
299
+ */
300
+ paginateListContractualInvestmentSummaries(args: ListContractualInvestmentSummariesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListContractualInvestmentSummariesCommandOutput>;
209
301
  /**
210
302
  * @see {@link ListEnterpriseSupportLinkedAccountChargesCommand}
211
303
  * @param args - command input.
@@ -6,12 +6,17 @@ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/cor
6
6
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
7
7
  import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
8
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
9
+ import type { AssociateContractCommandInput, AssociateContractCommandOutput } from "./commands/AssociateContractCommand";
9
10
  import type { AssociateSourceViewsCommandInput, AssociateSourceViewsCommandOutput } from "./commands/AssociateSourceViewsCommand";
11
+ import type { CancelContractualInvestmentAttestationCommandInput, CancelContractualInvestmentAttestationCommandOutput } from "./commands/CancelContractualInvestmentAttestationCommand";
10
12
  import type { CreateBillingViewCommandInput, CreateBillingViewCommandOutput } from "./commands/CreateBillingViewCommand";
13
+ import type { CreateContractualInvestmentAttestationCommandInput, CreateContractualInvestmentAttestationCommandOutput } from "./commands/CreateContractualInvestmentAttestationCommand";
11
14
  import type { DeleteBillingViewCommandInput, DeleteBillingViewCommandOutput } from "./commands/DeleteBillingViewCommand";
15
+ import type { DisassociateContractCommandInput, DisassociateContractCommandOutput } from "./commands/DisassociateContractCommand";
12
16
  import type { DisassociateSourceViewsCommandInput, DisassociateSourceViewsCommandOutput } from "./commands/DisassociateSourceViewsCommand";
13
17
  import type { GetBillingPreferencesCommandInput, GetBillingPreferencesCommandOutput } from "./commands/GetBillingPreferencesCommand";
14
18
  import type { GetBillingViewCommandInput, GetBillingViewCommandOutput } from "./commands/GetBillingViewCommand";
19
+ import type { GetContractInformationCommandInput, GetContractInformationCommandOutput } from "./commands/GetContractInformationCommand";
15
20
  import type { GetCreditAllocationHistoryCommandInput, GetCreditAllocationHistoryCommandOutput } from "./commands/GetCreditAllocationHistoryCommand";
16
21
  import type { GetCreditsCommandInput, GetCreditsCommandOutput } from "./commands/GetCreditsCommand";
17
22
  import type { GetEnterpriseSupportChargeSummaryCommandInput, GetEnterpriseSupportChargeSummaryCommandOutput } from "./commands/GetEnterpriseSupportChargeSummaryCommand";
@@ -21,6 +26,10 @@ import type { ListBillingViewsCommandInput, ListBillingViewsCommandOutput } from
21
26
  import type { ListBillingViewSegmentsCommandInput, ListBillingViewSegmentsCommandOutput } from "./commands/ListBillingViewSegmentsCommand";
22
27
  import type { ListBusinessSupportAccountChargesCommandInput, ListBusinessSupportAccountChargesCommandOutput } from "./commands/ListBusinessSupportAccountChargesCommand";
23
28
  import type { ListBusinessSupportSubscriptionHistoryCommandInput, ListBusinessSupportSubscriptionHistoryCommandOutput } from "./commands/ListBusinessSupportSubscriptionHistoryCommand";
29
+ import type { ListContractsCommandInput, ListContractsCommandOutput } from "./commands/ListContractsCommand";
30
+ import type { ListContractualInvestmentAttestationsCommandInput, ListContractualInvestmentAttestationsCommandOutput } from "./commands/ListContractualInvestmentAttestationsCommand";
31
+ import type { ListContractualInvestmentsCommandInput, ListContractualInvestmentsCommandOutput } from "./commands/ListContractualInvestmentsCommand";
32
+ import type { ListContractualInvestmentSummariesCommandInput, ListContractualInvestmentSummariesCommandOutput } from "./commands/ListContractualInvestmentSummariesCommand";
24
33
  import type { ListEnterpriseSupportLinkedAccountChargesCommandInput, ListEnterpriseSupportLinkedAccountChargesCommandOutput } from "./commands/ListEnterpriseSupportLinkedAccountChargesCommand";
25
34
  import type { ListSourceViewsForBillingViewCommandInput, ListSourceViewsForBillingViewCommandOutput } from "./commands/ListSourceViewsForBillingViewCommand";
26
35
  import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
@@ -35,11 +44,11 @@ export { __Client };
35
44
  /**
36
45
  * @public
37
46
  */
38
- export type ServiceInputTypes = AssociateSourceViewsCommandInput | CreateBillingViewCommandInput | DeleteBillingViewCommandInput | DisassociateSourceViewsCommandInput | GetBillingPreferencesCommandInput | GetBillingViewCommandInput | GetCreditAllocationHistoryCommandInput | GetCreditsCommandInput | GetEnterpriseSupportChargeSummaryCommandInput | GetEnterpriseSupportContractDetailsCommandInput | GetResourcePolicyCommandInput | ListBillingViewSegmentsCommandInput | ListBillingViewsCommandInput | ListBusinessSupportAccountChargesCommandInput | ListBusinessSupportSubscriptionHistoryCommandInput | ListEnterpriseSupportLinkedAccountChargesCommandInput | ListSourceViewsForBillingViewCommandInput | ListTagsForResourceCommandInput | RedeemCreditsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBillingPreferencesCommandInput | UpdateBillingViewCommandInput;
47
+ export type ServiceInputTypes = AssociateContractCommandInput | AssociateSourceViewsCommandInput | CancelContractualInvestmentAttestationCommandInput | CreateBillingViewCommandInput | CreateContractualInvestmentAttestationCommandInput | DeleteBillingViewCommandInput | DisassociateContractCommandInput | DisassociateSourceViewsCommandInput | GetBillingPreferencesCommandInput | GetBillingViewCommandInput | GetContractInformationCommandInput | GetCreditAllocationHistoryCommandInput | GetCreditsCommandInput | GetEnterpriseSupportChargeSummaryCommandInput | GetEnterpriseSupportContractDetailsCommandInput | GetResourcePolicyCommandInput | ListBillingViewSegmentsCommandInput | ListBillingViewsCommandInput | ListBusinessSupportAccountChargesCommandInput | ListBusinessSupportSubscriptionHistoryCommandInput | ListContractsCommandInput | ListContractualInvestmentAttestationsCommandInput | ListContractualInvestmentSummariesCommandInput | ListContractualInvestmentsCommandInput | ListEnterpriseSupportLinkedAccountChargesCommandInput | ListSourceViewsForBillingViewCommandInput | ListTagsForResourceCommandInput | RedeemCreditsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBillingPreferencesCommandInput | UpdateBillingViewCommandInput;
39
48
  /**
40
49
  * @public
41
50
  */
42
- export type ServiceOutputTypes = AssociateSourceViewsCommandOutput | CreateBillingViewCommandOutput | DeleteBillingViewCommandOutput | DisassociateSourceViewsCommandOutput | GetBillingPreferencesCommandOutput | GetBillingViewCommandOutput | GetCreditAllocationHistoryCommandOutput | GetCreditsCommandOutput | GetEnterpriseSupportChargeSummaryCommandOutput | GetEnterpriseSupportContractDetailsCommandOutput | GetResourcePolicyCommandOutput | ListBillingViewSegmentsCommandOutput | ListBillingViewsCommandOutput | ListBusinessSupportAccountChargesCommandOutput | ListBusinessSupportSubscriptionHistoryCommandOutput | ListEnterpriseSupportLinkedAccountChargesCommandOutput | ListSourceViewsForBillingViewCommandOutput | ListTagsForResourceCommandOutput | RedeemCreditsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBillingPreferencesCommandOutput | UpdateBillingViewCommandOutput;
51
+ export type ServiceOutputTypes = AssociateContractCommandOutput | AssociateSourceViewsCommandOutput | CancelContractualInvestmentAttestationCommandOutput | CreateBillingViewCommandOutput | CreateContractualInvestmentAttestationCommandOutput | DeleteBillingViewCommandOutput | DisassociateContractCommandOutput | DisassociateSourceViewsCommandOutput | GetBillingPreferencesCommandOutput | GetBillingViewCommandOutput | GetContractInformationCommandOutput | GetCreditAllocationHistoryCommandOutput | GetCreditsCommandOutput | GetEnterpriseSupportChargeSummaryCommandOutput | GetEnterpriseSupportContractDetailsCommandOutput | GetResourcePolicyCommandOutput | ListBillingViewSegmentsCommandOutput | ListBillingViewsCommandOutput | ListBusinessSupportAccountChargesCommandOutput | ListBusinessSupportSubscriptionHistoryCommandOutput | ListContractsCommandOutput | ListContractualInvestmentAttestationsCommandOutput | ListContractualInvestmentSummariesCommandOutput | ListContractualInvestmentsCommandOutput | ListEnterpriseSupportLinkedAccountChargesCommandOutput | ListSourceViewsForBillingViewCommandOutput | ListTagsForResourceCommandOutput | RedeemCreditsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBillingPreferencesCommandOutput | UpdateBillingViewCommandOutput;
43
52
  /**
44
53
  * @public
45
54
  */
@@ -0,0 +1,102 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { AssociateContractRequest, AssociateContractResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link AssociateContractCommand}.
11
+ */
12
+ export interface AssociateContractCommandInput extends AssociateContractRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link AssociateContractCommand}.
18
+ */
19
+ export interface AssociateContractCommandOutput extends AssociateContractResponse, __MetadataBearer {
20
+ }
21
+ declare const AssociateContractCommand_base: {
22
+ new (input: AssociateContractCommandInput): import("@smithy/core/client").CommandImpl<AssociateContractCommandInput, AssociateContractCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AssociateContractCommandInput): import("@smithy/core/client").CommandImpl<AssociateContractCommandInput, AssociateContractCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Private Pricing contracts let eligible payer accounts manage private pricing agreements with Amazon Web Services. This operation associates a private pricing contract with the caller's Amazon Web Services account. The caller must be a payer (management) account listed on the contract. This operation is idempotent, so retrying a request that already succeeded is safe.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { BillingClient, AssociateContractCommand } from "@aws-sdk/client-billing"; // ES Modules import
32
+ * // const { BillingClient, AssociateContractCommand } = require("@aws-sdk/client-billing"); // CommonJS import
33
+ * // import type { BillingClientConfig } from "@aws-sdk/client-billing";
34
+ * const config = {}; // type is BillingClientConfig
35
+ * const client = new BillingClient(config);
36
+ * const input = { // AssociateContractRequest
37
+ * contractArn: "STRING_VALUE", // required
38
+ * contractDocumentId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new AssociateContractCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param AssociateContractCommandInput - {@link AssociateContractCommandInput}
47
+ * @returns {@link AssociateContractCommandOutput}
48
+ * @see {@link AssociateContractCommandInput} for command's `input` shape.
49
+ * @see {@link AssociateContractCommandOutput} for command's `response` shape.
50
+ * @see {@link BillingClientResolvedConfig | config} for BillingClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>You don't have sufficient access to perform this action.</p>
54
+ *
55
+ * @throws {@link ConflictException} (client fault)
56
+ * <p> The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. </p>
57
+ *
58
+ * @throws {@link InternalServerException} (server fault)
59
+ * <p>The request processing failed because of an unknown error, exception, or failure. </p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p> The specified ARN in the request doesn't exist. </p>
63
+ *
64
+ * @throws {@link ThrottlingException} (client fault)
65
+ * <p>The request was denied due to request throttling. </p>
66
+ *
67
+ * @throws {@link ValidationException} (client fault)
68
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
69
+ *
70
+ * @throws {@link BillingServiceException}
71
+ * <p>Base exception class for all service exceptions from Billing service.</p>
72
+ *
73
+ *
74
+ * @example Invoke AssociateContract
75
+ * ```javascript
76
+ * //
77
+ * const input = {
78
+ * contractArn: "arn:aws:billing::123456789012:contract/1a2b3c4d-5e6f-7a8b-9c0d-111122223333",
79
+ * contractDocumentId: "CC OTH XXXXXXXX XXXX TR"
80
+ * };
81
+ * const command = new AssociateContractCommand(input);
82
+ * const response = await client.send(command);
83
+ * /* response is
84
+ * { /* empty *\/ }
85
+ * *\/
86
+ * ```
87
+ *
88
+ * @public
89
+ */
90
+ export declare class AssociateContractCommand extends AssociateContractCommand_base {
91
+ /** @internal type navigation helper, not in runtime. */
92
+ protected static __types: {
93
+ api: {
94
+ input: AssociateContractRequest;
95
+ output: {};
96
+ };
97
+ sdk: {
98
+ input: AssociateContractCommandInput;
99
+ output: AssociateContractCommandOutput;
100
+ };
101
+ };
102
+ }
@@ -0,0 +1,104 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CancelContractualInvestmentAttestationRequest, CancelContractualInvestmentAttestationResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CancelContractualInvestmentAttestationCommand}.
11
+ */
12
+ export interface CancelContractualInvestmentAttestationCommandInput extends CancelContractualInvestmentAttestationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CancelContractualInvestmentAttestationCommand}.
18
+ */
19
+ export interface CancelContractualInvestmentAttestationCommandOutput extends CancelContractualInvestmentAttestationResponse, __MetadataBearer {
20
+ }
21
+ declare const CancelContractualInvestmentAttestationCommand_base: {
22
+ new (input: CancelContractualInvestmentAttestationCommandInput): import("@smithy/core/client").CommandImpl<CancelContractualInvestmentAttestationCommandInput, CancelContractualInvestmentAttestationCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CancelContractualInvestmentAttestationCommandInput): import("@smithy/core/client").CommandImpl<CancelContractualInvestmentAttestationCommandInput, CancelContractualInvestmentAttestationCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Cancels a contractual investment attestation. This operation is idempotent, so retrying is safe. You can cancel an attestation only while it is still pending (its <code>isCancellable</code> value is <code>true</code>).</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { BillingClient, CancelContractualInvestmentAttestationCommand } from "@aws-sdk/client-billing"; // ES Modules import
32
+ * // const { BillingClient, CancelContractualInvestmentAttestationCommand } = require("@aws-sdk/client-billing"); // CommonJS import
33
+ * // import type { BillingClientConfig } from "@aws-sdk/client-billing";
34
+ * const config = {}; // type is BillingClientConfig
35
+ * const client = new BillingClient(config);
36
+ * const input = { // CancelContractualInvestmentAttestationRequest
37
+ * attestationId: "STRING_VALUE", // required
38
+ * contractArn: "STRING_VALUE", // required
39
+ * reason: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new CancelContractualInvestmentAttestationCommand(input);
42
+ * const response = await client.send(command);
43
+ * // {};
44
+ *
45
+ * ```
46
+ *
47
+ * @param CancelContractualInvestmentAttestationCommandInput - {@link CancelContractualInvestmentAttestationCommandInput}
48
+ * @returns {@link CancelContractualInvestmentAttestationCommandOutput}
49
+ * @see {@link CancelContractualInvestmentAttestationCommandInput} for command's `input` shape.
50
+ * @see {@link CancelContractualInvestmentAttestationCommandOutput} for command's `response` shape.
51
+ * @see {@link BillingClientResolvedConfig | config} for BillingClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>You don't have sufficient access to perform this action.</p>
55
+ *
56
+ * @throws {@link ConflictException} (client fault)
57
+ * <p> The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. </p>
58
+ *
59
+ * @throws {@link InternalServerException} (server fault)
60
+ * <p>The request processing failed because of an unknown error, exception, or failure. </p>
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p> The specified ARN in the request doesn't exist. </p>
64
+ *
65
+ * @throws {@link ThrottlingException} (client fault)
66
+ * <p>The request was denied due to request throttling. </p>
67
+ *
68
+ * @throws {@link ValidationException} (client fault)
69
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
70
+ *
71
+ * @throws {@link BillingServiceException}
72
+ * <p>Base exception class for all service exceptions from Billing service.</p>
73
+ *
74
+ *
75
+ * @example Invoke CancelContractualInvestmentAttestation
76
+ * ```javascript
77
+ * //
78
+ * const input = {
79
+ * attestationId: "a1b2c3d4-5678-90ab-cdef-111122223333",
80
+ * contractArn: "arn:aws:billing::123456789012:contract/1a2b3c4d-5e6f-7a8b-9c0d-111122223333",
81
+ * reason: "Example cancellation reason"
82
+ * };
83
+ * const command = new CancelContractualInvestmentAttestationCommand(input);
84
+ * const response = await client.send(command);
85
+ * /* response is
86
+ * { /* empty *\/ }
87
+ * *\/
88
+ * ```
89
+ *
90
+ * @public
91
+ */
92
+ export declare class CancelContractualInvestmentAttestationCommand extends CancelContractualInvestmentAttestationCommand_base {
93
+ /** @internal type navigation helper, not in runtime. */
94
+ protected static __types: {
95
+ api: {
96
+ input: CancelContractualInvestmentAttestationRequest;
97
+ output: {};
98
+ };
99
+ sdk: {
100
+ input: CancelContractualInvestmentAttestationCommandInput;
101
+ output: CancelContractualInvestmentAttestationCommandOutput;
102
+ };
103
+ };
104
+ }