aws-sdk-invoicing 1.15.0 → 1.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,17 +24,33 @@ module Aws::Invoicing
24
24
  BatchGetInvoiceProfileRequest = Shapes::StructureShape.new(name: 'BatchGetInvoiceProfileRequest')
25
25
  BatchGetInvoiceProfileResponse = Shapes::StructureShape.new(name: 'BatchGetInvoiceProfileResponse')
26
26
  BillingPeriod = Shapes::StructureShape.new(name: 'BillingPeriod')
27
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
28
+ BuyerDomain = Shapes::StringShape.new(name: 'BuyerDomain')
29
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
30
+ ConnectionTestingMethod = Shapes::StringShape.new(name: 'ConnectionTestingMethod')
31
+ Contact = Shapes::StructureShape.new(name: 'Contact')
32
+ Contacts = Shapes::ListShape.new(name: 'Contacts')
27
33
  CreateInvoiceUnitRequest = Shapes::StructureShape.new(name: 'CreateInvoiceUnitRequest')
28
34
  CreateInvoiceUnitResponse = Shapes::StructureShape.new(name: 'CreateInvoiceUnitResponse')
35
+ CreateProcurementPortalPreferenceRequest = Shapes::StructureShape.new(name: 'CreateProcurementPortalPreferenceRequest')
36
+ CreateProcurementPortalPreferenceResponse = Shapes::StructureShape.new(name: 'CreateProcurementPortalPreferenceResponse')
29
37
  CurrencyCode = Shapes::StringShape.new(name: 'CurrencyCode')
30
38
  CurrencyExchangeDetails = Shapes::StructureShape.new(name: 'CurrencyExchangeDetails')
31
39
  DateInterval = Shapes::StructureShape.new(name: 'DateInterval')
32
40
  DeleteInvoiceUnitRequest = Shapes::StructureShape.new(name: 'DeleteInvoiceUnitRequest')
33
41
  DeleteInvoiceUnitResponse = Shapes::StructureShape.new(name: 'DeleteInvoiceUnitResponse')
42
+ DeleteProcurementPortalPreferenceRequest = Shapes::StructureShape.new(name: 'DeleteProcurementPortalPreferenceRequest')
43
+ DeleteProcurementPortalPreferenceResponse = Shapes::StructureShape.new(name: 'DeleteProcurementPortalPreferenceResponse')
34
44
  DescriptionString = Shapes::StringShape.new(name: 'DescriptionString')
35
45
  DiscountsBreakdown = Shapes::StructureShape.new(name: 'DiscountsBreakdown')
36
46
  DiscountsBreakdownAmount = Shapes::StructureShape.new(name: 'DiscountsBreakdownAmount')
37
47
  DiscountsBreakdownAmountList = Shapes::ListShape.new(name: 'DiscountsBreakdownAmountList')
48
+ EinvoiceDeliveryAttachmentType = Shapes::StringShape.new(name: 'EinvoiceDeliveryAttachmentType')
49
+ EinvoiceDeliveryAttachmentTypes = Shapes::ListShape.new(name: 'EinvoiceDeliveryAttachmentTypes')
50
+ EinvoiceDeliveryDocumentType = Shapes::StringShape.new(name: 'EinvoiceDeliveryDocumentType')
51
+ EinvoiceDeliveryDocumentTypes = Shapes::ListShape.new(name: 'EinvoiceDeliveryDocumentTypes')
52
+ EinvoiceDeliveryPreference = Shapes::StructureShape.new(name: 'EinvoiceDeliveryPreference')
53
+ EmailString = Shapes::StringShape.new(name: 'EmailString')
38
54
  Entity = Shapes::StructureShape.new(name: 'Entity')
39
55
  FeesBreakdown = Shapes::StructureShape.new(name: 'FeesBreakdown')
40
56
  FeesBreakdownAmount = Shapes::StructureShape.new(name: 'FeesBreakdownAmount')
@@ -44,6 +60,8 @@ module Aws::Invoicing
44
60
  GetInvoicePDFResponse = Shapes::StructureShape.new(name: 'GetInvoicePDFResponse')
45
61
  GetInvoiceUnitRequest = Shapes::StructureShape.new(name: 'GetInvoiceUnitRequest')
46
62
  GetInvoiceUnitResponse = Shapes::StructureShape.new(name: 'GetInvoiceUnitResponse')
63
+ GetProcurementPortalPreferenceRequest = Shapes::StructureShape.new(name: 'GetProcurementPortalPreferenceRequest')
64
+ GetProcurementPortalPreferenceResponse = Shapes::StructureShape.new(name: 'GetProcurementPortalPreferenceResponse')
47
65
  Integer = Shapes::IntegerShape.new(name: 'Integer')
48
66
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
49
67
  InvoiceCurrencyAmount = Shapes::StructureShape.new(name: 'InvoiceCurrencyAmount')
@@ -57,6 +75,7 @@ module Aws::Invoicing
57
75
  InvoiceType = Shapes::StringShape.new(name: 'InvoiceType')
58
76
  InvoiceUnit = Shapes::StructureShape.new(name: 'InvoiceUnit')
59
77
  InvoiceUnitArnString = Shapes::StringShape.new(name: 'InvoiceUnitArnString')
78
+ InvoiceUnitArns = Shapes::ListShape.new(name: 'InvoiceUnitArns')
60
79
  InvoiceUnitName = Shapes::StringShape.new(name: 'InvoiceUnitName')
61
80
  InvoiceUnitNames = Shapes::ListShape.new(name: 'InvoiceUnitNames')
62
81
  InvoiceUnitRule = Shapes::StructureShape.new(name: 'InvoiceUnitRule')
@@ -67,12 +86,29 @@ module Aws::Invoicing
67
86
  ListInvoiceSummariesResponse = Shapes::StructureShape.new(name: 'ListInvoiceSummariesResponse')
68
87
  ListInvoiceUnitsRequest = Shapes::StructureShape.new(name: 'ListInvoiceUnitsRequest')
69
88
  ListInvoiceUnitsResponse = Shapes::StructureShape.new(name: 'ListInvoiceUnitsResponse')
89
+ ListProcurementPortalPreferencesRequest = Shapes::StructureShape.new(name: 'ListProcurementPortalPreferencesRequest')
90
+ ListProcurementPortalPreferencesResponse = Shapes::StructureShape.new(name: 'ListProcurementPortalPreferencesResponse')
70
91
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
71
92
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
93
+ Long = Shapes::IntegerShape.new(name: 'Long')
94
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
72
95
  MaxResultsInteger = Shapes::IntegerShape.new(name: 'MaxResultsInteger')
73
96
  Month = Shapes::IntegerShape.new(name: 'Month')
74
97
  NextTokenString = Shapes::StringShape.new(name: 'NextTokenString')
98
+ ProcurementPortalName = Shapes::StringShape.new(name: 'ProcurementPortalName')
99
+ ProcurementPortalPreference = Shapes::StructureShape.new(name: 'ProcurementPortalPreference')
100
+ ProcurementPortalPreferenceArnString = Shapes::StringShape.new(name: 'ProcurementPortalPreferenceArnString')
101
+ ProcurementPortalPreferenceSelector = Shapes::StructureShape.new(name: 'ProcurementPortalPreferenceSelector')
102
+ ProcurementPortalPreferenceStatus = Shapes::StringShape.new(name: 'ProcurementPortalPreferenceStatus')
103
+ ProcurementPortalPreferenceSummaries = Shapes::ListShape.new(name: 'ProcurementPortalPreferenceSummaries')
104
+ ProcurementPortalPreferenceSummary = Shapes::StructureShape.new(name: 'ProcurementPortalPreferenceSummary')
75
105
  ProfileList = Shapes::ListShape.new(name: 'ProfileList')
106
+ Protocol = Shapes::StringShape.new(name: 'Protocol')
107
+ PurchaseOrderDataSource = Shapes::StructureShape.new(name: 'PurchaseOrderDataSource')
108
+ PurchaseOrderDataSourceType = Shapes::StringShape.new(name: 'PurchaseOrderDataSourceType')
109
+ PurchaseOrderDataSources = Shapes::ListShape.new(name: 'PurchaseOrderDataSources')
110
+ PutProcurementPortalPreferenceRequest = Shapes::StructureShape.new(name: 'PutProcurementPortalPreferenceRequest')
111
+ PutProcurementPortalPreferenceResponse = Shapes::StructureShape.new(name: 'PutProcurementPortalPreferenceResponse')
76
112
  ReceiverAddress = Shapes::StructureShape.new(name: 'ReceiverAddress')
77
113
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
78
114
  ResourceTag = Shapes::StructureShape.new(name: 'ResourceTag')
@@ -80,11 +116,14 @@ module Aws::Invoicing
80
116
  ResourceTagKeyList = Shapes::ListShape.new(name: 'ResourceTagKeyList')
81
117
  ResourceTagList = Shapes::ListShape.new(name: 'ResourceTagList')
82
118
  ResourceTagValue = Shapes::StringShape.new(name: 'ResourceTagValue')
119
+ RuleAccountIdList = Shapes::ListShape.new(name: 'RuleAccountIdList')
120
+ SellerOfRecords = Shapes::ListShape.new(name: 'SellerOfRecords')
83
121
  SensitiveBasicStringWithoutSpace = Shapes::StringShape.new(name: 'SensitiveBasicStringWithoutSpace')
84
122
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
85
123
  StringWithoutNewLine = Shapes::StringShape.new(name: 'StringWithoutNewLine')
86
124
  SupplementalDocument = Shapes::StructureShape.new(name: 'SupplementalDocument')
87
125
  SupplementalDocuments = Shapes::ListShape.new(name: 'SupplementalDocuments')
126
+ SupplierDomain = Shapes::StringShape.new(name: 'SupplierDomain')
88
127
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
89
128
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
90
129
  TagrisArn = Shapes::StringShape.new(name: 'TagrisArn')
@@ -92,12 +131,16 @@ module Aws::Invoicing
92
131
  TaxesBreakdown = Shapes::StructureShape.new(name: 'TaxesBreakdown')
93
132
  TaxesBreakdownAmount = Shapes::StructureShape.new(name: 'TaxesBreakdownAmount')
94
133
  TaxesBreakdownAmountList = Shapes::ListShape.new(name: 'TaxesBreakdownAmountList')
134
+ TestEnvPreference = Shapes::StructureShape.new(name: 'TestEnvPreference')
135
+ TestEnvPreferenceInput = Shapes::StructureShape.new(name: 'TestEnvPreferenceInput')
95
136
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
96
137
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
97
138
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
98
139
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
99
140
  UpdateInvoiceUnitRequest = Shapes::StructureShape.new(name: 'UpdateInvoiceUnitRequest')
100
141
  UpdateInvoiceUnitResponse = Shapes::StructureShape.new(name: 'UpdateInvoiceUnitResponse')
142
+ UpdateProcurementPortalPreferenceStatusRequest = Shapes::StructureShape.new(name: 'UpdateProcurementPortalPreferenceStatusRequest')
143
+ UpdateProcurementPortalPreferenceStatusResponse = Shapes::StructureShape.new(name: 'UpdateProcurementPortalPreferenceStatusResponse')
101
144
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
102
145
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
103
146
  ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
@@ -126,6 +169,17 @@ module Aws::Invoicing
126
169
  BillingPeriod.add_member(:year, Shapes::ShapeRef.new(shape: Year, required: true, location_name: "Year"))
127
170
  BillingPeriod.struct_class = Types::BillingPeriod
128
171
 
172
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: BasicString, location_name: "message"))
173
+ ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: BasicString, location_name: "resourceId"))
174
+ ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: BasicString, location_name: "resourceType"))
175
+ ConflictException.struct_class = Types::ConflictException
176
+
177
+ Contact.add_member(:name, Shapes::ShapeRef.new(shape: BasicString, location_name: "Name"))
178
+ Contact.add_member(:email, Shapes::ShapeRef.new(shape: EmailString, location_name: "Email"))
179
+ Contact.struct_class = Types::Contact
180
+
181
+ Contacts.member = Shapes::ShapeRef.new(shape: Contact)
182
+
129
183
  CreateInvoiceUnitRequest.add_member(:name, Shapes::ShapeRef.new(shape: InvoiceUnitName, required: true, location_name: "Name"))
130
184
  CreateInvoiceUnitRequest.add_member(:invoice_receiver, Shapes::ShapeRef.new(shape: AccountIdString, required: true, location_name: "InvoiceReceiver"))
131
185
  CreateInvoiceUnitRequest.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
@@ -137,6 +191,26 @@ module Aws::Invoicing
137
191
  CreateInvoiceUnitResponse.add_member(:invoice_unit_arn, Shapes::ShapeRef.new(shape: InvoiceUnitArnString, location_name: "InvoiceUnitArn"))
138
192
  CreateInvoiceUnitResponse.struct_class = Types::CreateInvoiceUnitResponse
139
193
 
194
+ CreateProcurementPortalPreferenceRequest.add_member(:procurement_portal_name, Shapes::ShapeRef.new(shape: ProcurementPortalName, required: true, location_name: "ProcurementPortalName"))
195
+ CreateProcurementPortalPreferenceRequest.add_member(:buyer_domain, Shapes::ShapeRef.new(shape: BuyerDomain, required: true, location_name: "BuyerDomain"))
196
+ CreateProcurementPortalPreferenceRequest.add_member(:buyer_identifier, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, required: true, location_name: "BuyerIdentifier"))
197
+ CreateProcurementPortalPreferenceRequest.add_member(:supplier_domain, Shapes::ShapeRef.new(shape: SupplierDomain, required: true, location_name: "SupplierDomain"))
198
+ CreateProcurementPortalPreferenceRequest.add_member(:supplier_identifier, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, required: true, location_name: "SupplierIdentifier"))
199
+ CreateProcurementPortalPreferenceRequest.add_member(:selector, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceSelector, location_name: "Selector"))
200
+ CreateProcurementPortalPreferenceRequest.add_member(:procurement_portal_shared_secret, Shapes::ShapeRef.new(shape: SensitiveBasicStringWithoutSpace, location_name: "ProcurementPortalSharedSecret"))
201
+ CreateProcurementPortalPreferenceRequest.add_member(:procurement_portal_instance_endpoint, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "ProcurementPortalInstanceEndpoint"))
202
+ CreateProcurementPortalPreferenceRequest.add_member(:test_env_preference, Shapes::ShapeRef.new(shape: TestEnvPreferenceInput, location_name: "TestEnvPreference"))
203
+ CreateProcurementPortalPreferenceRequest.add_member(:einvoice_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "EinvoiceDeliveryEnabled"))
204
+ CreateProcurementPortalPreferenceRequest.add_member(:einvoice_delivery_preference, Shapes::ShapeRef.new(shape: EinvoiceDeliveryPreference, location_name: "EinvoiceDeliveryPreference"))
205
+ CreateProcurementPortalPreferenceRequest.add_member(:purchase_order_retrieval_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "PurchaseOrderRetrievalEnabled"))
206
+ CreateProcurementPortalPreferenceRequest.add_member(:contacts, Shapes::ShapeRef.new(shape: Contacts, required: true, location_name: "Contacts"))
207
+ CreateProcurementPortalPreferenceRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagList, location_name: "ResourceTags"))
208
+ CreateProcurementPortalPreferenceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
209
+ CreateProcurementPortalPreferenceRequest.struct_class = Types::CreateProcurementPortalPreferenceRequest
210
+
211
+ CreateProcurementPortalPreferenceResponse.add_member(:procurement_portal_preference_arn, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceArnString, required: true, location_name: "ProcurementPortalPreferenceArn"))
212
+ CreateProcurementPortalPreferenceResponse.struct_class = Types::CreateProcurementPortalPreferenceResponse
213
+
140
214
  CurrencyExchangeDetails.add_member(:source_currency_code, Shapes::ShapeRef.new(shape: BasicString, location_name: "SourceCurrencyCode"))
141
215
  CurrencyExchangeDetails.add_member(:target_currency_code, Shapes::ShapeRef.new(shape: BasicString, location_name: "TargetCurrencyCode"))
142
216
  CurrencyExchangeDetails.add_member(:rate, Shapes::ShapeRef.new(shape: BasicString, location_name: "Rate"))
@@ -152,6 +226,12 @@ module Aws::Invoicing
152
226
  DeleteInvoiceUnitResponse.add_member(:invoice_unit_arn, Shapes::ShapeRef.new(shape: InvoiceUnitArnString, location_name: "InvoiceUnitArn"))
153
227
  DeleteInvoiceUnitResponse.struct_class = Types::DeleteInvoiceUnitResponse
154
228
 
229
+ DeleteProcurementPortalPreferenceRequest.add_member(:procurement_portal_preference_arn, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceArnString, required: true, location_name: "ProcurementPortalPreferenceArn"))
230
+ DeleteProcurementPortalPreferenceRequest.struct_class = Types::DeleteProcurementPortalPreferenceRequest
231
+
232
+ DeleteProcurementPortalPreferenceResponse.add_member(:procurement_portal_preference_arn, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceArnString, required: true, location_name: "ProcurementPortalPreferenceArn"))
233
+ DeleteProcurementPortalPreferenceResponse.struct_class = Types::DeleteProcurementPortalPreferenceResponse
234
+
155
235
  DiscountsBreakdown.add_member(:breakdown, Shapes::ShapeRef.new(shape: DiscountsBreakdownAmountList, location_name: "Breakdown"))
156
236
  DiscountsBreakdown.add_member(:total_amount, Shapes::ShapeRef.new(shape: BasicString, location_name: "TotalAmount"))
157
237
  DiscountsBreakdown.struct_class = Types::DiscountsBreakdown
@@ -163,6 +243,18 @@ module Aws::Invoicing
163
243
 
164
244
  DiscountsBreakdownAmountList.member = Shapes::ShapeRef.new(shape: DiscountsBreakdownAmount)
165
245
 
246
+ EinvoiceDeliveryAttachmentTypes.member = Shapes::ShapeRef.new(shape: EinvoiceDeliveryAttachmentType)
247
+
248
+ EinvoiceDeliveryDocumentTypes.member = Shapes::ShapeRef.new(shape: EinvoiceDeliveryDocumentType)
249
+
250
+ EinvoiceDeliveryPreference.add_member(:einvoice_delivery_document_types, Shapes::ShapeRef.new(shape: EinvoiceDeliveryDocumentTypes, required: true, location_name: "EinvoiceDeliveryDocumentTypes"))
251
+ EinvoiceDeliveryPreference.add_member(:einvoice_delivery_attachment_types, Shapes::ShapeRef.new(shape: EinvoiceDeliveryAttachmentTypes, location_name: "EinvoiceDeliveryAttachmentTypes"))
252
+ EinvoiceDeliveryPreference.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, required: true, location_name: "Protocol"))
253
+ EinvoiceDeliveryPreference.add_member(:purchase_order_data_sources, Shapes::ShapeRef.new(shape: PurchaseOrderDataSources, required: true, location_name: "PurchaseOrderDataSources"))
254
+ EinvoiceDeliveryPreference.add_member(:connection_testing_method, Shapes::ShapeRef.new(shape: ConnectionTestingMethod, required: true, location_name: "ConnectionTestingMethod"))
255
+ EinvoiceDeliveryPreference.add_member(:einvoice_delivery_activation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EinvoiceDeliveryActivationDate"))
256
+ EinvoiceDeliveryPreference.struct_class = Types::EinvoiceDeliveryPreference
257
+
166
258
  Entity.add_member(:invoicing_entity, Shapes::ShapeRef.new(shape: BasicString, location_name: "InvoicingEntity"))
167
259
  Entity.struct_class = Types::Entity
168
260
 
@@ -180,6 +272,7 @@ module Aws::Invoicing
180
272
  Filters.add_member(:names, Shapes::ShapeRef.new(shape: InvoiceUnitNames, location_name: "Names"))
181
273
  Filters.add_member(:invoice_receivers, Shapes::ShapeRef.new(shape: AccountIdList, location_name: "InvoiceReceivers"))
182
274
  Filters.add_member(:accounts, Shapes::ShapeRef.new(shape: AccountIdList, location_name: "Accounts"))
275
+ Filters.add_member(:bill_source_accounts, Shapes::ShapeRef.new(shape: AccountIdList, location_name: "BillSourceAccounts"))
183
276
  Filters.struct_class = Types::Filters
184
277
 
185
278
  GetInvoicePDFRequest.add_member(:invoice_id, Shapes::ShapeRef.new(shape: StringWithoutNewLine, required: true, location_name: "InvoiceId"))
@@ -201,6 +294,12 @@ module Aws::Invoicing
201
294
  GetInvoiceUnitResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: LastModifiedTimestamp, location_name: "LastModified"))
202
295
  GetInvoiceUnitResponse.struct_class = Types::GetInvoiceUnitResponse
203
296
 
297
+ GetProcurementPortalPreferenceRequest.add_member(:procurement_portal_preference_arn, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceArnString, required: true, location_name: "ProcurementPortalPreferenceArn"))
298
+ GetProcurementPortalPreferenceRequest.struct_class = Types::GetProcurementPortalPreferenceRequest
299
+
300
+ GetProcurementPortalPreferenceResponse.add_member(:procurement_portal_preference, Shapes::ShapeRef.new(shape: ProcurementPortalPreference, required: true, location_name: "ProcurementPortalPreference"))
301
+ GetProcurementPortalPreferenceResponse.struct_class = Types::GetProcurementPortalPreferenceResponse
302
+
204
303
  InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "retryAfterSeconds"))
205
304
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: BasicString, location_name: "message"))
206
305
  InternalServerException.struct_class = Types::InternalServerException
@@ -260,9 +359,12 @@ module Aws::Invoicing
260
359
  InvoiceUnit.add_member(:last_modified, Shapes::ShapeRef.new(shape: LastModifiedTimestamp, location_name: "LastModified"))
261
360
  InvoiceUnit.struct_class = Types::InvoiceUnit
262
361
 
362
+ InvoiceUnitArns.member = Shapes::ShapeRef.new(shape: InvoiceUnitArnString)
363
+
263
364
  InvoiceUnitNames.member = Shapes::ShapeRef.new(shape: InvoiceUnitName)
264
365
 
265
- InvoiceUnitRule.add_member(:linked_accounts, Shapes::ShapeRef.new(shape: AccountIdList, location_name: "LinkedAccounts"))
366
+ InvoiceUnitRule.add_member(:linked_accounts, Shapes::ShapeRef.new(shape: RuleAccountIdList, location_name: "LinkedAccounts"))
367
+ InvoiceUnitRule.add_member(:bill_source_accounts, Shapes::ShapeRef.new(shape: RuleAccountIdList, location_name: "BillSourceAccounts"))
266
368
  InvoiceUnitRule.struct_class = Types::InvoiceUnitRule
267
369
 
268
370
  InvoiceUnits.member = Shapes::ShapeRef.new(shape: InvoiceUnit)
@@ -287,14 +389,92 @@ module Aws::Invoicing
287
389
  ListInvoiceUnitsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location_name: "NextToken"))
288
390
  ListInvoiceUnitsResponse.struct_class = Types::ListInvoiceUnitsResponse
289
391
 
392
+ ListProcurementPortalPreferencesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "NextToken"))
393
+ ListProcurementPortalPreferencesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
394
+ ListProcurementPortalPreferencesRequest.struct_class = Types::ListProcurementPortalPreferencesRequest
395
+
396
+ ListProcurementPortalPreferencesResponse.add_member(:procurement_portal_preferences, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceSummaries, location_name: "ProcurementPortalPreferences"))
397
+ ListProcurementPortalPreferencesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "NextToken"))
398
+ ListProcurementPortalPreferencesResponse.struct_class = Types::ListProcurementPortalPreferencesResponse
399
+
290
400
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TagrisArn, required: true, location_name: "ResourceArn"))
291
401
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
292
402
 
293
403
  ListTagsForResourceResponse.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagList, location_name: "ResourceTags"))
294
404
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
295
405
 
406
+ ProcurementPortalPreference.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AccountIdString, required: true, location_name: "AwsAccountId"))
407
+ ProcurementPortalPreference.add_member(:procurement_portal_preference_arn, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceArnString, required: true, location_name: "ProcurementPortalPreferenceArn"))
408
+ ProcurementPortalPreference.add_member(:procurement_portal_name, Shapes::ShapeRef.new(shape: ProcurementPortalName, required: true, location_name: "ProcurementPortalName"))
409
+ ProcurementPortalPreference.add_member(:buyer_domain, Shapes::ShapeRef.new(shape: BuyerDomain, required: true, location_name: "BuyerDomain"))
410
+ ProcurementPortalPreference.add_member(:buyer_identifier, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, required: true, location_name: "BuyerIdentifier"))
411
+ ProcurementPortalPreference.add_member(:supplier_domain, Shapes::ShapeRef.new(shape: SupplierDomain, required: true, location_name: "SupplierDomain"))
412
+ ProcurementPortalPreference.add_member(:supplier_identifier, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, required: true, location_name: "SupplierIdentifier"))
413
+ ProcurementPortalPreference.add_member(:selector, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceSelector, location_name: "Selector"))
414
+ ProcurementPortalPreference.add_member(:procurement_portal_shared_secret, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "ProcurementPortalSharedSecret"))
415
+ ProcurementPortalPreference.add_member(:procurement_portal_instance_endpoint, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "ProcurementPortalInstanceEndpoint"))
416
+ ProcurementPortalPreference.add_member(:purchase_order_retrieval_endpoint, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "PurchaseOrderRetrievalEndpoint"))
417
+ ProcurementPortalPreference.add_member(:test_env_preference, Shapes::ShapeRef.new(shape: TestEnvPreference, location_name: "TestEnvPreference"))
418
+ ProcurementPortalPreference.add_member(:einvoice_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "EinvoiceDeliveryEnabled"))
419
+ ProcurementPortalPreference.add_member(:einvoice_delivery_preference, Shapes::ShapeRef.new(shape: EinvoiceDeliveryPreference, location_name: "EinvoiceDeliveryPreference"))
420
+ ProcurementPortalPreference.add_member(:purchase_order_retrieval_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "PurchaseOrderRetrievalEnabled"))
421
+ ProcurementPortalPreference.add_member(:contacts, Shapes::ShapeRef.new(shape: Contacts, location_name: "Contacts"))
422
+ ProcurementPortalPreference.add_member(:einvoice_delivery_preference_status, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceStatus, location_name: "EinvoiceDeliveryPreferenceStatus"))
423
+ ProcurementPortalPreference.add_member(:einvoice_delivery_preference_status_reason, Shapes::ShapeRef.new(shape: BasicString, location_name: "EinvoiceDeliveryPreferenceStatusReason"))
424
+ ProcurementPortalPreference.add_member(:purchase_order_retrieval_preference_status, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceStatus, location_name: "PurchaseOrderRetrievalPreferenceStatus"))
425
+ ProcurementPortalPreference.add_member(:purchase_order_retrieval_preference_status_reason, Shapes::ShapeRef.new(shape: BasicString, location_name: "PurchaseOrderRetrievalPreferenceStatusReason"))
426
+ ProcurementPortalPreference.add_member(:version, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "Version"))
427
+ ProcurementPortalPreference.add_member(:create_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateDate"))
428
+ ProcurementPortalPreference.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastUpdateDate"))
429
+ ProcurementPortalPreference.struct_class = Types::ProcurementPortalPreference
430
+
431
+ ProcurementPortalPreferenceSelector.add_member(:invoice_unit_arns, Shapes::ShapeRef.new(shape: InvoiceUnitArns, location_name: "InvoiceUnitArns"))
432
+ ProcurementPortalPreferenceSelector.add_member(:seller_of_records, Shapes::ShapeRef.new(shape: SellerOfRecords, location_name: "SellerOfRecords"))
433
+ ProcurementPortalPreferenceSelector.struct_class = Types::ProcurementPortalPreferenceSelector
434
+
435
+ ProcurementPortalPreferenceSummaries.member = Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceSummary)
436
+
437
+ ProcurementPortalPreferenceSummary.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AccountIdString, required: true, location_name: "AwsAccountId"))
438
+ ProcurementPortalPreferenceSummary.add_member(:procurement_portal_preference_arn, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceArnString, required: true, location_name: "ProcurementPortalPreferenceArn"))
439
+ ProcurementPortalPreferenceSummary.add_member(:procurement_portal_name, Shapes::ShapeRef.new(shape: ProcurementPortalName, required: true, location_name: "ProcurementPortalName"))
440
+ ProcurementPortalPreferenceSummary.add_member(:buyer_domain, Shapes::ShapeRef.new(shape: BuyerDomain, required: true, location_name: "BuyerDomain"))
441
+ ProcurementPortalPreferenceSummary.add_member(:buyer_identifier, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, required: true, location_name: "BuyerIdentifier"))
442
+ ProcurementPortalPreferenceSummary.add_member(:supplier_domain, Shapes::ShapeRef.new(shape: SupplierDomain, required: true, location_name: "SupplierDomain"))
443
+ ProcurementPortalPreferenceSummary.add_member(:supplier_identifier, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, required: true, location_name: "SupplierIdentifier"))
444
+ ProcurementPortalPreferenceSummary.add_member(:selector, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceSelector, location_name: "Selector"))
445
+ ProcurementPortalPreferenceSummary.add_member(:einvoice_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "EinvoiceDeliveryEnabled"))
446
+ ProcurementPortalPreferenceSummary.add_member(:purchase_order_retrieval_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "PurchaseOrderRetrievalEnabled"))
447
+ ProcurementPortalPreferenceSummary.add_member(:einvoice_delivery_preference_status, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceStatus, location_name: "EinvoiceDeliveryPreferenceStatus"))
448
+ ProcurementPortalPreferenceSummary.add_member(:einvoice_delivery_preference_status_reason, Shapes::ShapeRef.new(shape: BasicString, location_name: "EinvoiceDeliveryPreferenceStatusReason"))
449
+ ProcurementPortalPreferenceSummary.add_member(:purchase_order_retrieval_preference_status, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceStatus, location_name: "PurchaseOrderRetrievalPreferenceStatus"))
450
+ ProcurementPortalPreferenceSummary.add_member(:purchase_order_retrieval_preference_status_reason, Shapes::ShapeRef.new(shape: BasicString, location_name: "PurchaseOrderRetrievalPreferenceStatusReason"))
451
+ ProcurementPortalPreferenceSummary.add_member(:version, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "Version"))
452
+ ProcurementPortalPreferenceSummary.add_member(:create_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateDate"))
453
+ ProcurementPortalPreferenceSummary.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastUpdateDate"))
454
+ ProcurementPortalPreferenceSummary.struct_class = Types::ProcurementPortalPreferenceSummary
455
+
296
456
  ProfileList.member = Shapes::ShapeRef.new(shape: InvoiceProfile)
297
457
 
458
+ PurchaseOrderDataSource.add_member(:einvoice_delivery_document_type, Shapes::ShapeRef.new(shape: EinvoiceDeliveryDocumentType, location_name: "EinvoiceDeliveryDocumentType"))
459
+ PurchaseOrderDataSource.add_member(:purchase_order_data_source_type, Shapes::ShapeRef.new(shape: PurchaseOrderDataSourceType, location_name: "PurchaseOrderDataSourceType"))
460
+ PurchaseOrderDataSource.struct_class = Types::PurchaseOrderDataSource
461
+
462
+ PurchaseOrderDataSources.member = Shapes::ShapeRef.new(shape: PurchaseOrderDataSource)
463
+
464
+ PutProcurementPortalPreferenceRequest.add_member(:procurement_portal_preference_arn, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceArnString, required: true, location_name: "ProcurementPortalPreferenceArn"))
465
+ PutProcurementPortalPreferenceRequest.add_member(:selector, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceSelector, location_name: "Selector"))
466
+ PutProcurementPortalPreferenceRequest.add_member(:procurement_portal_shared_secret, Shapes::ShapeRef.new(shape: SensitiveBasicStringWithoutSpace, location_name: "ProcurementPortalSharedSecret"))
467
+ PutProcurementPortalPreferenceRequest.add_member(:procurement_portal_instance_endpoint, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "ProcurementPortalInstanceEndpoint"))
468
+ PutProcurementPortalPreferenceRequest.add_member(:test_env_preference, Shapes::ShapeRef.new(shape: TestEnvPreferenceInput, location_name: "TestEnvPreference"))
469
+ PutProcurementPortalPreferenceRequest.add_member(:einvoice_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "EinvoiceDeliveryEnabled"))
470
+ PutProcurementPortalPreferenceRequest.add_member(:einvoice_delivery_preference, Shapes::ShapeRef.new(shape: EinvoiceDeliveryPreference, location_name: "EinvoiceDeliveryPreference"))
471
+ PutProcurementPortalPreferenceRequest.add_member(:purchase_order_retrieval_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "PurchaseOrderRetrievalEnabled"))
472
+ PutProcurementPortalPreferenceRequest.add_member(:contacts, Shapes::ShapeRef.new(shape: Contacts, required: true, location_name: "Contacts"))
473
+ PutProcurementPortalPreferenceRequest.struct_class = Types::PutProcurementPortalPreferenceRequest
474
+
475
+ PutProcurementPortalPreferenceResponse.add_member(:procurement_portal_preference_arn, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceArnString, required: true, location_name: "ProcurementPortalPreferenceArn"))
476
+ PutProcurementPortalPreferenceResponse.struct_class = Types::PutProcurementPortalPreferenceResponse
477
+
298
478
  ReceiverAddress.add_member(:address_line_1, Shapes::ShapeRef.new(shape: BasicString, location_name: "AddressLine1"))
299
479
  ReceiverAddress.add_member(:address_line_2, Shapes::ShapeRef.new(shape: BasicString, location_name: "AddressLine2"))
300
480
  ReceiverAddress.add_member(:address_line_3, Shapes::ShapeRef.new(shape: BasicString, location_name: "AddressLine3"))
@@ -318,6 +498,10 @@ module Aws::Invoicing
318
498
 
319
499
  ResourceTagList.member = Shapes::ShapeRef.new(shape: ResourceTag)
320
500
 
501
+ RuleAccountIdList.member = Shapes::ShapeRef.new(shape: AccountIdString)
502
+
503
+ SellerOfRecords.member = Shapes::ShapeRef.new(shape: BasicStringWithoutSpace)
504
+
321
505
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: BasicString, required: true, location_name: "message"))
322
506
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
323
507
 
@@ -344,6 +528,23 @@ module Aws::Invoicing
344
528
 
345
529
  TaxesBreakdownAmountList.member = Shapes::ShapeRef.new(shape: TaxesBreakdownAmount)
346
530
 
531
+ TestEnvPreference.add_member(:buyer_domain, Shapes::ShapeRef.new(shape: BuyerDomain, required: true, location_name: "BuyerDomain"))
532
+ TestEnvPreference.add_member(:buyer_identifier, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, required: true, location_name: "BuyerIdentifier"))
533
+ TestEnvPreference.add_member(:supplier_domain, Shapes::ShapeRef.new(shape: SupplierDomain, required: true, location_name: "SupplierDomain"))
534
+ TestEnvPreference.add_member(:supplier_identifier, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, required: true, location_name: "SupplierIdentifier"))
535
+ TestEnvPreference.add_member(:procurement_portal_shared_secret, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "ProcurementPortalSharedSecret"))
536
+ TestEnvPreference.add_member(:procurement_portal_instance_endpoint, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "ProcurementPortalInstanceEndpoint"))
537
+ TestEnvPreference.add_member(:purchase_order_retrieval_endpoint, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "PurchaseOrderRetrievalEndpoint"))
538
+ TestEnvPreference.struct_class = Types::TestEnvPreference
539
+
540
+ TestEnvPreferenceInput.add_member(:buyer_domain, Shapes::ShapeRef.new(shape: BuyerDomain, required: true, location_name: "BuyerDomain"))
541
+ TestEnvPreferenceInput.add_member(:buyer_identifier, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, required: true, location_name: "BuyerIdentifier"))
542
+ TestEnvPreferenceInput.add_member(:supplier_domain, Shapes::ShapeRef.new(shape: SupplierDomain, required: true, location_name: "SupplierDomain"))
543
+ TestEnvPreferenceInput.add_member(:supplier_identifier, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, required: true, location_name: "SupplierIdentifier"))
544
+ TestEnvPreferenceInput.add_member(:procurement_portal_shared_secret, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "ProcurementPortalSharedSecret"))
545
+ TestEnvPreferenceInput.add_member(:procurement_portal_instance_endpoint, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "ProcurementPortalInstanceEndpoint"))
546
+ TestEnvPreferenceInput.struct_class = Types::TestEnvPreferenceInput
547
+
347
548
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: BasicString, location_name: "message"))
348
549
  ThrottlingException.struct_class = Types::ThrottlingException
349
550
 
@@ -362,6 +563,16 @@ module Aws::Invoicing
362
563
  UpdateInvoiceUnitResponse.add_member(:invoice_unit_arn, Shapes::ShapeRef.new(shape: InvoiceUnitArnString, location_name: "InvoiceUnitArn"))
363
564
  UpdateInvoiceUnitResponse.struct_class = Types::UpdateInvoiceUnitResponse
364
565
 
566
+ UpdateProcurementPortalPreferenceStatusRequest.add_member(:procurement_portal_preference_arn, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceArnString, required: true, location_name: "ProcurementPortalPreferenceArn"))
567
+ UpdateProcurementPortalPreferenceStatusRequest.add_member(:einvoice_delivery_preference_status, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceStatus, location_name: "EinvoiceDeliveryPreferenceStatus"))
568
+ UpdateProcurementPortalPreferenceStatusRequest.add_member(:einvoice_delivery_preference_status_reason, Shapes::ShapeRef.new(shape: BasicString, location_name: "EinvoiceDeliveryPreferenceStatusReason"))
569
+ UpdateProcurementPortalPreferenceStatusRequest.add_member(:purchase_order_retrieval_preference_status, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceStatus, location_name: "PurchaseOrderRetrievalPreferenceStatus"))
570
+ UpdateProcurementPortalPreferenceStatusRequest.add_member(:purchase_order_retrieval_preference_status_reason, Shapes::ShapeRef.new(shape: BasicString, location_name: "PurchaseOrderRetrievalPreferenceStatusReason"))
571
+ UpdateProcurementPortalPreferenceStatusRequest.struct_class = Types::UpdateProcurementPortalPreferenceStatusRequest
572
+
573
+ UpdateProcurementPortalPreferenceStatusResponse.add_member(:procurement_portal_preference_arn, Shapes::ShapeRef.new(shape: ProcurementPortalPreferenceArnString, required: true, location_name: "ProcurementPortalPreferenceArn"))
574
+ UpdateProcurementPortalPreferenceStatusResponse.struct_class = Types::UpdateProcurementPortalPreferenceStatusResponse
575
+
365
576
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: BasicString, location_name: "message"))
366
577
  ValidationException.add_member(:resource_name, Shapes::ShapeRef.new(shape: InvoiceUnitArnString, location_name: "resourceName"))
367
578
  ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, location_name: "reason"))
@@ -420,6 +631,20 @@ module Aws::Invoicing
420
631
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
421
632
  end)
422
633
 
634
+ api.add_operation(:create_procurement_portal_preference, Seahorse::Model::Operation.new.tap do |o|
635
+ o.name = "CreateProcurementPortalPreference"
636
+ o.http_method = "POST"
637
+ o.http_request_uri = "/"
638
+ o.input = Shapes::ShapeRef.new(shape: CreateProcurementPortalPreferenceRequest)
639
+ o.output = Shapes::ShapeRef.new(shape: CreateProcurementPortalPreferenceResponse)
640
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
641
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
642
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
643
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
644
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
645
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
646
+ end)
647
+
423
648
  api.add_operation(:delete_invoice_unit, Seahorse::Model::Operation.new.tap do |o|
424
649
  o.name = "DeleteInvoiceUnit"
425
650
  o.http_method = "POST"
@@ -433,6 +658,20 @@ module Aws::Invoicing
433
658
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
434
659
  end)
435
660
 
661
+ api.add_operation(:delete_procurement_portal_preference, Seahorse::Model::Operation.new.tap do |o|
662
+ o.name = "DeleteProcurementPortalPreference"
663
+ o.http_method = "POST"
664
+ o.http_request_uri = "/"
665
+ o.input = Shapes::ShapeRef.new(shape: DeleteProcurementPortalPreferenceRequest)
666
+ o.output = Shapes::ShapeRef.new(shape: DeleteProcurementPortalPreferenceResponse)
667
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
668
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
669
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
670
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
671
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
672
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
673
+ end)
674
+
436
675
  api.add_operation(:get_invoice_pdf, Seahorse::Model::Operation.new.tap do |o|
437
676
  o.name = "GetInvoicePDF"
438
677
  o.http_method = "POST"
@@ -459,6 +698,21 @@ module Aws::Invoicing
459
698
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
460
699
  end)
461
700
 
701
+ api.add_operation(:get_procurement_portal_preference, Seahorse::Model::Operation.new.tap do |o|
702
+ o.name = "GetProcurementPortalPreference"
703
+ o.http_method = "POST"
704
+ o.http_request_uri = "/"
705
+ o.input = Shapes::ShapeRef.new(shape: GetProcurementPortalPreferenceRequest)
706
+ o.output = Shapes::ShapeRef.new(shape: GetProcurementPortalPreferenceResponse)
707
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
708
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
709
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
710
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
711
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
712
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
713
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
714
+ end)
715
+
462
716
  api.add_operation(:list_invoice_summaries, Seahorse::Model::Operation.new.tap do |o|
463
717
  o.name = "ListInvoiceSummaries"
464
718
  o.http_method = "POST"
@@ -496,6 +750,26 @@ module Aws::Invoicing
496
750
  )
497
751
  end)
498
752
 
753
+ api.add_operation(:list_procurement_portal_preferences, Seahorse::Model::Operation.new.tap do |o|
754
+ o.name = "ListProcurementPortalPreferences"
755
+ o.http_method = "POST"
756
+ o.http_request_uri = "/"
757
+ o.input = Shapes::ShapeRef.new(shape: ListProcurementPortalPreferencesRequest)
758
+ o.output = Shapes::ShapeRef.new(shape: ListProcurementPortalPreferencesResponse)
759
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
760
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
761
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
762
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
763
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
764
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
765
+ o[:pager] = Aws::Pager.new(
766
+ limit_key: "max_results",
767
+ tokens: {
768
+ "next_token" => "next_token"
769
+ }
770
+ )
771
+ end)
772
+
499
773
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
500
774
  o.name = "ListTagsForResource"
501
775
  o.http_method = "POST"
@@ -509,6 +783,21 @@ module Aws::Invoicing
509
783
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
510
784
  end)
511
785
 
786
+ api.add_operation(:put_procurement_portal_preference, Seahorse::Model::Operation.new.tap do |o|
787
+ o.name = "PutProcurementPortalPreference"
788
+ o.http_method = "POST"
789
+ o.http_request_uri = "/"
790
+ o.input = Shapes::ShapeRef.new(shape: PutProcurementPortalPreferenceRequest)
791
+ o.output = Shapes::ShapeRef.new(shape: PutProcurementPortalPreferenceResponse)
792
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
793
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
794
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
795
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
796
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
797
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
798
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
799
+ end)
800
+
512
801
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
513
802
  o.name = "TagResource"
514
803
  o.http_method = "POST"
@@ -548,6 +837,21 @@ module Aws::Invoicing
548
837
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
549
838
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
550
839
  end)
840
+
841
+ api.add_operation(:update_procurement_portal_preference_status, Seahorse::Model::Operation.new.tap do |o|
842
+ o.name = "UpdateProcurementPortalPreferenceStatus"
843
+ o.http_method = "POST"
844
+ o.http_request_uri = "/"
845
+ o.input = Shapes::ShapeRef.new(shape: UpdateProcurementPortalPreferenceStatusRequest)
846
+ o.output = Shapes::ShapeRef.new(shape: UpdateProcurementPortalPreferenceStatusResponse)
847
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
848
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
849
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
850
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
851
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
852
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
853
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
854
+ end)
551
855
  end
552
856
 
553
857
  end
@@ -28,6 +28,7 @@ module Aws::Invoicing
28
28
  #
29
29
  # ## Error Classes
30
30
  # * {AccessDeniedException}
31
+ # * {ConflictException}
31
32
  # * {InternalServerException}
32
33
  # * {ResourceNotFoundException}
33
34
  # * {ServiceQuotaExceededException}
@@ -60,6 +61,31 @@ module Aws::Invoicing
60
61
  end
61
62
  end
62
63
 
64
+ class ConflictException < ServiceError
65
+
66
+ # @param [Seahorse::Client::RequestContext] context
67
+ # @param [String] message
68
+ # @param [Aws::Invoicing::Types::ConflictException] data
69
+ def initialize(context, message, data = Aws::EmptyStructure.new)
70
+ super(context, message, data)
71
+ end
72
+
73
+ # @return [String]
74
+ def message
75
+ @message || @data[:message]
76
+ end
77
+
78
+ # @return [String]
79
+ def resource_id
80
+ @data[:resource_id]
81
+ end
82
+
83
+ # @return [String]
84
+ def resource_type
85
+ @data[:resource_type]
86
+ end
87
+ end
88
+
63
89
  class InternalServerException < ServiceError
64
90
 
65
91
  # @param [Seahorse::Client::RequestContext] context