aws-sdk-invoicing 1.27.0 → 1.28.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81253ec8fc10b991e2bcbd67d4636dbb3acfd700783a39d9ec379fab6da1e9e7
4
- data.tar.gz: 66ddfd3886b49dbb0f00bfbbeeb7a7100c5a1c94341b9a9fd5a5e32e2b564c19
3
+ metadata.gz: 4fd82d64383479652f78c3a7aabdbc94d53dc372145dc080b8e698ced6523ae8
4
+ data.tar.gz: 700fa921261f4675afa0c27953872af1fb99ec541eed825dec363e3ab7ce4057
5
5
  SHA512:
6
- metadata.gz: 526b48f2e7ca9e17fdf0d02632f49d7e75c9899eb6e8fc046f177ac4e38307a5530d908f720bd2ad26501928a082f2971fb299f15f595be64236674527c2b899
7
- data.tar.gz: a694304ddb750870c254b4a92a25e24a932706c6989802febcddd95dcf1de910bdb14eccd5e14e1af768285c255e7587a7e128f40633b152588915d5eaf24a36
6
+ metadata.gz: 42a06bc80dfd02bb813ad31084a095ca1b4968a0fdd2cc2dbf65c6c929cdd8486b0520c8f9f47716d8ab4632521704c07a6b367b9b8078bf977dc58ff09de5e4
7
+ data.tar.gz: 4472ae3ff951f0b0e2cc94b7b945ecca2b59d01a85929e5364cae786e2f65754b80038f8a5453fe41ba0bedfd6b0bdb9b95932aaf0e68c0ebdd324ea7c9ab476
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.28.0 (2026-07-21)
5
+ ------------------
6
+
7
+ * Feature - Added the SendProcurementPortalValidation and VerifyProcurementPortalValidation APIs. You can use the AWS SDKs to self-service activate your Procurement Portal Preferences created on the Billing Preferences page with a one-time-passcode (OTP) delivered to your portal.
8
+
4
9
  1.27.0 (2026-07-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.27.0
1
+ 1.28.0
@@ -1276,9 +1276,9 @@ module Aws::Invoicing
1276
1276
  # resp.procurement_portal_preference.contacts #=> Array
1277
1277
  # resp.procurement_portal_preference.contacts[0].name #=> String
1278
1278
  # resp.procurement_portal_preference.contacts[0].email #=> String
1279
- # resp.procurement_portal_preference.einvoice_delivery_preference_status #=> String, one of "PENDING_VERIFICATION", "TEST_INITIALIZED", "TEST_INITIALIZATION_FAILED", "TEST_FAILED", "ACTIVE", "SUSPENDED"
1279
+ # resp.procurement_portal_preference.einvoice_delivery_preference_status #=> String, one of "PENDING_VERIFICATION", "VALIDATED", "TEST_INITIALIZED", "TEST_INITIALIZATION_FAILED", "TEST_FAILED", "ACTIVE", "SUSPENDED"
1280
1280
  # resp.procurement_portal_preference.einvoice_delivery_preference_status_reason #=> String
1281
- # resp.procurement_portal_preference.purchase_order_retrieval_preference_status #=> String, one of "PENDING_VERIFICATION", "TEST_INITIALIZED", "TEST_INITIALIZATION_FAILED", "TEST_FAILED", "ACTIVE", "SUSPENDED"
1281
+ # resp.procurement_portal_preference.purchase_order_retrieval_preference_status #=> String, one of "PENDING_VERIFICATION", "VALIDATED", "TEST_INITIALIZED", "TEST_INITIALIZATION_FAILED", "TEST_FAILED", "ACTIVE", "SUSPENDED"
1282
1282
  # resp.procurement_portal_preference.purchase_order_retrieval_preference_status_reason #=> String
1283
1283
  # resp.procurement_portal_preference.version #=> Integer
1284
1284
  # resp.procurement_portal_preference.create_date #=> Time
@@ -2445,9 +2445,9 @@ module Aws::Invoicing
2445
2445
  # resp.procurement_portal_preferences[0].selector.seller_of_records[0] #=> String
2446
2446
  # resp.procurement_portal_preferences[0].einvoice_delivery_enabled #=> Boolean
2447
2447
  # resp.procurement_portal_preferences[0].purchase_order_retrieval_enabled #=> Boolean
2448
- # resp.procurement_portal_preferences[0].einvoice_delivery_preference_status #=> String, one of "PENDING_VERIFICATION", "TEST_INITIALIZED", "TEST_INITIALIZATION_FAILED", "TEST_FAILED", "ACTIVE", "SUSPENDED"
2448
+ # resp.procurement_portal_preferences[0].einvoice_delivery_preference_status #=> String, one of "PENDING_VERIFICATION", "VALIDATED", "TEST_INITIALIZED", "TEST_INITIALIZATION_FAILED", "TEST_FAILED", "ACTIVE", "SUSPENDED"
2449
2449
  # resp.procurement_portal_preferences[0].einvoice_delivery_preference_status_reason #=> String
2450
- # resp.procurement_portal_preferences[0].purchase_order_retrieval_preference_status #=> String, one of "PENDING_VERIFICATION", "TEST_INITIALIZED", "TEST_INITIALIZATION_FAILED", "TEST_FAILED", "ACTIVE", "SUSPENDED"
2450
+ # resp.procurement_portal_preferences[0].purchase_order_retrieval_preference_status #=> String, one of "PENDING_VERIFICATION", "VALIDATED", "TEST_INITIALIZED", "TEST_INITIALIZATION_FAILED", "TEST_FAILED", "ACTIVE", "SUSPENDED"
2451
2451
  # resp.procurement_portal_preferences[0].purchase_order_retrieval_preference_status_reason #=> String
2452
2452
  # resp.procurement_portal_preferences[0].version #=> Integer
2453
2453
  # resp.procurement_portal_preferences[0].create_date #=> Time
@@ -2677,6 +2677,64 @@ module Aws::Invoicing
2677
2677
  req.send_request(options)
2678
2678
  end
2679
2679
 
2680
+ # <i> <b>This feature API is subject to changing at any time. For more
2681
+ # information, see the <a
2682
+ # href="https://aws.amazon.com/service-terms/">Amazon Web Services
2683
+ # Service Terms</a> (Betas and Previews).</b> </i>
2684
+ #
2685
+ # Sends a validation request for a procurement portal preference. This
2686
+ # operation initiates the validation process by issuing a validation
2687
+ # code that confirms ownership and connectivity of the configured
2688
+ # procurement portal endpoint. Use `VerifyProcurementPortalValidation`
2689
+ # to submit the received code and complete validation.
2690
+ #
2691
+ # @option params [required, String] :procurement_portal_preference_arn
2692
+ # The Amazon Resource Name (ARN) of the procurement portal preference to
2693
+ # validate.
2694
+ #
2695
+ # @option params [String] :client_token
2696
+ # A unique, case-sensitive identifier that you provide to ensure
2697
+ # idempotency of the request.
2698
+ #
2699
+ # **A suitable default value is auto-generated.** You should normally
2700
+ # not need to pass this option.**
2701
+ #
2702
+ # @return [Types::SendProcurementPortalValidationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2703
+ #
2704
+ # * {Types::SendProcurementPortalValidationResponse#procurement_portal_preference_arn #procurement_portal_preference_arn} => String
2705
+ #
2706
+ #
2707
+ # @example Example: SendProcurementPortalValidation call
2708
+ #
2709
+ # resp = client.send_procurement_portal_validation({
2710
+ # procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/f71dd02e-f855-4b13-b793-0fd25c0b3ecd",
2711
+ # })
2712
+ #
2713
+ # resp.to_h outputs the following:
2714
+ # {
2715
+ # procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/f71dd02e-f855-4b13-b793-0fd25c0b3ecd",
2716
+ # }
2717
+ #
2718
+ # @example Request syntax with placeholder values
2719
+ #
2720
+ # resp = client.send_procurement_portal_validation({
2721
+ # procurement_portal_preference_arn: "ProcurementPortalPreferenceArnString", # required
2722
+ # client_token: "BasicStringWithoutSpace",
2723
+ # })
2724
+ #
2725
+ # @example Response structure
2726
+ #
2727
+ # resp.procurement_portal_preference_arn #=> String
2728
+ #
2729
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/SendProcurementPortalValidation AWS API Documentation
2730
+ #
2731
+ # @overload send_procurement_portal_validation(params = {})
2732
+ # @param [Hash] params ({})
2733
+ def send_procurement_portal_validation(params = {}, options = {})
2734
+ req = build_request(:send_procurement_portal_validation, params)
2735
+ req.send_request(options)
2736
+ end
2737
+
2680
2738
  # Adds a tag to a resource.
2681
2739
  #
2682
2740
  # @option params [required, String] :resource_arn
@@ -2914,9 +2972,9 @@ module Aws::Invoicing
2914
2972
  #
2915
2973
  # resp = client.update_procurement_portal_preference_status({
2916
2974
  # procurement_portal_preference_arn: "ProcurementPortalPreferenceArnString", # required
2917
- # einvoice_delivery_preference_status: "PENDING_VERIFICATION", # accepts PENDING_VERIFICATION, TEST_INITIALIZED, TEST_INITIALIZATION_FAILED, TEST_FAILED, ACTIVE, SUSPENDED
2975
+ # einvoice_delivery_preference_status: "PENDING_VERIFICATION", # accepts PENDING_VERIFICATION, VALIDATED, TEST_INITIALIZED, TEST_INITIALIZATION_FAILED, TEST_FAILED, ACTIVE, SUSPENDED
2918
2976
  # einvoice_delivery_preference_status_reason: "BasicString",
2919
- # purchase_order_retrieval_preference_status: "PENDING_VERIFICATION", # accepts PENDING_VERIFICATION, TEST_INITIALIZED, TEST_INITIALIZATION_FAILED, TEST_FAILED, ACTIVE, SUSPENDED
2977
+ # purchase_order_retrieval_preference_status: "PENDING_VERIFICATION", # accepts PENDING_VERIFICATION, VALIDATED, TEST_INITIALIZED, TEST_INITIALIZATION_FAILED, TEST_FAILED, ACTIVE, SUSPENDED
2920
2978
  # purchase_order_retrieval_preference_status_reason: "BasicString",
2921
2979
  # client_token: "BasicStringWithoutSpace",
2922
2980
  # })
@@ -2934,6 +2992,69 @@ module Aws::Invoicing
2934
2992
  req.send_request(options)
2935
2993
  end
2936
2994
 
2995
+ # <i> <b>This feature API is subject to changing at any time. For more
2996
+ # information, see the <a
2997
+ # href="https://aws.amazon.com/service-terms/">Amazon Web Services
2998
+ # Service Terms</a> (Betas and Previews).</b> </i>
2999
+ #
3000
+ # Submits a validation code to complete the validation of a procurement
3001
+ # portal preference. Use this operation after calling
3002
+ # `SendProcurementPortalValidation` to confirm ownership and
3003
+ # connectivity of the configured procurement portal endpoint.
3004
+ #
3005
+ # @option params [required, String] :procurement_portal_preference_arn
3006
+ # The Amazon Resource Name (ARN) of the procurement portal preference to
3007
+ # validate.
3008
+ #
3009
+ # @option params [required, String] :code
3010
+ # The validation code received from the procurement portal in response
3011
+ # to a previous `SendProcurementPortalValidation` request.
3012
+ #
3013
+ # @option params [String] :client_token
3014
+ # A unique, case-sensitive identifier that you provide to ensure
3015
+ # idempotency of the request.
3016
+ #
3017
+ # **A suitable default value is auto-generated.** You should normally
3018
+ # not need to pass this option.**
3019
+ #
3020
+ # @return [Types::VerifyProcurementPortalValidationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3021
+ #
3022
+ # * {Types::VerifyProcurementPortalValidationResponse#procurement_portal_preference_arn #procurement_portal_preference_arn} => String
3023
+ #
3024
+ #
3025
+ # @example Example: VerifyProcurementPortalValidation call
3026
+ #
3027
+ # resp = client.verify_procurement_portal_validation({
3028
+ # code: "validation-code-123",
3029
+ # procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/f71dd02e-f855-4b13-b793-0fd25c0b3ecd",
3030
+ # })
3031
+ #
3032
+ # resp.to_h outputs the following:
3033
+ # {
3034
+ # procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/f71dd02e-f855-4b13-b793-0fd25c0b3ecd",
3035
+ # }
3036
+ #
3037
+ # @example Request syntax with placeholder values
3038
+ #
3039
+ # resp = client.verify_procurement_portal_validation({
3040
+ # procurement_portal_preference_arn: "ProcurementPortalPreferenceArnString", # required
3041
+ # code: "BasicStringWithoutSpace", # required
3042
+ # client_token: "BasicStringWithoutSpace",
3043
+ # })
3044
+ #
3045
+ # @example Response structure
3046
+ #
3047
+ # resp.procurement_portal_preference_arn #=> String
3048
+ #
3049
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/VerifyProcurementPortalValidation AWS API Documentation
3050
+ #
3051
+ # @overload verify_procurement_portal_validation(params = {})
3052
+ # @param [Hash] params ({})
3053
+ def verify_procurement_portal_validation(params = {}, options = {})
3054
+ req = build_request(:verify_procurement_portal_validation, params)
3055
+ req.send_request(options)
3056
+ end
3057
+
2937
3058
  # @!endgroup
2938
3059
 
2939
3060
  # @param params ({})
@@ -2952,7 +3073,7 @@ module Aws::Invoicing
2952
3073
  tracer: tracer
2953
3074
  )
2954
3075
  context[:gem_name] = 'aws-sdk-invoicing'
2955
- context[:gem_version] = '1.27.0'
3076
+ context[:gem_version] = '1.28.0'
2956
3077
  Seahorse::Client::Request.new(handlers, context)
2957
3078
  end
2958
3079
 
@@ -124,6 +124,8 @@ module Aws::Invoicing
124
124
  ResourceTagValue = Shapes::StringShape.new(name: 'ResourceTagValue')
125
125
  RuleAccountIdList = Shapes::ListShape.new(name: 'RuleAccountIdList')
126
126
  SellerOfRecords = Shapes::ListShape.new(name: 'SellerOfRecords')
127
+ SendProcurementPortalValidationRequest = Shapes::StructureShape.new(name: 'SendProcurementPortalValidationRequest')
128
+ SendProcurementPortalValidationResponse = Shapes::StructureShape.new(name: 'SendProcurementPortalValidationResponse')
127
129
  SensitiveBasicStringWithoutSpace = Shapes::StringShape.new(name: 'SensitiveBasicStringWithoutSpace')
128
130
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
129
131
  StringWithoutNewLine = Shapes::StringShape.new(name: 'StringWithoutNewLine')
@@ -153,6 +155,8 @@ module Aws::Invoicing
153
155
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
154
156
  ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
155
157
  ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
158
+ VerifyProcurementPortalValidationRequest = Shapes::StructureShape.new(name: 'VerifyProcurementPortalValidationRequest')
159
+ VerifyProcurementPortalValidationResponse = Shapes::StructureShape.new(name: 'VerifyProcurementPortalValidationResponse')
156
160
  Year = Shapes::IntegerShape.new(name: 'Year')
157
161
 
158
162
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: BasicString, location_name: "message"))
@@ -526,6 +530,13 @@ module Aws::Invoicing
526
530
 
527
531
  SellerOfRecords.member = Shapes::ShapeRef.new(shape: BasicStringWithoutSpace)
528
532
 
533
+ SendProcurementPortalValidationRequest.add_member(:procurement_portal_preference_arn, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceArnString, required: true, location_name: "ProcurementPortalPreferenceArn"))
534
+ SendProcurementPortalValidationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
535
+ SendProcurementPortalValidationRequest.struct_class = Types::SendProcurementPortalValidationRequest
536
+
537
+ SendProcurementPortalValidationResponse.add_member(:procurement_portal_preference_arn, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceArnString, required: true, location_name: "ProcurementPortalPreferenceArn"))
538
+ SendProcurementPortalValidationResponse.struct_class = Types::SendProcurementPortalValidationResponse
539
+
529
540
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: BasicString, required: true, location_name: "message"))
530
541
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
531
542
 
@@ -613,6 +624,14 @@ module Aws::Invoicing
613
624
 
614
625
  ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
615
626
 
627
+ VerifyProcurementPortalValidationRequest.add_member(:procurement_portal_preference_arn, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceArnString, required: true, location_name: "ProcurementPortalPreferenceArn"))
628
+ VerifyProcurementPortalValidationRequest.add_member(:code, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, required: true, location_name: "Code"))
629
+ VerifyProcurementPortalValidationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
630
+ VerifyProcurementPortalValidationRequest.struct_class = Types::VerifyProcurementPortalValidationRequest
631
+
632
+ VerifyProcurementPortalValidationResponse.add_member(:procurement_portal_preference_arn, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceArnString, required: true, location_name: "ProcurementPortalPreferenceArn"))
633
+ VerifyProcurementPortalValidationResponse.struct_class = Types::VerifyProcurementPortalValidationResponse
634
+
616
635
 
617
636
  # @api private
618
637
  API = Seahorse::Model::Api.new.tap do |api|
@@ -826,6 +845,19 @@ module Aws::Invoicing
826
845
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
827
846
  end)
828
847
 
848
+ api.add_operation(:send_procurement_portal_validation, Seahorse::Model::Operation.new.tap do |o|
849
+ o.name = "SendProcurementPortalValidation"
850
+ o.http_method = "POST"
851
+ o.http_request_uri = "/"
852
+ o.input = Shapes::ShapeRef.new(shape: SendProcurementPortalValidationRequest)
853
+ o.output = Shapes::ShapeRef.new(shape: SendProcurementPortalValidationResponse)
854
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
855
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
856
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
857
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
858
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
859
+ end)
860
+
829
861
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
830
862
  o.name = "TagResource"
831
863
  o.http_method = "POST"
@@ -880,6 +912,19 @@ module Aws::Invoicing
880
912
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
881
913
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
882
914
  end)
915
+
916
+ api.add_operation(:verify_procurement_portal_validation, Seahorse::Model::Operation.new.tap do |o|
917
+ o.name = "VerifyProcurementPortalValidation"
918
+ o.http_method = "POST"
919
+ o.http_request_uri = "/"
920
+ o.input = Shapes::ShapeRef.new(shape: VerifyProcurementPortalValidationRequest)
921
+ o.output = Shapes::ShapeRef.new(shape: VerifyProcurementPortalValidationResponse)
922
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
923
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
924
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
925
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
926
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
927
+ end)
883
928
  end
884
929
 
885
930
  end
@@ -1764,6 +1764,41 @@ module Aws::Invoicing
1764
1764
  include Aws::Structure
1765
1765
  end
1766
1766
 
1767
+ # @!attribute [rw] procurement_portal_preference_arn
1768
+ # The Amazon Resource Name (ARN) of the procurement portal preference
1769
+ # to validate.
1770
+ # @return [String]
1771
+ #
1772
+ # @!attribute [rw] client_token
1773
+ # A unique, case-sensitive identifier that you provide to ensure
1774
+ # idempotency of the request.
1775
+ #
1776
+ # **A suitable default value is auto-generated.** You should normally
1777
+ # not need to pass this option.
1778
+ # @return [String]
1779
+ #
1780
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/SendProcurementPortalValidationRequest AWS API Documentation
1781
+ #
1782
+ class SendProcurementPortalValidationRequest < Struct.new(
1783
+ :procurement_portal_preference_arn,
1784
+ :client_token)
1785
+ SENSITIVE = []
1786
+ include Aws::Structure
1787
+ end
1788
+
1789
+ # @!attribute [rw] procurement_portal_preference_arn
1790
+ # The Amazon Resource Name (ARN) of the procurement portal preference
1791
+ # for which the validation request was sent.
1792
+ # @return [String]
1793
+ #
1794
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/SendProcurementPortalValidationResponse AWS API Documentation
1795
+ #
1796
+ class SendProcurementPortalValidationResponse < Struct.new(
1797
+ :procurement_portal_preference_arn)
1798
+ SENSITIVE = []
1799
+ include Aws::Structure
1800
+ end
1801
+
1767
1802
  # The request was rejected because it attempted to create resources
1768
1803
  # beyond the current Amazon Web Services account limits. The error
1769
1804
  # message describes the limit exceeded.
@@ -2163,6 +2198,47 @@ module Aws::Invoicing
2163
2198
  include Aws::Structure
2164
2199
  end
2165
2200
 
2201
+ # @!attribute [rw] procurement_portal_preference_arn
2202
+ # The Amazon Resource Name (ARN) of the procurement portal preference
2203
+ # to validate.
2204
+ # @return [String]
2205
+ #
2206
+ # @!attribute [rw] code
2207
+ # The validation code received from the procurement portal in response
2208
+ # to a previous `SendProcurementPortalValidation` request.
2209
+ # @return [String]
2210
+ #
2211
+ # @!attribute [rw] client_token
2212
+ # A unique, case-sensitive identifier that you provide to ensure
2213
+ # idempotency of the request.
2214
+ #
2215
+ # **A suitable default value is auto-generated.** You should normally
2216
+ # not need to pass this option.
2217
+ # @return [String]
2218
+ #
2219
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/VerifyProcurementPortalValidationRequest AWS API Documentation
2220
+ #
2221
+ class VerifyProcurementPortalValidationRequest < Struct.new(
2222
+ :procurement_portal_preference_arn,
2223
+ :code,
2224
+ :client_token)
2225
+ SENSITIVE = []
2226
+ include Aws::Structure
2227
+ end
2228
+
2229
+ # @!attribute [rw] procurement_portal_preference_arn
2230
+ # The Amazon Resource Name (ARN) of the procurement portal preference
2231
+ # for which validation was completed.
2232
+ # @return [String]
2233
+ #
2234
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/VerifyProcurementPortalValidationResponse AWS API Documentation
2235
+ #
2236
+ class VerifyProcurementPortalValidationResponse < Struct.new(
2237
+ :procurement_portal_preference_arn)
2238
+ SENSITIVE = []
2239
+ include Aws::Structure
2240
+ end
2241
+
2166
2242
  end
2167
2243
  end
2168
2244
 
@@ -55,7 +55,7 @@ module Aws::Invoicing
55
55
  autoload :EndpointProvider, 'aws-sdk-invoicing/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-invoicing/endpoints'
57
57
 
58
- GEM_VERSION = '1.27.0'
58
+ GEM_VERSION = '1.28.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -305,6 +305,17 @@ module Aws
305
305
  ) -> _PutProcurementPortalPreferenceResponseSuccess
306
306
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutProcurementPortalPreferenceResponseSuccess
307
307
 
308
+ interface _SendProcurementPortalValidationResponseSuccess
309
+ include ::Seahorse::Client::_ResponseSuccess[Types::SendProcurementPortalValidationResponse]
310
+ def procurement_portal_preference_arn: () -> ::String
311
+ end
312
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Invoicing/Client.html#send_procurement_portal_validation-instance_method
313
+ def send_procurement_portal_validation: (
314
+ procurement_portal_preference_arn: ::String,
315
+ ?client_token: ::String
316
+ ) -> _SendProcurementPortalValidationResponseSuccess
317
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendProcurementPortalValidationResponseSuccess
318
+
308
319
  interface _TagResourceResponseSuccess
309
320
  include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
310
321
  end
@@ -354,13 +365,25 @@ module Aws
354
365
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Invoicing/Client.html#update_procurement_portal_preference_status-instance_method
355
366
  def update_procurement_portal_preference_status: (
356
367
  procurement_portal_preference_arn: ::String,
357
- ?einvoice_delivery_preference_status: ("PENDING_VERIFICATION" | "TEST_INITIALIZED" | "TEST_INITIALIZATION_FAILED" | "TEST_FAILED" | "ACTIVE" | "SUSPENDED"),
368
+ ?einvoice_delivery_preference_status: ("PENDING_VERIFICATION" | "VALIDATED" | "TEST_INITIALIZED" | "TEST_INITIALIZATION_FAILED" | "TEST_FAILED" | "ACTIVE" | "SUSPENDED"),
358
369
  ?einvoice_delivery_preference_status_reason: ::String,
359
- ?purchase_order_retrieval_preference_status: ("PENDING_VERIFICATION" | "TEST_INITIALIZED" | "TEST_INITIALIZATION_FAILED" | "TEST_FAILED" | "ACTIVE" | "SUSPENDED"),
370
+ ?purchase_order_retrieval_preference_status: ("PENDING_VERIFICATION" | "VALIDATED" | "TEST_INITIALIZED" | "TEST_INITIALIZATION_FAILED" | "TEST_FAILED" | "ACTIVE" | "SUSPENDED"),
360
371
  ?purchase_order_retrieval_preference_status_reason: ::String,
361
372
  ?client_token: ::String
362
373
  ) -> _UpdateProcurementPortalPreferenceStatusResponseSuccess
363
374
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProcurementPortalPreferenceStatusResponseSuccess
375
+
376
+ interface _VerifyProcurementPortalValidationResponseSuccess
377
+ include ::Seahorse::Client::_ResponseSuccess[Types::VerifyProcurementPortalValidationResponse]
378
+ def procurement_portal_preference_arn: () -> ::String
379
+ end
380
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Invoicing/Client.html#verify_procurement_portal_validation-instance_method
381
+ def verify_procurement_portal_validation: (
382
+ procurement_portal_preference_arn: ::String,
383
+ code: ::String,
384
+ ?client_token: ::String
385
+ ) -> _VerifyProcurementPortalValidationResponseSuccess
386
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _VerifyProcurementPortalValidationResponseSuccess
364
387
  end
365
388
  end
366
389
  end
data/sig/types.rbs CHANGED
@@ -368,9 +368,9 @@ module Aws::Invoicing
368
368
  attr_accessor einvoice_delivery_preference: Types::EinvoiceDeliveryPreference
369
369
  attr_accessor purchase_order_retrieval_enabled: bool
370
370
  attr_accessor contacts: ::Array[Types::Contact]
371
- attr_accessor einvoice_delivery_preference_status: ("PENDING_VERIFICATION" | "TEST_INITIALIZED" | "TEST_INITIALIZATION_FAILED" | "TEST_FAILED" | "ACTIVE" | "SUSPENDED")
371
+ attr_accessor einvoice_delivery_preference_status: ("PENDING_VERIFICATION" | "VALIDATED" | "TEST_INITIALIZED" | "TEST_INITIALIZATION_FAILED" | "TEST_FAILED" | "ACTIVE" | "SUSPENDED")
372
372
  attr_accessor einvoice_delivery_preference_status_reason: ::String
373
- attr_accessor purchase_order_retrieval_preference_status: ("PENDING_VERIFICATION" | "TEST_INITIALIZED" | "TEST_INITIALIZATION_FAILED" | "TEST_FAILED" | "ACTIVE" | "SUSPENDED")
373
+ attr_accessor purchase_order_retrieval_preference_status: ("PENDING_VERIFICATION" | "VALIDATED" | "TEST_INITIALIZED" | "TEST_INITIALIZATION_FAILED" | "TEST_FAILED" | "ACTIVE" | "SUSPENDED")
374
374
  attr_accessor purchase_order_retrieval_preference_status_reason: ::String
375
375
  attr_accessor version: ::Integer
376
376
  attr_accessor create_date: ::Time
@@ -395,9 +395,9 @@ module Aws::Invoicing
395
395
  attr_accessor selector: Types::ProcurementPortalPreferenceSelector
396
396
  attr_accessor einvoice_delivery_enabled: bool
397
397
  attr_accessor purchase_order_retrieval_enabled: bool
398
- attr_accessor einvoice_delivery_preference_status: ("PENDING_VERIFICATION" | "TEST_INITIALIZED" | "TEST_INITIALIZATION_FAILED" | "TEST_FAILED" | "ACTIVE" | "SUSPENDED")
398
+ attr_accessor einvoice_delivery_preference_status: ("PENDING_VERIFICATION" | "VALIDATED" | "TEST_INITIALIZED" | "TEST_INITIALIZATION_FAILED" | "TEST_FAILED" | "ACTIVE" | "SUSPENDED")
399
399
  attr_accessor einvoice_delivery_preference_status_reason: ::String
400
- attr_accessor purchase_order_retrieval_preference_status: ("PENDING_VERIFICATION" | "TEST_INITIALIZED" | "TEST_INITIALIZATION_FAILED" | "TEST_FAILED" | "ACTIVE" | "SUSPENDED")
400
+ attr_accessor purchase_order_retrieval_preference_status: ("PENDING_VERIFICATION" | "VALIDATED" | "TEST_INITIALIZED" | "TEST_INITIALIZATION_FAILED" | "TEST_FAILED" | "ACTIVE" | "SUSPENDED")
401
401
  attr_accessor purchase_order_retrieval_preference_status_reason: ::String
402
402
  attr_accessor version: ::Integer
403
403
  attr_accessor create_date: ::Time
@@ -455,6 +455,17 @@ module Aws::Invoicing
455
455
  SENSITIVE: []
456
456
  end
457
457
 
458
+ class SendProcurementPortalValidationRequest
459
+ attr_accessor procurement_portal_preference_arn: ::String
460
+ attr_accessor client_token: ::String
461
+ SENSITIVE: []
462
+ end
463
+
464
+ class SendProcurementPortalValidationResponse
465
+ attr_accessor procurement_portal_preference_arn: ::String
466
+ SENSITIVE: []
467
+ end
468
+
458
469
  class ServiceQuotaExceededException
459
470
  attr_accessor message: ::String
460
471
  SENSITIVE: []
@@ -541,9 +552,9 @@ module Aws::Invoicing
541
552
 
542
553
  class UpdateProcurementPortalPreferenceStatusRequest
543
554
  attr_accessor procurement_portal_preference_arn: ::String
544
- attr_accessor einvoice_delivery_preference_status: ("PENDING_VERIFICATION" | "TEST_INITIALIZED" | "TEST_INITIALIZATION_FAILED" | "TEST_FAILED" | "ACTIVE" | "SUSPENDED")
555
+ attr_accessor einvoice_delivery_preference_status: ("PENDING_VERIFICATION" | "VALIDATED" | "TEST_INITIALIZED" | "TEST_INITIALIZATION_FAILED" | "TEST_FAILED" | "ACTIVE" | "SUSPENDED")
545
556
  attr_accessor einvoice_delivery_preference_status_reason: ::String
546
- attr_accessor purchase_order_retrieval_preference_status: ("PENDING_VERIFICATION" | "TEST_INITIALIZED" | "TEST_INITIALIZATION_FAILED" | "TEST_FAILED" | "ACTIVE" | "SUSPENDED")
557
+ attr_accessor purchase_order_retrieval_preference_status: ("PENDING_VERIFICATION" | "VALIDATED" | "TEST_INITIALIZED" | "TEST_INITIALIZATION_FAILED" | "TEST_FAILED" | "ACTIVE" | "SUSPENDED")
547
558
  attr_accessor purchase_order_retrieval_preference_status_reason: ::String
548
559
  attr_accessor client_token: ::String
549
560
  SENSITIVE: []
@@ -567,5 +578,17 @@ module Aws::Invoicing
567
578
  attr_accessor message: ::String
568
579
  SENSITIVE: []
569
580
  end
581
+
582
+ class VerifyProcurementPortalValidationRequest
583
+ attr_accessor procurement_portal_preference_arn: ::String
584
+ attr_accessor code: ::String
585
+ attr_accessor client_token: ::String
586
+ SENSITIVE: []
587
+ end
588
+
589
+ class VerifyProcurementPortalValidationResponse
590
+ attr_accessor procurement_portal_preference_arn: ::String
591
+ SENSITIVE: []
592
+ end
570
593
  end
571
594
  end
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.27.0
4
+ version: 1.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services