Interface InvoicingClient
- All Superinterfaces:
- AutoCloseable,- AwsClient,- SdkAutoCloseable,- SdkClient
builder() method.
 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:
- 
 https://invoicing.us-east-1.api.aws
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String
- 
Method SummaryModifier and TypeMethodDescriptiondefault BatchGetInvoiceProfileResponsebatchGetInvoiceProfile(Consumer<BatchGetInvoiceProfileRequest.Builder> batchGetInvoiceProfileRequest) This gets the invoice profile associated with a set of accounts.default BatchGetInvoiceProfileResponsebatchGetInvoiceProfile(BatchGetInvoiceProfileRequest batchGetInvoiceProfileRequest) This gets the invoice profile associated with a set of accounts.static InvoicingClientBuilderbuilder()Create a builder that can be used to configure and create aInvoicingClient.static InvoicingClientcreate()Create aInvoicingClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateInvoiceUnitResponsecreateInvoiceUnit(Consumer<CreateInvoiceUnitRequest.Builder> createInvoiceUnitRequest) This creates a new invoice unit with the provided definition.default CreateInvoiceUnitResponsecreateInvoiceUnit(CreateInvoiceUnitRequest createInvoiceUnitRequest) This creates a new invoice unit with the provided definition.default DeleteInvoiceUnitResponsedeleteInvoiceUnit(Consumer<DeleteInvoiceUnitRequest.Builder> deleteInvoiceUnitRequest) This deletes an invoice unit with the provided invoice unit ARN.default DeleteInvoiceUnitResponsedeleteInvoiceUnit(DeleteInvoiceUnitRequest deleteInvoiceUnitRequest) This deletes an invoice unit with the provided invoice unit ARN.default GetInvoiceUnitResponsegetInvoiceUnit(Consumer<GetInvoiceUnitRequest.Builder> getInvoiceUnitRequest) This retrieves the invoice unit definition.default GetInvoiceUnitResponsegetInvoiceUnit(GetInvoiceUnitRequest getInvoiceUnitRequest) This retrieves the invoice unit definition.default ListInvoiceSummariesResponselistInvoiceSummaries(Consumer<ListInvoiceSummariesRequest.Builder> listInvoiceSummariesRequest) Retrieves your invoice details programmatically, without line item details.default ListInvoiceSummariesResponselistInvoiceSummaries(ListInvoiceSummariesRequest listInvoiceSummariesRequest) Retrieves your invoice details programmatically, without line item details.default ListInvoiceSummariesIterablelistInvoiceSummariesPaginator(Consumer<ListInvoiceSummariesRequest.Builder> listInvoiceSummariesRequest) This is a variant oflistInvoiceSummaries(software.amazon.awssdk.services.invoicing.model.ListInvoiceSummariesRequest)operation.default ListInvoiceSummariesIterablelistInvoiceSummariesPaginator(ListInvoiceSummariesRequest listInvoiceSummariesRequest) This is a variant oflistInvoiceSummaries(software.amazon.awssdk.services.invoicing.model.ListInvoiceSummariesRequest)operation.default ListInvoiceUnitsResponselistInvoiceUnits(Consumer<ListInvoiceUnitsRequest.Builder> listInvoiceUnitsRequest) This fetches a list of all invoice unit definitions for a given account, as of the providedAsOfdate.default ListInvoiceUnitsResponselistInvoiceUnits(ListInvoiceUnitsRequest listInvoiceUnitsRequest) This fetches a list of all invoice unit definitions for a given account, as of the providedAsOfdate.default ListInvoiceUnitsIterablelistInvoiceUnitsPaginator(Consumer<ListInvoiceUnitsRequest.Builder> listInvoiceUnitsRequest) This is a variant oflistInvoiceUnits(software.amazon.awssdk.services.invoicing.model.ListInvoiceUnitsRequest)operation.default ListInvoiceUnitsIterablelistInvoiceUnitsPaginator(ListInvoiceUnitsRequest listInvoiceUnitsRequest) This is a variant oflistInvoiceUnits(software.amazon.awssdk.services.invoicing.model.ListInvoiceUnitsRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for a resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for a resource.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds a tag to a resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds a tag to a resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a tag from a resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes a tag from a resource.default UpdateInvoiceUnitResponseupdateInvoiceUnit(Consumer<UpdateInvoiceUnitRequest.Builder> updateInvoiceUnitRequest) 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.default UpdateInvoiceUnitResponseupdateInvoiceUnit(UpdateInvoiceUnitRequest updateInvoiceUnitRequest) 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.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseablecloseMethods inherited from interface software.amazon.awssdk.core.SdkClientserviceName
- 
Field Details- 
SERVICE_NAME- See Also:
 
- 
SERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.- See Also:
 
 
- 
- 
Method Details- 
batchGetInvoiceProfiledefault BatchGetInvoiceProfileResponse batchGetInvoiceProfile(BatchGetInvoiceProfileRequest batchGetInvoiceProfileRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException This gets the invoice profile associated with a set of accounts. The accounts must be linked accounts under the requester management account organization. - Parameters:
- batchGetInvoiceProfileRequest-
- Returns:
- Result of the BatchGetInvoiceProfile operation returned by the service.
- See Also:
 
- 
batchGetInvoiceProfiledefault BatchGetInvoiceProfileResponse batchGetInvoiceProfile(Consumer<BatchGetInvoiceProfileRequest.Builder> batchGetInvoiceProfileRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException This gets the invoice profile associated with a set of accounts. The accounts must be linked accounts under the requester management account organization. 
 This is a convenience which creates an instance of the BatchGetInvoiceProfileRequest.Builderavoiding the need to create one manually viaBatchGetInvoiceProfileRequest.builder()- Parameters:
- batchGetInvoiceProfileRequest- A- Consumerthat will call methods on- BatchGetInvoiceProfileRequest.Builderto create a request.
- Returns:
- Result of the BatchGetInvoiceProfile operation returned by the service.
- See Also:
 
- 
createInvoiceUnitdefault CreateInvoiceUnitResponse createInvoiceUnit(CreateInvoiceUnitRequest createInvoiceUnitRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException This creates a new invoice unit with the provided definition. - Parameters:
- createInvoiceUnitRequest-
- Returns:
- Result of the CreateInvoiceUnit operation returned by the service.
- See Also:
 
- 
createInvoiceUnitdefault CreateInvoiceUnitResponse createInvoiceUnit(Consumer<CreateInvoiceUnitRequest.Builder> createInvoiceUnitRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException This creates a new invoice unit with the provided definition. 
 This is a convenience which creates an instance of the CreateInvoiceUnitRequest.Builderavoiding the need to create one manually viaCreateInvoiceUnitRequest.builder()- Parameters:
- createInvoiceUnitRequest- A- Consumerthat will call methods on- CreateInvoiceUnitRequest.Builderto create a request.
- Returns:
- Result of the CreateInvoiceUnit operation returned by the service.
- See Also:
 
- 
deleteInvoiceUnitdefault DeleteInvoiceUnitResponse deleteInvoiceUnit(DeleteInvoiceUnitRequest deleteInvoiceUnitRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException This deletes an invoice unit with the provided invoice unit ARN. - Parameters:
- deleteInvoiceUnitRequest-
- Returns:
- Result of the DeleteInvoiceUnit operation returned by the service.
- See Also:
 
- 
deleteInvoiceUnitdefault DeleteInvoiceUnitResponse deleteInvoiceUnit(Consumer<DeleteInvoiceUnitRequest.Builder> deleteInvoiceUnitRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException This deletes an invoice unit with the provided invoice unit ARN. 
 This is a convenience which creates an instance of the DeleteInvoiceUnitRequest.Builderavoiding the need to create one manually viaDeleteInvoiceUnitRequest.builder()- Parameters:
- deleteInvoiceUnitRequest- A- Consumerthat will call methods on- DeleteInvoiceUnitRequest.Builderto create a request.
- Returns:
- Result of the DeleteInvoiceUnit operation returned by the service.
- See Also:
 
- 
getInvoiceUnitdefault GetInvoiceUnitResponse getInvoiceUnit(GetInvoiceUnitRequest getInvoiceUnitRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException This retrieves the invoice unit definition. - Parameters:
- getInvoiceUnitRequest-
- Returns:
- Result of the GetInvoiceUnit operation returned by the service.
- See Also:
 
- 
getInvoiceUnitdefault GetInvoiceUnitResponse getInvoiceUnit(Consumer<GetInvoiceUnitRequest.Builder> getInvoiceUnitRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException This retrieves the invoice unit definition. 
 This is a convenience which creates an instance of the GetInvoiceUnitRequest.Builderavoiding the need to create one manually viaGetInvoiceUnitRequest.builder()- Parameters:
- getInvoiceUnitRequest- A- Consumerthat will call methods on- GetInvoiceUnitRequest.Builderto create a request.
- Returns:
- Result of the GetInvoiceUnit operation returned by the service.
- See Also:
 
- 
listInvoiceSummariesdefault ListInvoiceSummariesResponse listInvoiceSummaries(ListInvoiceSummariesRequest listInvoiceSummariesRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException Retrieves your invoice details programmatically, without line item details. - Parameters:
- listInvoiceSummariesRequest-
- Returns:
- Result of the ListInvoiceSummaries operation returned by the service.
- See Also:
 
- 
listInvoiceSummariesdefault ListInvoiceSummariesResponse listInvoiceSummaries(Consumer<ListInvoiceSummariesRequest.Builder> listInvoiceSummariesRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException Retrieves your invoice details programmatically, without line item details. 
 This is a convenience which creates an instance of the ListInvoiceSummariesRequest.Builderavoiding the need to create one manually viaListInvoiceSummariesRequest.builder()- Parameters:
- listInvoiceSummariesRequest- A- Consumerthat will call methods on- ListInvoiceSummariesRequest.Builderto create a request.
- Returns:
- Result of the ListInvoiceSummaries operation returned by the service.
- See Also:
 
- 
listInvoiceSummariesPaginatordefault ListInvoiceSummariesIterable listInvoiceSummariesPaginator(ListInvoiceSummariesRequest listInvoiceSummariesRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException This is a variant of listInvoiceSummaries(software.amazon.awssdk.services.invoicing.model.ListInvoiceSummariesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.invoicing.paginators.ListInvoiceSummariesIterable responses = client.listInvoiceSummariesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.invoicing.paginators.ListInvoiceSummariesIterable responses = client .listInvoiceSummariesPaginator(request); for (software.amazon.awssdk.services.invoicing.model.ListInvoiceSummariesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.invoicing.paginators.ListInvoiceSummariesIterable responses = client.listInvoiceSummariesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page. Note: If you prefer to have control on service calls, use the listInvoiceSummaries(software.amazon.awssdk.services.invoicing.model.ListInvoiceSummariesRequest)operation.- Parameters:
- listInvoiceSummariesRequest-
- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
listInvoiceSummariesPaginatordefault ListInvoiceSummariesIterable listInvoiceSummariesPaginator(Consumer<ListInvoiceSummariesRequest.Builder> listInvoiceSummariesRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException This is a variant of listInvoiceSummaries(software.amazon.awssdk.services.invoicing.model.ListInvoiceSummariesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.invoicing.paginators.ListInvoiceSummariesIterable responses = client.listInvoiceSummariesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.invoicing.paginators.ListInvoiceSummariesIterable responses = client .listInvoiceSummariesPaginator(request); for (software.amazon.awssdk.services.invoicing.model.ListInvoiceSummariesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.invoicing.paginators.ListInvoiceSummariesIterable responses = client.listInvoiceSummariesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page. Note: If you prefer to have control on service calls, use the listInvoiceSummaries(software.amazon.awssdk.services.invoicing.model.ListInvoiceSummariesRequest)operation.
 This is a convenience which creates an instance of the ListInvoiceSummariesRequest.Builderavoiding the need to create one manually viaListInvoiceSummariesRequest.builder()- Parameters:
- listInvoiceSummariesRequest- A- Consumerthat will call methods on- ListInvoiceSummariesRequest.Builderto create a request.
- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
listInvoiceUnitsdefault ListInvoiceUnitsResponse listInvoiceUnits(ListInvoiceUnitsRequest listInvoiceUnitsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException This fetches a list of all invoice unit definitions for a given account, as of the provided AsOfdate.- Parameters:
- listInvoiceUnitsRequest-
- Returns:
- Result of the ListInvoiceUnits operation returned by the service.
- See Also:
 
- 
listInvoiceUnitsdefault ListInvoiceUnitsResponse listInvoiceUnits(Consumer<ListInvoiceUnitsRequest.Builder> listInvoiceUnitsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException This fetches a list of all invoice unit definitions for a given account, as of the provided AsOfdate.
 This is a convenience which creates an instance of the ListInvoiceUnitsRequest.Builderavoiding the need to create one manually viaListInvoiceUnitsRequest.builder()- Parameters:
- listInvoiceUnitsRequest- A- Consumerthat will call methods on- ListInvoiceUnitsRequest.Builderto create a request.
- Returns:
- Result of the ListInvoiceUnits operation returned by the service.
- See Also:
 
- 
listInvoiceUnitsPaginatordefault ListInvoiceUnitsIterable listInvoiceUnitsPaginator(ListInvoiceUnitsRequest listInvoiceUnitsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException This is a variant of listInvoiceUnits(software.amazon.awssdk.services.invoicing.model.ListInvoiceUnitsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.invoicing.paginators.ListInvoiceUnitsIterable responses = client.listInvoiceUnitsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.invoicing.paginators.ListInvoiceUnitsIterable responses = client .listInvoiceUnitsPaginator(request); for (software.amazon.awssdk.services.invoicing.model.ListInvoiceUnitsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.invoicing.paginators.ListInvoiceUnitsIterable responses = client.listInvoiceUnitsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page. Note: If you prefer to have control on service calls, use the listInvoiceUnits(software.amazon.awssdk.services.invoicing.model.ListInvoiceUnitsRequest)operation.- Parameters:
- listInvoiceUnitsRequest-
- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
listInvoiceUnitsPaginatordefault ListInvoiceUnitsIterable listInvoiceUnitsPaginator(Consumer<ListInvoiceUnitsRequest.Builder> listInvoiceUnitsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException This is a variant of listInvoiceUnits(software.amazon.awssdk.services.invoicing.model.ListInvoiceUnitsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.invoicing.paginators.ListInvoiceUnitsIterable responses = client.listInvoiceUnitsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.invoicing.paginators.ListInvoiceUnitsIterable responses = client .listInvoiceUnitsPaginator(request); for (software.amazon.awssdk.services.invoicing.model.ListInvoiceUnitsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.invoicing.paginators.ListInvoiceUnitsIterable responses = client.listInvoiceUnitsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page. Note: If you prefer to have control on service calls, use the listInvoiceUnits(software.amazon.awssdk.services.invoicing.model.ListInvoiceUnitsRequest)operation.
 This is a convenience which creates an instance of the ListInvoiceUnitsRequest.Builderavoiding the need to create one manually viaListInvoiceUnitsRequest.builder()- Parameters:
- listInvoiceUnitsRequest- A- Consumerthat will call methods on- ListInvoiceUnitsRequest.Builderto create a request.
- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
listTagsForResourcedefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException Lists the tags for a resource. - Parameters:
- listTagsForResourceRequest-
- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
 
- 
listTagsForResourcedefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException Lists the tags for a resource. 
 This is a convenience which creates an instance of the ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
- listTagsForResourceRequest- A- Consumerthat will call methods on- ListTagsForResourceRequest.Builderto create a request.
- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
 
- 
tagResourcedefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException Adds a tag to a resource. - Parameters:
- tagResourceRequest-
- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
 
- 
tagResourcedefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException Adds a tag to a resource. 
 This is a convenience which creates an instance of the TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
- tagResourceRequest- A- Consumerthat will call methods on- TagResourceRequest.Builderto create a request.
- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
 
- 
untagResourcedefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException Removes a tag from a resource. - Parameters:
- untagResourceRequest-
- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
 
- 
untagResourcedefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException Removes a tag from a resource. 
 This is a convenience which creates an instance of the UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
- untagResourceRequest- A- Consumerthat will call methods on- UntagResourceRequest.Builderto create a request.
- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
 
- 
updateInvoiceUnitdefault UpdateInvoiceUnitResponse updateInvoiceUnit(UpdateInvoiceUnitRequest updateInvoiceUnitRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException 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. - Parameters:
- updateInvoiceUnitRequest-
- Returns:
- Result of the UpdateInvoiceUnit operation returned by the service.
- See Also:
 
- 
updateInvoiceUnitdefault UpdateInvoiceUnitResponse updateInvoiceUnit(Consumer<UpdateInvoiceUnitRequest.Builder> updateInvoiceUnitRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, InvoicingException 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. 
 This is a convenience which creates an instance of the UpdateInvoiceUnitRequest.Builderavoiding the need to create one manually viaUpdateInvoiceUnitRequest.builder()- Parameters:
- updateInvoiceUnitRequest- A- Consumerthat will call methods on- UpdateInvoiceUnitRequest.Builderto create a request.
- Returns:
- Result of the UpdateInvoiceUnit operation returned by the service.
- See Also:
 
- 
createCreate aInvoicingClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
- 
builderCreate a builder that can be used to configure and create aInvoicingClient.
- 
serviceMetadata
- 
serviceClientConfigurationDescription copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
- serviceClientConfigurationin interface- AwsClient
- Specified by:
- serviceClientConfigurationin interface- SdkClient
- Returns:
- SdkServiceClientConfiguration
 
 
-