@aws-sdk/client-partnercentral-selling 3.1172.0 → 3.1174.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/README.md +126 -0
- package/dist-cjs/index.js +1380 -140
- package/dist-es/PartnerCentralSelling.js +52 -0
- package/dist-es/commands/CreateCustomerAccountCommand.js +4 -0
- package/dist-es/commands/DeleteCustomerAccountCommand.js +4 -0
- package/dist-es/commands/GetCustomerAccountBulkJobCommand.js +4 -0
- package/dist-es/commands/GetCustomerAccountBulkJobReportUrlCommand.js +4 -0
- package/dist-es/commands/GetCustomerAccountCommand.js +4 -0
- package/dist-es/commands/GetCustomerAccountStatisticsCommand.js +4 -0
- package/dist-es/commands/GetOpportunityBulkJobReportUrlCommand.js +4 -0
- package/dist-es/commands/ListCustomerAccountBulkJobResultsCommand.js +4 -0
- package/dist-es/commands/ListCustomerAccountBulkJobsCommand.js +4 -0
- package/dist-es/commands/ListEngagementGroupsCommand.js +4 -0
- package/dist-es/commands/ListOpportunityBulkJobResultsCommand.js +4 -0
- package/dist-es/commands/ListOpportunityBulkJobsCommand.js +4 -0
- package/dist-es/commands/SearchCustomerAccountsCommand.js +4 -0
- package/dist-es/commands/SearchEngagementsCommand.js +4 -0
- package/dist-es/commands/SearchOpportunitiesCommand.js +4 -0
- package/dist-es/commands/StartCustomerAccountBulkJobCommand.js +4 -0
- package/dist-es/commands/StartOpportunityBulkJobCommand.js +4 -0
- package/dist-es/commands/UpdateCustomerAccountCommand.js +4 -0
- package/dist-es/commands/index.js +18 -0
- package/dist-es/models/enums.js +224 -7
- package/dist-es/pagination/ListCustomerAccountBulkJobResultsPaginator.js +4 -0
- package/dist-es/pagination/ListCustomerAccountBulkJobsPaginator.js +4 -0
- package/dist-es/pagination/ListEngagementGroupsPaginator.js +4 -0
- package/dist-es/pagination/ListOpportunityBulkJobResultsPaginator.js +4 -0
- package/dist-es/pagination/ListOpportunityBulkJobsPaginator.js +4 -0
- package/dist-es/pagination/SearchCustomerAccountsPaginator.js +4 -0
- package/dist-es/pagination/SearchEngagementsPaginator.js +4 -0
- package/dist-es/pagination/SearchOpportunitiesPaginator.js +4 -0
- package/dist-es/pagination/index.js +8 -0
- package/dist-es/schemas/schemas_0.js +914 -132
- package/dist-types/PartnerCentralSelling.d.ts +182 -0
- package/dist-types/PartnerCentralSellingClient.d.ts +20 -2
- package/dist-types/commands/CreateCustomerAccountCommand.d.ts +118 -0
- package/dist-types/commands/CreateEngagementCommand.d.ts +20 -1
- package/dist-types/commands/CreateEngagementContextCommand.d.ts +20 -1
- package/dist-types/commands/CreateEngagementInvitationCommand.d.ts +24 -1
- package/dist-types/commands/CreateResourceSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCustomerAccountCommand.d.ts +82 -0
- package/dist-types/commands/DeleteResourceSnapshotJobCommand.d.ts +1 -1
- package/dist-types/commands/GetAwsOpportunitySummaryCommand.d.ts +1 -0
- package/dist-types/commands/GetCustomerAccountBulkJobCommand.d.ts +98 -0
- package/dist-types/commands/GetCustomerAccountBulkJobReportUrlCommand.d.ts +95 -0
- package/dist-types/commands/GetCustomerAccountCommand.d.ts +149 -0
- package/dist-types/commands/GetCustomerAccountStatisticsCommand.d.ts +188 -0
- package/dist-types/commands/GetEngagementCommand.d.ts +20 -1
- package/dist-types/commands/GetEngagementInvitationCommand.d.ts +34 -1
- package/dist-types/commands/GetOpportunityBulkJobReportUrlCommand.d.ts +97 -0
- package/dist-types/commands/GetResourceSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/ListCustomerAccountBulkJobResultsCommand.d.ts +99 -0
- package/dist-types/commands/ListCustomerAccountBulkJobsCommand.d.ts +105 -0
- package/dist-types/commands/ListEngagementByAcceptingInvitationTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListEngagementFromOpportunityTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListEngagementGroupsCommand.d.ts +137 -0
- package/dist-types/commands/ListEngagementInvitationsCommand.d.ts +2 -2
- package/dist-types/commands/ListEngagementsCommand.d.ts +3 -3
- package/dist-types/commands/ListOpportunityBulkJobResultsCommand.d.ts +99 -0
- package/dist-types/commands/ListOpportunityBulkJobsCommand.d.ts +106 -0
- package/dist-types/commands/ListResourceSnapshotJobsCommand.d.ts +1 -1
- package/dist-types/commands/SearchCustomerAccountsCommand.d.ts +201 -0
- package/dist-types/commands/SearchEngagementsCommand.d.ts +331 -0
- package/dist-types/commands/SearchOpportunitiesCommand.d.ts +253 -0
- package/dist-types/commands/StartCustomerAccountBulkJobCommand.d.ts +94 -0
- package/dist-types/commands/StartOpportunityBulkJobCommand.d.ts +92 -0
- package/dist-types/commands/UpdateCustomerAccountCommand.d.ts +114 -0
- package/dist-types/commands/UpdateEngagementContextCommand.d.ts +11 -1
- package/dist-types/commands/index.d.ts +18 -0
- package/dist-types/models/enums.d.ts +748 -16
- package/dist-types/models/errors.d.ts +28 -0
- package/dist-types/models/models_0.d.ts +3776 -1130
- package/dist-types/pagination/ListCustomerAccountBulkJobResultsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCustomerAccountBulkJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEngagementGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListOpportunityBulkJobResultsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListOpportunityBulkJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchCustomerAccountsPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchEngagementsPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchOpportunitiesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +8 -0
- package/dist-types/schemas/schemas_0.d.ts +104 -0
- package/dist-types/ts3.4/PartnerCentralSelling.d.ts +362 -0
- package/dist-types/ts3.4/PartnerCentralSellingClient.d.ts +108 -0
- package/dist-types/ts3.4/commands/CreateCustomerAccountCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteCustomerAccountCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetCustomerAccountBulkJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetCustomerAccountBulkJobReportUrlCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetCustomerAccountCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetCustomerAccountStatisticsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetOpportunityBulkJobReportUrlCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCustomerAccountBulkJobResultsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCustomerAccountBulkJobsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListEngagementGroupsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListOpportunityBulkJobResultsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListOpportunityBulkJobsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/SearchCustomerAccountsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/SearchEngagementsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/SearchOpportunitiesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StartCustomerAccountBulkJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartOpportunityBulkJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateCustomerAccountCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +18 -0
- package/dist-types/ts3.4/models/enums.d.ts +253 -9
- package/dist-types/ts3.4/models/models_0.d.ts +745 -11
- package/dist-types/ts3.4/pagination/ListCustomerAccountBulkJobResultsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCustomerAccountBulkJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEngagementGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListOpportunityBulkJobResultsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListOpportunityBulkJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchCustomerAccountsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchEngagementsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchOpportunitiesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +104 -0
- package/package.json +1 -1
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetCustomerAccountStatisticsRequest, GetCustomerAccountStatisticsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetCustomerAccountStatisticsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetCustomerAccountStatisticsCommandInput extends GetCustomerAccountStatisticsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetCustomerAccountStatisticsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetCustomerAccountStatisticsCommandOutput extends GetCustomerAccountStatisticsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetCustomerAccountStatisticsCommand_base: {
|
|
22
|
+
new (input: GetCustomerAccountStatisticsCommandInput): import("@smithy/core/client").CommandImpl<GetCustomerAccountStatisticsCommandInput, GetCustomerAccountStatisticsCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetCustomerAccountStatisticsCommandInput): import("@smithy/core/client").CommandImpl<GetCustomerAccountStatisticsCommandInput, GetCustomerAccountStatisticsCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Use <code>GetCustomerAccountStatistics</code> to count your customer accounts and group them by fields such as industry, geography, or enrichment status. You can use the same filters as <code>SearchCustomerAccounts</code>.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PartnerCentralSellingClient, GetCustomerAccountStatisticsCommand } from "@aws-sdk/client-partnercentral-selling"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralSellingClient, GetCustomerAccountStatisticsCommand } = require("@aws-sdk/client-partnercentral-selling"); // CommonJS import
|
|
33
|
+
* // import type { PartnerCentralSellingClientConfig } from "@aws-sdk/client-partnercentral-selling";
|
|
34
|
+
* const config = {}; // type is PartnerCentralSellingClientConfig
|
|
35
|
+
* const client = new PartnerCentralSellingClient(config);
|
|
36
|
+
* const input = { // GetCustomerAccountStatisticsRequest
|
|
37
|
+
* Catalog: "STRING_VALUE", // required
|
|
38
|
+
* Filter: { // Filter
|
|
39
|
+
* AndAllFilters: [ // FilterList
|
|
40
|
+
* {
|
|
41
|
+
* AndAllFilters: [
|
|
42
|
+
* "<Filter>",
|
|
43
|
+
* ],
|
|
44
|
+
* OrAllFilters: [
|
|
45
|
+
* "<Filter>",
|
|
46
|
+
* ],
|
|
47
|
+
* NotFilter: "<Filter>",
|
|
48
|
+
* EqualsTo: { // FilterCondition
|
|
49
|
+
* Key: "ENRICHMENT_STATUS" || "COMPANY_NAME" || "AWS_INDUSTRY" || "ACCOUNT_PLANNING_QUALIFICATION" || "PROGRAM_ELIGIBILITY" || "IMPORT_ID" || "CREATED_DATE" || "LAST_MODIFIED_DATE" || "GEO" || "COUNTRY" || "SEGMENT" || "SOLUTION_CATEGORY" || "MARKETPLACE_ENGAGEMENT_SCORE" || "SOLUTION_SCORE", // required
|
|
50
|
+
* Value: { // FilterValue Union: only one key present
|
|
51
|
+
* StringValue: "STRING_VALUE",
|
|
52
|
+
* StringListValue: [ // AccountFilterStringList
|
|
53
|
+
* "STRING_VALUE",
|
|
54
|
+
* ],
|
|
55
|
+
* LongValue: Number("long"),
|
|
56
|
+
* DateValue: new Date("TIMESTAMP"),
|
|
57
|
+
* },
|
|
58
|
+
* },
|
|
59
|
+
* ContainsAny: {
|
|
60
|
+
* Key: "ENRICHMENT_STATUS" || "COMPANY_NAME" || "AWS_INDUSTRY" || "ACCOUNT_PLANNING_QUALIFICATION" || "PROGRAM_ELIGIBILITY" || "IMPORT_ID" || "CREATED_DATE" || "LAST_MODIFIED_DATE" || "GEO" || "COUNTRY" || "SEGMENT" || "SOLUTION_CATEGORY" || "MARKETPLACE_ENGAGEMENT_SCORE" || "SOLUTION_SCORE", // required
|
|
61
|
+
* Value: {// Union: only one key present
|
|
62
|
+
* StringValue: "STRING_VALUE",
|
|
63
|
+
* StringListValue: [
|
|
64
|
+
* "STRING_VALUE",
|
|
65
|
+
* ],
|
|
66
|
+
* LongValue: Number("long"),
|
|
67
|
+
* DateValue: new Date("TIMESTAMP"),
|
|
68
|
+
* },
|
|
69
|
+
* },
|
|
70
|
+
* ContainsAll: {
|
|
71
|
+
* Key: "ENRICHMENT_STATUS" || "COMPANY_NAME" || "AWS_INDUSTRY" || "ACCOUNT_PLANNING_QUALIFICATION" || "PROGRAM_ELIGIBILITY" || "IMPORT_ID" || "CREATED_DATE" || "LAST_MODIFIED_DATE" || "GEO" || "COUNTRY" || "SEGMENT" || "SOLUTION_CATEGORY" || "MARKETPLACE_ENGAGEMENT_SCORE" || "SOLUTION_SCORE", // required
|
|
72
|
+
* Value: {// Union: only one key present
|
|
73
|
+
* StringValue: "STRING_VALUE",
|
|
74
|
+
* StringListValue: [
|
|
75
|
+
* "STRING_VALUE",
|
|
76
|
+
* ],
|
|
77
|
+
* LongValue: Number("long"),
|
|
78
|
+
* DateValue: new Date("TIMESTAMP"),
|
|
79
|
+
* },
|
|
80
|
+
* },
|
|
81
|
+
* GreaterThan: {
|
|
82
|
+
* Key: "ENRICHMENT_STATUS" || "COMPANY_NAME" || "AWS_INDUSTRY" || "ACCOUNT_PLANNING_QUALIFICATION" || "PROGRAM_ELIGIBILITY" || "IMPORT_ID" || "CREATED_DATE" || "LAST_MODIFIED_DATE" || "GEO" || "COUNTRY" || "SEGMENT" || "SOLUTION_CATEGORY" || "MARKETPLACE_ENGAGEMENT_SCORE" || "SOLUTION_SCORE", // required
|
|
83
|
+
* Value: {// Union: only one key present
|
|
84
|
+
* StringValue: "STRING_VALUE",
|
|
85
|
+
* StringListValue: [
|
|
86
|
+
* "STRING_VALUE",
|
|
87
|
+
* ],
|
|
88
|
+
* LongValue: Number("long"),
|
|
89
|
+
* DateValue: new Date("TIMESTAMP"),
|
|
90
|
+
* },
|
|
91
|
+
* },
|
|
92
|
+
* GreaterThanOrEquals: {
|
|
93
|
+
* Key: "ENRICHMENT_STATUS" || "COMPANY_NAME" || "AWS_INDUSTRY" || "ACCOUNT_PLANNING_QUALIFICATION" || "PROGRAM_ELIGIBILITY" || "IMPORT_ID" || "CREATED_DATE" || "LAST_MODIFIED_DATE" || "GEO" || "COUNTRY" || "SEGMENT" || "SOLUTION_CATEGORY" || "MARKETPLACE_ENGAGEMENT_SCORE" || "SOLUTION_SCORE", // required
|
|
94
|
+
* Value: {// Union: only one key present
|
|
95
|
+
* StringValue: "STRING_VALUE",
|
|
96
|
+
* StringListValue: [
|
|
97
|
+
* "STRING_VALUE",
|
|
98
|
+
* ],
|
|
99
|
+
* LongValue: Number("long"),
|
|
100
|
+
* DateValue: new Date("TIMESTAMP"),
|
|
101
|
+
* },
|
|
102
|
+
* },
|
|
103
|
+
* LessThan: "<FilterCondition>",
|
|
104
|
+
* LessThanOrEquals: "<FilterCondition>",
|
|
105
|
+
* },
|
|
106
|
+
* ],
|
|
107
|
+
* OrAllFilters: [
|
|
108
|
+
* "<Filter>",
|
|
109
|
+
* ],
|
|
110
|
+
* NotFilter: "<Filter>",
|
|
111
|
+
* EqualsTo: "<FilterCondition>",
|
|
112
|
+
* ContainsAny: "<FilterCondition>",
|
|
113
|
+
* ContainsAll: "<FilterCondition>",
|
|
114
|
+
* GreaterThan: "<FilterCondition>",
|
|
115
|
+
* GreaterThanOrEquals: "<FilterCondition>",
|
|
116
|
+
* LessThan: "<FilterCondition>",
|
|
117
|
+
* LessThanOrEquals: "<FilterCondition>",
|
|
118
|
+
* },
|
|
119
|
+
* Aggregations: [ // AggregationRequestList
|
|
120
|
+
* { // AggregationRequest
|
|
121
|
+
* GroupBy: [ // AggregatableFieldList // required
|
|
122
|
+
* "ENRICHMENT_STATUS" || "AWS_INDUSTRY" || "SEGMENT" || "REGION" || "SOLUTION_CATEGORY" || "ACCOUNT_PLANNING_QUALIFICATION" || "PROGRAM_ELIGIBILITY" || "MARKETPLACE_ENGAGEMENT_SCORE" || "GEO" || "COUNTRY" || "SOLUTION_SCORE",
|
|
123
|
+
* ],
|
|
124
|
+
* },
|
|
125
|
+
* ],
|
|
126
|
+
* IncludeMissing: true || false,
|
|
127
|
+
* };
|
|
128
|
+
* const command = new GetCustomerAccountStatisticsCommand(input);
|
|
129
|
+
* const response = await client.send(command);
|
|
130
|
+
* // { // GetCustomerAccountStatisticsResponse
|
|
131
|
+
* // TotalCount: Number("int"), // required
|
|
132
|
+
* // Aggregations: [ // AggregationResultList
|
|
133
|
+
* // { // AggregationResult
|
|
134
|
+
* // GroupBy: [ // AggregatableFieldList // required
|
|
135
|
+
* // "ENRICHMENT_STATUS" || "AWS_INDUSTRY" || "SEGMENT" || "REGION" || "SOLUTION_CATEGORY" || "ACCOUNT_PLANNING_QUALIFICATION" || "PROGRAM_ELIGIBILITY" || "MARKETPLACE_ENGAGEMENT_SCORE" || "GEO" || "COUNTRY" || "SOLUTION_SCORE",
|
|
136
|
+
* // ],
|
|
137
|
+
* // Buckets: [ // BucketList // required
|
|
138
|
+
* // { // Bucket
|
|
139
|
+
* // Values: [ // BucketValueList // required
|
|
140
|
+
* // "STRING_VALUE",
|
|
141
|
+
* // ],
|
|
142
|
+
* // Count: Number("int"), // required
|
|
143
|
+
* // },
|
|
144
|
+
* // ],
|
|
145
|
+
* // OtherCount: Number("int"), // required
|
|
146
|
+
* // },
|
|
147
|
+
* // ],
|
|
148
|
+
* // };
|
|
149
|
+
*
|
|
150
|
+
* ```
|
|
151
|
+
*
|
|
152
|
+
* @param GetCustomerAccountStatisticsCommandInput - {@link GetCustomerAccountStatisticsCommandInput}
|
|
153
|
+
* @returns {@link GetCustomerAccountStatisticsCommandOutput}
|
|
154
|
+
* @see {@link GetCustomerAccountStatisticsCommandInput} for command's `input` shape.
|
|
155
|
+
* @see {@link GetCustomerAccountStatisticsCommandOutput} for command's `response` shape.
|
|
156
|
+
* @see {@link PartnerCentralSellingClientResolvedConfig | config} for PartnerCentralSellingClient's `config` shape.
|
|
157
|
+
*
|
|
158
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
159
|
+
* <p>This error occurs when you don't have permission to perform the requested action.</p> <p>You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.</p>
|
|
160
|
+
*
|
|
161
|
+
* @throws {@link InternalServerException} (server fault)
|
|
162
|
+
* <p>This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect.</p> <p>Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.</p>
|
|
163
|
+
*
|
|
164
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
165
|
+
* <p>This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling.</p> <p>This error occurs when there are too many requests sent. Review the provided <a href="https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html">Quotas</a> and retry after the provided delay.</p>
|
|
166
|
+
*
|
|
167
|
+
* @throws {@link ValidationException} (client fault)
|
|
168
|
+
* <p>The input fails to satisfy the constraints specified by the service or business validation rules.</p> <p>Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.</p>
|
|
169
|
+
*
|
|
170
|
+
* @throws {@link PartnerCentralSellingServiceException}
|
|
171
|
+
* <p>Base exception class for all service exceptions from PartnerCentralSelling service.</p>
|
|
172
|
+
*
|
|
173
|
+
*
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
export declare class GetCustomerAccountStatisticsCommand extends GetCustomerAccountStatisticsCommand_base {
|
|
177
|
+
/** @internal type navigation helper, not in runtime. */
|
|
178
|
+
protected static __types: {
|
|
179
|
+
api: {
|
|
180
|
+
input: GetCustomerAccountStatisticsRequest;
|
|
181
|
+
output: GetCustomerAccountStatisticsResponse;
|
|
182
|
+
};
|
|
183
|
+
sdk: {
|
|
184
|
+
input: GetCustomerAccountStatisticsCommandInput;
|
|
185
|
+
output: GetCustomerAccountStatisticsCommandOutput;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
}
|
|
@@ -52,7 +52,7 @@ declare const GetEngagementCommand_base: {
|
|
|
52
52
|
* // Contexts: [ // EngagementContexts
|
|
53
53
|
* // { // EngagementContextDetails
|
|
54
54
|
* // Id: "STRING_VALUE",
|
|
55
|
-
* // Type: "CustomerProject" || "Lead" || "ProspectingResult", // required
|
|
55
|
+
* // Type: "CustomerProject" || "Lead" || "ProspectingResult" || "CustomerAccount", // required
|
|
56
56
|
* // Payload: { // EngagementContextPayload Union: only one key present
|
|
57
57
|
* // CustomerProject: { // CustomerProjectsContext
|
|
58
58
|
* // Customer: { // EngagementCustomer
|
|
@@ -70,6 +70,16 @@ declare const GetEngagementCommand_base: {
|
|
|
70
70
|
* // Lead: { // LeadContext
|
|
71
71
|
* // Insights: { // LeadInsights
|
|
72
72
|
* // LeadReadinessScore: "STRING_VALUE",
|
|
73
|
+
* // ChannelRecommendation: { // ChannelRecommendation
|
|
74
|
+
* // RecommendedChannel: "STRING_VALUE", // required
|
|
75
|
+
* // BestOutreachWindows: [ // BestOutreachWindowList
|
|
76
|
+
* // { // BestOutreachWindow
|
|
77
|
+
* // Day: "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
|
|
78
|
+
* // StartTimeUtc: "STRING_VALUE", // required
|
|
79
|
+
* // EndTimeUtc: "STRING_VALUE", // required
|
|
80
|
+
* // },
|
|
81
|
+
* // ],
|
|
82
|
+
* // },
|
|
73
83
|
* // },
|
|
74
84
|
* // QualificationStatus: "STRING_VALUE",
|
|
75
85
|
* // Customer: { // LeadCustomer
|
|
@@ -134,6 +144,15 @@ declare const GetEngagementCommand_base: {
|
|
|
134
144
|
* // TaskName: "STRING_VALUE",
|
|
135
145
|
* // },
|
|
136
146
|
* // },
|
|
147
|
+
* // CustomerAccount: { // CustomerAccountContext
|
|
148
|
+
* // AccountIdentifier: "STRING_VALUE",
|
|
149
|
+
* // Customer: { // AccountCustomer
|
|
150
|
+
* // Industry: "STRING_VALUE",
|
|
151
|
+
* // CompanyName: "STRING_VALUE", // required
|
|
152
|
+
* // WebsiteUrl: "STRING_VALUE",
|
|
153
|
+
* // CountryCode: "US" || "AF" || "AX" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BQ" || "BA" || "BW" || "BV" || "BR" || "IO" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CG" || "CK" || "CR" || "CI" || "HR" || "CU" || "CW" || "CY" || "CZ" || "CD" || "DK" || "DJ" || "DM" || "DO" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "GF" || "PF" || "TF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GP" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HM" || "VA" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KR" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MQ" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "AN" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "NF" || "MP" || "NO" || "OM" || "PK" || "PW" || "PS" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "GS" || "SS" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TL" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "UG" || "UA" || "AE" || "GB" || "UM" || "UY" || "UZ" || "VU" || "VE" || "VN" || "VG" || "VI" || "WF" || "EH" || "YE" || "ZM" || "ZW",
|
|
154
|
+
* // },
|
|
155
|
+
* // },
|
|
137
156
|
* // },
|
|
138
157
|
* // },
|
|
139
158
|
* // ],
|
|
@@ -41,7 +41,7 @@ declare const GetEngagementInvitationCommand_base: {
|
|
|
41
41
|
* const response = await client.send(command);
|
|
42
42
|
* // { // GetEngagementInvitationResponse
|
|
43
43
|
* // Arn: "STRING_VALUE",
|
|
44
|
-
* // PayloadType: "OpportunityInvitation" || "LeadInvitation",
|
|
44
|
+
* // PayloadType: "OpportunityInvitation" || "LeadInvitation" || "AccountPlanningInvitation",
|
|
45
45
|
* // Id: "STRING_VALUE", // required
|
|
46
46
|
* // EngagementId: "STRING_VALUE",
|
|
47
47
|
* // EngagementTitle: "STRING_VALUE",
|
|
@@ -92,6 +92,7 @@ declare const GetEngagementInvitationCommand_base: {
|
|
|
92
92
|
* // },
|
|
93
93
|
* // ],
|
|
94
94
|
* // },
|
|
95
|
+
* // OpportunityType: "Net New Business" || "Flat Renewal" || "Expansion",
|
|
95
96
|
* // },
|
|
96
97
|
* // LeadInvitation: { // LeadInvitationPayload
|
|
97
98
|
* // Customer: { // LeadInvitationCustomer
|
|
@@ -110,6 +111,28 @@ declare const GetEngagementInvitationCommand_base: {
|
|
|
110
111
|
* // ContactBusinessTitle: "STRING_VALUE", // required
|
|
111
112
|
* // },
|
|
112
113
|
* // },
|
|
114
|
+
* // AccountPlanningInvitation: { // AccountPlanningInvitationPayload
|
|
115
|
+
* // AccountIdentifier: "STRING_VALUE",
|
|
116
|
+
* // Customer: { // AccountCustomer
|
|
117
|
+
* // Industry: "STRING_VALUE",
|
|
118
|
+
* // CompanyName: "STRING_VALUE", // required
|
|
119
|
+
* // WebsiteUrl: "STRING_VALUE",
|
|
120
|
+
* // CountryCode: "US" || "AF" || "AX" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BQ" || "BA" || "BW" || "BV" || "BR" || "IO" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CG" || "CK" || "CR" || "CI" || "HR" || "CU" || "CW" || "CY" || "CZ" || "CD" || "DK" || "DJ" || "DM" || "DO" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "GF" || "PF" || "TF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GP" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HM" || "VA" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KR" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MQ" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "AN" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "NF" || "MP" || "NO" || "OM" || "PK" || "PW" || "PS" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "GS" || "SS" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TL" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "UG" || "UA" || "AE" || "GB" || "UM" || "UY" || "UZ" || "VU" || "VE" || "VN" || "VG" || "VI" || "WF" || "EH" || "YE" || "ZM" || "ZW",
|
|
121
|
+
* // },
|
|
122
|
+
* // SenderContacts: [
|
|
123
|
+
* // {
|
|
124
|
+
* // Email: "STRING_VALUE", // required
|
|
125
|
+
* // FirstName: "STRING_VALUE",
|
|
126
|
+
* // LastName: "STRING_VALUE",
|
|
127
|
+
* // BusinessTitle: "STRING_VALUE",
|
|
128
|
+
* // Phone: "STRING_VALUE",
|
|
129
|
+
* // },
|
|
130
|
+
* // ],
|
|
131
|
+
* // PreferredContact: { // PreferredContactWindow
|
|
132
|
+
* // Window: "MORNING" || "AFTERNOON" || "EVENING",
|
|
133
|
+
* // Timezone: "STRING_VALUE",
|
|
134
|
+
* // },
|
|
135
|
+
* // },
|
|
113
136
|
* // },
|
|
114
137
|
* // InvitationMessage: "STRING_VALUE",
|
|
115
138
|
* // EngagementDescription: "STRING_VALUE",
|
|
@@ -145,6 +168,16 @@ declare const GetEngagementInvitationCommand_base: {
|
|
|
145
168
|
* // },
|
|
146
169
|
* // LeadInsights: { // LeadInsights
|
|
147
170
|
* // LeadReadinessScore: "STRING_VALUE",
|
|
171
|
+
* // ChannelRecommendation: { // ChannelRecommendation
|
|
172
|
+
* // RecommendedChannel: "STRING_VALUE", // required
|
|
173
|
+
* // BestOutreachWindows: [ // BestOutreachWindowList
|
|
174
|
+
* // { // BestOutreachWindow
|
|
175
|
+
* // Day: "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
|
|
176
|
+
* // StartTimeUtc: "STRING_VALUE", // required
|
|
177
|
+
* // EndTimeUtc: "STRING_VALUE", // required
|
|
178
|
+
* // },
|
|
179
|
+
* // ],
|
|
180
|
+
* // },
|
|
148
181
|
* // },
|
|
149
182
|
* // },
|
|
150
183
|
* // };
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetOpportunityBulkJobReportUrlRequest, GetOpportunityBulkJobReportUrlResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetOpportunityBulkJobReportUrlCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetOpportunityBulkJobReportUrlCommandInput extends GetOpportunityBulkJobReportUrlRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetOpportunityBulkJobReportUrlCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetOpportunityBulkJobReportUrlCommandOutput extends GetOpportunityBulkJobReportUrlResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetOpportunityBulkJobReportUrlCommand_base: {
|
|
22
|
+
new (input: GetOpportunityBulkJobReportUrlCommandInput): import("@smithy/core/client").CommandImpl<GetOpportunityBulkJobReportUrlCommandInput, GetOpportunityBulkJobReportUrlCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetOpportunityBulkJobReportUrlCommandInput): import("@smithy/core/client").CommandImpl<GetOpportunityBulkJobReportUrlCommandInput, GetOpportunityBulkJobReportUrlCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Gets the status of the failed-records report for a finished opportunity bulk job and, when the report is ready, a temporary URL to download it.</p> <p>A report is available only after the job is <code>COMPLETED</code> or <code>FAILED</code>. The URL expires after 15 minutes, and the report expires after about 7 days.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PartnerCentralSellingClient, GetOpportunityBulkJobReportUrlCommand } from "@aws-sdk/client-partnercentral-selling"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralSellingClient, GetOpportunityBulkJobReportUrlCommand } = require("@aws-sdk/client-partnercentral-selling"); // CommonJS import
|
|
33
|
+
* // import type { PartnerCentralSellingClientConfig } from "@aws-sdk/client-partnercentral-selling";
|
|
34
|
+
* const config = {}; // type is PartnerCentralSellingClientConfig
|
|
35
|
+
* const client = new PartnerCentralSellingClient(config);
|
|
36
|
+
* const input = { // GetOpportunityBulkJobReportUrlRequest
|
|
37
|
+
* Catalog: "STRING_VALUE", // required
|
|
38
|
+
* JobId: "STRING_VALUE", // required
|
|
39
|
+
* ReportFormat: "CSV", // required
|
|
40
|
+
* ReportType: "FAILED_RECORDS" || "ALL_RECORDS",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetOpportunityBulkJobReportUrlCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetOpportunityBulkJobReportUrlResponse
|
|
45
|
+
* // ReportStatus: "NOT_STARTED" || "IN_PROGRESS" || "AVAILABLE" || "FAILED" || "EXPIRED", // required
|
|
46
|
+
* // ReportType: "FAILED_RECORDS" || "ALL_RECORDS", // required
|
|
47
|
+
* // ReportFormat: "CSV", // required
|
|
48
|
+
* // Url: "STRING_VALUE",
|
|
49
|
+
* // ExpiresAt: new Date("TIMESTAMP"),
|
|
50
|
+
* // FailureReason: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param GetOpportunityBulkJobReportUrlCommandInput - {@link GetOpportunityBulkJobReportUrlCommandInput}
|
|
56
|
+
* @returns {@link GetOpportunityBulkJobReportUrlCommandOutput}
|
|
57
|
+
* @see {@link GetOpportunityBulkJobReportUrlCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link GetOpportunityBulkJobReportUrlCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link PartnerCentralSellingClientResolvedConfig | config} for PartnerCentralSellingClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
62
|
+
* <p>This error occurs when you don't have permission to perform the requested action.</p> <p>You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ConflictException} (client fault)
|
|
65
|
+
* <p>This error occurs when the request can’t be processed due to a conflict with the target resource's current state, which could result from updating or deleting the resource.</p> <p>Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerException} (server fault)
|
|
68
|
+
* <p>This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect.</p> <p>Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
|
+
* <p>This error occurs when the specified resource can't be found. The resource might not exist, or isn't visible with the current credentials.</p> <p>Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
74
|
+
* <p>This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling.</p> <p>This error occurs when there are too many requests sent. Review the provided <a href="https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html">Quotas</a> and retry after the provided delay.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>The input fails to satisfy the constraints specified by the service or business validation rules.</p> <p>Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link PartnerCentralSellingServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from PartnerCentralSelling service.</p>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class GetOpportunityBulkJobReportUrlCommand extends GetOpportunityBulkJobReportUrlCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: GetOpportunityBulkJobReportUrlRequest;
|
|
90
|
+
output: GetOpportunityBulkJobReportUrlResponse;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: GetOpportunityBulkJobReportUrlCommandInput;
|
|
94
|
+
output: GetOpportunityBulkJobReportUrlCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -283,6 +283,7 @@ declare const GetResourceSnapshotCommand_base: {
|
|
|
283
283
|
* // AwsPartition: "aws-eusc",
|
|
284
284
|
* // },
|
|
285
285
|
* // CosellMotion: "STRING_VALUE",
|
|
286
|
+
* // CosellMotionReason: "STRING_VALUE",
|
|
286
287
|
* // SoftwareRevenue: { // AwsSoftwareRevenue
|
|
287
288
|
* // Value: { // MonetaryValue
|
|
288
289
|
* // Amount: "STRING_VALUE", // required
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListCustomerAccountBulkJobResultsRequest, ListCustomerAccountBulkJobResultsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListCustomerAccountBulkJobResultsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListCustomerAccountBulkJobResultsCommandInput extends ListCustomerAccountBulkJobResultsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListCustomerAccountBulkJobResultsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListCustomerAccountBulkJobResultsCommandOutput extends ListCustomerAccountBulkJobResultsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListCustomerAccountBulkJobResultsCommand_base: {
|
|
22
|
+
new (input: ListCustomerAccountBulkJobResultsCommandInput): import("@smithy/core/client").CommandImpl<ListCustomerAccountBulkJobResultsCommandInput, ListCustomerAccountBulkJobResultsCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListCustomerAccountBulkJobResultsCommandInput): import("@smithy/core/client").CommandImpl<ListCustomerAccountBulkJobResultsCommandInput, ListCustomerAccountBulkJobResultsCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Use <code>ListCustomerAccountBulkJobResults</code> to list the outcome of each record in a bulk job. You can filter the results to records that succeeded or failed. A job that failed before it processed any records returns an empty list.</p> <p>Results are paginated. Use <code>NextToken</code> to retrieve additional results.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PartnerCentralSellingClient, ListCustomerAccountBulkJobResultsCommand } from "@aws-sdk/client-partnercentral-selling"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralSellingClient, ListCustomerAccountBulkJobResultsCommand } = require("@aws-sdk/client-partnercentral-selling"); // CommonJS import
|
|
33
|
+
* // import type { PartnerCentralSellingClientConfig } from "@aws-sdk/client-partnercentral-selling";
|
|
34
|
+
* const config = {}; // type is PartnerCentralSellingClientConfig
|
|
35
|
+
* const client = new PartnerCentralSellingClient(config);
|
|
36
|
+
* const input = { // ListCustomerAccountBulkJobResultsRequest
|
|
37
|
+
* Catalog: "STRING_VALUE", // required
|
|
38
|
+
* Identifier: "STRING_VALUE", // required
|
|
39
|
+
* Status: "SUCCEEDED" || "FAILED",
|
|
40
|
+
* MaxResults: Number("int"),
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListCustomerAccountBulkJobResultsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListCustomerAccountBulkJobResultsResponse
|
|
46
|
+
* // Results: [ // BulkJobResultList // required
|
|
47
|
+
* // { // BulkJobResult
|
|
48
|
+
* // RequestId: "STRING_VALUE", // required
|
|
49
|
+
* // Status: "SUCCEEDED" || "FAILED", // required
|
|
50
|
+
* // ResourceIdentifier: "STRING_VALUE",
|
|
51
|
+
* // ErrorCode: "STRING_VALUE",
|
|
52
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // NextToken: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param ListCustomerAccountBulkJobResultsCommandInput - {@link ListCustomerAccountBulkJobResultsCommandInput}
|
|
61
|
+
* @returns {@link ListCustomerAccountBulkJobResultsCommandOutput}
|
|
62
|
+
* @see {@link ListCustomerAccountBulkJobResultsCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link ListCustomerAccountBulkJobResultsCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link PartnerCentralSellingClientResolvedConfig | config} for PartnerCentralSellingClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>This error occurs when you don't have permission to perform the requested action.</p> <p>You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* <p>This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect.</p> <p>Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* <p>This error occurs when the specified resource can't be found. The resource might not exist, or isn't visible with the current credentials.</p> <p>Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* <p>This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling.</p> <p>This error occurs when there are too many requests sent. Review the provided <a href="https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html">Quotas</a> and retry after the provided delay.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ValidationException} (client fault)
|
|
79
|
+
* <p>The input fails to satisfy the constraints specified by the service or business validation rules.</p> <p>Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link PartnerCentralSellingServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from PartnerCentralSelling service.</p>
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class ListCustomerAccountBulkJobResultsCommand extends ListCustomerAccountBulkJobResultsCommand_base {
|
|
88
|
+
/** @internal type navigation helper, not in runtime. */
|
|
89
|
+
protected static __types: {
|
|
90
|
+
api: {
|
|
91
|
+
input: ListCustomerAccountBulkJobResultsRequest;
|
|
92
|
+
output: ListCustomerAccountBulkJobResultsResponse;
|
|
93
|
+
};
|
|
94
|
+
sdk: {
|
|
95
|
+
input: ListCustomerAccountBulkJobResultsCommandInput;
|
|
96
|
+
output: ListCustomerAccountBulkJobResultsCommandOutput;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListCustomerAccountBulkJobsRequest, ListCustomerAccountBulkJobsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListCustomerAccountBulkJobsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListCustomerAccountBulkJobsCommandInput extends ListCustomerAccountBulkJobsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListCustomerAccountBulkJobsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListCustomerAccountBulkJobsCommandOutput extends ListCustomerAccountBulkJobsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListCustomerAccountBulkJobsCommand_base: {
|
|
22
|
+
new (input: ListCustomerAccountBulkJobsCommandInput): import("@smithy/core/client").CommandImpl<ListCustomerAccountBulkJobsCommandInput, ListCustomerAccountBulkJobsCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListCustomerAccountBulkJobsCommandInput): import("@smithy/core/client").CommandImpl<ListCustomerAccountBulkJobsCommandInput, ListCustomerAccountBulkJobsCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Use <code>ListCustomerAccountBulkJobs</code> to list the bulk jobs in the specified catalog. You can filter the results by job identifier or status.</p> <p>Results are paginated. Use <code>NextToken</code> to retrieve additional results.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PartnerCentralSellingClient, ListCustomerAccountBulkJobsCommand } from "@aws-sdk/client-partnercentral-selling"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralSellingClient, ListCustomerAccountBulkJobsCommand } = require("@aws-sdk/client-partnercentral-selling"); // CommonJS import
|
|
33
|
+
* // import type { PartnerCentralSellingClientConfig } from "@aws-sdk/client-partnercentral-selling";
|
|
34
|
+
* const config = {}; // type is PartnerCentralSellingClientConfig
|
|
35
|
+
* const client = new PartnerCentralSellingClient(config);
|
|
36
|
+
* const input = { // ListCustomerAccountBulkJobsRequest
|
|
37
|
+
* Catalog: "STRING_VALUE", // required
|
|
38
|
+
* Filter: { // CustomerAccountBulkJobFilter
|
|
39
|
+
* Identifier: "STRING_VALUE",
|
|
40
|
+
* Status: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED",
|
|
41
|
+
* },
|
|
42
|
+
* MaxResults: Number("int"),
|
|
43
|
+
* NextToken: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListCustomerAccountBulkJobsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListCustomerAccountBulkJobsResponse
|
|
48
|
+
* // items: [ // CustomerAccountBulkJobSummaryList // required
|
|
49
|
+
* // { // CustomerAccountBulkJobSummary
|
|
50
|
+
* // Arn: "STRING_VALUE", // required
|
|
51
|
+
* // Id: "STRING_VALUE", // required
|
|
52
|
+
* // Status: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED", // required
|
|
53
|
+
* // FileName: "STRING_VALUE",
|
|
54
|
+
* // TotalRecords: Number("int"), // required
|
|
55
|
+
* // ProcessedRecords: Number("int"), // required
|
|
56
|
+
* // SuccessCount: Number("int"), // required
|
|
57
|
+
* // FailureCount: Number("int"), // required
|
|
58
|
+
* // DeletedCount: Number("int"), // required
|
|
59
|
+
* // FailureReason: "STRING_VALUE",
|
|
60
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
61
|
+
* // CompletedAt: new Date("TIMESTAMP"),
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // NextToken: "STRING_VALUE",
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param ListCustomerAccountBulkJobsCommandInput - {@link ListCustomerAccountBulkJobsCommandInput}
|
|
70
|
+
* @returns {@link ListCustomerAccountBulkJobsCommandOutput}
|
|
71
|
+
* @see {@link ListCustomerAccountBulkJobsCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link ListCustomerAccountBulkJobsCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link PartnerCentralSellingClientResolvedConfig | config} for PartnerCentralSellingClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
76
|
+
* <p>This error occurs when you don't have permission to perform the requested action.</p> <p>You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InternalServerException} (server fault)
|
|
79
|
+
* <p>This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect.</p> <p>Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
+
* <p>This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling.</p> <p>This error occurs when there are too many requests sent. Review the provided <a href="https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html">Quotas</a> and retry after the provided delay.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ValidationException} (client fault)
|
|
85
|
+
* <p>The input fails to satisfy the constraints specified by the service or business validation rules.</p> <p>Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link PartnerCentralSellingServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from PartnerCentralSelling service.</p>
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class ListCustomerAccountBulkJobsCommand extends ListCustomerAccountBulkJobsCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: ListCustomerAccountBulkJobsRequest;
|
|
98
|
+
output: ListCustomerAccountBulkJobsResponse;
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: ListCustomerAccountBulkJobsCommandInput;
|
|
102
|
+
output: ListCustomerAccountBulkJobsCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -24,7 +24,7 @@ declare const ListEngagementByAcceptingInvitationTasksCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>
|
|
27
|
+
* <p>Lists all in-progress, completed, or failed StartEngagementByAcceptingInvitationTask tasks that were initiated by the caller's account. </p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|