aws-sdk-invoicing 1.14.0 → 1.16.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-invoicing/client.rb +87 -1
- data/lib/aws-sdk-invoicing/client_api.rb +42 -1
- data/lib/aws-sdk-invoicing/types.rb +92 -2
- data/lib/aws-sdk-invoicing.rb +1 -1
- data/sig/client.rbs +16 -3
- data/sig/types.rbs +26 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 76de0fc93d9dd365e45830c586dc635370d10480183816590a0c3fdccc716440
|
|
4
|
+
data.tar.gz: 24733ef362594ba4133b68e190b68e1ba5ad224214f776e522693467e288b138
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9148a91293d790b3c84c24c76838b25831166551f670b33a1c686677b0e2bbd91949d81d948ce42f8bd6258ee7a2bd86cb034b5448e73b93936da2ac8ab03f92
|
|
7
|
+
data.tar.gz: 96b64a7c033cd5b920e63b3dd916ba74677a95120214fbad857a4036f5597c2031753b4d1d401b740dc14b31e202e0a87f3611cdf11f9aeb3c496c8030f84fcd
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.16.0 (2025-11-19)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Add support for adding Billing transfers in Invoice configuration
|
|
8
|
+
|
|
9
|
+
1.15.0 (2025-11-10)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Added new invoicing get-invoice-pdf API Operation
|
|
13
|
+
|
|
4
14
|
1.14.0 (2025-10-27)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.16.0
|
|
@@ -620,6 +620,7 @@ module Aws::Invoicing
|
|
|
620
620
|
# tax_inheritance_disabled: false,
|
|
621
621
|
# rule: { # required
|
|
622
622
|
# linked_accounts: ["AccountIdString"],
|
|
623
|
+
# bill_source_accounts: ["AccountIdString"],
|
|
623
624
|
# },
|
|
624
625
|
# resource_tags: [
|
|
625
626
|
# {
|
|
@@ -683,6 +684,85 @@ module Aws::Invoicing
|
|
|
683
684
|
req.send_request(options)
|
|
684
685
|
end
|
|
685
686
|
|
|
687
|
+
# Returns a URL to download the invoice document and supplemental
|
|
688
|
+
# documents associated with an invoice. The URLs are pre-signed and have
|
|
689
|
+
# expiration time. For special cases like Brazil, where Amazon Web
|
|
690
|
+
# Services generated invoice identifiers and government provided
|
|
691
|
+
# identifiers do not match, use the Amazon Web Services generated
|
|
692
|
+
# invoice identifier when making API requests. To grant IAM permission
|
|
693
|
+
# to use this operation, the caller needs the `invoicing:GetInvoicePDF`
|
|
694
|
+
# policy action.
|
|
695
|
+
#
|
|
696
|
+
# @option params [required, String] :invoice_id
|
|
697
|
+
# Your unique invoice ID.
|
|
698
|
+
#
|
|
699
|
+
# @return [Types::GetInvoicePDFResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
700
|
+
#
|
|
701
|
+
# * {Types::GetInvoicePDFResponse#invoice_pdf #invoice_pdf} => Types::InvoicePDF
|
|
702
|
+
#
|
|
703
|
+
#
|
|
704
|
+
# @example Example: GetInvoicePDF without supplemental documents
|
|
705
|
+
#
|
|
706
|
+
# resp = client.get_invoice_pdf({
|
|
707
|
+
# invoice_id: "abc123",
|
|
708
|
+
# })
|
|
709
|
+
#
|
|
710
|
+
# resp.to_h outputs the following:
|
|
711
|
+
# {
|
|
712
|
+
# invoice_pdf: {
|
|
713
|
+
# document_url: "https://abcd123.com?securityTokenForDoc",
|
|
714
|
+
# document_url_expiration_date: Time.parse("2025-04-01T01:00:00.000Z"),
|
|
715
|
+
# invoice_id: "abc123",
|
|
716
|
+
# supplemental_documents: [
|
|
717
|
+
# ],
|
|
718
|
+
# },
|
|
719
|
+
# }
|
|
720
|
+
#
|
|
721
|
+
# @example Example: GetInvoicePDF with supplemental documents
|
|
722
|
+
#
|
|
723
|
+
# resp = client.get_invoice_pdf({
|
|
724
|
+
# invoice_id: "abc123",
|
|
725
|
+
# })
|
|
726
|
+
#
|
|
727
|
+
# resp.to_h outputs the following:
|
|
728
|
+
# {
|
|
729
|
+
# invoice_pdf: {
|
|
730
|
+
# document_url: "https://abcd123.com?securityTokenForDoc",
|
|
731
|
+
# document_url_expiration_date: Time.parse("2025-04-01T01:00:00.000Z"),
|
|
732
|
+
# invoice_id: "abc123",
|
|
733
|
+
# supplemental_documents: [
|
|
734
|
+
# {
|
|
735
|
+
# document_url: "https://abcd123.com?securityTokenForSupplementalDoc",
|
|
736
|
+
# document_url_expiration_date: Time.parse("2025-04-01T01:00:00.000Z"),
|
|
737
|
+
# },
|
|
738
|
+
# ],
|
|
739
|
+
# },
|
|
740
|
+
# }
|
|
741
|
+
#
|
|
742
|
+
# @example Request syntax with placeholder values
|
|
743
|
+
#
|
|
744
|
+
# resp = client.get_invoice_pdf({
|
|
745
|
+
# invoice_id: "StringWithoutNewLine", # required
|
|
746
|
+
# })
|
|
747
|
+
#
|
|
748
|
+
# @example Response structure
|
|
749
|
+
#
|
|
750
|
+
# resp.invoice_pdf.invoice_id #=> String
|
|
751
|
+
# resp.invoice_pdf.document_url #=> String
|
|
752
|
+
# resp.invoice_pdf.document_url_expiration_date #=> Time
|
|
753
|
+
# resp.invoice_pdf.supplemental_documents #=> Array
|
|
754
|
+
# resp.invoice_pdf.supplemental_documents[0].document_url #=> String
|
|
755
|
+
# resp.invoice_pdf.supplemental_documents[0].document_url_expiration_date #=> Time
|
|
756
|
+
#
|
|
757
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/GetInvoicePDF AWS API Documentation
|
|
758
|
+
#
|
|
759
|
+
# @overload get_invoice_pdf(params = {})
|
|
760
|
+
# @param [Hash] params ({})
|
|
761
|
+
def get_invoice_pdf(params = {}, options = {})
|
|
762
|
+
req = build_request(:get_invoice_pdf, params)
|
|
763
|
+
req.send_request(options)
|
|
764
|
+
end
|
|
765
|
+
|
|
686
766
|
# This retrieves the invoice unit definition.
|
|
687
767
|
#
|
|
688
768
|
# @option params [required, String] :invoice_unit_arn
|
|
@@ -765,6 +845,8 @@ module Aws::Invoicing
|
|
|
765
845
|
# resp.tax_inheritance_disabled #=> Boolean
|
|
766
846
|
# resp.rule.linked_accounts #=> Array
|
|
767
847
|
# resp.rule.linked_accounts[0] #=> String
|
|
848
|
+
# resp.rule.bill_source_accounts #=> Array
|
|
849
|
+
# resp.rule.bill_source_accounts[0] #=> String
|
|
768
850
|
# resp.last_modified #=> Time
|
|
769
851
|
#
|
|
770
852
|
# @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/GetInvoiceUnit AWS API Documentation
|
|
@@ -1574,6 +1656,7 @@ module Aws::Invoicing
|
|
|
1574
1656
|
# names: ["InvoiceUnitName"],
|
|
1575
1657
|
# invoice_receivers: ["AccountIdString"],
|
|
1576
1658
|
# accounts: ["AccountIdString"],
|
|
1659
|
+
# bill_source_accounts: ["AccountIdString"],
|
|
1577
1660
|
# },
|
|
1578
1661
|
# next_token: "NextTokenString",
|
|
1579
1662
|
# max_results: 1,
|
|
@@ -1590,6 +1673,8 @@ module Aws::Invoicing
|
|
|
1590
1673
|
# resp.invoice_units[0].tax_inheritance_disabled #=> Boolean
|
|
1591
1674
|
# resp.invoice_units[0].rule.linked_accounts #=> Array
|
|
1592
1675
|
# resp.invoice_units[0].rule.linked_accounts[0] #=> String
|
|
1676
|
+
# resp.invoice_units[0].rule.bill_source_accounts #=> Array
|
|
1677
|
+
# resp.invoice_units[0].rule.bill_source_accounts[0] #=> String
|
|
1593
1678
|
# resp.invoice_units[0].last_modified #=> Time
|
|
1594
1679
|
# resp.next_token #=> String
|
|
1595
1680
|
#
|
|
@@ -1800,6 +1885,7 @@ module Aws::Invoicing
|
|
|
1800
1885
|
# tax_inheritance_disabled: false,
|
|
1801
1886
|
# rule: {
|
|
1802
1887
|
# linked_accounts: ["AccountIdString"],
|
|
1888
|
+
# bill_source_accounts: ["AccountIdString"],
|
|
1803
1889
|
# },
|
|
1804
1890
|
# })
|
|
1805
1891
|
#
|
|
@@ -1834,7 +1920,7 @@ module Aws::Invoicing
|
|
|
1834
1920
|
tracer: tracer
|
|
1835
1921
|
)
|
|
1836
1922
|
context[:gem_name] = 'aws-sdk-invoicing'
|
|
1837
|
-
context[:gem_version] = '1.
|
|
1923
|
+
context[:gem_version] = '1.16.0'
|
|
1838
1924
|
Seahorse::Client::Request.new(handlers, context)
|
|
1839
1925
|
end
|
|
1840
1926
|
|
|
@@ -40,11 +40,14 @@ module Aws::Invoicing
|
|
|
40
40
|
FeesBreakdownAmount = Shapes::StructureShape.new(name: 'FeesBreakdownAmount')
|
|
41
41
|
FeesBreakdownAmountList = Shapes::ListShape.new(name: 'FeesBreakdownAmountList')
|
|
42
42
|
Filters = Shapes::StructureShape.new(name: 'Filters')
|
|
43
|
+
GetInvoicePDFRequest = Shapes::StructureShape.new(name: 'GetInvoicePDFRequest')
|
|
44
|
+
GetInvoicePDFResponse = Shapes::StructureShape.new(name: 'GetInvoicePDFResponse')
|
|
43
45
|
GetInvoiceUnitRequest = Shapes::StructureShape.new(name: 'GetInvoiceUnitRequest')
|
|
44
46
|
GetInvoiceUnitResponse = Shapes::StructureShape.new(name: 'GetInvoiceUnitResponse')
|
|
45
47
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
|
46
48
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
47
49
|
InvoiceCurrencyAmount = Shapes::StructureShape.new(name: 'InvoiceCurrencyAmount')
|
|
50
|
+
InvoicePDF = Shapes::StructureShape.new(name: 'InvoicePDF')
|
|
48
51
|
InvoiceProfile = Shapes::StructureShape.new(name: 'InvoiceProfile')
|
|
49
52
|
InvoiceSummaries = Shapes::ListShape.new(name: 'InvoiceSummaries')
|
|
50
53
|
InvoiceSummariesFilter = Shapes::StructureShape.new(name: 'InvoiceSummariesFilter')
|
|
@@ -77,9 +80,12 @@ module Aws::Invoicing
|
|
|
77
80
|
ResourceTagKeyList = Shapes::ListShape.new(name: 'ResourceTagKeyList')
|
|
78
81
|
ResourceTagList = Shapes::ListShape.new(name: 'ResourceTagList')
|
|
79
82
|
ResourceTagValue = Shapes::StringShape.new(name: 'ResourceTagValue')
|
|
83
|
+
RuleAccountIdList = Shapes::ListShape.new(name: 'RuleAccountIdList')
|
|
80
84
|
SensitiveBasicStringWithoutSpace = Shapes::StringShape.new(name: 'SensitiveBasicStringWithoutSpace')
|
|
81
85
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
82
86
|
StringWithoutNewLine = Shapes::StringShape.new(name: 'StringWithoutNewLine')
|
|
87
|
+
SupplementalDocument = Shapes::StructureShape.new(name: 'SupplementalDocument')
|
|
88
|
+
SupplementalDocuments = Shapes::ListShape.new(name: 'SupplementalDocuments')
|
|
83
89
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
|
84
90
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
|
85
91
|
TagrisArn = Shapes::StringShape.new(name: 'TagrisArn')
|
|
@@ -175,8 +181,15 @@ module Aws::Invoicing
|
|
|
175
181
|
Filters.add_member(:names, Shapes::ShapeRef.new(shape: InvoiceUnitNames, location_name: "Names"))
|
|
176
182
|
Filters.add_member(:invoice_receivers, Shapes::ShapeRef.new(shape: AccountIdList, location_name: "InvoiceReceivers"))
|
|
177
183
|
Filters.add_member(:accounts, Shapes::ShapeRef.new(shape: AccountIdList, location_name: "Accounts"))
|
|
184
|
+
Filters.add_member(:bill_source_accounts, Shapes::ShapeRef.new(shape: AccountIdList, location_name: "BillSourceAccounts"))
|
|
178
185
|
Filters.struct_class = Types::Filters
|
|
179
186
|
|
|
187
|
+
GetInvoicePDFRequest.add_member(:invoice_id, Shapes::ShapeRef.new(shape: StringWithoutNewLine, required: true, location_name: "InvoiceId"))
|
|
188
|
+
GetInvoicePDFRequest.struct_class = Types::GetInvoicePDFRequest
|
|
189
|
+
|
|
190
|
+
GetInvoicePDFResponse.add_member(:invoice_pdf, Shapes::ShapeRef.new(shape: InvoicePDF, location_name: "InvoicePDF"))
|
|
191
|
+
GetInvoicePDFResponse.struct_class = Types::GetInvoicePDFResponse
|
|
192
|
+
|
|
180
193
|
GetInvoiceUnitRequest.add_member(:invoice_unit_arn, Shapes::ShapeRef.new(shape: InvoiceUnitArnString, required: true, location_name: "InvoiceUnitArn"))
|
|
181
194
|
GetInvoiceUnitRequest.add_member(:as_of, Shapes::ShapeRef.new(shape: AsOfTimestamp, location_name: "AsOf"))
|
|
182
195
|
GetInvoiceUnitRequest.struct_class = Types::GetInvoiceUnitRequest
|
|
@@ -201,6 +214,12 @@ module Aws::Invoicing
|
|
|
201
214
|
InvoiceCurrencyAmount.add_member(:currency_exchange_details, Shapes::ShapeRef.new(shape: CurrencyExchangeDetails, location_name: "CurrencyExchangeDetails"))
|
|
202
215
|
InvoiceCurrencyAmount.struct_class = Types::InvoiceCurrencyAmount
|
|
203
216
|
|
|
217
|
+
InvoicePDF.add_member(:invoice_id, Shapes::ShapeRef.new(shape: StringWithoutNewLine, location_name: "InvoiceId"))
|
|
218
|
+
InvoicePDF.add_member(:document_url, Shapes::ShapeRef.new(shape: StringWithoutNewLine, location_name: "DocumentUrl"))
|
|
219
|
+
InvoicePDF.add_member(:document_url_expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DocumentUrlExpirationDate"))
|
|
220
|
+
InvoicePDF.add_member(:supplemental_documents, Shapes::ShapeRef.new(shape: SupplementalDocuments, location_name: "SupplementalDocuments"))
|
|
221
|
+
InvoicePDF.struct_class = Types::InvoicePDF
|
|
222
|
+
|
|
204
223
|
InvoiceProfile.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountIdString, location_name: "AccountId"))
|
|
205
224
|
InvoiceProfile.add_member(:receiver_name, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "ReceiverName"))
|
|
206
225
|
InvoiceProfile.add_member(:receiver_address, Shapes::ShapeRef.new(shape: ReceiverAddress, location_name: "ReceiverAddress"))
|
|
@@ -245,7 +264,8 @@ module Aws::Invoicing
|
|
|
245
264
|
|
|
246
265
|
InvoiceUnitNames.member = Shapes::ShapeRef.new(shape: InvoiceUnitName)
|
|
247
266
|
|
|
248
|
-
InvoiceUnitRule.add_member(:linked_accounts, Shapes::ShapeRef.new(shape:
|
|
267
|
+
InvoiceUnitRule.add_member(:linked_accounts, Shapes::ShapeRef.new(shape: RuleAccountIdList, location_name: "LinkedAccounts"))
|
|
268
|
+
InvoiceUnitRule.add_member(:bill_source_accounts, Shapes::ShapeRef.new(shape: RuleAccountIdList, location_name: "BillSourceAccounts"))
|
|
249
269
|
InvoiceUnitRule.struct_class = Types::InvoiceUnitRule
|
|
250
270
|
|
|
251
271
|
InvoiceUnits.member = Shapes::ShapeRef.new(shape: InvoiceUnit)
|
|
@@ -301,9 +321,17 @@ module Aws::Invoicing
|
|
|
301
321
|
|
|
302
322
|
ResourceTagList.member = Shapes::ShapeRef.new(shape: ResourceTag)
|
|
303
323
|
|
|
324
|
+
RuleAccountIdList.member = Shapes::ShapeRef.new(shape: AccountIdString)
|
|
325
|
+
|
|
304
326
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: BasicString, required: true, location_name: "message"))
|
|
305
327
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
|
306
328
|
|
|
329
|
+
SupplementalDocument.add_member(:document_url, Shapes::ShapeRef.new(shape: StringWithoutNewLine, location_name: "DocumentUrl"))
|
|
330
|
+
SupplementalDocument.add_member(:document_url_expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DocumentUrlExpirationDate"))
|
|
331
|
+
SupplementalDocument.struct_class = Types::SupplementalDocument
|
|
332
|
+
|
|
333
|
+
SupplementalDocuments.member = Shapes::ShapeRef.new(shape: SupplementalDocument)
|
|
334
|
+
|
|
307
335
|
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TagrisArn, required: true, location_name: "ResourceArn"))
|
|
308
336
|
TagResourceRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagList, required: true, location_name: "ResourceTags"))
|
|
309
337
|
TagResourceRequest.struct_class = Types::TagResourceRequest
|
|
@@ -410,6 +438,19 @@ module Aws::Invoicing
|
|
|
410
438
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
411
439
|
end)
|
|
412
440
|
|
|
441
|
+
api.add_operation(:get_invoice_pdf, Seahorse::Model::Operation.new.tap do |o|
|
|
442
|
+
o.name = "GetInvoicePDF"
|
|
443
|
+
o.http_method = "POST"
|
|
444
|
+
o.http_request_uri = "/"
|
|
445
|
+
o.input = Shapes::ShapeRef.new(shape: GetInvoicePDFRequest)
|
|
446
|
+
o.output = Shapes::ShapeRef.new(shape: GetInvoicePDFResponse)
|
|
447
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
448
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
449
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
450
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
451
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
452
|
+
end)
|
|
453
|
+
|
|
413
454
|
api.add_operation(:get_invoice_unit, Seahorse::Model::Operation.new.tap do |o|
|
|
414
455
|
o.name = "GetInvoiceUnit"
|
|
415
456
|
o.http_method = "POST"
|
|
@@ -365,12 +365,45 @@ module Aws::Invoicing
|
|
|
365
365
|
# accounts in the rules.
|
|
366
366
|
# @return [Array<String>]
|
|
367
367
|
#
|
|
368
|
+
# @!attribute [rw] bill_source_accounts
|
|
369
|
+
# A list of Amazon Web Services account account IDs used to filter
|
|
370
|
+
# invoice units. These are payer accounts from other Organizations
|
|
371
|
+
# that have delegated their billing responsibility to the receiver
|
|
372
|
+
# account through the billing transfer feature.
|
|
373
|
+
# @return [Array<String>]
|
|
374
|
+
#
|
|
368
375
|
# @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/Filters AWS API Documentation
|
|
369
376
|
#
|
|
370
377
|
class Filters < Struct.new(
|
|
371
378
|
:names,
|
|
372
379
|
:invoice_receivers,
|
|
373
|
-
:accounts
|
|
380
|
+
:accounts,
|
|
381
|
+
:bill_source_accounts)
|
|
382
|
+
SENSITIVE = []
|
|
383
|
+
include Aws::Structure
|
|
384
|
+
end
|
|
385
|
+
|
|
386
|
+
# @!attribute [rw] invoice_id
|
|
387
|
+
# Your unique invoice ID.
|
|
388
|
+
# @return [String]
|
|
389
|
+
#
|
|
390
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/GetInvoicePDFRequest AWS API Documentation
|
|
391
|
+
#
|
|
392
|
+
class GetInvoicePDFRequest < Struct.new(
|
|
393
|
+
:invoice_id)
|
|
394
|
+
SENSITIVE = []
|
|
395
|
+
include Aws::Structure
|
|
396
|
+
end
|
|
397
|
+
|
|
398
|
+
# @!attribute [rw] invoice_pdf
|
|
399
|
+
# The invoice document and supplemental documents associated with the
|
|
400
|
+
# invoice.
|
|
401
|
+
# @return [Types::InvoicePDF]
|
|
402
|
+
#
|
|
403
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/GetInvoicePDFResponse AWS API Documentation
|
|
404
|
+
#
|
|
405
|
+
class GetInvoicePDFResponse < Struct.new(
|
|
406
|
+
:invoice_pdf)
|
|
374
407
|
SENSITIVE = []
|
|
375
408
|
include Aws::Structure
|
|
376
409
|
end
|
|
@@ -499,6 +532,35 @@ module Aws::Invoicing
|
|
|
499
532
|
include Aws::Structure
|
|
500
533
|
end
|
|
501
534
|
|
|
535
|
+
# Invoice document data.
|
|
536
|
+
#
|
|
537
|
+
# @!attribute [rw] invoice_id
|
|
538
|
+
# Your unique invoice ID.
|
|
539
|
+
# @return [String]
|
|
540
|
+
#
|
|
541
|
+
# @!attribute [rw] document_url
|
|
542
|
+
# The pre-signed URL to download the invoice document.
|
|
543
|
+
# @return [String]
|
|
544
|
+
#
|
|
545
|
+
# @!attribute [rw] document_url_expiration_date
|
|
546
|
+
# The pre-signed URL expiration date of the invoice document.
|
|
547
|
+
# @return [Time]
|
|
548
|
+
#
|
|
549
|
+
# @!attribute [rw] supplemental_documents
|
|
550
|
+
# List of supplemental documents associated with the invoice.
|
|
551
|
+
# @return [Array<Types::SupplementalDocument>]
|
|
552
|
+
#
|
|
553
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/InvoicePDF AWS API Documentation
|
|
554
|
+
#
|
|
555
|
+
class InvoicePDF < Struct.new(
|
|
556
|
+
:invoice_id,
|
|
557
|
+
:document_url,
|
|
558
|
+
:document_url_expiration_date,
|
|
559
|
+
:supplemental_documents)
|
|
560
|
+
SENSITIVE = []
|
|
561
|
+
include Aws::Structure
|
|
562
|
+
end
|
|
563
|
+
|
|
502
564
|
# Contains high-level information about the invoice receiver.
|
|
503
565
|
#
|
|
504
566
|
# @!attribute [rw] account_id
|
|
@@ -712,10 +774,19 @@ module Aws::Invoicing
|
|
|
712
774
|
# the invoice unit.
|
|
713
775
|
# @return [Array<String>]
|
|
714
776
|
#
|
|
777
|
+
# @!attribute [rw] bill_source_accounts
|
|
778
|
+
# A list of Amazon Web Services account account IDs that have
|
|
779
|
+
# delegated their billing responsibility to the receiver account
|
|
780
|
+
# through transfer billing. Unlike linked accounts, these bill source
|
|
781
|
+
# accounts can be payer accounts from other organizations that have
|
|
782
|
+
# authorized billing transfer to this account.
|
|
783
|
+
# @return [Array<String>]
|
|
784
|
+
#
|
|
715
785
|
# @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/InvoiceUnitRule AWS API Documentation
|
|
716
786
|
#
|
|
717
787
|
class InvoiceUnitRule < Struct.new(
|
|
718
|
-
:linked_accounts
|
|
788
|
+
:linked_accounts,
|
|
789
|
+
:bill_source_accounts)
|
|
719
790
|
SENSITIVE = []
|
|
720
791
|
include Aws::Structure
|
|
721
792
|
end
|
|
@@ -955,6 +1026,25 @@ module Aws::Invoicing
|
|
|
955
1026
|
include Aws::Structure
|
|
956
1027
|
end
|
|
957
1028
|
|
|
1029
|
+
# Supplemental document associated with the invoice.
|
|
1030
|
+
#
|
|
1031
|
+
# @!attribute [rw] document_url
|
|
1032
|
+
# The pre-signed URL to download invoice supplemental document.
|
|
1033
|
+
# @return [String]
|
|
1034
|
+
#
|
|
1035
|
+
# @!attribute [rw] document_url_expiration_date
|
|
1036
|
+
# The pre-signed URL expiration date of invoice supplemental document.
|
|
1037
|
+
# @return [Time]
|
|
1038
|
+
#
|
|
1039
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/SupplementalDocument AWS API Documentation
|
|
1040
|
+
#
|
|
1041
|
+
class SupplementalDocument < Struct.new(
|
|
1042
|
+
:document_url,
|
|
1043
|
+
:document_url_expiration_date)
|
|
1044
|
+
SENSITIVE = []
|
|
1045
|
+
include Aws::Structure
|
|
1046
|
+
end
|
|
1047
|
+
|
|
958
1048
|
# @!attribute [rw] resource_arn
|
|
959
1049
|
# The Amazon Resource Name (ARN) of the tags.
|
|
960
1050
|
# @return [String]
|
data/lib/aws-sdk-invoicing.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -100,7 +100,8 @@ module Aws
|
|
|
100
100
|
?description: ::String,
|
|
101
101
|
?tax_inheritance_disabled: bool,
|
|
102
102
|
rule: {
|
|
103
|
-
linked_accounts: Array[::String]
|
|
103
|
+
linked_accounts: Array[::String]?,
|
|
104
|
+
bill_source_accounts: Array[::String]?
|
|
104
105
|
},
|
|
105
106
|
?resource_tags: Array[
|
|
106
107
|
{
|
|
@@ -121,6 +122,16 @@ module Aws
|
|
|
121
122
|
) -> _DeleteInvoiceUnitResponseSuccess
|
|
122
123
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteInvoiceUnitResponseSuccess
|
|
123
124
|
|
|
125
|
+
interface _GetInvoicePDFResponseSuccess
|
|
126
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetInvoicePDFResponse]
|
|
127
|
+
def invoice_pdf: () -> Types::InvoicePDF
|
|
128
|
+
end
|
|
129
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Invoicing/Client.html#get_invoice_pdf-instance_method
|
|
130
|
+
def get_invoice_pdf: (
|
|
131
|
+
invoice_id: ::String
|
|
132
|
+
) -> _GetInvoicePDFResponseSuccess
|
|
133
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInvoicePDFResponseSuccess
|
|
134
|
+
|
|
124
135
|
interface _GetInvoiceUnitResponseSuccess
|
|
125
136
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetInvoiceUnitResponse]
|
|
126
137
|
def invoice_unit_arn: () -> ::String
|
|
@@ -175,7 +186,8 @@ module Aws
|
|
|
175
186
|
?filters: {
|
|
176
187
|
names: Array[::String]?,
|
|
177
188
|
invoice_receivers: Array[::String]?,
|
|
178
|
-
accounts: Array[::String]
|
|
189
|
+
accounts: Array[::String]?,
|
|
190
|
+
bill_source_accounts: Array[::String]?
|
|
179
191
|
},
|
|
180
192
|
?next_token: ::String,
|
|
181
193
|
?max_results: ::Integer,
|
|
@@ -228,7 +240,8 @@ module Aws
|
|
|
228
240
|
?description: ::String,
|
|
229
241
|
?tax_inheritance_disabled: bool,
|
|
230
242
|
?rule: {
|
|
231
|
-
linked_accounts: Array[::String]
|
|
243
|
+
linked_accounts: Array[::String]?,
|
|
244
|
+
bill_source_accounts: Array[::String]?
|
|
232
245
|
}
|
|
233
246
|
) -> _UpdateInvoiceUnitResponseSuccess
|
|
234
247
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateInvoiceUnitResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -111,6 +111,17 @@ module Aws::Invoicing
|
|
|
111
111
|
attr_accessor names: ::Array[::String]
|
|
112
112
|
attr_accessor invoice_receivers: ::Array[::String]
|
|
113
113
|
attr_accessor accounts: ::Array[::String]
|
|
114
|
+
attr_accessor bill_source_accounts: ::Array[::String]
|
|
115
|
+
SENSITIVE: []
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
class GetInvoicePDFRequest
|
|
119
|
+
attr_accessor invoice_id: ::String
|
|
120
|
+
SENSITIVE: []
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
class GetInvoicePDFResponse
|
|
124
|
+
attr_accessor invoice_pdf: Types::InvoicePDF
|
|
114
125
|
SENSITIVE: []
|
|
115
126
|
end
|
|
116
127
|
|
|
@@ -146,6 +157,14 @@ module Aws::Invoicing
|
|
|
146
157
|
SENSITIVE: []
|
|
147
158
|
end
|
|
148
159
|
|
|
160
|
+
class InvoicePDF
|
|
161
|
+
attr_accessor invoice_id: ::String
|
|
162
|
+
attr_accessor document_url: ::String
|
|
163
|
+
attr_accessor document_url_expiration_date: ::Time
|
|
164
|
+
attr_accessor supplemental_documents: ::Array[Types::SupplementalDocument]
|
|
165
|
+
SENSITIVE: []
|
|
166
|
+
end
|
|
167
|
+
|
|
149
168
|
class InvoiceProfile
|
|
150
169
|
attr_accessor account_id: ::String
|
|
151
170
|
attr_accessor receiver_name: ::String
|
|
@@ -198,6 +217,7 @@ module Aws::Invoicing
|
|
|
198
217
|
|
|
199
218
|
class InvoiceUnitRule
|
|
200
219
|
attr_accessor linked_accounts: ::Array[::String]
|
|
220
|
+
attr_accessor bill_source_accounts: ::Array[::String]
|
|
201
221
|
SENSITIVE: []
|
|
202
222
|
end
|
|
203
223
|
|
|
@@ -269,6 +289,12 @@ module Aws::Invoicing
|
|
|
269
289
|
SENSITIVE: []
|
|
270
290
|
end
|
|
271
291
|
|
|
292
|
+
class SupplementalDocument
|
|
293
|
+
attr_accessor document_url: ::String
|
|
294
|
+
attr_accessor document_url_expiration_date: ::Time
|
|
295
|
+
SENSITIVE: []
|
|
296
|
+
end
|
|
297
|
+
|
|
272
298
|
class TagResourceRequest
|
|
273
299
|
attr_accessor resource_arn: ::String
|
|
274
300
|
attr_accessor resource_tags: ::Array[Types::ResourceTag]
|