InvoicingClient

Amazon Web Services Invoice Configuration

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.

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.

Service endpoint

You can use the following endpoints for Amazon Web Services Invoice Configuration:

  • http://invoicing.us-east-1.api.aws

Properties

Link copied to clipboard
abstract override val config: InvoicingClient.Config

InvoicingClient's configuration

Functions

Link copied to clipboard

This gets the invoice profile associated with a set of accounts. The accounts must be linked accounts under the requester management account organization.

Link copied to clipboard

This creates a new invoice unit with the provided definition.

Link copied to clipboard

This deletes an invoice unit with the provided invoice unit ARN.

Link copied to clipboard

This retrieves the invoice unit definition.

Link copied to clipboard

Retrieves your invoice details programmatically, without line item details.

Link copied to clipboard
abstract suspend fun listInvoiceUnits(input: ListInvoiceUnitsRequest = ListInvoiceUnitsRequest { }): ListInvoiceUnitsResponse

This fetches a list of all invoice unit definitions for a given account, as of the provided AsOf date.

Link copied to clipboard

Lists the tags for a resource.

Link copied to clipboard
abstract suspend fun tagResource(input: TagResourceRequest): TagResourceResponse

Adds a tag to a resource.

Link copied to clipboard

Removes a tag from a resource.

Link copied to clipboard

You can update the invoice unit configuration at any time, and Amazon Web Services will use the latest configuration at the end of the month.

Inherited functions

Link copied to clipboard

This gets the invoice profile associated with a set of accounts. The accounts must be linked accounts under the requester management account organization.

Link copied to clipboard
expect abstract fun close()
Link copied to clipboard

This creates a new invoice unit with the provided definition.

Link copied to clipboard

This deletes an invoice unit with the provided invoice unit ARN.

Link copied to clipboard

This retrieves the invoice unit definition.

Link copied to clipboard

Retrieves your invoice details programmatically, without line item details.

Link copied to clipboard

This fetches a list of all invoice unit definitions for a given account, as of the provided AsOf date.

Link copied to clipboard

Lists the tags for a resource.

Link copied to clipboard
inline suspend fun InvoicingClient.tagResource(crossinline block: TagResourceRequest.Builder.() -> Unit): TagResourceResponse

Adds a tag to a resource.

Link copied to clipboard

Removes a tag from a resource.

Link copied to clipboard

You can update the invoice unit configuration at any time, and Amazon Web Services will use the latest configuration at the end of the month.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.