aws-sdk-invoicing 1.24.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-invoicing/client.rb +63 -11
- 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 +3 -3
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,16 @@
|
|
|
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
|
+
|
|
9
|
+
1.25.0 (2026-05-21)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.24.0 (2026-05-19)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.26.0
|
|
@@ -199,7 +199,7 @@ module Aws::Invoicing
|
|
|
199
199
|
# the required types.
|
|
200
200
|
#
|
|
201
201
|
# @option options [Boolean] :correct_clock_skew (true)
|
|
202
|
-
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
|
202
|
+
# Used only in `standard` and `adaptive` retry modes. Specifies whether to apply
|
|
203
203
|
# a clock skew correction and retry requests with skewed client clocks.
|
|
204
204
|
#
|
|
205
205
|
# @option options [String] :defaults_mode ("legacy")
|
|
@@ -323,17 +323,15 @@ module Aws::Invoicing
|
|
|
323
323
|
# @option options [String] :retry_mode ("legacy")
|
|
324
324
|
# Specifies which retry algorithm to use. Values are:
|
|
325
325
|
#
|
|
326
|
-
# * `legacy` - The pre-existing retry behavior.
|
|
327
|
-
# no retry mode is provided.
|
|
326
|
+
# * `legacy` - The pre-existing retry behavior. This is the default
|
|
327
|
+
# value if no retry mode is provided.
|
|
328
328
|
#
|
|
329
329
|
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
|
330
330
|
# This includes support for retry quotas, which limit the number of
|
|
331
331
|
# unsuccessful retries a client can make.
|
|
332
332
|
#
|
|
333
|
-
# * `adaptive` -
|
|
334
|
-
#
|
|
335
|
-
# throttling. This is a provisional mode that may change behavior
|
|
336
|
-
# in the future.
|
|
333
|
+
# * `adaptive` - A retry mode that includes all the functionality of
|
|
334
|
+
# `standard` mode along with automatic client side throttling.
|
|
337
335
|
#
|
|
338
336
|
# @option options [String] :sdk_ua_app_id
|
|
339
337
|
# A unique and opaque application ID that is appended to the
|
|
@@ -581,6 +579,13 @@ module Aws::Invoicing
|
|
|
581
579
|
# @option params [Array<Types::ResourceTag>] :resource_tags
|
|
582
580
|
# The tag structure that contains a tag key and value.
|
|
583
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
|
+
#
|
|
584
589
|
# @return [Types::CreateInvoiceUnitResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
585
590
|
#
|
|
586
591
|
# * {Types::CreateInvoiceUnitResponse#invoice_unit_arn #invoice_unit_arn} => String
|
|
@@ -589,6 +594,7 @@ module Aws::Invoicing
|
|
|
589
594
|
# @example Example: CreateInvoiceUnit
|
|
590
595
|
#
|
|
591
596
|
# resp = client.create_invoice_unit({
|
|
597
|
+
# client_token: "e362c68e-4e74-48d7-9228-0bc5aa447b42",
|
|
592
598
|
# description: "Example Invoice Unit Description",
|
|
593
599
|
# invoice_receiver: "111111111111",
|
|
594
600
|
# name: "Example Invoice Unit",
|
|
@@ -628,6 +634,7 @@ module Aws::Invoicing
|
|
|
628
634
|
# value: "ResourceTagValue", # required
|
|
629
635
|
# },
|
|
630
636
|
# ],
|
|
637
|
+
# client_token: "BasicStringWithoutSpace",
|
|
631
638
|
# })
|
|
632
639
|
#
|
|
633
640
|
# @example Response structure
|
|
@@ -858,6 +865,13 @@ module Aws::Invoicing
|
|
|
858
865
|
# The ARN to identify an invoice unit. This information can't be
|
|
859
866
|
# modified or deleted.
|
|
860
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
|
+
#
|
|
861
875
|
# @return [Types::DeleteInvoiceUnitResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
862
876
|
#
|
|
863
877
|
# * {Types::DeleteInvoiceUnitResponse#invoice_unit_arn #invoice_unit_arn} => String
|
|
@@ -866,6 +880,7 @@ module Aws::Invoicing
|
|
|
866
880
|
# @example Example: DeleteInvoiceUnit
|
|
867
881
|
#
|
|
868
882
|
# resp = client.delete_invoice_unit({
|
|
883
|
+
# client_token: "e362c68e-4e74-48d7-9228-0bc5aa447b44",
|
|
869
884
|
# invoice_unit_arn: "arn:aws:invoicing::000000000000:invoice-unit/12345678",
|
|
870
885
|
# })
|
|
871
886
|
#
|
|
@@ -878,6 +893,7 @@ module Aws::Invoicing
|
|
|
878
893
|
#
|
|
879
894
|
# resp = client.delete_invoice_unit({
|
|
880
895
|
# invoice_unit_arn: "InvoiceUnitArnString", # required
|
|
896
|
+
# client_token: "BasicStringWithoutSpace",
|
|
881
897
|
# })
|
|
882
898
|
#
|
|
883
899
|
# @example Response structure
|
|
@@ -906,6 +922,13 @@ module Aws::Invoicing
|
|
|
906
922
|
# The Amazon Resource Name (ARN) of the procurement portal preference to
|
|
907
923
|
# delete.
|
|
908
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
|
+
#
|
|
909
932
|
# @return [Types::DeleteProcurementPortalPreferenceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
910
933
|
#
|
|
911
934
|
# * {Types::DeleteProcurementPortalPreferenceResponse#procurement_portal_preference_arn #procurement_portal_preference_arn} => String
|
|
@@ -914,6 +937,7 @@ module Aws::Invoicing
|
|
|
914
937
|
# @example Example: DeleteProcurementPortalPreference call
|
|
915
938
|
#
|
|
916
939
|
# resp = client.delete_procurement_portal_preference({
|
|
940
|
+
# client_token: "e362c68e-4e74-48d7-9228-0bc5aa447b47",
|
|
917
941
|
# procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/f71dd02e-f855-4b13-b793-0fd25c0b3ecd",
|
|
918
942
|
# })
|
|
919
943
|
#
|
|
@@ -926,6 +950,7 @@ module Aws::Invoicing
|
|
|
926
950
|
#
|
|
927
951
|
# resp = client.delete_procurement_portal_preference({
|
|
928
952
|
# procurement_portal_preference_arn: "ProcurementPortalPreferenceArnString", # required
|
|
953
|
+
# client_token: "BasicStringWithoutSpace",
|
|
929
954
|
# })
|
|
930
955
|
#
|
|
931
956
|
# @example Response structure
|
|
@@ -1280,9 +1305,8 @@ module Aws::Invoicing
|
|
|
1280
1305
|
# Filters you can use to customize your invoice summary.
|
|
1281
1306
|
#
|
|
1282
1307
|
# @option params [String] :next_token
|
|
1283
|
-
# The token
|
|
1284
|
-
#
|
|
1285
|
-
# results than the maximum page size.
|
|
1308
|
+
# The token for the next set of results. (You received this token from a
|
|
1309
|
+
# previous call.)
|
|
1286
1310
|
#
|
|
1287
1311
|
# @option params [Integer] :max_results
|
|
1288
1312
|
# The maximum number of invoice summaries a paginated response can
|
|
@@ -2531,6 +2555,13 @@ module Aws::Invoicing
|
|
|
2531
2555
|
# Updated list of contact information for portal administrators and
|
|
2532
2556
|
# technical contacts.
|
|
2533
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
|
+
#
|
|
2534
2565
|
# @return [Types::PutProcurementPortalPreferenceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2535
2566
|
#
|
|
2536
2567
|
# * {Types::PutProcurementPortalPreferenceResponse#procurement_portal_preference_arn #procurement_portal_preference_arn} => String
|
|
@@ -2539,6 +2570,7 @@ module Aws::Invoicing
|
|
|
2539
2570
|
# @example Example: PutProcurementPortalPreference for Coupa pref
|
|
2540
2571
|
#
|
|
2541
2572
|
# resp = client.put_procurement_portal_preference({
|
|
2573
|
+
# client_token: "e362c68e-4e74-48d7-9228-0bc5aa447b45",
|
|
2542
2574
|
# contacts: [
|
|
2543
2575
|
# {
|
|
2544
2576
|
# email: "example-placeholder2@amazon.com",
|
|
@@ -2629,6 +2661,7 @@ module Aws::Invoicing
|
|
|
2629
2661
|
# email: "EmailString",
|
|
2630
2662
|
# },
|
|
2631
2663
|
# ],
|
|
2664
|
+
# client_token: "BasicStringWithoutSpace",
|
|
2632
2665
|
# })
|
|
2633
2666
|
#
|
|
2634
2667
|
# @example Response structure
|
|
@@ -2751,6 +2784,13 @@ module Aws::Invoicing
|
|
|
2751
2784
|
# @option params [Types::InvoiceUnitRule] :rule
|
|
2752
2785
|
# The `InvoiceUnitRule` object used to update invoice units.
|
|
2753
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
|
+
#
|
|
2754
2794
|
# @return [Types::UpdateInvoiceUnitResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2755
2795
|
#
|
|
2756
2796
|
# * {Types::UpdateInvoiceUnitResponse#invoice_unit_arn #invoice_unit_arn} => String
|
|
@@ -2759,6 +2799,7 @@ module Aws::Invoicing
|
|
|
2759
2799
|
# @example Example: UpdateInvoiceUnit with all updatable fields
|
|
2760
2800
|
#
|
|
2761
2801
|
# resp = client.update_invoice_unit({
|
|
2802
|
+
# client_token: "e362c68e-4e74-48d7-9228-0bc5aa447b42",
|
|
2762
2803
|
# description: "Updated IU description",
|
|
2763
2804
|
# invoice_unit_arn: "arn:aws:invoicing::000000000000:invoice-unit/12345678",
|
|
2764
2805
|
# rule: {
|
|
@@ -2778,6 +2819,7 @@ module Aws::Invoicing
|
|
|
2778
2819
|
# @example Example: UpdateInvoiceUnit with specific fields
|
|
2779
2820
|
#
|
|
2780
2821
|
# resp = client.update_invoice_unit({
|
|
2822
|
+
# client_token: "e362c68e-4e74-48d7-9228-0bc5aa447b43",
|
|
2781
2823
|
# description: "Updated IU description. All other fields remain unchanged",
|
|
2782
2824
|
# invoice_unit_arn: "arn:aws:invoicing::000000000000:invoice-unit/12345678",
|
|
2783
2825
|
# })
|
|
@@ -2797,6 +2839,7 @@ module Aws::Invoicing
|
|
|
2797
2839
|
# linked_accounts: ["AccountIdString"],
|
|
2798
2840
|
# bill_source_accounts: ["AccountIdString"],
|
|
2799
2841
|
# },
|
|
2842
|
+
# client_token: "BasicStringWithoutSpace",
|
|
2800
2843
|
# })
|
|
2801
2844
|
#
|
|
2802
2845
|
# @example Response structure
|
|
@@ -2839,6 +2882,13 @@ module Aws::Invoicing
|
|
|
2839
2882
|
# The reason for the purchase order retrieval preference status update,
|
|
2840
2883
|
# providing context for the change.
|
|
2841
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
|
+
#
|
|
2842
2892
|
# @return [Types::UpdateProcurementPortalPreferenceStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2843
2893
|
#
|
|
2844
2894
|
# * {Types::UpdateProcurementPortalPreferenceStatusResponse#procurement_portal_preference_arn #procurement_portal_preference_arn} => String
|
|
@@ -2847,6 +2897,7 @@ module Aws::Invoicing
|
|
|
2847
2897
|
# @example Example: UpdateProcurementPortalPreference for EinvoiceDeliveryPreferenceStatus and PurchaseOrderRetrievalPreferenceStatus
|
|
2848
2898
|
#
|
|
2849
2899
|
# resp = client.update_procurement_portal_preference_status({
|
|
2900
|
+
# client_token: "e362c68e-4e74-48d7-9228-0bc5aa447b46",
|
|
2850
2901
|
# einvoice_delivery_preference_status: "SUSPENDED",
|
|
2851
2902
|
# einvoice_delivery_preference_status_reason: "suspended example reason",
|
|
2852
2903
|
# procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/f71dd02e-f855-4b13-b793-0fd25c0b3ecd",
|
|
@@ -2867,6 +2918,7 @@ module Aws::Invoicing
|
|
|
2867
2918
|
# einvoice_delivery_preference_status_reason: "BasicString",
|
|
2868
2919
|
# purchase_order_retrieval_preference_status: "PENDING_VERIFICATION", # accepts PENDING_VERIFICATION, TEST_INITIALIZED, TEST_INITIALIZATION_FAILED, TEST_FAILED, ACTIVE, SUSPENDED
|
|
2869
2920
|
# purchase_order_retrieval_preference_status_reason: "BasicString",
|
|
2921
|
+
# client_token: "BasicStringWithoutSpace",
|
|
2870
2922
|
# })
|
|
2871
2923
|
#
|
|
2872
2924
|
# @example Response structure
|
|
@@ -2900,7 +2952,7 @@ module Aws::Invoicing
|
|
|
2900
2952
|
tracer: tracer
|
|
2901
2953
|
)
|
|
2902
2954
|
context[:gem_name] = 'aws-sdk-invoicing'
|
|
2903
|
-
context[:gem_version] = '1.
|
|
2955
|
+
context[:gem_version] = '1.26.0'
|
|
2904
2956
|
Seahorse::Client::Request.new(handlers, context)
|
|
2905
2957
|
end
|
|
2906
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
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-invoicing
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.26.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.248.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.248.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|