aws-sdk-invoicing 1.16.0 → 1.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-invoicing/client.rb +771 -1
- data/lib/aws-sdk-invoicing/client_api.rb +299 -0
- data/lib/aws-sdk-invoicing/errors.rb +26 -0
- data/lib/aws-sdk-invoicing/types.rb +796 -0
- data/lib/aws-sdk-invoicing.rb +1 -1
- data/sig/client.rbs +147 -0
- data/sig/errors.rbs +5 -0
- data/sig/types.rbs +192 -0
- metadata +3 -3
|
@@ -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')
|
|
@@ -81,11 +117,13 @@ module Aws::Invoicing
|
|
|
81
117
|
ResourceTagList = Shapes::ListShape.new(name: 'ResourceTagList')
|
|
82
118
|
ResourceTagValue = Shapes::StringShape.new(name: 'ResourceTagValue')
|
|
83
119
|
RuleAccountIdList = Shapes::ListShape.new(name: 'RuleAccountIdList')
|
|
120
|
+
SellerOfRecords = Shapes::ListShape.new(name: 'SellerOfRecords')
|
|
84
121
|
SensitiveBasicStringWithoutSpace = Shapes::StringShape.new(name: 'SensitiveBasicStringWithoutSpace')
|
|
85
122
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
86
123
|
StringWithoutNewLine = Shapes::StringShape.new(name: 'StringWithoutNewLine')
|
|
87
124
|
SupplementalDocument = Shapes::StructureShape.new(name: 'SupplementalDocument')
|
|
88
125
|
SupplementalDocuments = Shapes::ListShape.new(name: 'SupplementalDocuments')
|
|
126
|
+
SupplierDomain = Shapes::StringShape.new(name: 'SupplierDomain')
|
|
89
127
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
|
90
128
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
|
91
129
|
TagrisArn = Shapes::StringShape.new(name: 'TagrisArn')
|
|
@@ -93,12 +131,16 @@ module Aws::Invoicing
|
|
|
93
131
|
TaxesBreakdown = Shapes::StructureShape.new(name: 'TaxesBreakdown')
|
|
94
132
|
TaxesBreakdownAmount = Shapes::StructureShape.new(name: 'TaxesBreakdownAmount')
|
|
95
133
|
TaxesBreakdownAmountList = Shapes::ListShape.new(name: 'TaxesBreakdownAmountList')
|
|
134
|
+
TestEnvPreference = Shapes::StructureShape.new(name: 'TestEnvPreference')
|
|
135
|
+
TestEnvPreferenceInput = Shapes::StructureShape.new(name: 'TestEnvPreferenceInput')
|
|
96
136
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
|
97
137
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
|
98
138
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
|
99
139
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
|
100
140
|
UpdateInvoiceUnitRequest = Shapes::StructureShape.new(name: 'UpdateInvoiceUnitRequest')
|
|
101
141
|
UpdateInvoiceUnitResponse = Shapes::StructureShape.new(name: 'UpdateInvoiceUnitResponse')
|
|
142
|
+
UpdateProcurementPortalPreferenceStatusRequest = Shapes::StructureShape.new(name: 'UpdateProcurementPortalPreferenceStatusRequest')
|
|
143
|
+
UpdateProcurementPortalPreferenceStatusResponse = Shapes::StructureShape.new(name: 'UpdateProcurementPortalPreferenceStatusResponse')
|
|
102
144
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
|
103
145
|
ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
|
|
104
146
|
ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
|
|
@@ -127,6 +169,17 @@ module Aws::Invoicing
|
|
|
127
169
|
BillingPeriod.add_member(:year, Shapes::ShapeRef.new(shape: Year, required: true, location_name: "Year"))
|
|
128
170
|
BillingPeriod.struct_class = Types::BillingPeriod
|
|
129
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
|
+
|
|
130
183
|
CreateInvoiceUnitRequest.add_member(:name, Shapes::ShapeRef.new(shape: InvoiceUnitName, required: true, location_name: "Name"))
|
|
131
184
|
CreateInvoiceUnitRequest.add_member(:invoice_receiver, Shapes::ShapeRef.new(shape: AccountIdString, required: true, location_name: "InvoiceReceiver"))
|
|
132
185
|
CreateInvoiceUnitRequest.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
|
|
@@ -138,6 +191,26 @@ module Aws::Invoicing
|
|
|
138
191
|
CreateInvoiceUnitResponse.add_member(:invoice_unit_arn, Shapes::ShapeRef.new(shape: InvoiceUnitArnString, location_name: "InvoiceUnitArn"))
|
|
139
192
|
CreateInvoiceUnitResponse.struct_class = Types::CreateInvoiceUnitResponse
|
|
140
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
|
+
|
|
141
214
|
CurrencyExchangeDetails.add_member(:source_currency_code, Shapes::ShapeRef.new(shape: BasicString, location_name: "SourceCurrencyCode"))
|
|
142
215
|
CurrencyExchangeDetails.add_member(:target_currency_code, Shapes::ShapeRef.new(shape: BasicString, location_name: "TargetCurrencyCode"))
|
|
143
216
|
CurrencyExchangeDetails.add_member(:rate, Shapes::ShapeRef.new(shape: BasicString, location_name: "Rate"))
|
|
@@ -153,6 +226,12 @@ module Aws::Invoicing
|
|
|
153
226
|
DeleteInvoiceUnitResponse.add_member(:invoice_unit_arn, Shapes::ShapeRef.new(shape: InvoiceUnitArnString, location_name: "InvoiceUnitArn"))
|
|
154
227
|
DeleteInvoiceUnitResponse.struct_class = Types::DeleteInvoiceUnitResponse
|
|
155
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
|
+
|
|
156
235
|
DiscountsBreakdown.add_member(:breakdown, Shapes::ShapeRef.new(shape: DiscountsBreakdownAmountList, location_name: "Breakdown"))
|
|
157
236
|
DiscountsBreakdown.add_member(:total_amount, Shapes::ShapeRef.new(shape: BasicString, location_name: "TotalAmount"))
|
|
158
237
|
DiscountsBreakdown.struct_class = Types::DiscountsBreakdown
|
|
@@ -164,6 +243,18 @@ module Aws::Invoicing
|
|
|
164
243
|
|
|
165
244
|
DiscountsBreakdownAmountList.member = Shapes::ShapeRef.new(shape: DiscountsBreakdownAmount)
|
|
166
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
|
+
|
|
167
258
|
Entity.add_member(:invoicing_entity, Shapes::ShapeRef.new(shape: BasicString, location_name: "InvoicingEntity"))
|
|
168
259
|
Entity.struct_class = Types::Entity
|
|
169
260
|
|
|
@@ -203,6 +294,12 @@ module Aws::Invoicing
|
|
|
203
294
|
GetInvoiceUnitResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: LastModifiedTimestamp, location_name: "LastModified"))
|
|
204
295
|
GetInvoiceUnitResponse.struct_class = Types::GetInvoiceUnitResponse
|
|
205
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
|
+
|
|
206
303
|
InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "retryAfterSeconds"))
|
|
207
304
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: BasicString, location_name: "message"))
|
|
208
305
|
InternalServerException.struct_class = Types::InternalServerException
|
|
@@ -262,6 +359,8 @@ module Aws::Invoicing
|
|
|
262
359
|
InvoiceUnit.add_member(:last_modified, Shapes::ShapeRef.new(shape: LastModifiedTimestamp, location_name: "LastModified"))
|
|
263
360
|
InvoiceUnit.struct_class = Types::InvoiceUnit
|
|
264
361
|
|
|
362
|
+
InvoiceUnitArns.member = Shapes::ShapeRef.new(shape: InvoiceUnitArnString)
|
|
363
|
+
|
|
265
364
|
InvoiceUnitNames.member = Shapes::ShapeRef.new(shape: InvoiceUnitName)
|
|
266
365
|
|
|
267
366
|
InvoiceUnitRule.add_member(:linked_accounts, Shapes::ShapeRef.new(shape: RuleAccountIdList, location_name: "LinkedAccounts"))
|
|
@@ -290,14 +389,92 @@ module Aws::Invoicing
|
|
|
290
389
|
ListInvoiceUnitsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location_name: "NextToken"))
|
|
291
390
|
ListInvoiceUnitsResponse.struct_class = Types::ListInvoiceUnitsResponse
|
|
292
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
|
+
|
|
293
400
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TagrisArn, required: true, location_name: "ResourceArn"))
|
|
294
401
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
|
295
402
|
|
|
296
403
|
ListTagsForResourceResponse.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagList, location_name: "ResourceTags"))
|
|
297
404
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
|
298
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
|
+
|
|
299
456
|
ProfileList.member = Shapes::ShapeRef.new(shape: InvoiceProfile)
|
|
300
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
|
+
|
|
301
478
|
ReceiverAddress.add_member(:address_line_1, Shapes::ShapeRef.new(shape: BasicString, location_name: "AddressLine1"))
|
|
302
479
|
ReceiverAddress.add_member(:address_line_2, Shapes::ShapeRef.new(shape: BasicString, location_name: "AddressLine2"))
|
|
303
480
|
ReceiverAddress.add_member(:address_line_3, Shapes::ShapeRef.new(shape: BasicString, location_name: "AddressLine3"))
|
|
@@ -323,6 +500,8 @@ module Aws::Invoicing
|
|
|
323
500
|
|
|
324
501
|
RuleAccountIdList.member = Shapes::ShapeRef.new(shape: AccountIdString)
|
|
325
502
|
|
|
503
|
+
SellerOfRecords.member = Shapes::ShapeRef.new(shape: BasicStringWithoutSpace)
|
|
504
|
+
|
|
326
505
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: BasicString, required: true, location_name: "message"))
|
|
327
506
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
|
328
507
|
|
|
@@ -349,6 +528,23 @@ module Aws::Invoicing
|
|
|
349
528
|
|
|
350
529
|
TaxesBreakdownAmountList.member = Shapes::ShapeRef.new(shape: TaxesBreakdownAmount)
|
|
351
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
|
+
|
|
352
548
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: BasicString, location_name: "message"))
|
|
353
549
|
ThrottlingException.struct_class = Types::ThrottlingException
|
|
354
550
|
|
|
@@ -367,6 +563,16 @@ module Aws::Invoicing
|
|
|
367
563
|
UpdateInvoiceUnitResponse.add_member(:invoice_unit_arn, Shapes::ShapeRef.new(shape: InvoiceUnitArnString, location_name: "InvoiceUnitArn"))
|
|
368
564
|
UpdateInvoiceUnitResponse.struct_class = Types::UpdateInvoiceUnitResponse
|
|
369
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
|
+
|
|
370
576
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: BasicString, location_name: "message"))
|
|
371
577
|
ValidationException.add_member(:resource_name, Shapes::ShapeRef.new(shape: InvoiceUnitArnString, location_name: "resourceName"))
|
|
372
578
|
ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, location_name: "reason"))
|
|
@@ -425,6 +631,20 @@ module Aws::Invoicing
|
|
|
425
631
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
426
632
|
end)
|
|
427
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
|
+
|
|
428
648
|
api.add_operation(:delete_invoice_unit, Seahorse::Model::Operation.new.tap do |o|
|
|
429
649
|
o.name = "DeleteInvoiceUnit"
|
|
430
650
|
o.http_method = "POST"
|
|
@@ -438,6 +658,20 @@ module Aws::Invoicing
|
|
|
438
658
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
439
659
|
end)
|
|
440
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
|
+
|
|
441
675
|
api.add_operation(:get_invoice_pdf, Seahorse::Model::Operation.new.tap do |o|
|
|
442
676
|
o.name = "GetInvoicePDF"
|
|
443
677
|
o.http_method = "POST"
|
|
@@ -464,6 +698,21 @@ module Aws::Invoicing
|
|
|
464
698
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
465
699
|
end)
|
|
466
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
|
+
|
|
467
716
|
api.add_operation(:list_invoice_summaries, Seahorse::Model::Operation.new.tap do |o|
|
|
468
717
|
o.name = "ListInvoiceSummaries"
|
|
469
718
|
o.http_method = "POST"
|
|
@@ -501,6 +750,26 @@ module Aws::Invoicing
|
|
|
501
750
|
)
|
|
502
751
|
end)
|
|
503
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
|
+
|
|
504
773
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
505
774
|
o.name = "ListTagsForResource"
|
|
506
775
|
o.http_method = "POST"
|
|
@@ -514,6 +783,21 @@ module Aws::Invoicing
|
|
|
514
783
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
515
784
|
end)
|
|
516
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
|
+
|
|
517
801
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
518
802
|
o.name = "TagResource"
|
|
519
803
|
o.http_method = "POST"
|
|
@@ -553,6 +837,21 @@ module Aws::Invoicing
|
|
|
553
837
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
554
838
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
555
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)
|
|
556
855
|
end
|
|
557
856
|
|
|
558
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
|