@aws-sdk/client-partnercentral-revenue-measurement 3.1081.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.
Files changed (139) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +307 -0
  3. package/dist-cjs/index.js +1296 -0
  4. package/dist-es/PartnerCentralRevenueMeasurement.js +53 -0
  5. package/dist-es/PartnerCentralRevenueMeasurementClient.js +48 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +122 -0
  8. package/dist-es/commandBuilder.js +6 -0
  9. package/dist-es/commands/CreateMarketplaceRevenueShareAllocationCommand.js +4 -0
  10. package/dist-es/commands/CreateMarketplaceRevenueShareCommand.js +4 -0
  11. package/dist-es/commands/CreateRevenueAttributionCommand.js +4 -0
  12. package/dist-es/commands/GetMarketplaceRevenueShareAllocationCommand.js +4 -0
  13. package/dist-es/commands/GetMarketplaceRevenueShareCommand.js +4 -0
  14. package/dist-es/commands/GetRevenueAttributionAllocationCommand.js +4 -0
  15. package/dist-es/commands/GetRevenueAttributionAllocationsTaskCommand.js +4 -0
  16. package/dist-es/commands/GetRevenueAttributionCommand.js +4 -0
  17. package/dist-es/commands/ListMarketplaceRevenueShareAllocationsCommand.js +4 -0
  18. package/dist-es/commands/ListMarketplaceRevenueSharesCommand.js +4 -0
  19. package/dist-es/commands/ListRevenueAttributionAllocationsCommand.js +4 -0
  20. package/dist-es/commands/ListRevenueAttributionsCommand.js +4 -0
  21. package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
  22. package/dist-es/commands/StartRevenueAttributionAllocationsTaskCommand.js +4 -0
  23. package/dist-es/commands/TagResourceCommand.js +4 -0
  24. package/dist-es/commands/UntagResourceCommand.js +4 -0
  25. package/dist-es/commands/UpdateMarketplaceRevenueShareAllocationCommand.js +4 -0
  26. package/dist-es/commands/UpdateRevenueAttributionCommand.js +4 -0
  27. package/dist-es/commands/index.js +18 -0
  28. package/dist-es/endpoint/EndpointParameters.js +11 -0
  29. package/dist-es/endpoint/bdd.js +35 -0
  30. package/dist-es/endpoint/endpointResolver.js +14 -0
  31. package/dist-es/extensionConfiguration.js +1 -0
  32. package/dist-es/index.js +10 -0
  33. package/dist-es/models/PartnerCentralRevenueMeasurementServiceException.js +8 -0
  34. package/dist-es/models/enums.js +81 -0
  35. package/dist-es/models/errors.js +117 -0
  36. package/dist-es/models/models_0.js +1 -0
  37. package/dist-es/pagination/Interfaces.js +1 -0
  38. package/dist-es/pagination/ListMarketplaceRevenueShareAllocationsPaginator.js +4 -0
  39. package/dist-es/pagination/ListMarketplaceRevenueSharesPaginator.js +4 -0
  40. package/dist-es/pagination/ListRevenueAttributionAllocationsPaginator.js +4 -0
  41. package/dist-es/pagination/ListRevenueAttributionsPaginator.js +4 -0
  42. package/dist-es/pagination/index.js +5 -0
  43. package/dist-es/runtimeConfig.browser.js +29 -0
  44. package/dist-es/runtimeConfig.js +44 -0
  45. package/dist-es/runtimeConfig.native.js +9 -0
  46. package/dist-es/runtimeConfig.shared.js +47 -0
  47. package/dist-es/runtimeExtensions.js +9 -0
  48. package/dist-es/schemas/schemas_0.js +528 -0
  49. package/dist-types/PartnerCentralRevenueMeasurement.d.ts +164 -0
  50. package/dist-types/PartnerCentralRevenueMeasurementClient.d.ts +204 -0
  51. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  52. package/dist-types/auth/httpAuthSchemeProvider.d.ts +83 -0
  53. package/dist-types/commandBuilder.d.ts +18 -0
  54. package/dist-types/commands/CreateMarketplaceRevenueShareAllocationCommand.d.ts +127 -0
  55. package/dist-types/commands/CreateMarketplaceRevenueShareCommand.d.ts +124 -0
  56. package/dist-types/commands/CreateRevenueAttributionCommand.d.ts +132 -0
  57. package/dist-types/commands/GetMarketplaceRevenueShareAllocationCommand.d.ts +121 -0
  58. package/dist-types/commands/GetMarketplaceRevenueShareCommand.d.ts +119 -0
  59. package/dist-types/commands/GetRevenueAttributionAllocationCommand.d.ts +131 -0
  60. package/dist-types/commands/GetRevenueAttributionAllocationsTaskCommand.d.ts +129 -0
  61. package/dist-types/commands/GetRevenueAttributionCommand.d.ts +125 -0
  62. package/dist-types/commands/ListMarketplaceRevenueShareAllocationsCommand.d.ts +125 -0
  63. package/dist-types/commands/ListMarketplaceRevenueSharesCommand.d.ts +125 -0
  64. package/dist-types/commands/ListRevenueAttributionAllocationsCommand.d.ts +136 -0
  65. package/dist-types/commands/ListRevenueAttributionsCommand.d.ts +131 -0
  66. package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
  67. package/dist-types/commands/StartRevenueAttributionAllocationsTaskCommand.d.ts +145 -0
  68. package/dist-types/commands/TagResourceCommand.d.ts +93 -0
  69. package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
  70. package/dist-types/commands/UpdateMarketplaceRevenueShareAllocationCommand.d.ts +131 -0
  71. package/dist-types/commands/UpdateRevenueAttributionCommand.d.ts +116 -0
  72. package/dist-types/commands/index.d.ts +18 -0
  73. package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
  74. package/dist-types/endpoint/bdd.d.ts +2 -0
  75. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  76. package/dist-types/extensionConfiguration.d.ts +9 -0
  77. package/dist-types/index.d.ts +18 -0
  78. package/dist-types/models/PartnerCentralRevenueMeasurementServiceException.d.ts +14 -0
  79. package/dist-types/models/enums.d.ts +225 -0
  80. package/dist-types/models/errors.d.ts +137 -0
  81. package/dist-types/models/models_0.d.ts +1660 -0
  82. package/dist-types/pagination/Interfaces.d.ts +8 -0
  83. package/dist-types/pagination/ListMarketplaceRevenueShareAllocationsPaginator.d.ts +7 -0
  84. package/dist-types/pagination/ListMarketplaceRevenueSharesPaginator.d.ts +7 -0
  85. package/dist-types/pagination/ListRevenueAttributionAllocationsPaginator.d.ts +7 -0
  86. package/dist-types/pagination/ListRevenueAttributionsPaginator.d.ts +7 -0
  87. package/dist-types/pagination/index.d.ts +5 -0
  88. package/dist-types/runtimeConfig.browser.d.ts +56 -0
  89. package/dist-types/runtimeConfig.d.ts +56 -0
  90. package/dist-types/runtimeConfig.native.d.ts +55 -0
  91. package/dist-types/runtimeConfig.shared.d.ts +30 -0
  92. package/dist-types/runtimeExtensions.d.ts +17 -0
  93. package/dist-types/schemas/schemas_0.d.ts +77 -0
  94. package/dist-types/ts3.4/PartnerCentralRevenueMeasurement.d.ts +387 -0
  95. package/dist-types/ts3.4/PartnerCentralRevenueMeasurementClient.d.ts +221 -0
  96. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  97. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +59 -0
  98. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  99. package/dist-types/ts3.4/commands/CreateMarketplaceRevenueShareAllocationCommand.d.ts +44 -0
  100. package/dist-types/ts3.4/commands/CreateMarketplaceRevenueShareCommand.d.ts +44 -0
  101. package/dist-types/ts3.4/commands/CreateRevenueAttributionCommand.d.ts +44 -0
  102. package/dist-types/ts3.4/commands/GetMarketplaceRevenueShareAllocationCommand.d.ts +44 -0
  103. package/dist-types/ts3.4/commands/GetMarketplaceRevenueShareCommand.d.ts +44 -0
  104. package/dist-types/ts3.4/commands/GetRevenueAttributionAllocationCommand.d.ts +44 -0
  105. package/dist-types/ts3.4/commands/GetRevenueAttributionAllocationsTaskCommand.d.ts +44 -0
  106. package/dist-types/ts3.4/commands/GetRevenueAttributionCommand.d.ts +44 -0
  107. package/dist-types/ts3.4/commands/ListMarketplaceRevenueShareAllocationsCommand.d.ts +44 -0
  108. package/dist-types/ts3.4/commands/ListMarketplaceRevenueSharesCommand.d.ts +44 -0
  109. package/dist-types/ts3.4/commands/ListRevenueAttributionAllocationsCommand.d.ts +44 -0
  110. package/dist-types/ts3.4/commands/ListRevenueAttributionsCommand.d.ts +44 -0
  111. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +44 -0
  112. package/dist-types/ts3.4/commands/StartRevenueAttributionAllocationsTaskCommand.d.ts +44 -0
  113. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
  114. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  115. package/dist-types/ts3.4/commands/UpdateMarketplaceRevenueShareAllocationCommand.d.ts +44 -0
  116. package/dist-types/ts3.4/commands/UpdateRevenueAttributionCommand.d.ts +44 -0
  117. package/dist-types/ts3.4/commands/index.d.ts +18 -0
  118. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  119. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  120. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  121. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  122. package/dist-types/ts3.4/index.d.ts +13 -0
  123. package/dist-types/ts3.4/models/PartnerCentralRevenueMeasurementServiceException.d.ts +9 -0
  124. package/dist-types/ts3.4/models/enums.d.ts +113 -0
  125. package/dist-types/ts3.4/models/errors.d.ts +74 -0
  126. package/dist-types/ts3.4/models/models_0.d.ts +394 -0
  127. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  128. package/dist-types/ts3.4/pagination/ListMarketplaceRevenueShareAllocationsPaginator.d.ts +11 -0
  129. package/dist-types/ts3.4/pagination/ListMarketplaceRevenueSharesPaginator.d.ts +11 -0
  130. package/dist-types/ts3.4/pagination/ListRevenueAttributionAllocationsPaginator.d.ts +11 -0
  131. package/dist-types/ts3.4/pagination/ListRevenueAttributionsPaginator.d.ts +11 -0
  132. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  133. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +114 -0
  134. package/dist-types/ts3.4/runtimeConfig.d.ts +108 -0
  135. package/dist-types/ts3.4/runtimeConfig.native.d.ts +118 -0
  136. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +40 -0
  137. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  138. package/dist-types/ts3.4/schemas/schemas_0.d.ts +76 -0
  139. package/package.json +70 -0
@@ -0,0 +1,1660 @@
1
+ import type { AllocationStatus, AttributionSortBy, CatalogName, EntityType, FieldValidationCode, MarketplaceRevenueShareAllocationSortField, MarketplaceRevenueShareSortBy, RevenueAttributionAllocationAction, RevenueAttributionAllocationErrorCode, RevenueAttributionAllocationSortField, RevenueAttributionAllocationTaskStatus, SortOrder, TenancyModel } from "./enums";
2
+ /**
3
+ * <p>Read-time AWS Marketplace product attributes returned in revenue attribution responses, including service-resolved fields.</p>
4
+ * @public
5
+ */
6
+ export interface MarketplaceProductSummary {
7
+ /**
8
+ * <p>The product identifier provided at attribution creation.</p>
9
+ * @public
10
+ */
11
+ ProductId?: string | undefined;
12
+ /**
13
+ * <p>The AWS Marketplace product code resolved using the product identifier.</p>
14
+ * @public
15
+ */
16
+ ProductCode?: string | undefined;
17
+ /**
18
+ * <p>The display name of the AWS Marketplace product.</p>
19
+ * @public
20
+ */
21
+ ProductName?: string | undefined;
22
+ }
23
+ /**
24
+ * <p>Summary representation of a revenue attribution returned in list operations.</p>
25
+ * @public
26
+ */
27
+ export interface AttributionSummary {
28
+ /**
29
+ * <p>The Amazon Resource Name (ARN) of the revenue attribution.</p>
30
+ * @public
31
+ */
32
+ Arn?: string | undefined;
33
+ /**
34
+ * <p>The unique identifier of the revenue attribution.</p>
35
+ * @public
36
+ */
37
+ Id?: string | undefined;
38
+ /**
39
+ * <p>The catalog that the revenue attribution belongs to.</p>
40
+ * @public
41
+ */
42
+ Catalog?: CatalogName | undefined;
43
+ /**
44
+ * <p>The display name of the revenue attribution.</p>
45
+ * @public
46
+ */
47
+ Name?: string | undefined;
48
+ /**
49
+ * <p>The tenancy model for this revenue attribution.</p>
50
+ * @public
51
+ */
52
+ TenancyModel: TenancyModel | undefined;
53
+ /**
54
+ * <p>The AWS Marketplace product attributes associated with this attribution, if set.</p>
55
+ * @public
56
+ */
57
+ MarketplaceProduct?: MarketplaceProductSummary | undefined;
58
+ /**
59
+ * <p>The date when the revenue attribution was created.</p>
60
+ * @public
61
+ */
62
+ CreatedDate?: Date | undefined;
63
+ /**
64
+ * <p>The date when the revenue attribution was last modified.</p>
65
+ * @public
66
+ */
67
+ LastModifiedDate?: Date | undefined;
68
+ /**
69
+ * <p>The latest revision of the revenue attribution resource.</p>
70
+ * @public
71
+ */
72
+ LatestRevision?: string | undefined;
73
+ /**
74
+ * <p>The date from which this revenue attribution is effective, derived from the earliest allocation start date (YYYY-MM-DD).</p>
75
+ * @public
76
+ */
77
+ EffectiveFrom?: string | undefined;
78
+ /**
79
+ * <p>The date until which this revenue attribution is effective, derived from the latest allocation end date (YYYY-MM-DD).</p>
80
+ * @public
81
+ */
82
+ EffectiveUntil?: string | undefined;
83
+ /**
84
+ * <p>The total number of allocations under this revenue attribution whose Status is ACTIVE.</p>
85
+ * @public
86
+ */
87
+ TotalActiveRevenueAttributionAllocationCount?: number | undefined;
88
+ /**
89
+ * <p>The total number of allocations under this revenue attribution, counting both ACTIVE and INACTIVE.</p>
90
+ * @public
91
+ */
92
+ TotalRevenueAttributionAllocationCount?: number | undefined;
93
+ }
94
+ /**
95
+ * <p>A key-value pair used for organizing and managing resources through metadata tags.</p>
96
+ * @public
97
+ */
98
+ export interface Tag {
99
+ /**
100
+ * <p>The key portion of the tag.</p>
101
+ * @public
102
+ */
103
+ Key: string | undefined;
104
+ /**
105
+ * <p>The value portion of the tag.</p>
106
+ * @public
107
+ */
108
+ Value: string | undefined;
109
+ }
110
+ /**
111
+ * @public
112
+ */
113
+ export interface CreateMarketplaceRevenueShareInput {
114
+ /**
115
+ * <p>The catalog in which to create the marketplace revenue share.</p>
116
+ * @public
117
+ */
118
+ Catalog: CatalogName | undefined;
119
+ /**
120
+ * <p>A unique token to ensure idempotency of the create request.</p>
121
+ * @public
122
+ */
123
+ ClientToken?: string | undefined;
124
+ /**
125
+ * <p>The AWS Marketplace product identifier for this revenue share.</p>
126
+ * @public
127
+ */
128
+ ProductId: string | undefined;
129
+ /**
130
+ * <p>Tags to associate with the marketplace revenue share upon creation.</p>
131
+ * @public
132
+ */
133
+ Tags?: Tag[] | undefined;
134
+ }
135
+ /**
136
+ * @public
137
+ */
138
+ export interface CreateMarketplaceRevenueShareOutput {
139
+ /**
140
+ * <p>The AWS Marketplace product identifier of the newly created revenue share.</p>
141
+ * @public
142
+ */
143
+ ProductId: string | undefined;
144
+ /**
145
+ * <p>The Amazon Resource Name (ARN) of the newly created marketplace revenue share.</p>
146
+ * @public
147
+ */
148
+ Arn: string | undefined;
149
+ /**
150
+ * <p>The catalog that the marketplace revenue share belongs to.</p>
151
+ * @public
152
+ */
153
+ Catalog?: CatalogName | undefined;
154
+ /**
155
+ * <p>The AWS Marketplace product code.</p>
156
+ * @public
157
+ */
158
+ ProductCode?: string | undefined;
159
+ /**
160
+ * <p>The display name of the AWS Marketplace product.</p>
161
+ * @public
162
+ */
163
+ ProductName?: string | undefined;
164
+ /**
165
+ * <p>The date when the marketplace revenue share was created.</p>
166
+ * @public
167
+ */
168
+ CreatedDate?: Date | undefined;
169
+ /**
170
+ * <p>The date when the marketplace revenue share was last modified.</p>
171
+ * @public
172
+ */
173
+ LastModifiedDate?: Date | undefined;
174
+ /**
175
+ * <p>The revision number of the newly created marketplace revenue share.</p>
176
+ * @public
177
+ */
178
+ Revision?: number | undefined;
179
+ }
180
+ /**
181
+ * <p>Details about a specific field that failed validation.</p>
182
+ * @public
183
+ */
184
+ export interface ValidationExceptionField {
185
+ /**
186
+ * <p>The name of the field that failed validation.</p>
187
+ * @public
188
+ */
189
+ Name: string | undefined;
190
+ /**
191
+ * <p>A human-readable message describing why the field validation failed.</p>
192
+ * @public
193
+ */
194
+ Message: string | undefined;
195
+ /**
196
+ * <p>The specific validation error code indicating the type of validation failure.</p>
197
+ * @public
198
+ */
199
+ Code: FieldValidationCode | undefined;
200
+ }
201
+ /**
202
+ * @public
203
+ */
204
+ export interface CreateMarketplaceRevenueShareAllocationInput {
205
+ /**
206
+ * <p>The catalog in which to create the allocation.</p>
207
+ * @public
208
+ */
209
+ Catalog: CatalogName | undefined;
210
+ /**
211
+ * <p>The AWS Marketplace product identifier for the parent revenue share.</p>
212
+ * @public
213
+ */
214
+ ProductId: string | undefined;
215
+ /**
216
+ * <p>A unique token to ensure idempotency of the create request.</p>
217
+ * @public
218
+ */
219
+ ClientToken?: string | undefined;
220
+ /**
221
+ * <p>The effective start date for the allocation. Must be the first day of a month.</p>
222
+ * @public
223
+ */
224
+ EffectiveFrom: string | undefined;
225
+ /**
226
+ * <p>The effective end date for the allocation. Must be the last day of a month (YYYY-MM-DD). Omit for open-ended allocations.</p>
227
+ * @public
228
+ */
229
+ EffectiveUntil?: string | undefined;
230
+ /**
231
+ * <p>The revenue share percentage for this allocation.</p>
232
+ * @public
233
+ */
234
+ RevenueSharePercent: string | undefined;
235
+ }
236
+ /**
237
+ * @public
238
+ */
239
+ export interface CreateMarketplaceRevenueShareAllocationOutput {
240
+ /**
241
+ * <p>The unique identifier of the newly created allocation.</p>
242
+ * @public
243
+ */
244
+ MarketplaceRevenueShareAllocationId: string | undefined;
245
+ /**
246
+ * <p>The AWS Marketplace product identifier.</p>
247
+ * @public
248
+ */
249
+ ProductId: string | undefined;
250
+ /**
251
+ * <p>The display name of the AWS Marketplace product.</p>
252
+ * @public
253
+ */
254
+ ProductName?: string | undefined;
255
+ /**
256
+ * <p>The Amazon Resource Name (ARN) of the allocation.</p>
257
+ * @public
258
+ */
259
+ Arn: string | undefined;
260
+ /**
261
+ * <p>The effective start date of the allocation.</p>
262
+ * @public
263
+ */
264
+ EffectiveFrom: string | undefined;
265
+ /**
266
+ * <p>The effective end date of the allocation, or null if open-ended.</p>
267
+ * @public
268
+ */
269
+ EffectiveUntil?: string | undefined;
270
+ /**
271
+ * <p>The revenue share percentage.</p>
272
+ * @public
273
+ */
274
+ RevenueSharePercent: string | undefined;
275
+ /**
276
+ * <p>The status of the allocation.</p>
277
+ * @public
278
+ */
279
+ Status: AllocationStatus | undefined;
280
+ /**
281
+ * <p>The date when the allocation was created.</p>
282
+ * @public
283
+ */
284
+ CreatedDate?: Date | undefined;
285
+ /**
286
+ * <p>The date when the allocation was last modified.</p>
287
+ * @public
288
+ */
289
+ LastModifiedDate?: Date | undefined;
290
+ /**
291
+ * <p>The latest revision of the parent marketplace revenue share.</p>
292
+ * @public
293
+ */
294
+ LatestMarketplaceRevenueShareRevision?: string | undefined;
295
+ }
296
+ /**
297
+ * @public
298
+ */
299
+ export interface GetMarketplaceRevenueShareInput {
300
+ /**
301
+ * <p>The catalog that the marketplace revenue share belongs to.</p>
302
+ * @public
303
+ */
304
+ Catalog: CatalogName | undefined;
305
+ /**
306
+ * <p>The AWS Marketplace product identifier of the revenue share to retrieve.</p>
307
+ * @public
308
+ */
309
+ ProductId: string | undefined;
310
+ /**
311
+ * <p>The revision of the marketplace revenue share to retrieve. Omit to return the latest revision.</p>
312
+ * @public
313
+ */
314
+ Revision?: number | undefined;
315
+ }
316
+ /**
317
+ * @public
318
+ */
319
+ export interface GetMarketplaceRevenueShareOutput {
320
+ /**
321
+ * <p>The AWS Marketplace product identifier of the revenue share.</p>
322
+ * @public
323
+ */
324
+ ProductId: string | undefined;
325
+ /**
326
+ * <p>The Amazon Resource Name (ARN) of the marketplace revenue share.</p>
327
+ * @public
328
+ */
329
+ Arn: string | undefined;
330
+ /**
331
+ * <p>The catalog that the marketplace revenue share belongs to.</p>
332
+ * @public
333
+ */
334
+ Catalog: CatalogName | undefined;
335
+ /**
336
+ * <p>The AWS Marketplace product code.</p>
337
+ * @public
338
+ */
339
+ ProductCode?: string | undefined;
340
+ /**
341
+ * <p>The display name of the AWS Marketplace product.</p>
342
+ * @public
343
+ */
344
+ ProductName?: string | undefined;
345
+ /**
346
+ * <p>The date when the marketplace revenue share was created.</p>
347
+ * @public
348
+ */
349
+ CreatedDate?: Date | undefined;
350
+ /**
351
+ * <p>The date when the marketplace revenue share was last modified.</p>
352
+ * @public
353
+ */
354
+ LastModifiedDate?: Date | undefined;
355
+ /**
356
+ * <p>The revision number of the retrieved marketplace revenue share.</p>
357
+ * @public
358
+ */
359
+ Revision?: number | undefined;
360
+ /**
361
+ * <p>The latest revision number of the marketplace revenue share.</p>
362
+ * @public
363
+ */
364
+ LatestRevision?: number | undefined;
365
+ /**
366
+ * <p>The number of active allocations under this marketplace revenue share.</p>
367
+ * @public
368
+ */
369
+ TotalActiveMarketplaceRevenueShareAllocationCount?: number | undefined;
370
+ /**
371
+ * <p>The total number of allocations under this marketplace revenue share.</p>
372
+ * @public
373
+ */
374
+ TotalMarketplaceRevenueShareAllocationCount?: number | undefined;
375
+ }
376
+ /**
377
+ * @public
378
+ */
379
+ export interface GetMarketplaceRevenueShareAllocationInput {
380
+ /**
381
+ * <p>The catalog that the allocation belongs to.</p>
382
+ * @public
383
+ */
384
+ Catalog: CatalogName | undefined;
385
+ /**
386
+ * <p>The AWS Marketplace product identifier of the parent revenue share.</p>
387
+ * @public
388
+ */
389
+ ProductId: string | undefined;
390
+ /**
391
+ * <p>The unique identifier of the allocation to retrieve.</p>
392
+ * @public
393
+ */
394
+ MarketplaceRevenueShareAllocationId: string | undefined;
395
+ /**
396
+ * <p>The revision of the parent marketplace revenue share at which to retrieve the allocation. Omit to return the latest.</p>
397
+ * @public
398
+ */
399
+ MarketplaceRevenueShareRevision?: string | undefined;
400
+ }
401
+ /**
402
+ * @public
403
+ */
404
+ export interface GetMarketplaceRevenueShareAllocationOutput {
405
+ /**
406
+ * <p>The unique identifier of the allocation.</p>
407
+ * @public
408
+ */
409
+ MarketplaceRevenueShareAllocationId: string | undefined;
410
+ /**
411
+ * <p>The AWS Marketplace product identifier.</p>
412
+ * @public
413
+ */
414
+ ProductId: string | undefined;
415
+ /**
416
+ * <p>The display name of the AWS Marketplace product.</p>
417
+ * @public
418
+ */
419
+ ProductName?: string | undefined;
420
+ /**
421
+ * <p>The Amazon Resource Name (ARN) of the allocation.</p>
422
+ * @public
423
+ */
424
+ Arn: string | undefined;
425
+ /**
426
+ * <p>The effective start date of the allocation.</p>
427
+ * @public
428
+ */
429
+ EffectiveFrom: string | undefined;
430
+ /**
431
+ * <p>The effective end date of the allocation, or null if open-ended.</p>
432
+ * @public
433
+ */
434
+ EffectiveUntil?: string | undefined;
435
+ /**
436
+ * <p>The revenue share percentage.</p>
437
+ * @public
438
+ */
439
+ RevenueSharePercent: string | undefined;
440
+ /**
441
+ * <p>The status of the allocation.</p>
442
+ * @public
443
+ */
444
+ Status: AllocationStatus | undefined;
445
+ /**
446
+ * <p>The date when the allocation was created.</p>
447
+ * @public
448
+ */
449
+ CreatedDate?: Date | undefined;
450
+ /**
451
+ * <p>The date when the allocation was last modified.</p>
452
+ * @public
453
+ */
454
+ LastModifiedDate?: Date | undefined;
455
+ /**
456
+ * <p>The latest revision of the parent marketplace revenue share.</p>
457
+ * @public
458
+ */
459
+ LatestMarketplaceRevenueShareRevision?: string | undefined;
460
+ }
461
+ /**
462
+ * @public
463
+ */
464
+ export interface ListMarketplaceRevenueShareAllocationsInput {
465
+ /**
466
+ * <p>The catalog containing the allocations.</p>
467
+ * @public
468
+ */
469
+ Catalog: CatalogName | undefined;
470
+ /**
471
+ * <p>The AWS Marketplace product identifier for the parent revenue share.</p>
472
+ * @public
473
+ */
474
+ ProductId: string | undefined;
475
+ /**
476
+ * <p>Filter by allocation status.</p>
477
+ * @public
478
+ */
479
+ Status?: AllocationStatus | undefined;
480
+ /**
481
+ * <p>Inclusive lower bound for EffectiveFrom date filter.</p>
482
+ * @public
483
+ */
484
+ AfterEffectiveFrom?: string | undefined;
485
+ /**
486
+ * <p>Exclusive upper bound for EffectiveFrom date filter (half-open range).</p>
487
+ * @public
488
+ */
489
+ BeforeEffectiveFrom?: string | undefined;
490
+ /**
491
+ * <p>The field to sort marketplace revenue share allocations by.</p>
492
+ * @public
493
+ */
494
+ SortBy?: MarketplaceRevenueShareAllocationSortField | undefined;
495
+ /**
496
+ * <p>The direction to sort results. Defaults to DESCENDING.</p>
497
+ * @public
498
+ */
499
+ SortOrder?: SortOrder | undefined;
500
+ /**
501
+ * <p>Maximum number of results per page.</p>
502
+ * @public
503
+ */
504
+ MaxResults?: number | undefined;
505
+ /**
506
+ * <p>Pagination token from a previous response.</p>
507
+ * @public
508
+ */
509
+ NextToken?: string | undefined;
510
+ /**
511
+ * <p>Optional share revision for historical list. Returns allocations as they existed at this revision.</p>
512
+ * @public
513
+ */
514
+ MarketplaceRevenueShareRevision?: string | undefined;
515
+ }
516
+ /**
517
+ * <p>Summary information about a marketplace revenue share allocation.</p>
518
+ * @public
519
+ */
520
+ export interface MarketplaceRevenueShareAllocationSummary {
521
+ /**
522
+ * <p>The unique identifier of the allocation.</p>
523
+ * @public
524
+ */
525
+ MarketplaceRevenueShareAllocationId: string | undefined;
526
+ /**
527
+ * <p>The AWS Marketplace product identifier.</p>
528
+ * @public
529
+ */
530
+ ProductId: string | undefined;
531
+ /**
532
+ * <p>The display name of the AWS Marketplace product.</p>
533
+ * @public
534
+ */
535
+ ProductName?: string | undefined;
536
+ /**
537
+ * <p>The Amazon Resource Name (ARN) of the parent marketplace revenue share.</p>
538
+ * @public
539
+ */
540
+ Arn: string | undefined;
541
+ /**
542
+ * <p>The effective start date of the allocation.</p>
543
+ * @public
544
+ */
545
+ EffectiveFrom: string | undefined;
546
+ /**
547
+ * <p>The effective end date of the allocation, or null if open-ended.</p>
548
+ * @public
549
+ */
550
+ EffectiveUntil?: string | undefined;
551
+ /**
552
+ * <p>The revenue share percentage.</p>
553
+ * @public
554
+ */
555
+ RevenueSharePercent: string | undefined;
556
+ /**
557
+ * <p>The status of the allocation.</p>
558
+ * @public
559
+ */
560
+ Status: AllocationStatus | undefined;
561
+ /**
562
+ * <p>The date when the allocation was created.</p>
563
+ * @public
564
+ */
565
+ CreatedDate?: Date | undefined;
566
+ /**
567
+ * <p>The date when the allocation was last modified.</p>
568
+ * @public
569
+ */
570
+ LastModifiedDate?: Date | undefined;
571
+ }
572
+ /**
573
+ * @public
574
+ */
575
+ export interface ListMarketplaceRevenueShareAllocationsOutput {
576
+ /**
577
+ * <p>The list of allocation summaries for the current page.</p>
578
+ * @public
579
+ */
580
+ MarketplaceRevenueShareAllocationSummaries: MarketplaceRevenueShareAllocationSummary[] | undefined;
581
+ /**
582
+ * <p>Pagination token for the next page. Absent if no more results.</p>
583
+ * @public
584
+ */
585
+ NextToken?: string | undefined;
586
+ }
587
+ /**
588
+ * @public
589
+ */
590
+ export interface ListMarketplaceRevenueSharesInput {
591
+ /**
592
+ * <p>The catalog to list marketplace revenue shares from.</p>
593
+ * @public
594
+ */
595
+ Catalog: CatalogName | undefined;
596
+ /**
597
+ * <p>Filter results to only include shares with these product identifiers.</p>
598
+ * @public
599
+ */
600
+ ProductIds?: string[] | undefined;
601
+ /**
602
+ * <p>Filter results to only include shares with these product codes.</p>
603
+ * @public
604
+ */
605
+ ProductCodes?: string[] | undefined;
606
+ /**
607
+ * <p>The maximum number of results to return in a single call.</p>
608
+ * @public
609
+ */
610
+ MaxResults?: number | undefined;
611
+ /**
612
+ * <p>Token for pagination. Use the value returned in the previous response to retrieve the next page.</p>
613
+ * @public
614
+ */
615
+ NextToken?: string | undefined;
616
+ /**
617
+ * <p>The field to sort marketplace revenue shares by.</p>
618
+ * @public
619
+ */
620
+ SortBy?: MarketplaceRevenueShareSortBy | undefined;
621
+ /**
622
+ * <p>The direction to sort results.</p>
623
+ * @public
624
+ */
625
+ SortOrder?: SortOrder | undefined;
626
+ /**
627
+ * <p>Filter results to only include marketplace revenue shares created after this timestamp.</p>
628
+ * @public
629
+ */
630
+ CreatedAfter?: Date | undefined;
631
+ /**
632
+ * <p>Filter results to only include marketplace revenue shares created before this timestamp.</p>
633
+ * @public
634
+ */
635
+ CreatedBefore?: Date | undefined;
636
+ }
637
+ /**
638
+ * <p>Summary information about a marketplace revenue share.</p>
639
+ * @public
640
+ */
641
+ export interface MarketplaceRevenueShareSummary {
642
+ /**
643
+ * <p>The AWS Marketplace product identifier.</p>
644
+ * @public
645
+ */
646
+ ProductId: string | undefined;
647
+ /**
648
+ * <p>The Amazon Resource Name (ARN) of the marketplace revenue share.</p>
649
+ * @public
650
+ */
651
+ Arn: string | undefined;
652
+ /**
653
+ * <p>The catalog that the marketplace revenue share belongs to.</p>
654
+ * @public
655
+ */
656
+ Catalog?: CatalogName | undefined;
657
+ /**
658
+ * <p>The AWS Marketplace product code.</p>
659
+ * @public
660
+ */
661
+ ProductCode?: string | undefined;
662
+ /**
663
+ * <p>The display name of the AWS Marketplace product.</p>
664
+ * @public
665
+ */
666
+ ProductName?: string | undefined;
667
+ /**
668
+ * <p>The date when the marketplace revenue share was created.</p>
669
+ * @public
670
+ */
671
+ CreatedDate?: Date | undefined;
672
+ /**
673
+ * <p>The date when the marketplace revenue share was last modified.</p>
674
+ * @public
675
+ */
676
+ LastModifiedDate?: Date | undefined;
677
+ /**
678
+ * <p>The latest revision number of the marketplace revenue share.</p>
679
+ * @public
680
+ */
681
+ LatestRevision?: number | undefined;
682
+ /**
683
+ * <p>The number of active allocations under this share.</p>
684
+ * @public
685
+ */
686
+ TotalActiveMarketplaceRevenueShareAllocationCount?: number | undefined;
687
+ /**
688
+ * <p>The total number of allocations under this share.</p>
689
+ * @public
690
+ */
691
+ TotalMarketplaceRevenueShareAllocationCount?: number | undefined;
692
+ }
693
+ /**
694
+ * @public
695
+ */
696
+ export interface ListMarketplaceRevenueSharesOutput {
697
+ /**
698
+ * <p>The list of marketplace revenue share summaries.</p>
699
+ * @public
700
+ */
701
+ MarketplaceRevenueShareSummaries: MarketplaceRevenueShareSummary[] | undefined;
702
+ /**
703
+ * <p>Token for pagination. Present if there are more results available.</p>
704
+ * @public
705
+ */
706
+ NextToken?: string | undefined;
707
+ }
708
+ /**
709
+ * @public
710
+ */
711
+ export interface UpdateMarketplaceRevenueShareAllocationInput {
712
+ /**
713
+ * <p>The catalog containing the allocation.</p>
714
+ * @public
715
+ */
716
+ Catalog: CatalogName | undefined;
717
+ /**
718
+ * <p>The AWS Marketplace product identifier for the parent revenue share.</p>
719
+ * @public
720
+ */
721
+ ProductId: string | undefined;
722
+ /**
723
+ * <p>The identifier of the allocation to update.</p>
724
+ * @public
725
+ */
726
+ MarketplaceRevenueShareAllocationId: string | undefined;
727
+ /**
728
+ * <p>The current revision of the parent share. Must match for optimistic concurrency control.</p>
729
+ * @public
730
+ */
731
+ MarketplaceRevenueShareRevision: string | undefined;
732
+ /**
733
+ * <p>A unique token to ensure idempotency of the update request.</p>
734
+ * @public
735
+ */
736
+ ClientToken?: string | undefined;
737
+ /**
738
+ * <p>The new effective start date. Must be the first day of a month. Only modifiable on future-dated allocations.</p>
739
+ * @public
740
+ */
741
+ EffectiveFrom?: string | undefined;
742
+ /**
743
+ * <p>The new effective end date. Must be the last day of a month and on or after today.</p>
744
+ * @public
745
+ */
746
+ EffectiveUntil?: string | undefined;
747
+ /**
748
+ * <p>The new revenue share percentage. Only modifiable on future-dated allocations.</p>
749
+ * @public
750
+ */
751
+ RevenueSharePercent?: string | undefined;
752
+ /**
753
+ * <p>The new status. Set to INACTIVE for soft-delete. Only modifiable on future-dated allocations.</p>
754
+ * @public
755
+ */
756
+ Status?: AllocationStatus | undefined;
757
+ }
758
+ /**
759
+ * @public
760
+ */
761
+ export interface UpdateMarketplaceRevenueShareAllocationOutput {
762
+ /**
763
+ * <p>The unique identifier of the updated allocation.</p>
764
+ * @public
765
+ */
766
+ MarketplaceRevenueShareAllocationId: string | undefined;
767
+ /**
768
+ * <p>The AWS Marketplace product identifier.</p>
769
+ * @public
770
+ */
771
+ ProductId: string | undefined;
772
+ /**
773
+ * <p>The display name of the AWS Marketplace product.</p>
774
+ * @public
775
+ */
776
+ ProductName?: string | undefined;
777
+ /**
778
+ * <p>The Amazon Resource Name (ARN) of the parent marketplace revenue share.</p>
779
+ * @public
780
+ */
781
+ Arn: string | undefined;
782
+ /**
783
+ * <p>The effective start date of the allocation.</p>
784
+ * @public
785
+ */
786
+ EffectiveFrom: string | undefined;
787
+ /**
788
+ * <p>The effective end date of the allocation, or null if open-ended.</p>
789
+ * @public
790
+ */
791
+ EffectiveUntil?: string | undefined;
792
+ /**
793
+ * <p>The revenue share percentage.</p>
794
+ * @public
795
+ */
796
+ RevenueSharePercent: string | undefined;
797
+ /**
798
+ * <p>The status of the allocation.</p>
799
+ * @public
800
+ */
801
+ Status: AllocationStatus | undefined;
802
+ /**
803
+ * <p>The date when the allocation was created.</p>
804
+ * @public
805
+ */
806
+ CreatedDate?: Date | undefined;
807
+ /**
808
+ * <p>The date when the allocation was last modified.</p>
809
+ * @public
810
+ */
811
+ LastModifiedDate?: Date | undefined;
812
+ /**
813
+ * <p>The latest revision of the parent marketplace revenue share after the update.</p>
814
+ * @public
815
+ */
816
+ LatestMarketplaceRevenueShareRevision?: string | undefined;
817
+ }
818
+ /**
819
+ * @public
820
+ */
821
+ export interface CreateRevenueAttributionInput {
822
+ /**
823
+ * <p>The catalog in which to create the revenue attribution.</p>
824
+ * @public
825
+ */
826
+ Catalog: CatalogName | undefined;
827
+ /**
828
+ * <p>A unique token to ensure idempotency of the create request.</p>
829
+ * @public
830
+ */
831
+ ClientToken?: string | undefined;
832
+ /**
833
+ * <p>The name of the revenue attribution. Must be unique within the catalog and the partner's account.</p>
834
+ * @public
835
+ */
836
+ Name: string | undefined;
837
+ /**
838
+ * <p>A description of the revenue attribution.</p>
839
+ * @public
840
+ */
841
+ Description?: string | undefined;
842
+ /**
843
+ * <p>The tenancy model for this revenue attribution.</p>
844
+ * @public
845
+ */
846
+ TenancyModel: TenancyModel | undefined;
847
+ /**
848
+ * <p>The unique product identifier in AWS Marketplace. Accepts a product entity ID (e.g., prod-abc123def4567) or a product ARN.</p>
849
+ * @public
850
+ */
851
+ ProductIdentifier?: string | undefined;
852
+ /**
853
+ * <p>Tags to associate with the revenue attribution upon creation.</p>
854
+ * @public
855
+ */
856
+ Tags?: Tag[] | undefined;
857
+ }
858
+ /**
859
+ * @public
860
+ */
861
+ export interface CreateRevenueAttributionOutput {
862
+ /**
863
+ * <p>The unique identifier of the newly created revenue attribution.</p>
864
+ * @public
865
+ */
866
+ Id: string | undefined;
867
+ /**
868
+ * <p>The Amazon Resource Name (ARN) of the newly created revenue attribution.</p>
869
+ * @public
870
+ */
871
+ Arn: string | undefined;
872
+ /**
873
+ * <p>The name of the revenue attribution.</p>
874
+ * @public
875
+ */
876
+ Name?: string | undefined;
877
+ /**
878
+ * <p>The description of the revenue attribution.</p>
879
+ * @public
880
+ */
881
+ Description?: string | undefined;
882
+ /**
883
+ * <p>The tenancy model for this revenue attribution.</p>
884
+ * @public
885
+ */
886
+ TenancyModel: TenancyModel | undefined;
887
+ /**
888
+ * <p>The associated AWS Marketplace product listing, if set at creation.</p>
889
+ * @public
890
+ */
891
+ MarketplaceProduct?: MarketplaceProductSummary | undefined;
892
+ /**
893
+ * <p>The revision of the newly created attribution resource.</p>
894
+ * @public
895
+ */
896
+ Revision?: string | undefined;
897
+ }
898
+ /**
899
+ * @public
900
+ */
901
+ export interface GetRevenueAttributionInput {
902
+ /**
903
+ * <p>The catalog that the revenue attribution belongs to.</p>
904
+ * @public
905
+ */
906
+ Catalog: CatalogName | undefined;
907
+ /**
908
+ * <p>The unique identifier of the revenue attribution to retrieve. Accepts a direct ID or ARN.</p>
909
+ * @public
910
+ */
911
+ Identifier: string | undefined;
912
+ /**
913
+ * <p>The revision of the attribution to retrieve. Omit to return the latest revision.</p>
914
+ * @public
915
+ */
916
+ Revision?: string | undefined;
917
+ }
918
+ /**
919
+ * @public
920
+ */
921
+ export interface GetRevenueAttributionOutput {
922
+ /**
923
+ * <p>The Amazon Resource Name (ARN) of the revenue attribution.</p>
924
+ * @public
925
+ */
926
+ Arn: string | undefined;
927
+ /**
928
+ * <p>The unique identifier of the revenue attribution.</p>
929
+ * @public
930
+ */
931
+ Id: string | undefined;
932
+ /**
933
+ * <p>The catalog that the revenue attribution belongs to.</p>
934
+ * @public
935
+ */
936
+ Catalog: CatalogName | undefined;
937
+ /**
938
+ * <p>The display name of the revenue attribution.</p>
939
+ * @public
940
+ */
941
+ Name?: string | undefined;
942
+ /**
943
+ * <p>A description of the revenue attribution.</p>
944
+ * @public
945
+ */
946
+ Description?: string | undefined;
947
+ /**
948
+ * <p>The tenancy model for this revenue attribution.</p>
949
+ * @public
950
+ */
951
+ TenancyModel: TenancyModel | undefined;
952
+ /**
953
+ * <p>The associated AWS Marketplace product listing, if set.</p>
954
+ * @public
955
+ */
956
+ MarketplaceProduct?: MarketplaceProductSummary | undefined;
957
+ /**
958
+ * <p>The date when the revenue attribution was created.</p>
959
+ * @public
960
+ */
961
+ CreatedDate?: Date | undefined;
962
+ /**
963
+ * <p>The date when the revenue attribution was last modified.</p>
964
+ * @public
965
+ */
966
+ LastModifiedDate?: Date | undefined;
967
+ /**
968
+ * <p>The revision of the retrieved attribution.</p>
969
+ * @public
970
+ */
971
+ Revision?: string | undefined;
972
+ /**
973
+ * <p>The latest revision of the attribution.</p>
974
+ * @public
975
+ */
976
+ LatestRevision?: string | undefined;
977
+ /**
978
+ * <p>The date from which this revenue attribution is effective, derived from the earliest allocation start date (YYYY-MM-DD).</p>
979
+ * @public
980
+ */
981
+ EffectiveFrom?: string | undefined;
982
+ /**
983
+ * <p>The date until which this revenue attribution is effective, derived from the latest allocation end date (YYYY-MM-DD).</p>
984
+ * @public
985
+ */
986
+ EffectiveUntil?: string | undefined;
987
+ /**
988
+ * <p>The total number of allocations under this revenue attribution whose Status is ACTIVE.</p>
989
+ * @public
990
+ */
991
+ TotalActiveRevenueAttributionAllocationCount?: number | undefined;
992
+ /**
993
+ * <p>The total number of allocations under this revenue attribution, counting both ACTIVE and INACTIVE.</p>
994
+ * @public
995
+ */
996
+ TotalRevenueAttributionAllocationCount?: number | undefined;
997
+ }
998
+ /**
999
+ * @public
1000
+ */
1001
+ export interface GetRevenueAttributionAllocationInput {
1002
+ /**
1003
+ * <p>The catalog that contains the resource.</p>
1004
+ * @public
1005
+ */
1006
+ Catalog: CatalogName | undefined;
1007
+ /**
1008
+ * <p>The revenue attribution identifier.</p>
1009
+ * @public
1010
+ */
1011
+ RevenueAttributionIdentifier: string | undefined;
1012
+ /**
1013
+ * <p>The allocation identifier.</p>
1014
+ * @public
1015
+ */
1016
+ RevenueAttributionAllocationId: string | undefined;
1017
+ /**
1018
+ * <p>Point-in-time revision number to query.</p>
1019
+ * @public
1020
+ */
1021
+ RevenueAttributionRevision?: string | undefined;
1022
+ }
1023
+ /**
1024
+ * @public
1025
+ */
1026
+ export interface GetRevenueAttributionAllocationOutput {
1027
+ /**
1028
+ * <p>Unique allocation identifier.</p>
1029
+ * @public
1030
+ */
1031
+ RevenueAttributionAllocationId: string | undefined;
1032
+ /**
1033
+ * <p>The revenue attribution identifier.</p>
1034
+ * @public
1035
+ */
1036
+ RevenueAttributionIdentifier: string | undefined;
1037
+ /**
1038
+ * <p>The type of the associated deal entity.</p>
1039
+ * @public
1040
+ */
1041
+ EntityType: EntityType | undefined;
1042
+ /**
1043
+ * <p>The unique identifier of the associated deal entity.</p>
1044
+ * @public
1045
+ */
1046
+ EntityIdentifier: string | undefined;
1047
+ /**
1048
+ * <p>The display name of the associated deal entity.</p>
1049
+ * @public
1050
+ */
1051
+ EntityName?: string | undefined;
1052
+ /**
1053
+ * <p>The customer AWS account ID for this associated deal entity.</p>
1054
+ * @public
1055
+ */
1056
+ CustomerAwsAccountId: string | undefined;
1057
+ /**
1058
+ * <p>Revenue share percentage.</p>
1059
+ * @public
1060
+ */
1061
+ RevenueSharePercent: string | undefined;
1062
+ /**
1063
+ * <p>First day of the effective month.</p>
1064
+ * @public
1065
+ */
1066
+ EffectiveFrom: string | undefined;
1067
+ /**
1068
+ * <p>Last day of the effective month.</p>
1069
+ * @public
1070
+ */
1071
+ EffectiveUntil: string | undefined;
1072
+ /**
1073
+ * <p>Current allocation status.</p>
1074
+ * @public
1075
+ */
1076
+ Status: AllocationStatus | undefined;
1077
+ /**
1078
+ * <p>When the allocation was first created.</p>
1079
+ * @public
1080
+ */
1081
+ CreatedDate: Date | undefined;
1082
+ /**
1083
+ * <p>When the allocation was last modified.</p>
1084
+ * @public
1085
+ */
1086
+ LastModifiedDate: Date | undefined;
1087
+ /**
1088
+ * <p>The revision of this allocation version.</p>
1089
+ * @public
1090
+ */
1091
+ RevenueAttributionRevision: string | undefined;
1092
+ /**
1093
+ * <p>The latest committed revision.</p>
1094
+ * @public
1095
+ */
1096
+ RevenueAttributionLatestRevision: string | undefined;
1097
+ }
1098
+ /**
1099
+ * @public
1100
+ */
1101
+ export interface GetRevenueAttributionAllocationsTaskInput {
1102
+ /**
1103
+ * <p>The catalog that contains the resource.</p>
1104
+ * @public
1105
+ */
1106
+ Catalog: CatalogName | undefined;
1107
+ /**
1108
+ * <p>The revenue attribution identifier.</p>
1109
+ * @public
1110
+ */
1111
+ RevenueAttributionIdentifier: string | undefined;
1112
+ }
1113
+ /**
1114
+ * <p>Details of a validation error for a single revenue attribution allocation record.</p>
1115
+ * @public
1116
+ */
1117
+ export interface RevenueAttributionAllocationErrorDetail {
1118
+ /**
1119
+ * <p>The allocation identifier. Present for UPDATE actions; absent for CREATE actions.</p>
1120
+ * @public
1121
+ */
1122
+ RevenueAttributionAllocationId?: string | undefined;
1123
+ /**
1124
+ * <p>The deal entity type of the failing record.</p>
1125
+ * @public
1126
+ */
1127
+ EntityType: EntityType | undefined;
1128
+ /**
1129
+ * <p>The deal entity identifier of the failing record.</p>
1130
+ * @public
1131
+ */
1132
+ EntityId: string | undefined;
1133
+ /**
1134
+ * <p>The customer AWS account ID of the failing record.</p>
1135
+ * @public
1136
+ */
1137
+ CustomerAwsAccountId: string | undefined;
1138
+ /**
1139
+ * <p>Effective start date of the failing record.</p>
1140
+ * @public
1141
+ */
1142
+ EffectiveFrom: string | undefined;
1143
+ /**
1144
+ * <p>Effective end date of the failing record.</p>
1145
+ * @public
1146
+ */
1147
+ EffectiveUntil: string | undefined;
1148
+ /**
1149
+ * <p>The action that was attempted.</p>
1150
+ * @public
1151
+ */
1152
+ Action: RevenueAttributionAllocationAction | undefined;
1153
+ /**
1154
+ * <p>Machine-readable error code.</p>
1155
+ * @public
1156
+ */
1157
+ ErrorCode: RevenueAttributionAllocationErrorCode | undefined;
1158
+ /**
1159
+ * <p>Human-readable error description.</p>
1160
+ * @public
1161
+ */
1162
+ ErrorMessage: string | undefined;
1163
+ }
1164
+ /**
1165
+ * @public
1166
+ */
1167
+ export interface GetRevenueAttributionAllocationsTaskOutput {
1168
+ /**
1169
+ * <p>The unique identifier for the asynchronous task.</p>
1170
+ * @public
1171
+ */
1172
+ TaskId: string | undefined;
1173
+ /**
1174
+ * <p>Current task status.</p>
1175
+ * @public
1176
+ */
1177
+ Status: RevenueAttributionAllocationTaskStatus | undefined;
1178
+ /**
1179
+ * <p>The catalog used for this task.</p>
1180
+ * @public
1181
+ */
1182
+ Catalog: CatalogName | undefined;
1183
+ /**
1184
+ * <p>ARN of the revenue attribution resource.</p>
1185
+ * @public
1186
+ */
1187
+ RevenueAttributionArn: string | undefined;
1188
+ /**
1189
+ * <p>When processing started.</p>
1190
+ * @public
1191
+ */
1192
+ StartedAt: Date | undefined;
1193
+ /**
1194
+ * <p>When processing ended. Only present when COMPLETE or FAILED.</p>
1195
+ * @public
1196
+ */
1197
+ EndedAt?: Date | undefined;
1198
+ /**
1199
+ * <p>Total revenue attribution allocation records in the batch.</p>
1200
+ * @public
1201
+ */
1202
+ TotalRevenueAttributionAllocationRecords: number | undefined;
1203
+ /**
1204
+ * <p>Human-readable description, if provided at creation.</p>
1205
+ * @public
1206
+ */
1207
+ Description?: string | undefined;
1208
+ /**
1209
+ * <p>The revision number assigned to this batch. Only present when COMPLETE.</p>
1210
+ * @public
1211
+ */
1212
+ RevenueAttributionLatestRevision?: string | undefined;
1213
+ /**
1214
+ * <p>All errors discovered during async processing. Only present when FAILED.</p>
1215
+ * @public
1216
+ */
1217
+ ErrorDetailList?: RevenueAttributionAllocationErrorDetail[] | undefined;
1218
+ }
1219
+ /**
1220
+ * @public
1221
+ */
1222
+ export interface ListRevenueAttributionAllocationsInput {
1223
+ /**
1224
+ * <p>The catalog that contains the resource.</p>
1225
+ * @public
1226
+ */
1227
+ Catalog: CatalogName | undefined;
1228
+ /**
1229
+ * <p>The revenue attribution identifier to query.</p>
1230
+ * @public
1231
+ */
1232
+ RevenueAttributionIdentifier: string | undefined;
1233
+ /**
1234
+ * <p>Filter by deal entity types.</p>
1235
+ * @public
1236
+ */
1237
+ EntityTypeFilters?: EntityType[] | undefined;
1238
+ /**
1239
+ * <p>Filter by deal entity identifiers.</p>
1240
+ * @public
1241
+ */
1242
+ EntityIdentifierFilters?: string[] | undefined;
1243
+ /**
1244
+ * <p>Filter by customer AWS account IDs for associated deal entities.</p>
1245
+ * @public
1246
+ */
1247
+ CustomerAwsAccountIdFilters?: string[] | undefined;
1248
+ /**
1249
+ * <p>Filter by allocation status.</p>
1250
+ * @public
1251
+ */
1252
+ StatusFilter?: AllocationStatus | undefined;
1253
+ /**
1254
+ * <p>Inclusive lower bound for EffectiveFrom date filter.</p>
1255
+ * @public
1256
+ */
1257
+ AfterEffectiveFrom?: string | undefined;
1258
+ /**
1259
+ * <p>Exclusive upper bound for EffectiveFrom date filter (half-open range).</p>
1260
+ * @public
1261
+ */
1262
+ BeforeEffectiveFrom?: string | undefined;
1263
+ /**
1264
+ * <p>Inclusive lower bound for EffectiveUntil date filter.</p>
1265
+ * @public
1266
+ */
1267
+ AfterEffectiveUntil?: string | undefined;
1268
+ /**
1269
+ * <p>Exclusive upper bound for EffectiveUntil date filter (half-open range).</p>
1270
+ * @public
1271
+ */
1272
+ BeforeEffectiveUntil?: string | undefined;
1273
+ /**
1274
+ * <p>Field to sort by.</p>
1275
+ * @public
1276
+ */
1277
+ SortBy?: RevenueAttributionAllocationSortField | undefined;
1278
+ /**
1279
+ * <p>Sort direction. Defaults to ASCENDING.</p>
1280
+ * @public
1281
+ */
1282
+ SortOrder?: SortOrder | undefined;
1283
+ /**
1284
+ * <p>Point-in-time revision number to query.</p>
1285
+ * @public
1286
+ */
1287
+ RevenueAttributionRevision?: string | undefined;
1288
+ /**
1289
+ * <p>Maximum results per page.</p>
1290
+ * @public
1291
+ */
1292
+ MaxResults?: number | undefined;
1293
+ /**
1294
+ * <p>Pagination token from previous response.</p>
1295
+ * @public
1296
+ */
1297
+ NextToken?: string | undefined;
1298
+ }
1299
+ /**
1300
+ * <p>Summary information about a revenue attribution allocation.</p>
1301
+ * @public
1302
+ */
1303
+ export interface RevenueAttributionAllocationSummary {
1304
+ /**
1305
+ * <p>Unique allocation identifier.</p>
1306
+ * @public
1307
+ */
1308
+ RevenueAttributionAllocationId: string | undefined;
1309
+ /**
1310
+ * <p>The revenue attribution identifier.</p>
1311
+ * @public
1312
+ */
1313
+ RevenueAttributionIdentifier: string | undefined;
1314
+ /**
1315
+ * <p>The type of the associated deal entity.</p>
1316
+ * @public
1317
+ */
1318
+ EntityType: EntityType | undefined;
1319
+ /**
1320
+ * <p>The unique identifier of the associated deal entity.</p>
1321
+ * @public
1322
+ */
1323
+ EntityIdentifier: string | undefined;
1324
+ /**
1325
+ * <p>The display name of the associated deal entity.</p>
1326
+ * @public
1327
+ */
1328
+ EntityName?: string | undefined;
1329
+ /**
1330
+ * <p>The customer AWS account ID for this associated deal entity.</p>
1331
+ * @public
1332
+ */
1333
+ CustomerAwsAccountId: string | undefined;
1334
+ /**
1335
+ * <p>Revenue share percentage.</p>
1336
+ * @public
1337
+ */
1338
+ RevenueSharePercent: string | undefined;
1339
+ /**
1340
+ * <p>First day of the effective month.</p>
1341
+ * @public
1342
+ */
1343
+ EffectiveFrom: string | undefined;
1344
+ /**
1345
+ * <p>Last day of the effective month.</p>
1346
+ * @public
1347
+ */
1348
+ EffectiveUntil: string | undefined;
1349
+ /**
1350
+ * <p>Current allocation status.</p>
1351
+ * @public
1352
+ */
1353
+ Status: AllocationStatus | undefined;
1354
+ }
1355
+ /**
1356
+ * @public
1357
+ */
1358
+ export interface ListRevenueAttributionAllocationsOutput {
1359
+ /**
1360
+ * <p>Paginated list of allocations matching filters.</p>
1361
+ * @public
1362
+ */
1363
+ RevenueAttributionAllocationSummaries: RevenueAttributionAllocationSummary[] | undefined;
1364
+ /**
1365
+ * <p>Token for next page. Absent if no more results.</p>
1366
+ * @public
1367
+ */
1368
+ NextToken?: string | undefined;
1369
+ }
1370
+ /**
1371
+ * @public
1372
+ */
1373
+ export interface ListRevenueAttributionsInput {
1374
+ /**
1375
+ * <p>The catalog to list revenue attributions from.</p>
1376
+ * @public
1377
+ */
1378
+ Catalog: CatalogName | undefined;
1379
+ /**
1380
+ * <p>Filter results to only include revenue attributions with the specified identifiers.</p>
1381
+ * @public
1382
+ */
1383
+ Identifiers?: string[] | undefined;
1384
+ /**
1385
+ * <p>Filter results to only include revenue attributions created after this timestamp.</p>
1386
+ * @public
1387
+ */
1388
+ CreatedAfter?: Date | undefined;
1389
+ /**
1390
+ * <p>Filter results to only include revenue attributions created before this timestamp.</p>
1391
+ * @public
1392
+ */
1393
+ CreatedBefore?: Date | undefined;
1394
+ /**
1395
+ * <p>The field to sort revenue attributions by.</p>
1396
+ * @public
1397
+ */
1398
+ SortBy?: AttributionSortBy | undefined;
1399
+ /**
1400
+ * <p>The direction to sort results.</p>
1401
+ * @public
1402
+ */
1403
+ SortOrder?: SortOrder | undefined;
1404
+ /**
1405
+ * <p>The maximum number of results to return in a single call.</p>
1406
+ * @public
1407
+ */
1408
+ MaxResults?: number | undefined;
1409
+ /**
1410
+ * <p>Token for pagination. Use the value returned in the previous response to retrieve the next page.</p>
1411
+ * @public
1412
+ */
1413
+ NextToken?: string | undefined;
1414
+ }
1415
+ /**
1416
+ * @public
1417
+ */
1418
+ export interface ListRevenueAttributionsOutput {
1419
+ /**
1420
+ * <p>The list of revenue attribution summaries.</p>
1421
+ * @public
1422
+ */
1423
+ RevenueAttributionSummaries?: AttributionSummary[] | undefined;
1424
+ /**
1425
+ * <p>Token for pagination. Present if there are more results available.</p>
1426
+ * @public
1427
+ */
1428
+ NextToken?: string | undefined;
1429
+ }
1430
+ /**
1431
+ * <p>A single allocation change within a batch request.</p>
1432
+ * @public
1433
+ */
1434
+ export interface RevenueShareAllocation {
1435
+ /**
1436
+ * <p>The operation type: CREATE or UPDATE.</p>
1437
+ * @public
1438
+ */
1439
+ Action: RevenueAttributionAllocationAction | undefined;
1440
+ /**
1441
+ * <p>The allocation to update. Required when Action is UPDATE.</p>
1442
+ * @public
1443
+ */
1444
+ RevenueAttributionAllocationId?: string | undefined;
1445
+ /**
1446
+ * <p>The type of the associated deal entity.</p>
1447
+ * @public
1448
+ */
1449
+ EntityType: EntityType | undefined;
1450
+ /**
1451
+ * <p>The unique identifier of the associated deal entity.</p>
1452
+ * @public
1453
+ */
1454
+ EntityIdentifier: string | undefined;
1455
+ /**
1456
+ * <p>The customer AWS account ID for this associated deal entity.</p>
1457
+ * @public
1458
+ */
1459
+ CustomerAwsAccountId: string | undefined;
1460
+ /**
1461
+ * <p>Revenue share percentage.</p>
1462
+ * @public
1463
+ */
1464
+ RevenueSharePercent: string | undefined;
1465
+ /**
1466
+ * <p>The effective start date for this allocation.</p>
1467
+ * @public
1468
+ */
1469
+ EffectiveFrom: string | undefined;
1470
+ /**
1471
+ * <p>The effective end date for this allocation.</p>
1472
+ * @public
1473
+ */
1474
+ EffectiveUntil: string | undefined;
1475
+ /**
1476
+ * <p>Allocation status. Defaults to ACTIVE on CREATE.</p>
1477
+ * @public
1478
+ */
1479
+ Status?: AllocationStatus | undefined;
1480
+ }
1481
+ /**
1482
+ * @public
1483
+ */
1484
+ export interface StartRevenueAttributionAllocationsTaskInput {
1485
+ /**
1486
+ * <p>The catalog context for this operation.</p>
1487
+ * @public
1488
+ */
1489
+ Catalog: CatalogName | undefined;
1490
+ /**
1491
+ * <p>The revenue attribution identifier.</p>
1492
+ * @public
1493
+ */
1494
+ RevenueAttributionIdentifier: string | undefined;
1495
+ /**
1496
+ * <p>Current revision of the revenue attribution for optimistic locking.</p>
1497
+ * @public
1498
+ */
1499
+ RevenueAttributionRevision: string | undefined;
1500
+ /**
1501
+ * <p>The list of allocation changes to process in this batch.</p>
1502
+ * @public
1503
+ */
1504
+ RevenueShareAllocations: RevenueShareAllocation[] | undefined;
1505
+ /**
1506
+ * <p>Idempotency token for deduplication and retry.</p>
1507
+ * @public
1508
+ */
1509
+ ClientToken?: string | undefined;
1510
+ /**
1511
+ * <p>Human-readable description of the batch.</p>
1512
+ * @public
1513
+ */
1514
+ Description?: string | undefined;
1515
+ }
1516
+ /**
1517
+ * @public
1518
+ */
1519
+ export interface StartRevenueAttributionAllocationsTaskOutput {
1520
+ /**
1521
+ * <p>Unique identifier for the submitted task.</p>
1522
+ * @public
1523
+ */
1524
+ TaskId: string | undefined;
1525
+ /**
1526
+ * <p>Initial task status. Always IN_PROGRESS on successful submission.</p>
1527
+ * @public
1528
+ */
1529
+ Status: RevenueAttributionAllocationTaskStatus | undefined;
1530
+ /**
1531
+ * <p>The catalog used for this task.</p>
1532
+ * @public
1533
+ */
1534
+ Catalog: CatalogName | undefined;
1535
+ /**
1536
+ * <p>ARN of the revenue attribution resource.</p>
1537
+ * @public
1538
+ */
1539
+ RevenueAttributionArn: string | undefined;
1540
+ /**
1541
+ * <p>When processing started.</p>
1542
+ * @public
1543
+ */
1544
+ StartedAt: Date | undefined;
1545
+ /**
1546
+ * <p>Total revenue attribution allocation records in the batch.</p>
1547
+ * @public
1548
+ */
1549
+ TotalRevenueAttributionAllocationRecords: number | undefined;
1550
+ }
1551
+ /**
1552
+ * @public
1553
+ */
1554
+ export interface UpdateRevenueAttributionInput {
1555
+ /**
1556
+ * <p>The catalog that the revenue attribution belongs to.</p>
1557
+ * @public
1558
+ */
1559
+ Catalog: CatalogName | undefined;
1560
+ /**
1561
+ * <p>The unique identifier of the revenue attribution to update. Accepts a direct ID or ARN.</p>
1562
+ * @public
1563
+ */
1564
+ Identifier: string | undefined;
1565
+ /**
1566
+ * <p>A unique token to ensure idempotency of the update request.</p>
1567
+ * @public
1568
+ */
1569
+ ClientToken?: string | undefined;
1570
+ /**
1571
+ * <p>The updated description of the revenue attribution.</p>
1572
+ * @public
1573
+ */
1574
+ Description?: string | undefined;
1575
+ /**
1576
+ * <p>The current revision of the revenue attribution. Must match the server's current value.</p>
1577
+ * @public
1578
+ */
1579
+ Revision: string | undefined;
1580
+ }
1581
+ /**
1582
+ * @public
1583
+ */
1584
+ export interface UpdateRevenueAttributionOutput {
1585
+ /**
1586
+ * <p>The unique identifier of the updated revenue attribution.</p>
1587
+ * @public
1588
+ */
1589
+ Id: string | undefined;
1590
+ /**
1591
+ * <p>The Amazon Resource Name (ARN) of the updated revenue attribution.</p>
1592
+ * @public
1593
+ */
1594
+ Arn: string | undefined;
1595
+ /**
1596
+ * <p>The updated description of the revenue attribution.</p>
1597
+ * @public
1598
+ */
1599
+ Description?: string | undefined;
1600
+ /**
1601
+ * <p>The date when the attribution was last modified.</p>
1602
+ * @public
1603
+ */
1604
+ LastModifiedDate: Date | undefined;
1605
+ /**
1606
+ * <p>The latest revision of the attribution after the update.</p>
1607
+ * @public
1608
+ */
1609
+ LatestRevision?: string | undefined;
1610
+ }
1611
+ /**
1612
+ * @public
1613
+ */
1614
+ export interface ListTagsForResourceInput {
1615
+ /**
1616
+ * <p>The Amazon Resource Name (ARN) of the resource to list tags for.</p>
1617
+ * @public
1618
+ */
1619
+ resourceArn: string | undefined;
1620
+ }
1621
+ /**
1622
+ * @public
1623
+ */
1624
+ export interface ListTagsForResourceOutput {
1625
+ /**
1626
+ * <p>The tags associated with the resource.</p>
1627
+ * @public
1628
+ */
1629
+ tags?: Tag[] | undefined;
1630
+ }
1631
+ /**
1632
+ * @public
1633
+ */
1634
+ export interface TagResourceInput {
1635
+ /**
1636
+ * <p>The Amazon Resource Name (ARN) of the resource to tag.</p>
1637
+ * @public
1638
+ */
1639
+ resourceArn: string | undefined;
1640
+ /**
1641
+ * <p>The tags to add to the resource.</p>
1642
+ * @public
1643
+ */
1644
+ tags: Tag[] | undefined;
1645
+ }
1646
+ /**
1647
+ * @public
1648
+ */
1649
+ export interface UntagResourceInput {
1650
+ /**
1651
+ * <p>The Amazon Resource Name (ARN) of the resource to remove tags from.</p>
1652
+ * @public
1653
+ */
1654
+ resourceArn: string | undefined;
1655
+ /**
1656
+ * <p>The tag keys to remove from the resource.</p>
1657
+ * @public
1658
+ */
1659
+ tagKeys: string[] | undefined;
1660
+ }