aws-sdk-invoicing 1.25.0 → 1.26.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-invoicing/client.rb +58 -4
- data/lib/aws-sdk-invoicing/client_api.rb +6 -0
- data/lib/aws-sdk-invoicing/types.rb +64 -12
- data/lib/aws-sdk-invoicing.rb +1 -1
- data/sig/client.rbs +12 -6
- data/sig/types.rbs +6 -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: 859be1dff6ae971f6817fa1de7407a388d03516122c4c81853f9cc76560612d2
|
|
4
|
+
data.tar.gz: b330f9d792717ca6472506545eb25ca5ddbe4e8ea48b9de4b718e7987350812f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4c7310c2451bf33962edc39b14561b41fafda423d90dc52849b22f98aae2e6c8eacc86d190bd172d7ccb388de05b823feff9019f2900c822d5e7c791b4b26002
|
|
7
|
+
data.tar.gz: ceda127aa4e923874b5b5a0024540e4ce7f8f45a8b96a224cee8de95071d9fcd0840712301b9977ae8ec9abc3776abdd7c5731ad39e28cb72bb421bd13c83521
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.26.0 (2026-05-22)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds support for idempotency with a new ClientToken field for the CreateInvoiceUnit, DeleteInvoiceUnit, UpdateInvoiceUnit, DeleteProcurementPortalPreference, PutProcurementPortalPreference, and UpdateProcurementPortalPreferenceStatus APIs.
|
|
8
|
+
|
|
4
9
|
1.25.0 (2026-05-21)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.26.0
|
|
@@ -579,6 +579,13 @@ module Aws::Invoicing
|
|
|
579
579
|
# @option params [Array<Types::ResourceTag>] :resource_tags
|
|
580
580
|
# The tag structure that contains a tag key and value.
|
|
581
581
|
#
|
|
582
|
+
# @option params [String] :client_token
|
|
583
|
+
# A unique, case-sensitive identifier that you provide to ensure
|
|
584
|
+
# idempotency of the request.
|
|
585
|
+
#
|
|
586
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
587
|
+
# not need to pass this option.**
|
|
588
|
+
#
|
|
582
589
|
# @return [Types::CreateInvoiceUnitResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
583
590
|
#
|
|
584
591
|
# * {Types::CreateInvoiceUnitResponse#invoice_unit_arn #invoice_unit_arn} => String
|
|
@@ -587,6 +594,7 @@ module Aws::Invoicing
|
|
|
587
594
|
# @example Example: CreateInvoiceUnit
|
|
588
595
|
#
|
|
589
596
|
# resp = client.create_invoice_unit({
|
|
597
|
+
# client_token: "e362c68e-4e74-48d7-9228-0bc5aa447b42",
|
|
590
598
|
# description: "Example Invoice Unit Description",
|
|
591
599
|
# invoice_receiver: "111111111111",
|
|
592
600
|
# name: "Example Invoice Unit",
|
|
@@ -626,6 +634,7 @@ module Aws::Invoicing
|
|
|
626
634
|
# value: "ResourceTagValue", # required
|
|
627
635
|
# },
|
|
628
636
|
# ],
|
|
637
|
+
# client_token: "BasicStringWithoutSpace",
|
|
629
638
|
# })
|
|
630
639
|
#
|
|
631
640
|
# @example Response structure
|
|
@@ -856,6 +865,13 @@ module Aws::Invoicing
|
|
|
856
865
|
# The ARN to identify an invoice unit. This information can't be
|
|
857
866
|
# modified or deleted.
|
|
858
867
|
#
|
|
868
|
+
# @option params [String] :client_token
|
|
869
|
+
# A unique, case-sensitive identifier that you provide to ensure
|
|
870
|
+
# idempotency of the request.
|
|
871
|
+
#
|
|
872
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
873
|
+
# not need to pass this option.**
|
|
874
|
+
#
|
|
859
875
|
# @return [Types::DeleteInvoiceUnitResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
860
876
|
#
|
|
861
877
|
# * {Types::DeleteInvoiceUnitResponse#invoice_unit_arn #invoice_unit_arn} => String
|
|
@@ -864,6 +880,7 @@ module Aws::Invoicing
|
|
|
864
880
|
# @example Example: DeleteInvoiceUnit
|
|
865
881
|
#
|
|
866
882
|
# resp = client.delete_invoice_unit({
|
|
883
|
+
# client_token: "e362c68e-4e74-48d7-9228-0bc5aa447b44",
|
|
867
884
|
# invoice_unit_arn: "arn:aws:invoicing::000000000000:invoice-unit/12345678",
|
|
868
885
|
# })
|
|
869
886
|
#
|
|
@@ -876,6 +893,7 @@ module Aws::Invoicing
|
|
|
876
893
|
#
|
|
877
894
|
# resp = client.delete_invoice_unit({
|
|
878
895
|
# invoice_unit_arn: "InvoiceUnitArnString", # required
|
|
896
|
+
# client_token: "BasicStringWithoutSpace",
|
|
879
897
|
# })
|
|
880
898
|
#
|
|
881
899
|
# @example Response structure
|
|
@@ -904,6 +922,13 @@ module Aws::Invoicing
|
|
|
904
922
|
# The Amazon Resource Name (ARN) of the procurement portal preference to
|
|
905
923
|
# delete.
|
|
906
924
|
#
|
|
925
|
+
# @option params [String] :client_token
|
|
926
|
+
# A unique, case-sensitive identifier that you provide to ensure
|
|
927
|
+
# idempotency of the request.
|
|
928
|
+
#
|
|
929
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
930
|
+
# not need to pass this option.**
|
|
931
|
+
#
|
|
907
932
|
# @return [Types::DeleteProcurementPortalPreferenceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
908
933
|
#
|
|
909
934
|
# * {Types::DeleteProcurementPortalPreferenceResponse#procurement_portal_preference_arn #procurement_portal_preference_arn} => String
|
|
@@ -912,6 +937,7 @@ module Aws::Invoicing
|
|
|
912
937
|
# @example Example: DeleteProcurementPortalPreference call
|
|
913
938
|
#
|
|
914
939
|
# resp = client.delete_procurement_portal_preference({
|
|
940
|
+
# client_token: "e362c68e-4e74-48d7-9228-0bc5aa447b47",
|
|
915
941
|
# procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/f71dd02e-f855-4b13-b793-0fd25c0b3ecd",
|
|
916
942
|
# })
|
|
917
943
|
#
|
|
@@ -924,6 +950,7 @@ module Aws::Invoicing
|
|
|
924
950
|
#
|
|
925
951
|
# resp = client.delete_procurement_portal_preference({
|
|
926
952
|
# procurement_portal_preference_arn: "ProcurementPortalPreferenceArnString", # required
|
|
953
|
+
# client_token: "BasicStringWithoutSpace",
|
|
927
954
|
# })
|
|
928
955
|
#
|
|
929
956
|
# @example Response structure
|
|
@@ -1278,9 +1305,8 @@ module Aws::Invoicing
|
|
|
1278
1305
|
# Filters you can use to customize your invoice summary.
|
|
1279
1306
|
#
|
|
1280
1307
|
# @option params [String] :next_token
|
|
1281
|
-
# The token
|
|
1282
|
-
#
|
|
1283
|
-
# results than the maximum page size.
|
|
1308
|
+
# The token for the next set of results. (You received this token from a
|
|
1309
|
+
# previous call.)
|
|
1284
1310
|
#
|
|
1285
1311
|
# @option params [Integer] :max_results
|
|
1286
1312
|
# The maximum number of invoice summaries a paginated response can
|
|
@@ -2529,6 +2555,13 @@ module Aws::Invoicing
|
|
|
2529
2555
|
# Updated list of contact information for portal administrators and
|
|
2530
2556
|
# technical contacts.
|
|
2531
2557
|
#
|
|
2558
|
+
# @option params [String] :client_token
|
|
2559
|
+
# A unique, case-sensitive identifier that you provide to ensure
|
|
2560
|
+
# idempotency of the request.
|
|
2561
|
+
#
|
|
2562
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
2563
|
+
# not need to pass this option.**
|
|
2564
|
+
#
|
|
2532
2565
|
# @return [Types::PutProcurementPortalPreferenceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2533
2566
|
#
|
|
2534
2567
|
# * {Types::PutProcurementPortalPreferenceResponse#procurement_portal_preference_arn #procurement_portal_preference_arn} => String
|
|
@@ -2537,6 +2570,7 @@ module Aws::Invoicing
|
|
|
2537
2570
|
# @example Example: PutProcurementPortalPreference for Coupa pref
|
|
2538
2571
|
#
|
|
2539
2572
|
# resp = client.put_procurement_portal_preference({
|
|
2573
|
+
# client_token: "e362c68e-4e74-48d7-9228-0bc5aa447b45",
|
|
2540
2574
|
# contacts: [
|
|
2541
2575
|
# {
|
|
2542
2576
|
# email: "example-placeholder2@amazon.com",
|
|
@@ -2627,6 +2661,7 @@ module Aws::Invoicing
|
|
|
2627
2661
|
# email: "EmailString",
|
|
2628
2662
|
# },
|
|
2629
2663
|
# ],
|
|
2664
|
+
# client_token: "BasicStringWithoutSpace",
|
|
2630
2665
|
# })
|
|
2631
2666
|
#
|
|
2632
2667
|
# @example Response structure
|
|
@@ -2749,6 +2784,13 @@ module Aws::Invoicing
|
|
|
2749
2784
|
# @option params [Types::InvoiceUnitRule] :rule
|
|
2750
2785
|
# The `InvoiceUnitRule` object used to update invoice units.
|
|
2751
2786
|
#
|
|
2787
|
+
# @option params [String] :client_token
|
|
2788
|
+
# A unique, case-sensitive identifier that you provide to ensure
|
|
2789
|
+
# idempotency of the request.
|
|
2790
|
+
#
|
|
2791
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
2792
|
+
# not need to pass this option.**
|
|
2793
|
+
#
|
|
2752
2794
|
# @return [Types::UpdateInvoiceUnitResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2753
2795
|
#
|
|
2754
2796
|
# * {Types::UpdateInvoiceUnitResponse#invoice_unit_arn #invoice_unit_arn} => String
|
|
@@ -2757,6 +2799,7 @@ module Aws::Invoicing
|
|
|
2757
2799
|
# @example Example: UpdateInvoiceUnit with all updatable fields
|
|
2758
2800
|
#
|
|
2759
2801
|
# resp = client.update_invoice_unit({
|
|
2802
|
+
# client_token: "e362c68e-4e74-48d7-9228-0bc5aa447b42",
|
|
2760
2803
|
# description: "Updated IU description",
|
|
2761
2804
|
# invoice_unit_arn: "arn:aws:invoicing::000000000000:invoice-unit/12345678",
|
|
2762
2805
|
# rule: {
|
|
@@ -2776,6 +2819,7 @@ module Aws::Invoicing
|
|
|
2776
2819
|
# @example Example: UpdateInvoiceUnit with specific fields
|
|
2777
2820
|
#
|
|
2778
2821
|
# resp = client.update_invoice_unit({
|
|
2822
|
+
# client_token: "e362c68e-4e74-48d7-9228-0bc5aa447b43",
|
|
2779
2823
|
# description: "Updated IU description. All other fields remain unchanged",
|
|
2780
2824
|
# invoice_unit_arn: "arn:aws:invoicing::000000000000:invoice-unit/12345678",
|
|
2781
2825
|
# })
|
|
@@ -2795,6 +2839,7 @@ module Aws::Invoicing
|
|
|
2795
2839
|
# linked_accounts: ["AccountIdString"],
|
|
2796
2840
|
# bill_source_accounts: ["AccountIdString"],
|
|
2797
2841
|
# },
|
|
2842
|
+
# client_token: "BasicStringWithoutSpace",
|
|
2798
2843
|
# })
|
|
2799
2844
|
#
|
|
2800
2845
|
# @example Response structure
|
|
@@ -2837,6 +2882,13 @@ module Aws::Invoicing
|
|
|
2837
2882
|
# The reason for the purchase order retrieval preference status update,
|
|
2838
2883
|
# providing context for the change.
|
|
2839
2884
|
#
|
|
2885
|
+
# @option params [String] :client_token
|
|
2886
|
+
# A unique, case-sensitive identifier that you provide to ensure
|
|
2887
|
+
# idempotency of the request.
|
|
2888
|
+
#
|
|
2889
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
2890
|
+
# not need to pass this option.**
|
|
2891
|
+
#
|
|
2840
2892
|
# @return [Types::UpdateProcurementPortalPreferenceStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2841
2893
|
#
|
|
2842
2894
|
# * {Types::UpdateProcurementPortalPreferenceStatusResponse#procurement_portal_preference_arn #procurement_portal_preference_arn} => String
|
|
@@ -2845,6 +2897,7 @@ module Aws::Invoicing
|
|
|
2845
2897
|
# @example Example: UpdateProcurementPortalPreference for EinvoiceDeliveryPreferenceStatus and PurchaseOrderRetrievalPreferenceStatus
|
|
2846
2898
|
#
|
|
2847
2899
|
# resp = client.update_procurement_portal_preference_status({
|
|
2900
|
+
# client_token: "e362c68e-4e74-48d7-9228-0bc5aa447b46",
|
|
2848
2901
|
# einvoice_delivery_preference_status: "SUSPENDED",
|
|
2849
2902
|
# einvoice_delivery_preference_status_reason: "suspended example reason",
|
|
2850
2903
|
# procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/f71dd02e-f855-4b13-b793-0fd25c0b3ecd",
|
|
@@ -2865,6 +2918,7 @@ module Aws::Invoicing
|
|
|
2865
2918
|
# einvoice_delivery_preference_status_reason: "BasicString",
|
|
2866
2919
|
# purchase_order_retrieval_preference_status: "PENDING_VERIFICATION", # accepts PENDING_VERIFICATION, TEST_INITIALIZED, TEST_INITIALIZATION_FAILED, TEST_FAILED, ACTIVE, SUSPENDED
|
|
2867
2920
|
# purchase_order_retrieval_preference_status_reason: "BasicString",
|
|
2921
|
+
# client_token: "BasicStringWithoutSpace",
|
|
2868
2922
|
# })
|
|
2869
2923
|
#
|
|
2870
2924
|
# @example Response structure
|
|
@@ -2898,7 +2952,7 @@ module Aws::Invoicing
|
|
|
2898
2952
|
tracer: tracer
|
|
2899
2953
|
)
|
|
2900
2954
|
context[:gem_name] = 'aws-sdk-invoicing'
|
|
2901
|
-
context[:gem_version] = '1.
|
|
2955
|
+
context[:gem_version] = '1.26.0'
|
|
2902
2956
|
Seahorse::Client::Request.new(handlers, context)
|
|
2903
2957
|
end
|
|
2904
2958
|
|
|
@@ -196,6 +196,7 @@ module Aws::Invoicing
|
|
|
196
196
|
CreateInvoiceUnitRequest.add_member(:tax_inheritance_disabled, Shapes::ShapeRef.new(shape: TaxInheritanceDisabledFlag, location_name: "TaxInheritanceDisabled"))
|
|
197
197
|
CreateInvoiceUnitRequest.add_member(:rule, Shapes::ShapeRef.new(shape: InvoiceUnitRule, required: true, location_name: "Rule"))
|
|
198
198
|
CreateInvoiceUnitRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagList, location_name: "ResourceTags"))
|
|
199
|
+
CreateInvoiceUnitRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
199
200
|
CreateInvoiceUnitRequest.struct_class = Types::CreateInvoiceUnitRequest
|
|
200
201
|
|
|
201
202
|
CreateInvoiceUnitResponse.add_member(:invoice_unit_arn, Shapes::ShapeRef.new(shape: InvoiceUnitArnString, location_name: "InvoiceUnitArn"))
|
|
@@ -231,12 +232,14 @@ module Aws::Invoicing
|
|
|
231
232
|
DateInterval.struct_class = Types::DateInterval
|
|
232
233
|
|
|
233
234
|
DeleteInvoiceUnitRequest.add_member(:invoice_unit_arn, Shapes::ShapeRef.new(shape: InvoiceUnitArnString, required: true, location_name: "InvoiceUnitArn"))
|
|
235
|
+
DeleteInvoiceUnitRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
234
236
|
DeleteInvoiceUnitRequest.struct_class = Types::DeleteInvoiceUnitRequest
|
|
235
237
|
|
|
236
238
|
DeleteInvoiceUnitResponse.add_member(:invoice_unit_arn, Shapes::ShapeRef.new(shape: InvoiceUnitArnString, location_name: "InvoiceUnitArn"))
|
|
237
239
|
DeleteInvoiceUnitResponse.struct_class = Types::DeleteInvoiceUnitResponse
|
|
238
240
|
|
|
239
241
|
DeleteProcurementPortalPreferenceRequest.add_member(:procurement_portal_preference_arn, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceArnString, required: true, location_name: "ProcurementPortalPreferenceArn"))
|
|
242
|
+
DeleteProcurementPortalPreferenceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
240
243
|
DeleteProcurementPortalPreferenceRequest.struct_class = Types::DeleteProcurementPortalPreferenceRequest
|
|
241
244
|
|
|
242
245
|
DeleteProcurementPortalPreferenceResponse.add_member(:procurement_portal_preference_arn, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceArnString, required: true, location_name: "ProcurementPortalPreferenceArn"))
|
|
@@ -490,6 +493,7 @@ module Aws::Invoicing
|
|
|
490
493
|
PutProcurementPortalPreferenceRequest.add_member(:einvoice_delivery_preference, Shapes::ShapeRef.new(shape: EinvoiceDeliveryPreference, location_name: "EinvoiceDeliveryPreference"))
|
|
491
494
|
PutProcurementPortalPreferenceRequest.add_member(:purchase_order_retrieval_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "PurchaseOrderRetrievalEnabled"))
|
|
492
495
|
PutProcurementPortalPreferenceRequest.add_member(:contacts, Shapes::ShapeRef.new(shape: Contacts, required: true, location_name: "Contacts"))
|
|
496
|
+
PutProcurementPortalPreferenceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
493
497
|
PutProcurementPortalPreferenceRequest.struct_class = Types::PutProcurementPortalPreferenceRequest
|
|
494
498
|
|
|
495
499
|
PutProcurementPortalPreferenceResponse.add_member(:procurement_portal_preference_arn, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceArnString, required: true, location_name: "ProcurementPortalPreferenceArn"))
|
|
@@ -580,6 +584,7 @@ module Aws::Invoicing
|
|
|
580
584
|
UpdateInvoiceUnitRequest.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
|
|
581
585
|
UpdateInvoiceUnitRequest.add_member(:tax_inheritance_disabled, Shapes::ShapeRef.new(shape: TaxInheritanceDisabledFlag, location_name: "TaxInheritanceDisabled", metadata: {"box" => true}))
|
|
582
586
|
UpdateInvoiceUnitRequest.add_member(:rule, Shapes::ShapeRef.new(shape: InvoiceUnitRule, location_name: "Rule"))
|
|
587
|
+
UpdateInvoiceUnitRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
583
588
|
UpdateInvoiceUnitRequest.struct_class = Types::UpdateInvoiceUnitRequest
|
|
584
589
|
|
|
585
590
|
UpdateInvoiceUnitResponse.add_member(:invoice_unit_arn, Shapes::ShapeRef.new(shape: InvoiceUnitArnString, location_name: "InvoiceUnitArn"))
|
|
@@ -590,6 +595,7 @@ module Aws::Invoicing
|
|
|
590
595
|
UpdateProcurementPortalPreferenceStatusRequest.add_member(:einvoice_delivery_preference_status_reason, Shapes::ShapeRef.new(shape: BasicString, location_name: "EinvoiceDeliveryPreferenceStatusReason"))
|
|
591
596
|
UpdateProcurementPortalPreferenceStatusRequest.add_member(:purchase_order_retrieval_preference_status, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceStatus, location_name: "PurchaseOrderRetrievalPreferenceStatus"))
|
|
592
597
|
UpdateProcurementPortalPreferenceStatusRequest.add_member(:purchase_order_retrieval_preference_status_reason, Shapes::ShapeRef.new(shape: BasicString, location_name: "PurchaseOrderRetrievalPreferenceStatusReason"))
|
|
598
|
+
UpdateProcurementPortalPreferenceStatusRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
593
599
|
UpdateProcurementPortalPreferenceStatusRequest.struct_class = Types::UpdateProcurementPortalPreferenceStatusRequest
|
|
594
600
|
|
|
595
601
|
UpdateProcurementPortalPreferenceStatusResponse.add_member(:procurement_portal_preference_arn, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceArnString, required: true, location_name: "ProcurementPortalPreferenceArn"))
|
|
@@ -178,6 +178,14 @@ module Aws::Invoicing
|
|
|
178
178
|
# The tag structure that contains a tag key and value.
|
|
179
179
|
# @return [Array<Types::ResourceTag>]
|
|
180
180
|
#
|
|
181
|
+
# @!attribute [rw] client_token
|
|
182
|
+
# A unique, case-sensitive identifier that you provide to ensure
|
|
183
|
+
# idempotency of the request.
|
|
184
|
+
#
|
|
185
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
186
|
+
# not need to pass this option.
|
|
187
|
+
# @return [String]
|
|
188
|
+
#
|
|
181
189
|
# @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/CreateInvoiceUnitRequest AWS API Documentation
|
|
182
190
|
#
|
|
183
191
|
class CreateInvoiceUnitRequest < Struct.new(
|
|
@@ -186,7 +194,8 @@ module Aws::Invoicing
|
|
|
186
194
|
:description,
|
|
187
195
|
:tax_inheritance_disabled,
|
|
188
196
|
:rule,
|
|
189
|
-
:resource_tags
|
|
197
|
+
:resource_tags,
|
|
198
|
+
:client_token)
|
|
190
199
|
SENSITIVE = []
|
|
191
200
|
include Aws::Structure
|
|
192
201
|
end
|
|
@@ -371,10 +380,19 @@ module Aws::Invoicing
|
|
|
371
380
|
# modified or deleted.
|
|
372
381
|
# @return [String]
|
|
373
382
|
#
|
|
383
|
+
# @!attribute [rw] client_token
|
|
384
|
+
# A unique, case-sensitive identifier that you provide to ensure
|
|
385
|
+
# idempotency of the request.
|
|
386
|
+
#
|
|
387
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
388
|
+
# not need to pass this option.
|
|
389
|
+
# @return [String]
|
|
390
|
+
#
|
|
374
391
|
# @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/DeleteInvoiceUnitRequest AWS API Documentation
|
|
375
392
|
#
|
|
376
393
|
class DeleteInvoiceUnitRequest < Struct.new(
|
|
377
|
-
:invoice_unit_arn
|
|
394
|
+
:invoice_unit_arn,
|
|
395
|
+
:client_token)
|
|
378
396
|
SENSITIVE = []
|
|
379
397
|
include Aws::Structure
|
|
380
398
|
end
|
|
@@ -397,10 +415,19 @@ module Aws::Invoicing
|
|
|
397
415
|
# to delete.
|
|
398
416
|
# @return [String]
|
|
399
417
|
#
|
|
418
|
+
# @!attribute [rw] client_token
|
|
419
|
+
# A unique, case-sensitive identifier that you provide to ensure
|
|
420
|
+
# idempotency of the request.
|
|
421
|
+
#
|
|
422
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
423
|
+
# not need to pass this option.
|
|
424
|
+
# @return [String]
|
|
425
|
+
#
|
|
400
426
|
# @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/DeleteProcurementPortalPreferenceRequest AWS API Documentation
|
|
401
427
|
#
|
|
402
428
|
class DeleteProcurementPortalPreferenceRequest < Struct.new(
|
|
403
|
-
:procurement_portal_preference_arn
|
|
429
|
+
:procurement_portal_preference_arn,
|
|
430
|
+
:client_token)
|
|
404
431
|
SENSITIVE = []
|
|
405
432
|
include Aws::Structure
|
|
406
433
|
end
|
|
@@ -1122,9 +1149,8 @@ module Aws::Invoicing
|
|
|
1122
1149
|
# @return [Types::InvoiceSummariesFilter]
|
|
1123
1150
|
#
|
|
1124
1151
|
# @!attribute [rw] next_token
|
|
1125
|
-
# The token
|
|
1126
|
-
#
|
|
1127
|
-
# results than the maximum page size.
|
|
1152
|
+
# The token for the next set of results. (You received this token from
|
|
1153
|
+
# a previous call.)
|
|
1128
1154
|
# @return [String]
|
|
1129
1155
|
#
|
|
1130
1156
|
# @!attribute [rw] max_results
|
|
@@ -1149,9 +1175,8 @@ module Aws::Invoicing
|
|
|
1149
1175
|
# @return [Array<Types::InvoiceSummary>]
|
|
1150
1176
|
#
|
|
1151
1177
|
# @!attribute [rw] next_token
|
|
1152
|
-
# The token to retrieve the next set of results
|
|
1153
|
-
#
|
|
1154
|
-
# results than the maximum page size.
|
|
1178
|
+
# The token to use to retrieve the next set of results, or null if
|
|
1179
|
+
# there are no more results.
|
|
1155
1180
|
# @return [String]
|
|
1156
1181
|
#
|
|
1157
1182
|
# @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ListInvoiceSummariesResponse AWS API Documentation
|
|
@@ -1610,6 +1635,14 @@ module Aws::Invoicing
|
|
|
1610
1635
|
# technical contacts.
|
|
1611
1636
|
# @return [Array<Types::Contact>]
|
|
1612
1637
|
#
|
|
1638
|
+
# @!attribute [rw] client_token
|
|
1639
|
+
# A unique, case-sensitive identifier that you provide to ensure
|
|
1640
|
+
# idempotency of the request.
|
|
1641
|
+
#
|
|
1642
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
1643
|
+
# not need to pass this option.
|
|
1644
|
+
# @return [String]
|
|
1645
|
+
#
|
|
1613
1646
|
# @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/PutProcurementPortalPreferenceRequest AWS API Documentation
|
|
1614
1647
|
#
|
|
1615
1648
|
class PutProcurementPortalPreferenceRequest < Struct.new(
|
|
@@ -1621,7 +1654,8 @@ module Aws::Invoicing
|
|
|
1621
1654
|
:einvoice_delivery_enabled,
|
|
1622
1655
|
:einvoice_delivery_preference,
|
|
1623
1656
|
:purchase_order_retrieval_enabled,
|
|
1624
|
-
:contacts
|
|
1657
|
+
:contacts,
|
|
1658
|
+
:client_token)
|
|
1625
1659
|
SENSITIVE = [:procurement_portal_shared_secret, :contacts]
|
|
1626
1660
|
include Aws::Structure
|
|
1627
1661
|
end
|
|
@@ -1987,13 +2021,22 @@ module Aws::Invoicing
|
|
|
1987
2021
|
# The `InvoiceUnitRule` object used to update invoice units.
|
|
1988
2022
|
# @return [Types::InvoiceUnitRule]
|
|
1989
2023
|
#
|
|
2024
|
+
# @!attribute [rw] client_token
|
|
2025
|
+
# A unique, case-sensitive identifier that you provide to ensure
|
|
2026
|
+
# idempotency of the request.
|
|
2027
|
+
#
|
|
2028
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
2029
|
+
# not need to pass this option.
|
|
2030
|
+
# @return [String]
|
|
2031
|
+
#
|
|
1990
2032
|
# @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/UpdateInvoiceUnitRequest AWS API Documentation
|
|
1991
2033
|
#
|
|
1992
2034
|
class UpdateInvoiceUnitRequest < Struct.new(
|
|
1993
2035
|
:invoice_unit_arn,
|
|
1994
2036
|
:description,
|
|
1995
2037
|
:tax_inheritance_disabled,
|
|
1996
|
-
:rule
|
|
2038
|
+
:rule,
|
|
2039
|
+
:client_token)
|
|
1997
2040
|
SENSITIVE = []
|
|
1998
2041
|
include Aws::Structure
|
|
1999
2042
|
end
|
|
@@ -2034,6 +2077,14 @@ module Aws::Invoicing
|
|
|
2034
2077
|
# update, providing context for the change.
|
|
2035
2078
|
# @return [String]
|
|
2036
2079
|
#
|
|
2080
|
+
# @!attribute [rw] client_token
|
|
2081
|
+
# A unique, case-sensitive identifier that you provide to ensure
|
|
2082
|
+
# idempotency of the request.
|
|
2083
|
+
#
|
|
2084
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
2085
|
+
# not need to pass this option.
|
|
2086
|
+
# @return [String]
|
|
2087
|
+
#
|
|
2037
2088
|
# @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/UpdateProcurementPortalPreferenceStatusRequest AWS API Documentation
|
|
2038
2089
|
#
|
|
2039
2090
|
class UpdateProcurementPortalPreferenceStatusRequest < Struct.new(
|
|
@@ -2041,7 +2092,8 @@ module Aws::Invoicing
|
|
|
2041
2092
|
:einvoice_delivery_preference_status,
|
|
2042
2093
|
:einvoice_delivery_preference_status_reason,
|
|
2043
2094
|
:purchase_order_retrieval_preference_status,
|
|
2044
|
-
:purchase_order_retrieval_preference_status_reason
|
|
2095
|
+
:purchase_order_retrieval_preference_status_reason,
|
|
2096
|
+
:client_token)
|
|
2045
2097
|
SENSITIVE = []
|
|
2046
2098
|
include Aws::Structure
|
|
2047
2099
|
end
|
data/lib/aws-sdk-invoicing.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -108,7 +108,8 @@ module Aws
|
|
|
108
108
|
key: ::String,
|
|
109
109
|
value: ::String
|
|
110
110
|
}
|
|
111
|
-
]
|
|
111
|
+
],
|
|
112
|
+
?client_token: ::String
|
|
112
113
|
) -> _CreateInvoiceUnitResponseSuccess
|
|
113
114
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateInvoiceUnitResponseSuccess
|
|
114
115
|
|
|
@@ -155,7 +156,8 @@ module Aws
|
|
|
155
156
|
end
|
|
156
157
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Invoicing/Client.html#delete_invoice_unit-instance_method
|
|
157
158
|
def delete_invoice_unit: (
|
|
158
|
-
invoice_unit_arn: ::String
|
|
159
|
+
invoice_unit_arn: ::String,
|
|
160
|
+
?client_token: ::String
|
|
159
161
|
) -> _DeleteInvoiceUnitResponseSuccess
|
|
160
162
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteInvoiceUnitResponseSuccess
|
|
161
163
|
|
|
@@ -165,7 +167,8 @@ module Aws
|
|
|
165
167
|
end
|
|
166
168
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Invoicing/Client.html#delete_procurement_portal_preference-instance_method
|
|
167
169
|
def delete_procurement_portal_preference: (
|
|
168
|
-
procurement_portal_preference_arn: ::String
|
|
170
|
+
procurement_portal_preference_arn: ::String,
|
|
171
|
+
?client_token: ::String
|
|
169
172
|
) -> _DeleteProcurementPortalPreferenceResponseSuccess
|
|
170
173
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteProcurementPortalPreferenceResponseSuccess
|
|
171
174
|
|
|
@@ -297,7 +300,8 @@ module Aws
|
|
|
297
300
|
name: ::String?,
|
|
298
301
|
email: ::String?
|
|
299
302
|
}
|
|
300
|
-
]
|
|
303
|
+
],
|
|
304
|
+
?client_token: ::String
|
|
301
305
|
) -> _PutProcurementPortalPreferenceResponseSuccess
|
|
302
306
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutProcurementPortalPreferenceResponseSuccess
|
|
303
307
|
|
|
@@ -338,7 +342,8 @@ module Aws
|
|
|
338
342
|
?rule: {
|
|
339
343
|
linked_accounts: Array[::String]?,
|
|
340
344
|
bill_source_accounts: Array[::String]?
|
|
341
|
-
}
|
|
345
|
+
},
|
|
346
|
+
?client_token: ::String
|
|
342
347
|
) -> _UpdateInvoiceUnitResponseSuccess
|
|
343
348
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateInvoiceUnitResponseSuccess
|
|
344
349
|
|
|
@@ -352,7 +357,8 @@ module Aws
|
|
|
352
357
|
?einvoice_delivery_preference_status: ("PENDING_VERIFICATION" | "TEST_INITIALIZED" | "TEST_INITIALIZATION_FAILED" | "TEST_FAILED" | "ACTIVE" | "SUSPENDED"),
|
|
353
358
|
?einvoice_delivery_preference_status_reason: ::String,
|
|
354
359
|
?purchase_order_retrieval_preference_status: ("PENDING_VERIFICATION" | "TEST_INITIALIZED" | "TEST_INITIALIZATION_FAILED" | "TEST_FAILED" | "ACTIVE" | "SUSPENDED"),
|
|
355
|
-
?purchase_order_retrieval_preference_status_reason: ::String
|
|
360
|
+
?purchase_order_retrieval_preference_status_reason: ::String,
|
|
361
|
+
?client_token: ::String
|
|
356
362
|
) -> _UpdateProcurementPortalPreferenceStatusResponseSuccess
|
|
357
363
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProcurementPortalPreferenceStatusResponseSuccess
|
|
358
364
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -58,6 +58,7 @@ module Aws::Invoicing
|
|
|
58
58
|
attr_accessor tax_inheritance_disabled: bool
|
|
59
59
|
attr_accessor rule: Types::InvoiceUnitRule
|
|
60
60
|
attr_accessor resource_tags: ::Array[Types::ResourceTag]
|
|
61
|
+
attr_accessor client_token: ::String
|
|
61
62
|
SENSITIVE: []
|
|
62
63
|
end
|
|
63
64
|
|
|
@@ -105,6 +106,7 @@ module Aws::Invoicing
|
|
|
105
106
|
|
|
106
107
|
class DeleteInvoiceUnitRequest
|
|
107
108
|
attr_accessor invoice_unit_arn: ::String
|
|
109
|
+
attr_accessor client_token: ::String
|
|
108
110
|
SENSITIVE: []
|
|
109
111
|
end
|
|
110
112
|
|
|
@@ -115,6 +117,7 @@ module Aws::Invoicing
|
|
|
115
117
|
|
|
116
118
|
class DeleteProcurementPortalPreferenceRequest
|
|
117
119
|
attr_accessor procurement_portal_preference_arn: ::String
|
|
120
|
+
attr_accessor client_token: ::String
|
|
118
121
|
SENSITIVE: []
|
|
119
122
|
end
|
|
120
123
|
|
|
@@ -418,6 +421,7 @@ module Aws::Invoicing
|
|
|
418
421
|
attr_accessor einvoice_delivery_preference: Types::EinvoiceDeliveryPreference
|
|
419
422
|
attr_accessor purchase_order_retrieval_enabled: bool
|
|
420
423
|
attr_accessor contacts: ::Array[Types::Contact]
|
|
424
|
+
attr_accessor client_token: ::String
|
|
421
425
|
SENSITIVE: [:procurement_portal_shared_secret]
|
|
422
426
|
end
|
|
423
427
|
|
|
@@ -526,6 +530,7 @@ module Aws::Invoicing
|
|
|
526
530
|
attr_accessor description: ::String
|
|
527
531
|
attr_accessor tax_inheritance_disabled: bool
|
|
528
532
|
attr_accessor rule: Types::InvoiceUnitRule
|
|
533
|
+
attr_accessor client_token: ::String
|
|
529
534
|
SENSITIVE: []
|
|
530
535
|
end
|
|
531
536
|
|
|
@@ -540,6 +545,7 @@ module Aws::Invoicing
|
|
|
540
545
|
attr_accessor einvoice_delivery_preference_status_reason: ::String
|
|
541
546
|
attr_accessor purchase_order_retrieval_preference_status: ("PENDING_VERIFICATION" | "TEST_INITIALIZED" | "TEST_INITIALIZATION_FAILED" | "TEST_FAILED" | "ACTIVE" | "SUSPENDED")
|
|
542
547
|
attr_accessor purchase_order_retrieval_preference_status_reason: ::String
|
|
548
|
+
attr_accessor client_token: ::String
|
|
543
549
|
SENSITIVE: []
|
|
544
550
|
end
|
|
545
551
|
|