@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 { ListRevenueAttributionsInput, ListRevenueAttributionsOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListRevenueAttributionsCommand}.
11
+ */
12
+ export interface ListRevenueAttributionsCommandInput extends ListRevenueAttributionsInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListRevenueAttributionsCommand}.
18
+ */
19
+ export interface ListRevenueAttributionsCommandOutput extends ListRevenueAttributionsOutput, __MetadataBearer {
20
+ }
21
+ declare const ListRevenueAttributionsCommand_base: {
22
+ new (input: ListRevenueAttributionsCommandInput): import("@smithy/core/client").CommandImpl<ListRevenueAttributionsCommandInput, ListRevenueAttributionsCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListRevenueAttributionsCommandInput): import("@smithy/core/client").CommandImpl<ListRevenueAttributionsCommandInput, ListRevenueAttributionsCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns a paginated list of revenue attributions with optional filters.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { PartnerCentralRevenueMeasurementClient, ListRevenueAttributionsCommand } from "@aws-sdk/client-partnercentral-revenue-measurement"; // ES Modules import
32
+ * // const { PartnerCentralRevenueMeasurementClient, ListRevenueAttributionsCommand } = 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 = { // ListRevenueAttributionsInput
37
+ * Catalog: "AWS" || "Sandbox", // required
38
+ * Identifiers: [ // RevenueAttributionIdentifierList
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * CreatedAfter: new Date("TIMESTAMP"),
42
+ * CreatedBefore: new Date("TIMESTAMP"),
43
+ * SortBy: "LastModifiedDate",
44
+ * SortOrder: "ASCENDING" || "DESCENDING",
45
+ * MaxResults: Number("int"),
46
+ * NextToken: "STRING_VALUE",
47
+ * };
48
+ * const command = new ListRevenueAttributionsCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // ListRevenueAttributionsOutput
51
+ * // RevenueAttributionSummaries: [ // RevenueAttributionSummaries
52
+ * // { // AttributionSummary
53
+ * // Arn: "STRING_VALUE",
54
+ * // Id: "STRING_VALUE",
55
+ * // Catalog: "AWS" || "Sandbox",
56
+ * // Name: "STRING_VALUE",
57
+ * // TenancyModel: "MULTI_TENANT" || "SINGLE_TENANT", // required
58
+ * // MarketplaceProduct: { // MarketplaceProductSummary
59
+ * // ProductId: "STRING_VALUE",
60
+ * // ProductCode: "STRING_VALUE",
61
+ * // ProductName: "STRING_VALUE",
62
+ * // },
63
+ * // CreatedDate: new Date("TIMESTAMP"),
64
+ * // LastModifiedDate: new Date("TIMESTAMP"),
65
+ * // LatestRevision: "STRING_VALUE",
66
+ * // EffectiveFrom: "STRING_VALUE",
67
+ * // EffectiveUntil: "STRING_VALUE",
68
+ * // TotalActiveRevenueAttributionAllocationCount: Number("int"),
69
+ * // TotalRevenueAttributionAllocationCount: Number("int"),
70
+ * // },
71
+ * // ],
72
+ * // NextToken: "STRING_VALUE",
73
+ * // };
74
+ *
75
+ * ```
76
+ *
77
+ * @param ListRevenueAttributionsCommandInput - {@link ListRevenueAttributionsCommandInput}
78
+ * @returns {@link ListRevenueAttributionsCommandOutput}
79
+ * @see {@link ListRevenueAttributionsCommandInput} for command's `input` shape.
80
+ * @see {@link ListRevenueAttributionsCommandOutput} for command's `response` shape.
81
+ * @see {@link PartnerCentralRevenueMeasurementClientResolvedConfig | config} for PartnerCentralRevenueMeasurementClient's `config` shape.
82
+ *
83
+ * @throws {@link AccessDeniedException} (client fault)
84
+ * <p>The request was denied due to insufficient permissions.</p>
85
+ *
86
+ * @throws {@link InternalServerException} (server fault)
87
+ * <p>An internal server error occurred. Retry your request.</p>
88
+ *
89
+ * @throws {@link ResourceNotFoundException} (client fault)
90
+ * <p>The specified resource was not found.</p>
91
+ *
92
+ * @throws {@link ThrottlingException} (client fault)
93
+ * <p>The request was throttled due to too many requests. Retry your request.</p>
94
+ *
95
+ * @throws {@link ValidationException} (client fault)
96
+ * <p>The request failed validation due to invalid input parameters.</p>
97
+ *
98
+ * @throws {@link PartnerCentralRevenueMeasurementServiceException}
99
+ * <p>Base exception class for all service exceptions from PartnerCentralRevenueMeasurement service.</p>
100
+ *
101
+ *
102
+ * @example Example for ListRevenueAttributions
103
+ * ```javascript
104
+ * //
105
+ * const input = {
106
+ * Catalog: "AWS"
107
+ * };
108
+ * const command = new ListRevenueAttributionsCommand(input);
109
+ * const response = await client.send(command);
110
+ * /* response is
111
+ * {
112
+ * RevenueAttributionSummaries: []
113
+ * }
114
+ * *\/
115
+ * ```
116
+ *
117
+ * @public
118
+ */
119
+ export declare class ListRevenueAttributionsCommand extends ListRevenueAttributionsCommand_base {
120
+ /** @internal type navigation helper, not in runtime. */
121
+ protected static __types: {
122
+ api: {
123
+ input: ListRevenueAttributionsInput;
124
+ output: ListRevenueAttributionsOutput;
125
+ };
126
+ sdk: {
127
+ input: ListRevenueAttributionsCommandInput;
128
+ output: ListRevenueAttributionsCommandOutput;
129
+ };
130
+ };
131
+ }
@@ -0,0 +1,91 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListTagsForResourceCommand}.
11
+ */
12
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListTagsForResourceCommand}.
18
+ */
19
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {
20
+ }
21
+ declare const ListTagsForResourceCommand_base: {
22
+ new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns the tags associated with the specified resource.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { PartnerCentralRevenueMeasurementClient, ListTagsForResourceCommand } from "@aws-sdk/client-partnercentral-revenue-measurement"; // ES Modules import
32
+ * // const { PartnerCentralRevenueMeasurementClient, ListTagsForResourceCommand } = 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 = { // ListTagsForResourceInput
37
+ * resourceArn: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new ListTagsForResourceCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // ListTagsForResourceOutput
42
+ * // tags: [ // TagList
43
+ * // { // Tag
44
+ * // Key: "STRING_VALUE", // required
45
+ * // Value: "STRING_VALUE", // required
46
+ * // },
47
+ * // ],
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
53
+ * @returns {@link ListTagsForResourceCommandOutput}
54
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
55
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
56
+ * @see {@link PartnerCentralRevenueMeasurementClientResolvedConfig | config} for PartnerCentralRevenueMeasurementClient's `config` shape.
57
+ *
58
+ * @throws {@link AccessDeniedException} (client fault)
59
+ * <p>The request was denied due to insufficient permissions.</p>
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * <p>An internal server error occurred. Retry your request.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>The specified resource was not found.</p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>The request was throttled due to too many requests. Retry your request.</p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>The request failed validation due to invalid input parameters.</p>
72
+ *
73
+ * @throws {@link PartnerCentralRevenueMeasurementServiceException}
74
+ * <p>Base exception class for all service exceptions from PartnerCentralRevenueMeasurement service.</p>
75
+ *
76
+ *
77
+ * @public
78
+ */
79
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: ListTagsForResourceInput;
84
+ output: ListTagsForResourceOutput;
85
+ };
86
+ sdk: {
87
+ input: ListTagsForResourceCommandInput;
88
+ output: ListTagsForResourceCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -0,0 +1,145 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { StartRevenueAttributionAllocationsTaskInput, StartRevenueAttributionAllocationsTaskOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link StartRevenueAttributionAllocationsTaskCommand}.
11
+ */
12
+ export interface StartRevenueAttributionAllocationsTaskCommandInput extends StartRevenueAttributionAllocationsTaskInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link StartRevenueAttributionAllocationsTaskCommand}.
18
+ */
19
+ export interface StartRevenueAttributionAllocationsTaskCommandOutput extends StartRevenueAttributionAllocationsTaskOutput, __MetadataBearer {
20
+ }
21
+ declare const StartRevenueAttributionAllocationsTaskCommand_base: {
22
+ new (input: StartRevenueAttributionAllocationsTaskCommandInput): import("@smithy/core/client").CommandImpl<StartRevenueAttributionAllocationsTaskCommandInput, StartRevenueAttributionAllocationsTaskCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: StartRevenueAttributionAllocationsTaskCommandInput): import("@smithy/core/client").CommandImpl<StartRevenueAttributionAllocationsTaskCommandInput, StartRevenueAttributionAllocationsTaskCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Submits a batch of up to 250 allocation changes (CREATE and/or UPDATE) for asynchronous processing. Returns a TaskId for tracking.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { PartnerCentralRevenueMeasurementClient, StartRevenueAttributionAllocationsTaskCommand } from "@aws-sdk/client-partnercentral-revenue-measurement"; // ES Modules import
32
+ * // const { PartnerCentralRevenueMeasurementClient, StartRevenueAttributionAllocationsTaskCommand } = 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 = { // StartRevenueAttributionAllocationsTaskInput
37
+ * Catalog: "AWS" || "Sandbox", // required
38
+ * RevenueAttributionIdentifier: "STRING_VALUE", // required
39
+ * RevenueAttributionRevision: "STRING_VALUE", // required
40
+ * RevenueShareAllocations: [ // RevenueShareAllocationChangeList // required
41
+ * { // RevenueShareAllocation
42
+ * Action: "CREATE" || "UPDATE", // required
43
+ * RevenueAttributionAllocationId: "STRING_VALUE",
44
+ * EntityType: "OFFER" || "OPPORTUNITY", // required
45
+ * EntityIdentifier: "STRING_VALUE", // required
46
+ * CustomerAwsAccountId: "STRING_VALUE", // required
47
+ * RevenueSharePercent: "STRING_VALUE", // required
48
+ * EffectiveFrom: "STRING_VALUE", // required
49
+ * EffectiveUntil: "STRING_VALUE", // required
50
+ * Status: "ACTIVE" || "INACTIVE",
51
+ * },
52
+ * ],
53
+ * ClientToken: "STRING_VALUE",
54
+ * Description: "STRING_VALUE",
55
+ * };
56
+ * const command = new StartRevenueAttributionAllocationsTaskCommand(input);
57
+ * const response = await client.send(command);
58
+ * // { // StartRevenueAttributionAllocationsTaskOutput
59
+ * // TaskId: "STRING_VALUE", // required
60
+ * // Status: "IN_PROGRESS" || "COMPLETE" || "FAILED", // required
61
+ * // Catalog: "AWS" || "Sandbox", // required
62
+ * // RevenueAttributionArn: "STRING_VALUE", // required
63
+ * // StartedAt: new Date("TIMESTAMP"), // required
64
+ * // TotalRevenueAttributionAllocationRecords: Number("int"), // required
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param StartRevenueAttributionAllocationsTaskCommandInput - {@link StartRevenueAttributionAllocationsTaskCommandInput}
70
+ * @returns {@link StartRevenueAttributionAllocationsTaskCommandOutput}
71
+ * @see {@link StartRevenueAttributionAllocationsTaskCommandInput} for command's `input` shape.
72
+ * @see {@link StartRevenueAttributionAllocationsTaskCommandOutput} for command's `response` shape.
73
+ * @see {@link PartnerCentralRevenueMeasurementClientResolvedConfig | config} for PartnerCentralRevenueMeasurementClient's `config` shape.
74
+ *
75
+ * @throws {@link AccessDeniedException} (client fault)
76
+ * <p>The request was denied due to insufficient permissions.</p>
77
+ *
78
+ * @throws {@link ConflictException} (client fault)
79
+ * <p>The request could not be completed due to a conflict with the current state of the resource.</p>
80
+ *
81
+ * @throws {@link InternalServerException} (server fault)
82
+ * <p>An internal server error occurred. Retry your request.</p>
83
+ *
84
+ * @throws {@link ResourceNotFoundException} (client fault)
85
+ * <p>The specified resource was not found.</p>
86
+ *
87
+ * @throws {@link ThrottlingException} (client fault)
88
+ * <p>The request was throttled due to too many requests. Retry your request.</p>
89
+ *
90
+ * @throws {@link ValidationException} (client fault)
91
+ * <p>The request failed validation due to invalid input parameters.</p>
92
+ *
93
+ * @throws {@link PartnerCentralRevenueMeasurementServiceException}
94
+ * <p>Base exception class for all service exceptions from PartnerCentralRevenueMeasurement service.</p>
95
+ *
96
+ *
97
+ * @example Example for StartRevenueAttributionAllocationsTask
98
+ * ```javascript
99
+ * //
100
+ * const input = {
101
+ * Catalog: "AWS",
102
+ * ClientToken: "unique-token-123",
103
+ * RevenueAttributionIdentifier: "ra-0a1b2c3d4e5f6",
104
+ * RevenueAttributionRevision: "1",
105
+ * RevenueShareAllocations: [
106
+ * {
107
+ * Action: "CREATE",
108
+ * CustomerAwsAccountId: "123456789012",
109
+ * EffectiveFrom: "2026-07-01",
110
+ * EffectiveUntil: "2026-07-31",
111
+ * EntityIdentifier: "offer-abc123",
112
+ * EntityType: "OFFER",
113
+ * RevenueSharePercent: "15.50"
114
+ * }
115
+ * ]
116
+ * };
117
+ * const command = new StartRevenueAttributionAllocationsTaskCommand(input);
118
+ * const response = await client.send(command);
119
+ * /* response is
120
+ * {
121
+ * Catalog: "AWS",
122
+ * RevenueAttributionArn: "arn:aws:partnercentral:us-east-1:123456789012:catalog/AWS/revenue-attribution/ra-0a1b2c3d4e5f6",
123
+ * StartedAt: 1719792000,
124
+ * Status: "IN_PROGRESS",
125
+ * TaskId: "raatask-abc123def4567",
126
+ * TotalRevenueAttributionAllocationRecords: 1
127
+ * }
128
+ * *\/
129
+ * ```
130
+ *
131
+ * @public
132
+ */
133
+ export declare class StartRevenueAttributionAllocationsTaskCommand extends StartRevenueAttributionAllocationsTaskCommand_base {
134
+ /** @internal type navigation helper, not in runtime. */
135
+ protected static __types: {
136
+ api: {
137
+ input: StartRevenueAttributionAllocationsTaskInput;
138
+ output: StartRevenueAttributionAllocationsTaskOutput;
139
+ };
140
+ sdk: {
141
+ input: StartRevenueAttributionAllocationsTaskCommandInput;
142
+ output: StartRevenueAttributionAllocationsTaskCommandOutput;
143
+ };
144
+ };
145
+ }
@@ -0,0 +1,93 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { TagResourceInput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link TagResourceCommand}.
11
+ */
12
+ export interface TagResourceCommandInput extends TagResourceInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link TagResourceCommand}.
18
+ */
19
+ export interface TagResourceCommandOutput extends __MetadataBearer {
20
+ }
21
+ declare const TagResourceCommand_base: {
22
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Adds or overwrites one or more tags for the specified resource.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { PartnerCentralRevenueMeasurementClient, TagResourceCommand } from "@aws-sdk/client-partnercentral-revenue-measurement"; // ES Modules import
32
+ * // const { PartnerCentralRevenueMeasurementClient, TagResourceCommand } = 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 = { // TagResourceInput
37
+ * resourceArn: "STRING_VALUE", // required
38
+ * tags: [ // TagList // required
39
+ * { // Tag
40
+ * Key: "STRING_VALUE", // required
41
+ * Value: "STRING_VALUE", // required
42
+ * },
43
+ * ],
44
+ * };
45
+ * const command = new TagResourceCommand(input);
46
+ * const response = await client.send(command);
47
+ * // {};
48
+ *
49
+ * ```
50
+ *
51
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
52
+ * @returns {@link TagResourceCommandOutput}
53
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
54
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
55
+ * @see {@link PartnerCentralRevenueMeasurementClientResolvedConfig | config} for PartnerCentralRevenueMeasurementClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>The request was denied due to insufficient permissions.</p>
59
+ *
60
+ * @throws {@link ConflictException} (client fault)
61
+ * <p>The request could not be completed due to a conflict with the current state of the resource.</p>
62
+ *
63
+ * @throws {@link InternalServerException} (server fault)
64
+ * <p>An internal server error occurred. Retry your request.</p>
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <p>The specified resource was not found.</p>
68
+ *
69
+ * @throws {@link ThrottlingException} (client fault)
70
+ * <p>The request was throttled due to too many requests. Retry your request.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>The request failed validation due to invalid input parameters.</p>
74
+ *
75
+ * @throws {@link PartnerCentralRevenueMeasurementServiceException}
76
+ * <p>Base exception class for all service exceptions from PartnerCentralRevenueMeasurement service.</p>
77
+ *
78
+ *
79
+ * @public
80
+ */
81
+ export declare class TagResourceCommand extends TagResourceCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: TagResourceInput;
86
+ output: {};
87
+ };
88
+ sdk: {
89
+ input: TagResourceCommandInput;
90
+ output: TagResourceCommandOutput;
91
+ };
92
+ };
93
+ }
@@ -0,0 +1,90 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UntagResourceInput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UntagResourceCommand}.
11
+ */
12
+ export interface UntagResourceCommandInput extends UntagResourceInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UntagResourceCommand}.
18
+ */
19
+ export interface UntagResourceCommandOutput extends __MetadataBearer {
20
+ }
21
+ declare const UntagResourceCommand_base: {
22
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Removes one or more tags from the specified resource.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { PartnerCentralRevenueMeasurementClient, UntagResourceCommand } from "@aws-sdk/client-partnercentral-revenue-measurement"; // ES Modules import
32
+ * // const { PartnerCentralRevenueMeasurementClient, UntagResourceCommand } = 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 = { // UntagResourceInput
37
+ * resourceArn: "STRING_VALUE", // required
38
+ * tagKeys: [ // TagKeyList // required
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * };
42
+ * const command = new UntagResourceCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
49
+ * @returns {@link UntagResourceCommandOutput}
50
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
51
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
52
+ * @see {@link PartnerCentralRevenueMeasurementClientResolvedConfig | config} for PartnerCentralRevenueMeasurementClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>The request was denied due to insufficient permissions.</p>
56
+ *
57
+ * @throws {@link ConflictException} (client fault)
58
+ * <p>The request could not be completed due to a conflict with the current state of the resource.</p>
59
+ *
60
+ * @throws {@link InternalServerException} (server fault)
61
+ * <p>An internal server error occurred. Retry your request.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>The specified resource was not found.</p>
65
+ *
66
+ * @throws {@link ThrottlingException} (client fault)
67
+ * <p>The request was throttled due to too many requests. Retry your request.</p>
68
+ *
69
+ * @throws {@link ValidationException} (client fault)
70
+ * <p>The request failed validation due to invalid input parameters.</p>
71
+ *
72
+ * @throws {@link PartnerCentralRevenueMeasurementServiceException}
73
+ * <p>Base exception class for all service exceptions from PartnerCentralRevenueMeasurement service.</p>
74
+ *
75
+ *
76
+ * @public
77
+ */
78
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: UntagResourceInput;
83
+ output: {};
84
+ };
85
+ sdk: {
86
+ input: UntagResourceCommandInput;
87
+ output: UntagResourceCommandOutput;
88
+ };
89
+ };
90
+ }