aws-sdk-invoicing 1.16.0 → 1.17.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.
@@ -643,6 +643,210 @@ module Aws::Invoicing
643
643
  req.send_request(options)
644
644
  end
645
645
 
646
+ # Creates a procurement portal preference configuration for e-invoice
647
+ # delivery and purchase order retrieval. This preference defines how
648
+ # invoices are delivered to a procurement portal and how purchase orders
649
+ # are retrieved.
650
+ #
651
+ # @option params [required, String] :procurement_portal_name
652
+ # The name of the procurement portal.
653
+ #
654
+ # @option params [required, String] :buyer_domain
655
+ # The domain identifier for the buyer in the procurement portal.
656
+ #
657
+ # @option params [required, String] :buyer_identifier
658
+ # The unique identifier for the buyer in the procurement portal.
659
+ #
660
+ # @option params [required, String] :supplier_domain
661
+ # The domain identifier for the supplier in the procurement portal.
662
+ #
663
+ # @option params [required, String] :supplier_identifier
664
+ # The unique identifier for the supplier in the procurement portal.
665
+ #
666
+ # @option params [Types::ProcurementPortalPreferenceSelector] :selector
667
+ # Specifies criteria for selecting which invoices should be processed
668
+ # using a particular procurement portal preference.
669
+ #
670
+ # @option params [String] :procurement_portal_shared_secret
671
+ # The shared secret or authentication credential used to establish
672
+ # secure communication with the procurement portal. This value must be
673
+ # encrypted at rest.
674
+ #
675
+ # @option params [String] :procurement_portal_instance_endpoint
676
+ # The endpoint URL where e-invoices will be delivered to the procurement
677
+ # portal. Must be a valid HTTPS URL.
678
+ #
679
+ # @option params [Types::TestEnvPreferenceInput] :test_env_preference
680
+ # Configuration settings for the test environment of the procurement
681
+ # portal. Includes test credentials and endpoints that are used for
682
+ # validation before production deployment.
683
+ #
684
+ # @option params [required, Boolean] :einvoice_delivery_enabled
685
+ # Indicates whether e-invoice delivery is enabled for this procurement
686
+ # portal preference. Set to true to enable e-invoice delivery, false to
687
+ # disable.
688
+ #
689
+ # @option params [Types::EinvoiceDeliveryPreference] :einvoice_delivery_preference
690
+ # Specifies the e-invoice delivery configuration including document
691
+ # types, attachment types, and customization settings for the portal.
692
+ #
693
+ # @option params [required, Boolean] :purchase_order_retrieval_enabled
694
+ # Indicates whether purchase order retrieval is enabled for this
695
+ # procurement portal preference. Set to true to enable PO retrieval,
696
+ # false to disable.
697
+ #
698
+ # @option params [required, Array<Types::Contact>] :contacts
699
+ # List of contact information for portal administrators and technical
700
+ # contacts responsible for the e-invoice integration.
701
+ #
702
+ # @option params [Array<Types::ResourceTag>] :resource_tags
703
+ # The tags to apply to this procurement portal preference resource. Each
704
+ # tag consists of a key and an optional value.
705
+ #
706
+ # @option params [String] :client_token
707
+ # A unique, case-sensitive identifier that you provide to ensure
708
+ # idempotency of the request.
709
+ #
710
+ # **A suitable default value is auto-generated.** You should normally
711
+ # not need to pass this option.**
712
+ #
713
+ # @return [Types::CreateProcurementPortalPreferenceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
714
+ #
715
+ # * {Types::CreateProcurementPortalPreferenceResponse#procurement_portal_preference_arn #procurement_portal_preference_arn} => String
716
+ #
717
+ #
718
+ # @example Example: CreateProcurementPortalPreference for Coupa
719
+ #
720
+ # resp = client.create_procurement_portal_preference({
721
+ # buyer_domain: "NetworkID",
722
+ # buyer_identifier: "BuyerId_1",
723
+ # client_token: "e362c68e-4e74-48d7-9228-0bc5aa447b42",
724
+ # contacts: [
725
+ # {
726
+ # email: "example-placeholder@amazon.com",
727
+ # name: "John Doe",
728
+ # },
729
+ # ],
730
+ # einvoice_delivery_enabled: true,
731
+ # einvoice_delivery_preference: {
732
+ # connection_testing_method: "PROD_ENV_DOLLAR_TEST",
733
+ # einvoice_delivery_activation_date: Time.parse(1750279280.091),
734
+ # einvoice_delivery_attachment_types: [
735
+ # "INVOICE_PDF",
736
+ # ],
737
+ # einvoice_delivery_document_types: [
738
+ # "AWS_CLOUD_INVOICE",
739
+ # ],
740
+ # protocol: "CXML",
741
+ # purchase_order_data_sources: [
742
+ # {
743
+ # einvoice_delivery_document_type: "AWS_CLOUD_INVOICE",
744
+ # purchase_order_data_source_type: "ASSOCIATED_PURCHASE_ORDER_REQUIRED",
745
+ # },
746
+ # ],
747
+ # },
748
+ # procurement_portal_instance_endpoint: "https://www.placeholder-domain.test",
749
+ # procurement_portal_name: "COUPA",
750
+ # procurement_portal_shared_secret: "Coupa_Secret",
751
+ # purchase_order_retrieval_enabled: true,
752
+ # resource_tags: [
753
+ # {
754
+ # key: "testKey",
755
+ # value: "testValue",
756
+ # },
757
+ # ],
758
+ # selector: {
759
+ # invoice_unit_arns: [
760
+ # "arn:aws:invoicing::111111111111:invoice-unit/12345678",
761
+ # "arn:aws:invoicing::111111111111:invoice-unit/12345679",
762
+ # ],
763
+ # seller_of_records: [
764
+ # "AWS_INC",
765
+ # "AWS_EUROPE",
766
+ # ],
767
+ # },
768
+ # supplier_domain: "NetworkID",
769
+ # supplier_identifier: "SupplierId_1",
770
+ # test_env_preference: {
771
+ # buyer_domain: "NetworkID",
772
+ # buyer_identifier: "BuyerId_1_Test",
773
+ # procurement_portal_instance_endpoint: "https://www.placeholder-domain.test",
774
+ # procurement_portal_shared_secret: "Coupa_Secret_test",
775
+ # supplier_domain: "NetworkID",
776
+ # supplier_identifier: "SupplierId_1_Test",
777
+ # },
778
+ # })
779
+ #
780
+ # resp.to_h outputs the following:
781
+ # {
782
+ # procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/a34fd666-7810-4414-9360-aaa4bcab0abd",
783
+ # }
784
+ #
785
+ # @example Request syntax with placeholder values
786
+ #
787
+ # resp = client.create_procurement_portal_preference({
788
+ # procurement_portal_name: "SAP_BUSINESS_NETWORK", # required, accepts SAP_BUSINESS_NETWORK, COUPA
789
+ # buyer_domain: "NetworkID", # required, accepts NetworkID
790
+ # buyer_identifier: "BasicStringWithoutSpace", # required
791
+ # supplier_domain: "NetworkID", # required, accepts NetworkID
792
+ # supplier_identifier: "BasicStringWithoutSpace", # required
793
+ # selector: {
794
+ # invoice_unit_arns: ["InvoiceUnitArnString"],
795
+ # seller_of_records: ["BasicStringWithoutSpace"],
796
+ # },
797
+ # procurement_portal_shared_secret: "SensitiveBasicStringWithoutSpace",
798
+ # procurement_portal_instance_endpoint: "BasicStringWithoutSpace",
799
+ # test_env_preference: {
800
+ # buyer_domain: "NetworkID", # required, accepts NetworkID
801
+ # buyer_identifier: "BasicStringWithoutSpace", # required
802
+ # supplier_domain: "NetworkID", # required, accepts NetworkID
803
+ # supplier_identifier: "BasicStringWithoutSpace", # required
804
+ # procurement_portal_shared_secret: "BasicStringWithoutSpace",
805
+ # procurement_portal_instance_endpoint: "BasicStringWithoutSpace",
806
+ # },
807
+ # einvoice_delivery_enabled: false, # required
808
+ # einvoice_delivery_preference: {
809
+ # einvoice_delivery_document_types: ["AWS_CLOUD_INVOICE"], # required, accepts AWS_CLOUD_INVOICE, AWS_CLOUD_CREDIT_MEMO, AWS_MARKETPLACE_INVOICE, AWS_MARKETPLACE_CREDIT_MEMO, AWS_REQUEST_FOR_PAYMENT
810
+ # einvoice_delivery_attachment_types: ["INVOICE_PDF"], # accepts INVOICE_PDF, RFP_PDF
811
+ # protocol: "CXML", # required, accepts CXML
812
+ # purchase_order_data_sources: [ # required
813
+ # {
814
+ # einvoice_delivery_document_type: "AWS_CLOUD_INVOICE", # accepts AWS_CLOUD_INVOICE, AWS_CLOUD_CREDIT_MEMO, AWS_MARKETPLACE_INVOICE, AWS_MARKETPLACE_CREDIT_MEMO, AWS_REQUEST_FOR_PAYMENT
815
+ # purchase_order_data_source_type: "ASSOCIATED_PURCHASE_ORDER_REQUIRED", # accepts ASSOCIATED_PURCHASE_ORDER_REQUIRED, PURCHASE_ORDER_NOT_REQUIRED
816
+ # },
817
+ # ],
818
+ # connection_testing_method: "PROD_ENV_DOLLAR_TEST", # required, accepts PROD_ENV_DOLLAR_TEST, TEST_ENV_REPLAY_TEST
819
+ # einvoice_delivery_activation_date: Time.now, # required
820
+ # },
821
+ # purchase_order_retrieval_enabled: false, # required
822
+ # contacts: [ # required
823
+ # {
824
+ # name: "BasicString",
825
+ # email: "EmailString",
826
+ # },
827
+ # ],
828
+ # resource_tags: [
829
+ # {
830
+ # key: "ResourceTagKey", # required
831
+ # value: "ResourceTagValue", # required
832
+ # },
833
+ # ],
834
+ # client_token: "BasicStringWithoutSpace",
835
+ # })
836
+ #
837
+ # @example Response structure
838
+ #
839
+ # resp.procurement_portal_preference_arn #=> String
840
+ #
841
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/CreateProcurementPortalPreference AWS API Documentation
842
+ #
843
+ # @overload create_procurement_portal_preference(params = {})
844
+ # @param [Hash] params ({})
845
+ def create_procurement_portal_preference(params = {}, options = {})
846
+ req = build_request(:create_procurement_portal_preference, params)
847
+ req.send_request(options)
848
+ end
849
+
646
850
  # This deletes an invoice unit with the provided invoice unit ARN.
647
851
  #
648
852
  # @option params [required, String] :invoice_unit_arn
@@ -684,6 +888,49 @@ module Aws::Invoicing
684
888
  req.send_request(options)
685
889
  end
686
890
 
891
+ # Deletes an existing procurement portal preference. This action cannot
892
+ # be undone. Active e-invoice delivery and PO retrieval configurations
893
+ # will be terminated.
894
+ #
895
+ # @option params [required, String] :procurement_portal_preference_arn
896
+ # The Amazon Resource Name (ARN) of the procurement portal preference to
897
+ # delete.
898
+ #
899
+ # @return [Types::DeleteProcurementPortalPreferenceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
900
+ #
901
+ # * {Types::DeleteProcurementPortalPreferenceResponse#procurement_portal_preference_arn #procurement_portal_preference_arn} => String
902
+ #
903
+ #
904
+ # @example Example: DeleteProcurementPortalPreference call
905
+ #
906
+ # resp = client.delete_procurement_portal_preference({
907
+ # procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/f71dd02e-f855-4b13-b793-0fd25c0b3ecd",
908
+ # })
909
+ #
910
+ # resp.to_h outputs the following:
911
+ # {
912
+ # procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/f71dd02e-f855-4b13-b793-0fd25c0b3ecd",
913
+ # }
914
+ #
915
+ # @example Request syntax with placeholder values
916
+ #
917
+ # resp = client.delete_procurement_portal_preference({
918
+ # procurement_portal_preference_arn: "ProcurementPortalPreferenceArnString", # required
919
+ # })
920
+ #
921
+ # @example Response structure
922
+ #
923
+ # resp.procurement_portal_preference_arn #=> String
924
+ #
925
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/DeleteProcurementPortalPreference AWS API Documentation
926
+ #
927
+ # @overload delete_procurement_portal_preference(params = {})
928
+ # @param [Hash] params ({})
929
+ def delete_procurement_portal_preference(params = {}, options = {})
930
+ req = build_request(:delete_procurement_portal_preference, params)
931
+ req.send_request(options)
932
+ end
933
+
687
934
  # Returns a URL to download the invoice document and supplemental
688
935
  # documents associated with an invoice. The URLs are pre-signed and have
689
936
  # expiration time. For special cases like Brazil, where Amazon Web
@@ -858,6 +1105,150 @@ module Aws::Invoicing
858
1105
  req.send_request(options)
859
1106
  end
860
1107
 
1108
+ # Retrieves the details of a specific procurement portal preference
1109
+ # configuration.
1110
+ #
1111
+ # @option params [required, String] :procurement_portal_preference_arn
1112
+ # The Amazon Resource Name (ARN) of the procurement portal preference to
1113
+ # retrieve.
1114
+ #
1115
+ # @return [Types::GetProcurementPortalPreferenceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1116
+ #
1117
+ # * {Types::GetProcurementPortalPreferenceResponse#procurement_portal_preference #procurement_portal_preference} => Types::ProcurementPortalPreference
1118
+ #
1119
+ #
1120
+ # @example Example: GetProcurementPortalPreference for Coupa pref
1121
+ #
1122
+ # resp = client.get_procurement_portal_preference({
1123
+ # procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/a34fd666-7810-4414-9360-aaa4bcab0abd",
1124
+ # })
1125
+ #
1126
+ # resp.to_h outputs the following:
1127
+ # {
1128
+ # procurement_portal_preference: {
1129
+ # aws_account_id: "111111111111",
1130
+ # buyer_domain: "NetworkID",
1131
+ # buyer_identifier: "BuyerId_1",
1132
+ # contacts: [
1133
+ # {
1134
+ # email: "example-placeholder@amazon.com",
1135
+ # name: "John Doe",
1136
+ # },
1137
+ # ],
1138
+ # create_date: Time.parse(1750375489.242),
1139
+ # einvoice_delivery_enabled: true,
1140
+ # einvoice_delivery_preference: {
1141
+ # connection_testing_method: "PROD_ENV_DOLLAR_TEST",
1142
+ # einvoice_delivery_activation_date: Time.parse(1750279280.091),
1143
+ # einvoice_delivery_attachment_types: [
1144
+ # "INVOICE_PDF",
1145
+ # ],
1146
+ # einvoice_delivery_document_types: [
1147
+ # "AWS_CLOUD_INVOICE",
1148
+ # ],
1149
+ # protocol: "CXML",
1150
+ # purchase_order_data_sources: [
1151
+ # {
1152
+ # einvoice_delivery_document_type: "AWS_CLOUD_INVOICE",
1153
+ # purchase_order_data_source_type: "ASSOCIATED_PURCHASE_ORDER_REQUIRED",
1154
+ # },
1155
+ # ],
1156
+ # },
1157
+ # einvoice_delivery_preference_status: "PENDING_VERIFICATION",
1158
+ # last_update_date: Time.parse(1750375489.242),
1159
+ # procurement_portal_instance_endpoint: "https://www.placeholder-domain.test",
1160
+ # procurement_portal_name: "COUPA",
1161
+ # procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/a34fd666-7810-4414-9360-aaa4bcab0abd",
1162
+ # procurement_portal_shared_secret: "Coupa_Secret",
1163
+ # purchase_order_retrieval_enabled: true,
1164
+ # purchase_order_retrieval_endpoint: "https://www.placeholder-domain.test",
1165
+ # purchase_order_retrieval_preference_status: "PENDING_VERIFICATION",
1166
+ # selector: {
1167
+ # invoice_unit_arns: [
1168
+ # "arn:aws:invoicing::111111111111:invoice-unit/12345678",
1169
+ # "arn:aws:invoicing::111111111111:invoice-unit/12345679",
1170
+ # ],
1171
+ # seller_of_records: [
1172
+ # "AWS_INC",
1173
+ # "AWS_EUROPE",
1174
+ # ],
1175
+ # },
1176
+ # supplier_domain: "NetworkID",
1177
+ # supplier_identifier: "SupplierId_1",
1178
+ # test_env_preference: {
1179
+ # buyer_domain: "NetworkID",
1180
+ # buyer_identifier: "BuyerId_1_Test",
1181
+ # procurement_portal_instance_endpoint: "https://www.placeholder-domain.test",
1182
+ # procurement_portal_shared_secret: "Coupa_Secret_test",
1183
+ # purchase_order_retrieval_endpoint: "https://www.placeholder-domain.test",
1184
+ # supplier_domain: "NetworkID",
1185
+ # supplier_identifier: "SupplierId_1_Test",
1186
+ # },
1187
+ # version: 1,
1188
+ # },
1189
+ # }
1190
+ #
1191
+ # @example Request syntax with placeholder values
1192
+ #
1193
+ # resp = client.get_procurement_portal_preference({
1194
+ # procurement_portal_preference_arn: "ProcurementPortalPreferenceArnString", # required
1195
+ # })
1196
+ #
1197
+ # @example Response structure
1198
+ #
1199
+ # resp.procurement_portal_preference.aws_account_id #=> String
1200
+ # resp.procurement_portal_preference.procurement_portal_preference_arn #=> String
1201
+ # resp.procurement_portal_preference.procurement_portal_name #=> String, one of "SAP_BUSINESS_NETWORK", "COUPA"
1202
+ # resp.procurement_portal_preference.buyer_domain #=> String, one of "NetworkID"
1203
+ # resp.procurement_portal_preference.buyer_identifier #=> String
1204
+ # resp.procurement_portal_preference.supplier_domain #=> String, one of "NetworkID"
1205
+ # resp.procurement_portal_preference.supplier_identifier #=> String
1206
+ # resp.procurement_portal_preference.selector.invoice_unit_arns #=> Array
1207
+ # resp.procurement_portal_preference.selector.invoice_unit_arns[0] #=> String
1208
+ # resp.procurement_portal_preference.selector.seller_of_records #=> Array
1209
+ # resp.procurement_portal_preference.selector.seller_of_records[0] #=> String
1210
+ # resp.procurement_portal_preference.procurement_portal_shared_secret #=> String
1211
+ # resp.procurement_portal_preference.procurement_portal_instance_endpoint #=> String
1212
+ # resp.procurement_portal_preference.purchase_order_retrieval_endpoint #=> String
1213
+ # resp.procurement_portal_preference.test_env_preference.buyer_domain #=> String, one of "NetworkID"
1214
+ # resp.procurement_portal_preference.test_env_preference.buyer_identifier #=> String
1215
+ # resp.procurement_portal_preference.test_env_preference.supplier_domain #=> String, one of "NetworkID"
1216
+ # resp.procurement_portal_preference.test_env_preference.supplier_identifier #=> String
1217
+ # resp.procurement_portal_preference.test_env_preference.procurement_portal_shared_secret #=> String
1218
+ # resp.procurement_portal_preference.test_env_preference.procurement_portal_instance_endpoint #=> String
1219
+ # resp.procurement_portal_preference.test_env_preference.purchase_order_retrieval_endpoint #=> String
1220
+ # resp.procurement_portal_preference.einvoice_delivery_enabled #=> Boolean
1221
+ # resp.procurement_portal_preference.einvoice_delivery_preference.einvoice_delivery_document_types #=> Array
1222
+ # resp.procurement_portal_preference.einvoice_delivery_preference.einvoice_delivery_document_types[0] #=> String, one of "AWS_CLOUD_INVOICE", "AWS_CLOUD_CREDIT_MEMO", "AWS_MARKETPLACE_INVOICE", "AWS_MARKETPLACE_CREDIT_MEMO", "AWS_REQUEST_FOR_PAYMENT"
1223
+ # resp.procurement_portal_preference.einvoice_delivery_preference.einvoice_delivery_attachment_types #=> Array
1224
+ # resp.procurement_portal_preference.einvoice_delivery_preference.einvoice_delivery_attachment_types[0] #=> String, one of "INVOICE_PDF", "RFP_PDF"
1225
+ # resp.procurement_portal_preference.einvoice_delivery_preference.protocol #=> String, one of "CXML"
1226
+ # resp.procurement_portal_preference.einvoice_delivery_preference.purchase_order_data_sources #=> Array
1227
+ # resp.procurement_portal_preference.einvoice_delivery_preference.purchase_order_data_sources[0].einvoice_delivery_document_type #=> String, one of "AWS_CLOUD_INVOICE", "AWS_CLOUD_CREDIT_MEMO", "AWS_MARKETPLACE_INVOICE", "AWS_MARKETPLACE_CREDIT_MEMO", "AWS_REQUEST_FOR_PAYMENT"
1228
+ # resp.procurement_portal_preference.einvoice_delivery_preference.purchase_order_data_sources[0].purchase_order_data_source_type #=> String, one of "ASSOCIATED_PURCHASE_ORDER_REQUIRED", "PURCHASE_ORDER_NOT_REQUIRED"
1229
+ # resp.procurement_portal_preference.einvoice_delivery_preference.connection_testing_method #=> String, one of "PROD_ENV_DOLLAR_TEST", "TEST_ENV_REPLAY_TEST"
1230
+ # resp.procurement_portal_preference.einvoice_delivery_preference.einvoice_delivery_activation_date #=> Time
1231
+ # resp.procurement_portal_preference.purchase_order_retrieval_enabled #=> Boolean
1232
+ # resp.procurement_portal_preference.contacts #=> Array
1233
+ # resp.procurement_portal_preference.contacts[0].name #=> String
1234
+ # resp.procurement_portal_preference.contacts[0].email #=> String
1235
+ # resp.procurement_portal_preference.einvoice_delivery_preference_status #=> String, one of "PENDING_VERIFICATION", "TEST_INITIALIZED", "TEST_INITIALIZATION_FAILED", "TEST_FAILED", "ACTIVE", "SUSPENDED"
1236
+ # resp.procurement_portal_preference.einvoice_delivery_preference_status_reason #=> String
1237
+ # resp.procurement_portal_preference.purchase_order_retrieval_preference_status #=> String, one of "PENDING_VERIFICATION", "TEST_INITIALIZED", "TEST_INITIALIZATION_FAILED", "TEST_FAILED", "ACTIVE", "SUSPENDED"
1238
+ # resp.procurement_portal_preference.purchase_order_retrieval_preference_status_reason #=> String
1239
+ # resp.procurement_portal_preference.version #=> Integer
1240
+ # resp.procurement_portal_preference.create_date #=> Time
1241
+ # resp.procurement_portal_preference.last_update_date #=> Time
1242
+ #
1243
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/GetProcurementPortalPreference AWS API Documentation
1244
+ #
1245
+ # @overload get_procurement_portal_preference(params = {})
1246
+ # @param [Hash] params ({})
1247
+ def get_procurement_portal_preference(params = {}, options = {})
1248
+ req = build_request(:get_procurement_portal_preference, params)
1249
+ req.send_request(options)
1250
+ end
1251
+
861
1252
  # Retrieves your invoice details programmatically, without line item
862
1253
  # details.
863
1254
  #
@@ -1687,6 +2078,167 @@ module Aws::Invoicing
1687
2078
  req.send_request(options)
1688
2079
  end
1689
2080
 
2081
+ # Retrieves a list of procurement portal preferences associated with the
2082
+ # Amazon Web Services account.
2083
+ #
2084
+ # @option params [String] :next_token
2085
+ # The token for the next set of results. (You received this token from a
2086
+ # previous call.)
2087
+ #
2088
+ # @option params [Integer] :max_results
2089
+ # The maximum number of results to return in a single call. To retrieve
2090
+ # the remaining results, make another call with the returned NextToken
2091
+ # value.
2092
+ #
2093
+ # @return [Types::ListProcurementPortalPreferencesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2094
+ #
2095
+ # * {Types::ListProcurementPortalPreferencesResponse#procurement_portal_preferences #procurement_portal_preferences} => Array&lt;Types::ProcurementPortalPreferenceSummary&gt;
2096
+ # * {Types::ListProcurementPortalPreferencesResponse#next_token #next_token} => String
2097
+ #
2098
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2099
+ #
2100
+ #
2101
+ # @example Example: ListProcurementPortalPreferences for Coupa prefs. First Call with following pages
2102
+ #
2103
+ # resp = client.list_procurement_portal_preferences({
2104
+ # max_results: 2,
2105
+ # })
2106
+ #
2107
+ # resp.to_h outputs the following:
2108
+ # {
2109
+ # next_token: "AAQA-EFRSURBSGpkVFU5MVNUVWNXTzNoUEptWEFGcEt0QzBBeHZaZmRUU2w3L0hRQmdDeEx3R0NuSnF2NjM5NGNmM1I5KzNIQzNnT0FBQUFmakI4QmdrcWhraUc5dzBCQndhZ2J6QnRBZ0VBTUdnR0NTcUdTSWIzRFFFSEFUQWVCZ2xnaGtnQlpRTUVBUzR3RVFRTVhPSnhEQ04rWk1idnAyb1RBZ0VRZ0RzbFJBeFlXMk9RRGFtTU8vdFc0MUJlTFFNU2hPR1E5bDM3MHcyS05mSjIzbU93MG1aVXk1MzBiWWVsZ3FaZzhjMndhTjZtNzNYTWd3bnpsZz09E8JRNUKK1r2-b9X8Qd1RAOSKHZOCy-UCpOQjJdSfZHcUefTH0YmlIW8ykllegYUWB1D1NjDjC3u2z2e4cLBTmQhrQewSBW-I_i8okXup9RWN60eMOnB6dl5jUiinJ-FjY_jGjbOkiWuJhXteDKP16RfVRW7mxp2-v1-B8gPPxGLolXHBHrb8gt18P8eWs8RcvRRmmbGUy5qa6nFH5WiCq9Bx2fTUTy9Iz_xZooNuiqC6y119EGQqJ9WsWsIUa8MbWHFXtn9-Uriz7osYocbFm1Evv_NCn3YK-wFy9rUlUskcM2n9AqvPYhOyf0reV7E8cErZFR_Ev8l008QcxQfaqK19-gKR9clddwoDzMVfVuyiW3vbzUXz7fzQLr-UMLCGdE3yHf1oz2SEbcxhHZ2eh7-9wEYDv0v92wXg7m7xaYvaKuVBPKqBaq66GdpS1HTfakkjRGvsoBStXWVgPahISglPO__-Ym5NnXOw2wENBVXZ7RsVe6nJ1X15bB1RDkqLV8xJD0L83snuCEBtM9pyUUQOPvfGHzC4yRusMgBav_y1kq0wjqsbJV5EhHV_SIwf-WZa_A==",
2110
+ # procurement_portal_preferences: [
2111
+ # {
2112
+ # aws_account_id: "111111111111",
2113
+ # buyer_domain: "NetworkID",
2114
+ # buyer_identifier: "BuyerId_2",
2115
+ # create_date: Time.parse(1750375489.242),
2116
+ # einvoice_delivery_enabled: true,
2117
+ # einvoice_delivery_preference_status: "PENDING_VERIFICATION",
2118
+ # last_update_date: Time.parse(1750375489.242),
2119
+ # procurement_portal_name: "COUPA",
2120
+ # procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/1c7c6d71-fbc1-45bd-a18c-40cb61810679",
2121
+ # purchase_order_retrieval_enabled: true,
2122
+ # purchase_order_retrieval_preference_status: "PENDING_VERIFICATION",
2123
+ # selector: {
2124
+ # invoice_unit_arns: [
2125
+ # "arn:aws:invoicing::111111111111:invoice-unit/12345679",
2126
+ # ],
2127
+ # seller_of_records: [
2128
+ # "AWS_INC",
2129
+ # ],
2130
+ # },
2131
+ # supplier_domain: "NetworkID",
2132
+ # supplier_identifier: "SupplierId_1",
2133
+ # version: 1,
2134
+ # },
2135
+ # {
2136
+ # aws_account_id: "111111111111",
2137
+ # buyer_domain: "NetworkID",
2138
+ # buyer_identifier: "BuyerId_4",
2139
+ # create_date: Time.parse(1750375489.242),
2140
+ # einvoice_delivery_enabled: true,
2141
+ # einvoice_delivery_preference_status: "PENDING_VERIFICATION",
2142
+ # last_update_date: Time.parse(1750375489.242),
2143
+ # procurement_portal_name: "COUPA",
2144
+ # procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/ae467ebd-ec8c-4089-b904-a7cd9e76f970",
2145
+ # purchase_order_retrieval_enabled: true,
2146
+ # purchase_order_retrieval_preference_status: "PENDING_VERIFICATION",
2147
+ # selector: {
2148
+ # invoice_unit_arns: [
2149
+ # "arn:aws:invoicing::111111111111:invoice-unit/12345678",
2150
+ # ],
2151
+ # seller_of_records: [
2152
+ # "AWS_INC",
2153
+ # ],
2154
+ # },
2155
+ # supplier_domain: "NetworkID",
2156
+ # supplier_identifier: "SupplierId_1",
2157
+ # version: 1,
2158
+ # },
2159
+ # ],
2160
+ # }
2161
+ #
2162
+ # @example Example: ListProcurementPortalPreferences for Coupa prefs. Second Call with the last page
2163
+ #
2164
+ # resp = client.list_procurement_portal_preferences({
2165
+ # max_results: 2,
2166
+ # next_token: "AAQA-EFRSURBSGpkVFU5MVNUVWNXTzNoUEptWEFGcEt0QzBBeHZaZmRUU2w3L0hRQmdDeEx3R0NuSnF2NjM5NGNmM1I5KzNIQzNnT0FBQUFmakI4QmdrcWhraUc5dzBCQndhZ2J6QnRBZ0VBTUdnR0NTcUdTSWIzRFFFSEFUQWVCZ2xnaGtnQlpRTUVBUzR3RVFRTVhPSnhEQ04rWk1idnAyb1RBZ0VRZ0RzbFJBeFlXMk9RRGFtTU8vdFc0MUJlTFFNU2hPR1E5bDM3MHcyS05mSjIzbU93MG1aVXk1MzBiWWVsZ3FaZzhjMndhTjZtNzNYTWd3bnpsZz09E8JRNUKK1r2-b9X8Qd1RAOSKHZOCy-UCpOQjJdSfZHcUefTH0YmlIW8ykllegYUWB1D1NjDjC3u2z2e4cLBTmQhrQewSBW-I_i8okXup9RWN60eMOnB6dl5jUiinJ-FjY_jGjbOkiWuJhXteDKP16RfVRW7mxp2-v1-B8gPPxGLolXHBHrb8gt18P8eWs8RcvRRmmbGUy5qa6nFH5WiCq9Bx2fTUTy9Iz_xZooNuiqC6y119EGQqJ9WsWsIUa8MbWHFXtn9-Uriz7osYocbFm1Evv_NCn3YK-wFy9rUlUskcM2n9AqvPYhOyf0reV7E8cErZFR_Ev8l008QcxQfaqK19-gKR9clddwoDzMVfVuyiW3vbzUXz7fzQLr-UMLCGdE3yHf1oz2SEbcxhHZ2eh7-9wEYDv0v92wXg7m7xaYvaKuVBPKqBaq66GdpS1HTfakkjRGvsoBStXWVgPahISglPO__-Ym5NnXOw2wENBVXZ7RsVe6nJ1X15bB1RDkqLV8xJD0L83snuCEBtM9pyUUQOPvfGHzC4yRusMgBav_y1kq0wjqsbJV5EhHV_SIwf-WZa_A==",
2167
+ # })
2168
+ #
2169
+ # resp.to_h outputs the following:
2170
+ # {
2171
+ # procurement_portal_preferences: [
2172
+ # {
2173
+ # aws_account_id: "111111111111",
2174
+ # buyer_domain: "NetworkID",
2175
+ # buyer_identifier: "BuyerId_1",
2176
+ # create_date: Time.parse(1750375489.242),
2177
+ # einvoice_delivery_enabled: true,
2178
+ # einvoice_delivery_preference_status: "TEST_INITIALIZED",
2179
+ # einvoice_delivery_preference_status_reason: "test initialized example reason",
2180
+ # last_update_date: Time.parse(1750375489.242),
2181
+ # procurement_portal_name: "COUPA",
2182
+ # procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/f71dd02e-f855-4b13-b793-0fd25c0b3ecd",
2183
+ # purchase_order_retrieval_enabled: true,
2184
+ # purchase_order_retrieval_preference_status: "TEST_INITIALIZED",
2185
+ # purchase_order_retrieval_preference_status_reason: "test initialized example reason",
2186
+ # selector: {
2187
+ # invoice_unit_arns: [
2188
+ # "arn:aws:invoicing::111111111111:invoice-unit/12345678",
2189
+ # ],
2190
+ # seller_of_records: [
2191
+ # "AWS_INC",
2192
+ # ],
2193
+ # },
2194
+ # supplier_domain: "NetworkID",
2195
+ # supplier_identifier: "SupplierId_1",
2196
+ # version: 3,
2197
+ # },
2198
+ # ],
2199
+ # }
2200
+ #
2201
+ # @example Request syntax with placeholder values
2202
+ #
2203
+ # resp = client.list_procurement_portal_preferences({
2204
+ # next_token: "BasicStringWithoutSpace",
2205
+ # max_results: 1,
2206
+ # })
2207
+ #
2208
+ # @example Response structure
2209
+ #
2210
+ # resp.procurement_portal_preferences #=> Array
2211
+ # resp.procurement_portal_preferences[0].aws_account_id #=> String
2212
+ # resp.procurement_portal_preferences[0].procurement_portal_preference_arn #=> String
2213
+ # resp.procurement_portal_preferences[0].procurement_portal_name #=> String, one of "SAP_BUSINESS_NETWORK", "COUPA"
2214
+ # resp.procurement_portal_preferences[0].buyer_domain #=> String, one of "NetworkID"
2215
+ # resp.procurement_portal_preferences[0].buyer_identifier #=> String
2216
+ # resp.procurement_portal_preferences[0].supplier_domain #=> String, one of "NetworkID"
2217
+ # resp.procurement_portal_preferences[0].supplier_identifier #=> String
2218
+ # resp.procurement_portal_preferences[0].selector.invoice_unit_arns #=> Array
2219
+ # resp.procurement_portal_preferences[0].selector.invoice_unit_arns[0] #=> String
2220
+ # resp.procurement_portal_preferences[0].selector.seller_of_records #=> Array
2221
+ # resp.procurement_portal_preferences[0].selector.seller_of_records[0] #=> String
2222
+ # resp.procurement_portal_preferences[0].einvoice_delivery_enabled #=> Boolean
2223
+ # resp.procurement_portal_preferences[0].purchase_order_retrieval_enabled #=> Boolean
2224
+ # resp.procurement_portal_preferences[0].einvoice_delivery_preference_status #=> String, one of "PENDING_VERIFICATION", "TEST_INITIALIZED", "TEST_INITIALIZATION_FAILED", "TEST_FAILED", "ACTIVE", "SUSPENDED"
2225
+ # resp.procurement_portal_preferences[0].einvoice_delivery_preference_status_reason #=> String
2226
+ # resp.procurement_portal_preferences[0].purchase_order_retrieval_preference_status #=> String, one of "PENDING_VERIFICATION", "TEST_INITIALIZED", "TEST_INITIALIZATION_FAILED", "TEST_FAILED", "ACTIVE", "SUSPENDED"
2227
+ # resp.procurement_portal_preferences[0].purchase_order_retrieval_preference_status_reason #=> String
2228
+ # resp.procurement_portal_preferences[0].version #=> Integer
2229
+ # resp.procurement_portal_preferences[0].create_date #=> Time
2230
+ # resp.procurement_portal_preferences[0].last_update_date #=> Time
2231
+ # resp.next_token #=> String
2232
+ #
2233
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ListProcurementPortalPreferences AWS API Documentation
2234
+ #
2235
+ # @overload list_procurement_portal_preferences(params = {})
2236
+ # @param [Hash] params ({})
2237
+ def list_procurement_portal_preferences(params = {}, options = {})
2238
+ req = build_request(:list_procurement_portal_preferences, params)
2239
+ req.send_request(options)
2240
+ end
2241
+
1690
2242
  # Lists the tags for a resource.
1691
2243
  #
1692
2244
  # @option params [required, String] :resource_arn
@@ -1734,6 +2286,159 @@ module Aws::Invoicing
1734
2286
  req.send_request(options)
1735
2287
  end
1736
2288
 
2289
+ # Updates an existing procurement portal preference configuration. This
2290
+ # operation can modify settings for e-invoice delivery and purchase
2291
+ # order retrieval.
2292
+ #
2293
+ # @option params [required, String] :procurement_portal_preference_arn
2294
+ # The Amazon Resource Name (ARN) of the procurement portal preference to
2295
+ # update.
2296
+ #
2297
+ # @option params [Types::ProcurementPortalPreferenceSelector] :selector
2298
+ # Specifies criteria for selecting which invoices should be processed
2299
+ # using a particular procurement portal preference.
2300
+ #
2301
+ # @option params [String] :procurement_portal_shared_secret
2302
+ # The updated shared secret or authentication credential for the
2303
+ # procurement portal. This value must be encrypted at rest.
2304
+ #
2305
+ # @option params [String] :procurement_portal_instance_endpoint
2306
+ # The updated endpoint URL where e-invoices will be delivered to the
2307
+ # procurement portal. Must be a valid HTTPS URL.
2308
+ #
2309
+ # @option params [Types::TestEnvPreferenceInput] :test_env_preference
2310
+ # Updated configuration settings for the test environment of the
2311
+ # procurement portal.
2312
+ #
2313
+ # @option params [required, Boolean] :einvoice_delivery_enabled
2314
+ # Updated flag indicating whether e-invoice delivery is enabled for this
2315
+ # procurement portal preference.
2316
+ #
2317
+ # @option params [Types::EinvoiceDeliveryPreference] :einvoice_delivery_preference
2318
+ # Updated e-invoice delivery configuration including document types,
2319
+ # attachment types, and customization settings for the portal.
2320
+ #
2321
+ # @option params [required, Boolean] :purchase_order_retrieval_enabled
2322
+ # Updated flag indicating whether purchase order retrieval is enabled
2323
+ # for this procurement portal preference.
2324
+ #
2325
+ # @option params [required, Array<Types::Contact>] :contacts
2326
+ # Updated list of contact information for portal administrators and
2327
+ # technical contacts.
2328
+ #
2329
+ # @return [Types::PutProcurementPortalPreferenceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2330
+ #
2331
+ # * {Types::PutProcurementPortalPreferenceResponse#procurement_portal_preference_arn #procurement_portal_preference_arn} => String
2332
+ #
2333
+ #
2334
+ # @example Example: PutProcurementPortalPreference for Coupa pref
2335
+ #
2336
+ # resp = client.put_procurement_portal_preference({
2337
+ # contacts: [
2338
+ # {
2339
+ # email: "example-placeholder2@amazon.com",
2340
+ # name: "John Doe2",
2341
+ # },
2342
+ # ],
2343
+ # einvoice_delivery_enabled: true,
2344
+ # einvoice_delivery_preference: {
2345
+ # connection_testing_method: "PROD_ENV_DOLLAR_TEST",
2346
+ # einvoice_delivery_activation_date: Time.parse(1750279280.091),
2347
+ # einvoice_delivery_attachment_types: [
2348
+ # "INVOICE_PDF",
2349
+ # ],
2350
+ # einvoice_delivery_document_types: [
2351
+ # "AWS_CLOUD_INVOICE",
2352
+ # ],
2353
+ # protocol: "CXML",
2354
+ # purchase_order_data_sources: [
2355
+ # {
2356
+ # einvoice_delivery_document_type: "AWS_CLOUD_INVOICE",
2357
+ # purchase_order_data_source_type: "ASSOCIATED_PURCHASE_ORDER_REQUIRED",
2358
+ # },
2359
+ # ],
2360
+ # },
2361
+ # procurement_portal_instance_endpoint: "https://www.placeholder-domain.test",
2362
+ # procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/f71dd02e-f855-4b13-b793-0fd25c0b3ecd",
2363
+ # procurement_portal_shared_secret: "Coupa_Secret_2",
2364
+ # purchase_order_retrieval_enabled: true,
2365
+ # selector: {
2366
+ # invoice_unit_arns: [
2367
+ # "arn:aws:invoicing::111111111111:invoice-unit/12345679",
2368
+ # ],
2369
+ # seller_of_records: [
2370
+ # "AWS_INC",
2371
+ # ],
2372
+ # },
2373
+ # test_env_preference: {
2374
+ # buyer_domain: "NetworkID",
2375
+ # buyer_identifier: "BuyerId_1_Test",
2376
+ # procurement_portal_instance_endpoint: "https://www.placeholder-domain.test",
2377
+ # procurement_portal_shared_secret: "Coupa_Secret_test_2",
2378
+ # supplier_domain: "NetworkID",
2379
+ # supplier_identifier: "SupplierId_1_Test",
2380
+ # },
2381
+ # })
2382
+ #
2383
+ # resp.to_h outputs the following:
2384
+ # {
2385
+ # procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/f71dd02e-f855-4b13-b793-0fd25c0b3ecd",
2386
+ # }
2387
+ #
2388
+ # @example Request syntax with placeholder values
2389
+ #
2390
+ # resp = client.put_procurement_portal_preference({
2391
+ # procurement_portal_preference_arn: "ProcurementPortalPreferenceArnString", # required
2392
+ # selector: {
2393
+ # invoice_unit_arns: ["InvoiceUnitArnString"],
2394
+ # seller_of_records: ["BasicStringWithoutSpace"],
2395
+ # },
2396
+ # procurement_portal_shared_secret: "SensitiveBasicStringWithoutSpace",
2397
+ # procurement_portal_instance_endpoint: "BasicStringWithoutSpace",
2398
+ # test_env_preference: {
2399
+ # buyer_domain: "NetworkID", # required, accepts NetworkID
2400
+ # buyer_identifier: "BasicStringWithoutSpace", # required
2401
+ # supplier_domain: "NetworkID", # required, accepts NetworkID
2402
+ # supplier_identifier: "BasicStringWithoutSpace", # required
2403
+ # procurement_portal_shared_secret: "BasicStringWithoutSpace",
2404
+ # procurement_portal_instance_endpoint: "BasicStringWithoutSpace",
2405
+ # },
2406
+ # einvoice_delivery_enabled: false, # required
2407
+ # einvoice_delivery_preference: {
2408
+ # einvoice_delivery_document_types: ["AWS_CLOUD_INVOICE"], # required, accepts AWS_CLOUD_INVOICE, AWS_CLOUD_CREDIT_MEMO, AWS_MARKETPLACE_INVOICE, AWS_MARKETPLACE_CREDIT_MEMO, AWS_REQUEST_FOR_PAYMENT
2409
+ # einvoice_delivery_attachment_types: ["INVOICE_PDF"], # accepts INVOICE_PDF, RFP_PDF
2410
+ # protocol: "CXML", # required, accepts CXML
2411
+ # purchase_order_data_sources: [ # required
2412
+ # {
2413
+ # einvoice_delivery_document_type: "AWS_CLOUD_INVOICE", # accepts AWS_CLOUD_INVOICE, AWS_CLOUD_CREDIT_MEMO, AWS_MARKETPLACE_INVOICE, AWS_MARKETPLACE_CREDIT_MEMO, AWS_REQUEST_FOR_PAYMENT
2414
+ # purchase_order_data_source_type: "ASSOCIATED_PURCHASE_ORDER_REQUIRED", # accepts ASSOCIATED_PURCHASE_ORDER_REQUIRED, PURCHASE_ORDER_NOT_REQUIRED
2415
+ # },
2416
+ # ],
2417
+ # connection_testing_method: "PROD_ENV_DOLLAR_TEST", # required, accepts PROD_ENV_DOLLAR_TEST, TEST_ENV_REPLAY_TEST
2418
+ # einvoice_delivery_activation_date: Time.now, # required
2419
+ # },
2420
+ # purchase_order_retrieval_enabled: false, # required
2421
+ # contacts: [ # required
2422
+ # {
2423
+ # name: "BasicString",
2424
+ # email: "EmailString",
2425
+ # },
2426
+ # ],
2427
+ # })
2428
+ #
2429
+ # @example Response structure
2430
+ #
2431
+ # resp.procurement_portal_preference_arn #=> String
2432
+ #
2433
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/PutProcurementPortalPreference AWS API Documentation
2434
+ #
2435
+ # @overload put_procurement_portal_preference(params = {})
2436
+ # @param [Hash] params ({})
2437
+ def put_procurement_portal_preference(params = {}, options = {})
2438
+ req = build_request(:put_procurement_portal_preference, params)
2439
+ req.send_request(options)
2440
+ end
2441
+
1737
2442
  # Adds a tag to a resource.
1738
2443
  #
1739
2444
  # @option params [required, String] :resource_arn
@@ -1902,6 +2607,71 @@ module Aws::Invoicing
1902
2607
  req.send_request(options)
1903
2608
  end
1904
2609
 
2610
+ # Updates the status of a procurement portal preference, including the
2611
+ # activation state of e-invoice delivery and purchase order retrieval
2612
+ # features.
2613
+ #
2614
+ # @option params [required, String] :procurement_portal_preference_arn
2615
+ # The Amazon Resource Name (ARN) of the procurement portal preference to
2616
+ # update.
2617
+ #
2618
+ # @option params [String] :einvoice_delivery_preference_status
2619
+ # The updated status of the e-invoice delivery preference.
2620
+ #
2621
+ # @option params [String] :einvoice_delivery_preference_status_reason
2622
+ # The reason for the e-invoice delivery preference status update,
2623
+ # providing context for the change.
2624
+ #
2625
+ # @option params [String] :purchase_order_retrieval_preference_status
2626
+ # The updated status of the purchase order retrieval preference.
2627
+ #
2628
+ # @option params [String] :purchase_order_retrieval_preference_status_reason
2629
+ # The reason for the purchase order retrieval preference status update,
2630
+ # providing context for the change.
2631
+ #
2632
+ # @return [Types::UpdateProcurementPortalPreferenceStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2633
+ #
2634
+ # * {Types::UpdateProcurementPortalPreferenceStatusResponse#procurement_portal_preference_arn #procurement_portal_preference_arn} => String
2635
+ #
2636
+ #
2637
+ # @example Example: UpdateProcurementPortalPreference for EinvoiceDeliveryPreferenceStatus and PurchaseOrderRetrievalPreferenceStatus
2638
+ #
2639
+ # resp = client.update_procurement_portal_preference_status({
2640
+ # einvoice_delivery_preference_status: "SUSPENDED",
2641
+ # einvoice_delivery_preference_status_reason: "suspended example reason",
2642
+ # procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/f71dd02e-f855-4b13-b793-0fd25c0b3ecd",
2643
+ # purchase_order_retrieval_preference_status: "SUSPENDED",
2644
+ # purchase_order_retrieval_preference_status_reason: "suspended example reason",
2645
+ # })
2646
+ #
2647
+ # resp.to_h outputs the following:
2648
+ # {
2649
+ # procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/f71dd02e-f855-4b13-b793-0fd25c0b3ecd",
2650
+ # }
2651
+ #
2652
+ # @example Request syntax with placeholder values
2653
+ #
2654
+ # resp = client.update_procurement_portal_preference_status({
2655
+ # procurement_portal_preference_arn: "ProcurementPortalPreferenceArnString", # required
2656
+ # einvoice_delivery_preference_status: "PENDING_VERIFICATION", # accepts PENDING_VERIFICATION, TEST_INITIALIZED, TEST_INITIALIZATION_FAILED, TEST_FAILED, ACTIVE, SUSPENDED
2657
+ # einvoice_delivery_preference_status_reason: "BasicString",
2658
+ # purchase_order_retrieval_preference_status: "PENDING_VERIFICATION", # accepts PENDING_VERIFICATION, TEST_INITIALIZED, TEST_INITIALIZATION_FAILED, TEST_FAILED, ACTIVE, SUSPENDED
2659
+ # purchase_order_retrieval_preference_status_reason: "BasicString",
2660
+ # })
2661
+ #
2662
+ # @example Response structure
2663
+ #
2664
+ # resp.procurement_portal_preference_arn #=> String
2665
+ #
2666
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/UpdateProcurementPortalPreferenceStatus AWS API Documentation
2667
+ #
2668
+ # @overload update_procurement_portal_preference_status(params = {})
2669
+ # @param [Hash] params ({})
2670
+ def update_procurement_portal_preference_status(params = {}, options = {})
2671
+ req = build_request(:update_procurement_portal_preference_status, params)
2672
+ req.send_request(options)
2673
+ end
2674
+
1905
2675
  # @!endgroup
1906
2676
 
1907
2677
  # @param params ({})
@@ -1920,7 +2690,7 @@ module Aws::Invoicing
1920
2690
  tracer: tracer
1921
2691
  )
1922
2692
  context[:gem_name] = 'aws-sdk-invoicing'
1923
- context[:gem_version] = '1.16.0'
2693
+ context[:gem_version] = '1.17.0'
1924
2694
  Seahorse::Client::Request.new(handlers, context)
1925
2695
  end
1926
2696