Skip to content

Commit 143e659

Browse files
author
awstools
committed
feat(client-invoicing): Added new Invoicing ListInvoiceSummaries API Operation
1 parent 5f03d99 commit 143e659

20 files changed

+2851
-505
lines changed

clients/client-invoicing/README.md

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,7 @@
66

77
AWS SDK for JavaScript Invoicing Client for Node.js, Browser and React Native.
88

9-
<p>
10-
<b>Amazon Web Services Invoice Configuration</b>
11-
</p>
12-
<p>You can use Amazon Web Services Invoice Configuration APIs to programmatically create,
13-
update, delete, get, and list invoice units. You can also programmatically fetch the
14-
information of the invoice receiver. For example, business legal name, address, and invoicing
15-
contacts. </p>
16-
<p>You can use Amazon Web Services Invoice Configuration to receive separate Amazon Web Services invoices based your organizational needs. By using Amazon Web Services Invoice Configuration, you can configure invoice units that are groups of Amazon Web Services accounts that represent your business entities, and receive separate invoices for each business entity. You can also assign a unique member or payer account as the invoice receiver for each invoice unit. As you create new accounts within your Organizations using Amazon Web Services Invoice Configuration APIs, you can automate the creation of new invoice units and subsequently automate the addition of new accounts to your invoice units.</p>
17-
<p>Service endpoint</p>
18-
<p>You can use the following endpoints for Amazon Web Services Invoice Configuration:</p>
19-
<ul>
20-
<li>
21-
<p>
22-
<code>https://invoicing.us-east-1.api.aws</code>
23-
</p>
24-
</li>
25-
</ul>
9+
<p> <b>Amazon Web Services Invoice Configuration</b> </p> <p>You can use Amazon Web Services Invoice Configuration APIs to programmatically create, update, delete, get, and list invoice units. You can also programmatically fetch the information of the invoice receiver. For example, business legal name, address, and invoicing contacts. </p> <p>You can use Amazon Web Services Invoice Configuration to receive separate Amazon Web Services invoices based your organizational needs. By using Amazon Web Services Invoice Configuration, you can configure invoice units that are groups of Amazon Web Services accounts that represent your business entities, and receive separate invoices for each business entity. You can also assign a unique member or payer account as the invoice receiver for each invoice unit. As you create new accounts within your Organizations using Amazon Web Services Invoice Configuration APIs, you can automate the creation of new invoice units and subsequently automate the addition of new accounts to your invoice units.</p> <p>Service endpoint</p> <p>You can use the following endpoints for Amazon Web Services Invoice Configuration:</p> <ul> <li> <p> <code>https://invoicing.us-east-1.api.aws</code> </p> </li> </ul>
2610

2711
## Installing
2812

@@ -250,6 +234,14 @@ GetInvoiceUnit
250234

251235
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/invoicing/command/GetInvoiceUnitCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-invoicing/Interface/GetInvoiceUnitCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-invoicing/Interface/GetInvoiceUnitCommandOutput/)
252236

237+
</details>
238+
<details>
239+
<summary>
240+
ListInvoiceSummaries
241+
</summary>
242+
243+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/invoicing/command/ListInvoiceSummariesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-invoicing/Interface/ListInvoiceSummariesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-invoicing/Interface/ListInvoiceSummariesCommandOutput/)
244+
253245
</details>
254246
<details>
255247
<summary>

clients/client-invoicing/src/Invoicing.ts

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ import {
2222
GetInvoiceUnitCommandInput,
2323
GetInvoiceUnitCommandOutput,
2424
} from "./commands/GetInvoiceUnitCommand";
25+
import {
26+
ListInvoiceSummariesCommand,
27+
ListInvoiceSummariesCommandInput,
28+
ListInvoiceSummariesCommandOutput,
29+
} from "./commands/ListInvoiceSummariesCommand";
2530
import {
2631
ListInvoiceUnitsCommand,
2732
ListInvoiceUnitsCommandInput,
@@ -50,6 +55,7 @@ const commands = {
5055
CreateInvoiceUnitCommand,
5156
DeleteInvoiceUnitCommand,
5257
GetInvoiceUnitCommand,
58+
ListInvoiceSummariesCommand,
5359
ListInvoiceUnitsCommand,
5460
ListTagsForResourceCommand,
5561
TagResourceCommand,
@@ -123,6 +129,23 @@ export interface Invoicing {
123129
cb: (err: any, data?: GetInvoiceUnitCommandOutput) => void
124130
): void;
125131

132+
/**
133+
* @see {@link ListInvoiceSummariesCommand}
134+
*/
135+
listInvoiceSummaries(
136+
args: ListInvoiceSummariesCommandInput,
137+
options?: __HttpHandlerOptions
138+
): Promise<ListInvoiceSummariesCommandOutput>;
139+
listInvoiceSummaries(
140+
args: ListInvoiceSummariesCommandInput,
141+
cb: (err: any, data?: ListInvoiceSummariesCommandOutput) => void
142+
): void;
143+
listInvoiceSummaries(
144+
args: ListInvoiceSummariesCommandInput,
145+
options: __HttpHandlerOptions,
146+
cb: (err: any, data?: ListInvoiceSummariesCommandOutput) => void
147+
): void;
148+
126149
/**
127150
* @see {@link ListInvoiceUnitsCommand}
128151
*/
@@ -199,23 +222,7 @@ export interface Invoicing {
199222
}
200223

201224
/**
202-
* <p>
203-
* <b>Amazon Web Services Invoice Configuration</b>
204-
* </p>
205-
* <p>You can use Amazon Web Services Invoice Configuration APIs to programmatically create,
206-
* update, delete, get, and list invoice units. You can also programmatically fetch the
207-
* information of the invoice receiver. For example, business legal name, address, and invoicing
208-
* contacts. </p>
209-
* <p>You can use Amazon Web Services Invoice Configuration to receive separate Amazon Web Services invoices based your organizational needs. By using Amazon Web Services Invoice Configuration, you can configure invoice units that are groups of Amazon Web Services accounts that represent your business entities, and receive separate invoices for each business entity. You can also assign a unique member or payer account as the invoice receiver for each invoice unit. As you create new accounts within your Organizations using Amazon Web Services Invoice Configuration APIs, you can automate the creation of new invoice units and subsequently automate the addition of new accounts to your invoice units.</p>
210-
* <p>Service endpoint</p>
211-
* <p>You can use the following endpoints for Amazon Web Services Invoice Configuration:</p>
212-
* <ul>
213-
* <li>
214-
* <p>
215-
* <code>https://invoicing.us-east-1.api.aws</code>
216-
* </p>
217-
* </li>
218-
* </ul>
225+
* <p> <b>Amazon Web Services Invoice Configuration</b> </p> <p>You can use Amazon Web Services Invoice Configuration APIs to programmatically create, update, delete, get, and list invoice units. You can also programmatically fetch the information of the invoice receiver. For example, business legal name, address, and invoicing contacts. </p> <p>You can use Amazon Web Services Invoice Configuration to receive separate Amazon Web Services invoices based your organizational needs. By using Amazon Web Services Invoice Configuration, you can configure invoice units that are groups of Amazon Web Services accounts that represent your business entities, and receive separate invoices for each business entity. You can also assign a unique member or payer account as the invoice receiver for each invoice unit. As you create new accounts within your Organizations using Amazon Web Services Invoice Configuration APIs, you can automate the creation of new invoice units and subsequently automate the addition of new accounts to your invoice units.</p> <p>Service endpoint</p> <p>You can use the following endpoints for Amazon Web Services Invoice Configuration:</p> <ul> <li> <p> <code>https://invoicing.us-east-1.api.aws</code> </p> </li> </ul>
219226
* @public
220227
*/
221228
export class Invoicing extends InvoicingClient implements Invoicing {}

clients/client-invoicing/src/InvoicingClient.ts

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ import {
6060
import { CreateInvoiceUnitCommandInput, CreateInvoiceUnitCommandOutput } from "./commands/CreateInvoiceUnitCommand";
6161
import { DeleteInvoiceUnitCommandInput, DeleteInvoiceUnitCommandOutput } from "./commands/DeleteInvoiceUnitCommand";
6262
import { GetInvoiceUnitCommandInput, GetInvoiceUnitCommandOutput } from "./commands/GetInvoiceUnitCommand";
63+
import {
64+
ListInvoiceSummariesCommandInput,
65+
ListInvoiceSummariesCommandOutput,
66+
} from "./commands/ListInvoiceSummariesCommand";
6367
import { ListInvoiceUnitsCommandInput, ListInvoiceUnitsCommandOutput } from "./commands/ListInvoiceUnitsCommand";
6468
import {
6569
ListTagsForResourceCommandInput,
@@ -87,6 +91,7 @@ export type ServiceInputTypes =
8791
| CreateInvoiceUnitCommandInput
8892
| DeleteInvoiceUnitCommandInput
8993
| GetInvoiceUnitCommandInput
94+
| ListInvoiceSummariesCommandInput
9095
| ListInvoiceUnitsCommandInput
9196
| ListTagsForResourceCommandInput
9297
| TagResourceCommandInput
@@ -101,6 +106,7 @@ export type ServiceOutputTypes =
101106
| CreateInvoiceUnitCommandOutput
102107
| DeleteInvoiceUnitCommandOutput
103108
| GetInvoiceUnitCommandOutput
109+
| ListInvoiceSummariesCommandOutput
104110
| ListInvoiceUnitsCommandOutput
105111
| ListTagsForResourceCommandOutput
106112
| TagResourceCommandOutput
@@ -298,23 +304,7 @@ export type InvoicingClientResolvedConfigType = __SmithyResolvedConfiguration<__
298304
export interface InvoicingClientResolvedConfig extends InvoicingClientResolvedConfigType {}
299305

300306
/**
301-
* <p>
302-
* <b>Amazon Web Services Invoice Configuration</b>
303-
* </p>
304-
* <p>You can use Amazon Web Services Invoice Configuration APIs to programmatically create,
305-
* update, delete, get, and list invoice units. You can also programmatically fetch the
306-
* information of the invoice receiver. For example, business legal name, address, and invoicing
307-
* contacts. </p>
308-
* <p>You can use Amazon Web Services Invoice Configuration to receive separate Amazon Web Services invoices based your organizational needs. By using Amazon Web Services Invoice Configuration, you can configure invoice units that are groups of Amazon Web Services accounts that represent your business entities, and receive separate invoices for each business entity. You can also assign a unique member or payer account as the invoice receiver for each invoice unit. As you create new accounts within your Organizations using Amazon Web Services Invoice Configuration APIs, you can automate the creation of new invoice units and subsequently automate the addition of new accounts to your invoice units.</p>
309-
* <p>Service endpoint</p>
310-
* <p>You can use the following endpoints for Amazon Web Services Invoice Configuration:</p>
311-
* <ul>
312-
* <li>
313-
* <p>
314-
* <code>https://invoicing.us-east-1.api.aws</code>
315-
* </p>
316-
* </li>
317-
* </ul>
307+
* <p> <b>Amazon Web Services Invoice Configuration</b> </p> <p>You can use Amazon Web Services Invoice Configuration APIs to programmatically create, update, delete, get, and list invoice units. You can also programmatically fetch the information of the invoice receiver. For example, business legal name, address, and invoicing contacts. </p> <p>You can use Amazon Web Services Invoice Configuration to receive separate Amazon Web Services invoices based your organizational needs. By using Amazon Web Services Invoice Configuration, you can configure invoice units that are groups of Amazon Web Services accounts that represent your business entities, and receive separate invoices for each business entity. You can also assign a unique member or payer account as the invoice receiver for each invoice unit. As you create new accounts within your Organizations using Amazon Web Services Invoice Configuration APIs, you can automate the creation of new invoice units and subsequently automate the addition of new accounts to your invoice units.</p> <p>Service endpoint</p> <p>You can use the following endpoints for Amazon Web Services Invoice Configuration:</p> <ul> <li> <p> <code>https://invoicing.us-east-1.api.aws</code> </p> </li> </ul>
318308
* @public
319309
*/
320310
export class InvoicingClient extends __Client<

clients/client-invoicing/src/commands/BatchGetInvoiceProfileCommand.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,20 +81,16 @@ export interface BatchGetInvoiceProfileCommandOutput extends BatchGetInvoiceProf
8181
* <p>You don't have sufficient access to perform this action.</p>
8282
*
8383
* @throws {@link InternalServerException} (server fault)
84-
* <p>The processing request failed because of an unknown error, exception, or failure.
85-
* </p>
84+
* <p>The processing request failed because of an unknown error, exception, or failure. </p>
8685
*
8786
* @throws {@link ResourceNotFoundException} (client fault)
88-
* <p>The resource could not be found.
89-
* </p>
87+
* <p>The resource could not be found. </p>
9088
*
9189
* @throws {@link ThrottlingException} (client fault)
9290
* <p>The request was denied due to request throttling.</p>
9391
*
9492
* @throws {@link ValidationException} (client fault)
95-
* <p>
96-
* The input fails to satisfy the constraints specified by an Amazon Web Services service.
97-
* </p>
93+
* <p> The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
9894
*
9995
* @throws {@link InvoicingServiceException}
10096
* <p>Base exception class for all service exceptions from Invoicing service.</p>

clients/client-invoicing/src/commands/CreateInvoiceUnitCommand.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,13 @@ export interface CreateInvoiceUnitCommandOutput extends CreateInvoiceUnitRespons
7070
* <p>You don't have sufficient access to perform this action.</p>
7171
*
7272
* @throws {@link InternalServerException} (server fault)
73-
* <p>The processing request failed because of an unknown error, exception, or failure.
74-
* </p>
73+
* <p>The processing request failed because of an unknown error, exception, or failure. </p>
7574
*
7675
* @throws {@link ThrottlingException} (client fault)
7776
* <p>The request was denied due to request throttling.</p>
7877
*
7978
* @throws {@link ValidationException} (client fault)
80-
* <p>
81-
* The input fails to satisfy the constraints specified by an Amazon Web Services service.
82-
* </p>
79+
* <p> The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
8380
*
8481
* @throws {@link InvoicingServiceException}
8582
* <p>Base exception class for all service exceptions from Invoicing service.</p>

clients/client-invoicing/src/commands/DeleteInvoiceUnitCommand.ts

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ export interface DeleteInvoiceUnitCommandInput extends DeleteInvoiceUnitRequest
2828
export interface DeleteInvoiceUnitCommandOutput extends DeleteInvoiceUnitResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>This deletes an invoice unit with the provided invoice unit ARN.
32-
* </p>
31+
* <p>This deletes an invoice unit with the provided invoice unit ARN. </p>
3332
* @example
3433
* Use a bare-bones client and the command you need to make an API call.
3534
* ```javascript
@@ -57,20 +56,16 @@ export interface DeleteInvoiceUnitCommandOutput extends DeleteInvoiceUnitRespons
5756
* <p>You don't have sufficient access to perform this action.</p>
5857
*
5958
* @throws {@link InternalServerException} (server fault)
60-
* <p>The processing request failed because of an unknown error, exception, or failure.
61-
* </p>
59+
* <p>The processing request failed because of an unknown error, exception, or failure. </p>
6260
*
6361
* @throws {@link ResourceNotFoundException} (client fault)
64-
* <p>The resource could not be found.
65-
* </p>
62+
* <p>The resource could not be found. </p>
6663
*
6764
* @throws {@link ThrottlingException} (client fault)
6865
* <p>The request was denied due to request throttling.</p>
6966
*
7067
* @throws {@link ValidationException} (client fault)
71-
* <p>
72-
* The input fails to satisfy the constraints specified by an Amazon Web Services service.
73-
* </p>
68+
* <p> The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
7469
*
7570
* @throws {@link InvoicingServiceException}
7671
* <p>Base exception class for all service exceptions from Invoicing service.</p>

clients/client-invoicing/src/commands/GetInvoiceUnitCommand.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,16 @@ export interface GetInvoiceUnitCommandOutput extends GetInvoiceUnitResponse, __M
6767
* <p>You don't have sufficient access to perform this action.</p>
6868
*
6969
* @throws {@link InternalServerException} (server fault)
70-
* <p>The processing request failed because of an unknown error, exception, or failure.
71-
* </p>
70+
* <p>The processing request failed because of an unknown error, exception, or failure. </p>
7271
*
7372
* @throws {@link ResourceNotFoundException} (client fault)
74-
* <p>The resource could not be found.
75-
* </p>
73+
* <p>The resource could not be found. </p>
7674
*
7775
* @throws {@link ThrottlingException} (client fault)
7876
* <p>The request was denied due to request throttling.</p>
7977
*
8078
* @throws {@link ValidationException} (client fault)
81-
* <p>
82-
* The input fails to satisfy the constraints specified by an Amazon Web Services service.
83-
* </p>
79+
* <p> The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
8480
*
8581
* @throws {@link InvoicingServiceException}
8682
* <p>Base exception class for all service exceptions from Invoicing service.</p>

0 commit comments

Comments
 (0)