aws-sdk-invoicing 1.29.0 → 1.31.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: a8b02907609dae0894622e7589db10ee04ccbbb8c4e35535c83be12c3b320bf4
4
- data.tar.gz: bed84639bf218d690dc4a2fa3774924f1098c1c787db3577efe88dbb0b007ce8
3
+ metadata.gz: de3e21951a3378e2ba9a96cc24e5723dea45f427feb2bb8927fdd916345392f2
4
+ data.tar.gz: e3b8d5fc6ea221b4aa895f9080583ea696081760cf33e71345d152cf42757b29
5
5
  SHA512:
6
- metadata.gz: 7363d88898c5777a5a1604730e16329f8f0d0dfc0578af0479f167698d06d6c3c15b4e2d6dba971fd3e24f77fc7c1e1bc936853447e80dfb8ef8290b403f68d2
7
- data.tar.gz: 0031deaa42ffab942c2bea81bf906345ce06106525abe859d4a0295d1db10619b3df837bf8ae9d39db27c10c8f1d7fdcfdbd9f1d941169f8349c5c74c167897b
6
+ metadata.gz: 4059b2d9148b1b999d1bb9b2d42d437f56376b63523545a939350b76d8d6f3f6836fe8e1f8a6a4da173a966eaa6790f2ac0c14377e59ce44e0dbea66b0181641
7
+ data.tar.gz: 517ec6961241a67c61a3841c32e912dec08803ab6254949285f3359cff0ff939b5625e85c1f0a1253469c642ad353a72cbfad5daefaee97b0e8421589ce98050
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.31.0 (2026-10-02)
5
+ ------------------
6
+
7
+ * Feature - API and doc updates related to adding MarketplacePunchOutEnabled and MarketplacePunchOutPreference fields to ProcurementPortalPreferences related APIs
8
+
9
+ 1.30.0 (2026-09-11)
10
+ ------------------
11
+
12
+ * Feature - Add ListProcurementPortals and ListProcurementPortalSuppliers APIs to retrieve AWS-supported 3rd party procurement portals and their suppliers for e-invoice delivery and purchase order retrieval.
13
+
4
14
  1.29.0 (2026-09-09)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.29.0
1
+ 1.31.0
@@ -707,6 +707,12 @@ module Aws::Invoicing
707
707
  # procurement portal preference. Set to true to enable PO retrieval,
708
708
  # false to disable.
709
709
  #
710
+ # @option params [Boolean] :marketplace_punch_out_enabled
711
+ # Defaults to false if not provided.
712
+ #
713
+ # @option params [Types::MarketplacePunchOutPreference] :marketplace_punch_out_preference
714
+ # Required for Coupa when MarketplacePunchOutEnabled is true.
715
+ #
710
716
  # @option params [required, Array<Types::Contact>] :contacts
711
717
  # List of contact information for portal administrators and technical
712
718
  # contacts responsible for the e-invoice integration.
@@ -757,6 +763,10 @@ module Aws::Invoicing
757
763
  # },
758
764
  # ],
759
765
  # },
766
+ # marketplace_punch_out_enabled: true,
767
+ # marketplace_punch_out_preference: {
768
+ # approval_request_redirect_url: "https://www.placeholder-domain.test/approvals",
769
+ # },
760
770
  # procurement_portal_instance_endpoint: "https://www.placeholder-domain.test",
761
771
  # procurement_portal_name: "COUPA",
762
772
  # procurement_portal_shared_secret: "Coupa_Secret",
@@ -831,6 +841,10 @@ module Aws::Invoicing
831
841
  # einvoice_delivery_activation_date: Time.now, # required
832
842
  # },
833
843
  # purchase_order_retrieval_enabled: false, # required
844
+ # marketplace_punch_out_enabled: false,
845
+ # marketplace_punch_out_preference: {
846
+ # approval_request_redirect_url: "BasicStringWithoutSpace",
847
+ # },
834
848
  # contacts: [ # required
835
849
  # {
836
850
  # name: "BasicString",
@@ -1200,6 +1214,10 @@ module Aws::Invoicing
1200
1214
  # },
1201
1215
  # einvoice_delivery_preference_status: "PENDING_VERIFICATION",
1202
1216
  # last_update_date: Time.parse(1750375489.242),
1217
+ # marketplace_punch_out_enabled: true,
1218
+ # marketplace_punch_out_preference: {
1219
+ # approval_request_redirect_url: "https://www.placeholder-domain.test/approvals",
1220
+ # },
1203
1221
  # procurement_portal_instance_endpoint: "https://www.placeholder-domain.test",
1204
1222
  # procurement_portal_name: "COUPA",
1205
1223
  # procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/a34fd666-7810-4414-9360-aaa4bcab0abd",
@@ -1273,6 +1291,8 @@ module Aws::Invoicing
1273
1291
  # resp.procurement_portal_preference.einvoice_delivery_preference.connection_testing_method #=> String, one of "PROD_ENV_DOLLAR_TEST", "TEST_ENV_REPLAY_TEST"
1274
1292
  # resp.procurement_portal_preference.einvoice_delivery_preference.einvoice_delivery_activation_date #=> Time
1275
1293
  # resp.procurement_portal_preference.purchase_order_retrieval_enabled #=> Boolean
1294
+ # resp.procurement_portal_preference.marketplace_punch_out_enabled #=> Boolean
1295
+ # resp.procurement_portal_preference.marketplace_punch_out_preference.approval_request_redirect_url #=> String
1276
1296
  # resp.procurement_portal_preference.contacts #=> Array
1277
1297
  # resp.procurement_portal_preference.contacts[0].name #=> String
1278
1298
  # resp.procurement_portal_preference.contacts[0].email #=> String
@@ -2340,6 +2360,7 @@ module Aws::Invoicing
2340
2360
  # einvoice_delivery_enabled: true,
2341
2361
  # einvoice_delivery_preference_status: "PENDING_VERIFICATION",
2342
2362
  # last_update_date: Time.parse(1750375489.242),
2363
+ # marketplace_punch_out_enabled: false,
2343
2364
  # procurement_portal_name: "COUPA",
2344
2365
  # procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/1c7c6d71-fbc1-45bd-a18c-40cb61810679",
2345
2366
  # purchase_order_retrieval_enabled: true,
@@ -2364,6 +2385,7 @@ module Aws::Invoicing
2364
2385
  # einvoice_delivery_enabled: true,
2365
2386
  # einvoice_delivery_preference_status: "PENDING_VERIFICATION",
2366
2387
  # last_update_date: Time.parse(1750375489.242),
2388
+ # marketplace_punch_out_enabled: false,
2367
2389
  # procurement_portal_name: "COUPA",
2368
2390
  # procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/ae467ebd-ec8c-4089-b904-a7cd9e76f970",
2369
2391
  # purchase_order_retrieval_enabled: true,
@@ -2402,6 +2424,7 @@ module Aws::Invoicing
2402
2424
  # einvoice_delivery_preference_status: "TEST_INITIALIZED",
2403
2425
  # einvoice_delivery_preference_status_reason: "test initialized example reason",
2404
2426
  # last_update_date: Time.parse(1750375489.242),
2427
+ # marketplace_punch_out_enabled: true,
2405
2428
  # procurement_portal_name: "COUPA",
2406
2429
  # procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/f71dd02e-f855-4b13-b793-0fd25c0b3ecd",
2407
2430
  # purchase_order_retrieval_enabled: true,
@@ -2445,6 +2468,7 @@ module Aws::Invoicing
2445
2468
  # resp.procurement_portal_preferences[0].selector.seller_of_records[0] #=> String
2446
2469
  # resp.procurement_portal_preferences[0].einvoice_delivery_enabled #=> Boolean
2447
2470
  # resp.procurement_portal_preferences[0].purchase_order_retrieval_enabled #=> Boolean
2471
+ # resp.procurement_portal_preferences[0].marketplace_punch_out_enabled #=> Boolean
2448
2472
  # 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
2473
  # resp.procurement_portal_preferences[0].einvoice_delivery_preference_status_reason #=> String
2450
2474
  # 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"
@@ -2463,6 +2487,188 @@ module Aws::Invoicing
2463
2487
  req.send_request(options)
2464
2488
  end
2465
2489
 
2490
+ # Returns the suppliers configured for a specified procurement portal,
2491
+ # including supplier identifiers and associated metadata. For faster,
2492
+ # more reliable responses, use pagination.
2493
+ #
2494
+ # @option params [required, String] :portal_identifier
2495
+ # The unique identifier of the procurement portal for which to list
2496
+ # suppliers. Use the `PortalIdentifier` value returned by
2497
+ # `ListProcurementPortals`.
2498
+ #
2499
+ # @option params [String] :next_token
2500
+ # The token for the next set of results. You received this token from a
2501
+ # previous call.
2502
+ #
2503
+ # @option params [Integer] :max_results
2504
+ # The maximum number of results to return in a single call. To retrieve
2505
+ # the remaining results, make another call with the returned NextToken
2506
+ # value. Default is 100.
2507
+ #
2508
+ # @return [Types::ListProcurementPortalSuppliersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2509
+ #
2510
+ # * {Types::ListProcurementPortalSuppliersResponse#procurement_portal_suppliers #procurement_portal_suppliers} => Array&lt;Types::ProcurementPortalSupplier&gt;
2511
+ # * {Types::ListProcurementPortalSuppliersResponse#next_token #next_token} => String
2512
+ #
2513
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2514
+ #
2515
+ #
2516
+ # @example Example: ListProcurementPortalSuppliers
2517
+ #
2518
+ # resp = client.list_procurement_portal_suppliers({
2519
+ # portal_identifier: "KXMJQWBRNP",
2520
+ # })
2521
+ #
2522
+ # resp.to_h outputs the following:
2523
+ # {
2524
+ # procurement_portal_suppliers: [
2525
+ # {
2526
+ # environment: "PROD",
2527
+ # seller_of_record: "AWS_INC",
2528
+ # supplier_identifier: "AN01010639538",
2529
+ # },
2530
+ # {
2531
+ # country_code: "DE",
2532
+ # environment: "PROD",
2533
+ # seller_of_record: "AWS_EUROPE",
2534
+ # supplier_identifier: "AN01401912735",
2535
+ # },
2536
+ # {
2537
+ # environment: "TEST",
2538
+ # seller_of_record: "AWS_INC",
2539
+ # supplier_identifier: "AN01010639538-T",
2540
+ # },
2541
+ # ],
2542
+ # }
2543
+ #
2544
+ # @example Request syntax with placeholder values
2545
+ #
2546
+ # resp = client.list_procurement_portal_suppliers({
2547
+ # portal_identifier: "ProcurementPortalIdString", # required
2548
+ # next_token: "BasicStringWithoutSpace",
2549
+ # max_results: 1,
2550
+ # })
2551
+ #
2552
+ # @example Response structure
2553
+ #
2554
+ # resp.procurement_portal_suppliers #=> Array
2555
+ # resp.procurement_portal_suppliers[0].supplier_identifier #=> String
2556
+ # resp.procurement_portal_suppliers[0].seller_of_record #=> String
2557
+ # resp.procurement_portal_suppliers[0].country_code #=> String
2558
+ # resp.procurement_portal_suppliers[0].environment #=> String, one of "PROD", "TEST"
2559
+ # resp.next_token #=> String
2560
+ #
2561
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ListProcurementPortalSuppliers AWS API Documentation
2562
+ #
2563
+ # @overload list_procurement_portal_suppliers(params = {})
2564
+ # @param [Hash] params ({})
2565
+ def list_procurement_portal_suppliers(params = {}, options = {})
2566
+ req = build_request(:list_procurement_portal_suppliers, params)
2567
+ req.send_request(options)
2568
+ end
2569
+
2570
+ # Returns the Amazon Web Services-supported procurement portals for
2571
+ # e-invoice delivery and purchase order retrieval. Each entry includes
2572
+ # the portal identifier, name, and default feature configurations, which
2573
+ # define the supported document and attachment types. For faster, more
2574
+ # reliable responses, use pagination.
2575
+ #
2576
+ # @option params [String] :next_token
2577
+ # The token for the next set of results. You received this token from a
2578
+ # previous call.
2579
+ #
2580
+ # @option params [Integer] :max_results
2581
+ # The maximum number of results to return in a single call. To retrieve
2582
+ # the remaining results, make another call with the returned NextToken
2583
+ # value. Default is 100.
2584
+ #
2585
+ # @return [Types::ListProcurementPortalsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2586
+ #
2587
+ # * {Types::ListProcurementPortalsResponse#procurement_portals #procurement_portals} => Array&lt;Types::ProcurementPortal&gt;
2588
+ # * {Types::ListProcurementPortalsResponse#next_token #next_token} => String
2589
+ #
2590
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2591
+ #
2592
+ #
2593
+ # @example Example: ListProcurementPortals
2594
+ #
2595
+ # resp = client.list_procurement_portals({
2596
+ # })
2597
+ #
2598
+ # resp.to_h outputs the following:
2599
+ # {
2600
+ # procurement_portals: [
2601
+ # {
2602
+ # default_feature_configurations: {
2603
+ # invoice_configuration: {
2604
+ # attachment_types: [
2605
+ # "INVOICE_PDF",
2606
+ # "RFP_PDF",
2607
+ # ],
2608
+ # document_types: [
2609
+ # "AWS_CLOUD_INVOICE",
2610
+ # "AWS_CLOUD_CREDIT_MEMO",
2611
+ # "AWS_MARKETPLACE_INVOICE",
2612
+ # "AWS_MARKETPLACE_CREDIT_MEMO",
2613
+ # "AWS_REQUEST_FOR_PAYMENT",
2614
+ # ],
2615
+ # },
2616
+ # },
2617
+ # portal_display_name: "SAP Business Network",
2618
+ # portal_identifier: "KXMJQWBRNP",
2619
+ # portal_name: "SAP_BUSINESS_NETWORK",
2620
+ # },
2621
+ # {
2622
+ # default_feature_configurations: {
2623
+ # invoice_configuration: {
2624
+ # attachment_types: [
2625
+ # "INVOICE_PDF",
2626
+ # "RFP_PDF",
2627
+ # ],
2628
+ # document_types: [
2629
+ # "AWS_CLOUD_INVOICE",
2630
+ # "AWS_CLOUD_CREDIT_MEMO",
2631
+ # "AWS_MARKETPLACE_INVOICE",
2632
+ # "AWS_MARKETPLACE_CREDIT_MEMO",
2633
+ # "AWS_REQUEST_FOR_PAYMENT",
2634
+ # ],
2635
+ # },
2636
+ # },
2637
+ # portal_display_name: "Coupa",
2638
+ # portal_identifier: "THZVCGFLDY",
2639
+ # portal_name: "COUPA",
2640
+ # },
2641
+ # ],
2642
+ # }
2643
+ #
2644
+ # @example Request syntax with placeholder values
2645
+ #
2646
+ # resp = client.list_procurement_portals({
2647
+ # next_token: "BasicStringWithoutSpace",
2648
+ # max_results: 1,
2649
+ # })
2650
+ #
2651
+ # @example Response structure
2652
+ #
2653
+ # resp.procurement_portals #=> Array
2654
+ # resp.procurement_portals[0].portal_identifier #=> String
2655
+ # resp.procurement_portals[0].portal_name #=> String, one of "SAP_BUSINESS_NETWORK", "COUPA"
2656
+ # resp.procurement_portals[0].portal_display_name #=> String
2657
+ # resp.procurement_portals[0].default_feature_configurations.invoice_configuration.document_types #=> Array
2658
+ # resp.procurement_portals[0].default_feature_configurations.invoice_configuration.document_types[0] #=> String, one of "AWS_CLOUD_INVOICE", "AWS_CLOUD_CREDIT_MEMO", "AWS_MARKETPLACE_INVOICE", "AWS_MARKETPLACE_CREDIT_MEMO", "AWS_REQUEST_FOR_PAYMENT"
2659
+ # resp.procurement_portals[0].default_feature_configurations.invoice_configuration.attachment_types #=> Array
2660
+ # resp.procurement_portals[0].default_feature_configurations.invoice_configuration.attachment_types[0] #=> String, one of "INVOICE_PDF", "RFP_PDF"
2661
+ # resp.next_token #=> String
2662
+ #
2663
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ListProcurementPortals AWS API Documentation
2664
+ #
2665
+ # @overload list_procurement_portals(params = {})
2666
+ # @param [Hash] params ({})
2667
+ def list_procurement_portals(params = {}, options = {})
2668
+ req = build_request(:list_procurement_portals, params)
2669
+ req.send_request(options)
2670
+ end
2671
+
2466
2672
  # Lists the tags for a resource.
2467
2673
  #
2468
2674
  # @option params [required, String] :resource_arn
@@ -2551,6 +2757,14 @@ module Aws::Invoicing
2551
2757
  # Updated flag indicating whether purchase order retrieval is enabled
2552
2758
  # for this procurement portal preference.
2553
2759
  #
2760
+ # @option params [Boolean] :marketplace_punch_out_enabled
2761
+ # Whether Marketplace PunchOut is enabled for this connection. Defaults
2762
+ # to false if not provided.
2763
+ #
2764
+ # @option params [Types::MarketplacePunchOutPreference] :marketplace_punch_out_preference
2765
+ # Configuration for Marketplace PunchOut. Required when
2766
+ # MarketplacePunchOutEnabled is true.
2767
+ #
2554
2768
  # @option params [required, Array<Types::Contact>] :contacts
2555
2769
  # Updated list of contact information for portal administrators and
2556
2770
  # technical contacts.
@@ -2595,6 +2809,7 @@ module Aws::Invoicing
2595
2809
  # },
2596
2810
  # ],
2597
2811
  # },
2812
+ # marketplace_punch_out_enabled: true,
2598
2813
  # procurement_portal_instance_endpoint: "https://www.placeholder-domain.test",
2599
2814
  # procurement_portal_preference_arn: "arn:aws:invoicing::111111111111:procurement-portal-preference/f71dd02e-f855-4b13-b793-0fd25c0b3ecd",
2600
2815
  # procurement_portal_shared_secret: "Coupa_Secret_2",
@@ -2655,6 +2870,10 @@ module Aws::Invoicing
2655
2870
  # einvoice_delivery_activation_date: Time.now, # required
2656
2871
  # },
2657
2872
  # purchase_order_retrieval_enabled: false, # required
2873
+ # marketplace_punch_out_enabled: false,
2874
+ # marketplace_punch_out_preference: {
2875
+ # approval_request_redirect_url: "BasicStringWithoutSpace",
2876
+ # },
2658
2877
  # contacts: [ # required
2659
2878
  # {
2660
2879
  # name: "BasicString",
@@ -3073,7 +3292,7 @@ module Aws::Invoicing
3073
3292
  tracer: tracer
3074
3293
  )
3075
3294
  context[:gem_name] = 'aws-sdk-invoicing'
3076
- context[:gem_version] = '1.29.0'
3295
+ context[:gem_version] = '1.31.0'
3077
3296
  Seahorse::Client::Request.new(handlers, context)
3078
3297
  end
3079
3298
 
@@ -33,6 +33,7 @@ module Aws::Invoicing
33
33
  ConnectionTestingMethod = Shapes::StringShape.new(name: 'ConnectionTestingMethod')
34
34
  Contact = Shapes::StructureShape.new(name: 'Contact')
35
35
  Contacts = Shapes::ListShape.new(name: 'Contacts')
36
+ CountryCode = Shapes::StringShape.new(name: 'CountryCode')
36
37
  CreateInvoiceUnitRequest = Shapes::StructureShape.new(name: 'CreateInvoiceUnitRequest')
37
38
  CreateInvoiceUnitResponse = Shapes::StructureShape.new(name: 'CreateInvoiceUnitResponse')
38
39
  CreateProcurementPortalPreferenceRequest = Shapes::StructureShape.new(name: 'CreateProcurementPortalPreferenceRequest')
@@ -56,6 +57,7 @@ module Aws::Invoicing
56
57
  EinvoiceDeliveryStatus = Shapes::StringShape.new(name: 'EinvoiceDeliveryStatus')
57
58
  EmailString = Shapes::StringShape.new(name: 'EmailString')
58
59
  Entity = Shapes::StructureShape.new(name: 'Entity')
60
+ FeatureConfigurations = Shapes::StructureShape.new(name: 'FeatureConfigurations')
59
61
  FeesBreakdown = Shapes::StructureShape.new(name: 'FeesBreakdown')
60
62
  FeesBreakdownAmount = Shapes::StructureShape.new(name: 'FeesBreakdownAmount')
61
63
  FeesBreakdownAmountList = Shapes::ListShape.new(name: 'FeesBreakdownAmountList')
@@ -68,6 +70,7 @@ module Aws::Invoicing
68
70
  GetProcurementPortalPreferenceResponse = Shapes::StructureShape.new(name: 'GetProcurementPortalPreferenceResponse')
69
71
  Integer = Shapes::IntegerShape.new(name: 'Integer')
70
72
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
73
+ InvoiceConfiguration = Shapes::StructureShape.new(name: 'InvoiceConfiguration')
71
74
  InvoiceCurrencyAmount = Shapes::StructureShape.new(name: 'InvoiceCurrencyAmount')
72
75
  InvoiceFrequency = Shapes::StringShape.new(name: 'InvoiceFrequency')
73
76
  InvoicePDF = Shapes::StructureShape.new(name: 'InvoicePDF')
@@ -93,13 +96,21 @@ module Aws::Invoicing
93
96
  ListInvoiceUnitsResponse = Shapes::StructureShape.new(name: 'ListInvoiceUnitsResponse')
94
97
  ListProcurementPortalPreferencesRequest = Shapes::StructureShape.new(name: 'ListProcurementPortalPreferencesRequest')
95
98
  ListProcurementPortalPreferencesResponse = Shapes::StructureShape.new(name: 'ListProcurementPortalPreferencesResponse')
99
+ ListProcurementPortalSuppliersRequest = Shapes::StructureShape.new(name: 'ListProcurementPortalSuppliersRequest')
100
+ ListProcurementPortalSuppliersResponse = Shapes::StructureShape.new(name: 'ListProcurementPortalSuppliersResponse')
101
+ ListProcurementPortalsRequest = Shapes::StructureShape.new(name: 'ListProcurementPortalsRequest')
102
+ ListProcurementPortalsResponse = Shapes::StructureShape.new(name: 'ListProcurementPortalsResponse')
96
103
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
97
104
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
98
105
  Long = Shapes::IntegerShape.new(name: 'Long')
106
+ MarketplacePunchOutPreference = Shapes::StructureShape.new(name: 'MarketplacePunchOutPreference')
99
107
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
100
108
  MaxResultsInteger = Shapes::IntegerShape.new(name: 'MaxResultsInteger')
101
109
  Month = Shapes::IntegerShape.new(name: 'Month')
102
110
  NextTokenString = Shapes::StringShape.new(name: 'NextTokenString')
111
+ ProcurementPortal = Shapes::StructureShape.new(name: 'ProcurementPortal')
112
+ ProcurementPortalEnv = Shapes::StringShape.new(name: 'ProcurementPortalEnv')
113
+ ProcurementPortalIdString = Shapes::StringShape.new(name: 'ProcurementPortalIdString')
103
114
  ProcurementPortalName = Shapes::StringShape.new(name: 'ProcurementPortalName')
104
115
  ProcurementPortalPreference = Shapes::StructureShape.new(name: 'ProcurementPortalPreference')
105
116
  ProcurementPortalPreferenceArnString = Shapes::StringShape.new(name: 'ProcurementPortalPreferenceArnString')
@@ -107,6 +118,9 @@ module Aws::Invoicing
107
118
  ProcurementPortalPreferenceStatus = Shapes::StringShape.new(name: 'ProcurementPortalPreferenceStatus')
108
119
  ProcurementPortalPreferenceSummaries = Shapes::ListShape.new(name: 'ProcurementPortalPreferenceSummaries')
109
120
  ProcurementPortalPreferenceSummary = Shapes::StructureShape.new(name: 'ProcurementPortalPreferenceSummary')
121
+ ProcurementPortalSupplier = Shapes::StructureShape.new(name: 'ProcurementPortalSupplier')
122
+ ProcurementPortalSuppliers = Shapes::ListShape.new(name: 'ProcurementPortalSuppliers')
123
+ ProcurementPortals = Shapes::ListShape.new(name: 'ProcurementPortals')
110
124
  ProfileList = Shapes::ListShape.new(name: 'ProfileList')
111
125
  Protocol = Shapes::StringShape.new(name: 'Protocol')
112
126
  PurchaseOrderDataSource = Shapes::StructureShape.new(name: 'PurchaseOrderDataSource')
@@ -133,6 +147,7 @@ module Aws::Invoicing
133
147
  SupplementalDocumentType = Shapes::StringShape.new(name: 'SupplementalDocumentType')
134
148
  SupplementalDocuments = Shapes::ListShape.new(name: 'SupplementalDocuments')
135
149
  SupplierDomain = Shapes::StringShape.new(name: 'SupplierDomain')
150
+ SupplierIdString = Shapes::StringShape.new(name: 'SupplierIdString')
136
151
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
137
152
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
138
153
  TagrisArn = Shapes::StringShape.new(name: 'TagrisArn')
@@ -218,6 +233,8 @@ module Aws::Invoicing
218
233
  CreateProcurementPortalPreferenceRequest.add_member(:einvoice_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "EinvoiceDeliveryEnabled"))
219
234
  CreateProcurementPortalPreferenceRequest.add_member(:einvoice_delivery_preference, Shapes::ShapeRef.new(shape: EinvoiceDeliveryPreference, location_name: "EinvoiceDeliveryPreference"))
220
235
  CreateProcurementPortalPreferenceRequest.add_member(:purchase_order_retrieval_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "PurchaseOrderRetrievalEnabled"))
236
+ CreateProcurementPortalPreferenceRequest.add_member(:marketplace_punch_out_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MarketplacePunchOutEnabled"))
237
+ CreateProcurementPortalPreferenceRequest.add_member(:marketplace_punch_out_preference, Shapes::ShapeRef.new(shape: MarketplacePunchOutPreference, location_name: "MarketplacePunchOutPreference"))
221
238
  CreateProcurementPortalPreferenceRequest.add_member(:contacts, Shapes::ShapeRef.new(shape: Contacts, required: true, location_name: "Contacts"))
222
239
  CreateProcurementPortalPreferenceRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagList, location_name: "ResourceTags"))
223
240
  CreateProcurementPortalPreferenceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
@@ -276,6 +293,9 @@ module Aws::Invoicing
276
293
  Entity.add_member(:billing_entity, Shapes::ShapeRef.new(shape: BillingEntity, location_name: "BillingEntity"))
277
294
  Entity.struct_class = Types::Entity
278
295
 
296
+ FeatureConfigurations.add_member(:invoice_configuration, Shapes::ShapeRef.new(shape: InvoiceConfiguration, location_name: "InvoiceConfiguration"))
297
+ FeatureConfigurations.struct_class = Types::FeatureConfigurations
298
+
279
299
  FeesBreakdown.add_member(:breakdown, Shapes::ShapeRef.new(shape: FeesBreakdownAmountList, location_name: "Breakdown"))
280
300
  FeesBreakdown.add_member(:total_amount, Shapes::ShapeRef.new(shape: BasicString, location_name: "TotalAmount"))
281
301
  FeesBreakdown.struct_class = Types::FeesBreakdown
@@ -322,6 +342,10 @@ module Aws::Invoicing
322
342
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: BasicString, location_name: "message"))
323
343
  InternalServerException.struct_class = Types::InternalServerException
324
344
 
345
+ InvoiceConfiguration.add_member(:document_types, Shapes::ShapeRef.new(shape: EinvoiceDeliveryDocumentTypes, location_name: "DocumentTypes"))
346
+ InvoiceConfiguration.add_member(:attachment_types, Shapes::ShapeRef.new(shape: EinvoiceDeliveryAttachmentTypes, location_name: "AttachmentTypes"))
347
+ InvoiceConfiguration.struct_class = Types::InvoiceConfiguration
348
+
325
349
  InvoiceCurrencyAmount.add_member(:total_amount, Shapes::ShapeRef.new(shape: BasicString, location_name: "TotalAmount"))
326
350
  InvoiceCurrencyAmount.add_member(:total_amount_before_tax, Shapes::ShapeRef.new(shape: BasicString, location_name: "TotalAmountBeforeTax"))
327
351
  InvoiceCurrencyAmount.add_member(:currency_code, Shapes::ShapeRef.new(shape: CurrencyCode, location_name: "CurrencyCode"))
@@ -424,12 +448,38 @@ module Aws::Invoicing
424
448
  ListProcurementPortalPreferencesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "NextToken"))
425
449
  ListProcurementPortalPreferencesResponse.struct_class = Types::ListProcurementPortalPreferencesResponse
426
450
 
451
+ ListProcurementPortalSuppliersRequest.add_member(:portal_identifier, Shapes::ShapeRef.new(shape: ProcurementPortalIdString, required: true, location_name: "PortalIdentifier"))
452
+ ListProcurementPortalSuppliersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "NextToken"))
453
+ ListProcurementPortalSuppliersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
454
+ ListProcurementPortalSuppliersRequest.struct_class = Types::ListProcurementPortalSuppliersRequest
455
+
456
+ ListProcurementPortalSuppliersResponse.add_member(:procurement_portal_suppliers, Shapes::ShapeRef.new(shape: ProcurementPortalSuppliers, required: true, location_name: "ProcurementPortalSuppliers"))
457
+ ListProcurementPortalSuppliersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "NextToken"))
458
+ ListProcurementPortalSuppliersResponse.struct_class = Types::ListProcurementPortalSuppliersResponse
459
+
460
+ ListProcurementPortalsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "NextToken"))
461
+ ListProcurementPortalsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
462
+ ListProcurementPortalsRequest.struct_class = Types::ListProcurementPortalsRequest
463
+
464
+ ListProcurementPortalsResponse.add_member(:procurement_portals, Shapes::ShapeRef.new(shape: ProcurementPortals, required: true, location_name: "ProcurementPortals"))
465
+ ListProcurementPortalsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "NextToken"))
466
+ ListProcurementPortalsResponse.struct_class = Types::ListProcurementPortalsResponse
467
+
427
468
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TagrisArn, required: true, location_name: "ResourceArn"))
428
469
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
429
470
 
430
471
  ListTagsForResourceResponse.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagList, location_name: "ResourceTags"))
431
472
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
432
473
 
474
+ MarketplacePunchOutPreference.add_member(:approval_request_redirect_url, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "ApprovalRequestRedirectUrl"))
475
+ MarketplacePunchOutPreference.struct_class = Types::MarketplacePunchOutPreference
476
+
477
+ ProcurementPortal.add_member(:portal_identifier, Shapes::ShapeRef.new(shape: ProcurementPortalIdString, required: true, location_name: "PortalIdentifier"))
478
+ ProcurementPortal.add_member(:portal_name, Shapes::ShapeRef.new(shape: ProcurementPortalName, required: true, location_name: "PortalName"))
479
+ ProcurementPortal.add_member(:portal_display_name, Shapes::ShapeRef.new(shape: BasicString, location_name: "PortalDisplayName"))
480
+ ProcurementPortal.add_member(:default_feature_configurations, Shapes::ShapeRef.new(shape: FeatureConfigurations, location_name: "DefaultFeatureConfigurations"))
481
+ ProcurementPortal.struct_class = Types::ProcurementPortal
482
+
433
483
  ProcurementPortalPreference.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AccountIdString, required: true, location_name: "AwsAccountId"))
434
484
  ProcurementPortalPreference.add_member(:procurement_portal_preference_arn, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceArnString, required: true, location_name: "ProcurementPortalPreferenceArn"))
435
485
  ProcurementPortalPreference.add_member(:procurement_portal_name, Shapes::ShapeRef.new(shape: ProcurementPortalName, required: true, location_name: "ProcurementPortalName"))
@@ -445,6 +495,8 @@ module Aws::Invoicing
445
495
  ProcurementPortalPreference.add_member(:einvoice_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "EinvoiceDeliveryEnabled"))
446
496
  ProcurementPortalPreference.add_member(:einvoice_delivery_preference, Shapes::ShapeRef.new(shape: EinvoiceDeliveryPreference, location_name: "EinvoiceDeliveryPreference"))
447
497
  ProcurementPortalPreference.add_member(:purchase_order_retrieval_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "PurchaseOrderRetrievalEnabled"))
498
+ ProcurementPortalPreference.add_member(:marketplace_punch_out_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MarketplacePunchOutEnabled"))
499
+ ProcurementPortalPreference.add_member(:marketplace_punch_out_preference, Shapes::ShapeRef.new(shape: MarketplacePunchOutPreference, location_name: "MarketplacePunchOutPreference"))
448
500
  ProcurementPortalPreference.add_member(:contacts, Shapes::ShapeRef.new(shape: Contacts, location_name: "Contacts"))
449
501
  ProcurementPortalPreference.add_member(:einvoice_delivery_preference_status, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceStatus, location_name: "EinvoiceDeliveryPreferenceStatus"))
450
502
  ProcurementPortalPreference.add_member(:einvoice_delivery_preference_status_reason, Shapes::ShapeRef.new(shape: BasicString, location_name: "EinvoiceDeliveryPreferenceStatusReason"))
@@ -471,6 +523,7 @@ module Aws::Invoicing
471
523
  ProcurementPortalPreferenceSummary.add_member(:selector, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceSelector, location_name: "Selector"))
472
524
  ProcurementPortalPreferenceSummary.add_member(:einvoice_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "EinvoiceDeliveryEnabled"))
473
525
  ProcurementPortalPreferenceSummary.add_member(:purchase_order_retrieval_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "PurchaseOrderRetrievalEnabled"))
526
+ ProcurementPortalPreferenceSummary.add_member(:marketplace_punch_out_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MarketplacePunchOutEnabled"))
474
527
  ProcurementPortalPreferenceSummary.add_member(:einvoice_delivery_preference_status, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceStatus, location_name: "EinvoiceDeliveryPreferenceStatus"))
475
528
  ProcurementPortalPreferenceSummary.add_member(:einvoice_delivery_preference_status_reason, Shapes::ShapeRef.new(shape: BasicString, location_name: "EinvoiceDeliveryPreferenceStatusReason"))
476
529
  ProcurementPortalPreferenceSummary.add_member(:purchase_order_retrieval_preference_status, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceStatus, location_name: "PurchaseOrderRetrievalPreferenceStatus"))
@@ -480,6 +533,16 @@ module Aws::Invoicing
480
533
  ProcurementPortalPreferenceSummary.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastUpdateDate"))
481
534
  ProcurementPortalPreferenceSummary.struct_class = Types::ProcurementPortalPreferenceSummary
482
535
 
536
+ ProcurementPortalSupplier.add_member(:supplier_identifier, Shapes::ShapeRef.new(shape: SupplierIdString, required: true, location_name: "SupplierIdentifier"))
537
+ ProcurementPortalSupplier.add_member(:seller_of_record, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "SellerOfRecord"))
538
+ ProcurementPortalSupplier.add_member(:country_code, Shapes::ShapeRef.new(shape: CountryCode, location_name: "CountryCode"))
539
+ ProcurementPortalSupplier.add_member(:environment, Shapes::ShapeRef.new(shape: ProcurementPortalEnv, location_name: "Environment"))
540
+ ProcurementPortalSupplier.struct_class = Types::ProcurementPortalSupplier
541
+
542
+ ProcurementPortalSuppliers.member = Shapes::ShapeRef.new(shape: ProcurementPortalSupplier)
543
+
544
+ ProcurementPortals.member = Shapes::ShapeRef.new(shape: ProcurementPortal)
545
+
483
546
  ProfileList.member = Shapes::ShapeRef.new(shape: InvoiceProfile)
484
547
 
485
548
  PurchaseOrderDataSource.add_member(:einvoice_delivery_document_type, Shapes::ShapeRef.new(shape: EinvoiceDeliveryDocumentType, location_name: "EinvoiceDeliveryDocumentType"))
@@ -496,6 +559,8 @@ module Aws::Invoicing
496
559
  PutProcurementPortalPreferenceRequest.add_member(:einvoice_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "EinvoiceDeliveryEnabled"))
497
560
  PutProcurementPortalPreferenceRequest.add_member(:einvoice_delivery_preference, Shapes::ShapeRef.new(shape: EinvoiceDeliveryPreference, location_name: "EinvoiceDeliveryPreference"))
498
561
  PutProcurementPortalPreferenceRequest.add_member(:purchase_order_retrieval_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "PurchaseOrderRetrievalEnabled"))
562
+ PutProcurementPortalPreferenceRequest.add_member(:marketplace_punch_out_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MarketplacePunchOutEnabled"))
563
+ PutProcurementPortalPreferenceRequest.add_member(:marketplace_punch_out_preference, Shapes::ShapeRef.new(shape: MarketplacePunchOutPreference, location_name: "MarketplacePunchOutPreference"))
499
564
  PutProcurementPortalPreferenceRequest.add_member(:contacts, Shapes::ShapeRef.new(shape: Contacts, required: true, location_name: "Contacts"))
500
565
  PutProcurementPortalPreferenceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
501
566
  PutProcurementPortalPreferenceRequest.struct_class = Types::PutProcurementPortalPreferenceRequest
@@ -712,6 +777,7 @@ module Aws::Invoicing
712
777
  o.input = Shapes::ShapeRef.new(shape: DeleteProcurementPortalPreferenceRequest)
713
778
  o.output = Shapes::ShapeRef.new(shape: DeleteProcurementPortalPreferenceResponse)
714
779
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
780
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
715
781
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
716
782
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
717
783
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
@@ -817,6 +883,43 @@ module Aws::Invoicing
817
883
  )
818
884
  end)
819
885
 
886
+ api.add_operation(:list_procurement_portal_suppliers, Seahorse::Model::Operation.new.tap do |o|
887
+ o.name = "ListProcurementPortalSuppliers"
888
+ o.http_method = "POST"
889
+ o.http_request_uri = "/"
890
+ o.input = Shapes::ShapeRef.new(shape: ListProcurementPortalSuppliersRequest)
891
+ o.output = Shapes::ShapeRef.new(shape: ListProcurementPortalSuppliersResponse)
892
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
893
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
894
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
895
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
896
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
897
+ o[:pager] = Aws::Pager.new(
898
+ limit_key: "max_results",
899
+ tokens: {
900
+ "next_token" => "next_token"
901
+ }
902
+ )
903
+ end)
904
+
905
+ api.add_operation(:list_procurement_portals, Seahorse::Model::Operation.new.tap do |o|
906
+ o.name = "ListProcurementPortals"
907
+ o.http_method = "POST"
908
+ o.http_request_uri = "/"
909
+ o.input = Shapes::ShapeRef.new(shape: ListProcurementPortalsRequest)
910
+ o.output = Shapes::ShapeRef.new(shape: ListProcurementPortalsResponse)
911
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
912
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
913
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
914
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
915
+ o[:pager] = Aws::Pager.new(
916
+ limit_key: "max_results",
917
+ tokens: {
918
+ "next_token" => "next_token"
919
+ }
920
+ )
921
+ end)
922
+
820
923
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
821
924
  o.name = "ListTagsForResource"
822
925
  o.http_method = "POST"
@@ -272,6 +272,14 @@ module Aws::Invoicing
272
272
  # false to disable.
273
273
  # @return [Boolean]
274
274
  #
275
+ # @!attribute [rw] marketplace_punch_out_enabled
276
+ # Defaults to false if not provided.
277
+ # @return [Boolean]
278
+ #
279
+ # @!attribute [rw] marketplace_punch_out_preference
280
+ # Required for Coupa when MarketplacePunchOutEnabled is true.
281
+ # @return [Types::MarketplacePunchOutPreference]
282
+ #
275
283
  # @!attribute [rw] contacts
276
284
  # List of contact information for portal administrators and technical
277
285
  # contacts responsible for the e-invoice integration.
@@ -305,6 +313,8 @@ module Aws::Invoicing
305
313
  :einvoice_delivery_enabled,
306
314
  :einvoice_delivery_preference,
307
315
  :purchase_order_retrieval_enabled,
316
+ :marketplace_punch_out_enabled,
317
+ :marketplace_punch_out_preference,
308
318
  :contacts,
309
319
  :resource_tags,
310
320
  :client_token)
@@ -551,6 +561,21 @@ module Aws::Invoicing
551
561
  include Aws::Structure
552
562
  end
553
563
 
564
+ # Contains the default feature configuration settings for a procurement
565
+ # portal.
566
+ #
567
+ # @!attribute [rw] invoice_configuration
568
+ # The invoice configuration settings for the procurement portal.
569
+ # @return [Types::InvoiceConfiguration]
570
+ #
571
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/FeatureConfigurations AWS API Documentation
572
+ #
573
+ class FeatureConfigurations < Struct.new(
574
+ :invoice_configuration)
575
+ SENSITIVE = []
576
+ include Aws::Structure
577
+ end
578
+
554
579
  # The details of fees.
555
580
  #
556
581
  # @!attribute [rw] breakdown
@@ -784,6 +809,27 @@ module Aws::Invoicing
784
809
  include Aws::Structure
785
810
  end
786
811
 
812
+ # Specifies the supported document types and attachment types for
813
+ # invoice delivery to a procurement portal.
814
+ #
815
+ # @!attribute [rw] document_types
816
+ # The e-invoice document types supported by the procurement portal.
817
+ # @return [Array<String>]
818
+ #
819
+ # @!attribute [rw] attachment_types
820
+ # The attachment types supported by the procurement portal for
821
+ # e-invoice delivery.
822
+ # @return [Array<String>]
823
+ #
824
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/InvoiceConfiguration AWS API Documentation
825
+ #
826
+ class InvoiceConfiguration < Struct.new(
827
+ :document_types,
828
+ :attachment_types)
829
+ SENSITIVE = []
830
+ include Aws::Structure
831
+ end
832
+
787
833
  # The amount charged after taxes, in the preferred currency.
788
834
  #
789
835
  # @!attribute [rw] total_amount
@@ -1280,6 +1326,90 @@ module Aws::Invoicing
1280
1326
  include Aws::Structure
1281
1327
  end
1282
1328
 
1329
+ # @!attribute [rw] portal_identifier
1330
+ # The unique identifier of the procurement portal for which to list
1331
+ # suppliers. Use the `PortalIdentifier` value returned by
1332
+ # `ListProcurementPortals`.
1333
+ # @return [String]
1334
+ #
1335
+ # @!attribute [rw] next_token
1336
+ # The token for the next set of results. You received this token from
1337
+ # a previous call.
1338
+ # @return [String]
1339
+ #
1340
+ # @!attribute [rw] max_results
1341
+ # The maximum number of results to return in a single call. To
1342
+ # retrieve the remaining results, make another call with the returned
1343
+ # NextToken value. Default is 100.
1344
+ # @return [Integer]
1345
+ #
1346
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ListProcurementPortalSuppliersRequest AWS API Documentation
1347
+ #
1348
+ class ListProcurementPortalSuppliersRequest < Struct.new(
1349
+ :portal_identifier,
1350
+ :next_token,
1351
+ :max_results)
1352
+ SENSITIVE = []
1353
+ include Aws::Structure
1354
+ end
1355
+
1356
+ # @!attribute [rw] procurement_portal_suppliers
1357
+ # The list of suppliers configured for the specified procurement
1358
+ # portal.
1359
+ # @return [Array<Types::ProcurementPortalSupplier>]
1360
+ #
1361
+ # @!attribute [rw] next_token
1362
+ # The token to use to retrieve the next set of results, or null if
1363
+ # there are no more results.
1364
+ # @return [String]
1365
+ #
1366
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ListProcurementPortalSuppliersResponse AWS API Documentation
1367
+ #
1368
+ class ListProcurementPortalSuppliersResponse < Struct.new(
1369
+ :procurement_portal_suppliers,
1370
+ :next_token)
1371
+ SENSITIVE = []
1372
+ include Aws::Structure
1373
+ end
1374
+
1375
+ # @!attribute [rw] next_token
1376
+ # The token for the next set of results. You received this token from
1377
+ # a previous call.
1378
+ # @return [String]
1379
+ #
1380
+ # @!attribute [rw] max_results
1381
+ # The maximum number of results to return in a single call. To
1382
+ # retrieve the remaining results, make another call with the returned
1383
+ # NextToken value. Default is 100.
1384
+ # @return [Integer]
1385
+ #
1386
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ListProcurementPortalsRequest AWS API Documentation
1387
+ #
1388
+ class ListProcurementPortalsRequest < Struct.new(
1389
+ :next_token,
1390
+ :max_results)
1391
+ SENSITIVE = []
1392
+ include Aws::Structure
1393
+ end
1394
+
1395
+ # @!attribute [rw] procurement_portals
1396
+ # The list of procurement portals available for configuration.
1397
+ # @return [Array<Types::ProcurementPortal>]
1398
+ #
1399
+ # @!attribute [rw] next_token
1400
+ # The token to use to retrieve the next set of results, or null if
1401
+ # there are no more results.
1402
+ # @return [String]
1403
+ #
1404
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ListProcurementPortalsResponse AWS API Documentation
1405
+ #
1406
+ class ListProcurementPortalsResponse < Struct.new(
1407
+ :procurement_portals,
1408
+ :next_token)
1409
+ SENSITIVE = []
1410
+ include Aws::Structure
1411
+ end
1412
+
1283
1413
  # @!attribute [rw] resource_arn
1284
1414
  # The Amazon Resource Name (ARN) of tags to list.
1285
1415
  # @return [String]
@@ -1304,6 +1434,54 @@ module Aws::Invoicing
1304
1434
  include Aws::Structure
1305
1435
  end
1306
1436
 
1437
+ # Represents the Marketplace PunchOut configuration for a procurement
1438
+ # portal preference.
1439
+ #
1440
+ # @!attribute [rw] approval_request_redirect_url
1441
+ # The URL that buyers are redirected to for approval requests in the
1442
+ # procurement portal. This is only supported for Coupa. When provided
1443
+ # together with the procurement portal instance endpoint, its host
1444
+ # must match the host of that endpoint.
1445
+ # @return [String]
1446
+ #
1447
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/MarketplacePunchOutPreference AWS API Documentation
1448
+ #
1449
+ class MarketplacePunchOutPreference < Struct.new(
1450
+ :approval_request_redirect_url)
1451
+ SENSITIVE = []
1452
+ include Aws::Structure
1453
+ end
1454
+
1455
+ # Contains metadata for a procurement portal, including the portal
1456
+ # identifier, name, and default feature configurations.
1457
+ #
1458
+ # @!attribute [rw] portal_identifier
1459
+ # The unique identifier of the procurement portal.
1460
+ # @return [String]
1461
+ #
1462
+ # @!attribute [rw] portal_name
1463
+ # The name of the procurement portal.
1464
+ # @return [String]
1465
+ #
1466
+ # @!attribute [rw] portal_display_name
1467
+ # The display name of the procurement portal.
1468
+ # @return [String]
1469
+ #
1470
+ # @!attribute [rw] default_feature_configurations
1471
+ # The default feature configurations for the procurement portal.
1472
+ # @return [Types::FeatureConfigurations]
1473
+ #
1474
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ProcurementPortal AWS API Documentation
1475
+ #
1476
+ class ProcurementPortal < Struct.new(
1477
+ :portal_identifier,
1478
+ :portal_name,
1479
+ :portal_display_name,
1480
+ :default_feature_configurations)
1481
+ SENSITIVE = []
1482
+ include Aws::Structure
1483
+ end
1484
+
1307
1485
  # Represents the full configuration of a procurement portal preference,
1308
1486
  # including settings for e-invoice delivery and purchase order
1309
1487
  # retrieval.
@@ -1368,8 +1546,8 @@ module Aws::Invoicing
1368
1546
  # @return [Boolean]
1369
1547
  #
1370
1548
  # @!attribute [rw] einvoice_delivery_preference
1371
- # The configuration settings that specify how e-invoices are delivered
1372
- # to the procurement portal.
1549
+ # The e-invoice delivery configuration including document types,
1550
+ # attachment types, and customization settings.
1373
1551
  # @return [Types::EinvoiceDeliveryPreference]
1374
1552
  #
1375
1553
  # @!attribute [rw] purchase_order_retrieval_enabled
@@ -1377,6 +1555,17 @@ module Aws::Invoicing
1377
1555
  # procurement portal preference.
1378
1556
  # @return [Boolean]
1379
1557
  #
1558
+ # @!attribute [rw] marketplace_punch_out_enabled
1559
+ # Indicates whether Marketplace PunchOut is enabled for this
1560
+ # procurement portal preference. Defaults to `false`.
1561
+ # @return [Boolean]
1562
+ #
1563
+ # @!attribute [rw] marketplace_punch_out_preference
1564
+ # The Marketplace PunchOut configuration for this procurement portal
1565
+ # preference. This is present when `MarketplacePunchOutEnabled` is
1566
+ # `true`.
1567
+ # @return [Types::MarketplacePunchOutPreference]
1568
+ #
1380
1569
  # @!attribute [rw] contacts
1381
1570
  # List of contact information for portal administrators and technical
1382
1571
  # contacts.
@@ -1432,6 +1621,8 @@ module Aws::Invoicing
1432
1621
  :einvoice_delivery_enabled,
1433
1622
  :einvoice_delivery_preference,
1434
1623
  :purchase_order_retrieval_enabled,
1624
+ :marketplace_punch_out_enabled,
1625
+ :marketplace_punch_out_preference,
1435
1626
  :contacts,
1436
1627
  :einvoice_delivery_preference_status,
1437
1628
  :einvoice_delivery_preference_status_reason,
@@ -1512,6 +1703,11 @@ module Aws::Invoicing
1512
1703
  # procurement portal preference.
1513
1704
  # @return [Boolean]
1514
1705
  #
1706
+ # @!attribute [rw] marketplace_punch_out_enabled
1707
+ # Indicates whether Marketplace PunchOut is enabled for this
1708
+ # procurement portal preference. Defaults to `false`.
1709
+ # @return [Boolean]
1710
+ #
1515
1711
  # @!attribute [rw] einvoice_delivery_preference_status
1516
1712
  # The current status of the e-invoice delivery preference in this
1517
1713
  # summary.
@@ -1560,6 +1756,7 @@ module Aws::Invoicing
1560
1756
  :selector,
1561
1757
  :einvoice_delivery_enabled,
1562
1758
  :purchase_order_retrieval_enabled,
1759
+ :marketplace_punch_out_enabled,
1563
1760
  :einvoice_delivery_preference_status,
1564
1761
  :einvoice_delivery_preference_status_reason,
1565
1762
  :purchase_order_retrieval_preference_status,
@@ -1571,6 +1768,40 @@ module Aws::Invoicing
1571
1768
  include Aws::Structure
1572
1769
  end
1573
1770
 
1771
+ # Contains metadata for a supplier configured within a procurement
1772
+ # portal.
1773
+ #
1774
+ # @!attribute [rw] supplier_identifier
1775
+ # The unique identifier of the supplier within the procurement portal.
1776
+ # @return [String]
1777
+ #
1778
+ # @!attribute [rw] seller_of_record
1779
+ # The Amazon Web Services seller of record associated with the
1780
+ # supplier—the Amazon Web Services legal entity that issues invoices
1781
+ # for the account (for example, `AWS_INC` or `AWS_EUROPE`).
1782
+ # @return [String]
1783
+ #
1784
+ # @!attribute [rw] country_code
1785
+ # The two-letter ISO 3166-1 alpha-2 country code associated with the
1786
+ # supplier.
1787
+ # @return [String]
1788
+ #
1789
+ # @!attribute [rw] environment
1790
+ # The environment identifier for the supplier in the procurement
1791
+ # portal. PROD for production env, or TEST for sandbox/test env.
1792
+ # @return [String]
1793
+ #
1794
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ProcurementPortalSupplier AWS API Documentation
1795
+ #
1796
+ class ProcurementPortalSupplier < Struct.new(
1797
+ :supplier_identifier,
1798
+ :seller_of_record,
1799
+ :country_code,
1800
+ :environment)
1801
+ SENSITIVE = []
1802
+ include Aws::Structure
1803
+ end
1804
+
1574
1805
  # Specifies the source configuration for retrieving purchase order data.
1575
1806
  #
1576
1807
  # @!attribute [rw] einvoice_delivery_document_type
@@ -1630,6 +1861,16 @@ module Aws::Invoicing
1630
1861
  # for this procurement portal preference.
1631
1862
  # @return [Boolean]
1632
1863
  #
1864
+ # @!attribute [rw] marketplace_punch_out_enabled
1865
+ # Whether Marketplace PunchOut is enabled for this connection.
1866
+ # Defaults to false if not provided.
1867
+ # @return [Boolean]
1868
+ #
1869
+ # @!attribute [rw] marketplace_punch_out_preference
1870
+ # Configuration for Marketplace PunchOut. Required when
1871
+ # MarketplacePunchOutEnabled is true.
1872
+ # @return [Types::MarketplacePunchOutPreference]
1873
+ #
1633
1874
  # @!attribute [rw] contacts
1634
1875
  # Updated list of contact information for portal administrators and
1635
1876
  # technical contacts.
@@ -1654,6 +1895,8 @@ module Aws::Invoicing
1654
1895
  :einvoice_delivery_enabled,
1655
1896
  :einvoice_delivery_preference,
1656
1897
  :purchase_order_retrieval_enabled,
1898
+ :marketplace_punch_out_enabled,
1899
+ :marketplace_punch_out_preference,
1657
1900
  :contacts,
1658
1901
  :client_token)
1659
1902
  SENSITIVE = [:procurement_portal_shared_secret, :contacts]
@@ -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.29.0'
58
+ GEM_VERSION = '1.31.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -134,6 +134,10 @@ module Aws
134
134
  einvoice_delivery_enabled: bool,
135
135
  ?einvoice_delivery_preference: Params::einvoice_delivery_preference,
136
136
  purchase_order_retrieval_enabled: bool,
137
+ ?marketplace_punch_out_enabled: bool,
138
+ ?marketplace_punch_out_preference: {
139
+ approval_request_redirect_url: ::String?
140
+ },
137
141
  contacts: Array[
138
142
  {
139
143
  name: ::String?,
@@ -268,6 +272,31 @@ module Aws
268
272
  ) -> _ListProcurementPortalPreferencesResponseSuccess
269
273
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProcurementPortalPreferencesResponseSuccess
270
274
 
275
+ interface _ListProcurementPortalSuppliersResponseSuccess
276
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListProcurementPortalSuppliersResponse]
277
+ def procurement_portal_suppliers: () -> ::Array[Types::ProcurementPortalSupplier]
278
+ def next_token: () -> ::String
279
+ end
280
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Invoicing/Client.html#list_procurement_portal_suppliers-instance_method
281
+ def list_procurement_portal_suppliers: (
282
+ portal_identifier: ::String,
283
+ ?next_token: ::String,
284
+ ?max_results: ::Integer
285
+ ) -> _ListProcurementPortalSuppliersResponseSuccess
286
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProcurementPortalSuppliersResponseSuccess
287
+
288
+ interface _ListProcurementPortalsResponseSuccess
289
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListProcurementPortalsResponse]
290
+ def procurement_portals: () -> ::Array[Types::ProcurementPortal]
291
+ def next_token: () -> ::String
292
+ end
293
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Invoicing/Client.html#list_procurement_portals-instance_method
294
+ def list_procurement_portals: (
295
+ ?next_token: ::String,
296
+ ?max_results: ::Integer
297
+ ) -> _ListProcurementPortalsResponseSuccess
298
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProcurementPortalsResponseSuccess
299
+
271
300
  interface _ListTagsForResourceResponseSuccess
272
301
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
273
302
  def resource_tags: () -> ::Array[Types::ResourceTag]
@@ -295,6 +324,10 @@ module Aws
295
324
  einvoice_delivery_enabled: bool,
296
325
  ?einvoice_delivery_preference: Params::einvoice_delivery_preference,
297
326
  purchase_order_retrieval_enabled: bool,
327
+ ?marketplace_punch_out_enabled: bool,
328
+ ?marketplace_punch_out_preference: {
329
+ approval_request_redirect_url: ::String?
330
+ },
298
331
  contacts: Array[
299
332
  {
300
333
  name: ::String?,
data/sig/types.rbs CHANGED
@@ -80,6 +80,8 @@ module Aws::Invoicing
80
80
  attr_accessor einvoice_delivery_enabled: bool
81
81
  attr_accessor einvoice_delivery_preference: Types::EinvoiceDeliveryPreference
82
82
  attr_accessor purchase_order_retrieval_enabled: bool
83
+ attr_accessor marketplace_punch_out_enabled: bool
84
+ attr_accessor marketplace_punch_out_preference: Types::MarketplacePunchOutPreference
83
85
  attr_accessor contacts: ::Array[Types::Contact]
84
86
  attr_accessor resource_tags: ::Array[Types::ResourceTag]
85
87
  attr_accessor client_token: ::String
@@ -155,6 +157,11 @@ module Aws::Invoicing
155
157
  SENSITIVE: []
156
158
  end
157
159
 
160
+ class FeatureConfigurations
161
+ attr_accessor invoice_configuration: Types::InvoiceConfiguration
162
+ SENSITIVE: []
163
+ end
164
+
158
165
  class FeesBreakdown
159
166
  attr_accessor breakdown: ::Array[Types::FeesBreakdownAmount]
160
167
  attr_accessor total_amount: ::String
@@ -219,6 +226,12 @@ module Aws::Invoicing
219
226
  SENSITIVE: []
220
227
  end
221
228
 
229
+ class InvoiceConfiguration
230
+ attr_accessor document_types: ::Array[("AWS_CLOUD_INVOICE" | "AWS_CLOUD_CREDIT_MEMO" | "AWS_MARKETPLACE_INVOICE" | "AWS_MARKETPLACE_CREDIT_MEMO" | "AWS_REQUEST_FOR_PAYMENT")]
231
+ attr_accessor attachment_types: ::Array[("INVOICE_PDF" | "RFP_PDF")]
232
+ SENSITIVE: []
233
+ end
234
+
222
235
  class InvoiceCurrencyAmount
223
236
  attr_accessor total_amount: ::String
224
237
  attr_accessor total_amount_before_tax: ::String
@@ -341,6 +354,31 @@ module Aws::Invoicing
341
354
  SENSITIVE: []
342
355
  end
343
356
 
357
+ class ListProcurementPortalSuppliersRequest
358
+ attr_accessor portal_identifier: ::String
359
+ attr_accessor next_token: ::String
360
+ attr_accessor max_results: ::Integer
361
+ SENSITIVE: []
362
+ end
363
+
364
+ class ListProcurementPortalSuppliersResponse
365
+ attr_accessor procurement_portal_suppliers: ::Array[Types::ProcurementPortalSupplier]
366
+ attr_accessor next_token: ::String
367
+ SENSITIVE: []
368
+ end
369
+
370
+ class ListProcurementPortalsRequest
371
+ attr_accessor next_token: ::String
372
+ attr_accessor max_results: ::Integer
373
+ SENSITIVE: []
374
+ end
375
+
376
+ class ListProcurementPortalsResponse
377
+ attr_accessor procurement_portals: ::Array[Types::ProcurementPortal]
378
+ attr_accessor next_token: ::String
379
+ SENSITIVE: []
380
+ end
381
+
344
382
  class ListTagsForResourceRequest
345
383
  attr_accessor resource_arn: ::String
346
384
  SENSITIVE: []
@@ -351,6 +389,19 @@ module Aws::Invoicing
351
389
  SENSITIVE: []
352
390
  end
353
391
 
392
+ class MarketplacePunchOutPreference
393
+ attr_accessor approval_request_redirect_url: ::String
394
+ SENSITIVE: []
395
+ end
396
+
397
+ class ProcurementPortal
398
+ attr_accessor portal_identifier: ::String
399
+ attr_accessor portal_name: ("SAP_BUSINESS_NETWORK" | "COUPA")
400
+ attr_accessor portal_display_name: ::String
401
+ attr_accessor default_feature_configurations: Types::FeatureConfigurations
402
+ SENSITIVE: []
403
+ end
404
+
354
405
  class ProcurementPortalPreference
355
406
  attr_accessor aws_account_id: ::String
356
407
  attr_accessor procurement_portal_preference_arn: ::String
@@ -367,6 +418,8 @@ module Aws::Invoicing
367
418
  attr_accessor einvoice_delivery_enabled: bool
368
419
  attr_accessor einvoice_delivery_preference: Types::EinvoiceDeliveryPreference
369
420
  attr_accessor purchase_order_retrieval_enabled: bool
421
+ attr_accessor marketplace_punch_out_enabled: bool
422
+ attr_accessor marketplace_punch_out_preference: Types::MarketplacePunchOutPreference
370
423
  attr_accessor contacts: ::Array[Types::Contact]
371
424
  attr_accessor einvoice_delivery_preference_status: ("PENDING_VERIFICATION" | "VALIDATED" | "TEST_INITIALIZED" | "TEST_INITIALIZATION_FAILED" | "TEST_FAILED" | "ACTIVE" | "SUSPENDED")
372
425
  attr_accessor einvoice_delivery_preference_status_reason: ::String
@@ -395,6 +448,7 @@ module Aws::Invoicing
395
448
  attr_accessor selector: Types::ProcurementPortalPreferenceSelector
396
449
  attr_accessor einvoice_delivery_enabled: bool
397
450
  attr_accessor purchase_order_retrieval_enabled: bool
451
+ attr_accessor marketplace_punch_out_enabled: bool
398
452
  attr_accessor einvoice_delivery_preference_status: ("PENDING_VERIFICATION" | "VALIDATED" | "TEST_INITIALIZED" | "TEST_INITIALIZATION_FAILED" | "TEST_FAILED" | "ACTIVE" | "SUSPENDED")
399
453
  attr_accessor einvoice_delivery_preference_status_reason: ::String
400
454
  attr_accessor purchase_order_retrieval_preference_status: ("PENDING_VERIFICATION" | "VALIDATED" | "TEST_INITIALIZED" | "TEST_INITIALIZATION_FAILED" | "TEST_FAILED" | "ACTIVE" | "SUSPENDED")
@@ -405,6 +459,14 @@ module Aws::Invoicing
405
459
  SENSITIVE: []
406
460
  end
407
461
 
462
+ class ProcurementPortalSupplier
463
+ attr_accessor supplier_identifier: ::String
464
+ attr_accessor seller_of_record: ::String
465
+ attr_accessor country_code: ::String
466
+ attr_accessor environment: ("PROD" | "TEST")
467
+ SENSITIVE: []
468
+ end
469
+
408
470
  class PurchaseOrderDataSource
409
471
  attr_accessor einvoice_delivery_document_type: ("AWS_CLOUD_INVOICE" | "AWS_CLOUD_CREDIT_MEMO" | "AWS_MARKETPLACE_INVOICE" | "AWS_MARKETPLACE_CREDIT_MEMO" | "AWS_REQUEST_FOR_PAYMENT")
410
472
  attr_accessor purchase_order_data_source_type: ("ASSOCIATED_PURCHASE_ORDER_REQUIRED" | "PURCHASE_ORDER_NOT_REQUIRED")
@@ -420,6 +482,8 @@ module Aws::Invoicing
420
482
  attr_accessor einvoice_delivery_enabled: bool
421
483
  attr_accessor einvoice_delivery_preference: Types::EinvoiceDeliveryPreference
422
484
  attr_accessor purchase_order_retrieval_enabled: bool
485
+ attr_accessor marketplace_punch_out_enabled: bool
486
+ attr_accessor marketplace_punch_out_preference: Types::MarketplacePunchOutPreference
423
487
  attr_accessor contacts: ::Array[Types::Contact]
424
488
  attr_accessor client_token: ::String
425
489
  SENSITIVE: [:procurement_portal_shared_secret]
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.29.0
4
+ version: 1.31.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.255.0
21
+ version: 3.256.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.255.0
31
+ version: 3.256.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement