@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,124 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateMarketplaceRevenueShareInput, CreateMarketplaceRevenueShareOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateMarketplaceRevenueShareCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateMarketplaceRevenueShareCommandInput extends CreateMarketplaceRevenueShareInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateMarketplaceRevenueShareCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateMarketplaceRevenueShareCommandOutput extends CreateMarketplaceRevenueShareOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateMarketplaceRevenueShareCommand_base: {
|
|
22
|
+
new (input: CreateMarketplaceRevenueShareCommandInput): import("@smithy/core/client").CommandImpl<CreateMarketplaceRevenueShareCommandInput, CreateMarketplaceRevenueShareCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateMarketplaceRevenueShareCommandInput): import("@smithy/core/client").CommandImpl<CreateMarketplaceRevenueShareCommandInput, CreateMarketplaceRevenueShareCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Creates a new marketplace revenue share resource in the specified catalog.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PartnerCentralRevenueMeasurementClient, CreateMarketplaceRevenueShareCommand } from "@aws-sdk/client-partnercentral-revenue-measurement"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralRevenueMeasurementClient, CreateMarketplaceRevenueShareCommand } = 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 = { // CreateMarketplaceRevenueShareInput
|
|
37
|
+
* Catalog: "AWS" || "Sandbox", // required
|
|
38
|
+
* ClientToken: "STRING_VALUE",
|
|
39
|
+
* ProductId: "STRING_VALUE", // required
|
|
40
|
+
* Tags: [ // MarketplaceRevenueShareTagList
|
|
41
|
+
* { // Tag
|
|
42
|
+
* Key: "STRING_VALUE", // required
|
|
43
|
+
* Value: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* };
|
|
47
|
+
* const command = new CreateMarketplaceRevenueShareCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // CreateMarketplaceRevenueShareOutput
|
|
50
|
+
* // ProductId: "STRING_VALUE", // required
|
|
51
|
+
* // Arn: "STRING_VALUE", // required
|
|
52
|
+
* // Catalog: "AWS" || "Sandbox",
|
|
53
|
+
* // ProductCode: "STRING_VALUE",
|
|
54
|
+
* // ProductName: "STRING_VALUE",
|
|
55
|
+
* // CreatedDate: new Date("TIMESTAMP"),
|
|
56
|
+
* // LastModifiedDate: new Date("TIMESTAMP"),
|
|
57
|
+
* // Revision: Number("int"),
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param CreateMarketplaceRevenueShareCommandInput - {@link CreateMarketplaceRevenueShareCommandInput}
|
|
63
|
+
* @returns {@link CreateMarketplaceRevenueShareCommandOutput}
|
|
64
|
+
* @see {@link CreateMarketplaceRevenueShareCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link CreateMarketplaceRevenueShareCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link PartnerCentralRevenueMeasurementClientResolvedConfig | config} for PartnerCentralRevenueMeasurementClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
69
|
+
* <p>The request was denied due to insufficient permissions.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ConflictException} (client fault)
|
|
72
|
+
* <p>The request could not be completed due to a conflict with the current state of the resource.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
78
|
+
* <p>The specified resource was not found.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
81
|
+
* <p>The request would exceed a service quota limit.</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 CreateMarketplaceRevenueShare
|
|
94
|
+
* ```javascript
|
|
95
|
+
* //
|
|
96
|
+
* const input = {
|
|
97
|
+
* Catalog: "AWS",
|
|
98
|
+
* ProductId: "prod-abc123def4567"
|
|
99
|
+
* };
|
|
100
|
+
* const command = new CreateMarketplaceRevenueShareCommand(input);
|
|
101
|
+
* const response = await client.send(command);
|
|
102
|
+
* /* response is
|
|
103
|
+
* {
|
|
104
|
+
* Arn: "arn:aws:partnercentral:us-east-1:123456789012:catalog/AWS/marketplace-revenue-share/prod-abc123def4567",
|
|
105
|
+
* ProductId: "prod-abc123def4567"
|
|
106
|
+
* }
|
|
107
|
+
* *\/
|
|
108
|
+
* ```
|
|
109
|
+
*
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export declare class CreateMarketplaceRevenueShareCommand extends CreateMarketplaceRevenueShareCommand_base {
|
|
113
|
+
/** @internal type navigation helper, not in runtime. */
|
|
114
|
+
protected static __types: {
|
|
115
|
+
api: {
|
|
116
|
+
input: CreateMarketplaceRevenueShareInput;
|
|
117
|
+
output: CreateMarketplaceRevenueShareOutput;
|
|
118
|
+
};
|
|
119
|
+
sdk: {
|
|
120
|
+
input: CreateMarketplaceRevenueShareCommandInput;
|
|
121
|
+
output: CreateMarketplaceRevenueShareCommandOutput;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateRevenueAttributionInput, CreateRevenueAttributionOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateRevenueAttributionCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateRevenueAttributionCommandInput extends CreateRevenueAttributionInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateRevenueAttributionCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateRevenueAttributionCommandOutput extends CreateRevenueAttributionOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateRevenueAttributionCommand_base: {
|
|
22
|
+
new (input: CreateRevenueAttributionCommandInput): import("@smithy/core/client").CommandImpl<CreateRevenueAttributionCommandInput, CreateRevenueAttributionCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateRevenueAttributionCommandInput): import("@smithy/core/client").CommandImpl<CreateRevenueAttributionCommandInput, CreateRevenueAttributionCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Creates a new revenue attribution record in the specified catalog.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PartnerCentralRevenueMeasurementClient, CreateRevenueAttributionCommand } from "@aws-sdk/client-partnercentral-revenue-measurement"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralRevenueMeasurementClient, CreateRevenueAttributionCommand } = 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 = { // CreateRevenueAttributionInput
|
|
37
|
+
* Catalog: "AWS" || "Sandbox", // required
|
|
38
|
+
* ClientToken: "STRING_VALUE",
|
|
39
|
+
* Name: "STRING_VALUE", // required
|
|
40
|
+
* Description: "STRING_VALUE",
|
|
41
|
+
* TenancyModel: "MULTI_TENANT" || "SINGLE_TENANT", // required
|
|
42
|
+
* ProductIdentifier: "STRING_VALUE",
|
|
43
|
+
* Tags: [ // TagList
|
|
44
|
+
* { // Tag
|
|
45
|
+
* Key: "STRING_VALUE", // required
|
|
46
|
+
* Value: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* };
|
|
50
|
+
* const command = new CreateRevenueAttributionCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // CreateRevenueAttributionOutput
|
|
53
|
+
* // Id: "STRING_VALUE", // required
|
|
54
|
+
* // Arn: "STRING_VALUE", // required
|
|
55
|
+
* // Name: "STRING_VALUE",
|
|
56
|
+
* // Description: "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
|
+
* // Revision: "STRING_VALUE",
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param CreateRevenueAttributionCommandInput - {@link CreateRevenueAttributionCommandInput}
|
|
69
|
+
* @returns {@link CreateRevenueAttributionCommandOutput}
|
|
70
|
+
* @see {@link CreateRevenueAttributionCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link CreateRevenueAttributionCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link PartnerCentralRevenueMeasurementClientResolvedConfig | config} for PartnerCentralRevenueMeasurementClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* <p>The request was denied due to insufficient permissions.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ConflictException} (client fault)
|
|
78
|
+
* <p>The request could not be completed due to a conflict with the current state of the resource.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InternalServerException} (server fault)
|
|
81
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
|
+
* <p>The specified resource was not found.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
87
|
+
* <p>The request would exceed a service quota limit.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
90
|
+
* <p>The request was throttled due to too many requests. Retry your request.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ValidationException} (client fault)
|
|
93
|
+
* <p>The request failed validation due to invalid input parameters.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link PartnerCentralRevenueMeasurementServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from PartnerCentralRevenueMeasurement service.</p>
|
|
97
|
+
*
|
|
98
|
+
*
|
|
99
|
+
* @example Example for CreateRevenueAttribution
|
|
100
|
+
* ```javascript
|
|
101
|
+
* //
|
|
102
|
+
* const input = {
|
|
103
|
+
* Catalog: "AWS",
|
|
104
|
+
* Name: "My Revenue Attribution",
|
|
105
|
+
* TenancyModel: "MULTI_TENANT"
|
|
106
|
+
* };
|
|
107
|
+
* const command = new CreateRevenueAttributionCommand(input);
|
|
108
|
+
* const response = await client.send(command);
|
|
109
|
+
* /* response is
|
|
110
|
+
* {
|
|
111
|
+
* Arn: "arn:aws:partnercentral:us-east-1:123456789012:catalog/AWS/revenue-attribution/ra-0a1b2c3d4e5f6",
|
|
112
|
+
* Id: "ra-0a1b2c3d4e5f6",
|
|
113
|
+
* TenancyModel: "MULTI_TENANT"
|
|
114
|
+
* }
|
|
115
|
+
* *\/
|
|
116
|
+
* ```
|
|
117
|
+
*
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
export declare class CreateRevenueAttributionCommand extends CreateRevenueAttributionCommand_base {
|
|
121
|
+
/** @internal type navigation helper, not in runtime. */
|
|
122
|
+
protected static __types: {
|
|
123
|
+
api: {
|
|
124
|
+
input: CreateRevenueAttributionInput;
|
|
125
|
+
output: CreateRevenueAttributionOutput;
|
|
126
|
+
};
|
|
127
|
+
sdk: {
|
|
128
|
+
input: CreateRevenueAttributionCommandInput;
|
|
129
|
+
output: CreateRevenueAttributionCommandOutput;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetMarketplaceRevenueShareAllocationInput, GetMarketplaceRevenueShareAllocationOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetMarketplaceRevenueShareAllocationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetMarketplaceRevenueShareAllocationCommandInput extends GetMarketplaceRevenueShareAllocationInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetMarketplaceRevenueShareAllocationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetMarketplaceRevenueShareAllocationCommandOutput extends GetMarketplaceRevenueShareAllocationOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetMarketplaceRevenueShareAllocationCommand_base: {
|
|
22
|
+
new (input: GetMarketplaceRevenueShareAllocationCommandInput): import("@smithy/core/client").CommandImpl<GetMarketplaceRevenueShareAllocationCommandInput, GetMarketplaceRevenueShareAllocationCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetMarketplaceRevenueShareAllocationCommandInput): import("@smithy/core/client").CommandImpl<GetMarketplaceRevenueShareAllocationCommandInput, GetMarketplaceRevenueShareAllocationCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Retrieves the details of a specific marketplace revenue share allocation.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PartnerCentralRevenueMeasurementClient, GetMarketplaceRevenueShareAllocationCommand } from "@aws-sdk/client-partnercentral-revenue-measurement"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralRevenueMeasurementClient, GetMarketplaceRevenueShareAllocationCommand } = 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 = { // GetMarketplaceRevenueShareAllocationInput
|
|
37
|
+
* Catalog: "AWS" || "Sandbox", // required
|
|
38
|
+
* ProductId: "STRING_VALUE", // required
|
|
39
|
+
* MarketplaceRevenueShareAllocationId: "STRING_VALUE", // required
|
|
40
|
+
* MarketplaceRevenueShareRevision: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetMarketplaceRevenueShareAllocationCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetMarketplaceRevenueShareAllocationOutput
|
|
45
|
+
* // MarketplaceRevenueShareAllocationId: "STRING_VALUE", // required
|
|
46
|
+
* // ProductId: "STRING_VALUE", // required
|
|
47
|
+
* // ProductName: "STRING_VALUE",
|
|
48
|
+
* // Arn: "STRING_VALUE", // required
|
|
49
|
+
* // EffectiveFrom: "STRING_VALUE", // required
|
|
50
|
+
* // EffectiveUntil: "STRING_VALUE",
|
|
51
|
+
* // RevenueSharePercent: "STRING_VALUE", // required
|
|
52
|
+
* // Status: "ACTIVE" || "INACTIVE", // required
|
|
53
|
+
* // CreatedDate: new Date("TIMESTAMP"),
|
|
54
|
+
* // LastModifiedDate: new Date("TIMESTAMP"),
|
|
55
|
+
* // LatestMarketplaceRevenueShareRevision: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param GetMarketplaceRevenueShareAllocationCommandInput - {@link GetMarketplaceRevenueShareAllocationCommandInput}
|
|
61
|
+
* @returns {@link GetMarketplaceRevenueShareAllocationCommandOutput}
|
|
62
|
+
* @see {@link GetMarketplaceRevenueShareAllocationCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link GetMarketplaceRevenueShareAllocationCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link PartnerCentralRevenueMeasurementClientResolvedConfig | config} for PartnerCentralRevenueMeasurementClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>The request was denied due to insufficient permissions.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* <p>The specified resource was not found.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* <p>The request was throttled due to too many requests. Retry your request.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ValidationException} (client fault)
|
|
79
|
+
* <p>The request failed validation due to invalid input parameters.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link PartnerCentralRevenueMeasurementServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from PartnerCentralRevenueMeasurement service.</p>
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @example Example for GetMarketplaceRevenueShareAllocation
|
|
86
|
+
* ```javascript
|
|
87
|
+
* //
|
|
88
|
+
* const input = {
|
|
89
|
+
* Catalog: "AWS",
|
|
90
|
+
* MarketplaceRevenueShareAllocationId: "mrsa-abc123def4567",
|
|
91
|
+
* ProductId: "prod-abc123def4567"
|
|
92
|
+
* };
|
|
93
|
+
* const command = new GetMarketplaceRevenueShareAllocationCommand(input);
|
|
94
|
+
* const response = await client.send(command);
|
|
95
|
+
* /* response is
|
|
96
|
+
* {
|
|
97
|
+
* Arn: "arn:aws:partnercentral:us-east-1:123456789012:catalog/AWS/marketplace-revenue-share-allocation/mrsa-abc123def4567",
|
|
98
|
+
* EffectiveFrom: "2026-07-01",
|
|
99
|
+
* MarketplaceRevenueShareAllocationId: "mrsa-abc123def4567",
|
|
100
|
+
* ProductId: "prod-abc123def4567",
|
|
101
|
+
* RevenueSharePercent: "15.50",
|
|
102
|
+
* Status: "ACTIVE"
|
|
103
|
+
* }
|
|
104
|
+
* *\/
|
|
105
|
+
* ```
|
|
106
|
+
*
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export declare class GetMarketplaceRevenueShareAllocationCommand extends GetMarketplaceRevenueShareAllocationCommand_base {
|
|
110
|
+
/** @internal type navigation helper, not in runtime. */
|
|
111
|
+
protected static __types: {
|
|
112
|
+
api: {
|
|
113
|
+
input: GetMarketplaceRevenueShareAllocationInput;
|
|
114
|
+
output: GetMarketplaceRevenueShareAllocationOutput;
|
|
115
|
+
};
|
|
116
|
+
sdk: {
|
|
117
|
+
input: GetMarketplaceRevenueShareAllocationCommandInput;
|
|
118
|
+
output: GetMarketplaceRevenueShareAllocationCommandOutput;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetMarketplaceRevenueShareInput, GetMarketplaceRevenueShareOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetMarketplaceRevenueShareCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetMarketplaceRevenueShareCommandInput extends GetMarketplaceRevenueShareInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetMarketplaceRevenueShareCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetMarketplaceRevenueShareCommandOutput extends GetMarketplaceRevenueShareOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetMarketplaceRevenueShareCommand_base: {
|
|
22
|
+
new (input: GetMarketplaceRevenueShareCommandInput): import("@smithy/core/client").CommandImpl<GetMarketplaceRevenueShareCommandInput, GetMarketplaceRevenueShareCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetMarketplaceRevenueShareCommandInput): import("@smithy/core/client").CommandImpl<GetMarketplaceRevenueShareCommandInput, GetMarketplaceRevenueShareCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Retrieves the details of a specific marketplace revenue share.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PartnerCentralRevenueMeasurementClient, GetMarketplaceRevenueShareCommand } from "@aws-sdk/client-partnercentral-revenue-measurement"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralRevenueMeasurementClient, GetMarketplaceRevenueShareCommand } = 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 = { // GetMarketplaceRevenueShareInput
|
|
37
|
+
* Catalog: "AWS" || "Sandbox", // required
|
|
38
|
+
* ProductId: "STRING_VALUE", // required
|
|
39
|
+
* Revision: Number("int"),
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetMarketplaceRevenueShareCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetMarketplaceRevenueShareOutput
|
|
44
|
+
* // ProductId: "STRING_VALUE", // required
|
|
45
|
+
* // Arn: "STRING_VALUE", // required
|
|
46
|
+
* // Catalog: "AWS" || "Sandbox", // required
|
|
47
|
+
* // ProductCode: "STRING_VALUE",
|
|
48
|
+
* // ProductName: "STRING_VALUE",
|
|
49
|
+
* // CreatedDate: new Date("TIMESTAMP"),
|
|
50
|
+
* // LastModifiedDate: new Date("TIMESTAMP"),
|
|
51
|
+
* // Revision: Number("int"),
|
|
52
|
+
* // LatestRevision: Number("int"),
|
|
53
|
+
* // TotalActiveMarketplaceRevenueShareAllocationCount: Number("int"),
|
|
54
|
+
* // TotalMarketplaceRevenueShareAllocationCount: Number("int"),
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param GetMarketplaceRevenueShareCommandInput - {@link GetMarketplaceRevenueShareCommandInput}
|
|
60
|
+
* @returns {@link GetMarketplaceRevenueShareCommandOutput}
|
|
61
|
+
* @see {@link GetMarketplaceRevenueShareCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link GetMarketplaceRevenueShareCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link PartnerCentralRevenueMeasurementClientResolvedConfig | config} for PartnerCentralRevenueMeasurementClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
66
|
+
* <p>The request was denied due to insufficient permissions.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ConflictException} (client fault)
|
|
69
|
+
* <p>The request could not be completed due to a conflict with the current state of the resource.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InternalServerException} (server fault)
|
|
72
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
|
+
* <p>The specified resource was not found.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
78
|
+
* <p>The request was throttled due to too many requests. Retry your request.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ValidationException} (client fault)
|
|
81
|
+
* <p>The request failed validation due to invalid input parameters.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link PartnerCentralRevenueMeasurementServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from PartnerCentralRevenueMeasurement service.</p>
|
|
85
|
+
*
|
|
86
|
+
*
|
|
87
|
+
* @example Example for GetMarketplaceRevenueShare
|
|
88
|
+
* ```javascript
|
|
89
|
+
* //
|
|
90
|
+
* const input = {
|
|
91
|
+
* Catalog: "AWS",
|
|
92
|
+
* ProductId: "prod-abc123def4567"
|
|
93
|
+
* };
|
|
94
|
+
* const command = new GetMarketplaceRevenueShareCommand(input);
|
|
95
|
+
* const response = await client.send(command);
|
|
96
|
+
* /* response is
|
|
97
|
+
* {
|
|
98
|
+
* Arn: "arn:aws:partnercentral:us-east-1:123456789012:catalog/AWS/marketplace-revenue-share/prod-abc123def4567",
|
|
99
|
+
* Catalog: "AWS",
|
|
100
|
+
* ProductId: "prod-abc123def4567"
|
|
101
|
+
* }
|
|
102
|
+
* *\/
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export declare class GetMarketplaceRevenueShareCommand extends GetMarketplaceRevenueShareCommand_base {
|
|
108
|
+
/** @internal type navigation helper, not in runtime. */
|
|
109
|
+
protected static __types: {
|
|
110
|
+
api: {
|
|
111
|
+
input: GetMarketplaceRevenueShareInput;
|
|
112
|
+
output: GetMarketplaceRevenueShareOutput;
|
|
113
|
+
};
|
|
114
|
+
sdk: {
|
|
115
|
+
input: GetMarketplaceRevenueShareCommandInput;
|
|
116
|
+
output: GetMarketplaceRevenueShareCommandOutput;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetRevenueAttributionAllocationInput, GetRevenueAttributionAllocationOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetRevenueAttributionAllocationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetRevenueAttributionAllocationCommandInput extends GetRevenueAttributionAllocationInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetRevenueAttributionAllocationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetRevenueAttributionAllocationCommandOutput extends GetRevenueAttributionAllocationOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetRevenueAttributionAllocationCommand_base: {
|
|
22
|
+
new (input: GetRevenueAttributionAllocationCommandInput): import("@smithy/core/client").CommandImpl<GetRevenueAttributionAllocationCommandInput, GetRevenueAttributionAllocationCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetRevenueAttributionAllocationCommandInput): import("@smithy/core/client").CommandImpl<GetRevenueAttributionAllocationCommandInput, GetRevenueAttributionAllocationCommandOutput, import("..").PartnerCentralRevenueMeasurementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Retrieves a single allocation by its RevenueAttributionAllocationId. Supports optional point-in-time version queries.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PartnerCentralRevenueMeasurementClient, GetRevenueAttributionAllocationCommand } from "@aws-sdk/client-partnercentral-revenue-measurement"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralRevenueMeasurementClient, GetRevenueAttributionAllocationCommand } = 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 = { // GetRevenueAttributionAllocationInput
|
|
37
|
+
* Catalog: "AWS" || "Sandbox", // required
|
|
38
|
+
* RevenueAttributionIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* RevenueAttributionAllocationId: "STRING_VALUE", // required
|
|
40
|
+
* RevenueAttributionRevision: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetRevenueAttributionAllocationCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetRevenueAttributionAllocationOutput
|
|
45
|
+
* // RevenueAttributionAllocationId: "STRING_VALUE", // required
|
|
46
|
+
* // RevenueAttributionIdentifier: "STRING_VALUE", // required
|
|
47
|
+
* // EntityType: "OFFER" || "OPPORTUNITY", // required
|
|
48
|
+
* // EntityIdentifier: "STRING_VALUE", // required
|
|
49
|
+
* // EntityName: "STRING_VALUE",
|
|
50
|
+
* // CustomerAwsAccountId: "STRING_VALUE", // required
|
|
51
|
+
* // RevenueSharePercent: "STRING_VALUE", // required
|
|
52
|
+
* // EffectiveFrom: "STRING_VALUE", // required
|
|
53
|
+
* // EffectiveUntil: "STRING_VALUE", // required
|
|
54
|
+
* // Status: "ACTIVE" || "INACTIVE", // required
|
|
55
|
+
* // CreatedDate: new Date("TIMESTAMP"), // required
|
|
56
|
+
* // LastModifiedDate: new Date("TIMESTAMP"), // required
|
|
57
|
+
* // RevenueAttributionRevision: "STRING_VALUE", // required
|
|
58
|
+
* // RevenueAttributionLatestRevision: "STRING_VALUE", // required
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param GetRevenueAttributionAllocationCommandInput - {@link GetRevenueAttributionAllocationCommandInput}
|
|
64
|
+
* @returns {@link GetRevenueAttributionAllocationCommandOutput}
|
|
65
|
+
* @see {@link GetRevenueAttributionAllocationCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link GetRevenueAttributionAllocationCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link PartnerCentralRevenueMeasurementClientResolvedConfig | config} for PartnerCentralRevenueMeasurementClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
70
|
+
* <p>The request was denied due to insufficient permissions.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InternalServerException} (server fault)
|
|
73
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* <p>The specified resource was not found.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
+
* <p>The request was throttled due to too many requests. Retry your request.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
* <p>The request failed validation due to invalid input parameters.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link PartnerCentralRevenueMeasurementServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from PartnerCentralRevenueMeasurement service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @example Example for GetRevenueAttributionAllocation
|
|
89
|
+
* ```javascript
|
|
90
|
+
* //
|
|
91
|
+
* const input = {
|
|
92
|
+
* Catalog: "AWS",
|
|
93
|
+
* RevenueAttributionAllocationId: "alloc-abc123def4567",
|
|
94
|
+
* RevenueAttributionIdentifier: "ra-0a1b2c3d4e5f6"
|
|
95
|
+
* };
|
|
96
|
+
* const command = new GetRevenueAttributionAllocationCommand(input);
|
|
97
|
+
* const response = await client.send(command);
|
|
98
|
+
* /* response is
|
|
99
|
+
* {
|
|
100
|
+
* CreatedDate: 1719792000,
|
|
101
|
+
* CustomerAwsAccountId: "123456789012",
|
|
102
|
+
* EffectiveFrom: "2026-07-01",
|
|
103
|
+
* EffectiveUntil: "2026-07-31",
|
|
104
|
+
* EntityIdentifier: "offer-abc123",
|
|
105
|
+
* EntityType: "OFFER",
|
|
106
|
+
* LastModifiedDate: 1719792000,
|
|
107
|
+
* RevenueAttributionAllocationId: "alloc-abc123def4567",
|
|
108
|
+
* RevenueAttributionIdentifier: "ra-0a1b2c3d4e5f6",
|
|
109
|
+
* RevenueAttributionLatestRevision: "1",
|
|
110
|
+
* RevenueAttributionRevision: "1",
|
|
111
|
+
* RevenueSharePercent: "15.50",
|
|
112
|
+
* Status: "ACTIVE"
|
|
113
|
+
* }
|
|
114
|
+
* *\/
|
|
115
|
+
* ```
|
|
116
|
+
*
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
export declare class GetRevenueAttributionAllocationCommand extends GetRevenueAttributionAllocationCommand_base {
|
|
120
|
+
/** @internal type navigation helper, not in runtime. */
|
|
121
|
+
protected static __types: {
|
|
122
|
+
api: {
|
|
123
|
+
input: GetRevenueAttributionAllocationInput;
|
|
124
|
+
output: GetRevenueAttributionAllocationOutput;
|
|
125
|
+
};
|
|
126
|
+
sdk: {
|
|
127
|
+
input: GetRevenueAttributionAllocationCommandInput;
|
|
128
|
+
output: GetRevenueAttributionAllocationCommandOutput;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
}
|