@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,131 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateMarketplaceRevenueShareAllocationInput, UpdateMarketplaceRevenueShareAllocationOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateMarketplaceRevenueShareAllocationCommand}.
11
+ */
12
+ export interface UpdateMarketplaceRevenueShareAllocationCommandInput extends UpdateMarketplaceRevenueShareAllocationInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateMarketplaceRevenueShareAllocationCommand}.
18
+ */
19
+ export interface UpdateMarketplaceRevenueShareAllocationCommandOutput extends UpdateMarketplaceRevenueShareAllocationOutput, __MetadataBearer {
20
+ }
21
+ declare const UpdateMarketplaceRevenueShareAllocationCommand_base: {
22
+ new (input: UpdateMarketplaceRevenueShareAllocationCommandInput): import("@smithy/core/client").CommandImpl<UpdateMarketplaceRevenueShareAllocationCommandInput, UpdateMarketplaceRevenueShareAllocationCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateMarketplaceRevenueShareAllocationCommandInput): import("@smithy/core/client").CommandImpl<UpdateMarketplaceRevenueShareAllocationCommandInput, UpdateMarketplaceRevenueShareAllocationCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Updates an existing marketplace revenue share allocation. Supports modifying effective dates, revenue share percentage, and status with time-based mutability rules.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { PartnerCentralRevenueMeasurementClient, UpdateMarketplaceRevenueShareAllocationCommand } from "@aws-sdk/client-partnercentral-revenue-measurement"; // ES Modules import
32
+ * // const { PartnerCentralRevenueMeasurementClient, UpdateMarketplaceRevenueShareAllocationCommand } = require("@aws-sdk/client-partnercentral-revenue-measurement"); // CommonJS import
33
+ * // import type { PartnerCentralRevenueMeasurementClientConfig } from "@aws-sdk/client-partnercentral-revenue-measurement";
34
+ * const config = {}; // type is PartnerCentralRevenueMeasurementClientConfig
35
+ * const client = new PartnerCentralRevenueMeasurementClient(config);
36
+ * const input = { // UpdateMarketplaceRevenueShareAllocationInput
37
+ * Catalog: "AWS" || "Sandbox", // required
38
+ * ProductId: "STRING_VALUE", // required
39
+ * MarketplaceRevenueShareAllocationId: "STRING_VALUE", // required
40
+ * MarketplaceRevenueShareRevision: "STRING_VALUE", // required
41
+ * ClientToken: "STRING_VALUE",
42
+ * EffectiveFrom: "STRING_VALUE",
43
+ * EffectiveUntil: "STRING_VALUE",
44
+ * RevenueSharePercent: "STRING_VALUE",
45
+ * Status: "ACTIVE" || "INACTIVE",
46
+ * };
47
+ * const command = new UpdateMarketplaceRevenueShareAllocationCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // UpdateMarketplaceRevenueShareAllocationOutput
50
+ * // MarketplaceRevenueShareAllocationId: "STRING_VALUE", // required
51
+ * // ProductId: "STRING_VALUE", // required
52
+ * // ProductName: "STRING_VALUE",
53
+ * // Arn: "STRING_VALUE", // required
54
+ * // EffectiveFrom: "STRING_VALUE", // required
55
+ * // EffectiveUntil: "STRING_VALUE",
56
+ * // RevenueSharePercent: "STRING_VALUE", // required
57
+ * // Status: "ACTIVE" || "INACTIVE", // required
58
+ * // CreatedDate: new Date("TIMESTAMP"),
59
+ * // LastModifiedDate: new Date("TIMESTAMP"),
60
+ * // LatestMarketplaceRevenueShareRevision: "STRING_VALUE",
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param UpdateMarketplaceRevenueShareAllocationCommandInput - {@link UpdateMarketplaceRevenueShareAllocationCommandInput}
66
+ * @returns {@link UpdateMarketplaceRevenueShareAllocationCommandOutput}
67
+ * @see {@link UpdateMarketplaceRevenueShareAllocationCommandInput} for command's `input` shape.
68
+ * @see {@link UpdateMarketplaceRevenueShareAllocationCommandOutput} for command's `response` shape.
69
+ * @see {@link PartnerCentralRevenueMeasurementClientResolvedConfig | config} for PartnerCentralRevenueMeasurementClient's `config` shape.
70
+ *
71
+ * @throws {@link AccessDeniedException} (client fault)
72
+ * <p>The request was denied due to insufficient permissions.</p>
73
+ *
74
+ * @throws {@link ConflictException} (client fault)
75
+ * <p>The request could not be completed due to a conflict with the current state of the resource.</p>
76
+ *
77
+ * @throws {@link InternalServerException} (server fault)
78
+ * <p>An internal server error occurred. Retry your request.</p>
79
+ *
80
+ * @throws {@link ResourceNotFoundException} (client fault)
81
+ * <p>The specified resource was not found.</p>
82
+ *
83
+ * @throws {@link ThrottlingException} (client fault)
84
+ * <p>The request was throttled due to too many requests. Retry your request.</p>
85
+ *
86
+ * @throws {@link ValidationException} (client fault)
87
+ * <p>The request failed validation due to invalid input parameters.</p>
88
+ *
89
+ * @throws {@link PartnerCentralRevenueMeasurementServiceException}
90
+ * <p>Base exception class for all service exceptions from PartnerCentralRevenueMeasurement service.</p>
91
+ *
92
+ *
93
+ * @example Example for UpdateMarketplaceRevenueShareAllocation
94
+ * ```javascript
95
+ * //
96
+ * const input = {
97
+ * Catalog: "AWS",
98
+ * MarketplaceRevenueShareAllocationId: "mrsa-abc123def4567",
99
+ * MarketplaceRevenueShareRevision: "1",
100
+ * ProductId: "prod-abc123def4567",
101
+ * RevenueSharePercent: "20.00"
102
+ * };
103
+ * const command = new UpdateMarketplaceRevenueShareAllocationCommand(input);
104
+ * const response = await client.send(command);
105
+ * /* response is
106
+ * {
107
+ * Arn: "arn:aws:partnercentral:us-east-1:123456789012:catalog/AWS/marketplace-revenue-share-allocation/mrsa-abc123def4567",
108
+ * EffectiveFrom: "2026-07-01",
109
+ * MarketplaceRevenueShareAllocationId: "mrsa-abc123def4567",
110
+ * ProductId: "prod-abc123def4567",
111
+ * RevenueSharePercent: "20.00",
112
+ * Status: "ACTIVE"
113
+ * }
114
+ * *\/
115
+ * ```
116
+ *
117
+ * @public
118
+ */
119
+ export declare class UpdateMarketplaceRevenueShareAllocationCommand extends UpdateMarketplaceRevenueShareAllocationCommand_base {
120
+ /** @internal type navigation helper, not in runtime. */
121
+ protected static __types: {
122
+ api: {
123
+ input: UpdateMarketplaceRevenueShareAllocationInput;
124
+ output: UpdateMarketplaceRevenueShareAllocationOutput;
125
+ };
126
+ sdk: {
127
+ input: UpdateMarketplaceRevenueShareAllocationCommandInput;
128
+ output: UpdateMarketplaceRevenueShareAllocationCommandOutput;
129
+ };
130
+ };
131
+ }
@@ -0,0 +1,116 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateRevenueAttributionInput, UpdateRevenueAttributionOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateRevenueAttributionCommand}.
11
+ */
12
+ export interface UpdateRevenueAttributionCommandInput extends UpdateRevenueAttributionInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateRevenueAttributionCommand}.
18
+ */
19
+ export interface UpdateRevenueAttributionCommandOutput extends UpdateRevenueAttributionOutput, __MetadataBearer {
20
+ }
21
+ declare const UpdateRevenueAttributionCommand_base: {
22
+ new (input: UpdateRevenueAttributionCommandInput): import("@smithy/core/client").CommandImpl<UpdateRevenueAttributionCommandInput, UpdateRevenueAttributionCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateRevenueAttributionCommandInput): import("@smithy/core/client").CommandImpl<UpdateRevenueAttributionCommandInput, UpdateRevenueAttributionCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Updates an existing revenue attribution record.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { PartnerCentralRevenueMeasurementClient, UpdateRevenueAttributionCommand } from "@aws-sdk/client-partnercentral-revenue-measurement"; // ES Modules import
32
+ * // const { PartnerCentralRevenueMeasurementClient, UpdateRevenueAttributionCommand } = require("@aws-sdk/client-partnercentral-revenue-measurement"); // CommonJS import
33
+ * // import type { PartnerCentralRevenueMeasurementClientConfig } from "@aws-sdk/client-partnercentral-revenue-measurement";
34
+ * const config = {}; // type is PartnerCentralRevenueMeasurementClientConfig
35
+ * const client = new PartnerCentralRevenueMeasurementClient(config);
36
+ * const input = { // UpdateRevenueAttributionInput
37
+ * Catalog: "AWS" || "Sandbox", // required
38
+ * Identifier: "STRING_VALUE", // required
39
+ * ClientToken: "STRING_VALUE",
40
+ * Description: "STRING_VALUE",
41
+ * Revision: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new UpdateRevenueAttributionCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // UpdateRevenueAttributionOutput
46
+ * // Id: "STRING_VALUE", // required
47
+ * // Arn: "STRING_VALUE", // required
48
+ * // Description: "STRING_VALUE",
49
+ * // LastModifiedDate: new Date("TIMESTAMP"), // required
50
+ * // LatestRevision: "STRING_VALUE",
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param UpdateRevenueAttributionCommandInput - {@link UpdateRevenueAttributionCommandInput}
56
+ * @returns {@link UpdateRevenueAttributionCommandOutput}
57
+ * @see {@link UpdateRevenueAttributionCommandInput} for command's `input` shape.
58
+ * @see {@link UpdateRevenueAttributionCommandOutput} for command's `response` shape.
59
+ * @see {@link PartnerCentralRevenueMeasurementClientResolvedConfig | config} for PartnerCentralRevenueMeasurementClient's `config` shape.
60
+ *
61
+ * @throws {@link AccessDeniedException} (client fault)
62
+ * <p>The request was denied due to insufficient permissions.</p>
63
+ *
64
+ * @throws {@link ConflictException} (client fault)
65
+ * <p>The request could not be completed due to a conflict with the current state of the resource.</p>
66
+ *
67
+ * @throws {@link InternalServerException} (server fault)
68
+ * <p>An internal server error occurred. Retry your request.</p>
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * <p>The specified resource was not found.</p>
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * <p>The request was throttled due to too many requests. Retry your request.</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>The request failed validation due to invalid input parameters.</p>
78
+ *
79
+ * @throws {@link PartnerCentralRevenueMeasurementServiceException}
80
+ * <p>Base exception class for all service exceptions from PartnerCentralRevenueMeasurement service.</p>
81
+ *
82
+ *
83
+ * @example Example for UpdateRevenueAttribution
84
+ * ```javascript
85
+ * //
86
+ * const input = {
87
+ * Catalog: "AWS",
88
+ * Identifier: "ra-0a1b2c3d4e5f6",
89
+ * Revision: "1"
90
+ * };
91
+ * const command = new UpdateRevenueAttributionCommand(input);
92
+ * const response = await client.send(command);
93
+ * /* response is
94
+ * {
95
+ * Arn: "arn:aws:partnercentral:us-east-1:123456789012:catalog/AWS/revenue-attribution/ra-0a1b2c3d4e5f6",
96
+ * Id: "ra-0a1b2c3d4e5f6",
97
+ * LastModifiedDate: 1719792000
98
+ * }
99
+ * *\/
100
+ * ```
101
+ *
102
+ * @public
103
+ */
104
+ export declare class UpdateRevenueAttributionCommand extends UpdateRevenueAttributionCommand_base {
105
+ /** @internal type navigation helper, not in runtime. */
106
+ protected static __types: {
107
+ api: {
108
+ input: UpdateRevenueAttributionInput;
109
+ output: UpdateRevenueAttributionOutput;
110
+ };
111
+ sdk: {
112
+ input: UpdateRevenueAttributionCommandInput;
113
+ output: UpdateRevenueAttributionCommandOutput;
114
+ };
115
+ };
116
+ }
@@ -0,0 +1,18 @@
1
+ export * from "./CreateMarketplaceRevenueShareAllocationCommand";
2
+ export * from "./CreateMarketplaceRevenueShareCommand";
3
+ export * from "./CreateRevenueAttributionCommand";
4
+ export * from "./GetMarketplaceRevenueShareAllocationCommand";
5
+ export * from "./GetMarketplaceRevenueShareCommand";
6
+ export * from "./GetRevenueAttributionAllocationCommand";
7
+ export * from "./GetRevenueAttributionAllocationsTaskCommand";
8
+ export * from "./GetRevenueAttributionCommand";
9
+ export * from "./ListMarketplaceRevenueShareAllocationsCommand";
10
+ export * from "./ListMarketplaceRevenueSharesCommand";
11
+ export * from "./ListRevenueAttributionAllocationsCommand";
12
+ export * from "./ListRevenueAttributionsCommand";
13
+ export * from "./ListTagsForResourceCommand";
14
+ export * from "./StartRevenueAttributionAllocationsTaskCommand";
15
+ export * from "./TagResourceCommand";
16
+ export * from "./UntagResourceCommand";
17
+ export * from "./UpdateMarketplaceRevenueShareAllocationCommand";
18
+ export * from "./UpdateRevenueAttributionCommand";
@@ -0,0 +1,44 @@
1
+ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
7
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
8
+ region?: string | undefined | Provider<string | undefined>;
9
+ }
10
+ /**
11
+ * @public
12
+ */
13
+ export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
14
+ defaultSigningName: string;
15
+ };
16
+ /**
17
+ * @internal
18
+ */
19
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
20
+ /**
21
+ * @internal
22
+ */
23
+ export declare const commonParams: {
24
+ readonly UseFIPS: {
25
+ readonly type: "builtInParams";
26
+ readonly name: "useFipsEndpoint";
27
+ };
28
+ readonly Endpoint: {
29
+ readonly type: "builtInParams";
30
+ readonly name: "endpoint";
31
+ };
32
+ readonly Region: {
33
+ readonly type: "builtInParams";
34
+ readonly name: "region";
35
+ };
36
+ };
37
+ /**
38
+ * @internal
39
+ */
40
+ export interface EndpointParameters extends __EndpointParameters {
41
+ UseFIPS?: boolean | undefined;
42
+ Endpoint?: string | undefined;
43
+ Region?: string | undefined;
44
+ }
@@ -0,0 +1,2 @@
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
+ export declare const bdd: BinaryDecisionDiagram;
@@ -0,0 +1,8 @@
1
+ import type { EndpointV2, Logger } from "@smithy/types";
2
+ import type { EndpointParameters } from "./EndpointParameters";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
7
+ logger?: Logger;
8
+ }) => EndpointV2;
@@ -0,0 +1,9 @@
1
+ import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
+ import type { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ /**
6
+ * @internal
7
+ */
8
+ export interface PartnerCentralRevenueMeasurementExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
9
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * <p>AWS Partner Central Revenue Measurement API for creating, managing, and tracking revenue attributions and their allocations with deal entities such as offers and opportunities.</p>
3
+ *
4
+ * @packageDocumentation
5
+ */
6
+ export * from "./PartnerCentralRevenueMeasurementClient";
7
+ export * from "./PartnerCentralRevenueMeasurement";
8
+ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
+ export type { RuntimeExtension } from "./runtimeExtensions";
10
+ export type { PartnerCentralRevenueMeasurementExtensionConfiguration } from "./extensionConfiguration";
11
+ export * from "./commands";
12
+ export { Command as $Command } from "@smithy/core/client";
13
+ export * from "./schemas/schemas_0";
14
+ export * from "./pagination";
15
+ export * from "./models/enums";
16
+ export * from "./models/errors";
17
+ export * from "./models/models_0";
18
+ export { PartnerCentralRevenueMeasurementServiceException } from "./models/PartnerCentralRevenueMeasurementServiceException";
@@ -0,0 +1,14 @@
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from PartnerCentralRevenueMeasurement service.
8
+ */
9
+ export declare class PartnerCentralRevenueMeasurementServiceException extends __ServiceException {
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(options: __ServiceExceptionOptions);
14
+ }
@@ -0,0 +1,225 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AccessDeniedExceptionReason: {
6
+ readonly ACCESS_DENIED: "ACCESS_DENIED";
7
+ };
8
+ /**
9
+ * @public
10
+ */
11
+ export type AccessDeniedExceptionReason = (typeof AccessDeniedExceptionReason)[keyof typeof AccessDeniedExceptionReason];
12
+ /**
13
+ * @public
14
+ * @enum
15
+ */
16
+ export declare const AllocationStatus: {
17
+ readonly ACTIVE: "ACTIVE";
18
+ readonly INACTIVE: "INACTIVE";
19
+ };
20
+ /**
21
+ * @public
22
+ */
23
+ export type AllocationStatus = (typeof AllocationStatus)[keyof typeof AllocationStatus];
24
+ /**
25
+ * @public
26
+ * @enum
27
+ */
28
+ export declare const AttributionSortBy: {
29
+ readonly LAST_MODIFIED_DATE: "LastModifiedDate";
30
+ };
31
+ /**
32
+ * @public
33
+ */
34
+ export type AttributionSortBy = (typeof AttributionSortBy)[keyof typeof AttributionSortBy];
35
+ /**
36
+ * @public
37
+ * @enum
38
+ */
39
+ export declare const CatalogName: {
40
+ readonly AWS: "AWS";
41
+ readonly SANDBOX: "Sandbox";
42
+ };
43
+ /**
44
+ * @public
45
+ */
46
+ export type CatalogName = (typeof CatalogName)[keyof typeof CatalogName];
47
+ /**
48
+ * @public
49
+ * @enum
50
+ */
51
+ export declare const TenancyModel: {
52
+ readonly MULTI_TENANT: "MULTI_TENANT";
53
+ readonly SINGLE_TENANT: "SINGLE_TENANT";
54
+ };
55
+ /**
56
+ * @public
57
+ */
58
+ export type TenancyModel = (typeof TenancyModel)[keyof typeof TenancyModel];
59
+ /**
60
+ * @public
61
+ * @enum
62
+ */
63
+ export declare const ConflictExceptionReason: {
64
+ readonly CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION";
65
+ readonly CONFLICT_CLIENT_TOKEN: "CONFLICT_CLIENT_TOKEN";
66
+ readonly RESOURCE_ALREADY_EXISTS: "RESOURCE_ALREADY_EXISTS";
67
+ readonly REVISION_MISMATCH: "REVISION_MISMATCH";
68
+ };
69
+ /**
70
+ * @public
71
+ */
72
+ export type ConflictExceptionReason = (typeof ConflictExceptionReason)[keyof typeof ConflictExceptionReason];
73
+ /**
74
+ * @public
75
+ * @enum
76
+ */
77
+ export declare const ResourceNotFoundExceptionReason: {
78
+ readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
79
+ };
80
+ /**
81
+ * @public
82
+ */
83
+ export type ResourceNotFoundExceptionReason = (typeof ResourceNotFoundExceptionReason)[keyof typeof ResourceNotFoundExceptionReason];
84
+ /**
85
+ * @public
86
+ * @enum
87
+ */
88
+ export declare const ServiceQuotaExceededExceptionReason: {
89
+ readonly ATTRIBUTION_LIMIT_EXCEEDED: "ATTRIBUTION_LIMIT_EXCEEDED";
90
+ readonly TAG_LIMIT_EXCEEDED: "TAG_LIMIT_EXCEEDED";
91
+ };
92
+ /**
93
+ * @public
94
+ */
95
+ export type ServiceQuotaExceededExceptionReason = (typeof ServiceQuotaExceededExceptionReason)[keyof typeof ServiceQuotaExceededExceptionReason];
96
+ /**
97
+ * @public
98
+ * @enum
99
+ */
100
+ export declare const FieldValidationCode: {
101
+ readonly ACTION_NOT_PERMITTED: "ACTION_NOT_PERMITTED";
102
+ readonly DUPLICATE_VALUE: "DUPLICATE_VALUE";
103
+ readonly INVALID_ENUM_VALUE: "INVALID_ENUM_VALUE";
104
+ readonly INVALID_NUMBER_FORMAT: "INVALID_NUMBER_FORMAT";
105
+ readonly INVALID_STRING_FORMAT: "INVALID_STRING_FORMAT";
106
+ readonly INVALID_STRING_LENGTH: "INVALID_STRING_LENGTH";
107
+ readonly INVALID_VALUE: "INVALID_VALUE";
108
+ readonly REQUIRED_FIELD_MISSING: "REQUIRED_FIELD_MISSING";
109
+ readonly TOO_MANY_VALUES: "TOO_MANY_VALUES";
110
+ };
111
+ /**
112
+ * @public
113
+ */
114
+ export type FieldValidationCode = (typeof FieldValidationCode)[keyof typeof FieldValidationCode];
115
+ /**
116
+ * @public
117
+ * @enum
118
+ */
119
+ export declare const ValidationExceptionReason: {
120
+ readonly BUSINESS_VALIDATION_FAILED: "BUSINESS_VALIDATION_FAILED";
121
+ readonly REQUEST_VALIDATION_FAILED: "REQUEST_VALIDATION_FAILED";
122
+ };
123
+ /**
124
+ * @public
125
+ */
126
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
127
+ /**
128
+ * @public
129
+ * @enum
130
+ */
131
+ export declare const MarketplaceRevenueShareAllocationSortField: {
132
+ readonly EFFECTIVE_FROM: "EffectiveFrom";
133
+ };
134
+ /**
135
+ * @public
136
+ */
137
+ export type MarketplaceRevenueShareAllocationSortField = (typeof MarketplaceRevenueShareAllocationSortField)[keyof typeof MarketplaceRevenueShareAllocationSortField];
138
+ /**
139
+ * @public
140
+ * @enum
141
+ */
142
+ export declare const SortOrder: {
143
+ readonly ASCENDING: "ASCENDING";
144
+ readonly DESCENDING: "DESCENDING";
145
+ };
146
+ /**
147
+ * @public
148
+ */
149
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
150
+ /**
151
+ * @public
152
+ * @enum
153
+ */
154
+ export declare const MarketplaceRevenueShareSortBy: {
155
+ readonly LAST_MODIFIED_DATE: "LastModifiedDate";
156
+ };
157
+ /**
158
+ * @public
159
+ */
160
+ export type MarketplaceRevenueShareSortBy = (typeof MarketplaceRevenueShareSortBy)[keyof typeof MarketplaceRevenueShareSortBy];
161
+ /**
162
+ * @public
163
+ * @enum
164
+ */
165
+ export declare const EntityType: {
166
+ readonly OFFER: "OFFER";
167
+ readonly OPPORTUNITY: "OPPORTUNITY";
168
+ };
169
+ /**
170
+ * @public
171
+ */
172
+ export type EntityType = (typeof EntityType)[keyof typeof EntityType];
173
+ /**
174
+ * @public
175
+ * @enum
176
+ */
177
+ export declare const RevenueAttributionAllocationAction: {
178
+ readonly CREATE: "CREATE";
179
+ readonly UPDATE: "UPDATE";
180
+ };
181
+ /**
182
+ * @public
183
+ */
184
+ export type RevenueAttributionAllocationAction = (typeof RevenueAttributionAllocationAction)[keyof typeof RevenueAttributionAllocationAction];
185
+ /**
186
+ * @public
187
+ * @enum
188
+ */
189
+ export declare const RevenueAttributionAllocationErrorCode: {
190
+ readonly ACCESS_DENIED: "ACCESS_DENIED";
191
+ readonly ALLOCATION_CAP_EXCEEDED: "ALLOCATION_CAP_EXCEEDED";
192
+ readonly CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION";
193
+ readonly IMMUTABLE_ALLOCATION: "IMMUTABLE_ALLOCATION";
194
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
195
+ readonly INVALID_VALUE: "INVALID_VALUE";
196
+ readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
197
+ };
198
+ /**
199
+ * @public
200
+ */
201
+ export type RevenueAttributionAllocationErrorCode = (typeof RevenueAttributionAllocationErrorCode)[keyof typeof RevenueAttributionAllocationErrorCode];
202
+ /**
203
+ * @public
204
+ * @enum
205
+ */
206
+ export declare const RevenueAttributionAllocationTaskStatus: {
207
+ readonly COMPLETE: "COMPLETE";
208
+ readonly FAILED: "FAILED";
209
+ readonly IN_PROGRESS: "IN_PROGRESS";
210
+ };
211
+ /**
212
+ * @public
213
+ */
214
+ export type RevenueAttributionAllocationTaskStatus = (typeof RevenueAttributionAllocationTaskStatus)[keyof typeof RevenueAttributionAllocationTaskStatus];
215
+ /**
216
+ * @public
217
+ * @enum
218
+ */
219
+ export declare const RevenueAttributionAllocationSortField: {
220
+ readonly EFFECTIVE_FROM: "EffectiveFrom";
221
+ };
222
+ /**
223
+ * @public
224
+ */
225
+ export type RevenueAttributionAllocationSortField = (typeof RevenueAttributionAllocationSortField)[keyof typeof RevenueAttributionAllocationSortField];