aws-sdk-invoicing 1.29.0 → 1.30.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: 0dd26f92d68ff5d55a19b20604fc4cfdda609724c0ff729c3cfc92f6a9277289
4
+ data.tar.gz: fa0a6c636c66ac1e396bb7ba6e9c9325ba5d99f1771d2b4f3721e00adfe60dd1
5
5
  SHA512:
6
- metadata.gz: 7363d88898c5777a5a1604730e16329f8f0d0dfc0578af0479f167698d06d6c3c15b4e2d6dba971fd3e24f77fc7c1e1bc936853447e80dfb8ef8290b403f68d2
7
- data.tar.gz: 0031deaa42ffab942c2bea81bf906345ce06106525abe859d4a0295d1db10619b3df837bf8ae9d39db27c10c8f1d7fdcfdbd9f1d941169f8349c5c74c167897b
6
+ metadata.gz: d7c89f5624aebe2a9e5b85f8588f55f13c3c98484de62f21bbd619f67a6e051301d1d59bb6f5ce26e179f0e1adc35743c1a06fb060cc0f5d1bc92f2812df8ebc
7
+ data.tar.gz: f9bbf1753ebbcde1a45d8258f71d0f86ea1c5ad967ab6cec743ff2e3ecb1f5bf40a4b2af065235ed3b15ab2b6663dcfb152a54995f96834bd5fa6b498bdba3e0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.30.0 (2026-09-11)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.29.0 (2026-09-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.29.0
1
+ 1.30.0
@@ -2463,6 +2463,188 @@ module Aws::Invoicing
2463
2463
  req.send_request(options)
2464
2464
  end
2465
2465
 
2466
+ # Returns the suppliers configured for a specified procurement portal,
2467
+ # including supplier identifiers and associated metadata. For faster,
2468
+ # more reliable responses, use pagination.
2469
+ #
2470
+ # @option params [required, String] :portal_identifier
2471
+ # The unique identifier of the procurement portal for which to list
2472
+ # suppliers. Use the `PortalIdentifier` value returned by
2473
+ # `ListProcurementPortals`.
2474
+ #
2475
+ # @option params [String] :next_token
2476
+ # The token for the next set of results. You received this token from a
2477
+ # previous call.
2478
+ #
2479
+ # @option params [Integer] :max_results
2480
+ # The maximum number of results to return in a single call. To retrieve
2481
+ # the remaining results, make another call with the returned NextToken
2482
+ # value. Default is 100.
2483
+ #
2484
+ # @return [Types::ListProcurementPortalSuppliersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2485
+ #
2486
+ # * {Types::ListProcurementPortalSuppliersResponse#procurement_portal_suppliers #procurement_portal_suppliers} => Array<Types::ProcurementPortalSupplier>
2487
+ # * {Types::ListProcurementPortalSuppliersResponse#next_token #next_token} => String
2488
+ #
2489
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2490
+ #
2491
+ #
2492
+ # @example Example: ListProcurementPortalSuppliers
2493
+ #
2494
+ # resp = client.list_procurement_portal_suppliers({
2495
+ # portal_identifier: "KXMJQWBRNP",
2496
+ # })
2497
+ #
2498
+ # resp.to_h outputs the following:
2499
+ # {
2500
+ # procurement_portal_suppliers: [
2501
+ # {
2502
+ # environment: "PROD",
2503
+ # seller_of_record: "AWS_INC",
2504
+ # supplier_identifier: "AN01010639538",
2505
+ # },
2506
+ # {
2507
+ # country_code: "DE",
2508
+ # environment: "PROD",
2509
+ # seller_of_record: "AWS_EUROPE",
2510
+ # supplier_identifier: "AN01401912735",
2511
+ # },
2512
+ # {
2513
+ # environment: "TEST",
2514
+ # seller_of_record: "AWS_INC",
2515
+ # supplier_identifier: "AN01010639538-T",
2516
+ # },
2517
+ # ],
2518
+ # }
2519
+ #
2520
+ # @example Request syntax with placeholder values
2521
+ #
2522
+ # resp = client.list_procurement_portal_suppliers({
2523
+ # portal_identifier: "ProcurementPortalIdString", # required
2524
+ # next_token: "BasicStringWithoutSpace",
2525
+ # max_results: 1,
2526
+ # })
2527
+ #
2528
+ # @example Response structure
2529
+ #
2530
+ # resp.procurement_portal_suppliers #=> Array
2531
+ # resp.procurement_portal_suppliers[0].supplier_identifier #=> String
2532
+ # resp.procurement_portal_suppliers[0].seller_of_record #=> String
2533
+ # resp.procurement_portal_suppliers[0].country_code #=> String
2534
+ # resp.procurement_portal_suppliers[0].environment #=> String, one of "PROD", "TEST"
2535
+ # resp.next_token #=> String
2536
+ #
2537
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ListProcurementPortalSuppliers AWS API Documentation
2538
+ #
2539
+ # @overload list_procurement_portal_suppliers(params = {})
2540
+ # @param [Hash] params ({})
2541
+ def list_procurement_portal_suppliers(params = {}, options = {})
2542
+ req = build_request(:list_procurement_portal_suppliers, params)
2543
+ req.send_request(options)
2544
+ end
2545
+
2546
+ # Returns the Amazon Web Services-supported procurement portals for
2547
+ # e-invoice delivery and purchase order retrieval. Each entry includes
2548
+ # the portal identifier, name, and default feature configurations, which
2549
+ # define the supported document and attachment types. For faster, more
2550
+ # reliable responses, use pagination.
2551
+ #
2552
+ # @option params [String] :next_token
2553
+ # The token for the next set of results. You received this token from a
2554
+ # previous call.
2555
+ #
2556
+ # @option params [Integer] :max_results
2557
+ # The maximum number of results to return in a single call. To retrieve
2558
+ # the remaining results, make another call with the returned NextToken
2559
+ # value. Default is 100.
2560
+ #
2561
+ # @return [Types::ListProcurementPortalsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2562
+ #
2563
+ # * {Types::ListProcurementPortalsResponse#procurement_portals #procurement_portals} => Array<Types::ProcurementPortal>
2564
+ # * {Types::ListProcurementPortalsResponse#next_token #next_token} => String
2565
+ #
2566
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2567
+ #
2568
+ #
2569
+ # @example Example: ListProcurementPortals
2570
+ #
2571
+ # resp = client.list_procurement_portals({
2572
+ # })
2573
+ #
2574
+ # resp.to_h outputs the following:
2575
+ # {
2576
+ # procurement_portals: [
2577
+ # {
2578
+ # default_feature_configurations: {
2579
+ # invoice_configuration: {
2580
+ # attachment_types: [
2581
+ # "INVOICE_PDF",
2582
+ # "RFP_PDF",
2583
+ # ],
2584
+ # document_types: [
2585
+ # "AWS_CLOUD_INVOICE",
2586
+ # "AWS_CLOUD_CREDIT_MEMO",
2587
+ # "AWS_MARKETPLACE_INVOICE",
2588
+ # "AWS_MARKETPLACE_CREDIT_MEMO",
2589
+ # "AWS_REQUEST_FOR_PAYMENT",
2590
+ # ],
2591
+ # },
2592
+ # },
2593
+ # portal_display_name: "SAP Business Network",
2594
+ # portal_identifier: "KXMJQWBRNP",
2595
+ # portal_name: "SAP_BUSINESS_NETWORK",
2596
+ # },
2597
+ # {
2598
+ # default_feature_configurations: {
2599
+ # invoice_configuration: {
2600
+ # attachment_types: [
2601
+ # "INVOICE_PDF",
2602
+ # "RFP_PDF",
2603
+ # ],
2604
+ # document_types: [
2605
+ # "AWS_CLOUD_INVOICE",
2606
+ # "AWS_CLOUD_CREDIT_MEMO",
2607
+ # "AWS_MARKETPLACE_INVOICE",
2608
+ # "AWS_MARKETPLACE_CREDIT_MEMO",
2609
+ # "AWS_REQUEST_FOR_PAYMENT",
2610
+ # ],
2611
+ # },
2612
+ # },
2613
+ # portal_display_name: "Coupa",
2614
+ # portal_identifier: "THZVCGFLDY",
2615
+ # portal_name: "COUPA",
2616
+ # },
2617
+ # ],
2618
+ # }
2619
+ #
2620
+ # @example Request syntax with placeholder values
2621
+ #
2622
+ # resp = client.list_procurement_portals({
2623
+ # next_token: "BasicStringWithoutSpace",
2624
+ # max_results: 1,
2625
+ # })
2626
+ #
2627
+ # @example Response structure
2628
+ #
2629
+ # resp.procurement_portals #=> Array
2630
+ # resp.procurement_portals[0].portal_identifier #=> String
2631
+ # resp.procurement_portals[0].portal_name #=> String, one of "SAP_BUSINESS_NETWORK", "COUPA"
2632
+ # resp.procurement_portals[0].portal_display_name #=> String
2633
+ # resp.procurement_portals[0].default_feature_configurations.invoice_configuration.document_types #=> Array
2634
+ # 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"
2635
+ # resp.procurement_portals[0].default_feature_configurations.invoice_configuration.attachment_types #=> Array
2636
+ # resp.procurement_portals[0].default_feature_configurations.invoice_configuration.attachment_types[0] #=> String, one of "INVOICE_PDF", "RFP_PDF"
2637
+ # resp.next_token #=> String
2638
+ #
2639
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ListProcurementPortals AWS API Documentation
2640
+ #
2641
+ # @overload list_procurement_portals(params = {})
2642
+ # @param [Hash] params ({})
2643
+ def list_procurement_portals(params = {}, options = {})
2644
+ req = build_request(:list_procurement_portals, params)
2645
+ req.send_request(options)
2646
+ end
2647
+
2466
2648
  # Lists the tags for a resource.
2467
2649
  #
2468
2650
  # @option params [required, String] :resource_arn
@@ -3073,7 +3255,7 @@ module Aws::Invoicing
3073
3255
  tracer: tracer
3074
3256
  )
3075
3257
  context[:gem_name] = 'aws-sdk-invoicing'
3076
- context[:gem_version] = '1.29.0'
3258
+ context[:gem_version] = '1.30.0'
3077
3259
  Seahorse::Client::Request.new(handlers, context)
3078
3260
  end
3079
3261
 
@@ -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,6 +96,10 @@ 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')
@@ -100,6 +107,9 @@ module Aws::Invoicing
100
107
  MaxResultsInteger = Shapes::IntegerShape.new(name: 'MaxResultsInteger')
101
108
  Month = Shapes::IntegerShape.new(name: 'Month')
102
109
  NextTokenString = Shapes::StringShape.new(name: 'NextTokenString')
110
+ ProcurementPortal = Shapes::StructureShape.new(name: 'ProcurementPortal')
111
+ ProcurementPortalEnv = Shapes::StringShape.new(name: 'ProcurementPortalEnv')
112
+ ProcurementPortalIdString = Shapes::StringShape.new(name: 'ProcurementPortalIdString')
103
113
  ProcurementPortalName = Shapes::StringShape.new(name: 'ProcurementPortalName')
104
114
  ProcurementPortalPreference = Shapes::StructureShape.new(name: 'ProcurementPortalPreference')
105
115
  ProcurementPortalPreferenceArnString = Shapes::StringShape.new(name: 'ProcurementPortalPreferenceArnString')
@@ -107,6 +117,9 @@ module Aws::Invoicing
107
117
  ProcurementPortalPreferenceStatus = Shapes::StringShape.new(name: 'ProcurementPortalPreferenceStatus')
108
118
  ProcurementPortalPreferenceSummaries = Shapes::ListShape.new(name: 'ProcurementPortalPreferenceSummaries')
109
119
  ProcurementPortalPreferenceSummary = Shapes::StructureShape.new(name: 'ProcurementPortalPreferenceSummary')
120
+ ProcurementPortalSupplier = Shapes::StructureShape.new(name: 'ProcurementPortalSupplier')
121
+ ProcurementPortalSuppliers = Shapes::ListShape.new(name: 'ProcurementPortalSuppliers')
122
+ ProcurementPortals = Shapes::ListShape.new(name: 'ProcurementPortals')
110
123
  ProfileList = Shapes::ListShape.new(name: 'ProfileList')
111
124
  Protocol = Shapes::StringShape.new(name: 'Protocol')
112
125
  PurchaseOrderDataSource = Shapes::StructureShape.new(name: 'PurchaseOrderDataSource')
@@ -133,6 +146,7 @@ module Aws::Invoicing
133
146
  SupplementalDocumentType = Shapes::StringShape.new(name: 'SupplementalDocumentType')
134
147
  SupplementalDocuments = Shapes::ListShape.new(name: 'SupplementalDocuments')
135
148
  SupplierDomain = Shapes::StringShape.new(name: 'SupplierDomain')
149
+ SupplierIdString = Shapes::StringShape.new(name: 'SupplierIdString')
136
150
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
137
151
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
138
152
  TagrisArn = Shapes::StringShape.new(name: 'TagrisArn')
@@ -276,6 +290,9 @@ module Aws::Invoicing
276
290
  Entity.add_member(:billing_entity, Shapes::ShapeRef.new(shape: BillingEntity, location_name: "BillingEntity"))
277
291
  Entity.struct_class = Types::Entity
278
292
 
293
+ FeatureConfigurations.add_member(:invoice_configuration, Shapes::ShapeRef.new(shape: InvoiceConfiguration, location_name: "InvoiceConfiguration"))
294
+ FeatureConfigurations.struct_class = Types::FeatureConfigurations
295
+
279
296
  FeesBreakdown.add_member(:breakdown, Shapes::ShapeRef.new(shape: FeesBreakdownAmountList, location_name: "Breakdown"))
280
297
  FeesBreakdown.add_member(:total_amount, Shapes::ShapeRef.new(shape: BasicString, location_name: "TotalAmount"))
281
298
  FeesBreakdown.struct_class = Types::FeesBreakdown
@@ -322,6 +339,10 @@ module Aws::Invoicing
322
339
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: BasicString, location_name: "message"))
323
340
  InternalServerException.struct_class = Types::InternalServerException
324
341
 
342
+ InvoiceConfiguration.add_member(:document_types, Shapes::ShapeRef.new(shape: EinvoiceDeliveryDocumentTypes, location_name: "DocumentTypes"))
343
+ InvoiceConfiguration.add_member(:attachment_types, Shapes::ShapeRef.new(shape: EinvoiceDeliveryAttachmentTypes, location_name: "AttachmentTypes"))
344
+ InvoiceConfiguration.struct_class = Types::InvoiceConfiguration
345
+
325
346
  InvoiceCurrencyAmount.add_member(:total_amount, Shapes::ShapeRef.new(shape: BasicString, location_name: "TotalAmount"))
326
347
  InvoiceCurrencyAmount.add_member(:total_amount_before_tax, Shapes::ShapeRef.new(shape: BasicString, location_name: "TotalAmountBeforeTax"))
327
348
  InvoiceCurrencyAmount.add_member(:currency_code, Shapes::ShapeRef.new(shape: CurrencyCode, location_name: "CurrencyCode"))
@@ -424,12 +445,35 @@ module Aws::Invoicing
424
445
  ListProcurementPortalPreferencesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "NextToken"))
425
446
  ListProcurementPortalPreferencesResponse.struct_class = Types::ListProcurementPortalPreferencesResponse
426
447
 
448
+ ListProcurementPortalSuppliersRequest.add_member(:portal_identifier, Shapes::ShapeRef.new(shape: ProcurementPortalIdString, required: true, location_name: "PortalIdentifier"))
449
+ ListProcurementPortalSuppliersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "NextToken"))
450
+ ListProcurementPortalSuppliersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
451
+ ListProcurementPortalSuppliersRequest.struct_class = Types::ListProcurementPortalSuppliersRequest
452
+
453
+ ListProcurementPortalSuppliersResponse.add_member(:procurement_portal_suppliers, Shapes::ShapeRef.new(shape: ProcurementPortalSuppliers, required: true, location_name: "ProcurementPortalSuppliers"))
454
+ ListProcurementPortalSuppliersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "NextToken"))
455
+ ListProcurementPortalSuppliersResponse.struct_class = Types::ListProcurementPortalSuppliersResponse
456
+
457
+ ListProcurementPortalsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "NextToken"))
458
+ ListProcurementPortalsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
459
+ ListProcurementPortalsRequest.struct_class = Types::ListProcurementPortalsRequest
460
+
461
+ ListProcurementPortalsResponse.add_member(:procurement_portals, Shapes::ShapeRef.new(shape: ProcurementPortals, required: true, location_name: "ProcurementPortals"))
462
+ ListProcurementPortalsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "NextToken"))
463
+ ListProcurementPortalsResponse.struct_class = Types::ListProcurementPortalsResponse
464
+
427
465
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TagrisArn, required: true, location_name: "ResourceArn"))
428
466
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
429
467
 
430
468
  ListTagsForResourceResponse.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagList, location_name: "ResourceTags"))
431
469
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
432
470
 
471
+ ProcurementPortal.add_member(:portal_identifier, Shapes::ShapeRef.new(shape: ProcurementPortalIdString, required: true, location_name: "PortalIdentifier"))
472
+ ProcurementPortal.add_member(:portal_name, Shapes::ShapeRef.new(shape: ProcurementPortalName, required: true, location_name: "PortalName"))
473
+ ProcurementPortal.add_member(:portal_display_name, Shapes::ShapeRef.new(shape: BasicString, location_name: "PortalDisplayName"))
474
+ ProcurementPortal.add_member(:default_feature_configurations, Shapes::ShapeRef.new(shape: FeatureConfigurations, location_name: "DefaultFeatureConfigurations"))
475
+ ProcurementPortal.struct_class = Types::ProcurementPortal
476
+
433
477
  ProcurementPortalPreference.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AccountIdString, required: true, location_name: "AwsAccountId"))
434
478
  ProcurementPortalPreference.add_member(:procurement_portal_preference_arn, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceArnString, required: true, location_name: "ProcurementPortalPreferenceArn"))
435
479
  ProcurementPortalPreference.add_member(:procurement_portal_name, Shapes::ShapeRef.new(shape: ProcurementPortalName, required: true, location_name: "ProcurementPortalName"))
@@ -480,6 +524,16 @@ module Aws::Invoicing
480
524
  ProcurementPortalPreferenceSummary.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastUpdateDate"))
481
525
  ProcurementPortalPreferenceSummary.struct_class = Types::ProcurementPortalPreferenceSummary
482
526
 
527
+ ProcurementPortalSupplier.add_member(:supplier_identifier, Shapes::ShapeRef.new(shape: SupplierIdString, required: true, location_name: "SupplierIdentifier"))
528
+ ProcurementPortalSupplier.add_member(:seller_of_record, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "SellerOfRecord"))
529
+ ProcurementPortalSupplier.add_member(:country_code, Shapes::ShapeRef.new(shape: CountryCode, location_name: "CountryCode"))
530
+ ProcurementPortalSupplier.add_member(:environment, Shapes::ShapeRef.new(shape: ProcurementPortalEnv, location_name: "Environment"))
531
+ ProcurementPortalSupplier.struct_class = Types::ProcurementPortalSupplier
532
+
533
+ ProcurementPortalSuppliers.member = Shapes::ShapeRef.new(shape: ProcurementPortalSupplier)
534
+
535
+ ProcurementPortals.member = Shapes::ShapeRef.new(shape: ProcurementPortal)
536
+
483
537
  ProfileList.member = Shapes::ShapeRef.new(shape: InvoiceProfile)
484
538
 
485
539
  PurchaseOrderDataSource.add_member(:einvoice_delivery_document_type, Shapes::ShapeRef.new(shape: EinvoiceDeliveryDocumentType, location_name: "EinvoiceDeliveryDocumentType"))
@@ -817,6 +871,43 @@ module Aws::Invoicing
817
871
  )
818
872
  end)
819
873
 
874
+ api.add_operation(:list_procurement_portal_suppliers, Seahorse::Model::Operation.new.tap do |o|
875
+ o.name = "ListProcurementPortalSuppliers"
876
+ o.http_method = "POST"
877
+ o.http_request_uri = "/"
878
+ o.input = Shapes::ShapeRef.new(shape: ListProcurementPortalSuppliersRequest)
879
+ o.output = Shapes::ShapeRef.new(shape: ListProcurementPortalSuppliersResponse)
880
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
881
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
882
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
883
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
884
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
885
+ o[:pager] = Aws::Pager.new(
886
+ limit_key: "max_results",
887
+ tokens: {
888
+ "next_token" => "next_token"
889
+ }
890
+ )
891
+ end)
892
+
893
+ api.add_operation(:list_procurement_portals, Seahorse::Model::Operation.new.tap do |o|
894
+ o.name = "ListProcurementPortals"
895
+ o.http_method = "POST"
896
+ o.http_request_uri = "/"
897
+ o.input = Shapes::ShapeRef.new(shape: ListProcurementPortalsRequest)
898
+ o.output = Shapes::ShapeRef.new(shape: ListProcurementPortalsResponse)
899
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
900
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
901
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
902
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
903
+ o[:pager] = Aws::Pager.new(
904
+ limit_key: "max_results",
905
+ tokens: {
906
+ "next_token" => "next_token"
907
+ }
908
+ )
909
+ end)
910
+
820
911
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
821
912
  o.name = "ListTagsForResource"
822
913
  o.http_method = "POST"
@@ -551,6 +551,21 @@ module Aws::Invoicing
551
551
  include Aws::Structure
552
552
  end
553
553
 
554
+ # Contains the default feature configuration settings for a procurement
555
+ # portal.
556
+ #
557
+ # @!attribute [rw] invoice_configuration
558
+ # The invoice configuration settings for the procurement portal.
559
+ # @return [Types::InvoiceConfiguration]
560
+ #
561
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/FeatureConfigurations AWS API Documentation
562
+ #
563
+ class FeatureConfigurations < Struct.new(
564
+ :invoice_configuration)
565
+ SENSITIVE = []
566
+ include Aws::Structure
567
+ end
568
+
554
569
  # The details of fees.
555
570
  #
556
571
  # @!attribute [rw] breakdown
@@ -784,6 +799,27 @@ module Aws::Invoicing
784
799
  include Aws::Structure
785
800
  end
786
801
 
802
+ # Specifies the supported document types and attachment types for
803
+ # invoice delivery to a procurement portal.
804
+ #
805
+ # @!attribute [rw] document_types
806
+ # The e-invoice document types supported by the procurement portal.
807
+ # @return [Array<String>]
808
+ #
809
+ # @!attribute [rw] attachment_types
810
+ # The attachment types supported by the procurement portal for
811
+ # e-invoice delivery.
812
+ # @return [Array<String>]
813
+ #
814
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/InvoiceConfiguration AWS API Documentation
815
+ #
816
+ class InvoiceConfiguration < Struct.new(
817
+ :document_types,
818
+ :attachment_types)
819
+ SENSITIVE = []
820
+ include Aws::Structure
821
+ end
822
+
787
823
  # The amount charged after taxes, in the preferred currency.
788
824
  #
789
825
  # @!attribute [rw] total_amount
@@ -1280,6 +1316,90 @@ module Aws::Invoicing
1280
1316
  include Aws::Structure
1281
1317
  end
1282
1318
 
1319
+ # @!attribute [rw] portal_identifier
1320
+ # The unique identifier of the procurement portal for which to list
1321
+ # suppliers. Use the `PortalIdentifier` value returned by
1322
+ # `ListProcurementPortals`.
1323
+ # @return [String]
1324
+ #
1325
+ # @!attribute [rw] next_token
1326
+ # The token for the next set of results. You received this token from
1327
+ # a previous call.
1328
+ # @return [String]
1329
+ #
1330
+ # @!attribute [rw] max_results
1331
+ # The maximum number of results to return in a single call. To
1332
+ # retrieve the remaining results, make another call with the returned
1333
+ # NextToken value. Default is 100.
1334
+ # @return [Integer]
1335
+ #
1336
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ListProcurementPortalSuppliersRequest AWS API Documentation
1337
+ #
1338
+ class ListProcurementPortalSuppliersRequest < Struct.new(
1339
+ :portal_identifier,
1340
+ :next_token,
1341
+ :max_results)
1342
+ SENSITIVE = []
1343
+ include Aws::Structure
1344
+ end
1345
+
1346
+ # @!attribute [rw] procurement_portal_suppliers
1347
+ # The list of suppliers configured for the specified procurement
1348
+ # portal.
1349
+ # @return [Array<Types::ProcurementPortalSupplier>]
1350
+ #
1351
+ # @!attribute [rw] next_token
1352
+ # The token to use to retrieve the next set of results, or null if
1353
+ # there are no more results.
1354
+ # @return [String]
1355
+ #
1356
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ListProcurementPortalSuppliersResponse AWS API Documentation
1357
+ #
1358
+ class ListProcurementPortalSuppliersResponse < Struct.new(
1359
+ :procurement_portal_suppliers,
1360
+ :next_token)
1361
+ SENSITIVE = []
1362
+ include Aws::Structure
1363
+ end
1364
+
1365
+ # @!attribute [rw] next_token
1366
+ # The token for the next set of results. You received this token from
1367
+ # a previous call.
1368
+ # @return [String]
1369
+ #
1370
+ # @!attribute [rw] max_results
1371
+ # The maximum number of results to return in a single call. To
1372
+ # retrieve the remaining results, make another call with the returned
1373
+ # NextToken value. Default is 100.
1374
+ # @return [Integer]
1375
+ #
1376
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ListProcurementPortalsRequest AWS API Documentation
1377
+ #
1378
+ class ListProcurementPortalsRequest < Struct.new(
1379
+ :next_token,
1380
+ :max_results)
1381
+ SENSITIVE = []
1382
+ include Aws::Structure
1383
+ end
1384
+
1385
+ # @!attribute [rw] procurement_portals
1386
+ # The list of procurement portals available for configuration.
1387
+ # @return [Array<Types::ProcurementPortal>]
1388
+ #
1389
+ # @!attribute [rw] next_token
1390
+ # The token to use to retrieve the next set of results, or null if
1391
+ # there are no more results.
1392
+ # @return [String]
1393
+ #
1394
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ListProcurementPortalsResponse AWS API Documentation
1395
+ #
1396
+ class ListProcurementPortalsResponse < Struct.new(
1397
+ :procurement_portals,
1398
+ :next_token)
1399
+ SENSITIVE = []
1400
+ include Aws::Structure
1401
+ end
1402
+
1283
1403
  # @!attribute [rw] resource_arn
1284
1404
  # The Amazon Resource Name (ARN) of tags to list.
1285
1405
  # @return [String]
@@ -1304,6 +1424,36 @@ module Aws::Invoicing
1304
1424
  include Aws::Structure
1305
1425
  end
1306
1426
 
1427
+ # Contains metadata for a procurement portal, including the portal
1428
+ # identifier, name, and default feature configurations.
1429
+ #
1430
+ # @!attribute [rw] portal_identifier
1431
+ # The unique identifier of the procurement portal.
1432
+ # @return [String]
1433
+ #
1434
+ # @!attribute [rw] portal_name
1435
+ # The name of the procurement portal.
1436
+ # @return [String]
1437
+ #
1438
+ # @!attribute [rw] portal_display_name
1439
+ # The display name of the procurement portal.
1440
+ # @return [String]
1441
+ #
1442
+ # @!attribute [rw] default_feature_configurations
1443
+ # The default feature configurations for the procurement portal.
1444
+ # @return [Types::FeatureConfigurations]
1445
+ #
1446
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ProcurementPortal AWS API Documentation
1447
+ #
1448
+ class ProcurementPortal < Struct.new(
1449
+ :portal_identifier,
1450
+ :portal_name,
1451
+ :portal_display_name,
1452
+ :default_feature_configurations)
1453
+ SENSITIVE = []
1454
+ include Aws::Structure
1455
+ end
1456
+
1307
1457
  # Represents the full configuration of a procurement portal preference,
1308
1458
  # including settings for e-invoice delivery and purchase order
1309
1459
  # retrieval.
@@ -1571,6 +1721,40 @@ module Aws::Invoicing
1571
1721
  include Aws::Structure
1572
1722
  end
1573
1723
 
1724
+ # Contains metadata for a supplier configured within a procurement
1725
+ # portal.
1726
+ #
1727
+ # @!attribute [rw] supplier_identifier
1728
+ # The unique identifier of the supplier within the procurement portal.
1729
+ # @return [String]
1730
+ #
1731
+ # @!attribute [rw] seller_of_record
1732
+ # The Amazon Web Services seller of record associated with the
1733
+ # supplier—the Amazon Web Services legal entity that issues invoices
1734
+ # for the account (for example, `AWS_INC` or `AWS_EUROPE`).
1735
+ # @return [String]
1736
+ #
1737
+ # @!attribute [rw] country_code
1738
+ # The two-letter ISO 3166-1 alpha-2 country code associated with the
1739
+ # supplier.
1740
+ # @return [String]
1741
+ #
1742
+ # @!attribute [rw] environment
1743
+ # The environment identifier for the supplier in the procurement
1744
+ # portal. PROD for production env, or TEST for sandbox/test env.
1745
+ # @return [String]
1746
+ #
1747
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ProcurementPortalSupplier AWS API Documentation
1748
+ #
1749
+ class ProcurementPortalSupplier < Struct.new(
1750
+ :supplier_identifier,
1751
+ :seller_of_record,
1752
+ :country_code,
1753
+ :environment)
1754
+ SENSITIVE = []
1755
+ include Aws::Structure
1756
+ end
1757
+
1574
1758
  # Specifies the source configuration for retrieving purchase order data.
1575
1759
  #
1576
1760
  # @!attribute [rw] einvoice_delivery_document_type
@@ -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.30.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -268,6 +268,31 @@ module Aws
268
268
  ) -> _ListProcurementPortalPreferencesResponseSuccess
269
269
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProcurementPortalPreferencesResponseSuccess
270
270
 
271
+ interface _ListProcurementPortalSuppliersResponseSuccess
272
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListProcurementPortalSuppliersResponse]
273
+ def procurement_portal_suppliers: () -> ::Array[Types::ProcurementPortalSupplier]
274
+ def next_token: () -> ::String
275
+ end
276
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Invoicing/Client.html#list_procurement_portal_suppliers-instance_method
277
+ def list_procurement_portal_suppliers: (
278
+ portal_identifier: ::String,
279
+ ?next_token: ::String,
280
+ ?max_results: ::Integer
281
+ ) -> _ListProcurementPortalSuppliersResponseSuccess
282
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProcurementPortalSuppliersResponseSuccess
283
+
284
+ interface _ListProcurementPortalsResponseSuccess
285
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListProcurementPortalsResponse]
286
+ def procurement_portals: () -> ::Array[Types::ProcurementPortal]
287
+ def next_token: () -> ::String
288
+ end
289
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Invoicing/Client.html#list_procurement_portals-instance_method
290
+ def list_procurement_portals: (
291
+ ?next_token: ::String,
292
+ ?max_results: ::Integer
293
+ ) -> _ListProcurementPortalsResponseSuccess
294
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProcurementPortalsResponseSuccess
295
+
271
296
  interface _ListTagsForResourceResponseSuccess
272
297
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
273
298
  def resource_tags: () -> ::Array[Types::ResourceTag]
data/sig/types.rbs CHANGED
@@ -155,6 +155,11 @@ module Aws::Invoicing
155
155
  SENSITIVE: []
156
156
  end
157
157
 
158
+ class FeatureConfigurations
159
+ attr_accessor invoice_configuration: Types::InvoiceConfiguration
160
+ SENSITIVE: []
161
+ end
162
+
158
163
  class FeesBreakdown
159
164
  attr_accessor breakdown: ::Array[Types::FeesBreakdownAmount]
160
165
  attr_accessor total_amount: ::String
@@ -219,6 +224,12 @@ module Aws::Invoicing
219
224
  SENSITIVE: []
220
225
  end
221
226
 
227
+ class InvoiceConfiguration
228
+ attr_accessor document_types: ::Array[("AWS_CLOUD_INVOICE" | "AWS_CLOUD_CREDIT_MEMO" | "AWS_MARKETPLACE_INVOICE" | "AWS_MARKETPLACE_CREDIT_MEMO" | "AWS_REQUEST_FOR_PAYMENT")]
229
+ attr_accessor attachment_types: ::Array[("INVOICE_PDF" | "RFP_PDF")]
230
+ SENSITIVE: []
231
+ end
232
+
222
233
  class InvoiceCurrencyAmount
223
234
  attr_accessor total_amount: ::String
224
235
  attr_accessor total_amount_before_tax: ::String
@@ -341,6 +352,31 @@ module Aws::Invoicing
341
352
  SENSITIVE: []
342
353
  end
343
354
 
355
+ class ListProcurementPortalSuppliersRequest
356
+ attr_accessor portal_identifier: ::String
357
+ attr_accessor next_token: ::String
358
+ attr_accessor max_results: ::Integer
359
+ SENSITIVE: []
360
+ end
361
+
362
+ class ListProcurementPortalSuppliersResponse
363
+ attr_accessor procurement_portal_suppliers: ::Array[Types::ProcurementPortalSupplier]
364
+ attr_accessor next_token: ::String
365
+ SENSITIVE: []
366
+ end
367
+
368
+ class ListProcurementPortalsRequest
369
+ attr_accessor next_token: ::String
370
+ attr_accessor max_results: ::Integer
371
+ SENSITIVE: []
372
+ end
373
+
374
+ class ListProcurementPortalsResponse
375
+ attr_accessor procurement_portals: ::Array[Types::ProcurementPortal]
376
+ attr_accessor next_token: ::String
377
+ SENSITIVE: []
378
+ end
379
+
344
380
  class ListTagsForResourceRequest
345
381
  attr_accessor resource_arn: ::String
346
382
  SENSITIVE: []
@@ -351,6 +387,14 @@ module Aws::Invoicing
351
387
  SENSITIVE: []
352
388
  end
353
389
 
390
+ class ProcurementPortal
391
+ attr_accessor portal_identifier: ::String
392
+ attr_accessor portal_name: ("SAP_BUSINESS_NETWORK" | "COUPA")
393
+ attr_accessor portal_display_name: ::String
394
+ attr_accessor default_feature_configurations: Types::FeatureConfigurations
395
+ SENSITIVE: []
396
+ end
397
+
354
398
  class ProcurementPortalPreference
355
399
  attr_accessor aws_account_id: ::String
356
400
  attr_accessor procurement_portal_preference_arn: ::String
@@ -405,6 +449,14 @@ module Aws::Invoicing
405
449
  SENSITIVE: []
406
450
  end
407
451
 
452
+ class ProcurementPortalSupplier
453
+ attr_accessor supplier_identifier: ::String
454
+ attr_accessor seller_of_record: ::String
455
+ attr_accessor country_code: ::String
456
+ attr_accessor environment: ("PROD" | "TEST")
457
+ SENSITIVE: []
458
+ end
459
+
408
460
  class PurchaseOrderDataSource
409
461
  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
462
  attr_accessor purchase_order_data_source_type: ("ASSOCIATED_PURCHASE_ORDER_REQUIRED" | "PURCHASE_ORDER_NOT_REQUIRED")
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.30.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