@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.
- package/LICENSE +201 -0
- package/README.md +307 -0
- package/dist-cjs/index.js +1296 -0
- package/dist-es/PartnerCentralRevenueMeasurement.js +53 -0
- package/dist-es/PartnerCentralRevenueMeasurementClient.js +48 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +122 -0
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CreateMarketplaceRevenueShareAllocationCommand.js +4 -0
- package/dist-es/commands/CreateMarketplaceRevenueShareCommand.js +4 -0
- package/dist-es/commands/CreateRevenueAttributionCommand.js +4 -0
- package/dist-es/commands/GetMarketplaceRevenueShareAllocationCommand.js +4 -0
- package/dist-es/commands/GetMarketplaceRevenueShareCommand.js +4 -0
- package/dist-es/commands/GetRevenueAttributionAllocationCommand.js +4 -0
- package/dist-es/commands/GetRevenueAttributionAllocationsTaskCommand.js +4 -0
- package/dist-es/commands/GetRevenueAttributionCommand.js +4 -0
- package/dist-es/commands/ListMarketplaceRevenueShareAllocationsCommand.js +4 -0
- package/dist-es/commands/ListMarketplaceRevenueSharesCommand.js +4 -0
- package/dist-es/commands/ListRevenueAttributionAllocationsCommand.js +4 -0
- package/dist-es/commands/ListRevenueAttributionsCommand.js +4 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
- package/dist-es/commands/StartRevenueAttributionAllocationsTaskCommand.js +4 -0
- package/dist-es/commands/TagResourceCommand.js +4 -0
- package/dist-es/commands/UntagResourceCommand.js +4 -0
- package/dist-es/commands/UpdateMarketplaceRevenueShareAllocationCommand.js +4 -0
- package/dist-es/commands/UpdateRevenueAttributionCommand.js +4 -0
- package/dist-es/commands/index.js +18 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/bdd.js +35 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +10 -0
- package/dist-es/models/PartnerCentralRevenueMeasurementServiceException.js +8 -0
- package/dist-es/models/enums.js +81 -0
- package/dist-es/models/errors.js +117 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListMarketplaceRevenueShareAllocationsPaginator.js +4 -0
- package/dist-es/pagination/ListMarketplaceRevenueSharesPaginator.js +4 -0
- package/dist-es/pagination/ListRevenueAttributionAllocationsPaginator.js +4 -0
- package/dist-es/pagination/ListRevenueAttributionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/runtimeConfig.browser.js +29 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +47 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +528 -0
- package/dist-types/PartnerCentralRevenueMeasurement.d.ts +164 -0
- package/dist-types/PartnerCentralRevenueMeasurementClient.d.ts +204 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +83 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CreateMarketplaceRevenueShareAllocationCommand.d.ts +127 -0
- package/dist-types/commands/CreateMarketplaceRevenueShareCommand.d.ts +124 -0
- package/dist-types/commands/CreateRevenueAttributionCommand.d.ts +132 -0
- package/dist-types/commands/GetMarketplaceRevenueShareAllocationCommand.d.ts +121 -0
- package/dist-types/commands/GetMarketplaceRevenueShareCommand.d.ts +119 -0
- package/dist-types/commands/GetRevenueAttributionAllocationCommand.d.ts +131 -0
- package/dist-types/commands/GetRevenueAttributionAllocationsTaskCommand.d.ts +129 -0
- package/dist-types/commands/GetRevenueAttributionCommand.d.ts +125 -0
- package/dist-types/commands/ListMarketplaceRevenueShareAllocationsCommand.d.ts +125 -0
- package/dist-types/commands/ListMarketplaceRevenueSharesCommand.d.ts +125 -0
- package/dist-types/commands/ListRevenueAttributionAllocationsCommand.d.ts +136 -0
- package/dist-types/commands/ListRevenueAttributionsCommand.d.ts +131 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
- package/dist-types/commands/StartRevenueAttributionAllocationsTaskCommand.d.ts +145 -0
- package/dist-types/commands/TagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
- package/dist-types/commands/UpdateMarketplaceRevenueShareAllocationCommand.d.ts +131 -0
- package/dist-types/commands/UpdateRevenueAttributionCommand.d.ts +116 -0
- package/dist-types/commands/index.d.ts +18 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +18 -0
- package/dist-types/models/PartnerCentralRevenueMeasurementServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +225 -0
- package/dist-types/models/errors.d.ts +137 -0
- package/dist-types/models/models_0.d.ts +1660 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListMarketplaceRevenueShareAllocationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListMarketplaceRevenueSharesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRevenueAttributionAllocationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRevenueAttributionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/runtimeConfig.browser.d.ts +56 -0
- package/dist-types/runtimeConfig.d.ts +56 -0
- package/dist-types/runtimeConfig.native.d.ts +55 -0
- package/dist-types/runtimeConfig.shared.d.ts +30 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +77 -0
- package/dist-types/ts3.4/PartnerCentralRevenueMeasurement.d.ts +387 -0
- package/dist-types/ts3.4/PartnerCentralRevenueMeasurementClient.d.ts +221 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +59 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/CreateMarketplaceRevenueShareAllocationCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/CreateMarketplaceRevenueShareCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/CreateRevenueAttributionCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetMarketplaceRevenueShareAllocationCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetMarketplaceRevenueShareCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetRevenueAttributionAllocationCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetRevenueAttributionAllocationsTaskCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetRevenueAttributionCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/ListMarketplaceRevenueShareAllocationsCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/ListMarketplaceRevenueSharesCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/ListRevenueAttributionAllocationsCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/ListRevenueAttributionsCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/StartRevenueAttributionAllocationsTaskCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateMarketplaceRevenueShareAllocationCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/UpdateRevenueAttributionCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/index.d.ts +18 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/PartnerCentralRevenueMeasurementServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +113 -0
- package/dist-types/ts3.4/models/errors.d.ts +74 -0
- package/dist-types/ts3.4/models/models_0.d.ts +394 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListMarketplaceRevenueShareAllocationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListMarketplaceRevenueSharesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRevenueAttributionAllocationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRevenueAttributionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +114 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +108 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +118 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +40 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +76 -0
- package/package.json +70 -0
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetRevenueAttributionAllocationsTaskInput, GetRevenueAttributionAllocationsTaskOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetRevenueAttributionAllocationsTaskCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetRevenueAttributionAllocationsTaskCommandInput extends GetRevenueAttributionAllocationsTaskInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetRevenueAttributionAllocationsTaskCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetRevenueAttributionAllocationsTaskCommandOutput extends GetRevenueAttributionAllocationsTaskOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetRevenueAttributionAllocationsTaskCommand_base: {
|
|
22
|
+
new (input: GetRevenueAttributionAllocationsTaskCommandInput): import("@smithy/core/client").CommandImpl<GetRevenueAttributionAllocationsTaskCommandInput, GetRevenueAttributionAllocationsTaskCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetRevenueAttributionAllocationsTaskCommandInput): import("@smithy/core/client").CommandImpl<GetRevenueAttributionAllocationsTaskCommandInput, GetRevenueAttributionAllocationsTaskCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Retrieves the current status of a previously submitted allocations task. When COMPLETE, includes the latest revision. When FAILED, includes error details.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PartnerCentralRevenueMeasurementClient, GetRevenueAttributionAllocationsTaskCommand } from "@aws-sdk/client-partnercentral-revenue-measurement"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralRevenueMeasurementClient, GetRevenueAttributionAllocationsTaskCommand } = 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 = { // GetRevenueAttributionAllocationsTaskInput
|
|
37
|
+
* Catalog: "AWS" || "Sandbox", // required
|
|
38
|
+
* RevenueAttributionIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetRevenueAttributionAllocationsTaskCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetRevenueAttributionAllocationsTaskOutput
|
|
43
|
+
* // TaskId: "STRING_VALUE", // required
|
|
44
|
+
* // Status: "IN_PROGRESS" || "COMPLETE" || "FAILED", // required
|
|
45
|
+
* // Catalog: "AWS" || "Sandbox", // required
|
|
46
|
+
* // RevenueAttributionArn: "STRING_VALUE", // required
|
|
47
|
+
* // StartedAt: new Date("TIMESTAMP"), // required
|
|
48
|
+
* // EndedAt: new Date("TIMESTAMP"),
|
|
49
|
+
* // TotalRevenueAttributionAllocationRecords: Number("int"), // required
|
|
50
|
+
* // Description: "STRING_VALUE",
|
|
51
|
+
* // RevenueAttributionLatestRevision: "STRING_VALUE",
|
|
52
|
+
* // ErrorDetailList: [ // RevenueAttributionAllocationErrorDetailList
|
|
53
|
+
* // { // RevenueAttributionAllocationErrorDetail
|
|
54
|
+
* // RevenueAttributionAllocationId: "STRING_VALUE",
|
|
55
|
+
* // EntityType: "OFFER" || "OPPORTUNITY", // required
|
|
56
|
+
* // EntityId: "STRING_VALUE", // required
|
|
57
|
+
* // CustomerAwsAccountId: "STRING_VALUE", // required
|
|
58
|
+
* // EffectiveFrom: "STRING_VALUE", // required
|
|
59
|
+
* // EffectiveUntil: "STRING_VALUE", // required
|
|
60
|
+
* // Action: "CREATE" || "UPDATE", // required
|
|
61
|
+
* // ErrorCode: "ALLOCATION_CAP_EXCEEDED" || "RESOURCE_NOT_FOUND" || "IMMUTABLE_ALLOCATION" || "ACCESS_DENIED" || "INVALID_VALUE" || "CONCURRENT_MODIFICATION" || "INTERNAL_ERROR", // required
|
|
62
|
+
* // ErrorMessage: "STRING_VALUE", // required
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param GetRevenueAttributionAllocationsTaskCommandInput - {@link GetRevenueAttributionAllocationsTaskCommandInput}
|
|
70
|
+
* @returns {@link GetRevenueAttributionAllocationsTaskCommandOutput}
|
|
71
|
+
* @see {@link GetRevenueAttributionAllocationsTaskCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link GetRevenueAttributionAllocationsTaskCommandOutput} 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 InternalServerException} (server fault)
|
|
79
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
82
|
+
* <p>The specified resource was not found.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
85
|
+
* <p>The request was throttled due to too many requests. Retry your request.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ValidationException} (client fault)
|
|
88
|
+
* <p>The request failed validation due to invalid input parameters.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link PartnerCentralRevenueMeasurementServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from PartnerCentralRevenueMeasurement service.</p>
|
|
92
|
+
*
|
|
93
|
+
*
|
|
94
|
+
* @example Example for GetRevenueAttributionAllocationsTask
|
|
95
|
+
* ```javascript
|
|
96
|
+
* //
|
|
97
|
+
* const input = {
|
|
98
|
+
* Catalog: "AWS",
|
|
99
|
+
* RevenueAttributionIdentifier: "ra-0a1b2c3d4e5f6"
|
|
100
|
+
* };
|
|
101
|
+
* const command = new GetRevenueAttributionAllocationsTaskCommand(input);
|
|
102
|
+
* const response = await client.send(command);
|
|
103
|
+
* /* response is
|
|
104
|
+
* {
|
|
105
|
+
* Catalog: "AWS",
|
|
106
|
+
* RevenueAttributionArn: "arn:aws:partnercentral:us-east-1:123456789012:catalog/AWS/revenue-attribution/ra-0a1b2c3d4e5f6",
|
|
107
|
+
* StartedAt: 1719792000,
|
|
108
|
+
* Status: "COMPLETE",
|
|
109
|
+
* TaskId: "raatask-abc123def4567",
|
|
110
|
+
* TotalRevenueAttributionAllocationRecords: 1
|
|
111
|
+
* }
|
|
112
|
+
* *\/
|
|
113
|
+
* ```
|
|
114
|
+
*
|
|
115
|
+
* @public
|
|
116
|
+
*/
|
|
117
|
+
export declare class GetRevenueAttributionAllocationsTaskCommand extends GetRevenueAttributionAllocationsTaskCommand_base {
|
|
118
|
+
/** @internal type navigation helper, not in runtime. */
|
|
119
|
+
protected static __types: {
|
|
120
|
+
api: {
|
|
121
|
+
input: GetRevenueAttributionAllocationsTaskInput;
|
|
122
|
+
output: GetRevenueAttributionAllocationsTaskOutput;
|
|
123
|
+
};
|
|
124
|
+
sdk: {
|
|
125
|
+
input: GetRevenueAttributionAllocationsTaskCommandInput;
|
|
126
|
+
output: GetRevenueAttributionAllocationsTaskCommandOutput;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetRevenueAttributionInput, GetRevenueAttributionOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetRevenueAttributionCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetRevenueAttributionCommandInput extends GetRevenueAttributionInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetRevenueAttributionCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetRevenueAttributionCommandOutput extends GetRevenueAttributionOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetRevenueAttributionCommand_base: {
|
|
22
|
+
new (input: GetRevenueAttributionCommandInput): import("@smithy/core/client").CommandImpl<GetRevenueAttributionCommandInput, GetRevenueAttributionCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetRevenueAttributionCommandInput): import("@smithy/core/client").CommandImpl<GetRevenueAttributionCommandInput, GetRevenueAttributionCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Retrieves the details of a specific revenue attribution.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PartnerCentralRevenueMeasurementClient, GetRevenueAttributionCommand } from "@aws-sdk/client-partnercentral-revenue-measurement"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralRevenueMeasurementClient, GetRevenueAttributionCommand } = 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 = { // GetRevenueAttributionInput
|
|
37
|
+
* Catalog: "AWS" || "Sandbox", // required
|
|
38
|
+
* Identifier: "STRING_VALUE", // required
|
|
39
|
+
* Revision: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetRevenueAttributionCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetRevenueAttributionOutput
|
|
44
|
+
* // Arn: "STRING_VALUE", // required
|
|
45
|
+
* // Id: "STRING_VALUE", // required
|
|
46
|
+
* // Catalog: "AWS" || "Sandbox", // required
|
|
47
|
+
* // Name: "STRING_VALUE",
|
|
48
|
+
* // Description: "STRING_VALUE",
|
|
49
|
+
* // TenancyModel: "MULTI_TENANT" || "SINGLE_TENANT", // required
|
|
50
|
+
* // MarketplaceProduct: { // MarketplaceProductSummary
|
|
51
|
+
* // ProductId: "STRING_VALUE",
|
|
52
|
+
* // ProductCode: "STRING_VALUE",
|
|
53
|
+
* // ProductName: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // CreatedDate: new Date("TIMESTAMP"),
|
|
56
|
+
* // LastModifiedDate: new Date("TIMESTAMP"),
|
|
57
|
+
* // Revision: "STRING_VALUE",
|
|
58
|
+
* // LatestRevision: "STRING_VALUE",
|
|
59
|
+
* // EffectiveFrom: "STRING_VALUE",
|
|
60
|
+
* // EffectiveUntil: "STRING_VALUE",
|
|
61
|
+
* // TotalActiveRevenueAttributionAllocationCount: Number("int"),
|
|
62
|
+
* // TotalRevenueAttributionAllocationCount: Number("int"),
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @param GetRevenueAttributionCommandInput - {@link GetRevenueAttributionCommandInput}
|
|
68
|
+
* @returns {@link GetRevenueAttributionCommandOutput}
|
|
69
|
+
* @see {@link GetRevenueAttributionCommandInput} for command's `input` shape.
|
|
70
|
+
* @see {@link GetRevenueAttributionCommandOutput} for command's `response` shape.
|
|
71
|
+
* @see {@link PartnerCentralRevenueMeasurementClientResolvedConfig | config} for PartnerCentralRevenueMeasurementClient's `config` shape.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
74
|
+
* <p>The request was denied due to insufficient permissions.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InternalServerException} (server fault)
|
|
77
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
80
|
+
* <p>The specified resource was not found.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
83
|
+
* <p>The request was throttled due to too many requests. Retry your request.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ValidationException} (client fault)
|
|
86
|
+
* <p>The request failed validation due to invalid input parameters.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link PartnerCentralRevenueMeasurementServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from PartnerCentralRevenueMeasurement service.</p>
|
|
90
|
+
*
|
|
91
|
+
*
|
|
92
|
+
* @example Example for GetRevenueAttribution
|
|
93
|
+
* ```javascript
|
|
94
|
+
* //
|
|
95
|
+
* const input = {
|
|
96
|
+
* Catalog: "AWS",
|
|
97
|
+
* Identifier: "ra-0a1b2c3d4e5f6"
|
|
98
|
+
* };
|
|
99
|
+
* const command = new GetRevenueAttributionCommand(input);
|
|
100
|
+
* const response = await client.send(command);
|
|
101
|
+
* /* response is
|
|
102
|
+
* {
|
|
103
|
+
* Arn: "arn:aws:partnercentral:us-east-1:123456789012:catalog/AWS/revenue-attribution/ra-0a1b2c3d4e5f6",
|
|
104
|
+
* Catalog: "AWS",
|
|
105
|
+
* Id: "ra-0a1b2c3d4e5f6",
|
|
106
|
+
* TenancyModel: "MULTI_TENANT"
|
|
107
|
+
* }
|
|
108
|
+
* *\/
|
|
109
|
+
* ```
|
|
110
|
+
*
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export declare class GetRevenueAttributionCommand extends GetRevenueAttributionCommand_base {
|
|
114
|
+
/** @internal type navigation helper, not in runtime. */
|
|
115
|
+
protected static __types: {
|
|
116
|
+
api: {
|
|
117
|
+
input: GetRevenueAttributionInput;
|
|
118
|
+
output: GetRevenueAttributionOutput;
|
|
119
|
+
};
|
|
120
|
+
sdk: {
|
|
121
|
+
input: GetRevenueAttributionCommandInput;
|
|
122
|
+
output: GetRevenueAttributionCommandOutput;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListMarketplaceRevenueShareAllocationsInput, ListMarketplaceRevenueShareAllocationsOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListMarketplaceRevenueShareAllocationsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListMarketplaceRevenueShareAllocationsCommandInput extends ListMarketplaceRevenueShareAllocationsInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListMarketplaceRevenueShareAllocationsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListMarketplaceRevenueShareAllocationsCommandOutput extends ListMarketplaceRevenueShareAllocationsOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListMarketplaceRevenueShareAllocationsCommand_base: {
|
|
22
|
+
new (input: ListMarketplaceRevenueShareAllocationsCommandInput): import("@smithy/core/client").CommandImpl<ListMarketplaceRevenueShareAllocationsCommandInput, ListMarketplaceRevenueShareAllocationsCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListMarketplaceRevenueShareAllocationsCommandInput): import("@smithy/core/client").CommandImpl<ListMarketplaceRevenueShareAllocationsCommandInput, ListMarketplaceRevenueShareAllocationsCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns a paginated list of allocations under a marketplace revenue share, with optional filtering by status and effective date range. Supports historical reads at a specific share revision.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PartnerCentralRevenueMeasurementClient, ListMarketplaceRevenueShareAllocationsCommand } from "@aws-sdk/client-partnercentral-revenue-measurement"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralRevenueMeasurementClient, ListMarketplaceRevenueShareAllocationsCommand } = 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 = { // ListMarketplaceRevenueShareAllocationsInput
|
|
37
|
+
* Catalog: "AWS" || "Sandbox", // required
|
|
38
|
+
* ProductId: "STRING_VALUE", // required
|
|
39
|
+
* Status: "ACTIVE" || "INACTIVE",
|
|
40
|
+
* AfterEffectiveFrom: "STRING_VALUE",
|
|
41
|
+
* BeforeEffectiveFrom: "STRING_VALUE",
|
|
42
|
+
* SortBy: "EffectiveFrom",
|
|
43
|
+
* SortOrder: "ASCENDING" || "DESCENDING",
|
|
44
|
+
* MaxResults: Number("int"),
|
|
45
|
+
* NextToken: "STRING_VALUE",
|
|
46
|
+
* MarketplaceRevenueShareRevision: "STRING_VALUE",
|
|
47
|
+
* };
|
|
48
|
+
* const command = new ListMarketplaceRevenueShareAllocationsCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // ListMarketplaceRevenueShareAllocationsOutput
|
|
51
|
+
* // MarketplaceRevenueShareAllocationSummaries: [ // MarketplaceRevenueShareAllocationSummaryList // required
|
|
52
|
+
* // { // MarketplaceRevenueShareAllocationSummary
|
|
53
|
+
* // MarketplaceRevenueShareAllocationId: "STRING_VALUE", // required
|
|
54
|
+
* // ProductId: "STRING_VALUE", // required
|
|
55
|
+
* // ProductName: "STRING_VALUE",
|
|
56
|
+
* // Arn: "STRING_VALUE", // required
|
|
57
|
+
* // EffectiveFrom: "STRING_VALUE", // required
|
|
58
|
+
* // EffectiveUntil: "STRING_VALUE",
|
|
59
|
+
* // RevenueSharePercent: "STRING_VALUE", // required
|
|
60
|
+
* // Status: "ACTIVE" || "INACTIVE", // required
|
|
61
|
+
* // CreatedDate: new Date("TIMESTAMP"),
|
|
62
|
+
* // LastModifiedDate: new Date("TIMESTAMP"),
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // NextToken: "STRING_VALUE",
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param ListMarketplaceRevenueShareAllocationsCommandInput - {@link ListMarketplaceRevenueShareAllocationsCommandInput}
|
|
71
|
+
* @returns {@link ListMarketplaceRevenueShareAllocationsCommandOutput}
|
|
72
|
+
* @see {@link ListMarketplaceRevenueShareAllocationsCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link ListMarketplaceRevenueShareAllocationsCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link PartnerCentralRevenueMeasurementClientResolvedConfig | config} for PartnerCentralRevenueMeasurementClient's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
77
|
+
* <p>The request was denied due to insufficient permissions.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link InternalServerException} (server fault)
|
|
80
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
83
|
+
* <p>The specified resource was not found.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
86
|
+
* <p>The request was throttled due to too many requests. Retry your request.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ValidationException} (client fault)
|
|
89
|
+
* <p>The request failed validation due to invalid input parameters.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link PartnerCentralRevenueMeasurementServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from PartnerCentralRevenueMeasurement service.</p>
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* @example Example for ListMarketplaceRevenueShareAllocations
|
|
96
|
+
* ```javascript
|
|
97
|
+
* //
|
|
98
|
+
* const input = {
|
|
99
|
+
* Catalog: "AWS",
|
|
100
|
+
* ProductId: "prod-abc123def4567"
|
|
101
|
+
* };
|
|
102
|
+
* const command = new ListMarketplaceRevenueShareAllocationsCommand(input);
|
|
103
|
+
* const response = await client.send(command);
|
|
104
|
+
* /* response is
|
|
105
|
+
* {
|
|
106
|
+
* MarketplaceRevenueShareAllocationSummaries: []
|
|
107
|
+
* }
|
|
108
|
+
* *\/
|
|
109
|
+
* ```
|
|
110
|
+
*
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export declare class ListMarketplaceRevenueShareAllocationsCommand extends ListMarketplaceRevenueShareAllocationsCommand_base {
|
|
114
|
+
/** @internal type navigation helper, not in runtime. */
|
|
115
|
+
protected static __types: {
|
|
116
|
+
api: {
|
|
117
|
+
input: ListMarketplaceRevenueShareAllocationsInput;
|
|
118
|
+
output: ListMarketplaceRevenueShareAllocationsOutput;
|
|
119
|
+
};
|
|
120
|
+
sdk: {
|
|
121
|
+
input: ListMarketplaceRevenueShareAllocationsCommandInput;
|
|
122
|
+
output: ListMarketplaceRevenueShareAllocationsCommandOutput;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListMarketplaceRevenueSharesInput, ListMarketplaceRevenueSharesOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListMarketplaceRevenueSharesCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListMarketplaceRevenueSharesCommandInput extends ListMarketplaceRevenueSharesInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListMarketplaceRevenueSharesCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListMarketplaceRevenueSharesCommandOutput extends ListMarketplaceRevenueSharesOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListMarketplaceRevenueSharesCommand_base: {
|
|
22
|
+
new (input: ListMarketplaceRevenueSharesCommandInput): import("@smithy/core/client").CommandImpl<ListMarketplaceRevenueSharesCommandInput, ListMarketplaceRevenueSharesCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListMarketplaceRevenueSharesCommandInput): import("@smithy/core/client").CommandImpl<ListMarketplaceRevenueSharesCommandInput, ListMarketplaceRevenueSharesCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns a paginated list of marketplace revenue shares 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, ListMarketplaceRevenueSharesCommand } from "@aws-sdk/client-partnercentral-revenue-measurement"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralRevenueMeasurementClient, ListMarketplaceRevenueSharesCommand } = 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 = { // ListMarketplaceRevenueSharesInput
|
|
37
|
+
* Catalog: "AWS" || "Sandbox", // required
|
|
38
|
+
* ProductIds: [ // MarketplaceProductIdList
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* ProductCodes: [ // ProductCodeList
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* MaxResults: Number("int"),
|
|
45
|
+
* NextToken: "STRING_VALUE",
|
|
46
|
+
* SortBy: "LastModifiedDate",
|
|
47
|
+
* SortOrder: "ASCENDING" || "DESCENDING",
|
|
48
|
+
* CreatedAfter: new Date("TIMESTAMP"),
|
|
49
|
+
* CreatedBefore: new Date("TIMESTAMP"),
|
|
50
|
+
* };
|
|
51
|
+
* const command = new ListMarketplaceRevenueSharesCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* // { // ListMarketplaceRevenueSharesOutput
|
|
54
|
+
* // MarketplaceRevenueShareSummaries: [ // MarketplaceRevenueShareSummaryList // required
|
|
55
|
+
* // { // MarketplaceRevenueShareSummary
|
|
56
|
+
* // ProductId: "STRING_VALUE", // required
|
|
57
|
+
* // Arn: "STRING_VALUE", // required
|
|
58
|
+
* // Catalog: "AWS" || "Sandbox",
|
|
59
|
+
* // ProductCode: "STRING_VALUE",
|
|
60
|
+
* // ProductName: "STRING_VALUE",
|
|
61
|
+
* // CreatedDate: new Date("TIMESTAMP"),
|
|
62
|
+
* // LastModifiedDate: new Date("TIMESTAMP"),
|
|
63
|
+
* // LatestRevision: Number("int"),
|
|
64
|
+
* // TotalActiveMarketplaceRevenueShareAllocationCount: Number("int"),
|
|
65
|
+
* // TotalMarketplaceRevenueShareAllocationCount: Number("int"),
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // NextToken: "STRING_VALUE",
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param ListMarketplaceRevenueSharesCommandInput - {@link ListMarketplaceRevenueSharesCommandInput}
|
|
74
|
+
* @returns {@link ListMarketplaceRevenueSharesCommandOutput}
|
|
75
|
+
* @see {@link ListMarketplaceRevenueSharesCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link ListMarketplaceRevenueSharesCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link PartnerCentralRevenueMeasurementClientResolvedConfig | config} for PartnerCentralRevenueMeasurementClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
80
|
+
* <p>The request was denied due to insufficient permissions.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InternalServerException} (server fault)
|
|
83
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
86
|
+
* <p>The request was throttled due to too many requests. Retry your request.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ValidationException} (client fault)
|
|
89
|
+
* <p>The request failed validation due to invalid input parameters.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link PartnerCentralRevenueMeasurementServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from PartnerCentralRevenueMeasurement service.</p>
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* @example Example for ListMarketplaceRevenueShares
|
|
96
|
+
* ```javascript
|
|
97
|
+
* //
|
|
98
|
+
* const input = {
|
|
99
|
+
* Catalog: "AWS",
|
|
100
|
+
* MaxResults: 10
|
|
101
|
+
* };
|
|
102
|
+
* const command = new ListMarketplaceRevenueSharesCommand(input);
|
|
103
|
+
* const response = await client.send(command);
|
|
104
|
+
* /* response is
|
|
105
|
+
* {
|
|
106
|
+
* MarketplaceRevenueShareSummaries: []
|
|
107
|
+
* }
|
|
108
|
+
* *\/
|
|
109
|
+
* ```
|
|
110
|
+
*
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export declare class ListMarketplaceRevenueSharesCommand extends ListMarketplaceRevenueSharesCommand_base {
|
|
114
|
+
/** @internal type navigation helper, not in runtime. */
|
|
115
|
+
protected static __types: {
|
|
116
|
+
api: {
|
|
117
|
+
input: ListMarketplaceRevenueSharesInput;
|
|
118
|
+
output: ListMarketplaceRevenueSharesOutput;
|
|
119
|
+
};
|
|
120
|
+
sdk: {
|
|
121
|
+
input: ListMarketplaceRevenueSharesCommandInput;
|
|
122
|
+
output: ListMarketplaceRevenueSharesCommandOutput;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListRevenueAttributionAllocationsInput, ListRevenueAttributionAllocationsOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListRevenueAttributionAllocationsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListRevenueAttributionAllocationsCommandInput extends ListRevenueAttributionAllocationsInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListRevenueAttributionAllocationsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListRevenueAttributionAllocationsCommandOutput extends ListRevenueAttributionAllocationsOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListRevenueAttributionAllocationsCommand_base: {
|
|
22
|
+
new (input: ListRevenueAttributionAllocationsCommandInput): import("@smithy/core/client").CommandImpl<ListRevenueAttributionAllocationsCommandInput, ListRevenueAttributionAllocationsCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListRevenueAttributionAllocationsCommandInput): import("@smithy/core/client").CommandImpl<ListRevenueAttributionAllocationsCommandInput, ListRevenueAttributionAllocationsCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns a paginated list of committed allocations with support for filtering by entity, customer, status, or date range.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PartnerCentralRevenueMeasurementClient, ListRevenueAttributionAllocationsCommand } from "@aws-sdk/client-partnercentral-revenue-measurement"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralRevenueMeasurementClient, ListRevenueAttributionAllocationsCommand } = 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 = { // ListRevenueAttributionAllocationsInput
|
|
37
|
+
* Catalog: "AWS" || "Sandbox", // required
|
|
38
|
+
* RevenueAttributionIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* EntityTypeFilters: [ // EntityTypeFilterList
|
|
40
|
+
* "OFFER" || "OPPORTUNITY",
|
|
41
|
+
* ],
|
|
42
|
+
* EntityIdentifierFilters: [ // EntityIdentifierFilterList
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* CustomerAwsAccountIdFilters: [ // CustomerAwsAccountIdFilterList
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* StatusFilter: "ACTIVE" || "INACTIVE",
|
|
49
|
+
* AfterEffectiveFrom: "STRING_VALUE",
|
|
50
|
+
* BeforeEffectiveFrom: "STRING_VALUE",
|
|
51
|
+
* AfterEffectiveUntil: "STRING_VALUE",
|
|
52
|
+
* BeforeEffectiveUntil: "STRING_VALUE",
|
|
53
|
+
* SortBy: "EffectiveFrom",
|
|
54
|
+
* SortOrder: "ASCENDING" || "DESCENDING",
|
|
55
|
+
* RevenueAttributionRevision: "STRING_VALUE",
|
|
56
|
+
* MaxResults: Number("int"),
|
|
57
|
+
* NextToken: "STRING_VALUE",
|
|
58
|
+
* };
|
|
59
|
+
* const command = new ListRevenueAttributionAllocationsCommand(input);
|
|
60
|
+
* const response = await client.send(command);
|
|
61
|
+
* // { // ListRevenueAttributionAllocationsOutput
|
|
62
|
+
* // RevenueAttributionAllocationSummaries: [ // RevenueAttributionAllocationSummaryList // required
|
|
63
|
+
* // { // RevenueAttributionAllocationSummary
|
|
64
|
+
* // RevenueAttributionAllocationId: "STRING_VALUE", // required
|
|
65
|
+
* // RevenueAttributionIdentifier: "STRING_VALUE", // required
|
|
66
|
+
* // EntityType: "OFFER" || "OPPORTUNITY", // required
|
|
67
|
+
* // EntityIdentifier: "STRING_VALUE", // required
|
|
68
|
+
* // EntityName: "STRING_VALUE",
|
|
69
|
+
* // CustomerAwsAccountId: "STRING_VALUE", // required
|
|
70
|
+
* // RevenueSharePercent: "STRING_VALUE", // required
|
|
71
|
+
* // EffectiveFrom: "STRING_VALUE", // required
|
|
72
|
+
* // EffectiveUntil: "STRING_VALUE", // required
|
|
73
|
+
* // Status: "ACTIVE" || "INACTIVE", // required
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // NextToken: "STRING_VALUE",
|
|
77
|
+
* // };
|
|
78
|
+
*
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
81
|
+
* @param ListRevenueAttributionAllocationsCommandInput - {@link ListRevenueAttributionAllocationsCommandInput}
|
|
82
|
+
* @returns {@link ListRevenueAttributionAllocationsCommandOutput}
|
|
83
|
+
* @see {@link ListRevenueAttributionAllocationsCommandInput} for command's `input` shape.
|
|
84
|
+
* @see {@link ListRevenueAttributionAllocationsCommandOutput} for command's `response` shape.
|
|
85
|
+
* @see {@link PartnerCentralRevenueMeasurementClientResolvedConfig | config} for PartnerCentralRevenueMeasurementClient's `config` shape.
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
88
|
+
* <p>The request was denied due to insufficient permissions.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link InternalServerException} (server fault)
|
|
91
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
94
|
+
* <p>The specified resource was not found.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
97
|
+
* <p>The request was throttled due to too many requests. Retry your request.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ValidationException} (client fault)
|
|
100
|
+
* <p>The request failed validation due to invalid input parameters.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link PartnerCentralRevenueMeasurementServiceException}
|
|
103
|
+
* <p>Base exception class for all service exceptions from PartnerCentralRevenueMeasurement service.</p>
|
|
104
|
+
*
|
|
105
|
+
*
|
|
106
|
+
* @example Example for ListRevenueAttributionAllocations
|
|
107
|
+
* ```javascript
|
|
108
|
+
* //
|
|
109
|
+
* const input = {
|
|
110
|
+
* Catalog: "AWS",
|
|
111
|
+
* RevenueAttributionIdentifier: "ra-0a1b2c3d4e5f6"
|
|
112
|
+
* };
|
|
113
|
+
* const command = new ListRevenueAttributionAllocationsCommand(input);
|
|
114
|
+
* const response = await client.send(command);
|
|
115
|
+
* /* response is
|
|
116
|
+
* {
|
|
117
|
+
* RevenueAttributionAllocationSummaries: []
|
|
118
|
+
* }
|
|
119
|
+
* *\/
|
|
120
|
+
* ```
|
|
121
|
+
*
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
export declare class ListRevenueAttributionAllocationsCommand extends ListRevenueAttributionAllocationsCommand_base {
|
|
125
|
+
/** @internal type navigation helper, not in runtime. */
|
|
126
|
+
protected static __types: {
|
|
127
|
+
api: {
|
|
128
|
+
input: ListRevenueAttributionAllocationsInput;
|
|
129
|
+
output: ListRevenueAttributionAllocationsOutput;
|
|
130
|
+
};
|
|
131
|
+
sdk: {
|
|
132
|
+
input: ListRevenueAttributionAllocationsCommandInput;
|
|
133
|
+
output: ListRevenueAttributionAllocationsCommandOutput;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
}
|